diff --git a/README.md b/README.md index 02b8384..ef6510b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # TriliumNext Notes 한국어 패치 (번역 + main.cjs 패치) +## 2026-09-05 후속 작업 + +[최신 작업 상태와 파일](updates/2026-09-05/README.md) 및 [상세 변경 기록](updates/2026-09-05/CHANGELOG.ko.md)을 추가했습니다. 운영 서버에는 예제 노트 148개 수정과 편집기 한국어 사전 719개 문구 등을 반영했습니다. 기본 도움말은 100/173개 처리한 준비본이며 서버에는 아직 적용하지 않았습니다. 전체 한글화는 진행 중입니다. + +아래의 기존 설치 안내와 v1.0.0 다운로드는 이전 배포판에 대한 설명입니다. 이번 작업 폴더의 파일은 기존 설치 프로그램에 자동으로 포함되지 않습니다. + [TriliumNext Notes](https://github.com/TriliumNext/Notes)의 비공식 커뮤니티 한국어 번역입니다. 이 글을 쓰는 시점 기준으로 TriliumNext는 한국어 언어팩이 없고, 심지어 UI 언어 선택기에 뜨는 지원 언어 목록 자체가 `translations/` 폴더를 스캔해서 만들어지는 게 아니라 **컴파일된 diff --git a/updates/2026-09-05/.gitattributes b/updates/2026-09-05/.gitattributes new file mode 100644 index 0000000..a8ac0b9 --- /dev/null +++ b/updates/2026-09-05/.gitattributes @@ -0,0 +1,2 @@ +# Preserve exact deployed and source bytes for SHA-256 verification. +* -text diff --git a/updates/2026-09-05/CHANGELOG.ko.md b/updates/2026-09-05/CHANGELOG.ko.md new file mode 100644 index 0000000..6e2c4f9 --- /dev/null +++ b/updates/2026-09-05/CHANGELOG.ko.md @@ -0,0 +1,107 @@ +# 상세 변경 기록 + +## 작업 기준 + +사용자가 요청한 범위는 기본 예제와 도움말 및 화면에 나타나는 문구 전체의 한국어화입니다. 한국어 문장은 짧고 자연스럽게 작성하며 영어식으로 쉼표를 이어 붙이는 표현을 줄였습니다. API 이름과 변수 및 문법에 필요한 쉼표와 속성 키는 실행 호환성을 위해 유지했습니다. + +대상은 운영 중인 TriliumNext 0.95.0과 CKEditor 45.2.0입니다. 기존 UI 번역 위에 수정했습니다. 기존 릴리스 설명의 번역률을 이번 작업 전체의 완료율로 사용하지 않습니다. + +## 1. 기본 예제 148개 적용 + +환영 문서와 글자 서식 및 표와 체크리스트를 자연스러운 한국어로 정리했습니다. 책과 업무 및 기술 자료의 제목과 본문도 번역했습니다. 오래된 사실을 담은 예제는 원문 작성 당시의 설명임을 드러내도록 조정했습니다. + +Mermaid 도표 13개의 사용자 표시 문구를 번역했습니다. 캔버스 글자와 마인드맵의 주제 및 메모 등 구조화된 본문도 번역했습니다. JavaScript 예제에서는 설명 주석과 화면 표시 문자열을 수정했습니다. + +일부 코드 노트의 제목은 모듈 식별자 생성에 사용됩니다. 따라서 `표 표시 (renderTable)`처럼 한국어 설명과 원래 식별자를 함께 유지했습니다. 연결 주소와 노트 참조 ID 및 구조화 자료의 항목 ID를 보존했습니다. + +### 적용 방식 + +앱 시작 시 `korean-notes-pending.json`을 읽는 이전 훅을 추가했습니다. 모든 변경 대상의 기존 제목과 본문 SHA-256을 먼저 확인한 뒤 앱의 트랜잭션과 노트 저장 API로 변경합니다. 본문이 바뀌는 노트는 이전 내용을 수정 이력으로 보관합니다. 이미 반영된 항목은 건너뛰고 완료된 계획 파일은 이름을 바꿉니다. + +기록된 적용 결과는 `applied: 148`과 `unchanged: 0`입니다. 직접 SQLite 테이블에 번역문을 써 넣는 방식 대신 앱의 저장 처리를 사용했습니다. + +### 검증 + +- 본문의 링크와 이미지 주소 및 노트 참조 목록 비교 +- 체크박스 태그 보존 확인 +- 코드 노트 제목에서 생성되는 영문 식별자 일치 확인 +- JavaScript 구문 검사. 예제 코드를 실제 실행하지는 않음 +- 구조화 자료의 ID 보존 확인 +- 앱의 일관성 검사 통과 + +정적 검사만으로 Mermaid의 모든 화면이나 PDF와 이미지의 한국어화를 완료한 것은 아닙니다. + +## 2. 편집기와 일반 화면 + +편집기 언어가 영어로 고정되어 있던 부분을 한국어로 바꾸고 공식 한국어 사전과 Trilium 전용 문구를 연결했습니다. 사전 항목은 719개입니다. + +번역 경로를 거치지 않는 메뉴도 수정했습니다. + +| 원래 표시 | 변경 후 | +|---|---| +| Text formatting | 글자 서식 | +| Block align | 블록 정렬 | +| Admonition | 안내 상자 | +| Note | 참고 | +| Tip | 도움말 | +| Important | 중요 | +| Caution | 주의 | +| Warning | 경고 | + +일반 화면의 안내 문구 90개 항목을 조정했습니다. 속성 설명과 인쇄 용지 및 제목 템플릿 등의 설명을 한국어 어순에 맞췄습니다. + +운영 브라우저에서 편집 도구 모음의 글자 서식과 안내 상자 및 표 삽입 등의 한국어 표시를 확인했습니다. + +## 3. 캔버스와 마인드맵 및 이모지 + +캔버스에 `ko-KR` 언어 설정을 전달했습니다. 마인드맵에는 `ko` 설정을 지정하고 항목 추가와 이동 및 삭제와 연결 메뉴를 자연스러운 표현으로 조정했습니다. 별도 메뉴 플러그인의 한국어 사전도 추가했습니다. + +이모지 자료는 Unicode CLDR의 한국어 이름과 검색어로 변환했습니다. 표시 선택자 차이를 정규화한 뒤 대조했으며 원본 목록에서 한국어 이름을 찾지 못한 항목은 0개였습니다. 이모지 자체와 기술용 단축 이름은 유지했습니다. + +이 파일들은 운영 서버에 반영했습니다. 캔버스와 마인드맵의 개별 화면 조작 검증은 남아 있습니다. + +## 4. 브라우저 캐시와 배포 + +최초 적용 후 브라우저가 기존 자산을 사용하는 문제가 있어 자산 URL 접두사의 버전 표기를 바꿨습니다. Express의 같은 자산 경로 매핑을 사용하므로 물리 폴더를 새로 만들 필요는 없습니다. + +- 첫 수정: `assets/v0.95.0-ko-20260905` +- 후속 편집기 배포: `assets/v0.95.0-ko-20260905-r2` + +추가된 바인드 마운트는 `ckeditor-ko.js`와 `ckeditor5.js` 및 `MindElixir.js`와 `emoji-ko.json`입니다. 기존 레이아웃과 번역 파일 및 서버 번들 마운트는 유지했습니다. + +배포 후 상태 검사에 성공했습니다. `layout_commons.js`와 `ckeditor-ko.js` 및 `ckeditor5.js`와 `MindElixir.js` 및 `emoji-ko.json`의 실제 HTTP 응답이 배포 파일과 SHA-256으로 일치하는지 확인했습니다. + +## 5. 기본 도움말 100개 준비 + +전체 173개 HTML 파일 중 100개를 처리했습니다. 원래 비어 있는 파일 3개도 이 수에 포함되며 처리율은 57.8%입니다. 도움말 제목 메타데이터와 나머지 73개 본문은 작업 중입니다. 이번 도움말은 운영 서버에 아직 적용하지 않았습니다. + +번역 범위에는 탐색과 노트 유형 및 서식과 가져오기·내보내기 및 서버 설치와 스크립트 예제가 포함됩니다. 스크립트의 입력란 별칭과 오류 메시지도 번역했습니다. 날짜 표시 예제에는 한국어 로캘을 지정했습니다. ETAPI 예제의 실제처럼 보이는 예시 토큰은 `YOUR_ETAPI_TOKEN`으로 바꿨습니다. + +`build-docs.mjs`는 원본의 링크와 이미지 태그를 재사용합니다. 처리한 100개 문서 모두 링크와 이미지 경로의 목록 비교를 통과했습니다. 이미지 파일 안의 영문은 이 검사 범위에 포함되지 않습니다. 전체 도움말 폴더를 준비본으로 덮어쓰면 누락 파일이 생길 수 있으므로 일괄 마운트하지 않습니다. + +## 6. 백업 기록 + +```text +/www/dk_project/dk_app/trilium/backups/korean-20260905-071413 +/www/dk_project/dk_app/trilium/backups/before-korean-apply-20260905-102641 +/www/dk_project/dk_app/trilium/patched/main.cjs.before-cache-fix-20260905-102946 +/www/dk_project/dk_app/trilium/backups/before-korean-ui-phase2-20260905-154240 +``` + +DB 백업은 SQLite 백업 API로 생성했습니다. 후속 UI 배포는 DB 변경 없이 파일만 수정했으므로 변경 대상 파일과 Compose 구성을 백업했습니다. 원본 백업은 서버에 보관하며 Git에는 넣지 않습니다. + +## 7. 남은 작업 + +1. 도움말 73개 번역과 도움말 제목 메타데이터 번역 +2. 완성한 도움말의 의미 검토와 서버 적용 및 화면 확인 +3. 기본 예제의 속성 별칭과 할 일 상태 접두사 및 통계 화면의 표시 값 점검 +4. PDF 본문과 이미지 속 영문 범위 점검 +5. Mermaid와 캔버스 및 마인드맵의 실제 렌더링 검증 +6. 서버 메시지와 날짜 로캘 및 기타 하드코딩 문구 추가 점검 +7. 예제 복원용 원본 패키지와 향후 재설치 시 적용 범위 확인 + +전체 완료 표시는 하지 않았습니다. 현재 운영 적용본과 준비본을 분리해 다음 작업에서 완료 여부를 과장하지 않도록 기록합니다. + +## 8. Gitea 등록 전 검사 + +날짜별 작업 폴더에서 도움말 빌더와 예제 검증기를 다시 실행했습니다. 도움말 100개와 예제 변경 148개 모두 해당 정적 검사를 통과했습니다. `deployed/`의 파일 10개를 현재 운영 서버 파일과 SHA-256으로 대조해 전부 일치함을 확인했습니다. 파일 전송 과정의 변경 여부는 `node verify-snapshot.mjs`로 검사할 수 있습니다. diff --git a/updates/2026-09-05/README.md b/updates/2026-09-05/README.md new file mode 100644 index 0000000..bec29be --- /dev/null +++ b/updates/2026-09-05/README.md @@ -0,0 +1,74 @@ +# 2026-09-05 한글화 작업 기록 + +TriliumNext 0.95.0 운영 환경에 적용한 수정본과 진행 중인 번역 자료를 함께 보관합니다. 전체 한글화는 아직 완료되지 않았습니다. 이 폴더를 추가해도 저장소 루트의 기존 설치 프로그램이나 v1.0.0 배포 파일은 바뀌지 않습니다. + +## 진행 상태 + +| 구분 | 이번 작업의 결과 | 운영 서버 적용 | +|---|---|---| +| 기본 예제 | 148개 노트의 제목 또는 본문 수정 | 완료 | +| 편집기 | 한국어 사전 719개 문구와 추가 메뉴 수정 | 완료 | +| 일반 화면 | 한국어 문장과 안내문 90개 항목 조정 | 완료 | +| 캔버스 | 한국어 언어 설정 추가 | 완료. 개별 기능의 화면 점검 남음 | +| 마인드맵 | 한국어 언어 설정과 메뉴 및 안내문 수정 | 완료. 개별 기능의 화면 점검 남음 | +| 이모지 | Unicode CLDR 한국어 이름과 검색어 반영 | 완료 | +| 기본 도움말 | 173개 파일 중 100개 처리. 57.8% | 미적용 | +| 최상위 노트와 일지 | 기존 운영 화면에서 제목 변경 | 완료. 별도 수동 변경 | + +도움말 수에는 원래 본문이 비어 있는 3개 파일이 포함됩니다. 전체 한글화 진행률과 도움말 파일 처리율은 다른 지표입니다. PDF와 이미지 안의 영문 및 추가 입력란을 점검해야 하므로 전체 완료율은 확정하지 않았습니다. + +## 폴더 구성 + +- `deployed/`: 운영 서버의 실제 적용 파일과 동일성을 검사한 자산입니다. `main.cjs`의 자산 주소 접미사는 `-ko-20260905-r2`입니다. +- `work/trilium/`: 번역 원본과 빌더 및 검증 도구입니다. 기존 빌더의 상대 경로를 유지했습니다. +- `work/trilium/release/`: 생성된 파일입니다. 도움말은 미완성 준비본입니다. 이곳의 `main.cjs`는 첫 배포 단계의 생성본이며 최신 운영본은 `deployed/main.cjs`입니다. +- `work/trilium/scoped/`: 기본 예제 하위 트리만 추출한 자료와 배포 이미지에 포함된 정적 도움말 및 코드 원본입니다. +- `CHANGELOG.ko.md`: 변경 이유와 구현 방식 및 검증 결과와 남은 작업입니다. +- `SHA256SUMS.json`: 이 작업 폴더의 파일 크기와 SHA-256 목록입니다. 목록 파일 자체는 제외합니다. + +데이터베이스와 인증 키 및 세션 데이터는 포함하지 않습니다. 배포 스크립트에는 해당 운영 환경의 경로가 들어 있으므로 다른 서버에서 그대로 실행하는 범용 설치 도구가 아닙니다. + +## 번역본 재생성 + +Node.js 24.19.0에서 실행했습니다. 이 날짜 폴더에서 다음 명령을 실행합니다. 추가 패키지 설치는 필요하지 않습니다. + +```sh +node work/trilium/build-ui.mjs +node work/trilium/build-demo.mjs +node work/trilium/validate-demo.mjs +node work/trilium/build-docs.mjs +``` + +`build-server.mjs`는 초기 서버 패치와 예제 이전 훅을 생성하는 기록용 빌더입니다. 현재 운영본과 초기 생성본의 차이는 자산 URL 접미사입니다. 새 Trilium 버전에 번들을 그대로 덮어쓰면 안 됩니다. 해당 버전의 원본과 패치 위치를 먼저 대조해야 합니다. + +## 도움말 작업 계속하기 + +`docs-order.json`이 문서 순서를 고정합니다. 0~99번까지 번역했으며 다음 작업은 100번부터입니다. `docs-ko-001.mjs`부터 `docs-ko-008.mjs`까지 번역을 담고 있습니다. + +```sh +node work/trilium/docs-batch.mjs 100 5 +node work/trilium/build-docs.mjs +``` + +새 번역 모듈을 작성하면 `build-docs.mjs`에 등록하세요. 검증 도구는 원본과 번역본의 링크 및 이미지 경로 목록을 비교합니다. 본문 의미와 그림 속 글자 및 실행 결과까지 보증하는 검사는 아닙니다. + +## 운영 적용 및 복구 + +최신 배포는 `deploy-ui-phase2.py`로 수행했습니다. 적용 직전 파일을 백업하고 Compose 구문 검사 후 Trilium 컨테이너만 재생성합니다. 상태 검사와 실제 자산 해시 확인이 실패하면 기존 파일과 Compose 설정을 복구합니다. + +최신 백업 위치: + +```text +/www/dk_project/dk_app/trilium/backups/before-korean-ui-phase2-20260905-154240 +``` + +기존 DB 백업과 예제 적용 전 백업 위치는 변경 기록을 참고하세요. 이 저장소에 백업 DB는 올리지 않습니다. 서버 접근 권한이나 포트 공개 범위 및 인증 설정을 바꾸는 작업은 수행하지 않았습니다. + +## 출처와 라이선스 + +TriliumNext 배포 이미지에 포함된 소스와 도움말 및 기본 예제의 권리는 원저작자에게 있습니다. 기존 소스의 라이선스 표시를 유지합니다. CKEditor 45.2.0 공식 한국어 번역은 CKSource의 배포 자료를 사용했습니다. 이모지 한국어 이름은 Unicode CLDR 자료를 사용했습니다. 이 기록은 원본 구성 요소에 새로운 라이선스를 부여하지 않습니다. + +- [TriliumNext](https://github.com/TriliumNext/Notes) +- [CKEditor 한국어 번역 원본](https://cdn.ckeditor.com/ckeditor5/45.2.0/translations/ko.js) +- [CKEditor 라이선스 안내](https://ckeditor.com/legal/ckeditor-licensing-options) +- [Unicode CLDR JSON](https://github.com/unicode-org/cldr-json) diff --git a/updates/2026-09-05/SHA256SUMS.json b/updates/2026-09-05/SHA256SUMS.json new file mode 100644 index 0000000..4b332a3 --- /dev/null +++ b/updates/2026-09-05/SHA256SUMS.json @@ -0,0 +1,2522 @@ +{ + ".gitattributes": { + "bytes": 77, + "sha256": "52b083643858fc11a8a832e4ca068c58635fad41ad76972e821d1253d8fa72bd" + }, + "CHANGELOG.ko.md": { + "bytes": 7909, + "sha256": "62db7d5f89bc54f416920c5984e57d4704ceb7a5cd2ececa25d628ece4ae2fa2" + }, + "README.md": { + "bytes": 5272, + "sha256": "85904f210fcf3fbf66201ee4a232b09d0b927d08a1252ecdfa1f5110796e5c87" + }, + "deployed/MindElixir.js": { + "bytes": 94559, + "sha256": "5c43e4738bee6b6239243f33775e35e82a658c382151c903f39e189d27946cc6" + }, + "deployed/ckeditor-ko.js": { + "bytes": 38732, + "sha256": "63e65add8f3d8df9409035899f63f9797381f910cdc5127c8f4bc8ecf08830ab" + }, + "deployed/ckeditor5.js": { + "bytes": 1361392, + "sha256": "b4d59b43e8e0c053ca122a7107b850da4946c44d9b3fa58111fa0c48407e25d2" + }, + "deployed/emoji-ko.json": { + "bytes": 837422, + "sha256": "df2d6186d99a85c890194e8b72acf74f18bead56c6ebab452720c92edc4ed745" + }, + "deployed/ko.js": { + "bytes": 530, + "sha256": "4f76540828ed91f952091edab9bc3fd68ea0dcb1d6c98b2da3930f7f385e5b07" + }, + "deployed/layout_commons.js": { + "bytes": 1333056, + "sha256": "b888db7ebe9356b65d720848762689cc919f63b428e1f06d6e59a30b92b2fd5c" + }, + "deployed/main.cjs": { + "bytes": 9017917, + "sha256": "acaae90e7e9d3f10b2a672e91abdfba798c531b202b35160870754905ac95cdc" + }, + "deployed/mobile_layout.js": { + "bytes": 9771, + "sha256": "aaeaf0cd1773731aa5944db83bfcc7e53e5190aaacd4d154dbfffbbf29d10a3c" + }, + "deployed/server.json": { + "bytes": 15441, + "sha256": "c1ddf9870fa9d6494ce48dcf16079e071990ffb81fe014836d580e00bad8728d" + }, + "deployed/translation.json": { + "bytes": 116132, + "sha256": "222ce7e5f6f3cfbbe848f784ddb5201e5a17f03f2ef095e1781992dbd7633724" + }, + "verify-snapshot.mjs": { + "bytes": 1050, + "sha256": "944aa1e3c8f8fd835dc0121071bf25b93de03cb29f0c0b3bd41febd209acb764" + }, + "work/trilium/MindElixir.js": { + "bytes": 94177, + "sha256": "7ae942d705f547ea08fbcde83473c8378f8499b33467ea6d71d1a1594315dc95" + }, + "work/trilium/apply-cache-fix.py": { + "bytes": 1442, + "sha256": "0d510437287befabffb6489b34e7bbf38f9f73f4971096b39528a1ffcd8cb51a" + }, + "work/trilium/build-demo.mjs": { + "bytes": 4603, + "sha256": "90c0d36e2518aa597b3e09fdcaae4729168bba4e0a2cea65e1a1ecb9331d473a" + }, + "work/trilium/build-docs.mjs": { + "bytes": 2191, + "sha256": "a0813425fc99cb1a7ccc7bcc692fa43933617d6fb0d71eb828f67e0e169d4d7f" + }, + "work/trilium/build-server.mjs": { + "bytes": 2786, + "sha256": "2c64311599b7465c6435c14929d756ba011afd828bff69bd8fd88017e69f5f60" + }, + "work/trilium/build-ui.mjs": { + "bytes": 8342, + "sha256": "ddb04c93588bc8da58db83db921ea035aecd35ac6d9bff7363a852598508a32f" + }, + "work/trilium/ckeditor.ko.official.js": { + "bytes": 37853, + "sha256": "ec09b588a1cda031507b6b3d3b7af4b9abf124d0ba2512a45fbbaef1137d8655" + }, + "work/trilium/ckeditor5.js": { + "bytes": 1361389, + "sha256": "af94f2b363d51480dcb7a32f2dd82a07a4e09c8766d7e0c78b9a87f95dce5811" + }, + "work/trilium/demo-diagrams.mjs": { + "bytes": 4531, + "sha256": "cb77b428b063df5962879d344f057997c5ee2cd2eb5cead50f6f129bae0b1019" + }, + "work/trilium/demo-prose.mjs": { + "bytes": 20896, + "sha256": "c15307e59c39152b765bcfef7d33ac890debab22965aa00a6f61be1943f3d279" + }, + "work/trilium/demo-remaining.json": { + "bytes": 2, + "sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945" + }, + "work/trilium/demo-simple.json": { + "bytes": 3462, + "sha256": "a06b5e1c43ecab8e8f6449727fc8c95f2288478eda86e7592958f92564ed9b2c" + }, + "work/trilium/demo-structured.mjs": { + "bytes": 7269, + "sha256": "ace4d04e8d6daf1845d9309d7215e68c376ced061627a45985cfd6defb66ca29" + }, + "work/trilium/demo-titles.json": { + "bytes": 4432, + "sha256": "dfa266844d39b5a65a25688de92c26a0a68d9d344b08b6dba9a4afac96283247" + }, + "work/trilium/deploy-ui-phase2.py": { + "bytes": 3049, + "sha256": "db296e39897e1a6758435e44077466087b58233333b1541c3e3e3f4ade67e60d" + }, + "work/trilium/deploy.py": { + "bytes": 1850, + "sha256": "7575283c2ffd42325710954e6ef3b711bcd589327befb3d0f30b1f2c86841806" + }, + "work/trilium/docs-batch.mjs": { + "bytes": 612, + "sha256": "52acb2722817123469d3964c8b98aa900df7fafb57e937e5b9d8d8470a636f96" + }, + "work/trilium/docs-ko-001.mjs": { + "bytes": 10714, + "sha256": "c42a13f0c7dcb913f44aad8ba3f6e108d79958c3e26122fe2e530dc38c0898a8" + }, + "work/trilium/docs-ko-002.mjs": { + "bytes": 19300, + "sha256": "f183b620becb63bcab319e04cc1327e1bcf39f944a29e1b994f22016e949864d" + }, + "work/trilium/docs-ko-003.mjs": { + "bytes": 10398, + "sha256": "e3d8be602a51dde1fd0671b215a4cda483fe8b998170012e6d40f76cac9696b7" + }, + "work/trilium/docs-ko-004.mjs": { + "bytes": 12826, + "sha256": "1214f1cea11f681680cc2c648e26ca63db28e55e29966aa8171a6be3a0c72978" + }, + "work/trilium/docs-ko-005.mjs": { + "bytes": 15132, + "sha256": "1485641f2537eedf5f29ae9289257abeb7e7f1233758940ce17ca0cedbc49f57" + }, + "work/trilium/docs-ko-006.mjs": { + "bytes": 8289, + "sha256": "8812f9bab5134570772d29b2046b837fa96a2759c81852350ca29bdf4f3fbaa8" + }, + "work/trilium/docs-ko-007.mjs": { + "bytes": 8446, + "sha256": "3b960551c0b5936eb4502eeb9d4aaddebe431f4ee2161aa7b55599579d399bec" + }, + "work/trilium/docs-ko-008.mjs": { + "bytes": 9173, + "sha256": "6504bcbcb6c0556732271a69e4218d1a0ecc60dc20ee93ad6d67c43b766f016b" + }, + "work/trilium/docs-list.json": { + "bytes": 12223, + "sha256": "189012501c8789d60f68e3a78d3b9ed0e7d30081b2dcace1e579c0ba10e29a8b" + }, + "work/trilium/docs-order.json": { + "bytes": 12222, + "sha256": "8c2ed9c06625cbfd190186f7d1f00be3f54c4576a8e34e6899bfe696c95ab3cb" + }, + "work/trilium/docs-validation.json": { + "bytes": 55, + "sha256": "7ad32cf37d2718c02cbae4e6ae36088303e624cdd781413e917c0c1aea311275" + }, + "work/trilium/emoji-cldr-derived-ko.json": { + "bytes": 835120, + "sha256": "69e006aaa9f0ea4568e061b0018a0f11898e19f77606e85b111b95555299f52f" + }, + "work/trilium/emoji-cldr-ko.json": { + "bytes": 472803, + "sha256": "197be7720f3cc64126fee01bad5fdb668e51de5674ce5ce5ada0bd5028f3417e" + }, + "work/trilium/emoji-en.json": { + "bytes": 428229, + "sha256": "eeb087c67c62cf31fcb8a11d2fc018a4747a5fe62fafe7d8e0e471d6ae1a7d61" + }, + "work/trilium/emoji-missing.json": { + "bytes": 2, + "sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945" + }, + "work/trilium/layout_commons.js": { + "bytes": 1332326, + "sha256": "c5ebf993f416c1a732a12cb46605902df120dfb7662d1dc23fa69fed2f2ac876" + }, + "work/trilium/release/MindElixir.js": { + "bytes": 94559, + "sha256": "5c43e4738bee6b6239243f33775e35e82a658c382151c903f39e189d27946cc6" + }, + "work/trilium/release/ckeditor-ko.js": { + "bytes": 38732, + "sha256": "63e65add8f3d8df9409035899f63f9797381f910cdc5127c8f4bc8ecf08830ab" + }, + "work/trilium/release/ckeditor5.js": { + "bytes": 1361392, + "sha256": "b4d59b43e8e0c053ca122a7107b850da4946c44d9b3fa58111fa0c48407e25d2" + }, + "work/trilium/release/demo-migration.json": { + "bytes": 111709, + "sha256": "ffac3352399c9a26a06eefe75f2c0d191569e84900dfdfa9438b688e9690718b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/AI/AI Provider Information.html": { + "bytes": 780, + "sha256": "b67bdc2faf3e43b048af56cd31d5a2c40c8779e1b2f2e2772b02915a825136a4" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Anthropic.html": { + "bytes": 1, + "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/Installing Ollama.html": { + "bytes": 2094, + "sha256": "22b745e0a36be6a3814dbf8ba57157cd554f5fd102bcda43f8ca4931ef531eca" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/OpenAI.html": { + "bytes": 1, + "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html": { + "bytes": 765, + "sha256": "e924bc0029542b00db27e6e787a29cb6b1697cba3bf2d91c4649747b169e4f29" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html": { + "bytes": 2051, + "sha256": "5c51a69b99e58c8059ada35bf3a815e9f1468a0cd6d2985c9f869da9ab498453" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html": { + "bytes": 1384, + "sha256": "97533833ad2d7e1a7aeee4f32f41fac5d820978b23b26e96fb6395fbca0418f0" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html": { + "bytes": 981, + "sha256": "23ea0b913b64150ee378b6aad9830b484adff1a934765080d6df91a45d6268bb" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html": { + "bytes": 1183, + "sha256": "237f74c31b0ad546f146192a5e9bf1a90c982a2d87513f6f986d26fecb3a583a" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html": { + "bytes": 1748, + "sha256": "d8bb973b3249e6d0455cddca20a49dfab53f2a604b416b8a50945fa5bf566bfd" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html": { + "bytes": 1712, + "sha256": "5f75ac5422028945de6f775f461fb4b587521430c55652b4fd5eb74f0e17a3f8" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html": { + "bytes": 1222, + "sha256": "74675bd0456c1b025468472994f4cf33e30feb76800b5a54b7e75be6ed978152" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html": { + "bytes": 1830, + "sha256": "ae32fa34476916d8fbc06c49515bb316ae157a9131b25dc1f4d4df206e9fbf01" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html": { + "bytes": 1349, + "sha256": "7339c30394d9ab9366b6afca704fae994b0c50fdb981b09d718eb991c03b32f0" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html": { + "bytes": 2345, + "sha256": "083a4df41fe2fe59ef3c7202c04e8c8875c52fb7a7ee69887f80bd6584871f43" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html": { + "bytes": 1672, + "sha256": "582e0e51537901c2ea6bd42a6b611c2140fbc7941f1b54ec64f62035d2b465a9" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html": { + "bytes": 1342, + "sha256": "1a9720dda91dd0921d5d38b1117a40c5e6a663c39d62a6e39f61dab1508ee6b9" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html": { + "bytes": 1040, + "sha256": "f8319def38cae482028c31090752021a396620b8d24740907c5130c4494d8971" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html": { + "bytes": 369, + "sha256": "d69b274924f2d0e7e4dc04667bfba731fb0b636cac652e7b42e937a708b05bee" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html": { + "bytes": 462, + "sha256": "d6d4191b11a60534985293967925ab1e779873e4a953ca6dd802e125c73a5901" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html": { + "bytes": 417, + "sha256": "080c0d0ed8df3313122e78c5c507adcbd00b7168575bc8ee0eac482cb33e04eb" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html": { + "bytes": 819, + "sha256": "20a0ed06b1140cf694f792038c157cd36fc5c1b5794e0cf72387c68e90151dc9" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Evernote.html": { + "bytes": 1131, + "sha256": "ac9d608fa74307bb427e04180cd4834b68e81369a4b4c18fb54de1023a0b1ab9" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html": { + "bytes": 2416, + "sha256": "e6cef102c585be6c84128c7a4d3d1d3645d2f9825ca279a5801c2d0d0c66975f" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html": { + "bytes": 577, + "sha256": "79695ecab388952edbc6c427a0054b1640b0deb05be89f4ee84c8b0fa3738c02" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html": { + "bytes": 1374, + "sha256": "aba2edc50208eb219866f3f623820f7fc5b7d3e8db7f4fcb3c4d601141bfd211" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html": { + "bytes": 530, + "sha256": "3954c53763a637662e008517f8e3ddfd65174b57726fddfa80c6dac42c9dc467" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html": { + "bytes": 876, + "sha256": "7478c85efeecaea8e339c9338ed2709e36e8792eb2cd713a9b3cc8ca0956b08e" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html": { + "bytes": 1107, + "sha256": "3853a1968886998c664ca93316c603f6b58bd9e002f1d07be3c27d12efd6c8f3" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html": { + "bytes": 1845, + "sha256": "68ef2b873a5feb02b7b3829041d1a820b872dd7e762d9a96f09e1526cbc9acc0" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html": { + "bytes": 711, + "sha256": "018c307c54211ae7a7807f8c8cb2065417203f09853e2f17935863e9a0eeb095" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html": { + "bytes": 1465, + "sha256": "335290aa8bf9009f496ca96f54af22a16ca8a75a7e590f40c4ec6cc3330a80b5" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html": { + "bytes": 715, + "sha256": "c56adbd67b697ba14f3139e7f03b4bce02d18373725cd9b1b50bde4237e88dae" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html": { + "bytes": 1936, + "sha256": "c7159b77b30fea749e709f5d82dd8b362f8e43517444c826176249d21ec73eea" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html": { + "bytes": 597, + "sha256": "cf04e12d609843fd90986b1dea62de2350f238aa61047ef5923a5c008e66c98b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html": { + "bytes": 620, + "sha256": "576438a4f059fb641caf415844380b4992b0669285318d2d52d2f4ad824820ee" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html": { + "bytes": 1139, + "sha256": "e94fef204db20f14f5cc6fd5362ebe64cfe7bfaa708ec760fe4aa222c12efe60" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html": { + "bytes": 1036, + "sha256": "156a556052a0be5577b453a45b2f382dfb1f488ef9385f1bd80269769bcbbd26" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html": { + "bytes": 459, + "sha256": "0716a6a6c5fee64d720c2c40a966d3858706bb8ac953047075722a4e38bbb338" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html": { + "bytes": 1581, + "sha256": "40c0f8e08fbc72895de4906c0088ce2e6a047042212e8cd62dfd637254833aaf" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html": { + "bytes": 661, + "sha256": "8e4810f39935f5b423530ae3ab6f2420b352edc902266ede43d695822653f8c2" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html": { + "bytes": 635, + "sha256": "eccc58db8e834de81700a7de1ac33a581825f38ff75c6744055de9e0845cc2da" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html": { + "bytes": 1515, + "sha256": "049b1e856c2e705a57ecd5d7023198f9c0cb1f2b2789f05d859586f58fa8072d" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html": { + "bytes": 1247, + "sha256": "da5b3d8fc9cd40787daa54d86da6641e89756626161a5a1ff7edd928d150c55e" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html": { + "bytes": 1170, + "sha256": "24d3f524006320fdab4374e6fa771535228bfe401337341eeab6c9353265f576" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html": { + "bytes": 1955, + "sha256": "d0ffd53a7a7b7cb583e8dc819d55681d0a6e78ae9576bcc719fe6c5da95c3cc1" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html": { + "bytes": 1978, + "sha256": "e06e0e415f139558342b8c738056c5fa9df5d8ad365e608e581e09dcee1d72f8" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Zoom.html": { + "bytes": 1, + "sha256": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html": { + "bytes": 2058, + "sha256": "fbe0de3fa71d78d645add736aa437d8e02f64e9c82ee49f434be16f7a2731b88" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html": { + "bytes": 1568, + "sha256": "56979c64a83b60542eeb43968afdb1722f6a999abfde6198b78ad2374bd5da04" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html": { + "bytes": 1731, + "sha256": "76c944636e3065c8be28cf718368de38cc1d06ea2d30171cfc6abb4430f10021" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html": { + "bytes": 1809, + "sha256": "7d7e85f561cce85ccd22ad834932101f7f266d35fea9befce1d907ebe5fc5ba3" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html": { + "bytes": 952, + "sha256": "b186be07ab45c28021fd7f997856e47d3b275c778d0c5984d2432825b622347a" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html": { + "bytes": 2173, + "sha256": "3134b135c5f103f628d1c5a5c33494a24b8c4a512d56afc68d8f76a54e4ee655" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html": { + "bytes": 1859, + "sha256": "34d9b3561190a3604aaebcbb387783ccd90b346468decd848a5dfaebcb8d2762" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html": { + "bytes": 1413, + "sha256": "579e6d782f3487afee36945e1697f56b7b9e5fa515a01c6efdcd3c2ba644ff8e" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html": { + "bytes": 2300, + "sha256": "14c03b77a35a13feda34ad7718a0b13d811429bdb357ea4311607b78dfd33019" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Book.html": { + "bytes": 991, + "sha256": "f966e3df9e19f48412e409104b9f64faa574b9eb49c0e5150064edb52251541c" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html": { + "bytes": 347, + "sha256": "d9a2cca446427a340642d691c29eed136c9791ff41f7aa27cf84a3943025dd91" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout.html": { + "bytes": 750, + "sha256": "e5d486978122ca7e5f6a9e0ec55a61a254f97f4cab081b2d778362f3fd45452f" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html": { + "bytes": 1984, + "sha256": "e95e2ae84cd5785ef4ef8e76070415ff5d0a873fbfd13504d43f615ba0c1213d" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html": { + "bytes": 467, + "sha256": "dd6f4bb4d259f0f88f3df47b01869a3b672277f82b368ee9bcc7dde742a0ac3c" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html": { + "bytes": 2270, + "sha256": "3984855399ad232e3f33bc2ea27ad99183464e2292e5072c3c25ddfe1a1f2e56" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html": { + "bytes": 666, + "sha256": "4a1fc35660e6e5a22e12ea93ab4912ad2626b4c565ef8021aa90e2da6fd47c52" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Bookmarks.html": { + "bytes": 1179, + "sha256": "90d1925922bb74bf57b147e0e1ea66969760a2ff2d54c7258c46a2c916c66d33" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-to-le.html": { + "bytes": 685, + "sha256": "7b3cb5844071e7e9ee27e0d2c688da9a632c8f0c3df3558d3774a44116c8b006" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Cut to subnote.html": { + "bytes": 850, + "sha256": "0246f687ae8c89344cb7b71ec97cd2fb06b10cb2995fb3c424f2b6f2dc6ac425" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html": { + "bytes": 1845, + "sha256": "c8d4b2669ebca1a0105addaf898672692af731a35984a5a2b03fb3cabd64d034" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html": { + "bytes": 894, + "sha256": "a913056e6c8844a76588acd00d9b6c191d97af50fe13ebea49a484cb3799e807" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html": { + "bytes": 1686, + "sha256": "3fc238958153af83e996c30caeb4df8f36221eccd52057283f58643afc7299a0" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html": { + "bytes": 1383, + "sha256": "4d3f81b91f3aebfe08e7147cdb9f5227bbae55497e4d71fbb94a95b9674a7791" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html": { + "bytes": 1462, + "sha256": "a9625eb7e0d86d8ead7a87033f8dee4fe5a372483ffe06e3782f72ade4914deb" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html": { + "bytes": 519, + "sha256": "5ec333adce801f85f827b5f1fb8e66980ad8eeaea07fc58a9afd43c93b1ddfda" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html": { + "bytes": 1966, + "sha256": "913e568dd8aecbee6fbb888cab6ad1f8e245b4d9172634f85f49c5462919eaf6" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html": { + "bytes": 1382, + "sha256": "0550661044767812557b12514f2d227b0dc99bb1898d0b8cad6595f3a07deec4" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Note Types/Web View.html": { + "bytes": 1931, + "sha256": "84306244769f5ee499543002ba25b346bbe0fbc4c052ef1155ffad94eebcfe98" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Quick Start.html": { + "bytes": 1268, + "sha256": "cf7a2a0f95d9e2051fddcbfe876a8f1057154f12839c37672921fc7ce5e5fe4c" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets.html": { + "bytes": 490, + "sha256": "8f9bc8a9ea344b712c2d6ecd281b48902b79303ce54bf4bd898b283ece603d38" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Scripting/Examples/Downloading responses from Goo.html": { + "bytes": 1996, + "sha256": "88c588ca7a019fc42f21b1ba6954e9d5a034c5fb5b8fa1aab24d60896712097c" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Scripting/Examples/Using promoted attributes to c.html": { + "bytes": 2412, + "sha256": "55523d0fb897181e0142e213a862939d4e681cc63410fe9f1531b13c2f2d4362" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Scripting/Script API.html": { + "bytes": 990, + "sha256": "354797526fe41cff1312fca6fd1799f188536294f3cff4b864eada076dc77b7b" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html": { + "bytes": 1971, + "sha256": "f7e4fc1290f1728dbc430e6974c6a8904d77f6058a50d1c2b9c528ced5fb2ca4" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html": { + "bytes": 1370, + "sha256": "f764f67e15b878e9f5b500091c8f903e68b1a9f84429888531827fc8d7142346" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html": { + "bytes": 1143, + "sha256": "0a1fb290f5a7adcea248d6918393360cda16f19e8f9ea73899bc1a80690065dc" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html": { + "bytes": 1763, + "sha256": "7a24aa6a4937ebf96b7313223be938860e56537750715308f5c8cab3207bcaa7" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html": { + "bytes": 2374, + "sha256": "2867364c43303fe4050af97ad008e386c990faf2a533f5476aa5746c316cc973" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Troubleshooting/Refreshing the application.html": { + "bytes": 233, + "sha256": "e1bd361f7329749cf62ac78194d9fe22a42807738d81eeac768c3a39038c3939" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Troubleshooting/Reporting issues.html": { + "bytes": 262, + "sha256": "5607ffeaf3ad06f8361c2fabe4a64693fdd37bec8d71769fbd2eb067a15e1883" + }, + "work/trilium/release/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html": { + "bytes": 766, + "sha256": "885845a642ab4bc647a1050852af74010b0a5c6bfa733247d9c7738d95d0655d" + }, + "work/trilium/release/doc_notes/en/hidden.html": { + "bytes": 295, + "sha256": "7571d04ceedbeb3480480d892bd96bde78d4d98f7205b811e4a1cfe719937879" + }, + "work/trilium/release/doc_notes/en/launchbar_command_launcher.html": { + "bytes": 96, + "sha256": "f96fd470e009c8c9788e4c76371aad4e2e583885b9930c529b16e476724d3266" + }, + "work/trilium/release/doc_notes/en/launchbar_history_navigation.html": { + "bytes": 292, + "sha256": "1d2b88dab54760e905b16871ebd0ae4766dc10d0ea5279363d91e828ef946f40" + }, + "work/trilium/release/doc_notes/en/launchbar_intro.html": { + "bytes": 603, + "sha256": "ec9ba0bf577e4a7fa5d8ccb1b6eff369a1e1d4755556be115091c1d60df4dfb0" + }, + "work/trilium/release/doc_notes/en/launchbar_note_launcher.html": { + "bytes": 591, + "sha256": "310bd5d7bc2814edf789aa79ee9bcfcc5cbf65f277000c99aad565f85109ebfb" + }, + "work/trilium/release/doc_notes/en/launchbar_quick_search.html": { + "bytes": 340, + "sha256": "1f2da0c9099246cd129c1e6bd3ad77db38f6ee6de2839c621f15ec10063d2bd7" + }, + "work/trilium/release/doc_notes/en/launchbar_script_launcher.html": { + "bytes": 494, + "sha256": "cabd4abfd7b8caf959e5ff1968df53491d8fe5d778ef8e49d19de0b33ea3b25d" + }, + "work/trilium/release/doc_notes/en/launchbar_spacer.html": { + "bytes": 425, + "sha256": "69fff93c2dd2c20bc759b0054abc74077b4eacc1fd9cba0bb4048a335f4ac546" + }, + "work/trilium/release/doc_notes/en/launchbar_widget_launcher.html": { + "bytes": 946, + "sha256": "e671112c76e63645d105ec208b196944fba2c1251429429f0f8070b93aa126f8" + }, + "work/trilium/release/doc_notes/en/share.html": { + "bytes": 66, + "sha256": "d38d3acecf9a146986402ef7e871d51d350b650ea5e883137922dd4bfe840713" + }, + "work/trilium/release/doc_notes/en/user_hidden.html": { + "bytes": 227, + "sha256": "0d50d8e44ea1b2ca86a0aeb47f234b2ff24302283e4add1e2f002901b89b5f97" + }, + "work/trilium/release/emoji-ko.json": { + "bytes": 837422, + "sha256": "df2d6186d99a85c890194e8b72acf74f18bead56c6ebab452720c92edc4ed745" + }, + "work/trilium/release/layout_commons.js": { + "bytes": 1333056, + "sha256": "b888db7ebe9356b65d720848762689cc919f63b428e1f06d6e59a30b92b2fd5c" + }, + "work/trilium/release/main.cjs": { + "bytes": 9017914, + "sha256": "39e9ad252bc619b94cd195b081e7f655de88dc3cd42d7852b03dfc1f408c227b" + }, + "work/trilium/release/source-hashes.json": { + "bytes": 276, + "sha256": "da572ed7335cde78598556e7cbcc5ebcec89a233029948e252e3dd17c321d478" + }, + "work/trilium/release/translation.json": { + "bytes": 116132, + "sha256": "222ce7e5f6f3cfbbe848f784ddb5201e5a17f03f2ef095e1781992dbd7633724" + }, + "work/trilium/scoped/doc_notes/en/User Guide/!!!meta.json": { + "bytes": 43942, + "sha256": "fd6eb4edec79e3f6d5c4ab808a121ffbdcf15f17277cc382bddf93acd34e415e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/1_AI Provider Information_im.png": { + "bytes": 190170, + "sha256": "8c14819be1f3ba045fc199a8f619736655b9ba1f5983e2ebec23027d5f8b42e5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/1_Introduction_image.png": { + "bytes": 171775, + "sha256": "5620db9975ed26fa7fab1276cebf7611b0aa5ac4b4c660904aa114e22b5c59d8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/2_Introduction_image.png": { + "bytes": 44434, + "sha256": "27fe7281a286db038099a2538aa4a4fdc54a84ff202135ea1656ba532c1a9ceb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/3_Introduction_image.png": { + "bytes": 176074, + "sha256": "be37ea0f6c6c023bfdddac5767f24c8e0e546afe41876495123a789c6f2384d8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/4_Introduction_image.png": { + "bytes": 171241, + "sha256": "93c139db01b7d2b8b773534b73fde520c278052c459c646369671ade2fb41ee7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/5_Introduction_image.png": { + "bytes": 242832, + "sha256": "d30632f7166579259a5d8801704de5d89bae5600c49fecfb4bbbf11f26459e0a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/6_Introduction_image.png": { + "bytes": 206602, + "sha256": "636bd18832f424ea7663fe9ecb225e7be6d8472c468a77024ba29d98196f2f84" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/7_Introduction_image.png": { + "bytes": 50073, + "sha256": "3c24d21f1d136c87739876225cce602e45dc22492a6f33ebb84c6c462bdba8b4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/8_Introduction_image.png": { + "bytes": 82377, + "sha256": "974499047f28bd1e86d12ae821f7216926a0aa2b6b6e755462f51f8d3b87c388" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/9_Introduction_image.png": { + "bytes": 195861, + "sha256": "74098a2e0e7d0d6251c2440e2b9ca45b28d2f78f62d6e0909b3a0f29d5b4c0e5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information.html": { + "bytes": 832, + "sha256": "3d4dda28b7618a000b7b67c56f25a48a1335342090faee8cca89f94a238bd48f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Anthropic.html": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/1_Installing Ollama_image.png": { + "bytes": 48293, + "sha256": "6c949b6bcbbf3047e4cbe6e93830f896e670b3fb7aa64f384e6ef267f38352f5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/2_Installing Ollama_image.png": { + "bytes": 276274, + "sha256": "5690a151a8cfa3fd070ff636d964eac58d81373f2c260b315eae446c6430bae7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/3_Installing Ollama_image.png": { + "bytes": 24175, + "sha256": "04b58efa47b580c317ad23eb3e0968a559d5fca001e42c4728021696dc55b962" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/4_Installing Ollama_image.png": { + "bytes": 12908, + "sha256": "46cc5f6fff63ba0c3643fc5270bdbb7e6266351f866e31ec204da35d220fd06f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/5_Installing Ollama_image.png": { + "bytes": 90909, + "sha256": "e4eb45572d83123fa2fbe7e3a01dc09d613188f1d620efe114d37f2b71176024" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/Installing Ollama.html": { + "bytes": 2407, + "sha256": "d0e1f26342576fd70f6d051cfcf1904dde43759e6e21b9c30912c11065f20458" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/Ollama/Installing Ollama_image.png": { + "bytes": 5381, + "sha256": "76e9d702dd6f8f167e49dfa5c978ec81f23d1f3e8d27243bc0e82c0b9039a8e9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information/OpenAI.html": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/AI Provider Information_im.png": { + "bytes": 202338, + "sha256": "db1a40dafa266ec93a74490d0879230fce8a33833a7ebd8d40f7caf6393c8cd1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/Introduction.html": { + "bytes": 7513, + "sha256": "7c0443b5aadbff84f358c1d59a2e5d95ad69f26f065be085f00793804c2f3791" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/AI/Introduction_image.png": { + "bytes": 179616, + "sha256": "1e030387d81e774924e915d4fcf4700dc477c419057d49dd938d2b9910625c4c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Metrics_image.png": { + "bytes": 560945, + "sha256": "5e87253fd6d46ee2c114bf34526941ceb17045a3e9163991ac2bebc9c2324bc9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Note Map (Link map, Tree m.png": { + "bytes": 78334, + "sha256": "f91c3d0f77a74e32a48cb79278c872e959a9e8c9cf974e092d7c7df1429ca361" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/2_Metrics_image.png": { + "bytes": 52804, + "sha256": "bda8ccc9e381d945e15795efa8d0d8ba840a68b705cfdfa318cc75810b42f3d6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html": { + "bytes": 745, + "sha256": "ae5cb43f5592ff9878ff8db39acc0d230500c1e4cf5a8ff14b9e4eaf3ab58cdf" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/1_Day Notes_image.png": { + "bytes": 23537, + "sha256": "f68e034600062e6071961eb11923cb9e7facd3881852c95cbe465e34740dbc19" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html": { + "bytes": 8750, + "sha256": "b8db2b7e8aaea88e968d2b451f71a8c2f82b110c71b870c8b5772f29ca5756ed" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes_image.png": { + "bytes": 60014, + "sha256": "88459681f286175ad60979a779536ac66b3a4cee780947f3b19dc0dee903dde8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html": { + "bytes": 3398, + "sha256": "6582eafe7549749efe2f33f93137151b092685937ae939af9f666409f7b77bdd" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager_task-manager.png": { + "bytes": 162007, + "sha256": "ba8bd6198a071e2e4699baf1f9e0e5f62c6a496c504a0b5db6c29ee7a9a6e1be" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html": { + "bytes": 3102, + "sha256": "5f3633cf4b1d0fde74fc1f103ffe9335ecb0d9e3e78adc5683523c316df79ad0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker_image.png": { + "bytes": 70118, + "sha256": "cf911e6ff14ef99dead4a755c39f15b3c820b8cb01e3a987ae6d6cc56b23a20e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html": { + "bytes": 2470, + "sha256": "6017e9bceca2c7f818903a717dce9cb238130ff7914dcefa909726c63ff36161" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Inheritance.html": { + "bytes": 3370, + "sha256": "d06dfe6b559c6a3f579c1c09f9e7cc5a313757a1e98fb1ed75abdf91fbd7f291" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Labels.html": { + "bytes": 16521, + "sha256": "7bec250090309a896b49632756ce6b02bbae6fbc3f403e44d73894b11dd1c921" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html": { + "bytes": 3028, + "sha256": "0a1a2bc1fba143c4f766b832398b775273351ce385a8f9102aeac77e225b6897" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes_image.png": { + "bytes": 115993, + "sha256": "ee419fe9c35d3733872f3f8edee2b2c17afa7c0f4a344e08dfa12d1ff190ffe5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes_promot.png": { + "bytes": 44530, + "sha256": "2be97d4590ae26808b17d6a9b2670c06531a12be19c52bb8ad6dbd396aac73f5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Relations.html": { + "bytes": 6324, + "sha256": "4a10028beb87c7560ef4ceab592aaab1473ed5148447e6b1ee3912d910b52a97" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes_image.png": { + "bytes": 22688, + "sha256": "55f6ab7b938d52a0c6031245c61c7a54f6a0956e5dbde28ad562ea343afff4fe" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions.html": { + "bytes": 7436, + "sha256": "fe1d4b3ab507e21eb8152c80f9e4bfb91e475b1385f34abc8739e4eb7cbc28c9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Bulk Actions_image.png": { + "bytes": 54165, + "sha256": "bc7ac65691a6cd862486401bb6120476d42127400c07501a9d618e4e4581caa0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or e.html": { + "bytes": 1559, + "sha256": "af2e6831e1ae95a031159e168f3c350f73d3ba10b25fa7ff33df8ba457ad480f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing .html": { + "bytes": 1563, + "sha256": "00b5272c155a8acfa8b9ae1fd7d6c53ff42a1d772a3f10afad772fd32287d8e5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html": { + "bytes": 1143, + "sha256": "26a79cd2d2056869fd4c03de3166b563290f5bdc62272e0398003e21c225a50f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html": { + "bytes": 4571, + "sha256": "f670928d090583a8f0546112b17a90823bcc04bd07445ebcb34461cb6296f512" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Resource Providers.html": { + "bytes": 2007, + "sha256": "c3c5e7e38d63e451f26f2ea684accb62ae7b26684b93db353d873a28036ed69b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html": { + "bytes": 1961, + "sha256": "968a6651d5ad6a713290399f059ad512c9415b188efca31af010d0015ccbc0c6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Demo Notes.html": { + "bytes": 1417, + "sha256": "a16da01b42e658dfe3c61ba7e975d4905d2c18592a91994bec0eb12f06198172" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the data.png": { + "bytes": 137742, + "sha256": "2dd9804591c580745ab3b18f10aa043c8efb444cd32c59af57fa89872f2e7522" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database.html": { + "bytes": 1919, + "sha256": "8167b1e71ad0842176ec81172e142956c521a5eca7dc6b3697e2dbe33662ec99" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/1_SQL Console_image.png": { + "bytes": 30610, + "sha256": "d26b4f7cf180eaa9af974aa9d4c6f36b078e490cbde88d594e3f819f704e7694" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/2_SQL Console_image.png": { + "bytes": 230, + "sha256": "a9c59eeb148676186047cdcbe3700daba427eb605d59f4ca99fea8a63cec6927" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/3_SQL Console_image.png": { + "bytes": 265, + "sha256": "a642a8daf89c7dd9ae634e8b113f969cad889b5f280114a2c0a71407176679e4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.html": { + "bytes": 1358, + "sha256": "dca0d57d3d95ae97dd69669e180cae5afafdbfa384091d2c33fadf33c056c87c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Database/Manually altering the database/SQL Console_image.png": { + "bytes": 35980, + "sha256": "eb093e984fecc3d59ab87526744ef61f20ac002eed542fcc130309aab05762ac" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html": { + "bytes": 2725, + "sha256": "7f43cb271ad7e35d79bcd03e4828ee9827949ae7dc020aa1bec8a2c936d39e4a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API).html": { + "bytes": 2654, + "sha256": "c6562fc2424de5ea6dbf94be85f55aca7d357f0106600984b7b129f6ef683e7d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/ETAPI (REST API)/API Reference.dat": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes.html": { + "bytes": 9395, + "sha256": "ac4d4b34e254ca17b9090f050a5fc2896947de3d0cbf747a33ade14d88e01fdb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Hidden Notes_image.png": { + "bytes": 8796, + "sha256": "85e41bcefde6eec3ee6da5a799973395238443ae4c4cc9c47e868f73fda17ffa" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Internal API/API Reference.dat": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics.html": { + "bytes": 4734, + "sha256": "e44223033a06210664a30a472fb9c6d21c34e8c3bc57342d3ed935903827f350" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics/grafana-dashboard.json": { + "bytes": 31511, + "sha256": "6fa17d4c4367e9f7ee8e315b733881bd06960a49bee7e5de29f898b346016f86" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Metrics_image.png": { + "bytes": 74334, + "sha256": "b9f3c497cbc884be364d08c308b2aca6f671f8bb2e13fd066c79ac3fbb263885" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Note ID.html": { + "bytes": 1933, + "sha256": "a45dc38d5fb4a25ab3dceffe5f418c98a407f880b60e3822faf5b9a7b2288f58" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree m.png": { + "bytes": 79075, + "sha256": "7f4934682a687a7f07dde0637faabfeb91943bc86705f505efb79278a7df7515" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html": { + "bytes": 1179, + "sha256": "a6a359b1941549fe46a0e6703166b460ecddaab4f09226c54b20f0da5a3f7cf7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source.html": { + "bytes": 3924, + "sha256": "9ef8c9c7e35c5605b73628a4cfe90e3935f3e68db623324449a1d82e8e4b8822" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Note source_image.png": { + "bytes": 25041, + "sha256": "329af8df7d84e59e945b2037d84177f2f280c512ba2c82bb87da894e1d1c3062" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html": { + "bytes": 14290, + "sha256": "3a92dd372b966f9753216ef2146afce4cbe891b09ecd4502f669687244d1d262" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/1_Serving directly the conte.png": { + "bytes": 11105, + "sha256": "5eed6e46bfce9e4b70b4494e28efd16cf313e05418d08e43f857372298e19e6d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the conte.png": { + "bytes": 6937, + "sha256": "1bf30f03969f1734456973e20df76cc1e13b4c237031722ee80509394ba6de57" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing/Serving directly the content o.html": { + "bytes": 1166, + "sha256": "e1302dd9412eb3b042a4b6143f0e6d6ff60f5208f4ed4fcd6535298efddd06d1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing_image.png": { + "bytes": 80848, + "sha256": "0387ee3c28883525969608d2abaaab254deb6c2e0ec4403263dcaa6363ff6c14" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing_share-single-note.png": { + "bytes": 98414, + "sha256": "2e70ecff8b9ac4972b73e29d06b296d392c72920e6b8934813305b18ae4bb3d9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing_shared-list.png": { + "bytes": 8948, + "sha256": "e0551443c3f653806572cf72f5c576b4795c3604872a6e3cfd5daa71c479dec3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used.html": { + "bytes": 402, + "sha256": "dda6afb7e28d8fee6583232cc09676c8c0409ae32934a2b85e8bb2d1d7736a4b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/CKEditor.html": { + "bytes": 2786, + "sha256": "c1f1053dbe857cbb159c021f165abde040a20a869775404222efd11a59301b29" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Excalidraw.html": { + "bytes": 420, + "sha256": "32836d53fa1da13ec80e32c12c60b7fd9b5f7e7e80040669e902a6a042c37c8f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/Leaflet.html": { + "bytes": 346, + "sha256": "2a82c34ef0373145cb5d7f0a4a3d34f7d000c1d0e41e18face5d2ddc87bbafb1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Technologies used/MindElixir.html": { + "bytes": 733, + "sha256": "1ff96c57bf533375c279d3bd1f541a2c3bb7240fa78b833c091ee4c3cbb8f5e5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html": { + "bytes": 3859, + "sha256": "763fe7c30a618ea9b0f5bf056d0471a1a33aa503dd10c9032171858872dabfeb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates_template-create-.png": { + "bytes": 78668, + "sha256": "25dbb4573f5f3cf3be1de36b4aa9ae4364b7f4b67ab3895a6cd7224dea52bcdd" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates_template.png": { + "bytes": 84194, + "sha256": "87ad17f92c77c8c85da6140317c08d317c119b49e472418d2ace147ce3d1fe01" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/1_Zen mode_image.png": { + "bytes": 47529, + "sha256": "1a63e19bf040255db8fc88d5d59d7aa2b5e2bc6e5e2660698e2e72bf76694ff6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/2_Zen mode_image.png": { + "bytes": 12124, + "sha256": "c934e8b685a6864f1c930a39cad4134a20408fc998d8eff5b85d943604e6319c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/3_Zen mode_image.png": { + "bytes": 54429, + "sha256": "5609656488e51254eb7717531fdaa1648710befdebfdab3853d3b9f00d274af4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Evernote.html": { + "bytes": 1032, + "sha256": "ddf9193c054ecc4cde2df8d18f4aa827d6bb74da773f8bb180fa8dd56cb933ef" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown.html": { + "bytes": 2601, + "sha256": "e733c9aa8c42e81b8f1434cda63059563b07e9f185030546ce158153c9e0d9b5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown_markdown-export-n.gif": { + "bytes": 339943, + "sha256": "0265d26485df37d5a4beab38cd51bdc3e2debd893a40aac89a25ed6a34483d10" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown_markdown-export-s.gif": { + "bytes": 316851, + "sha256": "e85e6c6f8094054e6f40400fa92b148127995f26cea068f8bff04e9432874888" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown_markdown-file-imp.gif": { + "bytes": 731246, + "sha256": "b7f722229b642e68808235bc29a7e7894bab4e704d1c263e6d411b6ec6577a29" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/Markdown_markdown-inline-i.gif": { + "bytes": 204380, + "sha256": "00b8ea86c732740ac953beebaca9dbd9965d0f11a5ab94189aa1f6b43411a1bc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Import & Export/OneNote.html": { + "bytes": 4110, + "sha256": "c5798d42dcf263a15779ccd5122799159d90c26e48e52b87065bcb7a237ba3b6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html": { + "bytes": 5688, + "sha256": "bd57ae4905ada13049c55d2b4daad8ef890c86724d0dc9fa9da1d707c962a1b2" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Jump to Note_image.png": { + "bytes": 317, + "sha256": "1a1ac68603ba04f3cf1af74d4751a7e65d691e119ac9b03f4d170e1272d2197a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspaces_image.png": { + "bytes": 15195, + "sha256": "3fb9d50fa1e52d7895941f82659c0f405bff94357afbbf697778f0930b5646b6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks.html": { + "bytes": 445, + "sha256": "5ae9bd11d42f67399ce193c28a26f42dd6f11692a7c39fd6643a7bee6f82f48e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks_bookmark-folder.png": { + "bytes": 53200, + "sha256": "e0ee570bb503601cbe78c5821fea20bdbdae9674c709a65eace457edd7492aac" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Bookmarks_bookmarks.gif": { + "bytes": 312512, + "sha256": "d2e0982f84ecd05798edd91b5345d9535ce34d267016b9e862c489fa83960426" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note.html": { + "bytes": 1506, + "sha256": "1cd5e8e39e8c27d5c13736b534384ca02036f5a05f3b60969d7b2a2a70b9d275" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note_image.png": { + "bytes": 59744, + "sha256": "6ee7c8f150962edbba2ea2a6d00c578663a086f4b1cb3c066143be91642cb2cc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Jump to Note_recent-notes.gif": { + "bytes": 271649, + "sha256": "64424b1b5cec2d625c28fdc9629cc5773ff8a48b03069f6b6d05b8eb982bf06b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html": { + "bytes": 520, + "sha256": "70085dae977977df34cbfc88dec242d53a603f6215e04774ca6604fff7ec9550" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting_note-hoistin.gif": { + "bytes": 182151, + "sha256": "b0bb39b20df1f1172c9461d0bc4177218dd644d13f4ce9161dceef4e7e23a291" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation.html": { + "bytes": 780, + "sha256": "86d55b46ac649fddc30d078695844d0f4ef915856b5e0026c8e35f334f664230" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Navigation_image.png": { + "bytes": 36465, + "sha256": "0185c2c7cb1bb56e54389ea29fd2dbba4f088c69e461f3f9f3484b53a3cfb022" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search.html": { + "bytes": 1312, + "sha256": "7bc1ff404e609c1d63c25c25fc75ff902db9130d004e3f66edcb916a99dc1bd1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Quick search_image.png": { + "bytes": 20474, + "sha256": "005ec4154af5b77483ddecf542b506870d72c5089fe261e597967a6388fcbe0b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html": { + "bytes": 2191, + "sha256": "8e7d2c8c0b990856a04295875e5f94ad1d2641c45e37d5f040b055c658624756" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note_image.png": { + "bytes": 4776, + "sha256": "986c4695034832696d1833b7f5c122518a4cab95009c75d61fa334ccacd413e8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html": { + "bytes": 13144, + "sha256": "c81b6c38ee4c38e0a5f4fc17f95789585a6316e5263b43397d59e8df26e5bb37" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search_image.png": { + "bytes": 64806, + "sha256": "5d43e0a9473f9d8b409bee6654f9bdc9825350408816d20dcd229e3702f21b84" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes.html": { + "bytes": 739, + "sha256": "87f37e5be90fd5886493b5ff9be0c9c63c765b0e16bb5645f17ed6b12696ad54" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Similar Notes_image.png": { + "bytes": 54148, + "sha256": "612bdab3a75c7a17455a380093bc459879626ea21b3ee6388c0ccb0b61d803c1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Tree Concepts.html": { + "bytes": 1458, + "sha256": "2bf3f4f183c28917534093cb6c9b8bb8b1f9729a39b45dd14e85d1b2de10d42a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html": { + "bytes": 2750, + "sha256": "7be8c2b6c883eb5b79c39c5b01d51e1992346bac778d1e698e00f1af1b0b71d4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces_image.png": { + "bytes": 9219, + "sha256": "43705e04b54cbf9b7180fbc86945909dda3bc29f60c86c5c7456a31e49642459" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes.html": { + "bytes": 3078, + "sha256": "a59ff8f9f1800ccc17db6885d6c6585a61f01405d829fcdca930565168a104a6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/1_Export as PDF_image.png": { + "bytes": 150, + "sha256": "cd96d5db8212c98501afa490e12a558212f6c0abc4d9fdaf38f062fab67811fa" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/1_Note List_image.png": { + "bytes": 71636, + "sha256": "270adb0d1a5706ef0b998aae35ee230779bf0a43adcd32d027ddeaa130219239" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/2_Note List_image.png": { + "bytes": 27315, + "sha256": "1d8a5bda5ed561459b9df831b0ef501aad9b72fadb504e526982c07003e4da76" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes.html": { + "bytes": 627, + "sha256": "b69888ee2affc215e531a6496fcadaec833174ad8783cf0e4a56cd2e97e205c9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Archived Notes_hide-archiv.png": { + "bytes": 18462, + "sha256": "6440f02a2fa27a007926c908391efbf588ead728f9032b5f7fdc50ffdafac685" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Attachments.html": { + "bytes": 1916, + "sha256": "f554402b1c40ceceae257984473aa9be771b4f0058b24379727c069c44a2b2ef" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes.html": { + "bytes": 3738, + "sha256": "258609ccf8fd11634dd3ad042ecb4294848a95cffe71be5f7e99c1fb3724375d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.html": { + "bytes": 653, + "sha256": "fa367ecda7230f2577fe28693c61278063e6ad620a1ea710c98a895715dd6638" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Cloning Notes_create-clone.gif": { + "bytes": 375778, + "sha256": "5ae9fe0a9abb48af5004d90ec260fdabc1e8923773da21bccb53d71001d21f64" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF.html": { + "bytes": 2888, + "sha256": "192becd54f3265088ae6e646c58eed61f7e90be9b75ca6ca87e37c058e832123" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Export as PDF_image.png": { + "bytes": 89512, + "sha256": "f9506eb6e050873cbdaf78088fd0192c625ef02c8630a8eb5db33f99521cb9d9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons.html": { + "bytes": 599, + "sha256": "df3d9269cfb13dcd89a5c5df7d2be4d1c82040cebd50d4c0c628743570b2f87a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons_note-icon-chang.png": { + "bytes": 8634, + "sha256": "a71302aeb0d5f67e2222322e1357359fb21a6b2c62e02e5183f5a3ffd7259994" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Icons_note-icon-galle.png": { + "bytes": 28176, + "sha256": "9d5250bb539deacfacec8da4a99ce72c9177b66a38152d6be0973bb45e2f5bd7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html": { + "bytes": 2949, + "sha256": "dc65748030da012beba60469cc31fa3e90b6d6e1db45b427e9882f18e1444245" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/10_Calendar View_image.png": { + "bytes": 3581, + "sha256": "af62490782e454ec12462fdc44202fb47c9b090507d3edf673301663aa1defbe" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/11_Calendar View_image.png": { + "bytes": 2899, + "sha256": "66e45b7a63ceb5ac00544a3cf7ca7cd5a18661c759649189a559a314fdda78c0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/1_Calendar View_image.png": { + "bytes": 909, + "sha256": "abf71925b17c571ec25e28e45ef638eea0602c5bd0936a79c25acf29ddd0a80c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/2_Calendar View_image.png": { + "bytes": 14770, + "sha256": "65c1d435859543821fec4cebaea19b3884acb6bb9c0b1e4b8ff5b6303ad3972d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/3_Calendar View_image.png": { + "bytes": 11656, + "sha256": "cf4c77db0b0ed407b535ea3c80e84863d7a186e96a4289d256a1cee9dfaf25b6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/4_Calendar View_image.png": { + "bytes": 7780, + "sha256": "c81700c2bfaac01891ece18413e4c4827f896b469e0b3417635d548306142cb9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/5_Calendar View_image.png": { + "bytes": 1014, + "sha256": "6df125c3af6dbfa0c1f861e746cfea1f9e9da87aa6b75d2f7f7ed5c4b5049643" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/6_Calendar View_image.png": { + "bytes": 966, + "sha256": "6370308e504d41ae79ad7f4e1ec77d7e11f2210d2204b55cfaff4f724756ea5c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/7_Calendar View_image.png": { + "bytes": 4425, + "sha256": "1a7c9985a343ee49a37ef0b784d077776b386dca2a6a33f641dd798fd803da5f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/8_Calendar View_image.png": { + "bytes": 43560, + "sha256": "e59747172fa2532a5881d163658ecf70209cf8ab9c4caddf842d669242e64c47" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/9_Calendar View_image.png": { + "bytes": 3060, + "sha256": "b6227b31bea8a82eebe214b18cb6a54dfed5486bad96120808ae21fdad264bf7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/Calendar View.html": { + "bytes": 14476, + "sha256": "6e8113b4178ac5d131965325846e41b38b7b9dd218d2eff26191c7e5f01afb42" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List/Calendar View_image.png": { + "bytes": 968, + "sha256": "9d5233e7cceacf0acb322452155a48e83eacc457a486fe8fe8cebb5ad744afd1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List_image.png": { + "bytes": 12705, + "sha256": "87d732f7cb0baee42946e617dd8f7d336350c8a636c2c35eda508d641953ea15" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions.html": { + "bytes": 1293, + "sha256": "9916c6fc2dcad4aedeb931ccd827343c273f6b8b79e416e2138e3a2283bd7adf" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note Revisions_note-revisi.png": { + "bytes": 143455, + "sha256": "8339f1aa2d978abd27c0e3ba5dfd14bbe7e46e4e83a6901300c272bccec15677" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes.html": { + "bytes": 4399, + "sha256": "c6f725a1d5179266118136f6ac21602be9b5faceab5074f04476b04b30580d71" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Protected Notes_protecting.gif": { + "bytes": 733053, + "sha256": "d904fa94d98160e54f1cc4673ce17ad37257da327c029ac3d16ecee566068240" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes.html": { + "bytes": 3566, + "sha256": "7bc9ee542522359f2fe62ef702722615705f84a799040ff607d0bd39dde1520e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Read-Only Notes_image.png": { + "bytes": 210, + "sha256": "fa91d3177253d4ed3e21a15f1baad07324d9b3ea5a4150ceed966b1bb9345255" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Sorting Notes.html": { + "bytes": 2925, + "sha256": "1bc5d607ecff4d638983f825d10b13c289ea8c7c042b31f177dfa3a4680fe9ab" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes.html": { + "bytes": 6589, + "sha256": "ae7eab44d7e973300235ecccc72f65fc4fe49100990d598f5005bf407818476b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes/Theme Gallery.html": { + "bytes": 4217, + "sha256": "34c821b36de5fdbd5b012117e49e5968e12ddf96b7631f382c131976ded3a121" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes_dark-theme.png": { + "bytes": 80177, + "sha256": "65e2ba9ac7bc49160604bd21ecbec44742bce3ad7ae7f6fdfe6800f8f2f43a54" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes_image.png": { + "bytes": 63306, + "sha256": "a5f47e3adf3333f9df916563c78c4876c64bca347c0dbbaf2d5d96788c075dd9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Themes_steel-blue.png": { + "bytes": 87001, + "sha256": "77af4cda47fbc2985643b743ae5ccb0ceac8069cb5fb0e92beb2f6c0b8e3ea4c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Options_image.png": { + "bytes": 390, + "sha256": "009b0460c94e5e48f38d3130a879e4340d002bc4e052b7ad7711391a09d969db" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Recent Changes_image.png": { + "bytes": 47257, + "sha256": "12b9f487074aefb27e3e6dc1b68c54fa76f859e58c7f21a7af4f2508a8408865" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Tabs_image.png": { + "bytes": 227, + "sha256": "298e65226a7c111d671d204a869ec3cf1fa58c17c64679cb1d990f1b3e34979e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/1_Vertical and horizontal la.png": { + "bytes": 168, + "sha256": "68a519839c95f2b7d31239fafbe557ef1a217d31e836a7a2ea5ab3ad658d4c09" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Tabs_image.png": { + "bytes": 3733, + "sha256": "cc9a26e56e659d9de7a4aa29e848488306c447b3190532dce6eac4e27b6c0a92" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/2_Vertical and horizontal la.png": { + "bytes": 83400, + "sha256": "24bfb4f3a91e3ff9b3f57b8406a8cec0ec90d7331f4e238ad2d14344f4250891" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/3_Vertical and horizontal la.png": { + "bytes": 80500, + "sha256": "4978d21b16f1c14389d6964422744475193cea217dbad88fd50bc79df92c189b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/4_Vertical and horizontal la.png": { + "bytes": 333, + "sha256": "1570f01e792b0426074cc2ac334cff18c858eac50d4cc611d99def197f7823e5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/5_Vertical and horizontal la.png": { + "bytes": 175, + "sha256": "e5e3ce2ea00d913f3af8985a0686419995acd5ab60fc3e101bb1f8c97212a122" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons.html": { + "bytes": 1147, + "sha256": "7af91b73948c75e3a151801abe5bcc5801a289d1c5743f8bdfc04f284a657694" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Floating buttons_image.png": { + "bytes": 7482, + "sha256": "80173c8acd893e4109a9e4ad4adaab7c1d1bc0d96392b1ab2da89f2e1166c539" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu.html": { + "bytes": 402, + "sha256": "fa823efbfe42058a3d6d70ccc09d36b5f7e85f8215434798d5c91a3c9e97afe1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Global menu_image.png": { + "bytes": 13678, + "sha256": "b7380ba7709cfd0f1c854e1aa9ed76ce946168174fdcd349e665333e53f61d39" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html": { + "bytes": 4308, + "sha256": "eb932b9038026187a13721395f6c09c58a940bce96cbd6adb6a00f2033cd9d17" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar_image.png": { + "bytes": 5557, + "sha256": "30265bd5cd9072c427b1c10d8bf762049d7b06fd2f6b2e53b85543737b6d4864" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree.html": { + "bytes": 1750, + "sha256": "dcc46be0edf3fe81cd0f21a665ab16ae874588def4b2ef956e5ff14b31338b94" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/1_Note tree contextual menu_.png": { + "bytes": 69531, + "sha256": "223bc0df047b01b2f52560e959b0a507cced99a12ae3bf40cc32e63bec25d834" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.html": { + "bytes": 666, + "sha256": "2af48c116beb5ead21ef9c2d184e6c196f332afd9710972ac0090750a9070d13" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection_image.png": { + "bytes": 7464, + "sha256": "16fe58cea3fc887e42dcaa46ef0cba51dbb216131163fffa81986dabb4d57a32" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.html": { + "bytes": 9303, + "sha256": "d09605b562bec749dacd174f60a5e82ab09c888f222b11b309fb33138189f475" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu_.png": { + "bytes": 22780, + "sha256": "4385e30bf673ad07cae97579e2c8537c1353a574a3e30c2ea2d4262d51e4af0d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree_drag-and-drop.gif": { + "bytes": 120106, + "sha256": "664780a01ba3dbb370e50cd51b0e9ec581ff95c1a926a7cd96dd57162bf83966" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree_image.png": { + "bytes": 17135, + "sha256": "6133fd90349aaf6b013f34d533c471f35964997ede7981cd6e095f7a50ea1492" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree_move-note-with-k.gif": { + "bytes": 575164, + "sha256": "e203e87ee0177e7313899600b790638ce470e938552092e450f0ab23e641f75b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons.html": { + "bytes": 558, + "sha256": "b350c18a43fe3e8f0abf654f2b5e084acb389bf76d8dc1242dd74b2c03f1489a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note buttons_image.png": { + "bytes": 363, + "sha256": "0b052c5b549501d4beeb5d4ff5af7f8ddd81ece590057f651720ad51b67df841" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options.html": { + "bytes": 1620, + "sha256": "15f1573e659b553f9464cd1f4cacf825fb97423b0c69a7cea0c44be2894b7d0f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Options_image.png": { + "bytes": 30145, + "sha256": "5081ef044de8c6c397ac8e975c0bef40acb2f0d74617c989fa7f43a9ff00154d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes.html": { + "bytes": 1458, + "sha256": "3a157094e0f36435926dd6042c6de1c34e1f3efc3fb5d4601e15b2f5856e0153" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Recent Changes_image.png": { + "bytes": 927, + "sha256": "6ff9e341267e8bf41af806db565388a14303590f8dcfb040875719e06140edf3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html": { + "bytes": 5218, + "sha256": "3ee163b9fa296206fd078c36b7f106f8c5f528e1bf4e5c8da28f575bc618d82b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon_image.png": { + "bytes": 23293, + "sha256": "700e5a3502fb276bf74ccbbbbc7332b7cefd479bd86324ccee15ae7fe1309187" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.html": { + "bytes": 1161, + "sha256": "181c7cd37c2b83ee21925d27b80d6c6187ff53c106a8c20cabf4a2f8c465a208" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Right Sidebar_image.png": { + "bytes": 35237, + "sha256": "6f28cc2e668185948a5c4710649b711607cce7499cd4441d2a0ba6ec0bac27fc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View.html": { + "bytes": 2240, + "sha256": "f4961f27b7e161235ec4ffa71e020e5e1de85f7edee93bffb3dd3e83b7a95f7b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View_1_Split View_im.png": { + "bytes": 130, + "sha256": "9604a917aa8bfa643d3386a5438c9cb5e3cf6c5c0bdbc6cbf34ab8ae295d25f9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View_2_Split View_im.png": { + "bytes": 127031, + "sha256": "056fcb8f6437001f3969d86a26476fef103970471b9a36e747b2448ce4aeaff8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View_3_Split View_im.png": { + "bytes": 166, + "sha256": "60e646f6c23ae65ad74ffeb978aa18764e8b7013262e44590aba6334a7648c82" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View_4_Split View_im.png": { + "bytes": 130, + "sha256": "455b2826bcdec130684758b963dba878d5281c037e15ddab3a4c31b7a15b083e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Split View_Split View_imag.png": { + "bytes": 137, + "sha256": "ed421a0dc16d83c37648f9333b9e48a41846d55538bbce5aec42df7308275bec" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs.html": { + "bytes": 2196, + "sha256": "5aad06a9a951480076edb1a57926d7f2f179050b650e868289882450fdcaf52f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Tabs_image.png": { + "bytes": 139, + "sha256": "dc6e15998989d70fb80c5347579d0a16d7526e82eb64948d0343a18bbdbf3366" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal la.png": { + "bytes": 121, + "sha256": "b72891b7b5936924c0a73c0867f72c4d5a505015cbb995eb65889e1006a0e99c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.html": { + "bytes": 3053, + "sha256": "679ae8c35a471d11c8c423e7160a4dbd136e76b592f4f7edb8c83ef2a7e47ca9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Zoom.html": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode.html": { + "bytes": 2630, + "sha256": "d0fa8aaddf4eda7ff92ccd1c84343cf04575b6e801e9016c59a0e3cea9f72c19" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Zen mode_image.png": { + "bytes": 603, + "sha256": "a7eab6f2e91bc1e6db31f4bf8ca40e4c025ce8436de547994bbcd3aeb31c823e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/FAQ.html": { + "bytes": 4888, + "sha256": "e76bfd2023478999a0190ee94cd468bd7a709bcb715691deb3b99958c8aabdae" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Backup.html": { + "bytes": 2986, + "sha256": "99c25655ddf3f1a735f36f44ad6c1ac5f5ecc857474d53781cdfc37c5e6f0e27" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory.html": { + "bytes": 3428, + "sha256": "a4940cc7a6438ee7e7d2b402f1eec8515443a80052de9e26ad544784aacfa581" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Data directory_image.png": { + "bytes": 44505, + "sha256": "0b2920b691596abdb7a8843d976548644c9255306ac0d8f9998507db1159fb4c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Desktop Installation.html": { + "bytes": 1708, + "sha256": "4f29149e0ccf1c69cd5744220296527d133968c377be18d1ee275ac0e3f580aa" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend.html": { + "bytes": 1747, + "sha256": "627ea38b2d438b9233b981485b569c69a659880df3ab362f075c88cac23dc8f4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend_mobile-sma.png": { + "bytes": 29175, + "sha256": "f56af5a6195acffc1aa35acb9dda6ba3aff7d4a34c5b85bff15be058e2ee8039" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Mobile Frontend_mobile-tab.png": { + "bytes": 85997, + "sha256": "257e35758734f513955bcc4e9a419905a7a930d6c1a9b7aba0baab03d1bb8beb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation.html": { + "bytes": 4278, + "sha256": "0c517d7e8044e6f48f771044c230ae8fef026d2f567b7a9271efc0f1345c0e36" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.html": { + "bytes": 2693, + "sha256": "3792065910d39653a33a195a10b99e134a252939761c6da6eea9292fb5c87ad9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.html": { + "bytes": 1832, + "sha256": "fb901a8f7642eb0b315f360fc4857cc831a8acce5a7247494e8819be940c3fca" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.html": { + "bytes": 878, + "sha256": "09790a5893cd796ce1ef18e6586c7364b1d8224ad9530b6b9410e0fb02131c6a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.html": { + "bytes": 3336, + "sha256": "191e84ca80c0cd32a7189a5a2c55e47ac1409bb85504fd3c1e09ff4c18edd2d7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.html": { + "bytes": 11741, + "sha256": "22123facc62c35075fcae0cbd566de4e4e2b7f11f60ce89afeb248d4104b5151" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.html": { + "bytes": 2255, + "sha256": "03b7b5bf1b2402bbab4813a9122faefc9d0d73ef3bc7baab13cd0d42d21ed55d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache.html": { + "bytes": 3286, + "sha256": "54137d22892e25112f2df5382d7ef7a80e51f311cf49bed142601283643ef4df" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.html": { + "bytes": 3271, + "sha256": "f4343bb7d2bdba3862ee1224e27b5f6455a1a9a5771c51172ad5aea7e7316663" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Authentication.html": { + "bytes": 2107, + "sha256": "ac7022a7049102a10efe77055097d1d69f25e0487551f29517b1405413d935a7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/Multi-Factor Authentication.html": { + "bytes": 4193, + "sha256": "ce6eceae8409b8e0a2ee73cb433f60fc8d537a74e29bf936ef501ada94904c75" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Server Installation/TLS Configuration.html": { + "bytes": 2975, + "sha256": "f5f4dacb7fd5a350b9cab8aeba0ffda3d1c6b18c8dca3ad8d70368990dce5a0a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization.html": { + "bytes": 4950, + "sha256": "2356c276239c9c596da1f521ede9a21c5418289a078602e5deefa2a52b9ae62e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization_image.png": { + "bytes": 2976, + "sha256": "90320744787125cefaa466e04579be86d7d7d7b1378b89441189136df70f563d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization_sync-confi.png": { + "bytes": 42430, + "sha256": "1a48c0ce1f1b9cf1110f73310c0622d788f8e62590dd91d799135da37b4d717c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization_sync-in-pr.png": { + "bytes": 20077, + "sha256": "e437b073698d95aad5e76f6b353a144e57a1d7953d58aa3696f1ff2ca3b04ba4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Synchronization_sync-init.png": { + "bytes": 34703, + "sha256": "cca4ddbab3039ded38d4dbeabfafda8e43ba8e4b496bb01ca5ac59e3d88685e0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Upgrading TriliumNext.html": { + "bytes": 1512, + "sha256": "4c95d39f0672e5a86f264fba7f200a0a07437666114e0ed5dea9e87e930bd0d2" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html": { + "bytes": 2186, + "sha256": "24ab1067e3313e13374b123d291604c6bbe61cc6c643f48f4ca2e4451794d466" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper_image.png": { + "bytes": 7327, + "sha256": "fdb5caecd02cff352aef7162256a184fb482633dec7d7b0dab9e64ab881bd33f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types.html": { + "bytes": 5800, + "sha256": "cf22b297a4fdc80f412b949375dc2a7202d82172c167b0ad345d08ac76958781" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/10_Geo Map_image.png": { + "bytes": 110112, + "sha256": "1f9b36cd73844071bb8f1e331646c717156ddca90ba95dd8707d40e3ad947a37" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/11_Geo Map_image.png": { + "bytes": 605, + "sha256": "f8d0e920e3a362e88b44a614f840cec007ba765a3a239e1dabdf695e61b45906" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/12_Geo Map_image.png": { + "bytes": 22142, + "sha256": "fd3e6b60442eb689be8de1b6fcaf8a2916a71acfe92882214ad9a08796fa48d4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/13_Geo Map_image.png": { + "bytes": 69840, + "sha256": "d8248a20bb2b6ce5097ad7a77e19035d2774e28770dee23084694f8d18749862" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/14_Geo Map_image.png": { + "bytes": 31352, + "sha256": "2c4c96a1819641510e441e113439514369707dfccb2c0362cf15617ae5b39a6a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/15_Geo Map_image.png": { + "bytes": 5539, + "sha256": "053577f1cc1d4c2bdc03876b9edfae3e3eb71480a386de801e1a3a2887c923f7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/16_Geo Map_image.png": { + "bytes": 255164, + "sha256": "1345fbf6f0f22789ffda11570568287c20bc1ab04197cd21949192c6e369db08" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/17_Geo Map_image.png": { + "bytes": 179, + "sha256": "8abc011dd08ae007b1515ae0a4ccf759cd6545f8bd7071e9643720074157fc53" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/18_Geo Map_image.png": { + "bytes": 14872, + "sha256": "f693445ab4e16c065ae8409fd3f7b543def1528ed7d810c0ba797ae86e342e13" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Code_image.png": { + "bytes": 13946, + "sha256": "bad3a4b44b609c5505c70ed976aa0cea13615d2f119278d043837d7f1918065a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_File_image.png": { + "bytes": 667908, + "sha256": "c2e2c9852603c8a05dd9920c9b740beaaaaaa5d0989e292d981cd5e6c5ab688d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Geo Map_image.png": { + "bytes": 144127, + "sha256": "4ed40e24def3a95a526e1da661bac7a2ebf7fe7a5b55042fc1c7c2aaf6bd162f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Mermaid Diagrams_image.png": { + "bytes": 548, + "sha256": "ceb12a542f77e1543181d79b354ed6475dbec53393788fdfdeb1968cca91af1f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Relation Map_relation-map-.gif": { + "bytes": 1363960, + "sha256": "ddd98379b962b976c848b0043f17ee4e4520baecc7e37f08a9ee98669fa9aff5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Relation Map_relation-map-.png": { + "bytes": 66092, + "sha256": "1131a01c931185ecdb9c5e84a95c8ba7766b5d122adf0a44a7e14417708c2e68" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/1_Text_image.png": { + "bytes": 3203, + "sha256": "4725422cecdbdc3e7989449a7e4a8cab6ecabeb8f45545614b6baa49d92a5956" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/2_File_image.png": { + "bytes": 15358, + "sha256": "4ea77f56a85f3acb582538a8beaf84f6013c6f2c74c2ce554d7b477a2afee79f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/2_Geo Map_image.png": { + "bytes": 215454, + "sha256": "90924c8a4fd72953bcaa5da03da8f479b1fc76f797fe82dc0cb1e2a6a25b29cd" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/2_Mermaid Diagrams_image.png": { + "bytes": 21876, + "sha256": "85784afaaf19fee5e75c2f63a800dd0107cf9312575f7aa454d97cbdbb67bd13" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/2_Text_image.png": { + "bytes": 6726, + "sha256": "13c5b300eb0de6779113d2ad96bf4df39e289371b4f53341e9770e02789a7b4e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/3_File_image.png": { + "bytes": 19493, + "sha256": "ba1f353ada46606aa40bf81823b4d3d973951d75a685cab8cb27c3847709b49b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/3_Geo Map_image.png": { + "bytes": 1826, + "sha256": "925d335f4dd16a25cd4be11d3e39e7413a182b491346ec8fc3fecbf270b6339c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/4_File_image.png": { + "bytes": 626267, + "sha256": "52417923810e16dce1d144a40053e6023eb3135132d17af4fda90026d1a9aba1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/4_Geo Map_image.png": { + "bytes": 3595, + "sha256": "746a86ed324aa4201ff931c376eccb6d012ffd2b36f3de605e27e683fce1b909" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/5_File_image.png": { + "bytes": 10313, + "sha256": "c02eac9772b36ac9aa676c510092e214578f24643a5ace10efc6d832724abe01" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/5_Geo Map_image.png": { + "bytes": 9782, + "sha256": "d3cd18ae90e0e22f417efc8ea0797d27b4ca606649909becf2c7f6c86985c830" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/6_File_image.png": { + "bytes": 15385, + "sha256": "bf8e28c94a5c1f55b9a84a9ad23e8439b28f41db86c57c13f3630ed22950e9c0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/6_Geo Map_image.png": { + "bytes": 62961, + "sha256": "3df7a4536dc0d5d0e825a593359b23fc0353034a7176b1f79f24ac0795b3de23" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/7_Geo Map_image.png": { + "bytes": 124923, + "sha256": "ec78a53a1650c7fd8a78dcff1241e0886d33b159a9c58ff02a14eb6f0d43196b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/8_Geo Map_image.png": { + "bytes": 8710, + "sha256": "49f78be36a36204f16d40548b06543e15cffaa23bc3823b78c0afa632c41b642" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/9_Geo Map_image.png": { + "bytes": 346545, + "sha256": "0d9793b91e3b7b49c92bdde15660ff1cb95e036a30c88fd894fc72f791274041" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Book.html": { + "bytes": 1142, + "sha256": "f06abf69a5df6e10bc3f37d9e9dfba6f8ba160b0cdb41692463225a252012fa0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Book_image.png": { + "bytes": 114868, + "sha256": "e92bddb0540b64857fcf6f04ea99223b7c91be3a1bb74bd5bee63edb8150d7dc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html": { + "bytes": 277, + "sha256": "629ef64373a7eb18569ee298fa10813fe3bcf74890bebf1b787cb2408fef913d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Canvas_image.png": { + "bytes": 432762, + "sha256": "86930d40cc17b7c30806535fa36fc69a110c6839436679923ef1b47c97510c03" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Code.html": { + "bytes": 2979, + "sha256": "34789cc776c1eb11a60501b1ca4005cf072eaa23ac2e65ef2e4be1edeb833aec" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Code_image.png": { + "bytes": 100940, + "sha256": "d2fe4c6337df2c03cce62d98960943124583779a397a750521ef09612b654200" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/File.html": { + "bytes": 6775, + "sha256": "968c6522b85a85ef48f10ddfa0af7b9bedefcd0ccc7447c2b893736fee9c1695" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/File_image.png": { + "bytes": 90313, + "sha256": "786eb1d3a5ab1267caa89c95dc8c903fe7517bafab1a9624fbadee79cff65378" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Geo Map.html": { + "bytes": 12467, + "sha256": "eaf99992d37fcbffbc6c433ae612295a73a26f6845ccdff7a9ca944055b6c0d9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Geo Map_image.jpg": { + "bytes": 17977, + "sha256": "b0314c1a692ae9e44b708101981888c27db26da88e83d6fc6b84cc3c0b2a1e27" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Geo Map_image.png": { + "bytes": 33276, + "sha256": "e97fc3a19c4520dbd876ef30818f62c5bc96b6f725770bef4e54bd5779a034d2" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html": { + "bytes": 3738, + "sha256": "c9bd93cc7c443f38942473fde70152800513987753421e6a99cfce6f4ef71c45" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout.html": { + "bytes": 744, + "sha256": "2c9f7b3675254e648b780b5ce6ad8d1553658cd7911ee7faf7147182c4cd6e50" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout_ELK off.svg": { + "bytes": 15179, + "sha256": "48628cc54ee53fe3f133ae77fb35da37fc385a78e1acec42269f3d30a6edb6ca" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams/ELK layout_ELK on.svg": { + "bytes": 19590, + "sha256": "705344872d7ecbc8381f73c8e9b8952fa1907b9663be5db22ced75e58e194345" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams_image.png": { + "bytes": 138, + "sha256": "82bfdd23edd53e3e67eeeda03408e930e8cc39a4d9063a86ecce4f18dcde074d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mind Map.html": { + "bytes": 2134, + "sha256": "88abdde4e7266fcf862ca2ec12dcfb1890a0d542e1d9ef410643325a898cbf5a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Mind Map_image.png": { + "bytes": 60503, + "sha256": "3e9665e34bc8bb81bc5b2813eb80548540c577ca6cccba9c09ccbdb2635209f6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html": { + "bytes": 544, + "sha256": "af780cea4722c23f02ec2e01a87835637c74b2875e84b81a6c388c6d1d2bf3ee" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png": { + "bytes": 56252, + "sha256": "91862802edf1f1c197a4c09d1b47f6234966cf8142bc9b3a600a4d7410a3cd62" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html": { + "bytes": 3771, + "sha256": "6879c6f9ab24a2b588148a7ee0f7a109266f89c2be3b46bce4061ee194b39970" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Relation Map_relation-map-.gif": { + "bytes": 1465132, + "sha256": "4c4d6d5006cfee78725786aaa884c55b34616f12ea7648206bf7bc371e0d4402" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Relation Map_relation-map-.png": { + "bytes": 70408, + "sha256": "e1900f5eb432cc90a4f159ecf04e960fc180beb35403084a641c68d0e15d22d1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html": { + "bytes": 2493, + "sha256": "4b9d78b6cd4e1bd197cbcfa397d8f7a4f74cec7770c9f8fa0ae89bbc99b31fdc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Render Note_image.png": { + "bytes": 19737, + "sha256": "cd5de416c8dac52ad2736e87832ef7ecd9f03204a381e2eb3cfe12333f86760f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html": { + "bytes": 799, + "sha256": "11df67937f0b934f6367bdfa691f5a6a35c101b65c35451c4062b89f967e6264" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Saved Search_saved-search.gif": { + "bytes": 266186, + "sha256": "106aaabcf7da7f93f7c5c3337e8eab868ff397f84f7694b7ca97288603caf9c1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text.html": { + "bytes": 5664, + "sha256": "84c384acfacbea31814bf9ec3b42eaf81ad9cba6ee775dc69b17e7dd1d47f300" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/10_Images_image.png": { + "bytes": 192, + "sha256": "1e7c0c8bab85177a286646127ca5ddb81ec950be9f600e684d65d43006fb30a1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/10_Lists_image.png": { + "bytes": 160, + "sha256": "bf39f79e6801fe4ebab94ef246d4f87b5b1f8d0ff68f3904c17717e993a33530" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/10_Tables_image.png": { + "bytes": 871, + "sha256": "ca8cfc24b0469e5aaf6fc4e2ac7fbb721ad39456d6b2969470fdab2c1a52cf4e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/11_Tables_image.png": { + "bytes": 249, + "sha256": "8ef40aa1a8cb992b7c993a4d8e79f9b7eafc0a3a7e06e0a5a2d0a0458e919d8f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/12_Tables_image.png": { + "bytes": 219, + "sha256": "b3205b6a09d636fd067c120424008dbb8446734b23b0e9e45beffc6b3b7dbae6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Block quotes & admonitions.png": { + "bytes": 5046, + "sha256": "d9802e822f2998b6ffea0c8c1102ae3899bd14c5d97c1590585039bfdea703f2" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Bookmarks_plus.png": { + "bytes": 703, + "sha256": "170b365ae57969187012d8e88401dec5717d14c8db78d9f1ee1aacec5fe80a44" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Developer-specific formatt.png": { + "bytes": 245, + "sha256": "8fd78298f03e28634a8388b552a9d62bf7e81e5cf4e376c5b8746cefa2e2e554" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Footnotes_image.png": { + "bytes": 5128, + "sha256": "0a1e1dca832cdba4b65e53e22a9d5451d0b66491b65aed672fe23adfffaaad0d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Formatting toolbar_image.png": { + "bytes": 2671, + "sha256": "3175813cf9e92f9fbaf1c60cbd5c4665e4bd27a5c8b8b199a8a9978234bfa550" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_General formatting_image.png": { + "bytes": 217, + "sha256": "7993fa11e5f47a18c4867c39cdf1bdafe1e9b6c62009701e9f4dd19ac96b0981" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Images_image.png": { + "bytes": 16161, + "sha256": "5c0fd05bad6c01a270469fa181361644a628a2dbf172fff50dacbbbeb4f0668f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Insert buttons_image.png": { + "bytes": 24706, + "sha256": "131adebc51f36e86ee1307d4c40cc43182f9f6de35fdb3fb97111d33079b78a7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Insert buttons_plus.png": { + "bytes": 17210, + "sha256": "ea94e861e3078bf6d7071e1078c3e5fdb695591ca2a05f8191d7330f7584f08f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Links_image.png": { + "bytes": 397, + "sha256": "076b94710f51c2841209e9f5e249cdcffbee901340a2249dce343510bcda1222" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Lists_image.png": { + "bytes": 8755, + "sha256": "2f8d230205234b1ffddfeda00354a9d002eb91cd0387cdda24db2319e4cf0719" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Math Equations_image.png": { + "bytes": 244, + "sha256": "dc0c60088d8538c1e261aa9926ff4d0515fa5a2114a70fc74c7890fcbd4c6a01" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Other features_image.png": { + "bytes": 161, + "sha256": "ce5911f120e5c4f1ef6989c896e8693d6741a9196b1184d747a381c47392c533" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/1_Tables_image.png": { + "bytes": 183, + "sha256": "11df764a3d52f7f7ea5d1794d23c905e590005c0d03e13fa8f6651b542ff0b5b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Block quotes & admonitions.png": { + "bytes": 20555, + "sha256": "ffe1fae252c8442c0ea8a3aac3b35fe7ac2db313e988922d7dce51e199c6bbcf" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Developer-specific formatt.png": { + "bytes": 217, + "sha256": "7993fa11e5f47a18c4867c39cdf1bdafe1e9b6c62009701e9f4dd19ac96b0981" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Formatting toolbar_image.png": { + "bytes": 18174, + "sha256": "50002a62fdf4f0b950b5c8b962c3f99e98aa309a638562b42516d1eea10e27cb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_General formatting_image.png": { + "bytes": 4053, + "sha256": "e34f89da786c825b9bc243ce732e1731d48ec96c5527f3271a9d456e9d641011" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Images_image.png": { + "bytes": 20936, + "sha256": "3a1ae3fad7a7fa6e9d648f4aed0de9f4db58f08319597a191c5115b3d59cd75d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Insert buttons_image.png": { + "bytes": 235, + "sha256": "588f45314f3d3ae92fd66bfd1dd25cef385ff56fc787a34ad49357fb7ac45f9e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Links_image.png": { + "bytes": 363, + "sha256": "37828ead889384532edffc61db15d0707b428207946e549c77478a7e2e75ccb0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Lists_image.png": { + "bytes": 158, + "sha256": "a1baaacdefa5402eb8aac559058631ae566a4657506894acd9c883fc6a2784c4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Other features_image.png": { + "bytes": 215, + "sha256": "76ba6b08bac5b16031455b044edccb2b69107cf6c4b2536df4519203c13e853f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/2_Tables_image.png": { + "bytes": 11823, + "sha256": "bbe567cbc0a05455604c5a2cd1ef4cad05634bd77bae8b278b14f0f44e93ecb4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Developer-specific formatt.png": { + "bytes": 190, + "sha256": "2932d64d200787ad58ace1c1ef765877742e8d6b97062848a6acdcda64ee923f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Formatting toolbar_image.png": { + "bytes": 10342, + "sha256": "954e823e0d3c22e3703101c66d353b6ce91737f85566b50e1c2cd06b43975b28" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_General formatting_image.png": { + "bytes": 8165, + "sha256": "b9da16aed9f7a4e064fb05db4a374858777f69d975999d519c69c156239b39f6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Images_image.png": { + "bytes": 22410, + "sha256": "1263182feb8854ae15ca4c652772e4d56b302fd55659230d9b9f33f72b6f4250" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Insert buttons_image.png": { + "bytes": 898, + "sha256": "a3ef1bfe6ac387b2bcd94e791195473b109f9184c6b1e5c17415fe3d29b9bb33" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Links_image.png": { + "bytes": 695, + "sha256": "9d8d8d26ecdec231841aff99350b52ce9fcb2bab98b36aef4a375cc19a1cbf9b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Lists_image.png": { + "bytes": 9254, + "sha256": "f73af7ae1951300519a79d3cf35c3f2d8b8a55c0b42aefcadb3e8079d5d0c55f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Other features_image.png": { + "bytes": 244, + "sha256": "4b832cf33294ed94714d346d5f4ef7b8833be06e4f32ff6b6c10a7289209afcc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/3_Tables_image.png": { + "bytes": 13501, + "sha256": "e6c6b55b7b1801d686fc95b9a0aa29cd7825e004e1fec368c1e7179ad3bdbf3f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Developer-specific formatt.png": { + "bytes": 30176, + "sha256": "4ac9c3e4fc50b6be3d40133e6befa1db2b0332e6e429b81910e5d69129ea214d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_General formatting_image.png": { + "bytes": 1449, + "sha256": "fcd0937251e2ce8d4ec24c67a051894251921264b88d173b418187e8181c5893" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Images_image.png": { + "bytes": 258, + "sha256": "42f3586fdc7652f26e252247bb94fd78ba85ea4553def2e9f67852f2d2df7482" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Insert buttons_image.png": { + "bytes": 178, + "sha256": "ddb6a6bb44884fa1968536eda62c29fd905b337acccbfa17f87b237fcf2a186c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Lists_image.png": { + "bytes": 3976, + "sha256": "d4162ec1e2bed8c9246cc0dc7cc232cc2975797fda37f0bcbbe71e5107df0671" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Other features_image.png": { + "bytes": 7414, + "sha256": "8df99a953c0aedbb6ff2d770124f8ca0508c8341b6144022daeaa11b3316621c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/4_Tables_image.png": { + "bytes": 153, + "sha256": "8a4e51672254163bbbe95f254e3484653dd0c8fa8d0a37057bd789bf31e8aa85" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Developer-specific formatt.png": { + "bytes": 20676, + "sha256": "3e2852afff967ff9c5bc60bf69da92cf99c22f9681983f0994f53ca8c595e9d7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Images_image.png": { + "bytes": 193, + "sha256": "f2e97dfd5c9c3d26d47dc36ed5be15cb24ed27b966237e4dfdabd9f0d50f87b3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Insert buttons_image.png": { + "bytes": 112, + "sha256": "e6ae60716cfabc895176f7225e51d552efa97a8880cce8041a12f725f6bd4b31" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Lists_image.png": { + "bytes": 3936, + "sha256": "70a68cebdbb63bc46f7c1614b883e1a2bd7457cf8d0cb681ee6e2f0e99c73669" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Other features_image.png": { + "bytes": 158, + "sha256": "a1baaacdefa5402eb8aac559058631ae566a4657506894acd9c883fc6a2784c4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/5_Tables_image.png": { + "bytes": 166, + "sha256": "5e42281a2405fc652b8801c554f9b4b1d0b002ea0913fc18a1006ed6f3e14a78" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Developer-specific formatt.png": { + "bytes": 211, + "sha256": "8236d73bfbe8b1052a553fc960e355df1645621373bc31fe8cca2fadf26e3e03" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Images_image.png": { + "bytes": 7760, + "sha256": "82f6b7bd9abdbb820f38689e14ccaa4a559b45cc547ad75ccbf6bcc079432e28" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Insert buttons_image.png": { + "bytes": 9085, + "sha256": "4243d1ba110e03e5da79adc7403406a9732bd1406bfeb94e2a53744e2b70358e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Lists_image.png": { + "bytes": 3694, + "sha256": "15da7c3f94615094bf70951157c28d1a0569aac3f68cb888e21240babd4d46d1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Other features_image.png": { + "bytes": 1949, + "sha256": "82b2e5e0fdadfa1d94dd6322c040ac69ae21483c70207060b00d1bbf6735c256" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/6_Tables_image.png": { + "bytes": 1615, + "sha256": "a888294839884b400550f26370160542d20d924eff7fe82353b1fdd59cc0af16" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/7_Images_image.png": { + "bytes": 26916, + "sha256": "ff259c68fc7e4fbbafececec30d618d3684c32cb623ab408eec62879080ff0e6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/7_Insert buttons_image.png": { + "bytes": 220, + "sha256": "510952cc8f6d7fbd45629d693aff63ddb47e5211c7b1b731a15963b6612ed376" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/7_Lists_image.png": { + "bytes": 154, + "sha256": "f8f9c8a3f1b5bf0957e53541d6e00a7e746de8da23a49e5f19381061ba567e9a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/7_Tables_image.png": { + "bytes": 165, + "sha256": "fdd60f27edbaedccdbf04ccfeb668df01f5900aea6bcb25c03d38e38ad2ac77d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/8_Images_image.png": { + "bytes": 70118, + "sha256": "cf911e6ff14ef99dead4a755c39f15b3c820b8cb01e3a987ae6d6cc56b23a20e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/8_Insert buttons_image.png": { + "bytes": 878, + "sha256": "a92b5f3abef35b151c3e1841b7b942226e3070a330eacddadb2ed8c8177b00cc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/8_Lists_image.png": { + "bytes": 172, + "sha256": "6b1387ad1f12eec35773562efee179aafd0e50a63769991796e64a3821e990c8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/8_Tables_image.png": { + "bytes": 249, + "sha256": "8ef40aa1a8cb992b7c993a4d8e79f9b7eafc0a3a7e06e0a5a2d0a0458e919d8f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/9_Images_image.png": { + "bytes": 994, + "sha256": "048bd74e4b558efa3430b38f4f03faea21d19e04089aeebf7e1ce6639471fb8f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/9_Lists_image.png": { + "bytes": 147, + "sha256": "dbca17d11e8bc387d136a71e58eb16496fc26ad10324a23a775924e742a39e9e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/9_Tables_image.png": { + "bytes": 1443, + "sha256": "f1681d3ff5469e25e0e94e1b991c02f3fe0bc0a353a8e8e62cfdf87d38c1f0dc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.html": { + "bytes": 3400, + "sha256": "e22c6a358d83f5ae77d599d42e71c2093bd68ae92687467850952f942e914fc5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Block quotes & admonitions.png": { + "bytes": 178, + "sha256": "60537544fbeaae667fd2522a2d5a86080da9cca265b964883e78fa7d3503b44e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Bookmarks.html": { + "bytes": 1235, + "sha256": "64db122dc5656e4b1605c5c12b0a59da2adf333a0d693da3fb00c536bef32303" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Bookmarks_plus.png": { + "bytes": 636, + "sha256": "c4208b323093c9ee16230a53d78424e09a3b1a569181367a36fd641f1b3dd659" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-t.png": { + "bytes": 91800, + "sha256": "79fd1d0c795b0ee4a4590d2b21a49a4930a11fad8592d763907c5c0baa8a4ffc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Content language & Right-to-le.html": { + "bytes": 748, + "sha256": "0b1167ef1d273d69157ef64c57bcb8a763e67327e31acdd6549507429e4afb91" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Cut to subnote.html": { + "bytes": 871, + "sha256": "1f067366b6efb41b5a7a7c8868fd8f9aa0d561f714d77b3318581d3933af4aec" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Cut to subnote_cut-to-subn.gif": { + "bytes": 148534, + "sha256": "fcfd3540cefc8ab1d612d8707d3feebc3f1f38a7adc66d47ada8504bd1ed0a2a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatt.png": { + "bytes": 3782, + "sha256": "e51ed743671308c0024045b532691a96bdbcee0dec0c4b51f8ab01b32c25d340" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting.html": { + "bytes": 1963, + "sha256": "42886e6a712f73bb4996dc981db698d327c223a38945008cdf370780e9fe3c38" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/1_Code blocks_image.png": { + "bytes": 30176, + "sha256": "4ac9c3e4fc50b6be3d40133e6befa1db2b0332e6e429b81910e5d69129ea214d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/2_Code blocks_image.png": { + "bytes": 4416, + "sha256": "28d0968bffab8e89ac7f8c0065ef207fdf36c1b0a0b4788010557cb714cfe53c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks.html": { + "bytes": 5172, + "sha256": "32ee88d7ea82f29f3a014f4c1de5f858a4d185626965b427e9f5efb35ce813dc" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Developer-specific formatting/Code blocks_image.png": { + "bytes": 294, + "sha256": "48410cab1fb6aa9d0497cb70b6235922b969232755c8508d0f8ac92208760c26" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes.html": { + "bytes": 1046, + "sha256": "977368db4d49dced19ef0147a4efa0883055b159ba04f3a8b48ca68028ecc3fd" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Footnotes_image.png": { + "bytes": 248, + "sha256": "7bde998d18ab4c170c92b1eb0352de17f6c66ec9e960543ca9a3685802ae0de6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar.html": { + "bytes": 1901, + "sha256": "be91bc399dbb23cba84cef3ae55a0ae41c18fc524b32449bec7df218d0b57875" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Formatting toolbar_image.png": { + "bytes": 9111, + "sha256": "1b761e363205d9b8cc2fbc6bfd8655de9911380275717458fe8f03c605149049" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting.html": { + "bytes": 4793, + "sha256": "36f2d9fef7937340b5a78af5acd22e95cdfcb0cba1033361f3a5747e14b0f89f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/General formatting_image.png": { + "bytes": 9077, + "sha256": "cfac143877f14f63f3e39b3f7f72d3e82d3dbb687e031817b811b22161df5318" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list.html": { + "bytes": 1688, + "sha256": "c20b62f29910199bad6908054b35cfb909623dcf56163f01ee56f1bb9f82df0d" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Highlights list_image.png": { + "bytes": 4316, + "sha256": "26acf333e55ef5e6d98016bd0e88c80a50d5ce1fd43742bd80d010ee358119ad" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Images.html": { + "bytes": 3872, + "sha256": "25843f3144876527ab6eccf75bec1949413a197af98b06ff449b4692ab6963e7" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/1_Image references_image.png": { + "bytes": 192, + "sha256": "5469a1fa9a4280d7ee0205741adb4287d4b5f5196cf5e36c1cf348b9cf0be518" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references.html": { + "bytes": 1556, + "sha256": "11abc6066e5bdaca59fdb9d446408c8129a7d2888d81fb3bb32a158aa35f92eb" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Images/Image references_image.png": { + "bytes": 17004, + "sha256": "85a01d9a0edc65b06028d039af967831b00b47b0f83a76219e59674fe97c1c40" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Images_image.png": { + "bytes": 188, + "sha256": "5c9caaa357e1755a831cd038b21177268029c62d34f1b85cb02d3857a698e7ac" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html": { + "bytes": 486, + "sha256": "e2892ec874209215d3d9f8ddb0103ccb8b1e9eef8bc92b6a7448444b21347ad3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note_image.png": { + "bytes": 182, + "sha256": "98d8353cba8de35b927708e3c56eab0b94d6656dc93fb249c43b1987ba827001" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons.html": { + "bytes": 4267, + "sha256": "1ee321af9ce74d4bb60c87b132242d11a55c6654cd9632c56ab8ff38417bd099" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons_image.png": { + "bytes": 183, + "sha256": "584f2a04c761c2a0f77d7e7c94f1340842a453ba3929ac775519e824d2014776" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Insert buttons_plus.png": { + "bytes": 58026, + "sha256": "fe7230d038303a0d2f87c73853e70629281032c1b51eecd32194fd7676aeff44" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Keyboard shortcuts.html": { + "bytes": 11460, + "sha256": "4831c989fcdf70b82934c2e5bf9e0aa7c0e3e5d98aaa6414cdd1774ce29ab521" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Links.html": { + "bytes": 4610, + "sha256": "dc5abedeec6c0667b0dd4dac9ddedd5aa84d5d1cdbbc572475eeed3c56c4433f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Links_image.png": { + "bytes": 594, + "sha256": "ce80b87a19f1471a8af7b0f8e27cf812b5b9e224bd9e2be2fd781bb2cc99be68" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists.html": { + "bytes": 3720, + "sha256": "a1c887385b6e16b34f2e0e3a728abf080dab379267189f11313a371682658014" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Lists_image.png": { + "bytes": 9232, + "sha256": "052aa29f6c22a80ccb534bdc922e278fdfb62c6aa0cb33c8dfae24202ccd787e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Markdown-like formatting.html": { + "bytes": 2879, + "sha256": "4bb8575acfde97fd79f452d43760a72bd23d108d73a08c3d9ca2c79e648c6cd3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations.html": { + "bytes": 2180, + "sha256": "170bae4f8349226752a4f6d30f4b1b664a3740b00bc47b946c5f3e07c03cd96f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Math Equations_image.png": { + "bytes": 7331, + "sha256": "10e003c9c1a7f3b75c2cd8d54a393eaff3d0525b139a77de916b1aa8cede7e8b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features.html": { + "bytes": 2891, + "sha256": "5351b7de556a722733322b5609de7ecf96099a6f2d6e74dedbaa7b557adc8803" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Other features_image.png": { + "bytes": 247, + "sha256": "0cb6017b51415d1199d69058b735d99301a2806cbd3cb84615ff0346e09973ce" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents.html": { + "bytes": 1633, + "sha256": "97bb42f4e9fa7d09c8586a22178c61f1024e4618ec56bad46884af0238731ef3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Table of contents_image.png": { + "bytes": 2384, + "sha256": "6f611f0ad0dd3387aec7b4a9d7e2c7ba3d63f7617bf362e43a4dd097dddab85a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables.html": { + "bytes": 7037, + "sha256": "361e8e195e1408b9bcfb61156bfe60be083ae2c6383b7c0707b13f80b81e50f5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text/Tables_image.png": { + "bytes": 181, + "sha256": "0370446629147a8dac44ba4887186fa47e6b44390b7dbfa813bd29b76386ee80" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Text_image.png": { + "bytes": 6013, + "sha256": "b3791559496c33339c37e9306e8d46db32c0f2ed68bdac3f7fa0898b5a564e5c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types/Web View.html": { + "bytes": 1789, + "sha256": "9ae13ea74acb818dd0029401c6b1a3802d23ded25f3cee08db528c4fe4921c13" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Note Types_image.png": { + "bytes": 25111, + "sha256": "503dabd5fdeec942c36fb1044d14e475971a9faf51dc33e606b151c40392c1b1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Quick Start.html": { + "bytes": 1390, + "sha256": "3a6f57d14c7d613acfb5e2248f395872395fe0f95d60249a39090877423a9b8e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting.html": { + "bytes": 2967, + "sha256": "acee19730469f97e90a02e832f499b7193e3d33df059a7c433349bde74708286" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets.html": { + "bytes": 381, + "sha256": "4a23cbdfe66d18fb865e4df949cef6275d4ae4d73469b24dab2e247d00f19af8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html": { + "bytes": 4001, + "sha256": "b1a92df6758e693d7582ead4f0d9308582f2bf3d653d0524e76e879b43e375a6" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html": { + "bytes": 3129, + "sha256": "dc2786615f94c6c2772c5426ba54d992036ba7167b338e1abfed138c83499846" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget_image.png": { + "bytes": 38163, + "sha256": "9304faaf163adfa3a6e70375402da5ed9f1f387208c45a4c88afd08e4dfa61c0" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Events.html": { + "bytes": 4683, + "sha256": "1bc83e256c2f651c883d146ca92b3d8bf240b98b55973f2995068c0d90c3cb70" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Examples/Downloading responses from Goo.html": { + "bytes": 1985, + "sha256": "ee39b1b2e1788c9ed0891bb78c7c9d0ce21be5e1040622f1c4c1cb34a131ec1c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button.html": { + "bytes": 5149, + "sha256": "009e9b12ad441c07c390f8e1d4de6ad86fa91782190578346c442498d1c483e1" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Examples/New Task launcher button_i.png": { + "bytes": 222, + "sha256": "f1fb2105750e57a1306c2286abd1df1acd49d9055968ee75a26f709c960a37ad" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Examples/Using promoted attributes .png": { + "bytes": 4289, + "sha256": "15f0a6a37f9f214412e3e4d55443c56d90d036724a3a0390b38e02dad2882245" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Examples/Using promoted attributes to c.html": { + "bytes": 2346, + "sha256": "dc82a81aff8a2ed9c8a76c74b4aaf6e356bec5bbcd1beaaba6ec34cee1de6a3e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html": { + "bytes": 4785, + "sha256": "14465933c0a59af628cf000ac5b68fecc41c7a6f5f3ca8a9ea92b8d75d92a88c" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Script API.html": { + "bytes": 924, + "sha256": "1bf201ff536ecc6d424c65f3cff0724ee55554a992680a16f528f123f90ae20f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Script API/Backend API.dat": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.dat": { + "bytes": 0, + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/1_Custom app-wide CSS_image.png": { + "bytes": 4020, + "sha256": "d8d90cefc1a626fa0fd3b75d46c3d84ac4b6dc31a7df54db6748c3870348b6df" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/2_Custom app-wide CSS_image.png": { + "bytes": 5705, + "sha256": "2a18a6e9509cc1d2d095b87410a1007af85c2c9183da344236029195901cb1b3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme.html": { + "bytes": 2364, + "sha256": "771df610a9140808c230c617cdaa788e64bd5aad9f4de392475e74db7a1571b8" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_1_.png": { + "bytes": 17064, + "sha256": "cd4bed29e00b7863b1f5251ee8e9246ff56465b43e309da9a1668912506bf6c9" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_2_.png": { + "bytes": 40848, + "sha256": "2fcfbdc0ebae5dec83923d8178040b84e36118157685eb6c19d866b200241bc4" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_3_.png": { + "bytes": 19656, + "sha256": "de11e09a021357aa2413fddcd6cd94ff7292710c45dec19903a32558d091956a" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_4_.png": { + "bytes": 48699, + "sha256": "ddd4af028823196dfce452c1abd15d2dedc14dc21d06d2c0933540b5b94710b2" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_5_.png": { + "bytes": 3363, + "sha256": "f0559c35164f38d69d83368d6c0cbd08b9bcdfdd5d97de93ecf2671747bbca97" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Creating a custom theme_Cr.png": { + "bytes": 8382, + "sha256": "514c57b6f5e88e749315a944000538c099712f5c4d6c916fa4e95f5e9d80e403" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS.html": { + "bytes": 1618, + "sha256": "a8fed735de28397df9f921a581ac382ebd1648c58e5dfab0ffd6d83ebadd2551" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Custom app-wide CSS_image.png": { + "bytes": 4511, + "sha256": "f89e36dd035387b9981997a7632b5aa8698db1af439f5ddb7e522f2f17b29525" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme.html": { + "bytes": 1043, + "sha256": "0bdf66db8d121262a4e31d66a839459c0af30d682a7923bde2101b31d136009f" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Customize the Next theme_i.png": { + "bytes": 5120, + "sha256": "b339f8ae0031eda4ffb1ba96de2313b3ba267e22e2cd92b8af1d1ad06bbd1363" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Theme development/Reference.html": { + "bytes": 6958, + "sha256": "3001531cbd05cd3f420e5303dd63074d217625732d30bd0fe66d37beae5fd813" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting.html": { + "bytes": 4121, + "sha256": "db9538d42762e6e627b3c4fc6235df25baa4e194d2625dfd39a17c31c3927e7b" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database.html": { + "bytes": 2139, + "sha256": "7acf88c007591b469f2e64fd0525a73672fb5945f414b5889dc5ed7bc168f0aa" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Anonymized Database_image.png": { + "bytes": 101892, + "sha256": "a6ead11e9aee301461beb56949919e384529ce6d7bde7874ac43f1912d6ee613" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs.html": { + "bytes": 2362, + "sha256": "0d2eef6158b11c40df328d105bee2c095d1b665632bc45d79dcbd28fca9fc135" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs_error-logs-expo.png": { + "bytes": 33647, + "sha256": "aead10209d770de88b5ac652c42873dc097c2050e4ba9950dc0cfe985341edc5" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs_error-logs-fire.png": { + "bytes": 17279, + "sha256": "90f26e83bd996ca33fce4a1a8385d7e34ecb3575afae570c130c75bc2cdeb723" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Error logs_image.png": { + "bytes": 139503, + "sha256": "313cf97cd093c64f6745109dc4594e555f864fdadd9ad343c28fab763acb25e3" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Refreshing the application.html": { + "bytes": 226, + "sha256": "2cb7f7226f5fbcf5619eb32da17900a1874b5f3ca3c46980e11cb463a69f2768" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Reporting issues.html": { + "bytes": 211, + "sha256": "18908ee9c3b8485ea5b8699ff7842bbfeea0dfac85a695f9f8c2d8a04759067e" + }, + "work/trilium/scoped/doc_notes/en/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.html": { + "bytes": 678, + "sha256": "f3366c971ac13333d551d44b9833c997e832fc5ac3b3483953ae3fb61eb90619" + }, + "work/trilium/scoped/doc_notes/en/hidden.html": { + "bytes": 248, + "sha256": "24c078f7bdce26c66b54ced779ea123e4ae0a3378136798f68c857ceb0921eb9" + }, + "work/trilium/scoped/doc_notes/en/launchbar_command_launcher.html": { + "bytes": 93, + "sha256": "6ac543c0a770182b61b058244a9d47ad7816c5d0751a20e790e6c0bfe5c05309" + }, + "work/trilium/scoped/doc_notes/en/launchbar_history_navigation.html": { + "bytes": 245, + "sha256": "30c1f89b480fe6df6fb5c12578fdf9eff50027a82bc2b5051ecd6f6cdb780a51" + }, + "work/trilium/scoped/doc_notes/en/launchbar_intro.html": { + "bytes": 591, + "sha256": "13f2a2f6ba1b86e1b425c38d25182c1ec16d998fb759aa1c9c130868c64a51ce" + }, + "work/trilium/scoped/doc_notes/en/launchbar_note_launcher.html": { + "bytes": 490, + "sha256": "1be42a4e73baee47ab78b01b6fe733f7cfe3292888b52def2e27220b32072794" + }, + "work/trilium/scoped/doc_notes/en/launchbar_quick_search.html": { + "bytes": 309, + "sha256": "0aec286a6cef87014ac55953805ff8cdedc291c481930188191a6a4851d2403a" + }, + "work/trilium/scoped/doc_notes/en/launchbar_script_launcher.html": { + "bytes": 450, + "sha256": "be3d8166b1cfd150db86aab3693d57ea92a6ca1cd2964b7aeac219dd5e68386b" + }, + "work/trilium/scoped/doc_notes/en/launchbar_spacer.html": { + "bytes": 349, + "sha256": "74bd2444c4c438fa66dc073014ea1d79f449b54982767ff44f07b9f7a861490f" + }, + "work/trilium/scoped/doc_notes/en/launchbar_widget_launcher.html": { + "bytes": 921, + "sha256": "3888b605e2810a2e82d93bd358ed596578c85c0d0b7259b858c13c9ee8763f57" + }, + "work/trilium/scoped/doc_notes/en/share.html": { + "bytes": 42, + "sha256": "f715fd3938b7b3797dfcf7c91a2086c6cab9b69ca620aa4e1a859ddcac92c31c" + }, + "work/trilium/scoped/doc_notes/en/user_hidden.html": { + "bytes": 149, + "sha256": "123f5d17338ef1974e0308f4684bef5e45e89412819d68f5cf7c5795c3816540" + }, + "work/trilium/scoped/main.cjs": { + "bytes": 9016091, + "sha256": "27ae64139494c81e287242bc162b314cce8a4240e47507a58d88bd0c8b918e55" + }, + "work/trilium/scoped/notes.json": { + "bytes": 325276, + "sha256": "4bb5fbc5b76a776ff23684ec50577d72ba4e2e7ea409f2aeca5f869cddb658cb" + }, + "work/trilium/scoped/translation.en.json": { + "bytes": 105303, + "sha256": "3a08afa9a2215e53245466bc2ca84e5c2ff24edbfce0ee25577ff680cdb332ce" + }, + "work/trilium/server.ko.json": { + "bytes": 15441, + "sha256": "c1ddf9870fa9d6494ce48dcf16079e071990ffb81fe014836d580e00bad8728d" + }, + "work/trilium/translation.ko.json": { + "bytes": 116799, + "sha256": "034e6440885ef45cad6032554f1e82c999bcf8fcc16e293b3e651449f569f1a8" + }, + "work/trilium/ui-overrides.json": { + "bytes": 14925, + "sha256": "467930e21c7143fdf670f3d910ec03d45726e7ae315dd1689f7359e94da5170e" + }, + "work/trilium/validate-demo.mjs": { + "bytes": 1668, + "sha256": "c33a2f015bbd5476d4697b366c9d0e3ececdb80f822cbd7ee1fbfd832326597c" + } +} diff --git a/updates/2026-09-05/deployed/MindElixir.js b/updates/2026-09-05/deployed/MindElixir.js new file mode 100644 index 0000000..58fe97d --- /dev/null +++ b/updates/2026-09-05/deployed/MindElixir.js @@ -0,0 +1,22 @@ +(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".map-container{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--root-border-color: rgba(0, 0, 0, 0);--main-color: #444446;--main-bgcolor: #ffffff;--topic-padding: 3px;--color: #777777;--bgcolor: #f6f6f6;--selected: #4dc4ff;--panel-color: #444446;--panel-bgcolor: #ffffff;--panel-border-color: #eaeaea;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;-webkit-user-select:none;user-select:none;height:100%;width:100%;overflow:scroll;font-size:15px}.map-container *{box-sizing:border-box}.map-container::-webkit-scrollbar{width:0px;height:0px}.map-container .selected{outline:2px solid var(--selected);outline-offset:1px}.map-container .hyper-link{text-decoration:none;margin-left:.3em}.map-container .lhs{direction:rtl}.map-container .lhs me-tpc{direction:ltr}.map-container .map-canvas{height:20000px;width:20000px;position:relative;-webkit-user-select:none;user-select:none;transition:transform .3s;transform:scale(1);background-color:var(--bgcolor)}.map-container .map-canvas me-nodes{position:absolute;display:flex;justify-content:center;align-items:center;height:fit-content;width:fit-content}.map-container .map-canvas me-root{position:relative}.map-container .map-canvas me-root me-tpc{display:block;font-size:25px;color:var(--root-color);padding:10px var(--gap);border-radius:var(--root-radius);border:var(--root-border-color) 2px solid;white-space:pre-wrap;background-color:var(--root-bgcolor)}.map-container me-main>me-wrapper{position:relative;margin:45px 65px}.map-container me-main>me-wrapper>me-parent{margin:10px;padding:0}.map-container me-main>me-wrapper>me-parent>me-tpc{border-radius:var(--main-radius);background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);padding:8px 25px}.map-container me-wrapper{display:block;pointer-events:none;width:fit-content}.map-container me-children,.map-container me-parent{display:inline-block;vertical-align:middle}.map-container me-parent{position:relative;cursor:pointer;padding:6px var(--gap);margin-top:10px}.map-container me-parent me-tpc{position:relative;display:block;border-radius:3px;color:var(--color);pointer-events:all;max-width:35em;white-space:pre-wrap;padding:var(--topic-padding)}.map-container me-parent me-tpc .insert-preview{position:absolute;width:100%;left:0;z-index:9}.map-container me-parent me-tpc .show{background:#7ad5ff;pointer-events:none;opacity:.7}.map-container me-parent me-tpc .before{height:14px;top:-14px}.map-container me-parent me-tpc .in{height:100%;top:0}.map-container me-parent me-tpc .after{height:14px;bottom:-14px}.map-container me-parent me-epd{position:absolute;height:18px;width:18px;opacity:.8;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==);background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:all;z-index:9}.map-container me-parent me-epd.minus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+)!important;transition:opacity .3s;opacity:0}.map-container me-parent me-epd.minus:hover{opacity:.8}.map-container .icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.map-container .lines,.map-container .summary,.map-container .subLines,.map-container .topiclinks,.map-container .linkcontroller{position:absolute;height:102%;width:100%;top:0;left:0}.map-container .topiclinks,.map-container .linkcontroller,.map-container .summary{pointer-events:none}.map-container .topiclinks text,.map-container .linkcontroller text,.map-container .summary text{pointer-events:all}.map-container .topiclinks .selected,.map-container .linkcontroller .selected,.map-container .summary .selected{pointer-events:none}.map-container .lines,.map-container .subLines{pointer-events:none;z-index:-1}.map-container .topiclinks *,.map-container .linkcontroller *{z-index:100}.map-container .topiclinks g{cursor:pointer}.map-container #input-box{position:absolute;top:0;left:0;width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:auto;background-color:var(--bgcolor)}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a,.map-container me-tpc>iframe{pointer-events:auto}.map-container me-tpc>img{display:block;margin-bottom:8px;object-fit:cover}.map-container me-tpc>.text{display:inline-block}.map-container .circle{position:absolute;height:10px;width:10px;margin-top:-5px;margin-left:-5px;border-radius:100%;background:#757575;border:2px solid #ffffff;cursor:pointer}.map-container .tags{direction:ltr}.map-container .tags span{display:inline-block;border-radius:3px;padding:2px 4px;background:#d6f0f8;color:#276f86;margin:2px 4px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-left:5px}.map-container .icons span{display:inline-block;line-height:1.3em}.map-container .mind-elixir-ghost{position:fixed;top:-100%;left:-100%;box-sizing:content-box;opacity:.5;background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);max-width:200px;width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 16px;border-radius:6px}.map-container .selection-area{background:#4f90f22d;border:1px solid #4f90f2}.map-container .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.map-container .context-menu .menu-list{position:fixed;list-style:none;margin:0;padding:0;color:var(--panel-color);box-shadow:0 12px 15px #0003;border-radius:5px;overflow:hidden}.map-container .context-menu .menu-list li{min-width:200px;overflow:hidden;white-space:nowrap;padding:6px 10px;background:var(--panel-bgcolor);border-bottom:1px solid var(--panel-border-color);cursor:pointer}.map-container .context-menu .menu-list li span{line-height:20px}.map-container .context-menu .menu-list li a{color:#333;text-decoration:none}.map-container .context-menu .menu-list li.disabled{display:none}.map-container .context-menu .menu-list li:hover{filter:brightness(.95)}.map-container .context-menu .menu-list li:last-child{border-bottom:0}.map-container .context-menu .menu-list li span:last-child{float:right}.map-container .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.map-container .tips{position:absolute;bottom:20px;left:50%;transform:translate(-50%);color:var(--panel-color);font-weight:bolder}.mind-elixir-toolbar{font-family:iconfont;position:absolute;color:var(--panel-color);background:var(--panel-bgcolor);padding:10px;border-radius:5px;box-shadow:0 1px 2px #0003}.mind-elixir-toolbar svg{display:inline-block}.mind-elixir-toolbar span:active{opacity:.5}.mind-elixir-toolbar.rb{right:20px;bottom:20px}.mind-elixir-toolbar.rb span+span{margin-left:10px}.mind-elixir-toolbar.lt{font-size:20px;left:20px;top:20px}.mind-elixir-toolbar.lt span{display:block}.mind-elixir-toolbar.lt span+span{margin-top:10px}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();(function(e){var t,n,o,i,r,s,a='',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch{}}function c(){r||(r=!0,o())}t=function(){var d,p,h,m;(m=document.createElement("div")).innerHTML=a,a=null,(h=m.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",d=h,(p=document.body).firstChild?(m=d,(h=p.firstChild).parentNode.insertBefore(m,h)):p.appendChild(d))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(o=t,i=e.document,r=!1,(s=function(){try{i.documentElement.doScroll("left")}catch{return void setTimeout(s,50)}c()})(),i.onreadystatechange=function(){i.readyState=="complete"&&(i.onreadystatechange=null,c())})})(window);const T=0,O=1,ce=2,Oe={name:"Latte",type:"light",palette:["#dd7878","#ea76cb","#8839ef","#e64553","#fe640b","#df8e1d","#40a02b","#209fb5","#1e66f5","#7287fd"],cssVar:{"--gap":"30px","--main-color":"#444446","--main-bgcolor":"#ffffff","--color":"#777777","--bgcolor":"#f6f6f6","--panel-color":"#444446","--panel-bgcolor":"#ffffff","--panel-border-color":"#eaeaea"}},$e={name:"Dark",type:"dark",palette:["#848FA0","#748BE9","#D2F9FE","#4145A5","#789AFA","#706CF4","#EF987F","#775DD5","#FCEECF","#DA7FBC"],cssVar:{"--main-color":"#ffffff","--main-bgcolor":"#4c4f69","--color":"#cccccc","--bgcolor":"#252526","--panel-color":"#ffffff","--panel-bgcolor":"#2d3748","--panel-border-color":"#696969"}};function ie(e){return e.replace(/&/g,"&").replace(/{if(e.parent=t,e.children)for(let n=0;n0&&(s=180-s),r<0&&i<0&&(s=180+s),r>0&&i<0&&(s=360-s);const a=12,l=30,c=s+l,d=s-l;return{x1:n+Math.cos(Math.PI*c/180)*a,y1:o-Math.sin(Math.PI*c/180)*a,x2:n+Math.cos(Math.PI*d/180)*a,y2:o-Math.sin(Math.PI*d/180)*a}}function q(){return(new Date().getTime().toString(16)+Math.random().toString(16).substr(2)).substr(2,16)}const tt=function(){const e=q();return{topic:this.newTopicName,id:e}};function fe(e){return JSON.parse(JSON.stringify(e,(t,n)=>{if(t!=="parent")return n}))}const P=(e,t)=>{let n=0,o=0;for(;t&&t!==e;)n+=t.offsetLeft,o+=t.offsetTop,t=t.offsetParent;return{offsetLeft:n,offsetTop:o}},w=(e,t)=>{for(const n in t)e.setAttribute(n,t[n])},he=e=>e?e.tagName==="ME-TPC":!1,de=e=>e.filter(t=>{for(let n=0;n{this.moved=!1,this.mousedown=!1},0)}};function nt(e){e.map.addEventListener("click",t=>{var n,o;if(t.button!==0)return;if((n=e.helper1)!=null&&n.moved){e.helper1.clear();return}if((o=e.helper2)!=null&&o.moved){e.helper2.clear();return}if(k.moved){k.clear();return}e.clearSelection();const i=t.target;if(i.tagName==="ME-EPD")e.expandNode(i.previousSibling);else if(he(i))e.selectNode(i,!1,t);else if(e.editable)i.tagName==="text"?i.dataset.type==="custom-link"?e.selectArrow(i.parentElement):e.selectSummary(i.parentElement):i.className;else return}),e.map.addEventListener("dblclick",t=>{if(!e.editable)return;const n=t.target;he(n)?e.beginEdit(n):n.tagName==="text"&&(n.dataset.type==="custom-link"?e.editArrowLabel(n.parentElement):e.editSummary(n.parentElement))}),e.map.addEventListener("mousemove",t=>{t.target.contentEditable==="inherit"&&k.onMove(t,e)}),e.map.addEventListener("mousedown",t=>{const n=e.mouseSelectionButton===0?2:0;t.button===n&&t.target.contentEditable==="inherit"&&(k.moved=!1,k.mousedown=!0)}),e.map.addEventListener("mouseleave",t=>{const n=e.mouseSelectionButton===0?2:0;t.button===n&&k.clear()}),e.map.addEventListener("mouseup",t=>{const n=e.mouseSelectionButton===0?2:0;t.button===n&&k.clear()})}const ot={create(){return{handlers:{},showHandler:function(){},addListener:function(e,t){this.handlers[e]===void 0&&(this.handlers[e]=[]),this.handlers[e].push(t)},fire:function(e,...t){if(this.handlers[e]instanceof Array){const n=this.handlers[e];for(let o=0;o(e.LHS="lhs",e.RHS="rhs",e))(j||{});const ae=document,it=function(){this.nodes.innerHTML="";const e=this.createTopic(this.nodeData);ge(e,this.nodeData),e.draggable=!1;const t=ae.createElement("me-root");t.appendChild(e);const n=this.nodeData.children||[];if(this.direction===ce){let o=0,i=0;n.map(r=>{r.direction===T?o+=1:r.direction===O?i+=1:o<=i?(r.direction=T,o+=1):(r.direction=O,i+=1)})}rt(this,n,t)},rt=function(e,t,n){const o=ae.createElement("me-main");o.className=j.LHS;const i=ae.createElement("me-main");i.className=j.RHS;for(let r=0;r{const n=(t?t.el:_).querySelector(`[data-nodeid=me${e}]`);if(!n)throw new Error(`FindEle: Node ${e} not found, maybe it's collapsed.`);return n},ge=function(e,t){if(e.innerHTML="",t.style&&(e.style.color=t.style.color||"",e.style.background=t.style.background||"",e.style.fontSize=t.style.fontSize+"px",e.style.fontWeight=t.style.fontWeight||"normal"),t.dangerouslySetInnerHTML){e.innerHTML=t.dangerouslySetInnerHTML;return}if(t.image){const n=t.image;if(n.url&&n.width&&n.height){const o=_.createElement("img");o.src=n.url,o.style.width=n.width+"px",o.style.height=n.height+"px",n.fit&&(o.style.objectFit=n.fit),e.appendChild(o),e.image=o}}else e.image&&(e.image=void 0);{const n=_.createElement("span");n.className="text",n.textContent=t.topic,e.appendChild(n),e.text=n}if(t.hyperLink){const n=_.createElement("a");n.className="hyper-link",n.target="_blank",n.innerText="🔗",n.href=t.hyperLink,e.appendChild(n),e.link=n}else e.link&&(e.link=void 0);if(t.icons&&t.icons.length){const n=_.createElement("span");n.className="icons",n.innerHTML=t.icons.map(o=>`${ie(o)}`).join(""),e.appendChild(n),e.icons=n}else e.icons&&(e.icons=void 0);if(t.tags&&t.tags.length){const n=_.createElement("div");n.className="tags",n.innerHTML=t.tags.map(o=>`${ie(o)}`).join(""),e.appendChild(n),e.tags=n}else e.tags&&(e.tags=void 0)},at=function(e,t){const n=_.createElement("me-wrapper"),{p:o,tpc:i}=this.createParent(e);if(n.appendChild(o),!t&&e.children&&e.children.length>0){const r=ve(e.expanded);if(o.appendChild(r),e.expanded!==!1){const s=st(this,e.children);n.appendChild(s)}}return{grp:n,top:o,tpc:i}},lt=function(e){const t=_.createElement("me-parent"),n=this.createTopic(e);return ge(n,e),t.appendChild(n),{p:t,tpc:n}},ct=function(e){const t=_.createElement("me-children");return t.append(...e),t},dt=function(e){const t=_.createElement("me-tpc");return t.nodeObj=e,t.dataset.nodeid="me"+e.id,t.draggable=this.draggable,t};function Pe(e){const t=_.createRange();t.selectNodeContents(e);const n=window.getSelection();n&&(n.removeAllRanges(),n.addRange(t))}const ht=function(e){if(!e)return;const t=_.createElement("div"),n=e.text.textContent;e.appendChild(t),t.id="input-box",t.textContent=n,t.contentEditable="plaintext-only",t.spellcheck=!1;const o=getComputedStyle(e);t.style.cssText=`min-width:${e.offsetWidth-8}px; + color:${o.color}; + padding:${o.padding}; + margin:${o.margin}; + font:${o.font}; + background-color:${o.backgroundColor!=="rgba(0, 0, 0, 0)"&&o.backgroundColor}; + border-radius:${o.borderRadius};`,this.direction===T&&(t.style.right="0"),t.focus(),Pe(t),this.bus.fire("operation",{name:"beginEdit",obj:e.nodeObj}),t.addEventListener("keydown",i=>{i.stopPropagation();const r=i.key;if(r==="Enter"||r==="Tab"){if(i.shiftKey)return;i.preventDefault(),t.blur(),this.map.focus()}}),t.addEventListener("blur",()=>{var i;if(!t)return;const r=e.nodeObj,s=((i=t.textContent)==null?void 0:i.trim())||"";s===""?r.topic=n:r.topic=s,t.remove(),s!==n&&(e.text.textContent=r.topic,this.linkDiv(),this.bus.fire("operation",{name:"finishEdit",obj:r,origin:n}))})},ve=function(e){const t=_.createElement("me-epd");return t.expanded=e!==!1,t.className=e!==!1?"minus":"",t},V=document,X="http://www.w3.org/2000/svg",Be=function(e,t,n){const o=V.createElementNS(X,"path");return w(o,{d:e,stroke:t||"#666",fill:"none","stroke-width":n}),o},G=function(e){const t=V.createElementNS(X,"svg");return t.setAttribute("class",e),t.setAttribute("overflow","visible"),t},Me=function(){const e=V.createElementNS(X,"line");return e.setAttribute("stroke","#bbb"),e.setAttribute("fill","none"),e.setAttribute("stroke-width","2"),e},pt=function(e,t,n){const o={stroke:"rgb(235, 95, 82)",fill:"none","stroke-linecap":"cap","stroke-width":"2"},i=V.createElementNS(X,"g");return[e,t,n].forEach((r,s)=>{const a=V.createElementNS(X,"path"),l={d:r,...o};w(a,l),s===0&&a.setAttribute("stroke-dasharray","8,2"),i.appendChild(a)}),i},Re=function(e,t,n){if(!t)return;const o=V.createElement("div");e.nodes.appendChild(o);const i=t.innerHTML;o.id="input-box",o.textContent=i,o.contentEditable="plaintext-only",o.spellcheck=!1;const r=t.getBBox();o.style.cssText=` + min-width:${Math.max(88,r.width)}px; + position:absolute; + left:${r.x}px; + top:${r.y}px; + padding: 2px 4px; + margin: -2px -4px; + `,o.focus(),Pe(o),o.addEventListener("keydown",s=>{s.stopPropagation();const a=s.key;if(a==="Enter"||a==="Tab"){if(s.shiftKey)return;s.preventDefault(),o.blur(),e.map.focus()}}),o.addEventListener("blur",()=>{o&&n(o)})},ut=function(e){const t=this.map.querySelector("me-root"),n=t.offsetTop,o=t.offsetLeft,i=t.offsetWidth,r=t.offsetHeight,s=this.map.querySelector("me-nodes").offsetWidth;this.nodes.style.top=`${1e4-this.nodes.offsetHeight/2}px`,this.alignment==="root"?this.nodes.style.left=`${1e4-o-i/2}px`:this.nodes.style.left=`${1e4-s/2}px`;const a=this.map.querySelectorAll("me-main > me-wrapper");this.lines.innerHTML="";for(let l=0;l{const N=document.createElement("div");return N.innerText=y,N.className="tips",N},o=(y,N,L)=>{const S=document.createElement("li");return S.id=y,S.innerHTML=`${ie(N)}${ie(L)}`,S},i=Ce[e.locale]?e.locale:"en",r=Ce[i],s=o("cm-add_child",r.addChild,"Tab"),a=o("cm-add_parent",r.addParent,"Ctrl + Enter"),l=o("cm-add_sibling",r.addSibling,"Enter"),c=o("cm-remove_child",r.removeNode,"Delete"),d=o("cm-fucus",r.focus,""),p=o("cm-unfucus",r.cancelFocus,""),h=o("cm-up",r.moveUp,"PgUp"),m=o("cm-down",r.moveDown,"Pgdn"),f=o("cm-link",r.link,""),v=o("cm-link-bidirectional","양방향 연결",""),g=o("cm-summary",r.summary,""),u=document.createElement("ul");if(u.className="menu-list",u.appendChild(s),u.appendChild(a),u.appendChild(l),u.appendChild(c),t.focus&&(u.appendChild(d),u.appendChild(p)),u.appendChild(h),u.appendChild(m),u.appendChild(g),t.link&&(u.appendChild(f),u.appendChild(v)),t&&t.extend)for(let y=0;y{N.onclick(S)}}const b=document.createElement("div");b.className="context-menu",b.appendChild(u),b.hidden=!0,e.container.append(b);let x=!0;e.container.oncontextmenu=function(y){if(y.preventDefault(),!e.editable||k.moved)return;const N=y.target;if(he(N)){N.parentElement.tagName==="ME-ROOT"?x=!0:x=!1,x?(d.className="disabled",h.className="disabled",m.className="disabled",a.className="disabled",l.className="disabled",c.className="disabled"):(d.className="",h.className="",m.className="",a.className="",l.className="",c.className=""),e.currentNodes||e.selectNode(N),b.hidden=!1,k.mousedown&&(k.mousedown=!1),u.style.top="",u.style.bottom="",u.style.left="",u.style.right="";const L=u.getBoundingClientRect(),S=u.offsetHeight,A=u.offsetWidth,U=y.clientY-L.top,Z=y.clientX-L.left;S+U>window.innerHeight?(u.style.top="",u.style.bottom="0px"):(u.style.bottom="",u.style.top=U+15+"px"),A+Z>window.innerWidth?(u.style.left="",u.style.right="0px"):(u.style.right="",u.style.left=Z+10+"px")}},b.onclick=y=>{y.target===b&&(b.hidden=!0)},s.onclick=()=>{e.addChild(),b.hidden=!0},a.onclick=()=>{e.insertParent(),b.hidden=!0},l.onclick=()=>{x||(e.insertSibling("after"),b.hidden=!0)},c.onclick=()=>{x||(e.removeNode(),b.hidden=!0)},d.onclick=()=>{x||(e.focusNode(e.currentNode),b.hidden=!0)},p.onclick=()=>{e.cancelFocus(),b.hidden=!0},h.onclick=()=>{x||(e.moveUpNode(),b.hidden=!0)},m.onclick=()=>{x||(e.moveDownNode(),b.hidden=!0)};const E=y=>{b.hidden=!0;const N=e.currentNode,L=n(r.clickTips);e.container.appendChild(L),e.map.addEventListener("click",S=>{S.preventDefault(),L.remove();const A=S.target;(A.parentElement.tagName==="ME-PARENT"||A.parentElement.tagName==="ME-ROOT")&&e.createArrow(N,A,y)},{once:!0})};return f.onclick=()=>E(),v.onclick=()=>E({bidirectional:!0}),g.onclick=()=>{b.hidden=!0,e.createSummary(),e.unselectNodes()},()=>{s.onclick=null,a.onclick=null,l.onclick=null,c.onclick=null,d.onclick=null,p.onclick=null,h.onclick=null,m.onclick=null,f.onclick=null,g.onclick=null,b.onclick=null,e.container.oncontextmenu=null}}const ft=e=>{const t=e.map.querySelectorAll(".lhs>me-wrapper>me-parent>me-tpc");e.selectNode(t[Math.ceil(t.length/2)-1])},gt=e=>{const t=e.map.querySelectorAll(".rhs>me-wrapper>me-parent>me-tpc");e.selectNode(t[Math.ceil(t.length/2)-1])},vt=e=>{e.selectNode(e.map.querySelector("me-root>me-tpc"))},bt=function(e,t){const n=t.parentElement.parentElement.parentElement.previousSibling;if(n){const o=n.firstChild;e.selectNode(o)}},yt=function(e,t){const n=t.parentElement.nextSibling;if(n&&n.firstChild){const o=n.firstChild.firstChild.firstChild;e.selectNode(o)}},Ee=function(e,t){var n,o;const i=e.currentNode||((n=e.currentNodes)==null?void 0:n[0]);if(!i)return;const r=i.nodeObj,s=i.offsetParent.offsetParent.parentElement;r.parent?s.className===t?yt(e,i):(o=r.parent)!=null&&o.parent?bt(e,i):vt(e):t===j.LHS?ft(e):gt(e)},Se=function(e,t){var n;const o=e.currentNode||((n=e.currentNodes)==null?void 0:n[0]);if(!o||!o.nodeObj.parent)return;const i=t+"Sibling",r=o.parentElement.parentElement[i];r&&e.selectNode(r.firstChild.firstChild)},ee=function(e,t){switch(t){case"in":if(e.scaleVal>1.6)return;e.scale(e.scaleVal+=.2);break;case"out":if(e.scaleVal<.6)return;e.scale(e.scaleVal-=.2)}};function xt(e,t){t=t===!0?{}:t;const n=()=>{e.currentArrow?e.removeArrow():e.currentSummary?e.removeSummary(e.currentSummary.summaryObj.id):e.currentNode?e.removeNode():e.currentNodes&&e.removeNodes(e.currentNodes)},o={Enter:i=>{i.shiftKey?e.insertSibling("before"):i.ctrlKey?e.insertParent():e.insertSibling("after")},Tab:()=>{e.addChild()},F1:()=>{e.toCenter()},F2:()=>{e.beginEdit()},ArrowUp:i=>{if(i.altKey)e.moveUpNode();else{if(i.metaKey||i.ctrlKey)return e.initSide();Se(e,"previous")}},ArrowDown:i=>{i.altKey?e.moveDownNode():Se(e,"next")},ArrowLeft:i=>{if(i.metaKey||i.ctrlKey)return e.initLeft();Ee(e,j.LHS)},ArrowRight:i=>{if(i.metaKey||i.ctrlKey)return e.initRight();Ee(e,j.RHS)},PageUp:()=>e.moveUpNode(),PageDown:()=>{e.moveDownNode()},c:i=>{(i.metaKey||i.ctrlKey)&&(e.currentNode?e.waitCopy=[e.currentNode]:e.currentNodes&&(e.waitCopy=e.currentNodes))},x:i=>{(i.metaKey||i.ctrlKey)&&(e.currentNode?e.waitCopy=[e.currentNode]:e.currentNodes&&(e.waitCopy=e.currentNodes),n())},v:i=>{!e.waitCopy||!e.currentNode||(i.metaKey||i.ctrlKey)&&(e.waitCopy.length===1?e.copyNode(e.waitCopy[0],e.currentNode):e.copyNodes(e.waitCopy,e.currentNode))},"+":i=>{(i.metaKey||i.ctrlKey)&&ee(e,"in")},"-":i=>{(i.metaKey||i.ctrlKey)&&ee(e,"out")},0:i=>{(i.metaKey||i.ctrlKey)&&e.scale(1)},Delete:n,Backspace:n,...t};e.map.onkeydown=i=>{if(i.preventDefault(),!e.editable||i.target!==i.currentTarget)return;const r=o[i.key];r&&r(i)},e.map.onwheel=i=>{(i.ctrlKey||i.metaKey)&&(i.preventDefault(),i.deltaY<0?ee(e,"in"):e.scaleVal-.2>0&&ee(e,"out"),i.stopPropagation())}}const pe=document,Nt=function(e,t){if(!t)return ue(e),e;let n=e.querySelector(".insert-preview");const o=`insert-preview ${t} show`;return n||(n=pe.createElement("div"),e.appendChild(n)),n.className=o,e},ue=function(e){if(!e)return;const t=e.querySelectorAll(".insert-preview");for(const n of t||[])n.remove()},Le=function(e,t){for(const n of t){const o=n.parentElement.parentElement.contains(e);if(!(e&&e.tagName==="ME-TPC"&&e!==n&&!o&&e.nodeObj.parent))return!1}return!0},Mt=function(e){const t=document.createElement("div");return t.className="mind-elixir-ghost",e.map.appendChild(t),t};function wt(e){let t=null,n=null,o=null;const i=Mt(e),r=12;e.map.addEventListener("dragstart",s=>{var a;const l=s.target;if(l?.tagName!=="ME-TPC"){s.preventDefault();return}(a=e.currentNodes)!=null&&a.includes(l)||(e.unselectNodes(),e.selectNode(l)),e.currentNodes?(t=e.currentNodes,i.innerHTML=e.currentNodes.length+""):(t=[l],i.innerHTML=l.innerHTML);for(const c of t)c.parentElement.parentElement.style.opacity="0.5";s.dataTransfer.setDragImage(i,0,0),s.dataTransfer.dropEffect="move",k.clear()}),e.map.addEventListener("dragend",async s=>{if(!t)return;for(const l of t)l.parentElement.parentElement.style.opacity="1";const a=s.target;a.style.opacity="",o&&(ue(o),n==="before"?e.moveNodeBefore(t,o):n==="after"?e.moveNodeAfter(t,o):n==="in"&&e.moveNodeIn(t,o),t=null)}),e.map.addEventListener("dragover",function(s){if(s.preventDefault(),!t)return;ue(o);const a=pe.elementFromPoint(s.clientX,s.clientY-r);if(Le(a,t)){o=a;const l=a.getBoundingClientRect().y;s.clientY>l+a.clientHeight?n="after":n="in"}else{const l=pe.elementFromPoint(s.clientX,s.clientY+r);if(Le(l,t)){o=l;const c=l.getBoundingClientRect().y;s.clientYt.id)}:{type:"node",value:e.obj.id}};function Et(e){let t=[],n=-1,o=e.getData();e.bus.addListener("operation",i=>{if(i.name==="beginEdit")return;t=t.slice(0,n+1);const r=e.getData();t.push({prev:o,currentObject:Ct(i),next:r}),o=r,n=t.length-1}),e.undo=function(){if(n>-1){const i=t[n];o=i.prev,e.refresh(i.prev);try{i.currentObject.type==="node"?e.selectNode(C(i.currentObject.value)):i.currentObject.type==="nodes"&&e.selectNodes(i.currentObject.value.map(r=>C(r)))}catch{}finally{n--}}},e.redo=function(){if(nC(r)))}},e.map.addEventListener("keydown",i=>{(i.metaKey||i.ctrlKey)&&(i.shiftKey&&i.key==="Z"||i.key==="y")?e.redo():(i.metaKey||i.ctrlKey)&&i.key==="z"&&e.undo()})}const R=(e,t)=>{const n=document.createElement("span");return n.id=e,n.innerHTML=``,n};function St(e){const t=document.createElement("div"),n=R("fullscreen","full"),o=R("toCenter","living"),i=R("zoomout","move"),r=R("zoomin","add"),s=document.createElement("span");return s.innerText="100%",t.appendChild(n),t.appendChild(o),t.appendChild(i),t.appendChild(r),t.className="mind-elixir-toolbar rb",n.onclick=()=>{e.el.requestFullscreen()},o.onclick=()=>{e.toCenter()},i.onclick=()=>{e.scaleVal<.6||e.scale(e.scaleVal-.2)},r.onclick=()=>{e.scaleVal>1.6||e.scale(e.scaleVal+.2)},t}function Lt(e){const t=document.createElement("div"),n=R("tbltl","left"),o=R("tbltr","right"),i=R("tblts","side");return t.appendChild(n),t.appendChild(o),t.appendChild(i),t.className="mind-elixir-toolbar lt",n.onclick=()=>{e.initLeft()},o.onclick=()=>{e.initRight()},i.onclick=()=>{e.initSide()},t}function jt(e){e.container.append(St(e)),e.container.append(Lt(e))}/*! @viselect/vanilla v3.5.1 MIT | https://github.com/Simonwep/selection/tree/master/packages/vanilla */var kt=Object.defineProperty,_t=(e,t,n)=>t in e?kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t,n)=>(_t(e,typeof t!="symbol"?t+"":t,n),n);class zt{constructor(){M(this,"_listeners",new Map),M(this,"on",this.addEventListener),M(this,"off",this.removeEventListener),M(this,"emit",this.dispatchEvent)}addEventListener(t,n){const o=this._listeners.get(t)??new Set;return this._listeners.set(t,o),o.add(n),this}removeEventListener(t,n){var o;return(o=this._listeners.get(t))==null||o.delete(n),this}dispatchEvent(t,...n){let o=!0;for(const i of this._listeners.get(t)??[])o=i(...n)!==!1&&o;return o}unbindAllListeners(){this._listeners.clear()}}const je=(e,t="px")=>typeof e=="number"?e+t:e;function H({style:e},t,n){if(typeof t=="object")for(const[o,i]of Object.entries(t))i!==void 0&&(e[o]=je(i));else n!==void 0&&(e[t]=je(n))}const Fe=e=>(t,n,o,i={})=>{t instanceof HTMLCollection||t instanceof NodeList?t=Array.from(t):Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);for(const r of t)if(r)for(const s of n)r[e](s,o,{capture:!1,...i});return[t,n,o,i]},Y=Fe("addEventListener"),I=Fe("removeEventListener"),te=e=>{var t;const{clientX:n,clientY:o,target:i}=((t=e.touches)==null?void 0:t[0])??e;return{x:n,y:o,target:i}};function ke(e,t,n="touch"){switch(n){case"center":{const o=t.left+t.width/2,i=t.top+t.height/2;return o>=e.left&&o<=e.right&&i>=e.top&&i<=e.bottom}case"cover":return t.left>=e.left&&t.top>=e.top&&t.right<=e.right&&t.bottom<=e.bottom;case"touch":return e.right>=t.left&&e.left<=t.right&&e.bottom>=t.top&&e.top<=t.bottom}}function F(e,t=document){const n=Array.isArray(e)?e:[e];let o=[];for(let i=0,r=n.length;imatchMedia("(hover: none), (pointer: coarse)").matches,At=()=>"safari"in window,Dt=e=>{let t,n=-1,o=!1;return{next(...i){t=i,o||(o=!0,n=requestAnimationFrame(()=>{e(...t),o=!1}))},cancel(){cancelAnimationFrame(n),o=!1}}};function Ht(e,t){for(const n of t){if(typeof n=="number")return e.button===n;if(typeof n=="object"){const o=n.button===e.button,i=n.modifiers.every(r=>{switch(r){case"alt":return e.altKey;case"ctrl":return e.ctrlKey||e.metaKey;case"shift":return e.shiftKey}});return o&&i}}return!1}const{abs:B,max:_e,min:ze,ceil:Te}=Math;class We extends zt{constructor(t){var n,o,i,r,s;super(),M(this,"_options"),M(this,"_selection",{stored:[],selected:[],touched:[],changed:{added:[],removed:[]}}),M(this,"_area"),M(this,"_clippingElement"),M(this,"_targetElement"),M(this,"_targetRect"),M(this,"_selectables",[]),M(this,"_latestElement"),M(this,"_areaRect",new DOMRect),M(this,"_areaLocation",{y1:0,x2:0,y2:0,x1:0}),M(this,"_singleClick",!0),M(this,"_frame"),M(this,"_scrollAvailable",!0),M(this,"_scrollingActive",!1),M(this,"_scrollSpeed",{x:0,y:0}),M(this,"_scrollDelta",{x:0,y:0}),M(this,"disable",this._bindStartEvents.bind(this,!1)),M(this,"enable",this._bindStartEvents),this._options={selectionAreaClass:"selection-area",selectionContainerClass:void 0,selectables:[],document:window.document,startAreas:["html"],boundaries:["html"],container:"body",...t,behaviour:{overlap:"invert",intersect:"touch",triggers:[0],...t.behaviour,startThreshold:(n=t.behaviour)!=null&&n.startThreshold?typeof t.behaviour.startThreshold=="number"?t.behaviour.startThreshold:{x:10,y:10,...t.behaviour.startThreshold}:{x:10,y:10},scrolling:{speedDivider:10,manualSpeed:750,...(o=t.behaviour)==null?void 0:o.scrolling,startScrollMargins:{x:0,y:0,...(r=(i=t.behaviour)==null?void 0:i.scrolling)==null?void 0:r.startScrollMargins}}},features:{range:!0,touch:!0,...t.features,singleTap:{allow:!0,intersect:"native",...(s=t.features)==null?void 0:s.singleTap}}};for(const d of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))typeof this[d]=="function"&&(this[d]=this[d].bind(this));const{document:a,selectionAreaClass:l,selectionContainerClass:c}=this._options;this._area=a.createElement("div"),this._clippingElement=a.createElement("div"),this._clippingElement.appendChild(this._area),this._area.classList.add(l),c&&this._clippingElement.classList.add(c),H(this._area,{willChange:"top, left, bottom, right, width, height",top:0,left:0,position:"fixed"}),H(this._clippingElement,{overflow:"hidden",position:"fixed",transform:"translate3d(0, 0, 0)",pointerEvents:"none",zIndex:"1"}),this._frame=Dt(d=>{this._recalculateSelectionAreaRect(),this._updateElementSelection(),this._emitEvent("move",d),this._redrawSelectionArea()}),this.enable()}_bindStartEvents(t=!0){const{document:n,features:o}=this._options,i=t?Y:I;i(n,"mousedown",this._onTapStart),o.touch&&i(n,"touchstart",this._onTapStart,{passive:!1})}_onTapStart(t,n=!1){const{x:o,y:i,target:r}=te(t),{_options:s}=this,{document:a}=this._options,l=r.getBoundingClientRect();if(t instanceof MouseEvent&&!Ht(t,s.behaviour.triggers))return;const c=F(s.startAreas,s.document),d=F(s.boundaries,s.document);this._targetElement=d.find(m=>ke(m.getBoundingClientRect(),l));const p=t.composedPath();if(!this._targetElement||!c.find(m=>p.includes(m))||!d.find(m=>p.includes(m))||!n&&this._emitEvent("beforestart",t)===!1)return;this._areaLocation={x1:o,y1:i,x2:0,y2:0};const h=a.scrollingElement??a.body;this._scrollDelta={x:h.scrollLeft,y:h.scrollTop},this._singleClick=!0,this.clearSelection(!1,!0),Y(a,["touchmove","mousemove"],this._delayedTapMove,{passive:!1}),Y(a,["mouseup","touchcancel","touchend"],this._onTapStop),Y(a,"scroll",this._onScroll)}_onSingleTap(t){const{singleTap:{intersect:n},range:o}=this._options.features,i=te(t);let r;if(n==="native")r=i.target;else if(n==="touch"){this.resolveSelectables();const{x:a,y:l}=i;r=this._selectables.find(c=>{const{right:d,left:p,top:h,bottom:m}=c.getBoundingClientRect();return ap&&lh})}if(!r)return;for(this.resolveSelectables();!this._selectables.includes(r);){if(!r.parentElement)return;r=r.parentElement}const{stored:s}=this._selection;if(this._emitEvent("start",t),t.shiftKey&&o&&this._latestElement){const a=this._latestElement,[l,c]=a.compareDocumentPosition(r)&4?[r,a]:[a,r],d=[...this._selectables.filter(p=>p.compareDocumentPosition(l)&4&&p.compareDocumentPosition(c)&2),l,c];this.select(d),this._latestElement=a}else s.includes(r)&&(s.length===1||t.ctrlKey||s.every(a=>this._selection.stored.includes(a)))?this.deselect(r):(this.select(r),this._latestElement=r)}_delayedTapMove(t){const{container:n,document:o,behaviour:{startThreshold:i}}=this._options,{x1:r,y1:s}=this._areaLocation,{x:a,y:l}=te(t);if(typeof i=="number"&&B(a+l-(r+s))>=i||typeof i=="object"&&B(a-r)>=i.x||B(l-s)>=i.y){if(I(o,["mousemove","touchmove"],this._delayedTapMove,{passive:!1}),this._emitEvent("beforedrag",t)===!1){I(o,["mouseup","touchcancel","touchend"],this._onTapStop);return}Y(o,["mousemove","touchmove"],this._onTapMove,{passive:!1}),H(this._area,"display","block"),F(n,o)[0].appendChild(this._clippingElement),this.resolveSelectables(),this._singleClick=!1,this._targetRect=this._targetElement.getBoundingClientRect(),this._scrollAvailable=this._targetElement.scrollHeight!==this._targetElement.clientHeight||this._targetElement.scrollWidth!==this._targetElement.clientWidth,this._scrollAvailable&&(Y(this._targetElement,"wheel",this._manualScroll,{passive:!1}),this._selectables=this._selectables.filter(c=>this._targetElement.contains(c))),this._setupSelectionArea(),this._emitEvent("start",t),this._onTapMove(t)}this._handleMoveEvent(t)}_setupSelectionArea(){const{_clippingElement:t,_targetElement:n,_area:o}=this,i=this._targetRect=n.getBoundingClientRect();this._scrollAvailable?(H(t,{top:i.top,left:i.left,width:i.width,height:i.height}),H(o,{marginTop:-i.top,marginLeft:-i.left})):(H(t,{top:0,left:0,width:"100%",height:"100%"}),H(o,{marginTop:0,marginLeft:0}))}_onTapMove(t){const{x:n,y:o}=te(t),{_scrollSpeed:i,_areaLocation:r,_options:s,_frame:a}=this,{speedDivider:l}=s.behaviour.scrolling,c=this._targetElement;if(r.x2=n,r.y2=o,this._scrollAvailable&&!this._scrollingActive&&(i.y||i.x)){this._scrollingActive=!0;const d=()=>{if(!i.x&&!i.y){this._scrollingActive=!1;return}const{scrollTop:p,scrollLeft:h}=c;i.y&&(c.scrollTop+=Te(i.y/l),r.y1-=c.scrollTop-p),i.x&&(c.scrollLeft+=Te(i.x/l),r.x1-=c.scrollLeft-h),a.next(t),requestAnimationFrame(d)};requestAnimationFrame(d)}else a.next(t);this._handleMoveEvent(t)}_handleMoveEvent(t){const{features:n}=this._options;(n.touch&&Tt()||this._scrollAvailable&&At())&&t.preventDefault()}_onScroll(){const{_scrollDelta:t,_options:{document:n}}=this,{scrollTop:o,scrollLeft:i}=n.scrollingElement??n.body;this._areaLocation.x1+=t.x-i,this._areaLocation.y1+=t.y-o,t.x=i,t.y=o,this._setupSelectionArea(),this._frame.next(null)}_manualScroll(t){const{manualSpeed:n}=this._options.behaviour.scrolling,o=t.deltaY?t.deltaY>0?1:-1:0,i=t.deltaX?t.deltaX>0?1:-1:0;this._scrollSpeed.y+=o*n,this._scrollSpeed.x+=i*n,this._onTapMove(t),t.preventDefault()}_recalculateSelectionAreaRect(){const{_scrollSpeed:t,_areaLocation:n,_areaRect:o,_targetElement:i,_options:r}=this,{scrollTop:s,scrollHeight:a,clientHeight:l,scrollLeft:c,scrollWidth:d,clientWidth:p}=i,h=this._targetRect,{x1:m,y1:f}=n;let{x2:v,y2:g}=n;const{behaviour:{scrolling:{startScrollMargins:u}}}=r;vh.right-u.x?(t.x=d-c-p?B(h.left+h.width-v-u.x):0,v=v>h.right?h.right:v):t.x=0,gh.bottom-u.y?(t.y=a-s-l?B(h.top+h.height-g-u.y):0,g=g>h.bottom?h.bottom:g):t.y=0;const b=ze(m,v),x=ze(f,g),E=_e(m,v),y=_e(f,g);o.x=b,o.y=x,o.width=E-b,o.height=y-x}_redrawSelectionArea(){const{x:t,y:n,width:o,height:i}=this._areaRect,{style:r}=this._area;r.left=`${t}px`,r.top=`${n}px`,r.width=`${o}px`,r.height=`${i}px`}_onTapStop(t,n){var o;const{document:i,features:r}=this._options,{_singleClick:s}=this;I(i,["mousemove","touchmove"],this._delayedTapMove),I(i,["touchmove","mousemove"],this._onTapMove),I(i,["mouseup","touchcancel","touchend"],this._onTapStop),I(i,"scroll",this._onScroll),this._keepSelection(),t&&s&&r.singleTap.allow?this._onSingleTap(t):!s&&!n&&(this._updateElementSelection(),this._emitEvent("stop",t)),this._scrollSpeed.x=0,this._scrollSpeed.y=0,I(this._targetElement,"wheel",this._manualScroll,{passive:!0}),this._clippingElement.remove(),(o=this._frame)==null||o.cancel(),H(this._area,"display","none")}_updateElementSelection(){const{_selectables:t,_options:n,_selection:o,_areaRect:i}=this,{stored:r,selected:s,touched:a}=o,{intersect:l,overlap:c}=n.behaviour,d=c==="invert",p=[],h=[],m=[];for(let v=0;v!s.includes(v)));const f=c==="keep";for(let v=0;v!s.includes(l));switch(t.behaviour.overlap){case"drop":{n.stored=[...a,...s.filter(l=>!r.includes(l))];break}case"invert":{n.stored=[...a,...s.filter(l=>!i.removed.includes(l))];break}case"keep":{n.stored=[...s,...o.filter(l=>!s.includes(l))];break}}}trigger(t,n=!0){this._onTapStart(t,n)}resolveSelectables(){this._selectables=F(this._options.selectables,this._options.document)}clearSelection(t=!0,n=!1){const{selected:o,stored:i,changed:r}=this._selection;r.added=[],r.removed.push(...o,...t?i:[]),n||(this._emitEvent("move",null),this._emitEvent("stop",null)),this._selection={stored:t?[]:i,selected:[],touched:[],changed:{added:[],removed:[]}}}getSelection(){return this._selection.stored}getSelectionArea(){return this._area}cancel(t=!1){this._onTapStop(null,!t)}destroy(){this.cancel(),this.disable(),this._clippingElement.remove(),super.unbindAllListeners()}select(t,n=!1){const{changed:o,selected:i,stored:r}=this._selection,s=F(t,this._options.document).filter(a=>!i.includes(a)&&!r.includes(a));return r.push(...s),i.push(...s),o.added.push(...s),o.removed=[],this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)),s}deselect(t,n=!1){const{selected:o,stored:i,changed:r}=this._selection,s=F(t,this._options.document).filter(a=>o.includes(a)||i.includes(a));s.length&&(this._selection.stored=i.filter(a=>!s.includes(a)),this._selection.selected=o.filter(a=>!s.includes(a)),this._selection.changed.added=[],this._selection.changed.removed.push(...s.filter(a=>!r.removed.includes(a))),this._latestElement=void 0,n||(this._emitEvent("move",null),this._emitEvent("stop",null)))}}M(We,"version","3.5.1");function It(e){const t=e.mouseSelectionButton===2?[2]:[0],n=new We({selectables:[".map-container me-tpc"],boundaries:[e.container],container:e.selectionContainer,behaviour:{triggers:t,scrolling:{speedDivider:10,manualSpeed:750,startScrollMargins:{x:10,y:10}}}}).on("beforestart",({event:o})=>{if(o.target.tagName==="ME-TPC"||o.target.id==="input-box"||o.target.className==="circle")return!1;const i=n.getSelectionArea();return i.style.background="#4f90f22d",i.style.border="1px solid #4f90f2",i.parentElement&&(i.parentElement.style.zIndex="9999"),!0}).on("start",({event:o})=>{!o.ctrlKey&&!o.metaKey&&(e.clearSelection(),n.clearSelection(!0,!0))}).on("move",({store:{changed:{added:o,removed:i}}})=>{k.moved=!0;for(const r of o)r.classList.add("selected");for(const r of i)r.classList.remove("selected")}).on("stop",({store:{stored:o}})=>{e.selectNodes(o)});e.selection=n}const Ot=function(e,t=!0){this.theme=e;const n=this.theme.cssVar,o=Object.keys(n);this.container.style.cssText="";for(let i=0;i{var t;const n=(t=e.parent)==null?void 0:t.children,o=n?.indexOf(e)??0;return{siblings:n,index:o}};function $t(e){const{siblings:t,index:n}=K(e);if(t===void 0)return;const o=t[n];n===0?(t[n]=t[t.length-1],t[t.length-1]=o):(t[n]=t[n-1],t[n-1]=o)}function Pt(e){const{siblings:t,index:n}=K(e);if(t===void 0)return;const o=t[n];n===t.length-1?(t[n]=t[0],t[0]=o):(t[n]=t[n+1],t[n+1]=o)}function be(e){const{siblings:t,index:n}=K(e);return t===void 0?0:(t.splice(n,1),t.length)}function Bt(e,t,n){const{siblings:o,index:i}=K(n);o!==void 0&&(t==="before"?o.splice(i,0,e):o.splice(i+1,0,e))}function Rt(e,t){const{siblings:n,index:o}=K(e);n!==void 0&&(n[o]=t,t.children=[e])}function Ve(e,t,n){var o;if(be(t),(o=n.parent)!=null&&o.parent||(t.direction=n.direction),e==="in")n.children?n.children.push(t):n.children=[t];else{t.direction!==void 0&&(t.direction=n.direction);const{siblings:i,index:r}=K(n);if(i===void 0)return;e==="before"?i.splice(r,0,t):i.splice(r+1,0,t)}}const Yt=function({map:e,direction:t},n){var o,i;if(t===T)return T;if(t===O)return O;if(t===ce){const r=((o=e.querySelector(".lhs"))==null?void 0:o.childElementCount)||0,s=((i=e.querySelector(".rhs"))==null?void 0:i.childElementCount)||0;return r<=s?(n.direction=T,T):(n.direction=O,O)}},qe=function(e,t,n){var o,i;const r=n.children[0].children[0],s=t.parentElement;if(s.tagName==="ME-PARENT"){if(Q(r),s.children[1])s.nextSibling.appendChild(n);else{const a=e.createChildren([n]);s.appendChild(ve(!0)),s.insertAdjacentElement("afterend",a)}e.linkDiv(n.offsetParent)}else s.tagName==="ME-ROOT"&&(Yt(e,r.nodeObj)===T?(o=e.container.querySelector(".lhs"))==null||o.appendChild(n):(i=e.container.querySelector(".rhs"))==null||i.appendChild(n),e.linkDiv())},Ke=function(e,t){const n=e.parentNode;if(t===0){const o=n.parentNode.parentNode;o.tagName!=="ME-MAIN"&&(o.previousSibling.children[1].remove(),o.remove())}n.parentNode.remove()},Ue={before:"beforebegin",after:"afterend"},Q=function(e){const t=e.parentElement.parentElement.lastElementChild;t?.tagName==="svg"&&t?.remove()},Ft=function(e,t){const n=e.nodeObj,o=fe(n);o.style&&t.style&&(t.style=Object.assign(o.style,t.style));const i=Object.assign(n,t);ge(e,i),this.linkDiv(),this.bus.fire("operation",{name:"reshapeNode",obj:i,origin:o})},ye=function(e,t,n){if(!t)return null;const o=t.nodeObj;o.expanded===!1&&(e.expandNode(t,!0),t=C(o.id));const i=n||e.generateNewObj();o.children?o.children.push(i):o.children=[i],$(e.nodeData);const{grp:r,top:s}=e.createWrapper(i);return qe(e,t,r),{newTop:s,newNodeObj:i}},Wt=function(e,t,n){var o,i,r,s;const a=t||this.currentNode;if(!a)return;const l=a.nodeObj;if(l.parent){if(!((o=l.parent)!=null&&o.parent)&&((r=(i=l.parent)==null?void 0:i.children)==null?void 0:r.length)===1){this.addChild(C(l.parent.id),n);return}}else{this.addChild();return}const c=n||this.generateNewObj();if(!((s=l.parent)!=null&&s.parent)){const m=a.closest("me-main").className===j.LHS?T:O;c.direction=m}Bt(c,e,l),$(this.nodeData);const d=a.parentElement,{grp:p,top:h}=this.createWrapper(c);d.parentElement.insertAdjacentElement(Ue[e],p),this.linkDiv(p.offsetParent),n||this.editTopic(h.firstChild),this.selectNode(h.firstChild,!0),this.bus.fire("operation",{name:"insertSibling",type:e,obj:c})},Vt=function(e,t){const n=e||this.currentNode;if(!n)return;Q(n);const o=n.nodeObj;if(!o.parent)return;const i=t||this.generateNewObj();Rt(o,i),$(this.nodeData);const r=n.parentElement.parentElement,{grp:s,top:a}=this.createWrapper(i,!0);a.appendChild(ve(!0)),r.insertAdjacentElement("afterend",s);const l=this.createChildren([r]);a.insertAdjacentElement("afterend",l),this.linkDiv(),t||this.editTopic(a.firstChild),this.selectNode(a.firstChild,!0),this.bus.fire("operation",{name:"insertParent",obj:i})},qt=function(e,t){const n=e||this.currentNode;if(!n)return;const o=ye(this,n,t);if(!o)return;const{newTop:i,newNodeObj:r}=o;this.bus.fire("operation",{name:"addChild",obj:r}),t||this.editTopic(i.firstChild),this.selectNode(i.firstChild,!0)},Kt=function(e,t){const n=fe(e.nodeObj);me(n);const o=ye(this,t,n);if(!o)return;const{newNodeObj:i}=o;this.selectNode(C(i.id)),this.bus.fire("operation",{name:"copyNode",obj:i})},Ut=function(e,t){e=de(e);const n=[];for(let o=0;oC(o.id))),this.bus.fire("operation",{name:"copyNodes",objs:n})},Zt=function(e){const t=e||this.currentNode;if(!t)return;const n=t.nodeObj;$t(n);const o=t.parentNode.parentNode;o.parentNode.insertBefore(o,o.previousSibling),this.linkDiv(),this.bus.fire("operation",{name:"moveUpNode",obj:n})},Jt=function(e){const t=e||this.currentNode;if(!t)return;const n=t.nodeObj;Pt(n);const o=t.parentNode.parentNode;o.nextSibling?o.nextSibling.insertAdjacentElement("afterend",o):o.parentNode.prepend(o),this.linkDiv(),this.bus.fire("operation",{name:"moveDownNode",obj:n})},Gt=function(e){var t;const n=e||this.currentNode;if(!n)return;const o=n.nodeObj;if(!o.parent)throw new Error("최상위 항목은 삭제할 수 없습니다");const i=o.parent.children,r=i.findIndex(a=>a===o),s=be(o);if(Ke(n,s),i.length!==0){const a=i[r]||i[r-1];this.selectNode(C(a.id))}else this.selectNode(C(o.parent.id));this.linkDiv(),this.bus.fire("operation",{name:"removeNode",obj:o,originIndex:r,originParentId:(t=o?.parent)==null?void 0:t.id})},Xt=function(e){e=de(e);for(const t of e){const n=t.nodeObj;if(!n.parent)continue;const o=be(n);Ke(t,o)}this.linkDiv(),this.bus.fire("operation",{name:"removeNodes",objs:e.map(t=>t.nodeObj)})},Qt=function(e,t){e=de(e);const n=t.nodeObj;n.expanded===!1&&(this.expandNode(t,!0),t=C(n.id));for(const o of e){const i=o.nodeObj;Ve("in",i,n),$(this.nodeData);const r=o.parentElement;qe(this,t,r.parentElement)}this.linkDiv(),this.bus.fire("operation",{name:"moveNodeIn",objs:e.map(o=>o.nodeObj),toObj:n})},Ze=(e,t,n,o)=>{e=de(e),t==="after"&&(e=e.reverse());const i=n.nodeObj,r=[];for(const s of e){const a=s.nodeObj;Ve(t,a,i),$(o.nodeData),Q(s);const l=s.parentElement.parentNode;r.includes(l.parentElement)||r.push(l.parentElement),n.parentElement.parentNode.insertAdjacentElement(Ue[t],l)}for(const s of r)s.childElementCount===0&&s.tagName!=="ME-MAIN"&&(s.previousSibling.children[1].remove(),s.remove());o.linkDiv(),o.bus.fire("operation",{name:t==="before"?"moveNodeBefore":"moveNodeAfter",objs:e.map(s=>s.nodeObj),toObj:i})},en=function(e,t){Ze(e,"before",t,this)},tn=function(e,t){Ze(e,"after",t,this)},nn=function(e){const t=e||this.currentNode;t&&(t.nodeObj.dangerouslySetInnerHTML||this.editTopic(t))},on=function(e,t){e.text.textContent=t,e.nodeObj.topic=t,this.linkDiv()},Je=Object.freeze(Object.defineProperty({__proto__:null,addChild:qt,beginEdit:nn,copyNode:Kt,copyNodes:Ut,insertParent:Vt,insertSibling:Wt,moveDownNode:Jt,moveNodeAfter:tn,moveNodeBefore:en,moveNodeIn:Qt,moveUpNode:Zt,removeNode:Gt,removeNodes:Xt,reshapeNode:Ft,rmSubline:Q,setNodeTopic:on},Symbol.toStringTag,{value:"Module"}));function Ge(e){return{nodeData:e.isFocusMode?e.nodeDataBackup:e.nodeData,arrows:e.arrows,summaries:e.summaries,direction:e.direction,theme:e.theme}}const rn=function(e,t,n){if(e){if(this.clearSelection(),typeof e=="string"){const o=C(e);return o?this.selectNode(o):void 0}e.className="selected",e.scrollIntoView({block:"nearest",inline:"nearest"}),this.currentNode=e,t?this.bus.fire("selectNewNode",e.nodeObj):this.bus.fire("selectNode",e.nodeObj,n)}},sn=function(){this.currentNode&&(this.currentNode.className=""),this.currentNode=null,this.bus.fire("unselectNode")},an=function(e){this.clearSelection();for(const t of e)t.className="selected";this.currentNodes=e,this.bus.fire("selectNodes",e.map(t=>t.nodeObj))},ln=function(){if(this.currentNodes)for(const e of this.currentNodes)e.classList.remove("selected");this.currentNodes=null,this.bus.fire("unselectNodes")},cn=function(){this.unselectNode(),this.unselectNodes(),this.unselectSummary(),this.unselectArrow()},dn=function(){const e=Ge(this);return JSON.stringify(e,(t,n)=>{if(!(t==="parent"&&typeof n!="string"))return n})},hn=function(){return JSON.parse(this.getDataString())},pn=function(){const e=Ge(this).nodeData;let t="# "+e.topic+` + +`;function n(o,i){for(let r=0;rthis.createWrapper(l).grp));o.parentNode.appendChild(a)}else o.parentNode.children[1].remove();this.linkDiv(e.closest("me-main > me-wrapper"));const r=e.getBoundingClientRect(),s=this.container.getBoundingClientRect();(r.bottom>s.bottom||r.tops.right||r.lefte.h/e.w||o<-e.h/e.w?e.cy-e.ctrlY<0?(t=e.cx-e.h/2/o,n=e.cy+e.h/2):(t=e.cx+e.h/2/o,n=e.cy-e.h/2):e.cx-e.ctrlX<0?(t=e.cx+e.w/2,n=e.cy-e.w*o/2):(t=e.cx-e.w/2,n=e.cy+e.w*o/2),{x:t,y:n}}const kn=function(e,t,n,o){const i=document.createElementNS("http://www.w3.org/2000/svg","text");return w(i,{"text-anchor":"middle",x:t+"",y:n+"",fill:o||"#666"}),i.dataset.type="custom-link",i.innerHTML=e,i},Xe=function(e,t,n,o,i){if(!t||!n)return;performance.now();const r=le(e,t,o.delta1),s=le(e,n,o.delta2),{x:a,y:l}=W(r),{ctrlX:c,ctrlY:d}=r,{ctrlX:p,ctrlY:h}=s,{x:m,y:f}=W(s),v=se(p,h,m,f),g=`M ${v.x1} ${v.y1} L ${m} ${f} L ${v.x2} ${v.y2}`;let u="";if(o.bidirectional){const N=se(c,d,a,l);u=`M ${N.x1} ${N.y1} L ${a} ${l} L ${N.x2} ${N.y2}`}const b=pt(`M ${a} ${l} C ${c} ${d} ${p} ${h} ${m} ${f}`,g,u),x=a/8+c*3/8+p*3/8+m/8,E=l/8+d*3/8+h*3/8+f/8,y=kn(o.label,x,E,e.theme.cssVar["--color"]);b.appendChild(y),b.arrowObj=o,b.dataset.linkid=o.id,e.linkSvgGroup.appendChild(b),i||(e.arrows.push(o),e.currentArrow=b,Qe(e,o,r,s)),performance.now()},_n=function(e,t,n={}){const o={id:q(),label:"사용자 지정 연결",from:e.nodeObj.id,to:t.nodeObj.id,delta1:{x:0,y:-200},delta2:{x:0,y:-200},...n};Xe(this,e,t,o),this.bus.fire("operation",{name:"createArrow",obj:o})},zn=function(e){let t;if(e?t=e:t=this.currentArrow,!t)return;xe(this);const n=t.arrowObj.id;this.arrows=this.arrows.filter(o=>o.id!==n),t.remove(),this.bus.fire("operation",{name:"removeArrow",obj:{id:n}})},Tn=function(e){this.currentArrow=e;const t=e.arrowObj,n=C(t.from),o=C(t.to),i=le(this,n,t.delta1),r=le(this,o,t.delta2);Qe(this,t,i,r)},An=function(){this.currentArrow=null,xe(this)},xe=function(e){var t,n;(t=e.helper1)==null||t.destory(e.map),(n=e.helper2)==null||n.destory(e.map),e.linkController.style.display="none",e.P2.style.display="none",e.P3.style.display="none"},Qe=function(e,t,n,o){e.linkController.style.display="initial",e.P2.style.display="initial",e.P3.style.display="initial",e.nodes.appendChild(e.linkController),e.nodes.appendChild(e.P2),e.nodes.appendChild(e.P3);let{x:i,y:r}=W(n),{ctrlX:s,ctrlY:a}=n,{ctrlX:l,ctrlY:c}=o,{x:d,y:p}=W(o);e.P2.style.cssText=`top:${a}px;left:${s}px;`,e.P3.style.cssText=`top:${c}px;left:${l}px;`,w(e.line1,{x1:i+"",y1:r+"",x2:s+"",y2:a+""}),w(e.line2,{x1:l+"",y1:c+"",x2:d+"",y2:p+""}),e.helper1=Ae.create(e.P2),e.helper2=Ae.create(e.P3),e.helper1.init(e.map,(h,m)=>{if(!e.currentArrow)return;s=s+h/e.scaleVal,a=a+m/e.scaleVal;const f=W({...n,ctrlX:s,ctrlY:a});i=f.x,r=f.y;const v=i/8+s*3/8+l*3/8+d/8,g=r/8+a*3/8+c*3/8+p/8;if(e.P2.style.top=a+"px",e.P2.style.left=s+"px",e.currentArrow.children[0].setAttribute("d",`M ${i} ${r} C ${s} ${a} ${l} ${c} ${d} ${p}`),t.bidirectional){const u=se(s,a,i,r);e.currentArrow.children[2].setAttribute("d",`M ${u.x1} ${u.y1} L ${i} ${r} L ${u.x2} ${u.y2}`)}w(e.currentArrow.children[3],{x:v+"",y:g+""}),w(e.line1,{x1:i+"",y1:r+"",x2:s+"",y2:a+""}),t.delta1.x=s-n.cx,t.delta1.y=a-n.cy,e.bus.fire("updateArrowDelta",t)}),e.helper2.init(e.map,(h,m)=>{if(!e.currentArrow)return;l=l+h/e.scaleVal,c=c+m/e.scaleVal;const f=W({...o,ctrlX:l,ctrlY:c});d=f.x,p=f.y;const v=i/8+s*3/8+l*3/8+d/8,g=r/8+a*3/8+c*3/8+p/8,u=se(l,c,d,p);e.P3.style.top=c+"px",e.P3.style.left=l+"px",e.currentArrow.children[0].setAttribute("d",`M ${i} ${r} C ${s} ${a} ${l} ${c} ${d} ${p}`),e.currentArrow.children[1].setAttribute("d",`M ${u.x1} ${u.y1} L ${d} ${p} L ${u.x2} ${u.y2}`),w(e.currentArrow.children[3],{x:v+"",y:g+""}),w(e.line2,{x1:l+"",y1:c+"",x2:d+"",y2:p+""}),t.delta2.x=l-o.cx,t.delta2.y=c-o.cy,e.bus.fire("updateArrowDelta",t)})};function Dn(){this.linkSvgGroup.innerHTML="";for(let e=0;e{var o;const i=e.arrowObj,r=((o=n.textContent)==null?void 0:o.trim())||"";r===""?i.label=origin:i.label=r,n.remove(),r!==origin&&(t.innerHTML=i.label,this.linkDiv(),this.bus.fire("operation",{name:"finishEditArrowLabel",obj:i}))})}function In(){this.arrows=this.arrows.filter(e=>re(e.from,this.nodeData)&&re(e.to,this.nodeData))}const On=Object.freeze(Object.defineProperty({__proto__:null,createArrow:_n,editArrowLabel:Hn,removeArrow:zn,renderArrow:Dn,selectArrow:Tn,tidyArrow:In,unselectArrow:An},Symbol.toStringTag,{value:"Module"})),$n=function(e){var t,n;if(e.length===0)throw new Error("선택한 항목이 없습니다.");if(e.length===1){const d=e[0].nodeObj,p=e[0].nodeObj.parent;if(!p)throw new Error("최상위 항목은 선택할 수 없습니다.");const h=p.children.findIndex(m=>d===m);return{parent:p.id,start:h,end:h}}let o=0;const i=e.map(d=>{let p=d.nodeObj;const h=[];for(;p.parent;){const m=p.parent,f=m.children,v=f?.indexOf(p);p=m,h.unshift({node:p,index:v})}return h.length>o&&(o=h.length),h});let r=0;e:for(;rd[r-1].index).sort(),a=s[0]||0,l=s[s.length-1]||0,c=i[0][r-1].node;if(!c.parent)throw new Error("같은 주제에 속한 항목을 선택하세요.");return{parent:c.id,start:a,end:l}},Pn=function(e){const t=document.createElementNS("http://www.w3.org/2000/svg","g");return t.setAttribute("id",e),t},De=function(e,t){const n=document.createElementNS("http://www.w3.org/2000/svg","path");return w(n,{d:e,stroke:t||"#666",fill:"none","stroke-linecap":"round","stroke-width":"2"}),n},He=function(e,t,n,o,i){const r=document.createElementNS("http://www.w3.org/2000/svg","text");return w(r,{"text-anchor":o,x:t+"",y:n+"",fill:i||"#666"}),r.innerHTML=e,r},Bn=e=>C(e).parentElement.parentElement,Rn=function({parent:e,start:t}){const n=C(e),o=n.nodeObj;let i;return o.parent?i=n.closest("me-main").className:i=C(o.children[t].id).closest("me-main").className,i},Ne=function(e,t){var n;const{id:o,text:i,parent:r,start:s,end:a}=t,l=e.nodes,c=C(r).nodeObj,d=Rn(t);let p=1/0,h=0,m=0,f=0;for(let N=s;N<=a;N++){const L=(n=c.children)==null?void 0:n[N];if(!L)return e.removeSummary(o),null;const S=Bn(L.id),{offsetLeft:A,offsetTop:U}=P(l,S),Z=s===a?10:20;N===s&&(m=U+Z),N===a&&(f=U+S.offsetHeight-Z),Ah&&(h=S.offsetWidth+A)}let v,g;const u=m+10,b=f+10,x=(u+b)/2,E=e.theme.cssVar["--color"];d===j.LHS?(v=De(`M ${p+10} ${u} c -5 0 -10 5 -10 10 L ${p} ${b-10} c 0 5 5 10 10 10 M ${p} ${x} h -10`,E),g=He(i,p-20,x+6,"end",E)):(v=De(`M ${h-10} ${u} c 5 0 10 5 10 10 L ${h} ${b-10} c 0 5 -5 10 -10 10 M ${h} ${x} h 10`,E),g=He(i,h+20,x+6,"start",E));const y=Pn("s-"+o);return y.appendChild(v),y.appendChild(g),y.summaryObj=t,e.summarySvg.appendChild(y),y},Yn=function(){let e=[];this.currentNode?e=[this.currentNode]:this.currentNodes&&(e=this.currentNodes);const{parent:t,start:n,end:o}=$n(e),i={id:q(),parent:t,start:n,end:o,text:"summary"},r=Ne(this,i);this.summaries.push(i),this.editSummary(r),this.bus.fire("operation",{name:"createSummary",obj:i})},Fn=function(e){const t=q(),n={...e,id:t};Ne(this,n),this.summaries.push(n),this.bus.fire("operation",{name:"createSummary",obj:n})},Wn=function(e){var t;const n=this.summaries.findIndex(o=>o.id===e);n>-1&&(this.summaries.splice(n,1),(t=document.querySelector("#s-"+e))==null||t.remove()),this.bus.fire("operation",{name:"removeSummary",obj:{id:e}})},Vn=function(e){const t=e.children[1].getBBox(),n=6,o=3,i=document.createElementNS("http://www.w3.org/2000/svg","rect");w(i,{x:t.x-n+"",y:t.y-n+"",width:t.width+n*2+"",height:t.height+n*2+"",rx:o+"",stroke:this.theme.cssVar["--selected"]||"#4dc4ff","stroke-width":"2",fill:"none"}),e.appendChild(i),this.currentSummary=e},qn=function(){var e,t;(t=(e=this.currentSummary)==null?void 0:e.querySelector("rect"))==null||t.remove(),this.currentSummary=null},Kn=function(){this.summarySvg.innerHTML="",this.summaries.forEach(e=>{try{Ne(this,e)}catch{}}),this.nodes.insertAdjacentElement("beforeend",this.summarySvg)},Un=function(e){if(!e)return;const t=e.childNodes[1];Re(this,t,n=>{var o;const i=e.summaryObj,r=((o=n.textContent)==null?void 0:o.trim())||"";r===""?i.text=origin:i.text=r,n.remove(),r!==origin&&(t.innerHTML=i.text,this.linkDiv(),this.bus.fire("operation",{name:"finishEditSummary",obj:i}))})},Zn=Object.freeze(Object.defineProperty({__proto__:null,createSummary:Yn,createSummaryFrom:Fn,editSummary:Un,removeSummary:Wn,renderSummary:Kn,selectSummary:Vn,unselectSummary:qn},Symbol.toStringTag,{value:"Module"})),z="http://www.w3.org/2000/svg";function Jn(e,t){const n=document.createElementNS(z,"svg");return w(n,{version:"1.1",xmlns:z,height:e,width:t}),n}function Gn(e,t){return(parseInt(e)-parseInt(t))/2}function Xn(e,t,n,o){const i=document.createElementNS(z,"g");let r="";return e.text?r=e.text.textContent:r=e.childNodes[0].textContent,r.split(` +`).forEach((s,a)=>{const l=document.createElementNS(z,"text");w(l,{x:n+parseInt(t.paddingLeft)+"",y:o+parseInt(t.paddingTop)+Gn(t.lineHeight,t.fontSize)*(a+1)+parseFloat(t.fontSize)*(a+1)+"","text-anchor":"start","font-family":t.fontFamily,"font-size":`${t.fontSize}`,"font-weight":`${t.fontWeight}`,fill:`${t.color}`}),l.innerHTML=s,i.appendChild(l)}),i}function Qn(e,t,n,o){var i;let r="";(i=e.nodeObj)!=null&&i.dangerouslySetInnerHTML?r=e.nodeObj.dangerouslySetInnerHTML:e.text?r=e.text.textContent:r=e.childNodes[0].textContent;const s=document.createElementNS(z,"foreignObject");w(s,{x:n+parseInt(t.paddingLeft)+"",y:o+parseInt(t.paddingTop)+"",width:t.width,height:t.height});const a=document.createElement("div");return w(a,{xmlns:"http://www.w3.org/1999/xhtml",style:`font-family: ${t.fontFamily}; font-size: ${t.fontSize}; font-weight: ${t.fontWeight}; color: ${t.color}; white-space: pre-wrap;`}),a.innerHTML=r,s.appendChild(a),s}function eo(e,t){const n=getComputedStyle(t),{offsetLeft:o,offsetTop:i}=P(e.nodes,t),r=document.createElementNS(z,"rect");return w(r,{x:o+"",y:i+"",rx:n.borderRadius,ry:n.borderRadius,width:n.width,height:n.height,fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.borderWidth}),r}function ne(e,t,n=!1){const o=getComputedStyle(t),{offsetLeft:i,offsetTop:r}=P(e.nodes,t),s=document.createElementNS(z,"rect");w(s,{x:i+"",y:r+"",rx:o.borderRadius,ry:o.borderRadius,width:o.width,height:o.height,fill:o.backgroundColor,stroke:o.borderColor,"stroke-width":o.borderWidth});const a=document.createElementNS(z,"g");a.appendChild(s);let l;return n?l=Qn(t,o,i,r):l=Xn(t,o,i,r),a.appendChild(l),a}function to(e,t){const n=getComputedStyle(t),{offsetLeft:o,offsetTop:i}=P(e.nodes,t),r=document.createElementNS(z,"a"),s=document.createElementNS(z,"text");return w(s,{x:o+"",y:i+parseInt(n.fontSize)+"","text-anchor":"start","font-family":n.fontFamily,"font-size":`${n.fontSize}`,"font-weight":`${n.fontWeight}`,fill:`${n.color}`}),s.innerHTML=t.textContent,r.appendChild(s),r.setAttribute("href",t.href),r}function no(e,t){const n=getComputedStyle(t),{offsetLeft:o,offsetTop:i}=P(e.nodes,t),r=document.createElementNS(z,"image");return w(r,{x:o+"",y:i+"",width:n.width+"",height:n.height+"",href:t.src}),r}const oe=100,oo='',io=(e,t=!1)=>{var n,o,i;const r=e.nodes,s=r.offsetHeight+oe*2,a=r.offsetWidth+oe*2,l=Jn(s+"px",a+"px"),c=document.createElementNS(z,"svg"),d=document.createElementNS(z,"rect");w(d,{x:"0",y:"0",width:`${a}`,height:`${s}`,fill:e.theme.cssVar["--bgcolor"]}),l.appendChild(d),r.querySelectorAll(".subLines").forEach(f=>{const v=f.cloneNode(!0),{offsetLeft:g,offsetTop:u}=P(r,f.parentElement);v.setAttribute("x",`${g}`),v.setAttribute("y",`${u}`),c.appendChild(v)});const p=(n=r.querySelector(".lines"))==null?void 0:n.cloneNode(!0);p&&c.appendChild(p);const h=(o=r.querySelector(".topiclinks"))==null?void 0:o.cloneNode(!0);h&&c.appendChild(h);const m=(i=r.querySelector(".summary"))==null?void 0:i.cloneNode(!0);return m&&c.appendChild(m),r.querySelectorAll("me-tpc").forEach(f=>{f.nodeObj.dangerouslySetInnerHTML?c.appendChild(ne(e,f,!t)):(c.appendChild(eo(e,f)),c.appendChild(ne(e,f.text,!t)))}),r.querySelectorAll(".tags > span").forEach(f=>{c.appendChild(ne(e,f))}),r.querySelectorAll(".icons > span").forEach(f=>{c.appendChild(ne(e,f))}),r.querySelectorAll(".hyper-link").forEach(f=>{c.appendChild(to(e,f))}),r.querySelectorAll("img").forEach(f=>{c.appendChild(no(e,f))}),w(c,{x:oe+"",y:oe+"",overflow:"visible"}),l.appendChild(c),l},ro=(e,t)=>(t&&e.insertAdjacentHTML("afterbegin",""),oo+e.outerHTML);function so(e){return new Promise((t,n)=>{const o=new FileReader;o.onload=i=>{t(i.target.result)},o.onerror=i=>{n(i)},o.readAsDataURL(e)})}const ao=function(e=!1,t){const n=io(this,e),o=ro(n,t);return new Blob([o],{type:"image/svg+xml"})},lo=async function(e=!1,t){const n=this.exportSvg(e,t),o=await so(n);return new Promise((i,r)=>{const s=new Image;s.setAttribute("crossOrigin","anonymous"),s.onload=()=>{const a=document.createElement("canvas");a.width=s.width,a.height=s.height,a.getContext("2d").drawImage(s,0,0),a.toBlob(i,"image/png",1)},s.src=o,s.onerror=r})},co=Object.freeze(Object.defineProperty({__proto__:null,exportPng:lo,exportSvg:ao},Symbol.toStringTag,{value:"Module"}));function ho(e,t){return async function(...n){const o=this.before[t];o&&!await o.apply(this,n)||e.apply(this,n)}}const Ie=Object.keys(Je),et={};for(let e=0;et()),this.el&&(this.el.innerHTML=""),this.el=void 0,this.nodeData=void 0,this.arrows=void 0,this.summaries=void 0,this.currentArrow=void 0,this.currentNode=void 0,this.currentNodes=void 0,this.currentSummary=void 0,this.waitCopy=void 0,this.theme=void 0,this.direction=void 0,this.bus=void 0,this.container=void 0,this.map=void 0,this.lines=void 0,this.linkController=void 0,this.linkSvgGroup=void 0,this.P2=void 0,this.P3=void 0,this.line1=void 0,this.line2=void 0,this.nodes=void 0,(e=this.selection)==null||e.destroy(),this.selection=void 0}};function uo({pT:e,pL:t,pW:n,pH:o,cT:i,cL:r,cW:s,cH:a,direction:l,containerHeight:c}){let d=t+n/2;const p=e+o/2;let h;l===j.LHS?h=r+s:h=r;const m=i+a/2,f=(1-Math.abs(m-p)/c)*.25*(n/2);return l===j.LHS?d=d-n/10-f:d=d+n/10+f,`M ${d} ${p} Q ${d} ${m} ${h} ${m}`}function mo({pT:e,pL:t,pW:n,pH:o,cT:i,cL:r,cW:s,cH:a,direction:l,isFirst:c}){const d=parseInt(this.container.style.getPropertyValue("--gap"));let p=0,h=0;c?p=e+o/2:p=e+o;const m=i+a;let f=0,v=0,g=0;const u=Math.abs(p-m)/300*d;return l===j.LHS?(g=t,f=g+d,v=g-d,h=r+d,`M ${f} ${p} C ${g} ${p} ${g+u} ${m} ${v} ${m} H ${h}`):(g=t+n,f=g-d,v=g+d,h=r+s-d,`M ${f} ${p} C ${g} ${p} ${g-u} ${m} ${v} ${m} H ${h}`)}const fo="4.6.0",J=document;function D({el:e,direction:t,locale:n,draggable:o,editable:i,contextMenu:r,toolBar:s,keypress:a,mouseSelectionButton:l,selectionContainer:c,before:d,newTopicName:p,allowUndo:h,generateMainBranch:m,generateSubBranch:f,overflowHidden:v,theme:g,alignment:u}){let b=null;const x=Object.prototype.toString.call(e);if(x==="[object HTMLDivElement]"?b=e:x==="[object String]"&&(b=document.querySelector(e)),!b)throw new Error("MindElixir: el is not a valid element");b.style.position="relative",b.innerHTML="",this.el=b,this.disposable=[],this.before=d||{},this.locale=n||"en",this.contextMenu=r===void 0?!0:r,this.toolBar=s===void 0?!0:s,this.keypress=a===void 0?!0:a,this.mouseSelectionButton=l||0,this.direction=typeof t=="number"?t:1,this.draggable=o===void 0?!0:o,this.newTopicName=p||"new node",this.editable=i===void 0?!0:i,this.allowUndo=h===void 0?!1:h,this.currentNode=null,this.currentArrow=null,this.scaleVal=1,this.tempDirection=null,this.generateMainBranch=m||uo,this.generateSubBranch=f||mo,this.overflowHidden=v||!1,this.bus=ot.create(),this.container=J.createElement("div"),this.selectionContainer=c||this.container,this.container.className="map-container";const E=window.matchMedia("(prefers-color-scheme: dark)");this.theme=g||(E.matches?$e:Oe);const y=J.createElement("div");y.className="map-canvas",this.map=y,this.map.setAttribute("tabindex","0"),this.container.appendChild(this.map),this.el.appendChild(this.container),this.nodes=J.createElement("me-nodes"),this.nodes.className="main-node-container",this.lines=G("lines"),this.summarySvg=G("summary"),this.linkController=G("linkcontroller"),this.P2=J.createElement("div"),this.P3=J.createElement("div"),this.P2.className=this.P3.className="circle",this.P2.style.display=this.P3.style.display="none",this.line1=Me(),this.line2=Me(),this.linkController.appendChild(this.line1),this.linkController.appendChild(this.line2),this.linkSvgGroup=G("topiclinks"),this.alignment=u??"root",this.map.appendChild(this.nodes),this.overflowHidden?this.container.style.overflow="hidden":nt(this)}D.prototype=po;D.LEFT=T;D.RIGHT=O;D.SIDE=ce;D.THEME=Oe;D.DARK_THEME=$e;D.version=fo;D.E=C;D.new=e=>({nodeData:{id:q(),topic:e||"new topic",children:[]}});D.dragMoveHelper=k;export{D as default}; diff --git a/updates/2026-09-05/deployed/ckeditor-ko.js b/updates/2026-09-05/deployed/ckeditor-ko.js new file mode 100644 index 0000000..877ce9f --- /dev/null +++ b/updates/2026-09-05/deployed/ckeditor-ko.js @@ -0,0 +1,2 @@ +/* CKEditor 45.2.0 Korean translations. Copyright CKSource. See https://ckeditor.com/legal/ckeditor-licensing-options */ +export default {"ko":{"dictionary":{"Words: %0":"단어 수: %0","Characters: %0":"문자 수: %0","Widget toolbar":"위젯 도구 모음","Insert paragraph before block":"블록 앞에 단락 삽입","Insert paragraph after block":"블록 뒤에 단락 삽입","Press Enter to type after or press Shift + Enter to type before the widget":"엔터를 눌러서 위젯 뒤에 입력하거나 시프트 + 엔터를 눌러서 위젯 앞에 입력하세요","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"이미지나 표 등의 위젯을 선택했을 때 사용할 수 있는 단축키","Insert a new paragraph directly after a widget":"위젯 바로 뒤에 새 단락 삽입","Insert a new paragraph directly before a widget":"위젯 바로 앞에 새 단락 삽입","Move the caret to allow typing directly before a widget":"위젯 바로 앞에 입력할 수 있도록 삽입 기호 이동","Move the caret to allow typing directly after a widget":"위젯 바로 뒤에 입력할 수 있도록 삽입 기호 이동","Move focus from an editable area back to the parent widget":"포커스를 편집 가능 영역에서 부모위젯으로 옮기기","Upload in progress":"업로드 진행 중","Undo":"실행 취소","Redo":"다시 실행","Rich Text Editor":"서식 있는 텍스트 편집기","Edit block":"편집 영역","Click to edit block":"클릭하여 블록 편집","Drag to move":"드래그하여 이동","Next":"다음","Previous":"이전","Editor toolbar":"편집 도구 모음","Dropdown toolbar":"드롭다운 툴바","Dropdown menu":"드롭다운 메뉴","Black":"검은색","Dim grey":"진한 회색","Grey":"회색","Light grey":"밝은 회색","White":"흰색","Red":"빨간색","Orange":"주황색","Yellow":"노랑색","Light green":"연한 초록색","Green":"초록색","Aquamarine":"연한 청록색","Turquoise":"청록색","Light blue":"연한 파랑색","Blue":"파랑색","Purple":"보라색","Editor block content toolbar":"편집기 영역 내용 툴바","Editor contextual toolbar":"편집기 문맥 툴바","HEX":"HEX","No results found":"결과 찾을 수 없음","No searchable items":"검색 가능한 항목 없음","Editor dialog":"편집기 대화상자","Close":"닫기","Help Contents. To close this dialog press ESC.":"도움말 내용입니다. 이 대화 상자를 닫으려면 ESC 키를 누르세요.","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"편집기에서 사용할 수 있는 키보드 단축키 목록을 아래에서 확인할 수 있습니다.","(may require Fn)":"(Fn 키가 필요할 수 있음)","Accessibility":"접근성","Accessibility help":"접근성 도움말","Press %0 for help.":"도움말을 보려면 %0 키를 누르세요.","Move focus in and out of an active dialog window":"활성화된 대화 창 안팎으로 포커스 이동","MENU_BAR_MENU_FILE":"파일","MENU_BAR_MENU_EDIT":"수정","MENU_BAR_MENU_VIEW":"보기","MENU_BAR_MENU_INSERT":"삽입","MENU_BAR_MENU_FORMAT":"서식","MENU_BAR_MENU_TOOLS":"도구","MENU_BAR_MENU_HELP":"도움말","MENU_BAR_MENU_TEXT":"텍스트","MENU_BAR_MENU_FONT":"글꼴","Editor menu bar":"편집기 메뉴 표시줄","Please enter a valid color (e.g. \"ff0000\").":"유효한 색상을 입력해 주세요(예를 들어, \"ff0000\").","Insert table":"표 삽입","Header column":"헤더 열","Insert column left":"왼쪽에 열 삽입","Insert column right":"오른쪽에 열 삽입","Delete column":"열 삭제","Select column":"열 선택","Column":"열","Header row":"헤더 행","Insert row below":"아래에 행 삽입","Insert row above":"위에 행 삽입","Delete row":"행 삭제","Select row":"행 선택","Row":"행","Merge cell up":"위 셀과 병합","Merge cell right":"오른쪽 셀과 병합","Merge cell down":"아래 셀과 병합","Merge cell left":"왼쪽 셀과 병합","Split cell vertically":"세로로 셀 분할","Split cell horizontally":"가로로 셀 분할","Merge cells":"셀 병합","Table toolbar":"표 도구 모음","Table properties":"표 속성","Cell properties":"셀 속성","Border":"테두리","Style":"스타일","Width":"가로","Height":"세로","Color":"색","Background":"배경색","Padding":"여백","Dimensions":"크기","Table cell text alignment":"표 셀 텍스트 정렬","Alignment":"정렬","Horizontal text alignment toolbar":"가로 텍스트 정렬 도구 모음","Vertical text alignment toolbar":"세로 텍스트 정렬 도구 모음","Table alignment toolbar":"표 정렬 도구 모음","None":"선 없음","Solid":"실선","Dotted":"점선","Dashed":"파선","Double":"이중선","Groove":"음각선","Ridge":"양각선","Inset":"측면 음각선","Outset":"측면 양각선","Align cell text to the left":"셀 텍스트를 왼쪽으로 정렬","Align cell text to the center":"셀 텍스트를 가로 가운데로 정렬","Align cell text to the right":"셀 텍스트를 오른쪽으로 정렬","Justify cell text":"셀 텍스트를 양쪽으로 정렬","Align cell text to the top":"셀 텍스트를 위로 정렬","Align cell text to the middle":"셀 텍스트를 세로 가운데로 정렬","Align cell text to the bottom":"셀 텍스트를 아래로 정렬","Align table to the left":"테이블을 왼쪽으로 정렬","Center table":"테이블을 가운데로 정렬","Align table to the right":"테이블을 오른쪽으로 정렬","The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".":"유효하지 않은 색입니다. \"#FF0000\"이나 \"rgb(255,0,0)\", 또는 \"red\"를 입력해 보세요.","The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".":"유효하지 않은 값입니다. \"10px\"나 \"2em\" 또는 그냥 \"2\"를 입력해 보세요.","Enter table caption":"테이블 캡션 입력","Keystrokes that can be used in a table cell":"표 셀에서 사용할 수 있는 키 입력","Move the selection to the next cell":"선택 항목을 다음 셀로 이동","Move the selection to the previous cell":"선택 항목을 이전 셀로 이동","Insert a new table row (when in the last cell of a table)":"새 표 행 삽입(표의 마지막 셀에 있을 때)","Navigate through the table":"표 탐색","Table":"표","Insert table layout":"표 레이아웃 삽입","Table layout":"표 레이아웃","Layout table":"레이아웃 표","Content table":"콘텐츠 표","Choose table type":"표 유형 선택","Table type":"표 유형","Table type options":"표 유형 옵션","Styles":"스타일","Multiple styles":"다중 스타일","Block styles":"블록 스타일","Text styles":"텍스트 스타일","Special characters":"특수 문자","Category":"카테고리","All":"전체","Arrows":"화살표","Currency":"통화","Latin":"라틴","Mathematical":"수식","Text":"텍스트","leftwards simple arrow":"왼쪽 단순 화살표","rightwards simple arrow":"오른쪽 단순 화살표","upwards simple arrow":"위쪽 단순 화살표","downwards simple arrow":"아래쪽 단순 화살표","leftwards double arrow":"왼쪽 겹화살표","rightwards double arrow":"오른쪽 겹화살표","upwards double arrow":"위쪽 겹화살표","downwards double arrow":"아래쪽 겹화살표","leftwards dashed arrow":"왼쪽 대시 화살표","rightwards dashed arrow":"오른쪽 대시 화살표","upwards dashed arrow":"위쪽 대시 화살표","downwards dashed arrow":"아래쪽 대시 화살표","leftwards arrow to bar":"왼쪽 바를 향한 화살표","rightwards arrow to bar":"오른쪽 바를 향한 화살표","upwards arrow to bar":"위쪽 바를 향한 화살표","downwards arrow to bar":"아래쪽 바를 향한 화살표","up down arrow with base":"받침이 있는 위아래 화살표","back with leftwards arrow above":"BACK 위 왼쪽 화살표","end with leftwards arrow above":"END 위 왼쪽 화살표","on with exclamation mark with left right arrow above":"ON! 위 왼쪽 오른쪽 화살표","soon with rightwards arrow above":"SOON 위 오른쪽 화살표","top with upwards arrow above":"TOP 위 위쪽 화살표","Dollar sign":"달러 기호","Euro sign":"유로 기호","Yen sign":"엔 기호","Pound sign":"파운드 기호","Cent sign":"센트 기호","Euro-currency sign":"유로화 기호","Colon sign":"콜론 기호","Cruzeiro sign":"크루제이루 기호","French franc sign":"프랑스 프랑 기호","Lira sign":"리라 기호","Currency sign":"통화 기호","Bitcoin sign":"비트코인 기호","Mill sign":"밀 기호","Naira sign":"나이라 기호","Peseta sign":"페세타 기호","Rupee sign":"루피 기호","Won sign":"원 기호","New sheqel sign":"뉴 세켈 기호","Dong sign":"동 기호","Kip sign":"킵 기호","Tugrik sign":"투그리크 기호","Drachma sign":"드라크마 기호","German penny sign":"독일 페니 기호","Peso sign":"페소 기호","Guarani sign":"과라니 기호","Austral sign":"오스트랄 기호","Hryvnia sign":"흐리브냐 기호","Cedi sign":"세디 기호","Livre tournois sign":"리브르 트르누아 기호","Spesmilo sign":"스페스밀로 기호","Tenge sign":"텡게 기호","Indian rupee sign":"인도 루피 기호","Turkish lira sign":"터키 리라 기호","Nordic mark sign":"노르딕 마크 기호","Manat sign":"마나트 기호","Ruble sign":"루블 기호","Latin capital letter a with macron":"장음 부호가 있는 라틴어 대문자 A","Latin small letter a with macron":"장음 부호가 있는 라틴어 소문자 a","Latin capital letter a with breve":"반달점 부호가 있는 라틴어 대문자 A","Latin small letter a with breve":"반달점 부호가 있는 라틴어 소문자 a","Latin capital letter a with ogonek":"꼬리 부호가 있는 라틴어 대문자 A","Latin small letter a with ogonek":"꼬리 부호가 있는 라틴어 소문자 a","Latin capital letter c with acute":"양음 부호가 있는 라틴어 대문자 C","Latin small letter c with acute":"양음 부호가 있는 라틴어 소문자 c","Latin capital letter c with circumflex":"곡절 부호가 있는 라틴어 대문자 C","Latin small letter c with circumflex":"곡절 부호가 있는 라틴어 소문자 c","Latin capital letter c with dot above":"위에 점 부호가 있는 라틴어 대문자 C","Latin small letter c with dot above":"위에 점 부호가 있는 라틴어 소문자 c","Latin capital letter c with caron":"반대 곡절 부호가 있는 라틴어 대문자 C","Latin small letter c with caron":"반대 곡절 부호가 있는 라틴어 소문자 c","Latin capital letter d with caron":"반대 곡절 부호가 있는 라틴어 대문자 D","Latin small letter d with caron":"반대 곡절 부호가 있는 라틴어 소문자 d","Latin capital letter d with stroke":"획 부호가 있는 라틴어 대문자 D","Latin small letter d with stroke":"획 부호가 있는 라틴어 소문자 d","Latin capital letter e with macron":"장음 부호가 있는 라틴어 대문자 E","Latin small letter e with macron":"장음 부호가 있는 라틴어 소문자 e","Latin capital letter e with breve":"반달점 부호가 있는 라틴어 대문자 E","Latin small letter e with breve":"반달점 부호가 있는 라틴어 소문자 e","Latin capital letter e with dot above":"위에 점 부호가 있는 라틴어 대문자 E","Latin small letter e with dot above":"위에 점 부호가 있는 라틴어 소문자 e","Latin capital letter e with ogonek":"꼬리 부호가 있는 라틴어 대문자 E","Latin small letter e with ogonek":"꼬리 부호가 있는 라틴어 소문자 e","Latin capital letter e with caron":"반대 곡절 부호가 있는 라틴어 대문자 E","Latin small letter e with caron":"반대 곡절 부호가 있는 라틴어 소문자 e","Latin capital letter g with circumflex":"곡절 부호가 있는 라틴어 대문자 G","Latin small letter g with circumflex":"곡절 부호가 있는 라틴어 소문자 g","Latin capital letter g with breve":"반달점 부호가 있는 라틴어 대문자 G","Latin small letter g with breve":"반달점 부호가 있는 라틴어 소문자 g","Latin capital letter g with dot above":"위에 점 부호가 있는 라틴어 대문자 G","Latin small letter g with dot above":"위에 점 부호가 있는 라틴어 소문자 g","Latin capital letter g with cedilla":"갈고리 부호가 있는 라틴어 대문자 G","Latin small letter g with cedilla":"갈고리 부호가 있는 라틴어 소문자 g","Latin capital letter h with circumflex":"곡절 부호가 있는 라틴어 대문자 H","Latin small letter h with circumflex":"곡절 부호가 있는 라틴어 소문자 h","Latin capital letter h with stroke":"획 부호가 있는 라틴어 대문자 H","Latin small letter h with stroke":"획 부호가 있는 라틴어 소문자 h","Latin capital letter i with tilde":"물결 부호가 있는 라틴어 대문자 I","Latin small letter i with tilde":"물결 부호가 있는 라틴어 소문자 i","Latin capital letter i with macron":"장음 부호가 있는 라틴어 대문자 I","Latin small letter i with macron":"장음 부호가 있는 라틴어 소문자 i","Latin capital letter i with breve":"반달점 부호가 있는 라틴어 대문자 I","Latin small letter i with breve":"반달점 부호가 있는 라틴어 소문자 i","Latin capital letter i with ogonek":"꼬리 부호가 있는 라틴어 대문자 I","Latin small letter i with ogonek":"꼬리 부호가 있는 라틴어 소문자 i","Latin capital letter i with dot above":"위에 점 부호가 있는 라틴어 대문자 I","Latin small letter dotless i":"라틴어 소문자 점 없는 i","Latin capital ligature ij":"라틴어 대문자 합자 IJ","Latin small ligature ij":"라틴어 소문자 합자 ij","Latin capital letter j with circumflex":"곡절 부호가 있는 라틴어 대문자 J","Latin small letter j with circumflex":"곡절 부호가 있는 라틴어 소문자 j","Latin capital letter k with cedilla":"갈고리 부호가 있는 라틴어 대문자 K","Latin small letter k with cedilla":"갈고리 부호가 있는 라틴어 소문자 k","Latin small letter kra":"라틴어 소문자 크라","Latin capital letter l with acute":"양음 부호가 있는 라틴어 대문자 I","Latin small letter l with acute":"양음 부호가 있는 라틴어 소문자 i","Latin capital letter l with cedilla":"갈고리 부호가 있는 라틴어 대문자 I","Latin small letter l with cedilla":"갈고리 부호가 있는 라틴어 소문자 i","Latin capital letter l with caron":"반대 곡절 부호가 있는 라틴어 대문자 I","Latin small letter l with caron":"반대 곡절 부호가 있는 라틴어 소문자 i","Latin capital letter l with middle dot":"중간에 점 부호가 있는 라틴어 대문자 I","Latin small letter l with middle dot":"중간에 점 부호가 있는 라틴어 소문자 i","Latin capital letter l with stroke":"획 부호가 있는 라틴어 대문자 I","Latin small letter l with stroke":"획 부호가 있는 라틴어 소문자 i","Latin capital letter n with acute":"양음 부호가 있는 라틴어 대문자 N","Latin small letter n with acute":"양음 부호가 있는 라틴어 소문자 n","Latin capital letter n with cedilla":"갈고리 부호가 있는 라틴어 대문자 N","Latin small letter n with cedilla":"갈고리 부호가 있는 라틴어 소문자 n","Latin capital letter n with caron":"반대 곡절 부호가 있는 라틴어 대문자 N","Latin small letter n with caron":"반대 곡절 부호가 있는 라틴어 소문자 n","Latin small letter n preceded by apostrophe":"아포스트로피 다음에 있는 라틴어 소문자 n","Latin capital letter eng":"라틴어 대문자 엥","Latin small letter eng":"라틴어 소문자 엥","Latin capital letter o with macron":"장음 부호가 있는 라틴어 대문자 O","Latin small letter o with macron":"장음 부호가 있는 라틴어 소문자 o","Latin capital letter o with breve":"반달점 부호가 있는 라틴어 대문자 O","Latin small letter o with breve":"반달점 부호가 있는 라틴어 소문자 o","Latin capital letter o with double acute":"이중 양음 부호가 있는 라틴어 대문자 O","Latin small letter o with double acute":"이중 양음 부호가 있는 라틴어 소문자 o","Latin capital ligature oe":"라틴어 대문자 합자 OE","Latin small ligature oe":"라틴어 소문자 합자 oe","Latin capital letter r with acute":"양음 부호가 있는 라틴어 대문자 R","Latin small letter r with acute":"양음 부호가 있는 라틴어 소문자 r","Latin capital letter r with cedilla":"갈고리 부호가 있는 라틴어 대문자 R","Latin small letter r with cedilla":"갈고리 부호가 있는 라틴어 소문자 r","Latin capital letter r with caron":"반대 곡절 부호가 있는 라틴어 대문자 R","Latin small letter r with caron":"반대 곡절 부호가 있는 라틴어 소문자 r","Latin capital letter s with acute":"양음 부호가 있는 라틴어 대문자 S","Latin small letter s with acute":"양음 부호가 있는 라틴어 소문자 s","Latin capital letter s with circumflex":"곡절 부호가 있는 라틴어 대문자 S","Latin small letter s with circumflex":"곡절 부호가 있는 라틴어 소문자 s","Latin capital letter s with cedilla":"갈고리 부호가 있는 라틴어 대문자 S","Latin small letter s with cedilla":"갈고리 부호가 있는 라틴어 소문자 s","Latin capital letter s with caron":"반대 곡절 부호가 있는 라틴어 대문자 S","Latin small letter s with caron":"반대 곡절 부호가 있는 라틴어 소문자 s","Latin capital letter t with cedilla":"갈고리 부호가 있는 라틴어 대문자 T","Latin small letter t with cedilla":"갈고리 부호가 있는 라틴어 소문자 t","Latin capital letter t with caron":"반대 곡절 부호가 있는 라틴어 대문자 T","Latin small letter t with caron":"반대 곡절 부호가 있는 라틴어 소문자 t","Latin capital letter t with stroke":"획 부호가 있는 라틴어 대문자 T","Latin small letter t with stroke":"획 부호가 있는 라틴어 소문자 t","Latin capital letter u with tilde":"물결 부호가 있는 라틴어 대문자 U","Latin small letter u with tilde":"물결 부호가 있는 라틴어 소문자 u","Latin capital letter u with macron":"장음 부호가 있는 라틴어 대문자 U","Latin small letter u with macron":"장음 부호가 있는 라틴어 소문자 u","Latin capital letter u with breve":"반달점 부호가 있는 라틴어 대문자 U","Latin small letter u with breve":"반달점 부호가 있는 라틴어 소문자 u","Latin capital letter u with ring above":"위에 고리가 있는 라틴어 대문자 U","Latin small letter u with ring above":"위에 고리가 있는 라틴어 소문자 u","Latin capital letter u with double acute":"이중 양음 부호가 있는 라틴어 대문자 U","Latin small letter u with double acute":"이중 양음 부호가 있는 라틴어 소문자 u","Latin capital letter u with ogonek":"꼬리 부호가 있는 라틴어 대문자 U","Latin small letter u with ogonek":"꼬리 부호가 있는 라틴어 소문자 u","Latin capital letter w with circumflex":"곡절 부호가 있는 라틴어 대문자 W","Latin small letter w with circumflex":"곡절 부호가 있는 라틴어 소문자 w","Latin capital letter y with circumflex":"곡절 부호가 있는 라틴어 대문자 Y","Latin small letter y with circumflex":"곡절 부호가 있는 라틴어 소문자 y","Latin capital letter y with diaeresis":"분음 부호가 있는 라틴어 대문자 Y","Latin capital letter z with acute":"양음 부호가 있는 라틴어 대문자 Z","Latin small letter z with acute":"양음 부호가 있는 라틴어 소문자 z","Latin capital letter z with dot above":"위에 점 부호가 있는 라틴어 대문자 Z","Latin small letter z with dot above":"위에 점 부호가 있는 라틴어 소문자 z","Latin capital letter z with caron":"반대 곡절 부호가 있는 라틴어 대문자 Z","Latin small letter z with caron":"반대 곡절 부호가 있는 라틴어 소문자 z","Latin small letter long s":"라틴어 소문자 긴 s","Less-than sign":"더 작음 기호","Greater-than sign":"더 큼 기호","Less-than or equal to":"더 작거나 같음","Greater-than or equal to":"더 크거나 같음","En dash":"엔 대시","Em dash":"엠 대시","Macron":"장음 부호","Overline":"윗줄","Degree sign":"도 기호","Minus sign":"빼기 기호","Plus-minus sign":"더하기 빼기 기호","Division sign":"나누기 기호","Fraction slash":"분수 슬래시","Multiplication sign":"곱하기 기호","Latin small letter f with hook":"밑이 구부러진 라틴어 소문자 f","Integral":"적분","N-ary summation":"누계합","Infinity":"무한대","Square root":"제곱근","Tilde operator":"물결표 연산자","Approximately equal to":"대략 같음","Almost equal to":"거의 같음","Not equal to":"같지 않음","Identical to":"합동","Element of":"원소","Not an element of":"원소가 아님","Contains as member":"원소로 포함","N-ary product":"중복순열","Logical and":"논리곱","Logical or":"논리합","Not sign":"부정 기호","Intersection":"교집합","Union":"합집합","Partial differential":"편미분","For all":"전칭","There exists":"존재","Empty set":"공집합","Nabla":"나블라","Asterisk operator":"별표 연산자","Proportional to":"비례","Angle":"각","Vulgar fraction one quarter":"4분의 1","Vulgar fraction one half":"2분의 1","Vulgar fraction three quarters":"4분의 3","Single left-pointing angle quotation mark":"왼쪽 홑화살괄호","Single right-pointing angle quotation mark":"오른쪽 홑화살괄호","Left-pointing double angle quotation mark":"왼쪽 겹화살괄호","Right-pointing double angle quotation mark":"오른쪽 겹화살괄호","Left single quotation mark":"왼쪽 작은따옴표","Right single quotation mark":"오른쪽 작은따옴표","Left double quotation mark":"왼쪽 큰따옴표","Right double quotation mark":"오른쪽 큰따옴표","Single low-9 quotation mark":"낮은 홑따옴표","Double low-9 quotation mark":"낮은 겹따옴표","Inverted exclamation mark":"역느낌표","Inverted question mark":"역물음표","Two dot leader":"두 점 줄임표","Horizontal ellipsis":"세 점 줄임표","Double dagger":"겹칼표","Per mille sign":"퍼 마일 기호","Per ten thousand sign":"만분율 기호","Double exclamation mark":"겹느낌표","Question exclamation mark":"물음표 느낌표","Exclamation question mark":"느낌표 물음표","Double question mark":"겹물음표","Copyright sign":"저작권 기호","Registered sign":"등록 상표 기호","Trade mark sign":"상표 기호","Section sign":"구역 기호","Paragraph sign":"단락 기호","Reversed paragraph sign":"반전된 단락 기호","Show source":"소스 표시","Show blocks":"블록 표시","Select all":"전체 선택","Disable editing":"편집 비활성화","Enable editing":"편집 활성화","Previous editable region":"이전 편집 가능한 구역","Next editable region":"다음 편집 가능한 구역","Navigate editable regions":"편집 가능한 구역 탐색","Remove Format":"서식 지우기","Page break":"페이지 나누기","media widget":"미디어 위젯","Media URL":"미디어 URL","Paste the media URL in the input.":"미디어 URL을 입력해주세요.","Tip: Paste the URL into the content to embed faster.":"팁: URL을 붙여넣으면 더 빨리 삽입할 수 있습니다.","The URL must not be empty.":"URL이 비어있을 수 없습니다.","This media URL is not supported.":"이 미디어 URL은 지원되지 않습니다.","Insert media":"미디어 삽입","Media":"미디어","Media toolbar":"미디어 툴바","Open media in new tab":"새 탭에서 미디어 열기","Media embed":"미디어 ㅅ","Numbered List":"번호 목록","Bulleted List":"글머리 기호 목록","To-do List":"체크리스트","Bulleted list styles toolbar":"글머리 기호 목록 스타일 도구 모음","Numbered list styles toolbar":"번호 목록 스타일 도구 모음","Toggle the disc list style":"흰 원형 목록 스타일 전환","Toggle the circle list style":"검은 원형 목록 스타일 전환","Toggle the square list style":"검은 사각형 목록 스타일 전환","Toggle the decimal list style":"십진수 목록 스타일 전환","Toggle the decimal with leading zero list style":"앞에 0이 붙는 십진수 목록 스타일 전환","Toggle the lower–roman list style":"소문자 로마자 목록 스타일 전환","Toggle the upper–roman list style":"대문자 로마자 목록 스타일 전환","Toggle the lower–latin list style":"소문자 알파벳 목록 스타일 전환","Toggle the upper–latin list style":"대문자 알파벳 목록 스타일 전환","Disc":"검은 원형","Circle":"흰 원형","Square":"검은 사각형","Decimal":"십진수","Decimal with leading zero":"앞에 0이 붙는 십진수","Lower–roman":"소문자 로마자","Upper-roman":"대문자 로마자","Lower-latin":"소문자 알파벳","Upper-latin":"대문자 알파벳","List properties":"목록 속성","Start at":"시작 번호","Invalid start index value.":"잘못된 시작 인덱스 값입니다.","Start index must be greater than 0.":"시작 번호는 0보다 커야 합니다.","Reversed order":"역순","Keystrokes that can be used in a list":"목록에서 사용할 수 있는 키 입력","Increase list item indent":"목록 항목 들여쓰기 늘리기","Decrease list item indent":"목록 항목 들여쓰기 줄이기","Entering a to-do list":"할 일 목록 입력하는 중","Leaving a to-do list":"할 일 목록 남기는 중","Unlink":"링크 삭제","Link":"링크","Link URL":"링크 주소","Link URL must not be empty.":"링크 URL은 비워둘 수 없습니다.","Link image":"사진 링크","Edit link":"링크 편집","Open link in new tab":"새 탭에서 링크 열기","Open in a new tab":"새 탭에서 열기","Downloadable":"다운로드 가능","Create link":"링크 생성","Move out of a link":"링크 밖으로 이동","Link properties":"링크 속성","Displayed text":"표시 텍스트","No links available":"사용 가능한 링크 없음","Language":"언어","Choose language":"언어 선택","Remove language":"언어 제거","Increase indent":"들여쓰기 늘리기","Decrease indent":"들여쓰기 줄이기","image widget":"사진 위젯","Wrap text":"텍스트 줄 바꿈","Break text":"텍스트 분리","In line":"줄 안에","Side image":"본문 옆에 배치","Full size image":"꽉 찬 크기","Left aligned image":"왼쪽 정렬","Centered image":"가운데 정렬","Right aligned image":"오른쪽 정렬","Change image text alternative":"대체 문구 변경","Text alternative":"대체 문구","Enter image caption":"사진 설명을 입력하세요","Insert image":"사진 삽입","Replace image":"이미지 교체","Upload from computer":"컴퓨터에서 업로드","Replace from computer":"컴퓨터에서 교체","Upload image from computer":"컴퓨터에서 이미지 업로드","Image from computer":"컴퓨터에서 이미지 가져오기","From computer":"컴퓨터에서","Replace image from computer":"컴퓨터에서 이미지 교체","Upload failed":"업로드 실패","You have no image upload permissions.":"이미지를 업로드할 수 있는 권한이 없습니다.","Image toolbar":"사진 툴바","Resize image":"사진 크기 조절","Resize image to %0":"사진의 크기를 %0으로 조절","Resize image to the original size":"사진을 원래 크기로 돌려놓기","Resize image (in %0)":"이미지 크기 조정하기(%0 이내)","Original":"원본","Custom image size":"사용자 지정 이미지 크기","Custom":"사용자 지정","Image resize list":"사진 크기 목록","Insert image via URL":"URL로 이미지 삽입","Insert via URL":"URL 버튼으로 이미지 삽입","Image via URL":"URL 메뉴를 통한 이미지 삽입","Via URL":"이미지 메뉴에서 URL을 통한 이미지 삽입","Update image URL":"이미지 URL 업데이트","Caption for the image":"이미지용 캡션","Caption for image: %0":"이미지용 캡션: %0","The value must not be empty.":"값은 비워둘 수 없습니다.","The value should be a plain number.":"일반 숫자로 된 값을 입력해야 합니다.","Uploading image":"이미지 업로드 중","Image upload complete":"이미지 업로드 완료","Error during image upload":"이미지 업로드 중에 오류 발생","Image":"이미지 삽입 기능으로 삽입된 위젯","Image Resize":"이미지 크기 조절","Text Alternative":"대체 텍스트","HTML object":"HTML 오브젝트","Insert HTML":"HTML 삽입","HTML snippet":"HTML 코드 조각","Paste raw HTML here...":"원시 HTML을 여기에 붙여넣으세요...","Edit source":"소스 편집","Save changes":"변경사항 저장","No preview available":"미리보기를 이용할 수 없습니다","Empty snippet content":"빈 코드 조각 내용","Horizontal line":"수평선","Yellow marker":"노란색 마커","Green marker":"초록색 마커","Pink marker":"분홍색 마커","Blue marker":"파란색 마커","Red pen":"빨간색 펜","Green pen":"초록색 펜","Remove highlight":"강조 제거","Highlight":"강조","Text highlight toolbar":"글자 강조 툴바","Heading":"제목","Choose heading":"제목 선택","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4","Heading 5":"제목 5","Heading 6":"제목 6","Type your title":"제목을 입력해주세요","Type or paste your content here.":"여기에 내용을 입력하거나 붙여넣으세요.","Enter fullscreen mode":"전체 화면으로 보기","Leave fullscreen mode":"전체 화면 나가기","Fullscreen mode":"전체 화면 모드","Toggle fullscreen mode":"전체 화면 모드 전환","Document outline":"문서 외곽선","Connected users":"참여 사용자","Font Size":"글자 크기","Tiny":"매우 작은","Small":"작은","Big":"큰","Huge":"매우 큰","Font Family":"글꼴 집합","Default":"기본","Font Color":"글자 색상","Font Background Color":"글자 배경색","Document colors":"문서 색깔들","Find and replace":"찾기 및 바꾸기","Find in text…":"텍스트에서 찾기...","Find":"찾기","Previous result":"이전 결과","Next result":"다음 결과","Replace":"바꾸기","Replace all":"모두 바꾸기","Match case":"대/소문자 구분","Whole words only":"전체 단어만","Replace with…":"바꿀 내용...","Text to find must not be empty.":"찾을 텍스트를 입력해야 합니다.","Tip: Find some text first in order to replace it.":"팁: 바꾸려는 텍스트를 먼저 찾으세요.","Advanced options":"고급 옵션","Find in the document":"문서에서 찾기","Insert a soft break (a <br> element)":"줄 바꿈 삽입(<br> 요소)","Insert a hard break (a new paragraph)":"단락 바꿈 삽입(새 단락)","Emoji":"이모지","Show all emoji...":"모든 이모지 표시...","Find an emoji (min. 2 characters)":"이모지 찾기(최소 2자)","No emojis were found matching \"%0\".":"\"%0\"에 대한 이모지를 찾을 수 없습니다.","Keep on typing to see the emoji.":"이모지를 보려면 계속 입력하세요.","The query must contain at least two characters.":"쿼리에는 2자 이상이 포함되어야 합니다.","Smileys & Expressions":"스마일 및 표정","Gestures & People":"제스처 및 사람","Animals & Nature":"동물 및 자연","Food & Drinks":"음식 및 음료","Travel & Places":"여행 및 장소","Activities":"활동","Objects":"사물","Symbols":"기호","Flags":"깃발","Select skin tone":"피부색 선택","Default skin tone":"기본 피부색","Light skin tone":"밝은 피부색","Medium Light skin tone":"약간 밝은 피부색","Medium skin tone":"중간 피부색","Medium Dark skin tone":"약간 어두운 피부색","Dark skin tone":"어두운 피부색","Emoji picker":"이모지 선택","Cancel":"취소","Clear":"지우기","Remove color":"색깔 제거","Restore default":"기본값 복원","Save":"저장","Show more items":"도구 더 보기","%0 of %1":"%0 / %1","Cannot upload file:":"파일 업로드할 수 없음: ","Rich Text Editor. Editing area: %0":"서식 있는 본문 편집기","Insert with file manager":"파일 관리자를 사용하여 삽입","Replace with file manager":"파일 관리자를 사용하여 교체","Insert image with file manager":"파일 관리자를 사용하여 이미지 삽입","Replace image with file manager":"파일 관리자를 사용하여 이미지 교체","File":"파일","With file manager":"파일 관리 버튼으로 이미지 삽입","Toggle caption off":"캡션 지우기","Toggle caption on":"캡션 넣기","Content editing keystrokes":"콘텐츠 편집 키 입력","These keyboard shortcuts allow for quick access to content editing features.":"이러한 키보드 단축키를 사용하면 콘텐츠 편집 기능을 빠르게 사용할 수 있습니다.","User interface and content navigation keystrokes":"사용자 인터페이스 및 콘텐츠 탐색 키 입력","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"다음 키 입력을 사용하여 CKEditor 5 사용자 인터페이스를 더 효율적으로 탐색하세요.","Close contextual balloons, dropdowns, and dialogs":"팝업과 펼침 메뉴 및 대화상자 닫기","Open the accessibility help dialog":"접근성 도움말 대화 상자 열기","Move focus between form fields (inputs, buttons, etc.)":"입력란과 버튼 사이에서 초점 이동","Move focus to the menu bar, navigate between menu bars":"메뉴 모음으로 초점 이동 또는 메뉴 모음 사이 이동","Move focus to the toolbar, navigate between toolbars":"도구 모음으로 초점 이동 또는 도구 모음 사이 이동","Navigate through the toolbar or menu bar":"도구 모음 또는 메뉴 표시줄 탐색","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"현재 포커스가 맞춰진 버튼을 실행합니다. 편집기 콘텐츠와 상호 작용하는 버튼을 실행하면 포커스가 다시 콘텐츠로 이동합니다.","Accept":"수락","Paragraph":"본문","Color picker":"색상 선택기","Please try a different phrase or check the spelling.":"다른 문구를 사용해 보시거나 철자를 확인해 주세요.","Source":"소스","Insert":"삽입","Update":"업데이트","Back":"뒤로","Insert code block":"코드 블록 삽입","Plain text":"평문","Leaving %0 code snippet":"%0 코드 스니펫 남기는 중","Entering %0 code snippet":"%0 코드 스니펫 입력하는 중","Entering code snippet":"코드 스니펫 입력하는 중","Leaving code snippet":"코드 스니펫 남기는 중","Code block":"코드 블록","Copy selected content":"선택된 콘텐츠 복사","Paste content":"콘텐츠 붙여넣기","Paste content as plain text":"콘텐츠를 일반 텍스트로 붙여넣기","Insert image or file":"사진이나 파일을 삽입","Could not obtain resized image URL.":"크기가 조절된 사진의 URL을 가져오지 못했습니다.","Selecting resized image failed":"크기가 조절된 이미지 선택 실패","Could not insert image at the current position.":"현재 위치에 사진을 삽입할 수 없습니다.","Inserting image failed":"사진 삽입 실패","Open file manager":"파일 관리자 열기","Cannot determine a category for the uploaded file.":"업로드된 파일의 카테고리를 확인할 수 없습니다.","Cannot access default workspace.":"기본 작업 공간에 액세스할 수 없습니다.","You have no image editing permissions.":"이미지를 편집할 수 있는 권한이 없습니다.","Edit image":"이미지 편집","Processing the edited image.":"편집한 이미지를 처리 중입니다.","Server failed to process the image.":"서버가 이미지를 처리하지 못했습니다.","Failed to determine category of edited image.":"편집한 이미지의 카테고리를 결정하지 못했습니다.","Bookmark":"책갈피","Edit bookmark":"책갈피 편집","Remove bookmark":"책갈피 제거","Bookmark name":"책갈피 이름","Enter the bookmark name without spaces.":"공백 없이 책갈피 이름을 입력하세요.","Bookmark must not be empty.":"책갈피 이름은 비워 둘 수 없습니다.","Bookmark name cannot contain space characters.":"책갈피 이름에는 공백이 포함될 수 없습니다.","Bookmark name already exists.":"책갈피 이름이 이미 존재합니다.","bookmark widget":"책갈피 위젯","Bookmark toolbar":"북마크 도구 모음","Bookmarks":"북마크","No bookmarks available.":"사용 가능한 북마크가 없습니다.","Scroll to bookmark":"북마크로 이동","Block quote":"인용문","Bold":"굵게","Italic":"기울임","Underline":"밑줄","Code":"코드","Strikethrough":"취소선","Subscript":"아래 첨자","Superscript":"위 첨자","Italic text":"기울인 텍스트","Move out of an inline code style":"인라인 코드 스타일 밖으로 이동","Bold text":"굵은 텍스트","Underline text":"텍스트 밑줄","Strikethrough text":"텍스트 취소선","Saving changes":"변경된 내용을 저장하고 있습니다","Revert autoformatting action":"자동 서식 작업 되돌리기","Align left":"왼쪽 정렬","Align right":"오른쪽 정렬","Align center":"가운데 정렬","Justify":"양쪽 정렬","Text alignment":"텍스트 정렬","Text alignment toolbar":"텍스트 정렬 툴바","Include note":"노트 포함","Keyboard shortcut":"단축키","Insert mermaid source code":"Mermaid 소스 코드 입력","Mermaid widget":"Mermaid 다이어그램","Mermaid toolbar":"Mermaid 도구 모음","Insert Mermaid diagram":"Mermaid 다이어그램 삽입","Read more about Mermaid diagram syntax":"Mermaid 다이어그램 문법 도움말","Equation preview":"수식 미리 보기","Insert equation in TeX format.":"TeX 형식으로 수식을 입력하세요.","Display mode":"표시 방식","Insert math":"수식 삽입","Code block copied to clipboard":"코드 블록을 클립보드에 복사했습니다.","No code block selected or found.":"선택한 코드 블록이 없거나 코드 블록을 찾을 수 없습니다.","Unable to find code block element to copy from.":"복사할 코드 블록을 찾을 수 없습니다.","Text formatting":"글자 서식","TeX":"TeX","Mermaid":"Mermaid","Copy":"복사","Preview":"미리 보기","Admonition":"안내 상자"}}}; diff --git a/updates/2026-09-05/deployed/ckeditor5.js b/updates/2026-09-05/deployed/ckeditor5.js new file mode 100644 index 0000000..aa34a67 --- /dev/null +++ b/updates/2026-09-05/deployed/ckeditor5.js @@ -0,0 +1,490 @@ +var W0=Object.defineProperty,j0=(n,e,t)=>e in n?W0(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,h=(n,e,t)=>j0(n,typeof e!="symbol"?e+"":e,t);function U0(n,e){for(var t=0;ti[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function q0(n,e){const t={};for(let i=0;iObject.prototype.propertyIsEnumerable.call(n,e))}function Ar(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const cg="[object RegExp]",Bc="[object String]",Mc="[object Number]",Lc="[object Boolean]",xr="[object Arguments]",ug="[object Symbol]",hg="[object Date]",dg="[object Map]",mg="[object Set]",fg="[object Array]",G0="[object Function]",gg="[object ArrayBuffer]",cr="[object Object]",K0="[object Error]",pg="[object DataView]",wg="[object Uint8Array]",bg="[object Uint8ClampedArray]",_g="[object Uint16Array]",vg="[object Uint32Array]",Z0="[object BigUint64Array]",yg="[object Int8Array]",kg="[object Int16Array]",Cg="[object Int32Array]",J0="[object BigInt64Array]",Ag="[object Float32Array]",xg="[object Float64Array]";function Q0(n,e){return eo(n,void 0,n,new Map,e)}function eo(n,e,t,i=new Map,o=void 0){const s=o?.(n,e,t,i);if(s!=null)return s;if(Vc(n))return n;if(i.has(n))return i.get(n);if(Array.isArray(n)){const r=new Array(n.length);i.set(n,r);for(let a=0;aWo(d,f,void 0,n,e,t,i));if(m===-1)return!1;c.splice(m,1)}return!0}case fg:case wg:case bg:case _g:case vg:case Z0:case yg:case kg:case Cg:case J0:case Ag:case xg:{if(typeof Buffer<"u"&&Buffer.isBuffer(n)!==Buffer.isBuffer(e)||n.length!==e.length)return!1;for(let l=0;l=0}const e_=new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+","gu");function t_(n){return Array.from(n.match(e_)??[])}function i_(n){return n!=null&&typeof n!="function"&&X0(n.length)}function Sg(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}function Pg(n){return Object.is(n,-0)?"-0":n.toString()}function Fc(n){const e=[],t=n.length;if(t===0)return e;let i=0,o="",s="",r=!1;for(n.charCodeAt(0)===46&&(e.push(""),i++);i{const r=e?.(t,i,o,s);if(r!=null)return r;if(typeof n=="object")switch(Object.prototype.toString.call(n)){case Mc:case Bc:case Lc:{const a=new n.constructor(n?.valueOf());return gn(a,n),a}case xr:{const a={};return gn(a,n),a.length=n.length,a[Symbol.iterator]=n[Symbol.iterator],a}default:return}})}function mt(n){return Xr(n)}const s_=/^(?:0|[1-9]\d*)$/;function r_(n,e=Number.MAX_SAFE_INTEGER){switch(typeof n){case"number":return Number.isInteger(n)&&n>=0&&n{s!==null&&(n.apply(o,s),o=void 0,s=null)},c=()=>{a&&l(),f()};let u=null;const d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,c()},e)},m=()=>{u!==null&&(clearTimeout(u),u=null)},f=()=>{m(),o=void 0,s=null},g=()=>{m(),l()},p=function(..._){if(t!=null&&t.aborted)return;o=this,s=_;const v=u==null;d(),r&&v&&l()};return p.schedule=d,p.cancel=f,p.flush=g,t?.addEventListener("abort",f,{once:!0}),p}function St(n,e=0,t={}){typeof t!="object"&&(t={});const{signal:i,leading:o=!1,trailing:s=!0,maxWait:r}=t,a=Array(2);o&&(a[0]="leading"),s&&(a[1]="trailing");let l,c=null;const u=h_(function(...f){l=n.apply(this,f),c=null},e,{signal:i,edges:a}),d=function(...f){if(r!=null){if(c===null)c=Date.now();else if(Date.now()-c>=r)return l=n.apply(this,f),c=Date.now(),u.cancel(),u.schedule(),l}return u.apply(this,f),l},m=()=>(u.flush(),l);return d.cancel=u.cancel,d.flush=m,d}function co(n,e=0,t={}){typeof t!="object"&&(t={});const{leading:i=!0,trailing:o=!0,signal:s}=t;return St(n,e,{leading:i,trailing:o,signal:s,maxWait:e})}function ea(n){if(n==null)return"";if(Array.isArray(n))return n.map(ea).join(",");const e=String(n);return e==="0"&&Object.is(Number(n),-0)?"-0":e}function d_(n){return typeof Buffer<"u"&&Buffer.isBuffer(n)}function m_(n){const e=n?.constructor,t=typeof e=="function"?e.prototype:Object.prototype;return n===t}function Vg(n){return Rc(n)}function f_(n,e){if(n=u_(n),n<1||!Number.isSafeInteger(n))return[];const t=new Array(n);for(let i=0;ie!=="constructor")}function w_(n){const e=f_(n.length,i=>`${i}`),t=new Set(e);return d_(n)&&(t.add("offset"),t.add("parent")),Vg(n)&&(t.add("buffer"),t.add("byteLength"),t.add("byteOffset")),[...e,...Er(n).filter(i=>!t.has(i))]}function Rg(n,...e){for(let t=0;t{if(++t>=n)return e(...i)}}function Bg(n,e,t=kr){return typeof t!="function"&&(t=kr),Eg(n,e,(...i)=>{const o=t(...i);if(o!==void 0)return!!o;if(n instanceof Map&&e instanceof Map||n instanceof Set&&e instanceof Set)return Bg(Array.from(n),Array.from(e),y_(2,t))})}function k_(n){return typeof n!="string"&&(n=ea(n)),n.replace(/['\u2019]/g,"")}function C_(n){return n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")}function ta(n){return C_(ea(n))}function A_(n){const e=t_(k_(n).trim());let t="";for(let i=0;i-1}function S_(n){return n.indexOf("windows")>-1}function P_(n){return!!n.match(/gecko\/\d+/)}function I_(n){return n.indexOf(" applewebkit/")>-1&&n.indexOf("chrome")===-1}function V_(n){return!!n.match(/iphone|ipad/i)||Mg(n)&&navigator.maxTouchPoints>0}function R_(n){return n.indexOf("android")>-1}function O_(n){return n.indexOf("chrome/")>-1&&n.indexOf("edge/")<0}function B_(){return I.window.matchMedia?I.window.matchMedia("(forced-colors: active)").matches:!1}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Lg(n,e,t,i){t=t||function(a,l){return a===l};const o=Array.isArray(n)?n:Array.prototype.slice.call(n),s=Array.isArray(e)?e:Array.prototype.slice.call(e),r=M_(o,s,t);return i?F_(r,s.length):L_(s,r)}function M_(n,e,t){const i=ih(n,e,t);if(i===-1)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const o=nh(n,i),s=nh(e,i),r=ih(o,s,t),a=n.length-r,l=e.length-r;return{firstIndex:i,lastIndexOld:a,lastIndexNew:l}}function ih(n,e,t){for(let i=0;i0&&t.push({index:i,type:"insert",values:n.slice(i,s)}),o-i>0&&t.push({index:i+(s-i),type:"delete",howMany:o-i}),t}function F_(n,e){const{firstIndex:t,lastIndexOld:i,lastIndexNew:o}=n;if(t===-1)return Array(e).fill("equal");let s=[];return t>0&&(s=s.concat(Array(t).fill("equal"))),o-t>0&&(s=s.concat(Array(o-t).fill("insert"))),i-t>0&&(s=s.concat(Array(i-t).fill("delete"))),o200||o>200||i+o>300)return oo.fastDiff(n,e,t,!0);let s,r;if(ov?-1:1;u[p+E]&&(u[p]=u[p+E].slice(0)),u[p]||(u[p]=[]),u[p].push(_>v?s:r);let M=Math.max(_,v),G=M-p;for(;Gc;g--)d[g]=m(g);d[c]=m(c),f++}while(d[c]!==l);return u[c].slice(1)}oo.fastDiff=Lg;/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function oh(){return function n(){n.called=!0}}class Ti{constructor(e,t){h(this,"source"),h(this,"name"),h(this,"path"),h(this,"stop"),h(this,"off"),h(this,"return"),this.source=e,this.name=t,this.path=[],this.stop=oh(),this.off=oh()}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const Qe=new Array(256).fill("").map((n,e)=>("0"+e.toString(16)).slice(-2));function ze(){const[n,e,t,i]=crypto.getRandomValues(new Uint32Array(4));return"e"+Qe[n>>0&255]+Qe[n>>8&255]+Qe[n>>16&255]+Qe[n>>24&255]+Qe[e>>0&255]+Qe[e>>8&255]+Qe[e>>16&255]+Qe[e>>24&255]+Qe[t>>0&255]+Qe[t>>8&255]+Qe[t>>16&255]+Qe[t>>24&255]+Qe[i>>0&255]+Qe[i>>8&255]+Qe[i>>16&255]+Qe[i>>24&255]}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const kt={get(n="normal"){return typeof n!="number"?this[n]||this.normal:n},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function Fg(n,e){const t=kt.get(e.priority);let i=0,o=n.length;for(;i>1;kt.get(n[s].priority){if(typeof r=="object"&&r!==null){if(t.has(r))return`[object ${r.constructor.name}]`;t.add(r)}return r})}`:"",o=Ng(n);return n+i+o}function Dg(n,e){const t=Ng(n);return e?[n,e,t]:[n,t]}const zg="45.2.0",H_=new Date(2025,5,4);/* istanbul ignore next -- @preserve */if(globalThis.CKEDITOR_VERSION)throw new b("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=zg;const Gn=Symbol("listeningTo"),Ol=Symbol("emitterId"),fi=Symbol("delegations"),Hg=ge(Object);function ge(n){if(!n)return Hg;class e extends n{on(i,o,s){this.listenTo(this,i,o,s)}once(i,o,s){let r=!1;const a=(l,...c)=>{r||(r=!0,l.off(),o.call(this,l,...c))};this.listenTo(this,i,a,s)}off(i,o){this.stopListening(this,i,o)}listenTo(i,o,s,r={}){let a,l;this[Gn]||(this[Gn]={});const c=this[Gn];Sa(i)||$g(i);const u=Sa(i);(a=c[u])||(a=c[u]={emitter:i,callbacks:{}}),(l=a.callbacks[o])||(l=a.callbacks[o]=[]),l.push(s),q_(this,i,o,s,r)}stopListening(i,o,s){const r=this[Gn];let a=i&&Sa(i);const l=r&&a?r[a]:void 0,c=l&&o?l.callbacks[o]:void 0;if(!(!r||i&&!l||o&&!c))if(s)Pa(this,i,o,s),c.indexOf(s)!==-1&&(c.length===1?delete l.callbacks[o]:Pa(this,i,o,s));else if(c){for(;s=c.pop();)Pa(this,i,o,s);delete l.callbacks[o]}else if(l){for(o in l.callbacks)this.stopListening(i,o);delete r[a]}else{for(a in r)this.stopListening(r[a].emitter);delete this[Gn]}}fire(i,...o){try{const s=i instanceof Ti?i:new Ti(this,i),r=s.name;let a=U_(this,r);if(s.path.push(this),a){a=a.slice();for(let c=0;c{this[fi]||(this[fi]=new Map),i.forEach(r=>{const a=this[fi].get(r);a?a.set(o,s):this[fi].set(r,new Map([[o,s]]))})}}}stopDelegating(i,o){if(this[fi])if(!i)this[fi].clear();else if(!o)this[fi].delete(i);else{const s=this[fi].get(i);s&&s.delete(o)}}_addEventListener(i,o,s){j_(this,i);const r=Bl(this,i),a=kt.get(s.priority),l={callback:o,priority:a};for(const c of r)Fg(c,l)}_removeEventListener(i,o){const s=Bl(this,i);for(const r of s)for(let a=0;a{ge[n]=Hg.prototype[n]});function $_(n,e){const t=n[Gn];return t&&t[e]?t[e].emitter:null}function $g(n,e){n[Ol]||(n[Ol]=e||ze())}function Sa(n){return n[Ol]}function Wg(n){return n._events||Object.defineProperty(n,"_events",{value:{}}),n._events}function W_(){return{callbacks:[],childEvents:[]}}function j_(n,e){const t=Wg(n);if(t[e])return;let i=e,o=null;const s=[];for(;i!==""&&!t[i];)t[i]=W_(),s.push(t[i]),o&&t[i].childEvents.push(o),o=i,i=i.substr(0,i.lastIndexOf(":"));if(i!==""){for(const r of s)r.callbacks=t[i].callbacks.slice();t[i].childEvents.push(o)}}function Bl(n,e){const t=Wg(n)[e];if(!t)return[];let i=[t.callbacks];for(let o=0;o-1?t.substring(0,o):""}while(t);return null}function sh(n,e,t){for(let[i,o]of n){o?typeof o=="function"&&(o=o(e.name)):o=e.name;const s=new Ti(e.source,o);s.path=[...e.path],i.fire(s,...t)}}function q_(n,e,t,i,o){e._addEventListener?e._addEventListener(t,i,o):n._addEventListener.call(e,t,i,o)}function Pa(n,e,t,i){e._removeEventListener?e._removeEventListener(t,i):n._removeEventListener.call(e,t,i)}const Zo=Symbol("observableProperties"),as=Symbol("boundObservables"),Jo=Symbol("boundProperties"),rn=Symbol("decoratedMethods"),rh=Symbol("decoratedOriginal"),jg=ue(ge());function ue(n){var e,t,i,o,s;if(!n)return jg;class r extends(s=n,o=Zo,i=rn,t=Jo,e=as,s){constructor(){super(...arguments),h(this,o),h(this,i),h(this,t),h(this,e)}set(l,c){if(Et(l)){Object.keys(l).forEach(d=>{this.set(d,l[d])},this);return}Ia(this);const u=this[Zo];if(l in this&&!u.has(l))throw new b("observable-set-cannot-override",this);Object.defineProperty(this,l,{enumerable:!0,configurable:!0,get(){return u.get(l)},set(d){const m=u.get(l);let f=this.fire(`set:${l}`,l,d,m);f===void 0&&(f=d),(m!==f||!u.has(l))&&(u.set(l,f),this.fire(`change:${l}`,l,f,m))}}),this[l]=c}bind(...l){if(!l.length||!ah(l))throw new b("observable-bind-wrong-properties",this);if(new Set(l).size!==l.length)throw new b("observable-bind-duplicate-properties",this);Ia(this);const c=this[Jo];l.forEach(d=>{if(c.has(d))throw new b("observable-bind-rebind",this)});const u=new Map;return l.forEach(d=>{const m={property:d,to:[]};c.set(d,m),u.set(d,m)}),{to:G_,toMany:K_,_observable:this,_bindProperties:l,_to:[],_bindings:u}}unbind(...l){if(!this[Zo])return;const c=this[Jo],u=this[as];if(l.length){if(!ah(l))throw new b("observable-unbind-wrong-properties",this);l.forEach(d=>{const m=c.get(d);m&&(m.to.forEach(([f,g])=>{const p=u.get(f),_=p[g];_.delete(m),_.size||delete p[g],Object.keys(p).length||(u.delete(f),this.stopListening(f,"change"))}),c.delete(d))})}else u.forEach((d,m)=>{this.stopListening(m,"change")}),u.clear(),c.clear()}decorate(l){Ia(this);const c=this[l];if(!c)throw new b("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:l});this.on(l,(u,d)=>{u.return=c.apply(this,d)}),this[l]=function(...u){return this.fire(l,u)},this[l][rh]=c,this[rn]||(this[rn]=[]),this[rn].push(l)}stopListening(l,c,u){if(!l&&this[rn]){for(const d of this[rn])this[d]=this[d][rh];delete this[rn]}super.stopListening(l,c,u)}}return r}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(n=>{ue[n]=jg.prototype[n]});function Ia(n){n[Zo]||(Object.defineProperty(n,Zo,{value:new Map}),Object.defineProperty(n,as,{value:new Map}),Object.defineProperty(n,Jo,{value:new Map}))}function G_(...n){const e=J_(...n),t=Array.from(this._bindings.keys()),i=t.length;if(!e.callback&&e.to.length>1)throw new b("observable-bind-to-no-callback",this);if(i>1&&e.callback)throw new b("observable-bind-to-extra-callback",this);e.to.forEach(o=>{if(o.properties.length&&o.properties.length!==i)throw new b("observable-bind-to-properties-length",this);o.properties.length||(o.properties=this._bindProperties)}),this._to=e.to,e.callback&&(this._bindings.get(t[0]).callback=e.callback),X_(this._observable,this._to),Y_(this),this._bindProperties.forEach(o=>{Ug(this._observable,o)})}function K_(n,e,t){if(this._bindings.size>1)throw new b("observable-bind-to-many-not-one-binding",this);this.to(...Z_(n,e),t)}function Z_(n,e){const t=n.map(i=>[i,e]);return Array.prototype.concat.apply([],t)}function ah(n){return n.every(e=>typeof e=="string")}function J_(...n){if(!n.length)throw new b("observable-bind-to-parse-error",null);const e={to:[]};let t;return typeof n[n.length-1]=="function"&&(e.callback=n.pop()),n.forEach(i=>{if(typeof i=="string")t.properties.push(i);else if(typeof i=="object")t={observable:i,properties:[]},e.to.push(t);else throw new b("observable-bind-to-parse-error",null)}),e}function Q_(n,e,t,i){const o=n[as],s=o.get(t),r=s||{};r[i]||(r[i]=new Set),r[i].add(e),s||o.set(t,r)}function Y_(n){let e;n._bindings.forEach((t,i)=>{n._to.forEach(o=>{e=o.properties[t.callback?0:n._bindProperties.indexOf(i)],t.to.push([o.observable,e]),Q_(n._observable,t,o.observable,e)})})}function Ug(n,e){const t=n[Jo].get(e);let i;t.callback?i=t.callback.apply(n,t.to.map(o=>o[0][o[1]])):(i=t.to[0],i=i[0][i[1]]),Object.prototype.hasOwnProperty.call(n,e)?n[e]=i:n.set(e,i)}function X_(n,e){e.forEach(t=>{const i=n[as];let o;i.get(t.observable)||n.listenTo(t.observable,"change",(s,r)=>{o=i.get(t.observable)[r],o&&o.forEach(a=>{Ug(n,a.property)})})})}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Ml(n){let e=0;for(const t of n)e++;return e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Xe(n,e){const t=Math.min(n.length,e.length);for(let i=0;i{this._setToTarget(e,o,t[o],i)})}}function lh(n){return Xr(n,ev)}function ev(n){return xi(n)||typeof n=="function"?n:void 0}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Zi(n){if(n){if(n.defaultView)return n instanceof n.defaultView.Document;if(n.ownerDocument&&n.ownerDocument.defaultView)return n instanceof n.ownerDocument.defaultView.Node}return!1}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Sr(n){const e=Object.prototype.toString.apply(n);return e=="[object Window]"||e=="[object global]"}const Gg=st(ge());function st(n){if(!n)return Gg;class e extends n{listenTo(i,o,s,r={}){if(Zi(i)||Sr(i)||i instanceof I.window.EventTarget){const a={capture:!!r.useCapture,passive:!!r.usePassive},l=this._getProxyEmitter(i,a)||new tv(i,a);this.listenTo(l,o,s,r)}else super.listenTo(i,o,s,r)}stopListening(i,o,s){if(Zi(i)||Sr(i)||i instanceof I.window.EventTarget){const r=this._getAllProxyEmitters(i);for(const a of r)this.stopListening(a,o,s)}else super.stopListening(i,o,s)}_getProxyEmitter(i,o){return $_(this,Kg(i,o))}_getAllProxyEmitters(i){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(o=>this._getProxyEmitter(i,o)).filter(o=>!!o)}}return e}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(n=>{st[n]=Gg.prototype[n]});class tv extends ge(){constructor(e,t){super(),h(this,"_domNode"),h(this,"_options"),h(this,"_domListeners"),$g(this,Kg(e,t)),this._domNode=e,this._options=t}attach(e){if(this._domListeners&&this._domListeners[e])return;const t=this._createDomListener(e);this._domNode.addEventListener(e,t,this._options),this._domListeners||(this._domListeners={}),this._domListeners[e]=t}detach(e){let t;this._domListeners[e]&&(!(t=this._events[e])||!t.callbacks.length)&&this._domListeners[e].removeListener()}_addEventListener(e,t,i){this.attach(e),ge().prototype._addEventListener.call(this,e,t,i)}_removeEventListener(e,t){ge().prototype._removeEventListener.call(this,e,t),this.detach(e)}_createDomListener(e){const t=i=>{this.fire(e,i)};return t.removeListener=()=>{this._domNode.removeEventListener(e,t,this._options),delete this._domListeners[e]},t}}function iv(n){return n["data-ck-expando"]||(n["data-ck-expando"]=ze())}function Kg(n,e){let t=iv(n);for(const i of Object.keys(e).sort())e[i]&&(t+="-"+i);return t}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Zg(n){const e=[];let t=n;for(;t&&t.nodeType!=Node.DOCUMENT_NODE;)e.unshift(t),t=t.parentNode;return e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Jg(n){return n instanceof HTMLTextAreaElement?n.value:n.innerHTML}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Dc(n){const e=n.ownerDocument.defaultView.getComputedStyle(n);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Qg(n){if(!n.target)return null;const e=n.target.ownerDocument,t=n.clientX,i=n.clientY;let o=null;return e.caretRangeFromPoint&&e.caretRangeFromPoint(t,i)?o=e.caretRangeFromPoint(t,i):n.rangeParent&&(o=e.createRange(),o.setStart(n.rangeParent,n.rangeOffset),o.collapse(!0)),o}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function xe(n){return Object.prototype.toString.call(n)=="[object Text]"}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ia(n){return Object.prototype.toString.apply(n)=="[object Range]"}function Yg(n){return!n||!n.parentNode||n.offsetParent===I.document.body?null:n.offsetParent}const Xg=["top","right","bottom","left","width","height"];class z{constructor(e){h(this,"top"),h(this,"right"),h(this,"bottom"),h(this,"left"),h(this,"width"),h(this,"height"),h(this,"_source");const t=ia(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),Fl(e)||t)if(t){const i=z.getDomRangeRects(e);Ns(this,z.getBoundingRect(i))}else Ns(this,e.getBoundingClientRect());else if(Sr(e)){const{innerWidth:i,innerHeight:o}=e;Ns(this,{top:0,right:i,bottom:o,left:0,width:i,height:o})}else Ns(this,e)}clone(){return new z(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left),width:0,height:0};if(t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0)return null;{const i=new z(t);return i._source=this._source,i}}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(ch(e))return t;let i=e,o=e.parentNode||e.commonAncestorContainer,s;for(;o&&!ch(o);){const r=nv(o)==="visible";i instanceof HTMLElement&&uh(i)==="absolute"&&(s=i);const a=uh(o);if(r||s&&(a==="relative"&&r||a!=="relative")){i=o,o=o.parentNode;continue}const l=new z(o),c=t.getIntersection(l);if(c)c.getArea(){for(const t of e){const i=Be._getElementCallbacks(t.target);if(i)for(const o of i)o(t)}})}};h(Nl,"_observerInstance",null),h(Nl,"_elementCallbacks",null);let bo=Nl;/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function hh(n,e){n instanceof HTMLTextAreaElement&&(n.value=e),n.innerHTML=e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Vi(n){return e=>e+n}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function to(n){let e=0;for(;n.previousSibling;)n=n.previousSibling,e++;return e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ep(n,e,t){n.insertBefore(t,n.childNodes[e]||null)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Qo(n){return n&&n.nodeType===Node.COMMENT_NODE}function tp(n){try{I.document.createAttribute(n)}catch{return!1}return!0}function Gt(n){return n?xe(n)?Gt(n.parentElement):n.getClientRects?!!n.getClientRects().length:!1:!1}function zc({element:n,target:e,positions:t,limiter:i,fitInViewport:o,viewportOffsetConfig:s}){Tr(e)&&(e=e()),Tr(i)&&(i=i());const r=Yg(n),a=sv(s),l=new z(n),c=dh(e,a);let u;if(!c||!a.getIntersection(c))return null;const d={targetRect:c,elementRect:l,positionedElementAncestor:r,viewportRect:a};if(!i&&!o)u=new ip(t[0],d);else{if(i){const m=dh(i,a);m&&(d.limiterRect=m)}u=rv(t,d)}return u}function dh(n,e){const t=new z(n).getVisible();return t?t.getIntersection(e):null}function sv(n){n=Object.assign({top:0,bottom:0,left:0,right:0},n);const e=new z(I.window);return e.top+=n.top,e.height-=n.top,e.bottom-=n.bottom,e.height-=n.bottom,e}function rv(n,e){const{elementRect:t}=e,i=t.getArea(),o=n.map(a=>new ip(a,e)).filter(a=>!!a.name);let s=0,r=null;for(const a of o){const{limiterIntersectionArea:l,viewportIntersectionArea:c}=a;if(l===i)return a;const u=c**2+l**2;u>s&&(s=u,r=a)}return r}class ip{constructor(e,t){h(this,"name"),h(this,"config"),h(this,"_positioningFunctionCoordinates"),h(this,"_options"),h(this,"_cachedRect"),h(this,"_cachedAbsoluteRect");const i=e(t.targetRect,t.elementRect,t.viewportRect,t.limiterRect);if(!i)return;const{left:o,top:s,name:r,config:a}=i;this.name=r,this.config=a,this._positioningFunctionCoordinates={left:o,top:s},this._options=t}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const e=this._options.limiterRect;return e?e.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect?this._cachedRect:(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top),this._cachedRect)}get _absoluteRect(){return this._cachedAbsoluteRect?this._cachedAbsoluteRect:(this._cachedAbsoluteRect=this._rect.toAbsoluteRect(),this._cachedAbsoluteRect)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function mh(n){const e=n.parentNode;e&&e.removeChild(n)}function av(){const n=I.window.visualViewport;if(!n||!(N.isiOS||N.isSafari))return{left:0,top:0};const e=Math.max(Math.round(n.offsetLeft),0),t=Math.max(Math.round(n.offsetTop),0);return{left:e,top:t}}function np({target:n,viewportOffset:e=0,ancestorOffset:t=0,alignToTop:i,forceScroll:o}){const s=Hc(n);let r=s,a=null;for(e=uv(e);r;){let l;r==s?l=fh(n):l=fh(a),cv({parent:l,getRect:()=>Va(n,r),alignToTop:i,ancestorOffset:t,forceScroll:o});let c=Va(n,r);const u=Va(l,r);if(c.height>u.height){const d=c.getIntersection(u);d&&(c=d)}if(lv({window:r,rect:c,viewportOffset:e,alignToTop:i,forceScroll:o}),r.parent!=r){if(a=r.frameElement,r=r.parent,!a)return}else r=null}}function lv({window:n,rect:e,alignToTop:t,forceScroll:i,viewportOffset:o}){const s=e.clone().moveBy(0,o.bottom),r=e.clone().moveBy(0,-o.top),a=new z(n).excludeScrollbarsAndBorders(),l=[r,s],c=t&&i,u=l.every(p=>a.contains(p));let{scrollX:d,scrollY:m}=n;const f=d,g=m;c?m-=a.top-e.top+o.top:u||(sp(r,a)?m-=a.top-e.top+o.top:op(s,a)&&(t?m+=e.top-a.top-o.top:m+=e.bottom-a.bottom+o.bottom)),u||(rp(e,a)?d-=a.left-e.left+o.left:ap(e,a)&&(d+=e.right-a.right+o.right)),(d!=f||m!==g)&&n.scrollTo(d,m)}function cv({parent:n,getRect:e,alignToTop:t,forceScroll:i,ancestorOffset:o=0,limiterElement:s}){const r=Hc(n),a=t&&i;let l,c,u;const d=s||r.document.body;for(;n!=d;)c=e(),l=new z(n).excludeScrollbarsAndBorders(),u=l.contains(c),a?n.scrollTop-=l.top-c.top+o:u||(sp(c,l)?n.scrollTop-=l.top-c.top+o:op(c,l)&&(t?n.scrollTop+=c.top-l.top-o:n.scrollTop+=c.bottom-l.bottom+o)),u||(rp(c,l)?n.scrollLeft-=l.left-c.left+o:ap(c,l)&&(n.scrollLeft+=c.right-l.right+o)),n=n.parentNode}function op(n,e){return n.bottom>e.bottom}function sp(n,e){return n.tope.right}function Hc(n){return ia(n)?n.startContainer.ownerDocument.defaultView:n.ownerDocument.defaultView}function fh(n){if(ia(n)){let e=n.commonAncestorContainer;return xe(e)&&(e=e.parentNode),e}else return n.parentNode}function Va(n,e){const t=Hc(n),i=new z(n);if(t===e)return i;{let o=t;for(;o!=e;){const s=o.frameElement,r=new z(s).excludeScrollbarsAndBorders();i.moveBy(r.left,r.top),o=o.parent}}return i}function uv(n){return typeof n=="number"?{top:n,bottom:n,left:n,right:n}:n}const hv={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},dv={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},gh={37:"←",38:"↑",39:"→",40:"↓",9:"⇥",33:"Page Up",34:"Page Down"},Z=wv(),mv=Object.fromEntries(Object.entries(Z).map(([n,e])=>{let t;return e in gh?t=gh[e]:t=n.charAt(0).toUpperCase()+n.slice(1),[e,t]}));function yn(n){let e;if(typeof n=="string"){if(e=Z[n.toLowerCase()],!e)throw new b("keyboard-unknown-key",null,{key:n})}else e=n.keyCode+(n.altKey?Z.alt:0)+(n.ctrlKey?Z.ctrl:0)+(n.shiftKey?Z.shift:0)+(n.metaKey?Z.cmd:0);return e}function na(n){return typeof n=="string"&&(n=bv(n)),n.map(e=>typeof e=="string"?gv(e):e).reduce((e,t)=>t+e,0)}function ph(n,e){let t=na(n);const i=N.isMac||N.isiOS;return Object.entries(i?hv:dv).reduce((o,[s,r])=>((t&Z[s])!=0&&(t&=~Z[s],o+=r),o),"")+(t?mv[t]:"")}function fv(n){return n==Z.arrowright||n==Z.arrowleft||n==Z.arrowup||n==Z.arrowdown}function oa(n,e){const t=e==="ltr";switch(n){case Z.arrowleft:return t?"left":"right";case Z.arrowright:return t?"right":"left";case Z.arrowup:return"up";case Z.arrowdown:return"down"}}function gv(n){if(n.endsWith("!"))return yn(n.slice(0,-1));const e=yn(n);return(N.isMac||N.isiOS)&&e==Z.ctrl?Z.cmd:e}function pv(n,e){const t=oa(n,e);return t==="down"||t==="right"}function wv(){const n={pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){const t=String.fromCharCode(e);n[t.toLowerCase()]=e}for(let e=48;e<=57;e++)n[e-48]=e;for(let e=112;e<=123;e++)n["f"+(e-111)]=e;return Object.assign(n,{"'":222,",":108,"-":109,".":110,"/":111,";":186,"=":187,"[":219,"\\":220,"]":221,"`":223}),n}function bv(n){return n.split("+").map(e=>e.trim())}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const _v=["ar","ara","dv","div","fa","per","fas","he","heb","ku","kur","ug","uig","ur","urd"];function Dl(n){return _v.includes(n)?"rtl":"ltr"}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function he(n){return Array.isArray(n)?n:[n]}/* istanbul ignore else -- @preserve */I.window.CKEDITOR_TRANSLATIONS||(I.window.CKEDITOR_TRANSLATIONS={});function vv(n,e,t=1,i){if(typeof t!="number")throw new b("translation-service-quantity-not-a-number",null,{quantity:t});const o=i||I.window.CKEDITOR_TRANSLATIONS,s=Cv(o);s===1&&(n=Object.keys(o)[0]);const r=e.id||e.string;if(s===0||!kv(n,r,o))return t!==1?e.plural:e.string;const a=o[n].dictionary,l=o[n].getPluralForm||(d=>d===1?0:1),c=a[r];if(typeof c=="string")return c;const u=Number(l(t));return c[u]}function yv(n){return Array.isArray(n)?n.reduce((e,t)=>Nc(e,t)):n}function kv(n,e,t){return!!t[n]&&!!t[n].dictionary[e]}function Cv(n){return Object.keys(n).length}class lp{constructor({uiLanguage:e="en",contentLanguage:t,translations:i}={}){h(this,"uiLanguage"),h(this,"uiLanguageDirection"),h(this,"contentLanguage"),h(this,"contentLanguageDirection"),h(this,"t"),h(this,"translations"),this.uiLanguage=e,this.contentLanguage=t||this.uiLanguage,this.uiLanguageDirection=Dl(this.uiLanguage),this.contentLanguageDirection=Dl(this.contentLanguage),this.translations=yv(i),this.t=(o,s)=>this._t(o,s)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(e,t=[]){t=he(t),typeof e=="string"&&(e={string:e});const i=e.plural?t[0]:1,o=vv(this.uiLanguage,e,i,this.translations);return Av(o,t)}}function Av(n,e){return n.replace(/%(\d+)/g,(t,i)=>ithis._items.length||t<0)throw new b("collection-add-item-invalid-index",this);let i=0;for(const o of e){const s=this._getItemIdBeforeAdding(o),r=t+i;this._items.splice(r,0,o),this._itemMap.set(s,o),this.fire("add",o,r),i++}return this.fire("change",{added:e,removed:[],index:t}),this}get(e){let t;if(typeof e=="string")t=this._itemMap.get(e);else if(typeof e=="number")t=this._items[e];else throw new b("collection-get-invalid-arg",this);return t||null}has(e){if(typeof e=="string")return this._itemMap.has(e);{const t=this._idProperty,i=e[t];return i&&this._itemMap.has(i)}}getIndex(e){let t;return typeof e=="string"?t=this._itemMap.get(e):t=e,t?this._items.indexOf(t):-1}remove(e){const[t,i]=this._remove(e);return this.fire("change",{added:[],removed:[t],index:i}),t}map(e,t){return this._items.map(e,t)}forEach(e,t){this._items.forEach(e,t)}find(e,t){return this._items.find(e,t)}filter(e,t){return this._items.filter(e,t)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const e=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:e,index:0})}bindTo(e){if(this._bindToCollection)throw new b("collection-bind-to-rebind",this);return this._bindToCollection=e,{as:t=>{this._setUpBindToBinding(i=>new t(i))},using:t=>{typeof t=="function"?this._setUpBindToBinding(t):this._setUpBindToBinding(i=>i[t])}}}_setUpBindToBinding(e){const t=this._bindToCollection,i=(o,s,r)=>{const a=t._bindToCollection==this,l=t._bindToInternalToExternalMap.get(s);if(a&&l)this._bindToExternalToInternalMap.set(s,l),this._bindToInternalToExternalMap.set(l,s);else{const c=e(s);if(!c){this._skippedIndexesFromExternal.push(r);return}let u=r;for(const d of this._skippedIndexesFromExternal)r>d&&u--;for(const d of t._skippedIndexesFromExternal)u>=d&&u++;this._bindToExternalToInternalMap.set(s,c),this._bindToInternalToExternalMap.set(c,s),this.add(c,u);for(let d=0;d{const a=this._bindToExternalToInternalMap.get(s);a&&this.remove(a),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((l,c)=>(rc&&l.push(c),l),[])})}_getItemIdBeforeAdding(e){const t=this._idProperty;let i;if(t in e){if(i=e[t],typeof i!="string")throw new b("collection-add-invalid-id",this);if(this.get(i))throw new b("collection-add-item-already-exists",this)}else e[t]=i=ze();return i}_remove(e){let t,i,o,s=!1;const r=this._idProperty;if(typeof e=="string"?(i=e,o=this._itemMap.get(i),s=!o,o&&(t=this._items.indexOf(o))):typeof e=="number"?(t=e,o=this._items[t],s=!o,o&&(i=o[r])):(o=e,i=o[r],t=this._items.indexOf(o),s=t==-1||!this._itemMap.get(i)),s)throw new b("collection-remove-404",this);this._items.splice(t,1),this._itemMap.delete(i);const a=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(a),this.fire("remove",o,t),[o,t]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ae(n){const e=n.next();return e.done?null:e.value}class ee extends st(ue()){constructor(){super(),h(this,"_elements",new Set),h(this,"_externalViews",new Set),h(this,"_blurTimeout",null),this.set("isFocused",!1),this.set("focusedElement",null)}get elements(){return Array.from(this._elements.values())}get externalViews(){return Array.from(this._externalViews.values())}add(e){if(bh(e))this._addElement(e);else if(wh(e))this._addView(e);else{if(!e.element)throw new b("focustracker-add-view-missing-element",{focusTracker:this,view:e});this._addElement(e.element)}}remove(e){bh(e)?this._removeElement(e):wh(e)?this._removeView(e):this._removeElement(e.element)}_addElement(e){if(this._elements.has(e))throw new b("focustracker-add-element-already-exist",this);this.listenTo(e,"focus",()=>{const t=this.externalViews.find(i=>xv(e,i));t?this._focus(t.element):this._focus(e)},{useCapture:!0}),this.listenTo(e,"blur",()=>{this._blur()},{useCapture:!0}),this._elements.add(e)}_removeElement(e){this._elements.has(e)&&(this.stopListening(e),this._elements.delete(e)),e===this.focusedElement&&this._blur()}_addView(e){e.element&&this._addElement(e.element),this.listenTo(e.focusTracker,"change:focusedElement",()=>{e.focusTracker.focusedElement?e.element&&this._focus(e.element):this._blur()}),this._externalViews.add(e)}_removeView(e){e.element&&this._removeElement(e.element),this.stopListening(e.focusTracker),this._externalViews.delete(e)}destroy(){this.stopListening(),this._elements.clear(),this._externalViews.clear(),this.isFocused=!1,this.focusedElement=null}_focus(e){this._clearBlurTimeout(),this.focusedElement=e,this.isFocused=!0}_blur(){this.elements.find(e=>e.contains(document.activeElement))||this.externalViews.find(e=>e.focusTracker.isFocused&&!e.focusTracker._blurTimeout)||(this._clearBlurTimeout(),this._blurTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0))}_clearBlurTimeout(){clearTimeout(this._blurTimeout),this._blurTimeout=null}}function wh(n){return"focusTracker"in n&&n.focusTracker instanceof ee}function bh(n){return xi(n)}function xv(n,e){return _h(n,e)?!0:!!e.focusTracker.externalViews.find(t=>_h(n,t))}function _h(n,e){return!!e.element&&e.element.contains(document.activeElement)&&n.contains(e.element)}class te{constructor(){h(this,"_listener"),this._listener=new(st())}listenTo(e){this._listener.listenTo(e,"keydown",(t,i)=>{this._listener.fire("_keydown:"+yn(i),i)})}set(e,t,i={}){const o=na(e),s=i.priority;this._listener.listenTo(this._listener,"_keydown:"+o,(r,a)=>{i.filter&&!i.filter(a)||(t(a,()=>{a.preventDefault(),a.stopPropagation(),r.stop()}),r.return=!0)},{priority:s})}press(e){return!!this._listener.fire("_keydown:"+yn(e),e)}stopListening(e){this._listener.stopListening(e)}destroy(){this.stopListening()}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Tv(n){const e=new Map;for(const t in n)e.set(t,n[t]);return e}function ri(n){return Pt(n)?new Map(n):Tv(n)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function vh(n,e,t){const i=n.length,o=e.length;for(let s=i-1;s>=t;s--)n[s+o]=n[s];for(let s=0;sn(...o),e)}return i.cancel=()=>{clearTimeout(t)},i}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Wc(n){try{if(!n.startsWith("ey"))return null;const e=atob(n.replace(/-/g,"+").replace(/_/g,"/"));return JSON.parse(e)}catch{return null}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Ev(){const n=[];for(let e=0;e<256;e++){let t=e;for(let i=0;i<8;i++)t&1?t=3988292384^t>>>1:t=t>>>1;n[e]=t}return n}function Sv(n){const e=Array.isArray(n)?n:[n],t=Ev();let i=-1;const o=e.map(s=>Array.isArray(s)?s.join(""):String(s)).join("");for(let s=0;s>>8^t[(i^r)&255]}return i=(i^-1)>>>0,i.toString(16).padStart(8,"0")}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Pv(n){return!!n&&n.length==1&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(n)}function Iv(n){return!!n&&n.length==1&&/[\ud800-\udbff]/.test(n)}function Vv(n){return!!n&&n.length==1&&/[\udc00-\udfff]/.test(n)}function jc(n,e){return Iv(n.charAt(e-1))&&Vv(n.charAt(e))}function Uc(n,e){return Pv(n.charAt(e))}const Rv=Ov();function cp(n,e){const t=String(n).matchAll(Rv);return Array.from(t).some(i=>i.indexo.source).join("|")+")",i=`${e}|${t}(?:‍${t})*`;return new RegExp(i,"ug")}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const To=new WeakMap;let yh=!1;function sa({view:n,element:e,text:t,isDirectHost:i=!0,keepOnFocus:o=!1}){const s=n.document;To.has(s)||(To.set(s,new Map),s.registerPostFixer(a=>Ra(To.get(s),a)),s.on("change:isComposing",()=>{n.change(a=>Ra(To.get(s),a))},{priority:"high"})),e.is("editableElement")&&e.on("change:placeholder",(a,l,c)=>r(c)),e.placeholder?r(e.placeholder):t&&r(t),t&&Dv();function r(a){const l={text:a,isDirectHost:i,keepOnFocus:o,hostElement:i?e:null};To.get(s).set(e,l),n.change(c=>Ra([[e,l]],c))}}function Bv(n,e){return e.hasClass("ck-placeholder")?!1:(n.addClass("ck-placeholder",e),!0)}function Mv(n,e){return e.hasClass("ck-placeholder")?(n.removeClass("ck-placeholder",e),!0):!1}function Lv(n,e){if(!n.isAttached()||Fv(n))return!1;const t=n.document,i=t.selection.anchor;return t.isComposing&&i&&i.parent===n?!1:e||!t.isFocused?!0:!!i&&i.parent!==n}function Fv(n){for(const e of n.getChildren())if(!e.is("uiElement"))return!0;return!1}function Ra(n,e){const t=[];let i=!1;for(const[o,s]of n)s.isDirectHost&&(t.push(o),kh(e,o,s)&&(i=!0));for(const[o,s]of n){if(s.isDirectHost)continue;const r=Nv(o);r&&(t.includes(r)||(s.hostElement=r,kh(e,o,s)&&(i=!0)))}return i}function kh(n,e,t){const{text:i,isDirectHost:o,hostElement:s}=t;let r=!1;return s.getAttribute("data-placeholder")!==i&&(n.setAttribute("data-placeholder",i,s),r=!0),(o||e.childCount==1)&&Lv(s,t.keepOnFocus)?Bv(n,s)&&(r=!0):Mv(n,s)&&(r=!0),r}function Nv(n){if(n.childCount){const e=n.getChild(0);if(e.is("element")&&!e.is("uiElement")&&!e.is("attributeElement"))return e}return null}function Dv(){yh||J("enableplaceholder-deprecated-text-option"),yh=!0}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */let Cn=class{is(){throw new Error("is() method is abstract")}},An=class extends ge(Cn){constructor(n){super(),h(this,"document"),h(this,"parent"),this.document=n,this.parent=null}get index(){let n;if(!this.parent)return null;if((n=this.parent.getChildIndex(this))==-1)throw new b("view-node-not-found-in-parent",this);return n}get nextSibling(){const n=this.index;return n!==null&&this.parent.getChild(n+1)||null}get previousSibling(){const n=this.index;return n!==null&&this.parent.getChild(n-1)||null}get root(){let n=this;for(;n.parent;)n=n.parent;return n}isAttached(){return this.root.is("rootElement")}getPath(){const n=[];let e=this;for(;e.parent;)n.unshift(e.index),e=e.parent;return n}getAncestors(n={}){const e=[];let t=n.includeSelf?this:this.parent;for(;t;)e[n.parentFirst?"push":"unshift"](t),t=t.parent;return e}getCommonAncestor(n,e={}){const t=this.getAncestors(e),i=n.getAncestors(e);let o=0;for(;t[o]==i[o]&&t[o];)o++;return o===0?null:t[o-1]}isBefore(n){if(this==n||this.root!==n.root)return!1;const e=this.getPath(),t=n.getPath(),i=Xe(e,t);switch(i){case"prefix":return!0;case"extension":return!1;default:return e[i]n.data.length)throw new b("view-textproxy-wrong-offsetintext",this);if(t<0||e+t>n.data.length)throw new b("view-textproxy-wrong-length",this);this.data=n.data.substring(e,e+t),this.offsetInText=e}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(n={}){const e=[];let t=n.includeSelf?this.textNode:this.parent;for(;t!==null;)e[n.parentFirst?"push":"unshift"](t),t=t.parent;return e}};_i.prototype.is=function(n){return n==="$textProxy"||n==="view:$textProxy"||n==="textProxy"||n==="view:textProxy"};class Pr{constructor(){h(this,"_consumables",new Map)}add(e,t){let i;if(e.is("$text")||e.is("documentFragment")){this._consumables.set(e,!0);return}this._consumables.has(e)?i=this._consumables.get(e):(i=new zv(e),this._consumables.set(e,i)),i.add(t?jo(t):e._getConsumables())}test(e,t){const i=this._consumables.get(e);return i===void 0?null:e.is("$text")||e.is("documentFragment")?i:i.test(jo(t))}consume(e,t){if(e.is("$text")||e.is("documentFragment"))return this.test(e,t)?(this._consumables.set(e,!1),!0):!1;const i=this._consumables.get(e);return i===void 0?!1:i.consume(jo(t))}revert(e,t){const i=this._consumables.get(e);i!==void 0&&(e.is("$text")||e.is("documentFragment")?this._consumables.set(e,!0):i.revert(jo(t)))}static createFrom(e,t){if(t||(t=new Pr),e.is("$text"))t.add(e);else if(e.is("element")||e.is("documentFragment")){t.add(e);for(const i of e.getChildren())Pr.createFrom(i,t)}return t}}class zv{constructor(e){h(this,"element"),h(this,"_canConsumeName",null),h(this,"_attributes",new Map),this.element=e}add(e){e.name&&(this._canConsumeName=!0);for(const[t,i]of e.attributes)if(i){let o=this._attributes.get(t);(!o||typeof o=="boolean")&&(o=new Map,this._attributes.set(t,o)),o.set(i,!0)}else{if(t=="style"||t=="class")throw new b("viewconsumable-invalid-attribute",this);this._attributes.set(t,!0)}}test(e){if(e.name&&!this._canConsumeName)return this._canConsumeName;for(const[t,i]of e.attributes){const o=this._attributes.get(t);if(o===void 0)return null;if(o===!1)return!1;if(o!==!0){if(i){const s=o.get(i);if(s===void 0)return null;if(!s)return!1}else for(const s of o.values())if(!s)return!1}}return!0}consume(e){if(!this.test(e))return!1;e.name&&(this._canConsumeName=!1);for(const[t,i]of e.attributes){const o=this._attributes.get(t);if(typeof o=="boolean")for(const[s]of this.element._getConsumables(t,i).attributes)this._attributes.set(s,!1);else if(i)for(const[,s]of this.element._getConsumables(t,i).attributes)o.set(s,!1);else for(const s of o.keys())o.set(s,!1)}return!0}revert(e){e.name&&(this._canConsumeName=!0);for(const[t,i]of e.attributes){const o=this._attributes.get(t);if(o===!1){this._attributes.set(t,!0);continue}if(!(o===void 0||o===!0))if(i)o.get(i)===!1&&o.set(i,!0);else for(const s of o.keys())o.set(s,!0)}}}function jo(n){const e=[];return"attributes"in n&&n.attributes&&Oa(e,n.attributes),"classes"in n&&n.classes&&Oa(e,n.classes,"class"),"styles"in n&&n.styles&&Oa(e,n.styles,"style"),{name:n.name||!1,attributes:e}}function Oa(n,e,t){if(typeof e=="string"){n.push(t?[t,e]:[e]);return}for(const i of e)Array.isArray(i)?n.push(i):n.push(t?[t,i]:[i])}class ft{constructor(...e){h(this,"_patterns",[]),this.add(...e)}add(...e){for(let t of e)(typeof t=="string"||t instanceof RegExp)&&(t={name:t}),this._patterns.push(t)}match(...e){for(const t of e)for(const i of this._patterns){const o=this._isElementMatching(t,i);if(o)return{element:t,pattern:i,match:o}}return null}matchAll(...e){const t=[];for(const i of e)for(const o of this._patterns){const s=this._isElementMatching(i,o);s&&t.push({element:i,pattern:o,match:s})}return t.length>0?t:null}getElementName(){if(this._patterns.length!==1)return null;const e=this._patterns[0],t=e.name;return typeof e!="function"&&t&&!(t instanceof RegExp)?t:null}_isElementMatching(e,t){if(typeof t=="function"){const s=t(e);return!s||typeof s!="object"?s:jo(s)}const i={};if(t.name&&(i.name=Hv(t.name,e.name),!i.name))return null;const o=[];return t.attributes&&!$v(t.attributes,e,o)||t.classes&&!Wv(t.classes,e,o)||t.styles&&!jv(t.styles,e,o)?null:(o.length&&(i.attributes=o),i)}}function Ir(n,e){return n===!0||n===e||n instanceof RegExp&&!!String(e).match(n)}function Hv(n,e){return n instanceof RegExp?!!e.match(n):n===e}function qc(n,e){if(Array.isArray(n))return n.map(i=>typeof i!="object"||i instanceof RegExp?e?[e,i,!0]:[i,!0]:((i.key===void 0||i.value===void 0)&&J("matcher-pattern-missing-key-or-value",i),e?[e,i.key,i.value]:[i.key,i.value]));if(typeof n!="object"||n instanceof RegExp)return[e?[e,n,!0]:[n,!0]];const t=[];for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.push(e?[e,i,n[i]]:[i,n[i]]);return t}function $v(n,e,t){let i;return typeof n=="object"&&!(n instanceof RegExp)&&!Array.isArray(n)?(n.style!==void 0&&J("matcher-pattern-deprecated-attributes-style-key",n),n.class!==void 0&&J("matcher-pattern-deprecated-attributes-class-key",n)):i=["class","style"],e._collectAttributesMatch(qc(n),t,i)}function Wv(n,e,t){return e._collectAttributesMatch(qc(n,"class"),t)}function jv(n,e,t){return e._collectAttributesMatch(qc(n,"style"),t)}class so{constructor(e){h(this,"_styles"),h(this,"_cachedStyleNames",null),h(this,"_cachedExpandedStyleNames",null),h(this,"_styleProcessor"),this._styles={},this._styleProcessor=e}get isEmpty(){return!Object.entries(this._styles).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(e){this.clear();const t=qv(e);for(const[i,o]of t)this._styleProcessor.toNormalizedForm(i,o,this._styles);return this}has(e){if(this.isEmpty)return!1;const t=this._styleProcessor.getReducedForm(e,this._styles).find(([i])=>i===e);return Array.isArray(t)}set(e,t){if(this._cachedStyleNames=null,this._cachedExpandedStyleNames=null,Et(e))for(const[i,o]of Object.entries(e))this._styleProcessor.toNormalizedForm(i,o,this._styles);else this._styleProcessor.toNormalizedForm(e,t,this._styles)}remove(e){for(const t of he(e)){this._cachedStyleNames=null,this._cachedExpandedStyleNames=null;const i=Hl(t);v_(this._styles,i),delete this._styles[t],this._cleanEmptyObjectsOnPath(i)}}getNormalized(e){return this._styleProcessor.getNormalized(e,this._styles)}toString(){return this.isEmpty?"":this.getStylesEntries().map(e=>e.join(":")).sort().join(";")+";"}getAsString(e){if(this.isEmpty)return;if(this._styles[e]&&!Et(this._styles[e]))return this._styles[e];const t=this._styleProcessor.getReducedForm(e,this._styles).find(([i])=>i===e);if(Array.isArray(t))return t[1]}getStyleNames(e=!1){return this.isEmpty?[]:e?(this._cachedExpandedStyleNames||(this._cachedExpandedStyleNames=this._styleProcessor.getStyleNames(this._styles)),this._cachedExpandedStyleNames):(this._cachedStyleNames||(this._cachedStyleNames=this.getStylesEntries().map(([t])=>t)),this._cachedStyleNames)}keys(){return this.getStyleNames()}clear(){this._styles={},this._cachedStyleNames=null,this._cachedExpandedStyleNames=null}isSimilar(e){if(this.size!==e.size)return!1;for(const t of this.getStyleNames())if(!e.has(t)||e.getAsString(t)!==this.getAsString(t))return!1;return!0}getStylesEntries(){const e=[],t=Object.keys(this._styles);for(const i of t)e.push(...this._styleProcessor.getReducedForm(i,this._styles));return e}_clone(){const e=new this.constructor(this._styleProcessor);return e.set(this.getNormalized()),e}_getTokensMatch(e,t){const i=[];for(const o of this.getStyleNames(!0))if(Ir(e,o)){if(t===!0){i.push(o);continue}const s=this.getAsString(o);Ir(t,s)&&i.push(o)}return i.length?i:void 0}_getConsumables(e){const t=[];if(e){t.push(e);for(const i of this._styleProcessor.getRelatedStyles(e))t.push(i)}else for(const i of this.getStyleNames()){for(const o of this._styleProcessor.getRelatedStyles(i))t.push(o);t.push(i)}return t}_canMergeFrom(e){for(const t of e.getStyleNames())if(this.has(t)&&this.getAsString(t)!==e.getAsString(t))return!1;return!0}_mergeFrom(e){for(const t of e.getStyleNames())this.has(t)||this.set(t,e.getAsString(t))}_isMatching(e){for(const t of e.getStyleNames())if(!this.has(t)||this.getAsString(t)!==e.getAsString(t))return!1;return!0}_cleanEmptyObjectsOnPath(e){const t=e.split(".");if(!(t.length>1))return;const i=t.splice(0,t.length-1).join("."),o=Ki(this._styles,i);o&&!Object.keys(o).length&&this.remove(i)}}class Uv{constructor(){h(this,"_normalizers"),h(this,"_extractors"),h(this,"_reducers"),h(this,"_consumables"),this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(e,t,i){if(Et(t)){Ba(i,Hl(e),t);return}if(this._normalizers.has(e)){const o=this._normalizers.get(e),{path:s,value:r}=o(t);Ba(i,s,r)}else Ba(i,e,t)}getNormalized(e,t){if(!e)return Nc({},t);if(t[e]!==void 0)return t[e];if(this._extractors.has(e)){const i=this._extractors.get(e);if(typeof i=="string")return Ki(t,i);const o=i(e,t);if(o)return o}return Ki(t,Hl(e))}getReducedForm(e,t){const i=this.getNormalized(e,t);return i===void 0?[]:this._reducers.has(e)?this._reducers.get(e)(i):[[e,i]]}getStyleNames(e){const t=new Set;for(const i of this._consumables.keys()){const o=this.getNormalized(i,e);o&&(typeof o!="object"||Object.keys(o).length)&&t.add(i)}for(const i of Object.keys(e))t.add(i);return Array.from(t)}getRelatedStyles(e){return this._consumables.get(e)||[]}setNormalizer(e,t){this._normalizers.set(e,t)}setExtractor(e,t){this._extractors.set(e,t)}setReducer(e,t){this._reducers.set(e,t)}setStyleRelation(e,t){this._mapStyleNames(e,t);for(const i of t)this._mapStyleNames(i,[e])}_mapStyleNames(e,t){this._consumables.has(e)||this._consumables.set(e,[]),this._consumables.get(e).push(...t)}}function qv(n){let e=null,t=0,i=0,o=null;const s=new Map;if(n==="")return s;n.charAt(n.length-1)!=";"&&(n=n+";");for(let r=0;ro!="style"&&o!="class").map(o=>`${o[0]}="${o[1]}"`).sort().join(" ");return this.name+(e==""?"":` class="${e}"`)+(t?` style="${t}"`:"")+(i==""?"":` ${i}`)}shouldRenderUnsafeAttribute(e){return this._unsafeAttributesToRender.includes(e)}_clone(e=!1){const t=[];if(e)for(const o of this.getChildren())t.push(o._clone(e));const i=new this.constructor(this.document,this.name,this._attrs,t);return i._customProperties=new Map(this._customProperties),i.getFillerOffset=this.getFillerOffset,i._unsafeAttributesToRender=this._unsafeAttributesToRender,i}_appendChild(e){return this._insertChild(this.childCount,e)}_insertChild(e,t){this._fireChange("children",this,{index:e});let i=0;const o=Gv(this.document,t);for(const s of o)s.parent!==null&&s._remove(),s.parent=this,s.document=this.document,this._children.splice(e,0,s),e++,i++;return i}_removeChildren(e,t=1){this._fireChange("children",this,{index:e});for(let i=e;is&&e.selection.editableElement==this),this.listenTo(e.selection,"change",()=>{this.isFocused=e.isFocused&&e.selection.editableElement==this})}destroy(){this.stopListening()}}ra.prototype.is=function(n,e){return e?e===this.name&&(n==="editableElement"||n==="view:editableElement"||n==="containerElement"||n==="view:containerElement"||n==="element"||n==="view:element"):n==="editableElement"||n==="view:editableElement"||n==="containerElement"||n==="view:containerElement"||n==="element"||n==="view:element"||n==="node"||n==="view:node"};const Ch=Symbol("rootName");class hp extends ra{constructor(e,t){super(e,t),this.rootName="main"}get rootName(){return this.getCustomProperty(Ch)}set rootName(e){this._setCustomProperty(Ch,e)}set _name(e){this.name=e}}hp.prototype.is=function(n,e){return e?e===this.name&&(n==="rootElement"||n==="view:rootElement"||n==="editableElement"||n==="view:editableElement"||n==="containerElement"||n==="view:containerElement"||n==="element"||n==="view:element"):n==="rootElement"||n==="view:rootElement"||n==="editableElement"||n==="view:editableElement"||n==="containerElement"||n==="view:containerElement"||n==="element"||n==="view:element"||n==="node"||n==="view:node"};let bn=class{constructor(n={}){if(h(this,"direction"),h(this,"boundaries"),h(this,"singleCharacters"),h(this,"shallow"),h(this,"ignoreElementEnd"),h(this,"_position"),h(this,"_boundaryStartParent"),h(this,"_boundaryEndParent"),!n.boundaries&&!n.startPosition)throw new b("view-tree-walker-no-start-position",null);if(n.direction&&n.direction!="forward"&&n.direction!="backward")throw new b("view-tree-walker-unknown-direction",n.startPosition,{direction:n.direction});this.boundaries=n.boundaries||null,n.startPosition?this._position=V._createAt(n.startPosition):this._position=V._createAt(n.boundaries[n.direction=="backward"?"end":"start"]),this.direction=n.direction||"forward",this.singleCharacters=!!n.singleCharacters,this.shallow=!!n.shallow,this.ignoreElementEnd=!!n.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(n){let e,t;do t=this.position,e=this.next();while(!e.done&&n(e.value));e.done||(this._position=t)}jumpTo(n){this._boundaryStartParent&&n.isBefore(this.boundaries.start)?n=this.boundaries.start:this._boundaryEndParent&&n.isAfter(this.boundaries.end)&&(n=this.boundaries.end),this._position=n.clone()}next(){return this.direction=="forward"?this._next():this._previous()}_next(){let n=this.position.clone();const e=this.position,t=n.parent;if(t.parent===null&&n.offset===t.childCount)return{done:!0,value:void 0};if(t===this._boundaryEndParent&&n.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let i;if(t&&t.is("view:$text")){if(n.isAtEnd)return this._position=V._createAfter(t),this._next();i=t.data[n.offset]}else i=t.getChild(n.offset);if(typeof i=="string"){let o;this.singleCharacters?o=1:o=(t===this._boundaryEndParent?this.boundaries.end.offset:t.data.length)-n.offset;const s=new _i(t,n.offset,o);return n.offset+=o,this._position=n,this._formatReturnValue("text",s,e,n,o)}if(i&&i.is("view:element")){if(!this.shallow)n=new V(i,0);else{if(this.boundaries&&this.boundaries.end.isBefore(n))return{done:!0,value:void 0};n.offset++}return this._position=n,this._formatReturnValue("elementStart",i,e,n,1)}if(i&&i.is("view:$text")){if(this.singleCharacters)return n=new V(i,0),this._position=n,this._next();let o=i.data.length,s;return i==this._boundaryEndParent?(o=this.boundaries.end.offset,s=new _i(i,0,o),n=V._createAfter(s)):(s=new _i(i,0,i.data.length),n.offset++),this._position=n,this._formatReturnValue("text",s,e,n,o)}return n=V._createAfter(t),this._position=n,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",t,e,n)}_previous(){let n=this.position.clone();const e=this.position,t=n.parent;if(t.parent===null&&n.offset===0)return{done:!0,value:void 0};if(t==this._boundaryStartParent&&n.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let i;if(t.is("view:$text")){if(n.isAtStart)return this._position=V._createBefore(t),this._previous();i=t.data[n.offset-1]}else i=t.getChild(n.offset-1);if(typeof i=="string"){let o;if(this.singleCharacters)o=1;else{const r=t===this._boundaryStartParent?this.boundaries.start.offset:0;o=n.offset-r}n.offset-=o;const s=new _i(t,n.offset,o);return this._position=n,this._formatReturnValue("text",s,e,n,o)}if(i&&i.is("view:element"))return this.shallow?(n.offset--,this._position=n,this._formatReturnValue("elementStart",i,e,n,1)):(n=new V(i,i.childCount),this._position=n,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",i,e,n));if(i&&i.is("view:$text")){if(this.singleCharacters)return n=new V(i,i.data.length),this._position=n,this._previous();let o=i.data.length,s;if(i==this._boundaryStartParent){const r=this.boundaries.start.offset;s=new _i(i,r,i.data.length-r),o=s.data.length,n=V._createBefore(s)}else s=new _i(i,0,i.data.length),n.offset--;return this._position=n,this._formatReturnValue("text",s,e,n,o)}return n=V._createBefore(t),this._position=n,this._formatReturnValue("elementStart",t,e,n,1)}_formatReturnValue(n,e,t,i,o){return e.is("view:$textProxy")&&(e.offsetInText+e.data.length==e.textNode.data.length&&(this.direction=="forward"&&!(this.boundaries&&this.boundaries.end.isEqual(this.position))?(i=V._createAfter(e.textNode),this._position=i):t=V._createAfter(e.textNode)),e.offsetInText===0&&(this.direction=="backward"&&!(this.boundaries&&this.boundaries.start.isEqual(this.position))?(i=V._createBefore(e.textNode),this._position=i):t=V._createBefore(e.textNode))),{done:!1,value:{type:n,item:e,previousPosition:t,nextPosition:i,length:o}}}},V=class pi extends Cn{constructor(e,t){super(),h(this,"parent"),h(this,"offset"),this.parent=e,this.offset=t}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return this.offset===0}get isAtEnd(){const e=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===e}get root(){return this.parent.root}get editableElement(){let e=this.parent;for(;!(e instanceof ra);)if(e.parent)e=e.parent;else return null;return e}getShiftedBy(e){const t=pi._createAt(this),i=t.offset+e;return t.offset=i<0?0:i,t}getLastMatchingPosition(e,t={}){t.startPosition=this;const i=new bn(t);return i.skip(e),i.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(e){const t=this.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]==i[o]&&t[o];)o++;return o===0?null:t[o-1]}isEqual(e){return this.parent==e.parent&&this.offset==e.offset}isBefore(e){return this.compareWith(e)=="before"}isAfter(e){return this.compareWith(e)=="after"}compareWith(e){if(this.root!==e.root)return"different";if(this.isEqual(e))return"same";const t=this.parent.is("node")?this.parent.getPath():[],i=e.parent.is("node")?e.parent.getPath():[];t.push(this.offset),i.push(e.offset);const o=Xe(t,i);switch(o){case"prefix":return"before";case"extension":return"after";default:return t[o]0?new this(i,o):new this(o,i)}static _createIn(e){return this._createFromParentsAndOffsets(e,0,e,e.childCount)}static _createOn(e){const t=e.is("$textProxy")?e.offsetSize:1;return this._createFromPositionAndShift(V._createBefore(e),t)}};Q.prototype.is=function(n){return n==="range"||n==="view:range"};function Ds(n){return!!(n.item.is("attributeElement")||n.item.is("uiElement"))}let ki=class dp extends ge(Cn){constructor(...e){super(),h(this,"_ranges"),h(this,"_lastRangeBackward"),h(this,"_isFake"),h(this,"_fakeSelectionLabel"),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",e.length&&this.setTo(...e)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.end:e.start).clone()}get focus(){if(!this._ranges.length)return null;const e=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?e.start:e.end).clone()}get isCollapsed(){return this.rangeCount===1&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const e of this._ranges)yield e.clone()}getFirstRange(){let e=null;for(const t of this._ranges)(!e||t.start.isBefore(e.start))&&(e=t);return e?e.clone():null}getLastRange(){let e=null;for(const t of this._ranges)(!e||t.end.isAfter(e.end))&&(e=t);return e?e.clone():null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}isEqual(e){if(this.isFake!=e.isFake||this.isFake&&this.fakeSelectionLabel!=e.fakeSelectionLabel||this.rangeCount!=e.rangeCount)return!1;if(this.rangeCount===0)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}isSimilar(e){if(this.isBackward!=e.isBackward)return!1;const t=Ml(this.getRanges()),i=Ml(e.getRanges());if(t!=i)return!1;if(t==0)return!0;for(let o of this.getRanges()){o=o.getTrimmed();let s=!1;for(let r of e.getRanges())if(r=r.getTrimmed(),o.start.isEqual(r.start)&&o.end.isEqual(r.end)){s=!0;break}if(!s)return!1}return!0}getSelectedElement(){return this.rangeCount!==1?null:this.getFirstRange().getContainedElement()}setTo(...e){let[t,i,o]=e;if(typeof i=="object"&&(o=i,i=void 0),t===null)this._setRanges([]),this._setFakeOptions(o);else if(t instanceof dp||t instanceof Gc)this._setRanges(t.getRanges(),t.isBackward),this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel});else if(t instanceof Q)this._setRanges([t],o&&o.backward),this._setFakeOptions(o);else if(t instanceof V)this._setRanges([new Q(t)]),this._setFakeOptions(o);else if(t instanceof An){const s=!!o&&!!o.backward;let r;if(i===void 0)throw new b("view-selection-setto-required-second-parameter",this);i=="in"?r=Q._createIn(t):i=="on"?r=Q._createOn(t):r=new Q(V._createAt(t,i)),this._setRanges([r],s),this._setFakeOptions(o)}else if(Pt(t))this._setRanges(t,o&&o.backward),this._setFakeOptions(o);else throw new b("view-selection-setto-not-selectable",this);this.fire("change")}setFocus(e,t){if(this.anchor===null)throw new b("view-selection-setfocus-no-ranges",this);const i=V._createAt(e,t);if(i.compareWith(this.focus)=="same")return;const o=this.anchor;this._ranges.pop(),i.compareWith(o)=="before"?this._addRange(new Q(i,o),!0):this._addRange(new Q(o,i)),this.fire("change")}_setRanges(e,t=!1){e=Array.from(e),this._ranges=[];for(const i of e)this._addRange(i);this._lastRangeBackward=!!t}_setFakeOptions(e={}){this._isFake=!!e.fake,this._fakeSelectionLabel=e.fake&&e.label||""}_addRange(e,t=!1){if(!(e instanceof Q))throw new b("view-selection-add-range-not-range",this);this._pushRange(e),this._lastRangeBackward=!!t}_pushRange(e){for(const t of this._ranges)if(e.isIntersecting(t))throw new b("view-selection-range-intersects",this,{addedRange:e,intersectingRange:t});this._ranges.push(new Q(e.start,e.end))}};ki.prototype.is=function(n){return n==="selection"||n==="view:selection"};let Gc=class extends ge(Cn){constructor(...n){super(),h(this,"_selection"),this._selection=new ki,this._selection.delegate("change").to(this),n.length&&this._selection.setTo(...n)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(n){return this._selection.isEqual(n)}isSimilar(n){return this._selection.isSimilar(n)}_setTo(...n){this._selection.setTo(...n)}_setFocus(n,e){this._selection.setFocus(n,e)}};Gc.prototype.is=function(n){return n==="selection"||n=="documentSelection"||n=="view:selection"||n=="view:documentSelection"};class xn extends Ti{constructor(e,t,i){super(e,t),h(this,"startRange"),h(this,"_eventPhase"),h(this,"_currentTarget"),this.startRange=i,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const La=Symbol("bubbling contexts");function $l(n){class e extends n{fire(i,...o){try{const s=i instanceof Ti?i:new Ti(this,i),r=Fa(this);if(!r.size)return;if(So(s,"capturing",this),Fn(r,"$capture",s,...o))return s.return;const a=s.startRange||this.selection.getFirstRange(),l=a?a.getContainedElement():null,c=l?!!mp(r,l):!1;let u=l||Zv(a);if(So(s,"atTarget",u),!c){if(Fn(r,"$text",s,...o))return s.return;So(s,"bubbling",u)}for(;u;){if(u.is("rootElement")){if(Fn(r,"$root",s,...o))return s.return}else if(u.is("element")&&Fn(r,u.name,s,...o))return s.return;if(Fn(r,u,s,...o))return s.return;u=u.parent,So(s,"bubbling",u)}return So(s,"bubbling",this),Fn(r,"$document",s,...o),s.return}catch(s){/* istanbul ignore next -- @preserve */b.rethrowUnexpectedError(s,this)}}_addEventListener(i,o,s){const r=he(s.context||"$document"),a=Fa(this);for(const l of r){let c=a.get(l);c||(c=new(ge()),a.set(l,c)),this.listenTo(c,i,o,s)}}_removeEventListener(i,o){const s=Fa(this);for(const r of s.values())this.stopListening(r,i,o)}}return e}{const n=$l(Object);["fire","_addEventListener","_removeEventListener"].forEach(e=>{$l[e]=n.prototype[e]})}function So(n,e,t){n instanceof xn&&(n._eventPhase=e,n._currentTarget=t)}function Fn(n,e,t,...i){const o=typeof e=="string"?n.get(e):mp(n,e);return o?(o.fire(t,...i),t.stop.called):!1}function mp(n,e){for(const[t,i]of n)if(typeof t=="function"&&t(e))return i;return null}function Fa(n){return n[La]||(n[La]=new Map),n[La]}function Zv(n){if(!n)return null;const e=n.start.parent,t=n.end.parent,i=e.getPath(),o=t.getPath();return i.length>o.length?e:t}let aa=class extends $l(ue()){constructor(n){super(),h(this,"selection"),h(this,"roots"),h(this,"stylesProcessor"),h(this,"_postFixers",new Set),this.selection=new Gc,this.roots=new _e({idProperty:"rootName"}),this.stylesProcessor=n,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(n="main"){return this.roots.get(n)}registerPostFixer(n){this._postFixers.add(n)}destroy(){this.roots.forEach(n=>n.destroy()),this.stopListening()}_callPostFixers(n){let e=!1;do for(const t of this._postFixers)if(e=t(n),e)break;while(e)}};const fp=10;class _n extends ai{constructor(e,t,i,o){super(e,t,i,o),h(this,"_priority",fp),h(this,"_id",null),h(this,"_clonesGroup",null),this.getFillerOffset=Jv}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(this.id===null)throw new b("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(e){return this.id!==null||e.id!==null?this.id===e.id:super.isSimilar(e)&&this.priority==e.priority}_clone(e=!1){const t=super._clone(e);return t._priority=this._priority,t._id=this._id,t}_canMergeAttributesFrom(e){return this.id!==null||e.id!==null||this.priority!==e.priority?!1:super._canMergeAttributesFrom(e)}_canSubtractAttributesOf(e){return this.id!==null||e.id!==null||this.priority!==e.priority?!1:super._canSubtractAttributesOf(e)}}h(_n,"DEFAULT_PRIORITY",fp);_n.prototype.is=function(n,e){return e?e===this.name&&(n==="attributeElement"||n==="view:attributeElement"||n==="element"||n==="view:element"):n==="attributeElement"||n==="view:attributeElement"||n==="element"||n==="view:element"||n==="node"||n==="view:node"};function Jv(){if(Na(this))return null;let n=this.parent;for(;n&&n.is("attributeElement");){if(Na(n)>1)return null;n=n.parent}return!n||Na(n)>1?null:this.childCount}function Na(n){return Array.from(n.getChildren()).filter(e=>!e.is("uiElement")).length}class Kc extends ai{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Qv}_insertChild(e,t){if(t&&(t instanceof An||Array.from(t).length>0))throw new b("view-emptyelement-cannot-add",[this,t]);return 0}}Kc.prototype.is=function(n,e){return e?e===this.name&&(n==="emptyElement"||n==="view:emptyElement"||n==="element"||n==="view:element"):n==="emptyElement"||n==="view:emptyElement"||n==="element"||n==="view:element"||n==="node"||n==="view:node"};function Qv(){return null}class la extends ai{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=Xv}_insertChild(e,t){if(t&&(t instanceof An||Array.from(t).length>0))throw new b("view-uielement-cannot-add",[this,t]);return 0}render(e,t){return this.toDomElement(e)}toDomElement(e){const t=e.createElement(this.name);for(const i of this.getAttributeKeys())t.setAttribute(i,this.getAttribute(i));return t}}la.prototype.is=function(n,e){return e?e===this.name&&(n==="uiElement"||n==="view:uiElement"||n==="element"||n==="view:element"):n==="uiElement"||n==="view:uiElement"||n==="element"||n==="view:element"||n==="node"||n==="view:node"};function Yv(n){n.document.on("arrowKey",(e,t)=>ey(e,t,n.domConverter),{priority:"low"})}function Xv(){return null}function ey(n,e,t){if(e.keyCode==Z.arrowright){const i=e.domTarget.ownerDocument.defaultView.getSelection(),o=i.rangeCount==1&&i.getRangeAt(0).collapsed;if(o||e.shiftKey){const s=i.focusNode,r=i.focusOffset,a=t.domPositionToView(s,r);if(a===null)return;let l=!1;const c=a.getLastMatchingPosition(u=>(u.item.is("uiElement")&&(l=!0),!!(u.item.is("uiElement")||u.item.is("attributeElement"))));if(l){const u=t.viewPositionToDom(c);o?i.collapse(u.parent,u.offset):i.extend(u.parent,u.offset)}}}}class Zc extends ai{constructor(e,t,i,o){super(e,t,i,o),this.getFillerOffset=ty}_insertChild(e,t){if(t&&(t instanceof An||Array.from(t).length>0))throw new b("view-rawelement-cannot-add",[this,t]);return 0}render(e,t){}}Zc.prototype.is=function(n,e){return e?e===this.name&&(n==="rawElement"||n==="view:rawElement"||n==="element"||n==="view:element"):n==="rawElement"||n==="view:rawElement"||n===this.name||n==="view:"+this.name||n==="element"||n==="view:element"||n==="node"||n==="view:node"};function ty(){return null}let vn=class extends ge(Cn){constructor(n,e){super(),h(this,"document"),h(this,"_children",[]),h(this,"_customProperties",new Map),this.document=n,e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return this.childCount===0}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(n){return this._customProperties.get(n)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(n){return this._insertChild(this.childCount,n)}getChild(n){return this._children[n]}getChildIndex(n){return this._children.indexOf(n)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(n,e){this._fireChange("children",this,{index:n});let t=0;const i=iy(this.document,e);for(const o of i)o.parent!==null&&o._remove(),o.parent=this,this._children.splice(n,0,o),n++,t++;return t}_removeChildren(n,e=1){this._fireChange("children",this,{index:n});for(let t=n;ttypeof t=="string"?new Ge(n,t):t instanceof _i?new Ge(n,t.data):t))}class gp{constructor(e){h(this,"document"),h(this,"_cloneGroups",new Map),h(this,"_slotFactory",null),this.document=e}setSelection(...e){this.document.selection._setTo(...e)}setSelectionFocus(e,t){this.document.selection._setFocus(e,t)}createDocumentFragment(e){return new vn(this.document,e)}createText(e){return new Ge(this.document,e)}createAttributeElement(e,t,i={}){const o=new _n(this.document,e,t);return typeof i.priority=="number"&&(o._priority=i.priority),i.id&&(o._id=i.id),i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createContainerElement(e,t,i={},o={}){let s=null;Ut(i)?o=i:s=i;const r=new ls(this.document,e,t,s);return o.renderUnsafeAttributes&&r._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),r}createEditableElement(e,t,i={}){const o=new ra(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createEmptyElement(e,t,i={}){const o=new Kc(this.document,e,t);return i.renderUnsafeAttributes&&o._unsafeAttributesToRender.push(...i.renderUnsafeAttributes),o}createUIElement(e,t,i){const o=new la(this.document,e,t);return i&&(o.render=i),o}createRawElement(e,t,i,o={}){const s=new Zc(this.document,e,t);return i&&(s.render=i),o.renderUnsafeAttributes&&s._unsafeAttributesToRender.push(...o.renderUnsafeAttributes),s}setAttribute(e,t,i,o){o!==void 0?o._setAttribute(e,t,i):i._setAttribute(e,t)}removeAttribute(e,t,i){i!==void 0?i._removeAttribute(e,t):t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){Ut(e)&&i===void 0?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}breakAttributes(e){return e instanceof V?this._breakAttributes(e):this._breakAttributesRange(e)}breakContainer(e){const t=e.parent;if(!t.is("containerElement"))throw new b("view-writer-break-non-container-element",this.document);if(!t.parent)throw new b("view-writer-break-root",this.document);if(e.isAtStart)return V._createBefore(t);if(!e.isAtEnd){const i=t._clone(!1);this.insert(V._createAfter(t),i);const o=new Q(e,V._createAt(t,"end")),s=new V(i,0);this.move(o,s)}return V._createAfter(t)}mergeAttributes(e){const t=e.offset,i=e.parent;if(i.is("$text"))return e;if(i.is("attributeElement")&&i.childCount===0){const r=i.parent,a=i.index;return i._remove(),this._removeFromClonedElementsGroup(i),this.mergeAttributes(new V(r,a))}const o=i.getChild(t-1),s=i.getChild(t);if(!o||!s)return e;if(o.is("$text")&&s.is("$text"))return xh(o,s);if(o.is("attributeElement")&&s.is("attributeElement")&&o.isSimilar(s)){const r=o.childCount;return o._appendChild(s.getChildren()),s._remove(),this._removeFromClonedElementsGroup(s),this.mergeAttributes(new V(o,r))}return e}mergeContainers(e){const t=e.nodeBefore,i=e.nodeAfter;if(!t||!i||!t.is("containerElement")||!i.is("containerElement"))throw new b("view-writer-merge-containers-invalid-position",this.document);const o=t.getChild(t.childCount-1),s=o instanceof Ge?V._createAt(o,"end"):V._createAt(t,"end");return this.move(Q._createIn(i),V._createAt(t,"end")),this.remove(Q._createOn(i)),s}insert(e,t){t=Pt(t)?[...t]:[t],pp(t,this.document);const i=t.reduce((r,a)=>{const l=r[r.length-1],c=!a.is("uiElement");return!l||l.breakAttributes!=c?r.push({breakAttributes:c,nodes:[a]}):l.nodes.push(a),r},[]);let o=null,s=e;for(const{nodes:r,breakAttributes:a}of i){const l=this._insertNodes(s,r,a);o||(o=l.start),s=l.end}return o?new Q(o,s):new Q(e)}remove(e){const t=e instanceof Q?e:Q._createOn(e);if(Po(t,this.document),t.isCollapsed)return new vn(this.document);const{start:i,end:o}=this._breakAttributesRange(t,!0),s=i.parent,r=o.offset-i.offset,a=s._removeChildren(i.offset,r);for(const c of a)this._removeFromClonedElementsGroup(c);const l=this.mergeAttributes(i);return t.start=l,t.end=l.clone(),new vn(this.document,a)}clear(e,t){Po(e,this.document);const i=e.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of i){const s=o.item;let r;if(s.is("element")&&t.isSimilar(s))r=Q._createOn(s);else if(!o.nextPosition.isAfter(e.start)&&s.is("$textProxy")){const a=s.getAncestors().find(l=>l.is("element")&&t.isSimilar(l));a&&(r=Q._createIn(a))}r&&(r.end.isAfter(e.end)&&(r.end=e.end),r.start.isBefore(e.start)&&(r.start=e.start),this.remove(r))}}move(e,t){let i;if(t.isAfter(e.end)){t=this._breakAttributes(t,!0);const o=t.parent,s=o.childCount;e=this._breakAttributesRange(e,!0),i=this.remove(e),t.offset+=o.childCount-s}else i=this.remove(e);return this.insert(t,i)}wrap(e,t){if(!(t instanceof _n))throw new b("view-writer-wrap-invalid-attribute",this.document);if(Po(e,this.document),e.isCollapsed){let i=e.start;i.parent.is("element")&&!ny(i.parent)&&(i=i.getLastMatchingPosition(s=>s.item.is("uiElement"))),i=this._wrapPosition(i,t);const o=this.document.selection;return o.isCollapsed&&o.getFirstPosition().isEqual(e.start)&&this.setSelection(i),new Q(i)}else return this._wrapRange(e,t)}unwrap(e,t){if(!(t instanceof _n))throw new b("view-writer-unwrap-invalid-attribute",this.document);if(Po(e,this.document),e.isCollapsed)return e;const{start:i,end:o}=this._breakAttributesRange(e,!0),s=i.parent,r=this._unwrapChildren(s,i.offset,o.offset,t),a=this.mergeAttributes(r.start);a.isEqual(r.start)||r.end.offset--;const l=this.mergeAttributes(r.end);return new Q(a,l)}rename(e,t){const i=new ls(this.document,e,t.getAttributes());return this.insert(V._createAfter(t),i),this.move(Q._createIn(t),V._createAt(i,0)),this.remove(Q._createOn(t)),i}clearClonedElementsGroup(e){this._cloneGroups.delete(e)}createPositionAt(e,t){return V._createAt(e,t)}createPositionAfter(e){return V._createAfter(e)}createPositionBefore(e){return V._createBefore(e)}createRange(e,t){return new Q(e,t)}createRangeOn(e){return Q._createOn(e)}createRangeIn(e){return Q._createIn(e)}createSelection(...e){return new ki(...e)}createSlot(e="children"){if(!this._slotFactory)throw new b("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,e)}_registerSlotFactory(e){this._slotFactory=e}_clearSlotFactory(){this._slotFactory=null}_insertNodes(e,t,i){let o;if(i?o=Wl(e):o=e.parent.is("$text")?e.parent.parent:e.parent,!o)throw new b("view-writer-invalid-position-container",this.document);let s;i?s=this._breakAttributes(e,!0):s=e.parent.is("$text")?Da(e):e;const r=o._insertChild(s.offset,t);for(const u of t)this._addToClonedElementsGroup(u);const a=s.getShiftedBy(r),l=this.mergeAttributes(s);l.isEqual(s)||a.offset--;const c=this.mergeAttributes(a);return new Q(l,c)}_wrapChildren(e,t,i,o){let s=t;const r=[];for(;s!1,e.parent._insertChild(e.offset,i);const o=new Q(e,e.getShiftedBy(1));this.wrap(o,t);const s=new V(i.parent,i.index);i._remove();const r=s.nodeBefore,a=s.nodeAfter;return r&&r.is("view:$text")&&a&&a.is("view:$text")?xh(r,a):Ah(s)}_breakAttributesRange(e,t=!1){const i=e.start,o=e.end;if(Po(e,this.document),e.isCollapsed){const l=this._breakAttributes(e.start,t);return new Q(l,l)}const s=this._breakAttributes(o,t),r=s.parent.childCount,a=this._breakAttributes(i,t);return s.offset+=s.parent.childCount-r,new Q(a,s)}_breakAttributes(e,t=!1){const i=e.offset,o=e.parent;if(e.parent.is("emptyElement"))throw new b("view-writer-cannot-break-empty-element",this.document);if(e.parent.is("uiElement"))throw new b("view-writer-cannot-break-ui-element",this.document);if(e.parent.is("rawElement"))throw new b("view-writer-cannot-break-raw-element",this.document);if(!t&&o.is("$text")&&jl(o.parent)||jl(o))return e.clone();if(o.is("$text"))return this._breakAttributes(Da(e),t);const s=o.childCount;if(i==s){const r=new V(o.parent,o.index+1);return this._breakAttributes(r,t)}else if(i===0){const r=new V(o.parent,o.index);return this._breakAttributes(r,t)}else{const r=o.index+1,a=o._clone();o.parent._insertChild(r,a),this._addToClonedElementsGroup(a);const l=o.childCount-i,c=o._removeChildren(i,l);a._appendChild(c);const u=new V(o.parent,r);return this._breakAttributes(u,t)}}_addToClonedElementsGroup(e){if(!e.root.is("rootElement"))return;if(e.is("element"))for(const o of e.getChildren())this._addToClonedElementsGroup(o);const t=e.id;if(!t)return;let i=this._cloneGroups.get(t);i||(i=new Set,this._cloneGroups.set(t,i)),i.add(e),e._clonesGroup=i}_removeFromClonedElementsGroup(e){if(e.is("element"))for(const o of e.getChildren())this._removeFromClonedElementsGroup(o);const t=e.id;if(!t)return;const i=this._cloneGroups.get(t);i&&i.delete(e)}}function ny(n){return Array.from(n.getChildren()).some(e=>!e.is("uiElement"))}function Wl(n){let e=n.parent;for(;!jl(e);){if(!e)return;e=e.parent}return e}function oy(n,e){return n.prioritye.priority?!1:n.getIdentity()t instanceof i))throw new b("view-writer-insert-invalid-node-type",e);t.is("$text")||pp(t.getChildren(),e)}}function jl(n){return n&&(n.is("containerElement")||n.is("documentFragment"))}function Po(n,e){const t=Wl(n.start),i=Wl(n.end);if(!t||!i||t!==i)throw new b("view-writer-invalid-range-container",e)}const wp=n=>n.createTextNode(" "),bp=n=>{const e=n.createElement("span");return e.dataset.ckeFiller="true",e.innerText=" ",e},_p=n=>{const e=n.createElement("br");return e.dataset.ckeFiller="true",e},Ct=7,cs="⁠".repeat(Ct);function it(n){return typeof n=="string"?n.substr(0,Ct)===cs:xe(n)&&n.data.substr(0,Ct)===cs}function io(n){return n.data.length==Ct&&it(n)}function Th(n){const e=typeof n=="string"?n:n.data;return it(n)?e.slice(Ct):e}function ry(n){n.document.on("arrowKey",ay,{priority:"low"})}function ay(n,e){if(e.keyCode==Z.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(t.rangeCount==1&&t.getRangeAt(0).collapsed){const i=t.getRangeAt(0).startContainer,o=t.getRangeAt(0).startOffset;it(i)&&o<=Ct&&t.collapse(i,0)}}}class ly extends ue(){constructor(e,t){super(),h(this,"domDocuments",new Set),h(this,"domConverter"),h(this,"markedAttributes",new Set),h(this,"markedChildren",new Set),h(this,"markedTexts",new Set),h(this,"selection"),h(this,"_inlineFiller",null),h(this,"_fakeSelectionContainer",null),this.domConverter=e,this.selection=t,this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1),N.isBlink&&!N.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()})}markToSync(e,t){if(e==="text")this.domConverter.mapViewToDom(t.parent)&&this.markedTexts.add(t);else{if(!this.domConverter.mapViewToDom(t))return;if(e==="attributes")this.markedAttributes.add(t);else if(e==="children")this.markedChildren.add(t);else throw new b("view-renderer-unknown-type",this)}}render(){if(this.isComposing&&!N.isAndroid)return;let e=null;const t=N.isBlink&&!N.isAndroid?!this.isSelecting:!0;for(const i of this.markedChildren)this._updateChildrenMappings(i);t?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?e=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(e=this.selection.getFirstPosition(),this.markedChildren.add(e.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(e=this.domConverter.domPositionToView(this._inlineFiller),e&&e.parent.is("$text")&&(e=V._createBefore(e.parent)));for(const i of this.markedAttributes)this._updateAttrs(i);for(const i of this.markedChildren)this._updateChildren(i,{inlineFillerPosition:e});for(const i of this.markedTexts)!this.markedChildren.has(i.parent)&&this.domConverter.mapViewToDom(i.parent)&&this._updateText(i,{inlineFillerPosition:e});if(t)if(e){const i=this.domConverter.viewPositionToDom(e),o=i.parent.ownerDocument;it(i.parent)?this._inlineFiller=i.parent:this._inlineFiller=Eh(o,i.parent,i.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(e){const t=this.domConverter.mapViewToDom(e);if(!t)return;const i=Array.from(t.childNodes),o=Array.from(this.domConverter.viewChildrenToDom(e,{withChildren:!1})),s=this._diffNodeLists(i,o),r=this._findUpdateActions(s,i,o,uy);if(r.indexOf("update")!==-1){const a={equal:0,insert:0,delete:0};for(const l of r)if(l==="update"){const c=a.equal+a.insert,u=a.equal+a.delete,d=e.getChild(c);d&&!d.is("uiElement")&&!d.is("rawElement")&&this._updateElementMappings(d,i[u]),mh(o[c]),a.equal++}else a[l]++}}_updateElementMappings(e,t){this.domConverter.unbindDomElement(t),this.domConverter.bindElements(t,e),this.markedChildren.add(e),this.markedAttributes.add(e)}_getInlineFillerPosition(){const e=this.selection.getFirstPosition();return e.parent.is("$text")?V._createBefore(e.parent):e}_isSelectionInInlineFiller(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=this.domConverter.viewPositionToDom(e);return!!(t&&xe(t.parent)&&it(t.parent))}_removeInlineFiller(){const e=this._inlineFiller;if(!it(e))throw new b("view-renderer-filler-was-lost",this);io(e)?e.remove():e.data=e.data.substr(Ct),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed)return!1;const e=this.selection.getFirstPosition(),t=e.parent,i=e.offset;if(!this.domConverter.mapViewToDom(t.root)||!t.is("element")||!cy(t))return!1;const o=e.nodeBefore,s=e.nodeAfter;return!(o instanceof Ge||s instanceof Ge||i===t.getFillerOffset()&&(!o||!o.is("element","br"))||N.isAndroid&&(o||s))}_updateText(e,t){const i=this.domConverter.findCorrespondingDomText(e);let o=this.domConverter.viewToDom(e).data;const s=t.inlineFillerPosition;s&&s.parent==e.parent&&s.offset==e.index&&(o=cs+o),this._updateTextNode(i,o)}_updateAttrs(e){const t=this.domConverter.mapViewToDom(e);if(t){for(const i of Array.from(t.attributes)){const o=i.name;e.hasAttribute(o)||this.domConverter.removeDomElementAttribute(t,o)}for(const i of e.getAttributeKeys())this.domConverter.setDomElementAttribute(t,i,e.getAttribute(i),e)}}_updateChildren(e,t){const i=this.domConverter.mapViewToDom(e);if(!i)return;if(N.isAndroid){let d=null;for(const m of Array.from(i.childNodes)){if(d&&xe(d)&&xe(m)){i.normalize();break}d=m}}const o=t.inlineFillerPosition,s=i.childNodes,r=Array.from(this.domConverter.viewChildrenToDom(e,{bind:!0}));o&&o.parent===e&&Eh(i.ownerDocument,r,o.offset);const a=this._diffNodeLists(s,r),l=this._findUpdateActions(a,s,r,hy);let c=0;const u=new Set;for(const d of l)d==="delete"?(u.add(s[c]),mh(s[c])):(d==="equal"||d==="update")&&c++;c=0;for(const d of l)d==="insert"?(ep(i,c,r[c]),c++):d==="update"?(this._updateTextNode(s[c],r[c].data),c++):d==="equal"&&(this._markDescendantTextToSync(this.domConverter.domToView(r[c])),c++);for(const d of u)d.parentNode||this.domConverter.unbindDomElement(d)}_diffNodeLists(e,t){return e=fy(e,this._fakeSelectionContainer),oo(e,t,dy.bind(null,this.domConverter))}_findUpdateActions(e,t,i,o){if(e.indexOf("insert")===-1||e.indexOf("delete")===-1)return e;let s=[],r=[],a=[];const l={equal:0,insert:0,delete:0};for(const c of e)c==="insert"?a.push(i[l.equal+l.insert]):c==="delete"?r.push(t[l.equal+l.delete]):(s=s.concat(oo(r,a,o).map(u=>u==="equal"?"update":u)),s.push("equal"),r=[],a=[]),l[c]++;return s.concat(oo(r,a,o).map(c=>c==="equal"?"update":c))}_updateTextNode(e,t){const i=e.data;i!=t&&(N.isAndroid&&this.isComposing&&i.replace(/\u00A0/g," ")==t.replace(/\u00A0/g," ")||this._updateTextNodeInternal(e,t))}_updateTextNodeInternal(e,t){const i=Lg(e.data,t);for(const o of i)o.type==="insert"?e.insertData(o.index,o.values.join("")):e.deleteData(o.index,o.howMany)}_markDescendantTextToSync(e){if(e){if(e.is("$text"))this.markedTexts.add(e);else if(e.is("element"))for(const t of e.getChildren())this._markDescendantTextToSync(t)}}_updateSelection(){if(N.isBlink&&!N.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(this.selection.rangeCount===0){this._removeDomSelection(),this._removeFakeSelection();return}const e=this.domConverter.mapViewToDom(this.selection.editableElement);if(!this.isFocused||!e){!this.selection.isFake&&this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected&&this._removeFakeSelection();return}this.selection.isFake?this._updateFakeSelection(e):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(e)):this.isComposing&&N.isAndroid||this._updateDomSelection(e)}_updateFakeSelection(e){const t=e.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=gy(t));const i=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(i,this.selection),!this._fakeSelectionNeedsUpdate(e))return;(!i.parentElement||i.parentElement!=e)&&e.appendChild(i),i.textContent=this.selection.fakeSelectionLabel||" ";const o=t.getSelection(),s=t.createRange();o.removeAllRanges(),s.selectNodeContents(i),o.addRange(s)}_updateDomSelection(e){const t=e.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(t))return;const i=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);t.setBaseAndExtent(i.parent,i.offset,o.parent,o.offset),N.isGecko&&my(o,t)}_domSelectionNeedsUpdate(e){if(!this.domConverter.isDomSelectionCorrect(e))return!0;const t=e&&this.domConverter.domSelectionToView(e);return!(t&&this.selection.isEqual(t)||!this.selection.isCollapsed&&this.selection.isSimilar(t))}_fakeSelectionNeedsUpdate(e){const t=this._fakeSelectionContainer,i=e.ownerDocument.getSelection();return!t||t.parentElement!==e||i.anchorNode!==t&&!t.contains(i.anchorNode)?!0:t.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const e of this.domDocuments){const t=e.getSelection();if(t.rangeCount){const i=e.activeElement,o=this.domConverter.mapDomToView(i);i&&o&&t.removeAllRanges()}}}_removeFakeSelection(){const e=this._fakeSelectionContainer;e&&e.remove()}_updateFocus(){if(this.isFocused){const e=this.selection.editableElement;e&&this.domConverter.focus(e)}}}function cy(n){if(n.getAttribute("contenteditable")=="false")return!1;const e=n.findAncestor(t=>t.hasAttribute("contenteditable"));return!e||e.getAttribute("contenteditable")=="true"}function Eh(n,e,t){const i=e instanceof Array?e:e.childNodes,o=i[t];if(xe(o))return o.data=cs+o.data,o;{const s=n.createTextNode(cs);return Array.isArray(e)?i.splice(t,0,s):ep(e,t,s),s}}function uy(n,e){return Zi(n)&&Zi(e)&&!xe(n)&&!xe(e)&&!Qo(n)&&!Qo(e)&&n.tagName.toLowerCase()===e.tagName.toLowerCase()}function hy(n,e){return Zi(n)&&Zi(e)&&xe(n)&&xe(e)}function dy(n,e,t){return e===t?!0:xe(e)&&xe(t)?e.data===t.data:!!(n.isBlockFiller(e)&&n.isBlockFiller(t))}function my(n,e){let t=n.parent,i=n.offset;if(xe(t)&&io(t)&&(i=to(t)+1,t=t.parentNode),t.nodeType!=Node.ELEMENT_NODE||i!=t.childNodes.length-1)return;const o=t.childNodes[i];o&&o.tagName=="BR"&&e.addRange(e.getRangeAt(0))}function fy(n,e){const t=Array.from(n);return t.length==0||!e||t[t.length-1]==e&&t.pop(),t}function gy(n){const e=n.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent=" ",e}const py=_p(I.document),wy=wp(I.document),by=bp(I.document),zs="data-ck-unsafe-attribute-",Sh="data-ck-unsafe-element";class ca{constructor(e,{blockFillerMode:t,renderingMode:i="editing"}={}){h(this,"document"),h(this,"renderingMode"),h(this,"blockFillerMode"),h(this,"preElements"),h(this,"blockElements"),h(this,"inlineObjectElements"),h(this,"unsafeElements"),h(this,"_domDocument"),h(this,"_domToViewMapping",new WeakMap),h(this,"_viewToDomMapping",new WeakMap),h(this,"_fakeSelectionMapping",new WeakMap),h(this,"_rawContentElementMatcher",new ft),h(this,"_inlineObjectElementMatcher",new ft),h(this,"_elementsWithTemporaryCustomProperties",new Set),this.document=e,this.renderingMode=i,this.blockFillerMode=t||(i==="editing"?"br":"nbsp"),this.preElements=["pre","textarea"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument=this.renderingMode==="editing"?I.document:I.document.implementation.createHTMLDocument("")}get domDocument(){return this._domDocument}bindFakeSelection(e,t){this._fakeSelectionMapping.set(e,new ki(t))}fakeSelectionToView(e){return this._fakeSelectionMapping.get(e)}bindElements(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}unbindDomElement(e){const t=this._domToViewMapping.get(e);if(t){this._domToViewMapping.delete(e),this._viewToDomMapping.delete(t);for(const i of e.children)this.unbindDomElement(i)}}bindDocumentFragments(e,t){this._domToViewMapping.set(e,t),this._viewToDomMapping.set(t,e)}shouldRenderAttribute(e,t,i){return this.renderingMode==="data"?!0:(e=e.toLowerCase(),e.startsWith("on")||e==="srcdoc"&&t.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i)?!1:i==="img"&&(e==="src"||e==="srcset")||i==="source"&&e==="srcset"?!0:!t.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(e,t){if(this.renderingMode==="data"){e.innerHTML=t;return}const i=new DOMParser().parseFromString(t,"text/html"),o=i.createDocumentFragment(),s=i.body.childNodes;for(;s.length>0;)o.appendChild(s[0]);const r=i.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),a=[];let l;for(;l=r.nextNode();)a.push(l);for(const c of a){for(const d of c.getAttributeNames())this.setDomElementAttribute(c,d,c.getAttribute(d));const u=c.tagName.toLowerCase();this._shouldRenameElement(u)&&(Rh(u),c.replaceWith(this._createReplacementDomElement(u,c)))}for(;e.firstChild;)e.firstChild.remove();e.append(o)}viewToDom(e,t={}){if(e.is("$text")){const i=this._processDataFromViewText(e);return this._domDocument.createTextNode(i)}else{const i=e;if(this.mapViewToDom(i))if(i.getCustomProperty("editingPipeline:doNotReuseOnce"))this._elementsWithTemporaryCustomProperties.add(i);else return this.mapViewToDom(i);let o;if(i.is("documentFragment"))o=this._domDocument.createDocumentFragment(),t.bind&&this.bindDocumentFragments(o,i);else{if(i.is("uiElement"))return i.name==="$comment"?o=this._domDocument.createComment(i.getCustomProperty("$rawContent")):o=i.render(this._domDocument,this),t.bind&&this.bindElements(o,i),o;this._shouldRenameElement(i.name)?(Rh(i.name),o=this._createReplacementDomElement(i.name)):i.hasAttribute("xmlns")?o=this._domDocument.createElementNS(i.getAttribute("xmlns"),i.name):o=this._domDocument.createElement(i.name),i.is("rawElement")&&i.render(o,this),t.bind&&this.bindElements(o,i);for(const s of i.getAttributeKeys())this.setDomElementAttribute(o,s,i.getAttribute(s),i)}if(t.withChildren!==!1)for(const s of this.viewChildrenToDom(i,t))o instanceof HTMLTemplateElement?o.content.appendChild(s):o.appendChild(s);return o}}setDomElementAttribute(e,t,i,o){const s=this.shouldRenderAttribute(t,i,e.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(t);if(s||J("domconverter-unsafe-attribute-detected",{domElement:e,key:t,value:i}),!tp(t)){J("domconverter-invalid-attribute-detected",{domElement:e,key:t,value:i});return}e.hasAttribute(t)&&!s?e.removeAttribute(t):e.hasAttribute(zs+t)&&s&&e.removeAttribute(zs+t),e.setAttribute(s?t:zs+t,i)}removeDomElementAttribute(e,t){t!=Sh&&(e.removeAttribute(t),e.removeAttribute(zs+t))}*viewChildrenToDom(e,t={}){const i=e.getFillerOffset&&e.getFillerOffset();let o=0;for(const s of e.getChildren()){i===o&&(yield this._getBlockFiller());const r=s.is("element")&&!!s.getCustomProperty("dataPipeline:transparentRendering")&&!ae(s.getAttributes());if(r&&this.renderingMode=="data")if(s.is("rawElement")){const a=this._domDocument.createElement(s.name);s.render(a,this),yield*[...a.childNodes]}else yield*this.viewChildrenToDom(s,t);else r&&J("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:s}),yield this.viewToDom(s,t);o++}i===o&&(yield this._getBlockFiller())}viewRangeToDom(e){const t=this.viewPositionToDom(e.start),i=this.viewPositionToDom(e.end),o=this._domDocument.createRange();return o.setStart(t.parent,t.offset),o.setEnd(i.parent,i.offset),o}viewPositionToDom(e){const t=e.parent;if(t.is("$text")){const i=this.findCorrespondingDomText(t);if(!i)return null;let o=e.offset;return it(i)&&(o+=Ct),{parent:i,offset:o}}else{let i,o,s;if(e.offset===0){if(i=this.mapViewToDom(t),!i)return null;s=i.childNodes[0]}else{const a=e.nodeBefore;if(o=a.is("$text")?this.findCorrespondingDomText(a):this.mapViewToDom(a),!o)return null;i=o.parentNode,s=o.nextSibling}if(xe(s)&&it(s))return{parent:s,offset:Ct};const r=o?to(o)+1:0;return{parent:i,offset:r}}}domToView(e,t={}){const i=[],o=this._domToView(e,t,i),s=o.next().value;return!s||(o.next(),this._processDomInlineNodes(null,i,t),this.blockFillerMode=="br"&&Ih(s))||s.is("$text")&&s.data.length==0?null:s}*domChildrenToView(e,t={},i=[]){let o=[];e instanceof HTMLTemplateElement?o=[...e.content.childNodes]:o=[...e.childNodes];for(let s=0;s{const{scrollLeft:a,scrollTop:l}=r;s.push([a,l])}),t.focus(),Ph(t,r=>{const[a,l]=s.shift();r.scrollLeft=a,r.scrollTop=l}),I.window.scrollTo(i,o)}_clearDomSelection(){const e=this.mapViewToDom(this.document.selection.editableElement);if(!e)return;const t=e.ownerDocument.defaultView.getSelection(),i=this.domSelectionToView(t);i&&i.rangeCount>0&&t.removeAllRanges()}isElement(e){return e&&e.nodeType==Node.ELEMENT_NODE}isDocumentFragment(e){return e&&e.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(e){return this.blockFillerMode=="br"?e.isEqualNode(py):Vh(e,this.blockElements)?!0:e.isEqualNode(by)||vy(e,this.blockElements)}isDomSelectionBackward(e){if(e.isCollapsed)return!1;const t=this._domDocument.createRange();try{t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset)}catch{return!1}const i=t.collapsed;return t.detach(),i}getHostViewElement(e){const t=Zg(e);for(t.pop();t.length;){const i=t.pop(),o=this._domToViewMapping.get(i);if(o&&(o.is("uiElement")||o.is("rawElement")))return o}return null}isDomSelectionCorrect(e){return this._isDomSelectionPositionCorrect(e.anchorNode,e.anchorOffset)&&this._isDomSelectionPositionCorrect(e.focusNode,e.focusOffset)}registerRawContentMatcher(e){this._rawContentElementMatcher.add(e)}registerInlineObjectMatcher(e){this._inlineObjectElementMatcher.add(e)}_clearTemporaryCustomProperties(){for(const e of this._elementsWithTemporaryCustomProperties)e._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return wp(this._domDocument);case"markedNbsp":return bp(this._domDocument);case"br":return _p(this._domDocument)}}_isDomSelectionPositionCorrect(e,t){if(xe(e)&&it(e)&&t0?t[s-1]:null,u=s+1t.is("element")&&e.includes(t.name))}function Ph(n,e){let t=n;for(;t;)e(t),t=t.parentElement}function vy(n,e){return n.isEqualNode(wy)&&vp(n,e)&&n.parentNode.childNodes.length===1}function vp(n,e){const t=n.parentNode;return!!t&&!!t.tagName&&e.includes(t.tagName.toLowerCase())}function yy(n,e,t){return e==" "&&n&&n.is("element")&&n.childCount==1&&t.includes(n.name)}function ky(n,e){return e==" "&&n&&n.is("element","span")&&n.childCount==1&&n.hasAttribute("data-cke-filler")}function Ih(n){return n.is("element","br")&&n.hasAttribute("data-cke-filler")}function Vh(n,e){return n.tagName==="BR"&&vp(n,e)&&n.parentNode.childNodes.length===1}function Rh(n){n==="script"&&J("domconverter-unsafe-script-element-detected"),n==="style"&&J("domconverter-unsafe-style-element-detected")}function Cy(n){if(!N.isGecko||!n.rangeCount)return!1;const e=n.getRangeAt(0).startContainer;try{Object.prototype.toString.call(e)}catch{return!0}return!1}class Zt extends st(){constructor(e){super(),h(this,"view"),h(this,"document"),h(this,"_isEnabled",!1),this.view=e,this.document=e.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(e){return e&&e.nodeType===3&&(e=e.parentNode),!e||e.nodeType!==1?!1:e.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}class kn{constructor(e,t,i){h(this,"view"),h(this,"document"),h(this,"domEvent"),h(this,"domTarget"),this.view=e,this.document=e.document,this.domEvent=t,this.domTarget=t.target,Rg(this,i)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class ui extends Zt{constructor(){super(...arguments),h(this,"useCapture",!1),h(this,"usePassive",!1)}observe(e){(typeof this.domEventType=="string"?[this.domEventType]:this.domEventType).forEach(t=>{this.listenTo(e,t,(i,o)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(o.target)&&this.onDomEvent(o)},{useCapture:this.useCapture,usePassive:this.usePassive})})}stopObserving(e){this.stopListening(e)}fire(e,t,i){this.isEnabled&&this.document.fire(e,new kn(this.view,t,i))}}class Ay extends ui{constructor(){super(...arguments),h(this,"domEventType",["keydown","keyup"])}onDomEvent(e){const t={keyCode:e.keyCode,altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,get keystroke(){return yn(this)}};this.fire(e.type,e,t)}}class xy extends Zt{constructor(e){super(e),h(this,"_fireSelectionChangeDoneDebounced"),this._fireSelectionChangeDoneDebounced=St(t=>{this.document.fire("selectionChangeDone",t)},200)}observe(){const e=this.document;e.on("arrowKey",(t,i)=>{e.selection.isFake&&this.isEnabled&&i.preventDefault()},{context:"$capture"}),e.on("arrowKey",(t,i)=>{e.selection.isFake&&this.isEnabled&&this._handleSelectionMove(i.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(e){const t=this.document.selection,i=new ki(t.getRanges(),{backward:t.isBackward,fake:!1});(e==Z.arrowleft||e==Z.arrowup)&&i.setTo(i.getFirstPosition()),(e==Z.arrowright||e==Z.arrowdown)&&i.setTo(i.getLastPosition());const o={oldSelection:t,newSelection:i,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}let yp=class extends Zt{constructor(n){super(n),h(this,"domConverter"),h(this,"_config"),h(this,"_domElements"),h(this,"_mutationObserver"),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=n.domConverter,this._domElements=new Set,this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(n){this._domElements.add(n),this.isEnabled&&this._mutationObserver.observe(n,this._config)}stopObserving(n){if(this._domElements.delete(n),this.isEnabled){this._mutationObserver.disconnect();for(const e of this._domElements)this._mutationObserver.observe(e,this._config)}}enable(){super.enable();for(const n of this._domElements)this._mutationObserver.observe(n,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(n){if(n.length===0)return;const e=this.domConverter,t=new Set,i=new Set;for(const s of n){const r=e.mapDomToView(s.target);r&&(r.is("uiElement")||r.is("rawElement")||s.type==="childList"&&!this._isBogusBrMutation(s)&&i.add(r))}for(const s of n){const r=e.mapDomToView(s.target);if(!(r&&(r.is("uiElement")||r.is("rawElement")))&&s.type==="characterData"){const a=e.findCorrespondingViewText(s.target);a&&!i.has(a.parent)?t.add(a):!a&&it(s.target)&&i.add(e.mapDomToView(s.target.parentNode))}}const o=[];for(const s of t)o.push({type:"text",node:s});for(const s of i){const r=e.mapViewToDom(s),a=Array.from(s.getChildren()),l=Array.from(e.domChildrenToView(r,{withChildren:!1}));Bg(a,l,Ty)||o.push({type:"children",node:s})}o.length&&this.document.fire("mutations",{mutations:o})}_isBogusBrMutation(n){let e=null;return n.nextSibling===null&&n.removedNodes.length===0&&n.addedNodes.length==1&&(e=this.domConverter.domToView(n.addedNodes[0],{withChildren:!1})),e&&e.is("element","br")}};function Ty(n,e){if(!Array.isArray(n))return n===e?!0:n.is("$text")&&e.is("$text")?n.data===e.data:!1}class Vr extends ui{constructor(e){super(e),h(this,"_renderTimeoutId",null),h(this,"_isFocusChanging",!1),h(this,"domEventType",["focus","blur"]),this.useCapture=!0;const t=this.document;t.on("focus",()=>this._handleFocus()),t.on("blur",(i,o)=>this._handleBlur(o)),t.on("beforeinput",()=>{t.isFocused||this._handleFocus()},{priority:"highest"})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(e){this.fire(e.type,e)}destroy(){this._clearTimeout(),super.destroy()}_handleFocus(){this._clearTimeout(),this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this._renderTimeoutId=null,this.flush(),this.view.change(()=>{})},50)}_handleBlur(e){const t=this.document.selection.editableElement;(t===null||t===e.target)&&(this.document.isFocused=!1,this._isFocusChanging=!1,this.view.change(()=>{}))}_clearTimeout(){this._renderTimeoutId&&(clearTimeout(this._renderTimeoutId),this._renderTimeoutId=null)}}class Ey extends Zt{constructor(e){super(e),h(this,"mutationObserver"),h(this,"focusObserver"),h(this,"selection"),h(this,"domConverter"),h(this,"_documents",new WeakSet),h(this,"_fireSelectionChangeDoneDebounced"),h(this,"_clearInfiniteLoopInterval"),h(this,"_documentIsSelectingInactivityTimeoutDebounced"),h(this,"_loopbackCounter",0),h(this,"_pendingSelectionChange",new Set),this.mutationObserver=e.getObserver(yp),this.focusObserver=e.getObserver(Vr),this.selection=this.document.selection,this.domConverter=e.domConverter,this._fireSelectionChangeDoneDebounced=St(t=>{this.document.fire("selectionChangeDone",t)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=St(()=>this.document.isSelecting=!1,5e3),this.view.document.on("change:isFocused",(t,i,o)=>{if(o&&this._pendingSelectionChange.size){for(const s of Array.from(this._pendingSelectionChange))this._handleSelectionChange(s);this._pendingSelectionChange.clear()}})}observe(e){const t=e.ownerDocument,i=()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},o=()=>{this.document.isSelecting&&(this._handleSelectionChange(t),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(e,"selectstart",i,{priority:"highest"}),this.listenTo(e,"keydown",o,{priority:"highest",useCapture:!0}),this.listenTo(e,"keyup",o,{priority:"highest",useCapture:!0}),!this._documents.has(t)&&(this.listenTo(t,"mouseup",o,{priority:"highest",useCapture:!0}),this.listenTo(t,"selectionchange",()=>{this.document.isComposing&&!N.isAndroid||(this._handleSelectionChange(t),this._documentIsSelectingInactivityTimeoutDebounced())}),this.listenTo(this.view.document,"compositionstart",()=>{this._handleSelectionChange(t)},{priority:"lowest"}),this._documents.add(t))}stopObserving(e){this.stopListening(e)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(e){if(!this.isEnabled)return;const t=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(t.anchorNode))return;this.mutationObserver.flush();const i=this.domConverter.domSelectionToView(t);if(i.rangeCount==0){this.view.hasDomSelection=!1;return}if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.view.document.isFocused&&!this.view.document.isReadOnly){this._pendingSelectionChange.add(e);return}if(this._pendingSelectionChange.delete(e),!(this.selection.isEqual(i)&&this.domConverter.isDomSelectionCorrect(t))){if(++this._loopbackCounter>60){this._reportInfiniteLoop();return}if(this.selection.isSimilar(i))this.view.forceRender();else{const o={oldSelection:this.selection,newSelection:i,domSelection:t};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}}_clearInfiniteLoop(){this._loopbackCounter=0}}class Sy extends ui{constructor(e){super(e),h(this,"domEventType",["compositionstart","compositionupdate","compositionend"]);const t=this.document;t.on("compositionstart",()=>{t.isComposing=!0}),t.on("compositionend",()=>{t.isComposing=!1})}onDomEvent(e){this.fire(e.type,e,{data:e.data})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class kp{constructor(e,t={}){h(this,"_files"),h(this,"_native"),this._files=t.cacheFiles?Oh(e):null,this._native=e}get files(){return this._files||(this._files=Oh(this._native)),this._files}get types(){return this._native.types}getData(e){return this._native.getData(e)}setData(e,t){this._native.setData(e,t)}set effectAllowed(e){this._native.effectAllowed=e}get effectAllowed(){return this._native.effectAllowed}set dropEffect(e){this._native.dropEffect=e}get dropEffect(){return this._native.dropEffect}setDragImage(e,t,i){this._native.setDragImage(e,t,i)}get isCanceled(){return this._native.dropEffect=="none"||!!this._native.mozUserCancelled}}function Oh(n){const e=Array.from(n.files||[]),t=Array.from(n.items||[]);return e.length?e:t.filter(i=>i.kind==="file").map(i=>i.getAsFile())}class Py extends ui{constructor(){super(...arguments),h(this,"domEventType","beforeinput")}onDomEvent(e){const t=e.getTargetRanges(),i=this.view,o=i.document;let s=null,r=null,a=[];if(e.dataTransfer&&(s=new kp(e.dataTransfer)),e.data!==null?r=e.data:s&&(r=s.getData("text/plain")),o.selection.isFake)a=Array.from(o.selection.getRanges()),e.preventDefault();else if(t.length)a=t.map(l=>{let c=i.domConverter.domPositionToView(l.startContainer,l.startOffset);const u=i.domConverter.domPositionToView(l.endContainer,l.endOffset);if(c&&it(l.startContainer)&&l.startOffset!!(m.item.is("attributeElement")||m.item.is("uiElement")||m.item.is("$textProxy")&&d--),{direction:"backward",singleCharacters:!0})}if(Iy(l.endContainer,l.endOffset)&&e.preventDefault(),c)return i.createRange(c,u);if(u)return i.createRange(u)}).filter(l=>!!l);else if(N.isAndroid){const l=e.target.ownerDocument.defaultView.getSelection();a=Array.from(i.domConverter.domSelectionToView(l).getRanges())}if(N.isAndroid&&e.inputType=="insertCompositionText"&&r&&r.endsWith(` +`)){this.fire(e.type,e,{inputType:"insertParagraph",targetRanges:[i.createRange(a[0].end)]});return}if(["insertText","insertReplacementText"].includes(e.inputType)&&r&&r.includes(` +`)){const l=r.split(/\n{1,2}/g);let c=a;e.preventDefault();for(let u=0;u{if(this.isEnabled&&fv(i.keyCode)){const o=new xn(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(o,i),o.stop.called&&t.stop()}})}observe(){}stopObserving(){}}class Ry extends Zt{constructor(e){super(e);const t=this.document;t.on("keydown",(i,o)=>{if(!this.isEnabled||o.keyCode!=Z.tab||o.ctrlKey)return;const s=new xn(t,"tab",t.selection.getFirstRange());t.fire(s,o),s.stop.called&&i.stop()})}observe(){}stopObserving(){}}let Oy=class extends ue(){constructor(n){super(),h(this,"document"),h(this,"domConverter"),h(this,"domRoots",new Map),h(this,"_renderer"),h(this,"_initialDomRootAttributes",new WeakMap),h(this,"_observers",new Map),h(this,"_writer"),h(this,"_ongoingChange",!1),h(this,"_postFixersInProgress",!1),h(this,"_renderingDisabled",!1),h(this,"_hasChangedSinceTheLastRendering",!1),this.document=new aa(n),this.domConverter=new ca(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new ly(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new gp(this.document),this.addObserver(yp),this.addObserver(Vr),this.addObserver(Ey),this.addObserver(Ay),this.addObserver(xy),this.addObserver(Sy),this.addObserver(Vy),this.addObserver(Py),this.addObserver(Ry),ry(this),Yv(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0}),N.isiOS&&this.listenTo(this.document,"blur",(e,t)=>{this.domConverter.mapDomToView(t.domEvent.relatedTarget)||this.domConverter._clearDomSelection()}),this.listenTo(this.document,"mutations",(e,{mutations:t})=>{t.forEach(i=>this._renderer.markToSync(i.type,i.node))},{priority:"low"}),this.listenTo(this.document,"mutations",()=>{this.forceRender()},{priority:"lowest"})}attachDomRoot(n,e="main"){const t=this.document.getRoot(e);t._name=n.tagName.toLowerCase();const i={};for(const{name:s,value:r}of Array.from(n.attributes))i[s]=r,s==="class"?this._writer.addClass(r.split(" "),t):t.hasAttribute(s)||this._writer.setAttribute(s,r,t);this._initialDomRootAttributes.set(n,i);const o=()=>{this._writer.setAttribute("contenteditable",(!t.isReadOnly).toString(),t),t.isReadOnly?this._writer.addClass("ck-read-only",t):this._writer.removeClass("ck-read-only",t)};o(),this.domRoots.set(e,n),this.domConverter.bindElements(n,t),this._renderer.markToSync("children",t),this._renderer.markToSync("attributes",t),this._renderer.domDocuments.add(n.ownerDocument),t.on("change:children",(s,r)=>this._renderer.markToSync("children",r)),t.on("change:attributes",(s,r)=>this._renderer.markToSync("attributes",r)),t.on("change:text",(s,r)=>this._renderer.markToSync("text",r)),t.on("change:isReadOnly",()=>this.change(o)),t.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const s of this._observers.values())s.observe(n,e)}detachDomRoot(n){const e=this.domRoots.get(n);Array.from(e.attributes).forEach(({name:i})=>e.removeAttribute(i));const t=this._initialDomRootAttributes.get(e);for(const i in t)e.setAttribute(i,t[i]);this.domRoots.delete(n),this.domConverter.unbindDomElement(e);for(const i of this._observers.values())i.stopObserving(e)}getDomRoot(n="main"){return this.domRoots.get(n)}addObserver(n){let e=this._observers.get(n);if(e)return e;e=new n(this),this._observers.set(n,e);for(const[t,i]of this.domRoots)e.observe(i,t);return e.enable(),e}getObserver(n){return this._observers.get(n)}disableObservers(){for(const n of this._observers.values())n.disable()}enableObservers(){for(const n of this._observers.values())n.enable()}scrollToTheSelection({alignToTop:n,forceScroll:e,viewportOffset:t=20,ancestorOffset:i=20}={}){const o=this.document.selection.getFirstRange();if(!o)return;const s=mt({alignToTop:n,forceScroll:e,viewportOffset:t,ancestorOffset:i});typeof t=="number"&&(t={top:t,bottom:t,left:t,right:t});const r={target:this.domConverter.viewRangeToDom(o),viewportOffset:t,ancestorOffset:i,alignToTop:n,forceScroll:e};this.fire("scrollToTheSelection",r,s),np(r)}focus(){if(!this.document.isFocused){const n=this.document.selection.editableElement;n&&(this.domConverter.focus(n),this.forceRender())}}change(n){if(this.isRenderingInProgress||this._postFixersInProgress)throw new b("cannot-change-view-tree",this);try{if(this._ongoingChange)return n(this._writer);this._ongoingChange=!0;const e=n(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),e}catch(e){/* istanbul ignore next -- @preserve */b.rethrowUnexpectedError(e,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(Vr).flush(),this.change(()=>{})}destroy(){for(const n of this._observers.values())n.destroy();this.document.destroy(),this.stopListening()}createPositionAt(n,e){return V._createAt(n,e)}createPositionAfter(n){return V._createAfter(n)}createPositionBefore(n){return V._createBefore(n)}createRange(n,e){return new Q(n,e)}createRangeOn(n){return Q._createOn(n)}createRangeIn(n){return Q._createIn(n)}createSelection(...n){return new ki(...n)}_disableRendering(n){this._renderingDisabled=n,n==!1&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}};/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class Yi{is(){throw new Error("is() method is abstract")}}class Lt extends Yi{constructor(e,t,i){if(super(),h(this,"textNode"),h(this,"data"),h(this,"offsetInText"),this.textNode=e,t<0||t>e.offsetSize)throw new b("model-textproxy-wrong-offsetintext",this);if(i<0||t+i>e.offsetSize)throw new b("model-textproxy-wrong-length",this);this.data=e.data.substring(t,t+i),this.offsetInText=t}get startOffset(){return this.textNode.startOffset!==null?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return this.startOffset!==null?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const e=this.textNode.getPath();return e.length>0&&(e[e.length-1]+=this.offsetInText),e}getAncestors(e={}){const t=[];let i=e.includeSelf?this:this.parent;for(;i;)t[e.parentFirst?"push":"unshift"](i),i=i.parent;return t}hasAttribute(e){return this.textNode.hasAttribute(e)}getAttribute(e){return this.textNode.getAttribute(e)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Lt.prototype.is=function(n){return n==="$textProxy"||n==="model:$textProxy"||n==="textProxy"||n==="model:textProxy"};class yi{constructor(e){if(h(this,"direction"),h(this,"boundaries"),h(this,"singleCharacters"),h(this,"shallow"),h(this,"ignoreElementEnd"),h(this,"_position"),h(this,"_boundaryStartParent"),h(this,"_boundaryEndParent"),h(this,"_visitedParent"),!e||!e.boundaries&&!e.startPosition)throw new b("model-tree-walker-no-start-position",null);const t=e.direction||"forward";if(t!="forward"&&t!="backward")throw new b("model-tree-walker-unknown-direction",e,{direction:t});this.direction=t,this.boundaries=e.boundaries||null,e.startPosition?this._position=e.startPosition.clone():this._position=C._createAt(this.boundaries[this.direction=="backward"?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(e){let t,i,o,s;do o=this.position,s=this._visitedParent,{done:t,value:i}=this.next();while(!t&&e(i));t||(this._position=o,this._visitedParent=s)}jumpTo(e){this._boundaryStartParent&&e.isBefore(this.boundaries.start)?e=this.boundaries.start:this._boundaryEndParent&&e.isAfter(this.boundaries.end)&&(e=this.boundaries.end),this._position=e.clone(),this._visitedParent=e.parent}next(){return this.direction=="forward"?this._next():this._previous()}_next(){const e=this.position,t=this.position.clone(),i=this._visitedParent;if(i.parent===null&&t.offset===i.maxOffset)return{done:!0,value:void 0};if(i===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=Yo(t,i),s=o||Cp(t,i,o);if(s&&s.is("model:element")){if(!this.shallow)t.path.push(0),this._visitedParent=s;else{if(this.boundaries&&this.boundaries.end.isBefore(t))return{done:!0,value:void 0};t.offset++}return this._position=t,an("elementStart",s,e,t,1)}if(s&&s.is("model:$text")){let r;if(this.singleCharacters)r=1;else{let c=s.endOffset;this._boundaryEndParent==i&&this.boundaries.end.offsetu&&(u=this.boundaries.start.offset),a=t.offset-u}const l=t.offset-r.startOffset,c=new Lt(r,l-a,a);return t.offset-=a,this._position=t,an("text",c,e,t,a)}return t.path.pop(),this._position=t,this._visitedParent=i.parent,an("elementStart",i,e,t,1)}}function an(n,e,t,i,o){return{done:!1,value:{type:n,item:e,previousPosition:t,nextPosition:i,length:o}}}class C extends Yi{constructor(e,t,i="toNone"){if(super(),h(this,"root"),h(this,"path"),h(this,"stickiness"),!e.is("element")&&!e.is("documentFragment"))throw new b("model-position-root-invalid",e);if(!Array.isArray(t)||t.length===0)throw new b("model-position-path-incorrect-format",e,{path:t});e.is("rootElement")?t=t.slice():(t=[...e.getPath(),...t],e=e.root),this.root=e,this.path=t,this.stickiness=i}get offset(){return this.path[this.path.length-1]}set offset(e){this.path[this.path.length-1]=e}get parent(){let e=this.root;for(let t=0;t1)return!1;if(o===1)return Bh(e,this,i);if(o===-1)return Bh(this,e,i)}return this.path.length===e.path.length?!0:this.path.length>e.path.length?Ul(this.path,t):Ul(e.path,t)}hasSameParentAs(e){if(this.root!==e.root)return!1;const t=this.getParentPath(),i=e.getParentPath();return Xe(t,i)=="same"}getTransformedByOperation(e){let t;switch(e.type){case"insert":t=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":t=this._getTransformedByMoveOperation(e);break;case"split":t=this._getTransformedBySplitOperation(e);break;case"merge":t=this._getTransformedByMergeOperation(e);break;default:t=C._createAt(this);break}return t}_getTransformedByInsertOperation(e){return this._getTransformedByInsertion(e.position,e.howMany)}_getTransformedByMoveOperation(e){return this._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}_getTransformedBySplitOperation(e){const t=e.movedRange;return t.containsPosition(this)||t.start.isEqual(this)&&this.stickiness=="toNext"?this._getCombined(e.splitPosition,e.moveTargetPosition):e.graveyardPosition?this._getTransformedByMove(e.graveyardPosition,e.insertionPosition,1):this._getTransformedByInsertion(e.insertionPosition,1)}_getTransformedByMergeOperation(e){const t=e.movedRange,i=t.containsPosition(this)||t.start.isEqual(this);let o;return i?(o=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(o=o._getTransformedByDeletion(e.deletionPosition,1))):this.isEqual(e.deletionPosition)?o=C._createAt(e.deletionPosition):o=this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),o}_getTransformedByDeletion(e,t){const i=C._createAt(this);if(this.root!=e.root)return i;if(Xe(e.getParentPath(),this.getParentPath())=="same"){if(e.offsetthis.offset)return null;i.offset-=t}}else if(Xe(e.getParentPath(),this.getParentPath())=="prefix"){const o=e.path.length-1;if(e.offset<=this.path[o]){if(e.offset+t>this.path[o])return null;i.path[o]-=t}}return i}_getTransformedByInsertion(e,t){const i=C._createAt(this);if(this.root!=e.root)return i;if(Xe(e.getParentPath(),this.getParentPath())=="same")(e.offset=e;){if(n.path[i]+o!==t.maxOffset)return!1;o=1,i--,t=t.parent}return!0}class y extends Yi{constructor(e,t){super(),h(this,"start"),h(this,"end"),this.start=C._createAt(e),this.end=t?C._createAt(t):C._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new yi({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){const e=this.start.getParentPath(),t=this.end.getParentPath();return Xe(e,t)=="same"}get root(){return this.start.root}containsPosition(e){return e.isAfter(this.start)&&e.isBefore(this.end)}containsRange(e,t=!1){e.isCollapsed&&(t=!1);const i=this.containsPosition(e.start)||t&&this.start.isEqual(e.start),o=this.containsPosition(e.end)||t&&this.end.isEqual(e.end);return i&&o}containsItem(e){const t=C._createBefore(e);return this.containsPosition(t)||this.start.isEqual(t)}isEqual(e){return this.start.isEqual(e.start)&&this.end.isEqual(e.end)}isIntersecting(e){return this.start.isBefore(e.end)&&this.end.isAfter(e.start)}getDifference(e){const t=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&t.push(new y(this.start,e.start)),this.containsPosition(e.end)&&t.push(new y(e.end,this.end))):t.push(new y(this.start,this.end)),t}getIntersection(e){if(this.isIntersecting(e)){let t=this.start,i=this.end;return this.containsPosition(e.start)&&(t=e.start),this.containsPosition(e.end)&&(i=e.end),new y(t,i)}return null}getJoined(e,t=!1){let i=this.isIntersecting(e);if(i||(this.start.isBefore(e.start)?i=t?this.end.isTouching(e.start):this.end.isEqual(e.start):i=t?e.end.isTouching(this.start):e.end.isEqual(this.start)),!i)return null;let o=this.start,s=this.end;return e.start.isBefore(o)&&(o=e.start),e.end.isAfter(s)&&(s=e.end),new y(o,s)}getMinimalFlatRanges(){const e=[],t=this.start.getCommonPath(this.end).length,i=C._createAt(this.start);let o=i.parent;for(;i.path.length>t+1;){const s=o.maxOffset-i.offset;s!==0&&e.push(new y(i,i.getShiftedBy(s))),i.path=i.path.slice(0,-1),i.offset++,o=o.parent}for(;i.path.length<=this.end.path.length;){const s=this.end.path[i.path.length-1],r=s-i.offset;r!==0&&e.push(new y(i,i.getShiftedBy(r))),i.offset=s,i.path.push(0)}return e}getWalker(e={}){return e.boundaries=this,new yi(e)}*getItems(e={}){e.boundaries=this,e.ignoreElementEnd=!0;const t=new yi(e);for(const i of t)yield i.item}*getPositions(e={}){e.boundaries=this;const t=new yi(e);yield t.position;for(const i of t)yield i.nextPosition}getTransformedByOperation(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new y(this.start,this.end)]}getTransformedByOperations(e){const t=[new y(this.start,this.end)];for(const i of e)for(let o=0;o0?new this(i,o):new this(o,i)}static _createIn(e){return new this(C._createAt(e,0),C._createAt(e,e.maxOffset))}static _createOn(e){return this._createFromPositionAndShift(C._createBefore(e),e.offsetSize)}static _createFromRanges(e){if(e.length===0)throw new b("range-create-from-ranges-empty-array",null);if(e.length==1)return e[0].clone();const t=e[0];e.sort((s,r)=>s.start.isAfter(r.start)?1:-1);const i=e.indexOf(t),o=new this(t.start,t.end);for(let s=i-1;s>=0&&e[s].end.isEqual(o.start);s--)o.start=C._createAt(e[s].start);for(let s=i+1;s{if(t.viewPosition)return;const i=this._modelToViewMapping.get(t.modelPosition.parent);if(!i)throw new b("mapping-model-position-view-parent-not-found",this,{modelPosition:t.modelPosition});t.viewPosition=this.findPositionIn(i,t.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(e,t)=>{if(t.modelPosition)return;const i=this.findMappedViewAncestor(t.viewPosition),o=this._viewToModelMapping.get(i),s=this._toModelOffset(t.viewPosition.parent,t.viewPosition.offset,i);t.modelPosition=C._createAt(o,s)},{priority:"low"})}bindElements(e,t){this._modelToViewMapping.set(e,t),this._viewToModelMapping.set(t,e)}unbindViewElement(e,t={}){const i=this.toModelElement(e);if(this._elementToMarkerNames.has(e))for(const o of this._elementToMarkerNames.get(e))this._unboundMarkerNames.add(o);t.defer?this._deferredBindingRemovals.set(e,e.root):(this._viewToModelMapping.delete(e)&&this._cache.stopTracking(e),this._modelToViewMapping.get(i)==e&&this._modelToViewMapping.delete(i))}unbindModelElement(e){const t=this.toViewElement(e);this._modelToViewMapping.delete(e),this._viewToModelMapping.get(t)==e&&this._viewToModelMapping.delete(t)&&this._cache.stopTracking(t)}bindElementToMarker(e,t){const i=this._markerNameToElements.get(t)||new Set;i.add(e);const o=this._elementToMarkerNames.get(e)||new Set;o.add(t),this._markerNameToElements.set(t,i),this._elementToMarkerNames.set(e,o)}unbindElementFromMarkerName(e,t){const i=this._markerNameToElements.get(t);i&&(i.delete(e),i.size==0&&this._markerNameToElements.delete(t));const o=this._elementToMarkerNames.get(e);o&&(o.delete(t),o.size==0&&this._elementToMarkerNames.delete(e))}flushUnboundMarkerNames(){const e=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),e}flushDeferredBindings(){for(const[e,t]of this._deferredBindingRemovals)e.root==t&&this.unbindViewElement(e);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(e){return this._viewToModelMapping.get(e)}toViewElement(e){return this._modelToViewMapping.get(e)}toModelRange(e){return new y(this.toModelPosition(e.start),this.toModelPosition(e.end))}toViewRange(e){return new Q(this.toViewPosition(e.start),this.toViewPosition(e.end))}toModelPosition(e){const t={viewPosition:e,mapper:this};return this.fire("viewToModelPosition",t),t.modelPosition}toViewPosition(e,t={}){const i={modelPosition:e,mapper:this,isPhantom:t.isPhantom};return this.fire("modelToViewPosition",i),i.viewPosition}markerNameToElements(e){const t=this._markerNameToElements.get(e);if(!t)return null;const i=new Set;for(const o of t)if(o.is("attributeElement"))for(const s of o.getElementsWithSameId())i.add(s);else i.add(o);return i}registerViewToModelLength(e,t){this._viewToModelLengthCallbacks.set(e,t)}findMappedViewAncestor(e){let t=e.parent;for(;!this._viewToModelMapping.has(t);)t=t.parent;return t}_toModelOffset(e,t,i){if(i!=e){const s=this._toModelOffset(e.parent,e.index,i),r=this._toModelOffset(e,t,e);return s+r}if(e.is("$text"))return t;let o=0;for(let s=0;s0;){const o=t.pop(),s=o.name&&this._viewToModelLengthCallbacks.size>0&&this._viewToModelLengthCallbacks.get(o.name);if(s)i+=s(o);else if(this._viewToModelMapping.has(o))i+=1;else if(o.is("$text"))i+=o.data.length;else{if(o.is("uiElement"))continue;for(const r of o.getChildren())t.push(r)}}return i}findPositionIn(e,t){if(t===0)return this._moveViewPositionToTextNode(new V(e,0));if(this._viewToModelLengthCallbacks.size==0&&this._viewToModelMapping.has(e)){const i=this._cache.getClosest(e,t);return this._findPositionStartingFrom(i.viewPosition,i.modelOffset,t,e,!0)}else return this._findPositionStartingFrom(new V(e,0),0,t,e,!1)}_findPositionStartingFrom(e,t,i,o,s){let r=e.parent,a=e.offset;if(r.is("$text"))return new V(r,i-t);let l,c=t,u=0;for(;c{this._clearCacheInsideParent(t,i.index)}),h(this,"_invalidateOnTextChangeCallback",(e,t)=>{this._clearCacheStartingBefore(t)})}save(e,t,i,o){const s=this._cachedMapping.get(i),r=s.cacheMap.get(o);if(r){const c=e.getChild(t-1),u=r.viewPosition.nodeBefore?this._nodeToCacheListIndex.get(r.viewPosition.nodeBefore):0;this._nodeToCacheListIndex.set(c,u);return}const a={viewPosition:new V(e,t),modelOffset:o};s.maxModelOffset=o>s.maxModelOffset?o:s.maxModelOffset,s.cacheMap.set(o,a);let l=s.cacheList.length-1;for(;l>=0&&s.cacheList[l].modelOffset>o;)l--;if(s.cacheList.splice(l+1,0,a),t>0){const c=e.getChild(t-1);this._nodeToCacheListIndex.set(c,l+1)}}getClosest(e,t){const i=this._cachedMapping.get(e);let o;if(i)if(t>i.maxModelOffset)o=i.cacheList[i.cacheList.length-1];else{const r=i.cacheMap.get(t);r?o=r:o=this._findInCacheList(i.cacheList,t)}else o=this.startTracking(e);const s=this._hoistViewPosition(o.viewPosition);return{modelOffset:o.modelOffset,viewPosition:s}}_hoistViewPosition(e){for(;e.parent.parent&&!this._cachedMapping.has(e.parent)&&e.isAtEnd;){const t=e.parent.parent,i=t.getChildIndex(e.parent)+1;e=new V(t,i)}return e}startTracking(e){const t={viewPosition:new V(e,0),modelOffset:0},i={maxModelOffset:0,cacheList:[t],cacheMap:new Map([[0,t]])};return this._cachedMapping.set(e,i),e.on("change:children",this._invalidateOnChildrenChangeCallback),e.on("change:text",this._invalidateOnTextChangeCallback),t}stopTracking(e){e.off("change:children",this._invalidateOnChildrenChangeCallback),e.off("change:text",this._invalidateOnTextChangeCallback),this._cachedMapping.delete(e)}_clearCacheInsideParent(e,t){if(t==0)this._cachedMapping.has(e)?this._clearCacheAll(e):this._clearCacheStartingBefore(e);else{const i=e.getChild(t-1);this._clearCacheStartingBefore(i)}}_clearCacheAll(e){const t=this._cachedMapping.get(e);t.maxModelOffset>0&&(t.maxModelOffset=0,t.cacheList.length=1,t.cacheMap.clear(),t.cacheMap.set(0,t.cacheList[0]))}_clearCacheStartingBefore(e){const t=this._nodeToCacheListIndex.get(e);if(t===void 0){const o=e.parent;this._cachedMapping.has(o)||this._clearCacheStartingBefore(o);return}let i=e.parent;for(;!this._cachedMapping.has(i);)i=i.parent;this._clearCacheFromIndex(i,t)}_clearCacheFromIndex(e,t){t===0&&(t=1);const i=this._cachedMapping.get(e),o=i.cacheList[t-1];if(!o)return;i.maxModelOffset=o.modelOffset;const s=i.cacheList.splice(t);for(const r of s){i.cacheMap.delete(r.modelOffset);const a=r.viewPosition.nodeBefore;this._nodeToCacheListIndex.delete(a)}}_findInCacheList(e,t){let i=0,o=e.length-1,s=o-i>>1,r=e[s];for(;i>1),r=e[s];return r.modelOffset<=t?r:e[s-1]}}class Ly{constructor(){h(this,"_consumable",new Map),h(this,"_textProxyRegistry",new Map)}add(e,t){t=Hs(t),e instanceof Lt&&(e=this._getSymbolForTextProxy(e)),this._consumable.has(e)||this._consumable.set(e,new Map),this._consumable.get(e).set(t,!0)}consume(e,t){return t=Hs(t),e instanceof Lt&&(e=this._getSymbolForTextProxy(e)),this.test(e,t)?(this._consumable.get(e).set(t,!1),!0):!1}test(e,t){t=Hs(t),e instanceof Lt&&(e=this._getSymbolForTextProxy(e));const i=this._consumable.get(e);if(i===void 0)return null;const o=i.get(t);return o===void 0?null:o}revert(e,t){t=Hs(t),e instanceof Lt&&(e=this._getSymbolForTextProxy(e));const i=this.test(e,t);return i===!1?(this._consumable.get(e).set(t,!0),!0):i===!0?!1:null}verifyAllConsumed(e){const t=[];for(const[i,o]of this._consumable)for(const[s,r]of o){const a=s.split(":")[0];r&&e==a&&t.push({event:s,item:i.name||i.description})}if(t.length)throw new b("conversion-model-consumable-not-consumed",null,{items:t})}_getSymbolForTextProxy(e){let t=null;const i=this._textProxyRegistry.get(e.startOffset);if(i){const o=i.get(e.endOffset);o&&(t=o.get(e.parent))}return t||(t=this._addSymbolForTextProxy(e)),t}_addSymbolForTextProxy(e){const t=e.startOffset,i=e.endOffset,o=e.parent,s=Symbol("$textProxy:"+e.data);let r,a;return r=this._textProxyRegistry.get(t),r||(r=new Map,this._textProxyRegistry.set(t,r)),a=r.get(i),a||(a=new Map,r.set(i,a)),a.set(o,s),s}}function Hs(n){const e=n.split(":");return e[0]=="insert"?e[0]:e[0]=="addMarker"||e[0]=="removeMarker"?n:e.length>1?e[0]+":"+e[1]:e[0]}class Tp extends ge(){constructor(e){super(),h(this,"_conversionApi"),h(this,"_firedEventsMap"),this._conversionApi={dispatcher:this,...e},this._firedEventsMap=new WeakMap}convertChanges(e,t,i){const o=this._createConversionApi(i,e.getRefreshedItems());for(const r of e.getMarkersToRemove())this._convertMarkerRemove(r.name,r.range,o);const s=this._reduceChanges(e.getChanges());for(const r of s)r.type==="insert"?this._convertInsert(y._createFromPositionAndShift(r.position,r.length),o):r.type==="reinsert"?this._convertReinsert(y._createFromPositionAndShift(r.position,r.length),o):r.type==="remove"?this._convertRemove(r.position,r.length,r.name,o):this._convertAttribute(r.range,r.attributeKey,r.attributeOldValue,r.attributeNewValue,o);o.mapper.flushDeferredBindings();for(const r of o.mapper.flushUnboundMarkerNames()){const a=t.get(r).getRange();this._convertMarkerRemove(r,a,o),this._convertMarkerAdd(r,a,o)}for(const r of e.getMarkersToAdd())this._convertMarkerAdd(r.name,r.range,o);o.consumable.verifyAllConsumed("insert")}convert(e,t,i,o={}){const s=this._createConversionApi(i,void 0,o);this._convertInsert(e,s);for(const[r,a]of t)this._convertMarkerAdd(r,a,s);s.consumable.verifyAllConsumed("insert")}convertSelection(e,t,i){const o=this._createConversionApi(i);this.fire("cleanSelection",{selection:e},o);const s=e.getFirstPosition().root;if(!o.mapper.toViewElement(s))return;const r=Array.from(t.getMarkersAtPosition(e.getFirstPosition()));if(this._addConsumablesForSelection(o.consumable,e,r),this.fire("selection",{selection:e},o),!!e.isCollapsed){for(const a of r)if(o.consumable.test(e,"addMarker:"+a.name)){const l=a.getRange();if(!Fy(e.getFirstPosition(),a,o.mapper))continue;const c={item:e,markerName:a.name,markerRange:l};this.fire(`addMarker:${a.name}`,c,o)}for(const a of e.getAttributeKeys())if(o.consumable.test(e,"attribute:"+a)){const l={item:e,range:e.getFirstRange(),attributeKey:a,attributeOldValue:null,attributeNewValue:e.getAttribute(a)};this.fire(`attribute:${a}:$text`,l,o)}}}_convertInsert(e,t,i={}){i.doNotAddConsumables||this._addConsumablesForInsert(t.consumable,e);for(const o of e.getWalker({shallow:!0}))this._testAndFire("insert",Mh(o),t)}_convertRemove(e,t,i,o){this.fire(`remove:${i}`,{position:e,length:t},o)}_convertAttribute(e,t,i,o,s){this._addConsumablesForRange(s.consumable,e,`attribute:${t}`);for(const r of e){const a={item:r.item,range:y._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:t,attributeOldValue:i,attributeNewValue:o};this._testAndFire(`attribute:${t}`,a,s)}}_convertReinsert(e,t){const i=Array.from(e.getWalker({shallow:!0}));this._addConsumablesForInsert(t.consumable,i);for(const o of i.map(Mh))this._testAndFire("insert",{...o,reconversion:!0},t)}_convertMarkerAdd(e,t,i){if(t.root.rootName=="$graveyard")return;const o=`addMarker:${e}`;if(i.consumable.add(t,o),this.fire(o,{markerName:e,markerRange:t},i),!!i.consumable.consume(t,o)){this._addConsumablesForRange(i.consumable,t,o);for(const s of t.getItems()){if(!i.consumable.test(s,o))continue;const r={item:s,range:y._createOn(s),markerName:e,markerRange:t};this.fire(o,r,i)}}}_convertMarkerRemove(e,t,i){t.root.rootName!="$graveyard"&&this.fire(`removeMarker:${e}`,{markerName:e,markerRange:t},i)}_reduceChanges(e){const t={changes:e};return this.fire("reduceChanges",t),t.changes}_addConsumablesForInsert(e,t){for(const i of t){const o=i.item;if(e.test(o,"insert")===null){e.add(o,"insert");for(const s of o.getAttributeKeys())e.add(o,"attribute:"+s)}}return e}_addConsumablesForRange(e,t,i){for(const o of t.getItems())e.add(o,i);return e}_addConsumablesForSelection(e,t,i){e.add(t,"selection");for(const o of i)e.add(t,"addMarker:"+o.name);for(const o of t.getAttributeKeys())e.add(t,"attribute:"+o);return e}_testAndFire(e,t,i){const o=Ny(e,t),s=t.item.is("$textProxy")?i.consumable._getSymbolForTextProxy(t.item):t.item,r=this._firedEventsMap.get(i),a=r.get(s);if(!a)r.set(s,new Set([o]));else if(!a.has(o))a.add(o);else return;this.fire(o,t,i)}_testAndFireAddAttributes(e,t){const i={item:e,range:y._createOn(e)};for(const o of i.item.getAttributeKeys())i.attributeKey=o,i.attributeOldValue=null,i.attributeNewValue=i.item.getAttribute(o),this._testAndFire(`attribute:${o}`,i,t)}_createConversionApi(e,t=new Set,i={}){const o={...this._conversionApi,consumable:new Ly,writer:e,options:i,convertItem:s=>this._convertInsert(y._createOn(s),o),convertChildren:s=>this._convertInsert(y._createIn(s),o,{doNotAddConsumables:!0}),convertAttributes:s=>this._testAndFireAddAttributes(s,o),canReuseView:s=>!t.has(o.mapper.toModelElement(s))};return this._firedEventsMap.set(o,new Map),o}}function Fy(n,e,t){const i=e.getRange(),o=Array.from(n.getAncestors());return o.shift(),o.reverse(),!o.some(s=>{if(i.containsItem(s))return!!t.toViewElement(s).getCustomProperty("addHighlight")})}function Ny(n,e){const t=e.item.is("element")?e.item.name:"$text";return`${n}:${t}`}function Mh(n){return{item:n.item,range:y._createFromPositionAndShift(n.previousPosition,n.length)}}let Tn=class extends Yi{constructor(n){super(),h(this,"parent",null),h(this,"_attrs"),h(this,"_index",null),h(this,"_startOffset",null),this._attrs=ri(n)}get document(){return null}get index(){return this._index}get startOffset(){return this._startOffset}get offsetSize(){return 1}get endOffset(){return this.startOffset===null?null:this.startOffset+this.offsetSize}get nextSibling(){const n=this.index;return n!==null&&this.parent.getChild(n+1)||null}get previousSibling(){const n=this.index;return n!==null&&this.parent.getChild(n-1)||null}get root(){let n=this;for(;n.parent;)n=n.parent;return n}isAttached(){return this.parent===null?!1:this.root.isAttached()}getPath(){const n=[];let e=this;for(;e.parent;)n.unshift(e.startOffset),e=e.parent;return n}getAncestors(n={}){const e=[];let t=n.includeSelf?this:this.parent;for(;t;)e[n.parentFirst?"push":"unshift"](t),t=t.parent;return e}getCommonAncestor(n,e={}){const t=this.getAncestors(e),i=n.getAncestors(e);let o=0;for(;t[o]==i[o]&&t[o];)o++;return o===0?null:t[o-1]}isBefore(n){if(this==n||this.root!==n.root)return!1;const e=this.getPath(),t=n.getPath(),i=Xe(e,t);switch(i){case"prefix":return!0;case"extension":return!1;default:return e[i](e[t[0]]=t[1],e),{})),n}_clone(n){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(n,e){this._attrs.set(n,e)}_setAttributesTo(n){this._attrs=ri(n)}_removeAttribute(n){return this._attrs.delete(n)}_clearAttributes(){this._attrs.clear()}};Tn.prototype.is=function(n){return n==="node"||n==="model:node"};class yt extends ge(Yi){constructor(...e){super(),h(this,"_lastRangeBackward",!1),h(this,"_attrs",new Map),h(this,"_ranges",[]),e.length&&this.setTo(...e)}get anchor(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.end:e.start}return null}get focus(){if(this._ranges.length>0){const e=this._ranges[this._ranges.length-1];return this._lastRangeBackward?e.start:e.end}return null}get isCollapsed(){return this._ranges.length===1?this._ranges[0].isCollapsed:!1}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(e){if(this.rangeCount!=e.rangeCount)return!1;if(this.rangeCount===0)return!0;if(!this.anchor.isEqual(e.anchor)||!this.focus.isEqual(e.focus))return!1;for(const t of this._ranges){let i=!1;for(const o of e._ranges)if(t.isEqual(o)){i=!0;break}if(!i)return!1}return!0}*getRanges(){for(const e of this._ranges)yield new y(e.start,e.end)}getFirstRange(){let e=null;for(const t of this._ranges)(!e||t.start.isBefore(e.start))&&(e=t);return e?new y(e.start,e.end):null}getLastRange(){let e=null;for(const t of this._ranges)(!e||t.end.isAfter(e.end))&&(e=t);return e?new y(e.start,e.end):null}getFirstPosition(){const e=this.getFirstRange();return e?e.start.clone():null}getLastPosition(){const e=this.getLastRange();return e?e.end.clone():null}setTo(...e){let[t,i,o]=e;if(typeof i=="object"&&(o=i,i=void 0),t===null)this._setRanges([]);else if(t instanceof yt)this._setRanges(t.getRanges(),t.isBackward);else if(t&&typeof t.getRanges=="function")this._setRanges(t.getRanges(),t.isBackward);else if(t instanceof y)this._setRanges([t],!!o&&!!o.backward);else if(t instanceof C)this._setRanges([new y(t)]);else if(t instanceof Tn){const s=!!o&&!!o.backward;let r;if(i=="in")r=y._createIn(t);else if(i=="on")r=y._createOn(t);else if(i!==void 0)r=new y(C._createAt(t,i));else throw new b("model-selection-setto-required-second-parameter",[this,t]);this._setRanges([r],s)}else if(Pt(t))this._setRanges(t,o&&!!o.backward);else throw new b("model-selection-setto-not-selectable",[this,t])}_setRanges(e,t=!1){const i=Array.from(e),o=i.some(s=>{if(!(s instanceof y))throw new b("model-selection-set-ranges-not-range",[this,e]);return this._ranges.every(r=>!r.isEqual(s))});i.length===this._ranges.length&&!o||(this._replaceAllRanges(i),this._lastRangeBackward=!!t,this.fire("change:range",{directChange:!0}))}setFocus(e,t){if(this.anchor===null)throw new b("model-selection-setfocus-no-ranges",[this,e]);const i=C._createAt(e,t);if(i.compareWith(this.focus)=="same")return;const o=this.anchor;this._ranges.length&&this._popRange(),i.compareWith(o)=="before"?(this._pushRange(new y(i,o)),this._lastRangeBackward=!0):(this._pushRange(new y(o,i)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(e){return this._attrs.get(e)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(e){return this._attrs.has(e)}removeAttribute(e){this.hasAttribute(e)&&(this._attrs.delete(e),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}setAttribute(e,t){this.getAttribute(e)!==t&&(this._attrs.set(e,t),this.fire("change:attribute",{attributeKeys:[e],directChange:!0}))}getSelectedElement(){return this.rangeCount!==1?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const e=new WeakSet;for(const t of this.getRanges()){const i=Lh(t.start,e);zy(i,t)&&(yield i);const o=t.getWalker();for(const r of o){const a=r.item;r.type=="elementEnd"&&Dy(a,e,t)?yield a:r.type=="elementStart"&&a.is("model:element")&&a.root.document.model.schema.isBlock(a)&&o.jumpTo(C._createAt(a,"end"))}const s=Lh(t.end,e);Hy(s,t)&&(yield s)}}containsEntireContent(e=this.anchor.root){const t=C._createAt(e,0),i=C._createAt(e,"end");return t.isTouching(this.getFirstPosition())&&i.isTouching(this.getLastPosition())}_pushRange(e){this._checkRange(e),this._ranges.push(new y(e.start,e.end))}_checkRange(e){for(let t=0;t0;)this._popRange()}_popRange(){this._ranges.pop()}}yt.prototype.is=function(n){return n==="selection"||n==="model:selection"};function Ep(n,e){return e.has(n)?!1:(e.add(n),n.root.document.model.schema.isBlock(n)&&!!n.parent)}function Dy(n,e,t){return Ep(n,e)&&Jc(n,t)}function Lh(n,e){const t=n.parent.root.document.model.schema,i=n.parent.getAncestors({parentFirst:!0,includeSelf:!0});let o=!1;const s=i.find(r=>o?!1:(o=t.isLimit(r),!o&&Ep(r,e)));return i.forEach(r=>e.add(r)),s}function Jc(n,e){const t=$y(n);return t?!e.containsRange(y._createOn(t),!0):!0}function zy(n,e){return n?e.isCollapsed||n.isEmpty?!0:e.start.isTouching(C._createAt(n,n.maxOffset))?!1:Jc(n,e):!1}function Hy(n,e){return n?e.isCollapsed||n.isEmpty?!0:e.end.isTouching(C._createAt(n,0))?!1:Jc(n,e):!1}function $y(n){const e=n.root.document.model.schema;let t=n.parent;for(;t;){if(e.isBlock(t))return t;t=t.parent}}class ht extends ge(y){constructor(e,t){super(e,t),Wy.call(this)}detach(){this.stopListening()}toRange(){return new y(this.start,this.end)}static fromRange(e){return new ht(e.start,e.end)}}ht.prototype.is=function(n){return n==="liveRange"||n==="model:liveRange"||n=="range"||n==="model:range"};function Wy(){this.listenTo(this.root.document.model,"applyOperation",(n,e)=>{const t=e[0];t.isDocumentOperation&&jy.call(this,t)},{priority:"low"})}function jy(n){const e=this.getTransformedByOperation(n),t=y._createFromRanges(e),i=!t.isEqual(this),o=Uy(this,n);let s=null;if(i){t.root.rootName=="$graveyard"&&(n.type=="remove"?s=n.sourcePosition:s=n.deletionPosition);const r=this.toRange();this.start=t.start,this.end=t.end,this.fire("change:range",r,{deletionPosition:s})}else o&&this.fire("change:content",this.toRange(),{deletionPosition:s})}function Uy(n,e){switch(e.type){case"insert":return n.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return n.containsPosition(e.sourcePosition)||n.start.isEqual(e.sourcePosition)||n.containsPosition(e.targetPosition);case"split":return n.containsPosition(e.splitPosition)||n.containsPosition(e.insertionPosition)}return!1}class Ce extends Tn{constructor(e,t){super(t),h(this,"_data"),this._data=e||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const e=super.toJSON();return e.data=this.data,e}_clone(){return new Ce(this.data,this.getAttributes())}static fromJSON(e){return new Ce(e.data,e.attributes)}}Ce.prototype.is=function(n){return n==="$text"||n==="model:$text"||n==="text"||n==="model:text"||n==="node"||n==="model:node"};const us="selection:";class Kt extends ge(Yi){constructor(e){super(),h(this,"_selection"),this._selection=new qy(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(e){return this._selection.containsEntireContent(e)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(e){return this._selection.getAttribute(e)}hasAttribute(e){return this._selection.hasAttribute(e)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(e){this._selection.observeMarkers(e)}_setFocus(e,t){this._selection.setFocus(e,t)}_setTo(...e){this._selection.setTo(...e)}_setAttribute(e,t){this._selection.setAttribute(e,t)}_removeAttribute(e){this._selection.removeAttribute(e)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(e){this._selection.restoreGravity(e)}static _getStoreAttributeKey(e){return us+e}static _isStoreAttributeKey(e){return e.startsWith(us)}}Kt.prototype.is=function(n){return n==="selection"||n=="model:selection"||n=="documentSelection"||n=="model:documentSelection"};class qy extends yt{constructor(e){super(),h(this,"markers",new _e({idProperty:"name"})),h(this,"_model"),h(this,"_document"),h(this,"_attributePriority",new Map),h(this,"_selectionRestorePosition",null),h(this,"_hasChangedRange",!1),h(this,"_overriddenGravityRegister",new Set),h(this,"_observedMarkers",new Set),this._model=e.model,this._document=e,this.listenTo(this._model,"applyOperation",(t,i)=>{const o=i[0];!o.isDocumentOperation||o.type=="marker"||o.type=="rename"||o.type=="noop"||(this._ranges.length==0&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{this._validateSelectionRanges(this.getRanges())}),this.listenTo(this._model.markers,"update",(t,i,o,s)=>{this._updateMarker(i,s)}),this.listenTo(this._document,"change",(t,i)=>{Gy(this._model,i)})}get isCollapsed(){return this._ranges.length===0?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let e=0;e{if(this._hasChangedRange=!0,t.root==this._document.graveyard){this._selectionRestorePosition=s.deletionPosition;const r=this._ranges.indexOf(t);this._ranges.splice(r,1),t.detach()}}),t}updateMarkers(){if(!this._observedMarkers.size)return;const e=[];let t=!1;for(const o of this._model.markers){const s=o.name.split(":",1)[0];if(!this._observedMarkers.has(s))continue;const r=o.getRange();for(const a of this.getRanges())r.containsRange(a,!a.isCollapsed)&&e.push(o)}const i=Array.from(this.markers);for(const o of e)this.markers.has(o)||(this.markers.add(o),t=!0);for(const o of Array.from(this.markers))e.includes(o)||(this.markers.remove(o),t=!0);t&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateMarker(e,t){const i=e.name.split(":",1)[0];if(!this._observedMarkers.has(i))return;let o=!1;const s=Array.from(this.markers),r=this.markers.has(e);if(!t)r&&(this.markers.remove(e),o=!0);else{let a=!1;for(const l of this.getRanges())if(t.containsRange(l,!l.isCollapsed)){a=!0;break}a&&!r?(this.markers.add(e),o=!0):!a&&r&&(this.markers.remove(e),o=!0)}o&&this.fire("change:marker",{oldMarkers:s,directChange:!1})}_updateAttributes(e){const t=ri(this._getSurroundingAttributes()),i=ri(this.getAttributes());if(e)this._attributePriority=new Map,this._attrs=new Map;else for(const[s,r]of this._attributePriority)r=="low"&&(this._attrs.delete(s),this._attributePriority.delete(s));this._setAttributesTo(t);const o=[];for(const[s,r]of this.getAttributes())(!i.has(s)||i.get(s)!==r)&&o.push(s);for(const[s]of i)this.hasAttribute(s)||o.push(s);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(e,t,i=!0){const o=i?"normal":"low";return o=="low"&&this._attributePriority.get(e)=="normal"||super.getAttribute(e)===t?!1:(this._attrs.set(e,t),this._attributePriority.set(e,o),!0)}_removeAttribute(e,t=!0){const i=t?"normal":"low";return i=="low"&&this._attributePriority.get(e)=="normal"||(this._attributePriority.set(e,i),!super.hasAttribute(e))?!1:(this._attrs.delete(e),!0)}_setAttributesTo(e){const t=new Set;for(const[i,o]of this.getAttributes())e.get(i)!==o&&this._removeAttribute(i,!1);for(const[i,o]of e)this._setAttribute(i,o,!1)&&t.add(i);return t}*getStoredAttributes(){const e=this.getFirstPosition().parent;if(this.isCollapsed&&e.isEmpty)for(const t of e.getAttributeKeys())t.startsWith(us)&&(yield[t.substr(us.length),e.getAttribute(t)])}_getSurroundingAttributes(){const e=this.getFirstPosition(),t=this._model.schema;if(e.root.rootName=="$graveyard")return null;let i=null;if(this.isCollapsed){const o=e.textNode?e.textNode:e.nodeBefore,s=e.textNode?e.textNode:e.nodeAfter;if(this.isGravityOverridden||(i=Io(o,t)),i||(i=Io(s,t)),!this.isGravityOverridden&&!i){let r=o;for(;r&&!i;)r=r.previousSibling,i=Io(r,t)}if(!i){let r=s;for(;r&&!i;)r=r.nextSibling,i=Io(r,t)}i||(i=this.getStoredAttributes())}else{const o=this.getFirstRange();for(const s of o){if(s.item.is("element")&&t.isObject(s.item)){i=Io(s.item,t);break}if(s.type=="text"){i=s.item.getAttributes();break}}}return i}_fixGraveyardSelection(e){const t=this._model.schema.getNearestSelectionRange(e);t&&this._pushRange(t)}}function Io(n,e){if(!n)return null;if(n instanceof Lt||n instanceof Ce)return n.getAttributes();if(!e.isInline(n))return null;if(!e.isObject(n))return[];const t=[];for(const[i,o]of n.getAttributes())e.checkAttribute("$text",i)&&e.getAttributeProperties(i).copyFromObject!==!1&&t.push([i,o]);return t}function Gy(n,e){const t=n.document.differ;for(const i of t.getChanges()){if(i.type!="insert")continue;const o=i.position.parent;i.length===o.maxOffset&&n.enqueueChange(e,s=>{const r=Array.from(o.getAttributeKeys()).filter(a=>a.startsWith(us));for(const a of r)s.removeAttribute(a,o)})}}class Xo{constructor(e){h(this,"_nodes",[]),h(this,"_offsetToNode",[]),e&&this._insertNodes(0,e)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._offsetToNode.length}getNode(e){return this._nodes[e]||null}getNodeAtOffset(e){return this._offsetToNode[e]||null}getNodeIndex(e){return e.index}getNodeStartOffset(e){return e.startOffset}indexToOffset(e){if(e==this._nodes.length)return this.maxOffset;const t=this._nodes[e];if(!t)throw new b("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(t)}offsetToIndex(e){if(e==this._offsetToNode.length)return this._nodes.length;const t=this._offsetToNode[e];if(!t)throw new b("model-nodelist-offset-out-of-bounds",this,{offset:e,nodeList:this});return this.getNodeIndex(t)}_insertNodes(e,t){const i=[];for(const s of t){if(!(s instanceof Tn))throw new b("model-nodelist-insertnodes-not-node",this);i.push(s)}let o=this.indexToOffset(e);vh(this._nodes,i,e),vh(this._offsetToNode,Ky(i),o);for(let s=e;si.index!==null),this._offsetToNode=this._offsetToNode.filter(i=>i.index!==null);let t=0;for(let i=0;ie.toJSON())}}function Ky(n){const e=[];let t=0;for(const i of n)for(let o=0;o0){e.children=[];for(const t of this._children)e.children.push(t.toJSON())}return e}_clone(e=!1){const t=e?Jy(this._children):void 0;return new ne(this.name,this.getAttributes(),t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=Zy(t);for(const o of i)o.parent!==null&&o._remove(),o.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const o of i)o.parent=null;return i}_removeChildrenArray(e){this._children._removeNodesArray(e);for(const t of e)t.parent=null}static fromJSON(e){let t;if(e.children){t=[];for(const i of e.children)i.name?t.push(ne.fromJSON(i)):t.push(Ce.fromJSON(i))}return new ne(e.name,e.attributes,t)}}ne.prototype.is=function(n,e){return e?e===this.name&&(n==="element"||n==="model:element"):n==="element"||n==="model:element"||n==="node"||n==="model:node"};function Zy(n){if(typeof n=="string")return[new Ce(n)];Pt(n)||(n=[n]);const e=[];for(const t of n)typeof t=="string"?e.push(new Ce(t)):t instanceof Lt?e.push(new Ce(t.data,t.getAttributes())):e.push(t);return e}function Jy(n){const e=[];for(const t of n)e.push(t._clone(!0));return e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class Sp{constructor(e){h(this,"_dispatchers"),this._dispatchers=e}add(e){for(const t of this._dispatchers)e(t);return this}}class Qy extends Sp{elementToElement(e){return this.add(gk(e))}elementToStructure(e){return this.add(pk(e))}attributeToElement(e){return this.add(wk(e))}attributeToAttribute(e){return this.add(bk(e))}markerToElement(e){return this.add(_k(e))}markerToHighlight(e){return this.add(yk(e))}markerToData(e){return this.add(vk(e))}}function Pp(){return(n,e,t)=>{if(!t.consumable.consume(e.item,n.name))return;const i=t.writer,o=t.mapper.toViewPosition(e.range.start),s=i.createText(e.item.data);i.insert(o,s)}}function Ip(){return(n,e,t)=>{t.convertAttributes(e.item),!e.reconversion&&e.item.is("element")&&!e.item.isEmpty&&t.convertChildren(e.item)}}function Yy(){return(n,e,t)=>{const i=t.mapper.toViewPosition(e.position),o=e.position.getShiftedBy(e.length),s=t.mapper.toViewPosition(o,{isPhantom:!0}),r=t.writer.createRange(i,s),a=t.writer.remove(r.getTrimmed());for(const l of t.writer.createRangeIn(a).getItems())t.mapper.unbindViewElement(l,{defer:!0})}}function Vp(n,e){const t=n.createAttributeElement("span",e.attributes);return e.classes&&t._addClass(e.classes),typeof e.priority=="number"&&(t._priority=e.priority),t._id=e.id,t}function Xy(){return(n,e,t)=>{const i=e.selection;if(i.isCollapsed||!t.consumable.consume(i,"selection"))return;const o=[];for(const s of i.getRanges())o.push(t.mapper.toViewRange(s));t.writer.setSelection(o,{backward:i.isBackward})}}function ek(){return(n,e,t)=>{const i=e.selection;if(!i.isCollapsed||!t.consumable.consume(i,"selection"))return;const o=t.writer,s=i.getFirstPosition(),r=t.mapper.toViewPosition(s),a=o.breakAttributes(r);o.setSelection(a)}}function tk(){return(n,e,t)=>{const i=t.writer,o=i.document.selection;for(const s of o.getRanges())s.isCollapsed&&s.end.parent.isAttached()&&t.writer.mergeAttributes(s.start);i.setSelection(null)}}function ik(n){return(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=n(t.attributeOldValue,i,t),s=n(t.attributeNewValue,i,t);if(!o&&!s)return;i.consumable.consume(t.item,e.name);const r=i.writer,a=r.document.selection;if(t.item instanceof yt||t.item instanceof Kt)r.wrap(a.getFirstRange(),s);else{let l=i.mapper.toViewRange(t.range);t.attributeOldValue!==null&&o&&(l=r.unwrap(l,o)),t.attributeNewValue!==null&&s&&r.wrap(l,s)}}}function nk(n,e=Sk){return(t,i,o)=>{if(!e(i.item,o.consumable,{preflight:!0}))return;const s=n(i.item,o,i);if(!s)return;e(i.item,o.consumable);const r=o.mapper.toViewPosition(i.range.start);o.mapper.bindElements(i.item,s),o.writer.insert(r,s),o.convertAttributes(i.item),Lp(s,i.item.getChildren(),o,{reconversion:i.reconversion})}}function ok(n,e){return(t,i,o)=>{if(!e(i.item,o.consumable,{preflight:!0}))return;const s=new Map;o.writer._registerSlotFactory(Ak(i.item,s,o));const r=n(i.item,o,i);if(o.writer._clearSlotFactory(),!r)return;xk(i.item,s,o),e(i.item,o.consumable);const a=o.mapper.toViewPosition(i.range.start);o.mapper.bindElements(i.item,r),o.writer.insert(a,r),o.convertAttributes(i.item),Tk(r,s,o,{reconversion:i.reconversion})}}function sk(n){return(e,t,i)=>{t.isOpening=!0;const o=n(t,i);t.isOpening=!1;const s=n(t,i);if(!o||!s)return;const r=t.markerRange;if(r.isCollapsed&&!i.consumable.consume(r,e.name))return;for(const c of r)if(!i.consumable.consume(c.item,e.name))return;const a=i.mapper,l=i.writer;l.insert(a.toViewPosition(r.start),o),i.mapper.bindElementToMarker(o,t.markerName),r.isCollapsed||(l.insert(a.toViewPosition(r.end),s),i.mapper.bindElementToMarker(s,t.markerName)),e.stop()}}function rk(){return(n,e,t)=>{const i=t.mapper.markerNameToElements(e.markerName);if(i){for(const o of i)t.mapper.unbindElementFromMarkerName(o,e.markerName),t.writer.clear(t.writer.createRangeOn(o),o);t.writer.clearClonedElementsGroup(e.markerName),n.stop()}}}function ak(n){return(e,t,i)=>{const o=n(t.markerName,i);if(!o)return;const s=t.markerRange;i.consumable.consume(s,e.name)&&(Fh(s,!1,i,t,o),Fh(s,!0,i,t,o),e.stop())}}function Fh(n,e,t,i,o){const s=e?n.start:n.end,r=s.nodeAfter&&s.nodeAfter.is("element")?s.nodeAfter:null,a=s.nodeBefore&&s.nodeBefore.is("element")?s.nodeBefore:null;if(r||a){let c,u;e&&r||!e&&!a?(c=r,u=!0):(c=a,u=!1);const d=t.mapper.toViewElement(c);if(d){lk(d,e,u,t,i,o);return}}const l=t.mapper.toViewPosition(s);ck(l,e,t,i,o)}function lk(n,e,t,i,o,s){const r=`data-${s.group}-${e?"start":"end"}-${t?"before":"after"}`,a=n.hasAttribute(r)?n.getAttribute(r).split(","):[];a.unshift(s.name),i.writer.setAttribute(r,a.join(","),n),i.mapper.bindElementToMarker(n,o.markerName)}function ck(n,e,t,i,o){const s=`${o.group}-${e?"start":"end"}`,r=o.name?{name:o.name}:null,a=t.writer.createUIElement(s,r);t.writer.insert(n,a),t.mapper.bindElementToMarker(a,i.markerName)}function uk(n){return(e,t,i)=>{const o=n(t.markerName,i);if(!o)return;const s=i.mapper.markerNameToElements(t.markerName);if(!s)return;for(const a of s)i.mapper.unbindElementFromMarkerName(a,t.markerName),a.is("containerElement")?(r(`data-${o.group}-start-before`,a),r(`data-${o.group}-start-after`,a),r(`data-${o.group}-end-before`,a),r(`data-${o.group}-end-after`,a)):i.writer.clear(i.writer.createRangeOn(a),a);i.writer.clearClonedElementsGroup(t.markerName),e.stop();function r(a,l){if(l.hasAttribute(a)){const c=new Set(l.getAttribute(a).split(","));c.delete(o.name),c.size==0?i.writer.removeAttribute(a,l):i.writer.setAttribute(a,Array.from(c).join(","),l)}}}}function hk(n){return(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const o=n(t.attributeOldValue,i,t),s=n(t.attributeNewValue,i,t);if(!o&&!s)return;i.consumable.consume(t.item,e.name);const r=i.mapper.toViewElement(t.item),a=i.writer;if(!r)throw new b("conversion-attribute-to-attribute-on-text",i.dispatcher,t);if(t.attributeOldValue!==null&&o){let l=o.value;o.key=="style"&&(typeof o.value=="string"?l=new so(a.document.stylesProcessor).setTo(o.value).getStylesEntries().map(([c])=>c):l=Object.keys(o.value)),a.removeAttribute(o.key,l,r)}if(t.attributeNewValue!==null&&s){let l=s.value;s.key=="style"&&typeof s.value=="string"&&(l=Object.fromEntries(new so(a.document.stylesProcessor).setTo(s.value).getStylesEntries())),a.setAttribute(s.key,l,!1,r)}}}function dk(n){return(e,t,i)=>{if(!t.item||!(t.item instanceof yt||t.item instanceof Kt)&&!t.item.is("$textProxy"))return;const o=Qc(n,t,i);if(!o||!i.consumable.consume(t.item,e.name))return;const s=i.writer,r=Vp(s,o),a=s.document.selection;if(t.item instanceof yt||t.item instanceof Kt)s.wrap(a.getFirstRange(),r);else{const l=i.mapper.toViewRange(t.range),c=s.wrap(l,r);for(const u of c.getItems())if(u.is("attributeElement")&&u.isSimilar(r)){i.mapper.bindElementToMarker(u,t.markerName);break}}}}function mk(n){return(e,t,i)=>{if(!t.item||!(t.item instanceof ne))return;const o=Qc(n,t,i);if(!o||!i.consumable.test(t.item,e.name))return;const s=i.mapper.toViewElement(t.item);if(s&&s.getCustomProperty("addHighlight")){i.consumable.consume(t.item,e.name);for(const r of y._createIn(t.item))i.consumable.consume(r.item,e.name);s.getCustomProperty("addHighlight")(s,o,i.writer),i.mapper.bindElementToMarker(s,t.markerName)}}}function fk(n){return(e,t,i)=>{if(t.markerRange.isCollapsed)return;const o=Qc(n,t,i);if(!o)return;const s=Vp(i.writer,o),r=i.mapper.markerNameToElements(t.markerName);if(r){for(const a of r)i.mapper.unbindElementFromMarkerName(a,t.markerName),a.is("attributeElement")?i.writer.unwrap(i.writer.createRangeOn(a),s):a.getCustomProperty("removeHighlight")(a,o.id,i.writer);i.writer.clearClonedElementsGroup(t.markerName),e.stop()}}}function gk(n){const e=Rp(n.model),t=hs(n.view,"container");return e.attributes.length&&(e.children=!0),i=>{i.on(`insert:${e.name}`,nk(t,Mp(e)),{priority:n.converterPriority||"normal"}),(e.children||e.attributes.length)&&i.on("reduceChanges",Bp(e),{priority:"low"})}}function pk(n){const e=Rp(n.model),t=hs(n.view,"container");return e.children=!0,i=>{if(i._conversionApi.schema.checkChild(e.name,"$text"))throw new b("conversion-element-to-structure-disallowed-text",i,{elementName:e.name});i.on(`insert:${e.name}`,ok(t,Mp(e)),{priority:n.converterPriority||"normal"}),i.on("reduceChanges",Bp(e),{priority:"low"})}}function wk(n){n=mt(n);let e=n.model;typeof e=="string"&&(e={key:e});let t=`attribute:${e.key}`;if(e.name&&(t+=":"+e.name),e.values)for(const o of e.values)n.view[o]=hs(n.view[o],"attribute");else n.view=hs(n.view,"attribute");const i=Op(n);return o=>{o.on(t,ik(i),{priority:n.converterPriority||"normal"})}}function bk(n){n=mt(n);let e=n.model;typeof e=="string"&&(e={key:e});let t=`attribute:${e.key}`;if(e.name&&(t+=":"+e.name),e.values)for(const o of e.values)n.view[o]=Nh(n.view[o]);else n.view=Nh(n.view);const i=Op(n);return o=>{o.on(t,hk(i),{priority:n.converterPriority||"normal"})}}function _k(n){const e=hs(n.view,"ui");return t=>{t.on(`addMarker:${n.model}`,sk(e),{priority:n.converterPriority||"normal"}),t.on(`removeMarker:${n.model}`,rk(),{priority:n.converterPriority||"normal"})}}function vk(n){n=mt(n);const e=n.model;let t=n.view;return t||(t=i=>({group:e,name:i.substr(n.model.length+1)})),i=>{i.on(`addMarker:${e}`,ak(t),{priority:n.converterPriority||"normal"}),i.on(`removeMarker:${e}`,uk(t),{priority:n.converterPriority||"normal"})}}function yk(n){return e=>{e.on(`addMarker:${n.model}`,dk(n.view),{priority:n.converterPriority||"normal"}),e.on(`addMarker:${n.model}`,mk(n.view),{priority:n.converterPriority||"normal"}),e.on(`removeMarker:${n.model}`,fk(n.view),{priority:n.converterPriority||"normal"})}}function Rp(n){return typeof n=="string"&&(n={name:n}),{name:n.name,attributes:n.attributes?he(n.attributes):[],children:!!n.children}}function hs(n,e){return typeof n=="function"?n:(t,i)=>kk(n,i,e)}function kk(n,e,t){typeof n=="string"&&(n={name:n});let i;const o=e.writer,s=Object.assign({},n.attributes);if(t=="container")i=o.createContainerElement(n.name,s);else if(t=="attribute"){const r={priority:n.priority||_n.DEFAULT_PRIORITY};i=o.createAttributeElement(n.name,s,r)}else i=o.createUIElement(n.name,s);if(n.styles){const r=Object.keys(n.styles);for(const a of r)o.setStyle(a,n.styles[a],i)}if(n.classes){const r=n.classes;if(typeof r=="string")o.addClass(r,i);else for(const a of r)o.addClass(a,i)}return i}function Op(n){return n.model.values?(e,t,i)=>{const o=n.view[e];return o?o(e,t,i):null}:n.view}function Nh(n){return typeof n=="string"?e=>({key:n,value:e}):typeof n=="object"?n.value?()=>n:e=>({key:n.key,value:e}):n}function Qc(n,e,t){const i=typeof n=="function"?n(e,t):n;return i?(i.priority||(i.priority=10),i.id||(i.id=e.markerName),i):null}function Ck(n){return(e,t)=>{if(!e.is("element",n.name))return!1;if(t.type=="attribute"){if(n.attributes.includes(t.attributeKey))return!0}else{/* istanbul ignore else: This is always true because otherwise it would not register a reducer callback. -- @preserve */if(n.children)return!0}return!1}}function Bp(n){const e=Ck(n);return(t,i)=>{const o=[];i.reconvertedElements||(i.reconvertedElements=new Set);for(const s of i.changes){const r=s.type=="attribute"?s.range.start.nodeAfter:s.position.parent;if(!r||!e(r,s)){o.push(s);continue}if(!i.reconvertedElements.has(r)){i.reconvertedElements.add(r);const a=C._createBefore(r);let l=o.length;for(let c=o.length-1;c>=0;c--){const u=o[c],d=(u.type=="attribute"?u.range.start:u.position).compareWith(a);if(d=="before"||u.type=="remove"&&d=="same")break;l=c}o.splice(l,0,{type:"remove",name:r.name,position:a,length:1},{type:"reinsert",name:r.name,position:a,length:1})}}i.changes=o}}function Mp(n){return(e,t,i={})=>{const o=["insert"];for(const s of n.attributes)e.hasAttribute(s)&&o.push(`attribute:${s}`);return o.every(s=>t.test(e,s))?(i.preflight||o.forEach(s=>t.consume(e,s)),!0):!1}}function Ak(n,e,t){return(i,o)=>{const s=i.createContainerElement("$slot");let r=null;if(o==="children")r=Array.from(n.getChildren());else if(typeof o=="function")r=Array.from(n.getChildren()).filter(a=>o(a));else throw new b("conversion-slot-mode-unknown",t.dispatcher,{modeOrFilter:o});return e.set(s,r),s}}function xk(n,e,t){const i=Array.from(e.values()).flat(),o=new Set(i);if(o.size!=i.length)throw new b("conversion-slot-filter-overlap",t.dispatcher,{element:n});if(o.size!=n.childCount)throw new b("conversion-slot-filter-incomplete",t.dispatcher,{element:n})}function Tk(n,e,t,i){t.mapper.on("modelToViewPosition",r,{priority:"highest"});let o=null,s=null;for([o,s]of e)Lp(n,s,t,i),t.writer.move(t.writer.createRangeIn(o),t.writer.createPositionBefore(o)),t.writer.remove(o);t.mapper.off("modelToViewPosition",r);function r(a,l){const c=l.modelPosition.nodeAfter,u=s.indexOf(c);u<0||(l.viewPosition=l.mapper.findPositionIn(o,u))}}function Lp(n,e,t,i){for(const o of e)Ek(n.root,o,t,i)||t.convertItem(o)}function Ek(n,e,t,i){const{writer:o,mapper:s}=t;if(!i.reconversion)return!1;const r=s.toViewElement(e);return!r||r.root==n||!t.canReuseView(r)?!1:(o.move(o.createRangeOn(r),s.toViewPosition(C._createBefore(e))),!0)}function Sk(n,e,{preflight:t}={}){return t?e.test(n,"insert"):e.consume(n,"insert")}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Fp(n){const{schema:e,document:t}=n.model;for(const i of t.getRoots())if(i.isEmpty&&!e.checkChild(i,"$text")&&e.checkChild(i,"paragraph"))return n.insertElement("paragraph",i),!0;return!1}function Np(n,e,t){const i=t.createContext(n);return!(!t.checkChild(i,"paragraph")||!t.checkChild(i.push("paragraph"),e))}function Dp(n,e){const t=e.createElement("paragraph");return e.insert(t,n),e.createPositionAt(t,0)}class Pk extends Sp{elementToElement(e){return this.add(zp(e))}elementToAttribute(e){return this.add(Rk(e))}attributeToAttribute(e){return this.add(Ok(e))}elementToMarker(e){return this.add(Bk(e))}dataToMarker(e){return this.add(Mk(e))}}function Dh(){return(n,e,t)=>{if(!e.modelRange&&t.consumable.consume(e.viewItem,{name:!0})){const{modelRange:i,modelCursor:o}=t.convertChildren(e.viewItem,e.modelCursor);e.modelRange=i,e.modelCursor=o}}}function Ik(){return(n,e,{schema:t,consumable:i,writer:o})=>{let s=e.modelCursor;if(!i.test(e.viewItem))return;if(!t.checkChild(s,"$text")){if(!Np(s,"$text",t)||e.viewItem.data.trim().length==0)return;s=Dp(s,o)}i.consume(e.viewItem);const r=o.createText(e.viewItem.data);o.insert(r,s),e.modelRange=o.createRange(s,s.getShiftedBy(r.offsetSize)),e.modelCursor=e.modelRange.end}}function Vk(n,e){return(t,i)=>{const o=i.newSelection,s=[];for(const a of o.getRanges())s.push(e.toModelRange(a));const r=n.createSelection(s,{backward:o.isBackward});r.isEqual(n.document.selection)||n.change(a=>{a.setSelection(r)})}}function zp(n){n=mt(n);const e=ql(n),t=Yc(n.view),i=t?`element:${t}`:"element";return o=>{o.on(i,e,{priority:n.converterPriority||"normal"})}}function Rk(n){n=mt(n),Hp(n);const e=$p(n,!1),t=Yc(n.view),i=t?`element:${t}`:"element";return o=>{o.on(i,e,{priority:n.converterPriority||"low"})}}function Ok(n){n=mt(n);let e=null;(typeof n.view=="string"||n.view.key)&&(e=Nk(n)),Hp(n,e);const t=$p(n,!0);return i=>{i.on("element",t,{priority:n.converterPriority||"low"})}}function Bk(n){const e=Hk(n.model);return zp({...n,model:e})}function Mk(n){n=mt(n),n.model||(n.model=o=>o?n.view+":"+o:n.view);const e={view:n.view,model:n.model},t=ql(zh(e,"start")),i=ql(zh(e,"end"));return o=>{o.on(`element:${n.view}-start`,t,{priority:n.converterPriority||"normal"}),o.on(`element:${n.view}-end`,i,{priority:n.converterPriority||"normal"});const s=kt.low,r=kt.highest,a=kt.get(n.converterPriority)/r;o.on("element",Lk(e),{priority:s+a})}}function Lk(n){return(e,t,i)=>{const o=`data-${n.view}`;if(!i.consumable.test(t.viewItem,{attributes:o+"-end-after"})&&!i.consumable.test(t.viewItem,{attributes:o+"-start-after"})&&!i.consumable.test(t.viewItem,{attributes:o+"-end-before"})&&!i.consumable.test(t.viewItem,{attributes:o+"-start-before"}))return;t.modelRange||Object.assign(t,i.convertChildren(t.viewItem,t.modelCursor)),i.consumable.consume(t.viewItem,{attributes:o+"-end-after"})&&s(t.modelRange.end,t.viewItem.getAttribute(o+"-end-after").split(",")),i.consumable.consume(t.viewItem,{attributes:o+"-start-after"})&&s(t.modelRange.end,t.viewItem.getAttribute(o+"-start-after").split(",")),i.consumable.consume(t.viewItem,{attributes:o+"-end-before"})&&s(t.modelRange.start,t.viewItem.getAttribute(o+"-end-before").split(",")),i.consumable.consume(t.viewItem,{attributes:o+"-start-before"})&&s(t.modelRange.start,t.viewItem.getAttribute(o+"-start-before").split(","));function s(r,a){for(const l of a){const c=n.model(l,i),u=i.writer.createElement("$marker",{"data-name":c});i.writer.insert(u,r),t.modelCursor.isEqual(r)?t.modelCursor=t.modelCursor.getShiftedBy(1):t.modelCursor=t.modelCursor._getTransformedByInsertion(r,1),t.modelRange=t.modelRange._getTransformedByInsertion(r,1)[0]}}}}function Yc(n){return typeof n=="string"?n:typeof n=="object"&&typeof n.name=="string"?n.name:null}function ql(n){const e=new ft(n.view);return(t,i,o)=>{const s=e.match(i.viewItem);if(!s)return;const r=s.match;if(r.name=!0,!o.consumable.test(i.viewItem,r))return;const a=Fk(n.model,i.viewItem,o);a&&o.safeInsert(a,i.modelCursor)&&(o.consumable.consume(i.viewItem,r),o.convertChildren(i.viewItem,a),o.updateConversionResult(a,i))}}function Fk(n,e,t){return n instanceof Function?n(e,t):t.writer.createElement(n)}function Nk(n){typeof n.view=="string"&&(n.view={key:n.view});const e=n.view.key,t=typeof n.view.value>"u"?/[\s\S]*/:n.view.value;let i;return e=="class"||e=="style"?i={[e=="class"?"classes":"styles"]:t}:i={attributes:{[e]:t}},n.view.name&&(i.name=n.view.name),n.view=i,e}function Hp(n,e=null){const t=e===null?!0:s=>s.getAttribute(e),i=typeof n.model!="object"?n.model:n.model.key,o=typeof n.model!="object"||typeof n.model.value>"u"?t:n.model.value;n.model={key:i,value:o}}function $p(n,e){const t=new ft(n.view);return(i,o,s)=>{if(!o.modelRange&&e)return;const r=t.match(o.viewItem);if(!r||(Dk(n.view,o.viewItem)?r.match.name=!0:delete r.match.name,!s.consumable.test(o.viewItem,r.match)))return;const a=n.model.key,l=typeof n.model.value=="function"?n.model.value(o.viewItem,s,o):n.model.value;l!==null&&(o.modelRange||Object.assign(o,s.convertChildren(o.viewItem,o.modelCursor)),zk(o.modelRange,{key:a,value:l},e,s)&&(s.consumable.test(o.viewItem,{name:!0})&&(r.match.name=!0),s.consumable.consume(o.viewItem,r.match)))}}function Dk(n,e){const t=typeof n=="function"?n(e):n;return typeof t=="object"&&!Yc(t)?!1:!t.classes&&!t.attributes&&!t.styles}function zk(n,e,t,i){let o=!1;for(const s of Array.from(n.getItems({shallow:t})))i.schema.checkAttribute(s,e.key)&&(o=!0,!s.hasAttribute(e.key)&&i.writer.setAttribute(e.key,e.value,s));return o}function Hk(n){return(e,t)=>{const i=typeof n=="string"?n:n(e,t);return t.writer.createElement("$marker",{"data-name":i})}}function zh(n,e){const t=(i,o)=>{const s=i.getAttribute("name"),r=n.model(s,o);return o.writer.createElement("$marker",{"data-name":r})};return{view:`${n.view}-${e}`,model:t}}function $k(n){n.document.registerPostFixer(e=>Wk(e,n))}function Wk(n,e){const t=e.document.selection,i=e.schema,o=[];let s=!1;for(const r of t.getRanges()){const a=Wp(r,i);a&&!a.isEqual(r)?(o.push(a),s=!0):o.push(r)}return s&&n.setSelection(Gk(o),{backward:t.isBackward}),!1}function Wp(n,e){return n.isCollapsed?jk(n,e):Uk(n,e)}function jk(n,e){const t=n.start,i=e.getNearestSelectionRange(t);if(!i){const s=t.getAncestors().reverse().find(r=>e.isObject(r));return s?y._createOn(s):null}if(!i.isCollapsed)return i;const o=i.start;return t.isEqual(o)?null:new y(o)}function Uk(n,e){const{start:t,end:i}=n,o=e.checkChild(t,"$text"),s=e.checkChild(i,"$text"),r=e.getLimitElement(t),a=e.getLimitElement(i);if(r===a){if(o&&s)return null;if(qk(t,i,e)){const u=t.nodeAfter&&e.isSelectable(t.nodeAfter)?null:e.getNearestSelectionRange(t,"forward"),d=i.nodeBefore&&e.isSelectable(i.nodeBefore)?null:e.getNearestSelectionRange(i,"backward"),m=u?u.start:t,f=d?d.end:i;return new y(m,f)}}const l=r&&!r.is("rootElement"),c=a&&!a.is("rootElement");if(l||c){const u=t.nodeAfter&&i.nodeBefore&&t.nodeAfter.parent===i.nodeBefore.parent,d=l&&(!u||!$h(t.nodeAfter,e)),m=c&&(!u||!$h(i.nodeBefore,e));let f=t,g=i;return d&&(f=C._createBefore(Hh(r,e))),m&&(g=C._createAfter(Hh(a,e))),new y(f,g)}return null}function Hh(n,e){let t=n,i=t;for(;e.isLimit(i)&&i.parent;)t=i,i=i.parent;return t}function qk(n,e,t){const i=n.nodeAfter&&!t.isLimit(n.nodeAfter)||t.checkChild(n,"$text"),o=e.nodeBefore&&!t.isLimit(e.nodeBefore)||t.checkChild(e,"$text");return i||o}function Gk(n){const e=[...n],t=new Set;let i=1;for(;i!t.has(s))}function $h(n,e){return n&&e.isSelectable(n)}class Kk extends ue(){constructor(e,t){super(),h(this,"model"),h(this,"view"),h(this,"mapper"),h(this,"downcastDispatcher"),this.model=e,this.view=new Oy(t),this.mapper=new xp,this.downcastDispatcher=new Tp({mapper:this.mapper,schema:e.schema});const i=this.model.document,o=i.selection,s=this.model.markers;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(i,"change",()=>{this.view.change(r=>{this.downcastDispatcher.convertChanges(i.differ,s,r),this.downcastDispatcher.convertSelection(o,s,r)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",Vk(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",Zk(this.mapper,this.model.schema,this.view),{priority:"high"}),this.downcastDispatcher.on("insert:$text",Pp(),{priority:"lowest"}),this.downcastDispatcher.on("insert",Ip(),{priority:"lowest"}),this.downcastDispatcher.on("remove",Yy(),{priority:"low"}),this.downcastDispatcher.on("cleanSelection",tk()),this.downcastDispatcher.on("selection",Xy(),{priority:"low"}),this.downcastDispatcher.on("selection",ek(),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(r=>{if(r.rootName=="$graveyard")return null;const a=new hp(this.view.document,r.name);return a.rootName=r.rootName,this.mapper.bindElements(r,a),a})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(e){const t=typeof e=="string"?e:e.name,i=this.model.markers.get(t);if(!i)throw new b("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:t});this.model.change(()=>{this.model.markers._refresh(i)})}reconvertItem(e){this.model.change(()=>{this.model.document.differ._refreshItem(e)})}}function Zk(n,e,t){return(i,o)=>{if(!(t.document.isComposing&&!N.isAndroid))for(let s=0;s{t[0]=new Ui(t[0])},{priority:"highest"}),this.on("checkChild",(e,t)=>{t[0]=new Ui(t[0]),t[1]=this.getDefinition(t[1])},{priority:"highest"})}register(e,t){if(this._sourceDefinitions[e])throw new b("schema-cannot-register-item-twice",this,{itemName:e});this._sourceDefinitions[e]=[Object.assign({},t)],this._clearCache()}extend(e,t){if(!this._sourceDefinitions[e])throw new b("schema-cannot-extend-missing-item",this,{itemName:e});this._sourceDefinitions[e].push(Object.assign({},t)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(e){let t;return typeof e=="string"?t=e:"is"in e&&(e.is("$text")||e.is("$textProxy"))?t="$text":t=e.name,this.getDefinitions()[t]}isRegistered(e){return!!this.getDefinition(e)}isBlock(e){const t=this.getDefinition(e);return!!(t&&t.isBlock)}isLimit(e){const t=this.getDefinition(e);return t?!!(t.isLimit||t.isObject):!1}isObject(e){const t=this.getDefinition(e);return t?!!(t.isObject||t.isLimit&&t.isSelectable&&t.isContent):!1}isInline(e){const t=this.getDefinition(e);return!!(t&&t.isInline)}isSelectable(e){const t=this.getDefinition(e);return t?!!(t.isSelectable||t.isObject):!1}isContent(e){const t=this.getDefinition(e);return t?!!(t.isContent||t.isObject):!1}checkChild(e,t){return t?this._checkContextMatch(e,t):!1}checkAttribute(e,t){const i=this.getDefinition(e.last);if(!i)return!1;const o=this._evaluateAttributeChecks(e,t);return o!==void 0?o:i.allowAttributes.includes(t)}checkMerge(e,t){if(e instanceof C){const i=e.nodeBefore,o=e.nodeAfter;if(!(i instanceof ne))throw new b("schema-check-merge-no-element-before",this);if(!(o instanceof ne))throw new b("schema-check-merge-no-element-after",this);return this.checkMerge(i,o)}if(this.isLimit(e)||this.isLimit(t))return!1;for(const i of t.getChildren())if(!this.checkChild(e,i))return!1;return!0}addChildCheck(e,t){const i=t!==void 0?t:this._genericCheckSymbol,o=this._customChildChecks.get(i)||[];o.push(e),this._customChildChecks.set(i,o)}addAttributeCheck(e,t){const i=t!==void 0?t:this._genericCheckSymbol,o=this._customAttributeChecks.get(i)||[];o.push(e),this._customAttributeChecks.set(i,o)}setAttributeProperties(e,t){this._attributeProperties[e]=Object.assign(this.getAttributeProperties(e),t)}getAttributeProperties(e){return this._attributeProperties[e]||Object.create(null)}getLimitElement(e){let t;for(e instanceof C?t=e.parent:t=(e instanceof y?[e]:Array.from(e.getRanges())).reduce((i,o)=>{const s=o.getCommonAncestor();return i?i.getCommonAncestor(s,{includeSelf:!0}):s},null);!this.isLimit(t)&&t.parent;)t=t.parent;return t}checkAttributeInSelection(e,t){if(e.isCollapsed){const i=[...e.getFirstPosition().getAncestors(),new Ce("",e.getAttributes())];return this.checkAttribute(i,t)}else{const i=e.getRanges();for(const o of i)for(const s of o)if(this.checkAttribute(s.item,t))return!0}return!1}*getValidRanges(e,t){e=d2(e);for(const i of e)yield*this._getValidRangesForRange(i,t)}getNearestSelectionRange(e,t="both"){if(e.root.rootName=="$graveyard")return null;if(this.checkChild(e,"$text"))return new y(e);let i,o;const s=e.getAncestors().reverse().find(r=>this.isLimit(r))||e.root;(t=="both"||t=="backward")&&(i=new yi({boundaries:y._createIn(s),startPosition:e,direction:"backward"})),(t=="both"||t=="forward")&&(o=new yi({boundaries:y._createIn(s),startPosition:e}));for(const r of h2(i,o)){const a=r.walker==i?"elementEnd":"elementStart",l=r.value;if(l.type==a&&this.isObject(l.item))return y._createOn(l.item);if(this.checkChild(l.nextPosition,"$text"))return new y(l.nextPosition)}return null}findAllowedParent(e,t){let i=e.parent;for(;i;){if(this.checkChild(i,t))return i;if(this.isLimit(i))return null;i=i.parent}return null}setAllowedAttributes(e,t,i){const o=i.model;for(const[s,r]of Object.entries(t))o.schema.checkAttribute(e,s)&&i.setAttribute(s,r,e)}removeDisallowedAttributes(e,t){for(const i of e)if(i.is("$text"))Wh(this,i,t);else{const o=y._createIn(i).getPositions();for(const s of o){const r=s.nodeBefore||s.parent;Wh(this,r,t)}}}getAttributesWithProperty(e,t,i){const o={};for(const[s,r]of e.getAttributes()){const a=this.getAttributeProperties(s);a[t]!==void 0&&(i===void 0||i===a[t])&&(o[s]=r)}return o}createContext(e){return new Ui(e)}_clearCache(){this._compiledDefinitions=null}_compile(){const e={},t=this._sourceDefinitions,i=Object.keys(t);for(const s of i)e[s]=Qk(t[s],s);const o=Object.values(e);for(const s of o)Yk(e,s),Xk(e,s),e2(e,s),t2(e,s);for(const s of o)i2(e,s);for(const s of o)n2(e,s);for(const s of o)o2(e,s);for(const s of o)r2(e,s);for(const s of o)a2(e,s);this._compiledDefinitions=s2(e)}_checkContextMatch(e,t){const i=e.last;let o=this._evaluateChildChecks(e,t);if(o=o!==void 0?o:t.allowIn.includes(i.name),!o)return!1;const s=this.getDefinition(i),r=e.trimLast();return s?r.length==0?!0:this._checkContextMatch(r,s):!1}_evaluateChildChecks(e,t){const i=this._customChildChecks.get(this._genericCheckSymbol)||[],o=this._customChildChecks.get(t.name)||[];for(const s of[...i,...o]){const r=s(e,t);if(r!==void 0)return r}}_evaluateAttributeChecks(e,t){const i=this._customAttributeChecks.get(this._genericCheckSymbol)||[],o=this._customAttributeChecks.get(t)||[];for(const s of[...i,...o]){const r=s(e,t);if(r!==void 0)return r}}*_getValidRangesForRange(e,t){let i=e.start,o=e.start;for(const s of e.getItems({shallow:!0}))s.is("element")&&(yield*this._getValidRangesForRange(y._createIn(s),t)),this.checkAttribute(s,t)||(i.isEqual(o)||(yield new y(i,o)),i=C._createAfter(s)),o=C._createAfter(s);i.isEqual(o)||(yield new y(i,o))}findOptimalInsertionRange(e,t){const i=e.getSelectedElement();if(i&&this.isObject(i)&&!this.isInline(i))return t=="before"||t=="after"?new y(C._createAt(i,t)):y._createOn(i);const o=ae(e.getSelectedBlocks());if(!o)return new y(e.focus);if(o.isEmpty)return new y(C._createAt(o,0));const s=C._createAfter(o);return e.focus.isTouching(s)?new y(s):new y(C._createBefore(o))}}class Ui{constructor(e){if(h(this,"_items"),e instanceof Ui)return e;let t;typeof e=="string"?t=[e]:Array.isArray(e)?t=e:t=e.getAncestors({includeSelf:!0}),this._items=t.map(u2)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(e){const t=new Ui([e]);return t._items=[...this._items,...t._items],t}trimLast(){const e=new Ui([]);return e._items=this._items.slice(0,-1),e}getItem(e){return this._items[e]}*getNames(){yield*this._items.map(e=>e.name)}endsWith(e){return Array.from(this.getNames()).join(" ").endsWith(e)}startsWith(e){return Array.from(this.getNames()).join(" ").startsWith(e)}}function Qk(n,e){const t={name:e,allowIn:new Set,allowChildren:new Set,disallowIn:new Set,disallowChildren:new Set,allowContentOf:new Set,allowWhere:new Set,allowAttributes:new Set,disallowAttributes:new Set,allowAttributesOf:new Set,inheritTypesFrom:new Set};return l2(n,t),Qt(n,t,"allowIn"),Qt(n,t,"allowChildren"),Qt(n,t,"disallowIn"),Qt(n,t,"disallowChildren"),Qt(n,t,"allowContentOf"),Qt(n,t,"allowWhere"),Qt(n,t,"allowAttributes"),Qt(n,t,"disallowAttributes"),Qt(n,t,"allowAttributesOf"),Qt(n,t,"inheritTypesFrom"),c2(n,t),t}function Yk(n,e){for(const t of e.allowIn){const i=n[t];i?i.allowChildren.add(e.name):e.allowIn.delete(t)}}function Xk(n,e){for(const t of e.allowChildren){const i=n[t];i?i.allowIn.add(e.name):e.allowChildren.delete(t)}}function e2(n,e){for(const t of e.disallowIn){const i=n[t];i?i.disallowChildren.add(e.name):e.disallowIn.delete(t)}}function t2(n,e){for(const t of e.disallowChildren){const i=n[t];i?i.disallowIn.add(e.name):e.disallowChildren.delete(t)}}function i2(n,e){for(const t of e.disallowChildren)e.allowChildren.delete(t);for(const t of e.disallowIn)e.allowIn.delete(t);for(const t of e.disallowAttributes)e.allowAttributes.delete(t)}function n2(n,e){for(const t of e.allowContentOf){const i=n[t];i&&(i.disallowChildren.forEach(o=>{e.allowChildren.has(o)||(e.disallowChildren.add(o),n[o].disallowIn.add(e.name))}),i.allowChildren.forEach(o=>{e.disallowChildren.has(o)||(e.allowChildren.add(o),n[o].allowIn.add(e.name))}))}}function o2(n,e){for(const t of e.allowWhere){const i=n[t];i&&(i.disallowIn.forEach(o=>{e.allowIn.has(o)||(e.disallowIn.add(o),n[o].disallowChildren.add(e.name))}),i.allowIn.forEach(o=>{e.disallowIn.has(o)||(e.allowIn.add(o),n[o].allowChildren.add(e.name))}))}}function s2(n){const e={};for(const t of Object.values(n))e[t.name]={name:t.name,isBlock:!!t.isBlock,isContent:!!t.isContent,isInline:!!t.isInline,isLimit:!!t.isLimit,isObject:!!t.isObject,isSelectable:!!t.isSelectable,allowIn:Array.from(t.allowIn).filter(i=>!!n[i]),allowChildren:Array.from(t.allowChildren).filter(i=>!!n[i]),allowAttributes:Array.from(t.allowAttributes)};return e}function r2(n,e){for(const t of e.allowAttributesOf){const i=n[t];if(!i)return;i.allowAttributes.forEach(o=>{e.disallowAttributes.has(o)||e.allowAttributes.add(o)})}}function a2(n,e){for(const t of e.inheritTypesFrom){const i=n[t];if(i){const o=Object.keys(i).filter(s=>s.startsWith("is"));for(const s of o)s in e||(e[s]=i[s])}}}function l2(n,e){for(const t of n){const i=Object.keys(t).filter(o=>o.startsWith("is"));for(const o of i)e[o]=!!t[o]}}function Qt(n,e,t){for(const i of n){let o=i[t];typeof o=="string"&&(o=[o]),Array.isArray(o)&&o.forEach(s=>e[t].add(s))}}function c2(n,e){for(const t of n){const i=t.inheritAllFrom;i&&(e.allowContentOf.add(i),e.allowWhere.add(i),e.allowAttributesOf.add(i),e.inheritTypesFrom.add(i))}}function u2(n){return typeof n=="string"||n.is("documentFragment")?{name:typeof n=="string"?n:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:n.is("element")?n.name:"$text",*getAttributeKeys(){yield*n.getAttributeKeys()},getAttribute(e){return n.getAttribute(e)}}}function*h2(n,e){let t=!1;for(;!t;){if(t=!0,n){const i=n.next();i.done||(t=!1,yield{walker:n,value:i.value})}if(e){const i=e.next();i.done||(t=!1,yield{walker:e,value:i.value})}}}function*d2(n){for(const e of n)yield*e.getMinimalFlatRanges()}function Wh(n,e,t){for(const i of e.getAttributeKeys())n.checkAttribute(e,i)||t.removeAttribute(i,e)}class m2 extends ge(){constructor(e){super(),h(this,"conversionApi"),h(this,"_splitParts",new Map),h(this,"_cursorParents",new Map),h(this,"_modelCursor",null),h(this,"_emptyElementsToKeep",new Set),this.conversionApi={...e,consumable:null,writer:null,store:null,convertItem:(t,i)=>this._convertItem(t,i),convertChildren:(t,i)=>this._convertChildren(t,i),safeInsert:(t,i)=>this._safeInsert(t,i),updateConversionResult:(t,i)=>this._updateConversionResult(t,i),splitToAllowedParent:(t,i)=>this._splitToAllowedParent(t,i),getSplitParts:t=>this._getSplitParts(t),keepEmptyElement:t=>this._keepEmptyElement(t)}}convert(e,t,i=["$root"]){this.fire("viewCleanup",e),this._modelCursor=g2(i,t),this.conversionApi.writer=t,this.conversionApi.consumable=Pr.createFrom(e),this.conversionApi.store={};const{modelRange:o}=this._convertItem(e,this._modelCursor),s=t.createDocumentFragment();if(o){this._removeEmptyElements();const r=this._modelCursor.parent,a=r._removeChildren(0,r.childCount);s._insertChild(0,a),s.markers=f2(s,t)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,s}_convertItem(e,t){const i={viewItem:e,modelCursor:t,modelRange:null};if(e.is("element")?this.fire(`element:${e.name}`,i,this.conversionApi):e.is("$text")?this.fire("text",i,this.conversionApi):this.fire("documentFragment",i,this.conversionApi),i.modelRange&&!(i.modelRange instanceof y))throw new b("view-conversion-dispatcher-incorrect-result",this);return{modelRange:i.modelRange,modelCursor:i.modelCursor}}_convertChildren(e,t){let i=t.is("position")?t:C._createAt(t,0);const o=new y(i);for(const s of Array.from(e.getChildren())){const r=this._convertItem(s,i);r.modelRange instanceof y&&(o.end=r.modelRange.end,i=r.modelCursor)}return{modelRange:o,modelCursor:i}}_safeInsert(e,t){const i=this._splitToAllowedParent(e,t);return i?(this.conversionApi.writer.insert(e,i.position),!0):!1}_updateConversionResult(e,t){const i=this._getSplitParts(e),o=this.conversionApi.writer;t.modelRange||(t.modelRange=o.createRange(o.createPositionBefore(e),o.createPositionAfter(i[i.length-1])));const s=this._cursorParents.get(e);s?t.modelCursor=o.createPositionAt(s,0):t.modelCursor=t.modelRange.end}_splitToAllowedParent(e,t){const{schema:i,writer:o}=this.conversionApi;let s=i.findAllowedParent(t,e);if(s){if(s===t.parent)return{position:t};this._modelCursor.parent.getAncestors().includes(s)&&(s=null)}if(!s)return Np(t,e,i)?{position:Dp(t,o)}:null;const r=this.conversionApi.writer.split(t,s),a=[];for(const c of r.range.getWalker())if(c.type=="elementEnd")a.push(c.item);else{const u=a.pop(),d=c.item;this._registerSplitPair(u,d)}const l=r.range.end.parent;return this._cursorParents.set(e,l),{position:r.position,cursorParent:l}}_registerSplitPair(e,t){this._splitParts.has(e)||this._splitParts.set(e,[e]);const i=this._splitParts.get(e);this._splitParts.set(t,i),i.push(t)}_getSplitParts(e){let t;return this._splitParts.has(e)?t=this._splitParts.get(e):t=[e],t}_keepEmptyElement(e){this._emptyElementsToKeep.add(e)}_removeEmptyElements(){const e=new Map;for(const t of this._splitParts.keys())if(t.isEmpty&&!this._emptyElementsToKeep.has(t)){const i=e.get(t.parent)||[];i.push(t),this._splitParts.delete(t),e.set(t.parent,i)}for(const[t,i]of e)t._removeChildrenArray(i);e.size&&this._removeEmptyElements()}}function f2(n,e){const t=new Set,i=new Map,o=y._createIn(n).getItems();for(const s of o)s.is("element","$marker")&&t.add(s);for(const s of t){const r=s.getAttribute("data-name"),a=e.createPositionBefore(s);i.has(r)?i.get(r).end=a.clone():i.set(r,new y(a.clone())),e.remove(s)}return i}function g2(n,e){let t;for(const i of new Ui(n)){const o={};for(const r of i.getAttributeKeys())o[r]=i.getAttribute(r);const s=e.createElement(i.name,o);t&&e.insert(s,t),t=C._createAt(s,0)}return t}class p2{getHtml(e){const t=I.document.implementation.createHTMLDocument("").createElement("div");return t.appendChild(e),t.innerHTML}}class jp{constructor(e){h(this,"domParser"),h(this,"domConverter"),h(this,"htmlWriter"),h(this,"skipComments",!0),this.domParser=new DOMParser,this.domConverter=new ca(e,{renderingMode:"data"}),this.htmlWriter=new p2}toData(e){const t=this.domConverter.viewToDom(e);return this.htmlWriter.getHtml(t)}toView(e){const t=this._toDom(e);return this.domConverter.domToView(t,{skipComments:this.skipComments})}registerRawContentMatcher(e){this.domConverter.registerRawContentMatcher(e)}useFillerType(e){this.domConverter.blockFillerMode=e=="marked"?"markedNbsp":"nbsp"}_toDom(e){/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(e.trim().slice(0,1e4))||(e=`${e}`);const t=this.domParser.parseFromString(e,"text/html"),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return i}}class w2 extends ge(){constructor(e,t){super(),h(this,"model"),h(this,"mapper"),h(this,"downcastDispatcher"),h(this,"upcastDispatcher"),h(this,"viewDocument"),h(this,"stylesProcessor"),h(this,"htmlProcessor"),h(this,"processor"),h(this,"_viewWriter"),this.model=e,this.mapper=new xp,this.downcastDispatcher=new Tp({mapper:this.mapper,schema:e.schema}),this.downcastDispatcher.on("insert:$text",Pp(),{priority:"lowest"}),this.downcastDispatcher.on("insert",Ip(),{priority:"lowest"}),this.upcastDispatcher=new m2({schema:e.schema}),this.viewDocument=new aa(t),this.stylesProcessor=t,this.htmlProcessor=new jp(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new gp(this.viewDocument),this.upcastDispatcher.on("text",Ik(),{priority:"lowest"}),this.upcastDispatcher.on("element",Dh(),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",Dh(),{priority:"lowest"}),ue().prototype.decorate.call(this,"init"),ue().prototype.decorate.call(this,"set"),ue().prototype.decorate.call(this,"get"),ue().prototype.decorate.call(this,"toView"),ue().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},Fp)},{priority:"lowest"})}get(e={}){const{rootName:t="main",trim:i="empty"}=e;if(!this._checkIfRootsExists([t]))throw new b("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(t);return o.isAttached()||J("datacontroller-get-detached-root",this),i==="empty"&&!this.model.hasContent(o,{ignoreWhitespaces:!0})?"":this.stringify(o,e)}stringify(e,t={}){const i=this.toView(e,t);return this.processor.toData(i)}toView(e,t={}){const i=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const s=y._createIn(e),r=new vn(i);this.mapper.bindElements(e,r);const a=e.is("documentFragment")?e.markers:b2(e);return this.downcastDispatcher.convert(s,a,o,t),r}init(e){if(this.model.document.version)throw new b("datacontroller-init-document-not-empty",this);let t={};if(typeof e=="string"?t.main=e:t=e,!this._checkIfRootsExists(Object.keys(t)))throw new b("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},i=>{for(const o of Object.keys(t)){const s=this.model.document.getRoot(o);i.insert(this.parse(t[o],s),s,0)}}),Promise.resolve()}set(e,t={}){let i={};if(typeof e=="string"?i.main=e:i=e,!this._checkIfRootsExists(Object.keys(i)))throw new b("datacontroller-set-non-existent-root",this);this.model.enqueueChange(t.batchType||{},o=>{o.setSelection(null),o.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const s of Object.keys(i)){const r=this.model.document.getRoot(s);o.remove(o.createRangeIn(r)),o.insert(this.parse(i[s],r),r,0)}})}parse(e,t="$root"){const i=this.processor.toView(e);return this.toModel(i,t)}toModel(e,t="$root"){return this.model.change(i=>this.upcastDispatcher.convert(e,i,t))}addStyleProcessorRules(e){e(this.stylesProcessor)}registerRawContentMatcher(e){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(e),this.htmlProcessor.registerRawContentMatcher(e)}destroy(){this.stopListening()}_checkIfRootsExists(e){for(const t of e)if(!this.model.document.getRoot(t))return!1;return!0}}function b2(n){const e=[],t=n.root.document;if(!t)return new Map;const i=y._createIn(n);for(const o of t.model.markers){const s=o.getRange(),r=s.isCollapsed,a=s.start.isEqual(i.start)||s.end.isEqual(i.end);if(r&&a)e.push([o.name,s]);else{const l=i.getIntersection(s);l&&e.push([o.name,l])}}return e.sort(([o,s],[r,a])=>{if(s.end.compareWith(a.start)!=="after")return 1;if(s.start.compareWith(a.end)!=="before")return-1;switch(s.start.compareWith(a.start)){case"before":return 1;case"after":return-1;default:switch(s.end.compareWith(a.end)){case"before":return 1;case"after":return-1;default:return r.localeCompare(o)}}}),new Map(e)}class _2{constructor(e,t){h(this,"_helpers",new Map),h(this,"_downcast"),h(this,"_upcast"),this._downcast=he(e),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=he(t),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(e,t){const i=this._downcast.includes(t);if(!this._upcast.includes(t)&&!i)throw new b("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:e,dispatchers:[t],isDowncast:i})}for(e){if(!this._helpers.has(e))throw new b("conversion-for-unknown-group",this);return this._helpers.get(e)}elementToElement(e){this.for("downcast").elementToElement(e);for(const{model:t,view:i}of za(e))this.for("upcast").elementToElement({model:t,view:i,converterPriority:e.converterPriority})}attributeToElement(e){this.for("downcast").attributeToElement(e);for(const{model:t,view:i}of za(e))this.for("upcast").elementToAttribute({view:i,model:t,converterPriority:e.converterPriority})}attributeToAttribute(e){this.for("downcast").attributeToAttribute(e);for(const{model:t,view:i}of za(e))this.for("upcast").attributeToAttribute({view:i,model:t})}_createConversionHelpers({name:e,dispatchers:t,isDowncast:i}){if(this._helpers.has(e))throw new b("conversion-group-exists",this);const o=i?new Qy(t):new Pk(t);this._helpers.set(e,o)}}function*za(n){if(n.model.values)for(const e of n.model.values){const t={key:n.model.key,value:e},i=n.view[e],o=n.upcastAlso?n.upcastAlso[e]:void 0;yield*jh(t,i,o)}else yield*jh(n.model,n.view,n.upcastAlso)}function*jh(n,e,t){if(yield{model:n,view:e},t)for(const i of he(t))yield{model:n,view:i}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class It{constructor(e){h(this,"baseVersion"),h(this,"isDocumentOperation"),h(this,"batch"),this.baseVersion=e,this.isDocumentOperation=this.baseVersion!==null,this.batch=null}_validate(){}toJSON(){const e=Object.assign({},this);return e.__className=this.constructor.className,delete e.batch,delete e.isDocumentOperation,e}static get className(){return"Operation"}static fromJSON(e,t){return new this(e.baseVersion)}}function Xc(n,e){const t=qp(e),i=t.reduce((r,a)=>r+a.offsetSize,0),o=n.parent;fs(n);const s=n.index;return o._insertChild(s,t),ms(o,s+t.length),ms(o,s),new y(n,n.getShiftedBy(i))}function Up(n){if(!n.isFlat)throw new b("operation-utils-remove-range-not-flat",this);const e=n.start.parent;fs(n.start),fs(n.end);const t=e._removeChildren(n.start.index,n.end.index-n.start.index);return ms(e,n.start.index),t}function ds(n,e){if(!n.isFlat)throw new b("operation-utils-move-range-not-flat",this);const t=Up(n);return e=e._getTransformedByDeletion(n.start,n.end.offset-n.start.offset),Xc(e,t)}function v2(n,e,t){fs(n.start),fs(n.end);for(const i of n.getItems({shallow:!0})){const o=i.is("$textProxy")?i.textNode:i;t!==null?o._setAttribute(e,t):o._removeAttribute(e),ms(o.parent,o.index)}ms(n.end.parent,n.end.index)}function qp(n){const e=[];function t(i){if(typeof i=="string")e.push(new Ce(i));else if(i instanceof Lt)e.push(new Ce(i.data,i.getAttributes()));else if(i instanceof Tn)e.push(i);else if(Pt(i))for(const o of i)t(o)}t(n);for(let i=1;ie.maxOffset)throw new b("move-operation-nodes-do-not-exist",this);if(e===t&&i=i&&this.targetPosition.path[s]i._clone(!0))),t=new je(this.position,e,this.baseVersion);return t.shouldReceiveAttributes=this.shouldReceiveAttributes,t}getReversed(){const e=this.position.root.document.graveyard,t=new C(e,[0]);return new re(this.position,this.nodes.maxOffset,t,this.baseVersion+1)}_validate(){const e=this.position.parent;if(!e||e.maxOffsett._clone(!0))),Xc(this.position,e)}toJSON(){const e=super.toJSON();return e.position=this.position.toJSON(),e.nodes=this.nodes.toJSON(),e}static get className(){return"InsertOperation"}static fromJSON(e,t){const i=[];for(const s of e.nodes)s.name?i.push(ne.fromJSON(s)):i.push(Ce.fromJSON(s));const o=new je(C.fromJSON(e.position,t),i,e.baseVersion);return o.shouldReceiveAttributes=e.shouldReceiveAttributes,o}}class we extends It{constructor(e,t,i,o,s){super(s),h(this,"splitPosition"),h(this,"howMany"),h(this,"insertionPosition"),h(this,"graveyardPosition"),this.splitPosition=e.clone(),this.splitPosition.stickiness="toNext",this.howMany=t,this.insertionPosition=i,this.graveyardPosition=o?o.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const e=this.insertionPosition.path.slice();return e.push(0),new C(this.insertionPosition.root,e)}get movedRange(){const e=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new y(this.splitPosition,e)}get affectedSelectable(){const e=[y._createFromPositionAndShift(this.splitPosition,0),y._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&e.push(y._createFromPositionAndShift(this.graveyardPosition,0)),e}clone(){return new we(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const e=this.splitPosition.root.document.graveyard,t=new C(e,[0]);return new Oe(this.moveTargetPosition,this.howMany,this.splitPosition,t,this.baseVersion+1)}_validate(){const e=this.splitPosition.parent,t=this.splitPosition.offset;if(!e||e.maxOffset0&&(e.sourcePosition.isEqual(t.sourcePosition.getShiftedBy(t.howMany))&&this._setRelation(e,t,"mergeSourceAffected"),e.targetPosition.isEqual(t.sourcePosition)&&this._setRelation(e,t,"mergeTargetWasBefore"));else if(e instanceof ot){const i=e.newRange;if(!i)return;if(t instanceof Oe){const o=i.start.isEqual(t.targetPosition),s=i.start.isEqual(t.deletionPosition),r=i.end.isEqual(t.deletionPosition),a=i.end.isEqual(t.sourcePosition);(o||s||r||a)&&this._setRelation(e,t,{wasInLeftElement:o,wasStartBeforeMergedElement:s,wasEndBeforeMergedElement:r,wasInRightElement:a})}}}getContext(e,t,i){return{aIsStrong:i,aWasUndone:this._wasUndone(e),bWasUndone:this._wasUndone(t),abRelation:this._useRelations?this._getRelation(e,t):null,baRelation:this._useRelations?this._getRelation(t,e):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(e){const t=this.originalOperations.get(e);return t.wasUndone||this._history.isUndoneOperation(t)}_getRelation(e,t){const i=this.originalOperations.get(t),o=this._history.getUndoneOperation(i);if(!o)return null;const s=this.originalOperations.get(e),r=this._relations.get(s);return r&&r.get(o)||null}_setRelation(e,t,i){const o=this.originalOperations.get(e),s=this.originalOperations.get(t);let r=this._relations.get(o);r||(r=new Map,this._relations.set(o,r)),r.set(s,i)}}function qh(n,e){for(const t of n)t.baseVersion=e++}function Gh(n){const e=new Map;for(let t=0;t{if(n.key===e.key&&n.range.start.hasSameParentAs(e.range.start)){const i=n.range.getDifference(e.range).map(s=>new Le(s,n.key,n.oldValue,n.newValue,0)),o=n.range.getIntersection(e.range);return o&&t.aIsStrong&&i.push(new Le(o,e.key,e.newValue,n.newValue,0)),i.length==0?[new De(0)]:i}else return[n]});ie(Le,je,(n,e)=>{if(n.range.start.hasSameParentAs(e.position)&&n.range.containsPosition(e.position)){const t=n.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map(i=>new Le(i,n.key,n.oldValue,n.newValue,n.baseVersion));if(e.shouldReceiveAttributes){const i=Kp(e,n.key,n.oldValue);i&&t.unshift(i)}return t}return n.range=n.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[n]});function Kp(n,e,t){const i=n.nodes.getNode(0).getAttribute(e);if(i==t)return null;const o=new y(n.position,n.position.getShiftedBy(n.howMany));return new Le(o,e,i,t,0)}ie(Le,Oe,(n,e)=>{const t=[];n.range.start.hasSameParentAs(e.deletionPosition)&&(n.range.containsPosition(e.deletionPosition)||n.range.start.isEqual(e.deletionPosition))&&t.push(y._createFromPositionAndShift(e.graveyardPosition,1));const i=n.range._getTransformedByMergeOperation(e);return i.isCollapsed||t.push(i),t.map(o=>new Le(o,n.key,n.oldValue,n.newValue,n.baseVersion))});ie(Le,re,(n,e)=>T2(n.range,e).map(t=>new Le(t,n.key,n.oldValue,n.newValue,n.baseVersion)));function T2(n,e){const t=y._createFromPositionAndShift(e.sourcePosition,e.howMany);let i=null,o=[];t.containsRange(n,!0)?i=n:n.start.hasSameParentAs(t.start)?(o=n.getDifference(t),i=n.getIntersection(t)):o=[n];const s=[];for(let r of o){r=r._getTransformedByDeletion(e.sourcePosition,e.howMany);const a=e.getMovedRangeStart(),l=r.start.hasSameParentAs(a),c=r._getTransformedByInsertion(a,e.howMany,l);s.push(...c)}return i&&s.push(i._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]),s}ie(Le,we,(n,e)=>{if(n.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||n.range.end.offset++,[n];if(n.range.start.hasSameParentAs(e.splitPosition)&&n.range.containsPosition(e.splitPosition)){const t=n.clone();return t.range=new y(e.moveTargetPosition.clone(),n.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),n.range.end=e.splitPosition.clone(),n.range.end.stickiness="toPrevious",[n,t]}return n.range=n.range._getTransformedBySplitOperation(e),[n]});ie(je,Le,(n,e)=>{const t=[n];if(n.shouldReceiveAttributes&&n.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(n.position)){const i=Kp(n,e.key,e.newValue);i&&t.push(i)}return t});ie(je,je,(n,e,t)=>n.position.isEqual(e.position)&&t.aIsStrong?[n]:(n.position=n.position._getTransformedByInsertOperation(e),[n]));ie(je,re,(n,e)=>(n.position=n.position._getTransformedByMoveOperation(e),[n]));ie(je,we,(n,e)=>(n.position=n.position._getTransformedBySplitOperation(e),[n]));ie(je,Oe,(n,e)=>(n.position=n.position._getTransformedByMergeOperation(e),[n]));ie(ot,je,(n,e)=>(n.oldRange&&(n.oldRange=n.oldRange._getTransformedByInsertOperation(e)[0]),n.newRange&&(n.newRange=n.newRange._getTransformedByInsertOperation(e)[0]),[n]));ie(ot,ot,(n,e,t)=>{if(n.name==e.name)if(t.aIsStrong)n.oldRange=e.newRange?e.newRange.clone():null;else return[new De(0)];return[n]});ie(ot,Oe,(n,e)=>(n.oldRange&&(n.oldRange=n.oldRange._getTransformedByMergeOperation(e)),n.newRange&&(n.newRange=n.newRange._getTransformedByMergeOperation(e)),[n]));ie(ot,re,(n,e)=>{const t=[n];if(n.oldRange&&(n.oldRange=y._createFromRanges(n.oldRange._getTransformedByMoveOperation(e))),n.newRange){const i=n.newRange._getTransformedByMoveOperation(e);n.newRange=i[0];for(let o=1;o{if(n.oldRange&&(n.oldRange=n.oldRange._getTransformedBySplitOperation(e)),n.newRange){if(t.abRelation){const i=n.newRange._getTransformedBySplitOperation(e);return n.newRange.start.isEqual(e.splitPosition)?t.abRelation.wasStartBeforeMergedElement?n.newRange.start=C._createAt(e.insertionPosition):t.abRelation.wasInLeftElement?n.newRange.start=C._createAt(n.newRange.start):n.newRange.start=C._createAt(e.moveTargetPosition):n.newRange.start=i.start,n.newRange.end.isEqual(e.splitPosition)?n.newRange.end.isEqual(e.splitPosition)&&t.abRelation.wasEndBeforeMergedElement?n.newRange.end=C._createAt(e.insertionPosition):t.abRelation.wasInRightElement?n.newRange.end=C._createAt(e.moveTargetPosition):n.newRange.end=C._createAt(n.newRange.end):n.newRange.end=i.end,[n]}n.newRange=n.newRange._getTransformedBySplitOperation(e)}return[n]});ie(Oe,je,(n,e)=>(n.sourcePosition.hasSameParentAs(e.position)&&(n.howMany+=e.howMany),n.sourcePosition=n.sourcePosition._getTransformedByInsertOperation(e),n.targetPosition=n.targetPosition._getTransformedByInsertOperation(e),[n]));ie(Oe,Oe,(n,e,t)=>{if(n.sourcePosition.isEqual(e.sourcePosition)&&n.targetPosition.isEqual(e.targetPosition))if(t.bWasUndone){const i=e.graveyardPosition.path.slice();return i.push(0),n.sourcePosition=new C(e.graveyardPosition.root,i),n.howMany=0,[n]}else return[new De(0)];if(n.sourcePosition.isEqual(e.sourcePosition)&&!n.targetPosition.isEqual(e.targetPosition)&&!t.bWasUndone&&t.abRelation!="splitAtSource"){const i=n.targetPosition.root.rootName=="$graveyard",o=e.targetPosition.root.rootName=="$graveyard";if(o&&!i||!(i&&!o)&&t.aIsStrong){const s=e.targetPosition._getTransformedByMergeOperation(e),r=n.targetPosition._getTransformedByMergeOperation(e);return[new re(s,n.howMany,r,0)]}else return[new De(0)]}return n.sourcePosition.hasSameParentAs(e.targetPosition)&&(n.howMany+=e.howMany),n.sourcePosition=n.sourcePosition._getTransformedByMergeOperation(e),n.targetPosition=n.targetPosition._getTransformedByMergeOperation(e),(!n.graveyardPosition.isEqual(e.graveyardPosition)||!t.aIsStrong)&&(n.graveyardPosition=n.graveyardPosition._getTransformedByMergeOperation(e)),[n]});ie(Oe,re,(n,e,t)=>{const i=y._createFromPositionAndShift(e.sourcePosition,e.howMany);return e.type=="remove"&&!t.bWasUndone&&n.deletionPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(n.sourcePosition)?[new De(0)]:(e.sourcePosition.getShiftedBy(e.howMany).isEqual(n.sourcePosition)?n.sourcePosition.stickiness="toNone":e.targetPosition.isEqual(n.sourcePosition)&&t.abRelation=="mergeSourceAffected"?n.sourcePosition.stickiness="toNext":e.sourcePosition.isEqual(n.targetPosition)?(n.targetPosition.stickiness="toNone",n.howMany-=e.howMany):e.targetPosition.isEqual(n.targetPosition)&&t.abRelation=="mergeTargetWasBefore"?(n.targetPosition.stickiness="toPrevious",n.howMany+=e.howMany):(n.sourcePosition.hasSameParentAs(e.targetPosition)&&(n.howMany+=e.howMany),n.sourcePosition.hasSameParentAs(e.sourcePosition)&&(n.howMany-=e.howMany)),n.sourcePosition=n.sourcePosition._getTransformedByMoveOperation(e),n.targetPosition=n.targetPosition._getTransformedByMoveOperation(e),n.sourcePosition.stickiness="toPrevious",n.targetPosition.stickiness="toNext",n.graveyardPosition.isEqual(e.targetPosition)||(n.graveyardPosition=n.graveyardPosition._getTransformedByMoveOperation(e)),[n])});ie(Oe,we,(n,e,t)=>{if(e.graveyardPosition&&(n.graveyardPosition=n.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),n.deletionPosition.isEqual(e.graveyardPosition)&&(n.howMany=e.howMany)),n.targetPosition.isEqual(e.splitPosition)&&(e.graveyardPosition&&n.deletionPosition.isEqual(e.graveyardPosition)||t.abRelation=="mergeTargetNotMoved"))return n.sourcePosition=n.sourcePosition._getTransformedBySplitOperation(e),[n];if(n.sourcePosition.isEqual(e.splitPosition)){if(t.abRelation=="mergeSourceNotMoved")return n.howMany=0,n.targetPosition=n.targetPosition._getTransformedBySplitOperation(e),[n];if(t.abRelation=="mergeSameElement"||n.sourcePosition.offset>0)return n.sourcePosition=e.moveTargetPosition.clone(),n.targetPosition=n.targetPosition._getTransformedBySplitOperation(e),[n]}return n.sourcePosition.hasSameParentAs(e.splitPosition)&&(n.howMany=e.splitPosition.offset),n.sourcePosition=n.sourcePosition._getTransformedBySplitOperation(e),n.targetPosition=n.targetPosition._getTransformedBySplitOperation(e),[n]});ie(re,je,(n,e)=>{const t=y._createFromPositionAndShift(n.sourcePosition,n.howMany)._getTransformedByInsertOperation(e,!1)[0];return n.sourcePosition=t.start,n.howMany=t.end.offset-t.start.offset,n.targetPosition.isEqual(e.position)||(n.targetPosition=n.targetPosition._getTransformedByInsertOperation(e)),[n]});ie(re,re,(n,e,t)=>{const i=y._createFromPositionAndShift(n.sourcePosition,n.howMany),o=y._createFromPositionAndShift(e.sourcePosition,e.howMany);let s=t.aIsStrong,r=!t.aIsStrong;t.abRelation=="insertBefore"||t.baRelation=="insertAfter"?r=!0:(t.abRelation=="insertAfter"||t.baRelation=="insertBefore")&&(r=!1);let a;if(n.targetPosition.isEqual(e.targetPosition)&&r?a=n.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):a=n.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Kh(n,e)&&Kh(e,n))return[e.getReversed()];if(i.containsPosition(e.targetPosition)&&i.containsRange(o,!0))return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),no([i],a);if(o.containsPosition(n.targetPosition)&&o.containsRange(i,!0))return i.start=i.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),i.end=i.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),no([i],a);const l=Xe(n.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if(l=="prefix"||l=="extension")return i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),no([i],a);n.type=="remove"&&e.type!="remove"&&!t.aWasUndone&&!t.forceWeakRemove?s=!0:n.type!="remove"&&e.type=="remove"&&!t.bWasUndone&&!t.forceWeakRemove&&(s=!1);const c=[],u=i.getDifference(o);for(const m of u){m.start=m.start._getTransformedByDeletion(e.sourcePosition,e.howMany),m.end=m.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const f=Xe(m.start.getParentPath(),e.getMovedRangeStart().getParentPath())=="same",g=m._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,f);c.push(...g)}const d=i.getIntersection(o);return d!==null&&s&&(d.start=d.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),d.end=d.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),c.length===0?c.push(d):c.length==1?o.start.isBefore(i.start)||o.start.isEqual(i.start)?c.unshift(d):c.push(d):c.splice(1,0,d)),c.length===0?[new De(n.baseVersion)]:no(c,a)});ie(re,we,(n,e,t)=>{let i=n.targetPosition.clone();(!n.targetPosition.isEqual(e.insertionPosition)||!e.graveyardPosition||t.abRelation=="moveTargetAfter")&&(i=n.targetPosition._getTransformedBySplitOperation(e));const o=y._createFromPositionAndShift(n.sourcePosition,n.howMany);if(o.end.isEqual(e.insertionPosition))return e.graveyardPosition||n.howMany++,n.targetPosition=i,[n];if(o.start.hasSameParentAs(e.splitPosition)&&o.containsPosition(e.splitPosition)){let r=new y(e.splitPosition,o.end);r=r._getTransformedBySplitOperation(e);const a=[new y(o.start,e.splitPosition),r];return no(a,i)}n.targetPosition.isEqual(e.splitPosition)&&t.abRelation=="insertAtSource"&&(i=e.moveTargetPosition),n.targetPosition.isEqual(e.insertionPosition)&&t.abRelation=="insertBetween"&&(i=n.targetPosition);const s=[o._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const r=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);n.howMany>1&&r&&!t.aWasUndone&&s.push(y._createFromPositionAndShift(e.insertionPosition,1))}return no(s,i)});ie(re,Oe,(n,e,t)=>{const i=y._createFromPositionAndShift(n.sourcePosition,n.howMany);if(e.deletionPosition.hasSameParentAs(n.sourcePosition)&&i.containsPosition(e.sourcePosition)){if(n.type=="remove"&&!t.forceWeakRemove){if(!t.aWasUndone){const s=[];let r=e.graveyardPosition.clone(),a=e.targetPosition._getTransformedByMergeOperation(e);const l=n.targetPosition.getTransformedByOperation(e);n.howMany>1&&(s.push(new re(n.sourcePosition,n.howMany-1,l,0)),r=r._getTransformedByMove(n.sourcePosition,l,n.howMany-1),a=a._getTransformedByMove(n.sourcePosition,l,n.howMany-1));const c=e.deletionPosition._getCombined(n.sourcePosition,l),u=new re(r,1,c,0),d=u.getMovedRangeStart().path.slice();d.push(0);const m=new C(u.targetPosition.root,d);a=a._getTransformedByMove(r,c,1);const f=new re(a,e.howMany,m,0);return s.push(u),s.push(f),s}}else if(n.howMany==1)return t.bWasUndone?(n.sourcePosition=e.graveyardPosition.clone(),n.targetPosition=n.targetPosition._getTransformedByMergeOperation(e),[n]):[new De(0)]}const o=y._createFromPositionAndShift(n.sourcePosition,n.howMany)._getTransformedByMergeOperation(e);return n.sourcePosition=o.start,n.howMany=o.end.offset-o.start.offset,n.targetPosition=n.targetPosition._getTransformedByMergeOperation(e),[n]});ie(dt,je,(n,e)=>(n.position=n.position._getTransformedByInsertOperation(e),[n]));ie(dt,Oe,(n,e)=>n.position.isEqual(e.deletionPosition)?(n.position=e.graveyardPosition.clone(),n.position.stickiness="toNext",[n]):(n.position=n.position._getTransformedByMergeOperation(e),[n]));ie(dt,re,(n,e)=>(n.position=n.position._getTransformedByMoveOperation(e),[n]));ie(dt,dt,(n,e,t)=>{if(n.position.isEqual(e.position))if(t.aIsStrong)n.oldName=e.newName;else return[new De(0)];return[n]});ie(dt,we,(n,e)=>{const t=n.position.path,i=e.splitPosition.getParentPath();if(Xe(t,i)=="same"&&!e.graveyardPosition){const o=new dt(n.position.getShiftedBy(1),n.oldName,n.newName,0);return[n,o]}return n.position=n.position._getTransformedBySplitOperation(e),[n]});ie(Ci,Ci,(n,e,t)=>{if(n.root===e.root&&n.key===e.key){if(!t.aIsStrong||n.newValue===e.newValue)return[new De(0)];n.oldValue=e.newValue}return[n]});ie(ni,ni,(n,e)=>n.rootName===e.rootName&&n.isAdd===e.isAdd?[new De(0)]:[n]);ie(we,je,(n,e)=>(n.splitPosition.hasSameParentAs(e.position)&&n.splitPosition.offset{if(!n.graveyardPosition&&!t.bWasUndone&&n.splitPosition.hasSameParentAs(e.sourcePosition)){const i=e.graveyardPosition.path.slice();i.push(0);const o=new C(e.graveyardPosition.root,i),s=we.getInsertionPosition(new C(e.graveyardPosition.root,i)),r=new we(o,0,s,null,0);return n.splitPosition=n.splitPosition._getTransformedByMergeOperation(e),n.insertionPosition=we.getInsertionPosition(n.splitPosition),n.graveyardPosition=r.insertionPosition.clone(),n.graveyardPosition.stickiness="toNext",[r,n]}return n.splitPosition.hasSameParentAs(e.deletionPosition)&&!n.splitPosition.isAfter(e.deletionPosition)&&n.howMany--,n.splitPosition.hasSameParentAs(e.targetPosition)&&(n.howMany+=e.howMany),n.splitPosition=n.splitPosition._getTransformedByMergeOperation(e),n.insertionPosition=we.getInsertionPosition(n.splitPosition),n.graveyardPosition&&(n.graveyardPosition=n.graveyardPosition._getTransformedByMergeOperation(e)),[n]});ie(we,re,(n,e,t)=>{const i=y._createFromPositionAndShift(e.sourcePosition,e.howMany);if(n.graveyardPosition){const s=i.start.isEqual(n.graveyardPosition)||i.containsPosition(n.graveyardPosition);if(!t.bWasUndone&&s){const r=n.splitPosition._getTransformedByMoveOperation(e),a=n.graveyardPosition._getTransformedByMoveOperation(e),l=a.path.slice();l.push(0);const c=new C(a.root,l);return[new re(r,n.howMany,c,0)]}n.graveyardPosition=n.graveyardPosition._getTransformedByMoveOperation(e)}const o=n.splitPosition.isEqual(e.targetPosition);if(o&&(t.baRelation=="insertAtSource"||t.abRelation=="splitBefore"))return n.howMany+=e.howMany,n.splitPosition=n.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),n.insertionPosition=we.getInsertionPosition(n.splitPosition),[n];if(o&&t.abRelation&&t.abRelation.howMany){const{howMany:s,offset:r}=t.abRelation;return n.howMany+=s,n.splitPosition=n.splitPosition.getShiftedBy(r),[n]}if(n.splitPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(n.splitPosition)){const s=e.howMany-(n.splitPosition.offset-e.sourcePosition.offset);return n.howMany-=s,n.splitPosition.hasSameParentAs(e.targetPosition)&&n.splitPosition.offset{if(n.splitPosition.isEqual(e.splitPosition)){if(!n.graveyardPosition&&!e.graveyardPosition)return[new De(0)];if(n.graveyardPosition&&e.graveyardPosition&&n.graveyardPosition.isEqual(e.graveyardPosition))return[new De(0)];if(t.abRelation=="splitBefore")return n.howMany=0,n.graveyardPosition=n.graveyardPosition._getTransformedBySplitOperation(e),[n]}if(n.graveyardPosition&&e.graveyardPosition&&n.graveyardPosition.isEqual(e.graveyardPosition)){const i=n.splitPosition.root.rootName=="$graveyard",o=e.splitPosition.root.rootName=="$graveyard";if(o&&!i||!(i&&!o)&&t.aIsStrong){const s=[];return e.howMany&&s.push(new re(e.moveTargetPosition,e.howMany,e.splitPosition,0)),n.howMany&&s.push(new re(n.splitPosition,n.howMany,n.moveTargetPosition,0)),s}else return[new De(0)]}if(n.graveyardPosition&&(n.graveyardPosition=n.graveyardPosition._getTransformedBySplitOperation(e)),n.splitPosition.isEqual(e.insertionPosition)&&t.abRelation=="splitBefore")return n.howMany++,[n];if(e.splitPosition.isEqual(n.insertionPosition)&&t.baRelation=="splitBefore"){const i=e.insertionPosition.path.slice();i.push(0);const o=new C(e.insertionPosition.root,i),s=new re(n.insertionPosition,1,o,0);return[n,s]}return n.splitPosition.hasSameParentAs(e.splitPosition)&&n.splitPosition.offset{const t=e[0];t.isDocumentOperation&&S2.call(this,t)},{priority:"low"})}function S2(n){const e=this.getTransformedByOperation(n);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",t)}}class Nn{constructor(e={}){h(this,"operations"),h(this,"isUndoable"),h(this,"isLocal"),h(this,"isUndo"),h(this,"isTyping"),typeof e=="string"&&(e=e==="transparent"?{isUndoable:!1}:{},J("batch-constructor-deprecated-string-type"));const{isUndoable:t=!0,isLocal:i=!0,isUndo:o=!1,isTyping:s=!1}=e;this.operations=[],this.isUndoable=t,this.isLocal=i,this.isUndo=o,this.isTyping=s}get type(){return J("batch-type-deprecated"),"default"}get baseVersion(){for(const e of this.operations)if(e.baseVersion!==null)return e.baseVersion;return null}addOperation(e){return e.isDocumentOperation&&(e.batch=this,this.operations.push(e)),e}}const Zp=class Kl{constructor(e){h(this,"_markerCollection"),h(this,"_changesInElement",new Map),h(this,"_elementsSnapshots",new Map),h(this,"_elementChildrenSnapshots",new Map),h(this,"_elementState",new Map),h(this,"_changedMarkers",new Map),h(this,"_changedRoots",new Map),h(this,"_changeCount",0),h(this,"_cachedChanges",null),h(this,"_cachedChangesWithGraveyard",null),h(this,"_refreshedItems",new Set),this._markerCollection=e}get isEmpty(){return this._changesInElement.size==0&&this._changedMarkers.size==0&&this._changedRoots.size==0}bufferOperation(e){const t=e;switch(t.type){case"insert":{if(this._isInInsertedElement(t.position.parent))return;this._markInsert(t.position.parent,t.position.offset,t.nodes.maxOffset);break}case"addAttribute":case"removeAttribute":case"changeAttribute":{for(const i of t.range.getItems({shallow:!0}))this._isInInsertedElement(i.parent)||this._markAttribute(i);break}case"remove":case"move":case"reinsert":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;const i=this._isInInsertedElement(t.sourcePosition.parent),o=this._isInInsertedElement(t.targetPosition.parent);i||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),o||this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany);const s=y._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const r of s.getItems({shallow:!0}))this._setElementState(r,"move");break}case"rename":{if(this._isInInsertedElement(t.position.parent))return;this._markRemove(t.position.parent,t.position.offset,1),this._markInsert(t.position.parent,t.position.offset,1);const i=y._createFromPositionAndShift(t.position,1);for(const o of this._markerCollection.getMarkersIntersectingRange(i)){const s=o.getData();this.bufferMarkerChange(o.name,s,s)}this._setElementState(t.position.nodeAfter,"rename");break}case"split":{const i=t.splitPosition.parent;if(!this._isInInsertedElement(i)){this._markRemove(i,t.splitPosition.offset,t.howMany);const o=y._createFromPositionAndShift(t.splitPosition,t.howMany);for(const s of o.getItems({shallow:!0}))this._setElementState(s,"move")}this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&(this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1),this._setElementState(t.graveyardPosition.nodeAfter,"move"));break}case"merge":{const i=t.sourcePosition.parent;this._isInInsertedElement(i.parent)||this._markRemove(i.parent,i.startOffset,1);const o=t.graveyardPosition.parent;this._markInsert(o,t.graveyardPosition.offset,1),this._setElementState(i,"move");const s=t.targetPosition.parent;if(!this._isInInsertedElement(s)){this._markInsert(s,t.targetPosition.offset,i.maxOffset);const r=y._createFromPositionAndShift(t.sourcePosition,t.howMany);for(const a of r.getItems({shallow:!0}))this._setElementState(a,"move")}break}case"detachRoot":case"addRoot":{const i=t.affectedSelectable;if(!i._isLoaded||i.isAttached()==t.isAdd)return;this._bufferRootStateChange(t.rootName,t.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{if(!t.root._isLoaded)return;const i=t.root.rootName;this._bufferRootAttributeChange(i,t.key,t.oldValue,t.newValue);break}}this._cachedChanges=null}bufferMarkerChange(e,t,i){t.range&&t.range.root.is("rootElement")&&!t.range.root._isLoaded&&(t.range=null),i.range&&i.range.root.is("rootElement")&&!i.range.root._isLoaded&&(i.range=null);let o=this._changedMarkers.get(e);o?o.newMarkerData=i:(o={newMarkerData:i,oldMarkerData:t},this._changedMarkers.set(e,o)),o.oldMarkerData.range==null&&i.range==null&&this._changedMarkers.delete(e)}getMarkersToRemove(){const e=[];for(const[t,i]of this._changedMarkers)i.oldMarkerData.range!=null&&e.push({name:t,range:i.oldMarkerData.range});return e}getMarkersToAdd(){const e=[];for(const[t,i]of this._changedMarkers)i.newMarkerData.range!=null&&e.push({name:t,range:i.newMarkerData.range});return e}getChangedMarkers(){return Array.from(this._changedMarkers).map(([e,t])=>({name:e,data:{oldRange:t.oldMarkerData.range,newRange:t.newMarkerData.range}}))}hasDataChanges(){if(this.getChanges().length||this._changedRoots.size>0)return!0;for(const{newMarkerData:e,oldMarkerData:t}of this._changedMarkers.values()){if(e.affectsData!==t.affectsData)return!0;if(e.affectsData){const i=e.range&&!t.range,o=!e.range&&t.range,s=e.range&&t.range&&!e.range.isEqual(t.range);if(i||o||s)return!0}}return!1}getChanges(e={}){if(this._cachedChanges)return e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let t=[];for(const i of this._changesInElement.keys()){const o=this._changesInElement.get(i).sort((u,d)=>u.offset===d.offset?u.type!=d.type?u.type=="remove"?-1:1:0:u.offseti.position.root!=o.position.root?i.position.root.rootNamei);for(const i of t)delete i.changeCount,i.type=="attribute"&&(delete i.position,delete i.length);return this._changeCount=0,this._cachedChangesWithGraveyard=t,this._cachedChanges=t.filter(V2),e.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(e=>{const t={...e};return t.state!==void 0&&delete t.attributes,t})}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementChildrenSnapshots.clear(),this._elementsSnapshots.clear(),this._elementState.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems.clear(),this._cachedChanges=null}_refreshItem(e){if(this._isInInsertedElement(e.parent))return;this._markRemove(e.parent,e.startOffset,e.offsetSize),this._markInsert(e.parent,e.startOffset,e.offsetSize),this._refreshedItems.add(e),this._setElementState(e,"refresh");const t=y._createOn(e);for(const i of this._markerCollection.getMarkersIntersectingRange(t)){const o=i.getData();this.bufferMarkerChange(i.name,o,o)}this._cachedChanges=null}_bufferRootLoad(e){if(e.isAttached()){this._bufferRootStateChange(e.rootName,!0),this._markInsert(e,0,e.maxOffset);for(const t of e.getAttributeKeys())this._bufferRootAttributeChange(e.rootName,t,null,e.getAttribute(t));for(const t of this._markerCollection)if(t.getRange().root==e){const i=t.getData();this.bufferMarkerChange(t.name,{...i,range:null},i)}}}_bufferRootStateChange(e,t){if(!this._changedRoots.has(e)){this._changedRoots.set(e,{name:e,state:t?"attached":"detached"});return}const i=this._changedRoots.get(e);i.state!==void 0?(delete i.state,i.attributes===void 0&&this._changedRoots.delete(e)):i.state=t?"attached":"detached"}_bufferRootAttributeChange(e,t,i,o){const s=this._changedRoots.get(e)||{name:e},r=s.attributes||{};if(r[t]){const a=r[t];o===a.oldValue?delete r[t]:a.newValue=o}else r[t]={oldValue:i,newValue:o};Object.entries(r).length===0?(delete s.attributes,s.state===void 0&&this._changedRoots.delete(e)):(s.attributes=r,this._changedRoots.set(e,s))}_markInsert(e,t,i){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const o={type:"insert",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o)}_markRemove(e,t,i){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const o={type:"remove",offset:t,howMany:i,count:this._changeCount++};this._markChange(e,o),this._removeAllNestedChanges(e,t,i)}_markAttribute(e){if(e.root.is("rootElement")&&!e.root._isLoaded)return;const t={type:"attribute",offset:e.startOffset,howMany:e.offsetSize,count:this._changeCount++};this._markChange(e.parent,t)}_markChange(e,t){this._makeSnapshots(e);const i=this._getChangesForElement(e);this._handleChange(t,i),i.push(t);for(let o=0;oi&&this._elementState.set(e,t)}_getDiffActionForNode(e,t){if(!e.is("element")||!this._elementsSnapshots.has(e))return t;const i=this._elementState.get(e);return!i||i=="move"?t:i}_getChangesForElement(e){let t;return this._changesInElement.has(e)?t=this._changesInElement.get(e):(t=[],this._changesInElement.set(e,t)),t}_makeSnapshots(e){if(this._elementChildrenSnapshots.has(e))return;const t=Jh(e.getChildren());this._elementChildrenSnapshots.set(e,t);for(const i of t)this._elementsSnapshots.set(i.node,i)}_handleChange(e,t){e.nodesToHandle=e.howMany;for(const i of t){const o=e.offset+e.howMany,s=i.offset+i.howMany;if(e.type=="insert"&&(i.type=="insert"&&(e.offset<=i.offset?i.offset+=e.howMany:e.offseti.offset){if(o>s){const r={type:"attribute",offset:s,howMany:o-s,count:this._changeCount++};this._handleChange(r,t),t.push(r)}e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}else e.offset>=i.offset&&e.offsets?(e.nodesToHandle=o-s,e.offset=s):e.nodesToHandle=0);if(i.type=="remove"&&e.offseti.offset){const r={type:"attribute",offset:i.offset,howMany:o-i.offset,count:this._changeCount++};this._handleChange(r,t),t.push(r),e.nodesToHandle=i.offset-e.offset,e.howMany=e.nodesToHandle}i.type=="attribute"&&(e.offset>=i.offset&&o<=s?(e.nodesToHandle=0,e.howMany=0,e.offset=0):e.offset<=i.offset&&o>=s&&(i.howMany=0))}}e.howMany=e.nodesToHandle,delete e.nodesToHandle}_getInsertDiff(e,t,i,o,s){const r={type:"insert",position:C._createAt(e,t),name:o.name,attributes:new Map(o.attributes),length:1,changeCount:this._changeCount++,action:i};return i!="insert"&&s&&(r.before={name:s.name,attributes:new Map(s.attributes)}),r}_getRemoveDiff(e,t,i,o){return{type:"remove",action:i,position:C._createAt(e,t),name:o.name,attributes:new Map(o.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(e,t,i){const o=[];i=new Map(i);for(const[s,r]of t){const a=i.has(s)?i.get(s):null;a!==r&&o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:s,attributeOldValue:r,attributeNewValue:a,changeCount:this._changeCount++}),i.delete(s)}for(const[s,r]of i)o.push({type:"attribute",position:e.start,range:e.clone(),length:1,attributeKey:s,attributeOldValue:null,attributeNewValue:r,changeCount:this._changeCount++});return o}_isInInsertedElement(e){const t=e.parent;if(!t)return!1;const i=this._changesInElement.get(t),o=e.startOffset;if(i){for(const s of i)if(s.type=="insert"&&o>=s.offset&&oi){for(let r=0;r1500)for(let r=0;rthis._version+1&&this._gaps.set(this._version,e),this._version=e}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(e){if(e.baseVersion!==this.version)throw new b("model-document-history-addoperation-incorrect-version",this,{operation:e,historyVersion:this.version});this._operations.push(e),this._version++,this._baseVersionToOperationIndex.set(e.baseVersion,this._operations.length-1)}getOperations(e,t=this.version){if(!this._operations.length)return[];const i=this._operations[0];e===void 0&&(e=i.baseVersion);let o=t-1;for(const[a,l]of this._gaps)e>a&&ea&&othis.lastOperation.baseVersion)return[];let s=this._baseVersionToOperationIndex.get(e);s===void 0&&(s=0);let r=this._baseVersionToOperationIndex.get(o);return r===void 0&&(r=this._operations.length-1),this._operations.slice(s,r+1)}getOperation(e){const t=this._baseVersionToOperationIndex.get(e);if(t!==void 0)return this._operations[t]}setOperationAsUndone(e,t){this._undoPairs.set(t,e),this._undoneOperations.add(e)}isUndoingOperation(e){return this._undoPairs.has(e)}isUndoneOperation(e){return this._undoneOperations.has(e)}getUndoneOperation(e){return this._undoPairs.get(e)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class Rr extends ne{constructor(e,t,i="main"){super(t),h(this,"rootName"),h(this,"_document"),h(this,"_isAttached",!0),h(this,"_isLoaded",!0),this._document=e,this.rootName=i}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}Rr.prototype.is=function(n,e){return e?e===this.name&&(n==="rootElement"||n==="model:rootElement"||n==="element"||n==="model:element"):n==="rootElement"||n==="model:rootElement"||n==="element"||n==="model:element"||n==="node"||n==="model:node"};const Qh="$graveyard";class O2 extends ge(){constructor(e){super(),h(this,"model"),h(this,"history"),h(this,"selection"),h(this,"roots"),h(this,"differ"),h(this,"isReadOnly"),h(this,"_postFixers"),h(this,"_hasSelectionChangedFromTheLastChangeBlock"),this.model=e,this.history=new R2,this.selection=new Kt(this),this.roots=new _e({idProperty:"rootName"}),this.differ=new P2(e.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Qh),this.listenTo(e,"applyOperation",(t,i)=>{const o=i[0];o.isDocumentOperation&&this.differ.bufferOperation(o)},{priority:"high"}),this.listenTo(e,"applyOperation",(t,i)=>{const o=i[0];o.isDocumentOperation&&this.history.addOperation(o)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(e.markers,"update",(t,i,o,s,r)=>{const a={...i.getData(),range:s};this.differ.bufferMarkerChange(i.name,r,a),o===null&&i.on("change",(l,c)=>{const u=i.getData();this.differ.bufferMarkerChange(i.name,{...u,range:c},u)})}),this.registerPostFixer(t=>{let i=!1;for(const o of this.roots)!o.isAttached()&&!o.isEmpty&&(t.remove(t.createRangeIn(o)),i=!0);for(const o of this.model.markers)o.getRange().root.isAttached()||(t.removeMarker(o),i=!0);return i})}get version(){return this.history.version}set version(e){this.history.version=e}get graveyard(){return this.getRoot(Qh)}createRoot(e="$root",t="main"){if(this.roots.get(t))throw new b("model-document-createroot-name-exists",this,{name:t});const i=new Rr(this,e,t);return this.roots.add(i),i}destroy(){this.selection.destroy(),this.stopListening()}getRoot(e="main"){return this.roots.get(e)}getRootNames(e=!1){return this.getRoots(e).map(t=>t.rootName)}getRoots(e=!1){return this.roots.filter(t=>t!=this.graveyard&&(e||t.isAttached())&&t._isLoaded)}registerPostFixer(e){this._postFixers.add(e)}toJSON(){const e=Oc(this);return e.selection="[engine.model.DocumentSelection]",e.model="[engine.model.Model]",e}_handleChangeBlock(e){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(e),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",e.batch):this.fire("change",e.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const e=this.getRoots();return e.length?e[0]:this.graveyard}_getDefaultRange(){const e=this._getDefaultRoot(),t=this.model,i=t.schema,o=t.createPositionFromPath(e,[0]);return i.getNearestSelectionRange(o)||t.createRange(o)}_validateSelectionRange(e){return e.start.isValid()&&e.end.isValid()&&Yh(e.start)&&Yh(e.end)}_callPostFixers(e){let t=!1;do for(const i of this._postFixers)if(this.selection.refresh(),t=i(e),t)break;while(t)}}function Yh(n){const e=n.textNode;if(e){const t=e.data,i=n.offset-e.startOffset;return!jc(t,i)&&!Uc(t,i)}return!0}class B2 extends ge(){constructor(){super(...arguments),h(this,"_markers",new Map)}[Symbol.iterator](){return this._markers.values()}has(e){const t=e instanceof Kn?e.name:e;return this._markers.has(t)}get(e){return this._markers.get(e)||null}_set(e,t,i=!1,o=!1){const s=e instanceof Kn?e.name:e;if(s.includes(","))throw new b("markercollection-incorrect-marker-name",this);const r=this._markers.get(s);if(r){const c=r.getData(),u=r.getRange();let d=!1;return u.isEqual(t)||(r._attachLiveRange(ht.fromRange(t)),d=!0),i!=r.managedUsingOperations&&(r._managedUsingOperations=i,d=!0),typeof o=="boolean"&&o!=r.affectsData&&(r._affectsData=o,d=!0),d&&this.fire(`update:${s}`,r,u,t,c),r}const a=ht.fromRange(t),l=new Kn(s,a,i,o);return this._markers.set(s,l),this.fire(`update:${s}`,l,null,t,{...l.getData(),range:null}),l}_remove(e){const t=e instanceof Kn?e.name:e,i=this._markers.get(t);return i?(this._markers.delete(t),this.fire(`update:${t}`,i,i.getRange(),null,i.getData()),this._destroyMarker(i),!0):!1}_refresh(e){const t=e instanceof Kn?e.name:e,i=this._markers.get(t);if(!i)throw new b("markercollection-refresh-marker-not-exists",this);const o=i.getRange();this.fire(`update:${t}`,i,o,o,i.getData())}*getMarkersAtPosition(e){for(const t of this)t.getRange().containsPosition(e)&&(yield t)}*getMarkersIntersectingRange(e){for(const t of this)t.getRange().getIntersection(e)!==null&&(yield t)}destroy(){for(const e of this._markers.values())this._destroyMarker(e);this._markers=null,this.stopListening()}*getMarkersGroup(e){for(const t of this._markers.values())t.name.startsWith(e+":")&&(yield t)}_destroyMarker(e){e.stopListening(),e._detachLiveRange()}}class Kn extends ge(Yi){constructor(e,t,i,o){super(),h(this,"name"),h(this,"_managedUsingOperations"),h(this,"_affectsData"),h(this,"_liveRange"),this.name=e,this._liveRange=this._attachLiveRange(t),this._managedUsingOperations=i,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new b("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new b("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new b("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new b("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new b("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(e){return this._liveRange&&this._detachLiveRange(),e.delegate("change:range").to(this),e.delegate("change:content").to(this),this._liveRange=e,e}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Kn.prototype.is=function(n){return n==="marker"||n==="model:marker"};class M2 extends It{constructor(e,t){super(null),h(this,"sourcePosition"),h(this,"howMany"),this.sourcePosition=e.clone(),this.howMany=t}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const e=super.toJSON();return e.sourcePosition=this.sourcePosition.toJSON(),e}_validate(){if(this.sourcePosition.root.document)throw new b("detach-operation-on-document-node",this)}_execute(){Up(y._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class ti extends Yi{constructor(e){super(),h(this,"markers",new Map),h(this,"_children",new Xo),e&&this._insertChild(0,e)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return this.childCount===0}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(e){return this._children.getNode(e)}getChildAtOffset(e){return this._children.getNodeAtOffset(e)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(e){return this._children.getNodeIndex(e)}getChildStartOffset(e){return this._children.getNodeStartOffset(e)}getPath(){return[]}getNodeByPath(e){let t=this;for(const i of e)t=t.getChildAtOffset(i);return t}offsetToIndex(e){return this._children.offsetToIndex(e)}toJSON(){const e=[];for(const t of this._children)e.push(t.toJSON());return e}static fromJSON(e){const t=[];for(const i of e)i.name?t.push(ne.fromJSON(i)):t.push(Ce.fromJSON(i));return new ti(t)}_appendChild(e){this._insertChild(this.childCount,e)}_insertChild(e,t){const i=L2(t);for(const o of i)o.parent!==null&&o._remove(),o.parent=this;this._children._insertNodes(e,i)}_removeChildren(e,t=1){const i=this._children._removeNodes(e,t);for(const o of i)o.parent=null;return i}_removeChildrenArray(e){this._children._removeNodesArray(e);for(const t of e)t.parent=null}}ti.prototype.is=function(n){return n==="documentFragment"||n==="model:documentFragment"};function L2(n){return typeof n=="string"?[new Ce(n)]:(Pt(n)||(n=[n]),Array.from(n).map(e=>typeof e=="string"?new Ce(e):e instanceof Lt?new Ce(e.data,e.getAttributes()):e))}class F2{constructor(e,t){h(this,"model"),h(this,"batch"),this.model=e,this.batch=t}createText(e,t){return new Ce(e,t)}createElement(e,t){return new ne(e,t)}createDocumentFragment(){return new ti}cloneElement(e,t=!0){return e._clone(t)}insert(e,t,i=0){if(this._assertWriterUsedCorrectly(),e instanceof Ce&&e.data=="")return;const o=C._createAt(t,i);if(e.parent)if(td(e.root,o.root)){this.move(y._createOn(e),o);return}else{if(e.root.document)throw new b("model-writer-insert-forbidden-move",this);this.remove(e)}const s=o.root.document?o.root.document.version:null,r=e instanceof ti?e._removeChildren(0,e.childCount):e,a=new je(o,r,s);if(e instanceof Ce&&(a.shouldReceiveAttributes=!0),this.batch.addOperation(a),this.model.applyOperation(a),e instanceof ti)for(const[l,c]of e.markers){const u=C._createAt(c.root,0),d={range:new y(c.start._getCombined(u,o),c.end._getCombined(u,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(l)?this.updateMarker(l,d):this.addMarker(l,d)}}insertText(e,t,i,o){t instanceof ti||t instanceof ne||t instanceof C?this.insert(this.createText(e),t,i):this.insert(this.createText(e,t),i,o)}insertElement(e,t,i,o){t instanceof ti||t instanceof ne||t instanceof C?this.insert(this.createElement(e),t,i):this.insert(this.createElement(e,t),i,o)}append(e,t){this.insert(e,t,"end")}appendText(e,t,i){t instanceof ti||t instanceof ne?this.insert(this.createText(e),t,"end"):this.insert(this.createText(e,t),i,"end")}appendElement(e,t,i){t instanceof ti||t instanceof ne?this.insert(this.createElement(e),t,"end"):this.insert(this.createElement(e,t),i,"end")}setAttribute(e,t,i){if(this._assertWriterUsedCorrectly(),i instanceof y){const o=i.getMinimalFlatRanges();for(const s of o)Xh(this,e,t,s)}else ed(this,e,t,i)}setAttributes(e,t){for(const[i,o]of ri(e))this.setAttribute(i,o,t)}removeAttribute(e,t){if(this._assertWriterUsedCorrectly(),t instanceof y){const i=t.getMinimalFlatRanges();for(const o of i)Xh(this,e,null,o)}else ed(this,e,null,t)}clearAttributes(e){this._assertWriterUsedCorrectly();const t=i=>{for(const o of i.getAttributeKeys())this.removeAttribute(o,i)};if(!(e instanceof y))t(e);else for(const i of e.getItems())t(i)}move(e,t,i){if(this._assertWriterUsedCorrectly(),!(e instanceof y))throw new b("writer-move-invalid-range",this);if(!e.isFlat)throw new b("writer-move-range-not-flat",this);const o=C._createAt(t,i);if(o.isEqual(e.start))return;if(this._addOperationForAffectedMarkers("move",e),!td(e.root,o.root))throw new b("writer-move-different-document",this);const s=e.root.document?e.root.document.version:null,r=new re(e.start,e.end.offset-e.start.offset,o,s);this.batch.addOperation(r),this.model.applyOperation(r)}remove(e){this._assertWriterUsedCorrectly();const t=(e instanceof y?e:y._createOn(e)).getMinimalFlatRanges().reverse();for(const i of t)this._addOperationForAffectedMarkers("move",i),N2(i.start,i.end.offset-i.start.offset,this.batch,this.model)}merge(e){this._assertWriterUsedCorrectly();const t=e.nodeBefore,i=e.nodeAfter;if(this._addOperationForAffectedMarkers("merge",e),!(t instanceof ne))throw new b("writer-merge-no-element-before",this);if(!(i instanceof ne))throw new b("writer-merge-no-element-after",this);e.root.document?this._merge(e):this._mergeDetached(e)}createPositionFromPath(e,t,i){return this.model.createPositionFromPath(e,t,i)}createPositionAt(e,t){return this.model.createPositionAt(e,t)}createPositionAfter(e){return this.model.createPositionAfter(e)}createPositionBefore(e){return this.model.createPositionBefore(e)}createRange(e,t){return this.model.createRange(e,t)}createRangeIn(e){return this.model.createRangeIn(e)}createRangeOn(e){return this.model.createRangeOn(e)}createSelection(...e){return this.model.createSelection(...e)}_mergeDetached(e){const t=e.nodeBefore,i=e.nodeAfter;this.move(y._createIn(i),C._createAt(t,"end")),this.remove(i)}_merge(e){const t=C._createAt(e.nodeBefore,"end"),i=C._createAt(e.nodeAfter,0),o=e.root.document.graveyard,s=new C(o,[0]),r=e.root.document.version,a=new Oe(i,e.nodeAfter.maxOffset,t,s,r);this.batch.addOperation(a),this.model.applyOperation(a)}rename(e,t){if(this._assertWriterUsedCorrectly(),!(e instanceof ne))throw new b("writer-rename-not-element-instance",this);const i=e.root.document?e.root.document.version:null,o=new dt(C._createBefore(e),e.name,t,i);this.batch.addOperation(o),this.model.applyOperation(o)}split(e,t){this._assertWriterUsedCorrectly();let i=e.parent;if(!i.parent)throw new b("writer-split-element-no-parent",this);if(t||(t=i.parent),!e.parent.getAncestors({includeSelf:!0}).includes(t))throw new b("writer-split-invalid-limit-element",this);let o,s;do{const r=i.root.document?i.root.document.version:null,a=i.maxOffset-e.offset,l=we.getInsertionPosition(e),c=new we(e,a,l,null,r);this.batch.addOperation(c),this.model.applyOperation(c),!o&&!s&&(o=i,s=e.parent.nextSibling),e=this.createPositionAfter(e.parent),i=e.parent}while(i!==t);return{position:e,range:new y(C._createAt(o,"end"),C._createAt(s,0))}}wrap(e,t){if(this._assertWriterUsedCorrectly(),!e.isFlat)throw new b("writer-wrap-range-not-flat",this);const i=t instanceof ne?t:new ne(t);if(i.childCount>0)throw new b("writer-wrap-element-not-empty",this);if(i.parent!==null)throw new b("writer-wrap-element-attached",this);this.insert(i,e.start);const o=new y(e.start.getShiftedBy(1),e.end.getShiftedBy(1));this.move(o,C._createAt(i,0))}unwrap(e){if(this._assertWriterUsedCorrectly(),e.parent===null)throw new b("writer-unwrap-element-no-parent",this);this.move(y._createIn(e),this.createPositionAfter(e)),this.remove(e)}addMarker(e,t){if(this._assertWriterUsedCorrectly(),!t||typeof t.usingOperation!="boolean")throw new b("writer-addmarker-no-usingoperation",this);const i=t.usingOperation,o=t.range,s=t.affectsData===void 0?!1:t.affectsData;if(this.model.markers.has(e))throw new b("writer-addmarker-marker-exists",this);if(!o)throw new b("writer-addmarker-no-range",this);return i?(Vo(this,e,null,o,s),this.model.markers.get(e)):this.model.markers._set(e,o,i,s)}updateMarker(e,t){this._assertWriterUsedCorrectly();const i=typeof e=="string"?e:e.name,o=this.model.markers.get(i);if(!o)throw new b("writer-updatemarker-marker-not-exists",this);if(!t){J("writer-updatemarker-reconvert-using-editingcontroller",{markerName:i}),this.model.markers._refresh(o);return}const s=typeof t.usingOperation=="boolean",r=typeof t.affectsData=="boolean",a=r?t.affectsData:o.affectsData;if(!s&&!t.range&&!r)throw new b("writer-updatemarker-wrong-options",this);const l=o.getRange(),c=t.range?t.range:l;if(s&&t.usingOperation!==o.managedUsingOperations){t.usingOperation?Vo(this,i,null,c,a):(Vo(this,i,l,null,a),this.model.markers._set(i,c,void 0,a));return}o.managedUsingOperations?Vo(this,i,l,c,a):this.model.markers._set(i,c,void 0,a)}removeMarker(e){this._assertWriterUsedCorrectly();const t=typeof e=="string"?e:e.name;if(!this.model.markers.has(t))throw new b("writer-removemarker-no-marker",this);const i=this.model.markers.get(t);if(!i.managedUsingOperations){this.model.markers._remove(t);return}const o=i.getRange();Vo(this,t,o,null,i.affectsData)}addRoot(e,t="$root"){this._assertWriterUsedCorrectly();const i=this.model.document.getRoot(e);if(i&&i.isAttached())throw new b("writer-addroot-root-exists",this);const o=this.model.document,s=new ni(e,t,!0,o,o.version);return this.batch.addOperation(s),this.model.applyOperation(s),this.model.document.getRoot(e)}detachRoot(e){this._assertWriterUsedCorrectly();const t=typeof e=="string"?this.model.document.getRoot(e):e;if(!t||!t.isAttached())throw new b("writer-detachroot-no-root",this);for(const s of this.model.markers)s.getRange().root===t&&this.removeMarker(s);for(const s of t.getAttributeKeys())this.removeAttribute(s,t);this.remove(this.createRangeIn(t));const i=this.model.document,o=new ni(t.rootName,t.name,!1,i,i.version);this.batch.addOperation(o),this.model.applyOperation(o)}setSelection(...e){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...e)}setSelectionFocus(e,t){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(e,t)}setSelectionAttribute(e,t){if(this._assertWriterUsedCorrectly(),typeof e=="string")this._setSelectionAttribute(e,t);else for(const[i,o]of ri(e))this._setSelectionAttribute(i,o)}removeSelectionAttribute(e){if(this._assertWriterUsedCorrectly(),typeof e=="string")this._removeSelectionAttribute(e);else for(const t of e)this._removeSelectionAttribute(t)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(e){this.model.document.selection._restoreGravity(e)}_setSelectionAttribute(e,t){const i=this.model.document.selection;if(i.isCollapsed&&i.anchor.parent.isEmpty){const o=Kt._getStoreAttributeKey(e);this.setAttribute(o,t,i.anchor.parent)}i._setAttribute(e,t)}_removeSelectionAttribute(e){const t=this.model.document.selection;if(t.isCollapsed&&t.anchor.parent.isEmpty){const i=Kt._getStoreAttributeKey(e);this.removeAttribute(i,t.anchor.parent)}t._removeAttribute(e)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new b("writer-incorrect-use",this)}_addOperationForAffectedMarkers(e,t){for(const i of this.model.markers){if(!i.managedUsingOperations)continue;const o=i.getRange();let s=!1;if(e==="move"){const r=t;s=r.containsPosition(o.start)||r.start.isEqual(o.start)||r.containsPosition(o.end)||r.end.isEqual(o.end)}else{const r=t,a=r.nodeBefore,l=r.nodeAfter,c=o.start.parent==a&&o.start.isAtEnd,u=o.end.parent==l&&o.end.offset==0,d=o.end.nodeAfter==l,m=o.start.nodeAfter==l;s=c||u||d||m}s&&this.updateMarker(i.name,{range:o})}}}function Xh(n,e,t,i){const o=n.model,s=o.document;let r=i.start,a,l,c;for(const d of i.getWalker({shallow:!0}))c=d.item.getAttribute(e),a&&l!=c&&(l!=t&&u(),r=a),a=d.nextPosition,l=c;a instanceof C&&a!=r&&l!=t&&u();function u(){const d=new y(r,a),m=d.root.document?s.version:null,f=new Le(d,e,l,t,m);n.batch.addOperation(f),o.applyOperation(f)}}function ed(n,e,t,i){const o=n.model,s=o.document,r=i.getAttribute(e);let a,l;if(r!=t){if(i.root===i){const c=i.document?s.version:null;l=new Ci(i,e,r,t,c)}else{a=new y(C._createBefore(i),n.createPositionAfter(i));const c=a.root.document?s.version:null;l=new Le(a,e,r,t,c)}n.batch.addOperation(l),o.applyOperation(l)}}function Vo(n,e,t,i,o){const s=n.model,r=s.document,a=new ot(e,t,i,s.markers,!!o,r.version);n.batch.addOperation(a),s.applyOperation(a)}function N2(n,e,t,i){let o;if(n.root.document){const s=i.document,r=new C(s.graveyard,[0]);o=new re(n,e,r,s.version)}else o=new M2(n,e);t.addOperation(o),i.applyOperation(o)}function td(n,e){return n===e||n instanceof Rr&&e instanceof Rr}function D2(n,e,t={}){if(e.isCollapsed)return;const i=e.getFirstRange();if(i.root.rootName=="$graveyard")return;const o=n.schema;n.change(s=>{if(!t.doNotResetEntireContent&&K2(o,e)){G2(s,e);return}const r={};if(!t.doNotAutoparagraph){const c=e.getSelectedElement();c&&Object.assign(r,o.getAttributesWithProperty(c,"copyOnReplace",!0))}let a,l;t.doNotFixSelection?(a=Me.fromPosition(i.start,"toPrevious"),l=Me.fromPosition(i.end,"toNext")):[a,l]=z2(i),a.isTouching(l)||s.remove(s.createRange(a,l)),t.leaveUnmerged||($2(s,a,l),o.removeDisallowedAttributes(a.parent.getChildren(),s)),Xp(s,e,a),!t.doNotAutoparagraph&&U2(o,a)&&Yp(s,a,e,r),a.detach(),l.detach()})}function z2(n){const e=n.root.document.model,t=n.start;let i=n.end;if(e.hasContent(n,{ignoreMarkers:!0})){const o=H2(i);if(o&&i.isTouching(e.createPositionAt(o,0))){const s=e.createSelection(n);e.modifySelection(s,{direction:"backward"});const r=s.getLastPosition(),a=e.createRange(r,i);e.hasContent(a,{ignoreMarkers:!0})||(i=r)}}return[Me.fromPosition(t,"toPrevious"),Me.fromPosition(i,"toNext")]}function H2(n){const e=n.parent,t=e.root.document.model.schema,i=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const o of i){if(t.isLimit(o))return null;if(t.isBlock(o))return o}}function $2(n,e,t){const i=n.model;if(!eu(n.model.schema,e,t))return;const[o,s]=j2(e,t);!o||!s||(!i.hasContent(o,{ignoreMarkers:!0})&&i.hasContent(s,{ignoreMarkers:!0})?Qp(n,e,t,o.parent):Jp(n,e,t,o.parent))}function Jp(n,e,t,i){const o=e.parent,s=t.parent;if(!(o==i||s==i)){for(e=n.createPositionAfter(o),t=n.createPositionBefore(s),t.isEqual(e)||n.insert(s,e),n.merge(e);t.parent.isEmpty;){const r=t.parent;t=n.createPositionBefore(r),n.remove(r)}eu(n.model.schema,e,t)&&Jp(n,e,t,i)}}function Qp(n,e,t,i){const o=e.parent,s=t.parent;if(!(o==i||s==i)){for(e=n.createPositionAfter(o),t=n.createPositionBefore(s),t.isEqual(e)||n.insert(o,t);e.parent.isEmpty;){const r=e.parent;e=n.createPositionBefore(r),n.remove(r)}t=n.createPositionBefore(s),W2(n,t),eu(n.model.schema,e,t)&&Qp(n,e,t,i)}}function W2(n,e){const t=e.nodeBefore,i=e.nodeAfter;t.name!=i.name&&n.rename(t,i.name),n.clearAttributes(t),n.setAttributes(Object.fromEntries(i.getAttributes()),t),n.merge(e)}function eu(n,e,t){const i=e.parent,o=t.parent;return i==o||n.isLimit(i)||n.isLimit(o)?!1:q2(e,t,n)}function j2(n,e){const t=n.getAncestors(),i=e.getAncestors();let o=0;for(;t[o]&&t[o]==i[o];)o++;return[t[o],i[o]]}function U2(n,e){const t=n.checkChild(e,"$text"),i=n.checkChild(e,"paragraph");return!t&&i}function q2(n,e,t){const i=new y(n,e);for(const o of i.getWalker())if(t.isLimit(o.item))return!1;return!0}function Yp(n,e,t,i={}){const o=n.createElement("paragraph");n.model.schema.setAllowedAttributes(o,i,n),n.insert(o,e),Xp(n,t,n.createPositionAt(o,0))}function G2(n,e){const t=n.model.schema.getLimitElement(e);n.remove(n.createRangeIn(t)),Yp(n,n.createPositionAt(t,0),e)}function K2(n,e){const t=n.getLimitElement(e);if(!e.containsEntireContent(t))return!1;const i=e.getFirstRange();return i.start.parent==i.end.parent?!1:n.checkChild(t,"paragraph")}function Xp(n,e,t){e instanceof Kt?n.setSelection(t):e.setTo(t)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Z2(n,e){return n.change(t=>{const i=t.createDocumentFragment(),o=e.getFirstRange();if(!o||o.isCollapsed)return i;const s=o.start.root,r=o.start.getCommonPath(o.end),a=s.getNodeByPath(r);let l;o.start.parent==o.end.parent?l=o:l=t.createRange(t.createPositionAt(a,o.start.path[r.length]),t.createPositionAt(a,o.end.path[r.length]+1));const c=l.end.offset-l.start.offset;for(const u of l.getItems({shallow:!0}))u.is("$textProxy")?t.appendText(u.data,u.getAttributes(),i):t.append(t.cloneElement(u,!0),i);if(l!=o){const u=o._getTransformedByMove(l.start,t.createPositionAt(i,0),c)[0],d=t.createRange(t.createPositionAt(i,0),u.start),m=t.createRange(u.end,t.createPositionAt(i,"end"));id(m,t),id(d,t)}return i})}function id(n,e){const t=[];Array.from(n.getItems({direction:"backward"})).map(i=>e.createRangeOn(i)).filter(i=>(i.start.isAfter(n.start)||i.start.isEqual(n.start))&&(i.end.isBefore(n.end)||i.end.isEqual(n.end))).forEach(i=>{t.push(i.start.parent),e.remove(i)}),t.forEach(i=>{let o=i;for(;o.parent&&o.isEmpty;){const s=e.createRangeOn(o);o=o.parent,e.remove(s)}})}function J2(n,e,t){return n.change(i=>{const o=t||n.document.selection;o.isCollapsed||n.deleteContent(o,{doNotAutoparagraph:!0});const s=new Q2(n,i,o.anchor),r=[];let a;if(e.is("documentFragment")){if(e.markers.size){const u=[];for(const[d,m]of e.markers){const{start:f,end:g}=m,p=f.isEqual(g);u.push({position:f,name:d,isCollapsed:p},{position:g,name:d,isCollapsed:p})}u.sort(({position:d},{position:m})=>d.isBefore(m)?1:-1);for(const{position:d,name:m,isCollapsed:f}of u){let g=null,p=null;const _=d.parent===e&&d.isAtStart,v=d.parent===e&&d.isAtEnd;!_&&!v?(g=i.createElement("$marker"),i.insert(g,d)):f&&(p=_?"start":"end"),r.push({name:m,element:g,collapsed:p})}}a=e.getChildren()}else a=[e];s.handleNodes(a);let l=s.getSelectionRange();if(e.is("documentFragment")&&r.length){const u=l?ht.fromRange(l):null,d={};for(let m=r.length-1;m>=0;m--){const{name:f,element:g,collapsed:p}=r[m],_=!d[f];if(_&&(d[f]=[]),g){const v=i.createPositionAt(g,"before");d[f].push(v),i.remove(g)}else{const v=s.getAffectedRange();if(!v){p&&d[f].push(s.position);continue}p?d[f].push(v[p]):d[f].push(_?v.start:v.end)}}for(const[m,[f,g]]of Object.entries(d))f&&g&&f.root===g.root&&f.root.document&&!i.model.markers.has(m)&&i.addMarker(m,{usingOperation:!0,affectsData:!0,range:new y(f,g)});u&&(l=u.toRange(),u.detach())}/* istanbul ignore else -- @preserve */l&&(o instanceof Kt?i.setSelection(l):o.setTo(l));const c=s.getAffectedRange()||n.createRange(o.anchor);return s.destroy(),c})}class Q2{constructor(e,t,i){h(this,"model"),h(this,"writer"),h(this,"position"),h(this,"canMergeWith"),h(this,"schema"),h(this,"_documentFragment"),h(this,"_documentFragmentPosition"),h(this,"_firstNode",null),h(this,"_lastNode",null),h(this,"_lastAutoParagraph",null),h(this,"_filterAttributesOf",[]),h(this,"_affectedStart",null),h(this,"_affectedEnd",null),h(this,"_nodeToSelect",null),this.model=e,this.writer=t,this.position=i,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._documentFragment=t.createDocumentFragment(),this._documentFragmentPosition=t.createPositionAt(this._documentFragment,0)}handleNodes(e){for(const t of Array.from(e))this._handleNode(t);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(e){const t=this.writer.createPositionAfter(this._lastNode),i=this.writer.createPositionAfter(e);if(i.isAfter(t)){this._lastNode=e;/* istanbul ignore if -- @preserve */if(this.position.parent!=e||!this.position.isAtEnd)throw new b("insertcontent-invalid-insertion-position",this);this.position=i,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?y._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new y(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(e){if(!this._checkAndSplitToAllowedPosition(e)){this.schema.isObject(e)||this._handleDisallowedNode(e);return}this._appendToFragment(e),this._firstNode||(this._firstNode=e),this._lastNode=e}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const e=Me.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=e.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=e.toPosition(),e.detach()}_handleDisallowedNode(e){e.is("element")&&this.handleNodes(e.getChildren())}_appendToFragment(e){/* istanbul ignore if -- @preserve */if(!this.schema.checkChild(this.position,e))throw new b("insertcontent-wrong-position",this,{node:e,position:this.position});this.writer.insert(e,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(e.offsetSize),this.schema.isObject(e)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=e:this._nodeToSelect=null,this._filterAttributesOf.push(e)}_setAffectedBoundaries(e){this._affectedStart||(this._affectedStart=Me.fromPosition(e,"toPrevious")),(!this._affectedEnd||this._affectedEnd.isBefore(e))&&(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=Me.fromPosition(e,"toNext"))}_mergeOnLeft(){const e=this._firstNode;if(!(e instanceof ne)||!this._canMergeLeft(e))return;const t=Me._createBefore(e);t.stickiness="toNext";const i=Me.fromPosition(this.position,"toNext");this._affectedStart.isEqual(t)&&(this._affectedStart.detach(),this._affectedStart=Me._createAt(t.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=Me._createAt(t.nodeBefore,"end","toNext")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_mergeOnRight(){const e=this._lastNode;if(!(e instanceof ne)||!this._canMergeRight(e))return;const t=Me._createAfter(e);t.stickiness="toNext";/* istanbul ignore if -- @preserve */if(!this.position.isEqual(t))throw new b("insertcontent-invalid-insertion-position",this);this.position=C._createAt(t.nodeBefore,"end");const i=Me.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(t)&&(this._affectedEnd.detach(),this._affectedEnd=Me._createAt(t.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=t.nodeBefore,this._lastNode=t.nodeBefore),this.writer.merge(t),t.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=Me._createAt(t.nodeBefore,0,"toPrevious")),this.position=i.toPosition(),i.detach(),this._filterAttributesOf.push(this.position.parent),t.detach()}_canMergeLeft(e){const t=e.previousSibling;return t instanceof ne&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(t,e)}_canMergeRight(e){const t=e.nextSibling;return t instanceof ne&&this.canMergeWith.has(t)&&this.model.schema.checkMerge(e,t)}_insertAutoParagraph(){this._insertPartialFragment();const e=this.writer.createElement("paragraph");this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0)}_checkAndSplitToAllowedPosition(e){const t=this._getAllowedIn(this.position.parent,e);if(!t)return!1;for(t!=this.position.parent&&this._insertPartialFragment();t!=this.position.parent;)if(this.position.isAtStart){const i=this.position.parent;this.position=this.writer.createPositionBefore(i),i.isEmpty&&i.parent===t&&this.writer.remove(i)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const i=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=i,this.canMergeWith.add(this.position.nodeAfter)}return this.schema.checkChild(this.position.parent,e)||this._insertAutoParagraph(),!0}_getAllowedIn(e,t){return this.schema.checkChild(e,t)||this.schema.checkChild(e,"paragraph")&&this.schema.checkChild("paragraph",t)?e:this.schema.isLimit(e)?null:this._getAllowedIn(e.parent,t)}}function Y2(n,e,t,i={}){if(!n.schema.isObject(e))throw new b("insertobject-element-not-an-object",n,{object:e});const o=t||n.document.selection;let s=o;i.findOptimalPosition&&n.schema.isBlock(e)&&(s=n.createSelection(n.schema.findOptimalInsertionRange(o,i.findOptimalPosition)));const r=ae(o.getSelectedBlocks()),a={};return r&&Object.assign(a,n.schema.getAttributesWithProperty(r,"copyOnReplace",!0)),n.change(l=>{s.isCollapsed||n.deleteContent(s,{doNotAutoparagraph:!0});let c=e;const u=s.anchor.parent;!n.schema.checkChild(u,e)&&n.schema.checkChild(u,"paragraph")&&n.schema.checkChild("paragraph",e)&&(c=l.createElement("paragraph"),l.insert(e,c)),n.schema.setAllowedAttributes(c,a,l);const d=n.insertContent(c,s);return d.isCollapsed||i.setSelection&&X2(l,e,i.setSelection,a),d})}function X2(n,e,t,i){const o=n.model;if(t=="on"){n.setSelection(e,"on");return}if(t!="after")throw new b("insertobject-invalid-place-parameter-value",o);let s=e.nextSibling;if(o.schema.isInline(e)){n.setSelection(e,"after");return}!(s&&o.schema.checkChild(s,"$text"))&&o.schema.checkChild(e.parent,"paragraph")&&(s=n.createElement("paragraph"),o.schema.setAllowedAttributes(s,i,n),o.insertContent(s,n.createPositionAfter(e))),s&&n.setSelection(s,0)}const e5=' ,.?!:;"-()';function t5(n,e,t={}){const i=n.schema,o=t.direction!="backward",s=t.unit?t.unit:"character",r=!!t.treatEmojiAsSingleUnit,a=e.focus,l=new yi({boundaries:s5(a,o),singleCharacters:!0,direction:o?"forward":"backward"}),c={walker:l,schema:i,isForward:o,unit:s,treatEmojiAsSingleUnit:r};let u;for(;u=l.next();){if(u.done)return;const d=i5(c,u.value);if(d){e instanceof Kt?n.change(m=>{m.setSelectionFocus(d)}):e.setFocus(d);return}}}function i5(n,e){const{isForward:t,walker:i,unit:o,schema:s,treatEmojiAsSingleUnit:r}=n,{type:a,item:l,nextPosition:c}=e;if(a=="text")return n.unit==="word"?o5(i,t):n5(i,o,r);if(a==(t?"elementStart":"elementEnd")){if(s.isSelectable(l))return C._createAt(l,t?"after":"before");if(s.checkChild(c,"$text"))return c}else{if(s.isLimit(l)){i.skip(()=>!0);return}if(s.checkChild(c,"$text"))return c}}function n5(n,e,t){const i=n.position.textNode;if(i){const o=i.data;let s=n.position.offset-i.startOffset;for(;jc(o,s)||e=="character"&&Uc(o,s)||t&&cp(o,s);)n.next(),s=n.position.offset-i.startOffset}return n.position}function o5(n,e){let t=n.position.textNode;for(t||(t=e?n.position.nodeAfter:n.position.nodeBefore);t&&t.is("$text");){const i=n.position.offset-t.startOffset;if(a5(t,i,e))t=e?n.position.nodeAfter:n.position.nodeBefore;else{if(r5(t.data,i,e))break;n.next()}}return n.position}function s5(n,e){const t=n.root,i=C._createAt(t,e?"end":0);return e?new y(n,i):new y(i,n)}function r5(n,e,t){const i=e+(t?0:-1);return e5.includes(n.charAt(i))}function a5(n,e,t){return e===(t?n.offsetSize:0)}let l5=class extends ue(){constructor(){super(),h(this,"markers"),h(this,"document"),h(this,"schema"),h(this,"_pendingChanges"),h(this,"_currentWriter"),this.markers=new B2,this.document=new O2(this),this.schema=new Jk,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(n=>this.decorate(n)),this.on("applyOperation",(n,e)=>{e[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck(()=>!0,"$marker"),$k(this),this.document.registerPostFixer(Fp),this.on("insertContent",(n,[e,t])=>{n.return=J2(this,e,t)}),this.on("insertObject",(n,[e,t,i])=>{n.return=Y2(this,e,t,i)}),this.on("canEditAt",n=>{const e=!this.document.isReadOnly;n.return=e,e||n.stop()})}change(n){try{return this._pendingChanges.length===0?(this._pendingChanges.push({batch:new Nn,callback:n}),this._runPendingChanges()[0]):n(this._currentWriter)}catch(e){/* istanbul ignore next -- @preserve */b.rethrowUnexpectedError(e,this)}}enqueueChange(n,e){try{n?typeof n=="function"?(e=n,n=new Nn):n instanceof Nn||(n=new Nn(n)):n=new Nn,this._pendingChanges.push({batch:n,callback:e}),this._pendingChanges.length==1&&this._runPendingChanges()}catch(t){/* istanbul ignore next -- @preserve */b.rethrowUnexpectedError(t,this)}}applyOperation(n){n._execute()}insertContent(n,e,t,...i){const o=Ha(e,t);return this.fire("insertContent",[n,o,t,...i])}insertObject(n,e,t,i,...o){const s=Ha(e,t);return this.fire("insertObject",[n,s,i,i,...o])}deleteContent(n,e){D2(this,n,e)}modifySelection(n,e){t5(this,n,e)}getSelectedContent(n){return Z2(this,n)}hasContent(n,e={}){const t=n instanceof y?n:y._createIn(n);if(t.isCollapsed)return!1;const{ignoreWhitespaces:i=!1,ignoreMarkers:o=!1}=e;if(!o){for(const s of this.markers.getMarkersIntersectingRange(t))if(s.affectsData)return!0}for(const s of t.getItems())if(this.schema.isContent(s))if(s.is("$textProxy"))if(i){if(s.data.search(/\S/)!==-1)return!0}else return!0;else return!0;return!1}canEditAt(n){const e=Ha(n);return this.fire("canEditAt",[e])}createPositionFromPath(n,e,t){return new C(n,e,t)}createPositionAt(n,e){return C._createAt(n,e)}createPositionAfter(n){return C._createAfter(n)}createPositionBefore(n){return C._createBefore(n)}createRange(n,e){return new y(n,e)}createRangeIn(n){return y._createIn(n)}createRangeOn(n){return y._createOn(n)}createSelection(...n){return new yt(...n)}createBatch(n){return new Nn(n)}createOperationFromJSON(n){return y2.fromJSON(n,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const n=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const e=this._pendingChanges[0].batch;this._currentWriter=new F2(this,e);const t=this._pendingChanges[0].callback(this._currentWriter);n.push(t),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return n}};function Ha(n,e){if(n)return n instanceof yt||n instanceof Kt?n:n instanceof Tn?e||e===0?new yt(n,e):n.is("rootElement")?new yt(n,"in"):new yt(n,"on"):new yt(n)}class ew extends ui{constructor(){super(...arguments),h(this,"domEventType","click")}onDomEvent(e){this.fire(e.type,e)}}class ua extends ui{constructor(){super(...arguments),h(this,"domEventType",["mousedown","mouseup","mouseover","mouseout"])}onDomEvent(e){this.fire(e.type,e)}}class c5 extends ui{constructor(){super(...arguments),h(this,"domEventType",["touchstart","touchend","touchmove"])}onDomEvent(e){this.fire(e.type,e)}}class Ht{constructor(e){h(this,"document"),this.document=e}createDocumentFragment(e){return new vn(this.document,e)}createElement(e,t,i){return new ai(this.document,e,t,i)}createText(e){return new Ge(this.document,e)}clone(e,t=!1){return e._clone(t)}appendChild(e,t){return t._appendChild(e)}insertChild(e,t,i){return i._insertChild(e,t)}removeChildren(e,t,i){return i._removeChildren(e,t)}remove(e){const t=e.parent;return t?this.removeChildren(t.getChildIndex(e),1,t):[]}replace(e,t){const i=e.parent;if(i){const o=i.getChildIndex(e);return this.removeChildren(o,1,i),this.insertChild(o,t,i),!0}return!1}unwrapElement(e){const t=e.parent;if(t){const i=t.getChildIndex(e);this.remove(e),this.insertChild(i,e.getChildren(),t)}}rename(e,t){const i=new ai(this.document,e,t.getAttributes(),t.getChildren());return this.replace(t,i)?i:null}setAttribute(e,t,i){i._setAttribute(e,t)}removeAttribute(e,t){t._removeAttribute(e)}addClass(e,t){t._addClass(e)}removeClass(e,t){t._removeClass(e)}setStyle(e,t,i){Ut(e)&&i===void 0?t._setStyle(e):i._setStyle(e,t)}removeStyle(e,t){t._removeStyle(e)}setCustomProperty(e,t,i){i._setCustomProperty(e,t)}removeCustomProperty(e,t){return t._removeCustomProperty(e)}createPositionAt(e,t){return V._createAt(e,t)}createPositionAfter(e){return V._createAfter(e)}createPositionBefore(e){return V._createBefore(e)}createRange(e,t){return new Q(e,t)}createRangeOn(e){return Q._createOn(e)}createRangeIn(e){return Q._createIn(e)}createSelection(...e){return new ki(...e)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const u5=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,h5=/^rgb\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}[0-9]{1,3}[ %]?\)$/i,d5=/^rgba\([ ]?([0-9]{1,3}[ %]?,[ ]?){3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,m5=/^hsl\([ ]?([0-9]{1,3}[ %]?[,]?[ ]*){3}(1|[0-9]+%|[0]?\.?[0-9]+)?\)$/i,f5=/^hsla\([ ]?([0-9]{1,3}[ %]?,[ ]?){2,3}(1|[0-9]+%|[0]?\.?[0-9]+)\)$/i,g5=/\w+\((?:[^()]|\([^()]*\))*\)|\S+/gi,p5=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","orange","aliceblue","antiquewhite","aquamarine","azure","beige","bisque","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","gainsboro","ghostwhite","gold","goldenrod","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","magenta","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","oldlace","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellowgreen","activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext","rebeccapurple","currentcolor","transparent"]);function tw(n){return n.startsWith("#")?u5.test(n):n.startsWith("rgb")?h5.test(n)||d5.test(n):n.startsWith("hsl")?m5.test(n)||f5.test(n):p5.has(n.toLowerCase())}const w5=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function b5(n){return w5.includes(n)}const _5=/^([+-]?[0-9]*([.][0-9]+)?(px|cm|mm|in|pc|pt|ch|em|ex|rem|vh|vw|vmin|vmax)|0)$/;function ha(n){return _5.test(n)}const v5=/^[+-]?[0-9]*([.][0-9]+)?%$/;function iw(n){return v5.test(n)}const y5=["repeat-x","repeat-y","repeat","space","round","no-repeat"];function k5(n){return y5.includes(n)}const C5=["center","top","bottom","left","right"];function A5(n){return C5.includes(n)}const x5=["fixed","scroll","local"];function T5(n){return x5.includes(n)}const E5=/^url\(/;function S5(n){return E5.test(n)}function es(n=""){if(n==="")return{top:void 0,right:void 0,bottom:void 0,left:void 0};const e=tu(n),t=e[0],i=e[2]||t,o=e[1]||t,s=e[3]||o;return{top:t,bottom:i,right:o,left:s}}function ts(n){return e=>{const{top:t,right:i,bottom:o,left:s}=e,r=[];return[t,i,s,o].every(a=>!!a)?r.push([n,P5(e)]):(t&&r.push([n+"-top",t]),i&&r.push([n+"-right",i]),o&&r.push([n+"-bottom",o]),s&&r.push([n+"-left",s])),r}}function P5({top:n,right:e,bottom:t,left:i}){const o=[];return i!==e?o.push(n,e,t,i):t!==n?o.push(n,e,t):e!==n?o.push(n,e):o.push(n),o.join(" ")}function nw(n){return e=>({path:n,value:es(e)})}function tu(n){const e=n.trim().slice(0,1500).matchAll(g5);return Array.from(e).map(t=>t[0])}function iu(n){n.setNormalizer("background",I5()),n.setNormalizer("background-color",V5()),n.setReducer("background",R5()),n.setStyleRelation("background",["background-color"])}function I5(){return n=>{const e={},t=tu(n);for(const i of t)k5(i)?(e.repeat=e.repeat||[],e.repeat.push(i)):A5(i)?(e.position=e.position||[],e.position.push(i)):T5(i)?e.attachment=i:tw(i)?e.color=i:S5(i)&&(e.image=i);return{path:"background",value:e}}}function V5(){return n=>({path:"background.color",value:n})}function R5(){return n=>{const e=[];return e.push(["background-color",n.color]),e}}function ow(n){n.setNormalizer("border",O5()),n.setNormalizer("border-top",$s("top")),n.setNormalizer("border-right",$s("right")),n.setNormalizer("border-bottom",$s("bottom")),n.setNormalizer("border-left",$s("left")),n.setNormalizer("border-color",$a("color")),n.setNormalizer("border-width",$a("width")),n.setNormalizer("border-style",$a("style")),n.setNormalizer("border-top-color",Bt("color","top")),n.setNormalizer("border-top-style",Bt("style","top")),n.setNormalizer("border-top-width",Bt("width","top")),n.setNormalizer("border-right-color",Bt("color","right")),n.setNormalizer("border-right-style",Bt("style","right")),n.setNormalizer("border-right-width",Bt("width","right")),n.setNormalizer("border-bottom-color",Bt("color","bottom")),n.setNormalizer("border-bottom-style",Bt("style","bottom")),n.setNormalizer("border-bottom-width",Bt("width","bottom")),n.setNormalizer("border-left-color",Bt("color","left")),n.setNormalizer("border-left-style",Bt("style","left")),n.setNormalizer("border-left-width",Bt("width","left")),n.setExtractor("border-top",Ws("top")),n.setExtractor("border-right",Ws("right")),n.setExtractor("border-bottom",Ws("bottom")),n.setExtractor("border-left",Ws("left")),n.setExtractor("border-top-color","border.color.top"),n.setExtractor("border-right-color","border.color.right"),n.setExtractor("border-bottom-color","border.color.bottom"),n.setExtractor("border-left-color","border.color.left"),n.setExtractor("border-top-width","border.width.top"),n.setExtractor("border-right-width","border.width.right"),n.setExtractor("border-bottom-width","border.width.bottom"),n.setExtractor("border-left-width","border.width.left"),n.setExtractor("border-top-style","border.style.top"),n.setExtractor("border-right-style","border.style.right"),n.setExtractor("border-bottom-style","border.style.bottom"),n.setExtractor("border-left-style","border.style.left"),n.setReducer("border-color",ts("border-color")),n.setReducer("border-style",ts("border-style")),n.setReducer("border-width",ts("border-width")),n.setReducer("border-top",js("top")),n.setReducer("border-right",js("right")),n.setReducer("border-bottom",js("bottom")),n.setReducer("border-left",js("left")),n.setReducer("border",M5()),n.setStyleRelation("border",["border-color","border-style","border-width","border-top","border-right","border-bottom","border-left","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-width","border-right-width","border-bottom-width","border-left-width"]),n.setStyleRelation("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"]),n.setStyleRelation("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"]),n.setStyleRelation("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"]),n.setStyleRelation("border-top",["border-top-color","border-top-style","border-top-width"]),n.setStyleRelation("border-right",["border-right-color","border-right-style","border-right-width"]),n.setStyleRelation("border-bottom",["border-bottom-color","border-bottom-style","border-bottom-width"]),n.setStyleRelation("border-left",["border-left-color","border-left-style","border-left-width"])}function O5(){return n=>{const{color:e,style:t,width:i}=sw(n);return{path:"border",value:{color:es(e),style:es(t),width:es(i)}}}}function $s(n){return e=>{const{color:t,style:i,width:o}=sw(e),s={};return t!==void 0&&(s.color={[n]:t}),i!==void 0&&(s.style={[n]:i}),o!==void 0&&(s.width={[n]:o}),{path:"border",value:s}}}function $a(n){return e=>({path:"border",value:B5(e,n)})}function B5(n,e){return{[e]:es(n)}}function Bt(n,e){return t=>({path:"border",value:{[n]:{[e]:t}}})}function Ws(n){return(e,t)=>{if(t.border)return Uo(t.border,n)}}function Uo(n,e){const t={};return n.width&&n.width[e]&&(t.width=n.width[e]),n.style&&n.style[e]&&(t.style=n.style[e]),n.color&&n.color[e]&&(t.color=n.color[e]),t}function sw(n){const e={},t=tu(n);for(const i of t)ha(i)||/thin|medium|thick/.test(i)?e.width=i:b5(i)?e.style=i:e.color=i;return e}function M5(){return e=>{const t=Uo(e,"top"),i=Uo(e,"right"),o=Uo(e,"bottom"),s=Uo(e,"left"),r=[t,i,o,s],a={width:n(r,"width"),style:n(r,"style"),color:n(r,"color")},l=Zn(a,"all");return l.length?l:[...Object.entries(a).reduce((c,[u,d])=>(d&&(c.push([`border-${u}`,d]),r.forEach(m=>delete m[u])),c),[]),...Zn(t,"top"),...Zn(i,"right"),...Zn(o,"bottom"),...Zn(s,"left")]};function n(e,t){return e.map(i=>i[t]).reduce((i,o)=>i==o?i:null)}}function js(n){return e=>Zn(e,n)}function Zn(n,e){const t=[];if(n&&n.width&&t.push("width"),n&&n.style&&t.push("style"),n&&n.color&&t.push("color"),t.length==3){const i=t.map(o=>n[o]).join(" ");return[e=="all"?["border",i]:[`border-${e}`,i]]}return e=="all"?[]:t.map(i=>[`border-${e}-${i}`,n[i]])}function L5(n){n.setNormalizer("margin",nw("margin")),n.setNormalizer("margin-top",e=>({path:"margin.top",value:e})),n.setNormalizer("margin-right",e=>({path:"margin.right",value:e})),n.setNormalizer("margin-bottom",e=>({path:"margin.bottom",value:e})),n.setNormalizer("margin-left",e=>({path:"margin.left",value:e})),n.setReducer("margin",ts("margin")),n.setStyleRelation("margin",["margin-top","margin-right","margin-bottom","margin-left"])}function F5(n){n.setNormalizer("padding",nw("padding")),n.setNormalizer("padding-top",e=>({path:"padding.top",value:e})),n.setNormalizer("padding-right",e=>({path:"padding.right",value:e})),n.setNormalizer("padding-bottom",e=>({path:"padding.bottom",value:e})),n.setNormalizer("padding-left",e=>({path:"padding.left",value:e})),n.setReducer("padding",ts("padding")),n.setStyleRelation("padding",["padding-top","padding-right","padding-bottom","padding-left"])}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class rw{constructor(e){if(h(this,"crashes",[]),h(this,"state","initializing"),h(this,"_crashNumberLimit"),h(this,"_now",Date.now),h(this,"_minimumNonErrorTimePeriod"),h(this,"_boundErrorHandler"),h(this,"_listeners"),this.crashes=[],this._crashNumberLimit=typeof e.crashNumberLimit=="number"?e.crashNumberLimit:3,this._minimumNonErrorTimePeriod=typeof e.minimumNonErrorTimePeriod=="number"?e.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=t=>{const i="error"in t?t.error:t.reason;i instanceof Error&&this._handleError(i,t)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){this._listeners[e]=this._listeners[e].filter(i=>i!==t)}_fire(e,...t){const i=this._listeners[e]||[];for(const o of i)o.apply(this,[null,...t])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(e,t){if(this._shouldReactToError(e)){this.crashes.push({message:e.message,stack:e.stack,filename:t instanceof ErrorEvent?t.filename:void 0,lineno:t instanceof ErrorEvent?t.lineno:void 0,colno:t instanceof ErrorEvent?t.colno:void 0,date:this._now()});const i=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:e,causesRestart:i}),i?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(e){return e.is&&e.is("CKEditorError")&&e.context!==void 0&&e.context!==null&&this.state==="ready"&&this._isErrorComingFromThisItem(e)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;const e=this.crashes[this.crashes.length-1].date,t=this.crashes[this.crashes.length-1-this._crashNumberLimit].date;return(e-t)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Zl(n,e=new Set){const t=[n],i=new Set;let o=0;for(;t.length>o;){const s=t[o++];if(!(i.has(s)||!N5(s)||e.has(s)))if(i.add(s),Symbol.iterator in s)try{for(const r of s)t.push(r)}catch{}else for(const r in s)r!=="defaultValue"&&t.push(s[r])}return i}function N5(n){const e=Object.prototype.toString.call(n),t=typeof n;return!(t==="number"||t==="boolean"||t==="string"||t==="symbol"||t==="function"||e==="[object Date]"||e==="[object RegExp]"||e==="[object Module]"||n===void 0||n===null||n._watchdogExcluded||n instanceof EventTarget||n instanceof Event)}function aw(n,e,t=new Set){if(n===e&&D5(n))return!0;const i=Zl(n,t),o=Zl(e,t);for(const s of i)if(o.has(s))return!0;return!1}function D5(n){return typeof n=="object"&&n!==null}class lw extends rw{constructor(e,t={}){super(t),h(this,"_editor",null),h(this,"_lifecyclePromise",null),h(this,"_throttledSave"),h(this,"_data"),h(this,"_lastDocumentVersion"),h(this,"_elementOrData"),h(this,"_initUsingData",!0),h(this,"_editables",{}),h(this,"_config"),h(this,"_excludedProps"),this._throttledSave=co(this._save.bind(this),typeof t.saveInterval=="number"?t.saveInterval:5e3),e&&(this._creator=(i,o)=>e.create(i,o)),this._destructor=i=>i.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(e=>{console.error("An error happened during the editor destroying.",e)}).then(()=>{const e={},t=[],i=this._config.rootsAttributes||{},o={};for(const[r,a]of Object.entries(this._data.roots))a.isLoaded?(e[r]="",o[r]=i[r]||{}):t.push(r);const s={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:t,rootsAttributes:o,_watchdogInitialData:this._data};return delete s.initialData,s.extraPlugins.push(z5),this._initUsingData?this.create(e,s,s.context):xi(this._elementOrData)?this.create(this._elementOrData,s,s.context):this.create(this._editables,s,s.context)}).then(()=>{this._fire("restart")})}create(e=this._elementOrData,t=this._config,i){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then(()=>(super._startErrorHandling(),this._elementOrData=e,this._initUsingData=typeof e=="string"||Object.keys(e).length>0&&typeof Object.values(e)[0]=="string",this._config=this._cloneEditorConfiguration(t)||{},this._config.context=i,this._creator(e,this._config))).then(o=>{this._editor=o,o.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=o.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")}).finally(()=>{this._lifecyclePromise=null}),this._lifecyclePromise}destroy(){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())).finally(()=>{this._lifecyclePromise=null}),this._lifecyclePromise}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling(),this._throttledSave.cancel();const e=this._editor;return this._editor=null,e.model.document.off("change:data",this._throttledSave),this._destructor(e)})}_save(){const e=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=e}catch(t){console.error(t,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(e){this._excludedProps=e}_getData(){const e=this._editor,t=e.model.document.roots.filter(a=>a.isAttached()&&a.rootName!="$graveyard"),{plugins:i}=e,o=i.has("CommentsRepository")&&i.get("CommentsRepository"),s=i.has("TrackChanges")&&i.get("TrackChanges"),r={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};t.forEach(a=>{r.roots[a.rootName]={content:JSON.stringify(Array.from(a.getChildren())),attributes:JSON.stringify(Array.from(a.getAttributes())),isLoaded:a._isLoaded}});for(const a of e.model.markers)a._affectsData&&(r.markers[a.name]={rangeJSON:a.getRange().toJSON(),usingOperation:a._managedUsingOperations,affectsData:a._affectsData});return o&&(r.commentThreads=JSON.stringify(o.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),s&&(r.suggestions=JSON.stringify(s.getSuggestions({toJSON:!0,skipNotAttached:!0}))),r}_getEditables(){const e={};for(const t of this.editor.model.document.getRootNames()){const i=this.editor.ui.getEditableElement(t);i&&(e[t]=i)}return e}_isErrorComingFromThisItem(e){return aw(this._editor,e.context,this._excludedProps)}_cloneEditorConfiguration(e){return Xr(e,(t,i)=>{if(xi(t)||i==="context")return t})}}class z5{constructor(e){h(this,"editor"),h(this,"_data"),this.editor=e,this._data=e.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",e=>{e.stop(),this.editor.model.enqueueChange({isUndoable:!1},t=>{this._restoreCollaborationData(),this._restoreEditorData(t)}),this.editor.data.fire("ready")},{priority:999})}_createNode(e,t){if("name"in t){const i=e.createElement(t.name,t.attributes);if(t.children)for(const o of t.children)i._appendChild(this._createNode(e,o));return i}else return e.createText(t.data,t.attributes)}_restoreEditorData(e){const t=this.editor;Object.entries(this._data.roots).forEach(([i,{content:o,attributes:s}])=>{const r=JSON.parse(o),a=JSON.parse(s),l=t.model.document.getRoot(i);for(const[c,u]of a)e.setAttribute(c,u,l);for(const c of r){const u=this._createNode(e,c);e.insert(u,l,"end")}}),Object.entries(this._data.markers).forEach(([i,o])=>{const{document:s}=t.model,{rangeJSON:{start:r,end:a},...l}=o,c=s.getRoot(r.root),u=e.createPositionFromPath(c,r.path,r.stickiness),d=e.createPositionFromPath(c,a.path,a.stickiness),m=e.createRange(u,d);e.addMarker(i,{range:m,...l})})}_restoreCollaborationData(){const e=JSON.parse(this._data.commentThreads),t=JSON.parse(this._data.suggestions);e.forEach(i=>{const o=this.editor.config.get("collaboration.channelId"),s=this.editor.plugins.get("CommentsRepository");s.hasCommentThread(i.threadId)&&s.getCommentThread(i.threadId).remove(),s.addCommentThread({channelId:o,...i})}),t.forEach(i=>{const o=this.editor.plugins.get("TrackChangesEditing");if(o.hasSuggestion(i.id)){const s=o.getSuggestion(i.id);s.attributes=i.attributes}else o.addSuggestionData(i)})}}const is=Symbol("MainQueueId");class H5 extends rw{constructor(e,t={}){super(t),h(this,"_watchdogs",new Map),h(this,"_watchdogConfig"),h(this,"_context",null),h(this,"_contextProps",new Set),h(this,"_actionQueues",new $5),h(this,"_contextConfig"),h(this,"_item"),this._watchdogConfig=t,this._creator=i=>e.create(i),this._destructor=i=>i.destroy(),this._actionQueues.onEmpty(()=>{this.state==="initializing"&&(this.state="ready",this._fire("stateChange"))})}setCreator(e){this._creator=e}setDestructor(e){this._destructor=e}get context(){return this._context}create(e={}){return this._actionQueues.enqueue(is,()=>(this._contextConfig=e,this._create()))}getItem(e){return this._getWatchdog(e)._item}getItemState(e){return this._getWatchdog(e).state}add(e){const t=nd(e);return Promise.all(t.map(i=>this._actionQueues.enqueue(i.id,()=>{if(this.state==="destroyed")throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let o;if(this._watchdogs.has(i.id))throw new Error(`Item with the given id is already added: '${i.id}'.`);if(i.type==="editor")return o=new lw(null,this._watchdogConfig),o.setCreator(i.creator),o._setExcludedProperties(this._contextProps),i.destructor&&o.setDestructor(i.destructor),this._watchdogs.set(i.id,o),o.on("error",(s,{error:r,causesRestart:a})=>{this._fire("itemError",{itemId:i.id,error:r}),a&&this._actionQueues.enqueue(i.id,()=>new Promise(l=>{const c=()=>{o.off("restart",c),this._fire("itemRestart",{itemId:i.id}),l()};o.on("restart",c)}))}),o.create(i.sourceElementOrData,i.config,this._context);throw new Error(`Not supported item type: '${i.type}'.`)})))}remove(e){const t=nd(e);return Promise.all(t.map(i=>this._actionQueues.enqueue(i,()=>{const o=this._getWatchdog(i);return this._watchdogs.delete(i),o.destroy()})))}destroy(){return this._actionQueues.enqueue(is,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(is,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(e=>{console.error("An error happened during destroying the context or items.",e)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(e=>(this._context=e,this._contextProps=Zl(this._context),Promise.all(Array.from(this._watchdogs.values()).map(t=>(t._setExcludedProperties(this._contextProps),t.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const e=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(t=>t.destroy())).then(()=>this._destructor(e))})}_getWatchdog(e){const t=this._watchdogs.get(e);if(!t)throw new Error(`Item with the given id was not registered: ${e}.`);return t}_isErrorComingFromThisItem(e){for(const t of this._watchdogs.values())if(t._isErrorComingFromThisItem(e))return!1;return aw(this._context,e.context)}}class $5{constructor(){h(this,"_onEmptyCallbacks",[]),h(this,"_queues",new Map),h(this,"_activeActions",0)}onEmpty(e){this._onEmptyCallbacks.push(e)}enqueue(e,t){const i=e===is;this._activeActions++,this._queues.get(e)||this._queues.set(e,Promise.resolve());const o=(i?Promise.all(this._queues.values()):Promise.all([this._queues.get(is),this._queues.get(e)])).then(t),s=o.catch(()=>{});return this._queues.set(e,s),o.finally(()=>{this._activeActions--,this._queues.get(e)===s&&this._activeActions===0&&this._onEmptyCallbacks.forEach(r=>r())})}}function nd(n){return Array.isArray(n)?n:[n]}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class w extends ue(){constructor(e){super(),h(this,"editor"),h(this,"_disableStack",new Set),this.editor=e,this.set("isEnabled",!0)}forceDisabled(e){this._disableStack.add(e),this._disableStack.size==1&&(this.on("set:isEnabled",od,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),this._disableStack.size==0&&(this.off("set:isEnabled",od),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}static get isOfficialPlugin(){return!1}static get isPremiumPlugin(){return!1}}function od(n){n.return=!1,n.stop()}class O extends ue(){constructor(e){super(),h(this,"editor"),h(this,"_isEnabledBasedOnSelection"),h(this,"_affectsData"),h(this,"_disableStack"),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.listenTo(e,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",t=>{if(!this.affectsData)return;const i=e.model.document.selection,o=i.getFirstPosition().root.rootName!="$graveyard"&&e.model.canEditAt(i);(e.isReadOnly||this._isEnabledBasedOnSelection&&!o)&&(t.return=!1,t.stop())},{priority:"highest"}),this.on("execute",t=>{this.isEnabled||t.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(e){this._affectsData=e}refresh(){this.isEnabled=!0}forceDisabled(e){this._disableStack.add(e),this._disableStack.size==1&&(this.on("set:isEnabled",sd,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(e){this._disableStack.delete(e),this._disableStack.size==0&&(this.off("set:isEnabled",sd),this.refresh())}execute(...e){}destroy(){this.stopListening()}}function sd(n){n.return=!1,n.stop()}class rd extends O{constructor(){super(...arguments),h(this,"_childCommandsDefinitions",[])}refresh(){}execute(...e){const t=this._getFirstEnabledCommand();return!!t&&t.execute(e)}registerChildCommand(e,t={}){Fg(this._childCommandsDefinitions,{command:e,priority:t.priority||"normal"}),e.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const e=this._childCommandsDefinitions.find(({command:t})=>t.isEnabled);return e&&e.command}}class cw extends ge(){constructor(e,t=[],i=[]){super(),h(this,"_context"),h(this,"_plugins",new Map),h(this,"_availablePlugins"),h(this,"_contextPlugins"),this._context=e,this._availablePlugins=new Map;for(const o of t)o.pluginName&&this._availablePlugins.set(o.pluginName,o);this._contextPlugins=new Map;for(const[o,s]of i)this._contextPlugins.set(o,s),this._contextPlugins.set(s,o),o.pluginName&&this._availablePlugins.set(o.pluginName,o)}*[Symbol.iterator](){for(const e of this._plugins)typeof e[0]=="function"&&(yield e)}get(e){const t=this._plugins.get(e);if(!t){let i=e;throw typeof e=="function"&&(i=e.pluginName||e.name),new b("plugincollection-plugin-not-loaded",this._context,{plugin:i})}return t}has(e){return this._plugins.has(e)}init(e,t=[],i=[]){const o=this,s=this._context;f(e),p(e);const r=e.filter(T=>!d(T,t)),a=[...g(r)];X(a,i);const l=M(a);return G(l,"init").then(()=>G(l,"afterInit")).then(()=>l);function c(T){return typeof T=="function"}function u(T){return c(T)&&!!T.isContextPlugin}function d(T,F){return F.some(x=>x===T||m(T)===x||m(x)===T)}function m(T){return c(T)?T.pluginName||T.name:T}function f(T,F=new Set){T.forEach(x=>{c(x)&&(F.has(x)||(F.add(x),x.pluginName&&!o._availablePlugins.has(x.pluginName)&&o._availablePlugins.set(x.pluginName,x),x.requires&&f(x.requires,F)))})}function g(T,F=new Set){return T.map(x=>c(x)?x:o._availablePlugins.get(x)).reduce((x,q)=>F.has(q)?x:(F.add(q),q.requires&&(p(q.requires,q),g(q.requires,F).forEach(Ve=>x.add(Ve))),x.add(q)),new Set)}function p(T,F=null){T.map(x=>c(x)?x:o._availablePlugins.get(x)||x).forEach(x=>{_(x,F),v(x,F),E(x,F)})}function _(T,F){if(!c(T))throw F?new b("plugincollection-soft-required",s,{missingPlugin:T,requiredBy:m(F)}):new b("plugincollection-plugin-not-found",s,{plugin:T})}function v(T,F){if(u(F)&&!u(T))throw new b("plugincollection-context-required",s,{plugin:m(T),requiredBy:m(F)})}function E(T,F){if(F&&d(T,t))throw new b("plugincollection-required",s,{plugin:m(T),requiredBy:m(F)})}function M(T){return T.map(F=>{let x=o._contextPlugins.get(F);return x=x||new F(s),o._add(F,x),x})}function G(T,F){return T.reduce((x,q)=>!q[F]||o._contextPlugins.has(q)?x:x.then(q[F].bind(q)),Promise.resolve())}function X(T,F){for(const x of F){if(typeof x!="function")throw new b("plugincollection-replace-plugin-invalid-type",null,{pluginItem:x});const q=x.pluginName;if(!q)throw new b("plugincollection-replace-plugin-missing-name",null,{pluginItem:x});if(x.requires&&x.requires.length)throw new b("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:q});const Ve=o._availablePlugins.get(q);if(!Ve)throw new b("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:q});const pe=T.indexOf(Ve);if(pe===-1){if(o._contextPlugins.has(Ve))return;throw new b("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:q})}if(Ve.requires&&Ve.requires.length)throw new b("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:q});T.splice(pe,1,x),o._availablePlugins.set(q,x)}}}destroy(){const e=[];for(const[,t]of this)typeof t.destroy=="function"&&!this._contextPlugins.has(t)&&e.push(t.destroy());return Promise.all(e)}_add(e,t){this._plugins.set(e,t);const i=e.pluginName;if(i){if(this._plugins.has(i))throw new b("plugincollection-plugin-name-conflict",null,{pluginName:i,plugin1:this._plugins.get(i).constructor,plugin2:e});this._plugins.set(i,t)}}}class Or{constructor(e){h(this,"config"),h(this,"plugins"),h(this,"locale"),h(this,"t"),h(this,"editors"),h(this,"_contextOwner",null);const{translations:t,...i}=e||{};this.config=new qg(i,this.constructor.defaultConfig);const o=this.constructor.builtinPlugins;this.config.define("plugins",o),this.plugins=new cw(this,o);const s=this.config.get("language")||{};this.locale=new lp({uiLanguage:typeof s=="string"?s:s.ui,contentLanguage:this.config.get("language.content"),translations:t}),this.t=this.locale.t,this.editors=new _e}initPlugins(){const e=this.config.get("plugins")||[],t=this.config.get("substitutePlugins")||[];for(const i of e.concat(t)){if(typeof i!="function")throw new b("context-initplugins-constructor-only",null,{Plugin:i});if(i.isContextPlugin!==!0)throw new b("context-initplugins-invalid-plugin",null,{Plugin:i})}return this.plugins.init(e,[],t)}destroy(){return Promise.all(Array.from(this.editors,e=>e.destroy())).then(()=>this.plugins.destroy())}_addEditor(e,t){if(this._contextOwner)throw new b("context-addeditor-private-context");this.editors.add(e),t&&(this._contextOwner=e)}_removeEditor(e){return this.editors.has(e)&&this.editors.remove(e),this._contextOwner===e?this.destroy():Promise.resolve()}_getEditorConfig(){const e={};for(const t of this.config.names())["plugins","removePlugins","extraPlugins"].includes(t)||(e[t]=this.config.get(t));return e}static create(e){return new Promise(t=>{const i=new this(e);t(i.initPlugins().then(()=>i))})}}h(Or,"defaultConfig"),h(Or,"builtinPlugins");class uw extends ue(){constructor(e){super(),h(this,"context"),this.context=e}destroy(){this.stopListening()}static get isContextPlugin(){return!0}static get isOfficialPlugin(){return!1}static get isPremiumPlugin(){return!1}}class W5{constructor(){h(this,"_commands"),this._commands=new Map}add(e,t){this._commands.set(e,t)}get(e){return this._commands.get(e)}execute(e,...t){const i=this.get(e);if(!i)throw new b("commandcollection-command-not-found",this,{commandName:e});return i.execute(...t)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const e of this.commands())e.destroy()}}class j5 extends te{constructor(e){super(),h(this,"editor"),this.editor=e}set(e,t,i={}){if(typeof t=="string"){const o=t;t=(s,r)=>{this.editor.execute(o),r()}}super.set(e,t,i)}}const Wa="contentEditing",ad="common";class U5{constructor(e){h(this,"keystrokeInfos",new Map),h(this,"_editor"),this._editor=e;const t=e.config.get("menuBar.isVisible"),i=e.locale.t;this.addKeystrokeInfoCategory({id:Wa,label:i("Content editing keystrokes"),description:i("These keyboard shortcuts allow for quick access to content editing features.")});const o=[{label:i("Close contextual balloons, dropdowns, and dialogs"),keystroke:"Esc"},{label:i("Open the accessibility help dialog"),keystroke:"Alt+0"},{label:i("Move focus between form fields (inputs, buttons, etc.)"),keystroke:[["Tab"],["Shift+Tab"]]},{label:i("Move focus to the toolbar, navigate between toolbars"),keystroke:"Alt+F10",mayRequireFn:!0},{label:i("Navigate through the toolbar or menu bar"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]},{label:i("Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content."),keystroke:[["Enter"],["Space"]]}];t&&o.push({label:i("Move focus to the menu bar, navigate between menu bars"),keystroke:"Alt+F9",mayRequireFn:!0}),this.addKeystrokeInfoCategory({id:"navigation",label:i("User interface and content navigation keystrokes"),description:i("Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface."),groups:[{id:"common",keystrokes:o}]})}addKeystrokeInfoCategory({id:e,label:t,description:i,groups:o}){this.keystrokeInfos.set(e,{id:e,label:t,description:i,groups:new Map}),this.addKeystrokeInfoGroup({categoryId:e,id:ad}),o&&o.forEach(s=>{this.addKeystrokeInfoGroup({categoryId:e,...s})})}addKeystrokeInfoGroup({categoryId:e=Wa,id:t,label:i,keystrokes:o}){const s=this.keystrokeInfos.get(e);if(!s)throw new b("accessibility-unknown-keystroke-info-category",this._editor,{groupId:t,categoryId:e});s.groups.set(t,{id:t,label:i,keystrokes:o||[]})}addKeystrokeInfos({categoryId:e=Wa,groupId:t=ad,keystrokes:i}){if(!this.keystrokeInfos.has(e))throw new b("accessibility-unknown-keystroke-info-category",this._editor,{categoryId:e,keystrokes:i});const o=this.keystrokeInfos.get(e);if(!o.groups.has(t))throw new b("accessibility-unknown-keystroke-info-group",this._editor,{groupId:t,categoryId:e,keystrokes:i});o.groups.get(t).keystrokes.push(...i)}}function q5(n){return{sessionId:Q5(),pageSessionId:Y5(),hostname:window.location.hostname,version:globalThis.CKEDITOR_VERSION,type:G5(n),plugins:K5(n.plugins),distribution:Z5(),env:J5(),integration:Object.create(null),menuBar:{isVisible:!!n.config.get("menuBar.isVisible")},language:{ui:n.locale.uiLanguage,content:n.locale.contentLanguage},toolbar:{main:ja(n.config.get("toolbar")),block:ja(n.config.get("blockToolbar")),balloon:ja(n.config.get("balloonToolbar"))}}}function G5(n){return Object.getPrototypeOf(n).constructor.editorName}function K5(n){return Array.from(n).filter(([e])=>!!e.pluginName).map(([e])=>{const{pluginName:t,isContextPlugin:i,isOfficialPlugin:o,isPremiumPlugin:s}=e;return{isContext:!!i,isOfficial:!!o,isPremium:!!s,name:t}})}function ja(n){if(!n)return;const e=Array.isArray(n)?{items:n}:n,t=o(e.items||[]);return{isMultiline:t.includes("-"),shouldNotGroupWhenFull:!!e.shouldNotGroupWhenFull,items:i(t)};function i(s){return s.filter(r=>r!=="|"&&r!=="-")}function o(s){return s.flatMap(r=>typeof r=="string"?[r]:o(r.items))}}function Z5(){return{channel:window[Symbol.for("cke distribution")]||"sh"}}function J5(){let n="unknown",e="unknown";return N.isMac?n="mac":N.isWindows?n="windows":N.isiOS?n="ios":N.isAndroid&&(n="android"),N.isGecko?e="gecko":N.isBlink?e="blink":N.isSafari&&(e="safari"),{os:n,browser:e}}function Q5(){return localStorage.getItem("__ckeditor-session-id")||localStorage.setItem("__ckeditor-session-id",ze()),localStorage.getItem("__ckeditor-session-id")}function Y5(){return I.window.CKEDITOR_PAGE_SESSION_ID=I.window.CKEDITOR_PAGE_SESSION_ID||ze(),I.window.CKEDITOR_PAGE_SESSION_ID}class pn extends ue(){constructor(e={}){if(super(),h(this,"accessibility"),h(this,"commands"),h(this,"config"),h(this,"conversion"),h(this,"data"),h(this,"editing"),h(this,"locale"),h(this,"model"),h(this,"plugins"),h(this,"keystrokes"),h(this,"t"),h(this,"_context"),h(this,"_readOnlyLocks"),"sanitizeHtml"in e)throw new b("editor-config-sanitizehtml-not-supported");const t=this.constructor,{translations:i,...o}=t.defaultConfig||{},{translations:s=i,...r}=e,a=e.language||o.language;this._context=e.context||new Or({language:a,translations:s}),this._context._addEditor(this,!e.context);const l=Array.from(t.builtinPlugins||[]);this.config=new qg(r,o),this.config.define("plugins",l),this.config.define(this._context._getEditorConfig()),u(this.config),this.plugins=new cw(this,l,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new W5,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new l5,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const c=new Uv;this.data=new w2(this.model,c),this.editing=new Kk(this.model,c),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new _2([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new j5(this),this.keystrokes.listenTo(this.editing.view.document),this.accessibility=new U5(this),d(this);function u(m){let f=m.get("licenseKey");if(!f&&window.CKEDITOR_GLOBAL_LICENSE_KEY&&(f=window.CKEDITOR_GLOBAL_LICENSE_KEY,m.set("licenseKey",f)),!f)throw new b("license-key-missing")}function d(m){const f=m.config.get("licenseKey"),g=window[Symbol.for("cke distribution")]||"sh";function p(x){m.enableReadOnlyMode(Symbol("invalidLicense")),m._showLicenseError(x)}function _(x){const q=x.split(".");return q.length!=3?null:q[1]}function v(x){return["exp","jti","vc"].every(q=>q in x)}function E(x){return Object.getOwnPropertyNames(x).sort().filter(q=>q!="vc"&&x[q]!=null).map(q=>x[q])}function M(x){const{hostname:q}=new URL(window.location.href);if(x.includes(q))return!0;const Ve=q.split(".");return x.filter(pe=>pe.includes("*")).map(pe=>pe.split(".")).filter(pe=>pe.length<=Ve.length).map(pe=>Array(Ve.length-pe.length).fill(pe[0]==="*"?"*":"").concat(pe)).some(pe=>Ve.every((di,Bn)=>pe[Bn]===di||pe[Bn]==="*"))}function G(x){const q=x[0].toUpperCase()+x.slice(1),Ve=x==="evaluation"?"an":"a";console.info(`%cCKEditor 5 ${q} License`,"color: #ffffff; background: #743CCD; font-size: 14px; padding: 4px 8px; border-radius: 4px;"),console.warn(`⚠️ You are using ${Ve} ${x} license of CKEditor 5${x==="trial"?" which is for evaluation purposes only":""}. For production usage, please obtain a production license at https://portal.ckeditor.com/`)}if(f=="GPL"){g=="cloud"&&p("distributionChannel");return}const X=_(f);if(!X){p("invalid");return}const T=Wc(X);if(!T){p("invalid");return}if(!v(T)){p("invalid");return}if(T.distributionChannel&&!he(T.distributionChannel).includes(g)){p("distributionChannel");return}if(Sv(E(T))!=T.vc.toLowerCase()){p("invalid");return}if(new Date(T.exp*1e3)0&&!M(F)){p("domainLimit");return}if(["evaluation","trial"].includes(T.licenseType)&&T.exp*1e3{p(`${x}Limit`)},6e5);m.on("destroy",()=>{clearTimeout(q)})}T.usageEndpoint&&m.once("ready",()=>{const x={requestId:ze(),requestTime:Math.round(Date.now()/1e3),license:f,editor:X5(m)};m._sendUsageRequest(T.usageEndpoint,x).then(q=>{const{status:Ve,message:pe}=q;pe&&console.warn(pe),Ve!="ok"&&p("usageLimit")},()=>{D_("license-key-validation-endpoint-not-reachable",{url:T.usageEndpoint})})},{priority:"high"})}}static get editorName(){return"Editor"}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(e){throw new b("editor-isreadonly-has-no-setter")}enableReadOnlyMode(e){if(typeof e!="string"&&typeof e!="symbol")throw new b("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)||(this._readOnlyLocks.add(e),this._readOnlyLocks.size===1&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(e){if(typeof e!="string"&&typeof e!="symbol")throw new b("editor-read-only-lock-id-invalid",null,{lockId:e});this._readOnlyLocks.has(e)&&(this._readOnlyLocks.delete(e),this._readOnlyLocks.size===0&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}setData(e){this.data.set(e)}getData(e){return this.data.get(e)}initPlugins(){const e=this.config,t=e.get("plugins"),i=e.get("removePlugins")||[],o=e.get("extraPlugins")||[],s=e.get("substitutePlugins")||[];return this.plugins.init(t.concat(o),i,s)}destroy(){let e=Promise.resolve();return this.state=="initializing"&&(e=new Promise(t=>this.once("ready",t))),e.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(e,...t){try{return this.commands.execute(e,...t)}catch(i){/* istanbul ignore next -- @preserve */b.rethrowUnexpectedError(i,this)}}focus(){this.editing.view.focus()}static create(...e){throw new Error("This is an abstract method.")}_showLicenseError(e,t){setTimeout(()=>{if(e=="invalid")throw new b("invalid-license-key");if(e=="expired")throw new b("license-key-expired");if(e=="domainLimit")throw new b("license-key-domain-limit");if(e=="featureNotAllowed")throw new b("license-key-plugin-not-allowed",null,{pluginName:t});if(e=="evaluationLimit")throw new b("license-key-evaluation-limit");if(e=="trialLimit")throw new b("license-key-trial-limit");if(e=="developmentLimit")throw new b("license-key-development-limit");if(e=="usageLimit")throw new b("license-key-usage-limit");if(e=="distributionChannel")throw new b("license-key-invalid-distribution-channel")},0),this._showLicenseError=()=>{}}async _sendUsageRequest(e,t){const i=new Headers({"Content-Type":"application/json"}),o=await fetch(new URL(e),{method:"POST",headers:i,body:JSON.stringify(t)});if(!o.ok)throw new Error(`HTTP Response: ${o.status}`);return o.json()}}h(pn,"defaultConfig"),h(pn,"builtinPlugins"),h(pn,"Context",Or),h(pn,"EditorWatchdog",lw),h(pn,"ContextWatchdog",H5);function X5(n){const e=q5(n);function t(i,o){if(Ki(e,i)!==void 0)throw new b("editor-usage-data-path-already-set",{path:i});Ig(e,i,o)}return n.fire("collectUsageData",{setUsageData:t}),e}function eC(n){if(!Tr(n.updateSourceElement))throw new b("attachtoform-missing-elementapi-interface",n);const e=n.sourceElement;if(tC(e)&&e.form){let t;const i=e.form,o=()=>n.updateSourceElement();Tr(i.submit)&&(t=i.submit,i.submit=()=>{o(),t.apply(i)}),i.addEventListener("submit",o),n.on("destroy",()=>{i.removeEventListener("submit",o),t&&(i.submit=t)})}}function tC(n){return!!n&&n.tagName.toLowerCase()==="textarea"}function Br(n){class e extends n{constructor(){super(...arguments),h(this,"sourceElement")}updateSourceElement(i){if(!this.sourceElement)throw new b("editor-missing-sourceelement",this);const o=this.config.get("updateSourceElementOnDestroy"),s=this.sourceElement instanceof HTMLTextAreaElement;if(!o&&!s){hh(this.sourceElement,"");return}const r=typeof i=="string"?i:this.data.get();hh(this.sourceElement,r)}}return e}Br.updateSourceElement=Br(Object).prototype.updateSourceElement;function hw(n,e){if(e.ckeditorInstance)throw new b("editor-source-element-already-used",n);e.ckeditorInstance=n,n.once("destroy",()=>{delete e.ckeditorInstance})}class ld extends uw{constructor(){super(...arguments),h(this,"_actions")}static get pluginName(){return"PendingActions"}static get isOfficialPlugin(){return!0}init(){this.set("hasAny",!1),this._actions=new _e({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(e){if(typeof e!="string")throw new b("pendingactions-add-invalid-message",this);const t=new(ue());return t.set("message",e),this._actions.add(t),this.hasAny=!0,t}remove(e){this._actions.remove(e),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class iC extends ue(){constructor(){super(),h(this,"total"),h(this,"_reader"),h(this,"_data");const e=new window.FileReader;this._reader=e,this._data=void 0,this.set("loaded",0),e.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(e){const t=this._reader;return this.total=e.size,new Promise((i,o)=>{t.onload=()=>{const s=t.result;this._data=s,i(s)},t.onerror=()=>{o("error")},t.onabort=()=>{o("aborted")},this._reader.readAsDataURL(e)})}abort(){this._reader.abort()}}class At extends w{constructor(){super(...arguments),h(this,"loaders",new _e),h(this,"_loadersMap",new Map),h(this,"_pendingAction",null)}static get pluginName(){return"FileRepository"}static get isOfficialPlugin(){return!0}static get requires(){return[ld]}init(){this.loaders.on("change",()=>this._updatePendingAction()),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(e,t)=>t?e/t*100:0)}getLoader(e){return this._loadersMap.get(e)||null}createLoader(e){if(!this.createUploadAdapter)return J("filerepository-no-upload-adapter"),null;const t=new cd(Promise.resolve(e),this.createUploadAdapter);return this.loaders.add(t),this._loadersMap.set(e,t),e instanceof Promise&&t.file.then(i=>{this._loadersMap.set(i,t)}).catch(()=>{}),t.on("change:uploaded",()=>{let i=0;for(const o of this.loaders)i+=o.uploaded;this.uploaded=i}),t.on("change:uploadTotal",()=>{let i=0;for(const o of this.loaders)o.uploadTotal&&(i+=o.uploadTotal);this.uploadTotal=i}),t}destroyLoader(e){const t=e instanceof cd?e:this.getLoader(e);t._destroy(),this.loaders.remove(t),this._loadersMap.forEach((i,o)=>{i===t&&this._loadersMap.delete(o)})}_updatePendingAction(){const e=this.editor.plugins.get(ld);if(this.loaders.length){if(!this._pendingAction){const t=this.editor.t,i=o=>`${t("Upload in progress")} ${parseInt(o)}%.`;this._pendingAction=e.add(i(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",i)}}else e.remove(this._pendingAction),this._pendingAction=null}}class cd extends ue(){constructor(e,t){super(),h(this,"id"),h(this,"_filePromiseWrapper"),h(this,"_adapter"),h(this,"_reader"),this.id=ze(),this._filePromiseWrapper=this._createFilePromiseWrapper(e),this._adapter=t(this),this._reader=new iC,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(i,o)=>o?i/o*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(e=>this._filePromiseWrapper?e:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if(this.status!="idle")throw new b("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(e=>this._reader.read(e)).then(e=>{if(this.status!=="reading")throw this.status;return this.status="idle",e}).catch(e=>{throw e==="aborted"?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:e)})}upload(){if(this.status!="idle")throw new b("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(e=>(this.uploadResponse=e,this.status="idle",e)).catch(e=>{throw this.status==="aborted"?"aborted":(this.status="error",e)})}abort(){const e=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?e=="reading"?this._reader.abort():e=="uploading"&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(e){const t={};return t.promise=new Promise((i,o)=>{t.rejecter=o,t.isFulfilled=!1,e.then(s=>{t.isFulfilled=!0,i(s)}).catch(s=>{t.isFulfilled=!0,o(s)})}),t}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const ud="ckCsrfToken",hd=40,dd="abcdefghijklmnopqrstuvwxyz0123456789";function nC(){let n=oC(ud);return(!n||n.length!=hd)&&(n=rC(hd),sC(ud,n)),n}function oC(n){n=n.toLowerCase();const e=document.cookie.split(";");for(const t of e){const i=t.split("=");if(decodeURIComponent(i[0].trim().toLowerCase())===n)return decodeURIComponent(i[1])}return null}function sC(n,e){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(e)+";path=/"}function rC(n){let e="";const t=new Uint8Array(n);window.crypto.getRandomValues(t);for(let i=0;i.5?o.toUpperCase():o}return e}class aC extends w{static get requires(){return[At]}static get pluginName(){return"CKFinderUploadAdapter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(At).createUploadAdapter=t=>new lC(t,e,this.editor.t))}}class lC{constructor(e,t,i){h(this,"loader"),h(this,"url"),h(this,"t"),h(this,"xhr"),this.loader=e,this.url=t,this.t=i}upload(){return this.loader.file.then(e=>new Promise((t,i)=>{this._initRequest(),this._initListeners(t,i,e),this._sendRequest(e)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,t,i){const o=this.xhr,s=this.loader,r=this.t,a=r("Cannot upload file:")+` ${i.name}.`;o.addEventListener("error",()=>t(a)),o.addEventListener("abort",()=>t()),o.addEventListener("load",()=>{const l=o.response;if(!l||!l.uploaded)return t(l&&l.error&&l.error.message?l.error.message:a);e({default:l.url})});/* istanbul ignore else -- @preserve */o.upload&&o.upload.addEventListener("progress",l=>{l.lengthComputable&&(s.uploadTotal=l.total,s.uploaded=l.loaded)})}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",nC()),this.xhr.send(t)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */var cC='',dw='',mw='',nu='',uC='',fw='',hC='',gw='',dC='',mC='',fC='',gC='',ou='',_o='',pw='',Es='',md='',pC='',wC='',bC='',_C='',vC='',da='',yC='',kC='',fd='',CC='',AC='',gd='',pd='',xC='',TC='',EC='',SC='',PC='',IC='',VC='',RC='',OC='',BC='',wd='',MC='',LC='',FC='',NC='',DC='',zC='',HC='',$C='',WC='',jC='',UC='',qC='',ww='',su='',Mr='',GC='',ru='',Lr='',bw='',_w='',vw='',KC='',ZC='',JC='',QC='',YC='',bd='',XC='',yw='',kw='',eA='',tA='',li='',iA=` +`,nA='',_d='',oA='',sA='',rA='',aA='',lA=` +`,cA='',uA='',hA='',dA='',mA='',fA='',gA='',pA='',wA='',vd='',bA='',_A='',au='',vA='',yA='',yd='',kA='';function lu(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var kd,Cd;function Cw(){return Cd||(Cd=1,kd={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),kd}var CA=Cw();const Ad=lu(CA);var xd={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function Td(n){var e,t=[],i=1,o;if(typeof n=="string")if(Ad[n])t=Ad[n].slice(),o="rgb";else if(n==="transparent")i=0,o="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1),r=s.length,a=r<=4;i=1,a?(t=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],r===4&&(i=parseInt(s[3]+s[3],16)/255)):(t=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],r===8&&(i=parseInt(s[6]+s[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),o="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var l=e[1],c=l==="rgb",s=l.replace(/a$/,"");o=s;var r=s==="cmyk"?4:s==="gray"?1:3;t=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(m,f){if(/%$/.test(m))return f===r?parseFloat(m)/100:s==="rgb"?parseFloat(m)*255/100:parseFloat(m);if(s[f]==="h"){if(/deg$/.test(m))return parseFloat(m);if(xd[m]!==void 0)return xd[m]}return parseFloat(m)}),l===s&&t.push(1),i=c||t[r]===void 0?1:t[r],t=t.slice(0,r)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(t=n.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),o=n.match(/([a-z])/ig).join("").toLowerCase());else isNaN(n)?Array.isArray(n)||n.length?(t=[n[0],n[1],n[2]],o="rgb",i=n.length===4?n[3]:1):n instanceof Object&&(n.r!=null||n.red!=null||n.R!=null?(o="rgb",t=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(o="hsl",t=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),i=n.a||n.alpha||n.opacity||1,n.opacity!=null&&(i/=100)):(o="rgb",t=[n>>>16,(n&65280)>>>8,n&255]);return{space:o,values:t,alpha:i}}var Ua,Ed;function Aw(){if(Ed)return Ua;Ed=1;const n=Cw(),e={};for(const o of Object.keys(n))e[n[o]]=o;const t={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Ua=t;for(const o of Object.keys(t)){if(!("channels"in t[o]))throw new Error("missing channels property: "+o);if(!("labels"in t[o]))throw new Error("missing channel labels property: "+o);if(t[o].labels.length!==t[o].channels)throw new Error("channel and label counts mismatch: "+o);const{channels:s,labels:r}=t[o];delete t[o].channels,delete t[o].labels,Object.defineProperty(t[o],"channels",{value:s}),Object.defineProperty(t[o],"labels",{value:r})}t.rgb.hsl=function(o){const s=o[0]/255,r=o[1]/255,a=o[2]/255,l=Math.min(s,r,a),c=Math.max(s,r,a),u=c-l;let d,m;c===l?d=0:s===c?d=(r-a)/u:r===c?d=2+(a-s)/u:a===c&&(d=4+(s-r)/u),d=Math.min(d*60,360),d<0&&(d+=360);const f=(l+c)/2;return c===l?m=0:f<=.5?m=u/(c+l):m=u/(2-c-l),[d,m*100,f*100]},t.rgb.hsv=function(o){let s,r,a,l,c;const u=o[0]/255,d=o[1]/255,m=o[2]/255,f=Math.max(u,d,m),g=f-Math.min(u,d,m),p=function(_){return(f-_)/6/g+1/2};return g===0?(l=0,c=0):(c=g/f,s=p(u),r=p(d),a=p(m),u===f?l=a-r:d===f?l=1/3+s-a:m===f&&(l=2/3+r-s),l<0?l+=1:l>1&&(l-=1)),[l*360,c*100,f*100]},t.rgb.hwb=function(o){const s=o[0],r=o[1];let a=o[2];const l=t.rgb.hsl(o)[0],c=1/255*Math.min(s,Math.min(r,a));return a=1-1/255*Math.max(s,Math.max(r,a)),[l,c*100,a*100]},t.rgb.cmyk=function(o){const s=o[0]/255,r=o[1]/255,a=o[2]/255,l=Math.min(1-s,1-r,1-a),c=(1-s-l)/(1-l)||0,u=(1-r-l)/(1-l)||0,d=(1-a-l)/(1-l)||0;return[c*100,u*100,d*100,l*100]};function i(o,s){return(o[0]-s[0])**2+(o[1]-s[1])**2+(o[2]-s[2])**2}return t.rgb.keyword=function(o){const s=e[o];if(s)return s;let r=1/0,a;for(const l of Object.keys(n)){const c=n[l],u=i(o,c);u.04045?((s+.055)/1.055)**2.4:s/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;const l=s*.4124+r*.3576+a*.1805,c=s*.2126+r*.7152+a*.0722,u=s*.0193+r*.1192+a*.9505;return[l*100,c*100,u*100]},t.rgb.lab=function(o){const s=t.rgb.xyz(o);let r=s[0],a=s[1],l=s[2];r/=95.047,a/=100,l/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;const c=116*a-16,u=500*(r-a),d=200*(a-l);return[c,u,d]},t.hsl.rgb=function(o){const s=o[0]/360,r=o[1]/100,a=o[2]/100;let l,c,u;if(r===0)return u=a*255,[u,u,u];a<.5?l=a*(1+r):l=a+r-a*r;const d=2*a-l,m=[0,0,0];for(let f=0;f<3;f++)c=s+1/3*-(f-1),c<0&&c++,c>1&&c--,6*c<1?u=d+(l-d)*6*c:2*c<1?u=l:3*c<2?u=d+(l-d)*(2/3-c)*6:u=d,m[f]=u*255;return m},t.hsl.hsv=function(o){const s=o[0];let r=o[1]/100,a=o[2]/100,l=r;const c=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,l*=c<=1?c:2-c;const u=(a+r)/2,d=a===0?2*l/(c+l):2*r/(a+r);return[s,d*100,u*100]},t.hsv.rgb=function(o){const s=o[0]/60,r=o[1]/100;let a=o[2]/100;const l=Math.floor(s)%6,c=s-Math.floor(s),u=255*a*(1-r),d=255*a*(1-r*c),m=255*a*(1-r*(1-c));switch(a*=255,l){case 0:return[a,m,u];case 1:return[d,a,u];case 2:return[u,a,m];case 3:return[u,d,a];case 4:return[m,u,a];case 5:return[a,u,d]}},t.hsv.hsl=function(o){const s=o[0],r=o[1]/100,a=o[2]/100,l=Math.max(a,.01);let c,u;u=(2-r)*a;const d=(2-r)*l;return c=r*l,c/=d<=1?d:2-d,c=c||0,u/=2,[s,c*100,u*100]},t.hwb.rgb=function(o){const s=o[0]/360;let r=o[1]/100,a=o[2]/100;const l=r+a;let c;l>1&&(r/=l,a/=l);const u=Math.floor(6*s),d=1-a;c=6*s-u,(u&1)!==0&&(c=1-c);const m=r+c*(d-r);let f,g,p;switch(u){default:case 6:case 0:f=d,g=m,p=r;break;case 1:f=m,g=d,p=r;break;case 2:f=r,g=d,p=m;break;case 3:f=r,g=m,p=d;break;case 4:f=m,g=r,p=d;break;case 5:f=d,g=r,p=m;break}return[f*255,g*255,p*255]},t.cmyk.rgb=function(o){const s=o[0]/100,r=o[1]/100,a=o[2]/100,l=o[3]/100,c=1-Math.min(1,s*(1-l)+l),u=1-Math.min(1,r*(1-l)+l),d=1-Math.min(1,a*(1-l)+l);return[c*255,u*255,d*255]},t.xyz.rgb=function(o){const s=o[0]/100,r=o[1]/100,a=o[2]/100;let l,c,u;return l=s*3.2406+r*-1.5372+a*-.4986,c=s*-.9689+r*1.8758+a*.0415,u=s*.0557+r*-.204+a*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,l=Math.min(Math.max(0,l),1),c=Math.min(Math.max(0,c),1),u=Math.min(Math.max(0,u),1),[l*255,c*255,u*255]},t.xyz.lab=function(o){let s=o[0],r=o[1],a=o[2];s/=95.047,r/=100,a/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;const l=116*r-16,c=500*(s-r),u=200*(r-a);return[l,c,u]},t.lab.xyz=function(o){const s=o[0],r=o[1],a=o[2];let l,c,u;c=(s+16)/116,l=r/500+c,u=c-a/200;const d=c**3,m=l**3,f=u**3;return c=d>.008856?d:(c-16/116)/7.787,l=m>.008856?m:(l-16/116)/7.787,u=f>.008856?f:(u-16/116)/7.787,l*=95.047,c*=100,u*=108.883,[l,c,u]},t.lab.lch=function(o){const s=o[0],r=o[1],a=o[2];let l;l=Math.atan2(a,r)*360/2/Math.PI,l<0&&(l+=360);const c=Math.sqrt(r*r+a*a);return[s,c,l]},t.lch.lab=function(o){const s=o[0],r=o[1],a=o[2]/360*2*Math.PI,l=r*Math.cos(a),c=r*Math.sin(a);return[s,l,c]},t.rgb.ansi16=function(o,s=null){const[r,a,l]=o;let c=s===null?t.rgb.hsv(o)[2]:s;if(c=Math.round(c/50),c===0)return 30;let u=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return c===2&&(u+=60),u},t.hsv.ansi16=function(o){return t.rgb.ansi16(t.hsv.rgb(o),o[2])},t.rgb.ansi256=function(o){const s=o[0],r=o[1],a=o[2];return s===r&&r===a?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},t.ansi16.rgb=function(o){let s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),s=s/10.5*255,[s,s,s];const r=(~~(o>50)+1)*.5,a=(s&1)*r*255,l=(s>>1&1)*r*255,c=(s>>2&1)*r*255;return[a,l,c]},t.ansi256.rgb=function(o){if(o>=232){const c=(o-232)*10+8;return[c,c,c]}o-=16;let s;const r=Math.floor(o/36)/5*255,a=Math.floor((s=o%36)/6)/5*255,l=s%6/5*255;return[r,a,l]},t.rgb.hex=function(o){const s=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},t.hex.rgb=function(o){const s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let r=s[0];s[0].length===3&&(r=r.split("").map(d=>d+d).join(""));const a=parseInt(r,16),l=a>>16&255,c=a>>8&255,u=a&255;return[l,c,u]},t.rgb.hcg=function(o){const s=o[0]/255,r=o[1]/255,a=o[2]/255,l=Math.max(Math.max(s,r),a),c=Math.min(Math.min(s,r),a),u=l-c;let d,m;return u<1?d=c/(1-u):d=0,u<=0?m=0:l===s?m=(r-a)/u%6:l===r?m=2+(a-s)/u:m=4+(s-r)/u,m/=6,m%=1,[m*360,u*100,d*100]},t.hsl.hcg=function(o){const s=o[1]/100,r=o[2]/100,a=r<.5?2*s*r:2*s*(1-r);let l=0;return a<1&&(l=(r-.5*a)/(1-a)),[o[0],a*100,l*100]},t.hsv.hcg=function(o){const s=o[1]/100,r=o[2]/100,a=s*r;let l=0;return a<1&&(l=(r-a)/(1-a)),[o[0],a*100,l*100]},t.hcg.rgb=function(o){const s=o[0]/360,r=o[1]/100,a=o[2]/100;if(r===0)return[a*255,a*255,a*255];const l=[0,0,0],c=s%1*6,u=c%1,d=1-u;let m=0;switch(Math.floor(c)){case 0:l[0]=1,l[1]=u,l[2]=0;break;case 1:l[0]=d,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=u;break;case 3:l[0]=0,l[1]=d,l[2]=1;break;case 4:l[0]=u,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=d}return m=(1-r)*a,[(r*l[0]+m)*255,(r*l[1]+m)*255,(r*l[2]+m)*255]},t.hcg.hsv=function(o){const s=o[1]/100,r=o[2]/100,a=s+r*(1-s);let l=0;return a>0&&(l=s/a),[o[0],l*100,a*100]},t.hcg.hsl=function(o){const s=o[1]/100,r=o[2]/100*(1-s)+.5*s;let a=0;return r>0&&r<.5?a=s/(2*r):r>=.5&&r<1&&(a=s/(2*(1-r))),[o[0],a*100,r*100]},t.hcg.hwb=function(o){const s=o[1]/100,r=o[2]/100,a=s+r*(1-s);return[o[0],(a-s)*100,(1-a)*100]},t.hwb.hcg=function(o){const s=o[1]/100,r=1-o[2]/100,a=r-s;let l=0;return a<1&&(l=(r-a)/(1-a)),[o[0],a*100,l*100]},t.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},t.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},t.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},t.gray.hsl=function(o){return[0,0,o[0]]},t.gray.hsv=t.gray.hsl,t.gray.hwb=function(o){return[0,100,o[0]]},t.gray.cmyk=function(o){return[0,0,0,o[0]]},t.gray.lab=function(o){return[o[0],0,0]},t.gray.hex=function(o){const s=Math.round(o[0]/100*255)&255,r=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(r.length)+r},t.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]},Ua}var qa,Sd;function AA(){if(Sd)return qa;Sd=1;const n=Aw();function e(){const s={},r=Object.keys(n);for(let a=r.length,l=0;l1&&(l=c),r(l))};return"conversion"in r&&(a.conversion=r.conversion),a}function s(r){const a=function(...l){const c=l[0];if(c==null)return c;c.length>1&&(l=c);const u=r(l);if(typeof u=="object")for(let d=u.length,m=0;m{t[r]={},Object.defineProperty(t[r],"channels",{value:n[r].channels}),Object.defineProperty(t[r],"labels",{value:n[r].labels});const a=e(r);Object.keys(a).forEach(l=>{const c=a[l];t[r][l]=s(c),t[r][l].raw=o(c)})}),Ga=t,Ga}var xw=xA();const TA=lu(xw),Tw=U0({__proto__:null,default:TA},[xw]),gs=(n,e=0,t=1)=>n>t?t:nMath.round(t*n)/t,EA=n=>RA(Jl(n)),Jl=n=>(n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?qe(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?qe(parseInt(n.substring(6,8),16)/255,2):1}),SA=n=>VA(IA(n)),PA=({h:n,s:e,v:t,a:i})=>{const o=(200-e)*t/100;return{h:qe(n),s:qe(o>0&&o<200?e*t/100/(o<=100?o:200-o)*100:0),l:qe(o/2),a:qe(i,2)}},Ql=n=>{const{h:e,s:t,l:i}=PA(n);return`hsl(${e}, ${t}%, ${i}%)`},IA=({h:n,s:e,v:t,a:i})=>{n=n/360*6,e=e/100,t=t/100;const o=Math.floor(n),s=t*(1-e),r=t*(1-(n-o)*e),a=t*(1-(1-n+o)*e),l=o%6;return{r:qe([t,r,s,s,a,t][l]*255),g:qe([a,t,t,r,s,s][l]*255),b:qe([s,s,a,t,t,r][l]*255),a:qe(i,2)}},Us=n=>{const e=n.toString(16);return e.length<2?"0"+e:e},VA=({r:n,g:e,b:t,a:i})=>{const o=i<1?Us(qe(i*255)):"";return"#"+Us(n)+Us(e)+Us(t)+o},RA=({r:n,g:e,b:t,a:i})=>{const o=Math.max(n,e,t),s=o-Math.min(n,e,t),r=s?o===n?(e-t)/s:o===e?2+(t-n)/s:4+(n-e)/s:0;return{h:qe(60*(r<0?r+6:r)),s:qe(o?s/o*100:0),v:qe(o/255*100),a:i}},Ew=(n,e)=>{if(n===e)return!0;for(const t in n)if(n[t]!==e[t])return!1;return!0},OA=(n,e)=>n.toLowerCase()===e.toLowerCase()?!0:Ew(Jl(n),Jl(e)),Id={},Sw=n=>{let e=Id[n];return e||(e=document.createElement("template"),e.innerHTML=n,Id[n]=e),e},cu=(n,e,t)=>{n.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:t}))};let ro=!1;const Yl=n=>"touches"in n,BA=n=>ro&&!Yl(n)?!1:(ro||(ro=Yl(n)),!0),Vd=(n,e)=>{const t=Yl(e)?e.touches[0]:e,i=n.el.getBoundingClientRect();cu(n.el,"move",n.getMove({x:gs((t.pageX-(i.left+window.pageXOffset))/i.width),y:gs((t.pageY-(i.top+window.pageYOffset))/i.height)}))},MA=(n,e)=>{const t=e.keyCode;t>40||n.xy&&t<37||t<33||(e.preventDefault(),cu(n.el,"move",n.getMove({x:t===39?.01:t===37?-.01:t===34?.05:t===33?-.05:t===35?1:t===36?-1:0,y:t===40?.01:t===38?-.01:0},!0)))};class Pw{constructor(e,t,i,o){const s=Sw(`
`);e.appendChild(s.content.cloneNode(!0));const r=e.querySelector(`[part=${t}]`);r.addEventListener("mousedown",this),r.addEventListener("touchstart",this),r.addEventListener("keydown",this),this.el=r,this.xy=o,this.nodes=[r.firstChild,r]}set dragging(e){const t=e?document.addEventListener:document.removeEventListener;t(ro?"touchmove":"mousemove",this),t(ro?"touchend":"mouseup",this)}handleEvent(e){switch(e.type){case"mousedown":case"touchstart":if(e.preventDefault(),!BA(e)||!ro&&e.button!=0)return;this.el.focus(),Vd(this,e),this.dragging=!0;break;case"mousemove":case"touchmove":e.preventDefault(),Vd(this,e);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":MA(this,e);break}}style(e){e.forEach((t,i)=>{for(const o in t)this.nodes[i].style.setProperty(o,t[o])})}}class LA extends Pw{constructor(e){super(e,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:e}){this.h=e,this.style([{left:`${e/360*100}%`,color:Ql({h:e,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${qe(e)}`)}getMove(e,t){return{h:t?gs(this.h+e.x*360,0,360):360*e.x}}}class FA extends Pw{constructor(e){super(e,"saturation",'aria-label="Color"',!0)}update(e){this.hsva=e,this.style([{top:`${100-e.v}%`,left:`${e.s}%`,color:Ql(e)},{"background-color":Ql({h:e.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${qe(e.s)}%, Brightness ${qe(e.v)}%`)}getMove(e,t){return{s:t?gs(this.hsva.s+e.x*100,0,100):e.x*100,v:t?gs(this.hsva.v-e.y*100,0,100):Math.round(100-e.y*100)}}}const NA=':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',DA="[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}",zA="[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}",qs=Symbol("same"),Ka=Symbol("color"),Rd=Symbol("hsva"),Za=Symbol("update"),Od=Symbol("parts"),Bd=Symbol("css"),Md=Symbol("sliders");class HA extends HTMLElement{static get observedAttributes(){return["color"]}get[Bd](){return[NA,DA,zA]}get[Md](){return[FA,LA]}get color(){return this[Ka]}set color(e){if(!this[qs](e)){const t=this.colorModel.toHsva(e);this[Za](t),this[Ka]=e}}constructor(){super();const e=Sw(``),t=this.attachShadow({mode:"open"});t.appendChild(e.content.cloneNode(!0)),t.addEventListener("move",this),this[Od]=this[Md].map(i=>new i(t))}connectedCallback(){if(this.hasOwnProperty("color")){const e=this.color;delete this.color,this.color=e}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(e,t,i){const o=this.colorModel.fromAttr(i);this[qs](o)||(this.color=o)}handleEvent(e){const t=this[Rd],i={...t,...e.detail};this[Za](i);let o;!Ew(i,t)&&!this[qs](o=this.colorModel.fromHsva(i))&&(this[Ka]=o,cu(this,"color-changed",{value:o}))}[qs](e){return this.color&&this.colorModel.equal(e,this.color)}[Za](e){this[Rd]=e,this[Od].forEach(t=>t.update(e))}}const $A={defaultColor:"#000",toHsva:EA,fromHsva:({h:n,s:e,v:t})=>SA({h:n,s:e,v:t,a:1}),equal:OA,fromAttr:n=>n};class WA extends HA{get colorModel(){return $A}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class Ie extends _e{constructor(e=[]){super(e,{idProperty:"viewUid"}),h(this,"_parentElement"),this.on("add",(t,i,o)=>{this._renderViewIntoCollectionParent(i,o)}),this.on("remove",(t,i)=>{i.element&&this._parentElement&&i.element.remove()}),this._parentElement=null}destroy(){this.map(e=>e.destroy())}setParent(e){this._parentElement=e;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...e){if(!e.length||!jA(e))throw new b("ui-viewcollection-delegate-wrong-events",this);return{to:t=>{for(const i of this)for(const o of e)i.delegate(o).to(t);this.on("add",(i,o)=>{for(const s of e)o.delegate(s).to(t)}),this.on("remove",(i,o)=>{for(const s of e)o.stopDelegating(s,t)})}}}_renderViewIntoCollectionParent(e,t){e.isRendered||e.render(),e.element&&this._parentElement&&this._parentElement.insertBefore(e.element,this._parentElement.children[t])}remove(e){return super.remove(e)}}function jA(n){return n.every(e=>typeof e=="string")}const UA="http://www.w3.org/1999/xhtml";class qt extends ge(){constructor(e){super(),h(this,"ns"),h(this,"tag"),h(this,"text"),h(this,"attributes"),h(this,"children"),h(this,"eventListeners"),h(this,"_isRendered"),h(this,"_revertData"),Object.assign(this,Fd(Ld(e))),this._isRendered=!1,this._revertData=null}render(){const e=this._renderNode({intoFragment:!0});return this._isRendered=!0,e}apply(e){return this._revertData=zd(),this._renderNode({node:e,intoFragment:!1,isApplying:!0,revertData:this._revertData}),e}revert(e){if(!this._revertData)throw new b("ui-template-revert-not-applied",[this,e]);this._revertTemplateFromNode(e,this._revertData)}*getViews(){function*e(t){if(t.children)for(const i of t.children)Fr(i)?yield i:uu(i)&&(yield*e(i))}yield*e(this)}static bind(e,t){return{to(i,o){return new qA({eventNameOrFunction:i,attribute:i,observable:e,emitter:t,callback:o})},if(i,o,s){return new Iw({observable:e,emitter:t,attribute:i,valueIfTrue:o,callback:s})}}}static extend(e,t){if(e._isRendered)throw new b("template-extend-render",[this,e]);Bw(e,Fd(Ld(t)))}_renderNode(e){let t;if(e.node?t=this.tag&&this.text:t=this.tag?this.text:!this.text,t)throw new b("ui-template-wrong-syntax",this);return this.text?this._renderText(e):this._renderElement(e)}_renderElement(e){let t=e.node;return t||(t=e.node=document.createElementNS(this.ns||UA,this.tag)),this._renderAttributes(e),this._renderElementChildren(e),this._setUpListeners(e),t}_renderText(e){let t=e.node;return t?e.revertData.text=t.textContent:t=e.node=document.createTextNode(""),ur(this.text)?this._bindToObservable({schema:this.text,updater:KA(t),data:e}):t.textContent=this.text.join(""),t}_renderAttributes(e){if(!this.attributes)return;const t=e.node,i=e.revertData;for(const o in this.attributes){const s=t.getAttribute(o),r=this.attributes[o];i&&(i.attributes[o]=s);const a=Dd(r)?r[0].ns:null;if(ur(r)){const l=Dd(r)?r[0].value:r;i&&Hd(o)&&l.unshift(s),this._bindToObservable({schema:l,updater:ZA(t,o,a),data:e})}else if(o=="style"&&typeof r[0]!="string")this._renderStyleAttribute(r[0],e);else{i&&s&&Hd(o)&&r.unshift(s);const l=r.map(c=>c&&(c.value||c)).reduce((c,u)=>c.concat(u),[]).reduce(Ow,"");uo(l)||t.setAttributeNS(a,o,l)}}}_renderStyleAttribute(e,t){const i=t.node;for(const o in e){const s=e[o];ur(s)?this._bindToObservable({schema:[s],updater:JA(i,o),data:t}):i.style[o]=s}}_renderElementChildren(e){const t=e.node,i=e.intoFragment?document.createDocumentFragment():t,o=e.isApplying;let s=0;for(const r of this.children)if(hu(r)){if(!o){r.setParent(t);for(const a of r)i.appendChild(a.element)}}else if(Fr(r))o||(r.isRendered||r.render(),i.appendChild(r.element));else if(Zi(r))i.appendChild(r);else if(o){const a=e.revertData,l=zd();a.children.push(l),r._renderNode({intoFragment:!1,node:i.childNodes[s++],isApplying:!0,revertData:l})}else i.appendChild(r.render());e.intoFragment&&t.appendChild(i)}_setUpListeners(e){if(this.eventListeners)for(const t in this.eventListeners){const i=this.eventListeners[t].map(o=>{const[s,r]=t.split("@");return o.activateDomEventListener(s,r,e)});e.revertData&&e.revertData.bindings.push(i)}}_bindToObservable({schema:e,updater:t,data:i}){const o=i.revertData;Vw(e,t,i);const s=e.filter(r=>!uo(r)).filter(r=>r.observable).map(r=>r.activateAttributeListener(e,t,i));o&&o.bindings.push(s)}_revertTemplateFromNode(e,t){for(const o of t.bindings)for(const s of o)s();if(t.text){e.textContent=t.text;return}const i=e;for(const o in t.attributes){const s=t.attributes[o];s===null?i.removeAttribute(o):i.setAttribute(o,s)}for(let o=0;oVw(e,t,i);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class qA extends Ss{constructor(e){super(e),h(this,"eventNameOrFunction"),this.eventNameOrFunction=e.eventNameOrFunction}activateDomEventListener(e,t,i){const o=(s,r)=>{(!t||r.target.matches(t))&&(typeof this.eventNameOrFunction=="function"?this.eventNameOrFunction(r):this.observable.fire(this.eventNameOrFunction,r))};return this.emitter.listenTo(i.node,e,o),()=>{this.emitter.stopListening(i.node,e,o)}}}class Iw extends Ss{constructor(e){super(e),h(this,"valueIfTrue"),this.valueIfTrue=e.valueIfTrue}getValue(e){const t=super.getValue(e);return uo(t)?!1:this.valueIfTrue||!0}}function ur(n){return n?(n.value&&(n=n.value),Array.isArray(n)?n.some(ur):n instanceof Ss):!1}function GA(n,e){return n.map(t=>t instanceof Ss?t.getValue(e):t)}function Vw(n,e,{node:t}){const i=GA(n,t);let o;n.length==1&&n[0]instanceof Iw?o=i[0]:o=i.reduce(Ow,""),uo(o)?e.remove():e.set(o)}function KA(n){return{set(e){n.textContent=e},remove(){n.textContent=""}}}function ZA(n,e,t){return{set(i){n.setAttributeNS(t,e,i)},remove(){n.removeAttributeNS(t,e)}}}function JA(n,e){return{set(t){n.style[e]=t},remove(){n.style[e]=null}}}function Ld(n){return Xr(n,e=>{if(e&&(e instanceof Ss||uu(e)||Fr(e)||hu(e)))return e})}function Fd(n){if(typeof n=="string"?n=XA(n):n.text&&ex(n),n.on&&(n.eventListeners=YA(n.on),delete n.on),!n.text){n.attributes&&QA(n.attributes);const e=[];if(n.children)if(hu(n.children))e.push(n.children);else for(const t of n.children)uu(t)||Fr(t)||Zi(t)?e.push(t):e.push(new qt(t));n.children=e}return n}function QA(n){for(const e in n)n[e].value&&(n[e].value=he(n[e].value)),Rw(n,e)}function YA(n){for(const e in n)Rw(n,e);return n}function XA(n){return{text:[n]}}function ex(n){n.text=he(n.text)}function Rw(n,e){n[e]=he(n[e])}function Ow(n,e){return uo(e)?n:uo(n)?e:`${n} ${e}`}function Nd(n,e){for(const t in e)n[t]?n[t].push(...e[t]):n[t]=e[t]}function Bw(n,e){if(e.attributes&&(n.attributes||(n.attributes={}),Nd(n.attributes,e.attributes)),e.eventListeners&&(n.eventListeners||(n.eventListeners={}),Nd(n.eventListeners,e.eventListeners)),e.text&&n.text.push(...e.text),e.children&&e.children.length){if(n.children.length!=e.children.length)throw new b("ui-template-extend-children-mismatch",n);let t=0;for(const i of e.children)Bw(n.children[t++],i)}}function uo(n){return!n&&n!==0}function Fr(n){return n instanceof A}function uu(n){return n instanceof qt}function hu(n){return n instanceof Ie}function Dd(n){return Et(n[0])&&n[0].ns}function zd(){return{children:[],bindings:[],attributes:{}}}function Hd(n){return n=="class"||n=="style"}class A extends st(ue()){constructor(e){super(),h(this,"element"),h(this,"isRendered"),h(this,"locale"),h(this,"t"),h(this,"template"),h(this,"_viewCollections"),h(this,"_unboundChildren"),h(this,"_bindTemplate"),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new _e,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(t,i)=>{i.locale=e,i.t=e&&e.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=qt.bind(this,this)}createCollection(e){const t=new Ie(e);return this._viewCollections.add(t),t}registerChild(e){Pt(e)||(e=[e]);for(const t of e)this._unboundChildren.add(t)}deregisterChild(e){Pt(e)||(e=[e]);for(const t of e)this._unboundChildren.remove(t)}setTemplate(e){this.template=new qt(e)}extendTemplate(e){qt.extend(this.template,e)}render(){if(this.isRendered)throw new b("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(e=>e.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function $t({emitter:n,activator:e,callback:t,contextElements:i,listenerOptions:o}){n.listenTo(document,"mousedown",(s,r)=>{if(!e())return;const a=typeof r.composedPath=="function"?r.composedPath():[],l=typeof i=="function"?i():i;for(const c of l)if(c.contains(r.target)||a.includes(c))return;t()},o)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ho(n){class e extends n{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...i){super(...i),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}return e}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Ri({view:n}){n.listenTo(n.element,"submit",(e,t)=>{t.preventDefault(),n.fire("submit")},{useCapture:!0})}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function vo({keystrokeHandler:n,focusTracker:e,gridItems:t,numberOfColumns:i,uiLanguageDirection:o}){const s=typeof i=="number"?()=>i:i;n.set("arrowright",r((c,u)=>o==="rtl"?l(c,u.length):a(c,u.length))),n.set("arrowleft",r((c,u)=>o==="rtl"?a(c,u.length):l(c,u.length))),n.set("arrowup",r((c,u)=>{let d=c-s();return d<0&&(d=c+s()*Math.floor(u.length/s()),d>u.length-1&&(d-=s())),d})),n.set("arrowdown",r((c,u)=>{let d=c+s();return d>u.length-1&&(d=c%s()),d}));function r(c){return u=>{const d=t.find(g=>g.element===e.focusedElement),m=t.getIndex(d),f=c(m,t);t.get(f).focus(),u.stopPropagation(),u.preventDefault()}}function a(c,u){return c===u-1?0:c+1}function l(c,u){return c===0?u-1:c-1}}const Mw=class Lw extends A{constructor(){super();const e=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",e.if("isVisible","ck-hidden",t=>!t),"ck-reset_all-excluded",e.if("isColorInherited","ck-icon_inherit-color")],viewBox:e.to("viewBox"),"aria-hidden":!0}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const e=new DOMParser().parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg");if(!e)throw new b("ui-iconview-invalid-svg",this);const t=e.getAttribute("viewBox");t&&(this.viewBox=t);for(const{name:i,value:o}of Array.from(e.attributes))Lw.presentationalAttributeNames.includes(i)&&this.element.setAttribute(i,o);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;e.childNodes.length>0;)this.element.appendChild(e.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(e=>{e.style.fill=this.fillColor})}};h(Mw,"presentationalAttributeNames",["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"]);let hi=Mw;class Fw extends A{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const e=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:e.to("style"),id:e.to("id")},children:[{text:e.to("text")}]})}}class P extends A{constructor(e,t=new Fw){super(e),h(this,"children"),h(this,"labelView"),h(this,"iconView"),h(this,"keystrokeView"),h(this,"_focusDelayed",null);const i=this.bindTemplate,o=ze();this.set("_ariaPressed",!1),this.set("_ariaChecked",!1),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${o}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(t),this.iconView=new hi,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.iconView.bind("content").to(this,"icon"),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const s={tag:"button",attributes:{class:["ck","ck-button",i.to("class"),i.if("isEnabled","ck-disabled",r=>!r),i.if("isVisible","ck-hidden",r=>!r),i.to("isOn",r=>r?"ck-on":"ck-off"),i.if("withText","ck-button_with-text"),i.if("withKeystroke","ck-button_with-keystroke")],role:i.to("role"),type:i.to("type",r=>r||"button"),tabindex:i.to("tabindex"),"aria-checked":i.to("_ariaChecked"),"aria-pressed":i.to("_ariaPressed"),"aria-label":i.to("ariaLabel"),"aria-labelledby":i.to("ariaLabelledBy"),"aria-disabled":i.if("isEnabled",!0,r=>!r),"data-cke-tooltip-text":i.to("_tooltipString"),"data-cke-tooltip-position":i.to("tooltipPosition")},children:this.children,on:{click:i.to(r=>{this.isEnabled?this.fire("execute"):r.preventDefault()})}};this.bind("_ariaPressed").to(this,"isOn",this,"isToggleable",this,"role",(r,a,l)=>!a||$d(l)?!1:String(!!r)),this.bind("_ariaChecked").to(this,"isOn",this,"isToggleable",this,"role",(r,a,l)=>!a||!$d(l)?!1:String(!!r)),N.isSafari&&(this._focusDelayed||(this._focusDelayed=$c(()=>this.focus(),0)),s.on.mousedown=i.to(()=>{this._focusDelayed()}),s.on.mouseup=i.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(s)}render(){super.render(),this.icon&&this.children.add(this.iconView),this.on("change:icon",(e,t,i,o)=>{i&&!o?this.children.add(this.iconView,0):!i&&o&&this.children.remove(this.iconView)}),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(e){return e.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),e}_createKeystrokeView(){const e=new A;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",t=>ph(t))}]}),e}_getTooltipString(e,t,i){return e?typeof e=="string"?e:(i&&(i=ph(i)),e instanceof Function?e(t,i):`${t}${i?` (${i})`:""}`):""}}function $d(n){switch(n){case"radio":case"checkbox":case"option":case"switch":case"menuitemcheckbox":case"menuitemradio":return!0;default:return!1}}class Jt extends A{constructor(e,t={}){super(e),h(this,"children"),h(this,"iconView");const i=this.bindTemplate;this.set("label",t.label||""),this.set("class",t.class||null),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__header",i.to("class")]},children:this.children}),t.icon&&(this.iconView=new hi,this.iconView.content=t.icon,this.children.add(this.iconView));const o=new A(e);o.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"],role:"presentation"},children:[{text:i.to("label")}]}),this.children.add(o)}}class Ae extends ge(){constructor(e){if(super(),h(this,"focusables"),h(this,"focusTracker"),h(this,"keystrokeHandler"),h(this,"actions"),this.focusables=e.focusables,this.focusTracker=e.focusTracker,this.keystrokeHandler=e.keystrokeHandler,this.actions=e.actions,e.actions&&e.keystrokeHandler)for(const t in e.actions){let i=e.actions[t];typeof i=="string"&&(i=[i]);for(const o of i)e.keystrokeHandler.set(o,(s,r)=>{this[t](),r()},e.keystrokeHandlerOptions)}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(Ja)||null}get last(){return this.focusables.filter(Ja).slice(-1)[0]||null}get next(){return this._getDomFocusableItem(1)}get previous(){return this._getDomFocusableItem(-1)}get current(){let e=null;return this.focusTracker.focusedElement===null?null:(this.focusables.find((t,i)=>{const o=t.element===this.focusTracker.focusedElement;return o&&(e=i),o}),e)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const e=this.next;if(e&&this.focusables.getIndex(e)===this.current){this.fire("forwardCycle");return}e===this.first?this.fire("forwardCycle"):this._focus(e,1)}focusPrevious(){const e=this.previous;if(e&&this.focusables.getIndex(e)===this.current){this.fire("backwardCycle");return}e===this.last?this.fire("backwardCycle"):this._focus(e,-1)}chain(e){const t=()=>this.current===null?null:this.focusables.get(this.current);this.listenTo(e,"forwardCycle",i=>{const o=t();this.focusNext(),o!==t()&&i.stop()},{priority:"low"}),this.listenTo(e,"backwardCycle",i=>{const o=t();this.focusPrevious(),o!==t()&&i.stop()},{priority:"low"})}unchain(e){this.stopListening(e)}_focus(e,t){e&&this.focusTracker.focusedElement!==e.element&&e.focus(t)}_getDomFocusableItem(e){const t=this.focusables.length;if(!t)return null;const i=this.current;if(i===null)return this[e===1?"first":"last"];let o=this.focusables.get(i),s=(i+t+e)%t;do{const r=this.focusables.get(s);if(Ja(r)){o=r;break}s=(s+t+e)%t}while(s!==i);return o}}function Ja(n){return yo(n)&&Gt(n.element)}function yo(n){return"focus"in n&&typeof n.focus=="function"}function Nw(n){return yo(n)&&"focusCycler"in n&&n.focusCycler instanceof Ae}function tx(n){class e extends n{constructor(...i){super(...i),h(this,"_onDragBound",this._onDrag.bind(this)),h(this,"_onDragEndBound",this._onDragEnd.bind(this)),h(this,"_lastDraggingCoordinates",{x:0,y:0}),this.on("render",()=>{this._attachListeners()}),this.set("isDragging",!1)}_attachListeners(){this.listenTo(this.element,"mousedown",this._onDragStart.bind(this)),this.listenTo(this.element,"touchstart",this._onDragStart.bind(this))}_attachDragListeners(){this.listenTo(I.document,"mouseup",this._onDragEndBound),this.listenTo(I.document,"touchend",this._onDragEndBound),this.listenTo(I.document,"mousemove",this._onDragBound),this.listenTo(I.document,"touchmove",this._onDragBound)}_detachDragListeners(){this.stopListening(I.document,"mouseup",this._onDragEndBound),this.stopListening(I.document,"touchend",this._onDragEndBound),this.stopListening(I.document,"mousemove",this._onDragBound),this.stopListening(I.document,"touchmove",this._onDragBound)}_onDragStart(i,o){if(!this._isHandleElementPressed(o))return;this._attachDragListeners();let s=0,r=0;o instanceof MouseEvent?(s=o.clientX,r=o.clientY):(s=o.touches[0].clientX,r=o.touches[0].clientY),this._lastDraggingCoordinates={x:s,y:r},this.isDragging=!0}_onDrag(i,o){if(!this.isDragging){this._detachDragListeners();return}let s=0,r=0;o instanceof MouseEvent?(s=o.clientX,r=o.clientY):(s=o.touches[0].clientX,r=o.touches[0].clientY),o.preventDefault(),this.fire("drag",{deltaX:Math.round(s-this._lastDraggingCoordinates.x),deltaY:Math.round(r-this._lastDraggingCoordinates.y)}),this._lastDraggingCoordinates={x:s,y:r}}_onDragEnd(){this._detachDragListeners(),this.isDragging=!1}_isHandleElementPressed(i){return this.dragHandleElement?this.dragHandleElement===i.target||i.target instanceof HTMLElement&&this.dragHandleElement.contains(i.target):!1}}return e}class ix extends A{constructor(e){super(e),h(this,"children"),h(this,"keystrokes"),h(this,"focusCycler"),h(this,"_focusTracker"),h(this,"_focusables"),this.children=this.createCollection(),this.keystrokes=new te,this._focusTracker=new ee,this._focusables=new Ie,this.focusCycler=new Ae({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__actions"]},children:this.children})}render(){super.render(),this.keystrokes.listenTo(this.element)}setButtons(e){for(const t of e){const i=new P(this.locale);let o;i.on("execute",()=>t.onExecute()),t.onCreate&&t.onCreate(i);for(o in t)o!="onExecute"&&o!="onCreate"&&i.set(o,t[o]);this.children.add(i)}this._updateFocusCyclableItems()}focus(e){e===-1?this.focusCycler.focusLast():this.focusCycler.focusFirst()}_updateFocusCyclableItems(){Array.from(this.children).forEach(e=>{this._focusables.add(e),this._focusTracker.add(e.element)})}}class nx extends A{constructor(e){super(e),h(this,"children"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__content"]},children:this.children})}reset(){for(;this.children.length;)this.children.remove(0)}}const vt={SCREEN_CENTER:"screen-center",EDITOR_CENTER:"editor-center",EDITOR_TOP_SIDE:"editor-top-side",EDITOR_TOP_CENTER:"editor-top-center",EDITOR_BOTTOM_CENTER:"editor-bottom-center",EDITOR_ABOVE_CENTER:"editor-above-center",EDITOR_BELOW_CENTER:"editor-below-center"},Wd=Vi("px"),Dw=class zw extends tx(A){constructor(e,{getCurrentDomRoot:t,getViewportOffset:i,keystrokeHandlerOptions:o}){super(e),h(this,"parts"),h(this,"headerView"),h(this,"closeButtonView"),h(this,"actionsView"),h(this,"contentView"),h(this,"keystrokes"),h(this,"focusTracker"),h(this,"wasMoved",!1),h(this,"_getCurrentDomRoot"),h(this,"_getViewportOffset"),h(this,"_focusables"),h(this,"_focusCycler");const s=this.bindTemplate,r=e.t;this.set("className",""),this.set("ariaLabel",r("Editor dialog")),this.set("isModal",!1),this.set("position",vt.SCREEN_CENTER),this.set("_isVisible",!1),this.set("_isTransparent",!1),this.set("_top",0),this.set("_left",0),this._getCurrentDomRoot=t,this._getViewportOffset=i,this.decorate("moveTo"),this.parts=this.createCollection(),this.keystrokes=new te,this.focusTracker=new ee,this._focusables=new Ie,this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"},keystrokeHandlerOptions:o}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog-overlay",s.if("isModal","ck-dialog-overlay__transparent",a=>!a),s.if("_isVisible","ck-hidden",a=>!a)],tabindex:"-1"},children:[{tag:"div",attributes:{tabindex:"-1",class:["ck","ck-dialog",s.if("isModal","ck-dialog_modal"),s.to("className")],role:"dialog","aria-label":s.to("ariaLabel"),style:{top:s.to("_top",a=>Wd(a)),left:s.to("_left",a=>Wd(a)),visibility:s.if("_isTransparent","hidden")}},children:this.parts}]})}render(){super.render(),this.keystrokes.set("Esc",(e,t)=>{e.defaultPrevented||(this.fire("close",{source:"escKeyPress"}),t())}),this.on("drag",(e,{deltaX:t,deltaY:i})=>{this.wasMoved=!0,this.moveBy(t,i)}),this.listenTo(I.window,"resize",()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()}),this.listenTo(I.document,"scroll",()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()}),this.on("change:_isVisible",(e,t,i)=>{i&&(this._isTransparent=!0,setTimeout(()=>{this.updatePosition(),this._isTransparent=!1,this.focus()},10))}),this.keystrokes.listenTo(this.element)}get dragHandleElement(){return this.headerView&&!this.isModal?this.headerView.element:null}setupParts({icon:e,title:t,hasCloseButton:i=!0,content:o,actionButtons:s}){t&&(this.headerView=new Jt(this.locale,{icon:e}),i&&(this.closeButtonView=this._createCloseButton(),this.headerView.children.add(this.closeButtonView)),this.headerView.label=t,this.ariaLabel=t,this.parts.add(this.headerView,0)),o&&(o instanceof A&&(o=[o]),this.contentView=new nx(this.locale),this.contentView.children.addMany(o),this.parts.add(this.contentView)),s&&(this.actionsView=new ix(this.locale),this.actionsView.setButtons(s),this.parts.add(this.actionsView)),this._updateFocusCyclableItems()}focus(){this._focusCycler.focusFirst()}moveTo(e,t){const i=this._getViewportRect(),o=this._getDialogRect();e+o.width>i.right&&(e=i.right-o.width),e{this._focusables.add(t),this.focusTracker.add(t.element),Nw(t)&&this._focusCycler.chain(t.focusCycler)})}_createCloseButton(){const e=new P(this.locale),t=this.locale.t;return e.set({label:t("Close"),tooltip:!0,icon:_o}),e.on("execute",()=>this.fire("close",{source:"closeButton"})),e}};h(Dw,"defaultOffset",15);let ox=Dw;const Hw=class wi extends w{constructor(e){super(e),h(this,"view"),h(this,"_onHide");const t=e.t;this._initShowHideListeners(),this._initFocusToggler(),this._initMultiRootIntegration(),this.set({id:null,isOpen:!1}),e.accessibility.addKeystrokeInfos({categoryId:"navigation",keystrokes:[{label:t("Move focus in and out of an active dialog window"),keystroke:"Ctrl+F6",mayRequireFn:!0}]})}static get pluginName(){return"Dialog"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),wi._visibleDialogPlugin===this&&this._unlockBodyScroll()}_initShowHideListeners(){this.on("show",(e,t)=>{this._show(t)}),this.on("show",(e,t)=>{t.onShow&&t.onShow(this)},{priority:"low"}),this.on("hide",()=>{wi._visibleDialogPlugin&&wi._visibleDialogPlugin._hide()}),this.on("hide",()=>{this._onHide&&(this._onHide(this),this._onHide=void 0)},{priority:"low"})}_initFocusToggler(){const e=this.editor;e.keystrokes.set("Ctrl+F6",(t,i)=>{!this.isOpen||this.view.isModal||(this.view.focusTracker.isFocused?e.editing.view.focus():this.view.focus(),i())})}_initMultiRootIntegration(){const e=this.editor.model;e.document.on("change:data",()=>{if(!this.view)return;const t=e.document.differ.getChangedRoots();for(const i of t)i.state&&this.view.updatePosition()})}show(e){this.hide(),this.fire(`show:${e.id}`,e)}_show({id:e,icon:t,title:i,hasCloseButton:o=!0,content:s,actionButtons:r,className:a,isModal:l,position:c,onHide:u,keystrokeHandlerOptions:d}){const m=this.editor;this.view=new ox(m.locale,{getCurrentDomRoot:()=>m.editing.view.getDomRoot(m.model.document.selection.anchor.root.rootName),getViewportOffset:()=>m.ui.viewportOffset,keystrokeHandlerOptions:d});const f=this.view;f.on("close",()=>{this.hide()}),m.ui.view.body.add(f),m.keystrokes.listenTo(f.element),c||(c=l?vt.SCREEN_CENTER:vt.EDITOR_CENTER),l&&this._lockBodyScroll(),f.set({position:c,_isVisible:!0,className:a,isModal:l}),f.setupParts({icon:t,title:i,hasCloseButton:o,content:s,actionButtons:r}),this.id=e,u&&(this._onHide=u),this.isOpen=!0,wi._visibleDialogPlugin=this}hide(){wi._visibleDialogPlugin&&wi._visibleDialogPlugin.fire(`hide:${wi._visibleDialogPlugin.id}`)}_hide(){if(!this.view)return;const e=this.editor,t=this.view;t.isModal&&this._unlockBodyScroll(),t.contentView&&t.contentView.reset(),e.ui.view.body.remove(t),e.ui.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),t.destroy(),e.editing.view.focus(),this.id=null,this.isOpen=!1,wi._visibleDialogPlugin=null}_lockBodyScroll(){document.documentElement.classList.add("ck-dialog-scroll-locked")}_unlockBodyScroll(){document.documentElement.classList.remove("ck-dialog-scroll-locked")}};h(Hw,"_visibleDialogPlugin");let du=Hw;class ko extends P{constructor(e,t=new Fw){super(e,t),h(this,"_checkIconHolderView",new sx),this.set({hasCheckSpace:!1,_hasCheck:this.isToggleable});const i=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-list-item-button",i.if("isToggleable","ck-list-item-button_toggleable")]}}),this.bind("_hasCheck").to(this,"hasCheckSpace",this,"isToggleable",(o,s)=>o||s)}render(){super.render(),this._hasCheck&&this.children.add(this._checkIconHolderView,0),this._watchCheckIconHolderMount()}_watchCheckIconHolderMount(){this._checkIconHolderView.bind("isOn").to(this,"isOn",e=>this.isToggleable&&e),this.on("change:_hasCheck",(e,t,i)=>{const{children:o,_checkIconHolderView:s}=this;i?o.add(s,0):o.remove(s)})}}class sx extends A{constructor(){super(),h(this,"children"),h(this,"_checkIconView",this._createCheckIconView());const e=this.bindTemplate;this.children=this.createCollection(),this.set("isOn",!1),this.setTemplate({tag:"span",children:this.children,attributes:{class:["ck","ck-list-item-button__check-holder",e.to("isOn",t=>t?"ck-on":"ck-off")]}})}render(){super.render(),this.isOn&&this.children.add(this._checkIconView,0),this._watchCheckIconMount()}_watchCheckIconMount(){this.on("change:isOn",(e,t,i)=>{const{children:o,_checkIconView:s}=this;i&&!o.has(s)?o.add(s):!i&&o.has(s)&&o.remove(s)})}_createCheckIconView(){const e=new hi;return e.content=Es,e.extendTemplate({attributes:{class:"ck-list-item-button__check-icon"}}),e}}class ve extends ko{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}class xt extends A{constructor(e){super(e),h(this,"id"),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${ze()}`;const t=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:t.to("for")},children:[{text:t.to("text")}]})}}const $w=class ei extends Ie{constructor(e,t=[]){super(t),h(this,"locale"),h(this,"_bodyCollectionContainer"),this.locale=e}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new qt({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection,role:"application"},children:this}).render(),(!ei._bodyWrapper||!ei._bodyWrapper.isConnected)&&(ei._bodyWrapper=Ll(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(ei._bodyWrapper)),ei._bodyWrapper.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove(),ei._bodyWrapper&&!ei._bodyWrapper.childElementCount&&(ei._bodyWrapper.remove(),delete ei._bodyWrapper)}};h($w,"_bodyWrapper");let rx=$w;class Ji extends P{constructor(e){super(e),h(this,"toggleSwitchView"),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const e=new A;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),e}}class jd extends Ww(P){}class ax extends Ww(ko){}function Ww(n){class e extends n{constructor(...i){super(...i),h(this,"buttonView"),h(this,"_fileInputView"),this.buttonView=this,this._fileInputView=new lx(this.locale),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",()=>{this._fileInputView.open()}),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}return e}class lx extends A{constructor(e){super(e),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:t.to("acceptedType"),multiple:t.to("allowMultipleFiles")},on:{change:t.to(()=>{var i,o;(o=(i=this.element)==null?void 0:i.files)!=null&&o.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}class mu extends A{constructor(e,t){super(e),h(this,"buttonView"),h(this,"children");const i=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),t&&this.children.addMany(t),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",i.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:i.if("isCollapsed","hidden"),"aria-labelledby":i.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const e=new P(this.locale),t=e.bindTemplate;return e.set({withText:!0,icon:da}),e.extendTemplate({attributes:{"aria-expanded":t.to("isOn",i=>String(i))}}),e.bind("label").to(this),e.bind("isOn").to(this,"isCollapsed",i=>!i),e.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),e}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ps(n,e){const t=n.t,i={Black:t("Black"),"Dim grey":t("Dim grey"),Grey:t("Grey"),"Light grey":t("Light grey"),White:t("White"),Red:t("Red"),Orange:t("Orange"),Yellow:t("Yellow"),"Light green":t("Light green"),Green:t("Green"),Aquamarine:t("Aquamarine"),Turquoise:t("Turquoise"),"Light blue":t("Light blue"),Blue:t("Blue"),Purple:t("Purple")};return e.map(o=>{const s=i[o.label];return s&&s!=o.label&&(o.label=s),o})}function ws(n){return n.map(cx).filter(e=>!!e)}function cx(n){return typeof n=="string"?{model:n,label:n,hasBorder:!1,view:{name:"span",styles:{color:n}}}:{model:n.color,label:n.label||n.color,hasBorder:n.hasBorder===void 0?!1:n.hasBorder,view:{name:"span",styles:{color:`${n.color}`}}}}class jw extends P{constructor(e){super(e);const t=this.bindTemplate;this.set("color",void 0),this.set("hasBorder",!1),this.icon=bC,this.extendTemplate({attributes:{style:{backgroundColor:t.to("color",i=>N.isMediaForcedColors?null:i)},class:["ck","ck-color-grid__tile",t.if("hasBorder","ck-color-selector__color-tile_bordered")]}})}render(){super.render(),this.iconView.fillColor="hsl(0, 0%, 100%)"}}class Ud extends A{constructor(e,t){super(e),h(this,"columns"),h(this,"items"),h(this,"focusTracker"),h(this,"keystrokes");const i=t&&t.colorDefinitions?t.colorDefinitions:[];this.columns=t?.columns||5;const o={gridTemplateColumns:`repeat( ${this.columns}, 1fr)`};this.set("selectedColor",void 0),this.items=this.createCollection(),this.focusTracker=new ee,this.keystrokes=new te,this.items.on("add",(s,r)=>{r.isOn=r.color===this.selectedColor}),i.forEach(s=>{const r=new jw;r.set({color:s.color,label:s.label,tooltip:!0,hasBorder:s.options.hasBorder}),r.on("execute",()=>{this.fire("execute",{value:s.color,hasBorder:s.options.hasBorder,label:s.label})}),this.items.add(r)}),this.setTemplate({tag:"div",children:this.items,attributes:{class:["ck","ck-color-grid"],style:o}}),this.on("change:selectedColor",(s,r,a)=>{for(const l of this.items)l.isOn=l.color===a})}focus(){this.items.length&&this.items.first.focus()}focusLast(){this.items.length&&this.items.last.focus()}render(){var e;super.render();for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",(t,i)=>{this.focusTracker.add(i.element)}),this.items.on("remove",(t,i)=>{this.focusTracker.remove(i.element)}),this.keystrokes.listenTo(this.element),vo({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:this.columns,uiLanguageDirection:(e=this.locale)==null?void 0:e.uiLanguageDirection})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Uw(n,e){if(!n)return"";const t=qw(n);if(!t)return"";if(t.space===e)return n;if(!mx(t))return"";const i=Tw[t.space][e];if(!i)return"";const o=i(t.space==="hex"?t.hexValue:t.values);return dx(o,e)}function ux(n){if(!n)return"";const e=qw(n);return e?e.space==="hex"?e.hexValue:Uw(n,"hex"):"#000"}function hx(n,e){customElements.get(n)===void 0&&customElements.define(n,e)}function dx(n,e){switch(e){case"hex":return`#${n}`;case"rgb":return`rgb(${n[0]}, ${n[1]}, ${n[2]})`;case"hsl":return`hsl(${n[0]}, ${n[1]}%, ${n[2]}%)`;case"hwb":return`hwb(${n[0]}, ${n[1]}, ${n[2]})`;case"lab":return`lab(${n[0]}% ${n[1]} ${n[2]})`;case"lch":return`lch(${n[0]}% ${n[1]} ${n[2]})`;default:return""}}function qw(n){if(n.startsWith("#")){const t=Td(n);return{space:"hex",values:t.values,hexValue:n,alpha:t.alpha}}const e=Td(n);return e.space?e:null}function mx(n){return Object.keys(Tw).includes(n.space)}class Te extends A{constructor(e,t){super(e),h(this,"fieldView"),h(this,"labelView"),h(this,"statusView"),h(this,"fieldWrapperChildren");const i=`ck-labeled-field-view-${ze()}`,o=`ck-labeled-field-view-status-${ze()}`;this.fieldView=t(this,i,o),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(i),this.statusView=this._createStatusView(o),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(r,a)=>r||a);const s=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",s.to("class"),s.if("isEnabled","ck-disabled",r=>!r),s.if("isEmpty","ck-labeled-field-view_empty"),s.if("isFocused","ck-labeled-field-view_focused"),s.if("placeholder","ck-labeled-field-view_placeholder"),s.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(e){const t=new xt(this.locale);return t.for=e,t.bind("text").to(this,"label"),t}_createStatusView(e){const t=new A(this.locale),i=this.bindTemplate;return t.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",i.if("errorText","ck-labeled-field-view__status_error"),i.if("_statusText","ck-hidden",o=>!o)],id:e,role:i.if("errorText","alert")},children:[{text:i.to("_statusText")}]}),t}focus(e){this.fieldView.focus(e)}}class Gw extends A{constructor(e){super(e),h(this,"focusTracker"),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("tabIndex",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.set("ariaLabel",void 0),this.focusTracker=new ee,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const t=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",t.if("isFocused","ck-input_focused"),t.if("isEmpty","ck-input-text_empty"),t.if("hasError","ck-error")],id:t.to("id"),placeholder:t.to("placeholder"),tabindex:t.to("tabIndex"),readonly:t.to("isReadOnly"),"aria-invalid":t.if("hasError",!0),"aria-describedby":t.to("ariaDescribedById"),"aria-label":t.to("ariaLabel")},on:{input:t.to((...i)=>{this.fire("input",...i),this._updateIsEmpty()}),change:t.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(e,t,i)=>{this._setDomElementValue(i),this._updateIsEmpty()})}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=fx(this.element)}_setDomElementValue(e){this.element.value=!e&&e!==0?"":e}}function fx(n){return!n.value}class Kw extends Gw{constructor(e){super(e),this.set("inputMode","text");const t=this.bindTemplate;this.extendTemplate({attributes:{inputmode:t.to("inputMode")}})}}class Zw extends Kw{constructor(e){super(e),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}class gx extends Kw{constructor(e,{min:t,max:i,step:o}={}){super(e);const s=this.bindTemplate;this.set("min",t),this.set("max",i),this.set("step",o),this.extendTemplate({attributes:{type:"number",class:["ck-input-number"],min:s.to("min"),max:s.to("max"),step:s.to("step")}})}}class px extends Gw{constructor(e){super(e),h(this,"_resizeObserver"),h(this,"_isUpdateAutoGrowHeightPending",!1);const t=Vi("px");this.set("minRows",2),this.set("maxRows",5),this.set("_height",null),this.set("resize","none"),this._resizeObserver=null,this.on("change:minRows",this._validateMinMaxRows.bind(this)),this.on("change:maxRows",this._validateMinMaxRows.bind(this));const i=this.bindTemplate;this.template.tag="textarea",this.extendTemplate({attributes:{class:["ck-textarea"],style:{height:i.to("_height",o=>o?t(o):null),resize:i.to("resize")},rows:i.to("minRows")}})}render(){super.render();let e=!1;this.on("input",()=>{this._updateAutoGrowHeight(!0),this.fire("update")}),this.on("change:value",()=>{I.window.requestAnimationFrame(()=>{if(!Gt(this.element)){this._isUpdateAutoGrowHeightPending=!0;return}this._updateAutoGrowHeight(),this.fire("update")})}),this._resizeObserver=new bo(this.element,t=>{const i=!!t.contentRect.width&&!!t.contentRect.height;!e&&i&&this._isUpdateAutoGrowHeightPending&&I.window.requestAnimationFrame(()=>{this._updateAutoGrowHeight(),this.fire("update")}),e=i})}destroy(){this._resizeObserver&&this._resizeObserver.destroy()}reset(){super.reset(),this._updateAutoGrowHeight(),this.fire("update")}_updateAutoGrowHeight(e){const t=this.element;if(!t.offsetParent){this._isUpdateAutoGrowHeightPending=!0;return}this._isUpdateAutoGrowHeightPending=!1;const i=qd(t,"1"),o=qd(t,t.value),s=i.ownerDocument.defaultView.getComputedStyle(i),r=parseFloat(s.paddingTop)+parseFloat(s.paddingBottom),a=Dc(i),l=parseFloat(s.lineHeight),c=a.top+a.bottom,u=new z(i).height,d=Math.round((o.scrollHeight-r)/l),m=this.maxRows*l+r+c,f=d===1?u:this.minRows*l+r+c;this._height=Math.min(Math.max(Math.max(d,this.minRows)*l+r+c,f),m),e&&(t.scrollTop=t.scrollHeight),i.remove(),o.remove()}_validateMinMaxRows(){if(this.minRows>this.maxRows)throw new b("ui-textarea-view-min-rows-greater-than-max-rows",{textareaView:this,minRows:this.minRows,maxRows:this.maxRows})}}function qd(n,e){const t=n.cloneNode();return t.style.position="absolute",t.style.top="-99999px",t.style.left="-99999px",t.style.height="auto",t.style.overflow="hidden",t.style.width=n.ownerDocument.defaultView.getComputedStyle(n).width,t.tabIndex=-1,t.rows=1,t.value=e,n.parentNode.insertBefore(t,n),t}class wx extends A{constructor(e){super(e),h(this,"children");const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",t.to("position",i=>`ck-dropdown__panel_${i}`),t.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:t.to(i=>{i.target.tagName.toLocaleLowerCase()!=="input"&&i.preventDefault()})}})}focus(){if(this.children.length){const e=this.children.first;typeof e.focus=="function"?e.focus():J("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const e=this.children.last;typeof e.focusLast=="function"?e.focusLast():e.focus()}}}const Xl=class ec extends A{constructor(e,t,i){super(e),h(this,"buttonView"),h(this,"panelView"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"listView"),h(this,"toolbarView"),h(this,"menuView");const o=this.bindTemplate;this.buttonView=t,this.panelView=i,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new te,this.focusTracker=new ee,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",s=>!s)],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[t,i]}),t.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":o.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.on("change:isOpen",(t,i,o)=>{if(o)if(this.panelPosition==="auto"){const s=ec._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=s?s.name:this._defaultPanelPositionName}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const e=(t,i)=>{this.isOpen&&(this.isOpen=!1,i())};this.keystrokes.set("arrowdown",(t,i)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,i())}),this.keystrokes.set("arrowright",(t,i)=>{this.isOpen&&i()}),this.keystrokes.set("arrowleft",e),this.keystrokes.set("esc",e)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:e,north:t,southEast:i,southWest:o,northEast:s,northWest:r,southMiddleEast:a,southMiddleWest:l,northMiddleEast:c,northMiddleWest:u}=ec.defaultPanelPositions;return this.locale.uiLanguageDirection!=="rtl"?[i,o,a,l,e,s,r,c,u,t]:[o,i,l,a,e,r,s,u,c,t]}get _defaultPanelPositionName(){return this.locale.uiLanguageDirection==="rtl"?"sw":"se"}};h(Xl,"defaultPanelPositions",{south:(n,e)=>({top:n.bottom,left:n.left-(e.width-n.width)/2,name:"s"}),southEast:n=>({top:n.bottom,left:n.left,name:"se"}),southWest:(n,e)=>({top:n.bottom,left:n.left-e.width+n.width,name:"sw"}),southMiddleEast:(n,e)=>({top:n.bottom,left:n.left-(e.width-n.width)/4,name:"sme"}),southMiddleWest:(n,e)=>({top:n.bottom,left:n.left-(e.width-n.width)*3/4,name:"smw"}),north:(n,e)=>({top:n.top-e.height,left:n.left-(e.width-n.width)/2,name:"n"}),northEast:(n,e)=>({top:n.top-e.height,left:n.left,name:"ne"}),northWest:(n,e)=>({top:n.top-e.height,left:n.left-e.width+n.width,name:"nw"}),northMiddleEast:(n,e)=>({top:n.top-e.height,left:n.left-(e.width-n.width)/4,name:"nme"}),northMiddleWest:(n,e)=>({top:n.top-e.height,left:n.left-(e.width-n.width)*3/4,name:"nmw"})}),h(Xl,"_getOptimalPosition",zc);let Jw=Xl;class fu extends P{constructor(e){super(e),h(this,"arrowView"),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",t=>String(t))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new hi;return e.content=da,e.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),e}}class Nt extends A{constructor(e){super(e),h(this,"children");const t=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",t.if("isVisible","ck-hidden",i=>!i)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class ma extends A{constructor(e){super(e),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class hr extends A{constructor(e,t=new xt){super(e),h(this,"labelView"),h(this,"items"),h(this,"children");const i=this.bindTemplate,o=new En(e);this.set({label:"",isVisible:!0}),this.labelView=t,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,o]),o.set({role:"group",ariaLabelledBy:t.id}),o.focusTracker.destroy(),o.keystrokes.destroy(),this.items=o.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",i.if("isVisible","ck-hidden",s=>!s)]},children:this.children})}focus(){if(this.items){const e=this.items.find(t=>!(t instanceof ma));e&&e.focus()}}}class En extends A{constructor(e){super(e),h(this,"focusables"),h(this,"items"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"_focusCycler"),h(this,"_listItemGroupToChangeListeners",new WeakMap);const t=this.bindTemplate;this.focusables=new Ie,this.items=this.createCollection(),this.focusTracker=new ee,this.keystrokes=new te,this._focusCycler=new Ae({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:t.to("role"),"aria-label":t.to("ariaLabel"),"aria-labelledby":t.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const e of this.items)e instanceof hr?this._registerFocusableItemsGroup(e):e instanceof Nt&&this._registerFocusableListItem(e);this.items.on("change",(e,t)=>{for(const i of t.removed)i instanceof hr?this._deregisterFocusableItemsGroup(i):i instanceof Nt&&this._deregisterFocusableListItem(i);for(const i of Array.from(t.added).reverse())i instanceof hr?this._registerFocusableItemsGroup(i,t.index):this._registerFocusableListItem(i,t.index)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(e,t){this.focusTracker.add(e.element),this.focusables.add(e,t)}_deregisterFocusableListItem(e){this.focusTracker.remove(e.element),this.focusables.remove(e)}_getOnGroupItemsChangeCallback(e){return(t,i)=>{for(const o of i.removed)this._deregisterFocusableListItem(o);for(const o of Array.from(i.added).reverse())this._registerFocusableListItem(o,this.items.getIndex(e)+i.index)}}_registerFocusableItemsGroup(e,t){Array.from(e.items).forEach((o,s)=>{const r=typeof t<"u"?t+s:void 0;this._registerFocusableListItem(o,r)});const i=this._getOnGroupItemsChangeCallback(e);this._listItemGroupToChangeListeners.set(e,i),e.items.on("change",i)}_deregisterFocusableItemsGroup(e){for(const t of e.items)this._deregisterFocusableListItem(t);e.items.off("change",this._listItemGroupToChangeListeners.get(e)),this._listItemGroupToChangeListeners.delete(e)}}const Gd=Vi("px"),bx={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},dn=class Jn extends A{constructor(e){super(e),h(this,"content"),h(this,"_pinWhenIsVisibleCallback"),h(this,"_resizeObserver");const t=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this._resizeObserver=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",t.to("position",i=>`ck-balloon-panel_${i}`),t.if("isVisible","ck-balloon-panel_visible"),t.if("withArrow","ck-balloon-panel_with-arrow"),t.to("class")],style:{top:t.to("top",Gd),left:t.to("left",Gd)}},children:this.content})}destroy(){this.hide(),super.destroy()}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(e){const t=dr(e.target);if(t&&!Gt(t))return!1;this.show();const i=Jn.defaultPositions,o=Object.assign({},{element:this.element,positions:[i.southArrowNorth,i.southArrowNorthMiddleWest,i.southArrowNorthMiddleEast,i.southArrowNorthWest,i.southArrowNorthEast,i.northArrowSouth,i.northArrowSouthMiddleWest,i.northArrowSouthMiddleEast,i.northArrowSouthWest,i.northArrowSouthEast,i.viewportStickyNorth],limiter:I.document.body,fitInViewport:!0},e),s=Jn._getOptimalPosition(o)||bx,r=parseInt(s.left),a=parseInt(s.top),l=s.name,c=s.config||{},{withArrow:u=!0}=c;return this.top=a,this.left=r,this.position=l,this.withArrow=u,!0}pin(e){this.unpin(),this._startPinning(e)&&(this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(e):this._stopPinning()},this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback))}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(e){if(!this.attachTo(e))return!1;let t=dr(e.target);const i=e.limiter?dr(e.limiter):I.document.body;if(this.listenTo(I.document,"scroll",(o,s)=>{const r=s.target,a=t&&r.contains(t),l=i&&r.contains(i);(a||l||!t||!i)&&this.attachTo(e)},{useCapture:!0}),this.listenTo(I.window,"resize",()=>{this.attachTo(e)}),!this._resizeObserver&&(t&&xe(t)&&(t=t.parentElement),t)){const o=()=>{Gt(t)||this.unpin()};this._resizeObserver=new bo(t,o)}return!0}_stopPinning(){this.stopListening(I.document,"scroll"),this.stopListening(I.window,"resize"),this._resizeObserver&&(this._resizeObserver.destroy(),this._resizeObserver=null)}static generatePositions(e={}){const{sideOffset:t=Jn.arrowSideOffset,heightOffset:i=Jn.arrowHeightOffset,stickyVerticalOffset:o=Jn.stickyVerticalOffset,config:s}=e;return{northWestArrowSouthWest:(l,c)=>({top:r(l,c),left:l.left-t,name:"arrow_sw",...s&&{config:s}}),northWestArrowSouthMiddleWest:(l,c)=>({top:r(l,c),left:l.left-c.width*.25-t,name:"arrow_smw",...s&&{config:s}}),northWestArrowSouth:(l,c)=>({top:r(l,c),left:l.left-c.width/2,name:"arrow_s",...s&&{config:s}}),northWestArrowSouthMiddleEast:(l,c)=>({top:r(l,c),left:l.left-c.width*.75+t,name:"arrow_sme",...s&&{config:s}}),northWestArrowSouthEast:(l,c)=>({top:r(l,c),left:l.left-c.width+t,name:"arrow_se",...s&&{config:s}}),northArrowSouthWest:(l,c)=>({top:r(l,c),left:l.left+l.width/2-t,name:"arrow_sw",...s&&{config:s}}),northArrowSouthMiddleWest:(l,c)=>({top:r(l,c),left:l.left+l.width/2-c.width*.25-t,name:"arrow_smw",...s&&{config:s}}),northArrowSouth:(l,c)=>({top:r(l,c),left:l.left+l.width/2-c.width/2,name:"arrow_s",...s&&{config:s}}),northArrowSouthMiddleEast:(l,c)=>({top:r(l,c),left:l.left+l.width/2-c.width*.75+t,name:"arrow_sme",...s&&{config:s}}),northArrowSouthEast:(l,c)=>({top:r(l,c),left:l.left+l.width/2-c.width+t,name:"arrow_se",...s&&{config:s}}),northEastArrowSouthWest:(l,c)=>({top:r(l,c),left:l.right-t,name:"arrow_sw",...s&&{config:s}}),northEastArrowSouthMiddleWest:(l,c)=>({top:r(l,c),left:l.right-c.width*.25-t,name:"arrow_smw",...s&&{config:s}}),northEastArrowSouth:(l,c)=>({top:r(l,c),left:l.right-c.width/2,name:"arrow_s",...s&&{config:s}}),northEastArrowSouthMiddleEast:(l,c)=>({top:r(l,c),left:l.right-c.width*.75+t,name:"arrow_sme",...s&&{config:s}}),northEastArrowSouthEast:(l,c)=>({top:r(l,c),left:l.right-c.width+t,name:"arrow_se",...s&&{config:s}}),southWestArrowNorthWest:l=>({top:a(l),left:l.left-t,name:"arrow_nw",...s&&{config:s}}),southWestArrowNorthMiddleWest:(l,c)=>({top:a(l),left:l.left-c.width*.25-t,name:"arrow_nmw",...s&&{config:s}}),southWestArrowNorth:(l,c)=>({top:a(l),left:l.left-c.width/2,name:"arrow_n",...s&&{config:s}}),southWestArrowNorthMiddleEast:(l,c)=>({top:a(l),left:l.left-c.width*.75+t,name:"arrow_nme",...s&&{config:s}}),southWestArrowNorthEast:(l,c)=>({top:a(l),left:l.left-c.width+t,name:"arrow_ne",...s&&{config:s}}),southArrowNorthWest:l=>({top:a(l),left:l.left+l.width/2-t,name:"arrow_nw",...s&&{config:s}}),southArrowNorthMiddleWest:(l,c)=>({top:a(l),left:l.left+l.width/2-c.width*.25-t,name:"arrow_nmw",...s&&{config:s}}),southArrowNorth:(l,c)=>({top:a(l),left:l.left+l.width/2-c.width/2,name:"arrow_n",...s&&{config:s}}),southArrowNorthMiddleEast:(l,c)=>({top:a(l),left:l.left+l.width/2-c.width*.75+t,name:"arrow_nme",...s&&{config:s}}),southArrowNorthEast:(l,c)=>({top:a(l),left:l.left+l.width/2-c.width+t,name:"arrow_ne",...s&&{config:s}}),southEastArrowNorthWest:l=>({top:a(l),left:l.right-t,name:"arrow_nw",...s&&{config:s}}),southEastArrowNorthMiddleWest:(l,c)=>({top:a(l),left:l.right-c.width*.25-t,name:"arrow_nmw",...s&&{config:s}}),southEastArrowNorth:(l,c)=>({top:a(l),left:l.right-c.width/2,name:"arrow_n",...s&&{config:s}}),southEastArrowNorthMiddleEast:(l,c)=>({top:a(l),left:l.right-c.width*.75+t,name:"arrow_nme",...s&&{config:s}}),southEastArrowNorthEast:(l,c)=>({top:a(l),left:l.right-c.width+t,name:"arrow_ne",...s&&{config:s}}),westArrowEast:(l,c)=>({top:l.top+l.height/2-c.height/2,left:l.left-c.width-i,name:"arrow_e",...s&&{config:s}}),eastArrowWest:(l,c)=>({top:l.top+l.height/2-c.height/2,left:l.right+i,name:"arrow_w",...s&&{config:s}}),viewportStickyNorth:(l,c,u)=>{const d=new z(I.document.body).getIntersection(u.getVisible());if(!d)return null;const m=d.getVisible();return!l.getIntersection(m)||!(m.top-l.top-o{e.target===n.element&&e.preventDefault()})}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function gu(n){if(Array.isArray(n))return{items:n,removeItems:[]};const e={items:[],removeItems:[]};return n?{...e,...n}:e}const tc={alignLeft:nu,bold:gw,importExport:BC,paragraph:yw,plus:tA,text:_A,threeVerticalDots:au,pilcrow:eA,dragIndicator:vC};class Ei extends A{constructor(e,t){super(e),h(this,"options"),h(this,"items"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"itemsView"),h(this,"children"),h(this,"focusables"),h(this,"_focusCycler"),h(this,"_behavior");const i=this.bindTemplate,o=this.t;this.options=t||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.set("role","toolbar"),this.set("isGrouping",!!this.options.shouldGroupWhenFull),this.items=this.createCollection(),this.focusTracker=new ee,this.keystrokes=new te,this.set("class",void 0),this.set("isCompact",!1),this.set("isVertical",!1),this.itemsView=new yx(e),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const s=e.uiLanguageDirection==="rtl";this._focusCycler=new Ae({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[s?"arrowright":"arrowleft","arrowup"],focusNext:[s?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",i.to("class"),i.if("isCompact","ck-toolbar_compact"),i.if("isGrouping","ck-toolbar_grouping"),i.if("isVertical","ck-toolbar_vertical")];this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:i.to("role"),"aria-label":i.to("ariaLabel"),style:{maxWidth:i.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:vx(this)}}),this._behavior=this.options.shouldGroupWhenFull?new Zd(this):new Kd(this)}render(){super.render(),this.focusTracker.add(this.element);for(const e of this.items)this.focusTracker.add(e);this.items.on("add",(e,t)=>{this.focusTracker.add(t)}),this.items.on("remove",(e,t)=>{this.focusTracker.remove(t)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(e,t,i){this.items.addMany(this._buildItemsFromConfig(e,t,i))}switchBehavior(e){this._behavior.type!==e&&(this._behavior.destroy(),this.itemsView.children.clear(),this.focusables.clear(),e==="dynamic"?(this._behavior=new Zd(this),this._behavior.render(this),this._behavior.refreshItems()):(this._behavior=new Kd(this),this._behavior.render(this)))}_buildItemsFromConfig(e,t,i){const o=gu(e),s=i||o.removeItems;return this._cleanItemsConfiguration(o.items,t,s).map(r=>Et(r)?this._createNestedToolbarDropdown(r,t,s):r==="|"?new Qw:r==="-"?new _x:t.create(r)).filter(r=>!!r)}_cleanItemsConfiguration(e,t,i){const o=e.filter((s,r,a)=>s==="|"?!0:i.indexOf(s)!==-1?!1:s==="-"?this.options.shouldGroupWhenFull?(J("toolbarview-line-break-ignored-when-grouping-items",a),!1):!0:!Et(s)&&!t.has(s)?(J("toolbarview-item-unavailable",{item:s}),!1):!0);return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(e){const t=r=>r!=="-"&&r!=="|",i=e.length,o=e.findIndex(t);if(o===-1)return[];const s=i-e.slice().reverse().findIndex(t);return e.slice(o,s).filter((r,a,l)=>t(r)?!0:!(a>0&&l[a-1]===r))}_createNestedToolbarDropdown(e,t,i){let{label:o,icon:s,items:r,tooltip:a=!0,withText:l=!1}=e;if(r=this._cleanItemsConfiguration(r,t,i),!r.length)return null;const c=this.locale,u=Ee(c);return o||J("toolbarview-nested-toolbar-dropdown-missing-label",e),u.class="ck-toolbar__nested-toolbar-dropdown",u.buttonView.set({label:o,tooltip:a,withText:!!l}),s!==!1?u.buttonView.icon=tc[s]||s||au:u.buttonView.withText=!0,fa(u,()=>u.toolbarView._buildItemsFromConfig(r,t,i)),u}}class yx extends A{constructor(e){super(e),h(this,"children"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Kd{constructor(e){h(this,"type","static"),e.isGrouping=!1,e.itemsView.children.bindTo(e.items).using(t=>t),e.focusables.bindTo(e.items).using(t=>yo(t)?t:null)}render(){}destroy(){}}class Zd{constructor(e){h(this,"type","dynamic"),h(this,"view"),h(this,"viewChildren"),h(this,"viewFocusables"),h(this,"viewItemsView"),h(this,"viewFocusTracker"),h(this,"viewLocale"),h(this,"ungroupedItems"),h(this,"groupedItems"),h(this,"groupedItemsDropdown"),h(this,"resizeObserver",null),h(this,"cachedPadding",null),h(this,"shouldUpdateGroupingOnNextResize",!1),h(this,"viewElement"),this.view=e,this.viewChildren=e.children,this.viewFocusables=e.focusables,this.viewItemsView=e.itemsView,this.viewFocusTracker=e.focusTracker,this.viewLocale=e.locale,this.view.isGrouping=!0,this.ungroupedItems=e.createCollection(),this.groupedItems=e.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),e.itemsView.children.bindTo(this.ungroupedItems).using(t=>t),this.ungroupedItems.on("change",this._updateFocusCyclableItems.bind(this)),e.children.on("change",this._updateFocusCyclableItems.bind(this)),e.items.on("change",(t,i)=>{const o=i.index,s=Array.from(i.added);for(const r of i.removed)o>=this.ungroupedItems.length?this.groupedItems.remove(r):this.ungroupedItems.remove(r);for(let r=o;rthis.ungroupedItems.length?this.groupedItems.add(a,r-this.ungroupedItems.length):this.ungroupedItems.add(a,r)}this._updateGrouping()})}render(e){this.viewElement=e.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(e)}destroy(){this.groupedItemsDropdown.destroy(),this.viewChildren.length>1&&(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last)),this.resizeObserver.destroy()}refreshItems(){const e=this.view;if(e.items.length){for(let t=0;to.right-this.cachedPadding:i.left{(!e||e!==t.contentRect.width||this.shouldUpdateGroupingOnNextResize)&&(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),e=t.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(e){e.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new Qw),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const e=this.viewLocale,t=e.t,i=Ee(e);return i.class="ck-toolbar__grouped-dropdown",i.panelPosition=e.uiLanguageDirection==="ltr"?"sw":"se",fa(i,this.groupedItems),i.buttonView.set({label:t("Show more items"),tooltip:!0,tooltipPosition:e.uiLanguageDirection==="rtl"?"se":"sw",icon:au}),i}_updateFocusCyclableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(e=>{yo(e)&&this.viewFocusables.add(e)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class Xi extends A{constructor(e,t){super(e),h(this,"children"),h(this,"actionView"),h(this,"arrowView"),h(this,"keystrokes"),h(this,"focusTracker");const i=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(t),this.arrowView=this._createArrowView(),this.keystrokes=new te,this.focusTracker=new ee,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",i.to("class"),i.if("isVisible","ck-hidden",o=>!o),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(e,t)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),t())}),this.keystrokes.set("arrowleft",(e,t)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),t())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(e){const t=e||new P;return e||t.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),t.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),t.delegate("execute").to(this),t}_createArrowView(){const e=new P,t=e.bindTemplate;return e.icon=da,e.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":t.to("isOn"),"aria-haspopup":!0,"aria-expanded":t.to("isOn",i=>String(i))}}),e.bind("isEnabled").to(this),e.bind("label").to(this),e.bind("tooltip").to(this),e.delegate("execute").to(this,"open"),e}}function Ee(n,e=fu){const t=typeof e=="function"?new e(n):e,i=new wx(n),o=new Jw(n,t,i);return t.bind("isEnabled").to(o),t instanceof Xi?t.arrowView.bind("isOn").to(o,"isOpen"):t.bind("isOn").to(o,"isOpen"),kx(o),o}function fa(n,e,t={}){n.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),n.isOpen?Jd(n,e,t):n.once("change:isOpen",()=>Jd(n,e,t),{priority:"highest"}),t.enableActiveItemFocusOnDropdownOpen&&ga(n,()=>n.toolbarView.items.find(i=>i.isOn))}function Jd(n,e,t){const i=n.locale,o=i.t,s=n.toolbarView=new Ei(i),r=typeof e=="function"?e():e;s.ariaLabel=t.ariaLabel||o("Dropdown toolbar"),t.maxWidth&&(s.maxWidth=t.maxWidth),t.class&&(s.class=t.class),t.isCompact&&(s.isCompact=t.isCompact),t.isVertical&&(s.isVertical=!0),r instanceof Ie?s.items.bindTo(r).using(a=>a):s.items.addMany(r),n.panelView.children.add(s),n.focusTracker.add(s),s.items.delegate("execute").to(n)}function wt(n,e,t={}){n.isOpen?Qd(n,e,t):n.once("change:isOpen",()=>Qd(n,e,t),{priority:"highest"}),ga(n,()=>n.listView.items.find(i=>i instanceof Nt?i.children.first.isOn:!1))}function Qd(n,e,t){const i=n.locale,o=n.listView=new En(i),s=typeof e=="function"?e():e;o.ariaLabel=t.ariaLabel,o.role=t.role,Xw(n,o.items,s,i),n.panelView.children.add(o),o.items.delegate("execute").to(n)}function ga(n,e){n.on("change:isOpen",()=>{if(!n.isOpen)return;const t=e();t&&(typeof t.focus=="function"?t.focus():J("ui-dropdown-focus-child-on-open-child-missing-focus",{view:t}))},{priority:kt.low-10})}function kx(n){Cx(n),Ax(n),xx(n),Tx(n),Ex(n),Sx(n)}function Cx(n){$t({emitter:n,activator:()=>n.isRendered&&n.isOpen,callback:()=>{n.isOpen=!1},contextElements:()=>[n.element,...Yw(n.focusTracker).filter(e=>!n.element.contains(e))]})}function Yw(n){return[...n.elements,...n.externalViews.flatMap(e=>Yw(e.focusTracker))]}function Ax(n){n.on("execute",e=>{e.source instanceof Ji||(n.isOpen=!1)})}function xx(n){n.focusTracker.on("change:isFocused",(e,t,i)=>{i||!n.isOpen||(n.isOpen=!1)})}function Tx(n){n.keystrokes.set("arrowdown",(e,t)=>{n.isOpen&&(n.panelView.focus(),t())}),n.keystrokes.set("arrowup",(e,t)=>{n.isOpen&&(n.panelView.focusLast(),t())})}function Ex(n){n.on("change:isOpen",(e,t,i)=>{i||n.focusTracker.elements.some(o=>o.contains(I.document.activeElement))&&n.buttonView.focus()})}function Sx(n){n.on("change:isOpen",(e,t,i)=>{i&&n.panelView.focus()},{priority:"low"})}function Xw(n,e,t,i){Px(e),e.bindTo(t).using(o=>{if(o.type==="separator")return new ma(i);if(o.type==="group"){const s=new hr(i);return s.set({label:o.label}),Xw(n,s.items,o.items,i),s.items.delegate("execute").to(n),s}else if(o.type==="button"||o.type==="switchbutton"){const s=o.model.role==="menuitemcheckbox"||o.model.role==="menuitemradio",r=new Nt(i);let a;return o.type==="button"?(a=new ko(i),a.set({isToggleable:s})):a=new Ji(i),a.bind(...Object.keys(o.model)).to(o.model),a.delegate("execute").to(r),r.children.add(a),r}return null})}function Px(n){let e=0;const t=s=>!(s instanceof Nt)||!(s.children.first instanceof ko)?null:s.children.first,i=s=>{const r=t(s);return!r||!r.isToggleable?null:r},o=s=>{for(const r of n){const a=t(r);a&&(a.hasCheckSpace=s)}};n.on("change",(s,r)=>{const a=e>0;for(const c of r.removed)i(c)&&e--;for(const c of r.added){const u=t(c);u&&(u.isToggleable&&e++,u.hasCheckSpace=e>0)}const l=e>0;a!==l&&o(l)})}const nt=(n,e,t)=>{const i=new Zw(n.locale);return i.set({id:e,ariaDescribedById:t}),i.bind("isReadOnly").to(n,"isEnabled",o=>!o),i.bind("hasError").to(n,"errorText",o=>!!o),i.on("input",()=>{n.errorText=null}),n.bind("isEmpty","isFocused","placeholder").to(i),i},eb=(n,e,t)=>{const i=new gx(n.locale);return i.set({id:e,ariaDescribedById:t,inputMode:"numeric"}),i.bind("isReadOnly").to(n,"isEnabled",o=>!o),i.bind("hasError").to(n,"errorText",o=>!!o),i.on("input",()=>{n.errorText=null}),n.bind("isEmpty","isFocused","placeholder").to(i),i},Ix=(n,e,t)=>{const i=new px(n.locale);return i.set({id:e,ariaDescribedById:t}),i.bind("isReadOnly").to(n,"isEnabled",o=>!o),i.bind("hasError").to(n,"errorText",o=>!!o),i.on("input",()=>{n.errorText=null}),n.bind("isEmpty","isFocused","placeholder").to(i),i},pu=(n,e,t)=>{const i=Ee(n.locale);return i.set({id:e,ariaDescribedById:t}),i.bind("isEnabled").to(n),i},Vx=150;class Rx extends A{constructor(e,t={}){super(e),h(this,"hexInputRow"),h(this,"_debounceColorPickerEvent"),h(this,"_config"),this.set({color:"",_hexColor:""}),this.hexInputRow=this._createInputRow();const i=this.createCollection();t.hideInput||i.add(this.hexInputRow),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker"],tabindex:-1},children:i}),this._config=t,this._debounceColorPickerEvent=St(o=>{this.set("color",o),this.fire("colorSelected",{color:this.color})},Vx,{leading:!0}),this.on("set:color",(o,s,r)=>{o.return=Uw(r,this._config.format||"hsl")}),this.on("change:color",()=>{this._hexColor=Qa(this.color)}),this.on("change:_hexColor",()=>{document.activeElement!==this.picker&&this.picker.setAttribute("color",this._hexColor),Qa(this.color)!=Qa(this._hexColor)&&(this.color=this._hexColor)})}render(){if(super.render(),hx("hex-color-picker",WA),this.picker=I.document.createElement("hex-color-picker"),this.picker.setAttribute("class","hex-color-picker"),this.picker.setAttribute("tabindex","-1"),this._createSlidersView(),this.element){this.hexInputRow.element?this.element.insertBefore(this.picker,this.hexInputRow.element):this.element.appendChild(this.picker);const e=document.createElement("style");e.textContent='[role="slider"]:focus [part$="pointer"] {border: 1px solid #fff;outline: 1px solid var(--ck-color-focus-border);box-shadow: 0 0 0 2px #fff;}',this.picker.shadowRoot.appendChild(e)}this.picker.addEventListener("color-changed",e=>{const t=e.detail.value;this._debounceColorPickerEvent(t)})}focus(){/* istanbul ignore next -- @preserve */!this._config.hideInput&&(N.isGecko||N.isiOS||N.isSafari||N.isBlink)&&this.hexInputRow.children.get(1).focus(),this.slidersView.first.focus()}_createSlidersView(){const e=[...this.picker.shadowRoot.children].filter(t=>t.getAttribute("role")==="slider").map(t=>new Ox(t));this.slidersView=this.createCollection(),e.forEach(t=>{this.slidersView.add(t)})}_createInputRow(){const e=this._createColorInput();return new Mx(this.locale,e)}_createColorInput(){const e=new Te(this.locale,nt),{t}=this.locale;return e.set({label:t("HEX"),class:"color-picker-hex-input"}),e.fieldView.bind("value").to(this,"_hexColor",i=>e.isFocused?e.fieldView.value:i.startsWith("#")?i.substring(1):i),e.fieldView.on("input",()=>{const i=e.fieldView.element.value;if(i){const o=tb(i);o&&this._debounceColorPickerEvent(o)}}),e}isValid(){const{t:e}=this.locale;return this._config.hideInput?!0:(this.resetValidationStatus(),this.hexInputRow.getParsedColor()?!0:(this.hexInputRow.inputView.errorText=e('Please enter a valid color (e.g. "ff0000").'),!1))}resetValidationStatus(){this.hexInputRow.inputView.errorText=null}}function Qa(n){let e=ux(n);return e||(e="#000"),e.length===4&&(e="#"+[e[1],e[1],e[2],e[2],e[3],e[3]].join("")),e.toLowerCase()}class Ox extends A{constructor(e){super(),this.element=e}focus(){this.element.focus()}}class Bx extends A{constructor(e){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__hash-view"]},children:"#"})}}class Mx extends A{constructor(e,t){super(e),h(this,"children"),h(this,"inputView"),this.inputView=t,this.children=this.createCollection([new Bx,this.inputView]),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-picker__row"]},children:this.children})}getParsedColor(){return tb(this.inputView.fieldView.element.value)}}function tb(n){if(!n)return null;const e=n.trim().replace(/^#/,"");return![3,4,6,8].includes(e.length)||!/^(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})$/.test(e)?null:`#${e}`}class Lx extends ue(_e){constructor(e){super(e),this.set("isEmpty",!0),this.on("change",()=>{this.set("isEmpty",this.length===0)})}add(e,t){return this.find(i=>i.color===e.color)?this:super.add(e,t)}hasColor(e){return!!this.find(t=>t.color===e)}}class Fx extends A{constructor(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:s,documentColorsCount:r,colorPickerLabel:a,focusTracker:l,focusables:c}){super(e),h(this,"items"),h(this,"colorDefinitions"),h(this,"focusTracker"),h(this,"columns"),h(this,"documentColors"),h(this,"documentColorsCount"),h(this,"staticColorsGrid"),h(this,"documentColorsGrid"),h(this,"colorPickerButtonView"),h(this,"removeColorButtonView"),h(this,"_focusables"),h(this,"_documentColorsLabel"),h(this,"_removeButtonLabel"),h(this,"_colorPickerLabel");const u=this.bindTemplate;this.set("isVisible",!0),this.focusTracker=l,this.items=this.createCollection(),this.colorDefinitions=t,this.columns=i,this.documentColors=new Lx,this.documentColorsCount=r,this._focusables=c,this._removeButtonLabel=o,this._colorPickerLabel=a,this._documentColorsLabel=s,this.setTemplate({tag:"div",attributes:{class:["ck-color-grids-fragment",u.if("isVisible","ck-hidden",d=>!d)]},children:this.items}),this.removeColorButtonView=this._createRemoveColorButton(),this.items.add(this.removeColorButtonView)}updateDocumentColors(e,t){const i=e.document,o=this.documentColorsCount;this.documentColors.clear();for(const s of i.getRoots()){const r=e.createRangeIn(s);for(const a of r.getItems())if(a.is("$textProxy")&&a.hasAttribute(t)&&(this._addColorToDocumentColors(a.getAttribute(t)),this.documentColors.length>=o))return}}updateSelectedColors(){const e=this.documentColorsGrid,t=this.staticColorsGrid,i=this.selectedColor;t.selectedColor=i,e&&(e.selectedColor=i)}render(){if(super.render(),this.staticColorsGrid=this._createStaticColorsGrid(),this.items.add(this.staticColorsGrid),this.documentColorsCount){const e=qt.bind(this.documentColors,this.documentColors),t=new A(this.locale);t.setTemplate({tag:"span",attributes:{class:["ck","ck-color-grid__label",e.if("isEmpty","ck-hidden")]},children:[{text:this._documentColorsLabel}]}),this.items.add(t),this.documentColorsGrid=this._createDocumentColorsGrid(),this.items.add(this.documentColorsGrid)}this._createColorPickerButton(),this._addColorSelectorElementsToFocusTracker()}focus(){this.removeColorButtonView.focus()}destroy(){super.destroy()}addColorPickerButton(){this.colorPickerButtonView&&(this.items.add(this.colorPickerButtonView),this.focusTracker.add(this.colorPickerButtonView.element),this._focusables.add(this.colorPickerButtonView))}_addColorSelectorElementsToFocusTracker(){this.focusTracker.add(this.removeColorButtonView.element),this._focusables.add(this.removeColorButtonView),this.staticColorsGrid&&(this.focusTracker.add(this.staticColorsGrid.element),this._focusables.add(this.staticColorsGrid)),this.documentColorsGrid&&(this.focusTracker.add(this.documentColorsGrid.element),this._focusables.add(this.documentColorsGrid))}_createColorPickerButton(){this.colorPickerButtonView=new P,this.colorPickerButtonView.set({label:this._colorPickerLabel,withText:!0,icon:wC,class:"ck-color-selector__color-picker"}),this.colorPickerButtonView.on("execute",()=>{this.fire("colorPicker:show")})}_createRemoveColorButton(){const e=new P;return e.set({withText:!0,icon:kC,label:this._removeButtonLabel}),e.class="ck-color-selector__remove-color",e.on("execute",()=>{this.fire("execute",{value:null,source:"removeColorButton"})}),e.render(),e}_createStaticColorsGrid(){const e=new Ud(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});return e.on("execute",(t,i)=>{this.fire("execute",{value:i.value,source:"staticColorsGrid"})}),e}_createDocumentColorsGrid(){const e=qt.bind(this.documentColors,this.documentColors),t=new Ud(this.locale,{columns:this.columns});return t.extendTemplate({attributes:{class:e.if("isEmpty","ck-hidden")}}),t.items.bindTo(this.documentColors).using(i=>{var o;const s=new jw;return s.set({color:i.color,hasBorder:(o=i.options)==null?void 0:o.hasBorder}),i.label&&s.set({label:i.label,tooltip:!0}),s.on("execute",()=>{this.fire("execute",{value:i.color,source:"documentColorsGrid"})}),s}),this.documentColors.on("change:isEmpty",(i,o,s)=>{s&&(t.selectedColor=null)}),t}_addColorToDocumentColors(e){const t=this.colorDefinitions.find(i=>i.color===e);t?this.documentColors.add(Object.assign({},t)):this.documentColors.add({color:e,label:e,options:{hasBorder:!1}})}}class Nx extends A{constructor(e,{focusTracker:t,focusables:i,keystrokes:o,colorPickerViewConfig:s}){super(e),h(this,"items"),h(this,"colorPickerView"),h(this,"saveButtonView"),h(this,"cancelButtonView"),h(this,"actionBarView"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"_focusables"),h(this,"_colorPickerViewConfig"),this.items=this.createCollection(),this.focusTracker=t,this.keystrokes=o,this.set("isVisible",!1),this.set("selectedColor",void 0),this._focusables=i,this._colorPickerViewConfig=s;const r=this.bindTemplate,{saveButtonView:a,cancelButtonView:l}=this._createActionButtons();this.saveButtonView=a,this.cancelButtonView=l,this.actionBarView=this._createActionBarView({saveButtonView:a,cancelButtonView:l}),this.setTemplate({tag:"div",attributes:{class:["ck-color-picker-fragment",r.if("isVisible","ck-hidden",c=>!c)]},children:this.items})}render(){super.render();const e=new Rx(this.locale,{...this._colorPickerViewConfig});this.colorPickerView=e,this.colorPickerView.render(),this.selectedColor&&(e.color=this.selectedColor),this.listenTo(this,"change:selectedColor",(t,i,o)=>{e.color=o}),this.items.add(this.colorPickerView),this.items.add(this.actionBarView),this._addColorPickersElementsToFocusTracker(),this._stopPropagationOnArrowsKeys(),this._executeOnEnterPress(),this._executeUponColorChange()}destroy(){super.destroy()}focus(){this.colorPickerView.focus()}resetValidationStatus(){this.colorPickerView.resetValidationStatus()}_executeOnEnterPress(){this.keystrokes.set("enter",e=>{this.isVisible&&this.focusTracker.focusedElement!==this.cancelButtonView.element&&this.colorPickerView.isValid()&&(this.fire("execute",{value:this.selectedColor}),e.stopPropagation(),e.preventDefault())})}_stopPropagationOnArrowsKeys(){const e=t=>t.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}_addColorPickersElementsToFocusTracker(){for(const t of this.colorPickerView.slidersView)this.focusTracker.add(t.element),this._focusables.add(t);const e=this.colorPickerView.hexInputRow.children.get(1);e.element&&(this.focusTracker.add(e.element),this._focusables.add(e)),this.focusTracker.add(this.saveButtonView.element),this._focusables.add(this.saveButtonView),this.focusTracker.add(this.cancelButtonView.element),this._focusables.add(this.cancelButtonView)}_createActionBarView({saveButtonView:e,cancelButtonView:t}){const i=new A,o=this.createCollection();return o.add(e),o.add(t),i.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector_action-bar"]},children:o}),i}_createActionButtons(){const e=this.locale,t=e.t,i=new P(e),o=new P(e);return i.set({icon:Es,class:"ck-button-save",type:"button",withText:!1,label:t("Accept")}),o.set({icon:_o,class:"ck-button-cancel",type:"button",withText:!1,label:t("Cancel")}),i.on("execute",()=>{this.colorPickerView.isValid()&&this.fire("execute",{source:"colorPickerSaveButton",value:this.selectedColor})}),o.on("execute",()=>{this.fire("colorPicker:cancel")}),{saveButtonView:i,cancelButtonView:o}}_executeUponColorChange(){this.colorPickerView.on("colorSelected",(e,t)=>{this.fire("execute",{value:t.color,source:"colorPicker"}),this.set("selectedColor",t.color)})}}class wu extends A{constructor(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:s,documentColorsCount:r,colorPickerLabel:a,colorPickerViewConfig:l}){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"items"),h(this,"colorGridsFragmentView"),h(this,"colorPickerFragmentView"),h(this,"_focusCycler"),h(this,"_focusables"),h(this,"_colorPickerViewConfig"),this.items=this.createCollection(),this.focusTracker=new ee,this.keystrokes=new te,this._focusables=new Ie,this._colorPickerViewConfig=l,this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.colorGridsFragmentView=new Fx(e,{colors:t,columns:i,removeButtonLabel:o,documentColorsLabel:s,documentColorsCount:r,colorPickerLabel:a,focusTracker:this.focusTracker,focusables:this._focusables}),this.colorPickerFragmentView=new Nx(e,{focusables:this._focusables,focusTracker:this.focusTracker,keystrokes:this.keystrokes,colorPickerViewConfig:l}),this.set("_isColorGridsFragmentVisible",!0),this.set("_isColorPickerFragmentVisible",!1),this.set("selectedColor",void 0),this.colorGridsFragmentView.bind("isVisible").to(this,"_isColorGridsFragmentVisible"),this.colorPickerFragmentView.bind("isVisible").to(this,"_isColorPickerFragmentVisible"),this.on("change:selectedColor",(c,u,d)=>{this.colorGridsFragmentView.set("selectedColor",d),this.colorPickerFragmentView.set("selectedColor",d)}),this.colorGridsFragmentView.on("change:selectedColor",(c,u,d)=>{this.set("selectedColor",d)}),this.colorPickerFragmentView.on("change:selectedColor",(c,u,d)=>{this.set("selectedColor",d)}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-color-selector"]},children:this.items})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}appendUI(){this._appendColorGridsFragment(),this._colorPickerViewConfig&&this._appendColorPickerFragment()}showColorPickerFragment(){!this.colorPickerFragmentView.colorPickerView||this._isColorPickerFragmentVisible||(this._isColorPickerFragmentVisible=!0,this.colorPickerFragmentView.focus(),this.colorPickerFragmentView.resetValidationStatus(),this._isColorGridsFragmentVisible=!1)}showColorGridsFragment(){this._isColorGridsFragmentVisible||(this._isColorGridsFragmentVisible=!0,this.colorGridsFragmentView.focus(),this._isColorPickerFragmentVisible=!1)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}updateDocumentColors(e,t){this.colorGridsFragmentView.updateDocumentColors(e,t)}updateSelectedColors(){this.colorGridsFragmentView.updateSelectedColors()}_appendColorGridsFragment(){this.items.length||(this.items.add(this.colorGridsFragmentView),this.colorGridsFragmentView.delegate("execute").to(this),this.colorGridsFragmentView.delegate("colorPicker:show").to(this))}_appendColorPickerFragment(){this.items.length!==2&&(this.items.add(this.colorPickerFragmentView),this.colorGridsFragmentView.colorPickerButtonView&&this.colorGridsFragmentView.colorPickerButtonView.on("execute",()=>{this.showColorPickerFragment()}),this.colorGridsFragmentView.addColorPickerButton(),this.colorPickerFragmentView.delegate("execute").to(this),this.colorPickerFragmentView.delegate("colorPicker:cancel").to(this))}}class Dx{constructor(e){h(this,"editor"),h(this,"_components",new Map),this.editor=e}*names(){for(const e of this._components.values())yield e.originalName}add(e,t){this._components.set(Ya(e),{callback:t,originalName:e})}create(e){if(!this.has(e))throw new b("componentfactory-item-missing",this,{name:e});return this._components.get(Ya(e)).callback(this.editor.locale)}has(e){return this._components.has(Ya(e))}}function Ya(n){return String(n).toLowerCase()}const Yd="ck-tooltip",mr=class at extends st(){constructor(e){if(super(),h(this,"tooltipTextView"),h(this,"balloonPanelView"),h(this,"_currentElementWithTooltip",null),h(this,"_currentTooltipPosition",null),h(this,"_mutationObserver",null),h(this,"_pinTooltipDebounced"),h(this,"_unpinTooltipDebounced"),h(this,"_watchdogExcluded"),at._editors.add(e),at._instance)return at._instance;at._instance=this,this.tooltipTextView=new A(e.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new Ne(e.locale),this.balloonPanelView.class=Yd,this.balloonPanelView.content.add(this.tooltipTextView),this._mutationObserver=Hx(()=>{this._updateTooltipPosition()}),this._pinTooltipDebounced=St(this._pinTooltip,600),this._unpinTooltipDebounced=St(this._unpinTooltip,400),this.listenTo(I.document,"keydown",this._onKeyDown.bind(this),{useCapture:!0}),this.listenTo(I.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(I.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(I.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(I.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(I.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(e){const t=e.ui.view&&e.ui.view.body;at._editors.delete(e),this.stopListening(e.ui),t&&t.has(this.balloonPanelView)&&t.remove(this.balloonPanelView),at._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),at._instance=null)}static getPositioningFunctions(e){const t=at.defaultBalloonPositions;return{s:[t.southArrowNorth,t.southArrowNorthEast,t.southArrowNorthWest],n:[t.northArrowSouth],e:[t.eastArrowWest],w:[t.westArrowEast],sw:[t.southArrowNorthEast],se:[t.southArrowNorthWest]}[e]}_onKeyDown(e,t){t.key==="Escape"&&this._currentElementWithTooltip&&(this._unpinTooltip(),t.stopPropagation())}_onEnterOrFocus(e,{target:t}){const i=Xa(t);if(!i){e.name==="focus"&&this._unpinTooltip();return}if(i===this._currentElementWithTooltip){this._unpinTooltipDebounced.cancel();return}this._unpinTooltip(),e.name==="focus"&&!i.matches(":hover")||i.matches("[data-cke-tooltip-instant]")?this._pinTooltip(i,el(i)):this._pinTooltipDebounced(i,el(i))}_onLeaveOrBlur(e,{target:t,relatedTarget:i}){if(e.name==="mouseleave"){if(!xi(t))return;const o=this.balloonPanelView.element,s=o&&(o===i||o.contains(i)),r=!s&&t===o;if(s){this._unpinTooltipDebounced.cancel();return}if(!r&&this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;const a=Xa(t),l=Xa(i);(r||a&&a!==l)&&(this._pinTooltipDebounced.cancel(),this._currentElementWithTooltip&&this._currentElementWithTooltip.matches("[data-cke-tooltip-instant]")||a&&a.matches("[data-cke-tooltip-instant]")?this._unpinTooltip():this._unpinTooltipDebounced())}else{if(this._currentElementWithTooltip&&t!==this._currentElementWithTooltip)return;this._pinTooltipDebounced.cancel(),this._unpinTooltipDebounced()}}_onScroll(e,{target:t}){this._currentElementWithTooltip&&(t.contains(this.balloonPanelView.element)&&t.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(e,{text:t,position:i,cssClass:o}){this._unpinTooltip();const s=ae(at._editors.values()).ui.view.body;s.has(this.balloonPanelView)||s.add(this.balloonPanelView),this.tooltipTextView.text=t,this.balloonPanelView.class=[Yd,o].filter(r=>r).join(" "),this.balloonPanelView.pin({target:e,positions:at.getPositioningFunctions(i)}),this._mutationObserver.attach(e);for(const r of at._editors)this.listenTo(r.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=e,this._currentTooltipPosition=i}_unpinTooltip(){this._unpinTooltipDebounced.cancel(),this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const e of at._editors)this.stopListening(e.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this.tooltipTextView.text="",this._mutationObserver.detach()}_updateTooltipPosition(){if(!this._currentElementWithTooltip)return;const e=el(this._currentElementWithTooltip);if(!Gt(this._currentElementWithTooltip)||!e.text){this._unpinTooltip();return}this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:at.getPositioningFunctions(e.position)})}};h(mr,"defaultBalloonPositions",Ne.generatePositions({heightOffset:5,sideOffset:13})),h(mr,"_editors",new Set),h(mr,"_instance",null);let zx=mr;function Xa(n){return xi(n)?n.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function el(n){return{text:n.dataset.ckeTooltipText,position:n.dataset.ckeTooltipPosition||"s",cssClass:n.dataset.ckeTooltipClass||""}}function Hx(n){const e=new MutationObserver(()=>{n()});return{attach(t){e.observe(t,{attributes:!0,attributeFilter:["data-cke-tooltip-text","data-cke-tooltip-position"]})},detach(){e.disconnect()}}}const $x=50,Wx=350;class ib extends st(){constructor(e,t={}){super(),h(this,"editor"),h(this,"_balloonView",null),h(this,"_showBalloonThrottled",co(()=>this._showBalloon(),50,{leading:!0})),h(this,"_lastFocusedEditableElement",null),h(this,"_balloonClass"),this.editor=e,this._balloonClass=t.balloonClass,e.on("ready",()=>this._handleEditorReady())}destroy(){const e=this._balloonView;e&&(e.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const e=this.editor;this._isEnabled()&&e.ui.view&&(e.ui.focusTracker.on("change:isFocused",(t,i,o)=>{this._updateLastFocusedEditableElement(),o?this._showBalloon():this._hideBalloon()}),e.ui.focusTracker.on("change:focusedElement",(t,i,o)=>{this._updateLastFocusedEditableElement(),o&&this._showBalloon()}),e.ui.on("update",()=>{this._showBalloonThrottled()}))}_getNormalizedConfig(){return{side:this.editor.locale.contentLanguageDirection==="ltr"?"right":"left",position:"border",verticalOffset:0,horizontalOffset:5}}_showBalloon(){const e=this._getBalloonAttachOptions();e&&(this._balloonView||(this._balloonView=this._createBalloonView()),this._balloonView.pin(e))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_createBalloonView(){const e=this.editor,t=new Ne,i=this._createBadgeContent();return t.content.add(i),this._balloonClass&&(t.class=this._balloonClass),e.ui.view.body.add(t),t}_getBalloonAttachOptions(){if(!this._lastFocusedEditableElement)return null;const e=this._getNormalizedConfig(),t=e.side==="right"?jx(this._lastFocusedEditableElement,e):Ux(this._lastFocusedEditableElement,e);return{target:this._lastFocusedEditableElement,positions:[t]}}_updateLastFocusedEditableElement(){const e=this.editor,t=e.ui.focusTracker.isFocused,i=e.ui.focusTracker.focusedElement;if(!t||!i){this._lastFocusedEditableElement=null;return}const o=Array.from(e.ui.getEditableElementsNames()).map(s=>e.ui.getEditableElement(s));o.includes(i)?this._lastFocusedEditableElement=i:this._lastFocusedEditableElement=o[0]}}function jx(n,e){return nb(n,e,(t,i)=>t.left+t.width-i.width-e.horizontalOffset)}function Ux(n,e){return nb(n,e,t=>t.left+e.horizontalOffset)}function nb(n,e,t){return(i,o)=>{const s=new z(n);if(s.widths.preventDefault())}}]})}}class Zx extends ib{constructor(e){super(e,{balloonClass:"ck-evaluation-badge-balloon"}),h(this,"licenseTypeMessage",{evaluation:"For evaluation purposes only",trial:"For evaluation purposes only",development:"For development purposes only"})}_isEnabled(){const e=this.editor.config.get("licenseKey"),t=Xd(e);return!!(t&&this.licenseTypeMessage[t])}_createBadgeContent(){const e=this.editor.config.get("licenseKey"),t=Xd(e);return new Jx(this.editor.locale,this.licenseTypeMessage[t])}_getNormalizedConfig(){const e=super._getNormalizedConfig(),t=this.editor.config.get("ui.poweredBy")||{},i=t.position||e.position,o=t.side||e.side;return{position:i,side:o==="left"?"right":"left",verticalOffset:e.verticalOffset,horizontalOffset:e.horizontalOffset}}}class Jx extends A{constructor(e,t){super(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-evaluation-badge"],"aria-hidden":!0},children:[{tag:"span",attributes:{class:["ck","ck-evaluation-badge__label"]},children:[t]}]})}}function Xd(n){if(n=="GPL")return"GPL";const e=Wc(n.split(".")[1]);return e?e.licenseType||"production":null}const em={POLITE:"polite",ASSERTIVE:"assertive"};class Qx{constructor(e){h(this,"editor"),h(this,"view"),this.editor=e,e.once("ready",()=>{for(const t of Object.values(em))this.announce("",t)})}announce(e,t=em.POLITE){const i=this.editor;if(!i.ui.view)return;this.view||(this.view=new Yx(i.locale),i.ui.view.body.add(this.view));const{politeness:o,isUnsafeHTML:s}=typeof t=="string"?{politeness:t}:t;let r=this.view.regionViews.find(a=>a.politeness===o);r||(r=new Xx(i,o),this.view.regionViews.add(r)),r.announce({announcement:e,isUnsafeHTML:s})}}class Yx extends A{constructor(e){super(e),h(this,"regionViews"),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class Xx extends A{constructor(e,t){super(e.locale),h(this,"politeness"),h(this,"_domConverter"),h(this,"_pruneAnnouncementsInterval"),this.setTemplate({tag:"div",attributes:{"aria-live":t,"aria-relevant":"additions"},children:[{tag:"ul",attributes:{class:["ck","ck-aria-live-region-list"]}}]}),e.on("destroy",()=>{this._pruneAnnouncementsInterval!==null&&(clearInterval(this._pruneAnnouncementsInterval),this._pruneAnnouncementsInterval=null)}),this.politeness=t,this._domConverter=e.data.htmlProcessor.domConverter,this._pruneAnnouncementsInterval=setInterval(()=>{this.element&&this._listElement.firstChild&&this._listElement.firstChild.remove()},5e3)}announce({announcement:e,isUnsafeHTML:t}){if(!e.trim().length)return;const i=document.createElement("li");t?this._domConverter.setContentOf(i,e):i.innerText=e,this._listElement.appendChild(i)}get _listElement(){return this.element.querySelector("ul")}}class Oi extends Nt{constructor(e,t){super(e);const i=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item"]},on:{mouseenter:i.to("mouseenter")}}),this.delegate("mouseenter").to(t)}}const Gs=5,Dn={toggleMenusAndFocusItemsOnHover(n){n.on("menu:mouseenter",e=>{if(!(!n.isFocusBorderEnabled&&!n.isOpen)){if(n.isOpen)for(const t of n.menus){const i=e.path[0],o=i instanceof Oi&&i.children.first===t;t.isOpen=(e.path.includes(t)||o)&&t.isEnabled}e.source.focus()}})},focusCycleMenusOnArrows(n){const e=n.locale.uiLanguageDirection==="rtl";n.on("menu:arrowright",i=>{t(i.source,e?-1:1)}),n.on("menu:arrowleft",i=>{t(i.source,e?1:-1)});function t(i,o){const s=n.children.getIndex(i),r=i.isOpen,a=n.children.length,l=n.children.get((s+a+o)%a);i.isOpen=!1,r&&(l.isOpen=!0),l.buttonView.focus()}},closeMenusWhenTheBarCloses(n){n.on("change:isOpen",()=>{n.isOpen||n.menus.forEach(e=>{e.isOpen=!1})})},closeMenuWhenAnotherOnTheSameLevelOpens(n){n.on("menu:change:isOpen",(e,t,i)=>{i&&n.menus.filter(o=>e.source.parentMenuView===o.parentMenuView&&e.source!==o&&o.isOpen).forEach(o=>{o.isOpen=!1})})},closeOnClickOutside(n){$t({emitter:n,activator:()=>n.isOpen,callback:()=>n.close(),contextElements:()=>n.children.map(e=>e.element)})},enableFocusHighlightOnInteraction(n){let e=!1;n.on("change:isOpen",(t,i,o)=>{o||(e||(n.isFocusBorderEnabled=!1),e=!1)}),n.listenTo(n.element,"keydown",()=>{e=!0},{useCapture:!0}),n.listenTo(n.element,"keyup",()=>{e=!1},{useCapture:!0}),n.listenTo(n.element,"focus",()=>{e&&(n.isFocusBorderEnabled=!0)},{useCapture:!0})}},Fi={openAndFocusPanelOnArrowDownKey(n){n.keystrokes.set("arrowdown",(e,t)=>{n.isEnabled&&n.focusTracker.focusedElement===n.buttonView.element&&(n.isOpen||(n.isOpen=!0),n.panelView.focus(),t())})},openOnArrowRightKey(n){const e=n.locale.uiLanguageDirection==="rtl"?"arrowleft":"arrowright";n.keystrokes.set(e,(t,i)=>{n.focusTracker.focusedElement!==n.buttonView.element||!n.isEnabled||(n.isOpen||(n.isOpen=!0),n.panelView.focus(),i())})},openOnButtonClick(n){n.buttonView.on("execute",()=>{n.isOpen=!0})},toggleOnButtonClick(n){n.buttonView.on("execute",()=>{n.isOpen=!n.isOpen})},openAndFocusOnEnterKeyPress(n){n.keystrokes.set("enter",(e,t)=>{n.focusTracker.focusedElement===n.buttonView.element&&(n.isOpen=!0,n.panelView.focus(),t())})},closeOnArrowLeftKey(n){const e=n.locale.uiLanguageDirection==="rtl"?"arrowright":"arrowleft";n.keystrokes.set(e,(t,i)=>{n.isOpen&&(n.isOpen=!1,n.focus(),i())})},closeOnEscKey(n){n.keystrokes.set("esc",(e,t)=>{n.isOpen&&(n.isOpen=!1,n.focus(),t())})},closeOnParentClose(n){n.parentMenuView.on("change:isOpen",(e,t,i)=>{!i&&e.source===n.parentMenuView&&(n.isOpen=!1)})}},eT={southEast:n=>({top:n.bottom,left:n.left,name:"se"}),southWest:(n,e)=>({top:n.bottom,left:n.left-e.width+n.width,name:"sw"}),northEast:(n,e)=>({top:n.top-e.height,left:n.left,name:"ne"}),northWest:(n,e)=>({top:n.top-e.height,left:n.left-e.width+n.width,name:"nw"}),eastSouth:n=>({top:n.top,left:n.right-Gs,name:"es"}),eastNorth:(n,e)=>({top:n.top-e.height,left:n.right-Gs,name:"en"}),westSouth:(n,e)=>({top:n.top,left:n.left-e.width+Gs,name:"ws"}),westNorth:(n,e)=>({top:n.top-e.height,left:n.left-e.width+Gs,name:"wn"})},tT=[{menuId:"file",label:"File",groups:[{groupId:"export",items:["menuBar:exportPdf","menuBar:exportWord"]},{groupId:"import",items:["menuBar:importWord"]},{groupId:"revisionHistory",items:["menuBar:revisionHistory"]}]},{menuId:"edit",label:"Edit",groups:[{groupId:"undo",items:["menuBar:undo","menuBar:redo"]},{groupId:"selectAll",items:["menuBar:selectAll"]},{groupId:"findAndReplace",items:["menuBar:findAndReplace"]}]},{menuId:"view",label:"View",groups:[{groupId:"sourceEditingEnhanced",items:["menuBar:sourceEditingEnhanced"]},{groupId:"sourceEditing",items:["menuBar:sourceEditing"]},{groupId:"showBlocks",items:["menuBar:showBlocks"]},{groupId:"previewMergeFields",items:["menuBar:previewMergeFields"]},{groupId:"fullscreen",items:["menuBar:fullscreen"]},{groupId:"restrictedEditing",items:["menuBar:restrictedEditing"]}]},{menuId:"insert",label:"Insert",groups:[{groupId:"insertMainWidgets",items:["menuBar:insertImage","menuBar:ckbox","menuBar:ckfinder","menuBar:insertTable","menuBar:insertTableLayout"]},{groupId:"insertInline",items:["menuBar:link","menuBar:bookmark","menuBar:comment","menuBar:insertMergeField","menuBar:emoji"]},{groupId:"insertMinorWidgets",items:["menuBar:mediaEmbed","menuBar:insertTemplate","menuBar:specialCharacters","menuBar:blockQuote","menuBar:codeBlock","menuBar:htmlEmbed"]},{groupId:"insertStructureWidgets",items:["menuBar:horizontalLine","menuBar:pageBreak","menuBar:tableOfContents"]},{groupId:"restrictedEditingException",items:["menuBar:restrictedEditingException"]}]},{menuId:"format",label:"Format",groups:[{groupId:"textAndFont",items:[{menuId:"text",label:"Text",groups:[{groupId:"basicStyles",items:["menuBar:bold","menuBar:italic","menuBar:underline","menuBar:strikethrough","menuBar:superscript","menuBar:subscript","menuBar:code"]},{groupId:"textPartLanguage",items:["menuBar:textPartLanguage"]}]},{menuId:"font",label:"Font",groups:[{groupId:"fontProperties",items:["menuBar:fontSize","menuBar:fontFamily"]},{groupId:"fontColors",items:["menuBar:fontColor","menuBar:fontBackgroundColor"]},{groupId:"highlight",items:["menuBar:highlight"]}]},"menuBar:heading"]},{groupId:"list",items:["menuBar:bulletedList","menuBar:numberedList","menuBar:multiLevelList","menuBar:todoList"]},{groupId:"indent",items:["menuBar:alignment","menuBar:indent","menuBar:outdent"]},{groupId:"caseChange",items:["menuBar:caseChange"]},{groupId:"removeFormat",items:["menuBar:removeFormat"]}]},{menuId:"tools",label:"Tools",groups:[{groupId:"aiTools",items:["menuBar:aiAssistant","menuBar:aiCommands"]},{groupId:"tools",items:["menuBar:trackChanges","menuBar:commentsArchive"]}]},{menuId:"help",label:"Help",groups:[{groupId:"help",items:["menuBar:accessibilityHelp"]}]}];function iT(n){let e;return!("items"in n)||!n.items?e={items:mt(tT),addItems:[],removeItems:[],isVisible:!0,isUsingDefaultConfig:!0,...n}:e={items:n.items,removeItems:[],addItems:[],isVisible:!0,isUsingDefaultConfig:!1,...n},e}function nT({normalizedConfig:n,locale:e,componentFactory:t,extraItems:i}){const o=mt(n);return tm(n,o,i),oT(n,o),tm(n,o,o.addItems),sT(n,o,t),ob(n,o),rT(o,e),o}function oT(n,e){const t=e.removeItems,i=[];e.items=e.items.filter(({menuId:o})=>t.includes(o)?(i.push(o),!1):!0),Co(e.items,o=>{o.groups=o.groups.filter(({groupId:s})=>t.includes(s)?(i.push(s),!1):!0);for(const s of o.groups)s.items=s.items.filter(r=>{const a=sb(r);return t.includes(a)?(i.push(a),!1):!0})});for(const o of t)i.includes(o)||J("menu-bar-item-could-not-be-removed",{menuBarConfig:n,itemName:o})}function tm(n,e,t){const i=[];if(t.length!=0){for(const o of t){const s=cT(o.position),r=uT(o.position);if(aT(o))if(!r)s==="start"?(e.items.unshift(o.menu),i.push(o)):s==="end"&&(e.items.push(o.menu),i.push(o));else{const a=e.items.findIndex(l=>l.menuId===r);a!=-1?s==="before"?(e.items.splice(a,0,o.menu),i.push(o)):s==="after"&&(e.items.splice(a+1,0,o.menu),i.push(o)):im(e,o.menu,r,s)&&i.push(o)}else lT(o)?Co(e.items,a=>{if(a.menuId===r)s==="start"?(a.groups.unshift(o.group),i.push(o)):s==="end"&&(a.groups.push(o.group),i.push(o));else{const l=a.groups.findIndex(c=>c.groupId===r);l!==-1&&(s==="before"?(a.groups.splice(l,0,o.group),i.push(o)):s==="after"&&(a.groups.splice(l+1,0,o.group),i.push(o)))}}):im(e,o.item,r,s)&&i.push(o)}for(const o of t)i.includes(o)||J("menu-bar-item-could-not-be-added",{menuBarConfig:n,addedItemConfig:o})}}function im(n,e,t,i){let o=!1;return Co(n.items,s=>{for(const{groupId:r,items:a}of s.groups){if(o)return;if(r===t)i==="start"?(a.unshift(e),o=!0):i==="end"&&(a.push(e),o=!0);else{const l=a.findIndex(c=>sb(c)===t);l!==-1&&(i==="before"?(a.splice(l,0,e),o=!0):i==="after"&&(a.splice(l+1,0,e),o=!0))}}}),o}function sT(n,e,t){Co(e.items,i=>{for(const o of i.groups)o.items=o.items.filter(s=>{const r=typeof s=="string"&&!t.has(s);return r&&!e.isUsingDefaultConfig&&J("menu-bar-item-unavailable",{menuBarConfig:n,parentMenuConfig:mt(i),componentName:s}),!r})})}function ob(n,e){const t=e.isUsingDefaultConfig;let i=!1;if(e.items=e.items.filter(o=>o.groups.length?!0:(tl(n,o,t),!1)),!e.items.length){tl(n,n,t);return}Co(e.items,o=>{o.groups=o.groups.filter(s=>s.items.length?!0:(i=!0,!1));for(const s of o.groups)s.items=s.items.filter(r=>rb(r)&&!r.groups.length?(tl(n,r,t),i=!0,!1):!0)}),i&&ob(n,e)}function tl(n,e,t){t||J("menu-bar-menu-empty",{menuBarConfig:n,emptyMenuConfig:e})}function rT(n,e){const t=e.t,i={File:t({string:"File",id:"MENU_BAR_MENU_FILE"}),Edit:t({string:"Edit",id:"MENU_BAR_MENU_EDIT"}),View:t({string:"View",id:"MENU_BAR_MENU_VIEW"}),Insert:t({string:"Insert",id:"MENU_BAR_MENU_INSERT"}),Format:t({string:"Format",id:"MENU_BAR_MENU_FORMAT"}),Tools:t({string:"Tools",id:"MENU_BAR_MENU_TOOLS"}),Help:t({string:"Help",id:"MENU_BAR_MENU_HELP"}),Text:t({string:"Text",id:"MENU_BAR_MENU_TEXT"}),Font:t({string:"Font",id:"MENU_BAR_MENU_FONT"})};Co(n.items,o=>{o.label in i&&(o.label=i[o.label])})}function Co(n,e){if(Array.isArray(n))for(const i of n)t(i);function t(i){e(i);for(const o of i.groups)for(const s of o.items)rb(s)&&t(s)}}function aT(n){return typeof n=="object"&&"menu"in n}function lT(n){return typeof n=="object"&&"group"in n}function cT(n){return n.startsWith("start")?"start":n.startsWith("end")?"end":n.startsWith("after")?"after":"before"}function uT(n){const e=n.match(/^[^:]+:(.+)/);return e?e[1]:null}function sb(n){return typeof n=="string"?n:n.menuId}function rb(n){return typeof n=="object"&&"menuId"in n}class ab extends ue(){constructor(e){super(),h(this,"editor"),h(this,"componentFactory"),h(this,"focusTracker"),h(this,"tooltipManager"),h(this,"poweredBy"),h(this,"evaluationBadge"),h(this,"ariaLiveAnnouncer"),h(this,"isReady",!1),h(this,"_editableElementsMap",new Map),h(this,"_focusableToolbarDefinitions",[]),h(this,"_extraMenuBarElements",[]),h(this,"_lastFocusedForeignElement",null),h(this,"_domEmitter");const t=e.editing.view;this.editor=e,this.componentFactory=new Dx(e),this.focusTracker=new ee,this.tooltipManager=new zx(e),this.poweredBy=new Gx(e),this.evaluationBadge=new Zx(e),this.ariaLiveAnnouncer=new Qx(e),this._initViewportOffset(this._readViewportOffsetFromConfig()),this.once("ready",()=>{this._bindBodyCollectionWithFocusTracker(),this.isReady=!0}),this.listenTo(t.document,"layoutChanged",this.update.bind(this)),this.listenTo(t,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking(),this._initVisualViewportSupport()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy(),this.evaluationBadge.destroy();for(const e of this._editableElementsMap.values())e.ckeditorInstance=null,this.editor.keystrokes.stopListening(e);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[],this._domEmitter&&this._domEmitter.stopListening()}setEditableElement(e,t){this._editableElementsMap.set(e,t),t.ckeditorInstance||(t.ckeditorInstance=this.editor),this.focusTracker.add(t);const i=()=>{this.editor.editing.view.getDomRoot(e)||this.editor.keystrokes.listenTo(t)};this.isReady?i():this.once("ready",i)}removeEditableElement(e){const t=this._editableElementsMap.get(e);t&&(this._editableElementsMap.delete(e),this.editor.keystrokes.stopListening(t),this.focusTracker.remove(t),t.ckeditorInstance=null)}getEditableElement(e="main"){return this._editableElementsMap.get(e)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(e,t={}){e.isRendered?(this.focusTracker.add(e),this.editor.keystrokes.listenTo(e.element)):e.once("render",()=>{this.focusTracker.add(e),this.editor.keystrokes.listenTo(e.element)}),this._focusableToolbarDefinitions.push({toolbarView:e,options:t})}extendMenuBar(e){this._extraMenuBarElements.push(e)}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}initMenuBar(e){const t=e.element;this.focusTracker.add(t),this.editor.keystrokes.listenTo(t);const i=iT(this.editor.config.get("menuBar")||{});e.fillFromConfig(i,this.componentFactory,this._extraMenuBarElements),this.editor.keystrokes.set("Esc",(o,s)=>{t.contains(this.editor.ui.focusTracker.focusedElement)&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):this.editor.editing.view.focus(),s())}),this.editor.keystrokes.set("Alt+F9",(o,s)=>{t.contains(this.editor.ui.focusTracker.focusedElement)||(this._saveLastFocusedForeignElement(),e.isFocusBorderEnabled=!0,e.focus(),s())})}_readViewportOffsetFromConfig(){const e=this.editor,t=e.config.get("ui.viewportOffset");if(t)return t;const i=e.config.get("toolbar.viewportTopOffset");return i?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:i}):{top:0}}_initFocusTracking(){const e=this.editor;let t;e.keystrokes.set("Alt+F10",(i,o)=>{this._saveLastFocusedForeignElement();const s=this._getCurrentFocusedToolbarDefinition();(!s||!t)&&(t=this._getFocusableCandidateToolbarDefinitions());for(let r=0;r{const s=this._getCurrentFocusedToolbarDefinition();s&&(this._lastFocusedForeignElement?(this._lastFocusedForeignElement.focus(),this._lastFocusedForeignElement=null):e.editing.view.focus(),s.options.afterBlur&&s.options.afterBlur(),o())})}_saveLastFocusedForeignElement(){const e=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(e)&&!Array.from(this.editor.editing.view.domRoots.values()).includes(e)&&(this._lastFocusedForeignElement=e)}_getFocusableCandidateToolbarDefinitions(){const e=[];for(const t of this._focusableToolbarDefinitions){const{toolbarView:i,options:o}=t;(Gt(i.element)||o.beforeFocus)&&e.push(t)}return e.sort((t,i)=>nm(t)-nm(i)),e}_getCurrentFocusedToolbarDefinition(){for(const e of this._focusableToolbarDefinitions)if(e.toolbarView.element&&e.toolbarView.element.contains(this.focusTracker.focusedElement))return e;return null}_focusFocusableCandidateToolbar(e){const{toolbarView:t,options:{beforeFocus:i}}=e;return i&&i(),Gt(t.element)?(t.focus(),!0):!1}_handleScrollToTheSelection(e,t){const i={top:0,bottom:0,left:0,right:0,...this.viewportOffset};t.viewportOffset.top+=i.top,t.viewportOffset.bottom+=i.bottom,t.viewportOffset.left+=i.left,t.viewportOffset.right+=i.right}_bindBodyCollectionWithFocusTracker(){const e=this.view.body;for(const t of e)this.focusTracker.add(t.element);e.on("add",(t,i)=>{this.focusTracker.add(i.element)}),e.on("remove",(t,i)=>{this.focusTracker.remove(i.element)})}_initViewportOffset(e){this.on("set:viewportOffset",(t,i,o)=>{const s=this._getVisualViewportTopOffset(o);o.visualTop!==s&&(t.return={...o,visualTop:s})}),this.set("viewportOffset",e)}_initVisualViewportSupport(){if(!I.window.visualViewport)return;const e=()=>{const t=this._getVisualViewportTopOffset(this.viewportOffset);this.viewportOffset.visualTop!==t&&(this.viewportOffset={...this.viewportOffset,visualTop:t})};this._domEmitter=new(st()),this._domEmitter.listenTo(I.window.visualViewport,"scroll",e),this._domEmitter.listenTo(I.window.visualViewport,"resize",e)}_getVisualViewportTopOffset(e){const t=av().top,i=e.top||0;return t>i?0:i-t}}function nm(n){const{toolbarView:e,options:t}=n;let i=10;return Gt(e.element)&&i--,t.isContextual&&(i-=2),i}class lb extends A{constructor(e){super(e),h(this,"body"),h(this,"menuBarView"),h(this,"toolbar"),this.body=new rx(e)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class hT extends A{constructor(e,t,i){super(e),h(this,"name",null),h(this,"_editingView"),h(this,"_editableElement"),h(this,"_hasExternalElement"),this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:e.contentLanguage,dir:e.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=i,this._hasExternalElement=!!this._editableElement,this._editingView=t}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const e=this._editingView;e.isRenderingInProgress?i(this):t(this);function t(o){e.change(s=>{const r=e.document.getRoot(o.name);s.addClass(o.isFocused?"ck-focused":"ck-blurred",r),s.removeClass(o.isFocused?"ck-blurred":"ck-focused",r)})}function i(o){e.once("change:isRenderingInProgress",(s,r,a)=>{a?i(o):t(o)})}}}class cb extends hT{constructor(e,t,i,o={}){super(e,t,i),h(this,"_options"),this._options=o,this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}})}render(){super.render();const e=this._editingView;e.change(t=>{const i=e.document.getRoot(this.name);t.setAttribute("aria-label",this.getEditableAriaLabel(),i)})}getEditableAriaLabel(){const e=this.locale.t,t=this._options.label,i=this._editableElement,o=this.name;if(typeof t=="string")return t;if(typeof t=="object")return t[o];if(typeof t=="function")return t(this);if(i){const s=i.getAttribute("aria-label");if(s)return s}return e("Rich Text Editor. Editing area: %0",o)}}class $e extends A{constructor(e,t={}){super(e),h(this,"children");const i=this.bindTemplate;this.set("class",["ck","ck-form__row",...he(t.class||[])]),this.children=this.createCollection(),t.children&&t.children.forEach(o=>this.children.add(o)),this.set("_role",null),this.set("_ariaLabelledBy",null),t.labelView&&this.set({_role:"group",_ariaLabelledBy:t.labelView.id}),this.setTemplate({tag:"div",attributes:{class:i.to("class",o=>o.join(" ")),role:i.to("_role"),"aria-labelledby":i.to("_ariaLabelledBy")},children:this.children})}}class Nr extends uw{static get pluginName(){return"Notification"}static get isOfficialPlugin(){return!0}init(){this.on("show:warning",(e,t)=>{window.alert(t.message)},{priority:"lowest"})}showSuccess(e,t={}){this._showNotification({message:e,type:"success",namespace:t.namespace,title:t.title})}showInfo(e,t={}){this._showNotification({message:e,type:"info",namespace:t.namespace,title:t.title})}showWarning(e,t={}){this._showNotification({message:e,type:"warning",namespace:t.namespace,title:t.title})}_showNotification(e){const t=e.namespace?`show:${e.type}:${e.namespace}`:`show:${e.type}`;this.fire(t,{message:e.message,type:e.type,title:e.title||""})}}class et extends ue(){constructor(e,t){super(),t&&Rg(this,t),e&&this.set(e)}}const Ks=Vi("px");class Ue extends w{constructor(e){super(e),h(this,"positionLimiter"),h(this,"visibleStack"),h(this,"_viewToStack",new Map),h(this,"_idToStack",new Map),h(this,"_view",null),h(this,"_rotatorView",null),h(this,"_fakePanelsView",null),this.positionLimiter=()=>{const t=this.editor.editing.view,i=t.document.selection.editableElement;return i?t.domConverter.mapViewToDom(i.root):null},this.decorate("getPositionOptions"),this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(e){return Array.from(this._viewToStack.keys()).includes(e)}add(e){if(this._view||this._createPanelView(),this.hasView(e.view))throw new b("contextualballoon-add-view-exist",[this,e]);const t=e.stackId||"main";if(!this._idToStack.has(t)){this._idToStack.set(t,new Map([[e.view,e]])),this._viewToStack.set(e.view,this._idToStack.get(t)),this._numberOfStacks=this._idToStack.size,(!this._visibleStack||e.singleViewMode)&&this.showStack(t);return}const i=this._idToStack.get(t);e.singleViewMode&&this.showStack(t),i.set(e.view,e),this._viewToStack.set(e.view,i),i===this._visibleStack&&this._showView(e)}remove(e){if(!this.hasView(e))throw new b("contextualballoon-remove-view-not-exist",[this,e]);const t=this._viewToStack.get(e);this._singleViewMode&&this.visibleView===e&&(this._singleViewMode=!1),this.visibleView===e&&(t.size===1?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(t.values())[t.size-2])),t.size===1?(this._idToStack.delete(this._getStackId(t)),this._numberOfStacks=this._idToStack.size):t.delete(e),this._viewToStack.delete(e)}updatePosition(e){e&&(this._visibleStack.get(this.visibleView).position=e),this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition()}getPositionOptions(){let e=Array.from(this._visibleStack.values()).pop().position;return e&&(e.limiter||(e=Object.assign({},e,{limiter:this.positionLimiter})),e=Object.assign({},e,{viewportOffsetConfig:{...this.editor.ui.viewportOffset,top:this.editor.ui.viewportOffset.visualTop}})),e}showStack(e){this.visibleStack=e;const t=this._idToStack.get(e);if(!t)throw new b("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==t&&this._showView(Array.from(t.values()).pop())}_createPanelView(){this._view=new Ne(this.editor.locale),this.editor.ui.view.body.add(this._view),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(e){return Array.from(this._idToStack.entries()).find(t=>t[1]===e)[0]}_showNextStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)+1;e[t]||(t=0),this.showStack(this._getStackId(e[t]))}_showPrevStack(){const e=Array.from(this._idToStack.values());let t=e.indexOf(this._visibleStack)-1;e[t]||(t=e.length-1),this.showStack(this._getStackId(e[t]))}_createRotatorView(){const e=new dT(this.editor.locale),t=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(i,o)=>!o&&i>1),e.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(i,o)=>{if(o<2)return"";const s=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return t("%0 of %1",[s,o])}),e.buttonNextView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),e.buttonPrevView.on("execute",()=>{e.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),e}_createFakePanelsView(){const e=new mT(this.editor.locale,this.view);return e.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(t,i)=>!i&&t>=2?Math.min(t-1,2):0),e.listenTo(this.view,"change:top",()=>e.updatePosition()),e.listenTo(this.view,"change:left",()=>e.updatePosition()),this.editor.ui.view.body.add(e),e}_showView({view:e,balloonClassName:t="",withArrow:i=!0,singleViewMode:o=!1}){this.view.class=t,this.view.withArrow=i,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this.getPositionOptions()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}}class dT extends A{constructor(e){super(e),h(this,"focusTracker"),h(this,"buttonPrevView"),h(this,"buttonNextView"),h(this,"content");const t=e.t,i=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new ee,this.buttonPrevView=this._createButtonView(t("Previous"),li),this.buttonNextView=this._createButtonView(t("Next"),ww),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",i.to("isNavigationVisible",o=>o?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:i.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(e){this.hideView(),this.content.add(e)}hideView(){this.content.clear()}_createButtonView(e,t){const i=new P(this.locale);return i.set({label:e,icon:t,tooltip:!0}),i}}class mT extends A{constructor(e,t){super(e),h(this,"content"),h(this,"_balloonPanelView");const i=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=t,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",i.to("numberOfPanels",o=>o?"":"ck-hidden")],style:{top:i.to("top",Ks),left:i.to("left",Ks),width:i.to("width",Ks),height:i.to("height",Ks)}},children:this.content}),this.on("change:numberOfPanels",(o,s,r,a)=>{r>a?this._addPanels(r-a):this._removePanels(a-r),this.updatePosition()})}_addPanels(e){for(;e--;){const t=new A;t.setTemplate({tag:"div"}),this.content.add(t),this.registerChild(t)}}_removePanels(e){for(;e--;){const t=this.content.last;this.content.remove(t),this.deregisterChild(t),t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:e,left:t}=this._balloonPanelView,{width:i,height:o}=new z(this._balloonPanelView.element);Object.assign(this,{top:e,left:t,width:i,height:o})}}}class fT extends Te{constructor(e,t){const i=e.t,o=Object.assign({},{showResetButton:!0,showIcon:!0,creator:nt},t);super(e,o.creator),h(this,"iconView"),h(this,"resetButtonView"),h(this,"_viewConfig"),this.label=t.label,this._viewConfig=o,this._viewConfig.showIcon&&(this.iconView=new hi,this.iconView.content=qC,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})),this._viewConfig.showResetButton&&(this.resetButtonView=new P(e),this.resetButtonView.set({label:i("Clear"),icon:_o,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",()=>{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",s=>!s),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class ub extends A{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",e.if("isVisible","ck-hidden",t=>!t)],tabindex:-1},children:[{tag:"span",children:[{text:[e.to("primaryText")]}]},{tag:"span",children:[{text:[e.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class gT extends A{constructor(e){super(e),h(this,"focusTracker"),h(this,"children"),h(this,"_focusCycler"),this.children=this.createCollection(),this.focusTracker=new ee,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new Ae({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const e of this.children)this.focusTracker.add(e.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class pT extends A{constructor(e,t){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"resultsView"),h(this,"filteredView"),h(this,"infoView"),h(this,"queryView"),h(this,"focusCycler"),h(this,"_config"),this._config=t,this.filteredView=t.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new ee,this.keystrokes=new te,this.resultsView=new gT(e),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),t.infoView&&t.infoView.instance?this.infoView=t.infoView.instance:(this.infoView=new ub,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new Ae({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(i,{resultsCount:o,totalItemsCount:s})=>{this.resultsCount=o,this.totalItemsCount=s}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",t.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const e=t=>t.stopPropagation();for(const t of this.focusableChildren)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search(""),this.filteredView.element.scrollTo(0,0)}search(e){const t=e?new RegExp(ta(e),"ig"):null,i=this.filteredView.filter(t);this.fire("search",{query:e,...i})}_createSearchTextQueryView(){const e=new fT(this.locale,this._config.queryView);return this.listenTo(e.fieldView,"input",()=>{this.search(e.fieldView.element.value)}),e.on("reset",()=>this.reset()),e.bind("isEnabled").to(this),e}_enableDefaultInfoViewBehavior(){const e=this.locale.t,t=this.infoView;this.on("search",(o,s)=>{if(s.resultsCount)t.set({isVisible:!1});else{const r=this._config.infoView&&this._config.infoView.text;let a,l;s.totalItemsCount?r!=null&&r.notFound?(a=r.notFound.primary,l=r.notFound.secondary):(a=e("No results found"),l=""):r!=null&&r.noSearchableItems?(a=r.noSearchableItems.primary,l=r.noSearchableItems.secondary):(a=e("No searchable items"),l=""),t.set({primaryText:i(a,s),secondaryText:i(l,s),isVisible:!0})}});function i(o,{query:s,resultsCount:r,totalItemsCount:a}){return typeof o=="function"?o(s,r,a):o}}}const wT=Vi("px");class bT extends w{constructor(e){super(e),h(this,"toolbarView"),h(this,"focusTracker"),h(this,"_balloonConfig"),h(this,"_resizeObserver",null),h(this,"_balloon"),h(this,"_fireSelectionChangeDebounced"),this._balloonConfig=gu(e.config.get("balloonToolbar")),this.toolbarView=this._createToolbarView(),this.focusTracker=new ee,this._trackFocusableEditableElements(),this.focusTracker.add(this.toolbarView),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this.show(!0),afterBlur:()=>this.hide(),isContextual:!0}),this._balloon=e.plugins.get(Ue),this._fireSelectionChangeDebounced=St(()=>this.fire("_selectionChangeDebounced"),200),this.decorate("show")}static get pluginName(){return"BalloonToolbar"}static get isOfficialPlugin(){return!0}static get requires(){return[Ue]}init(){const e=this.editor,t=e.model.document.selection;this.listenTo(this.focusTracker,"change:isFocused",(i,o,s)=>{const r=this._balloon.visibleView===this.toolbarView;!s&&r?this.hide():s&&this.show()}),this.listenTo(t,"change:range",(i,o)=>{(o.directChange||t.isCollapsed)&&this.hide(),this._fireSelectionChangeDebounced()}),this.listenTo(this,"_selectionChangeDebounced",()=>{this.editor.editing.view.document.isFocused&&this.show()}),this._balloonConfig.shouldNotGroupWhenFull||this.listenTo(e,"ready",()=>{const i=e.ui.view.editable.element;this._resizeObserver=new bo(i,o=>{this.toolbarView.maxWidth=wT(o.contentRect.width*.9)})}),this.listenTo(this.toolbarView,"groupedItemsUpdate",()=>{this._updatePosition()}),e.ui.once("ready",()=>{this.toolbarView.fillFromConfig(this._balloonConfig,this.editor.ui.componentFactory)})}_createToolbarView(){const e=this.editor.locale.t,t=!this._balloonConfig.shouldNotGroupWhenFull,i=new Ei(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor contextual toolbar"),i.render(),i}show(e=!1){const t=this.editor,i=t.model.document.selection,o=t.model.schema;this._balloon.hasView(this.toolbarView)||i.isCollapsed&&!e||_T(i,o)||Array.from(this.toolbarView.items).every(s=>s.isEnabled!==void 0&&!s.isEnabled)||(this.listenTo(this.editor.ui,"update",()=>{this._updatePosition()}),this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"}))}hide(){this._balloon.hasView(this.toolbarView)&&(this.stopListening(this.editor.ui,"update"),this._balloon.remove(this.toolbarView))}_trackFocusableEditableElements(){const{editor:e,focusTracker:t}=this,{editing:i}=e;i.view.addObserver(class extends Zt{observe(o){t.add(o)}stopObserving(o){t.remove(o)}})}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document,i=t.selection,o=t.selection.isBackward;return{target:()=>{const s=o?i.getFirstRange():i.getLastRange(),r=z.getDomRangeRects(e.domConverter.viewRangeToDom(s));return o?r[0]:(r.length>1&&r[r.length-1].width===0&&r.pop(),r[r.length-1])},positions:this._getBalloonPositions(o)}}_updatePosition(){this._balloon.updatePosition(this._getBalloonPositionData())}destroy(){super.destroy(),this.stopListening(),this._fireSelectionChangeDebounced.cancel(),this.toolbarView.destroy(),this.focusTracker.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getBalloonPositions(e){const t=N.isSafari&&N.isiOS?Ne.generatePositions({heightOffset:Math.max(Ne.arrowHeightOffset,Math.round(20/I.window.visualViewport.scale))}):Ne.defaultPositions;return e?[t.northWestArrowSouth,t.northWestArrowSouthWest,t.northWestArrowSouthEast,t.northWestArrowSouthMiddleEast,t.northWestArrowSouthMiddleWest,t.southWestArrowNorth,t.southWestArrowNorthWest,t.southWestArrowNorthEast,t.southWestArrowNorthMiddleWest,t.southWestArrowNorthMiddleEast]:[t.southEastArrowNorth,t.southEastArrowNorthEast,t.southEastArrowNorthWest,t.southEastArrowNorthMiddleEast,t.southEastArrowNorthMiddleWest,t.northEastArrowSouth,t.northEastArrowSouthEast,t.northEastArrowSouthWest,t.northEastArrowSouthMiddleEast,t.northEastArrowSouthMiddleWest]}}function _T(n,e){return n.rangeCount===1?!1:[...n.getRanges()].every(t=>{const i=t.getContainedElement();return i&&e.isSelectable(i)})}const om=Vi("px");class vT extends P{constructor(e){super(e);const t=this.bindTemplate;this.isVisible=!1,this.isToggleable=!0,this.set("top",0),this.set("left",0),this.extendTemplate({attributes:{class:"ck-block-toolbar-button",style:{top:t.to("top",i=>om(i)),left:t.to("left",i=>om(i))}}})}}const Ro=Vi("px");class yT extends w{constructor(e){super(e),h(this,"toolbarView"),h(this,"panelView"),h(this,"buttonView"),h(this,"_resizeObserver",null),h(this,"_blockToolbarConfig"),this._blockToolbarConfig=gu(this.editor.config.get("blockToolbar")),this.toolbarView=this._createToolbarView(),this.panelView=this._createPanelView(),this.buttonView=this._createButtonView(),$t({emitter:this.panelView,contextElements:[this.panelView.element,this.buttonView.element],activator:()=>this.panelView.isVisible,callback:()=>this._hidePanel()})}static get pluginName(){return"BlockToolbar"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=t("Click to edit block"),o=t("Drag to move"),s=t("Edit block"),r=e.plugins.has("DragDropBlockToolbar"),a=r?`${i} +${o}`:s;this.buttonView.label=a,r&&(this.buttonView.element.dataset.ckeTooltipClass="ck-tooltip_multi-line"),this.listenTo(e.model.document.selection,"change:range",(l,c)=>{c.directChange&&this._hidePanel()}),this.listenTo(e.ui,"update",()=>this._updateButton()),this.listenTo(e,"change:isReadOnly",()=>this._updateButton(),{priority:"low"}),this.listenTo(e.ui.focusTracker,"change:isFocused",()=>this._updateButton()),this.listenTo(this.buttonView,"change:isVisible",(l,c,u)=>{u?this.buttonView.listenTo(window,"resize",()=>this._updateButton()):(this.buttonView.stopListening(window,"resize"),this._hidePanel())}),this._repositionButtonOnScroll(),e.ui.addToolbar(this.toolbarView,{beforeFocus:()=>this._showPanel(),afterBlur:()=>this._hidePanel()}),e.ui.once("ready",()=>{this.toolbarView.fillFromConfig(this._blockToolbarConfig,this.editor.ui.componentFactory);for(const l of this.toolbarView.items)l.on("execute",()=>this._hidePanel(!0),{priority:"high"})})}destroy(){super.destroy(),this.panelView.destroy(),this.buttonView.destroy(),this.toolbarView.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_createToolbarView(){const e=this.editor.locale.t,t=!this._blockToolbarConfig.shouldNotGroupWhenFull,i=new Ei(this.editor.locale,{shouldGroupWhenFull:t,isFloating:!0});return i.ariaLabel=e("Editor block content toolbar"),i}_createPanelView(){const e=this.editor,t=new Ne(e.locale);return t.content.add(this.toolbarView),t.class="ck-toolbar-container",e.ui.view.body.add(t),this.toolbarView.keystrokes.set("Esc",(i,o)=>{this._hidePanel(!0),o()}),t}_createButtonView(){const e=this.editor,t=e.t,i=new vT(e.locale),o=this._blockToolbarConfig.icon,s=tc[o]||o||tc.dragIndicator;return i.set({label:t("Edit block"),icon:s,withText:!1}),i.bind("isOn").to(this.panelView,"isVisible"),i.bind("tooltip").to(this.panelView,"isVisible",r=>!r),this.listenTo(i,"execute",()=>{this.panelView.isVisible?this._hidePanel(!0):this._showPanel()}),this.listenTo(i,"change:isEnabled",(r,a,l)=>{!l&&this.panelView.isVisible&&this._hidePanel(!1)}),e.ui.view.body.add(i),i}_updateButton(){const e=this.editor,t=e.model,i=e.editing.view;if(!e.ui.focusTracker.isFocused){this._hideButton();return}if(!e.model.canEditAt(e.model.document.selection)){this._hideButton();return}const o=Array.from(t.document.selection.getSelectedBlocks())[0];if(!o||Array.from(this.toolbarView.items).every(r=>!r.isEnabled)){this._hideButton();return}const s=i.domConverter.mapViewToDom(e.editing.mapper.toViewElement(o));this.buttonView.isVisible=!0,this._setupToolbarResize(),this._attachButtonToElement(s),this.panelView.isVisible&&this._showPanel()}_hideButton(){this.buttonView.isVisible=!1}_showPanel(){if(!this.buttonView.isVisible)return;const e=this.panelView.isVisible;this.panelView.show();const t=this._getSelectedEditableElement();this.toolbarView.maxWidth=this._getToolbarMaxWidth(t),this.panelView.pin({target:this.buttonView.element,limiter:t}),e||this.toolbarView.items.get(0).focus()}_getSelectedEditableElement(){const e=this.editor.model.document.selection.getFirstRange().root.rootName;return this.editor.ui.getEditableElement(e)}_hidePanel(e){this.panelView.isVisible=!1,e&&this.editor.editing.view.focus()}_repositionButtonOnScroll(){const{buttonView:e}=this;let t=!1;const i=(o,s)=>{if(t)return;const r=this._getSelectedEditableElement();s.target!==I.document&&!Zg(r).includes(s.target)||(t=!0,I.window.requestAnimationFrame(()=>{this._updateButton(),t=!1}))};e.on("change:isVisible",(o,s,r)=>{r?e.listenTo(I.document,"scroll",i,{useCapture:!0,usePassive:!0}):e.stopListening(I.document,"scroll",i)})}_attachButtonToElement(e){const t=this.buttonView.element,i=this._getSelectedEditableElement(),o=window.getComputedStyle(e),s=new z(i),r=parseInt(o.paddingTop,10),a=parseInt(o.lineHeight,10)||parseInt(o.fontSize,10)*1.2,l=new z(t),c=new z(e);let u;this.editor.locale.uiLanguageDirection==="ltr"?u=s.left-l.width:u=s.right;const d=c.top+r+(a-l.height)/2;l.moveTo(u,d);const m=l.toAbsoluteRect();this.buttonView.top=m.top,this.buttonView.left=m.left,this._clipButtonToViewport(this.buttonView,i)}_clipButtonToViewport(e,t){const i=new z(e.element),o=new z(t).getVisible(),s=(...a)=>{e.element.style.clipPath=a.length?`polygon(${a.join(",")})`:""},r=a=>{e.isEnabled=!a,e.element.style.pointerEvents=a?"none":""};if(o&&o.bottom=i.height),s("0 0","100% 0",`100% calc(100% - ${Ro(a)})`,`0 calc(100% - ${Ro(a)}`)}else if(o&&o.top>i.top){const a=Math.min(i.height,o.top-i.top);r(a>=i.height),s(`0 ${Ro(a)}`,`100% ${Ro(a)}`,"100% 100%","0 100%")}else r(!1),s()}_setupToolbarResize(){const e=this._getSelectedEditableElement();this._blockToolbarConfig.shouldNotGroupWhenFull||(this._resizeObserver&&this._resizeObserver.element!==e&&(this._resizeObserver.destroy(),this._resizeObserver=null),this._resizeObserver||(this._resizeObserver=new bo(e,()=>{this.toolbarView.maxWidth=this._getToolbarMaxWidth(e)})))}_getToolbarMaxWidth(e){const t=new z(e),i=new z(this.buttonView.element),o=this.editor.locale.uiLanguageDirection==="rtl"?i.left-t.right+i.width:t.left-i.left;return Ro(t.width+o)}}class kT extends ko{constructor(e){super(e),h(this,"arrowView");const t=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",i=>String(i)),"data-cke-tooltip-disabled":t.to("isOn")},on:{mouseenter:t.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new hi;return e.content=da,e.extendTemplate({attributes:{class:"ck-menu-bar__menu__button__arrow"}}),e}}class CT extends A{constructor(e){super(e),h(this,"children");const t=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-menu-bar__menu__panel",t.to("position",i=>`ck-menu-bar__menu__panel_position_${i}`),t.if("isVisible","ck-hidden",i=>!i)],tabindex:"-1"},children:this.children,on:{selectstart:t.to(i=>{i.target.tagName.toLocaleLowerCase()!=="input"&&i.preventDefault()})}})}focus(e=1){this.children.length&&(e===1?this.children.first.focus():this.children.last.focus())}}const hb=class db extends A{constructor(e){super(e),h(this,"buttonView"),h(this,"panelView"),h(this,"focusTracker"),h(this,"keystrokes");const t=this.bindTemplate;this.buttonView=new kT(e),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.panelView=new CT(e),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new te,this.focusTracker=new ee,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("panelPosition","w"),this.set("class",void 0),this.set("parentMenuView",null),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar__menu",t.to("class"),t.if("isEnabled","ck-disabled",i=>!i),t.if("parentMenuView","ck-menu-bar__menu_top-level",i=>!i)]},children:[this.buttonView,this.panelView]})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.keystrokes.listenTo(this.element),Fi.closeOnEscKey(this),this._repositionPanelOnOpen()}_attachBehaviors(){this.parentMenuView?(Fi.openOnButtonClick(this),Fi.openOnArrowRightKey(this),Fi.closeOnArrowLeftKey(this),Fi.openAndFocusOnEnterKeyPress(this),Fi.closeOnParentClose(this)):(this._propagateArrowKeystrokeEvents(),Fi.openAndFocusPanelOnArrowDownKey(this),Fi.toggleOnButtonClick(this))}_propagateArrowKeystrokeEvents(){this.keystrokes.set("arrowright",(e,t)=>{this.fire("arrowright"),t()}),this.keystrokes.set("arrowleft",(e,t)=>{this.fire("arrowleft"),t()})}_repositionPanelOnOpen(){this.on("change:isOpen",(e,t,i)=>{if(!i)return;const o=db._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=o?o.name:this._defaultMenuPositionName})}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:e,southWest:t,northEast:i,northWest:o,westSouth:s,eastSouth:r,westNorth:a,eastNorth:l}=eT;return this.locale.uiLanguageDirection==="ltr"?this.parentMenuView?[r,l,s,a]:[e,t,i,o]:this.parentMenuView?[s,a,r,l]:[t,e,o,i]}get _defaultMenuPositionName(){return this.locale.uiLanguageDirection==="ltr"?this.parentMenuView?"es":"se":this.parentMenuView?"ws":"sw"}};h(hb,"_getOptimalPosition",zc);let Tt=hb;class Si extends En{constructor(e){super(e),this.role="menu",this.items.on("change",this._setItemsCheckSpace.bind(this))}_setItemsCheckSpace(){const e=Array.from(this.items).some(t=>{const i=sm(t);return i&&i.isToggleable});this.items.forEach(t=>{const i=sm(t);i&&(i.hasCheckSpace=e)})}}function sm(n){return n instanceof Nt?n.children.map(e=>AT(e)?e.buttonView:e).find(e=>e instanceof ko):null}function AT(n){return typeof n=="object"&&"buttonView"in n&&n.buttonView instanceof P}class mb extends ax{constructor(e){super(e),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}const rm=["mouseenter","arrowleft","arrowright","change:isOpen"];class fb extends A{constructor(e){super(e),h(this,"children"),h(this,"menus",[]);const t=e.t,i=this.bindTemplate;this.set({isOpen:!1,isFocusBorderEnabled:!1}),this._setupIsOpenUpdater(),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar",i.if("isFocusBorderEnabled","ck-menu-bar_focus-border-enabled")],"aria-label":t("Editor menu bar"),role:"menubar"},children:this.children})}fillFromConfig(e,t,i=[]){const o=this.locale,s=nT({normalizedConfig:e,locale:o,componentFactory:t,extraItems:i}).items.map(r=>this._createMenu({componentFactory:t,menuDefinition:r}));this.children.addMany(s)}render(){super.render(),Dn.toggleMenusAndFocusItemsOnHover(this),Dn.closeMenusWhenTheBarCloses(this),Dn.closeMenuWhenAnotherOnTheSameLevelOpens(this),Dn.focusCycleMenusOnArrows(this),Dn.closeOnClickOutside(this),Dn.enableFocusHighlightOnInteraction(this)}focus(){this.children.first&&this.children.first.focus()}close(){for(const e of this.children)e.isOpen=!1}disable(){for(const e of this.children)e.isEnabled=!1}enable(){for(const e of this.children)e.isEnabled=!0}registerMenu(e,t=null){t?(e.delegate(...rm).to(t),e.parentMenuView=t):e.delegate(...rm).to(this,i=>"menu:"+i),e._attachBehaviors(),this.menus.push(e)}_createMenu({componentFactory:e,menuDefinition:t,parentMenuView:i}){const o=this.locale,s=new Tt(o);return this.registerMenu(s,i),s.buttonView.set({label:t.label}),s.once("change:isOpen",()=>{const r=new Si(o);r.ariaLabel=t.label,s.panelView.children.add(r),r.items.addMany(this._createMenuItems({menuDefinition:t,parentMenuView:s,componentFactory:e}))}),s}_createMenuItems({menuDefinition:e,parentMenuView:t,componentFactory:i}){const o=this.locale,s=[];for(const r of e.groups){for(const a of r.items){const l=new Oi(o,t);if(Et(a))l.children.add(this._createMenu({componentFactory:i,menuDefinition:a,parentMenuView:t}));else{const c=this._createMenuItemContentFromFactory({componentName:a,componentFactory:i,parentMenuView:t});if(!c)continue;l.children.add(c)}s.push(l)}r!==e.groups[e.groups.length-1]&&s.push(new ma(o))}return s}_createMenuItemContentFromFactory({componentName:e,parentMenuView:t,componentFactory:i}){const o=i.create(e);return o instanceof Tt||o instanceof ve||o instanceof mb?(this._registerMenuTree(o,t),o.on("execute",()=>{this.close()}),o):(J("menu-bar-component-unsupported",{componentName:e,componentView:o}),null)}_registerMenuTree(e,t){if(!(e instanceof Tt)){e.delegate("mouseenter").to(t);return}this.registerMenu(e,t);const i=e.panelView.children.filter(s=>s instanceof Si)[0];if(!i){e.delegate("mouseenter").to(t);return}const o=i.items.filter(s=>s instanceof Nt);for(const s of o)this._registerMenuTree(s.children.get(0),e)}_setupIsOpenUpdater(){let e;this.on("menu:change:isOpen",(t,i,o)=>{clearTimeout(e),o?this.isOpen=!0:e=setTimeout(()=>{this.isOpen=Array.from(this.children).some(s=>s.isOpen)},0)})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const bu=["left","right","center","justify"];function gb(n){return bu.includes(n)}function pb(n,e){return e.contentLanguageDirection=="rtl"?n==="right":n==="left"}function wb(n){const e=n.map(i=>{let o;return typeof i=="string"?o={name:i}:o=i,o}).filter(i=>{const o=bu.includes(i.name);return o||J("alignment-config-name-not-recognized",{option:i}),o}),t=e.filter(i=>!!i.className).length;if(t&&t{const r=s.slice(o+1);if(r.some(a=>a.name==i.name))throw new b("alignment-config-name-already-defined",{option:i,configuredOptions:n});if(i.className&&r.some(a=>a.className==i.className))throw new b("alignment-config-classname-already-defined",{option:i,configuredOptions:n})}),e}const _u="alignment";class xT extends O{refresh(){const e=this.editor.locale,t=ae(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=!!t&&this._canBeAligned(t),this.isEnabled&&t.hasAttribute("alignment")?this.value=t.getAttribute("alignment"):this.value=e.contentLanguageDirection==="rtl"?"right":"left"}execute(e={}){const t=this.editor,i=t.locale,o=t.model,s=o.document,r=e.value;o.change(a=>{const l=Array.from(s.selection.getSelectedBlocks()).filter(u=>this._canBeAligned(u)),c=l[0].getAttribute("alignment");pb(r,i)||c===r||!r?TT(l,a):ET(l,a,r)})}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,_u)}}function TT(n,e){for(const t of n)e.removeAttribute(_u,t)}function ET(n,e,t){for(const i of n)e.setAttribute(_u,t,i)}class ST extends w{static get pluginName(){return"AlignmentEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("alignment",{options:bu.map(t=>({name:t}))})}init(){const e=this.editor,t=e.locale,i=e.model.schema,o=wb(e.config.get("alignment.options")).filter(l=>gb(l.name)&&!pb(l.name,t)),s=o.some(l=>!!l.className);i.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),s?e.conversion.attributeToAttribute(RT(o)):e.conversion.for("downcast").attributeToAttribute(PT(o));const r=IT(o);for(const l of r)e.conversion.for("upcast").attributeToAttribute(l);const a=VT(o);for(const l of a)e.conversion.for("upcast").attributeToAttribute(l);e.commands.add("alignment",new xT(e))}}function PT(n){const e={};for(const{name:t}of n)e[t]={key:"style",value:{"text-align":t}};return{model:{key:"alignment",values:n.map(t=>t.name)},view:e}}function IT(n){const e=[];for(const{name:t}of n)e.push({view:{key:"style",value:{"text-align":t}},model:{key:"alignment",value:t}});return e}function VT(n){const e=[];for(const{name:t}of n)e.push({view:{key:"align",value:t},model:{key:"alignment",value:t}});return e}function RT(n){const e={};for(const t of n)e[t.name]={key:"class",value:t.className};return{model:{key:"alignment",values:n.map(t=>t.name)},view:e}}const Oo=new Map([["left",nu],["right",fw],["center",dw],["justify",mw]]);class OT extends w{get localizedOptionTitles(){const e=this.editor.t;return{left:e("Align left"),right:e("Align right"),center:e("Align center"),justify:e("Justify")}}static get pluginName(){return"AlignmentUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=wb(e.config.get("alignment.options"));t.map(i=>i.name).filter(gb).forEach(i=>this._addButton(i)),this._addToolbarDropdown(t),this._addMenuBarMenu(t)}_addButton(e){this.editor.ui.componentFactory.add(`alignment:${e}`,t=>this._createButton(t,e))}_createButton(e,t,i={}){const o=this.editor,s=o.commands.get("alignment"),r=new P(e);return r.set({label:this.localizedOptionTitles[t],icon:Oo.get(t),tooltip:!0,isToggleable:!0,...i}),r.bind("isEnabled").to(s),r.bind("isOn").to(s,"value",a=>a===t),this.listenTo(r,"execute",()=>{o.execute("alignment",{value:t}),o.editing.view.focus()}),r}_addToolbarDropdown(e){const t=this.editor;t.ui.componentFactory.add("alignment",i=>{const o=Ee(i),s=i.uiLanguageDirection==="rtl"?"w":"e",r=i.t;fa(o,()=>e.map(c=>this._createButton(i,c.name,{tooltipPosition:s})),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:r("Text alignment toolbar")}),o.buttonView.set({label:r("Text alignment"),tooltip:!0}),o.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const a=i.contentLanguageDirection==="rtl"?Oo.get("right"):Oo.get("left"),l=t.commands.get("alignment");return o.buttonView.bind("icon").to(l,"value",c=>Oo.get(c)||a),o.bind("isEnabled").to(l,"isEnabled"),this.listenTo(o,"execute",()=>{t.editing.view.focus()}),o})}_addMenuBarMenu(e){const t=this.editor;t.ui.componentFactory.add("menuBar:alignment",i=>{const o=t.commands.get("alignment"),s=i.t,r=new Tt(i),a=new Si(i);r.bind("isEnabled").to(o),a.set({ariaLabel:s("Text alignment"),role:"menu"}),r.buttonView.set({label:s("Text alignment")});for(const l of e){const c=new Oi(i,r),u=new ve(i);u.delegate("execute").to(r),u.set({label:this.localizedOptionTitles[l.name],icon:Oo.get(l.name),role:"menuitemcheckbox",isToggleable:!0}),u.on("execute",()=>{t.execute("alignment",{value:l.name}),t.editing.view.focus()}),u.bind("isOn").to(o,"value",d=>d===l.name),u.bind("isEnabled").to(o,"isEnabled"),c.children.add(u),a.items.add(c)}return r.panelView.children.add(a),r})}}class BT extends w{static get requires(){return[ST,OT]}static get pluginName(){return"Alignment"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class bb{constructor(e,t=20){h(this,"model"),h(this,"limit"),h(this,"_isLocked"),h(this,"_size"),h(this,"_batch",null),h(this,"_changeCallback"),h(this,"_selectionChangeCallback"),this.model=e,this._size=0,this.limit=t,this._isLocked=!1,this._changeCallback=(i,o)=>{o.isLocal&&o.isUndoable&&o!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(e){this._size+=e,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(e=!1){(!this.isLocked||e)&&(this._batch=null,this._size=0)}}class MT extends O{constructor(e,t){super(e),h(this,"_buffer"),this._buffer=new bb(e.model,t),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(e={}){const t=this.editor.model,i=t.document,o=e.text||"",s=o.length;let r=i.selection;if(e.selection?r=e.selection:e.range&&(r=t.createSelection(e.range)),!t.canEditAt(r))return;const a=e.resultRange;t.enqueueChange(this._buffer.batch,l=>{this._buffer.lock();const c=Array.from(i.selection.getAttributes());t.deleteContent(r),o&&t.insertContent(l.createText(o,c),r),a?l.setSelection(a):r.is("documentSelection")||l.setSelection(r),this._buffer.unlock(),this._buffer.input(s)})}}const _b=["insertText","insertReplacementText"],LT=[..._b,"insertCompositionText"];class FT extends Zt{constructor(e){super(e),h(this,"focusObserver"),this.focusObserver=e.getObserver(Vr);const t=N.isAndroid?LT:_b,i=e.document;i.on("beforeinput",(o,s)=>{if(!this.isEnabled)return;const{data:r,targetRanges:a,inputType:l,domEvent:c,isComposing:u}=s;if(!t.includes(l))return;this.focusObserver.flush();const d=new Ti(i,"insertText");i.fire(d,new kn(e,c,{text:r,selection:e.createSelection(a),isComposing:u})),d.stop.called&&o.stop()}),N.isAndroid||i.on("compositionend",(o,{data:s,domEvent:r})=>{this.isEnabled&&s&&i.fire("insertText",new kn(e,r,{text:s,isComposing:!0}))},{priority:"low"})}observe(){}stopObserving(){}}class vb extends w{constructor(){super(...arguments),h(this,"_typingQueue")}static get pluginName(){return"Input"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,i=e.editing.view,o=e.editing.mapper,s=t.document.selection;this._typingQueue=new NT(e),i.addObserver(FT);const r=new MT(e,e.config.get("typing.undoStep")||20);e.commands.add("insertText",r),e.commands.add("input",r),this.listenTo(i.document,"beforeinput",()=>{this._typingQueue.flush("next beforeinput")},{priority:"high"}),this.listenTo(i.document,"insertText",(a,l)=>{const{text:c,selection:u}=l;if(i.document.selection.isFake&&u&&i.document.selection.isSimilar(u)&&l.preventDefault(),!r.isEnabled){l.preventDefault();return}let d;u?d=Array.from(u.getRanges()).map(g=>o.toModelRange(g)):d=Array.from(s.getRanges());let m=c;if(N.isAndroid){const g=Array.from(d[0].getItems()).reduce((p,_)=>p+(_.is("$textProxy")?_.data:""),"");if(g&&(g.length<=m.length?m.startsWith(g)&&(m=m.substring(g.length),d[0].start=d[0].start.getShiftedBy(g.length)):g.startsWith(m)&&(d[0].start=d[0].start.getShiftedBy(m.length),m="")),m.length==0&&d[0].isCollapsed)return}const f={text:m,selection:t.createSelection(d)};this._typingQueue.push(f,!!l.isComposing),l.domEvent.defaultPrevented&&this._typingQueue.flush("beforeinput default prevented")}),N.isAndroid?this.listenTo(i.document,"keydown",(a,l)=>{s.isCollapsed||l.keyCode!=229||!i.document.isComposing||am(t,r)}):this.listenTo(i.document,"compositionstart",()=>{s.isCollapsed||am(t,r)},{priority:"high"}),this.listenTo(i.document,"mutations",(a,{mutations:l})=>{if(this._typingQueue.hasAffectedElements())for(const{node:c}of l){const u=zT(c,o),d=o.toModelElement(u);if(this._typingQueue.isElementAffected(d)){this._typingQueue.flush("mutations");return}}}),this.listenTo(i.document,"compositionend",()=>{this._typingQueue.flush("before composition end")},{priority:"high"}),this.listenTo(i.document,"compositionend",()=>{this._typingQueue.flush("after composition end");const a=[];if(this._typingQueue.hasAffectedElements())for(const l of this._typingQueue.flushAffectedElements()){const c=o.toViewElement(l);c&&a.push({type:"children",node:c})}(a.length||!N.isAndroid)&&i.document.fire("mutations",{mutations:a})},{priority:"lowest"})}destroy(){super.destroy(),this._typingQueue.destroy()}}class NT{constructor(e){h(this,"editor"),h(this,"flushDebounced",St(()=>this.flush("timeout"),50)),h(this,"_queue",[]),h(this,"_isComposing",!1),h(this,"_affectedElements",new Set),this.editor=e}destroy(){for(this.flushDebounced.cancel(),this._affectedElements.clear();this._queue.length;)this.shift()}get length(){return this._queue.length}push(e,t){const i={text:e.text};if(e.selection){i.selectionRanges=[];for(const o of e.selection.getRanges())i.selectionRanges.push(ht.fromRange(o)),this._affectedElements.add(o.start.parent)}this._queue.push(i),this._isComposing||(this._isComposing=t),this.flushDebounced()}shift(){const e=this._queue.shift(),t={text:e.text};if(e.selectionRanges){const i=e.selectionRanges.map(o=>DT(o)).filter(o=>!!o);i.length&&(t.selection=this.editor.model.createSelection(i))}return t}flush(e){const t=this.editor,i=t.model,o=t.editing.view;if(this.flushDebounced.cancel(),!this._queue.length)return;const s=t.commands.get("insertText").buffer;i.enqueueChange(s.batch,()=>{for(s.lock();this._queue.length;){const r=this.shift();t.execute("insertText",r)}s.unlock(),this._isComposing||this._affectedElements.clear(),this._isComposing=!1}),o.scrollToTheSelection()}isElementAffected(e){return this._affectedElements.has(e)}hasAffectedElements(){return this._affectedElements.size>0}flushAffectedElements(){const e=Array.from(this._affectedElements);return this._affectedElements.clear(),e}}function am(n,e){if(!e.isEnabled)return;const t=e.buffer;t.lock(),n.enqueueChange(t.batch,()=>{n.deleteContent(n.document.selection)}),t.unlock()}function DT(n){const e=n.toRange();return n.detach(),e.root.rootName=="$graveyard"?null:e}function zT(n,e){let t=n.is("$text")?n.parent:n;for(;!e.toModelElement(t);)t=t.parent;return t}class lm extends O{constructor(e,t){super(e),h(this,"direction"),h(this,"_buffer"),this.direction=t,this._buffer=new bb(e.model,e.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(e={}){const t=this.editor.model,i=t.document;t.enqueueChange(this._buffer.batch,o=>{this._buffer.lock();const s=o.createSelection(e.selection||i.selection);if(!t.canEditAt(s))return;const r=e.sequence||1,a=s.isCollapsed;if(s.isCollapsed&&t.modifySelection(s,{direction:this.direction,unit:e.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r)){this._replaceEntireContentWithParagraph(o);return}if(this._shouldReplaceFirstBlockWithParagraph(s,r)){this.editor.execute("paragraph",{selection:s});return}if(s.isCollapsed)return;let l=0;s.getFirstRange().getMinimalFlatRanges().forEach(c=>{l+=Ml(c.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),t.deleteContent(s,{doNotResetEntireContent:a,direction:this.direction}),this._buffer.input(l),o.setSelection(s),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(e){if(e>1)return!1;const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i);if(!(i.isCollapsed&&i.containsEntireContent(o))||!t.schema.checkChild(o,"paragraph"))return!1;const s=o.getChild(0);return!(s&&s.is("element","paragraph"))}_replaceEntireContentWithParagraph(e){const t=this.editor.model,i=t.document.selection,o=t.schema.getLimitElement(i),s=e.createElement("paragraph");e.remove(e.createRangeIn(o)),e.insert(s,o),e.setSelection(s,0)}_shouldReplaceFirstBlockWithParagraph(e,t){const i=this.editor.model;if(t>1||this.direction!="backward"||!e.isCollapsed)return!1;const o=e.getFirstPosition(),s=i.schema.getLimitElement(o),r=s.getChild(0);return!(o.parent!=r||!e.containsEntireContent(r)||!i.schema.checkChild(s,"paragraph")||r.name=="paragraph")}}const HT="character",cm="word",$T="codePoint",$i="selection",Qn="backward",qo="forward",yb={deleteContent:{unit:$i,direction:Qn},deleteContentBackward:{unit:$T,direction:Qn},deleteWordBackward:{unit:cm,direction:Qn},deleteHardLineBackward:{unit:$i,direction:Qn},deleteSoftLineBackward:{unit:$i,direction:Qn},deleteContentForward:{unit:HT,direction:qo},deleteWordForward:{unit:cm,direction:qo},deleteHardLineForward:{unit:$i,direction:qo},deleteSoftLineForward:{unit:$i,direction:qo}};class WT extends Zt{constructor(e){super(e);const t=e.document;let i=0;t.on("keydown",()=>{i++}),t.on("keyup",()=>{i=0}),t.on("beforeinput",(o,s)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:a,inputType:l}=s,c=yb[l];if(!c)return;const u={direction:c.direction,unit:c.unit,sequence:i};u.unit==$i&&(u.selectionToRemove=e.createSelection(r[0])),l==="deleteContentBackward"&&(N.isAndroid&&(u.sequence=1),UT(r)&&(u.unit=$i,u.selectionToRemove=e.createSelection(r)));const d=new xn(t,"delete",r[0]);t.fire(d,new kn(e,a,u)),d.stop.called&&o.stop()}),N.isBlink&&jT(this)}observe(){}stopObserving(){}}function jT(n){const e=n.view,t=e.document;let i=null,o=!1;t.on("keydown",(a,{keyCode:l})=>{i=l,o=!1}),t.on("keyup",(a,{keyCode:l,domEvent:c})=>{const u=t.selection,d=n.isEnabled&&l==i&&s(l)&&!u.isCollapsed&&!o;if(i=null,d){const m=u.getFirstRange(),f=new xn(t,"delete",m),g={unit:$i,direction:r(l),selectionToRemove:u};t.fire(f,new kn(e,c,g))}}),t.on("beforeinput",(a,{inputType:l})=>{const c=yb[l];s(i)&&c&&c.direction==r(i)&&(o=!0)},{priority:"high"}),t.on("beforeinput",(a,{inputType:l,data:c})=>{i==Z.delete&&l=="insertText"&&c==""&&a.stop()},{priority:"high"});function s(a){return a==Z.backspace||a==Z.delete}function r(a){return a==Z.backspace?Qn:qo}}function UT(n){if(n.length!=1||n[0].isCollapsed)return!1;const e=n[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let t=0;for(const{nextPosition:i,item:o}of e){if(i.parent.is("$text")){const s=i.parent.data,r=i.offset;if(jc(s,r)||Uc(s,r)||cp(s,r))continue;t++}else(o.is("containerElement")||o.is("emptyElement"))&&t++;if(t>1)return!0}return!1}class en extends w{constructor(){super(...arguments),h(this,"_undoOnBackspace")}static get pluginName(){return"Delete"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,i=t.document,o=e.model.document;t.addObserver(WT),this._undoOnBackspace=!1;const s=new lm(e,"forward");e.commands.add("deleteForward",s),e.commands.add("forwardDelete",s),e.commands.add("delete",new lm(e,"backward")),this.listenTo(i,"delete",(r,a)=>{i.isComposing||a.preventDefault();const{direction:l,sequence:c,selectionToRemove:u,unit:d}=a,m=l==="forward"?"deleteForward":"delete",f={sequence:c};if(d=="selection"){const g=Array.from(u.getRanges()).map(p=>e.editing.mapper.toModelRange(p));f.selection=e.model.createSelection(g)}else f.unit=d;e.execute(m,f),t.scrollToTheSelection()},{priority:"low"}),this.listenTo(i,"keydown",(r,a)=>{if(i.isComposing||a.keyCode!=Z.backspace||!o.selection.isCollapsed)return;const l=e.model.schema.getLimitElement(o.selection),c=e.model.createPositionAt(l,0);if(c.isTouching(o.selection.getFirstPosition())){a.preventDefault();const u=e.model.schema.getNearestSelectionRange(c,"forward");if(!u)return;const d=t.createSelection(e.editing.mapper.toViewRange(u)),m=d.getFirstRange(),f=new xn(document,"delete",m),g={unit:"selection",direction:"backward",selectionToRemove:d};i.fire(f,new kn(t,a.domEvent,g))}}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(i,"delete",(r,a)=>{this._undoOnBackspace&&a.direction=="backward"&&a.sequence==1&&a.unit=="codePoint"&&(this._undoOnBackspace=!1,e.execute("undo"),a.preventDefault(),r.stop())},{context:"$capture"}),this.listenTo(o,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class pa extends w{static get requires(){return[vb,en]}static get pluginName(){return"Typing"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function kb(n,e){let t=n.start;return{text:Array.from(n.getWalker({ignoreElementEnd:!1})).reduce((i,{item:o})=>o.is("$text")||o.is("$textProxy")?i+o.data:(t=e.createPositionAfter(o),""),""),range:e.createRange(t,n.end)}}class vu extends ue(){constructor(e,t){super(),h(this,"model"),h(this,"testCallback"),h(this,"_hasMatch"),this.model=e,this.testCallback=t,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(e.document.selection),this.stopListening(e.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const e=this.model.document;this.listenTo(e.selection,"change:range",(t,{directChange:i})=>{if(i){if(!e.selection.isCollapsed){this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1);return}this._evaluateTextBeforeSelection("selection")}}),this.listenTo(e,"change:data",(t,i)=>{i.isUndo||!i.isLocal||this._evaluateTextBeforeSelection("data",{batch:i})})}_evaluateTextBeforeSelection(e,t={}){const i=this.model,o=i.document.selection,s=i.createRange(i.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:a}=kb(s,i),l=this.testCallback(r);if(!l&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!l,l){const c=Object.assign(t,{text:r,range:a});typeof l=="object"&&Object.assign(c,l),this.fire(`matched:${e}`,c)}}}class Dr extends w{constructor(e){super(e),h(this,"attributes"),h(this,"_overrideUid"),h(this,"_isNextGravityRestorationSkipped",!1),this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,i=e.editing.view,o=e.locale,s=t.document.selection;this.listenTo(i.document,"arrowKey",(r,a)=>{if(!s.isCollapsed||a.shiftKey||a.altKey||a.ctrlKey)return;const l=a.keyCode==Z.arrowright,c=a.keyCode==Z.arrowleft;if(!l&&!c)return;const u=o.contentLanguageDirection;let d=!1;u==="ltr"&&l||u==="rtl"&&c?d=this._handleForwardMovement(a):d=this._handleBackwardMovement(a),d===!0&&r.stop()},{context:"$text",priority:"highest"}),this.listenTo(s,"change:range",(r,a)=>{if(this._isNextGravityRestorationSkipped){this._isNextGravityRestorationSkipped=!1;return}this._isGravityOverridden&&(!a.directChange&&Mt(s.getFirstPosition(),this.attributes)||this._restoreGravity())}),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(e){this.attributes.add(e)}_handleForwardMovement(e){const t=this.attributes,i=this.editor.model,o=i.document.selection,s=o.getFirstPosition();return this._isGravityOverridden||s.isAtStart&&gi(o,t)?!1:Mt(s,t)?(e&&Mo(e),gi(o,t)&&Mt(s,t,!0)?Bo(i,t):this._overrideGravity(),!0):!1}_handleBackwardMovement(e){const t=this.attributes,i=this.editor.model,o=i.document.selection,s=o.getFirstPosition();return this._isGravityOverridden?(e&&Mo(e),this._restoreGravity(),Mt(s,t,!0)?Bo(i,t):Zs(i,t,s),!0):s.isAtStart?gi(o,t)?(e&&Mo(e),Zs(i,t,s),!0):!1:!gi(o,t)&&Mt(s,t,!0)?(e&&Mo(e),Zs(i,t,s),!0):um(s,t)?s.isAtEnd&&!gi(o,t)&&Mt(s,t)?(e&&Mo(e),Zs(i,t,s),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1):!1}_enableClickingAfterNode(){const e=this.editor,t=e.model,i=t.document.selection,o=e.editing.view.document;e.editing.view.addObserver(ua),e.editing.view.addObserver(c5);let s=!1,r=!1;this.listenTo(o,"touchstart",()=>{r=!1,s=!0}),this.listenTo(o,"mousedown",()=>{r=!0}),this.listenTo(o,"selectionChange",()=>{const a=this.attributes;if(!r&&!s||(r=!1,s=!1,!i.isCollapsed)||!gi(i,a))return;const l=i.getFirstPosition();Mt(l,a)&&(l.isAtStart||Mt(l,a,!0)?Bo(t,a):this._isGravityOverridden||this._overrideGravity())})}_enableInsertContentSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection,i=this.attributes;this.listenTo(e,"insertContent",()=>{const o=t.getFirstPosition();gi(t,i)&&Mt(o,i)&&Bo(e,i)},{priority:"low"})}_handleDeleteContentAfterNode(){const e=this.editor,t=e.model,i=t.document.selection,o=e.editing.view;let s=!1,r=!1;this.listenTo(o.document,"delete",(a,l)=>{s=l.direction==="backward"},{priority:"high"}),this.listenTo(t,"deleteContent",()=>{if(!s)return;const a=i.getFirstPosition();r=gi(i,this.attributes)&&!um(a,this.attributes)},{priority:"high"}),this.listenTo(t,"deleteContent",()=>{s&&(s=!1,!r&&e.model.enqueueChange(()=>{const a=i.getFirstPosition();gi(i,this.attributes)&&Mt(a,this.attributes)&&(a.isAtStart||Mt(a,this.attributes,!0)?Bo(t,this.attributes):this._isGravityOverridden||this._overrideGravity())}))},{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(e=>e.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(e=>{e.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function gi(n,e){for(const t of e)if(n.hasAttribute(t))return!0;return!1}function Zs(n,e,t){const i=t.nodeBefore;n.change(o=>{if(i){const s=[],r=n.schema.isObject(i)&&n.schema.isInline(i);for(const[a,l]of i.getAttributes())n.schema.checkAttribute("$text",a)&&(!r||n.schema.getAttributeProperties(a).copyFromObject!==!1)&&s.push([a,l]);o.setSelectionAttribute(s)}else o.removeSelectionAttribute(e)})}function Bo(n,e){n.change(t=>{t.removeSelectionAttribute(e)})}function Mo(n){n.preventDefault()}function um(n,e){const t=n.getShiftedBy(-1);return Mt(t,e)}function Mt(n,e,t=!1){const{nodeBefore:i,nodeAfter:o}=n;for(const s of e){const r=i?i.getAttribute(s):void 0,a=o?o.getAttribute(s):void 0;if(!(t&&(r===void 0||a===void 0))&&a!==r)return!0}return!1}const hm={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"™"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"½",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"⅓",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"⅔",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"¼",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"¾",null]},lessThanOrEqual:{from:"<=",to:"≤"},greaterThanOrEqual:{from:">=",to:"≥"},notEqual:{from:"!=",to:"≠"},arrowLeft:{from:"<-",to:"←"},arrowRight:{from:"->",to:"→"},horizontalEllipsis:{from:"...",to:"…"},enDash:{from:/(^| )(--)( )$/,to:[null,"–",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"—",null]},quotesPrimary:{from:zn('"'),to:[null,"“",null,"”"]},quotesSecondary:{from:zn("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:zn("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:zn('"'),to:[null,"“",null,"”"]},quotesPrimaryPl:{from:zn('"'),to:[null,"„",null,"”"]},quotesSecondaryPl:{from:zn("'"),to:[null,"‚",null,"’"]}},dm={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},qT=["symbols","mathematical","typography","quotes"];class GT extends w{static get requires(){return["Delete","Input"]}static get pluginName(){return"TextTransformation"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("typing",{transformations:{include:qT}})}init(){const e=this.editor.model.document.selection;e.on("change:range",()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")}),this._enableTransformationWatchers()}_enableTransformationWatchers(){const e=this.editor,t=e.model,i=e.plugins.get("Delete"),o=QT(e.config.get("typing.transformations")),s=a=>{for(const l of o)if(l.from.test(a))return{normalizedTransformation:l}},r=new vu(e.model,s);r.on("matched:data",(a,l)=>{if(!l.batch.isTyping)return;const{from:c,to:u}=l.normalizedTransformation,d=c.exec(l.text),m=u(d.slice(1)),f=l.range;let g=d.index;t.enqueueChange(p=>{for(let _=1;_{i.requestUndoOnBackspace()})})}),r.bind("isEnabled").to(this)}}function KT(n){return typeof n=="string"?new RegExp(`(${ta(n)})$`):n}function ZT(n){return typeof n=="string"?()=>[n]:n instanceof Array?()=>n:n}function JT(n){return(n.textNode?n.textNode:n.nodeAfter).getAttributes()}function zn(n){return new RegExp(`(^|\\s)(${n})([^${n}]*)(${n})$`)}function QT(n){const e=n.extra||[],t=n.remove||[],i=s=>!t.includes(s),o=n.include.concat(e).filter(i);return YT(o).filter(i).map(s=>typeof s=="string"&&hm[s]?hm[s]:s).filter(s=>typeof s=="object").map(s=>({from:KT(s.from),to:ZT(s.to)}))}function YT(n){const e=new Set;for(const t of n)if(typeof t=="string"&&dm[t])for(const i of dm[t])e.add(i);else e.add(t);return Array.from(e)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Ps(n,e,t,i){return i.createRange(ic(n,e,t,!0,i),ic(n,e,t,!1,i))}function ic(n,e,t,i,o){let s=n.textNode||(i?n.nodeBefore:n.nodeAfter),r=null;for(;s&&s.getAttribute(e)==t;)r=s,s=i?s.previousSibling:s.nextSibling;return r?o.createPositionAt(r,i?"before":"after"):n}function Cb(n,e,t,i){const o=n.editing.view,s=new Set;o.document.registerPostFixer(r=>{const a=n.model.document.selection;let l=!1;if(a.hasAttribute(e)){const c=Ps(a.getFirstPosition(),e,a.getAttribute(e),n.model),u=n.editing.mapper.toViewRange(c);for(const d of u.getItems())d.is("element",t)&&!d.hasClass(i)&&(r.addClass(i,d),s.add(d),l=!0)}return l}),n.conversion.for("editingDowncast").add(r=>{r.on("insert",a,{priority:"highest"}),r.on("remove",a,{priority:"highest"}),r.on("attribute",a,{priority:"highest"}),r.on("selection",a,{priority:"highest"});function a(){o.change(l=>{for(const c of s.values())l.removeClass(i,c),s.delete(c)})}})}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Wt(n,e,t,i){let o,s=null;typeof i=="function"?o=i:(s=n.commands.get(i),o=()=>{n.execute(i)}),n.model.document.on("change:data",(r,a)=>{if(s&&!s.isEnabled||!e.isEnabled)return;const l=ae(n.model.document.selection.getRanges());if(!l.isCollapsed||a.isUndo||!a.isLocal)return;const c=Array.from(n.model.document.differ.getChanges()),u=c[0];if(c.length!=1||u.type!=="insert"||u.name!="$text"||u.length!=1)return;const d=u.position.parent;if(d.is("element","codeBlock")||d.is("element","listItem")&&typeof i!="function"&&!["numberedList","bulletedList","todoList"].includes(i)||s&&s.value===!0)return;const m=d.getChild(0),f=n.model.createRangeOn(m);if(!f.containsRange(l)&&!l.end.isEqual(f.end))return;const g=t.exec(m.data.substr(0,l.end.offset));g&&n.model.enqueueChange(p=>{const _=p.createPositionAt(d,0),v=p.createPositionAt(d,g[0].length),E=new ht(_,v);if(o({match:g})!==!1){p.remove(E);const M=n.model.document.selection.getFirstRange(),G=p.createRangeIn(d);d.isEmpty&&!G.isEqual(M)&&!G.containsRange(M,!0)&&p.remove(d)}E.detach(),n.model.enqueueChange(()=>{n.plugins.get("Delete").requestUndoOnBackspace()})})})}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function mn(n,e,t,i){let o,s;t instanceof RegExp?o=t:s=t,s=s||(r=>{let a;const l=[],c=[];for(;(a=o.exec(r))!==null&&!(a&&a.length<4);){let{index:u,"1":d,"2":m,"3":f}=a;const g=d+m+f;u+=a[0].length-g.length;const p=[u,u+d.length],_=[u+d.length+m.length,u+d.length+m.length+f.length];l.push(p),l.push(_),c.push([u+d.length,u+d.length+m.length])}return{remove:l,format:c}}),n.model.document.on("change:data",(r,a)=>{if(a.isUndo||!a.isLocal||!e.isEnabled)return;const l=n.model,c=l.document.selection;if(!c.isCollapsed)return;const u=Array.from(l.document.differ.getChanges()),d=u[0];if(u.length!=1||d.type!=="insert"||d.name!="$text"||d.length!=1)return;const m=c.focus,f=m.parent,{text:g,range:p}=XT(l.createRange(l.createPositionAt(f,0),m),l),_=s(g),v=mm(p.start,_.format,l),E=mm(p.start,_.remove,l);v.length&&E.length&&l.enqueueChange(M=>{if(i(M,v)!==!1){for(const G of E.reverse())M.remove(G);l.enqueueChange(()=>{n.plugins.get("Delete").requestUndoOnBackspace()})}})})}function mm(n,e,t){return e.filter(i=>i[0]!==void 0&&i[1]!==void 0).map(i=>t.createRange(n.getShiftedBy(i[0]),n.getShiftedBy(i[1])))}function XT(n,e){let t=n.start;return{text:Array.from(n.getItems()).reduce((i,o)=>!(o.is("$text")||o.is("$textProxy"))||o.getAttribute("code")?(t=e.createPositionAfter(o),""):i+o.data,""),range:e.createRange(t,n.end)}}class yu extends w{static get requires(){return[en]}static get pluginName(){return"Autoformat"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=this.editor.t;this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats(),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Revert autoformatting action"),keystroke:"Backspace"}]})}_addListAutoformats(){const e=this.editor.commands;e.get("bulletedList")&&Wt(this.editor,this,/^[*-]\s$/,"bulletedList"),e.get("numberedList")&&Wt(this.editor,this,/^1[.|)]\s$/,"numberedList"),e.get("todoList")&&Wt(this.editor,this,/^\[\s?\]\s$/,"todoList"),e.get("checkTodoList")&&Wt(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const e=this.editor.commands;if(e.get("bold")){const t=Js(this.editor,"bold");mn(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),mn(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(e.get("italic")){const t=Js(this.editor,"italic");mn(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),mn(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(e.get("code")){const t=Js(this.editor,"code");mn(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(e.get("strikethrough")){const t=Js(this.editor,"strikethrough");mn(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const e=this.editor.commands.get("heading");e&&e.modelElements.filter(t=>t.match(/^heading[1-6]$/)).forEach(t=>{const i=t[7],o=new RegExp(`^(#{${i}})\\s$`);Wt(this.editor,this,o,()=>{if(!e.isEnabled||e.value===t)return!1;this.editor.execute("heading",{value:t})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&Wt(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const e=this.editor,t=e.model.document.selection;e.commands.get("codeBlock")&&Wt(e,this,/^```$/,()=>{if(t.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&Wt(this.editor,this,/^---$/,"horizontalLine")}}function Js(n,e){return(t,i)=>{if(!n.commands.get(e).isEnabled)return!1;const o=n.model.schema.getValidRanges(i,e);for(const s of o)t.setAttribute(e,!0,s);t.removeSelectionAttribute(e)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class tn extends O{constructor(e,t){super(e),h(this,"attributeKey"),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,i=t.document.selection,o=e.forceValue===void 0?!this.value:e.forceValue;t.change(s=>{if(i.isCollapsed)o?s.setSelectionAttribute(this.attributeKey,!0):s.removeSelectionAttribute(this.attributeKey);else{const r=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const a of r)o?s.setAttribute(this.attributeKey,o,a):s.removeAttribute(this.attributeKey,a)}})}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,i=e.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const o of i.getRanges())for(const s of o.getItems())if(t.checkAttribute(s,this.attributeKey))return s.hasAttribute(this.attributeKey);return!1}}const Hn="bold";class eE extends w{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:Hn}),e.model.schema.setAttributeProperties(Hn,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Hn,view:"strong",upcastAlso:["b",i=>{const o=i.getStyle("font-weight");return o&&(o=="bold"||Number(o)>=600)?{name:!0,styles:["font-weight"]}:null}]}),e.commands.add(Hn,new tn(e,Hn)),e.keystrokes.set("CTRL+B",Hn),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Bold text"),keystroke:"CTRL+B"}]})}}function Sn({editor:n,commandName:e,plugin:t,icon:i,label:o,keystroke:s}){return r=>{const a=n.commands.get(e),l=new r(n.locale);return l.set({label:o,icon:i,keystroke:s,isToggleable:!0}),l.bind("isEnabled").to(a,"isEnabled"),l.bind("isOn").to(a,"value"),l instanceof ve?l.set({role:"menuitemcheckbox"}):l.set({tooltip:!0}),t.listenTo(l,"execute",()=>{n.execute(e),n.editing.view.focus()}),l}}const il="bold";class tE extends w{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:il,plugin:this,icon:gw,label:t("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(il,()=>i(P)),e.ui.componentFactory.add("menuBar:"+il,()=>i(ve))}}class iE extends w{static get requires(){return[eE,tE]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}}const ln="code",nE="ck-code_selected";class oE extends w{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Dr]}init(){const e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:ln}),e.model.schema.setAttributeProperties(ln,{isFormatting:!0,copyOnEnter:!1}),e.conversion.attributeToElement({model:ln,view:"code"}),e.commands.add(ln,new tn(e,ln)),e.plugins.get(Dr).registerAttribute(ln),Cb(e,ln,"code",nE),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}const nl="code";class sE extends w{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:nl,plugin:this,icon:pC,label:t("Code")});e.ui.componentFactory.add(nl,()=>i(P)),e.ui.componentFactory.add("menuBar:"+nl,()=>i(ve))}}class rE extends w{static get requires(){return[oE,sE]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}}const $n="italic";class aE extends w{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:$n}),e.model.schema.setAttributeProperties($n,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:$n,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add($n,new tn(e,$n)),e.keystrokes.set("CTRL+I",$n),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Italic text"),keystroke:"CTRL+I"}]})}}const ol="italic";class lE extends w{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:ol,plugin:this,icon:MC,keystroke:"CTRL+I",label:t("Italic")});e.ui.componentFactory.add(ol,()=>i(P)),e.ui.componentFactory.add("menuBar:"+ol,()=>i(ve))}}class cE extends w{static get requires(){return[aE,lE]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}}const Lo="strikethrough";class uE extends w{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:Lo}),e.model.schema.setAttributeProperties(Lo,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Lo,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),e.commands.add(Lo,new tn(e,Lo)),e.keystrokes.set("CTRL+SHIFT+X","strikethrough"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const sl="strikethrough";class hE extends w{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:sl,plugin:this,icon:uA,keystroke:"CTRL+SHIFT+X",label:t("Strikethrough")});e.ui.componentFactory.add(sl,()=>i(P)),e.ui.componentFactory.add("menuBar:"+sl,()=>i(ve))}}class dE extends w{static get requires(){return[uE,hE]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}}const Fo="subscript";class mE extends w{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:Fo}),e.model.schema.setAttributeProperties(Fo,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Fo,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),e.commands.add(Fo,new tn(e,Fo))}}const rl="subscript";class fE extends w{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:rl,plugin:this,icon:hA,label:t("Subscript")});e.ui.componentFactory.add(rl,()=>i(P)),e.ui.componentFactory.add("menuBar:"+rl,()=>i(ve))}}class gE extends w{static get requires(){return[mE,fE]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}}const No="superscript";class pE extends w{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:No}),e.model.schema.setAttributeProperties(No,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:No,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),e.commands.add(No,new tn(e,No))}}const al="superscript";class wE extends w{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:al,plugin:this,icon:dA,label:t("Superscript")});e.ui.componentFactory.add(al,()=>i(P)),e.ui.componentFactory.add("menuBar:"+al,()=>i(ve))}}class bE extends w{static get requires(){return[pE,wE]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}}const Do="underline";class _E extends w{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:Do}),e.model.schema.setAttributeProperties(Do,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:Do,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),e.commands.add(Do,new tn(e,Do)),e.keystrokes.set("CTRL+U","underline"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Underline text"),keystroke:"CTRL+U"}]})}}const ll="underline";class vE extends w{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=Sn({editor:e,commandName:ll,plugin:this,icon:yA,label:t("Underline"),keystroke:"CTRL+U"});e.ui.componentFactory.add(ll,()=>i(P)),e.ui.componentFactory.add("menuBar:"+ll,()=>i(ve))}}class yE extends w{static get requires(){return[_E,vE]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function*Ab(n,e){for(const t of e)t&&n.getAttributeProperties(t[0]).copyOnEnter&&(yield t)}class kE extends O{execute(){this.editor.model.change(e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})})}enterBlock(e){const t=this.editor.model,i=t.document.selection,o=t.schema,s=i.isCollapsed,r=i.getFirstRange(),a=r.start.parent,l=r.end.parent;if(o.isLimit(a)||o.isLimit(l))return!s&&a==l&&t.deleteContent(i),!1;if(s){const c=Ab(e.model.schema,i.getAttributes());return fm(e,r.start),e.setSelectionAttribute(c),!0}else{const c=!(r.start.isAtStart&&r.end.isAtEnd),u=a==l;if(t.deleteContent(i,{leaveUnmerged:c}),c){if(u)return fm(e,i.focus),!0;e.setSelection(l,0)}}return!1}}function fm(n,e){n.split(e),n.setSelection(e.parent.nextSibling,0)}const CE={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class xb extends Zt{constructor(e){super(e);const t=this.document;let i=!1;t.on("keydown",(o,s)=>{i=s.shiftKey}),t.on("beforeinput",(o,s)=>{if(!this.isEnabled)return;let r=s.inputType;N.isSafari&&i&&r=="insertParagraph"&&(r="insertLineBreak");const a=s.domEvent,l=CE[r];if(!l)return;const c=new xn(t,"enter",s.targetRanges[0]);t.fire(c,new kn(e,a,{isSoft:l.isSoft})),c.stop.called&&o.stop()})}observe(){}stopObserving(){}}class Ao extends w{static get pluginName(){return"Enter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,i=t.document,o=this.editor.t;t.addObserver(xb),e.commands.add("enter",new kE(e)),this.listenTo(i,"enter",(s,r)=>{i.isComposing||r.preventDefault(),!r.isSoft&&(e.execute("enter"),t.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:o("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class AE extends O{execute(){const e=this.editor.model,t=e.document;e.change(i=>{TE(e,i,t.selection),this.fire("afterExecute",{writer:i})})}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=xE(e.schema,t.selection)}}function xE(n,e){if(e.rangeCount>1)return!1;const t=e.anchor;if(!t||!n.checkChild(t,"softBreak"))return!1;const i=e.getFirstRange(),o=i.start.parent,s=i.end.parent;return!((nc(o,n)||nc(s,n))&&o!==s)}function TE(n,e,t){const i=t.isCollapsed,o=t.getFirstRange(),s=o.start.parent,r=o.end.parent,a=s==r;if(i){const l=Ab(n.schema,t.getAttributes());gm(n,e,o.end),e.removeSelectionAttribute(t.getAttributeKeys()),e.setSelectionAttribute(l)}else{const l=!(o.start.isAtStart&&o.end.isAtEnd);n.deleteContent(t,{leaveUnmerged:l}),a?gm(n,e,t.focus):l&&e.setSelection(r,0)}}function gm(n,e,t){const i=e.createElement("softBreak");n.insertContent(i,t),e.setSelection(i,"after")}function nc(n,e){return n.is("rootElement")?!1:e.isLimit(n)||nc(n.parent,e)}class Tb extends w{static get pluginName(){return"ShiftEnter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,i=e.conversion,o=e.editing.view,s=o.document,r=this.editor.t;t.register("softBreak",{allowWhere:"$text",isInline:!0}),i.for("upcast").elementToElement({model:"softBreak",view:"br"}),i.for("downcast").elementToElement({model:"softBreak",view:(a,{writer:l})=>l.createEmptyElement("br")}),o.addObserver(xb),e.commands.add("shiftEnter",new AE(e)),this.listenTo(s,"enter",(a,l)=>{s.isComposing||l.preventDefault(),l.isSoft&&(e.execute("shiftEnter"),o.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Insert a soft break (a <br> element)"),keystroke:"Shift+Enter"}]})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class EE extends O{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.schema,o=t.document.selection,s=Array.from(o.getSelectedBlocks()),r=e.forceValue===void 0?!this.value:e.forceValue;t.change(a=>{if(!r)this._removeQuote(a,s.filter(Qs));else{const l=s.filter(c=>Qs(c)||wm(i,c));this._applyQuote(a,l)}})}_getValue(){const e=this.editor.model.document.selection,t=ae(e.getSelectedBlocks());return!!(t&&Qs(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=ae(e.getSelectedBlocks());return i?wm(t,i):!1}_removeQuote(e,t){pm(e,t).reverse().forEach(i=>{if(i.start.isAtStart&&i.end.isAtEnd){e.unwrap(i.start.parent);return}if(i.start.isAtStart){const s=e.createPositionBefore(i.start.parent);e.move(i,s);return}i.end.isAtEnd||e.split(i.end);const o=e.createPositionAfter(i.end.parent);e.move(i,o)})}_applyQuote(e,t){const i=[];pm(e,t).reverse().forEach(o=>{let s=Qs(o.start);s||(s=e.createElement("blockQuote"),e.wrap(o,s)),i.push(s)}),i.reverse().reduce((o,s)=>o.nextSibling==s?(e.merge(e.createPositionAfter(o)),o):s)}}function Qs(n){return n.parent.name=="blockQuote"?n.parent:null}function pm(n,e){let t,i=0;const o=[];for(;i{const a=e.model.document.differ.getChanges();for(const l of a)if(l.type=="insert"){const c=l.position.nodeAfter;if(!c)continue;if(c.is("element","blockQuote")&&c.isEmpty)return r.remove(c),!0;if(c.is("element","blockQuote")&&!t.checkChild(l.position,c))return r.unwrap(c),!0;if(c.is("element")){const u=r.createRangeIn(c);for(const d of u.getItems())if(d.is("element","blockQuote")&&!t.checkChild(r.createPositionBefore(d),d))return r.unwrap(d),!0}}else if(l.type=="remove"){const c=l.position.parent;if(c.is("element","blockQuote")&&c.isEmpty)return r.remove(c),!0}return!1});const i=this.editor.editing.view.document,o=e.model.document.selection,s=e.commands.get("blockQuote");this.listenTo(i,"enter",(r,a)=>{!o.isCollapsed||!s.value||o.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),a.preventDefault(),r.stop())},{context:"blockquote"}),this.listenTo(i,"delete",(r,a)=>{if(a.direction!="backward"||!o.isCollapsed||!s.value)return;const l=o.getLastPosition().parent;l.isEmpty&&!l.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),a.preventDefault(),r.stop())},{context:"blockquote"})}}class PE extends w{static get pluginName(){return"BlockQuoteUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("blockQuote",()=>{const t=this._createButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:blockQuote",()=>{const t=this._createButton(ve);return t.set({role:"menuitemcheckbox"}),t})}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("blockQuote"),s=new e(t.locale),r=i.t;return s.set({label:r("Block quote"),icon:nA,isToggleable:!0}),s.bind("isEnabled").to(o,"isEnabled"),s.bind("isOn").to(o,"value"),this.listenTo(s,"execute",()=>{t.execute("blockQuote"),t.editing.view.focus()}),s}}class IE extends w{static get requires(){return[SE,PE]}static get pluginName(){return"BlockQuote"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class VE extends ge(){constructor(){super(...arguments),h(this,"_stack",[])}add(e,t){const i=this._stack,o=i[0];this._insertDescriptor(e);const s=i[0];o!==s&&!cl(o,s)&&this.fire("change:top",{oldDescriptor:o,newDescriptor:s,writer:t})}remove(e,t){const i=this._stack,o=i[0];this._removeDescriptor(e);const s=i[0];o!==s&&!cl(o,s)&&this.fire("change:top",{oldDescriptor:o,newDescriptor:s,writer:t})}_insertDescriptor(e){const t=this._stack,i=t.findIndex(s=>s.id===e.id);if(cl(e,t[i]))return;i>-1&&t.splice(i,1);let o=0;for(;t[o]&&RE(t[o],e);)o++;t.splice(o,0,e)}_removeDescriptor(e){const t=this._stack,i=t.findIndex(o=>o.id===e);i>-1&&t.splice(i,1)}}function cl(n,e){return n&&e&&n.priority==e.priority&&zr(n.classes)==zr(e.classes)}function RE(n,e){return n.priority>e.priority?!0:n.priorityzr(e.classes)}function zr(n){return Array.isArray(n)?n.sort().join(","):n}const OE="ck-widget",bm="ck-widget_selected";function Se(n){return n.is("element")?!!n.getCustomProperty("widget"):!1}function gt(n,e,t={}){if(!n.is("containerElement"))throw new b("widget-to-widget-wrong-element-type",null,{element:n});return e.setAttribute("contenteditable","false",n),e.addClass(OE,n),e.setCustomProperty("widget",!0,n),n.getFillerOffset=NE,e.setCustomProperty("widgetLabel",[],n),t.label&&LE(n,t.label),t.hasSelectionHandle&&DE(n,e),Eb(n,e),n}function BE(n,e,t){if(e.classes&&t.addClass(he(e.classes),n),e.attributes)for(const i in e.attributes)t.setAttribute(i,e.attributes[i],n)}function ME(n,e,t){if(e.classes&&t.removeClass(he(e.classes),n),e.attributes)for(const i in e.attributes)t.removeAttribute(i,n)}function Eb(n,e,t=BE,i=ME){const o=new VE;o.on("change:top",(a,l)=>{l.oldDescriptor&&i(n,l.oldDescriptor,l.writer),l.newDescriptor&&t(n,l.newDescriptor,l.writer)});const s=(a,l,c)=>o.add(l,c),r=(a,l,c)=>o.remove(l,c);e.setCustomProperty("addHighlight",s,n),e.setCustomProperty("removeHighlight",r,n)}function LE(n,e){n.getCustomProperty("widgetLabel").push(e)}function FE(n){return n.getCustomProperty("widgetLabel").reduce((e,t)=>typeof t=="function"?e?e+". "+t():t():e?e+". "+t:t,"")}function wa(n,e,t={}){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],n),t.withAriaRole!==!1&&e.setAttribute("role","textbox",n),e.setAttribute("tabindex","-1",n),t.label&&e.setAttribute("aria-label",t.label,n),e.setAttribute("contenteditable",n.isReadOnly?"false":"true",n),n.on("change:isReadOnly",(i,o,s)=>{e.setAttribute("contenteditable",s?"false":"true",n)}),n.on("change:isFocused",(i,o,s)=>{s?e.addClass("ck-editor__nested-editable_focused",n):e.removeClass("ck-editor__nested-editable_focused",n)}),Eb(n,e),n}function ku(n,e){const t=n.getSelectedElement();if(t){const i=zi(n);if(i)return e.createRange(e.createPositionAt(t,i))}return e.schema.findOptimalInsertionRange(n)}function Cu(n,e){return(t,i)=>{const{mapper:o,viewPosition:s}=i,r=o.findMappedViewAncestor(s);if(!e(r))return;const a=o.toModelElement(r);i.modelPosition=n.createPositionAt(a,s.isAtStart?"before":"after")}}function NE(){return null}function DE(n,e){const t=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(i){const o=this.toDomElement(i),s=new hi;return s.set("content",_C),s.render(),o.appendChild(s.element),o});e.insert(e.createPositionAt(n,0),t),e.addClass(["ck-widget_with-selection-handle"],n)}function Au(n){const e=a=>{const{width:l,paddingLeft:c,paddingRight:u}=a.ownerDocument.defaultView.getComputedStyle(a);return parseFloat(l)-(parseFloat(c)||0)-(parseFloat(u)||0)},t=n.parentElement;if(!t)return 0;let i=e(t);const o=5;let s=0,r=t;for(;isNaN(i);){if(r=r.parentElement,++s>o)return 0;i=e(r)}return i}function zE(n,e=new z(n)){const t=Au(n);return t?e.width/t*100:0}const bi="widget-type-around";function cn(n,e,t){return!!n&&Se(n)&&!t.isInline(e)}function HE(n){return n.closest(".ck-widget__type-around__button")}function $E(n){return n.classList.contains("ck-widget__type-around__button_before")?"before":"after"}function WE(n,e){const t=n.closest(".ck-widget");return e.mapDomToView(t)}function zi(n){return n.getAttribute(bi)}const Sb=["before","after"],jE=new DOMParser().parseFromString(rA,"image/svg+xml").firstChild,_m="ck-widget__type-around_disabled";class UE extends w{constructor(){super(...arguments),h(this,"_currentFakeCaretModelElement",null)}static get pluginName(){return"WidgetTypeAround"}static get isOfficialPlugin(){return!0}static get requires(){return[Ao,en]}init(){const e=this.editor,t=e.editing.view;this.on("change:isEnabled",(i,o,s)=>{t.change(r=>{for(const a of t.document.roots)s?r.removeClass(_m,a):r.addClass(_m,a)}),s||e.model.change(r=>{r.removeSelectionAttribute(bi)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(e,t){const i=this.editor,o=i.editing.view,s=i.model.schema.getAttributesWithProperty(e,"copyOnReplace",!0);i.execute("insertParagraph",{position:i.model.createPositionAt(e,t),attributes:s}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(e,t,i,o){this.listenTo(e,t,(...s)=>{this.isEnabled&&i(...s)},o)}_insertParagraphAccordingToFakeCaretPosition(){const e=this.editor.model.document.selection,t=zi(e);if(!t)return!1;const i=e.getSelectedElement();return this._insertParagraph(i,t),!0}_enableTypeAroundUIInjection(){const e=this.editor,t=e.model.schema,i=e.locale.t,o={before:i("Insert paragraph before block"),after:i("Insert paragraph after block")};e.editing.downcastDispatcher.on("insert",(s,r,a)=>{const l=a.mapper.toViewElement(r.item);l&&cn(l,r.item,t)&&(qE(a.writer,o,l),l.getCustomProperty("widgetLabel").push(()=>this.isEnabled?i("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const e=this.editor,t=e.model,i=t.document.selection,o=t.schema,s=e.editing.view;this._listenToIfEnabled(s.document,"arrowKey",(a,l)=>{this._handleArrowKeyPress(a,l)},{context:[Se,"$text"],priority:"high"}),this._listenToIfEnabled(i,"change:range",(a,l)=>{l.directChange&&e.model.change(c=>{c.removeSelectionAttribute(bi)})}),this._listenToIfEnabled(t.document,"change:data",()=>{const a=i.getSelectedElement();if(a){const l=e.editing.mapper.toViewElement(a);if(cn(l,a,o))return}e.model.change(l=>{l.removeSelectionAttribute(bi)})}),this._listenToIfEnabled(e.editing.downcastDispatcher,"selection",(a,l,c)=>{const u=c.writer;if(this._currentFakeCaretModelElement){const g=c.mapper.toViewElement(this._currentFakeCaretModelElement);g&&(u.removeClass(Sb.map(r),g),this._currentFakeCaretModelElement=null)}const d=l.selection.getSelectedElement();if(!d)return;const m=c.mapper.toViewElement(d);if(!cn(m,d,o))return;const f=zi(l.selection);f&&(u.addClass(r(f),m),this._currentFakeCaretModelElement=d)}),this._listenToIfEnabled(e.ui.focusTracker,"change:isFocused",(a,l,c)=>{c||e.model.change(u=>{u.removeSelectionAttribute(bi)})});function r(a){return`ck-widget_type-around_show-fake-caret_${a}`}}_handleArrowKeyPress(e,t){const i=this.editor,o=i.model,s=o.document.selection,r=o.schema,a=i.editing.view,l=t.keyCode,c=pv(l,i.locale.contentLanguageDirection),u=a.document.selection.getSelectedElement(),d=i.editing.mapper.toModelElement(u);let m;cn(u,d,r)?m=this._handleArrowKeyPressOnSelectedWidget(c):s.isCollapsed?m=this._handleArrowKeyPressWhenSelectionNextToAWidget(c):t.shiftKey||(m=this._handleArrowKeyPressWhenNonCollapsedSelection(c)),m&&(t.preventDefault(),e.stop())}_handleArrowKeyPressOnSelectedWidget(e){const t=this.editor.model,i=t.document.selection,o=zi(i);return t.change(s=>{if(o){if(o!==(e?"after":"before"))return s.removeSelectionAttribute(bi),!0}else return s.setSelectionAttribute(bi,e?"after":"before"),!0;return!1})}_handleArrowKeyPressWhenSelectionNextToAWidget(e){const t=this.editor,i=t.model,o=i.schema,s=t.plugins.get("Widget"),r=s._getObjectElementNextToSelection(e),a=t.editing.mapper.toViewElement(r);return cn(a,r,o)?(i.change(l=>{s._setSelectionOverElement(r),l.setSelectionAttribute(bi,e?"before":"after")}),!0):!1}_handleArrowKeyPressWhenNonCollapsedSelection(e){const t=this.editor,i=t.model,o=i.schema,s=t.editing.mapper,r=i.document.selection,a=e?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter,l=s.toViewElement(a);return cn(l,a,o)?(i.change(c=>{c.setSelection(a,"on"),c.setSelectionAttribute(bi,e?"after":"before")}),!0):!1}_enableInsertingParagraphsOnButtonClick(){const e=this.editor,t=e.editing.view;this._listenToIfEnabled(t.document,"mousedown",(i,o)=>{const s=HE(o.domTarget);if(!s)return;const r=$E(s),a=WE(s,t.domConverter),l=e.editing.mapper.toModelElement(a);this._insertParagraph(l,r),o.preventDefault(),i.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const e=this.editor,t=e.model.document.selection,i=e.editing.view;this._listenToIfEnabled(i.document,"enter",(o,s)=>{if(o.eventPhase!="atTarget")return;const r=t.getSelectedElement(),a=e.editing.mapper.toViewElement(r),l=e.model.schema;let c;this._insertParagraphAccordingToFakeCaretPosition()?c=!0:cn(a,r,l)&&(this._insertParagraph(r,s.isSoft?"before":"after"),c=!0),c&&(s.preventDefault(),o.stop())},{context:Se})}_enableInsertingParagraphsOnTypingKeystroke(){const e=this.editor.editing.view.document;this._listenToIfEnabled(e,"insertText",(t,i)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(i.selection=e.selection)},{priority:"high"}),N.isAndroid?this._listenToIfEnabled(e,"keydown",(t,i)=>{i.keyCode==229&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(e,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"highest"})}_enableDeleteIntegration(){const e=this.editor,t=e.editing.view,i=e.model,o=i.schema;this._listenToIfEnabled(t.document,"delete",(s,r)=>{if(s.eventPhase!="atTarget")return;const a=zi(i.document.selection);if(!a)return;const l=r.direction,c=i.document.selection.getSelectedElement(),u=a==="before",d=l=="forward";if(u===d)e.execute("delete",{selection:i.createSelection(c,"on")});else{const m=o.getNearestSelectionRange(i.createPositionAt(c,a),l);if(m)if(!m.isCollapsed)i.change(f=>{f.setSelection(m),e.execute(d?"deleteForward":"delete")});else{const f=i.createSelection(m.start);if(i.modifySelection(f,{direction:l}),!f.focus.isEqual(m.start))i.change(g=>{g.setSelection(m),e.execute(d?"deleteForward":"delete")});else{const g=ZE(o,m.start.parent);i.deleteContent(i.createSelection(g,"on"),{doNotAutoparagraph:!0})}}}r.preventDefault(),s.stop()},{context:Se})}_enableInsertContentIntegration(){const e=this.editor,t=this.editor.model,i=t.document.selection;this._listenToIfEnabled(e.model,"insertContent",(o,[s,r])=>{if(r&&!r.is("documentSelection"))return;const a=zi(i);if(a)return o.stop(),t.change(l=>{const c=i.getSelectedElement(),u=t.createPositionAt(c,a),d=l.createSelection(u),m=t.insertContent(s,d);return l.setSelection(d),m})},{priority:"high"})}_enableInsertObjectIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"insertObject",(i,o)=>{const[,s,r={}]=o;if(s&&!s.is("documentSelection"))return;const a=zi(t);a&&(r.findOptimalPosition=a,o[3]=r)},{priority:"high"})}_enableDeleteContentIntegration(){const e=this.editor,t=this.editor.model.document.selection;this._listenToIfEnabled(e.model,"deleteContent",(i,[o])=>{o&&!o.is("documentSelection")||zi(t)&&i.stop()},{priority:"high"})}}function qE(n,e,t){const i=n.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(o){const s=this.toDomElement(o);return GE(s,e),KE(s),s});n.insert(n.createPositionAt(t,"end"),i)}function GE(n,e){for(const t of Sb){const i=new qt({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${t}`],title:e[t],"aria-hidden":"true"},children:[n.ownerDocument.importNode(jE,!0)]});n.appendChild(i.render())}}function KE(n){const e=new qt({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});n.appendChild(e.render())}function ZE(n,e){let t=e;for(const i of e.getAncestors({parentFirst:!0})){if(i.childCount>1||n.isLimit(i))break;t=i}return t}function JE(n){const e=n.model;return(t,i)=>{const o=i.keyCode==Z.arrowup,s=i.keyCode==Z.arrowdown,r=i.shiftKey,a=e.document.selection;if(!o&&!s)return;const l=s;if(r&&XE(a,l))return;const c=QE(n,a,l);if(c){if(c.isCollapsed&&(a.isCollapsed||r))return;(c.isCollapsed||YE(n,c,l))&&(e.change(u=>{const d=l?c.end:c.start;if(r){const m=e.createSelection(a.anchor);m.setFocus(d),u.setSelection(m)}else u.setSelection(d)}),t.stop(),i.preventDefault(),i.stopPropagation())}}}function QE(n,e,t){const i=n.model;if(t){const o=e.isCollapsed?e.focus:e.getLastPosition(),s=vm(i,o,"forward");if(!s)return null;const r=i.createRange(o,s),a=ym(i.schema,r,"backward");return a?i.createRange(o,a):null}else{const o=e.isCollapsed?e.focus:e.getFirstPosition(),s=vm(i,o,"backward");if(!s)return null;const r=i.createRange(s,o),a=ym(i.schema,r,"forward");return a?i.createRange(a,o):null}}function vm(n,e,t){const i=n.schema,o=n.createRangeIn(e.root),s=t=="forward"?"elementStart":"elementEnd";for(const{previousPosition:r,item:a,type:l}of o.getWalker({startPosition:e,direction:t})){if(i.isLimit(a)&&!i.isInline(a))return r;if(l==s&&i.isBlock(a))return null}return null}function ym(n,e,t){const i=t=="backward"?e.end:e.start;if(n.checkChild(i,"$text"))return i;for(const{nextPosition:o}of e.getWalker({direction:t}))if(n.checkChild(o,"$text"))return o;return null}function YE(n,e,t){const i=n.model,o=n.view.domConverter;if(t){const c=i.createSelection(e.start);i.modifySelection(c),!c.focus.isAtEnd&&!e.start.isEqual(c.focus)&&(e=i.createRange(c.focus,e.end))}const s=n.mapper.toViewRange(e),r=o.viewRangeToDom(s),a=z.getDomRangeRects(r);let l;for(const c of a){if(l===void 0){l=Math.round(c.bottom);continue}if(Math.round(c.top)>=l)return!1;l=Math.max(l,Math.round(c.bottom))}return!0}function XE(n,e){return!n.isCollapsed&&n.isBackward==e}class Vt extends w{constructor(){super(...arguments),h(this,"_previouslySelected",new Set)}static get pluginName(){return"Widget"}static get isOfficialPlugin(){return!0}static get requires(){return[UE,en]}init(){const e=this.editor,t=e.editing.view,i=t.document,o=e.t;this.editor.editing.downcastDispatcher.on("selection",(s,r,a)=>{const l=a.writer,c=r.selection;if(c.isCollapsed)return;const u=c.getSelectedElement();if(!u)return;const d=e.editing.mapper.toViewElement(u);Se(d)&&a.consumable.consume(c,"selection")&&l.setSelection(l.createRangeOn(d),{fake:!0,label:FE(d)})}),this.editor.editing.downcastDispatcher.on("selection",(s,r,a)=>{this._clearPreviouslySelectedWidgets(a.writer);const l=a.writer,c=l.document.selection;let u=null;for(const d of c.getRanges())for(const m of d){const f=m.item;Se(f)&&!i3(f,u)&&(l.addClass(bm,f),this._previouslySelected.add(f),u=f)}},{priority:"low"}),t.addObserver(ua),this.listenTo(i,"mousedown",(...s)=>this._onMousedown(...s)),this.listenTo(i,"arrowKey",(...s)=>{this._handleSelectionChangeOnArrowKeyPress(...s)},{context:[Se,"$text"]}),this.listenTo(i,"arrowKey",(...s)=>{this._preventDefaultOnArrowKeyPress(...s)},{context:"$root"}),this.listenTo(i,"arrowKey",JE(this.editor.editing),{context:"$text"}),this.listenTo(i,"delete",(s,r)=>{this._handleDelete(r.direction=="forward")&&(r.preventDefault(),s.stop())},{context:"$root"}),this.listenTo(i,"tab",(s,r)=>{s.eventPhase=="atTarget"&&(r.shiftKey||this._selectFirstNestedEditable()&&(r.preventDefault(),s.stop()))},{context:Se,priority:"low"}),this.listenTo(i,"tab",(s,r)=>{r.shiftKey&&this._selectAncestorWidget()&&(r.preventDefault(),s.stop())},{priority:"low"}),this.listenTo(i,"keydown",(s,r)=>{r.keystroke==Z.esc&&this._selectAncestorWidget()&&(r.preventDefault(),s.stop())},{priority:"low"}),e.accessibility.addKeystrokeInfoGroup({id:"widget",label:o("Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"),keystrokes:[{label:o("Move focus from an editable area back to the parent widget"),keystroke:"Esc"},{label:o("Insert a new paragraph directly after a widget"),keystroke:"Enter"},{label:o("Insert a new paragraph directly before a widget"),keystroke:"Shift+Enter"},{label:o("Move the caret to allow typing directly before a widget"),keystroke:[["arrowup"],["arrowleft"]]},{label:o("Move the caret to allow typing directly after a widget"),keystroke:[["arrowdown"],["arrowright"]]}]})}_onMousedown(e,t){const i=this.editor,o=i.editing.view,s=o.document;let r=t.target;if(!r)return;if(t.domEvent.detail>=3){this._selectBlockContent(r)&&t.preventDefault();return}if(!Se(r)){const l=e3(r);if(!l)return;if(Se(l))r=l;else{const c=t3(o,t);if(c&&Se(c))r=c;else return}}N.isAndroid&&t.preventDefault(),s.isFocused||o.focus();const a=i.editing.mapper.toModelElement(r);this._setSelectionOverElement(a)}_selectBlockContent(e){const t=this.editor,i=t.model,o=t.editing.mapper,s=i.schema,r=o.findMappedViewAncestor(this.editor.editing.view.createPositionAt(e,0)),a=n3(o.toModelElement(r),i.schema);return a?(i.change(l=>{const c=s.isLimit(a)?null:o3(l.createPositionAfter(a),s),u=l.createPositionAt(a,0),d=c?l.createPositionAt(c,0):l.createPositionAt(a,"end");l.setSelection(l.createRange(u,d))}),!0):!1}_handleSelectionChangeOnArrowKeyPress(e,t){const i=t.keyCode,o=this.editor.model,s=o.schema,r=o.document.selection,a=r.getSelectedElement(),l=oa(i,this.editor.locale.contentLanguageDirection),c=l=="down"||l=="right",u=l=="up"||l=="down";if(a&&s.isObject(a)){const m=c?r.getLastPosition():r.getFirstPosition(),f=s.getNearestSelectionRange(m,c?"forward":"backward");f&&(o.change(g=>{g.setSelection(f)}),t.preventDefault(),e.stop());return}if(!r.isCollapsed&&!t.shiftKey){const m=r.getFirstPosition(),f=r.getLastPosition(),g=m.nodeAfter,p=f.nodeBefore;(g&&s.isObject(g)||p&&s.isObject(p))&&(o.change(_=>{_.setSelection(c?f:m)}),t.preventDefault(),e.stop());return}if(!r.isCollapsed)return;const d=this._getObjectElementNextToSelection(c);if(d&&s.isObject(d)){if(s.isInline(d)&&u)return;this._setSelectionOverElement(d),t.preventDefault(),e.stop()}}_preventDefaultOnArrowKeyPress(e,t){const i=this.editor.model,o=i.schema,s=i.document.selection.getSelectedElement();s&&o.isObject(s)&&(t.preventDefault(),e.stop())}_handleDelete(e){const t=this.editor.model.document.selection;if(!this.editor.model.canEditAt(t)||!t.isCollapsed)return;const i=this._getObjectElementNextToSelection(e);if(i)return this.editor.model.change(o=>{let s=t.anchor.parent;for(;s.isEmpty;){const r=s;s=r.parent,o.remove(r)}this._setSelectionOverElement(i)}),!0}_setSelectionOverElement(e){this.editor.model.change(t=>{t.setSelection(t.createRangeOn(e))})}_getObjectElementNextToSelection(e){const t=this.editor.model,i=t.schema,o=t.document.selection,s=t.createSelection(o);if(t.modifySelection(s,{direction:e?"forward":"backward"}),s.isEqual(o))return null;const r=e?s.focus.nodeBefore:s.focus.nodeAfter;return r&&i.isObject(r)?r:null}_clearPreviouslySelectedWidgets(e){for(const t of this._previouslySelected)e.removeClass(bm,t);this._previouslySelected.clear()}_selectFirstNestedEditable(){const e=this.editor,t=this.editor.editing.view.document;for(const i of t.selection.getFirstRange().getItems())if(i.is("editableElement")){const o=e.editing.mapper.toModelElement(i);/* istanbul ignore next -- @preserve */if(!o)continue;const s=e.model.createPositionAt(o,0),r=e.model.schema.getNearestSelectionRange(s,"forward");return e.model.change(a=>{a.setSelection(r)}),!0}return!1}_selectAncestorWidget(){const e=this.editor,t=e.editing.mapper,i=e.editing.view.document.selection.getFirstPosition().parent,o=(i.is("$text")?i.parent:i).findAncestor(Se);if(!o)return!1;const s=t.toModelElement(o);/* istanbul ignore next -- @preserve */return s?(e.model.change(r=>{r.setSelection(s,"on")}),!0):!1}}function e3(n){let e=n;for(;e;){if(e.is("editableElement")||Se(e))return e;e=e.parent}return null}function t3(n,e){const t=Qg(e.domEvent);let i=null;if(t?i=n.domConverter.domRangeToView(t):i=n.createRange(n.createPositionAt(e.target,0)),!i)return null;const o=i.start;if(!o.parent)return null;let s=o.parent;return o.parent.is("editableElement")&&(o.isAtEnd&&o.nodeBefore?s=o.nodeBefore:o.isAtStart&&o.nodeAfter&&(s=o.nodeAfter)),s.is("$text")?s.parent:s}function i3(n,e){return e?Array.from(n.getAncestors()).includes(e):!1}function n3(n,e){for(const t of n.getAncestors({includeSelf:!0,parentFirst:!0})){if(e.checkChild(t,"$text"))return t;if(e.isLimit(t)&&!e.isObject(t))break}return null}function o3(n,e){const t=new yi({startPosition:n});for(const{item:i}of t){if(e.isLimit(i)||!i.is("element"))return null;if(e.checkChild(i,"$text"))return i}return null}class ci extends w{constructor(){super(...arguments),h(this,"_toolbarDefinitions",new Map),h(this,"_balloon")}static get requires(){return[Ue]}static get pluginName(){return"WidgetToolbarRepository"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(e.plugins.has("BalloonToolbar")){const t=e.plugins.get("BalloonToolbar");this.listenTo(t,"show",i=>{s3(e.editing.view.document.selection)&&i.stop()},{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(e.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(e.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const e of this._toolbarDefinitions.values())e.view.destroy()}register(e,{ariaLabel:t,items:i,getRelatedElement:o,balloonClassName:s="ck-toolbar-container",positions:r}){if(!i.length){J("widget-toolbar-no-items",{toolbarId:e});return}const a=this.editor,l=a.t,c=new Ei(a.locale);if(c.ariaLabel=t||l("Widget toolbar"),this._toolbarDefinitions.has(e))throw new b("widget-toolbar-duplicated",this,{toolbarId:e});const u={view:c,getRelatedElement:o,balloonClassName:s,itemsConfig:i,positions:r,initialized:!1};a.ui.addToolbar(c,{isContextual:!0,beforeFocus:()=>{const d=o(a.editing.view.document.selection);d&&this._showToolbar(u,d)},afterBlur:()=>{this._hideToolbar(u)}}),this._toolbarDefinitions.set(e,u)}_updateToolbarsVisibility(){let e=0,t=null,i=null;for(const o of this._toolbarDefinitions.values()){const s=o.getRelatedElement(this.editor.editing.view.document.selection);if(!this.isEnabled||!s)this._isToolbarInBalloon(o)&&this._hideToolbar(o);else if(!this.editor.ui.focusTracker.isFocused)this._isToolbarVisible(o)&&this._hideToolbar(o);else{const r=s.getAncestors().length;r>e&&(e=r,t=s,i=o)}}i&&this._showToolbar(i,t)}_hideToolbar(e){this._balloon.remove(e.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(e,t){this._isToolbarVisible(e)?km(this.editor,t,e.positions):this._isToolbarInBalloon(e)||(e.initialized||(e.initialized=!0,e.view.fillFromConfig(e.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:e.view,position:Pb(this.editor,t,e.positions),balloonClassName:e.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const i of this._toolbarDefinitions.values())if(this._isToolbarVisible(i)){const o=i.getRelatedElement(this.editor.editing.view.document.selection);km(this.editor,o,e.positions)}}))}_isToolbarVisible(e){return this._balloon.visibleView===e.view}_isToolbarInBalloon(e){return this._balloon.hasView(e.view)}}function km(n,e,t){const i=n.plugins.get("ContextualBalloon"),o=Pb(n,e,t);i.updatePosition(o)}function Pb(n,e,t){const i=n.editing.view,o=Ne.defaultPositions;return{target:i.domConverter.mapViewToDom(e),positions:t||[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}function s3(n){const e=n.getSelectedElement();return!!(e&&Se(e))}class r3 extends ue(){constructor(e){super(),h(this,"_referenceCoordinates"),h(this,"_options"),h(this,"_originalWidth"),h(this,"_originalHeight"),h(this,"_originalWidthPercents"),h(this,"_aspectRatio"),this.set("activeHandlePosition",null),this.set("proposedWidthPercents",null),this.set("proposedWidth",null),this.set("proposedHeight",null),this.set("proposedHandleHostWidth",null),this.set("proposedHandleHostHeight",null),this._options=e,this._referenceCoordinates=null}get originalWidth(){return this._originalWidth}get originalHeight(){return this._originalHeight}get originalWidthPercents(){return this._originalWidthPercents}get aspectRatio(){return this._aspectRatio}begin(e,t,i){const o=new z(t);this.activeHandlePosition=c3(e),this._referenceCoordinates=a3(t,u3(this.activeHandlePosition)),this._originalWidth=o.width,this._originalHeight=o.height,this._aspectRatio=o.width/o.height;const s=i.style.width;s&&s.match(/^\d+(\.\d*)?%$/)?this._originalWidthPercents=parseFloat(s):this._originalWidthPercents=zE(i,o)}update(e){this.proposedWidth=e.width,this.proposedHeight=e.height,this.proposedWidthPercents=e.widthPercents,this.proposedHandleHostWidth=e.handleHostWidth,this.proposedHandleHostHeight=e.handleHostHeight}}function a3(n,e){const t=new z(n),i=e.split("-"),o={x:i[1]=="right"?t.right:t.left,y:i[0]=="bottom"?t.bottom:t.top};return o.x+=n.ownerDocument.defaultView.scrollX,o.y+=n.ownerDocument.defaultView.scrollY,o}function l3(n){return`ck-widget__resizer__handle-${n}`}function c3(n){const e=["top-left","top-right","bottom-right","bottom-left"];for(const t of e)if(n.classList.contains(l3(t)))return t}function u3(n){const e=n.split("-"),t={top:"bottom",bottom:"top",left:"right",right:"left"};return`${t[e[0]]}-${t[e[1]]}`}class h3 extends A{constructor(){super();const e=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-size-view",e.to("_viewPosition",t=>t?`ck-orientation-${t}`:"")],style:{display:e.if("_isVisible","none",t=>!t)}},children:[{text:e.to("_label")}]})}_bindToState(e,t){this.bind("_isVisible").to(t,"proposedWidth",t,"proposedHeight",(i,o)=>i!==null&&o!==null),this.bind("_label").to(t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",t,"proposedWidthPercents",(i,o,s)=>e.unit==="px"?`${i}×${o}`:`${s}%`),this.bind("_viewPosition").to(t,"activeHandlePosition",t,"proposedHandleHostWidth",t,"proposedHandleHostHeight",(i,o,s)=>o<50||s<50?"above-center":i)}_dismiss(){this.unbind(),this._isVisible=!1}}class Cm extends ue(){constructor(e){super(),h(this,"_state"),h(this,"_sizeView"),h(this,"_options"),h(this,"_viewResizerWrapper",null),h(this,"_initialViewWidth"),this._options=e,this.set("isEnabled",!0),this.set("isSelected",!1),this.bind("isVisible").to(this,"isEnabled",this,"isSelected",(t,i)=>t&&i),this.decorate("begin"),this.decorate("cancel"),this.decorate("commit"),this.decorate("updateSize"),this.on("commit",t=>{!this.state.proposedWidth&&!this.state.proposedWidthPercents&&(this._cleanup(),t.stop())},{priority:"high"})}get state(){return this._state}show(){this._options.editor.editing.view.change(e=>{e.removeClass("ck-hidden",this._viewResizerWrapper)})}hide(){this._options.editor.editing.view.change(e=>{e.addClass("ck-hidden",this._viewResizerWrapper)})}attach(){const e=this,t=this._options.viewElement;this._options.editor.editing.view.change(i=>{const o=i.createUIElement("div",{class:"ck ck-reset_all ck-widget__resizer"},function(s){const r=this.toDomElement(s);return e._appendHandles(r),e._appendSizeUI(r),r});i.insert(i.createPositionAt(t,"end"),o),i.addClass("ck-widget_with-resizer",t),this._viewResizerWrapper=o,this.isVisible||this.hide()}),this.on("change:isVisible",()=>{this.isVisible?(this.show(),this.redraw()):this.hide()})}begin(e){this._state=new r3(this._options),this._sizeView._bindToState(this._options,this.state),this._initialViewWidth=this._options.viewElement.getStyle("width"),this.state.begin(e,this._getHandleHost(),this._getResizeHost())}updateSize(e){const t=this._proposeNewSize(e);this._options.editor.editing.view.change(l=>{const c=this._options.unit||"%",u=(c==="%"?t.widthPercents:t.width)+c;l.setStyle("width",u,this._options.viewElement)});const i=this._getHandleHost(),o=new z(i),s=Math.round(o.width),r=Math.round(o.height),a=new z(i);t.width=Math.round(a.width),t.height=Math.round(a.height),this.redraw(o),this.state.update({...t,handleHostWidth:s,handleHostHeight:r})}commit(){const e=this._options.unit||"%",t=(e==="%"?this.state.proposedWidthPercents:this.state.proposedWidth)+e;this._options.editor.editing.view.change(()=>{this._cleanup(),this._options.onCommit(t)})}cancel(){this._cleanup()}destroy(){this.cancel()}redraw(e){const t=this._domResizerWrapper;if(!f3(t))return;const i=t.parentElement,o=this._getHandleHost(),s=this._viewResizerWrapper,r=[s.getStyle("width"),s.getStyle("height"),s.getStyle("left"),s.getStyle("top")];let a;if(i.isSameNode(o)){const l=e||new z(o);a=[l.width+"px",l.height+"px",void 0,void 0]}else a=[o.offsetWidth+"px",o.offsetHeight+"px",o.offsetLeft+"px",o.offsetTop+"px"];Xe(r,a)!=="same"&&this._options.editor.editing.view.change(l=>{l.setStyle({width:a[0],height:a[1],left:a[2],top:a[3]},s)})}containsHandle(e){return this._domResizerWrapper.contains(e)}static isResizeHandle(e){return e.classList.contains("ck-widget__resizer__handle")}_cleanup(){this._sizeView._dismiss(),this._options.editor.editing.view.change(e=>{e.setStyle("width",this._initialViewWidth,this._options.viewElement)})}_proposeNewSize(e){const t=this.state,i=m3(e),o=this._options.isCentered?this._options.isCentered(this):!0,s={x:t._referenceCoordinates.x-(i.x+t.originalWidth),y:i.y-t.originalHeight-t._referenceCoordinates.y};o&&t.activeHandlePosition.endsWith("-right")&&(s.x=i.x-(t._referenceCoordinates.x+t.originalWidth)),o&&(s.x*=2);let r=Math.abs(t.originalWidth+s.x),a=Math.abs(t.originalHeight+s.y);return(r/t.aspectRatio>a?"width":"height")=="width"?a=r/t.aspectRatio:r=a*t.aspectRatio,{width:Math.round(r),height:Math.round(a),widthPercents:Math.min(Math.round(t.originalWidthPercents/t.originalWidth*r*100)/100,100)}}_getResizeHost(){const e=this._domResizerWrapper.parentElement;return this._options.getResizeHost(e)}_getHandleHost(){const e=this._domResizerWrapper.parentElement;return this._options.getHandleHost(e)}get _domResizerWrapper(){return this._options.editor.editing.view.domConverter.mapViewToDom(this._viewResizerWrapper)}_appendHandles(e){const t=["top-left","top-right","bottom-right","bottom-left"];for(const i of t)e.appendChild(new qt({tag:"div",attributes:{class:`ck-widget__resizer__handle ${d3(i)}`}}).render())}_appendSizeUI(e){this._sizeView=new h3,this._sizeView.render(),e.appendChild(this._sizeView.element)}}function d3(n){return`ck-widget__resizer__handle-${n}`}function m3(n){return{x:n.pageX,y:n.pageY}}function f3(n){return n&&n.ownerDocument&&n.ownerDocument.contains(n)}class ul extends w{constructor(){super(...arguments),h(this,"_resizers",new Map),h(this,"_observer"),h(this,"_redrawSelectedResizerThrottled")}static get pluginName(){return"WidgetResize"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.editing,t=I.window.document;this.set("selectedResizer",null),this.set("_activeResizer",null),e.view.addObserver(ua),this._observer=new(st()),this.listenTo(e.view.document,"mousedown",this._mouseDownListener.bind(this),{priority:"high"}),this._observer.listenTo(t,"mousemove",this._mouseMoveListener.bind(this)),this._observer.listenTo(t,"mouseup",this._mouseUpListener.bind(this)),this._redrawSelectedResizerThrottled=co(()=>this.redrawSelectedResizer(),200),this.editor.ui.on("update",this._redrawSelectedResizerThrottled),this.editor.model.document.on("change",()=>{for(const[o,s]of this._resizers)o.isAttached()||(this._resizers.delete(o),s.destroy())},{priority:"lowest"}),this._observer.listenTo(I.window,"resize",this._redrawSelectedResizerThrottled);const i=this.editor.editing.view.document.selection;i.on("change",()=>{const o=i.getSelectedElement(),s=this.getResizerByViewElement(o)||null;s?this.select(s):this.deselect()})}redrawSelectedResizer(){this.selectedResizer&&this.selectedResizer.isVisible&&this.selectedResizer.redraw()}destroy(){super.destroy(),this._observer.stopListening();for(const e of this._resizers.values())e.destroy();this._redrawSelectedResizerThrottled.cancel()}select(e){this.deselect(),this.selectedResizer=e,this.selectedResizer.isSelected=!0}deselect(){this.selectedResizer&&(this.selectedResizer.isSelected=!1),this.selectedResizer=null}attachTo(e){const t=new Cm(e),i=this.editor.plugins;if(t.attach(),i.has("WidgetToolbarRepository")){const s=i.get("WidgetToolbarRepository");t.on("begin",()=>{s.forceDisabled("resize")},{priority:"lowest"}),t.on("cancel",()=>{s.clearForceDisabled("resize")},{priority:"highest"}),t.on("commit",()=>{s.clearForceDisabled("resize")},{priority:"highest"})}this._resizers.set(e.viewElement,t);const o=this.editor.editing.view.document.selection.getSelectedElement();return this.getResizerByViewElement(o)==t&&this.select(t),t}getResizerByViewElement(e){return this._resizers.get(e)}_getResizerByHandle(e){for(const t of this._resizers.values())if(t.containsHandle(e))return t}_mouseDownListener(e,t){const i=t.domTarget;Cm.isResizeHandle(i)&&(this._activeResizer=this._getResizerByHandle(i)||null,this._activeResizer&&(this._activeResizer.begin(i),e.stop(),t.preventDefault()))}_mouseMoveListener(e,t){this._activeResizer&&this._activeResizer.updateSize(t)}_mouseUpListener(){this._activeResizer&&(this._activeResizer.commit(),this._activeResizer=null)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class g3 extends A{constructor(e,t){super(e),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"idInputView"),h(this,"backButtonView"),h(this,"saveButtonView"),h(this,"children"),h(this,"_validators"),h(this,"_focusables",new Ie),h(this,"_focusCycler"),this._validators=t,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.idInputView=this._createIdInput(),this.children=this.createCollection([this._createHeaderView()]),this.children.add(new $e(e,{children:[this.idInputView,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding"]})),this.keystrokes.set("Esc",(i,o)=>{this.fire("cancel"),o()}),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-bookmark-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),Ri({view:this}),[this.backButtonView,this.idInputView,this.saveButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.idInputView.focus()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.idInputView.errorText=t,!1}return!0}resetFormStatus(){this.idInputView.errorText=null}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new P(this.locale);return t.set({label:e("Save"),withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Bookmark")});return t.children.add(this.backButtonView,0),t}_createIdInput(){const e=this.locale.t,t=new Te(this.locale,nt);return t.label=e("Bookmark name"),t.infoText=e("Enter the bookmark name without spaces."),t.class="ck-labeled-field-view_full-width",t}get id(){const{element:e}=this.idInputView.fieldView;return e?e.value.trim():null}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Ib(n){return!(!n||typeof n!="string"||/\s/.test(n))}class p3 extends O{refresh(){const e=this.editor.model.document.selection,t=this._getPositionToInsertBookmark(e);this.isEnabled=!!t}execute(e){if(!e)return;const{bookmarkId:t}=e;if(!Ib(t)){J("insert-bookmark-command-executed-with-invalid-name");return}const i=this.editor,o=i.model,s=o.document.selection;o.change(r=>{let a=this._getPositionToInsertBookmark(s);if(!o.schema.checkChild(a,"bookmark")){const c=i.execute("insertParagraph",{position:a});if(!c)return;a=c}const l=r.createElement("bookmark",{...Object.fromEntries(s.getAttributes()),bookmarkId:t});o.insertObject(l,a,null,{setSelection:"on"})})}_getPositionToInsertBookmark(e){const t=this.editor.model,i=t.schema,o=e.getFirstRange(),s=o.start;if(hl(s,i))return s;for(const{previousPosition:r,item:a}of o){if(a.is("element")&&i.checkChild(a,"$text")&&hl(a,i))return t.createPositionAt(a,0);if(hl(r,i))return r}return null}}function hl(n,e){return e.checkChild(n,"bookmark")?!0:e.checkChild(n,"paragraph")?e.checkChild("paragraph","bookmark"):!1}class w3 extends O{refresh(){const e=this.editor.model.document.selection,t=Am(e);this.isEnabled=!!t,this.value=t?t.getAttribute("bookmarkId"):void 0}execute(e){if(!e)return;const{bookmarkId:t}=e;if(!Ib(t)){J("update-bookmark-command-executed-with-invalid-name");return}const i=this.editor.model,o=i.document.selection,s=Am(o);s&&i.change(r=>{r.setAttribute("bookmarkId",t,s)})}}function Am(n){const e=n.getSelectedElement();return e&&e.is("element","bookmark")?e:null}class ns extends w{constructor(e){super(e),h(this,"_bookmarkElements",new Map),e.config.define("bookmark",{toolbar:["bookmarkPreview","|","editBookmark","removeBookmark"]})}static get pluginName(){return"BookmarkEditing"}static get isOfficialPlugin(){return!0}init(){const{editor:e}=this;this._defineSchema(),this._defineConverters(),e.commands.add("insertBookmark",new p3(e)),e.commands.add("updateBookmark",new w3(e)),this.listenTo(e.model.document,"change:data",()=>{this._trackBookmarkElements()})}getElementForBookmarkId(e){for(const[t,i]of this._bookmarkElements)if(i==e)return t;return null}getAllBookmarkNames(){return new Set(this._bookmarkElements.values())}_defineSchema(){this.editor.model.schema.register("bookmark",{inheritAllFrom:"$inlineObject",allowAttributes:"bookmarkId",disallowAttributes:["linkHref","htmlA"]})}_defineConverters(){const{editor:e}=this,{conversion:t,t:i}=e;e.data.htmlProcessor.domConverter.registerInlineObjectMatcher(o=>oc(o)),e.editing.view.domConverter.registerInlineObjectMatcher(o=>oc(o,!1)),t.for("dataDowncast").elementToElement({model:{name:"bookmark",attributes:["bookmarkId"]},view:(o,{writer:s})=>s.createEmptyElement("a",{id:o.getAttribute("bookmarkId")})}),t.for("editingDowncast").elementToElement({model:{name:"bookmark",attributes:["bookmarkId"]},view:(o,{writer:s})=>{const r=o.getAttribute("bookmarkId"),a=s.createContainerElement("a",{id:r,class:"ck-bookmark"},[this._createBookmarkUIElement(s)]);return s.setCustomProperty("bookmark",!0,a),this._bookmarkElements.set(o,r),gt(a,s,{label:()=>`${r} ${i("bookmark widget")}`})}}),t.for("upcast").add(o=>o.on("element:a",b3(e)))}_createBookmarkUIElement(e){return e.createUIElement("span",{class:"ck-bookmark__icon"},function(t){const i=this.toDomElement(t),o=new hi;return o.set({content:dC,isColorInherited:!1}),o.render(),i.appendChild(o.element),i})}_trackBookmarkElements(){this._bookmarkElements.forEach((e,t)=>{t.root.rootName==="$graveyard"&&this._bookmarkElements.delete(t)})}}function oc(n,e=!0){if(n.name!=="a"||e&&!n.isEmpty)return null;const t=n.hasAttribute("id"),i=n.hasAttribute("name"),o=n.hasAttribute("href");return t&&!o?{name:!0,attributes:["id"]}:i&&!o?{name:!0,attributes:["name"]}:null}function b3(n){return(e,t,i)=>{const o=t.viewItem,s=oc(o,!1);if(!s||!i.consumable.test(o,s)||!_3(n)&&!o.isEmpty)return;const r=i.writer,a=o.getAttribute("id"),l=o.getAttribute("name"),c=a||l,u=r.createElement("bookmark",{bookmarkId:c});if(!i.safeInsert(u,t.modelCursor))return;i.consumable.consume(o,s),a===l&&i.consumable.consume(o,{attributes:["name"]}),i.updateConversionResult(u,t);const{modelCursor:d,modelRange:m}=i.convertChildren(o,t.modelCursor);t.modelCursor=d,t.modelRange=r.createRange(t.modelRange.start,m.end)}}function _3(n){const e=n.config.get("bookmark.enableNonEmptyAnchorConversion");return e!==void 0?e:!0}const Yt="bookmark-ui";class v3 extends w{constructor(){super(...arguments),h(this,"formView",null),h(this,"_balloon")}static get requires(){return[ns,Ue,ci]}static get pluginName(){return"BookmarkUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;this._balloon=e.plugins.get(Ue),e.plugins.has("LinkUI")&&this._registerLinkProvider(),this._registerComponents(),e.conversion.for("editingDowncast").markerToHighlight({model:Yt,view:{classes:["ck-fake-bookmark-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:Yt,view:(t,{writer:i})=>{if(!t.markerRange.isCollapsed)return null;const o=i.createUIElement("span");return i.addClass(["ck-fake-bookmark-selection","ck-fake-bookmark-selection_collapsed"],o),o}})}afterInit(){const e=this.editor,t=e.locale.t,i=this.editor.plugins.get(ci),o=Ne.defaultPositions;i.register("bookmark",{ariaLabel:t("Bookmark toolbar"),items:e.config.get("bookmark.toolbar"),getRelatedElement:k3,balloonClassName:"ck-bookmark-balloon ck-toolbar-container",positions:[o.southArrowNorth,o.southArrowNorthMiddleWest,o.southArrowNorthMiddleEast,o.southArrowNorthWest,o.southArrowNorthEast,o.northArrowSouth,o.northArrowSouthMiddleWest,o.northArrowSouthMiddleEast,o.northArrowSouthWest,o.northArrowSouthEast,o.viewportStickyNorth]})}destroy(){super.destroy(),this.formView&&this.formView.destroy()}_createViews(){this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createFormView(){const e=this.editor,t=e.locale,i=t.t,o=e.commands.get("insertBookmark"),s=e.commands.get("updateBookmark"),r=[o,s],a=new(ho(g3))(t,y3(e));return a.idInputView.fieldView.bind("value").to(s,"value"),a.saveButtonView.bind("label").to(s,"value",l=>i(l?"Save":"Insert")),a.idInputView.bind("isEnabled").toMany(r,"isEnabled",(...l)=>l.some(c=>c)),a.saveButtonView.bind("isEnabled").toMany(r,"isEnabled",(...l)=>l.some(c=>c)),this.listenTo(a,"cancel",()=>{this._hideFormView()}),this.listenTo(a,"submit",()=>{if(a.isValid()){const l=a.id;this._getSelectedBookmarkElement()?e.execute("updateBookmark",{bookmarkId:l}):e.execute("insertBookmark",{bookmarkId:l}),this._hideFormView()}}),this.listenTo(a.idInputView,"change:errorText",()=>{e.ui.update()}),a}_registerLinkProvider(){const e=this.editor.locale.t,t=this.editor.plugins.get("LinkUI"),i=this.editor.plugins.get(ns),o=()=>Array.from(i.getAllBookmarkNames()).sort((r,a)=>r.localeCompare(a)).map(r=>({id:r,href:`#${r}`,label:r,icon:fC})),s=r=>{const a=[...i.getAllBookmarkNames()].find(l=>`#${l}`===r);return a?{href:r,label:a,icon:gC,tooltip:e("Scroll to bookmark")}:null};t.registerLinksListProvider({label:e("Bookmarks"),emptyListPlaceholder:e("No bookmarks available."),navigate:({href:r})=>this._scrollToBookmark(r),getListItems:o,getItem:s})}_scrollToBookmark(e){const t=this.editor.plugins.get(ns).getElementForBookmarkId(e.slice(1));return t?(this.editor.model.change(i=>{i.setSelection(t,"on")}),this.editor.editing.view.scrollToTheSelection({alignToTop:!0,forceScroll:!0}),!0):!1}_registerComponents(){const e=this.editor;e.ui.componentFactory.add("bookmark",()=>{const t=this._createBookmarkButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:bookmark",()=>this._createBookmarkButton(ve)),e.ui.componentFactory.add("bookmarkPreview",t=>{const i=e.commands.get("updateBookmark"),o=new xt(t);return o.extendTemplate({attributes:{class:["ck-bookmark-toolbar__preview"]}}),o.bind("text").to(i,"value"),o}),e.ui.componentFactory.add("editBookmark",t=>{const i=e.commands.get("updateBookmark"),o=new P(t),s=t.t;return o.set({label:s("Edit bookmark"),icon:kw,tooltip:!0}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",()=>{this._showFormView()}),o}),e.ui.componentFactory.add("removeBookmark",t=>{const i=e.commands.get("delete"),o=new P(t),s=t.t;return o.set({label:s("Remove bookmark"),icon:sA,tooltip:!0}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",()=>{e.execute("delete"),e.editing.view.focus()}),o})}_createBookmarkButton(e){const t=this.editor,i=t.locale,o=new e(i),s=t.commands.get("insertBookmark"),r=t.commands.get("updateBookmark"),a=i.t;return o.set({label:a("Bookmark"),icon:mC}),this.listenTo(o,"execute",()=>{t.editing.view.scrollToTheSelection(),this._showFormView()}),o.bind("isEnabled").toMany([s,r],"isEnabled",(...l)=>l.some(c=>c)),o.bind("isOn").to(r,"value",l=>!!l),o}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Esc",(e,t)=>{this._isFormVisible&&(this._hideFormView(),t())}),$t({emitter:this.formView,activator:()=>this._isFormInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>{this._hideFormView(!1)}})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const e=this.editor.commands.get("updateBookmark");this.formView.disableCssTransitions(),this.formView.resetFormStatus(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.backButtonView.isVisible=e.isEnabled,this.formView.idInputView.fieldView.value=e.value||"",this._balloon.visibleView===this.formView&&this.formView.idInputView.fieldView.select(),this.formView.enableCssTransitions()}_removeFormView(e=!0){this.formView.saveButtonView.focus(),this.formView.idInputView.fieldView.reset(),this._balloon.remove(this.formView),e&&this.editor.editing.view.focus(),this._hideFakeVisualSelection()}_showFormView(){this.formView||this._createViews(),this._getSelectedBookmarkElement()||this._showFakeVisualSelection(),this._addFormView(),this._balloon.showStack("main"),this._startUpdatingUI()}_hideFormView(e=!0){if(!this._isFormInPanel)return;const t=this.editor;this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e&&t.editing.view.focus(),this._removeFormView(e),this._hideFakeVisualSelection()}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let i=this._getSelectedBookmarkElement(),o=r();const s=()=>{const a=this._getSelectedBookmarkElement(),l=r();i&&!a||!i&&l!==o?this._hideFormView():this._isFormVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=a,o=l};function r(){return t.selection.focus.getAncestors().reverse().find(a=>a.is("element"))}this.listenTo(e.ui,"update",s),this.listenTo(this._balloon,"change:visibleView",s)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _isFormVisible(){return!!this.formView&&this._balloon.visibleView==this.formView}_getBalloonPositionData(){const e=this.editor.editing.view,t=this.editor.model;let i;const o=this._getSelectedBookmarkElement();if(t.markers.has(Yt)){const s=Array.from(this.editor.editing.mapper.markerNameToElements(Yt)),r=e.createRange(e.createPositionBefore(s[0]),e.createPositionAfter(s[s.length-1]));i=e.domConverter.viewRangeToDom(r)}else o&&(i=()=>{const s=this.editor.editing.mapper,r=e.domConverter,a=s.toViewElement(o);return r.mapViewToDom(a)});if(i)return{target:i}}_getSelectedBookmarkElement(){const e=this.editor.model.document.selection.getSelectedElement();return e&&e.is("element","bookmark")?e:null}_showFakeVisualSelection(){const e=this.editor.model;e.change(t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(Yt))t.updateMarker(Yt,{range:i});else if(i.start.isAtEnd){const o=i.start.getLastMatchingPosition(({item:s})=>!e.schema.isContent(s),{boundaries:i});t.addMarker(Yt,{usingOperation:!1,affectsData:!1,range:t.createRange(o,i.end)})}else t.addMarker(Yt,{usingOperation:!1,affectsData:!1,range:i})})}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(Yt)&&e.change(t=>{t.removeMarker(Yt)})}}function y3(n){const{t:e}=n,t=n.plugins.get(ns);return[i=>{if(!i.id)return e("Bookmark must not be empty.")},i=>{if(i.id&&/\s/.test(i.id))return e("Bookmark name cannot contain space characters.")},i=>{const o=n.model.document.selection.getSelectedElement(),s=t.getElementForBookmarkId(i.id);if(o!==s&&s)return e("Bookmark name already exists.")}]}function k3(n){const e=n.getSelectedElement();return!e||!Se(e)||!e.getCustomProperty("bookmark")?null:e}class C3 extends w{static get pluginName(){return"Bookmark"}static get requires(){return[ns,v3,Vt]}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class bs extends ui{constructor(e){super(e),h(this,"domEventType",["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"]);const t=this.document;this.listenTo(t,"paste",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"drop",i("clipboardInput"),{priority:"low"}),this.listenTo(t,"dragover",i("dragging"),{priority:"low"});function i(o){return(s,r)=>{r.preventDefault();const a=r.dropRange?[r.dropRange]:null,l=new Ti(t,o);t.fire(l,{dataTransfer:r.dataTransfer,method:s.name,targetRanges:a,target:r.target,domEvent:r.domEvent}),l.stop.called&&r.stopPropagation()}}}onDomEvent(e){const t="clipboardData"in e?e.clipboardData:e.dataTransfer,i=e.type=="drop"||e.type=="paste",o={dataTransfer:new kp(t,{cacheFiles:i})};if(e.type=="drop"||e.type=="dragover"){const s=Qg(e);o.dropRange=s&&this.view.domConverter.domRangeToView(s)}this.fire(e.type,e,o)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function A3(n){return n=n.replace(/&/g,"&").replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  "),(n.includes("

")||n.includes("
"))&&(n=`

${n}

`),n}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function x3(n){return n.replace(/(\s+)<\/span>/g,(e,t)=>t.length==1?" ":t).replace(//g,"")}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const xm=["figcaption","li"],Tm=["ol","ul"];function Vb(n,e){if(e.is("$text")||e.is("$textProxy"))return e.data;if(e.is("element","img")&&e.hasAttribute("alt"))return e.getAttribute("alt");if(e.is("element","br"))return` +`;let t="",i=null;for(const o of e.getChildren())t+=T3(o,i)+Vb(n,o),i=o;if(e.is("rawElement")){const o=document.createElement("div");e.render(o,n),t+=Rb(o)}return t}function Rb(n){let e="";if(n.nodeType===Node.TEXT_NODE)return n.textContent;if(n.tagName==="BR")return` +`;for(const t of n.childNodes)e+=Rb(t);return e}function T3(n,e){return e?n.is("element","li")&&!n.isEmpty&&n.getChild(0).is("containerElement")||Tm.includes(n.name)&&Tm.includes(e.name)?` + +`:!n.is("containerElement")&&!e.is("containerElement")?"":xm.includes(n.name)||xm.includes(e.name)?` +`:n.is("element")&&n.getCustomProperty("dataPipeline:transparentRendering")||e.is("element")&&e.getCustomProperty("dataPipeline:transparentRendering")?"":` + +`:""}class os extends w{constructor(){super(...arguments),h(this,"_markersToCopy",new Map)}static get pluginName(){return"ClipboardMarkersUtils"}static get isOfficialPlugin(){return!0}_registerMarkerToCopy(e,t){this._markersToCopy.set(e,t)}_copySelectedFragmentWithMarkers(e,t,i=o=>o.model.getSelectedContent(o.model.document.selection)){return this.editor.model.change(o=>{const s=o.model.document.selection;o.setSelection(t);const r=this._insertFakeMarkersIntoSelection(o,o.model.document.selection,e),a=i(o),l=this._removeFakeMarkersInsideElement(o,a);for(const[c,u]of Object.entries(r)){l[c]||(l[c]=o.createRangeIn(a));for(const d of u)o.remove(d)}a.markers.clear();for(const[c,u]of Object.entries(l))a.markers.set(c,u);return o.setSelection(s),a})}_pasteMarkersIntoTransformedElement(e,t){const i=this._getPasteMarkersFromRangeMap(e);return this.editor.model.change(o=>{const s=this._insertFakeMarkersElements(o,i),r=t(o),a=this._removeFakeMarkersInsideElement(o,r);for(const l of Object.values(s).flat())o.remove(l);for(const[l,c]of Object.entries(a))o.model.markers.has(l)||o.addMarker(l,{usingOperation:!0,affectsData:!0,range:c});return r})}_pasteFragmentWithMarkers(e){const t=this._getPasteMarkersFromRangeMap(e.markers);e.markers.clear();for(const i of t)e.markers.set(i.name,i.range);return this.editor.model.insertContent(e)}_forceMarkersCopy(e,t,i={allowedActions:"all",copyPartiallySelected:!0,duplicateOnPaste:!0}){const o=this._markersToCopy.get(e);this._markersToCopy.set(e,i),t(),o?this._markersToCopy.set(e,o):this._markersToCopy.delete(e)}_isMarkerCopyable(e,t){const i=this._getMarkerClipboardConfig(e);if(!i)return!1;if(!t)return!0;const{allowedActions:o}=i;return o==="all"||o.includes(t)}_hasMarkerConfiguration(e){return!!this._getMarkerClipboardConfig(e)}_getMarkerClipboardConfig(e){const[t]=e.split(":");return this._markersToCopy.get(t)||null}_insertFakeMarkersIntoSelection(e,t,i){const o=this._getCopyableMarkersFromSelection(e,t,i);return this._insertFakeMarkersElements(e,o)}_getCopyableMarkersFromSelection(e,t,i){const o=Array.from(t.getRanges()),s=new Set(o.flatMap(a=>Array.from(e.model.markers.getMarkersIntersectingRange(a)))),r=a=>{if(!this._isMarkerCopyable(a.name,i))return!1;const{copyPartiallySelected:l}=this._getMarkerClipboardConfig(a.name);if(!l){const c=a.getRange();return o.some(u=>u.containsRange(c,!0))}return!0};return Array.from(s).filter(r).map(a=>({name:i==="dragstart"?this._getUniqueMarkerName(a.name):a.name,range:a.getRange()}))}_getPasteMarkersFromRangeMap(e,t=null){const{model:i}=this.editor;return(e instanceof Map?Array.from(e.entries()):Object.entries(e)).flatMap(([o,s])=>{if(!this._hasMarkerConfiguration(o))return[{name:o,range:s}];if(this._isMarkerCopyable(o,t)){const r=this._getMarkerClipboardConfig(o),a=i.markers.has(o)&&i.markers.get(o).getRange().root.rootName==="$graveyard";return(r.duplicateOnPaste||a)&&(o=this._getUniqueMarkerName(o)),[{name:o,range:s}]}return[]})}_insertFakeMarkersElements(e,t){const i={},o=t.flatMap(s=>{const{start:r,end:a}=s.range;return[{position:r,marker:s,type:"start"},{position:a,marker:s,type:"end"}]}).sort(({position:s},{position:r})=>s.isBefore(r)?1:-1);for(const{position:s,marker:r,type:a}of o){const l=e.createElement("$marker",{"data-name":r.name,"data-type":a});i[r.name]||(i[r.name]=[]),i[r.name].push(l),e.insert(l,s)}return i}_removeFakeMarkersInsideElement(e,t){const i=this._getAllFakeMarkersFromElement(e,t).reduce((o,s)=>{const r=s.markerElement&&e.createPositionBefore(s.markerElement);let a=o[s.name],l=!1;return a!=null&&a.start&&a!=null&&a.end&&(this._getMarkerClipboardConfig(s.name).duplicateOnPaste?o[this._getUniqueMarkerName(s.name)]=o[s.name]:l=!0,a=null),l||(o[s.name]={...a,[s.type]:r}),s.markerElement&&e.remove(s.markerElement),o},{});return __(i,o=>new y(o.start||e.createPositionFromPath(t,[0]),o.end||e.createPositionAt(t,"end")))}_getAllFakeMarkersFromElement(e,t){const i=Array.from(e.createRangeIn(t)).flatMap(({item:r})=>{if(!r.is("element","$marker"))return[];const a=r.getAttribute("data-name"),l=r.getAttribute("data-type");return[{markerElement:r,name:a,type:l}]}),o=[],s=[];for(const r of i)r.type==="end"&&(i.some(a=>a.name===r.name&&a.type==="start")||o.push({markerElement:null,name:r.name,type:"start"})),r.type==="start"&&(i.some(a=>a.name===r.name&&a.type==="end")||s.unshift({markerElement:null,name:r.name,type:"end"}));return[...o,...i,...s]}_getUniqueMarkerName(e){const t=e.split(":"),i=ze().substring(1,6);return t.length===3?`${t.slice(0,2).join(":")}:${i}`:`${t.join(":")}:${i}`}}class pt extends w{static get pluginName(){return"ClipboardPipeline"}static get isOfficialPlugin(){return!0}static get requires(){return[os]}init(){this.editor.editing.view.addObserver(bs),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(e,t,i){const o=this.editor.plugins.get("ClipboardMarkersUtils");this.editor.model.enqueueChange({isUndoable:i==="cut"},()=>{const s=o._copySelectedFragmentWithMarkers(i,t);this.fire("outputTransformation",{dataTransfer:e,content:s,method:i})})}_setupPasteDrop(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document,s=this.editor.plugins.get("ClipboardMarkersUtils");this.listenTo(o,"clipboardInput",(r,a)=>{a.method=="paste"&&!e.model.canEditAt(e.model.document.selection)&&r.stop()},{priority:"highest"}),this.listenTo(o,"clipboardInput",(r,a)=>{const l=a.dataTransfer;let c;if(a.content)c=a.content;else{let m="";l.getData("text/html")?m=x3(l.getData("text/html")):l.getData("text/plain")&&(m=A3(l.getData("text/plain"))),c=this.editor.data.htmlProcessor.toView(m)}const u=new Ti(this,"inputTransformation"),d=l.getData("application/ckeditor5-editor-id")||null;this.fire(u,{content:c,dataTransfer:l,sourceEditorId:d,targetRanges:a.targetRanges,method:a.method}),u.stop.called&&r.stop(),i.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(r,a)=>{if(a.content.isEmpty)return;const l=this.editor.data.toModel(a.content,"$clipboardHolder");l.childCount!=0&&(r.stop(),t.change(()=>{this.fire("contentInsertion",{content:l,method:a.method,sourceEditorId:a.sourceEditorId,dataTransfer:a.dataTransfer,targetRanges:a.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(r,a)=>{a.resultRange=s._pasteFragmentWithMarkers(a.content)},{priority:"low"})}_setupCopyCut(){const e=this.editor,t=e.model.document,i=e.editing.view.document,o=(s,r)=>{const a=r.dataTransfer;r.preventDefault(),this._fireOutputTransformationEvent(a,t.selection,s.name)};this.listenTo(i,"copy",o,{priority:"low"}),this.listenTo(i,"cut",(s,r)=>{e.model.canEditAt(e.model.document.selection)?o(s,r):r.preventDefault()},{priority:"low"}),this.listenTo(this,"outputTransformation",(s,r)=>{const a=e.data.toView(r.content,{isClipboardPipeline:!0});i.fire("clipboardOutput",{dataTransfer:r.dataTransfer,content:a,method:r.method})},{priority:"low"}),this.listenTo(i,"clipboardOutput",(s,r)=>{r.content.isEmpty||(r.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(r.content)),r.dataTransfer.setData("text/plain",Vb(e.data.htmlProcessor.domConverter,r.content)),r.dataTransfer.setData("application/ckeditor5-editor-id",this.editor.id)),r.method=="cut"&&e.model.deleteContent(t.selection)},{priority:"low"})}}const dl=Vi("px");class E3 extends A{constructor(){super();const e=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",e.if("isVisible","ck-hidden",t=>!t)],style:{left:e.to("left",t=>dl(t)),top:e.to("top",t=>dl(t)),width:e.to("width",t=>dl(t))}}})}}class Ys extends w{constructor(){super(...arguments),h(this,"removeDropMarkerDelayed",$c(()=>this.removeDropMarker(),40)),h(this,"_updateDropMarkerThrottled",co(e=>this._updateDropMarker(e),40)),h(this,"_reconvertMarkerThrottled",co(()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")},0)),h(this,"_dropTargetLineView",new E3),h(this,"_domEmitter",new(st())),h(this,"_scrollables",new Map)}static get pluginName(){return"DragDropTarget"}static get isOfficialPlugin(){return!0}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:e}of this._scrollables.values())e.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(e,t,i,o,s,r){this.removeDropMarkerDelayed.cancel();const a=Em(this.editor,e,t,i,o,s,r);/* istanbul ignore next -- @preserve */if(a){if(r&&r.containsRange(a))return this.removeDropMarker();this._updateDropMarkerThrottled(a)}}getFinalDropRange(e,t,i,o,s,r){const a=Em(this.editor,e,t,i,o,s,r);return this.removeDropMarker(),a}removeDropMarker(){const e=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,e.markers.has("drop-target")&&e.change(t=>{t.removeMarker("drop-target")})}_setupDropMarker(){const e=this.editor;e.ui.view.body.add(this._dropTargetLineView),e.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),e.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(t,{writer:i})=>{if(e.model.schema.checkChild(t.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(i);t.markerRange.isCollapsed?this._updateDropTargetLine(t.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(e){const t=this.editor,i=t.model.markers;t.model.change(o=>{i.has("drop-target")?i.get("drop-target").getRange().isEqual(e)||o.updateMarker("drop-target",{range:e}):o.addMarker("drop-target",{range:e,usingOperation:!1,affectsData:!1})})}_createDropTargetPosition(e){return e.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(t){const i=this.toDomElement(t);return i.append("⁠",t.createElement("span"),"⁠"),i})}_updateDropTargetLine(e){const t=this.editor.editing,i=e.start.nodeBefore,o=e.start.nodeAfter,s=e.start.parent,r=i?t.mapper.toViewElement(i):null,a=r?t.view.domConverter.mapViewToDom(r):null,l=o?t.mapper.toViewElement(o):null,c=l?t.view.domConverter.mapViewToDom(l):null,u=t.mapper.toViewElement(s);if(!u)return;const d=t.view.domConverter.mapViewToDom(u),m=this._getScrollableRect(u),{scrollX:f,scrollY:g}=I.window,p=a?new z(a):null,_=c?new z(c):null,v=new z(d).excludeScrollbarsAndBorders(),E=p?p.bottom:v.top,M=_?_.top:v.bottom,G=I.window.getComputedStyle(d),X=E<=M?(E+M)/2:M;if(m.topa.schema.checkChild(d,m))){if(a.schema.checkChild(d,"$text"))return a.createRange(d);if(u)return Xs(n,Sm(n,u.parent),i,o)}}}else if(a.schema.isInline(c))return Xs(n,c,i,o)}if(a.schema.isBlock(c))return Xs(n,c,i,o);if(a.schema.checkChild(c,"$block")){const u=Array.from(c.getChildren()).filter(f=>f.is("element")&&!S3(n,f));let d=0,m=u.length;if(m==0)return a.createRange(a.createPositionAt(c,"end"));for(;d{o?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")}),N.isAndroid&&this.forceDisabled("noAndroidSupport"),e.plugins.has("BlockToolbar")){const t=e.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(t,"dragstart",(i,o)=>this._handleBlockDragStart(o)),this._domEmitter.listenTo(I.document,"dragover",(i,o)=>this._handleBlockDragging(o)),this._domEmitter.listenTo(I.document,"drop",(i,o)=>this._handleBlockDragging(o)),this._domEmitter.listenTo(I.document,"dragend",()=>this._handleBlockDragEnd(),{useCapture:!0}),this.isEnabled&&t.setAttribute("draggable","true"),this.on("change:isEnabled",(i,o,s)=>{t.setAttribute("draggable",s?"true":"false")})}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(e){if(!this.isEnabled)return;const t=this.editor.model,i=t.document.selection,o=this.editor.editing.view,s=Array.from(i.getSelectedBlocks()),r=t.createRange(t.createPositionBefore(s[0]),t.createPositionAfter(s[s.length-1]));t.change(a=>a.setSelection(r)),this._isBlockDragging=!0,o.focus(),o.getObserver(bs).onDomEvent(e)}_handleBlockDragging(e){if(!this.isEnabled||!this._isBlockDragging)return;const t=e.clientX+(this.editor.locale.contentLanguageDirection=="ltr"?100:-100),i=e.clientY,o=document.elementFromPoint(t,i),s=this.editor.editing.view;!o||!o.closest(".ck-editor__editable")||s.getObserver(bs).onDomEvent({...e,type:e.type,dataTransfer:e.dataTransfer,target:o,clientX:t,clientY:i,preventDefault:()=>e.preventDefault(),stopPropagation:()=>e.stopPropagation()})}_handleBlockDragEnd(){this._isBlockDragging=!1}}class V3 extends w{constructor(){super(...arguments),h(this,"_draggedRange"),h(this,"_draggingUid"),h(this,"_draggableElement"),h(this,"_clearDraggableAttributesDelayed",$c(()=>this._clearDraggableAttributes(),40)),h(this,"_blockMode",!1),h(this,"_domEmitter",new(st())),h(this,"_previewContainer")}static get pluginName(){return"DragDrop"}static get isOfficialPlugin(){return!0}static get requires(){return[pt,Vt,Ys,I3]}init(){const e=this.editor,t=e.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,t.addObserver(bs),t.addObserver(ua),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(e,"change:isReadOnly",(i,o,s)=>{s?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(i,o,s)=>{s||this._finalizeDragging(!1)}),N.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const e=this.editor,t=e.model,i=e.editing.view,o=i.document,s=e.plugins.get(Ys);this.listenTo(o,"dragstart",(r,a)=>{var l;if((l=a.target)!=null&&l.is("editableElement")){a.preventDefault();return}if(this._prepareDraggedRange(a.target),!this._draggedRange){a.preventDefault();return}this._draggingUid=ze(),a.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",a.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const c=t.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(a.dataTransfer,c,"dragstart");const{dataTransfer:u,domTarget:d,domEvent:m}=a,{clientX:f}=m;this._updatePreview({dataTransfer:u,domTarget:d,clientX:f}),a.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(o,"dragend",(r,a)=>{this._finalizeDragging(!a.dataTransfer.isCanceled&&a.dataTransfer.dropEffect=="move")},{priority:"low"}),this._domEmitter.listenTo(I.document,"dragend",()=>{this._blockMode=!1},{useCapture:!0}),this.listenTo(o,"dragenter",()=>{this.isEnabled&&i.focus()}),this.listenTo(o,"dragleave",()=>{s.removeDropMarkerDelayed()}),this.listenTo(o,"dragging",(r,a)=>{if(!this.isEnabled){a.dataTransfer.dropEffect="none";return}const{clientX:l,clientY:c}=a.domEvent;s.updateDropMarker(a.target,a.targetRanges,l,c,this._blockMode,this._draggedRange),this._draggedRange||(a.dataTransfer.dropEffect="copy"),N.isGecko||(a.dataTransfer.effectAllowed=="copy"?a.dataTransfer.dropEffect="copy":["all","copyMove"].includes(a.dataTransfer.effectAllowed)&&(a.dataTransfer.dropEffect="move")),r.stop()},{priority:"low"})}_setupClipboardInputIntegration(){const e=this.editor,t=e.editing.view.document,i=e.plugins.get(Ys);this.listenTo(t,"clipboardInput",(o,s)=>{if(s.method!="drop")return;const{clientX:r,clientY:a}=s.domEvent,l=i.getFinalDropRange(s.target,s.targetRanges,r,a,this._blockMode,this._draggedRange);if(!l){this._finalizeDragging(!1),o.stop();return}if(this._draggedRange&&this._draggingUid!=s.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),Pm(s.dataTransfer)=="move"&&this._draggedRange&&this._draggedRange.containsRange(l,!0)){this._finalizeDragging(!1),o.stop();return}s.targetRanges=[e.editing.mapper.toViewRange(l)]},{priority:"high"})}_setupContentInsertionIntegration(){const e=this.editor.plugins.get(pt);e.on("contentInsertion",(t,i)=>{if(!this.isEnabled||i.method!=="drop")return;const o=i.targetRanges.map(s=>this.editor.editing.mapper.toModelRange(s));this.editor.model.change(s=>s.setSelection(o))},{priority:"high"}),e.on("contentInsertion",(t,i)=>{if(!this.isEnabled||i.method!=="drop")return;const o=Pm(i.dataTransfer)=="move",s=!i.resultRange||!i.resultRange.isCollapsed;this._finalizeDragging(s&&o)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const e=this.editor,t=e.editing.view,i=t.document;this.listenTo(i,"mousedown",(o,s)=>{if(N.isAndroid||!s)return;this._clearDraggableAttributesDelayed.cancel();let r=Im(s.target);if(N.isBlink&&!e.isReadOnly&&!r&&!i.selection.isCollapsed){const a=i.selection.getSelectedElement();(!a||!Se(a))&&(r=i.selection.editableElement)}r&&(t.change(a=>{a.setAttribute("draggable","true",r)}),this._draggableElement=e.editing.mapper.toModelElement(r))}),this.listenTo(i,"mouseup",()=>{N.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const e=this.editor.editing;e.view.change(t=>{this._draggableElement&&this._draggableElement.root.rootName!="$graveyard"&&t.removeAttribute("draggable",e.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_finalizeDragging(e){const t=this.editor,i=t.model;t.plugins.get(Ys).removeDropMarker(),this._clearDraggableAttributes(),t.plugins.has("WidgetToolbarRepository")&&t.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(e&&this.isEnabled&&i.change(o=>{const s=i.createSelection(this._draggedRange);i.deleteContent(s,{doNotAutoparagraph:!0});const r=s.getFirstPosition().parent;r.isEmpty&&!i.schema.checkChild(r,"$text")&&i.schema.checkChild(r,"paragraph")&&o.insertElement("paragraph",r,0)}),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(e){const t=this.editor,i=t.model,o=i.document.selection,s=e?Im(e):null;if(s){const c=t.editing.mapper.toModelElement(s);this._draggedRange=ht.fromRange(i.createRangeOn(c)),this._blockMode=i.schema.isBlock(c),t.plugins.has("WidgetToolbarRepository")&&t.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop");return}if(o.isCollapsed&&!o.getFirstPosition().parent.isEmpty)return;const r=Array.from(o.getSelectedBlocks()),a=o.getFirstRange();if(r.length==0){this._draggedRange=ht.fromRange(a);return}const l=Bb(i,r);if(r.length>1)this._draggedRange=ht.fromRange(l),this._blockMode=!0;else if(r.length==1){const c=a.start.isTouching(l.start)&&a.end.isTouching(l.end);this._draggedRange=ht.fromRange(c?l:a),this._blockMode=c}i.change(c=>c.setSelection(this._draggedRange.toRange()))}_updatePreview({dataTransfer:e,domTarget:t,clientX:i}){const o=this.editor.editing.view,s=o.document.selection.editableElement,r=o.domConverter.mapViewToDom(s),a=I.window.getComputedStyle(r);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=Ll(I.document,"div",{style:"position: fixed; left: -999999px;"}),I.document.body.appendChild(this._previewContainer));const l=new z(r);if(r.contains(t))return;const c=parseFloat(a.paddingLeft),u=Ll(I.document,"div");u.className="ck ck-content",u.style.width=a.width,u.style.paddingLeft=`${l.left-i+c}px`,N.isiOS&&(u.style.backgroundColor="white"),o.domConverter.setContentOf(u,e.getData("text/html")),e.setDragImage(u,0,0),this._previewContainer.appendChild(u)}}function Pm(n){return N.isGecko?n.dropEffect:["all","copyMove"].includes(n.effectAllowed)?"move":"copy"}function Im(n){if(n.is("editableElement"))return null;if(n.hasClass("ck-widget__selection-handle"))return n.findAncestor(Se);if(Se(n))return n;const e=n.findAncestor(t=>Se(t)||t.is("editableElement"));return Se(e)?e:null}function Bb(n,e){const t=e[0],i=e[e.length-1],o=t.getCommonAncestor(i),s=n.createPositionBefore(t),r=n.createPositionAfter(i);if(o&&o.is("element")&&!n.schema.isLimit(o)){const a=n.createRangeOn(o),l=s.isTouching(a.start),c=r.isTouching(a.end);if(l&&c)return Bb(n,[o])}return n.createRange(s,r)}class R3 extends w{static get pluginName(){return"PastePlainText"}static get isOfficialPlugin(){return!0}static get requires(){return[pt]}init(){const e=this.editor,t=e.model,i=e.editing.view,o=t.document.selection;i.addObserver(bs),e.plugins.get(pt).on("contentInsertion",(s,r)=>{O3(r.content,t)&&t.change(a=>{const l=Array.from(o.getAttributes()).filter(([u])=>t.schema.getAttributeProperties(u).isFormatting);o.isCollapsed||t.deleteContent(o,{doNotAutoparagraph:!0}),l.push(...o.getAttributes());const c=a.createRangeIn(r.content);for(const u of c.getItems())for(const d of l)t.schema.checkAttribute(u,d[0])&&a.setAttribute(d[0],d[1],u)})})}}function O3(n,e){let t=e.createRangeIn(n);if(n.childCount==1){const i=n.getChild(0);i.is("element")&&e.schema.isBlock(i)&&!e.schema.isObject(i)&&!e.schema.isLimit(i)&&(t=e.createRangeIn(i))}for(const i of t.getItems())if(!e.schema.isInline(i)||Array.from(i.getAttributeKeys()).find(o=>e.schema.getAttributeProperties(o).isFormatting))return!1;return!0}class _s extends w{static get pluginName(){return"Clipboard"}static get isOfficialPlugin(){return!0}static get requires(){return[os,pt,V3,R3]}init(){const e=this.editor,t=this.editor.t;e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Copy selected content"),keystroke:"CTRL+C"},{label:t("Paste content"),keystroke:"CTRL+V"},{label:t("Paste content as plain text"),keystroke:"CTRL+SHIFT+V"}]})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Hr(n){const e=n.t,t=n.config.get("codeBlock.languages");for(const i of t)i.label==="Plain text"&&(i.label=e("Plain text")),i.class===void 0&&(i.class=`language-${i.language}`);return t}function $r(n,e,t){const i={};for(const o of n)if(e==="class"){const s=o[e].split(" ").shift();i[s]=o[t]}else i[o[e]]=o[t];return i}function xu(n){return n.data.match(/^(\s*)/)[0]}function B3(n,e){const t=n.createDocumentFragment(),i=e.split(` +`),o=i.reduce((s,r,a)=>(s.push(r),a!c.isEqual(l))&&t.push(l)}return t}function Mb(n){const e=ae(n.getSelectedBlocks());return!!e&&e.is("element","codeBlock")}function Vm(n,e){return e.is("rootElement")||n.isLimit(e)?!1:n.checkChild(e.parent,"codeBlock")}function Rm(n,e,t,i){const o=$r(e,"language","label"),s=t.getAttribute("language");if(s in o){const r=o[s];return n(i==="enter"?"Entering %0 code snippet":"Leaving %0 code snippet",r)}return n(i==="enter"?"Entering code snippet":"Leaving code snippet")}function Lb(n,e){for(n.textNode&&(n=e.createPositionBefore(n.textNode));n.nodeBefore&&!n.nodeBefore.is("element","softBreak");)n=e.createPositionBefore(n.nodeBefore);const t=n.nodeAfter;return t&&t.is("$text")?t:null}class M3 extends O{constructor(e){super(e),h(this,"_lastLanguage"),this._lastLanguage=null}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor,i=t.model,o=i.document.selection,s=Hr(t)[0],r=Array.from(o.getSelectedBlocks()),a=e.forceValue==null?!this.value:e.forceValue,l=L3(e,this._lastLanguage,s.language);i.change(c=>{a?this._applyCodeBlock(c,r,l):this._removeCodeBlock(c,r)})}_getValue(){const e=this.editor.model.document.selection,t=ae(e.getSelectedBlocks());return t!=null&&t.is("element","codeBlock")?t.getAttribute("language"):!1}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=ae(e.getSelectedBlocks());return i?Vm(t,i):!1}_applyCodeBlock(e,t,i){this._lastLanguage=i;const o=this.editor.model.schema,s=t.filter(r=>Vm(o,r));for(const r of s)e.rename(r,"codeBlock"),e.setAttribute("language",i,r),o.removeDisallowedAttributes([r],e),Array.from(r.getChildren()).filter(a=>!o.checkChild(r,a)).forEach(a=>e.remove(a));s.reverse().forEach((r,a)=>{const l=s[a+1];r.previousSibling===l&&(e.appendElement("softBreak",l),e.merge(e.createPositionBefore(r)))})}_removeCodeBlock(e,t){const i=t.filter(o=>o.is("element","codeBlock"));for(const o of i){const s=e.createRangeOn(o);for(const r of Array.from(s.getItems()).reverse())if(r.is("element","softBreak")&&r.parent.is("element","codeBlock")){const{position:a}=e.split(e.createPositionBefore(r)),l=a.nodeAfter;e.rename(l,"paragraph"),e.removeAttribute("language",l),e.remove(r)}e.rename(o,"paragraph"),e.removeAttribute("language",o)}}}function L3(n,e,t){return n.language?n.language:n.usePreviousLanguageChoice&&e?e:t}class F3 extends O{constructor(e){super(e),h(this,"_indentSequence"),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change(t=>{const i=sc(e);for(const o of i){const s=t.createText(this._indentSequence);e.insertContent(s,o)}})}_checkEnabled(){return this._indentSequence?Mb(this.editor.model.document.selection):!1}}class N3 extends O{constructor(e){super(e),h(this,"_indentSequence"),this._indentSequence=e.config.get("codeBlock.indentSequence")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model;e.change(()=>{const t=sc(e);for(const i of t){const o=Om(e,i,this._indentSequence);o&&e.deleteContent(e.createSelection(o))}})}_checkEnabled(){if(!this._indentSequence)return!1;const e=this.editor.model;return Mb(e.document.selection)?sc(e).some(t=>Om(e,t,this._indentSequence)):!1}}function Om(n,e,t){const i=Lb(e,n);if(!i)return null;const o=xu(i),s=o.lastIndexOf(t);if(s+t.length!==o.length||s===-1)return null;const{parent:r,startOffset:a}=i;return n.createRange(n.createPositionAt(r,a+s),n.createPositionAt(r,a+s+t.length))}function Bm(n,e,t=!1){const i=$r(e,"language","class"),o=$r(e,"language","label");return(s,r,a)=>{const{writer:l,mapper:c,consumable:u}=a;if(!u.consume(r.item,"insert"))return;const d=r.item.getAttribute("language"),m=c.toViewPosition(n.createPositionBefore(r.item)),f={};t&&(f["data-language"]=o[d],f.class="hljs",f.spellcheck="false");const g=i[d]?{class:i[d]}:void 0,p=l.createContainerElement("code",g),_=l.createContainerElement("pre",f,p);l.insert(m,_),c.bindElements(r.item,p)}}function D3(n){return(e,t,i)=>{if(t.item.parent.name!=="codeBlock")return;const{writer:o,mapper:s,consumable:r}=i;if(!r.consume(t.item,"insert"))return;const a=s.toViewPosition(n.createPositionBefore(t.item));o.insert(a,o.createText(` +`))}}function z3(n,e){const t=$r(e,"class","language"),i=e[0].language;return(o,s,r)=>{const a=s.viewItem,l=a.parent;if(!l||!l.is("element","pre")||s.modelCursor.findAncestor("codeBlock"))return;const{consumable:c,writer:u}=r;if(!c.test(a,{name:!0}))return;const d=u.createElement("codeBlock"),m=[...a.getClassNames()];m.length||m.push("");for(const f of m){const g=t[f];if(g){u.setAttribute("language",g,d);break}}d.hasAttribute("language")||u.setAttribute("language",i,d),r.convertChildren(a,d),r.safeInsert(d,s.modelCursor)&&(c.consume(a,{name:!0}),r.updateConversionResult(d,s))}}function H3(){return(n,e,{consumable:t,writer:i})=>{let o=e.modelCursor;if(!t.test(e.viewItem)||!o.findAncestor("codeBlock"))return;t.consume(e.viewItem);const s=e.viewItem.data.split(` +`).map(a=>i.createText(a)),r=s[s.length-1];for(const a of s)if(i.insert(a,o),o=o.getShiftedBy(a.offsetSize),a!==r){const l=i.createElement("softBreak");i.insert(l,o),o=i.createPositionAfter(l)}e.modelRange=i.createRange(e.modelCursor,o),e.modelCursor=o}}function $3(){return(n,e,{consumable:t})=>{const i=e.viewItem;if(i.findAncestor("pre"))return;const o=Array.from(i.getChildren()),s=o.find(r=>r.is("element","code"));if(s)for(const r of o)r===s||!r.is("$text")||t.consume(r,{name:!0})}}const Fb="paragraph";class W3 extends w{static get pluginName(){return"CodeBlockEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Tb]}constructor(e){super(e),e.config.define("codeBlock",{languages:[{language:"plaintext",label:"Plain text"},{language:"c",label:"C"},{language:"cs",label:"C#"},{language:"cpp",label:"C++"},{language:"css",label:"CSS"},{language:"diff",label:"Diff"},{language:"go",label:"Go"},{language:"html",label:"HTML"},{language:"java",label:"Java"},{language:"javascript",label:"JavaScript"},{language:"php",label:"PHP"},{language:"python",label:"Python"},{language:"ruby",label:"Ruby"},{language:"typescript",label:"TypeScript"},{language:"xml",label:"XML"}],indentSequence:" "})}init(){const e=this.editor,t=e.model.schema,i=e.model,o=e.editing.view,s=Hr(e);e.commands.add("codeBlock",new M3(e)),e.commands.add("indentCodeBlock",new F3(e)),e.commands.add("outdentCodeBlock",new N3(e)),this.listenTo(o.document,"tab",(r,a)=>{const l=a.shiftKey?"outdentCodeBlock":"indentCodeBlock";e.commands.get(l).isEnabled&&(e.execute(l),a.stopPropagation(),a.preventDefault(),r.stop())},{context:"pre"}),t.register("codeBlock",{allowWhere:"$block",allowChildren:"$text",disallowChildren:"$inlineObject",allowAttributes:["language"],allowAttributesOf:"$listItem",isBlock:!0}),t.addAttributeCheck((r,a)=>{const l=r.getItem(r.length-2);if(t.getAttributeProperties(a).isFormatting&&l&&l.name=="codeBlock")return!1}),e.editing.downcastDispatcher.on("insert:codeBlock",Bm(i,s,!0)),e.data.downcastDispatcher.on("insert:codeBlock",Bm(i,s)),e.data.downcastDispatcher.on("insert:softBreak",D3(i),{priority:"high"}),e.data.upcastDispatcher.on("element:code",z3(o,s)),e.data.upcastDispatcher.on("text",H3()),e.data.upcastDispatcher.on("element:pre",$3(),{priority:"high"}),this.listenTo(e.editing.view.document,"clipboardInput",(r,a)=>{let l=i.createRange(i.document.selection.anchor);if(a.targetRanges&&(l=e.editing.mapper.toModelRange(a.targetRanges[0])),!l.start.parent.is("element","codeBlock"))return;const c=a.dataTransfer.getData("text/plain"),u=new Ht(e.editing.view.document);a.content=B3(u,c)}),e.plugins.has("ClipboardPipeline")&&e.plugins.get(pt).on("contentInsertion",(r,a)=>{const l=e.model,c=l.document.selection;c.anchor.parent.is("element","codeBlock")&&l.change(u=>{const d=u.createRangeIn(a.content);for(const m of[...d.getItems()])m.is("node")&&!t.checkChild(c.anchor,m)&&u.remove(m)})}),this.listenTo(i,"getSelectedContent",(r,[a])=>{const l=a.anchor;a.isCollapsed||!l.parent.is("element","codeBlock")||!l.hasSameParentAs(a.focus)||i.change(c=>{const u=r.return;if(l.parent.is("element")&&(u.childCount>1||a.containsEntireContent(l.parent))){const m=c.createElement("codeBlock",l.parent.getAttributes());c.append(u,m);const f=c.createDocumentFragment();c.append(m,f),r.return=f;return}const d=u.getChild(0);t.checkAttribute(d,"code")&&c.setAttribute("code",!0,d)})})}afterInit(){const e=this.editor,t=e.commands,i=t.get("indent"),o=t.get("outdent");i&&i.registerChildCommand(t.get("indentCodeBlock"),{priority:"highest"}),o&&o.registerChildCommand(t.get("outdentCodeBlock")),this.listenTo(e.editing.view.document,"enter",(s,r)=>{e.model.document.selection.getLastPosition().parent.is("element","codeBlock")&&(!U3(e,r.isSoft)&&!q3(e,r.isSoft)&&j3(e),r.preventDefault(),s.stop())},{context:"pre"}),this._initAriaAnnouncements()}_initAriaAnnouncements(){const{model:e,ui:t,t:i}=this.editor,o=Hr(this.editor);let s=null;e.document.selection.on("change:range",()=>{const r=e.document.selection.focus.parent;!t||s===r||!r.is("element")||(s&&s.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(Rm(i,o,s,"leave")),r.is("element","codeBlock")&&t.ariaLiveAnnouncer.announce(Rm(i,o,r,"enter")),s=r)})}}function j3(n){const e=n.model,t=e.document,i=t.selection.getLastPosition();let o;const s=Lb(i,e);s&&s.is("$text")&&(o=xu(s)),n.model.change(r=>{n.execute("shiftEnter"),o&&r.insertText(o,t.selection.anchor)})}function U3(n,e){const t=n.model.document,i=n.editing.view,o=t.selection.getLastPosition(),s=o.nodeAfter;return e||!t.selection.isCollapsed||!o.isAtStart||!fn(s)?!1:(n.model.change(r=>{n.execute("enter");const a=t.selection.anchor.parent.previousSibling;r.rename(a,Fb),r.setSelection(a,"in"),n.model.schema.removeDisallowedAttributes([a],r),r.remove(s)}),i.scrollToTheSelection(),!0)}function q3(n,e){const t=n.model,i=t.document,o=n.editing.view,s=i.selection.getLastPosition(),r=s.nodeBefore;let a;if(e||!i.selection.isCollapsed||!s.isAtEnd||!r||!r.previousSibling)return!1;if(fn(r)&&fn(r.previousSibling))a=t.createRange(t.createPositionBefore(r.previousSibling),t.createPositionAfter(r));else if(ml(r)&&fn(r.previousSibling)&&fn(r.previousSibling.previousSibling))a=t.createRange(t.createPositionBefore(r.previousSibling.previousSibling),t.createPositionAfter(r));else if(ml(r)&&fn(r.previousSibling)&&ml(r.previousSibling.previousSibling)&&r.previousSibling.previousSibling&&fn(r.previousSibling.previousSibling.previousSibling))a=t.createRange(t.createPositionBefore(r.previousSibling.previousSibling.previousSibling),t.createPositionAfter(r));else return!1;return n.model.change(l=>{l.remove(a),n.execute("enter");const c=i.selection.anchor.parent;l.rename(c,Fb),n.model.schema.removeDisallowedAttributes([c],l)}),o.scrollToTheSelection(),!0}function ml(n){return n&&n.is("$text")&&!n.data.match(/\S/)}function fn(n){return n&&n.is("element","softBreak")}class G3 extends w{static get pluginName(){return"CodeBlockUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=e.ui.componentFactory,o=Hr(e),s=this._getLanguageListItemDefinitions(o),r=e.commands.get("codeBlock");i.add("codeBlock",a=>{const l=Ee(a,Xi),c=l.buttonView,u=t("Insert code block");return c.set({label:u,tooltip:!0,icon:md,isToggleable:!0}),c.bind("isOn").to(r,"value",d=>!!d),c.on("execute",()=>{e.execute("codeBlock",{usePreviousLanguageChoice:!0}),e.editing.view.focus()}),l.on("execute",d=>{e.execute("codeBlock",{language:d.source._codeBlockLanguage,forceValue:!0}),e.editing.view.focus()}),l.class="ck-code-block-dropdown",l.bind("isEnabled").to(r),wt(l,s,{role:"menu",ariaLabel:u}),l}),i.add("menuBar:codeBlock",a=>{const l=new Tt(a);l.buttonView.set({role:"menuitem",label:t("Code block"),icon:md}),l.bind("isEnabled").to(r);const c=new Si(a);c.set({ariaLabel:t("Insert code block")});for(const u of s){const d=new Oi(a,l),m=new ve(a);m.bind(...Object.keys(u.model)).to(u.model),m.set({isToggleable:!0,role:"menuitemcheckbox"}),m.delegate("execute").to(l),m.on("execute",()=>{e.execute("codeBlock",{language:u.model._codeBlockLanguage,forceValue:r.value!=u.model._codeBlockLanguage}),e.editing.view.focus()}),d.children.add(m),c.items.add(d)}return l.panelView.children.add(c),l})}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),i=new _e;for(const o of e){const s={type:"button",model:new et({_codeBlockLanguage:o.language,label:o.label,role:"menuitemradio",withText:!0})};s.model.bind("isOn").to(t,"value",r=>r===s.model._codeBlockLanguage),i.add(s)}return i}}class Tu extends w{static get requires(){return[W3,G3]}static get pluginName(){return"CodeBlock"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class K3 extends ab{constructor(e,t){super(e),h(this,"view"),this.view=t}get element(){return this.view.editable.element}init(){const e=this.editor,t=this.view,i=e.editing.view,o=t.editable,s=i.document.getRoot();o.name=s.rootName,t.render();const r=o.element;this.setEditableElement(o.name,r),o.bind("isFocused").to(this.focusTracker),i.attachDomRoot(r),this._initPlaceholder(),this.initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const e=this.view,t=this.editor.editing.view;t.getDomRoot(e.editable.name)&&t.detachDomRoot(e.editable.name),e.destroy()}_initPlaceholder(){const e=this.editor,t=e.editing.view,i=t.document.getRoot(),o=e.config.get("placeholder");if(o){const s=typeof o=="string"?o:o[i.rootName];s&&(i.placeholder=s)}sa({view:t,element:i,isDirectHost:!1,keepOnFocus:!0})}}class Z3 extends lb{constructor(e,t,i,o){super(e),h(this,"editable"),h(this,"menuBarView"),this.editable=new cb(e,t,i,{label:o}),this.menuBarView=new fb(e),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:e.uiLanguageDirection}})}render(){super.render(),this.registerChild(this.editable),this.registerChild(this.menuBarView)}}class Nb extends Br(pn){constructor(e,t={}){if(!fr(e)&&t.initialData!==void 0)throw new b("editor-create-initial-data",null);super(t),h(this,"ui"),this.config.get("initialData")===void 0&&this.config.set("initialData",J3(e)),fr(e)&&(this.sourceElement=e,hw(this,e));const i=this.config.get("plugins");i.push(bT),this.config.set("plugins",i),this.config.define("balloonToolbar",this.config.get("toolbar")),this.model.document.createRoot();const o=new Z3(this.locale,this.editing.view,this.sourceElement,this.config.get("label"));this.ui=new K3(this,o),eC(this)}static get editorName(){return"BalloonEditor"}destroy(){const e=this.getData();return this.ui.destroy(),super.destroy().then(()=>{this.sourceElement&&this.updateSourceElement(e)})}static create(e,t={}){return new Promise(i=>{if(fr(e)&&e.tagName==="TEXTAREA")throw new b("editor-wrong-element",null);const o=new this(e,t);i(o.initPlugins().then(()=>o.ui.init()).then(()=>o.data.init(o.config.get("initialData"))).then(()=>o.fire("ready")).then(()=>o))})}}function J3(n){return fr(n)?Jg(n):n}function fr(n){return xi(n)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class Q3 extends ab{constructor(e,t){super(e),h(this,"view"),this.view=t}init(){const e=this.editor,t=this.view,i=e.editing.view,o=t.editable,s=i.document.getRoot();o.name=s.rootName,t.render();const r=o.element;this.setEditableElement(o.name,r),t.editable.bind("isFocused").to(this.focusTracker),i.attachDomRoot(r),this._initPlaceholder(),this._initToolbar(),this.initMenuBar(this.view.menuBarView),this.fire("ready")}destroy(){super.destroy();const e=this.view,t=this.editor.editing.view;t.getDomRoot(e.editable.name)&&t.detachDomRoot(e.editable.name),e.destroy()}_initToolbar(){const e=this.editor,t=this.view;t.toolbar.fillFromConfig(e.config.get("toolbar"),this.componentFactory),this.addToolbar(t.toolbar)}_initPlaceholder(){const e=this.editor,t=e.editing.view,i=t.document.getRoot(),o=e.config.get("placeholder");if(o){const s=typeof o=="string"?o:o[i.rootName];s&&(i.placeholder=s)}sa({view:t,element:i,isDirectHost:!1,keepOnFocus:!0})}}class Y3 extends lb{constructor(e,t,i={}){super(e),h(this,"toolbar"),h(this,"editable"),h(this,"menuBarView"),this.toolbar=new Ei(e,{shouldGroupWhenFull:i.shouldToolbarGroupWhenFull}),this.menuBarView=new fb(e),this.editable=new cb(e,t,i.editableElement,{label:i.label}),this.toolbar.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:e.uiLanguageDirection}}),this.menuBarView.extendTemplate({attributes:{class:["ck-reset_all","ck-rounded-corners"],dir:e.uiLanguageDirection}})}render(){super.render(),this.registerChild([this.menuBarView,this.toolbar,this.editable])}}class X3 extends Br(pn){constructor(e,t={}){if(!gr(e)&&t.initialData!==void 0)throw new b("editor-create-initial-data",null);super(t),h(this,"ui"),this.config.get("initialData")===void 0&&this.config.set("initialData",eS(e)),gr(e)&&(this.sourceElement=e,hw(this,e)),this.model.document.createRoot();const i=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=new Y3(this.locale,this.editing.view,{editableElement:this.sourceElement,shouldToolbarGroupWhenFull:i,label:this.config.get("label")});this.ui=new Q3(this,o)}static get editorName(){return"DecoupledEditor"}destroy(){const e=this.getData();return this.ui.destroy(),super.destroy().then(()=>{this.sourceElement&&this.updateSourceElement(e)})}static create(e,t={}){return new Promise(i=>{if(gr(e)&&e.tagName==="TEXTAREA")throw new b("editor-wrong-element",null);const o=new this(e,t);i(o.initPlugins().then(()=>o.ui.init()).then(()=>o.data.init(o.config.get("initialData"))).then(()=>o.fire("ready")).then(()=>o))})}}function eS(n){return gr(n)?Jg(n):n}function gr(n){return xi(n)}var rc={exports:{}},tS=rc.exports,Mm;function iS(){return Mm||(Mm=1,function(n){((e,t)=>{n.exports?n.exports=t():e.fuzzysort=t()})(tS,e=>{var t=(S,k)=>{if(!S||!k)return He;var R=g(S);nn(k)||(k=f(k));var H=R.bitflags;return(H&k._bitflags)!==H?He:_(R,k)},i=(S,k,R)=>{if(!S)return R!=null&&R.all?p(k,R):Ta;var H=g(S),W=H.bitflags,D=H.containsSpace,B=d(R?.threshold||0),K=R?.limit||Zu,j=0,le=0,oe=k.length;function rt(on){jLs.peek()._score&&Ls.replaceTop(on))}if(R!=null&&R.key)for(var Ze=R.key,ce=0;ce-1e3&&pe[ke]>bt){var Ot=(pe[ke]+di[ke])/4;Ot>pe[ke]&&(pe[ke]=Ot)}di[ke]>pe[ke]&&(pe[ke]=di[ke])}}if(D){for(let fe=0;fe-1e3&&Fe>bt){var Ot=(Fe+ye._score)/4;Ot>Fe&&(Fe=Ot)}ye._score>Fe&&(Fe=ye._score)}}if(_t.obj=tt,_t._score=Fe,R!=null&&R.scoreFn){if(Fe=R.scoreFn(_t),!Fe)continue;Fe=d(Fe),_t._score=Fe}Fe=0;--ce)Li[ce]=Ls.poll();return Li.total=j+le,Li},o=(S,k="",R="")=>{for(var H=typeof k=="function"?k:void 0,W=S.target,D=W.length,B=S.indexes,K="",j=0,le=0,oe=!1,rt=[],Ze=0;Ze{typeof S=="number"?S=""+S:typeof S!="string"&&(S="");var k=M(S);return c(S,{_targetLower:k._lower,_targetLowerCodes:k.lowerCodes,_bitflags:k.bitflags})},r=()=>{T.clear(),F.clear()};class a{get indexes(){return this._indexes.slice(0,this._indexes.len).sort((k,R)=>k-R)}set indexes(k){return this._indexes=k}highlight(k,R){return o(this,k,R)}get score(){return u(this._score)}set score(k){this._score=d(k)}}class l extends Array{get score(){return u(this._score)}set score(k){this._score=d(k)}}var c=(S,k)=>{const R=new a;return R.target=S,R.obj=k.obj??He,R._score=k._score??bt,R._indexes=k._indexes??[],R._targetLower=k._targetLower??"",R._targetLowerCodes=k._targetLowerCodes??He,R._nextBeginningIndexes=k._nextBeginningIndexes??He,R._bitflags=k._bitflags??0,R},u=S=>S===bt?0:S>1?S:Math.E**(((-S+1)**.04307-1)*-2),d=S=>S===0?bt:S>1?S:1-Math.pow(Math.log(S)/-2+1,1/.04307),m=S=>{typeof S=="number"?S=""+S:typeof S!="string"&&(S=""),S=S.trim();var k=M(S),R=[];if(k.containsSpace){var H=S.split(/\s+/);H=[...new Set(H)];for(var W=0;W{if(S.length>999)return s(S);var k=T.get(S);return k!==void 0||(k=s(S),T.set(S,k)),k},g=S=>{if(S.length>999)return m(S);var k=F.get(S);return k!==void 0||(k=m(S),F.set(S,k)),k},p=(S,k)=>{var R=[];R.total=S.length;var H=k?.limit||Zu;if(k!=null&&k.key)for(var W=0;W=H)return R}}else if(k!=null&&k.keys)for(var W=0;W=0;--le){var B=Ms(D,k.keys[le]);if(!B){j[le]=xo;continue}nn(B)||(B=f(B)),B._score=bt,B._indexes.len=0,j[le]=B}if(j.obj=D,j._score=bt,R.push(j),R.length>=H)return R}else for(var W=0;W=H))return R}return R},_=(S,k,R=!1,H=!1)=>{if(R===!1&&S.containsSpace)return v(S,k,H);for(var W=S._lower,D=S.lowerCodes,B=D[0],K=k._targetLowerCodes,j=D.length,le=K.length,ce=0,oe=0,rt=0;;){var Ze=B===K[oe];if(Ze){if(x[rt++]=oe,++ce,ce===j)break;B=D[ce]}if(++oe,oe>=le)return He}var ce=0,tt=!1,me=0,ye=k._nextBeginningIndexes;ye===He&&(ye=k._nextBeginningIndexes=X(k.target)),oe=x[0]===0?0:ye[x[0]-1];var Mi=0;if(oe!==le)for(;;)if(oe>=le){if(ce<=0||(++Mi,Mi>200))break;--ce;var Rt=q[--me];oe=ye[Rt]}else{var Ze=D[ce]===K[oe];if(Ze){if(q[me++]=oe,++ce,ce===j){tt=!0;break}++oe}else oe=ye[oe]}var Je=j<=1?-1:k._targetLower.indexOf(W,x[0]),se=!!~Je,Ot=se?Je===0||k._nextBeginningIndexes[Je-1]===Je:!1;if(se&&!Ot){for(var Y=0;Y{for(var ke=0,Ju=0,mi=1;mi24&&(ke*=(Ea-24)*10)}return ke-=(le-j)/2,se&&(ke/=1+j*j*1),Ot&&(ke/=1+j*j*1),ke-=(le-j)/2,ke};if(tt)if(Ot){for(var Y=0;Y{for(var H=new Set,W=0,D=He,B=0,K=S.spaceSearches,j=K.length,le=0,oe=()=>{for(let Y=le-1;Y>=0;Y--)k._nextBeginningIndexes[Ve[Y*2+0]]=Ve[Y*2+1]},rt=!1,se=0;se=0&&Mi===k._nextBeginningIndexes[Y];Y--)k._nextBeginningIndexes[Y]=ye,Ve[le*2+0]=Y,Ve[le*2+1]=Mi,le++}}W+=D._score/j,di[se]=D._score/j,D._indexes[0]W){if(R)for(var se=0;seS.replace(new RegExp("\\p{Script=Latin}+","gu"),k=>k.normalize("NFD")).replace(/[\u0300-\u036f]/g,""),M=S=>{S=E(S);for(var k=S.length,R=S.toLowerCase(),H=[],W=0,D=!1,B=0;B=97&&K<=122?K-97:K>=48&&K<=57?26:K<=127?30:31;W|=1<{for(var k=S.length,R=[],H=0,W=!1,D=!1,B=0;B=65&&K<=90,le=j||K>=97&&K<=122||K>=48&&K<=57,oe=j&&!W||!D||!le;W=j,D=le,oe&&(R[H++]=B)}return R},X=S=>{S=E(S);for(var k=S.length,R=G(S),H=[],W=R[0],D=0,B=0;BB?H[B]=W:(W=R[++D],H[B]=W===void 0?k:W);return H},T=new Map,F=new Map,x=[],q=[],Ve=[],pe=[],di=[],Bn=[],Mn=[],Ms=(S,k)=>{var R=S[k];if(R!==void 0)return R;if(typeof k=="function")return k(S);var H=k;Array.isArray(k)||(H=k.split("."));for(var W=H.length,D=-1;S&&++Dtypeof S=="object"&&typeof S._bitflags=="number",Zu=1/0,bt=-1/0,Ta=[];Ta.total=0;var He=null,xo=s(""),H0=S=>{var k=[],R=0,H={},W=D=>{for(var B=0,K=k[B],j=1;j>1]=k[B],j=1+(B<<1)}for(var oe=B-1>>1;B>0&&K._score>1)k[B]=k[oe];k[B]=K};return H.add=D=>{var B=R;k[R++]=D;for(var K=B-1>>1;B>0&&D._score>1)k[B]=k[K];k[B]=D},H.poll=D=>{if(R!==0){var B=k[0];return k[0]=k[--R],W(),B}},H.peek=D=>{if(R!==0)return k[0]},H.replaceTop=D=>{k[0]=D,W()},H},Ls=H0();return{single:t,go:i,prepare:s,cleanup:r}})}(rc)),rc.exports}var nS=iS();const oS=lu(nS);/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2023, Koala Interactive SAS + * For licensing, see https://github.com/koala-interactive/is-emoji-supported/blob/master/LICENSE.md + */function sS(n){const e=rS();/* istanbul ignore next -- @preserve */if(!e)return!1;const t=25,i=20,o=Math.floor(t/2);e.font=o+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=i*2,e.canvas.height=t,e.clearRect(0,0,i*2,t),e.fillStyle="#FF0000",e.fillText(n,0,22),e.fillStyle="#0000FF",e.fillText(n,i,22);const s=e.getImageData(0,0,i,t).data,r=s.length;let a=0;for(;a=r)return!1;const l=i+a/4%i,c=Math.floor(a/4/i),u=e.getImageData(l,c,1,1).data;/* istanbul ignore next -- @preserve */if(s[a]!==u[0]||s[a+2]!==u[2])return!1;/* istanbul ignore next -- @preserve */return!(e.measureText(n).width>=i)}function rS(){try{return document.createElement("canvas").getContext("2d",{willReadFrequently:!0})}catch{/* istanbul ignore next -- @preserve */return null}}const aS={0:"default",1:"light",2:"medium-light",3:"medium",4:"medium-dark",5:"dark"},lS={"🫩":16,"🫨":15.1,"🫠":14,"😶‍🌫️":13.1,"🧑‍💻":12.1,"🥰":11,"🤪":5,"⚕️":4,"🤣":3,"👋🏽":2,"😀":1,"😐":.7,"😂":.6},Lm=24,Db=class zb extends w{static get pluginName(){return"EmojiUtils"}static get isOfficialPlugin(){return!0}isEmojiSupported(e,t,i){return e.version<=t?this.hasZwj(e.emoji)?this.isEmojiZwjSupported(e,i):!0:!1}getEmojiSupportedVersionByOs(){for(const[e,t]of Object.entries(lS))if(zb._isEmojiSupported(e))return t;return 0}hasZwj(e){return e.includes("‍")}isEmojiZwjSupported(e,t){return this.getNodeWidth(t,e.emoji){const o=aS[i.tone];t.skins[o]=i.emoji}),t}isEmojiCategoryAllowed(e){return e.group!==2}};h(Db,"_isEmojiSupported",sS);let cS=Db;const uS="https://cdn.ckeditor.com/ckeditor5/data/emoji/{version}/en.json",hS=16,Hb=class pr extends w{constructor(e){super(e),h(this,"_items"),h(this,"_url"),h(this,"_repositoryPromise"),e.config.define("emoji",{version:void 0,skinTone:"default",definitionsUrl:void 0,useCustomFont:!1}),this._url=this._getUrl(),this._repositoryPromise=new Promise(t=>{this._repositoryPromiseResolveCallback=t}),this._items=null}static get requires(){return[cS]}static get pluginName(){return"EmojiRepository"}static get isOfficialPlugin(){return!0}async init(){return this._warnAboutCdnUse(),await this._loadAndCacheEmoji(),this._items=this._getItems(),this._items?this._repositoryPromiseResolveCallback(!0):(J("emoji-repository-empty"),this._repositoryPromiseResolveCallback(!1))}getEmojiByQuery(e){return this._items?e.split(/\s/).filter(Boolean).some(t=>t.length>=2)?oS.go(e,this._items,{threshold:.6,keys:["emoticon","annotation",t=>e.split(/\s/).filter(Boolean).flatMap(i=>{var o;return(o=t.tags)==null?void 0:o.filter(s=>s.startsWith(i))}).join()]}).map(t=>t.obj):[]:[]}getEmojiCategories(){const e=this._getItems();if(!e)return[];const{t}=this.editor.locale,i=[{title:t("Smileys & Expressions"),icon:"😄",groupId:0},{title:t("Gestures & People"),icon:"👋",groupId:1},{title:t("Animals & Nature"),icon:"🐻",groupId:3},{title:t("Food & Drinks"),icon:"🍎",groupId:4},{title:t("Travel & Places"),icon:"🚘",groupId:5},{title:t("Activities"),icon:"🏀",groupId:6},{title:t("Objects"),icon:"💡",groupId:7},{title:t("Symbols"),icon:"🔵",groupId:8},{title:t("Flags"),icon:"🏁",groupId:9}],o=q0(e,s=>s.group);return i.map(s=>({...s,items:o[s.groupId]}))}getSkinTones(){const{t:e}=this.editor.locale;return[{id:"default",icon:"👋",tooltip:e("Default skin tone")},{id:"light",icon:"👋🏻",tooltip:e("Light skin tone")},{id:"medium-light",icon:"👋🏼",tooltip:e("Medium Light skin tone")},{id:"medium",icon:"👋🏽",tooltip:e("Medium skin tone")},{id:"medium-dark",icon:"👋🏾",tooltip:e("Medium Dark skin tone")},{id:"dark",icon:"👋🏿",tooltip:e("Dark skin tone")}]}isReady(){return this._repositoryPromise}_getUrl(){const{definitionsUrl:e,version:t}=this.editor.config.get("emoji");if(!e||e==="cdn"){const i=t||hS,o=new URL(uS.replace("{version}",i.toString()));return o.searchParams.set("editorVersion",zg),o}return t&&J("emoji-repository-redundant-version"),new URL(e)}_warnAboutCdnUse(){const e=this.editor,t=e.config.get("emoji"),i=e.config.get("licenseKey"),o=window[Symbol.for("cke distribution")];i!=="GPL"&&o!=="cloud"&&(t&&t.definitionsUrl||J("emoji-repository-cdn-use"))}_getItems(){const e=pr._results[this._url.href];return e&&e.length?e:null}async _loadAndCacheEmoji(){if(pr._results[this._url.href])return;const e=await fetch(this._url,{cache:"force-cache"}).then(t=>t.ok?t.json():[]).catch(()=>[]);pr._results[this._url.href]=this._normalizeEmoji(e)}_normalizeEmoji(e){const t=this.editor,i=t.config.get("emoji.useCustomFont"),o=t.plugins.get("EmojiUtils"),s=e.filter(c=>o.isEmojiCategoryAllowed(c));if(i)return s.map(c=>o.normalizeEmojiSkinTone(c));const r=o.getEmojiSupportedVersionByOs(),a=o.createEmojiWidthTestingContainer();document.body.appendChild(a);const l=s.filter(c=>o.isEmojiSupported(c,r,a)).map(c=>o.normalizeEmojiSkinTone(c));return a.remove(),l}};h(Hb,"_results",{});let $b=Hb;const Wn=":",fl=":__EMOJI_SHOW_ALL:",gl=":__EMOJI_HINT:";class dS extends w{constructor(e){super(e),h(this,"_emojiDropdownLimit"),h(this,"_skinTone"),this.editor.config.define("emoji",{dropdownLimit:6}),this._emojiDropdownLimit=e.config.get("emoji.dropdownLimit"),this._skinTone=e.config.get("emoji.skinTone"),this._setupMentionConfiguration(e)}static get requires(){return[$b,pa,"Mention"]}static get pluginName(){return"EmojiMention"}static get isOfficialPlugin(){return!0}_setupMentionConfiguration(e){const t=e.config.get("mergeFields.prefix"),i=e.config.get("mention.feeds"),o=t?t[0]===Wn:!1;if(i.filter(r=>!r._isEmojiMarker).some(r=>r.marker===Wn)||o){J("emoji-config-marker-already-used",{marker:Wn});return}if(i.some(r=>r._isEmojiMarker))return;const s={_isEmojiMarker:!0,marker:Wn,dropdownLimit:this._emojiDropdownLimit,itemRenderer:this._customItemRendererFactory(this.editor.t),feed:this._queryEmojiCallbackFactory()};this.editor.config.set("mention.feeds",[...i,s])}async init(){const e=this.editor;this.emojiPickerPlugin=e.plugins.has("EmojiPicker")?e.plugins.get("EmojiPicker"):null,this.emojiRepositoryPlugin=e.plugins.get("EmojiRepository"),this._isEmojiRepositoryAvailable=await this.emojiRepositoryPlugin.isReady(),this._isEmojiRepositoryAvailable&&e.once("ready",this._overrideMentionExecuteListener.bind(this))}_customItemRendererFactory(e){return t=>{const i=document.createElement("button");i.classList.add("ck"),i.classList.add("ck-button"),i.classList.add("ck-button_with-text"),i.id=`mention-list-item-id${t.id.slice(0,-1)}`,i.type="button",i.tabIndex=-1;const o=document.createElement("span");return o.classList.add("ck"),o.classList.add("ck-button__label"),i.appendChild(o),t.id===gl?(i.classList.add("ck-list-item-button"),i.classList.add("ck-disabled"),o.textContent=e("Keep on typing to see the emoji.")):t.id===fl?o.textContent=e("Show all emoji..."):o.textContent=`${t.text} ${t.id}`,i}}_overrideMentionExecuteListener(){const e=this.editor;e.commands.get("mention").on("execute",(t,i)=>{const o=i[0];if(o.marker===Wn&&(t.stop(),o.mention.id!==gl))if(o.mention.id===fl){const s=[...o.range.getItems()].filter(a=>a.is("$textProxy")).map(a=>a.data).reduce((a,l)=>a+l,"");e.model.change(a=>{e.model.deleteContent(a.createSelection(o.range))});const r=this.emojiPickerPlugin;r.showUI(s.slice(1)),setTimeout(()=>{r.emojiPickerView.focus()})}else e.execute("insertText",{text:o.mention.text,range:o.range})},{priority:"high"})}_queryEmojiCallbackFactory(){return e=>{if(e.startsWith(" "))return[];if(e.startsWith(Wn))return[];if(!this._isEmojiRepositoryAvailable)return[];const t=this.emojiRepositoryPlugin.getEmojiByQuery(e).map(o=>{let s=o.skins[this._skinTone]||o.skins.default;return this.emojiPickerPlugin&&(s=o.skins[this.emojiPickerPlugin.skinTone]||o.skins.default),{id:`:${o.annotation}:`,text:s}});if(!this.emojiPickerPlugin)return t.slice(0,this._emojiDropdownLimit);const i={id:e.length>1?fl:gl};return[...t.slice(0,this._emojiDropdownLimit-1),i]}}}class mS extends O{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection;this.isEnabled=t.checkChild(i.getFirstPosition(),"$text")}execute(e=""){this.editor.plugins.get("EmojiPicker").showUI(e)}}class fS extends A{constructor(e,{categoryName:t,emojiCategories:i,getEmojiByQuery:o,skinTone:s}){super(e),h(this,"tiles"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"emojiCategories"),h(this,"cachedTiles"),h(this,"_getEmojiByQuery"),this.set("isEmpty",!0),this.set("categoryName",t),this.set("skinTone",s),this.tiles=this.createCollection(),this.cachedTiles=this.createCollection(),this.focusTracker=new ee,this.keystrokes=new te,this._getEmojiByQuery=o,this.emojiCategories=i;const r=this.bindTemplate;this.setTemplate({tag:"div",children:[{tag:"div",attributes:{role:"grid",class:["ck","ck-emoji__grid"]},children:this.tiles}],attributes:{role:"tabpanel",class:["ck","ck-emoji__tiles",r.if("isEmpty","ck-hidden",a=>a)]}}),vo({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.tiles,numberOfColumns:()=>I.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}render(){super.render(),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.keystrokes.destroy(),this.focusTracker.destroy()}focus(){const e=this.tiles.first;e&&e.focus()}filter(e){const{matchingItems:t,allItems:i}=e?this._getItemsByQuery(e.source):this._getItemsByCategory();return this._updateGrid(t),this.set("isEmpty",t.length===0),{resultsCount:t.length,totalItemsCount:i.length}}_getItemsByQuery(e){return{matchingItems:this._getEmojiByQuery(e),allItems:this.emojiCategories.flatMap(t=>t.items)}}_getItemsByCategory(){const e=this.emojiCategories.find(i=>i.title===this.categoryName),{items:t}=e;return{matchingItems:t,allItems:t}}_updateGrid(e){[...this.tiles].forEach(t=>{this.focusTracker.remove(t),this.tiles.remove(t)}),e.map(t=>{const i=t.skins[this.skinTone]||t.skins.default;return this.cachedTiles.get(i)||this._createTile(i,t.annotation)}).forEach(t=>{this.tiles.add(t),this.focusTracker.add(t)})}_createTile(e,t){const i=new P(this.locale);return i.viewUid=e,i.extendTemplate({attributes:{class:["ck-emoji__tile"]}}),i.set({label:e,tooltip:t,withText:!0,ariaLabel:t,ariaLabelledBy:void 0}),i.on("execute",()=>{this.fire("execute",{name:t,emoji:e})}),this.cachedTiles.add(i),i}}class gS extends A{constructor(e,{emojiCategories:t,categoryName:i}){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"focusCycler"),h(this,"buttonViews"),this.buttonViews=this.createCollection(t.map(o=>this._createCategoryButton(o))),this.focusTracker=new ee,this.keystrokes=new te,this.focusCycler=new Ae({focusables:this.buttonViews,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowleft",focusNext:"arrowright"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-emoji__categories-list"],role:"tablist"},children:this.buttonViews}),this.on("change:categoryName",(o,s,r,a)=>{const l=this.buttonViews.find(u=>u.tooltip===a);l&&(l.isOn=!1);const c=this.buttonViews.find(u=>u.tooltip===r);c.isOn=!0}),this.set("categoryName",i)}render(){super.render(),this.buttonViews.forEach(e=>{this.focusTracker.add(e)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),this.buttonViews.destroy()}focus(){this.buttonViews.first.focus()}enableCategories(){this.buttonViews.forEach(e=>{e.isEnabled=!0})}disableCategories(){this.buttonViews.forEach(e=>{e.set({class:"",isEnabled:!1,isOn:!1})})}_createCategoryButton(e){const t=new P,i=t.bindTemplate;return t.extendTemplate({attributes:{"aria-selected":i.to("isOn",o=>o.toString()),class:["ck-emoji__category-item"]}}),t.set({ariaLabel:e.title,label:e.icon,role:"tab",tooltip:e.title,withText:!0,ariaLabelledBy:void 0}),t.on("execute",()=>{this.categoryName=e.title}),t.on("change:isEnabled",()=>{t.isEnabled&&t.tooltip===this.categoryName&&(t.isOn=!0)}),t}}class pS extends A{constructor(e,{gridView:t,resultsView:i}){super(e),h(this,"inputView"),h(this,"gridView"),this.gridView=t;const o=e.t;this.inputView=new pT(this.locale,{queryView:{label:o("Find an emoji (min. 2 characters)"),creator:nt},filteredView:this.gridView,infoView:{instance:i}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search"],tabindex:"-1"},children:[this.inputView.queryView]}),this.inputView.delegate("search").to(this)}destroy(){super.destroy(),this.inputView.destroy()}search(e){const t=e?new RegExp(ta(e),"ig"):null,i=this.gridView.filter(t);this.inputView.fire("search",{query:e,...i})}setInputValue(e){e?this.inputView.queryView.fieldView.value=e:this.inputView.queryView.fieldView.reset()}getInputValue(){return this.inputView.queryView.fieldView.element.value}focus(){this.inputView.focus()}}class wS extends A{constructor(e,{skinTone:t,skinTones:i}){super(e),h(this,"dropdownView"),h(this,"_skinTones"),this.set("skinTone",t),this._skinTones=i;const o=e.t,s=o("Select skin tone"),r=Ee(e),a=new _e;for(const{id:l,icon:c,tooltip:u}of this._skinTones){const d={type:"button",model:new et({value:l,label:c,ariaLabel:u,tooltip:u,tooltipPosition:"e",role:"menuitemradio",withText:!0,ariaLabelledBy:void 0})};d.model.bind("isOn").to(this,"skinTone",m=>m===l),a.add(d)}wt(r,a,{ariaLabel:s,role:"menu"}),r.buttonView.set({label:this._getSkinTone().icon,ariaLabel:s,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:s}),this.dropdownView=r,this.listenTo(r,"execute",l=>{this.skinTone=l.source.value}),r.buttonView.bind("label").to(this,"skinTone",()=>this._getSkinTone().icon),r.buttonView.bind("ariaLabel").to(this,"skinTone",()=>`${this._getSkinTone().tooltip}, ${s}`),this.setTemplate({tag:"div",attributes:{class:["ck","ck-emoji__skin-tone"]},children:[r]})}focus(){this.dropdownView.buttonView.focus()}_getSkinTone(){return this._skinTones.find(e=>e.id===this.skinTone)}}class bS extends A{constructor(e,{emojiCategories:t,getEmojiByQuery:i,skinTone:o,skinTones:s}){super(e),h(this,"items"),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"focusCycler"),h(this,"searchView"),h(this,"toneView"),h(this,"categoriesView"),h(this,"gridView"),h(this,"infoView");const r=t[0].title;this.gridView=new fS(e,{categoryName:r,emojiCategories:t,getEmojiByQuery:i,skinTone:o}),this.infoView=new ub,this.searchView=new pS(e,{gridView:this.gridView,resultsView:this.infoView}),this.categoriesView=new gS(e,{emojiCategories:t,categoryName:r}),this.toneView=new wS(e,{skinTone:o,skinTones:s}),this.items=this.createCollection([this.searchView,this.toneView,this.categoriesView,this.gridView,this.infoView]),this.focusTracker=new ee,this.keystrokes=new te,this.focusCycler=new Ae({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",children:[{tag:"div",children:[this.searchView,this.toneView],attributes:{class:["ck","ck-emoji__search"]}},this.categoriesView,this.gridView,{tag:"div",children:[this.infoView],attributes:{class:["ck","ck-search__results"]}}],attributes:{tabindex:"-1",class:["ck","ck-emoji","ck-search"]}}),this._setupEventListeners()}render(){super.render(),this.focusTracker.add(this.searchView.element),this.focusTracker.add(this.toneView.element),this.focusTracker.add(this.categoriesView.element),this.focusTracker.add(this.gridView.element),this.focusTracker.add(this.infoView.element),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.searchView.focus()}_setupEventListeners(){const e=this.locale.t;this.searchView.on("search",(t,i)=>{i.query?this.categoriesView.disableCategories():this.categoriesView.enableCategories()}),this.searchView.on("search",(t,i)=>{i.query.length===1?this.infoView.set({primaryText:e("Keep on typing to see the emoji."),secondaryText:e("The query must contain at least two characters."),isVisible:!0}):i.resultsCount?this.infoView.set({isVisible:!1}):this.infoView.set({primaryText:e('No emojis were found matching "%0".',i.query),secondaryText:e("Please try a different phrase or check the spelling."),isVisible:!0})}),this.searchView.on("search",()=>{this.fire("update"),this.gridView.element.scrollTo(0,0)}),this.categoriesView.on("change:categoryName",(t,i,o)=>{this.gridView.categoryName=o,this.searchView.search("")}),this.toneView.on("change:skinTone",(t,i,o)=>{this.gridView.skinTone=o,this.searchView.search(this.searchView.getInputValue())})}}class _S extends A{constructor(e){super(e),h(this,"backButtonView"),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"children"),h(this,"_focusables",new Ie),h(this,"_focusCycler"),this.backButtonView=this._createBackButton(),this.children=this.createCollection([this._createHeaderView()]),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form","ck-emoji-picker-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),[...this.children.filter(yo),this.backButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element),Nw(e)&&this._focusCycler.chain(e.focusCycler)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Emoji picker")});return t.children.add(this.backButtonView,0),t}}const Ni="emoji-picker";class vS extends w{static get requires(){return[$b,Ue,du,pa]}static get pluginName(){return"EmojiPicker"}static get isOfficialPlugin(){return!0}async init(){const e=this.editor;if(this.balloonPlugin=e.plugins.get("ContextualBalloon"),this.emojiRepositoryPlugin=e.plugins.get("EmojiRepository"),!await this.emojiRepositoryPlugin.isReady())return;const t=new mS(e);e.commands.add("emoji",t),e.ui.componentFactory.add("emoji",()=>{const i=this._createButton(P,t);return i.set({tooltip:!0}),i}),e.ui.componentFactory.add("menuBar:emoji",()=>this._createButton(ve,t)),this._setupConversion()}destroy(){super.destroy(),this.emojiPickerView&&this.emojiPickerView.destroy()}get skinTone(){return this.emojiPickerView?this.emojiPickerView.gridView.skinTone:this.editor.config.get("emoji.skinTone")}showUI(e=""){this._showFakeVisualSelection(),this.emojiPickerView||(this.emojiPickerView=this._createEmojiPickerView()),e&&this.emojiPickerView.searchView.setInputValue(e),this.emojiPickerView.searchView.search(e),this.emojiPickerFormView||(this.emojiPickerFormView=this._createEmojiPickerFormView()),this.balloonPlugin.hasView(this.emojiPickerFormView)||(this.emojiPickerFormView.backButtonView.isVisible=!!this.balloonPlugin.visibleView,this.balloonPlugin.add({view:this.emojiPickerFormView,position:this._getBalloonPositionData(),balloonClassName:"ck-emoji-picker-balloon"})),this.emojiPickerView.focus()}_createButton(e,t){const i=new e(this.editor.locale),o=this.editor.locale.t;return i.bind("isEnabled").to(t,"isEnabled"),i.set({label:o("Emoji"),icon:yC,isToggleable:!0}),i.on("execute",()=>{this.editor.editing.view.scrollToTheSelection(),this.showUI()}),i}_createEmojiPickerView(){const e=new bS(this.editor.locale,{emojiCategories:this.emojiRepositoryPlugin.getEmojiCategories(),skinTone:this.editor.config.get("emoji.skinTone"),skinTones:this.emojiRepositoryPlugin.getSkinTones(),getEmojiByQuery:t=>this.emojiRepositoryPlugin.getEmojiByQuery(t)});return this.listenTo(e.gridView,"execute",(t,i)=>{const o=this.editor,s=i.emoji;this._hideUI(),o.execute("insertText",{text:s})}),e}_createEmojiPickerFormView(){const e=new _S(this.editor.locale);return e.children.add(this.emojiPickerView),this.listenTo(this.emojiPickerView,"update",()=>{this.balloonPlugin.visibleView===e&&this.balloonPlugin.updatePosition()}),this.listenTo(e,"cancel",()=>{this._hideUI()}),e.keystrokes.set("Esc",(t,i)=>{this._hideUI(),i()}),$t({emitter:e,contextElements:[this.balloonPlugin.view.element],callback:()=>{this._hideUI(!1)},activator:()=>this.balloonPlugin.visibleView===e}),e}_hideUI(e=!0){this.balloonPlugin.remove(this.emojiPickerFormView),this.emojiPickerView.searchView.setInputValue(""),e&&this.editor.editing.view.focus(),this._hideFakeVisualSelection()}_setupConversion(){const e=this.editor;e.conversion.for("editingDowncast").markerToHighlight({model:Ni,view:{classes:["ck-fake-emoji-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:Ni,view:(t,{writer:i})=>{if(!t.markerRange.isCollapsed)return null;const o=i.createUIElement("span");return i.addClass(["ck-fake-emoji-selection","ck-fake-emoji-selection_collapsed"],o),o}})}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document;return{target:()=>e.domConverter.viewRangeToDom(t.selection.getFirstRange())}}_showFakeVisualSelection(){const e=this.editor.model;e.change(t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(Ni))t.updateMarker(Ni,{range:i});else if(i.start.isAtEnd){const o=i.start.getLastMatchingPosition(({item:s})=>!e.schema.isContent(s),{boundaries:i});t.addMarker(Ni,{usingOperation:!1,affectsData:!1,range:t.createRange(o,i.end)})}else t.addMarker(Ni,{usingOperation:!1,affectsData:!1,range:i})})}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(Ni)&&e.change(t=>{t.removeMarker(Ni)})}}class yS extends w{static get requires(){return[dS,vS]}static get pluginName(){return"Emoji"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class kS extends O{constructor(e){super(e),this.affectsData=!1}execute(){const e=this.editor.model,t=e.document.selection;let i=e.schema.getLimitElement(t);if(t.containsEntireContent(i)||!Fm(e.schema,i))do if(i=i.parent,!i)return;while(!Fm(e.schema,i));e.change(o=>{o.setSelection(i,"in")})}}function Fm(n,e){return n.isLimit(e)&&(n.checkChild(e,"$text")||n.checkChild(e,"paragraph"))}const CS=na("Ctrl+A");class AS extends w{static get pluginName(){return"SelectAllEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=e.editing.view.document;e.commands.add("selectAll",new kS(e)),this.listenTo(i,"keydown",(o,s)=>{yn(s)===CS&&(e.execute("selectAll"),s.preventDefault())}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Select all"),keystroke:"CTRL+A"}]})}}class xS extends w{static get pluginName(){return"SelectAllUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("selectAll",()=>{const t=this._createButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:selectAll",()=>this._createButton(ve))}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("selectAll"),s=new e(t.locale),r=i.t;return s.set({label:r("Select all"),icon:aA,keystroke:"Ctrl+A"}),s.bind("isEnabled").to(o,"isEnabled"),this.listenTo(s,"execute",()=>{t.execute("selectAll"),t.editing.view.focus()}),s}}class Wb extends w{static get requires(){return[AS,xS]}static get pluginName(){return"SelectAll"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class jb extends O{constructor(e){super(e),h(this,"_stack",[]),h(this,"_createdBatches",new WeakSet),this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(e.data,"set",(t,i)=>{i[1]={...i[1]};const o=i[1];o.batchType||(o.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(e.data,"set",(t,i)=>{i[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(e){const t=this.editor.model.document.selection,i={ranges:t.hasOwnRange?Array.from(t.getRanges()):[],isBackward:t.isBackward};this._stack.push({batch:e,selection:i}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(e,t,i){const o=this.editor.model,s=o.document,r=[],a=e.map(c=>c.getTransformedByOperations(i)),l=a.flat();for(const c of a){const u=c.filter(d=>d.root!=s.graveyard).filter(d=>!ES(d,l));u.length&&(TS(u),r.push(u[0]))}r.length&&o.change(c=>{c.setSelection(r,{backward:t})})}_undo(e,t){const i=this.editor.model,o=i.document;this._createdBatches.add(t);const s=e.operations.slice().filter(r=>r.isDocumentOperation);s.reverse();for(const r of s){const a=r.baseVersion+1,l=Array.from(o.history.getOperations(a)),c=A2([r.getReversed()],l,{useRelations:!0,document:this.editor.model.document,forceWeakRemove:!0}).operationsA;for(let u of c){const d=u.affectedSelectable;d&&!i.canEditAt(d)&&(u=new De(u.baseVersion)),t.addOperation(u),i.applyOperation(u),o.history.setOperationAsUndone(r,u)}}}}function TS(n){n.sort((e,t)=>e.start.isBefore(t.start)?-1:1);for(let e=1;et!==n&&t.containsRange(n,!0))}class SS extends jb{execute(e=null){const t=e?this._stack.findIndex(s=>s.batch==e):this._stack.length-1,i=this._stack.splice(t,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,()=>{this._undo(i.batch,o);const s=this.editor.model.document.history.getOperations(i.batch.baseVersion);this._restoreSelection(i.selection.ranges,i.selection.isBackward,s)}),this.fire("revert",i.batch,o),this.refresh()}}class PS extends jb{execute(){const e=this._stack.pop(),t=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(t,()=>{const i=e.batch.operations[e.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(i);this._restoreSelection(e.selection.ranges,e.selection.isBackward,o),this._undo(e.batch,t)}),this.refresh()}}class IS extends w{constructor(){super(...arguments),h(this,"_undoCommand"),h(this,"_redoCommand"),h(this,"_batchRegistry",new WeakSet)}static get pluginName(){return"UndoEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t;this._undoCommand=new SS(e),this._redoCommand=new PS(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",(i,o)=>{const s=o[0];if(!s.isDocumentOperation)return;const r=s.batch,a=this._redoCommand.createdBatches.has(r),l=this._undoCommand.createdBatches.has(r);this._batchRegistry.has(r)||(this._batchRegistry.add(r),r.isUndoable&&(a?this._undoCommand.addBatch(r):l||(this._undoCommand.addBatch(r),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(i,o,s)=>{this._redoCommand.addBatch(s)}),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Undo"),keystroke:"CTRL+Z"},{label:t("Redo"),keystroke:[["CTRL+Y"],["CTRL+SHIFT+Z"]]}]})}}class VS extends w{static get pluginName(){return"UndoUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale,i=e.t,o=t.uiLanguageDirection=="ltr"?yd:_d,s=t.uiLanguageDirection=="ltr"?_d:yd;this._addButtonsToFactory("undo",i("Undo"),"CTRL+Z",o),this._addButtonsToFactory("redo",i("Redo"),"CTRL+Y",s)}_addButtonsToFactory(e,t,i,o){const s=this.editor;s.ui.componentFactory.add(e,()=>{const r=this._createButton(P,e,t,i,o);return r.set({tooltip:!0}),r}),s.ui.componentFactory.add("menuBar:"+e,()=>this._createButton(ve,e,t,i,o))}_createButton(e,t,i,o,s){const r=this.editor,a=r.locale,l=r.commands.get(t),c=new e(a);return c.set({label:i,icon:s,keystroke:o}),c.bind("isEnabled").to(l,"isEnabled"),this.listenTo(c,"execute",()=>{r.execute(t),r.editing.view.focus()}),c}}class Ub extends w{static get requires(){return[IS,VS]}static get pluginName(){return"Undo"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class RS extends A{constructor(e){super(e),h(this,"children"),h(this,"_findInputView"),h(this,"_replaceInputView"),h(this,"_findButtonView"),h(this,"_findPrevButtonView"),h(this,"_findNextButtonView"),h(this,"_advancedOptionsCollapsibleView"),h(this,"_matchCaseSwitchView"),h(this,"_wholeWordsOnlySwitchView"),h(this,"_replaceButtonView"),h(this,"_replaceAllButtonView"),h(this,"_inputsDivView"),h(this,"_actionButtonsDivView"),h(this,"_focusTracker"),h(this,"_keystrokes"),h(this,"_focusables"),h(this,"focusCycler");const t=e.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",(i,o)=>i>0&&!o),this._findInputView=this._createInputField(t("Find in text…")),this._findPrevButtonView=this._createButton({label:t("Previous result"),class:"ck-button-prev",icon:li,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:t("Next result"),class:"ck-button-next",icon:li,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(t("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:t("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:t("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:t("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new ee,this._keystrokes=new te,this._focusables=new Ie,this.focusCycler=new Ae({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),Ri({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(e){e===-1?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const e=this.locale,t=e.t,i=new A(e);return this._findInputView.fieldView.on("input",()=>{this.isDirty=!0}),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findPrevious:o})=>o),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findNext:o})=>o),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:o},s)=>o&&s),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",(o,s)=>o||!s?"":t("Tip: Find some text first in order to replace it.")),i.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),i}_onFindButtonExecute(){if(!this._textToFind){const e=this.t;this._findInputView.errorText=e("Text to find must not be empty.");return}this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly})}_injectFindResultsCounter(){const e=this.locale,t=e.t,i=this.bindTemplate,o=new A(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",(r,a)=>t("%0 of %1",[r,a])),o.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",i.if("isDirty","ck-hidden")]},children:[{text:i.to("_resultsCounterText")}]});const s=()=>{const r=this._findInputView.fieldView.element;if(!r||!Gt(r))return;const a=new z(o.element).width,l=e.uiLanguageDirection==="ltr"?"paddingRight":"paddingLeft";a?r.style[l]=`calc( 2 * var(--ck-spacing-standard) + ${a}px )`:r.style[l]=""};this.on("change:_resultsCounterText",s,{priority:"low"}),this.on("change:isDirty",s,{priority:"low"}),this._findInputView.template.children[0].children.push(o)}_createAdvancedOptionsCollapsible(){const e=this.locale.t,t=new mu(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return t.set({label:e("Advanced options"),isCollapsed:!0}),t}_createActionButtonsDiv(){const e=new A(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:t},i)=>t&&i),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replaceAll:t},i)=>t&&i),this._replaceButtonView.on("execute",()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})}),this._replaceAllButtonView.on("execute",()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()}),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),e.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),e}_createMatchCaseSwitch(){const e=this.locale.t,t=new Ji(this.locale);return t.set({label:e("Match case"),withText:!0}),t.bind("isOn").to(this,"_matchCase"),t.on("execute",()=>{this._matchCase=!this._matchCase,this.isDirty=!0}),t}_createWholeWordsOnlySwitch(){const e=this.locale.t,t=new Ji(this.locale);return t.set({label:e("Whole words only"),withText:!0}),t.bind("isOn").to(this,"_wholeWordsOnly"),t.on("execute",()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0}),t}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach(e=>{this._focusables.add(e),this._focusTracker.add(e.element)})}_initKeystrokeHandling(){const e=i=>i.stopPropagation(),t=i=>{i.stopPropagation(),i.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",i=>{t(i),this._findNextButtonView.fire("execute")}),this._keystrokes.set("shift+f3",i=>{t(i),this._findPrevButtonView.fire("execute")}),this._keystrokes.set("enter",i=>{const o=i.target;o===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(i)):o===this._replaceInputView.fieldView.element&&!this.isDirty&&(this._replaceButtonView.fire("execute"),t(i))}),this._keystrokes.set("shift+enter",i=>{i.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(i))}),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e)}_createButton(e){const t=new P(this.locale);return t.set(e),t}_createInputField(e,t){const i=new Te(this.locale,nt);return i.label=e,i.class=t,i}}class OS extends w{constructor(e){super(e),h(this,"formView"),e.config.define("findAndReplace.uiType","dialog"),this.formView=null}static get requires(){return[du]}static get pluginName(){return"FindAndReplaceUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.config.get("findAndReplace.uiType")==="dropdown",i=e.commands.get("find"),o=this.editor.t;e.ui.componentFactory.add("findAndReplace",()=>{let s;return t?(s=this._createDropdown(),s.bind("isEnabled").to(i)):s=this._createDialogButtonForToolbar(),e.keystrokes.set("Ctrl+F",(r,a)=>{if(i.isEnabled){if(s instanceof Jw){const l=s.buttonView;l.isOn||l.fire("execute")}else s.isOn?e.plugins.get("Dialog").view.focus():s.fire("execute");a()}}),s}),t||e.ui.componentFactory.add("menuBar:findAndReplace",()=>this._createDialogButtonForMenuBar()),e.accessibility.addKeystrokeInfos({keystrokes:[{label:o("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const e=this.editor,t=e.locale.t,i=Ee(e.locale);return i.once("change:isOpen",()=>{this.formView=this._createFormView(),this.formView.children.add(new Jt(e.locale,{label:t("Find and replace")}),0),i.panelView.children.add(this.formView)}),i.on("change:isOpen",(o,s,r)=>{r?this._setupFormView():this.fire("searchReseted")},{priority:"low"}),i.buttonView.set({icon:fd,label:t("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),i}_createDialogButtonForToolbar(){const e=this.editor,t=this._createButton(P),i=e.plugins.get("Dialog");return t.set({tooltip:!0}),t.bind("isOn").to(i,"id",o=>o==="findAndReplace"),t.on("execute",()=>{t.isOn?i.hide():this._showDialog()}),t}_createDialogButtonForMenuBar(){const e=this._createButton(ve),t=this.editor.plugins.get("Dialog"),i=this.editor.plugins.get("Dialog");return e.set({role:"menuitemcheckbox",isToggleable:!0}),e.bind("isOn").to(i,"id",o=>o==="findAndReplace"),e.on("execute",()=>{if(t.id==="findAndReplace"){t.hide();return}this._showDialog()}),e}_createButton(e){const t=this.editor,i=t.commands.get("find"),o=new e(t.locale),s=t.locale.t;return o.bind("isEnabled").to(i),o.set({icon:fd,label:s("Find and replace"),keystroke:"CTRL+F"}),o}_showDialog(){const e=this.editor,t=e.plugins.get("Dialog"),i=e.locale.t;this.formView||(this.formView=this._createFormView()),t.show({id:"findAndReplace",title:i("Find and replace"),content:this.formView,position:vt.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const e=this.editor,t=new(ho(RS))(e.locale),i=e.commands,o=this.editor.plugins.get("FindAndReplaceEditing").state;t.bind("highlightOffset").to(o,"highlightedOffset"),t.listenTo(o.results,"change",()=>{t.matchCount=o.results.length});const s=i.get("findNext"),r=i.get("findPrevious"),a=i.get("replace"),l=i.get("replaceAll");return t.bind("_areCommandsEnabled").to(s,"isEnabled",r,"isEnabled",a,"isEnabled",l,"isEnabled",(c,u,d,m)=>({findNext:c,findPrevious:u,replace:d,replaceAll:m})),t.delegate("findNext","findPrevious","replace","replaceAll").to(this),t.on("change:isDirty",(c,u,d)=>{d&&this.fire("searchReseted")}),t}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class BS extends O{constructor(e,t){super(e),h(this,"_state"),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:o}=this,{model:s}=o,r=o.plugins.get("FindAndReplaceUtils");let a,l="";typeof e=="string"?a=(...d)=>({results:r.findByTextCallback(e,{matchCase:t,wholeWords:i})(...d),searchText:e}):a=e;const c=a;a=(...d)=>{const m=c(...d);return m&&"searchText"in m&&(l=m.searchText),m};const u=s.document.getRootNames().reduce((d,m)=>r.updateFindResultFromRange(s.createRangeIn(s.document.getRoot(m)),s,a,d),null);return this._state.clear(s),this._state.results.addMany(u),this._state.highlightedResult=u.get(0),this._state.searchText=l,a&&(this._state.lastSearchCallback=a),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:u,findCallback:a}}}class MS extends ue(){constructor(e){super(),this.set("results",new _e),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",(t,{removed:i,index:o})=>{if(Array.from(i).length){let s=!1;if(e.change(r=>{for(const a of i)this.highlightedResult===a&&(s=!0),e.markers.has(a.marker.name)&&r.removeMarker(a.marker)}),s){const r=o>=this.results.length?0:o;this.highlightedResult=this.results.get(r)}}}),this.on("change:highlightedResult",()=>{this.refreshHighlightOffset(e)})}clear(e){this.searchText="",e.change(t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],o=e.markers.get(`findResultHighlighted:${i}`);o&&t.removeMarker(o)}[...this.results].forEach(({marker:i})=>{t.removeMarker(i)})}),this.results.clear()}refreshHighlightOffset(e){const{highlightedResult:t,results:i}=this;t?this.highlightedOffset=qb(e,[...i]).indexOf(t)+1:this.highlightedOffset=0}}function qb(n,e){const t={before:-1,same:0,after:1,different:1};return n.document.getRootNames().flatMap(i=>e.filter(o=>o.marker.getStart().root.rootName===i).sort((o,s)=>t[o.marker.getStart().compareWith(s.marker.getStart())]))}class Gb extends O{constructor(e,t){super(e),h(this,"_state"),this.isEnabled=!0,this._state=t,this._isEnabledBasedOnSelection=!1}_replace(e,t){const{model:i}=this.editor,o=t.marker.getRange();i.canEditAt(o)&&i.change(s=>{if(o.root.rootName==="$graveyard"){this._state.results.remove(t);return}let r={};for(const a of o.getItems())if(a.is("$text")||a.is("$textProxy")){r=a.getAttributes();break}i.insertContent(s.createText(e,r),o),this._state.results.has(t)&&this._state.results.remove(t)})}}class LS extends Gb{execute(e,t){const i=Math.max(this._state.highlightedOffset-1,0);if(this._replace(e,t),this._state.results.length){const o=qb(this.editor.model,[...this._state.results]);this._state.highlightedResult=o[i%o.length]}}}class FS extends Gb{execute(e,t){const{editor:i}=this,{model:o}=i,s=i.plugins.get("FindAndReplaceUtils"),r=t instanceof _e?t:o.document.getRootNames().reduce((a,l)=>s.updateFindResultFromRange(o.createRangeIn(o.document.getRoot(l)),o,s.findByTextCallback(t,this._state),a),null);r.length&&o.change(()=>{[...r].forEach(a=>{this._replace(e,a)})})}}class Kb extends O{constructor(e,t){super(e),h(this,"_state"),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",()=>{this.isEnabled=this._state.results.length>1})}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class NS extends Kb{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}class DS extends w{static get pluginName(){return"FindAndReplaceUtils"}static get isOfficialPlugin(){return!0}updateFindResultFromRange(e,t,i,o){const s=o||new _e,r=a=>s.find(l=>{const{marker:c}=l,u=c.getRange(),d=a.getRange();return u.isEqual(d)});return t.change(a=>{[...e].forEach(({type:l,item:c})=>{if(l==="elementStart"&&t.schema.checkChild(c,"$text")){let u=i({item:c,text:this.rangeToText(t.createRangeIn(c))});if(!u)return;"results"in u&&(u=u.results),u.forEach(d=>{const m=`findResult:${ze()}`,f=a.addMarker(m,{usingOperation:!1,affectsData:!1,range:a.createRange(a.createPositionAt(c,d.start),a.createPositionAt(c,d.end))}),g=zS(s,f);r(f)||s.add({id:m,label:d.label,marker:f},g)})}})}),s}rangeToText(e){return Array.from(e.getItems({shallow:!0})).reduce((t,i)=>i.is("$text")||i.is("$textProxy")?t+i.data:`${t} +`,"")}findByTextCallback(e,t){let i="gu";t.matchCase||(i+="i");let o=`(${ta(e)})`;if(t.wholeWords){const a="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+a).test(e)||(o=`(^|${a}|_)${o}`),new RegExp(a+"$").test(e)||(o=`${o}(?=_|${a}|$)`)}const s=new RegExp(o,i);function r({text:a}){return[...a.matchAll(s)].map(HS)}return r}}function zS(n,e){const t=n.find(({marker:i})=>e.getStart().isBefore(i.getStart()));return t?n.getIndex(t):n.length}function HS(n){const e=n.length-1;let t=n.index;return n.length===3&&(t+=n[1].length),{label:n[e],start:t,end:t+n[e].length}}const $S="ck-find-result_selected";class WS extends w{constructor(){super(...arguments),h(this,"state"),h(this,"_onDocumentChange",()=>{const e=new Set,t=new Set,i=this.editor.model,{results:o}=this.state,s=i.document.differ.getChanges(),r=i.document.differ.getChangedMarkers();s.forEach(c=>{c.position&&(c.name==="$text"||c.position.nodeAfter&&i.schema.isInline(c.position.nodeAfter)?(e.add(c.position.parent),[...i.markers.getMarkersAtPosition(c.position)].forEach(u=>{t.add(u.name)})):c.type==="insert"&&c.position.nodeAfter&&e.add(c.position.nodeAfter))}),r.forEach(({name:c,data:{newRange:u}})=>{u&&u.start.root.rootName==="$graveyard"&&t.add(c)}),e.forEach(c=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(c))].forEach(u=>t.add(u.name))}),t.forEach(c=>{o.has(c)&&(o.get(c)===this.state.highlightedResult&&(this.state.highlightedResult=null),o.remove(c))});const a=[],l=this.editor.plugins.get("FindAndReplaceUtils");e.forEach(c=>{const u=l.updateFindResultFromRange(i.createRangeOn(c),i,this.state.lastSearchCallback,o);a.push(...u)}),r.forEach(c=>{if(c.data.newRange){const u=l.updateFindResultFromRange(c.data.newRange,i,this.state.lastSearchCallback,o);a.push(...u)}}),!this.state.highlightedResult&&a.length?this.state.highlightedResult=a[0]:this.state.refreshHighlightOffset(i)})}static get requires(){return[DS]}static get pluginName(){return"FindAndReplaceEditing"}static get isOfficialPlugin(){return!0}init(){this.state=new MS(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",(t,i,o,s)=>{const{model:r}=this.editor;r.change(a=>{if(s){const l=s.marker.name.split(":")[1],c=r.markers.get(`findResultHighlighted:${l}`);c&&a.removeMarker(c)}if(o){const l=o.marker.name.split(":")[1];a.addMarker(`findResultHighlighted:${l}`,{usingOperation:!1,affectsData:!1,range:o.marker.getRange()})}})});/* istanbul ignore next -- @preserve */const e=St(((t,i,o)=>{if(o){const s=this.editor.editing.view.domConverter,r=this.editor.editing.mapper.toViewRange(o.marker.getRange());np({target:s.viewRangeToDom(r),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",(t,i,o)=>{o?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)})}find(e,t){return this._isSearchActive=!0,this.editor.execute("find",e,t),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new BS(this.editor,this.state)),this.editor.commands.add("findNext",new Kb(this.editor,this.state)),this.editor.commands.add("findPrevious",new NS(this.editor,this.state)),this.editor.commands.add("replace",new LS(this.editor,this.state)),this.editor.commands.add("replaceAll",new FS(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:t})=>{const[,i]=t.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":i}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:t})=>{const[,i]=t.split(":");return{name:"span",classes:[$S],attributes:{"data-find-result":i}}}})}}class jS extends w{static get requires(){return[WS,OS]}static get pluginName(){return"FindAndReplace"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",(o,s)=>{s?(i.searchText=s.searchText,t.find(s.searchText,s)):this.editor.execute("findNext")}),e.on("findPrevious",(o,s)=>{s&&i.searchText!==s.searchText?t.find(s.searchText):this.editor.execute("findPrevious")}),e.on("replace",(o,s)=>{i.searchText!==s.searchText&&t.find(s.searchText);const r=i.highlightedResult;r&&this.editor.execute("replace",s.replaceText,r)}),e.on("replaceAll",(o,s)=>{i.searchText!==s.searchText&&t.find(s.searchText),this.editor.execute("replaceAll",s.replaceText,i.results)}),e.on("searchReseted",()=>{i.clear(this.editor.model),t.stop()})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class ba extends O{constructor(e,t){super(e),h(this,"attributeKey"),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,i=t.document.selection,o=e.value,s=e.batch,r=a=>{if(i.isCollapsed)o?a.setSelectionAttribute(this.attributeKey,o):a.removeSelectionAttribute(this.attributeKey);else{const l=t.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const c of l)o?a.setAttribute(this.attributeKey,o,c):a.removeAttribute(this.attributeKey,c)}};s?t.enqueueChange(s,a=>{r(a)}):t.change(a=>{r(a)})}}const lt="fontSize",ct="fontFamily",ii="fontColor",vi="fontBackgroundColor";function Zb(n,e){const t={model:{key:n,values:[]},view:{},upcastAlso:{}};for(const i of e)t.model.values.push(i.model),t.view[i.model]=i.view,i.upcastAlso&&(t.upcastAlso[i.model]=i.upcastAlso);return t}function Jb(n){return e=>qS(e.getStyle(n))}function Qb(n){return(e,{writer:t})=>t.createAttributeElement("span",{style:`${n}:${e}`},{priority:7})}function US({dropdownView:n,colors:e,columns:t,removeButtonLabel:i,colorPickerLabel:o,documentColorsLabel:s,documentColorsCount:r,colorPickerViewConfig:a}){const l=n.locale,c=new wu(l,{colors:e,columns:t,removeButtonLabel:i,colorPickerLabel:o,documentColorsLabel:s,documentColorsCount:r,colorPickerViewConfig:a});return n.colorSelectorView=c,n.panelView.children.add(c),c}function qS(n){return n.replace(/\s/g,"")}class GS extends ba{constructor(e){super(e,ct)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Yb(n){return n.map(KS).filter(e=>e!==void 0)}function KS(n){if(typeof n=="object")return n;if(n==="default")return{title:"Default",model:void 0};if(typeof n=="string")return ZS(n)}function ZS(n){const e=n.replace(/"|'/g,"").split(","),t=e[0],i=e.map(JS).join(", ");return{title:t,model:i,view:{name:"span",styles:{"font-family":i},priority:7}}}function JS(n){return n=n.trim(),n.indexOf(" ")>0&&(n=`'${n}'`),n}class QS extends w{static get pluginName(){return"FontFamilyEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(ct,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:ct}),e.model.schema.setAttributeProperties(ct,{isFormatting:!0,copyOnEnter:!0});const t=Yb(e.config.get("fontFamily.options")).filter(o=>o.model),i=Zb(ct,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(ct,new GS(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:ct,view:(t,{writer:i})=>i.createAttributeElement("span",{style:"font-family:"+t},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:ct,value:t=>t.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:ct,value:e=>e.getAttribute("face")}})}}class YS extends w{static get pluginName(){return"FontFamilyUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(ct),s=t("Font Family"),r=XS(i,o);e.ui.componentFactory.add(ct,a=>{const l=Ee(a);return wt(l,r,{role:"menu",ariaLabel:s}),l.buttonView.set({label:s,icon:gd,tooltip:!0}),l.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),l.bind("isEnabled").to(o),this.listenTo(l,"execute",c=>{e.execute(c.source.commandName,{value:c.source.commandParam}),e.editing.view.focus()}),l}),e.ui.componentFactory.add(`menuBar:${ct}`,a=>{const l=new Tt(a);l.buttonView.set({label:s,icon:gd}),l.bind("isEnabled").to(o);const c=new Si(a);for(const u of r){const d=new Oi(a,l),m=new ve(a);m.set({role:"menuitemradio",isToggleable:!0}),m.bind(...Object.keys(u.model)).to(u.model),m.delegate("execute").to(l),m.on("execute",()=>{e.execute(u.model.commandName,{value:u.model.commandParam}),e.editing.view.focus()}),d.children.add(m),c.items.add(d)}return l.panelView.children.add(c),l})}_getLocalizedOptions(){const e=this.editor,t=e.t;return Yb(e.config.get(ct).options).map(i=>(i.title==="Default"&&(i.title=t("Default")),i))}}function XS(n,e){const t=new _e;for(const i of n){const o={type:"button",model:new et({commandName:ct,commandParam:i.model,label:i.title,role:"menuitemradio",withText:!0})};o.model.bind("isOn").to(e,"value",s=>s===i.model?!0:!s||!i.model?!1:s.split(",")[0].replace(/'/g,"").toLowerCase()===i.model.toLowerCase()),i.view&&typeof i.view!="string"&&i.view.styles&&o.model.set("labelStyle",`font-family: ${i.view.styles["font-family"]}`),t.add(o)}return t}class eP extends w{static get requires(){return[QS,YS]}static get pluginName(){return"FontFamily"}static get isOfficialPlugin(){return!0}}class tP extends ba{constructor(e){super(e,lt)}}function Eu(n){return n.map(e=>iP(e)).filter(e=>e!==void 0)}const Nm={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function iP(n){if(typeof n=="number"&&(n=String(n)),typeof n=="object"&&sP(n))return ac(n);const e=oP(n);if(e)return ac(e);if(n==="default")return{model:void 0,title:"Default"};if(!rP(n))return nP(n)}function nP(n){return typeof n=="string"&&(n={title:n,model:`${parseFloat(n)}px`}),n.view={name:"span",styles:{"font-size":n.model}},ac(n)}function ac(n){return n.view&&typeof n.view!="string"&&!n.view.priority&&(n.view.priority=7),n}function oP(n){return typeof n=="string"?Nm[n]:Nm[n.model]}function sP(n){return n.title&&n.model&&n.view}function rP(n){let e;if(typeof n=="object")if(n.model)e=parseFloat(n.model);else throw new b("font-size-invalid-definition",null,n);else e=parseFloat(n);return isNaN(e)}const Dm=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class aP extends w{static get pluginName(){return"FontSizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(lt,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:lt}),e.model.schema.setAttributeProperties(lt,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),i=Eu(this.editor.config.get("fontSize.options")).filter(s=>s.model),o=Zb(lt,i);t?(this._prepareAnyValueConverters(o),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(lt,new tP(e))}_prepareAnyValueConverters(e){const t=this.editor,i=e.model.values.filter(o=>!ha(String(o))&&!iw(String(o)));if(i.length)throw new b("font-size-invalid-use-of-named-presets",null,{presets:i});t.conversion.for("downcast").attributeToElement({model:lt,view:(o,{writer:s})=>{if(o)return s.createAttributeElement("span",{style:"font-size:"+o},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:lt,value:o=>o.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:lt,value:e=>{const t=e.getAttribute("size"),i=t[0]==="-"||t[0]==="+";let o=parseInt(t,10);i&&(o=3+o);const s=Dm.length-1,r=Math.min(Math.max(o,0),s);return Dm[r]}}})}}class lP extends w{static get pluginName(){return"FontSizeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=this._getLocalizedOptions(),o=e.commands.get(lt),s=t("Font Size"),r=cP(i,o);e.ui.componentFactory.add(lt,a=>{const l=Ee(a);return wt(l,r,{role:"menu",ariaLabel:s}),l.buttonView.set({label:s,icon:pd,tooltip:!0}),l.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),l.bind("isEnabled").to(o),this.listenTo(l,"execute",c=>{e.execute(c.source.commandName,{value:c.source.commandParam}),e.editing.view.focus()}),l}),e.ui.componentFactory.add(`menuBar:${lt}`,a=>{const l=new Tt(a);l.buttonView.set({label:s,icon:pd}),l.bind("isEnabled").to(o);const c=new Si(a);for(const u of r){const d=new Oi(a,l),m=new ve(a);m.set({role:"menuitemradio",isToggleable:!0}),m.bind(...Object.keys(u.model)).to(u.model),m.delegate("execute").to(l),m.on("execute",()=>{e.execute(u.model.commandName,{value:u.model.commandParam}),e.editing.view.focus()}),d.children.add(m),c.items.add(d)}return l.panelView.children.add(c),l})}_getLocalizedOptions(){const e=this.editor,t=e.t,i={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return Eu(e.config.get(lt).options).map(o=>{const s=i[o.title];return s&&s!=o.title&&(o=Object.assign({},o,{title:s})),o})}}function cP(n,e){const t=new _e;for(const i of n){const o={type:"button",model:new et({commandName:lt,commandParam:i.model,label:i.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};i.view&&typeof i.view!="string"&&(i.view.styles&&o.model.set("labelStyle",`font-size:${i.view.styles["font-size"]}`),i.view.classes&&o.model.set("class",`${o.model.class} ${i.view.classes}`)),o.model.bind("isOn").to(e,"value",s=>s===i.model),t.add(o)}return t}class uP extends w{static get requires(){return[aP,lP]}static get pluginName(){return"FontSize"}static get isOfficialPlugin(){return!0}normalizeSizeOptions(e){return Eu(e)}}class hP extends ba{constructor(e){super(e,ii)}}class dP extends w{static get pluginName(){return"FontColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(ii,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:ii,value:Jb("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:ii,value:t=>t.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:ii,view:Qb("color")}),e.commands.add(ii,new hP(e)),e.model.schema.extend("$text",{allowAttributes:ii}),e.model.schema.setAttributeProperties(ii,{isFormatting:!0,copyOnEnter:!0})}}class Xb extends w{constructor(e,{commandName:t,componentName:i,icon:o,dropdownLabel:s}){super(e),h(this,"commandName"),h(this,"componentName"),h(this,"icon"),h(this,"dropdownLabel"),h(this,"columns"),this.commandName=t,this.componentName=i,this.icon=o,this.dropdownLabel=s,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,t=e.locale,i=t.t,o=e.commands.get(this.commandName),s=e.config.get(this.componentName),r=ws(s.colors),a=ps(t,r),l=s.documentColors,c=s.colorPicker!==!1;e.ui.componentFactory.add(this.componentName,u=>{const d=Ee(u);let m=!1;const f=US({dropdownView:d,colors:a.map(g=>({label:g.label,color:g.model,options:{hasBorder:g.hasBorder}})),columns:this.columns,removeButtonLabel:i("Remove color"),colorPickerLabel:i("Color picker"),documentColorsLabel:l!==0?i("Document colors"):"",documentColorsCount:l===void 0?this.columns:l,colorPickerViewConfig:c?s.colorPicker||{}:!1});return f.bind("selectedColor").to(o,"value"),d.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),d.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),d.bind("isEnabled").to(o),f.on("execute",(g,p)=>{d.isOpen&&e.execute(this.commandName,{value:p.value,batch:this._undoStepBatch}),p.source!=="colorPicker"&&e.editing.view.focus(),p.source==="colorPickerSaveButton"&&(d.isOpen=!1)}),f.on("colorPicker:show",()=>{this._undoStepBatch=e.model.createBatch()}),f.on("colorPicker:cancel",()=>{this._undoStepBatch.operations.length&&(d.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()}),d.on("change:isOpen",(g,p,_)=>{m||(m=!0,d.colorSelectorView.appendUI()),_&&(l!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),ga(d,()=>d.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find(g=>g.isOn)),d}),e.ui.componentFactory.add(`menuBar:${this.componentName}`,u=>{const d=new Tt(u);d.buttonView.set({label:this.dropdownLabel,icon:this.icon}),d.bind("isEnabled").to(o);let m=!1;const f=new wu(u,{colors:a.map(g=>({label:g.label,color:g.model,options:{hasBorder:g.hasBorder}})),columns:this.columns,removeButtonLabel:i("Remove color"),colorPickerLabel:i("Color picker"),documentColorsLabel:l!==0?i("Document colors"):"",documentColorsCount:l===void 0?this.columns:l,colorPickerViewConfig:!1});return f.bind("selectedColor").to(o,"value"),f.delegate("execute").to(d),f.on("execute",(g,p)=>{e.execute(this.commandName,{value:p.value,batch:this._undoStepBatch}),e.editing.view.focus()}),d.on("change:isOpen",(g,p,_)=>{m||(m=!0,f.appendUI()),_&&(l!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),d.panelView.children.add(f),d})}}class mP extends Xb{constructor(e){const t=e.locale.t;super(e,{commandName:ii,componentName:ii,icon:AC,dropdownLabel:t("Font Color")})}static get pluginName(){return"FontColorUI"}}class e1 extends w{static get requires(){return[dP,mP]}static get pluginName(){return"FontColor"}static get isOfficialPlugin(){return!0}}class fP extends ba{constructor(e){super(e,vi)}}class gP extends w{static get pluginName(){return"FontBackgroundColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(vi,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(iu),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:vi,value:Jb("background-color")}}),e.conversion.for("downcast").attributeToElement({model:vi,view:Qb("background-color")}),e.commands.add(vi,new fP(e)),e.model.schema.extend("$text",{allowAttributes:vi}),e.model.schema.setAttributeProperties(vi,{isFormatting:!0,copyOnEnter:!0})}}class pP extends Xb{constructor(e){const t=e.locale.t;super(e,{commandName:vi,componentName:vi,icon:CC,dropdownLabel:t("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}class t1 extends w{static get requires(){return[gP,pP]}static get pluginName(){return"FontBackgroundColor"}static get isOfficialPlugin(){return!0}}class wP extends w{static get requires(){return[eP,uP,e1,t1]}static get pluginName(){return"Font"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class bP extends O{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document,i=ae(t.selection.getSelectedBlocks());this.value=!!i&&i.is("element","paragraph"),this.isEnabled=!!i&&zm(i,e.schema)}execute(e={}){const t=this.editor.model,i=t.document,o=e.selection||i.selection;t.canEditAt(o)&&t.change(s=>{const r=o.getSelectedBlocks();for(const a of r)!a.is("element","paragraph")&&zm(a,t.schema)&&s.rename(a,"paragraph")})}}function zm(n,e){return e.checkChild(n.parent,"paragraph")&&!e.isObject(n)}class _P extends O{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}execute(e){const t=this.editor.model,i=e.attributes;let o=e.position;return t.canEditAt(o)?t.change(s=>{if(o=this._findPositionToInsertParagraph(o,s),!o)return null;const r=s.createElement("paragraph");return i&&t.schema.setAllowedAttributes(r,i,s),t.insertContent(r,o),s.setSelection(r,"in"),s.createPositionAt(r,0)}):null}_findPositionToInsertParagraph(e,t){const i=this.editor.model;if(i.schema.checkChild(e,"paragraph"))return e;const o=i.schema.findAllowedParent(e,"paragraph");if(!o)return null;const s=e.parent,r=i.schema.checkChild(s,"$text");return s.isEmpty||r&&e.isAtEnd?i.createPositionAfter(s):!s.isEmpty&&r&&e.isAtStart?i.createPositionBefore(s):t.split(e,o).position}}const i1=class n1 extends w{static get pluginName(){return"Paragraph"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model;e.commands.add("paragraph",new bP(e)),e.commands.add("insertParagraph",new _P(e)),t.schema.register("paragraph",{inheritAllFrom:"$block"}),e.conversion.elementToElement({model:"paragraph",view:"p"}),e.conversion.for("upcast").elementToElement({model:(i,{writer:o})=>!n1.paragraphLikeElements.has(i.name)||i.isEmpty?null:o.createElement("paragraph"),view:/.+/,converterPriority:"low"})}};h(i1,"paragraphLikeElements",new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]));let Su=i1;class vP extends w{static get requires(){return[Su]}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("paragraph",i=>{const o=new P(i),s=e.commands.get("paragraph");return o.label=t("Paragraph"),o.icon=yw,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(s),o.bind("isOn").to(s,"value"),o.on("execute",()=>{e.execute("paragraph")}),o})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class yP extends O{constructor(e,t){super(e),h(this,"modelElements"),this.modelElements=t}refresh(){const e=ae(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some(t=>Hm(e,t,this.editor.model.schema))}execute(e){const t=this.editor.model,i=t.document,o=e.value;t.change(s=>{const r=Array.from(i.selection.getSelectedBlocks()).filter(a=>Hm(a,o,t.schema));for(const a of r)a.is("element",o)||s.rename(a,o)})}}function Hm(n,e,t){return t.checkChild(n.parent,e)&&!t.isObject(n)}const $m="paragraph";class kP extends w{static get pluginName(){return"HeadingEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Su]}init(){const e=this.editor,t=e.config.get("heading.options"),i=[];for(const o of t)o.model!=="paragraph"&&(e.model.schema.register(o.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(o),i.push(o.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new yP(e,i))}afterInit(){const e=this.editor,t=e.commands.get("enter"),i=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",(o,s)=>{const r=e.model.document.selection.getFirstPosition().parent;i.some(a=>r.is("element",a.model))&&!r.is("element",$m)&&r.childCount===0&&s.writer.rename(r,$m)})}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:kt.low+1})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function o1(n){const e=n.t,t={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return n.config.get("heading.options").map(i=>{const o=t[i.title];return o&&o!=i.title&&(i.title=o),i})}class CP extends w{static get pluginName(){return"HeadingUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=o1(e),o=t("Choose heading"),s=t("Heading");e.ui.componentFactory.add("heading",r=>{const a={},l=new _e,c=e.commands.get("heading"),u=e.commands.get("paragraph"),d=[c];for(const f of i){const g={type:"button",model:new et({label:f.title,class:f.class,role:"menuitemradio",withText:!0})};f.model==="paragraph"?(g.model.bind("isOn").to(u,"value"),g.model.set("commandName","paragraph"),d.push(u)):(g.model.bind("isOn").to(c,"value",p=>p===f.model),g.model.set({commandName:"heading",commandValue:f.model})),l.add(g),a[f.model]=f.title}const m=Ee(r);return wt(m,l,{ariaLabel:s,role:"menu"}),m.buttonView.set({ariaLabel:s,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:s}),m.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),m.bind("isEnabled").toMany(d,"isEnabled",(...f)=>f.some(g=>g)),m.buttonView.bind("label").to(c,"value",u,"value",(f,g)=>{const p=g?"paragraph":f;return typeof p=="boolean"||!a[p]?o:a[p]}),m.buttonView.bind("ariaLabel").to(c,"value",u,"value",(f,g)=>{const p=g?"paragraph":f;return typeof p=="boolean"||!a[p]?s:`${a[p]}, ${s}`}),this.listenTo(m,"execute",f=>{const{commandName:g,commandValue:p}=f.source;e.execute(g,p?{value:p}:void 0),e.editing.view.focus()}),m}),e.ui.componentFactory.add("menuBar:heading",r=>{const a=new Tt(r),l=e.commands.get("heading"),c=e.commands.get("paragraph"),u=[l],d=new Si(r);a.set({class:"ck-heading-dropdown"}),d.set({ariaLabel:t("Heading"),role:"menu"}),a.buttonView.set({label:t("Heading")}),a.panelView.children.add(d);for(const m of i){const f=new Oi(r,a),g=new ve(r);f.children.add(g),d.items.add(f),g.set({isToggleable:!0,label:m.title,role:"menuitemradio",class:m.class}),g.delegate("execute").to(a),g.on("execute",()=>{const p=m.model==="paragraph"?"paragraph":"heading";e.execute(p,{value:m.model}),e.editing.view.focus()}),m.model==="paragraph"?(g.bind("isOn").to(c,"value"),u.push(c)):g.bind("isOn").to(l,"value",p=>p===m.model)}return a.bind("isEnabled").toMany(u,"isEnabled",(...m)=>m.some(f=>f)),a})}}class AP extends w{static get requires(){return[kP,CP]}static get pluginName(){return"Heading"}static get isOfficialPlugin(){return!0}}const xP={heading1:xC,heading2:TC,heading3:EC,heading4:SC,heading5:PC,heading6:IC};class TP extends w{init(){o1(this.editor).filter(e=>e.model!=="paragraph").map(e=>this._createButton(e))}_createButton(e){const t=this.editor;t.ui.componentFactory.add(e.model,i=>{const o=new P(i),s=t.commands.get("heading");return o.label=e.title,o.icon=e.icon||xP[e.model],o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(s),o.bind("isOn").to(s,"value",r=>r==e.model),o.on("execute",()=>{t.execute("heading",{value:e.model}),t.editing.view.focus()}),o})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class EP extends O{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection;this.isEnabled=SP(i,t,e)}execute(){const e=this.editor.model;e.change(t=>{const i=t.createElement("horizontalLine");e.insertObject(i,null,null,{setSelection:"after"})})}}function SP(n,e,t){const i=PP(n,t);return e.checkChild(i,"horizontalLine")}function PP(n,e){const t=ku(n,e).start.parent;return t.isEmpty&&!t.is("element","$root")?t.parent:t}class IP extends w{static get pluginName(){return"HorizontalLineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,i=e.t,o=e.conversion;t.register("horizontalLine",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToElement({model:"horizontalLine",view:(s,{writer:r})=>r.createEmptyElement("hr")}),o.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(s,{writer:r})=>{const a=i("Horizontal line"),l=r.createContainerElement("div",null,r.createEmptyElement("hr"));return r.addClass("ck-horizontal-line",l),r.setCustomProperty("hr",!0,l),VP(l,r,a)}}),o.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),e.commands.add("horizontalLine",new EP(e))}}function VP(n,e,t){return e.setCustomProperty("horizontalLine",!0,n),gt(n,e,{label:t})}class RP extends w{static get pluginName(){return"HorizontalLineUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("horizontalLine",()=>{const t=this._createButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:horizontalLine",()=>this._createButton(ve))}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("horizontalLine"),s=new e(t.locale),r=i.t;return s.set({label:r("Horizontal line"),icon:VC}),s.bind("isEnabled").to(o,"isEnabled"),this.listenTo(s,"execute",()=>{t.execute("horizontalLine"),t.editing.view.focus()}),s}}class OP extends w{static get requires(){return[IP,RP,Vt]}static get pluginName(){return"HorizontalLine"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function oi(n,e,t,i){e&&BP(n,e,i),t&&si(n,t,i)}function si(n,e,t){if(e.attributes)for(const[i,o]of Object.entries(e.attributes))n.setAttribute(i,o,t);e.styles&&n.setStyle(e.styles,t),e.classes&&n.addClass(e.classes,t)}function BP(n,e,t){if(e.attributes)for(const[i]of Object.entries(e.attributes))n.removeAttribute(i,t);if(e.styles)for(const i of Object.keys(e.styles))n.removeStyle(i,t);e.classes&&n.removeClass(e.classes,t)}function MP(n,e){const t=mt(n);let i="attributes";for(i in e)i=="classes"?t[i]=Array.from(new Set([...n[i]||[],...e[i]])):t[i]={...n[i],...e[i]};return t}function jn(n,e,t,i,o){const s=e.getAttribute(t),r={};for(const a of["attributes","styles","classes"]){if(a!=i){s&&s[a]&&(r[a]=s[a]);continue}if(i=="classes"){const c=new Set(s&&s.classes||[]);o(c),c.size&&(r[a]=Array.from(c));continue}const l=new Map(Object.entries(s&&s[a]||{}));o(l),l.size&&(r[a]=Object.fromEntries(l))}Object.keys(r).length?e.is("documentSelection")?n.setSelectionAttribute(t,r):n.setAttribute(t,r,e):s&&(e.is("documentSelection")?n.removeSelectionAttribute(t):n.removeAttribute(t,e))}function LP(n){return A_(n).replace(/ /g,"")}function Ft(n){return`html${LP(n)}Attributes`}function Pu({model:n}){return(e,t)=>t.writer.createElement(n,{htmlContent:e.getCustomProperty("$rawContent")})}function FP(n,{view:e,isInline:t}){const i=n.t;return(o,{writer:s})=>{const r=i("HTML object"),a=_a(e,o,s),l=o.getAttribute(Ft(e));s.addClass("html-object-embed__content",a),l&&si(s,l,a);const c=s.createContainerElement(t?"span":"div",{class:"html-object-embed","data-html-object-embed-label":r},a);return gt(c,s,{label:r})}}function _a(n,e,t){return t.createRawElement(n,null,(i,o)=>{o.setContentOf(i,e.getAttribute("htmlContent"))})}function NP({view:n,model:e,allowEmpty:t},i){return s=>{s.on(`element:${n}`,(r,a,l)=>{let c=i.processViewAttributes(a.viewItem,l);if(!(!c&&!l.consumable.test(a.viewItem,{name:!0}))){if(c=c||{},l.consumable.consume(a.viewItem,{name:!0}),a.modelRange||(a=Object.assign(a,l.convertChildren(a.viewItem,a.modelCursor))),t&&a.modelRange.isCollapsed&&Object.keys(c).length){const u=l.writer.createElement("htmlEmptyElement");if(!l.safeInsert(u,a.modelCursor))return;const d=l.getSplitParts(u);a.modelRange=l.writer.createRange(a.modelRange.start,l.writer.createPositionAfter(d[d.length-1])),l.updateConversionResult(u,a),o(u,c,l);return}for(const u of a.modelRange.getItems())o(u,c,l)}},{priority:"low"})};function o(s,r,a){if(a.schema.checkAttribute(s,e)){const l=s.getAttribute(e),c=MP(r,l||{});a.writer.setAttribute(e,c,s)}}}function Wm({model:n,view:e},t){return(i,{writer:o,consumable:s})=>{if(!i.hasAttribute(n))return null;const r=o.createContainerElement(e),a=i.getAttribute(n);return s.consume(i,`attribute:${n}`),si(o,a,r),r.getFillerOffset=()=>null,t?gt(r,o):r}}function DP({priority:n,view:e}){return(t,i)=>{if(!t)return;const{writer:o}=i,s=o.createAttributeElement(e,null,{priority:n});return si(o,t,s),s}}function mo({view:n},e){return t=>{t.on(`element:${n}`,(i,o,s)=>{if(!o.modelRange||o.modelRange.isCollapsed)return;const r=e.processViewAttributes(o.viewItem,s);r&&s.writer.setAttribute(Ft(o.viewItem.name),r,o.modelRange)},{priority:"low"})}}function vs({view:n,model:e}){return t=>{t.on(`attribute:${Ft(n)}:${e}`,(i,o,s)=>{if(!s.consumable.consume(o.item,i.name))return;const{attributeOldValue:r,attributeNewValue:a}=o,l=s.writer,c=s.mapper.toViewElement(o.item);oi(l,r,a,c)})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */var jm={block:[{model:"codeBlock",view:"pre"},{model:"paragraph",view:"p"},{model:"blockQuote",view:"blockquote"},{model:"listItem",view:"li"},{model:"pageBreak",view:"div"},{model:"rawHtml",view:"div"},{model:"table",view:"table"},{model:"tableRow",view:"tr"},{model:"tableCell",view:"td"},{model:"tableCell",view:"th"},{model:"tableColumnGroup",view:"colgroup"},{model:"tableColumn",view:"col"},{model:"caption",view:"caption"},{model:"caption",view:"figcaption"},{model:"imageBlock",view:"img"},{model:"imageInline",view:"img"},{model:"horizontalLine",view:"hr"},{model:"htmlP",view:"p",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlBlockquote",view:"blockquote",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlTable",view:"table",modelSchema:{allowWhere:"$block",isBlock:!0}},{model:"htmlTbody",view:"tbody",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlThead",view:"thead",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlTfoot",view:"tfoot",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlCaption",view:"caption",modelSchema:{allowIn:"htmlTable",allowChildren:"$text",isBlock:!1}},{model:"htmlColgroup",view:"colgroup",modelSchema:{allowIn:"htmlTable",allowChildren:"col",isBlock:!1}},{model:"htmlCol",view:"col",modelSchema:{allowIn:"htmlColgroup",isBlock:!1}},{model:"htmlTr",view:"tr",modelSchema:{allowIn:["htmlTable","htmlThead","htmlTbody"],isLimit:!0}},{model:"htmlTd",view:"td",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlTh",view:"th",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlFigure",view:"figure",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFigcaption",view:"figcaption",modelSchema:{allowIn:"htmlFigure",allowChildren:"$text",isBlock:!1}},{model:"htmlAddress",view:"address",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlAside",view:"aside",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlMain",view:"main",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDetails",view:"details",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSummary",view:"summary",modelSchema:{allowChildren:["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6","$text"],allowIn:"htmlDetails",isBlock:!1}},{model:"htmlDiv",view:"div",paragraphLikeModel:"htmlDivParagraph",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlFieldset",view:"fieldset",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlLegend",view:"legend",modelSchema:{allowIn:"htmlFieldset",allowChildren:"$text"}},{model:"htmlHeader",view:"header",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFooter",view:"footer",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlForm",view:"form",modelSchema:{inheritAllFrom:"$container",isBlock:!0}},{model:"htmlHgroup",view:"hgroup",modelSchema:{allowIn:["$root","$container"],allowChildren:["paragraph","htmlP","htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"],isBlock:!1}},{model:"htmlH1",view:"h1",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH2",view:"h2",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH3",view:"h3",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH4",view:"h4",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH5",view:"h5",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH6",view:"h6",modelSchema:{inheritAllFrom:"$block"}},{model:"$htmlList",modelSchema:{allowWhere:"$container",allowChildren:["$htmlList","htmlLi"],isBlock:!1}},{model:"htmlDir",view:"dir",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlMenu",view:"menu",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlUl",view:"ul",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlOl",view:"ol",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlLi",view:"li",modelSchema:{allowIn:"$htmlList",allowChildren:"$text",isBlock:!1}},{model:"htmlPre",view:"pre",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlArticle",view:"article",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSection",view:"section",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlNav",view:"nav",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDivDl",view:"div",modelSchema:{allowChildren:["htmlDt","htmlDd"],allowIn:"htmlDl"}},{model:"htmlDl",view:"dl",modelSchema:{allowWhere:"$container",allowChildren:["htmlDt","htmlDd","htmlDivDl"],isBlock:!1}},{model:"htmlDt",view:"dt",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlDd",view:"dd",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlCenter",view:"center",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlHr",view:"hr",isEmpty:!0,modelSchema:{inheritAllFrom:"$blockObject"}}],inline:[{model:"htmlLiAttributes",view:"li",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlOlAttributes",view:"ol",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlUlAttributes",view:"ul",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"table"},{model:"htmlTheadAttributes",view:"thead",appliesToBlock:"table"},{model:"htmlTbodyAttributes",view:"tbody",appliesToBlock:"table"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"imageBlock"},{model:"htmlAcronym",view:"acronym",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTt",view:"tt",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlFont",view:"font",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTime",view:"time",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlVar",view:"var",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBig",view:"big",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSmall",view:"small",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSamp",view:"samp",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlQ",view:"q",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlOutput",view:"output",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlKbd",view:"kbd",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdi",view:"bdi",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdo",view:"bdo",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlAbbr",view:"abbr",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlA",view:"a",priority:5,coupledAttribute:"linkHref"},{model:"htmlStrong",view:"strong",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlB",view:"b",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlI",view:"i",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlEm",view:"em",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlS",view:"s",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDel",view:"del",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlIns",view:"ins",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlU",view:"u",coupledAttribute:"underline",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSub",view:"sub",coupledAttribute:"subscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSup",view:"sup",coupledAttribute:"superscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCode",view:"code",coupledAttribute:"code",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlMark",view:"mark",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSpan",view:"span",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCite",view:"cite",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlLabel",view:"label",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDfn",view:"dfn",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlObject",view:"object",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlIframe",view:"iframe",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlInput",view:"input",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlButton",view:"button",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlTextarea",view:"textarea",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlSelect",view:"select",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlVideo",view:"video",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlEmbed",view:"embed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlOembed",view:"oembed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlAudio",view:"audio",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlImg",view:"img",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlCanvas",view:"canvas",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlMeter",view:"meter",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlProgress",view:"progress",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlScript",view:"script",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlStyle",view:"style",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlCustomElement",view:"$customElement",modelSchema:{allowWhere:["$text","$block"],allowAttributesOf:"$inlineObject",isInline:!0}}]};class fo extends w{constructor(){super(...arguments),h(this,"_definitions",[])}static get pluginName(){return"DataSchema"}static get isOfficialPlugin(){return!0}init(){for(const e of jm.block)this.registerBlockElement(e);for(const e of jm.inline)this.registerInlineElement(e)}registerBlockElement(e){this._definitions.push({...e,isBlock:!0})}registerInlineElement(e){this._definitions.push({...e,isInline:!0})}extendBlockElement(e){this._extendDefinition({...e,isBlock:!0})}extendInlineElement(e){this._extendDefinition({...e,isInline:!0})}getDefinitionsForView(e,t=!1){const i=new Set;for(const o of this._getMatchingViewDefinitions(e)){if(t)for(const s of this._getReferences(o.model))i.add(s);i.add(o)}return i}getDefinitionsForModel(e){return this._definitions.filter(t=>t.model==e)}_getMatchingViewDefinitions(e){return this._definitions.filter(t=>t.view&&zP(e,t.view))}*_getReferences(e){const t=["inheritAllFrom","inheritTypesFrom","allowWhere","allowContentOf","allowAttributesOf"],i=this._definitions.filter(o=>o.model==e);for(const{modelSchema:o}of i)if(o)for(const s of t)for(const r of he(o[s]||[])){const a=this._definitions.filter(l=>l.model==r);for(const l of a)r!==e&&(yield*this._getReferences(l.model),yield l)}}_extendDefinition(e){const t=Array.from(this._definitions.entries()).filter(([,i])=>i.model==e.model);if(t.length==0){this._definitions.push(e);return}for(const[i,o]of t)this._definitions[i]=Og({},o,e,(s,r)=>Array.isArray(s)?s.concat(r):void 0)}}function zP(n,e){return typeof n=="string"?n===e:n instanceof RegExp?n.test(e):!1}class Pe extends w{constructor(e){super(e),h(this,"_dataSchema"),h(this,"_allowedAttributes"),h(this,"_disallowedAttributes"),h(this,"_allowedElements"),h(this,"_disallowedElements"),h(this,"_dataInitialized"),h(this,"_coupledAttributes"),this._dataSchema=e.plugins.get("DataSchema"),this._allowedAttributes=new ft,this._disallowedAttributes=new ft,this._allowedElements=new Set,this._disallowedElements=new Set,this._dataInitialized=!1,this._coupledAttributes=null,this._registerElementsAfterInit(),this._registerElementHandlers(),this._registerCoupledAttributesPostFixer(),this._registerAssociatedHtmlAttributesPostFixer()}static get pluginName(){return"DataFilter"}static get isOfficialPlugin(){return!0}static get requires(){return[fo,Vt]}loadAllowedConfig(e){for(const t of e){const i=t.name||/[\s\S]+/,o=qm(t);this.allowElement(i),o.forEach(s=>this.allowAttributes(s))}}loadDisallowedConfig(e){for(const t of e){const i=t.name||/[\s\S]+/,o=qm(t);o.length==0?this.disallowElement(i):o.forEach(s=>this.disallowAttributes(s))}}loadAllowedEmptyElementsConfig(e){for(const t of e)this.allowEmptyElement(t)}allowElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!0))this._addAllowedElement(t),this._coupledAttributes=null}disallowElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!1))this._disallowedElements.add(t.view)}allowEmptyElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!0))t.isInline&&this._dataSchema.extendInlineElement({...t,allowEmpty:!0})}allowAttributes(e){this._allowedAttributes.add(e)}disallowAttributes(e){this._disallowedAttributes.add(e)}processViewAttributes(e,t){const{consumable:i}=t;return Um(e,this._disallowedAttributes,i),HP(e,Um(e,this._allowedAttributes,i))}_addAllowedElement(e){if(!this._allowedElements.has(e)){if(this._allowedElements.add(e),"appliesToBlock"in e&&typeof e.appliesToBlock=="string")for(const t of this._dataSchema.getDefinitionsForModel(e.appliesToBlock))t.isBlock&&this._addAllowedElement(t);this._dataInitialized&&this.editor.data.once("set",()=>{this._fireRegisterEvent(e)},{priority:kt.highest+1})}}_registerElementsAfterInit(){this.editor.data.on("init",()=>{this._dataInitialized=!0;for(const e of this._allowedElements)this._fireRegisterEvent(e)},{priority:kt.highest+1})}_registerElementHandlers(){this.on("register",(e,t)=>{const i=this.editor.model.schema;if(t.isObject&&!i.isRegistered(t.model))this._registerObjectElement(t);else if(t.isBlock)this._registerBlockElement(t);else if(t.isInline)this._registerInlineElement(t);else throw new b("data-filter-invalid-definition",null,t);e.stop()},{priority:"lowest"})}_registerCoupledAttributesPostFixer(){const e=this.editor.model,t=e.document.selection;e.document.registerPostFixer(i=>{const o=e.document.differ.getChanges();let s=!1;const r=this._getCoupledAttributesMap();for(const a of o){if(a.type!="attribute"||a.attributeNewValue!==null)continue;const l=r.get(a.attributeKey);if(l)for(const{item:c}of a.range.getWalker())for(const u of l)c.hasAttribute(u)&&(i.removeAttribute(u,c),s=!0)}return s}),this.listenTo(t,"change:attribute",(i,{attributeKeys:o})=>{const s=new Set,r=this._getCoupledAttributesMap();for(const a of o){if(t.hasAttribute(a))continue;const l=r.get(a);if(l)for(const c of l)t.hasAttribute(c)&&s.add(c)}s.size!=0&&e.change(a=>{for(const l of s)a.removeSelectionAttribute(l)})})}_registerAssociatedHtmlAttributesPostFixer(){const e=this.editor.model;e.document.registerPostFixer(t=>{const i=e.document.differ.getChanges();let o=!1;for(const s of i)if(!(s.type!=="insert"||s.name==="$text"))for(const r of s.attributes.keys())!r.startsWith("html")||!r.endsWith("Attributes")||e.schema.checkAttribute(s.name,r)||(t.removeAttribute(r,s.position.nodeAfter),o=!0);return o})}_getCoupledAttributesMap(){if(this._coupledAttributes)return this._coupledAttributes;this._coupledAttributes=new Map;for(const e of this._allowedElements)if(e.coupledAttribute&&e.model){const t=this._coupledAttributes.get(e.coupledAttribute);t?t.push(e.model):this._coupledAttributes.set(e.coupledAttribute,[e.model])}return this._coupledAttributes}_fireRegisterEvent(e){e.view&&this._disallowedElements.has(e.view)||this.fire(e.view?`register:${e.view}`:"register",e)}_registerObjectElement(e){const t=this.editor,i=t.model.schema,o=t.conversion,{view:s,model:r}=e;i.register(r,e.modelSchema);/* istanbul ignore next: paranoid check -- @preserve */s&&(i.extend(e.model,{allowAttributes:[Ft(s),"htmlContent"]}),t.data.registerRawContentMatcher({name:s}),o.for("upcast").elementToElement({view:s,model:Pu(e),converterPriority:kt.low+2}),o.for("upcast").add(mo(e,this)),o.for("editingDowncast").elementToStructure({model:{name:r,attributes:[Ft(s)]},view:FP(t,e)}),o.for("dataDowncast").elementToElement({model:r,view:(a,{writer:l})=>_a(s,a,l)}),o.for("dataDowncast").add(vs(e)))}_registerBlockElement(e){const t=this.editor,i=t.model.schema,o=t.conversion,{view:s,model:r}=e;if(!i.isRegistered(e.model)){if(!e.modelSchema||(i.register(e.model,e.modelSchema),!s))return;o.for("upcast").elementToElement({model:r,view:s,converterPriority:kt.low+2}),o.for("downcast").elementToElement({model:r,view:(a,{writer:l})=>e.isEmpty?l.createEmptyElement(s):l.createContainerElement(s)})}s&&(i.extend(e.model,{allowAttributes:Ft(s)}),o.for("upcast").add(mo(e,this)),o.for("downcast").add(vs(e)))}_registerInlineElement(e){const t=this.editor,i=t.model.schema,o=t.conversion,s=e.model;if(!e.appliesToBlock&&(i.extend("$text",{allowAttributes:s}),e.attributeProperties&&i.setAttributeProperties(s,e.attributeProperties),o.for("upcast").add(NP(e,this)),o.for("downcast").attributeToElement({model:s,view:DP(e)}),!!e.allowEmpty)){if(i.setAttributeProperties(s,{copyFromObject:!1}),!i.isRegistered("htmlEmptyElement")){i.register("htmlEmptyElement",{inheritAllFrom:"$inlineObject"});const r=a=>Array.from(a.getAttributeKeys()).some(l=>l.startsWith("html"));t.model.document.registerPostFixer(a=>{const l=t.model.document.differ.getChanges(),c=new Set;for(const u of l)if(u.type!=="remove"){if(u.type==="attribute"&&u.attributeNewValue===null)for(const{item:d}of u.range)d.is("element","htmlEmptyElement")&&!r(d)&&c.add(d);if(u.type==="insert"&&u.position.nodeAfter){const d=u.position.nodeAfter;for(const{item:m}of a.createRangeOn(d))m.is("element","htmlEmptyElement")&&!r(m)&&c.add(m)}}for(const u of c)a.remove(u);return c.size>0})}t.data.htmlProcessor.domConverter.registerInlineObjectMatcher(r=>r.name==e.view&&r.isEmpty&&Array.from(r.getAttributeKeys()).length?{name:!0}:null),o.for("editingDowncast").elementToElement({model:"htmlEmptyElement",view:Wm(e,!0)}),o.for("dataDowncast").elementToElement({model:"htmlEmptyElement",view:Wm(e)})}}}function Um(n,e,t){const i=e.matchAll(n)||[],o=n.document.stylesProcessor;return i.reduce((s,{match:r})=>{for(const[a,l]of r.attributes||[])if(a=="style"){const c=l,u=o.getRelatedStyles(c).filter(d=>d.split("-").length>c.split("-").length).sort((d,m)=>m.split("-").length-d.split("-").length);for(const d of u)t.consume(n,{styles:[d]})&&s.styles.push(d);t.consume(n,{styles:[c]})&&s.styles.push(c)}else if(a=="class"){const c=l;t.consume(n,{classes:[c]})&&s.classes.push(c)}else t.consume(n,{attributes:[a]})&&s.attributes.push(a);return s},{attributes:[],classes:[],styles:[]})}function HP(n,{attributes:e,classes:t,styles:i}){return!e.length&&!t.length&&!i.length?null:{...e.length&&{attributes:$P(n,e)},...i.length&&{styles:WP(n,i)},...t.length&&{classes:t}}}function $P(n,e){const t={};for(const i of e){const o=n.getAttribute(i);o!==void 0&&tp(i)&&(t[i]=o)}return t}function WP(n,e){const t=new so(n.document.stylesProcessor);for(const i of e){const o=n.getStyle(i);o!==void 0&&t.set(i,o)}return Object.fromEntries(t.getStylesEntries())}function pl(n,e){const{name:t}=n,i=n[e];return Ut(i)?Object.entries(i).map(([o,s])=>({name:t,[e]:{[o]:s}})):Array.isArray(i)?i.map(o=>({name:t,[e]:[o]})):[n]}function qm(n){const{name:e,attributes:t,classes:i,styles:o}=n,s=[];return t&&s.push(...pl({name:e,attributes:t},"attributes")),i&&s.push(...pl({name:e,classes:i},"classes")),o&&s.push(...pl({name:e,styles:o},"styles")),s}class jP extends w{static get requires(){return[Pe]}static get pluginName(){return"CodeBlockElementSupport"}static get isOfficialPlugin(){return!0}init(){if(!this.editor.plugins.has("CodeBlockEditing"))return;const e=this.editor.plugins.get(Pe);e.on("register:pre",(t,i)=>{if(i.model!=="codeBlock")return;const o=this.editor,s=o.model.schema,r=o.conversion;s.extend("codeBlock",{allowAttributes:["htmlPreAttributes","htmlContentAttributes"]}),r.for("upcast").add(UP(e)),r.for("downcast").add(qP()),t.stop()})}}function UP(n){return e=>{e.on("element:code",(t,i,o)=>{const s=i.viewItem,r=s.parent;if(!r||!r.is("element","pre"))return;a(r,"htmlPreAttributes"),a(s,"htmlContentAttributes");function a(l,c){const u=n.processViewAttributes(l,o);u&&o.writer.setAttribute(c,u,i.modelRange)}},{priority:"low"})}}function qP(){return n=>{n.on("attribute:htmlPreAttributes:codeBlock",(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const{attributeOldValue:o,attributeNewValue:s}=t,r=i.mapper.toViewElement(t.item).parent;oi(i.writer,o,s,r)}),n.on("attribute:htmlContentAttributes:codeBlock",(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const{attributeOldValue:o,attributeNewValue:s}=t,r=i.mapper.toViewElement(t.item);oi(i.writer,o,s,r)})}}class GP extends w{static get requires(){return[Pe]}static get pluginName(){return"DualContentModelElementSupport"}static get isOfficialPlugin(){return!0}init(){this.editor.plugins.get(Pe).on("register",(e,t)=>{const i=t,o=this.editor,s=o.model.schema,r=o.conversion;if(!i.paragraphLikeModel||s.isRegistered(i.model)||s.isRegistered(i.paragraphLikeModel))return;const a={model:i.paragraphLikeModel,view:i.view};s.register(i.model,i.modelSchema),s.register(a.model,{inheritAllFrom:"$block"}),r.for("upcast").elementToElement({view:i.view,model:(l,{writer:c})=>this._hasBlockContent(l)?c.createElement(i.model):c.createElement(a.model),converterPriority:kt.low+.5}),r.for("downcast").elementToElement({view:i.view,model:i.model}),this._addAttributeConversion(i),r.for("downcast").elementToElement({view:a.view,model:a.model}),this._addAttributeConversion(a),e.stop()})}_hasBlockContent(e){const t=this.editor.editing.view,i=t.domConverter.blockElements;for(const o of t.createRangeIn(e).getItems())if(o.is("element")&&i.includes(o.name))return!0;return!1}_addAttributeConversion(e){const t=this.editor,i=t.conversion,o=t.plugins.get(Pe);t.model.schema.extend(e.model,{allowAttributes:Ft(e.view)}),i.for("upcast").add(mo(e,o)),i.for("downcast").add(vs(e))}}class KP extends w{static get requires(){return[fo,Ao]}static get pluginName(){return"HeadingElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("HeadingEditing"))return;const t=e.config.get("heading.options");this.registerHeadingElements(e,t)}registerHeadingElements(e,t){const i=e.plugins.get(fo),o=[];for(const s of t)"model"in s&&"view"in s&&(i.registerBlockElement({view:s.view,model:s.model}),o.push(s.model));i.extendBlockElement({model:"htmlHgroup",modelSchema:{allowChildren:o}}),i.extendBlockElement({model:"htmlSummary",modelSchema:{allowChildren:o}})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function ys(n,e,t){const i=n.createRangeOn(e);for(const{item:o}of i.getWalker())if(o.is("element",t))return o}class ZP extends w{static get requires(){return[Pe]}static get pluginName(){return"ImageElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("ImageInlineEditing")&&!e.plugins.has("ImageBlockEditing"))return;const t=e.model.schema,i=e.conversion,o=e.plugins.get(Pe);o.on("register:figure",()=>{i.for("upcast").add(YP(o))}),o.on("register:img",(s,r)=>{r.model!=="imageBlock"&&r.model!=="imageInline"||(t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["htmlImgAttributes","htmlFigureAttributes","htmlLinkAttributes"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["htmlA","htmlImgAttributes"]}),i.for("upcast").add(JP(o)),i.for("downcast").add(XP()),e.plugins.has("LinkImage")&&i.for("upcast").add(QP(o,e)),s.stop())})}}function JP(n){return e=>{e.on("element:img",(t,i,o)=>{if(!i.modelRange)return;const s=i.viewItem,r=n.processViewAttributes(s,o);r&&o.writer.setAttribute("htmlImgAttributes",r,i.modelRange)},{priority:"low"})}}function QP(n,e){const t=e.plugins.get("ImageUtils");return i=>{i.on("element:a",(o,s,r)=>{const a=s.viewItem;if(!t.findViewImgElement(a))return;const l=s.modelCursor.parent;if(!l.is("element","imageBlock"))return;const c=n.processViewAttributes(a,r);c&&r.writer.setAttribute("htmlLinkAttributes",c,l)},{priority:"low"})}}function YP(n){return e=>{e.on("element:figure",(t,i,o)=>{const s=i.viewItem;if(!i.modelRange||!s.hasClass("image"))return;const r=n.processViewAttributes(s,o);r&&o.writer.setAttribute("htmlFigureAttributes",r,i.modelRange)},{priority:"low"})}}function XP(){return n=>{e("htmlImgAttributes"),t("img","htmlImgAttributes"),t("figure","htmlFigureAttributes"),t("a","htmlLinkAttributes");function e(i){n.on(`attribute:${i}:imageInline`,(o,s,r)=>{if(!r.consumable.consume(s.item,o.name))return;const{attributeOldValue:a,attributeNewValue:l}=s,c=r.mapper.toViewElement(s.item);oi(r.writer,a,l,c)},{priority:"low"})}function t(i,o){n.on(`attribute:${o}:imageBlock`,(s,r,a)=>{if(!a.consumable.test(r.item,s.name))return;const{attributeOldValue:l,attributeNewValue:c}=r,u=a.mapper.toViewElement(r.item),d=ys(a.writer,u,i);d&&(oi(a.writer,l,c,d),a.consumable.consume(r.item,s.name))},{priority:"low"}),i==="a"&&n.on("attribute:linkHref:imageBlock",(s,r,a)=>{if(!a.consumable.consume(r.item,"attribute:htmlLinkAttributes:imageBlock"))return;const l=a.mapper.toViewElement(r.item),c=ys(a.writer,l,"a");si(a.writer,r.item.getAttribute("htmlLinkAttributes"),c)},{priority:"low"})}}}class e4 extends w{static get requires(){return[Pe]}static get pluginName(){return"MediaEmbedElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("MediaEmbed")||e.config.get("mediaEmbed.previewsInData"))return;const t=e.model.schema,i=e.conversion,o=this.editor.plugins.get(Pe),s=this.editor.plugins.get(fo),r=e.config.get("mediaEmbed.elementName");s.registerBlockElement({model:"media",view:r}),o.on("register:figure",()=>{i.for("upcast").add(i4(o))}),o.on(`register:${r}`,(a,l)=>{l.model==="media"&&(t.extend("media",{allowAttributes:[Ft(r),"htmlFigureAttributes"]}),i.for("upcast").add(t4(o,r)),i.for("dataDowncast").add(n4(r)),a.stop())})}}function t4(n,e){const t=(i,o,s)=>{const r=o.viewItem;a(r,Ft(e));function a(l,c){const u=n.processViewAttributes(l,s);u&&s.writer.setAttribute(c,u,o.modelRange)}};return i=>{i.on(`element:${e}`,t,{priority:"low"})}}function i4(n){return e=>{e.on("element:figure",(t,i,o)=>{const s=i.viewItem;if(!i.modelRange||!s.hasClass("media"))return;const r=n.processViewAttributes(s,o);r&&o.writer.setAttribute("htmlFigureAttributes",r,i.modelRange)},{priority:"low"})}}function n4(n){return e=>{t(n,Ft(n)),t("figure","htmlFigureAttributes");function t(i,o){e.on(`attribute:${o}:media`,(s,r,a)=>{if(!a.consumable.consume(r.item,s.name))return;const{attributeOldValue:l,attributeNewValue:c}=r,u=a.mapper.toViewElement(r.item),d=ys(a.writer,u,i);oi(a.writer,l,c,d)})}}}class o4 extends w{static get requires(){return[Pe]}static get pluginName(){return"ScriptElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(Pe);e.on("register:script",(t,i)=>{const o=this.editor,s=o.model.schema,r=o.conversion;s.register("htmlScript",i.modelSchema),s.extend("htmlScript",{allowAttributes:["htmlScriptAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"script"}),r.for("upcast").elementToElement({view:"script",model:Pu(i)}),r.for("upcast").add(mo(i,e)),r.for("downcast").elementToElement({model:"htmlScript",view:(a,{writer:l})=>_a("script",a,l)}),r.for("downcast").add(vs(i)),t.stop()})}}const s4=["width","max-width","min-width","height","min-height","max-height"];class r4 extends w{static get requires(){return[Pe]}static get pluginName(){return"TableElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("TableEditing"))return;const t=e.model.schema,i=e.conversion,o=e.plugins.get(Pe),s=e.plugins.get("TableUtils");o.on("register:figure",()=>{i.for("upcast").add(c4(o))}),o.on("register:table",(r,a)=>{a.model==="table"&&(t.extend("table",{allowAttributes:["htmlTableAttributes","htmlFigureAttributes","htmlTheadAttributes","htmlTbodyAttributes"]}),i.for("upcast").add(l4(o)),i.for("downcast").add(u4()),e.model.document.registerPostFixer(a4(e.model,s)),r.stop())})}}function a4(n,e){return t=>{const i=n.document.differ.getChanges();let o=!1;for(const s of i){if(s.type!="attribute"||s.attributeKey!="headingRows")continue;const r=s.range.start.nodeAfter,a=r.getAttribute("htmlTheadAttributes"),l=r.getAttribute("htmlTbodyAttributes");a&&!s.attributeNewValue?(t.removeAttribute("htmlTheadAttributes",r),o=!0):l&&s.attributeNewValue==e.getRows(r)&&(t.removeAttribute("htmlTbodyAttributes",r),o=!0)}return o}}function l4(n){return e=>{e.on("element:table",(t,i,o)=>{if(!i.modelRange)return;const s=i.viewItem;r(s,"htmlTableAttributes");for(const a of s.getChildren())a.is("element","thead")&&r(a,"htmlTheadAttributes"),a.is("element","tbody")&&r(a,"htmlTbodyAttributes");function r(a,l){const c=n.processViewAttributes(a,o);c&&o.writer.setAttribute(l,c,i.modelRange)}},{priority:"low"})}}function c4(n){return e=>{e.on("element:figure",(t,i,o)=>{const s=i.viewItem;if(!i.modelRange||!s.hasClass("table"))return;const r=n.processViewAttributes(s,o);r&&o.writer.setAttribute("htmlFigureAttributes",r,i.modelRange)},{priority:"low"})}}function u4(){return n=>{e("table","htmlTableAttributes"),e("figure","htmlFigureAttributes"),e("thead","htmlTheadAttributes"),e("tbody","htmlTbodyAttributes");function e(t,i){n.on(`attribute:${i}:table`,(o,s,r)=>{if(!r.consumable.test(s.item,o.name))return;const a=r.mapper.toViewElement(s.item),l=ys(r.writer,a,t);if(l)if(r.consumable.consume(s.item,o.name),i==="htmlTableAttributes"&&a!==l){const c=Gm(s.attributeOldValue),u=Gm(s.attributeNewValue);oi(r.writer,c.tableAttributes,u.tableAttributes,l),oi(r.writer,c.figureAttributes,u.figureAttributes,a)}else oi(r.writer,s.attributeOldValue,s.attributeNewValue,l)})}}}function Gm(n){const e={},t={...n};if(!n||!("styles"in n))return{figureAttributes:e,tableAttributes:t};t.styles={};for(const[i,o]of Object.entries(n.styles))s4.includes(i)?e.styles={...e.styles,[i]:o}:t.styles={...t.styles,[i]:o};return{figureAttributes:e,tableAttributes:t}}class h4 extends w{static get requires(){return[Pe]}static get pluginName(){return"StyleElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(Pe);e.on("register:style",(t,i)=>{const o=this.editor,s=o.model.schema,r=o.conversion;s.register("htmlStyle",i.modelSchema),s.extend("htmlStyle",{allowAttributes:["htmlStyleAttributes","htmlContent"],isContent:!0}),o.data.registerRawContentMatcher({name:"style"}),r.for("upcast").elementToElement({view:"style",model:Pu(i)}),r.for("upcast").add(mo(i,e)),r.for("downcast").elementToElement({model:"htmlStyle",view:(a,{writer:l})=>_a("style",a,l)}),r.for("downcast").add(vs(i)),t.stop()})}}class d4 extends w{static get requires(){return[Pe]}static get pluginName(){return"ListElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("ListEditing"))return;const t=e.model.schema,i=e.conversion,o=e.plugins.get(Pe),s=e.plugins.get("ListEditing"),r=e.plugins.get("ListUtils"),a=["ul","ol","li"];s.registerDowncastStrategy({scope:"item",attributeName:"htmlLiAttributes",setAttributeOnDowncast:si}),s.registerDowncastStrategy({scope:"list",attributeName:"htmlUlAttributes",setAttributeOnDowncast:si}),s.registerDowncastStrategy({scope:"list",attributeName:"htmlOlAttributes",setAttributeOnDowncast:si}),o.on("register",(l,c)=>{if(!a.includes(c.view)||(l.stop(),t.checkAttribute("$block","htmlLiAttributes")))return;const u=a.map(d=>Ft(d));t.extend("$listItem",{allowAttributes:u}),i.for("upcast").add(d=>{d.on("element:ul",wl("htmlUlAttributes",o),{priority:"low"}),d.on("element:ol",wl("htmlOlAttributes",o),{priority:"low"}),d.on("element:li",wl("htmlLiAttributes",o),{priority:"low"})})}),s.on("postFixer",(l,{listNodes:c,writer:u})=>{for(const{node:d,previousNodeInList:m}of c)if(m){if(m.getAttribute("listType")==d.getAttribute("listType")){const f=Km(m.getAttribute("listType")),g=m.getAttribute(f);!lo(d.getAttribute(f),g)&&u.model.schema.checkAttribute(d,f)&&(u.setAttribute(f,g,d),l.return=!0)}if(m.getAttribute("listItemId")==d.getAttribute("listItemId")){const f=m.getAttribute("htmlLiAttributes");!lo(d.getAttribute("htmlLiAttributes"),f)&&u.model.schema.checkAttribute(d,"htmlLiAttributes")&&(u.setAttribute("htmlLiAttributes",f,d),l.return=!0)}}}),s.on("postFixer",(l,{listNodes:c,writer:u})=>{for(const{node:d}of c){const m=d.getAttribute("listType");!r.isNumberedListType(m)&&d.getAttribute("htmlOlAttributes")&&(u.removeAttribute("htmlOlAttributes",d),l.return=!0),r.isNumberedListType(m)&&d.getAttribute("htmlUlAttributes")&&(u.removeAttribute("htmlUlAttributes",d),l.return=!0)}})}afterInit(){const e=this.editor;if(!e.commands.get("indentList"))return;const t=e.commands.get("indentList");this.listenTo(t,"afterExecute",(i,o)=>{e.model.change(s=>{for(const r of o){const a=Km(r.getAttribute("listType"));e.model.schema.checkAttribute(r,a)&&s.setAttribute(a,{},r)}})})}}function wl(n,e){return(t,i,o)=>{const s=i.viewItem;i.modelRange||Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor));const r=e.processViewAttributes(s,o);for(const a of i.modelRange.getItems({shallow:!0}))a.hasAttribute("listItemId")&&(a.hasAttribute("htmlUlAttributes")||a.hasAttribute("htmlOlAttributes")||o.writer.model.schema.checkAttribute(a,n)&&o.writer.setAttribute(n,r||{},a))}}function Km(n){return n==="numbered"||n=="customNumbered"?"htmlOlAttributes":"htmlUlAttributes"}class m4 extends w{static get requires(){return[Pe]}static get pluginName(){return"HorizontalLineElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("HorizontalLineEditing"))return;const t=e.model.schema,i=e.conversion,o=e.plugins.get(Pe);o.on("register:hr",(s,r)=>{r.model==="horizontalLine"&&(t.extend("horizontalLine",{allowAttributes:["htmlHrAttributes"]}),i.for("upcast").add(mo(r,o)),i.for("downcast").add(f4()),s.stop())})}}function f4(){return n=>{n.on("attribute:htmlHrAttributes:horizontalLine",(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const{attributeOldValue:o,attributeNewValue:s}=t,r=i.mapper.toViewElement(t.item),a=ys(i.writer,r,"hr");a&&(oi(i.writer,o,s,a),i.consumable.consume(t.item,e.name))},{priority:"low"})}}class g4 extends w{static get requires(){return[Pe,fo]}static get pluginName(){return"CustomElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(Pe),t=this.editor.plugins.get(fo);e.on("register:$customElement",(i,o)=>{i.stop();const s=this.editor,r=s.model.schema,a=s.conversion,l=s.editing.view.domConverter.unsafeElements,c=s.data.htmlProcessor.domConverter.preElements;r.register(o.model,o.modelSchema),r.extend(o.model,{allowAttributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"],isContent:!0}),s.data.htmlProcessor.domConverter.registerRawContentMatcher({name:"template"}),a.for("upcast").elementToElement({view:/.*/,model:(u,d)=>{if(u.name=="$comment"||!p4(u.name)||t.getDefinitionsForView(u.name).size)return null;l.includes(u.name)||l.push(u.name),c.includes(u.name)||c.push(u.name);const m=d.writer.createElement(o.model,{htmlElementName:u.name}),f=e.processViewAttributes(u,d);f&&d.writer.setAttribute("htmlCustomElementAttributes",f,m);let g;if(u.is("element","template")&&u.getCustomProperty("$rawContent"))g=u.getCustomProperty("$rawContent");else{const p=new Ht(u.document).createDocumentFragment(u),_=s.data.htmlProcessor.domConverter.viewToDom(p),v=_.firstChild;for(;v.firstChild;)_.appendChild(v.firstChild);v.remove(),g=s.data.htmlProcessor.htmlWriter.getHtml(_)}d.writer.setAttribute("htmlContent",g,m);for(const{item:p}of s.editing.view.createRangeIn(u))d.consumable.consume(p,{name:!0});return m},converterPriority:"low"}),a.for("editingDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(u,{writer:d})=>{const m=u.getAttribute("htmlElementName"),f=d.createRawElement(m);return u.hasAttribute("htmlCustomElementAttributes")&&si(d,u.getAttribute("htmlCustomElementAttributes"),f),f}}),a.for("dataDowncast").elementToElement({model:{name:o.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(u,{writer:d})=>{const m=u.getAttribute("htmlElementName"),f=u.getAttribute("htmlContent"),g=d.createRawElement(m,null,(p,_)=>{_.setContentOf(p,f)});return u.hasAttribute("htmlCustomElementAttributes")&&si(d,u.getAttribute("htmlCustomElementAttributes"),g),g}})})}}function p4(n){try{document.createElement(n)}catch{return!1}return!0}class w4 extends w{static get pluginName(){return"GeneralHtmlSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[Pe,jP,GP,KP,ZP,e4,o4,r4,h4,d4,m4,g4]}init(){const e=this.editor,t=e.plugins.get(Pe);t.loadAllowedEmptyElementsConfig(e.config.get("htmlSupport.allowEmpty")||[]),t.loadAllowedConfig(e.config.get("htmlSupport.allow")||[]),t.loadDisallowedConfig(e.config.get("htmlSupport.disallow")||[])}getGhsAttributeNameForElement(e){const t=this.editor.plugins.get("DataSchema"),i=Array.from(t.getDefinitionsForView(e,!1)),o=i.find(s=>s.isInline&&!i[0].isObject);return o?o.model:Ft(e)}addModelHtmlClass(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"classes",l=>{for(const c of he(t))l.add(c)})})}removeModelHtmlClass(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"classes",l=>{for(const c of he(t))l.delete(c)})})}setModelHtmlAttributes(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"attributes",l=>{for(const[c,u]of Object.entries(t))l.set(c,u)})})}removeModelHtmlAttributes(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"attributes",l=>{for(const c of he(t))l.delete(c)})})}setModelHtmlStyles(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"styles",l=>{for(const[c,u]of Object.entries(t))l.set(c,u)})})}removeModelHtmlStyles(e,t,i){const o=this.editor.model,s=this.getGhsAttributeNameForElement(e);o.change(r=>{for(const a of Un(o,i,s))jn(r,a,s,"styles",l=>{for(const c of he(t))l.delete(c)})})}}function*Un(n,e,t){if(e)if(!(Symbol.iterator in e)&&e.is("documentSelection")&&e.isCollapsed)n.schema.checkAttributeInSelection(e,t)&&(yield e);else for(const i of b4(n,e,t))yield*i.getItems({shallow:!0})}function b4(n,e,t){return!(Symbol.iterator in e)&&(e.is("node")||e.is("$text")||e.is("$textProxy"))?n.schema.checkAttribute(e,t)?[n.createRangeOn(e)]:[]:n.schema.getValidRanges(n.createSelection(e).getRanges(),t)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function _4(n){return n.createContainerElement("span",{class:"image-inline"},n.createEmptyElement("img"))}function Zm(n){return n.createContainerElement("figure",{class:"image"},[n.createEmptyElement("img"),n.createSlot("children")])}function s1(n,e){const t=n.plugins.get("ImageUtils"),i=n.plugins.has("ImageInlineEditing")&&n.plugins.has("ImageBlockEditing");return s=>t.isInlineImageView(s)?i&&(s.getStyle("display")=="block"||s.findAncestor(t.isBlockImageView)?"imageBlock":"imageInline")!==e?null:o(s):null;function o(s){const r={name:!0};return s.hasAttribute("src")&&(r.attributes=["src"]),r}}function Iu(n,e){const t=ae(e.getSelectedBlocks());return!t||n.isObject(t)||t.isEmpty&&t.name!="listItem"?"imageBlock":"imageInline"}function Wr(n){return n&&n.endsWith("px")?parseInt(n):null}function jr(n){const e=Wr(n.getStyle("width")),t=Wr(n.getStyle("height"));return!!(e&&t)}const v4=/^(image|image-inline)$/;class Ke extends w{constructor(){super(...arguments),h(this,"_domEmitter",new(st()))}static get pluginName(){return"ImageUtils"}static get isOfficialPlugin(){return!0}isImage(e){return this.isInlineImage(e)||this.isBlockImage(e)}isInlineImageView(e){return!!e&&e.is("element","img")}isBlockImageView(e){return!!e&&e.is("element","figure")&&e.hasClass("image")}insertImage(e={},t=null,i=null,o={}){const s=this.editor,r=s.model,a=r.document.selection,l=r1(s,t||a,i);e={...Object.fromEntries(a.getAttributes()),...e};for(const c in e)r.schema.checkAttribute(l,c)||delete e[c];return r.change(c=>{const{setImageSizes:u=!0}=o,d=c.createElement(l,e);return r.insertObject(d,t,null,{setSelection:"on",findOptimalPosition:!t&&l!="imageInline"?"auto":void 0}),d.parent?(u&&this.setImageNaturalSizeAttributes(d),d):null})}setImageNaturalSizeAttributes(e){const t=e.getAttribute("src");t&&(e.getAttribute("width")||e.getAttribute("height")||this.editor.model.change(i=>{const o=new I.window.Image;this._domEmitter.listenTo(o,"load",()=>{!e.getAttribute("width")&&!e.getAttribute("height")&&this.editor.model.enqueueChange(i.batch,s=>{s.setAttribute("width",o.naturalWidth,e),s.setAttribute("height",o.naturalHeight,e)}),this._domEmitter.stopListening(o,"load")}),o.src=t}))}getClosestSelectedImageWidget(e){const t=e.getFirstPosition();if(!t)return null;const i=e.getSelectedElement();if(i&&this.isImageWidget(i))return i;let o=t.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(e){const t=e.getSelectedElement();return this.isImage(t)?t:e.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(e){return e.findAncestor({classes:v4})}isImageAllowed(){const e=this.editor.model.document.selection;return y4(this.editor,e)&&k4(e)}toImageWidget(e,t,i){return t.setCustomProperty("image",!0,e),gt(e,t,{label:()=>{const o=this.findViewImgElement(e).getAttribute("alt");return o?`${o} ${i}`:i}})}isImageWidget(e){return!!e.getCustomProperty("image")&&Se(e)}isBlockImage(e){return!!e&&e.is("element","imageBlock")}isInlineImage(e){return!!e&&e.is("element","imageInline")}findViewImgElement(e){if(this.isInlineImageView(e))return e;const t=this.editor.editing.view;for(const{item:i}of t.createRangeIn(e))if(this.isInlineImageView(i))return i}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function y4(n,e){if(r1(n,e,null)=="imageBlock"){const t=C4(e,n.model);if(n.model.schema.checkChild(t,"imageBlock"))return!0}else if(n.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}function k4(n){return[...n.focus.getAncestors()].every(e=>!e.is("element","imageBlock"))}function C4(n,e){const t=ku(n,e).start.parent;return t.isEmpty&&!t.is("element","$root")?t.parent:t}function r1(n,e,t){const i=n.model.schema,o=n.config.get("image.insert.type");return n.plugins.has("ImageBlockEditing")?n.plugins.has("ImageInlineEditing")?t||(o==="inline"?"imageInline":o!=="auto"?"imageBlock":e.is("selection")?Iu(i,e):i.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}class A4 extends O{refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled&&e.hasAttribute("alt")?this.value=e.getAttribute("alt"):this.value=!1}execute(e){const t=this.editor,i=t.plugins.get("ImageUtils"),o=t.model,s=i.getClosestSelectedImageElement(o.document.selection);o.change(r=>{r.setAttribute("alt",e.newValue,s)})}}class x4 extends w{static get requires(){return[Ke]}static get pluginName(){return"ImageTextAlternativeEditing"}static get isOfficialPlugin(){return!0}init(){this.editor.commands.add("imageTextAlternative",new A4(this.editor))}}class T4 extends A{constructor(e){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"labeledInput"),h(this,"backButtonView"),h(this,"saveButtonView"),h(this,"children"),h(this,"_focusables"),h(this,"_focusCycler"),this.focusTracker=new ee,this.keystrokes=new te,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.labeledInput=this._createLabeledInputView(),this.children=this.createCollection([this._createHeaderView()]),this.children.add(new $e(e,{children:[this.labeledInput,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding"]})),this._focusables=new Ie,this.keystrokes.set("Esc",(t,i)=>{this.fire("cancel"),i()}),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),Ri({view:this}),[this.backButtonView,this.labeledInput,this.saveButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new P(this.locale);return t.set({label:e("Save"),withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Text Alternative")});return t.children.add(this.backButtonView,0),t}_createLabeledInputView(){const e=this.locale.t,t=new Te(this.locale,nt);return t.label=e("Text alternative"),t.class="ck-labeled-field-view_full-width",t}}function E4(n){const e=n.plugins.get("ContextualBalloon");if(n.plugins.get("ImageUtils").getClosestSelectedImageWidget(n.editing.view.document.selection)){const t=Vu(n);e.updatePosition(t)}}function Vu(n){const e=n.editing.view,t=Ne.defaultPositions,i=n.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(i.getClosestSelectedImageWidget(e.document.selection)),positions:[t.northArrowSouth,t.northArrowSouthWest,t.northArrowSouthEast,t.southArrowNorth,t.southArrowNorthWest,t.southArrowNorthEast,t.viewportStickyNorth]}}class S4 extends w{constructor(){super(...arguments),h(this,"_balloon"),h(this,"_form")}static get requires(){return[Ue]}static get pluginName(){return"ImageTextAlternativeUI"}static get isOfficialPlugin(){return!0}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("imageTextAlternative",i=>{const o=e.commands.get("imageTextAlternative"),s=new P(i);return s.set({label:t("Change image text alternative"),icon:bA,tooltip:!0}),s.bind("isEnabled").to(o,"isEnabled"),s.bind("isOn").to(o,"value",r=>!!r),this.listenTo(s,"execute",()=>{this._showForm()}),s})}_createForm(){const e=this.editor,t=e.editing.view.document,i=e.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(ho(T4))(e.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{e.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this.listenTo(e.ui,"update",()=>{i.getClosestSelectedImageWidget(t.selection)?this._isVisible&&E4(e):this._hideForm(!0)}),$t({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const e=this.editor,t=e.commands.get("imageTextAlternative"),i=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:Vu(e)}),i.fieldView.value=i.fieldView.element.value=t.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class a1 extends w{static get requires(){return[x4,S4]}static get pluginName(){return"ImageTextAlternative"}static get isOfficialPlugin(){return!0}}function P4(n){const e=(t,i,o)=>{if(!o.consumable.test(i.viewItem,{name:!0,classes:"image"}))return;const s=n.findViewImgElement(i.viewItem);if(!s||!o.consumable.test(s,{name:!0}))return;o.consumable.consume(i.viewItem,{name:!0,classes:"image"});const r=o.convertItem(s,i.modelCursor),a=ae(r.modelRange.getItems());if(!a){o.consumable.revert(i.viewItem,{name:!0,classes:"image"});return}o.convertChildren(i.viewItem,a),o.updateConversionResult(a,i)};return t=>{t.on("element:figure",e)}}function I4(n){const e=["srcset","media","type","sizes"],t=(i,o,s)=>{const r=o.viewItem;if(!s.consumable.test(r,{name:!0}))return;const a=new Map;for(const u of r.getChildren())if(u.is("element","source")){const d={};for(const m of e)u.hasAttribute(m)&&s.consumable.test(u,{attributes:m})&&(d[m]=u.getAttribute(m));Object.keys(d).length&&a.set(u,d)}const l=n.findViewImgElement(r);if(!l)return;let c=o.modelCursor.parent;if(!c.is("element","imageBlock")){const u=s.convertItem(l,o.modelCursor);o.modelRange=u.modelRange,o.modelCursor=u.modelCursor,c=ae(u.modelRange.getItems())}s.consumable.consume(r,{name:!0});for(const[u,d]of a)s.consumable.consume(u,{attributes:Object.keys(d)});a.size&&s.writer.setAttribute("sources",Array.from(a.values()),c),s.convertChildren(r,c)};return i=>{i.on("element:picture",t)}}function l1(n,e){const t=(i,o,s)=>{if(!s.consumable.consume(o.item,i.name))return;const r=s.writer,a=s.mapper.toViewElement(o.item),l=n.findViewImgElement(a);o.attributeNewValue===null?(r.removeAttribute("srcset",l),r.removeAttribute("sizes",l)):o.attributeNewValue&&(r.setAttribute("srcset",o.attributeNewValue,l),r.setAttribute("sizes","100vw",l))};return i=>{i.on(`attribute:srcset:${e}`,t)}}function V4(n){const e=(t,i,o)=>{if(!o.consumable.consume(i.item,t.name))return;const s=o.writer,r=o.mapper.toViewElement(i.item),a=n.findViewImgElement(r),l=i.attributeNewValue;if(l&&l.length){const c=[];let u=a.parent;for(;u&&u.is("attributeElement");){const f=u.parent;s.unwrap(s.createRangeOn(a),u),c.unshift(u),u=f}const d=a.parent.is("element","picture"),m=d?a.parent:s.createContainerElement("picture",null);d||s.insert(s.createPositionBefore(a),m),s.remove(s.createRangeIn(m)),s.insert(s.createPositionAt(m,"end"),l.map(f=>s.createEmptyElement("source",f))),s.move(s.createRangeOn(a),s.createPositionAt(m,"end"));for(const f of c)s.wrap(s.createRangeOn(m),f)}else if(a.parent.is("element","picture")){const c=a.parent;s.move(s.createRangeOn(a),s.createPositionBefore(c)),s.remove(c)}};return t=>{t.on("attribute:sources:imageBlock",e),t.on("attribute:sources:imageInline",e)}}function Ur(n,e,t){const i=(o,s,r)=>{if(!r.consumable.consume(s.item,o.name))return;const a=r.writer,l=r.mapper.toViewElement(s.item),c=n.findViewImgElement(l);a.setAttribute(s.attributeKey,s.attributeNewValue||"",c)};return o=>{o.on(`attribute:${t}:${e}`,i)}}class Ru extends Zt{observe(e){this.listenTo(e,"load",(t,i)=>{const o=i.target;this.checkShouldIgnoreEventFromTarget(o)||o.tagName=="IMG"&&this._fireEvents(i)},{useCapture:!0})}stopObserving(e){this.stopListening(e)}_fireEvents(e){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",e))}}class R4 extends O{constructor(e){super(e);const t=e.config.get("image.insert.type");e.plugins.has("ImageBlockEditing")||t==="block"&&J("image-block-plugin-required"),e.plugins.has("ImageInlineEditing")||t==="inline"&&J("image-inline-plugin-required")}refresh(){const e=this.editor.plugins.get("ImageUtils");this.isEnabled=e.isImageAllowed()}execute(e){const t=he(e.source),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),s=Object.fromEntries(i.getAttributes());t.forEach((r,a)=>{const l=i.getSelectedElement();if(typeof r=="string"&&(r={src:r}),a&&l&&o.isImage(l)){const c=this.editor.model.createPositionAfter(l);o.insertImage({...r,...s},c,e.imageType)}else e.breakBlock?o.insertImage({...r,...s},i.getFirstPosition(),e.imageType):o.insertImage({...r,...s},null,e.imageType)})}}class O4 extends O{constructor(e){super(e),this.decorate("cleanupImage")}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=e.isImage(t),this.value=this.isEnabled?t.getAttribute("src"):null}execute(e){const t=this.editor.model.document.selection.getSelectedElement(),i=this.editor.plugins.get("ImageUtils");this.editor.model.change(o=>{o.setAttribute("src",e.source,t),this.cleanupImage(o,t),i.setImageNaturalSizeAttributes(t)})}cleanupImage(e,t){e.removeAttribute("srcset",t),e.removeAttribute("sizes",t),e.removeAttribute("sources",t),e.removeAttribute("width",t),e.removeAttribute("height",t),e.removeAttribute("alt",t)}}class Ou extends w{static get requires(){return[Ke]}static get pluginName(){return"ImageEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.conversion;e.editing.view.addObserver(Ru),t.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const i=new R4(e),o=new O4(e);e.commands.add("insertImage",i),e.commands.add("replaceImageSource",o),e.commands.add("imageInsert",i)}}class c1 extends w{static get requires(){return[Ke]}static get pluginName(){return"ImageSizeAttributes"}static get isOfficialPlugin(){return!0}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils"),o=e==="imageBlock"?"figure":"img";t.conversion.for("upcast").attributeToAttribute({view:{name:o,styles:{width:/.+/}},model:{key:"width",value:r=>jr(r)?Wr(r.getStyle("width")):null}}).attributeToAttribute({view:{name:o,key:"width"},model:"width"}).attributeToAttribute({view:{name:o,styles:{height:/.+/}},model:{key:"height",value:r=>jr(r)?Wr(r.getStyle("height")):null}}).attributeToAttribute({view:{name:o,key:"height"},model:"height"}),t.conversion.for("editingDowncast").add(r=>{s(r,"width","width",!0,!0),s(r,"height","height",!0,!0)}),t.conversion.for("dataDowncast").add(r=>{s(r,"width","width",!1),s(r,"height","height",!1)}),t.conversion.for("upcast").add(r=>{r.on("element:img",(a,l,c)=>{const u=l.viewItem.getAttribute("width"),d=l.viewItem.getAttribute("height");u&&d&&c.consumable.consume(l.viewItem,{styles:["aspect-ratio"]})})});function s(r,a,l,c,u=!1){r.on(`attribute:${a}:${e}`,(d,m,f)=>{if(!f.consumable.consume(m.item,d.name))return;const g=f.writer,p=f.mapper.toViewElement(m.item),_=i.findViewImgElement(p);m.attributeNewValue!==null?g.setAttribute(l,m.attributeNewValue,_):g.removeAttribute(l,_);const v=m.item.getAttribute("width"),E=m.item.getAttribute("height"),M=v&&E;if(M&&u&&g.setAttribute("loading","lazy",_),m.item.hasAttribute("sources"))return;const G=m.item.hasAttribute("resizedWidth");e==="imageInline"&&!G&&!c||M&&g.setStyle("aspect-ratio",`${v}/${E}`,_)})}}}class u1 extends O{constructor(e,t){super(e),h(this,"_modelElementName"),this._modelElementName=t}refresh(){const e=this.editor.plugins.get("ImageUtils"),t=e.getClosestSelectedImageElement(this.editor.model.document.selection);this._modelElementName==="imageBlock"?this.isEnabled=e.isInlineImage(t):this.isEnabled=e.isBlockImage(t)}execute(e={}){const t=this.editor,i=this.editor.model,o=t.plugins.get("ImageUtils"),s=o.getClosestSelectedImageElement(i.document.selection),r=Object.fromEntries(s.getAttributes());return!r.src&&!r.uploadId?null:i.change(a=>{const{setImageSizes:l=!0}=e,c=Array.from(i.markers).filter(m=>m.getRange().containsItem(s)),u=o.insertImage(r,i.createSelection(s,"on"),this._modelElementName,{setImageSizes:l});if(!u)return null;const d=a.createRangeOn(u);for(const m of c){const f=m.getRange(),g=f.root.rootName!="$graveyard"?f.getJoined(d,!0):d;a.updateMarker(m,{range:g})}return{oldElement:s,newElement:u}})}}class h1 extends w{static get requires(){return[Ke]}static get pluginName(){return"ImagePlaceholder"}static get isOfficialPlugin(){return!0}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const e=this.editor.model.schema;e.isRegistered("imageBlock")&&e.extend("imageBlock",{allowAttributes:["placeholder"]}),e.isRegistered("imageInline")&&e.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("editingDowncast").add(o=>{o.on("attribute:placeholder",(s,r,a)=>{if(!a.consumable.test(r.item,s.name)||!r.item.is("element","imageBlock")&&!r.item.is("element","imageInline"))return;a.consumable.consume(r.item,s.name);const l=a.writer,c=a.mapper.toViewElement(r.item),u=i.findViewImgElement(c);r.attributeNewValue?(l.addClass("image_placeholder",u),l.setStyle("background-image",`url(${r.attributeNewValue})`,u),l.setCustomProperty("editingPipeline:doNotReuseOnce",!0,u)):(l.removeClass("image_placeholder",u),l.removeStyle("background-image",u))})})}_setupLoadListener(){const e=this.editor,t=e.model,i=e.editing,o=i.view,s=e.plugins.get("ImageUtils");o.addObserver(Ru),this.listenTo(o.document,"imageLoaded",(r,a)=>{const l=o.domConverter.mapDomToView(a.target);if(!l)return;const c=s.getImageWidgetFromImageView(l);if(!c)return;const u=i.mapper.toModelElement(c);!u||!u.hasAttribute("placeholder")||t.enqueueChange({isUndoable:!1},d=>{d.removeAttribute("placeholder",u)})})}}class d1 extends w{static get requires(){return[Ou,c1,Ke,h1,pt]}static get pluginName(){return"ImageBlockEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),e.plugins.has("ImageInlineEditing")&&(e.commands.add("imageTypeBlock",new u1(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToStructure({model:"imageBlock",view:(s,{writer:r})=>Zm(r)}),i.for("editingDowncast").elementToStructure({model:"imageBlock",view:(s,{writer:r})=>o.toImageWidget(Zm(r),r,t("image widget"))}),i.for("downcast").add(Ur(o,"imageBlock","src")).add(Ur(o,"imageBlock","alt")).add(l1(o,"imageBlock")),i.for("upcast").elementToElement({view:s1(e,"imageBlock"),model:(s,{writer:r})=>r.createElement("imageBlock",s.hasAttribute("src")?{src:s.getAttribute("src")}:void 0)}).add(P4(o))}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,o=e.plugins.get("ImageUtils"),s=e.plugins.get("ClipboardPipeline");this.listenTo(s,"inputTransformation",(r,a)=>{const l=Array.from(a.content.getChildren());let c;if(!l.every(o.isInlineImageView))return;a.targetRanges?c=e.editing.mapper.toModelRange(a.targetRanges[0]):c=t.document.selection.getFirstRange();const u=t.createSelection(c);if(Iu(t.schema,u)==="imageBlock"){const d=new Ht(i.document),m=l.map(f=>d.createElement("figure",{class:"image"},f));a.content=d.createDocumentFragment(m)}}),this.listenTo(s,"contentInsertion",(r,a)=>{a.method==="paste"&&t.change(l=>{const c=l.createRangeIn(a.content);for(const u of c.getItems())u.is("element","imageBlock")&&o.setImageNaturalSizeAttributes(u)})})}}class B4 extends A{constructor(e,t=[]){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"_focusables"),h(this,"_focusCycler"),h(this,"children"),this.focusTracker=new ee,this.keystrokes=new te,this._focusables=new Ie,this.children=this.createCollection(),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const i of t)this.children.add(i),this._focusables.add(i),i instanceof mu&&this._focusables.addMany(i.children);this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),Ri({view:this});for(const t of this._focusables)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element);const e=t=>t.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}class m1 extends w{constructor(e){super(e),h(this,"dropdownView"),h(this,"_integrations",new Map),e.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get isOfficialPlugin(){return!0}static get requires(){return[Ke]}init(){const e=this.editor,t=e.model.document.selection,i=e.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(e.model.document,"change",()=>{this.isImageSelected=i.isImage(t.getSelectedElement())});const o=r=>this._createToolbarComponent(r),s=r=>this._createMenuBarComponent(r);e.ui.componentFactory.add("insertImage",o),e.ui.componentFactory.add("imageInsert",o),e.ui.componentFactory.add("menuBar:insertImage",s)}registerIntegration({name:e,observable:t,buttonViewCreator:i,formViewCreator:o,menuBarButtonViewCreator:s,requiresForm:r=!1,override:a=!1}){this._integrations.has(e)&&!a&&J("image-insert-integration-exists",{name:e}),this._integrations.set(e,{observable:t,buttonViewCreator:i,menuBarButtonViewCreator:s,formViewCreator:o,requiresForm:r})}_createToolbarComponent(e){const t=this.editor,i=e.t,o=this._prepareIntegrations();if(!o.length)return null;let s;const r=o[0];if(o.length==1){if(!r.requiresForm)return r.buttonViewCreator(!0);s=r.buttonViewCreator(!0)}else{const c=r.buttonViewCreator(!1);s=new Xi(e,c),s.tooltip=!0,s.bind("label").to(this,"isImageSelected",u=>i(u?"Replace image":"Insert image"))}const a=this.dropdownView=Ee(e,s),l=o.map(({observable:c})=>typeof c=="function"?c():c);return a.bind("isEnabled").toMany(l,"isEnabled",(...c)=>c.some(u=>u)),a.once("change:isOpen",()=>{const c=o.flatMap(({formViewCreator:d})=>d(o.length==1)),u=new B4(t.locale,c);a.panelView.children.add(u)}),a}_createMenuBarComponent(e){const t=e.t,i=this._prepareIntegrations();if(!i.length)return null;const o=i.flatMap(({menuBarButtonViewCreator:a})=>a(i.length==1)),s=new Tt(e),r=new Si(e);s.panelView.children.add(r),s.buttonView.set({icon:RC,label:t("Image")});for(const a of o){const l=new Oi(e,s);l.children.add(a),r.items.add(l),a.delegate("execute").to(s)}return s}_prepareIntegrations(){const e=this.editor.config.get("image.insert.integrations"),t=[];if(!e.length)return J("image-insert-integrations-not-specified"),t;for(const i of e){if(!this._integrations.has(i)){["upload","assetManager","url"].includes(i)||J("image-insert-unknown-integration",{item:i});continue}t.push(this._integrations.get(i))}return t.length||J("image-insert-integrations-not-registered"),t}}class M4 extends w{static get requires(){return[d1,Vt,a1,m1]}static get pluginName(){return"ImageBlock"}static get isOfficialPlugin(){return!0}}class L4 extends w{static get requires(){return[Ou,c1,Ke,h1,pt]}static get pluginName(){return"ImageInlineEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.model.schema.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"],disallowIn:["caption"]}),this._setupConversion(),e.plugins.has("ImageBlockEditing")&&(e.commands.add("imageTypeInline",new u1(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const e=this.editor,t=e.t,i=e.conversion,o=e.plugins.get("ImageUtils");i.for("dataDowncast").elementToElement({model:"imageInline",view:(s,{writer:r})=>r.createEmptyElement("img")}),i.for("editingDowncast").elementToStructure({model:"imageInline",view:(s,{writer:r})=>o.toImageWidget(_4(r),r,t("image widget"))}),i.for("downcast").add(Ur(o,"imageInline","src")).add(Ur(o,"imageInline","alt")).add(l1(o,"imageInline")),i.for("upcast").elementToElement({view:s1(e,"imageInline"),model:(s,{writer:r})=>r.createElement("imageInline",s.hasAttribute("src")?{src:s.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const e=this.editor,t=e.model,i=e.editing.view,o=e.plugins.get("ImageUtils"),s=e.plugins.get("ClipboardPipeline");this.listenTo(s,"inputTransformation",(r,a)=>{const l=Array.from(a.content.getChildren());let c;if(!l.every(o.isBlockImageView))return;a.targetRanges?c=e.editing.mapper.toModelRange(a.targetRanges[0]):c=t.document.selection.getFirstRange();const u=t.createSelection(c);if(Iu(t.schema,u)==="imageInline"){const d=new Ht(i.document),m=l.map(f=>f.childCount===1?(Array.from(f.getAttributes()).forEach(g=>d.setAttribute(...g,o.findViewImgElement(f))),f.getChild(0)):f);a.content=d.createDocumentFragment(m)}}),this.listenTo(s,"contentInsertion",(r,a)=>{a.method==="paste"&&t.change(l=>{const c=l.createRangeIn(a.content);for(const u of c.getItems())u.is("element","imageInline")&&o.setImageNaturalSizeAttributes(u)})})}}class f1 extends w{static get requires(){return[L4,Vt,a1,m1]}static get pluginName(){return"ImageInline"}static get isOfficialPlugin(){return!0}}class F4 extends w{static get requires(){return[M4,f1]}static get pluginName(){return"Image"}static get isOfficialPlugin(){return!0}}class g1 extends w{static get pluginName(){return"ImageCaptionUtils"}static get isOfficialPlugin(){return!0}static get requires(){return[Ke]}getCaptionFromImageModelElement(e){for(const t of e.getChildren())if(t&&t.is("element","caption"))return t;return null}getCaptionFromModelSelection(e){const t=this.editor.plugins.get("ImageUtils"),i=e.getFirstPosition().findAncestor("caption");return i&&t.isBlockImage(i.parent)?i:null}matchImageCaptionViewElement(e){const t=this.editor.plugins.get("ImageUtils");return e.name=="figcaption"&&t.isBlockImageView(e.parent)?{name:!0}:null}}class N4 extends O{refresh(){const e=this.editor,t=e.plugins.get("ImageCaptionUtils"),i=e.plugins.get("ImageUtils");if(!e.plugins.has(d1)){this.isEnabled=!1,this.value=!1;return}const o=e.model.document.selection,s=o.getSelectedElement();if(!s){const r=t.getCaptionFromModelSelection(o);this.isEnabled=!!r,this.value=!!r;return}this.isEnabled=i.isImage(s),this.isEnabled?this.value=!!t.getCaptionFromImageModelElement(s):this.value=!1}execute(e={}){const{focusCaptionOnShow:t}=e;this.editor.model.change(i=>{this.value?this._hideImageCaption(i):this._showImageCaption(i,t)})}_showImageCaption(e,t){const i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageCaptionEditing"),s=this.editor.plugins.get("ImageUtils");let r=i.getSelectedElement();const a=o._getSavedCaption(r);s.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=i.getSelectedElement());const l=a||e.createElement("caption");e.append(l,r),t&&e.setSelection(l,"in")}_hideImageCaption(e){const t=this.editor,i=t.model.document.selection,o=t.plugins.get("ImageCaptionEditing"),s=t.plugins.get("ImageCaptionUtils");let r=i.getSelectedElement(),a;r?a=s.getCaptionFromImageModelElement(r):(a=s.getCaptionFromModelSelection(i),r=a.parent),o._saveCaption(r,a),e.setSelection(r,"on"),e.remove(a)}}class D4 extends w{constructor(e){super(e),h(this,"_savedCaptionsMap"),this._savedCaptionsMap=new WeakMap}static get requires(){return[Ke,g1]}static get pluginName(){return"ImageCaptionEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema;t.isRegistered("caption")?t.extend("caption",{allowIn:"imageBlock"}):t.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),e.commands.add("toggleImageCaption",new N4(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils"),o=e.plugins.get("ImageCaptionUtils"),s=e.t;e.conversion.for("upcast").elementToElement({view:r=>o.matchImageCaptionViewElement(r),model:"caption"}),e.conversion.for("dataDowncast").elementToElement({model:"caption",view:(r,{writer:a})=>i.isBlockImage(r.parent)?a.createContainerElement("figcaption"):null}),e.conversion.for("editingDowncast").elementToElement({model:"caption",view:(r,{writer:a})=>{if(!i.isBlockImage(r.parent))return null;const l=a.createEditableElement("figcaption");a.setCustomProperty("imageCaption",!0,l),l.placeholder=s("Enter image caption"),sa({view:t,element:l,keepOnFocus:!0});const c=r.parent.getAttribute("alt"),u=c?s("Caption for image: %0",[c]):s("Caption for the image");return wa(l,a,{label:u})}})}_setupImageTypeCommandsIntegration(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.plugins.get("ImageCaptionUtils"),o=e.commands.get("imageTypeInline"),s=e.commands.get("imageTypeBlock"),r=a=>{if(!a.return)return;const{oldElement:l,newElement:c}=a.return;/* istanbul ignore if: paranoid check -- @preserve */if(!l)return;if(t.isBlockImage(l)){const d=i.getCaptionFromImageModelElement(l);if(d){this._saveCaption(c,d);return}}const u=this._getSavedCaption(l);u&&this._saveCaption(c,u)};o&&this.listenTo(o,"execute",r,{priority:"low"}),s&&this.listenTo(s,"execute",r,{priority:"low"})}_getSavedCaption(e){const t=this._savedCaptionsMap.get(e);return t?ne.fromJSON(t):null}_saveCaption(e,t){this._savedCaptionsMap.set(e,t.toJSON())}_registerCaptionReconversion(){const e=this.editor,t=e.model,i=e.plugins.get("ImageUtils"),o=e.plugins.get("ImageCaptionUtils");t.document.on("change:data",()=>{const s=t.document.differ.getChanges();for(const r of s){if(r.attributeKey!=="alt")continue;const a=r.range.start.nodeAfter;if(i.isBlockImage(a)){const l=o.getCaptionFromImageModelElement(a);if(!l)return;e.editing.reconvertItem(l)}}})}}class z4 extends w{static get requires(){return[g1]}static get pluginName(){return"ImageCaptionUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageCaptionUtils"),o=e.t;e.ui.componentFactory.add("toggleImageCaption",s=>{const r=e.commands.get("toggleImageCaption"),a=new P(s);return a.set({icon:pw,tooltip:!0,isToggleable:!0}),a.bind("isOn","isEnabled").to(r,"value","isEnabled"),a.bind("label").to(r,"value",l=>o(l?"Toggle caption off":"Toggle caption on")),this.listenTo(a,"execute",()=>{e.execute("toggleImageCaption",{focusCaptionOnShow:!0});const l=i.getCaptionFromModelSelection(e.model.document.selection);if(l){const c=e.editing.mapper.toViewElement(l);t.scrollToTheSelection(),t.change(u=>{u.addClass("image__caption_highlighted",c)})}e.editing.view.focus()}),a})}}class H4 extends w{static get requires(){return[D4,z4]}static get pluginName(){return"ImageCaption"}static get isOfficialPlugin(){return!0}}function p1(n){const e=n.map(t=>t.replace("+","\\+"));return new RegExp(`^image\\/(${e.join("|")})$`)}function $4(n){return new Promise((e,t)=>{const i=n.getAttribute("src");fetch(i).then(o=>o.blob()).then(o=>{const s=w1(o,i),r=`image.${s.replace("image/","")}`,a=new File([o],r,{type:s});e(a)}).catch(o=>o&&o.name==="TypeError"?j4(i).then(e).catch(t):t(o))})}function W4(n,e){return!n.isInlineImageView(e)||!e.getAttribute("src")?!1:!!e.getAttribute("src").match(/^data:image\/\w+;base64,/g)||!!e.getAttribute("src").match(/^blob:/g)}function w1(n,e){return n.type?n.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}function j4(n){return U4(n).then(e=>{const t=w1(e,n),i=`image.${t.replace("image/","")}`;return new File([e],i,{type:t})})}function U4(n){return new Promise((e,t)=>{const i=I.document.createElement("img");i.addEventListener("load",()=>{const o=I.document.createElement("canvas");o.width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),o.toBlob(s=>s?e(s):t())}),i.addEventListener("error",()=>t()),i.src=n})}class q4 extends w{static get pluginName(){return"ImageUploadUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("uploadImage",()=>this._createToolbarButton()),e.ui.componentFactory.add("imageUpload",()=>this._createToolbarButton()),e.ui.componentFactory.add("menuBar:uploadImage",()=>this._createMenuBarButton("standalone")),e.plugins.has("ImageInsertUI")&&e.plugins.get("ImageInsertUI").registerIntegration({name:"upload",observable:()=>e.commands.get("uploadImage"),buttonViewCreator:()=>this._createToolbarButton(),formViewCreator:()=>this._createDropdownButton(),menuBarButtonViewCreator:t=>this._createMenuBarButton(t?"insertOnly":"insertNested")})}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("uploadImage"),s=t.config.get("image.upload.types"),r=p1(s),a=new e(t.locale),l=i.t;return a.set({acceptedType:s.map(c=>`image/${c}`).join(","),allowMultipleFiles:!0,label:l("Upload from computer"),icon:OC}),a.bind("isEnabled").to(o),a.on("done",(c,u)=>{const d=Array.from(u).filter(m=>r.test(m.type));d.length&&(t.execute("uploadImage",{file:d}),t.editing.view.focus())}),a}_createToolbarButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this.editor.commands.get("uploadImage"),o=this._createButton(jd);return o.tooltip=!0,o.bind("label").to(t,"isImageSelected",i,"isAccessAllowed",(s,r)=>e(r?s?"Replace image from computer":"Upload image from computer":"You have no image upload permissions.")),o}_createDropdownButton(){const e=this.editor.locale.t,t=this.editor.plugins.get("ImageInsertUI"),i=this._createButton(jd);return i.withText=!0,i.bind("label").to(t,"isImageSelected",o=>e(o?"Replace from computer":"Upload from computer")),i.on("execute",()=>{t.dropdownView.isOpen=!1}),i}_createMenuBarButton(e){const t=this.editor.locale.t,i=this._createButton(mb);switch(i.withText=!0,e){case"standalone":i.label=t("Image from computer");break;case"insertOnly":i.label=t("Image");break;case"insertNested":i.label=t("From computer");break}return i}}class G4 extends w{constructor(e){super(e),h(this,"placeholder"),h(this,"uploadStatusChange",(t,i,o)=>{const s=this.editor,r=i.item,a=r.getAttribute("uploadId");if(!o.consumable.consume(i.item,t.name))return;const l=s.plugins.get("ImageUtils"),c=s.plugins.get(At),u=a?i.attributeNewValue:null,d=this.placeholder,m=s.editing.mapper.toViewElement(r),f=o.writer;if(u=="reading"){Jm(m,f),Qm(l,d,m,f);return}if(u=="uploading"){const g=c.loaders.get(a);Jm(m,f),g?(Ym(m,f),Z4(m,f,g,s.editing.view),eI(l,m,f,g)):Qm(l,d,m,f);return}u=="complete"&&c.loaders.get(a)&&Q4(m,f,s.editing.view),J4(m,f),Ym(m,f),K4(m,f)}),this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),e.plugins.has("ImageInlineEditing")&&e.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function Jm(n,e){n.hasClass("ck-appear")||e.addClass("ck-appear",n)}function K4(n,e){e.removeClass("ck-appear",n)}function Qm(n,e,t,i){t.hasClass("ck-image-upload-placeholder")||i.addClass("ck-image-upload-placeholder",t);const o=n.findViewImgElement(t);o.getAttribute("src")!==e&&i.setAttribute("src",e,o),b1(t,"placeholder")||i.insert(i.createPositionAfter(o),X4(i))}function Ym(n,e){n.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",n),_1(n,e,"placeholder")}function Z4(n,e,t,i){const o=Y4(e);e.insert(e.createPositionAt(n,"end"),o),t.on("change:uploadedPercent",(s,r,a)=>{i.change(l=>{l.setStyle("width",a+"%",o)})})}function J4(n,e){_1(n,e,"progressBar")}function Q4(n,e,t){const i=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(n,"end"),i),setTimeout(()=>{t.change(o=>o.remove(o.createRangeOn(i)))},3e3)}function Y4(n){const e=n.createUIElement("div",{class:"ck-progress-bar"});return n.setCustomProperty("progressBar",!0,e),e}function X4(n){const e=n.createUIElement("div",{class:"ck-upload-placeholder-loader"});return n.setCustomProperty("placeholder",!0,e),e}function b1(n,e){for(const t of n.getChildren())if(t.getCustomProperty(e))return t}function _1(n,e,t){const i=b1(n,t);i&&e.remove(e.createRangeOn(i))}function eI(n,e,t,i){if(i.data){const o=n.findViewImgElement(e);t.setAttribute("src",i.data,o)}}class tI extends O{constructor(e){super(e),this.set("isAccessAllowed",!0)}refresh(){const e=this.editor,t=e.plugins.get("ImageUtils"),i=e.model.document.selection.getSelectedElement();this.isEnabled=t.isImageAllowed()||t.isImage(i)}execute(e){const t=he(e.file),i=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),s=Object.fromEntries(i.getAttributes());t.forEach((r,a)=>{const l=i.getSelectedElement();if(a&&l&&o.isImage(l)){const c=this.editor.model.createPositionAfter(l);this._uploadImage(r,s,c)}else this._uploadImage(r,s)})}_uploadImage(e,t,i){const o=this.editor,s=o.plugins.get(At).createLoader(e),r=o.plugins.get("ImageUtils");s&&r.insertImage({...t,uploadId:s.id},i)}}class iI extends w{constructor(e){super(e),h(this,"_uploadImageElements"),h(this,"_uploadedImages",new Map),e.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[At,Nr,pt,Ke]}static get pluginName(){return"ImageUploadEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.document,i=e.conversion,o=e.plugins.get(At),s=e.plugins.get("ImageUtils"),r=e.plugins.get("ClipboardPipeline"),a=p1(e.config.get("image.upload.types")),l=new tI(e);e.commands.add("uploadImage",l),e.commands.add("imageUpload",l),i.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}).add(c=>c.on("element:img",(u,d,m)=>{if(!m.consumable.test(d.viewItem,{attributes:["data-ck-upload-id"]}))return;const f=d.viewItem.getAttribute("data-ck-upload-id");if(!f)return;const[g]=Array.from(d.modelRange.getItems({shallow:!0})),p=o.loaders.get(f);g&&(m.writer.setAttribute("uploadId",f,g),m.consumable.consume(d.viewItem,{attributes:["data-ck-upload-id"]}),p&&p.data&&m.writer.setAttribute("uploadStatus",p.status,g))},{priority:"low"})),this.listenTo(e.editing.view.document,"clipboardInput",(c,u)=>{if(nI(u.dataTransfer))return;const d=Array.from(u.dataTransfer.files).filter(m=>m?a.test(m.type):!1);if(d.length&&(c.stop(),e.model.change(m=>{u.targetRanges&&m.setSelection(u.targetRanges.map(f=>e.editing.mapper.toModelRange(f))),e.execute("uploadImage",{file:d})}),!e.commands.get("uploadImage").isAccessAllowed)){const m=e.plugins.get("Notification"),f=e.locale.t;m.showWarning(f("You have no image upload permissions."),{namespace:"image"})}}),this.listenTo(r,"inputTransformation",(c,u)=>{const d=Array.from(e.editing.view.createRangeIn(u.content)).map(f=>f.item).filter(f=>W4(s,f)&&!f.getAttribute("uploadProcessed")).map(f=>({promise:$4(f),imageElement:f}));if(!d.length)return;const m=new Ht(e.editing.view.document);for(const f of d){m.setAttribute("uploadProcessed",!0,f.imageElement);const g=o.createLoader(f.promise);g&&(m.setAttribute("src","",f.imageElement),m.setAttribute("uploadId",g.id,f.imageElement))}}),e.editing.view.document.on("dragover",(c,u)=>{u.preventDefault()}),t.on("change",()=>{const c=t.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),u=new Set;for(const d of c)if(d.type=="insert"&&d.name!="$text"){const m=d.position.nodeAfter,f=d.position.root.rootName=="$graveyard";for(const g of oI(e,m)){const p=g.getAttribute("uploadId");if(!p)continue;const _=o.loaders.get(p);if(!_){!f&&this._uploadedImages.has(p)&&e.model.enqueueChange({isUndoable:!1},v=>{v.setAttribute("uploadStatus","complete",g),this.fire("uploadComplete",{data:this._uploadedImages.get(p),imageElement:g})});continue}f?u.has(p)||Array.from(this._uploadImageElements.get(p)).every(v=>v.root.rootName=="$graveyard")&&_.abort():(u.add(p),this._uploadImageElements.has(p)?this._uploadImageElements.get(p).add(g):this._uploadImageElements.set(p,new Set([g])),_.status=="idle"&&this._readAndUpload(_))}}}),this.on("uploadComplete",(c,{imageElement:u,data:d})=>{const m=d.urls?d.urls:d;this.editor.model.change(f=>{f.setAttribute("src",m.default,u),this._parseAndSetSrcsetAttributeOnImage(m,u,f),s.setImageNaturalSizeAttributes(u)})},{priority:"low"})}afterInit(){const e=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&(e.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this._registerConverters("imageBlock")),this.editor.plugins.has("ImageInlineEditing")&&(e.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]}),this._registerConverters("imageInline"))}_readAndUpload(e){const t=this.editor,i=t.model,o=t.locale.t,s=t.plugins.get(At),r=t.plugins.get(Nr),a=t.plugins.get("ImageUtils"),l=this._uploadImageElements;return i.enqueueChange({isUndoable:!1},u=>{const d=l.get(e.id);for(const m of d)u.setAttribute("uploadStatus","reading",m)}),e.read().then(()=>{const u=e.upload();t.ui&&t.ui.ariaLiveAnnouncer.announce(o("Uploading image"));for(const d of l.get(e.id)){/* istanbul ignore next -- @preserve */if(N.isSafari){const m=t.editing.mapper.toViewElement(d),f=a.findViewImgElement(m);t.editing.view.once("render",()=>{if(!f.parent)return;const g=t.editing.view.domConverter.mapViewToDom(f.parent);if(!g)return;const p=g.style.display;g.style.display="none",g._ckHack=g.offsetHeight,g.style.display=p})}i.enqueueChange({isUndoable:!1},m=>{m.setAttribute("uploadStatus","uploading",d)})}return u}).then(u=>{i.enqueueChange({isUndoable:!1},d=>{for(const m of l.get(e.id))d.setAttribute("uploadStatus","complete",m),this.fire("uploadComplete",{data:u,imageElement:m});t.ui&&t.ui.ariaLiveAnnouncer.announce(o("Image upload complete")),this._uploadedImages.set(e.id,u)}),c()}).catch(u=>{if(t.ui&&t.ui.ariaLiveAnnouncer.announce(o("Error during image upload")),e.status!=="error"&&e.status!=="aborted")throw u;e.status=="error"&&u&&r.showWarning(u,{title:o("Upload failed"),namespace:"upload"}),i.enqueueChange({isUndoable:!1},d=>{for(const m of l.get(e.id))m.root.rootName!=="$graveyard"&&d.remove(m)}),c()});function c(){i.enqueueChange({isUndoable:!1},u=>{for(const d of l.get(e.id))u.removeAttribute("uploadId",d),u.removeAttribute("uploadStatus",d);l.delete(e.id)}),s.destroyLoader(e)}}_parseAndSetSrcsetAttributeOnImage(e,t,i){let o=0;const s=Object.keys(e).filter(r=>{const a=parseInt(r,10);if(!isNaN(a))return o=Math.max(o,a),!0}).map(r=>`${e[r]} ${r}w`).join(", ");if(s!=""){const r={srcset:s};!t.hasAttribute("width")&&!t.hasAttribute("height")&&(r.width=o),i.setAttributes(r,t)}}_registerConverters(e){const{conversion:t,plugins:i}=this.editor,o=i.get(At),s=i.get(Ke);t.for("dataDowncast").add(r=>{r.on(`attribute:uploadId:${e}`,(a,l,c)=>{if(!c.consumable.test(l.item,a.name))return;const u=o.loaders.get(l.attributeNewValue);if(!u||!u.data)return null;const d=c.mapper.toViewElement(l.item),m=s.findViewImgElement(d);m&&(c.consumable.consume(l.item,a.name),c.writer.setAttribute("data-ck-upload-id",u.id,m))})})}}function nI(n){return Array.from(n.types).includes("text/html")&&n.getData("text/html")!==""}function oI(n,e){const t=n.plugins.get("ImageUtils");return Array.from(n.model.createRangeOn(e)).filter(i=>t.isImage(i.item)).map(i=>i.item)}class sI extends w{static get pluginName(){return"ImageUpload"}static get isOfficialPlugin(){return!0}static get requires(){return[iI,q4,G4]}}class rI extends O{refresh(){const e=this.editor,t=e.plugins.get("ImageUtils").getClosestSelectedImageElement(e.model.document.selection);this.isEnabled=!!t,!t||!t.hasAttribute("resizedWidth")?this.value=null:this.value={width:t.getAttribute("resizedWidth"),height:null}}execute(e){const t=this.editor,i=t.model,o=t.plugins.get("ImageUtils"),s=o.getClosestSelectedImageElement(i.document.selection);this.value={width:e.width,height:null},s&&i.change(r=>{r.setAttribute("resizedWidth",e.width,s),r.removeAttribute("resizedHeight",s),o.setImageNaturalSizeAttributes(s)})}}class v1 extends w{static get requires(){return[Ke]}static get pluginName(){return"ImageResizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("image",{resizeUnit:"%",resizeOptions:[{name:"resizeImage:original",value:null,icon:"original"},{name:"resizeImage:custom",value:"custom",icon:"custom"},{name:"resizeImage:25",value:"25",icon:"small"},{name:"resizeImage:50",value:"50",icon:"medium"},{name:"resizeImage:75",value:"75",icon:"large"}]})}init(){const e=this.editor,t=new rI(e);this._registerConverters("imageBlock"),this._registerConverters("imageInline"),e.commands.add("resizeImage",t),e.commands.add("imageResize",t)}afterInit(){this._registerSchema()}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["resizedWidth","resizedHeight"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["resizedWidth","resizedHeight"]})}_registerConverters(e){const t=this.editor,i=t.plugins.get("ImageUtils");t.conversion.for("downcast").add(o=>o.on(`attribute:resizedWidth:${e}`,(s,r,a)=>{if(!a.consumable.consume(r.item,s.name))return;const l=a.writer,c=a.mapper.toViewElement(r.item);r.attributeNewValue!==null?(l.setStyle("width",r.attributeNewValue,c),l.addClass("image_resized",c)):(l.removeStyle("width",c),l.removeClass("image_resized",c))})),t.conversion.for("dataDowncast").attributeToAttribute({model:{name:e,key:"resizedHeight"},view:o=>({key:"style",value:{height:o}})}),t.conversion.for("editingDowncast").add(o=>o.on(`attribute:resizedHeight:${e}`,(s,r,a)=>{if(!a.consumable.consume(r.item,s.name))return;const l=a.writer,c=a.mapper.toViewElement(r.item),u=e==="imageInline"?i.findViewImgElement(c):c;r.attributeNewValue!==null?l.setStyle("height",r.attributeNewValue,u):l.removeStyle("height",u)})),t.conversion.for("upcast").attributeToAttribute({view:{name:e==="imageBlock"?"figure":"img",styles:{width:/.+/}},model:{key:"resizedWidth",value:o=>jr(o)?null:o.getStyle("width")}}),t.conversion.for("upcast").attributeToAttribute({view:{name:e==="imageBlock"?"figure":"img",styles:{height:/.+/}},model:{key:"resizedHeight",value:o=>jr(o)?null:o.getStyle("height")}}),t.conversion.for("upcast").add(o=>{o.on(`element:${e==="imageBlock"?"figure":"img"}`,(s,r,a)=>{a.consumable.consume(r.viewItem,{classes:["image_resized"]})})})}}const bl={small:YC,medium:QC,large:JC,custom:KC,original:ZC};class aI extends w{constructor(e){super(e),h(this,"_resizeUnit"),this._resizeUnit=e.config.get("image.resizeUnit")}static get requires(){return[v1]}static get pluginName(){return"ImageResizeButtons"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.config.get("image.resizeOptions"),i=e.commands.get("resizeImage");this.bind("isEnabled").to(i);for(const o of t)this._registerImageResizeButton(o);this._registerImageResizeDropdown(t)}_registerImageResizeButton(e){const t=this.editor,{name:i,value:o,icon:s}=e;t.ui.componentFactory.add(i,r=>{const a=new P(r),l=t.commands.get("resizeImage"),c=this._getOptionLabelValue(e,!0);if(!bl[s])throw new b("imageresizebuttons-missing-icon",t,e);if(a.set({label:c,icon:bl[s],tooltip:c,isToggleable:!0}),a.bind("isEnabled").to(this),t.plugins.has("ImageCustomResizeUI")&&zo(e)){const u=t.plugins.get("ImageCustomResizeUI");this.listenTo(a,"execute",()=>{u._showForm(this._resizeUnit)})}else{const u=o?o+this._resizeUnit:null;a.bind("isOn").to(l,"value",l,"isEnabled",lc(u)),this.listenTo(a,"execute",()=>{t.execute("resizeImage",{width:u})})}return a})}_registerImageResizeDropdown(e){const t=this.editor,i=t.t,o=e.find(r=>!r.value),s=r=>{const a=t.commands.get("resizeImage"),l=Ee(r,fu),c=l.buttonView,u=i("Resize image");return c.set({tooltip:u,commandValue:o.value,icon:bl.medium,isToggleable:!0,label:this._getOptionLabelValue(o),withText:!0,class:"ck-resize-image-button",ariaLabel:u,ariaLabelledBy:void 0}),c.bind("label").to(a,"value",d=>d&&d.width?d.width:this._getOptionLabelValue(o)),l.bind("isEnabled").to(this),wt(l,()=>this._getResizeDropdownListItemDefinitions(e,a),{ariaLabel:i("Image resize list"),role:"menu"}),this.listenTo(l,"execute",d=>{"onClick"in d.source?d.source.onClick():(t.execute(d.source.commandName,{width:d.source.commandValue}),t.editing.view.focus())}),l};t.ui.componentFactory.add("resizeImage",s),t.ui.componentFactory.add("imageResize",s)}_getOptionLabelValue(e,t=!1){const i=this.editor.t;return e.label?e.label:t?zo(e)?i("Custom image size"):e.value?i("Resize image to %0",e.value+this._resizeUnit):i("Resize image to the original size"):zo(e)?i("Custom"):e.value?e.value+this._resizeUnit:i("Original")}_getResizeDropdownListItemDefinitions(e,t){const{editor:i}=this,o=new _e,s=e.map(r=>zo(r)?{...r,valueWithUnits:"custom"}:r.value?{...r,valueWithUnits:`${r.value}${this._resizeUnit}`}:{...r,valueWithUnits:null});for(const r of s){let a=null;if(i.plugins.has("ImageCustomResizeUI")&&zo(r)){const l=i.plugins.get("ImageCustomResizeUI");a={type:"button",model:new et({label:this._getOptionLabelValue(r),role:"menuitemradio",withText:!0,icon:null,onClick:()=>{l._showForm(this._resizeUnit)}})};const c=Object.values(s).map(u=>u.valueWithUnits);a.model.bind("isOn").to(t,"value",t,"isEnabled",lI(c))}else a={type:"button",model:new et({commandName:"resizeImage",commandValue:r.valueWithUnits,label:this._getOptionLabelValue(r),role:"menuitemradio",withText:!0,icon:null})},a.model.bind("isOn").to(t,"value",t,"isEnabled",lc(r.valueWithUnits));a.model.bind("isEnabled").to(t,"isEnabled"),o.add(a)}return o}}function zo(n){return n.value==="custom"}function lc(n){return(e,t)=>{const i=e;return i===void 0||!t?!1:n===null&&i===n?!0:i!==null&&i.width===n}}function lI(n){return(e,t)=>!n.some(i=>lc(i)(e,t))}const cI="figure.image.ck-widget > img,figure.image.ck-widget > picture > img,figure.image.ck-widget > a > img,figure.image.ck-widget > a > picture > img,span.image-inline.ck-widget > img,span.image-inline.ck-widget > picture > img",_l="image_resized";class uI extends w{static get requires(){return[ul,Ke]}static get pluginName(){return"ImageResizeHandles"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.commands.get("resizeImage");this.bind("isEnabled").to(e),this._setupResizerCreator()}_setupResizerCreator(){const e=this.editor,t=e.editing.view,i=e.plugins.get("ImageUtils");t.addObserver(Ru),this.listenTo(t.document,"imageLoaded",(o,s)=>{if(!s.target.matches(cI))return;const r=e.editing.view.domConverter,a=r.domToView(s.target),l=i.getImageWidgetFromImageView(a);let c=this.editor.plugins.get(ul).getResizerByViewElement(l);if(c){c.redraw();return}const u=e.editing.mapper,d=u.toModelElement(l);c=e.plugins.get(ul).attachTo({unit:e.config.get("image.resizeUnit"),modelElement:d,viewElement:l,editor:e,getHandleHost(m){return m.querySelector("img")},getResizeHost(){return r.mapViewToDom(u.toViewElement(d))},isCentered(){return d.getAttribute("imageStyle")=="alignCenter"},onCommit(m){t.change(f=>{f.removeClass(_l,l)}),e.execute("resizeImage",{width:m})}}),c.on("updateSize",()=>{l.hasClass(_l)||t.change(f=>{f.addClass(_l,l)});const m=d.name==="imageInline"?a:l;m.getStyle("height")&&t.change(f=>{f.removeStyle("height",m)})}),c.bind("isEnabled").to(this)})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function y1(n){if(!n)return null;const[,e,t]=n.trim().match(/([.,\d]+)(%|px)$/)||[],i=Number.parseFloat(e);return Number.isNaN(i)?null:{value:i,unit:t}}function k1(n,e,t){return t==="px"?{value:e.value,unit:"px"}:{value:e.value/n*100,unit:"%"}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function C1(n){const{editing:e}=n,t=n.plugins.get("ImageUtils").getClosestSelectedImageElement(n.model.document.selection);if(!t)return null;const i=e.mapper.toViewElement(t),o=e.view.domConverter.mapViewToDom(i);return{model:t,view:i,dom:o}}function hI(n,e){const t=C1(n);if(!t)return null;const i=y1(t.model.getAttribute("resizedWidth")||null);if(!i)return null;if(i.unit===e)return i;const o=Au(t.dom),s={value:new z(t.dom).width};return k1(o,s,e)}class dI extends A{constructor(e,t,i){super(e),h(this,"focusTracker"),h(this,"keystrokes"),h(this,"unit"),h(this,"backButtonView"),h(this,"saveButtonView"),h(this,"labeledInput"),h(this,"children"),h(this,"_focusables"),h(this,"_focusCycler"),h(this,"_validators"),this.focusTracker=new ee,this.keystrokes=new te,this.unit=t,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.labeledInput=this._createLabeledInputView(),this.children=this.createCollection([this._createHeaderView()]),this.children.add(new $e(e,{children:[this.labeledInput,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding"]})),this._focusables=new Ie,this._validators=i,this.keystrokes.set("Esc",(o,s)=>{this.fire("cancel"),s()}),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-image-custom-resize-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),Ri({view:this}),[this.backButtonView,this.labeledInput,this.saveButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new P(this.locale);return t.set({label:e("Save"),withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Image Resize")});return t.children.add(this.backButtonView,0),t}_createLabeledInputView(){const e=this.locale.t,t=new Te(this.locale,eb);return t.label=e("Resize image (in %0)",this.unit),t.class="ck-labeled-field-view_full-width",t.fieldView.set({step:.1}),t}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.labeledInput.errorText=t,!1}return!0}resetFormStatus(){this.labeledInput.errorText=null}get rawSize(){const{element:e}=this.labeledInput.fieldView;return e?e.value:null}get parsedSize(){const{rawSize:e}=this;if(e===null)return null;const t=Number.parseFloat(e);return Number.isNaN(t)?null:t}get sizeWithUnits(){const{parsedSize:e,unit:t}=this;return e===null?null:`${e}${t}`}}function mI(n,e){const t=C1(n);if(!t)return null;const i=Au(t.dom),o=y1(window.getComputedStyle(t.dom).minWidth)||{value:1},s=Math.max(.1,k1(i,o,e).value);return{unit:e,lower:s,upper:e==="px"?i:100}}class fI extends w{constructor(){super(...arguments),h(this,"_balloon"),h(this,"_form")}static get requires(){return[Ue]}static get pluginName(){return"ImageCustomResizeUI"}static get isOfficialPlugin(){return!0}destroy(){super.destroy(),this._form&&this._form.destroy()}_createForm(e){const t=this.editor;this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(ho(dI))(t.locale,e,gI(t)),this._form.render(),this.listenTo(this._form,"submit",()=>{this._form.isValid()&&(t.execute("resizeImage",{width:this._form.sizeWithUnits}),this._hideForm(!0))}),this.listenTo(this._form.labeledInput,"change:errorText",()=>{t.ui.update()}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),$t({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(e){if(this._isVisible)return;this._form||this._createForm(e);const t=this.editor,i=this._form.labeledInput;this._form.disableCssTransitions(),this._form.resetFormStatus(),this._isInBalloon||this._balloon.add({view:this._form,position:Vu(t)});const o=hI(t,e),s=o?o.value.toFixed(1):"",r=mI(t,e);i.fieldView.value=i.fieldView.element.value=s,r&&Object.assign(i.fieldView,{min:r.lower.toFixed(1),max:Math.ceil(r.upper).toFixed(1)}),this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(e=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),e&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}function gI(n){const e=n.t;return[t=>{if(t.rawSize.trim()==="")return e("The value must not be empty.");if(t.parsedSize===null)return e("The value should be a plain number.")}]}class pI extends w{static get requires(){return[v1,uI,fI,aI]}static get pluginName(){return"ImageResize"}static get isOfficialPlugin(){return!0}}class wI extends O{constructor(e,t){super(e),h(this,"_defaultStyles"),h(this,"_styles"),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(t.map(i=>{if(i.isDefault)for(const o of i.modelElements)this._defaultStyles[o]=i.name;return[i.name,i]}))}refresh(){const e=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!e,this.isEnabled?e.hasAttribute("imageStyle")?this.value=e.getAttribute("imageStyle"):this.value=this._defaultStyles[e.name]:this.value=!1}execute(e={}){const t=this.editor,i=t.model,o=t.plugins.get("ImageUtils");i.change(s=>{const r=e.value,{setImageSizes:a=!0}=e;let l=o.getClosestSelectedImageElement(i.document.selection);r&&this.shouldConvertImageType(r,l)&&(this.editor.execute(o.isBlockImage(l)?"imageTypeInline":"imageTypeBlock",{setImageSizes:a}),l=o.getClosestSelectedImageElement(i.document.selection)),!r||this._styles.get(r).isDefault?s.removeAttribute("imageStyle",l):s.setAttribute("imageStyle",r,l),a&&o.setImageNaturalSizeAttributes(l)})}shouldConvertImageType(e,t){return!this._styles.get(e).modelElements.includes(t.name)}}const wr={get inline(){return{name:"inline",title:"In line",icon:bw,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:ru,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:_w,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:Mr,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:Lr,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:vw,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:Mr,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:Lr,modelElements:["imageBlock"],className:"image-style-side"}}},A1={full:GC,left:_w,right:vw,center:Mr,inlineLeft:ru,inlineRight:Lr,inline:bw},x1=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function bI(n){return(n.configuredStyles.options||[]).map(e=>yI(e)).filter(e=>kI(e,n))}function _I(n,e){return n&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:n?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}}function vI(n){return n.has("ImageBlockEditing")&&n.has("ImageInlineEditing")?[...x1]:[]}function yI(n){return typeof n=="string"?wr[n]?n={...wr[n]}:n={name:n}:n=CI(wr[n.name],n),typeof n.icon=="string"&&(n.icon=A1[n.icon]||n.icon),n}function kI(n,{isBlockPluginLoaded:e,isInlinePluginLoaded:t}){const{modelElements:i,name:o}=n;if(!i||!i.length||!o)return T1({style:n}),!1;{const s=[e?"imageBlock":null,t?"imageInline":null];if(!i.some(r=>s.includes(r)))return J("image-style-missing-dependency",{style:n,missingPlugins:i.map(r=>r==="imageBlock"?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}function CI(n,e){const t={...e};for(const i in n)Object.prototype.hasOwnProperty.call(e,i)||(t[i]=n[i]);return t}function T1(n){J("image-style-configuration-definition-invalid",n)}var cc={normalizeStyles:bI,getDefaultStylesConfiguration:_I,getDefaultDropdownDefinitions:vI,warnInvalidStyle:T1,DEFAULT_OPTIONS:wr,DEFAULT_ICONS:A1,DEFAULT_DROPDOWN_DEFINITIONS:x1};function AI(n){return(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const o=Xm(t.attributeNewValue,n),s=Xm(t.attributeOldValue,n),r=i.mapper.toViewElement(t.item),a=i.writer;s&&a.removeClass(s.className,r),o&&a.addClass(o.className,r)}}function xI(n){const e={imageInline:n.filter(t=>!t.isDefault&&t.modelElements.includes("imageInline")),imageBlock:n.filter(t=>!t.isDefault&&t.modelElements.includes("imageBlock"))};return(t,i,o)=>{if(!i.modelRange)return;const s=i.viewItem,r=ae(i.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const a of e[r.name])o.consumable.consume(s,{classes:a.className})&&o.writer.setAttribute("imageStyle",a.name,r)}}function Xm(n,e){for(const t of e)if(t.name===n)return t}class E1 extends w{constructor(){super(...arguments),h(this,"normalizedStyles")}static get pluginName(){return"ImageStyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Ke]}init(){const{normalizeStyles:e,getDefaultStylesConfiguration:t}=cc,i=this.editor,o=i.plugins.has("ImageBlockEditing"),s=i.plugins.has("ImageInlineEditing");i.config.define("image.styles",t(o,s)),this.normalizedStyles=e({configuredStyles:i.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:s}),this._setupConversion(o,s),this._setupPostFixer(),i.commands.add("imageStyle",new wI(i,this.normalizedStyles))}_setupConversion(e,t){const i=this.editor,o=i.model.schema,s=AI(this.normalizedStyles),r=xI(this.normalizedStyles);i.editing.downcastDispatcher.on("attribute:imageStyle",s),i.data.downcastDispatcher.on("attribute:imageStyle",s),e&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:figure",r,{priority:"low"})),t&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),i.data.upcastDispatcher.on("element:img",r,{priority:"low"}))}_setupPostFixer(){const e=this.editor,t=e.model.document,i=e.plugins.get(Ke),o=new Map(this.normalizedStyles.map(s=>[s.name,s]));t.registerPostFixer(s=>{let r=!1;for(const a of t.differ.getChanges())if(a.type=="insert"||a.type=="attribute"&&a.attributeKey=="imageStyle"){let l=a.type=="insert"?a.position.nodeAfter:a.range.start.nodeAfter;if(l&&l.is("element","paragraph")&&l.childCount>0&&(l=l.getChild(0)),!i.isImage(l))continue;const c=l.getAttribute("imageStyle");if(!c)continue;const u=o.get(c);(!u||!u.modelElements.includes(l.name))&&(s.removeAttribute("imageStyle",l),r=!0)}return r})}}class TI extends w{static get requires(){return[E1]}static get pluginName(){return"ImageStyleUI"}static get isOfficialPlugin(){return!0}get localizedDefaultStylesTitles(){const e=this.editor.t;return{"Wrap text":e("Wrap text"),"Break text":e("Break text"),"In line":e("In line"),"Full size image":e("Full size image"),"Side image":e("Side image"),"Left aligned image":e("Left aligned image"),"Centered image":e("Centered image"),"Right aligned image":e("Right aligned image")}}init(){const e=this.editor.plugins,t=this.editor.config.get("image.toolbar")||[],i=e.get("ImageStyleEditing"),o=ef(i.normalizedStyles,this.localizedDefaultStylesTitles);for(const r of o)this._createButton(r);const s=ef([...t.filter(Et),...cc.getDefaultDropdownDefinitions(e)],this.localizedDefaultStylesTitles);for(const r of s)this._createDropdown(r,o)}_createDropdown(e,t){const i=this.editor.ui.componentFactory;i.add(e.name,o=>{let s;const{defaultItem:r,items:a,title:l}=e,c=a.filter(f=>t.find(({name:g})=>tf(g)===f)).map(f=>{const g=i.create(f);return f===r&&(s=g),g});a.length!==c.length&&cc.warnInvalidStyle({dropdown:e});const u=Ee(o,Xi),d=u.buttonView,m=d.arrowView;return fa(u,c,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:nf(l,s.label),class:null,tooltip:!0}),m.unbind("label"),m.set({label:l}),d.bind("icon").toMany(c,"isOn",(...f)=>{const g=f.findIndex(qn);return g<0?s.icon:c[g].icon}),d.bind("label").toMany(c,"isOn",(...f)=>{const g=f.findIndex(qn);return nf(l,g<0?s.label:c[g].label)}),d.bind("isOn").toMany(c,"isOn",(...f)=>f.some(qn)),d.bind("class").toMany(c,"isOn",(...f)=>f.some(qn)?"ck-splitbutton_flatten":void 0),d.on("execute",()=>{c.some(({isOn:f})=>f)?u.isOpen=!u.isOpen:s.fire("execute")}),u.bind("isEnabled").toMany(c,"isEnabled",(...f)=>f.some(qn)),this.listenTo(u,"execute",()=>{this.editor.editing.view.focus()}),u})}_createButton(e){const t=e.name;this.editor.ui.componentFactory.add(tf(t),i=>{const o=this.editor.commands.get("imageStyle"),s=new P(i);return s.set({label:e.title,icon:e.icon,tooltip:!0,isToggleable:!0}),s.bind("isEnabled").to(o,"isEnabled"),s.bind("isOn").to(o,"value",r=>r===t),s.on("execute",this._executeCommand.bind(this,t)),s})}_executeCommand(e){this.editor.execute("imageStyle",{value:e}),this.editor.editing.view.focus()}}function ef(n,e){for(const t of n)e[t.title]&&(t.title=e[t.title]);return n}function tf(n){return`imageStyle:${n}`}function nf(n,e){return(n?n+": ":"")+e}class EI extends w{static get requires(){return[E1,TI]}static get pluginName(){return"ImageStyle"}static get isOfficialPlugin(){return!0}}class SI extends w{static get requires(){return[ci,Ke]}static get pluginName(){return"ImageToolbar"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(ci),o=e.plugins.get("ImageUtils");i.register("image",{ariaLabel:t("Image toolbar"),items:PI(e.config.get("image.toolbar")||[]),getRelatedElement:s=>o.getClosestSelectedImageWidget(s)})}}function PI(n){return n.map(e=>Et(e)?e.name:e)}class II extends w{static get requires(){return[Ou,Ke]}static get pluginName(){return"PictureEditing"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor;e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:["sources"]}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:["sources"]}),this._setupConversion(),this._setupImageUploadEditingIntegration()}_setupConversion(){const e=this.editor,t=e.conversion,i=e.plugins.get("ImageUtils");t.for("upcast").add(I4(i)),t.for("downcast").add(V4(i))}_setupImageUploadEditingIntegration(){const e=this.editor;if(!e.plugins.has("ImageUploadEditing"))return;const t=e.plugins.get("ImageUploadEditing");this.listenTo(t,"uploadComplete",(i,{imageElement:o,data:s})=>{const r=s.sources;r&&e.model.change(a=>{a.setAttributes({sources:r},o)})})}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class VI extends w{static get pluginName(){return"IndentEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.commands.add("indent",new rd(e)),e.commands.add("outdent",new rd(e))}}class RI extends w{static get pluginName(){return"IndentUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale,i=e.t,o=t.uiLanguageDirection=="ltr"?wd:bd,s=t.uiLanguageDirection=="ltr"?bd:wd;this._defineButton("indent",i("Increase indent"),o),this._defineButton("outdent",i("Decrease indent"),s)}_defineButton(e,t,i){const o=this.editor;o.ui.componentFactory.add(e,()=>{const s=this._createButton(P,e,t,i);return s.set({tooltip:!0}),s}),o.ui.componentFactory.add("menuBar:"+e,()=>this._createButton(ve,e,t,i))}_createButton(e,t,i,o){const s=this.editor,r=s.commands.get(t),a=new e(s.locale);return a.set({label:i,icon:o}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",()=>{s.execute(t),s.editing.view.focus()}),a}}class OI extends w{static get pluginName(){return"Indent"}static get isOfficialPlugin(){return!0}static get requires(){return[VI,RI]}}class er extends O{constructor(e,t){super(e),h(this,"_indentBehavior"),this._indentBehavior=t}refresh(){const e=this.editor.model,t=ae(e.document.selection.getSelectedBlocks());if(!t||!this._isIndentationChangeAllowed(t)){this.isEnabled=!1;return}this.isEnabled=this._indentBehavior.checkEnabled(t.getAttribute("blockIndent"))}execute(){const e=this.editor.model,t=this._getBlocksToChange();e.change(i=>{for(const o of t){const s=o.getAttribute("blockIndent"),r=this._indentBehavior.getNextIndent(s);r?i.setAttribute("blockIndent",r,o):i.removeAttribute("blockIndent",o)}})}_getBlocksToChange(){const e=this.editor.model.document.selection;return Array.from(e.getSelectedBlocks()).filter(t=>this._isIndentationChangeAllowed(t))}_isIndentationChangeAllowed(e){const t=this.editor;return t.model.schema.checkAttribute(e,"blockIndent")?!t.plugins.has("ListUtils")||!this._indentBehavior.isForward?!0:!t.plugins.get("ListUtils").isListItemBlock(e):!1}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class of{constructor(e){h(this,"isForward"),h(this,"offset"),h(this,"unit"),this.isForward=e.direction==="forward",this.offset=e.offset,this.unit=e.unit}checkEnabled(e){const t=parseFloat(e||"0");return this.isForward||t>0}getNextIndent(e){const t=parseFloat(e||"0");if(!(!e||e.endsWith(this.unit)))return this.isForward?this.offset+this.unit:void 0;const i=this.isForward?this.offset:-this.offset,o=t+i;return o>0?o+this.unit:void 0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class sf{constructor(e){h(this,"isForward"),h(this,"classes"),this.isForward=e.direction==="forward",this.classes=e.classes}checkEnabled(e){const t=this.classes.indexOf(e);return this.isForward?t=0}getNextIndent(e){const t=this.classes.indexOf(e),i=this.isForward?1:-1;return this.classes[t+i]}}const BI=["paragraph","heading1","heading2","heading3","heading4","heading5","heading6"];class MI extends w{constructor(e){super(e),e.config.define("indentBlock",{offset:40,unit:"px"})}static get pluginName(){return"IndentBlock"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.config.get("indentBlock");t.classes&&t.classes.length?(this._setupConversionUsingClasses(t.classes),e.commands.add("indentBlock",new er(e,new sf({direction:"forward",classes:t.classes}))),e.commands.add("outdentBlock",new er(e,new sf({direction:"backward",classes:t.classes})))):(e.data.addStyleProcessorRules(L5),this._setupConversionUsingOffset(),e.commands.add("indentBlock",new er(e,new of({direction:"forward",offset:t.offset,unit:t.unit}))),e.commands.add("outdentBlock",new er(e,new of({direction:"backward",offset:t.offset,unit:t.unit}))))}afterInit(){const e=this.editor,t=e.model.schema,i=e.commands.get("indent"),o=e.commands.get("outdent"),s=e.config.get("heading.options");(s&&s.map(r=>r.model)||BI).forEach(r=>{t.isRegistered(r)&&t.extend(r,{allowAttributes:"blockIndent"})}),t.setAttributeProperties("blockIndent",{isFormatting:!0}),i.registerChildCommand(e.commands.get("indentBlock")),o.registerChildCommand(e.commands.get("outdentBlock"))}_setupConversionUsingOffset(){const e=this.editor.conversion,t=this.editor.locale.contentLanguageDirection==="rtl"?"margin-right":"margin-left";e.for("upcast").attributeToAttribute({view:{styles:{[t]:/[\s\S]+/}},model:{key:"blockIndent",value:i=>{if(!i.is("element","li"))return i.getStyle(t)}}}),e.for("downcast").attributeToAttribute({model:"blockIndent",view:i=>({key:"style",value:{[t]:i}})})}_setupConversionUsingClasses(e){const t={model:{key:"blockIndent",values:[]},view:{}};for(const i of e)t.model.values.push(i),t.view[i]={key:"class",value:[i]};this.editor.conversion.attributeToAttribute(t)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function Bu(n,e){return e=e||Dl(n),`${n}:${e}`}function LI(n){const[e,t]=n.split(":");return{languageCode:e,textDirection:t}}class FI extends O{refresh(){const e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"language")}execute({languageCode:e,textDirection:t}={}){const i=this.editor.model,o=i.document.selection,s=e?Bu(e,t):!1;i.change(r=>{if(o.isCollapsed)s?r.setSelectionAttribute("language",s):r.removeSelectionAttribute("language");else{const a=i.schema.getValidRanges(o.getRanges(),"language");for(const l of a)s?r.setAttribute("language",s,l):r.removeAttribute("language",l)}})}_getValueFromFirstAllowedNode(){const e=this.editor.model,t=e.schema,i=e.document.selection;if(i.isCollapsed)return i.getAttribute("language")||!1;for(const o of i.getRanges())for(const s of o.getItems())if(t.checkAttribute(s,"language"))return s.getAttribute("language")||!1;return!1}}class NI extends w{static get pluginName(){return"TextPartLanguageEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("language",{textPartLanguage:[{title:"Arabic",languageCode:"ar"},{title:"French",languageCode:"fr"},{title:"Spanish",languageCode:"es"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"language"}),e.model.schema.setAttributeProperties("language",{copyOnEnter:!0}),this._defineConverters(),e.commands.add("textPartLanguage",new FI(e))}_defineConverters(){const e=this.editor.conversion;e.for("upcast").elementToAttribute({model:{key:"language",value:t=>{const i=t.getAttribute("lang"),o=t.getAttribute("dir");return Bu(i,o)}},view:{name:"span",attributes:{lang:/[\s\S]+/}}}),e.for("downcast").attributeToElement({model:"language",view:(t,{writer:i},o)=>{if(!t||!o.item.is("$textProxy")&&!o.item.is("documentSelection"))return;const{languageCode:s,textDirection:r}=LI(t);return i.createAttributeElement("span",{lang:s,dir:r})}})}}class DI extends w{static get pluginName(){return"TextPartLanguageUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,i=t("Choose language"),o=t("Language");e.ui.componentFactory.add("textPartLanguage",s=>{const{definitions:r,titles:a}=this._getItemMetadata(),l=e.commands.get("textPartLanguage"),c=Ee(s);return wt(c,r,{ariaLabel:o,role:"menu"}),c.buttonView.set({ariaLabel:o,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:o}),c.extendTemplate({attributes:{class:["ck-text-fragment-language-dropdown"]}}),c.bind("isEnabled").to(l,"isEnabled"),c.buttonView.bind("label").to(l,"value",u=>u&&a[u]||i),c.buttonView.bind("ariaLabel").to(l,"value",u=>{const d=u&&a[u];return d?`${d}, ${o}`:o}),this.listenTo(c,"execute",u=>{l.execute({languageCode:u.source.languageCode,textDirection:u.source.textDirection}),e.editing.view.focus()}),c}),e.ui.componentFactory.add("menuBar:textPartLanguage",s=>{const{definitions:r}=this._getItemMetadata(),a=e.commands.get("textPartLanguage"),l=new Tt(s);l.buttonView.set({label:o});const c=new Si(s);c.set({ariaLabel:t("Language"),role:"menu"});for(const u of r){if(u.type!="button"){c.items.add(new ma(s));continue}const d=new Oi(s,l),m=new ve(s);m.set({role:"menuitemradio",isToggleable:!0}),m.bind(...Object.keys(u.model)).to(u.model),m.delegate("execute").to(l),d.children.add(m),c.items.add(d)}return l.bind("isEnabled").to(a,"isEnabled"),l.panelView.children.add(c),l.on("execute",u=>{a.execute({languageCode:u.source.languageCode,textDirection:u.source.textDirection}),e.editing.view.focus()}),l})}_getItemMetadata(){const e=this.editor,t=new _e,i={},o=e.commands.get("textPartLanguage"),s=e.config.get("language.textPartLanguage"),r=e.locale.t,a=r("Remove language");t.add({type:"button",model:new et({label:a,languageCode:!1,withText:!0})}),t.add({type:"separator"});for(const l of s){const c={type:"button",model:new et({label:l.title,languageCode:l.languageCode,role:"menuitemradio",textDirection:l.textDirection,withText:!0})},u=Bu(l.languageCode,l.textDirection);c.model.bind("isOn").to(o,"value",d=>d===u),t.add(c),i[u]=l.title}return{definitions:t,titles:i}}}class zI extends w{static get requires(){return[NI,DI]}static get pluginName(){return"TextPartLanguage"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class HI{constructor(){h(this,"_definitions",new Set)}get length(){return this._definitions.size}add(e){Array.isArray(e)?e.forEach(t=>this._definitions.add(t)):this._definitions.add(e)}getDispatcher(){return e=>{e.on("attribute:linkHref",(t,i,o)=>{if(!o.consumable.test(i.item,"attribute:linkHref")||!(i.item.is("selection")||o.schema.isInline(i.item)))return;const s=o.writer,r=s.document.selection;for(const a of this._definitions){const l=s.createAttributeElement("a",a.attributes,{priority:5});a.classes&&s.addClass(a.classes,l);for(const c in a.styles)s.setStyle(c,a.styles[c],l);s.setCustomProperty("link",!0,l),a.callback(i.attributeNewValue)?i.item.is("selection")?s.wrap(r.getFirstRange(),l):s.wrap(o.mapper.toViewRange(i.range),l):s.unwrap(o.mapper.toViewRange(i.range),l)}},{priority:"high"})}}getDispatcherForLinkedImage(){return e=>{e.on("attribute:linkHref:imageBlock",(t,i,{writer:o,mapper:s})=>{const r=s.toViewElement(i.item),a=Array.from(r.getChildren()).find(l=>l.is("element","a"));if(a)for(const l of this._definitions){const c=ri(l.attributes);if(l.callback(i.attributeNewValue)){for(const[u,d]of c)u==="class"?o.addClass(d,a):o.setAttribute(u,d,a);l.classes&&o.addClass(l.classes,a);for(const u in l.styles)o.setStyle(u,l.styles[u],a)}else{for(const[u,d]of c)u==="class"?o.removeClass(d,a):o.removeAttribute(u,a);l.classes&&o.removeClass(l.classes,a);for(const u in l.styles)o.removeStyle(u,a)}}})}}}const $I=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,WI="^(?:(?:):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))",jI=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,UI=/^((\w+:(\/{2,})?)|(\W))/i,qI=["https?","ftps?","mailto"],tr="Ctrl+K";function GI(n){return n.is("attributeElement")&&!!n.getCustomProperty("link")}function rf(n,{writer:e}){const t=e.createAttributeElement("a",{href:n},{priority:5});return e.setCustomProperty("link",!0,t),t}function S1(n,e=qI){const t=String(n),i=e.join("|"),o=new RegExp(`${WI.replace("",i)}`,"i");return KI(t,o)?t:"#"}function KI(n,e){return!!n.replace($I,"").match(e)}function ZI(n,e){const t={"Open in a new tab":n("Open in a new tab"),Downloadable:n("Downloadable")};return e.forEach(i=>("label"in i&&t[i.label]&&(i.label=t[i.label]),i)),e}function JI(n){const e=[];if(n)for(const[t,i]of Object.entries(n)){const o=Object.assign({},i,{id:`link${T_(t)}`});e.push(o)}return e}function uc(n,e){return n?e.checkAttribute(n.name,"linkHref"):!1}function QI(n){return jI.test(n)}function Mu(n,e){const t=QI(n)?"mailto:":e,i=!!t&&!P1(n);return n&&i?t+n:n}function P1(n){return UI.test(n)}function YI(n){window.open(n,"_blank","noopener")}function hc(n){let e="";for(const t of n.getItems()){if(!t.is("$text")&&!t.is("$textProxy"))return;e+=t.data}return e}class XI extends O{constructor(){super(...arguments),h(this,"manualDecorators",new _e),h(this,"automaticDecorators",new HI)}restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement()||ae(t.getSelectedBlocks());uc(i,e.schema)?(this.value=i.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttribute(i,"linkHref")):(this.value=t.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref"));for(const o of this.manualDecorators)o.value=this._getDecoratorStateFromModel(o.id)}execute(e,t={},i){const o=this.editor.model,s=o.document.selection,r=[],a=[];for(const l in t)t[l]?r.push(l):a.push(l);o.change(l=>{const c=m=>{l.setAttribute("linkHref",e,m),r.forEach(f=>l.setAttribute(f,!0,m)),a.forEach(f=>l.removeAttribute(f,m))},u=(m,f)=>{const g=hc(m);if(!g)return m;let p=i;if(p||(p=f&&f==g?e:g),p!=g){const _=eV(g,p);let v=0;for(const{offset:E,actual:M,expected:G}of _){const X=E+v,T=l.createRange(m.start.getShiftedBy(X),m.start.getShiftedBy(X+M.length)),F=tV(T,m).getAttributes(),x=Array.from(F).filter(([Ve])=>o.schema.getAttributeProperties(Ve).isFormatting),q=l.createText(G,x);c(q),o.insertContent(q,T),v+=G.length}return l.createRange(m.start,m.start.getShiftedBy(p.length))}},d=m=>{const{plugins:f}=this.editor;if(l.setSelection(m.end),f.has("TwoStepCaretMovement"))f.get("TwoStepCaretMovement")._handleForwardMovement();else for(const g of["linkHref",...r,...a])l.removeSelectionAttribute(g)};if(s.isCollapsed){const m=s.getFirstPosition();if(s.hasAttribute("linkHref")){const f=s.getAttribute("linkHref"),g=Ps(m,"linkHref",f,o),p=u(g,f);c(p||g),p&&d(p)}else if(e!==""){const f=ri(s.getAttributes());f.set("linkHref",e),r.forEach(p=>{f.set(p,!0)});const g=o.insertContent(l.createText(i||e,f),m);d(g)}}else{const m=Array.from(s.getRanges()),f=o.schema.getValidRanges(m,"linkHref"),g=[];for(const v of s.getSelectedBlocks())o.schema.checkAttribute(v,"linkHref")&&g.push(l.createRangeOn(v));const p=g.slice();for(const v of f)this._isRangeToUpdate(v,g)&&p.push(v);const _=m.map(v=>({start:Me.fromPosition(v.start,"toPrevious"),end:Me.fromPosition(v.end,"toNext")}));for(let v of p){const E=(v.start.textNode||v.start.nodeAfter).getAttribute("linkHref");v=u(v,E)||v,c(v)}l.setSelection(_.map(v=>{const E=v.start.toPosition(),M=v.end.toPosition();return v.start.detach(),v.end.detach(),o.createRange(E,M)}))}})}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,o=i.getSelectedElement();return uc(o,t.schema)?o.getAttribute(e):i.getAttribute(e)}_isRangeToUpdate(e,t){for(const i of t)if(i.containsRange(e))return!1;return!0}}function eV(n,e){const t=oo(n,e),i={equal:0,insert:0,delete:0},o=[];let s="",r="";for(const a of[...t,null])a=="insert"?r+=e[i.equal+i.insert]:a=="delete"?s+=n[i.equal+i.delete]:(s.length||r.length)&&(o.push({offset:i.equal,actual:s,expected:r}),s="",r=""),a&&i[a]++;return o}function tV(n,e){if(!n.isCollapsed)return ae(n.getItems());const t=n.start;return t.textNode?t.textNode:!t.nodeBefore||t.isEqual(e.start)?t.nodeAfter:t.nodeBefore}class iV extends O{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();uc(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,t=this.editor.model,i=t.document.selection,o=e.commands.get("link");t.change(s=>{const r=i.isCollapsed?[Ps(i.getFirstPosition(),"linkHref",i.getAttribute("linkHref"),t)]:t.schema.getValidRanges(i.getRanges(),"linkHref");for(const a of r)if(s.removeAttribute("linkHref",a),o)for(const l of o.manualDecorators)s.removeAttribute(l.id,a)})}}class nV extends ue(){constructor({id:e,label:t,attributes:i,classes:o,styles:s,defaultValue:r}){super(),h(this,"id"),h(this,"defaultValue"),h(this,"label"),h(this,"attributes"),h(this,"classes"),h(this,"styles"),this.id=e,this.set("value",void 0),this.defaultValue=r,this.label=t,this.attributes=i,this.classes=o,this.styles=s}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}const oV="ck-link_selected",af="automatic",sV="manual",rV=/^(https?:)?\/\//;class ks extends w{constructor(e){super(e),h(this,"_linkOpeners",[]),e.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1,toolbar:["linkPreview","|","editLink","linkProperties","unlink"]})}static get pluginName(){return"LinkEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Dr,vb,pt]}init(){const e=this.editor,t=this.editor.config.get("link.allowedProtocols");e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:rf}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(o,s)=>rf(S1(o,t),s)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:o=>o.getAttribute("href")}}),e.commands.add("link",new XI(e)),e.commands.add("unlink",new iV(e));const i=ZI(e.t,JI(e.config.get("link.decorators")));this._enableAutomaticDecorators(i.filter(o=>o.mode===af)),this._enableManualDecorators(i.filter(o=>o.mode===sV)),e.plugins.get(Dr).registerAttribute("linkHref"),Cb(e,"linkHref","a",oV),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_registerLinkOpener(e){this._linkOpeners.push(e)}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link").automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&i.add({id:"linkIsExternal",mode:af,callback:o=>!!o&&rV.test(o),attributes:{target:"_blank",rel:"noopener noreferrer"}}),i.add(e),i.length&&t.conversion.for("downcast").add(i.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const t=this.editor,i=t.commands.get("link").manualDecorators;e.forEach(o=>{t.model.schema.extend("$text",{allowAttributes:o.id});const s=new nV(o);i.add(s),t.conversion.for("downcast").attributeToElement({model:s.id,view:(r,{writer:a,schema:l},{item:c})=>{if((c.is("selection")||l.isInline(c))&&r){const u=a.createAttributeElement("a",s.attributes,{priority:5});s.classes&&a.addClass(s.classes,u);for(const d in s.styles)a.setStyle(d,s.styles[d],u);return a.setCustomProperty("link",!0,u),u}}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...s._createPattern()},model:{key:s.id}})})}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document,i=o=>{this._linkOpeners.some(s=>s(o))||YI(o)};this.listenTo(t,"click",(o,s)=>{if(!(N.isMac?s.domEvent.metaKey:s.domEvent.ctrlKey))return;let r=s.domTarget;if(r.tagName.toLowerCase()!="a"&&(r=r.closest("a")),!r)return;const a=r.getAttribute("href");a&&(o.stop(),s.preventDefault(),i(a))},{context:"$capture"}),this.listenTo(t,"keydown",(o,s)=>{const r=e.commands.get("link").value;r&&s.keyCode===Z.enter&&s.altKey&&(o.stop(),i(r))})}_enableSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(t,"change:attribute",(i,{attributeKeys:o})=>{!o.includes("linkHref")||t.hasAttribute("linkHref")||e.change(s=>{aV(s,lV(e.schema))})})}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",(o,s)=>{t.change(r=>{const a=r.createRangeIn(s.content);for(const l of a.getItems())if(l.hasAttribute("linkHref")){const c=Mu(l.getAttribute("linkHref"),i);r.setAttribute("linkHref",c,l)}})})}}function aV(n,e){n.removeSelectionAttribute("linkHref");for(const t of e)n.removeSelectionAttribute(t)}function lV(n){return n.getDefinition("$text").allowAttributes.filter(e=>e.startsWith("link"))}class cV extends P{constructor(e){super(e);const t=this.bindTemplate;this.set({href:void 0,withText:!0}),this.extendTemplate({attributes:{class:["ck-link-toolbar__preview"],href:t.to("href"),target:"_blank",rel:"noopener noreferrer"},on:{click:t.to(i=>{if(this.href){const o=()=>i.preventDefault();this.fire("navigate",this.href,o)}})}}),this.template.tag="a"}}class uV extends A{constructor(e,t){super(e),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"backButtonView"),h(this,"saveButtonView"),h(this,"displayedTextInputView"),h(this,"urlInputView"),h(this,"children"),h(this,"providersListChildren"),h(this,"_validators"),h(this,"_focusables",new Ie),h(this,"_focusCycler"),this._validators=t,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.displayedTextInputView=this._createDisplayedTextInput(),this.urlInputView=this._createUrlInput(),this.providersListChildren=this.createCollection(),this.children=this.createCollection([this._createHeaderView()]),this._createFormChildren(),this.listenTo(this.providersListChildren,"add",()=>{this.stopListening(this.providersListChildren,"add"),this.children.add(this._createProvidersListView())}),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-link-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),Ri({view:this}),[this.urlInputView,this.saveButtonView,...this.providersListChildren,this.backButtonView,this.displayedTextInputView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new P(this.locale);return t.set({label:e("Insert"),tooltip:!1,withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Link")});return t.children.add(this.backButtonView,0),t}_createProvidersListView(){const e=new En(this.locale);return e.extendTemplate({attributes:{class:["ck-link-form__providers-list"]}}),e.items.bindTo(this.providersListChildren).using(t=>{const i=new Nt(this.locale);return i.children.add(t),i}),e}_createDisplayedTextInput(){const e=this.locale.t,t=new Te(this.locale,nt);return t.label=e("Displayed text"),t.class="ck-labeled-field-view_full-width",t}_createUrlInput(){const e=this.locale.t,t=new Te(this.locale,nt);return t.fieldView.inputMode="url",t.label=e("Link URL"),t.class="ck-labeled-field-view_full-width",t}_createFormChildren(){this.children.add(new $e(this.locale,{children:[this.displayedTextInputView],class:["ck-form__row_large-top-padding"]})),this.children.add(new $e(this.locale,{children:[this.urlInputView,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding","ck-form__row_large-bottom-padding"]}))}get url(){const{element:e}=this.urlInputView.fieldView;return e?e.value.trim():null}}class hV extends A{constructor(e){super(e),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"backButtonView"),h(this,"listView"),h(this,"listChildren"),h(this,"emptyListInformation"),h(this,"children"),h(this,"_focusables",new Ie),h(this,"_focusCycler"),this.listChildren=this.createCollection(),this.backButtonView=this._createBackButton(),this.listView=this._createListView(),this.emptyListInformation=this._createEmptyLinksListItemView(),this.children=this.createCollection([this._createHeaderView(),this.emptyListInformation]),this.set("title",""),this.set("emptyListPlaceholder",""),this.set("hasItems",!1),this.listenTo(this.listChildren,"change",()=>{this.hasItems=this.listChildren.length>0}),this.on("change:hasItems",(t,i,o)=>{o?(this.children.remove(this.emptyListInformation),this.children.add(this.listView)):(this.children.remove(this.listView),this.children.add(this.emptyListInformation))}),this.keystrokes.set("Esc",(t,i)=>{this.fire("cancel"),i()}),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-providers"],tabindex:"-1"},children:this.children})}render(){super.render(),[this.listView,this.backButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createListView(){const e=new En(this.locale);return e.extendTemplate({attributes:{class:["ck-link-providers__list"]}}),e.items.bindTo(this.listChildren).using(t=>{const i=new Nt(this.locale);return i.children.add(t),i}),e}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createHeaderView(){const e=new Jt(this.locale);return e.bind("label").to(this,"title"),e.children.add(this.backButtonView,0),e}_createEmptyLinksListItemView(){const e=new A(this.locale);return e.setTemplate({tag:"p",attributes:{class:["ck","ck-link__empty-list-info"]},children:[{text:this.bindTemplate.to("emptyListPlaceholder")}]}),e}}class dV extends A{constructor(e){super(e),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"backButtonView"),h(this,"children"),h(this,"listChildren"),h(this,"_focusables",new Ie),h(this,"_focusCycler"),this.backButtonView=this._createBackButton(),this.listChildren=this.createCollection(),this.children=this.createCollection([this._createHeaderView(),this._createListView()]),this._focusCycler=new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-properties"],tabindex:"-1"},children:this.children}),this.keystrokes.set("Esc",(t,i)=>{this.fire("back"),i()})}render(){super.render(),[...this.listChildren,this.backButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBackButton(){const e=this.locale.t,t=new P(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:li,tooltip:!0}),t.delegate("execute").to(this,"back"),t}_createHeaderView(){const e=this.locale.t,t=new Jt(this.locale,{label:e("Link properties")});return t.children.add(this.backButtonView,0),t}_createListView(){const e=new En(this.locale);return e.extendTemplate({attributes:{class:["ck-link__list"]}}),e.items.bindTo(this.listChildren).using(t=>{const i=new Nt(this.locale);return i.children.add(t),i}),e}}class mV extends P{constructor(e){super(e),h(this,"arrowView"),this.set({withText:!0}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-link__button"]}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new hi;return e.content=ww,e}}const Xt="link-ui";class fV extends w{constructor(){super(...arguments),h(this,"toolbarView",null),h(this,"formView",null),h(this,"linkProviderItemsView",null),h(this,"propertiesView",null),h(this,"_balloon"),h(this,"_linksProviders",new _e)}static get requires(){return[Ue,ks]}static get pluginName(){return"LinkUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;this.set("selectedLinkableText",void 0),e.editing.view.addObserver(ew),this._balloon=e.plugins.get(Ue),this._registerComponents(),this._registerEditingOpeners(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:Xt,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:Xt,view:(i,{writer:o})=>{if(!i.markerRange.isCollapsed)return null;const s=o.createUIElement("span");return o.addClass(["ck-fake-link-selection","ck-fake-link-selection_collapsed"],s),s}}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Create link"),keystroke:tr},{label:t("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.propertiesView&&this.propertiesView.destroy(),this.formView&&this.formView.destroy(),this.toolbarView&&this.toolbarView.destroy(),this.linkProviderItemsView&&this.linkProviderItemsView.destroy()}registerLinksListProvider(e){const t=this._linksProviders.filter(i=>(i.order||0)<=(e.order||0)).length;this._linksProviders.add(e,t)}_createViews(){const e=this.editor.commands.get("link");this.toolbarView=this._createToolbarView(),this.formView=this._createFormView(),e.manualDecorators.length&&(this.propertiesView=this._createPropertiesView()),this._enableUserBalloonInteractions()}_createToolbarView(){const e=this.editor,t=new Ei(e.locale),i=e.commands.get("link");t.class="ck-link-toolbar";let o=e.config.get("link.toolbar");return i.manualDecorators.length||(o=o.filter(s=>s!=="linkProperties")),t.fillFromConfig(o,e.ui.componentFactory),t.keystrokes.set("Esc",(s,r)=>{this._hideUI(),r()}),t.keystrokes.set(tr,(s,r)=>{this._addFormView(),r()}),e.ui.addToolbar(t,{isContextual:!0,beforeFocus:()=>{this._getSelectedLinkElement()&&!this._isToolbarVisible&&this._showUI(!0)},afterBlur:()=>{this._hideUI(!1)}}),t}_createFormView(){const e=this.editor,t=e.locale.t,i=e.commands.get("link"),o=e.config.get("link.defaultProtocol"),s=new(ho(uV))(e.locale,gV(e));return s.displayedTextInputView.bind("isEnabled").to(this,"selectedLinkableText",r=>r!==void 0),s.urlInputView.bind("isEnabled").to(i,"isEnabled"),s.saveButtonView.bind("isEnabled").to(i,"isEnabled"),s.saveButtonView.bind("label").to(i,"value",r=>t(r?"Update":"Insert")),this.listenTo(s,"submit",()=>{if(s.isValid()){const r=s.urlInputView.fieldView.element.value,a=Mu(r,o),l=s.displayedTextInputView.fieldView.element.value;e.execute("link",a,this._getDecoratorSwitchesState(),l!==this.selectedLinkableText?l:void 0),this._closeFormView()}}),this.listenTo(s.urlInputView,"change:errorText",()=>{e.ui.update()}),this.listenTo(s,"cancel",()=>{this._closeFormView()}),s.keystrokes.set("Esc",(r,a)=>{this._closeFormView(),a()}),s.providersListChildren.bindTo(this._linksProviders).using(r=>this._createLinksListProviderButton(r)),s}_createLinkProviderListView(e){return e.getListItems().map(({href:t,label:i,icon:o})=>{const s=new P;return s.set({label:i,icon:o,tooltip:!1,withText:!0}),s.on("execute",()=>{this.formView.resetFormStatus(),this.formView.urlInputView.fieldView.value=t,this.editor.editing.view.focus(),this._removeLinksProviderView(),this.formView.focus()}),s})}_createLinkProviderItemsView(e){const t=this.editor,i=t.locale.t,o=new hV(t.locale),{emptyListPlaceholder:s,label:r}=e;return o.emptyListPlaceholder=s||i("No links available"),o.title=r,this.listenTo(o,"cancel",()=>{t.editing.view.focus(),this._removeLinksProviderView(),this.formView.focus()}),o}_createPropertiesView(){const e=this.editor,t=this.editor.commands.get("link"),i=new(ho(dV))(e.locale);return this.listenTo(i,"back",()=>{e.editing.view.focus(),this._removePropertiesView()}),i.listChildren.bindTo(t.manualDecorators).using(o=>{const s=new Ji(e.locale);return s.set({label:o.label,withText:!0}),s.bind("isOn").toMany([o,t],"value",(r,a)=>a===void 0&&r===void 0?!!o.defaultValue:!!r),s.on("execute",()=>{o.set("value",!s.isOn),e.execute("link",t.value,this._getDecoratorSwitchesState())}),s}),i}_getDecoratorSwitchesState(){const e=this.editor.commands.get("link");return Array.from(e.manualDecorators).reduce((t,i)=>{const o=e.value===void 0&&i.value===void 0?i.defaultValue:i.value;return{...t,[i.id]:!!o}},{})}_registerEditingOpeners(){this.editor.plugins.get(ks)._registerLinkOpener(e=>{const t=this._getLinkProviderLinkByHref(e);if(!t)return!1;const{item:i,provider:o}=t;return o.navigate?o.navigate(i):!1})}_registerComponents(){const e=this.editor;e.ui.componentFactory.add("link",()=>{const t=this._createButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:link",()=>{const t=this._createButton(ve);return t.set({role:"menuitemcheckbox"}),t}),e.ui.componentFactory.add("linkPreview",t=>{const i=new cV(t),o=e.config.get("link.allowedProtocols"),s=e.commands.get("link"),r=t.t;i.bind("isEnabled").to(s,"value",l=>!!l),i.bind("href").to(s,"value",l=>l&&S1(l,o));const a=l=>{if(!l){i.label=void 0,i.icon=void 0,i.tooltip=r("Open link in new tab");return}const c=this._getLinkProviderLinkByHref(l);if(c){const{label:u,tooltip:d,icon:m}=c.item;i.label=u,i.tooltip=d||!1,i.icon=m}else i.label=l,i.icon=void 0,i.tooltip=r("Open link in new tab")};return a(s.value),this.listenTo(s,"change:value",(l,c,u)=>{a(u)}),this.listenTo(i,"navigate",(l,c,u)=>{const d=this._getLinkProviderLinkByHref(c);if(!d)return;const{provider:m,item:f}=d,{navigate:g}=m;g&&g(f)&&(l.stop(),u())}),i}),e.ui.componentFactory.add("unlink",t=>{const i=e.commands.get("unlink"),o=new P(t),s=t.t;return o.set({label:s("Unlink"),icon:kA,tooltip:!0}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",()=>{e.execute("unlink"),this._hideUI()}),o}),e.ui.componentFactory.add("editLink",t=>{const i=e.commands.get("link"),o=new P(t),s=t.t;return o.set({label:s("Edit link"),icon:kw,tooltip:!0}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",()=>{this._addFormView()}),o}),e.ui.componentFactory.add("linkProperties",t=>{const i=e.commands.get("link"),o=new P(t),s=t.t;return o.set({label:s("Link properties"),icon:lA,tooltip:!0}),o.bind("isEnabled").to(i,"isEnabled",i,"value",i,"manualDecorators",(r,a,l)=>r&&!!a&&l.length>0),this.listenTo(o,"execute",()=>{this._addPropertiesView()}),o})}_createLinksListProviderButton(e){const t=this.editor.locale,i=new mV(t);return i.set({label:e.label}),this.listenTo(i,"execute",()=>{this._showLinksProviderView(e)}),i}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("link"),s=new e(t.locale),r=i.t;return s.set({label:r("Link"),icon:LC,keystroke:tr,isToggleable:!0}),s.bind("isEnabled").to(o,"isEnabled"),s.bind("isOn").to(o,"value",a=>!!a),this.listenTo(s,"execute",()=>{t.editing.view.scrollToTheSelection(),this._showUI(!0),this._getSelectedLinkElement()&&this._addFormView()}),s}_enableBalloonActivators(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),e.keystrokes.set(tr,(i,o)=>{o(),e.commands.get("link").isEnabled&&(e.editing.view.scrollToTheSelection(),this._showUI(!0))})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(e,t)=>{this._isToolbarVisible&&!this.toolbarView.focusTracker.isFocused&&(this.toolbarView.focus(),t())},{priority:"high"}),this.editor.keystrokes.set("Esc",(e,t)=>{this._isUIVisible&&(this._hideUI(),t())}),$t({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>{this._hideUI(!1)}})}_addToolbarView(){this.toolbarView||this._createViews(),!this._isToolbarInPanel&&this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const e=this.editor.commands.get("link");this.formView.disableCssTransitions(),this.formView.resetFormStatus(),this.formView.backButtonView.isVisible=e.isEnabled&&!!e.value,this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.selectedLinkableText=this._getSelectedLinkableText(),this.formView.displayedTextInputView.fieldView.value=this.selectedLinkableText||"",this.formView.urlInputView.fieldView.value=e.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_addPropertiesView(){this.propertiesView||this._createViews(),!this._arePropertiesInPanel&&(this.propertiesView.disableCssTransitions(),this._balloon.add({view:this.propertiesView,position:this._getBalloonPositionData()}),this.propertiesView.enableCssTransitions(),this.propertiesView.focus())}_showLinksProviderView(e){this.linkProviderItemsView&&this._removeLinksProviderView(),this.linkProviderItemsView=this._createLinkProviderItemsView(e),this._addLinkProviderItemsView(e)}_addLinkProviderItemsView(e){this.linkProviderItemsView.listChildren.clear(),this.linkProviderItemsView.listChildren.addMany(this._createLinkProviderListView(e)),this._balloon.add({view:this.linkProviderItemsView,position:this._getBalloonPositionData()}),this.linkProviderItemsView.focus()}_closeFormView(){const e=this.editor.commands.get("link");this.selectedLinkableText=void 0,e.value!==void 0?this._removeFormView():this._hideUI()}_removePropertiesView(){this._arePropertiesInPanel&&this._balloon.remove(this.propertiesView)}_removeLinksProviderView(){this._isLinksListInPanel&&this._balloon.remove(this.linkProviderItemsView)}_removeFormView(e=!0){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.displayedTextInputView.fieldView.reset(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),e&&this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(e=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._isToolbarVisible?this._addFormView():this._addToolbarView(),e&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addToolbarView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(e=!0){const t=this.editor;this._isUIInPanel&&(this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e&&t.editing.view.focus(),this._removeLinksProviderView(),this._removePropertiesView(),this._removeFormView(e),this._isToolbarInPanel&&this._balloon.remove(this.toolbarView),this._hideFakeVisualSelection())}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let i=this._getSelectedLinkElement(),o=r();const s=()=>{const a=this._getSelectedLinkElement(),l=r();i&&!a||!i&&l!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=a,o=l};function r(){return t.selection.focus.getAncestors().reverse().find(a=>a.is("element"))}this.listenTo(e.ui,"update",s),this.listenTo(this._balloon,"change:visibleView",s)}get _arePropertiesInPanel(){return!!this.propertiesView&&this._balloon.hasView(this.propertiesView)}get _isLinksListInPanel(){return!!this.linkProviderItemsView&&this._balloon.hasView(this.linkProviderItemsView)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _isToolbarInPanel(){return!!this.toolbarView&&this._balloon.hasView(this.toolbarView)}get _isPropertiesVisible(){return!!this.propertiesView&&this._balloon.visibleView===this.propertiesView}get _isFormVisible(){return!!this.formView&&this._balloon.visibleView==this.formView}get _isToolbarVisible(){return!!this.toolbarView&&this._balloon.visibleView===this.toolbarView}get _isUIInPanel(){return this._arePropertiesInPanel||this._isLinksListInPanel||this._isFormInPanel||this._isToolbarInPanel}get _isUIVisible(){return this._isPropertiesVisible||this._isLinksListInPanel||this._isFormVisible||this._isToolbarVisible}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document;if(this.editor.model.markers.has(Xt)){const i=this.editor.editing.mapper.markerNameToElements(Xt);if(i){const o=Array.from(i),s=e.createRange(e.createPositionBefore(o[0]),e.createPositionAfter(o[o.length-1]));return{target:e.domConverter.viewRangeToDom(s)}}}return{target:()=>{const i=this._getSelectedLinkElement();return i?e.domConverter.mapViewToDom(i):e.domConverter.viewRangeToDom(t.selection.getFirstRange())}}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&Se(i))return vl(t.getFirstPosition());{const o=t.getFirstRange().getTrimmed(),s=vl(o.start),r=vl(o.end);return!s||s!=r?null:e.createRangeIn(s).getTrimmed().isEqual(o)?s:null}}_getSelectedLinkableText(){const e=this.editor.model,t=this.editor.editing,i=this._getSelectedLinkElement();if(!i)return hc(e.document.selection.getFirstRange());const o=t.view.createRangeOn(i),s=t.mapper.toModelRange(o);return hc(s)}_getLinkProviderLinkByHref(e){if(!e)return null;for(const t of this._linksProviders){const i=t.getItem?t.getItem(e):t.getListItems().find(o=>o.href===e);if(i)return{provider:t,item:i}}return null}_showFakeVisualSelection(){const e=this.editor.model;e.change(t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(Xt))t.updateMarker(Xt,{range:i});else if(i.start.isAtEnd){const o=i.start.getLastMatchingPosition(({item:s})=>!e.schema.isContent(s),{boundaries:i});t.addMarker(Xt,{usingOperation:!1,affectsData:!1,range:t.createRange(o,i.end)})}else t.addMarker(Xt,{usingOperation:!1,affectsData:!1,range:i})})}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(Xt)&&e.change(t=>{t.removeMarker(Xt)})}}function vl(n){return n.getAncestors().find(e=>GI(e))||null}function gV(n){const e=n.t,t=n.config.get("link.allowCreatingEmptyLinks");return[i=>{if(!t&&!i.url.length)return e("Link URL must not be empty.")}]}const pV=4,I1=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63}))|localhost)(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i"),wV=2;class V1 extends w{static get requires(){return[en,ks]}static get pluginName(){return"AutoLink"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.model.document.selection;e.on("change:range",()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(e,t){return t.textNode&&t.textNode.hasAttribute("linkHref")?Ps(t,"linkHref",t.textNode.getAttribute("linkHref"),e):null}_selectEntireLinks(e,t){const i=this.editor.model,o=i.document.selection,s=o.getFirstPosition(),r=o.getLastPosition();let a=t.getJoined(this._expandLinkRange(i,s)||t);a&&(a=a.getJoined(this._expandLinkRange(i,r)||t)),a&&(a.start.isBefore(s)||a.end.isAfter(r))&&e.setSelection(a)}_enablePasteLinking(){const e=this.editor,t=e.model,i=t.document.selection,o=e.plugins.get("ClipboardPipeline"),s=e.commands.get("link");o.on("inputTransformation",(r,a)=>{if(!this.isEnabled||!s.isEnabled||i.isCollapsed||a.method!=="paste"||i.rangeCount>1)return;const l=i.getFirstRange(),c=a.dataTransfer.getData("text/plain");if(!c)return;const u=c.match(I1);u&&u[2]===c&&(t.change(d=>{this._selectEntireLinks(d,l),s.execute(c)}),r.stop())},{priority:"high"})}_enableTypingHandling(){const e=this.editor,t=new vu(e.model,i=>{let o=i;if(!bV(o))return;o=o.slice(0,-1),"!.:,;?".includes(o[o.length-1])&&(o=o.slice(0,-1));const s=lf(o);if(s)return{url:s,removedTrailingCharacters:i.length-o.length}});t.on("matched:data",(i,o)=>{const{batch:s,range:r,url:a,removedTrailingCharacters:l}=o;if(!s.isTyping)return;const c=r.end.getShiftedBy(-l),u=c.getShiftedBy(-a.length),d=e.model.createRange(u,c);this._applyAutoLink(a,d)}),t.bind("isEnabled").to(this)}_enableEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("enter");i&&i.on("execute",()=>{var o;const s=t.document.selection.getFirstPosition();let r;(o=s.parent.previousSibling)!=null&&o.is("element")?r=t.createRangeIn(s.parent.previousSibling):r=t.createRange(t.createPositionAt(s.parent,0),s),this._checkAndApplyAutoLinkOnRange(r)})}_enableShiftEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("shiftEnter");i&&i.on("execute",()=>{const o=t.document.selection.getFirstPosition(),s=t.createRange(t.createPositionAt(o.parent,0),o.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(s)})}_checkAndApplyAutoLinkOnRange(e){const t=this.editor.model,{text:i,range:o}=kb(e,t),s=lf(i);if(s){const r=t.createRange(o.end.getShiftedBy(-s.length),o.end);this._applyAutoLink(s,r)}}_applyAutoLink(e,t){const i=this.editor.model,o=this.editor.config.get("link.defaultProtocol"),s=Mu(e,o);!this.isEnabled||!_V(t,i)||!P1(s)||vV(t)||this._persistAutoLink(s,t)}_persistAutoLink(e,t){const i=this.editor.model,o=this.editor.plugins.get("Delete");i.enqueueChange(s=>{s.setAttribute("linkHref",e,t),i.enqueueChange(()=>{o.requestUndoOnBackspace()})})}}function bV(n){return n.length>pV&&n[n.length-1]===" "&&n[n.length-2]!==" "}function lf(n){const e=I1.exec(n);return e?e[wV]:null}function _V(n,e){return e.schema.checkAttributeInSelection(e.createSelection(n),"linkHref")}function vV(n){const e=n.start.nodeAfter;return!!e&&e.hasAttribute("linkHref")}class yV extends w{static get requires(){return[ks,fV,V1]}static get pluginName(){return"Link"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class Dt{constructor(e,t){h(this,"_startElement"),h(this,"_referenceIndent"),h(this,"_isForward"),h(this,"_includeSelf"),h(this,"_sameAttributes"),h(this,"_sameIndent"),h(this,"_lowerIndent"),h(this,"_higherIndent"),this._startElement=e,this._referenceIndent=e.getAttribute("listIndent"),this._isForward=t.direction=="forward",this._includeSelf=!!t.includeSelf,this._sameAttributes=he(t.sameAttributes||[]),this._sameIndent=!!t.sameIndent,this._lowerIndent=!!t.lowerIndent,this._higherIndent=!!t.higherIndent}static first(e,t){const i=new this(e,t)[Symbol.iterator]();return ae(i)}*[Symbol.iterator](){const e=[];for(const{node:t}of new Is(this._getStartNode(),this._isForward?"forward":"backward")){const i=t.getAttribute("listIndent");if(ithis._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){e.push(t);continue}}else{if(!this._sameIndent){if(this._higherIndent){e.length&&(yield*e,e.length=0);break}continue}if(this._sameAttributes.some(o=>t.getAttribute(o)!==this._startElement.getAttribute(o)))break}e.length&&(yield*e,e.length=0),yield t}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}class Is{constructor(e,t="forward"){h(this,"_node"),h(this,"_isForward"),h(this,"_previousNodesByIndent",[]),h(this,"_previous",null),h(this,"_previousNodeIndent",null),this._node=e,this._isForward=t==="forward"}[Symbol.iterator](){return this}next(){if(!be(this._node))return{done:!0,value:void 0};const e=this._node.getAttribute("listIndent");let t=null;if(this._previous){const o=this._previousNodeIndent;e>o?this._previousNodesByIndent[o]=this._previous:er.getAttribute("listIndent"))),s=new Map;for(const r of t)s.set(r,Dt.first(r,{lowerIndent:!0}));for(const r of t){if(i.has(r))continue;i.add(r);const a=r.getAttribute("listIndent")-1;if(a<0){ya(r,e);continue}if(r.getAttribute("listIndent")==o){const l=TV(r,s.get(r),e);for(const c of l)i.add(c);if(l.length)continue}e.setAttribute("listIndent",a,r)}return Pn(i)}function ya(n,e){n=he(n);for(const t of n)t.is("element","listItem")&&e.rename(t,"paragraph");for(const t of n)for(const i of t.getAttributeKeys())i.startsWith("list")&&e.removeAttribute(i,t);return n}function Cs(n){if(!n.length)return!1;const e=n[0].getAttribute("listItemId");return e?!n.some(t=>t.getAttribute("listItemId")!=e):!1}function xV(n,e){const t=[];let i=Number.POSITIVE_INFINITY;for(const{node:o}of new Is(n.nextSibling)){const s=o.getAttribute("listIndent");if(s==0)break;se.root.rootName!=="$graveyard").sort((e,t)=>e.index-t.index)}function As(n){const e=n.document.selection.getSelectedElement();return e&&n.schema.isObject(e)&&n.schema.isBlock(e)?e:null}function yl(n,e){return e.checkChild(n.parent,"listItem")&&e.checkChild(n,"$text")&&!e.isObject(n)}function qr(n){return n=="numbered"||n=="customNumbered"}function TV(n,e,t){return Qi(e,{direction:"forward"}).pop().index>n.index?dc(n,e,t):[]}class uf extends O{constructor(e,t){super(e),h(this,"_direction"),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute(){const e=this.editor.model,t=hf(e.document.selection);e.change(i=>{const o=[];Cs(t)&&!Pi(t[0])?(this._direction=="forward"&&o.push(...mc(t,i)),o.push(...Lu(t[0],i))):this._direction=="forward"?o.push(...mc(t,i,{expand:!0})):o.push(...AV(t,i));for(const s of o){if(!s.hasAttribute("listType"))continue;const r=Dt.first(s,{sameIndent:!0});r&&i.setAttribute("listType",r.getAttribute("listType"),s)}this._fireAfterExecute(o)})}_fireAfterExecute(e){this.fire("afterExecute",Pn(new Set(e)))}_checkEnabled(){let e=hf(this.editor.model.document.selection),t=e[0];if(!t)return!1;if(this._direction=="backward"||Cs(e)&&!Pi(e[0]))return!0;e=Vs(e),t=e[0];const i=Dt.first(t,{sameIndent:!0});return i?i.getAttribute("listType")==t.getAttribute("listType"):!1}}function hf(n){const e=Array.from(n.getSelectedBlocks()),t=e.findIndex(i=>!be(i));return t!=-1&&(e.length=t),e}class Go extends O{constructor(e,t,i={}){super(e),h(this,"type"),h(this,"_listWalkerOptions"),this.type=t,this._listWalkerOptions=i.multiLevel?{higherIndent:!0,lowerIndent:!0,sameAttributes:[]}:void 0}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document,o=As(t),s=Array.from(i.selection.getSelectedBlocks()).filter(a=>t.schema.checkAttribute(a,"listType")||yl(a,t.schema)),r=e.forceValue!==void 0?!e.forceValue:this.value;t.change(a=>{if(r){const l=s[s.length-1],c=Qi(l,{direction:"forward"}),u=[];c.length>1&&u.push(...Lu(c[1],a)),u.push(...ya(s,a)),u.push(...xV(l,a)),this._fireAfterExecute(u)}else if((o||i.selection.isCollapsed)&&be(s[0])){const l=R1(o||s[0],this._listWalkerOptions);for(const c of l)a.setAttributes({...e.additionalAttributes,listType:this.type},c);this._fireAfterExecute(l)}else{const l=[];for(const c of s)if(!c.hasAttribute("listType"))!c.is("element","listItem")&&yl(c,t.schema)&&a.rename(c,"listItem"),a.setAttributes({...e.additionalAttributes,listIndent:0,listItemId:go.next(),listType:this.type},c),l.push(c);else for(const u of Vs(c,{withNested:!1}))u.getAttribute("listType")!=this.type&&(a.setAttributes({...e.additionalAttributes,listType:this.type},u),l.push(u));this._fireAfterExecute(l)}})}_fireAfterExecute(e){this.fire("afterExecute",Pn(new Set(e)))}_getValue(){const e=this.editor.model.document.selection,t=Array.from(e.getSelectedBlocks());if(!t.length)return!1;for(const i of t)if(i.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const e=this.editor.model,t=e.schema,i=e.document.selection,o=Array.from(i.getSelectedBlocks());if(!o.length)return!1;if(this.value)return!0;for(const s of o)if(t.checkAttribute(s,"listType")||yl(s,t))return!0;return!1}}class df extends O{constructor(e,t){super(e),h(this,"_direction"),this._direction=t}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:e=!1}={}){const t=this.editor.model,i=t.document.selection,o=[];t.change(s=>{const{firstElement:r,lastElement:a}=this._getMergeSubjectElements(i,e),l=r.getAttribute("listIndent")||0,c=a.getAttribute("listIndent"),u=a.getAttribute("listItemId");if(l!=c){const d=CV(a);o.push(...mc([a,...d],s,{indentBy:l-c,expand:l{const t=Lu(this._getStartBlock(),e);this._fireAfterExecute(t)})}_fireAfterExecute(e){this.fire("afterExecute",Pn(new Set(e)))}_checkEnabled(){const e=this.editor.model.document.selection,t=this._getStartBlock();return e.isCollapsed&&be(t)&&!Pi(t)}_getStartBlock(){const e=this.editor.model.document.selection.getFirstPosition().parent;return this._direction=="before"?e:e.nextSibling}}class EV extends w{static get pluginName(){return"ListUtils"}static get isOfficialPlugin(){return!0}expandListBlocksToCompleteList(e){return va(e)}isFirstBlockOfListItem(e){return Pi(e)}isListItemBlock(e){return be(e)}expandListBlocksToCompleteItems(e,t={}){return Vs(e,t)}isNumberedListType(e){return qr(e)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function SV(n){return n.is("element","ol")||n.is("element","ul")}function fc(n){return n.is("element","li")}function PV(n){let e=0,t=n.parent;for(;t;){if(fc(t))e++;else{const i=t.previousSibling;i&&fc(i)&&e++}t=t.parent}return e}function IV(n,e,t,i=B1(t,e)){return n.createAttributeElement(O1(t),null,{priority:2*e/100-100,id:i})}function VV(n,e,t){return n.createAttributeElement("li",null,{priority:(2*e+1)/100-100,id:t})}function O1(n){return n=="numbered"||n=="customNumbered"?"ol":"ul"}function B1(n,e){return`list-${n}-${e}`}function jt(n,e,t){const i=n.nodeBefore;if(be(i)){let o=i;for(const{node:s}of new Is(o,"backward"))if(o=s,t.has(o)||(t.add(o),e.has(i)))return;e.add(o)}else{const o=n.nodeAfter;be(o)&&e.add(o)}}function RV(n,e){let t=0,i=-1,o=null,s=!1;for(const{node:r}of n){const a=r.getAttribute("listIndent");if(a>t){let l;o===null?(o=a-t,l=t):(o>a&&(o=a),l=a-o),l>i+1&&(l=i+1),e.setAttribute("listIndent",l,r),s=!0,i=l}else o=null,t=a+1,i=a}return s}function OV(n,e,t){const i=new Set;let o=!1;for(const{node:s}of n){if(i.has(s))continue;let r=s.getAttribute("listType"),a=s.getAttribute("listItemId");if(e.has(a)&&(a=go.next()),e.add(a),s.is("element","listItem")){s.getAttribute("listItemId")!=a&&(t.setAttribute("listItemId",a,s),o=!0);continue}for(const l of Qi(s,{direction:"forward"}))i.add(l),l.getAttribute("listType")!=r&&(a=go.next(),r=l.getAttribute("listType")),l.getAttribute("listItemId")!=a&&(t.setAttribute("listItemId",a,l),o=!0)}return o}function BV(){return(n,e,t)=>{const{writer:i,schema:o}=t;if(!e.modelRange)return;const s=Array.from(e.modelRange.getItems({shallow:!0})).filter(d=>o.checkAttribute(d,"listItemId"));if(!s.length)return;const r=go.next(),a=PV(e.viewItem);let l=e.viewItem.parent&&e.viewItem.parent.is("element","ol")?"numbered":"bulleted";const c=s[0].getAttribute("listType");c&&(l=c);const u={listItemId:r,listIndent:a,listType:l};for(const d of s)d.hasAttribute("listItemId")||i.setAttributes(u,d);s.length>1&&s[1].getAttribute("listItemId")!=u.listItemId&&t.keepEmptyElement(s[0])}}function MV(n,e,t,i){return()=>{const a=n.document.differ.getChanges(),l=[],c=new Set,u=new Set,d=new Set;for(const m of a)if(m.type=="insert"&&m.name!="$text")jt(m.position,c,d),m.attributes.has("listItemId")?u.add(m.position.nodeAfter):jt(m.position.getShiftedBy(m.length),c,d);else if(m.type=="remove"&&m.attributes.has("listItemId"))jt(m.position,c,d);else if(m.type=="attribute"){const f=m.range.start.nodeAfter;t.includes(m.attributeKey)?(jt(m.range.start,c,d),m.attributeNewValue===null?(jt(m.range.start.getShiftedBy(1),c,d),s(f)&&l.push(f)):u.add(f)):be(f)&&s(f)&&l.push(f)}for(const m of c.values())l.push(...o(m,u));for(const m of new Set(l))e.reconvertItem(m)};function o(a,l){const c=[],u=new Set,d=[];for(const{node:m,previous:f}of new Is(a)){if(u.has(m))continue;const g=m.getAttribute("listIndent");f&&gt.includes(_)));const p=Qi(m,{direction:"forward"});for(const _ of p)u.add(_),(s(_,p)||r(_,d,l))&&c.push(_)}return c}function s(a,l){const c=e.mapper.toViewElement(a);if(!c)return!1;if(i.fire("checkElement",{modelElement:a,viewElement:c}))return!0;if(!a.is("element","paragraph")&&!a.is("element","listItem"))return!1;const u=L1(a,t,l);return u&&c.is("element","p")?!0:!!(!u&&c.is("element","span"))}function r(a,l,c){if(c.has(a))return!1;const u=e.mapper.toViewElement(a);let d=l.length-1;for(let m=u.parent;!m.is("editableElement");m=m.parent){const f=fc(m),g=SV(m);if(!g&&!f)continue;const p=`checkAttributes:${f?"item":"list"}`;if(i.fire(p,{viewElement:m,modelAttributes:l[d]}))break;if(g&&(d--,d<0))return!1}return!0}}function ff(n,e,t,{dataPipeline:i}={}){const o=$V(n);return(s,r,a)=>{const{writer:l,mapper:c,consumable:u}=a,d=r.item;if(!n.includes(r.attributeKey)||!o(d,u))return;const m=FV(d,c,t);M1(m,l,c),zV(m,l);const f=DV(d,m,e,l,{dataPipeline:i});HV(d,f,e,l)}}function LV(n){return(e,t,i)=>{const{writer:o,mapper:s}=i,r=e.name.split(":")[1];if(!n.checkAttribute(r,"listItemId"))return;const a=s.toViewPosition(t.position),l=t.position.getShiftedBy(t.length),c=s.toViewPosition(l,{isPhantom:!0}),u=o.createRange(a,c).getTrimmed().end.nodeBefore;/* istanbul ignore next -- @preserve */u&&M1(u,o,s)}}function gf(n,{dataPipeline:e}={}){return(t,{writer:i})=>{if(!L1(t,n))return null;if(!e)return i.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const o=i.createContainerElement("p");return i.setCustomProperty("dataPipeline:transparentRendering",!0,o),o}}function FV(n,e,t){const i=t.createRangeOn(n);return e.toViewRange(i).getTrimmed().end.nodeBefore}function NV(n,e){return(t,i)=>{if(i.modelPosition.offset>0)return;const o=i.modelPosition.parent;if(!be(o)||!n.some(c=>c.scope=="itemMarker"&&c.canInjectMarkerIntoElement&&c.canInjectMarkerIntoElement(o)))return;const s=i.mapper.toViewElement(o),r=e.createRangeIn(s),a=r.getWalker();let l=r.start;for(const{item:c}of a){if(c.is("element")&&i.mapper.toModelElement(c)||c.is("$textProxy"))break;c.is("element")&&c.getCustomProperty("listItemMarker")&&(l=e.createPositionAfter(c),a.skip(({previousPosition:u})=>!u.isEqual(l)))}i.viewPosition=l}}function M1(n,e,t){for(;n.parent.is("attributeElement")&&n.parent.getCustomProperty("listItemWrapper");)e.unwrap(e.createRangeOn(n),n.parent);const i=[];o(e.createPositionBefore(n).getWalker({direction:"backward"})),o(e.createRangeIn(n).getWalker());for(const s of i)e.remove(s);function o(s){for(const{item:r}of s){if(r.is("element")&&t.toModelElement(r))break;r.is("element")&&r.getCustomProperty("listItemMarker")&&i.push(r)}}}function DV(n,e,t,i,{dataPipeline:o}){let s=i.createRangeOn(e);if(!Pi(n))return s;for(const r of t){if(r.scope!="itemMarker")continue;const a=r.createElement(i,n,{dataPipeline:o});if(!a||(i.setCustomProperty("listItemMarker",!0,a),r.canInjectMarkerIntoElement&&r.canInjectMarkerIntoElement(n)?i.insert(i.createPositionAt(e,0),a):(i.insert(s.start,a),s=i.createRange(i.createPositionBefore(a),i.createPositionAfter(e))),!r.createWrapperElement||!r.canWrapElement))continue;const l=r.createWrapperElement(i,n,{dataPipeline:o});i.setCustomProperty("listItemWrapper",!0,l),r.canWrapElement(n)?s=i.wrap(s,l):(s=i.wrap(i.createRangeOn(a),l),s=i.createRange(s.start,i.createPositionAfter(e)))}return s}function zV(n,e){let t=n.parent;for(;t.is("attributeElement")&&["ul","ol","li"].includes(t.name);){const i=t.parent;e.unwrap(e.createRangeOn(n),t),t=i}}function HV(n,e,t,i){if(!n.hasAttribute("listIndent"))return;const o=n.getAttribute("listIndent");let s=n;for(let r=o;r>=0;r--){const a=VV(i,r,s.getAttribute("listItemId")),l=IV(i,r,s.getAttribute("listType"));for(const c of t)(c.scope=="list"||c.scope=="item")&&s.hasAttribute(c.attributeName)&&c.setAttributeOnDowncast(i,s.getAttribute(c.attributeName),c.scope=="list"?l:a);if(e=i.wrap(e,a),e=i.wrap(e,l),r==0||(s=Dt.first(s,{lowerIndent:!0}),!s))break}}function $V(n){return(e,t)=>{const i=[];for(const o of n)e.hasAttribute(o)&&i.push(`attribute:${o}`);return i.every(o=>t.test(e,o)!==!1)?(i.forEach(o=>t.consume(e,o)),!0):!1}}function L1(n,e,t=po(n)){if(!be(n))return!1;for(const i of n.getAttributeKeys())if(!(i.startsWith("selection:")||i=="htmlEmptyBlock")&&!e.includes(i))return!1;return t.length<2}const br=["listType","listIndent","listItemId"];class xs extends w{constructor(e){super(e),h(this,"_downcastStrategies",[]),e.config.define("list.multiBlock",!0)}static get pluginName(){return"ListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Ao,en,EV,pt]}init(){const e=this.editor,t=e.model,i=e.config.get("list.multiBlock");if(e.plugins.has("LegacyListEditing"))throw new b("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});t.schema.register("$listItem",{allowAttributes:br}),i?(t.schema.extend("$container",{allowAttributesOf:"$listItem"}),t.schema.extend("$block",{allowAttributesOf:"$listItem"}),t.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):t.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const o of br)t.schema.setAttributeProperties(o,{copyOnReplace:!0});e.commands.add("numberedList",new Go(e,"numbered")),e.commands.add("bulletedList",new Go(e,"bulleted")),e.commands.add("customNumberedList",new Go(e,"customNumbered",{multiLevel:!0})),e.commands.add("customBulletedList",new Go(e,"customBulleted",{multiLevel:!0})),e.commands.add("indentList",new uf(e,"forward")),e.commands.add("outdentList",new uf(e,"backward")),e.commands.add("splitListItemBefore",new mf(e,"before")),e.commands.add("splitListItemAfter",new mf(e,"after")),i&&(e.commands.add("mergeListItemBackward",new df(e,"backward")),e.commands.add("mergeListItemForward",new df(e,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const e=this.editor.commands,t=e.get("indent"),i=e.get("outdent");t&&t.registerChildCommand(e.get("indentList"),{priority:"high"}),i&&i.registerChildCommand(e.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(e){this._downcastStrategies.push(e)}getListAttributeNames(){return[...br,...this._downcastStrategies.map(e=>e.attributeName)]}_setupDeleteIntegration(){const e=this.editor,t=e.commands.get("mergeListItemBackward"),i=e.commands.get("mergeListItemForward");this.listenTo(e.editing.view.document,"delete",(o,s)=>{const r=e.model.document.selection;As(e.model)||e.model.change(()=>{const a=r.getFirstPosition();if(r.isCollapsed&&s.direction=="backward"){if(!a.isAtStart)return;const l=a.parent;if(!be(l))return;if(!Dt.first(l,{sameAttributes:"listType",sameIndent:!0})&&l.getAttribute("listIndent")===0)cf(l)||e.execute("splitListItemAfter"),e.execute("outdentList");else{if(!t||!t.isEnabled)return;t.execute({shouldMergeOnBlocksContentLevel:pf(e.model,"backward")})}s.preventDefault(),o.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd||!i||!i.isEnabled)return;i.execute({shouldMergeOnBlocksContentLevel:pf(e.model,"forward")}),s.preventDefault(),o.stop()}})},{context:"li"})}_setupEnterIntegration(){const e=this.editor,t=e.model,i=e.commands,o=i.get("enter");this.listenTo(e.editing.view.document,"enter",(s,r)=>{const a=t.document,l=a.selection.getFirstPosition().parent;if(a.selection.isCollapsed&&be(l)&&l.isEmpty&&!r.isSoft){const c=Pi(l),u=cf(l);c&&u?(e.execute("outdentList"),r.preventDefault(),s.stop()):c&&!u?(e.execute("splitListItemAfter"),r.preventDefault(),s.stop()):u&&(e.execute("splitListItemBefore"),r.preventDefault(),s.stop())}},{context:"li"}),this.listenTo(o,"afterExecute",()=>{const s=i.get("splitListItemBefore");if(s.refresh(),!s.isEnabled)return;const r=e.model.document.selection.getLastPosition().parent;po(r).length===2&&s.execute()})}_setupTabIntegration(){const e=this.editor;this.listenTo(e.editing.view.document,"tab",(t,i)=>{const o=i.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(e.execute(o),i.stopPropagation(),i.preventDefault(),t.stop())},{context:"li"})}_setupConversion(){const e=this.editor,t=e.model,i=this.getListAttributeNames(),o=e.config.get("list.multiBlock"),s=o?"paragraph":"listItem";e.conversion.for("upcast").elementToElement({view:"li",model:(a,{writer:l})=>l.createElement(s,{listType:""})}).elementToElement({view:"p",model:(a,{writer:l})=>a.parent&&a.parent.is("element","li")?l.createElement(s,{listType:""}):null,converterPriority:"high"}).add(a=>{a.on("element:li",BV())}),o||e.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),e.conversion.for("editingDowncast").elementToElement({model:s,view:gf(i),converterPriority:"high"}).add(a=>{a.on("attribute",ff(i,this._downcastStrategies,t)),a.on("remove",LV(t.schema))}),e.conversion.for("dataDowncast").elementToElement({model:s,view:gf(i,{dataPipeline:!0}),converterPriority:"high"}).add(a=>{a.on("attribute",ff(i,this._downcastStrategies,t,{dataPipeline:!0}))});const r=NV(this._downcastStrategies,e.editing.view);e.editing.mapper.on("modelToViewPosition",r),e.data.mapper.on("modelToViewPosition",r),this.listenTo(t.document,"change:data",MV(t,e.editing,i,this),{priority:"high"}),this.on("checkAttributes:item",(a,{viewElement:l,modelAttributes:c})=>{l.id!=c.listItemId&&(a.return=!0,a.stop())}),this.on("checkAttributes:list",(a,{viewElement:l,modelAttributes:c})=>{(l.name!=O1(c.listType)||l.id!=B1(c.listType,c.listIndent))&&(a.return=!0,a.stop())})}_setupModelPostFixing(){const e=this.editor.model,t=this.getListAttributeNames();e.document.registerPostFixer(i=>WV(e,i,t,this)),this.on("postFixer",(i,{listNodes:o,writer:s})=>{i.return=RV(o,s)||i.return},{priority:"high"}),this.on("postFixer",(i,{listNodes:o,writer:s,seenIds:r})=>{i.return=OV(o,r,s)||i.return},{priority:"high"})}_setupClipboardIntegration(){const e=this.editor.model,t=this.editor.plugins.get("ClipboardPipeline");this.listenTo(e,"insertContent",jV(e),{priority:"high"}),this.listenTo(t,"outputTransformation",(i,o)=>{e.change(s=>{const r=Array.from(o.content.getChildren()),a=r[r.length-1];if(r.length>1&&a.is("element")&&a.isEmpty&&r.slice(0,-1).every(be)&&s.remove(a),o.method=="copy"||o.method=="cut"){const l=Array.from(o.content.getChildren());Cs(l)&&ya(l,s)}})})}_setupAccessibilityIntegration(){const e=this.editor,t=e.t;e.accessibility.addKeystrokeInfoGroup({id:"list",label:t("Keystrokes that can be used in a list"),keystrokes:[{label:t("Increase list item indent"),keystroke:"Tab"},{label:t("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function WV(n,e,t,i){const o=n.document.differ.getChanges(),s=new Set,r=new Set,a=i.editor.config.get("list.multiBlock");let l=!1;for(const u of o){if(u.type=="insert"&&u.name!="$text"){const d=u.position.nodeAfter;if(!n.schema.checkAttribute(d,"listItemId"))for(const m of Array.from(d.getAttributeKeys()))t.includes(m)&&(e.removeAttribute(m,d),l=!0);jt(u.position,r,s),u.attributes.has("listItemId")||jt(u.position.getShiftedBy(u.length),r,s);for(const{item:m,previousPosition:f}of n.createRangeIn(d))be(m)&&jt(f,r,s)}else u.type=="remove"?jt(u.position,r,s):u.type=="attribute"&&t.includes(u.attributeKey)&&(jt(u.range.start,r,s),u.attributeNewValue===null&&jt(u.range.start.getShiftedBy(1),r,s));if(!a&&u.type=="attribute"&&br.includes(u.attributeKey)){const d=u.range.start.nodeAfter;u.attributeNewValue===null&&d&&d.is("element","listItem")?(e.rename(d,"paragraph"),l=!0):u.attributeOldValue===null&&d&&d.is("element")&&d.name!="listItem"&&(e.rename(d,"listItem"),l=!0)}}const c=new Set;for(const u of r.values())l=i.fire("postFixer",{listNodes:new kV(u),listHead:u,writer:e,seenIds:c})||l;return l}function jV(n){return(e,[t,i])=>{const o=t.is("documentFragment")?Array.from(t.getChildren()):[t];if(!o.length)return;const s=(i?n.createSelection(i):n.document.selection).getFirstPosition();let r;if(be(s.parent))r=s.parent;else if(be(s.nodeBefore)&&be(s.nodeAfter))r=s.nodeBefore;else return;n.change(a=>{const l=r.getAttribute("listType"),c=r.getAttribute("listIndent"),u=o[0].getAttribute("listIndent")||0,d=Math.max(c-u,0);for(const m of o){const f=be(m);r.is("element","listItem")&&m.is("element","paragraph")&&a.rename(m,"listItem"),a.setAttributes({listIndent:(f?m.getAttribute("listIndent"):0)+d,listItemId:f?m.getAttribute("listItemId"):go.next(),listType:l},m)}})}}function pf(n,e){const t=n.document.selection;if(!t.isCollapsed)return!As(n);if(e==="forward")return!0;const i=t.getFirstPosition().parent,o=i.previousSibling;return n.schema.isObject(o)?!1:o.isEmpty?!0:Cs([i,o])}function gc(n,e,t,i){n.ui.componentFactory.add(e,()=>{const o=wf(P,n,e,t,i);return o.set({tooltip:!0,isToggleable:!0}),o}),n.ui.componentFactory.add(`menuBar:${e}`,()=>{const o=wf(ve,n,e,t,i);return o.set({role:"menuitemcheckbox",isToggleable:!0}),o})}function wf(n,e,t,i,o){const s=e.commands.get(t),r=new n(e.locale);return r.set({label:i,icon:o}),r.bind("isOn","isEnabled").to(s,"value","isEnabled"),r.on("execute",()=>{e.execute(t),e.editing.view.focus()}),r}class UV extends w{static get pluginName(){return"ListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;this.editor.ui.componentFactory.has("numberedList")||gc(this.editor,"numberedList",e("Numbered List"),su),this.editor.ui.componentFactory.has("bulletedList")||gc(this.editor,"bulletedList",e("Bulleted List"),ou)}}class qV extends w{static get requires(){return[xs,UV]}static get pluginName(){return"List"}static get isOfficialPlugin(){return!0}}class GV extends O{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute({startIndex:e=1}={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter(s=>be(s)&&qr(s.getAttribute("listType")));o=va(o),t.change(s=>{for(const r of o)s.setAttribute("listStart",e>=0?e:1,r)})}_getValue(){const e=this.editor.model.document,t=ae(e.selection.getSelectedBlocks());return t&&be(t)&&qr(t.getAttribute("listType"))?t.getAttribute("listStart"):null}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const F1={},N1={},D1={},z1=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:n,typeAttribute:e,listType:t}of z1)F1[n]=t,N1[n]=e,e&&(D1[e]=n);function H1(){return z1.map(n=>n.listStyle)}function Fu(n){return F1[n]||null}function $1(n){return D1[n]||null}function pc(n){return N1[n]||null}function KV(n){switch(n){case"lower-alpha":return"lower-latin";case"upper-alpha":return"upper-latin";default:return n}}class ZV extends O{constructor(e,t,i){super(e),h(this,"defaultType"),h(this,"_supportedTypes"),this.defaultType=t,this._supportedTypes=i}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.document;t.change(o=>{this._tryToConvertItemsToList(e);let s=Array.from(i.selection.getSelectedBlocks()).filter(r=>r.hasAttribute("listType"));if(s.length){s=va(s);for(const r of s)o.setAttribute("listStyle",e.type||this.defaultType,r)}})}isStyleTypeSupported(e){return this._supportedTypes?this._supportedTypes.includes(e):!0}_getValue(){const e=ae(this.editor.model.document.selection.getSelectedBlocks());return be(e)?e.getAttribute("listStyle"):null}_checkEnabled(){const e=this.editor,t=e.commands.get("numberedList"),i=e.commands.get("bulletedList");return t.isEnabled||i.isEnabled}_tryToConvertItemsToList(e){if(!e.type)return;const t=Fu(e.type);if(!t)return;const i=this.editor,o=`${t}List`;i.commands.get(o).value||i.execute(o)}}class JV extends O{refresh(){const e=this._getValue();this.value=e,this.isEnabled=e!=null}execute(e={}){const t=this.editor.model,i=t.document;let o=Array.from(i.selection.getSelectedBlocks()).filter(s=>be(s)&&s.getAttribute("listType")=="numbered");o=va(o),t.change(s=>{for(const r of o)s.setAttribute("listReversed",!!e.reversed,r)})}_getValue(){const e=this.editor.model.document,t=ae(e.selection.getSelectedBlocks());return be(t)&&t.getAttribute("listType")=="numbered"?t.getAttribute("listReversed"):null}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function bf(n){return(e,t,i)=>{const{writer:o,schema:s,consumable:r}=i;if(r.test(t.viewItem,n.viewConsumables)===!1)return;t.modelRange||Object.assign(t,i.convertChildren(t.viewItem,t.modelCursor));let a=!1;for(const l of t.modelRange.getItems({shallow:!0}))s.checkAttribute(l,n.attributeName)&&n.appliesToListItem(l)&&(l.hasAttribute(n.attributeName)||(o.setAttribute(n.attributeName,n.getAttributeOnUpcast(t.viewItem),l),a=!0));a&&r.consume(t.viewItem,n.viewConsumables)}}class QV extends w{static get pluginName(){return"ListPropertiesUtils"}static get isOfficialPlugin(){return!0}getAllSupportedStyleTypes(){return H1()}getListTypeFromListStyleType(e){return Fu(e)}getListStyleTypeFromTypeAttribute(e){return $1(e)}getTypeAttributeFromListStyleType(e){return pc(e)}}function W1(n){const{startIndex:e,reversed:t,styles:i}=n;return{styles:YV(i),startIndex:e||!1,reversed:t||!1}}function YV(n){const e={listTypes:["bulleted","numbered"],useAttribute:!1};return n===!0||(n?Array.isArray(n)||typeof n=="string"?e.listTypes=he(n):(e.listTypes=n.listTypes?he(n.listTypes):e.listTypes,e.useAttribute=!!n.useAttribute,n.listStyleTypes&&(e.listStyleTypes=n.listStyleTypes)):e.listTypes=[]),e}const Ho="default";class XV extends w{static get requires(){return[xs,QV]}static get pluginName(){return"ListPropertiesEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("list.properties",{styles:!0,startIndex:!1,reversed:!1})}init(){const e=this.editor,t=e.model,i=e.plugins.get(xs),o=e.config.get("list.properties"),s=e7(o);for(const r of s)r.addCommand(e),t.schema.extend("$listItem",{allowAttributes:r.attributeName}),i.registerDowncastStrategy({scope:"list",attributeName:r.attributeName,setAttributeOnDowncast(a,l,c){r.setAttributeOnDowncast(a,l,c)}});e.conversion.for("upcast").add(r=>{for(const a of s)r.on("element:ol",bf(a)),r.on("element:ul",bf(a))}),i.on("checkAttributes:list",(r,{viewElement:a,modelAttributes:l})=>{for(const c of s)c.getAttributeOnUpcast(a)!=l[c.attributeName]&&(r.return=!0,r.stop())}),this.listenTo(e.commands.get("indentList"),"afterExecute",(r,a)=>{t.change(l=>{for(const c of a)for(const u of s)u.appliesToListItem(c)&&l.setAttribute(u.attributeName,u.defaultValue,c)})}),i.on("postFixer",(r,{listNodes:a,writer:l})=>{for(const{node:c}of a)for(const u of s)u.hasValidAttribute(c)||(u.appliesToListItem(c)?l.setAttribute(u.attributeName,u.defaultValue,c):l.removeAttribute(u.attributeName,c),r.return=!0)}),i.on("postFixer",(r,{listNodes:a,writer:l})=>{for(const{node:c,previousNodeInList:u}of a)if(u&&u.getAttribute("listType")==c.getAttribute("listType"))for(const d of s){const{attributeName:m}=d;if(!d.appliesToListItem(c))continue;const f=u.getAttribute(m);c.getAttribute(m)!=f&&(l.setAttribute(m,f,c),r.return=!0)}})}}function e7(n){const e=[],t=W1(n);if(n.styles){const i=t.styles.useAttribute;e.push({attributeName:"listStyle",defaultValue:Ho,viewConsumables:{styles:"list-style-type"},addCommand(o){let s=H1();i&&(s=s.filter(r=>!!pc(r))),o.commands.add("listStyle",new ZV(o,Ho,s))},appliesToListItem(o){return o.getAttribute("listType")=="numbered"||o.getAttribute("listType")=="bulleted"},hasValidAttribute(o){if(!this.appliesToListItem(o))return!o.hasAttribute("listStyle");if(!o.hasAttribute("listStyle"))return!1;const s=o.getAttribute("listStyle");return s==Ho?!0:Fu(s)==o.getAttribute("listType")},setAttributeOnDowncast(o,s,r){if(s&&s!==Ho)if(i){const a=pc(s);if(a){o.setAttribute("type",a,r);return}}else{o.setStyle("list-style-type",s,r);return}o.removeStyle("list-style-type",r),o.removeAttribute("type",r)},getAttributeOnUpcast(o){const s=o.getStyle("list-style-type");if(s)return KV(s);const r=o.getAttribute("type");return r?$1(r):Ho}})}return n.reversed&&e.push({attributeName:"listReversed",defaultValue:!1,viewConsumables:{attributes:"reversed"},addCommand(i){i.commands.add("listReversed",new JV(i))},appliesToListItem(i){return i.getAttribute("listType")=="numbered"},hasValidAttribute(i){return this.appliesToListItem(i)==i.hasAttribute("listReversed")},setAttributeOnDowncast(i,o,s){o?i.setAttribute("reversed","reversed",s):i.removeAttribute("reversed",s)},getAttributeOnUpcast(i){return i.hasAttribute("reversed")}}),n.startIndex&&e.push({attributeName:"listStart",defaultValue:1,viewConsumables:{attributes:"start"},addCommand(i){i.commands.add("listStart",new GV(i))},appliesToListItem(i){return qr(i.getAttribute("listType"))},hasValidAttribute(i){return this.appliesToListItem(i)==i.hasAttribute("listStart")},setAttributeOnDowncast(i,o,s){o==0||o>1?i.setAttribute("start",o,s):i.removeAttribute("start",s)},getAttributeOnUpcast(i){const o=i.getAttribute("start");return o>=0?o:1}}),e}class j1 extends A{constructor(e,{enabledProperties:t,styleButtonViews:i,styleGridAriaLabel:o}){super(e),h(this,"children"),h(this,"stylesView",null),h(this,"additionalPropertiesCollapsibleView",null),h(this,"startIndexFieldView",null),h(this,"reversedSwitchButtonView",null),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"focusables",new Ie),h(this,"focusCycler");const s=["ck","ck-list-properties"];this.children=this.createCollection(),this.focusCycler=new Ae({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),i&&i.length?(this.stylesView=this._createStylesView(i,o),this.children.add(this.stylesView)):s.push("ck-list-properties_without-styles"),(t.startIndex||t.reversed)&&(this._addNumberedListPropertyViews(t),s.push("ck-list-properties_with-numbered-properties")),this.setTemplate({tag:"div",attributes:{class:s},children:this.children})}render(){if(super.render(),this.stylesView){this.focusables.add(this.stylesView),this.focusTracker.add(this.stylesView.element),(this.startIndexFieldView||this.reversedSwitchButtonView)&&(this.focusables.add(this.children.last.buttonView),this.focusTracker.add(this.children.last.buttonView.element));for(const e of this.stylesView.children)this.stylesView.focusTracker.add(e.element);vo({keystrokeHandler:this.stylesView.keystrokes,focusTracker:this.stylesView.focusTracker,gridItems:this.stylesView.children,numberOfColumns:()=>I.window.getComputedStyle(this.stylesView.element).getPropertyValue("grid-template-columns").split(" ").length,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection})}if(this.startIndexFieldView){this.focusables.add(this.startIndexFieldView),this.focusTracker.add(this.startIndexFieldView.element);const e=t=>t.stopPropagation();this.keystrokes.set("arrowright",e),this.keystrokes.set("arrowleft",e),this.keystrokes.set("arrowup",e),this.keystrokes.set("arrowdown",e)}this.reversedSwitchButtonView&&(this.focusables.add(this.reversedSwitchButtonView),this.focusTracker.add(this.reversedSwitchButtonView.element)),this.keystrokes.listenTo(this.element)}focus(){this.focusCycler.focusFirst()}focusLast(){this.focusCycler.focusLast()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createStylesView(e,t){const i=new A(this.locale);return i.children=i.createCollection(),i.children.addMany(e),i.setTemplate({tag:"div",attributes:{"aria-label":t,class:["ck","ck-list-styles-list"]},children:i.children}),i.children.delegate("execute").to(this),i.focus=function(){for(const o of this.children)if(o instanceof P&&o.isOn){o.focus();return}this.children.first.focus()},i.focusTracker=new ee,i.keystrokes=new te,i.render(),i.keystrokes.listenTo(i.element),i}_addNumberedListPropertyViews(e){const t=this.locale.t,i=[];e.startIndex&&(this.startIndexFieldView=this._createStartIndexField(),i.push(this.startIndexFieldView)),e.reversed&&(this.reversedSwitchButtonView=this._createReversedSwitchButton(),i.push(this.reversedSwitchButtonView)),this.stylesView?(this.additionalPropertiesCollapsibleView=new mu(this.locale,i),this.additionalPropertiesCollapsibleView.set({label:t("List properties"),isCollapsed:!0}),this.additionalPropertiesCollapsibleView.buttonView.bind("isEnabled").toMany(i,"isEnabled",(...o)=>o.some(s=>s)),this.additionalPropertiesCollapsibleView.buttonView.on("change:isEnabled",(o,s,r)=>{r||(this.additionalPropertiesCollapsibleView.isCollapsed=!0)}),this.children.add(this.additionalPropertiesCollapsibleView)):this.children.addMany(i)}_createStartIndexField(){const e=this.locale.t,t=new Te(this.locale,eb);return t.set({label:e("Start at"),class:"ck-numbered-list-properties__start-index"}),t.fieldView.set({min:0,step:1,value:1,inputMode:"numeric"}),t.fieldView.on("input",()=>{const i=t.fieldView.element,o=i.valueAsNumber;if(Number.isNaN(o)){t.errorText=e("Invalid start index value.");return}i.checkValidity()?this.fire("listStart",{startIndex:o}):t.errorText=e("Start index must be greater than 0.")}),t}_createReversedSwitchButton(){const e=this.locale.t,t=new Ji(this.locale);return t.set({withText:!0,label:e("Reversed order"),class:"ck-numbered-list-properties__reversed-order"}),t.delegate("execute").to(this,"listReversed"),t}}class t7 extends w{static get pluginName(){return"ListPropertiesUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.locale.t,i=e.config.get("list.properties"),o=W1(i),s=o.styles.listTypes;if(s.includes("bulleted")){const r=[{label:t("Toggle the disc list style"),tooltip:t("Disc"),type:"disc",icon:zC},{label:t("Toggle the circle list style"),tooltip:t("Circle"),type:"circle",icon:FC},{label:t("Toggle the square list style"),tooltip:t("Square"),type:"square",icon:WC}],a=t("Bulleted List"),l=t("Bulleted list styles toolbar"),c="bulletedList";e.ui.componentFactory.add(c,_f({editor:e,normalizedConfig:o,parentCommandName:c,buttonLabel:a,buttonIcon:ou,styleGridAriaLabel:l,styleDefinitions:r})),e.ui.componentFactory.add(`menuBar:${c}`,vf({editor:e,normalizedConfig:o,parentCommandName:c,buttonLabel:a,styleGridAriaLabel:l,styleDefinitions:r}))}if(s.includes("numbered")||i.startIndex||i.reversed){const r=[{label:t("Toggle the decimal list style"),tooltip:t("Decimal"),type:"decimal",icon:DC},{label:t("Toggle the decimal with leading zero list style"),tooltip:t("Decimal with leading zero"),type:"decimal-leading-zero",icon:NC},{label:t("Toggle the lower–roman list style"),tooltip:t("Lower–roman"),type:"lower-roman",icon:$C},{label:t("Toggle the upper–roman list style"),tooltip:t("Upper-roman"),type:"upper-roman",icon:UC},{label:t("Toggle the lower–latin list style"),tooltip:t("Lower-latin"),type:"lower-latin",icon:HC},{label:t("Toggle the upper–latin list style"),tooltip:t("Upper-latin"),type:"upper-latin",icon:jC}],a=t("Numbered List"),l=t("Numbered list styles toolbar"),c="numberedList";e.ui.componentFactory.add(c,_f({editor:e,normalizedConfig:o,parentCommandName:c,buttonLabel:a,buttonIcon:su,styleGridAriaLabel:l,styleDefinitions:r})),s.includes("numbered")&&e.ui.componentFactory.add(`menuBar:${c}`,vf({editor:e,normalizedConfig:o,parentCommandName:c,buttonLabel:a,styleGridAriaLabel:l,styleDefinitions:r}))}}}function _f({editor:n,normalizedConfig:e,parentCommandName:t,buttonLabel:i,buttonIcon:o,styleGridAriaLabel:s,styleDefinitions:r}){const a=n.commands.get(t);return l=>{const c=Ee(l,Xi),u=c.buttonView;return c.bind("isEnabled").to(a),c.class="ck-list-styles-dropdown",u.on("execute",()=>{n.execute(t),n.editing.view.focus()}),u.set({label:i,icon:o,tooltip:!0,isToggleable:!0}),u.bind("isOn").to(a,"value",d=>!!d),c.once("change:isOpen",()=>{const d=i7({editor:n,normalizedConfig:e,dropdownView:c,parentCommandName:t,styleGridAriaLabel:s,styleDefinitions:r});c.panelView.children.add(d)}),c.on("execute",()=>{n.editing.view.focus()}),c}}function U1({editor:n,listStyleCommand:e,parentCommandName:t}){const i=n.locale,o=n.commands.get(t);return({label:s,type:r,icon:a,tooltip:l})=>{const c=new P(i);return c.set({label:s,icon:a,tooltip:l}),c.bind("isOn").to(e,"value",u=>u===r),c.on("execute",()=>{o.value?e.value===r?n.execute(t):e.value!==r&&n.execute("listStyle",{type:r}):n.model.change(()=>{n.execute("listStyle",{type:r})})}),c}}function i7({editor:n,normalizedConfig:e,dropdownView:t,parentCommandName:i,styleDefinitions:o,styleGridAriaLabel:s}){const r=n.locale,a={...e,...i!="numberedList"?{startIndex:!1,reversed:!1}:null},l=i.replace("List","");let c=null;if(e.styles.listTypes.includes(l)){const d=n.commands.get("listStyle"),m=U1({editor:n,parentCommandName:i,listStyleCommand:d}),f=e.styles.listStyleTypes;let g=o;if(f){const _=f[l];_&&(g=o.filter(v=>_.includes(v.type)))}const p=q1(d);c=g.filter(p).map(m)}const u=new j1(r,{styleGridAriaLabel:s,enabledProperties:a,styleButtonViews:c});if(e.styles.listTypes.includes(l)&&ga(t,()=>u.stylesView.children.find(d=>d.isOn)),a.startIndex){const d=n.commands.get("listStart");u.startIndexFieldView.bind("isEnabled").to(d),u.startIndexFieldView.fieldView.bind("value").to(d),u.on("listStart",(m,f)=>n.execute("listStart",f))}if(a.reversed){const d=n.commands.get("listReversed");u.reversedSwitchButtonView.bind("isEnabled").to(d),u.reversedSwitchButtonView.bind("isOn").to(d,"value",m=>!!m),u.on("listReversed",()=>{const m=d.value;n.execute("listReversed",{reversed:!m})})}return u.delegate("execute").to(t),u}function vf({editor:n,normalizedConfig:e,parentCommandName:t,buttonLabel:i,styleGridAriaLabel:o,styleDefinitions:s}){return r=>{const a=new Tt(r),l=n.commands.get(t),c=n.commands.get("listStyle"),u=q1(c),d=U1({editor:n,parentCommandName:t,listStyleCommand:c}),m=e.styles.listStyleTypes;let f=s;if(m){const _=l.type,v=m[_];v&&(f=s.filter(E=>v.includes(E.type)))}const g=f.filter(u).map(d),p=new j1(r,{styleGridAriaLabel:o,enabledProperties:{...e,startIndex:!1,reversed:!1},styleButtonViews:g});return p.delegate("execute").to(a),a.buttonView.set({label:i,icon:t==="bulletedList"?ou:su}),a.panelView.children.add(p),a.bind("isEnabled").to(l,"isEnabled"),a.on("execute",()=>{n.editing.view.focus()}),a}}function q1(n){return typeof n.isStyleTypeSupported=="function"?e=>n.isStyleTypeSupported(e.type):()=>!0}class n7 extends w{static get requires(){return[XV,t7]}static get pluginName(){return"ListProperties"}static get isOfficialPlugin(){return!0}}class o7 extends O{constructor(e){super(e),this.on("execute",()=>{this.refresh()},{priority:"highest"})}refresh(){const e=this._getSelectedItems();this.value=this._getValue(e),this.isEnabled=!!e.length}execute(e={}){this.editor.model.change(t=>{const i=this._getSelectedItems(),o=e.forceValue===void 0?!this._getValue(i):e.forceValue;for(const s of i)o?t.setAttribute("todoListChecked",!0,s):t.removeAttribute("todoListChecked",s)})}_getValue(e){return e.every(t=>t.getAttribute("todoListChecked"))}_getSelectedItems(){const e=this.editor.model,t=e.schema,i=e.document.selection.getFirstRange(),o=i.start.parent,s=[];t.checkAttribute(o,"todoListChecked")&&s.push(...po(o));for(const r of i.getItems({shallow:!0}))t.checkAttribute(r,"todoListChecked")&&!s.includes(r)&&s.push(...po(r));return s}}class s7 extends ui{constructor(){super(...arguments),h(this,"domEventType",["change"])}onDomEvent(e){if(e.target){const t=this.view.domConverter.mapDomToView(e.target);t&&t.is("element","input")&&t.getAttribute("type")=="checkbox"&&t.findAncestor({classes:"todo-list__label"})&&this.fire("todoCheckboxChange",e)}}}const r7=na("Ctrl+Enter");class a7 extends w{static get pluginName(){return"TodoListEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[xs]}init(){const e=this.editor,t=e.model,i=e.editing,o=e.plugins.get(xs),s=e.config.get("list.multiBlock")?"paragraph":"listItem";e.commands.add("todoList",new Go(e,"todo")),e.commands.add("checkTodoList",new o7(e)),i.view.addObserver(s7),t.schema.extend("$listItem",{allowAttributes:"todoListChecked"}),t.schema.addAttributeCheck(r=>{const a=r.last;if(!a.getAttribute("listItemId")||a.getAttribute("listType")!="todo")return!1},"todoListChecked"),e.conversion.for("upcast").add(r=>{r.on("element:input",c7()),r.on("element:li",l7(),{priority:"low"}),r.on("element:label",kl({name:"label",classes:"todo-list__label"})),r.on("element:label",kl({name:"label",classes:["todo-list__label","todo-list__label_without-description"]})),r.on("element:span",kl({name:"span",classes:"todo-list__label__description"})),r.on("element:ul",u7({name:"ul",classes:"todo-list"}))}),e.conversion.for("downcast").elementToElement({model:s,view:(r,{writer:a})=>{if(ir(r,o.getListAttributeNames()))return a.createContainerElement("span",{class:"todo-list__label__description"})},converterPriority:"highest"}),o.registerDowncastStrategy({scope:"list",attributeName:"listType",setAttributeOnDowncast(r,a,l){a=="todo"?r.addClass("todo-list",l):r.removeClass("todo-list",l)}}),o.registerDowncastStrategy({scope:"itemMarker",attributeName:"todoListChecked",createElement(r,a,{dataPipeline:l}){if(a.getAttribute("listType")!="todo")return null;const c=r.createUIElement("input",{type:"checkbox",...a.getAttribute("todoListChecked")?{checked:"checked"}:null,...l?{disabled:"disabled"}:{tabindex:"-1"}});if(l)return c;const u=r.createContainerElement("span",{contenteditable:"false"},c);return u.getFillerOffset=()=>null,u},canWrapElement(r){return ir(r,o.getListAttributeNames())},createWrapperElement(r,a,{dataPipeline:l}){const c=["todo-list__label"];return ir(a,o.getListAttributeNames())||c.push("todo-list__label_without-description"),r.createAttributeElement(l?"label":"span",{class:c.join(" ")})}}),o.on("checkElement",(r,{modelElement:a,viewElement:l})=>{const c=ir(a,o.getListAttributeNames());l.hasClass("todo-list__label__description")!=c&&(r.return=!0,r.stop())}),o.on("checkElement",(r,{modelElement:a,viewElement:l})=>{const c=a.getAttribute("listType")=="todo"&&Pi(a);let u=!1;const d=e.editing.view.createPositionBefore(l).getWalker({direction:"backward"});for(const{item:m}of d){if(m.is("element")&&e.editing.mapper.toModelElement(m))break;m.is("element","input")&&m.getAttribute("type")=="checkbox"&&(u=!0)}u!=c&&(r.return=!0,r.stop())}),o.on("postFixer",(r,{listNodes:a,writer:l})=>{for(const{node:c,previousNodeInList:u}of a){if(!u||u.getAttribute("listItemId")!=c.getAttribute("listItemId"))continue;const d=u.hasAttribute("todoListChecked"),m=c.hasAttribute("todoListChecked");m&&!d?(l.removeAttribute("todoListChecked",c),r.return=!0):!m&&d&&(l.setAttribute("todoListChecked",!0,c),r.return=!0)}}),t.document.registerPostFixer(r=>{const a=t.document.differ.getChanges();let l=!1;for(const c of a)if(c.type=="attribute"&&c.attributeKey=="listType"){const u=c.range.start.nodeAfter;c.attributeOldValue=="todo"&&u.hasAttribute("todoListChecked")&&(r.removeAttribute("todoListChecked",u),l=!0)}else if(c.type=="insert"&&c.name!="$text")for(const{item:u}of r.createRangeOn(c.position.nodeAfter))u.is("element")&&u.getAttribute("listType")!="todo"&&u.hasAttribute("todoListChecked")&&(r.removeAttribute("todoListChecked",u),l=!0);return l}),this.listenTo(i.view.document,"keydown",(r,a)=>{yn(a)===r7&&(e.execute("checkTodoList"),r.stop())},{priority:"high"}),this.listenTo(i.view.document,"todoCheckboxChange",(r,a)=>{const l=a.target;if(!l||!l.is("element","input"))return;const c=i.view.createPositionAfter(l),u=i.mapper.toModelPosition(c).parent;u&&be(u)&&u.getAttribute("listType")=="todo"&&this._handleCheckmarkChange(u)}),this.listenTo(i.view.document,"arrowKey",d7(t,e.locale),{context:"$text"}),this.listenTo(i.mapper,"viewToModelPosition",(r,a)=>{const l=a.viewPosition.parent,c=l.is("attributeElement","li")&&a.viewPosition.offset==0,u=yf(l)&&a.viewPosition.offset<=1,d=l.is("element","span")&&l.getAttribute("contenteditable")=="false"&&yf(l.parent);if(!c&&!u&&!d)return;const m=a.modelPosition.nodeAfter;m&&m.getAttribute("listType")=="todo"&&(a.modelPosition=t.createPositionAt(m,0))},{priority:"low"}),this._initAriaAnnouncements()}_handleCheckmarkChange(e){const t=this.editor,i=t.model,o=Array.from(i.document.selection.getRanges());i.change(s=>{s.setSelection(e,"end"),t.execute("checkTodoList"),s.setSelection(o)})}_initAriaAnnouncements(){const{model:e,ui:t,t:i}=this.editor;let o=null;t&&e.document.selection.on("change:range",()=>{const s=e.document.selection.focus.parent,r=kf(o),a=kf(s);r&&!a?t.ariaLiveAnnouncer.announce(i("Leaving a to-do list")):!r&&a&&t.ariaLiveAnnouncer.announce(i("Entering a to-do list")),o=s})}}function l7(){return(n,e,t)=>{const{writer:i,schema:o}=t;if(!e.modelRange)return;const s=Array.from(e.modelRange.getItems({shallow:!0})).filter(r=>r.getAttribute("listType")==="todo"&&o.checkAttribute(r,"listItemId")).reduce((r,a)=>{const l=a.getAttribute("listItemId");return r.has(l)||r.set(l,po(a)),r},new Map);for(const[,r]of s.entries())if(r.some(a=>a.getAttribute("todoListChecked")))for(const a of r)i.setAttribute("todoListChecked",!0,a)}}function c7(){return(n,e,t)=>{const i=e.modelCursor,o=i.parent,s=e.viewItem;if(!t.consumable.test(s,{name:!0})||s.getAttribute("type")!="checkbox"||!i.isAtStart||!o.hasAttribute("listType"))return;t.consumable.consume(s,{name:!0});const r=t.writer;r.setAttribute("listType","todo",o),e.viewItem.hasAttribute("checked")&&r.setAttribute("todoListChecked",!0,o),e.modelRange=r.createRange(i)}}function kl(n){const e=new ft(n);return(t,i,o)=>{const s=e.match(i.viewItem);s&&o.consumable.consume(i.viewItem,s.match)&&Object.assign(i,o.convertChildren(i.viewItem,i.modelCursor))}}function u7(n){const e=new ft(n);return(t,i,o)=>{const s=e.match(i.viewItem);if(!s)return;const r=s.match;r.name=!1,o.consumable.consume(i.viewItem,r)}}function ir(n,e){return(n.is("element","paragraph")||n.is("element","listItem"))&&n.getAttribute("listType")=="todo"&&Pi(n)&&h7(n,e)}function h7(n,e){for(const t of n.getAttributeKeys())if(!t.startsWith("selection:")&&!e.includes(t))return!1;return!0}function d7(n,e){return(t,i)=>{const o=oa(i.keyCode,e.contentLanguageDirection),s=n.schema,r=n.document.selection;if(!r.isCollapsed)return;const a=r.getFirstPosition(),l=a.parent;if(o=="right"&&a.isAtEnd){const c=s.getNearestSelectionRange(n.createPositionAfter(l),"forward");if(!c)return;const u=c.start.parent;u&&be(u)&&u.getAttribute("listType")=="todo"&&(n.change(d=>d.setSelection(c)),i.preventDefault(),i.stopPropagation(),t.stop())}else if(o=="left"&&a.isAtStart&&be(l)&&l.getAttribute("listType")=="todo"){const c=s.getNearestSelectionRange(n.createPositionBefore(l),"backward");if(!c)return;n.change(u=>u.setSelection(c)),i.preventDefault(),i.stopPropagation(),t.stop()}}}function yf(n){return!!n&&n.is("attributeElement")&&n.hasClass("todo-list__label")}function kf(n){return!n||!n.is("element","paragraph")&&!n.is("element","listItem")?!1:n.getAttribute("listType")=="todo"}class m7 extends w{static get pluginName(){return"TodoListUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.t;gc(this.editor,"todoList",e("To-do List"),vA)}}class f7 extends w{static get requires(){return[a7,m7]}static get pluginName(){return"TodoList"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */const Cf={"(":")","[":"]","{":"}"};class g7 extends O{constructor(e){super(e),this._isEnabledBasedOnSelection=!1}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"mention")}execute(e){const t=this.editor.model,i=t.document.selection,o=typeof e.mention=="string"?{id:e.mention}:e.mention,s=o.id,r=e.range||i.getFirstRange();if(!t.canEditAt(r))return;const a=e.text||s,l=G1({_text:a,id:s},o);if(!s.startsWith(e.marker))throw new b("mentioncommand-incorrect-id",this);t.change(c=>{const u=ri(i.getAttributes()),d=new Map(u.entries());d.set("mention",l);const m=t.insertContent(c.createText(a,d),r),f=m.start.nodeBefore,g=m.end.nodeAfter,p=g&&g.is("$text")&&g.data.startsWith(" ");let _=!1;if(f&&g&&f.is("$text")&&g.is("$text")){const v=f.data.slice(-1),E=v in Cf,M=E&&g.data.startsWith(Cf[v]);_=E&&M}!_&&!p&&t.insertContent(c.createText(" ",u),r.start.getShiftedBy(a.length))})}}class p7 extends w{static get pluginName(){return"MentionEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model,i=t.document;t.schema.extend("$text",{allowAttributes:"mention"}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",attributes:"data-mention",classes:"mention"},model:{key:"mention",value:o=>K1(o)}}),e.conversion.for("downcast").attributeToElement({model:"mention",view:b7}),e.conversion.for("downcast").add(w7),i.registerPostFixer(o=>y7(o,i,t.schema)),i.registerPostFixer(o=>k7(o,i)),i.registerPostFixer(o=>_7(o,i)),e.commands.add("mention",new g7(e))}}function G1(n,e){return Object.assign({uid:ze()},n,e||{})}function K1(n,e){const t=n.getAttribute("data-mention"),i=n.getChild(0);if(!i)return;const o={id:t,_text:i.data};return G1(o,e)}function w7(n){n.on("attribute:mention",(e,t,i)=>{const o=t.attributeNewValue;if(!t.item.is("$textProxy")||!o)return;const s=t.range.start;(s.textNode||s.nodeAfter).data!=o._text&&i.consumable.consume(t.item,e.name)},{priority:"highest"})}function b7(n,{writer:e}){if(!n)return;const t={class:"mention","data-mention":n.id},i={id:n.uid,priority:20};return e.createAttributeElement("span",t,i)}function _7(n,e){const t=e.selection,i=t.focus;return t.isCollapsed&&t.hasAttribute("mention")&&v7(i)?(n.removeSelectionAttribute("mention"),!0):!1}function v7(n){const e=n.isAtStart;return n.nodeBefore&&n.nodeBefore.is("$text")||e}function y7(n,e,t){const i=e.differ.getChanges();let o=!1;for(const s of i){if(s.type=="attribute")continue;const r=s.position;if(s.name=="$text"){const a=r.textNode&&r.textNode.nextSibling;o=un(r.textNode,n)||o,o=un(a,n)||o,o=un(r.nodeBefore,n)||o,o=un(r.nodeAfter,n)||o}if(s.name!="$text"&&s.type=="insert"){const a=r.nodeAfter;for(const l of n.createRangeIn(a).getItems())o=un(l,n)||o}if(s.type=="insert"&&t.isInline(s.name)){const a=r.nodeAfter&&r.nodeAfter.nextSibling;o=un(r.nodeBefore,n)||o,o=un(a,n)||o}}return o}function k7(n,e){const t=e.differ.getChanges();let i=!1;for(const o of t)if(o.type==="attribute"&&o.attributeKey!="mention"){const s=o.range.start.nodeBefore,r=o.range.end.nodeAfter;for(const a of[s,r])Z1(a)&&a.getAttribute(o.attributeKey)!=o.attributeNewValue&&(n.setAttribute(o.attributeKey,o.attributeNewValue,a),i=!0)}return i}function Z1(n){if(!n||!(n.is("$text")||n.is("$textProxy"))||!n.hasAttribute("mention"))return!1;const e=n.data,t=n.getAttribute("mention")._text;return e!=t}function un(n,e){return Z1(n)?(e.removeAttribute("mention",n),!0):!1}class C7 extends En{constructor(e){super(e),h(this,"selected"),h(this,"position"),this.extendTemplate({attributes:{class:["ck-mentions"],tabindex:"-1"}})}selectFirst(){this.select(0)}selectNext(){const e=this.selected,t=this.items.getIndex(e);this.select(t+1)}selectPrevious(){const e=this.selected,t=this.items.getIndex(e);this.select(t-1)}select(e){let t=0;e>0&&e{s?(this.domElement.classList.add("ck-on"),this.domElement.classList.remove("ck-off")):(this.domElement.classList.add("ck-off"),this.domElement.classList.remove("ck-on"))}),this.listenTo(this.domElement,"click",()=>{this.fire("execute")})}render(){super.render(),this.element=this.domElement}focus(){this.domElement.focus()}}class x7 extends Nt{constructor(){super(...arguments),h(this,"item"),h(this,"marker")}highlight(){const e=this.children.first;e.isOn=!0}removeHighlight(){const e=this.children.first;e.isOn=!1}}const nr=3,T7=[Z.arrowup,Z.arrowdown,Z.esc],E7=[Z.enter,Z.tab];class S7 extends w{constructor(e){super(e),h(this,"_mentionsView"),h(this,"_mentionsConfigurations"),h(this,"_balloon"),h(this,"_items",new _e),h(this,"_lastRequested"),h(this,"_requestFeedDebounced"),this._mentionsView=this._createMentionView(),this._mentionsConfigurations=new Map,this._requestFeedDebounced=St(this._requestFeed,100),e.config.define("mention",{feeds:[]})}static get pluginName(){return"MentionUI"}static get isOfficialPlugin(){return!0}static get requires(){return[Ue]}init(){const e=this.editor,t=e.config.get("mention.commitKeys")||E7,i=T7.concat(t);this._balloon=e.plugins.get(Ue),e.editing.view.document.on("keydown",(r,a)=>{s(a.keyCode)&&this._isUIVisible&&(a.preventDefault(),r.stop(),a.keyCode==Z.arrowdown&&this._mentionsView.selectNext(),a.keyCode==Z.arrowup&&this._mentionsView.selectPrevious(),t.includes(a.keyCode)&&this._mentionsView.executeSelected(),a.keyCode==Z.esc&&(this._hideUIAndRemoveMarker(),e.model.change(l=>{const c=e.model.document.selection.getLastPosition();c!==null&&l.insertText(" ",c)})))},{priority:"highest"}),$t({emitter:this._mentionsView,activator:()=>this._isUIVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUIAndRemoveMarker()});const o=e.config.get("mention.feeds");for(const r of o){const{feed:a,marker:l,dropdownLimit:c}=r;if(!M7(l))throw new b("mentionconfig-incorrect-marker",null,{marker:l});const u=typeof a=="function"?a.bind(this.editor):R7(a),d=r.itemRenderer,m={marker:l,feedCallback:u,itemRenderer:d,dropdownLimit:c};this._mentionsConfigurations.set(l,m)}this._setupTextWatcher(o),this.listenTo(e,"change:isReadOnly",()=>{this._hideUIAndRemoveMarker()}),this.on("requestFeed:response",(r,a)=>this._handleFeedResponse(a)),this.on("requestFeed:error",()=>this._hideUIAndRemoveMarker());function s(r){return i.includes(r)}}destroy(){super.destroy(),this._mentionsView.destroy()}get _isUIVisible(){return this._balloon.visibleView===this._mentionsView}_createMentionView(){const e=this.editor.locale,t=new C7(e);return t.items.bindTo(this._items).using(i=>{const{item:o,marker:s}=i,{dropdownLimit:r}=this._mentionsConfigurations.get(s),a=r||this.editor.config.get("mention.dropdownLimit")||10;if(t.items.length>=a)return null;const l=new x7(e),c=this._renderItem(o,s);return c.delegate("execute").to(l),l.children.add(c),l.item=o,l.marker=s,l.on("execute",()=>{t.fire("execute",{item:o,marker:s})}),l}),t.on("execute",(i,o)=>{const s=this.editor,r=s.model,a=o.item,l=o.marker,c=s.model.markers.get("mention"),u=r.createPositionAt(r.document.selection.focus),d=r.createPositionAt(c.getStart()),m=r.createRange(d,u);this._hideUIAndRemoveMarker(),s.execute("mention",{mention:a,text:a.text,marker:l,range:m}),s.editing.view.focus()}),t}_getItemRenderer(e){const{itemRenderer:t}=this._mentionsConfigurations.get(e);return t}_requestFeed(e,t){this._lastRequested=t;const{feedCallback:i}=this._mentionsConfigurations.get(e),o=i(t);if(!(o instanceof Promise)){this.fire("requestFeed:response",{feed:o,marker:e,feedText:t});return}o.then(s=>{this._lastRequested==t?this.fire("requestFeed:response",{feed:s,marker:e,feedText:t}):this.fire("requestFeed:discarded",{feed:s,marker:e,feedText:t})}).catch(s=>{this.fire("requestFeed:error",{error:s}),J("mention-feed-callback-error",{marker:e})})}_setupTextWatcher(e){const t=this.editor,i=e.map(r=>({...r,pattern:Q1(r.marker,r.minimumCharacters||0)})),o=new vu(t.model,I7(i));o.on("matched",(r,a)=>{const l=J1(i,a.text),c=t.model.document.selection.focus,u=t.model.createPositionAt(c.parent,l.position);if(O7(c)||B7(u)){this._hideUIAndRemoveMarker();return}const d=V7(l,a.text),m=l.marker.length+d.length,f=c.getShiftedBy(-m),g=c.getShiftedBy(-d.length),p=t.model.createRange(f,g);if(Cl(t)){const _=t.model.markers.get("mention");t.model.change(v=>{v.updateMarker(_,{range:p})})}else t.model.change(_=>{_.addMarker("mention",{range:p,usingOperation:!1,affectsData:!1})});this._requestFeedDebounced(l.marker,d)}),o.on("unmatched",()=>{this._hideUIAndRemoveMarker()});const s=t.commands.get("mention");return o.bind("isEnabled").to(s),o}_handleFeedResponse(e){const{feed:t,marker:i}=e;if(!Cl(this.editor))return;this._items.clear();for(const s of t){const r=typeof s!="object"?{id:s,text:s}:s;this._items.add({item:r,marker:i})}const o=this.editor.model.markers.get("mention");this._items.length?this._showOrUpdateUI(o):this._hideUIAndRemoveMarker()}_showOrUpdateUI(e){this._isUIVisible?this._balloon.updatePosition(this._getBalloonPanelPositionData(e,this._mentionsView.position)):this._balloon.add({view:this._mentionsView,position:this._getBalloonPanelPositionData(e,this._mentionsView.position),singleViewMode:!0,balloonClassName:"ck-mention-balloon"}),this._mentionsView.position=this._balloon.view.position,this._mentionsView.selectFirst()}_hideUIAndRemoveMarker(){this._balloon.hasView(this._mentionsView)&&this._balloon.remove(this._mentionsView),Cl(this.editor)&&this.editor.model.change(e=>e.removeMarker("mention")),this._mentionsView.position=void 0}_renderItem(e,t){const i=this.editor;let o,s=e.id;const r=this._getItemRenderer(t);if(r){const a=r(e);typeof a!="string"?o=new A7(i.locale,a):s=a}if(!o){const a=new P(i.locale);a.label=s,a.withText=!0,o=a}return o}_getBalloonPanelPositionData(e,t){const i=this.editor,o=i.editing,s=o.view.domConverter,r=o.mapper,a=i.locale.uiLanguageDirection;return{target:()=>{let l=e.getRange();l.start.root.rootName=="$graveyard"&&(l=i.model.document.selection.getFirstRange());const c=r.toViewRange(l);return z.getDomRangeRects(s.viewRangeToDom(c)).pop()},limiter:()=>{const l=this.editor.editing.view,c=l.document.selection.editableElement;return c?l.domConverter.mapViewToDom(c.root):null},positions:P7(t,a)}}}function P7(n,e){const t={caret_se:i=>({top:i.bottom+nr,left:i.right,name:"caret_se",config:{withArrow:!1}}),caret_ne:(i,o)=>({top:i.top-o.height-nr,left:i.right,name:"caret_ne",config:{withArrow:!1}}),caret_sw:(i,o)=>({top:i.bottom+nr,left:i.right-o.width,name:"caret_sw",config:{withArrow:!1}}),caret_nw:(i,o)=>({top:i.top-o.height-nr,left:i.right-o.width,name:"caret_nw",config:{withArrow:!1}})};return Object.prototype.hasOwnProperty.call(t,n)?[t[n]]:e!=="rtl"?[t.caret_se,t.caret_sw,t.caret_ne,t.caret_nw]:[t.caret_sw,t.caret_se,t.caret_nw,t.caret_ne]}function J1(n,e){let t;for(const i of n){const o=e.lastIndexOf(i.marker);o>0&&!e.substring(o-1).match(i.pattern)||(!t||o>=t.position)&&(t={marker:i.marker,position:o,minimumCharacters:i.minimumCharacters,pattern:i.pattern})}return t}function Q1(n,e){const t=e==0?"*":`{${e},}`,i=`(?:^|[= \\(\\[{"'])([${n}])([^= ]${t})$`;return new RegExp(i,"u")}function I7(n){return e=>{const t=J1(n,e);if(!t)return!1;let i=0;t.position!==0&&(i=t.position-1);const o=e.substring(i);return t.pattern.test(o)}}function V7(n,e){let t=0;n.position!==0&&(t=n.position-1);const i=Q1(n.marker,0);return e.substring(t).match(i)[2]}function R7(n){return e=>n.filter(t=>(typeof t=="string"?t:String(t.id)).toLowerCase().includes(e.toLowerCase()))}function O7(n){const e=n.textNode&&n.textNode.hasAttribute("mention"),t=n.nodeBefore;return e||t&&t.is("$text")&&t.hasAttribute("mention")}function B7(n){const e=n.nodeAfter;return e&&e.is("$text")&&e.hasAttribute("mention")}function M7(n){return!!n}function Cl(n){return n.model.markers.has("mention")}class Y1 extends w{toMentionAttribute(e,t){return K1(e,t)}static get pluginName(){return"Mention"}static get isOfficialPlugin(){return!0}static get requires(){return[p7,S7]}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */class L7 extends O{refresh(){const e=this.editor.model,t=e.schema,i=e.document.selection;this.isEnabled=F7(i,t,e)}execute(){const e=this.editor.model;e.change(t=>{const i=t.createElement("pageBreak");e.insertObject(i,null,null,{setSelection:"after"})})}}function F7(n,e,t){const i=N7(n,t);return e.checkChild(i,"pageBreak")}function N7(n,e){const t=ku(n,e).start.parent;return t.isEmpty&&!t.is("element","$root")?t.parent:t}class D7 extends w{static get pluginName(){return"PageBreakEditing"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,i=e.t,o=e.conversion;t.register("pageBreak",{inheritAllFrom:"$blockObject"}),o.for("dataDowncast").elementToStructure({model:"pageBreak",view:(s,{writer:r})=>r.createContainerElement("div",{class:"page-break",style:"page-break-after: always"},r.createContainerElement("span",{style:"display: none"}))}),o.for("editingDowncast").elementToStructure({model:"pageBreak",view:(s,{writer:r})=>{const a=i("Page break"),l=r.createContainerElement("div"),c=r.createRawElement("span",{class:"page-break__label"},function(u){u.innerText=i("Page break")});return r.addClass("page-break",l),r.insert(r.createPositionAt(l,0),c),z7(l,r,a)}}),o.for("upcast").elementToElement({view:s=>{const r=s.getStyle("page-break-before")=="always",a=s.getStyle("page-break-after")=="always";if(!r&&!a)return null;if(s.childCount==1){const l=s.getChild(0);if(!l.is("element","span")||l.getStyle("display")!="none")return null}else if(s.childCount>1)return null;return{name:!0}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new L7(e))}}function z7(n,e,t){return e.setCustomProperty("pageBreak",!0,n),gt(n,e,{label:t})}class H7 extends w{static get pluginName(){return"PageBreakUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("pageBreak",()=>{const t=this._createButton(P);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:pageBreak",()=>this._createButton(ve))}_createButton(e){const t=this.editor,i=t.locale,o=t.commands.get("pageBreak"),s=new e(t.locale),r=i.t;return s.set({label:r("Page break"),icon:XC}),s.bind("isEnabled").to(o,"isEnabled"),this.listenTo(s,"execute",()=>{t.execute("pageBreak"),t.editing.view.focus()}),s}}class $7 extends w{static get requires(){return[D7,H7,Vt]}static get pluginName(){return"PageBreak"}static get isOfficialPlugin(){return!0}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + *//** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function W7(n,e){const t=[];for(const i of e.createRangeIn(n)){const o=i.item;o.is("element","a")&&!o.hasAttribute("href")&&(o.hasAttribute("id")||o.hasAttribute("name"))&&t.push(o)}for(const i of t){const o=i.parent.getChildIndex(i)+1,s=i.getChildren();e.insertChild(o,s,i.parent)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function X1(n){const e=parseFloat(n);return n.endsWith("pt")?Yn(e*96/72):n.endsWith("pc")?Yn(e*12*96/72):n.endsWith("in")?Yn(e*96):n.endsWith("cm")?Yn(e*96/2.54):n.endsWith("mm")?Yn(e/10*96/2.54):n}function Af(n){return n!==void 0&&n.endsWith("px")}function Yn(n){return Math.round(n)+"px"}function j7(n,e,t){if(!n.childCount)return;const i=new Ht(n.document),o=q7(n,i);if(!o.length)return;const s={},r=[];for(const a of o)if(a.indent!==void 0){G7(a)||(r.length=0);const l=`${a.id}:${a.indent}`,c=Math.min(a.indent-1,r.length);if(cr.length-1||r[c].listElement.name!=d.type){c==0&&d.type=="ol"&&a.id!==void 0&&s[l]&&(d.startIndex=s[l]);const m=X7(d,i,t);if(Af(a.marginLeft)&&(c==0||Af(r[c-1].marginLeft))){let f=a.marginLeft;c>0&&(f=Yn(parseFloat(f)-parseFloat(r[c-1].marginLeft))),i.setStyle("padding-left",f,m)}if(r.length==0){const f=a.element.parent,g=f.getChildIndex(a.element)+1;i.insertChild(g,m,f)}else{const f=r[c-1].listItemElements;i.appendChild(m,f[f.length-1])}r[c]={...a,listElement:m,listItemElements:[]},c==0&&a.id!==void 0&&(s[l]=d.startIndex||1)}}const u=a.element.name=="li"?a.element:i.createElement("li");i.appendChild(u,r[c].listElement),r[c].listItemElements.push(u),c==0&&a.id!==void 0&&s[l]++,a.element!=u&&i.appendChild(a.element,u),t6(a.element,i),i.removeStyle("text-indent",a.element),i.removeStyle("margin-left",a.element)}else{const l=r.find(c=>c.marginLeft==a.marginLeft);if(l){const c=l.listItemElements;i.appendChild(a.element,c[c.length-1]),i.removeStyle("margin-left",a.element)}else r.length=0}}function U7(n,e){for(const t of e.createRangeIn(n)){const i=t.item;if(i.is("element","li")){const o=i.getChild(0);o&&o.is("element","p")&&e.unwrapElement(o)}}}function q7(n,e){const t=e.createRangeIn(n),i=[],o=new Set;for(const s of t.getItems()){if(!s.is("element")||!s.name.match(/^(p|h\d+|li|div)$/))continue;let r=i6(s);if(r!==void 0&&parseFloat(r)==0&&!Array.from(s.getClassNames()).find(a=>a.startsWith("MsoList"))&&(r=void 0),s.hasStyle("mso-list")||r!==void 0&&o.has(r)){const a=e6(s);i.push({element:s,id:a.id,order:a.order,indent:a.indent,marginLeft:r}),r!==void 0&&o.add(r)}else o.clear()}return i}function G7(n){const e=n.element.previousSibling;return K7(e||n.element.parent)}function K7(n){return n.is("element","ol")||n.is("element","ul")}function Z7(n,e){const t=new RegExp(`@list l${n.id}:level${n.indent}\\s*({[^}]*)`,"gi"),i=/mso-level-number-format:([^;]{0,100});/gi,o=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,s=new RegExp(`@list\\s+l${n.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),r=new RegExp(`@list l${n.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=s.exec(e),l=r.exec(e),c=a&&!l,u=t.exec(e);let d="decimal",m="ol",f=null;if(u&&u[1]){const g=i.exec(u[1]);if(g&&g[1]&&(d=g[1].trim(),m=d!=="bullet"&&d!=="image"?"ol":"ul"),d==="bullet"){const p=J7(n.element);p&&(d=p)}else{const p=o.exec(u[1]);p&&p[1]&&(f=parseInt(p[1]))}c&&(m="ol")}return{type:m,startIndex:f,style:Y7(d),isLegalStyleList:c}}function J7(n){if(n.name=="li"&&n.parent.name=="ul"&&n.parent.hasAttribute("type"))return n.parent.getAttribute("type");const e=Q7(n);if(!e)return null;const t=e._data;return t==="o"?"circle":t==="·"?"disc":t==="§"?"square":null}function Q7(n){if(n.getChild(0).is("$text"))return null;for(const e of n.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}/* istanbul ignore next -- @preserve */return null}function Y7(n){if(n.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(n){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return n;default:return null}}function X7(n,e,t){const i=e.createElement(n.type);return n.style&&e.setStyle("list-style-type",n.style,i),n.startIndex&&n.startIndex>1&&e.setAttribute("start",n.startIndex,i),n.isLegalStyleList&&t&&e.addClass("legal-list",i),i}function e6(n){const e=n.getStyle("mso-list");if(e===void 0)return{};const t=e.match(/(^|\s{1,100})l(\d+)/i),i=e.match(/\s{0,100}lfo(\d+)/i),o=e.match(/\s{0,100}level(\d+)/i);return t&&i&&o?{id:t[2],order:i[1],indent:parseInt(o[1])}:{indent:1}}function t6(n,e){const t=new ft({name:"span",styles:{"mso-list":"Ignore"}}),i=e.createRangeIn(n);for(const o of i)o.type==="elementStart"&&t.match(o.item)&&e.remove(o.item)}function i6(n){const e=n.getStyle("margin-left");return e===void 0||e.endsWith("px")?e:X1(e)}function n6(n,e){if(!n.childCount)return;const t=new Ht(n.document),i=s6(n,t);r6(i,n,t),l6(i,n,t),a6(n,t);const o=c6(n,t);o.length&&h6(o,u6(e),t)}function o6(n){return btoa(n.match(/\w{2}/g).map(e=>String.fromCharCode(parseInt(e,16))).join(""))}function s6(n,e){const t=e.createRangeIn(n),i=new ft({name:/v:(.+)/}),o=[];for(const s of t){if(s.type!="elementStart")continue;const r=s.item,a=r.previousSibling,l=a&&a.is("element")?a.name:null,c=["Chart"],u=i.match(r),d=r.getAttribute("o:gfxdata"),m=l==="v:shapetype",f=d&&c.some(g=>r.getAttribute("id").includes(g));u&&d&&!m&&!f&&o.push(s.item.getAttribute("id"))}return o}function r6(n,e,t){const i=t.createRangeIn(e),o=new ft({name:"img"}),s=[];for(const r of i)if(r.item.is("element")&&o.match(r.item)){const a=r.item,l=a.getAttribute("v:shapes")?a.getAttribute("v:shapes").split(" "):[];l.length&&l.every(c=>n.indexOf(c)>-1)?s.push(a):a.getAttribute("src")||s.push(a)}for(const r of s)t.remove(r)}function a6(n,e){const t=e.createRangeIn(n),i=new ft({name:/v:(.+)/}),o=[];for(const s of t)s.type=="elementStart"&&i.match(s.item)&&o.push(s.item);for(const s of o)e.remove(s)}function l6(n,e,t){const i=t.createRangeIn(e),o=[];for(const a of i)if(a.type=="elementStart"&&a.item.is("element","v:shape")){const l=a.item.getAttribute("id");if(n.includes(l))continue;s(a.item.parent.getChildren(),l)||o.push(a.item)}for(const a of o){const l={src:r(a)};a.hasAttribute("alt")&&(l.alt=a.getAttribute("alt"));const c=t.createElement("img",l);t.insertChild(a.index+1,c,a.parent)}function s(a,l){for(const c of a){/* istanbul ignore else -- @preserve */if(c.is("element")&&(c.name=="img"&&c.getAttribute("v:shapes")==l||s(c.getChildren(),l)))return!0}return!1}function r(a){for(const l of a.getChildren()){/* istanbul ignore else -- @preserve */if(l.is("element")&&l.getAttribute("src"))return l.getAttribute("src")}}}function c6(n,e){const t=e.createRangeIn(n),i=new ft({name:"img"}),o=[];let s=0;for(const r of t)r.item.is("element")&&i.match(r.item)&&(r.item.getAttribute("src").startsWith("file://")&&o.push({element:r.item,imageIndex:s}),s++);return o}function u6(n){if(!n)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,t=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),i=n.match(t),o=[];if(i)for(const s of i){let r=!1;s.includes("\\pngblip")?r="image/png":s.includes("\\jpegblip")&&(r="image/jpeg"),r&&o.push({hex:s.replace(e,"").replace(/[^\da-fA-F]/g,""),type:r})}return o}function h6(n,e,t){for(let i=0;i!t.hasStyle(`border-${s}-style`)))e.setStyle("border-style","none",t);else for(const s of i)t.hasStyle(`border-${s}-style`)||e.setStyle(`border-${s}-style`,"none",t);const o=["width","height",...i.map(s=>`border-${s}-width`),...i.map(s=>`padding-${s}`)];for(const s of o)t.hasStyle(s)&&e.setStyle(s,X1(t.getStyle(s)),t)}}const f6=//i,g6=/xmlns:o="urn:schemas-microsoft-com/i;class p6{constructor(e,t=!1){h(this,"document"),h(this,"hasMultiLevelListPlugin"),this.document=e,this.hasMultiLevelListPlugin=t}isActive(e){return f6.test(e)||g6.test(e)}execute(e){const t=new Ht(this.document),{body:i,stylesString:o}=e._parsedData;W7(i,t),j7(i,o,this.hasMultiLevelListPlugin),n6(i,e.dataTransfer.getData("text/rtf")),m6(i,t),d6(i),e.content=i}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function w6(n,e){for(const t of n.getChildren())if(t.is("element","b")&&t.getStyle("font-weight")==="normal"){const i=n.getChildIndex(t);e.remove(t),e.insertChild(i,t.getChildren(),n)}}function b6(n,e){const t=new aa(e.document.stylesProcessor),i=new ca(t,{renderingMode:"data"}),o=i.blockElements,s=i.inlineObjectElements,r=[];for(const a of e.createRangeIn(n)){const l=a.item;if(l.is("element","br")){const c=xf(l,"forward",e,{blockElements:o,inlineObjectElements:s}),u=xf(l,"backward",e,{blockElements:o,inlineObjectElements:s}),d=Tf(c,o);(Tf(u,o)||d)&&r.push(l)}}for(const a of r)a.hasClass("Apple-interchange-newline")?e.remove(a):e.replace(a,e.createElement("p"))}function xf(n,e,t,{blockElements:i,inlineObjectElements:o}){let s=t.createPositionAt(n,e=="forward"?"after":"before");return s=s.getLastMatchingPosition(({item:r})=>r.is("element")&&!i.includes(r.name)&&!o.includes(r.name),{direction:e}),e=="forward"?s.nodeAfter:s.nodeBefore}function Tf(n,e){return!!n&&n.is("element")&&e.includes(n.name)}const _6=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class v6{constructor(e){h(this,"document"),this.document=e}isActive(e){return _6.test(e)}execute(e){const t=new Ht(this.document),{body:i}=e._parsedData;w6(i,t),U7(i,t),b6(i,t),e.content=i}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function y6(n,e){for(const t of n.getChildren())t.is("element","table")&&t.hasAttribute("xmlns")&&e.removeAttribute("xmlns",t)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function k6(n,e){for(const t of n.getChildren())if(t.is("element","google-sheets-html-origin")){const i=n.getChildIndex(t);e.remove(t),e.insertChild(i,t.getChildren(),n)}}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function C6(n,e){for(const t of n.getChildren())t.is("element","table")&&t.getStyle("width")==="0px"&&e.removeStyle("width",t)}/** + * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options + */function A6(n,e){for(const t of Array.from(n.getChildren()))t.is("element","style")&&e.remove(t)}const x6=/[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<\/span>/g,"").replace(/()[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," <\/o:p>/g," ").replace(/( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)<")}function S6(n){n.querySelectorAll("span[style*=spacerun]").forEach(e=>{const t=e,i=t.innerText.length||0;t.innerText=Array(i+1).join("  ").substr(0,i)})}function Ef(n){return n.replace(/(\s+)<\/span>/g,(e,t)=>t.length===1?" ":Array(t.length+1).join("  ").substr(0,t.length))}function P6(n,e){const t=new DOMParser;n=n.replace(/ + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + +`;class TO extends w{constructor(){super(...arguments),h(this,"htmlDataProcessor")}init(){this.htmlDataProcessor=new jp(this.editor.editing.view.document),this.editor.ui.componentFactory.add("cutToNote",e=>{const t=new P(e);return t.set({label:"Cut & paste selection to sub-note",icon:xO,tooltip:!0}),t.on("execute",()=>{const i=this.editor.editing.view.getDomRoot();glob.getComponentByEl(i).triggerCommand("cutIntoNote")}),t}),this.editor.getSelectedHtml=()=>this.getSelectedHtml(),this.editor.removeSelection=()=>this.removeSelection()}getSelectedHtml(){const e=this.editor.model,t=e.document,i=this.editor.data.toView(e.getSelectedContent(t.selection));return this.htmlDataProcessor.toData(i)}async removeSelection(){const e=this.editor.model;e.deleteContent(e.document.selection),this.editor.execute("paragraph"),await this.getComponent().triggerCommand("saveNoteDetailNow")}getComponent(){const e=this.editor.editing.view.getDomRoot();return glob.getComponentByEl(e)}}class EO extends w{static get requires(){return[At]}static get pluginName(){return"UploadimagePlugin"}init(){this.editor.plugins.get("FileRepository").createUploadAdapter=e=>new SO(e)}}class SO{constructor(e){h(this,"loader"),h(this,"xhr"),this.loader=e}upload(){return this.loader.file.then(e=>new Promise((t,i)=>{this._initRequest().then(()=>{this._initListeners(t,i),this._sendRequest()})}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){return glob.getHeaders().then(e=>{const t=this.xhr=new XMLHttpRequest,{noteId:i}=glob.getActiveContextNote(),o=`api/notes/${i}/attachments/upload`;t.open("POST",o,!0),t.responseType="json";for(const s in e)t.setRequestHeader(s,e[s])})}async _initListeners(e,t){const i=this.xhr;if(!i){t("Missing XHR");return}const o=this.loader,s=await o.file;if(!s){t("Missing file");return}const r=`Cannot upload file: ${s.name}.`;i.addEventListener("error",()=>t(r)),i.addEventListener("abort",()=>t()),i.addEventListener("load",()=>{const a=i.response;if(!a||!a.uploaded)return t(a&&a.error&&a.error.message?a.error.message:r);e({default:a.url})}),i.upload&&i.upload.addEventListener("progress",a=>{a.lengthComputable&&(o.uploadTotal=a.total,o.uploaded=a.loaded)})}async _sendRequest(){var e;const t=new FormData,i=await this.loader.file;i&&(t.append("upload",i),(e=this.xhr)==null||e.send(t))}}class PO extends w{init(){this.editor.conversion.for("downcast").attributeToElement({model:"italic",view:"em",converterPriority:"high"})}}class IO extends w{init(){this.editor.conversion.for("downcast").attributeToElement({model:"strikethrough",view:"del",converterPriority:"high"})}}const VO=` + + + +`;class S0 extends w{static get requires(){return[OO]}}class RO extends O{execute({href:e}){if(!(e!=null&&e.trim()))return;const t=this.editor;glob.getReferenceLinkTitle(e).then(()=>{t.model.change(i=>{const o=i.createElement("reference",{href:e});t.model.insertContent(o),i.setSelection(o,"after")})})}refresh(){const e=this.editor.model,t=e.document.selection;this.isEnabled=t.focus!==null&&e.schema.checkChild(t.focus.parent,"reference")}}class OO extends w{static get requires(){return[Vt,ks]}init(){this._defineSchema(),this._defineConverters(),this.editor.commands.add("referenceLink",new RO(this.editor)),this.editor.editing.mapper.on("viewToModelPosition",Cu(this.editor.model,e=>e.hasClass("reference-link"))),this.editor.plugins.get("LinkEditing")._registerLinkOpener(()=>!0)}_defineSchema(){this.editor.model.schema.register("reference",{allowWhere:"$text",isInline:!0,isObject:!0,allowAttributes:["href","uploadId","uploadStatus"]})}_defineConverters(){const e=this.editor,t=e.conversion;t.for("upcast").elementToElement({view:{name:"a",classes:["reference-link"]},model:(i,{writer:o})=>{const s=i.getAttribute("href");return o.createElement("reference",{href:s})}}),t.for("editingDowncast").elementToElement({model:"reference",view:(i,{writer:o})=>{const s=i.getAttribute("href"),r=o.createContainerElement("a",{href:s,class:"reference-link"},{renderUnsafeAttributes:["href"]}),a=o.createUIElement("span",{},function(l){const c=this.toDomElement(l),u=e.editing.view.getDomRoot();return glob.getComponentByEl(u).loadReferenceLinkTitle($(c),s),c});return o.insert(o.createPositionAt(r,0),a),gt(r,o)}}),t.for("dataDowncast").elementToElement({model:"reference",view:(i,{writer:o})=>{const s=i.getAttribute("href"),r=o.createContainerElement("a",{href:s,class:"reference-link"}),a=glob.getReferenceLinkTitleSync(s),l=o.createText(a);return o.insert(o.createPositionAt(r,0),l),r}})}}class BO extends w{static get requires(){return[S0]}init(){const e=this.editor;e.ui.componentFactory.add("internalLink",t=>{const i=new P(t);return i.set({label:"Internal Trilium link (CTRL-L)",icon:VO,tooltip:!0}),i.bind("isEnabled").to(e,"isReadOnly",o=>!o),i.on("execute",()=>{const o=e.editing.view.getDomRoot();glob.getComponentByEl(o).triggerCommand("addLinkToText")}),i})}}const MO=` + + + + +`;class LO extends w{init(){const e=this.editor;e.ui.componentFactory.add("dateTime",t=>{const i=new P(t);return i.set({label:"Date time",icon:MO,tooltip:!0}),i.bind("isEnabled").to(e,"isReadOnly",o=>!o),i.on("execute",()=>{const o=e.editing.view.getDomRoot();glob.getComponentByEl(o).triggerCommand("insertDateTimeToText"),e.editing.view.focus()}),i})}}class FO extends w{static get requires(){return[e0]}init(){this.editor.model.schema.setAttributeProperties("linkHref",{isFormatting:!0})}}class NO extends w{init(){this.editor.keystrokes.set("Tab",(e,t)=>{const i=this.editor.commands.get("indentBlock");i&&i.isEnabled&&!this.isInTable()&&(i.execute(),t())}),this.editor.keystrokes.set("Shift+Tab",(e,t)=>{const i=this.editor.commands.get("outdentBlock");i&&i.isEnabled&&!this.isInTable()&&(i.execute(),t())})}isInTable(){let e=this.editor.model.document.selection.getFirstPosition();for(;e;){if("name"in e&&e.name==="tableCell")return!0;e="parent"in e?e.parent:null}return!1}}const DO='';class zO extends w{init(){this.editor.ui.componentFactory.add("markdownImport",e=>{const t=new P(e);return t.set({label:"Markdown import from clipboard",icon:DO,tooltip:!0}),t.on("execute",()=>{glob.importMarkdownInline()}),t})}}class HO extends w{static get requires(){return[Y1]}afterInit(){const e=this.editor;e.commands.add("mention",new $O(e))}}class $O extends O{execute(e){const{model:t}=this.editor,{document:i}=t,{selection:o}=i,s=e.mention,r=e.range||o.getFirstRange();if(s.id.startsWith("#")||s.id.startsWith("~"))t.change(a=>{t.insertContent(a.createText(s.id,{}),r)});else if(s.action==="create-note"){const a=this.editor.editing.view.getDomRoot();glob.getComponentByEl(a).createNoteForReferenceLink(s.noteTitle).then(l=>{this.insertReference(r,l)})}else this.insertReference(r,s.notePath)}insertReference(e,t){const{model:i}=this.editor;i.change(o=>{i.insertContent(o.createText("",{}),e),this.editor.execute("referenceLink",{href:"#"+t})})}}const WO='';class jO extends w{static get requires(){return[qO,UO]}}class UO extends w{init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("includeNote",i=>{const o=e.commands.get("insertIncludeNote"),s=new P(i);return s.set({label:t("Include note"),icon:WO,tooltip:!0}),o&&s.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(s,"execute",()=>e.execute("insertIncludeNote")),s})}}class qO extends w{static get requires(){return[Vt]}init(){this._defineSchema(),this._defineConverters(),this.editor.commands.add("insertIncludeNote",new GO(this.editor))}_defineSchema(){this.editor.model.schema.register("includeNote",{isObject:!0,allowAttributes:["noteId","boxSize"],allowWhere:"$block"})}_defineConverters(){const e=this.editor,t=e.conversion;t.for("upcast").elementToElement({model:(i,{writer:o})=>o.createElement("includeNote",{noteId:i.getAttribute("data-note-id"),boxSize:i.getAttribute("data-box-size")}),view:{name:"section",classes:"include-note"}}),t.for("dataDowncast").elementToElement({model:"includeNote",view:(i,{writer:o})=>o.createContainerElement("section",{class:"include-note","data-note-id":i.getAttribute("noteId"),"data-box-size":i.getAttribute("boxSize")})}),t.for("editingDowncast").elementToElement({model:"includeNote",view:(i,{writer:o})=>{const s=i.getAttribute("noteId"),r=i.getAttribute("boxSize"),a=o.createContainerElement("section",{class:"include-note box-size-"+r,"data-note-id":s,"data-box-size":r}),l=o.createUIElement("div",{class:"include-note-wrapper","data-cke-ignore-events":!0},function(c){const u=this.toDomElement(c),d=e.editing.view.getDomRoot();return glob.getComponentByEl(d).loadIncludedNote(s,$(u)),KO(u,e),u});return o.insert(o.createPositionAt(a,0),l),gt(a,o,{label:"include note widget"})}})}}class GO extends O{execute(){const e=this.editor.editing.view.getDomRoot();glob.getComponentByEl(e).triggerCommand("addIncludeNoteToText")}refresh(){const e=this.editor.model,t=e.document.selection.getFirstPosition(),i=t&&e.schema.findAllowedParent(t,"includeNote");this.isEnabled=i!==null}}function KO(n,e){n.addEventListener("mousedown",t,{capture:!0}),n.addEventListener("focus",t,{capture:!0}),n.addEventListener("keydown",t,{capture:!0});function t(i){i.stopPropagation(),e.editing.view._renderer.isFocused=!1}}class ZO extends O{refresh(){this.isEnabled=!0}execute(e){const t=this.editor,i=t.model,o=t.plugins.get(At);i.change(s=>{const r=e.file;for(const a of r)JO(s,i,o,a)})}}function JO(n,e,t,i){const o=t.createLoader(i);o&&QO(n,e,{href:"",uploadId:o.id})}function QO(n,e,t={},i){const o=n.createElement("reference",t);e.insertContent(o,e.document.selection),n.insertText(" ",o,"after")}class YO extends w{static get requires(){return[At,Nr,_s]}static get pluginName(){return"FileUploadEditing"}init(){const e=this.editor,t=e.model.document,i=e.conversion,o=e.plugins.get(At);e.commands.add("fileUpload",new ZO(e)),i.for("upcast").attributeToAttribute({view:{name:"a",key:"uploadId"},model:"uploadId"}),this.listenTo(e.editing.view.document,"clipboardInput",(s,r)=>{if(nB(r.dataTransfer))return;const a=Array.from(r.dataTransfer.files);e.model.change(l=>{r.targetRanges&&l.setSelection(r.targetRanges.map(c=>e.editing.mapper.toModelRange(c))),a.length&&(s.stop(),e.model.enqueueChange(()=>{e.execute("fileUpload",{file:a})}))})}),this.listenTo(e.plugins.get(_s),"inputTransformation",(s,r)=>{const a=Array.from(e.editing.view.createRangeIn(r.content)).filter(c=>eB(c.item)&&!c.item.getAttribute("uploadProcessed")).map(c=>({promise:XO(c.item),fileElement:c}));if(!a.length)return;const l=new Ht(this.editor.editing.view.document);for(const c of a){l.setAttribute("uploadProcessed",!0,c.fileElement);const u=o.createLoader(c.promise);u&&(l.setAttribute("href","",c.fileElement),l.setAttribute("uploadId",u.id,c.fileElement))}}),e.editing.view.document.on("dragover",(s,r)=>{r.preventDefault()}),t.on("change",()=>{const s=t.differ.getChanges({includeChangesInGraveyard:!0});for(const r of s)if(r.type=="insert"){const a=r.position.nodeAfter;if(a){const l=r.position.root.rootName=="$graveyard";for(const c of oB(e,a)){const u=c.getAttribute("uploadId");if(!u)continue;const d=o.loaders.get(u);d&&(l?d.abort():d.status=="idle"&&this._readAndUpload(d,c))}}}})}_readAndUpload(e,t){const i=this.editor,o=i.model,s=i.locale.t,r=i.plugins.get(At),a=i.plugins.get(Nr);return o.enqueueChange(c=>{c.setAttribute("uploadStatus","reading",t)}),e.read().then(()=>{const c=e.upload();return o.enqueueChange(u=>{u.setAttribute("uploadStatus","uploading",t)}),c}).then(c=>(o.enqueueChange(u=>{u.setAttributes({uploadStatus:"complete",href:c.default},t)}),l(),new Promise(u=>setTimeout(u,100)))).then(()=>{i.setData(i.getData())}).catch(c=>{if(e.status!=="error"&&e.status!=="aborted")throw c;e.status=="error"&&c&&a.showWarning(c,{title:s("Upload failed"),namespace:"upload"}),l(),o.enqueueChange(u=>{u.remove(t)})});function l(){o.enqueueChange(c=>{c.removeAttribute("uploadId",t),c.removeAttribute("uploadStatus",t)}),r.destroyLoader(e)}}}function XO(n){return new Promise((e,t)=>{const i=n.getAttribute("href");fetch(i).then(o=>o.blob()).then(o=>{const s=tB(o,i)??"",r=`file.${s?.replace("file/","")}`,a=iB(o,r,s);a?e(a):t()}).catch(t)})}function eB(n){return!n.is("element","a")||!n.getAttribute("href")?!1:n.getAttribute("href")}function tB(n,e){var t;if(n.type)return n.type;if(e.match(/data:(image\/\w+);base64/))return(t=e.match(/data:(image\/\w+);base64/))==null?void 0:t[1].toLowerCase();throw new Error("Could not retrieve mime type for file.")}function iB(n,e,t){try{return new File([n],e,{type:t})}catch{return null}}function nB(n){return Array.from(n.types).includes("text/html")&&n.getData("text/html")!==""}function oB(n,e){return Array.from(n.model.createRangeOn(e)).filter(t=>t.item.hasAttribute("href")).map(t=>t.item)}class sB extends w{static get requires(){return[YO]}static get pluginName(){return"fileUploadPlugin"}}class rB extends w{constructor(){super(...arguments),h(this,"config"),h(this,"hljs")}async init(){const e=this.editor.config.get("syntaxHighlighting");!e||!e.enabled||(this.config=e,this.hljs=await e.loadHighlightJs(),this.initTextEditor(this.editor))}initTextEditor(e){Hi("initTextEditor");const t=e.model.document;e.conversion.for("editingDowncast").markerToHighlight({model:"hljs",view:({markerName:i})=>{Ye("markerName "+i);const[,o,s]=i.split(":");return{name:"span",classes:[o],attributes:{"data-syntax-result":s}}}}),t.registerPostFixer(i=>{var o,s,r;Hi("postFixer");const a=t.differ.getChanges();let l=new Set;function c(u){if("getChildren"in u)for(const d of u.getChildren())d.is("element","paragraph")||(d.is("element","codeBlock")?l.add(d):d.childCount>0&&c(d))}for(const u of a)if(Ye("change "+JSON.stringify(u)),"name"in u&&u.name!=="paragraph"&&u.name!=="codeBlock"&&(o=u?.position)!=null&&o.nodeAfter&&u.position.nodeAfter.childCount>0)c(u.position.nodeAfter);else if(u.type=="insert"&&u.name=="codeBlock"){const d=(s=u.position)==null?void 0:s.nodeAfter;d&&(Hi("dirtying inserted codeBlock "+JSON.stringify(d.toJSON())),l.add(d))}else if(u.type=="remove"&&u.name=="codeBlock"&&u.position)Hi("removing codeBlock at path "+JSON.stringify(u.position.toJSON()));else if((u.type=="remove"||u.type=="insert")&&(r=u?.position)!=null&&r.parent.is("element","codeBlock")){const d=u.position.parent;Hi("dirtying codeBlock "+JSON.stringify(d.toJSON())),l.add(d)}for(let u of l)this.highlightCodeBlock(u,i);return!1})}highlightCodeBlock(e,t){var i;Hi("highlighting codeblock "+JSON.stringify(e.toJSON()));const o=(i=e.root.document)==null?void 0:i.model;if(!o)return;const s=o.createRangeIn(e);for(const _ of o.markers.getMarkersIntersectingRange(s))Ye("removing marker "+_.name),t.removeMarker(_.name);const r=e.getAttribute("language");if(r=="text-plain"){Hi("not highlighting plaintext codeblock");return}if(e.childCount>=aB)return;let a="";for(let _=0;_=f.length)if(m++,m0&&(E=E.slice(0,M)),Ye("Found span start "+E),c=u.indexOf(">",c)+1;let G=t.createPositionAt(e,(g?.startOffset??0)+p);d.push({className:E,posStart:G})}else if(u[c]=="<"&&u[c+1]=="/"){c=u.indexOf(">",c+1)+1;let _=d.pop(),v=_?.posStart,E=_?.className,M=t.createPositionAt(e,(g?.startOffset??0)+p);if(v){let G=t.createRange(v,M),X="hljs:"+E+":"+Tl;Tl=Tl+1&16777215,Ye("Found span end "+E),Ye("Adding marker "+X+": "+JSON.stringify(G.toJSON())),t.addMarker(X,{range:G,usingOperation:!1})}}else{if(lB(m=xa.indexOf("warn")&&(Pc=console.warn.bind(console,Aa+": "));let Hi=function(...n){};ju>=xa.indexOf("log")&&(Hi=console.log.bind(console,Aa+": "));let Ye=function(...n){};ju>=xa.indexOf("debug")&&(Ye=console.debug.bind(console,Aa+": "));function lB(n,e){console.assert(n,Aa+": "+e)}let Tl=0;var cB=` + + +`;const hn="kbd";class uB extends w{static get pluginName(){return"KbdEditing"}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:hn}),e.model.schema.setAttributeProperties(hn,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:hn,view:hn}),e.commands.add(hn,new tn(e,hn)),e.keystrokes.set("CTRL+ALT+K",hn)}}const El="kbd";class hB extends w{static get pluginName(){return"KbdUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(El,i=>{const o=e.commands.get(El),s=new P(i);return s.set({label:t("Keyboard shortcut"),icon:cB,keystroke:"CTRL+ALT+K",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(s,"execute",()=>{e.execute(El),e.editing.view.focus()}),s})}}class dB extends w{static get requires(){return[uB,hB]}static get pluginName(){return"Kbd"}}var mB=typeof global=="object"&&global&&global.Object===Object&&global,fB=typeof self=="object"&&self&&self.Object===Object&&self,P0=mB||fB||Function("return this")(),Qr=P0.Symbol,I0=Object.prototype,gB=I0.hasOwnProperty,pB=I0.toString,$o=Qr?Qr.toStringTag:void 0;function wB(n){var e=gB.call(n,$o),t=n[$o];try{n[$o]=void 0;var i=!0}catch{}var o=pB.call(n);return i&&(e?n[$o]=t:delete n[$o]),o}var bB=Object.prototype,_B=bB.toString;function vB(n){return _B.call(n)}var yB="[object Null]",kB="[object Undefined]",eg=Qr?Qr.toStringTag:void 0;function CB(n){return n==null?n===void 0?kB:yB:eg&&eg in Object(n)?wB(n):vB(n)}function AB(n){return n!=null&&typeof n=="object"}var xB="[object Symbol]";function TB(n){return typeof n=="symbol"||AB(n)&&CB(n)==xB}var EB=/\s/;function SB(n){for(var e=n.length;e--&&EB.test(n.charAt(e)););return e}var PB=/^\s+/;function IB(n){return n&&n.slice(0,SB(n)+1).replace(PB,"")}function Ic(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var tg=NaN,VB=/^[-+]0x[0-9a-f]+$/i,RB=/^0b[01]+$/i,OB=/^0o[0-7]+$/i,BB=parseInt;function ig(n){if(typeof n=="number")return n;if(TB(n))return tg;if(Ic(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Ic(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=IB(n);var t=RB.test(n);return t||OB.test(n)?BB(n.slice(2),t?2:8):VB.test(n)?tg:+n}var Sl=function(){return P0.Date.now()},MB="Expected a function",LB=Math.max,FB=Math.min;function NB(n,e,t){var i,o,s,r,a,l,c=0,u=!1,d=!1,m=!0;if(typeof n!="function")throw new TypeError(MB);e=ig(e)||0,Ic(t)&&(u=!!t.leading,d="maxWait"in t,s=d?LB(ig(t.maxWait)||0,e):s,m="trailing"in t?!!t.trailing:m);function f(T){var F=i,x=o;return i=o=void 0,c=T,r=n.apply(x,F),r}function g(T){return c=T,a=setTimeout(v,e),u?f(T):r}function p(T){var F=T-l,x=T-c,q=e-F;return d?FB(q,s-x):q}function _(T){var F=T-l,x=T-c;return l===void 0||F>=e||F<0||d&&x>=s}function v(){var T=Sl();if(_(T))return E(T);a=setTimeout(v,p(T))}function E(T){return a=void 0,m&&i?f(T):(i=o=void 0,r)}function M(){a!==void 0&&clearTimeout(a),c=0,i=l=o=a=void 0}function G(){return a===void 0?r:E(Sl())}function X(){var T=Sl(),F=_(T);if(i=arguments,o=this,l=T,F){if(a===void 0)return g(l);if(d)return clearTimeout(a),a=setTimeout(v,e),f(l)}return a===void 0&&(a=setTimeout(v,e)),r}return X.cancel=M,X.flush=G,X}/** + * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */function Uu(n,e){var t;const i=n.model.document.selection,o=i.getSelectedElement()||((t=i.getLastPosition())==null?void 0:t.parent);return!!(o&&o.is("element","mermaid")&&o.getAttribute("displayMode")===e)}class DB extends O{refresh(){var e;const t=this.editor,i=t.model.document.selection,o=i.getSelectedElement();o&&o.name==="mermaid"||(e=i.getLastPosition())!=null&&e.findAncestor("mermaid")?this.isEnabled=!!o:this.isEnabled=!1,this.value=Uu(t,"preview")}execute(){var e;const t=this.editor.model,i=this.editor.model.document.selection,o=i.getSelectedElement()||((e=i.getLastPosition())==null?void 0:e.parent);o&&t.change(s=>{o.getAttribute("displayMode")!=="preview"&&s.setAttribute("displayMode","preview",o)})}}class zB extends O{refresh(){var e;const t=this.editor,i=t.model.document.selection,o=i.getSelectedElement();o&&o.name==="mermaid"||(e=i.getLastPosition())!=null&&e.findAncestor("mermaid")?this.isEnabled=!!o:this.isEnabled=!1,this.value=Uu(t,"source")}execute(){var e;const t=this.editor.model,i=this.editor.model.document.selection,o=i.getSelectedElement()||((e=i.getLastPosition())==null?void 0:e.parent);t.change(s=>{o.getAttribute("displayMode")!=="source"&&s.setAttribute("displayMode","source",o)})}}class HB extends O{refresh(){var e;const t=this.editor,i=t.model.document.selection,o=i.getSelectedElement();o&&o.name==="mermaid"||(e=i.getLastPosition())!=null&&e.findAncestor("mermaid")?this.isEnabled=!!o:this.isEnabled=!1,this.value=Uu(t,"split")}execute(){var e;const t=this.editor.model,i=this.editor.model.document.selection,o=i.getSelectedElement()||((e=i.getLastPosition())==null?void 0:e.parent);t.change(s=>{o.getAttribute("displayMode")!=="split"&&s.setAttribute("displayMode","split",o)})}}const $B=`flowchart TB +A --> B +B --> C`;class WB extends O{refresh(){const e=this.editor.model.document.selection.getSelectedElement();e&&e.name==="mermaid"?this.isEnabled=!1:this.isEnabled=!0}execute(){const e=this.editor.model;let t;return e.change(i=>{t=i.createElement("mermaid",{displayMode:"split",source:$B}),e.insertContent(t)}),t}}const jB=300;class UB extends w{constructor(){super(...arguments),h(this,"_config"),h(this,"mermaid")}static get pluginName(){return"MermaidEditing"}init(){this._registerCommands(),this._defineConverters(),this._config=this.editor.config.get("mermaid")}afterInit(){this.editor.model.schema.register("mermaid",{allowAttributes:["displayMode","source"],allowWhere:"$block",isObject:!0})}_registerCommands(){const e=this.editor;e.commands.add("mermaidPreviewCommand",new DB(e)),e.commands.add("mermaidSplitViewCommand",new HB(e)),e.commands.add("mermaidSourceViewCommand",new zB(e)),e.commands.add("insertMermaidCommand",new WB(e))}_defineConverters(){const e=this.editor;e.data.downcastDispatcher.on("insert:mermaid",this._mermaidDataDowncast.bind(this)),e.editing.downcastDispatcher.on("insert:mermaid",this._mermaidDowncast.bind(this)),e.editing.downcastDispatcher.on("attribute:source:mermaid",this._sourceAttributeDowncast.bind(this)),e.data.upcastDispatcher.on("element:code",this._mermaidUpcast.bind(this),{priority:"high"}),e.conversion.for("editingDowncast").attributeToAttribute({model:{name:"mermaid",key:"displayMode"},view:t=>({key:"class",value:"ck-mermaid__"+t+"-mode"})})}_mermaidDataDowncast(e,t,i){const o=this.editor.model,{writer:s,mapper:r}=i;if(!i.consumable.consume(t.item,"insert"))return;const a=r.toViewPosition(o.createPositionBefore(t.item)),l=s.createContainerElement("code",{class:"language-mermaid"}),c=s.createContainerElement("pre",{spellcheck:"false"}),u=s.createText(t.item.getAttribute("source"));s.insert(o.createPositionAt(l,"end"),u),s.insert(o.createPositionAt(c,"end"),l),s.insert(a,c),r.bindElements(t.item,l)}_mermaidDowncast(e,t,i){const{writer:o,mapper:s,consumable:r}=i,{editor:a}=this,{model:l,t:c}=a,u=this;if(!r.consume(t.item,"insert"))return;const d=s.toViewPosition(l.createPositionBefore(t.item)),m={class:["ck-mermaid__wrapper"]},f={class:["ck-mermaid__editing-view"],placeholder:c("Insert mermaid source code"),"data-cke-ignore-events":!0},g=o.createContainerElement("div",m),p=o.createUIElement("textarea",f,v),_=o.createUIElement("div",{class:["ck-mermaid__preview"]},E);return o.insert(o.createPositionAt(g,"start"),_),o.insert(o.createPositionAt(g,"start"),p),o.insert(d,g),s.bindElements(t.item,g),gt(g,o,{label:c("Mermaid widget"),hasSelectionHandle:!0});function v(M){const G=this.toDomElement(M);G.value=t.item.getAttribute("source");const X=NB(T=>{a.model.change(F=>{F.setAttribute("source",T.target.value,t.item)})},jB);return G.addEventListener("input",X),G.addEventListener("focus",()=>{const T=a.model;T.document.selection.getSelectedElement()!==t.item&&T.change(F=>F.setSelection(t.item,"on"))},!0),G}function E(M){const G=t.item.getAttribute("source"),X=this.toDomElement(M);return X.innerHTML=G,window.setTimeout(()=>{u._renderMermaid(X)},100),X}}_sourceAttributeDowncast(e,t,i){const o=t.attributeNewValue,s=this.editor.editing.view.domConverter;if(o){const r=i.mapper.toViewElement(t.item);if(!r)return;for(const a of r.getChildren()){const l=a;if(l.name==="textarea"&&l.hasClass("ck-mermaid__editing-view")){const c=s.viewToDom(l);c.value!=o&&(c.value=o)}else if(l.name==="div"&&l.hasClass("ck-mermaid__preview")){const c=s.viewToDom(l);c&&(c.innerHTML=o,c.removeAttribute("data-processed"),this._renderMermaid(c))}}}}_mermaidUpcast(e,t,i){const o=t.viewItem,s=!o.parent||!o.parent.is("element","pre"),r=t.modelCursor.findAncestor("code"),{consumable:a,writer:l}=i;if(!o.hasClass("language-mermaid")||s||r||!a.test(o,{name:!0}))return;const c=Array.from(o.getChildren()).filter(d=>d.is("$text")).map(d=>d.data).join(""),u=l.createElement("mermaid",{source:c,displayMode:"split"});i.safeInsert(u,t.modelCursor)&&(a.consume(o,{name:!0}),i.updateConversionResult(u,t))}async _renderMermaid(e){var t,i,o;!window.mermaid&&typeof((t=this._config)==null?void 0:t.lazyLoad)=="function"&&(this.mermaid=await this._config.lazyLoad()),(o=this.mermaid)==null||o.init(((i=this._config)==null?void 0:i.config)??{},e)}}class qB extends w{static get requires(){return[ci]}static get pluginName(){return"MermaidToolbar"}afterInit(){const e=this.editor,t=e.t,i=e.plugins.get(ci),o=["mermaidSourceView","mermaidSplitView","mermaidPreview","|","mermaidInfo"];o&&i.register("mermaidToolbar",{ariaLabel:t("Mermaid toolbar"),items:o,getRelatedElement:s=>GB(s)})}}function GB(n){const e=n.getSelectedElement();return e&&e.hasClass("ck-mermaid__wrapper")?e:null}var KB=` +`,ZB=` +`,JB=` +`,QB=` +`,YB=` +`;class XB extends w{static get pluginName(){return"MermaidUI"}init(){this._addButtons()}_addButtons(){const e=this.editor;this._addInsertMermaidButton(),this._addMermaidInfoButton(),this._createToolbarButton(e,"mermaidPreview","Preview",ZB),this._createToolbarButton(e,"mermaidSourceView","Source view",QB),this._createToolbarButton(e,"mermaidSplitView","Split view",JB)}_addInsertMermaidButton(){const e=this.editor,t=e.t,i=e.editing.view;e.ui.componentFactory.add("mermaid",o=>{const s=new P(o),r=e.commands.get("insertMermaidCommand");if(!r)throw new Error("Missing command.");return s.set({label:t("Insert Mermaid diagram"),icon:KB,tooltip:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),r.listenTo(s,"execute",()=>{var a;const l=e.execute("insertMermaidCommand"),c=e.editing.mapper.toViewElement(l);if(i.scrollToTheSelection(),i.focus(),c){const u=i.domConverter.viewToDom(c);u&&((a=u.querySelector(".ck-mermaid__editing-view"))==null||a.focus())}}),s})}_addMermaidInfoButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("mermaidInfo",i=>{const o=new P(i),s="https://ckeditor.com/blog/basic-overview-of-creating-flowcharts-using-mermaid/";return o.set({label:t("Read more about Mermaid diagram syntax"),icon:YB,tooltip:!0}),o.on("execute",()=>{window.open(s,"_blank","noopener")}),o})}_createToolbarButton(e,t,i,o){const s=e.t;e.ui.componentFactory.add(t,r=>{const a=new P(r),l=e.commands.get(`${t}Command`);if(!l)throw new Error("Missing command.");return a.set({label:s(i),icon:o,tooltip:!0}),a.bind("isOn","isEnabled").to(l,"value","isEnabled"),l.listenTo(a,"execute",()=>{e.execute(`${t}Command`),e.editing.view.scrollToTheSelection(),e.editing.view.focus()}),a})}}class e9 extends w{static get requires(){return[UB,qB,XB]}static get pluginName(){return"Mermaid"}}var t9=` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`;const qu=["note","tip","important","caution","warning"],ao="admonitionType",i9=qu[0];class n9 extends O{constructor(){super(...arguments),h(this,"_lastType")}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,i=t.schema,o=t.document.selection,s=Array.from(o.getSelectedBlocks()),r=this._getType(e);t.change(a=>{if(!r)this._removeQuote(a,s.filter(lr));else{const l=s.filter(c=>lr(c)||og(i,c));this._applyQuote(a,l,r)}})}_getType(e){const t=e.forceValue===void 0?!this.value:e.forceValue;return t?typeof t=="string"?t:e.usePreviousChoice&&this._lastType?this._lastType:"note":!1}_getValue(){const e=this.editor.model.document.selection,t=ae(e.getSelectedBlocks());if(!t)return!1;const i=lr(t);return i!=null&&i.is("element")?i.getAttribute(ao):!1}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,i=ae(e.getSelectedBlocks());return i?og(t,i):!1}_removeQuote(e,t){ng(e,t).reverse().forEach(i=>{if(i.start.isAtStart&&i.end.isAtEnd){e.unwrap(i.start.parent);return}if(i.start.isAtStart){const s=e.createPositionBefore(i.start.parent);e.move(i,s);return}i.end.isAtEnd||e.split(i.end);const o=e.createPositionAfter(i.end.parent);e.move(i,o)})}_applyQuote(e,t,i){this._lastType=i;const o=[];ng(e,t).reverse().forEach(s=>{let r=lr(s.start);if(r)r.is("element")&&this.editor.model.change(a=>{a.setAttribute(ao,i,r)});else{const a={};a[ao]=i,r=e.createElement("aside",a),e.wrap(s,r)}o.push(r)}),o.reverse().reduce((s,r)=>s.nextSibling==r?(e.merge(e.createPositionAfter(s)),s):r)}}function lr(n){return n.parent.name=="aside"?n.parent:null}function ng(n,e){let t,i=0;const o=[];for(;i{let l=i9;for(const u of r.getClassNames())u!=="admonition"&&qu.includes(u)&&(l=u);const c={};return c[ao]=l,a.createElement("aside",c)}}),e.conversion.for("downcast").elementToElement({model:"aside",view:"aside"}).attributeToAttribute({model:ao,view:r=>({key:"class",value:["admonition",r]})}),e.model.document.registerPostFixer(r=>{const a=e.model.document.differ.getChanges();for(const l of a)if(l.type=="insert"){const c=l.position.nodeAfter;if(!c)continue;if(c.is("element","aside")&&c.isEmpty)return r.remove(c),!0;if(c.is("element","aside")&&!t.checkChild(l.position,c))return r.unwrap(c),!0;if(c.is("element")){const u=r.createRangeIn(c);for(const d of u.getItems())if(d.is("element","aside")&&!t.checkChild(r.createPositionBefore(d),d))return r.unwrap(d),!0}}else if(l.type=="remove"){const c=l.position.parent;if(c.is("element","aside")&&c.isEmpty)return r.remove(c),!0}return!1});const i=this.editor.editing.view.document,o=e.model.document.selection,s=e.commands.get("admonition");s&&(this.listenTo(i,"enter",(r,a)=>{!o.isCollapsed||!s.value||o.getLastPosition().parent.isEmpty&&(e.execute("admonition"),e.editing.view.scrollToTheSelection(),a.preventDefault(),r.stop())},{context:"aside"}),this.listenTo(i,"delete",(r,a)=>{if(a.direction!="backward"||!o.isCollapsed||!s.value)return;const l=o.getLastPosition().parent;l.isEmpty&&!l.previousSibling&&(e.execute("admonition"),e.editing.view.scrollToTheSelection(),a.preventDefault(),r.stop())},{context:"aside"}))}}const s9={note:{title:"참고"},tip:{title:"도움말"},important:{title:"중요"},caution:{title:"주의"},warning:{title:"경고"}};class r9 extends w{static get pluginName(){return"AdmonitionUI"}init(){this.editor.ui.componentFactory.add("admonition",()=>this._createButton())}_createButton(){const e=this.editor,t=e.locale,i=e.commands.get("admonition"),o=Ee(t,Xi),s=o.buttonView,r=t.t;return wt(o,this._getDropdownItems()),s.set({label:r("Admonition"),icon:t9,isToggleable:!0,tooltip:!0}),s.on("execute",()=>{e.execute("admonition",{usePreviousChoice:!0}),e.editing.view.focus()}),s.bind("isOn").to(i,"value",a=>!!a),o.bind("isEnabled").to(i,"isEnabled"),o.on("execute",a=>{e.execute("admonition",{forceValue:a.source.commandParam}),e.editing.view.focus()}),o}_getDropdownItems(){const e=new _e,t=this.editor.commands.get("admonition");if(!t)return e;for(const[i,o]of Object.entries(s9)){const s={type:"button",model:new et({commandParam:i,label:o.title,class:`ck-tn-admonition-option ck-tn-admonition-${i}`,role:"menuitemradio",withText:!0})};s.model.bind("isOn").to(t,"value",r=>r===i),e.add(s)}return e}}function a9(n){if(n.length===2&&qu.includes(n[1]))return n[1]}class l9 extends w{static get requires(){return[yu]}afterInit(){if(!this.editor.commands.get("admonition"))return;const e=this;Wt(this.editor,e,/^\!\!\[*\! (.+) $/,({match:t})=>{const i=a9(t);i?this.editor.execute("admonition",{forceValue:i}):(this.editor.execute("admonition"),t.length>1&&this.editor.execute("insertText",{text:(t[1]??"")+" "}))})}}class c9 extends w{static get requires(){return[o9,r9,l9]}static get pluginName(){return"Admonition"}}var u9=` + ab + 1 + +`;const h9="footnote",U={footnoteItem:"footnoteItem",footnoteReference:"footnoteReference",footnoteSection:"footnoteSection",footnoteContent:"footnoteContent",footnoteBackLink:"footnoteBackLink"},Wi={footnoteContent:"footnote-content",footnoteItem:"footnote-item",footnoteReference:"footnote-reference",footnoteSection:"footnote-section",footnoteBackLink:"footnote-back-link",footnotes:"footnotes"},ji={insertFootnote:"InsertFootnote"},L={footnoteContent:"data-footnote-content",footnoteId:"data-footnote-id",footnoteIndex:"data-footnote-index",footnoteItem:"data-footnote-item",footnoteReference:"data-footnote-reference",footnoteSection:"data-footnote-section",footnoteBackLink:"data-footnote-back-link"},wn=(n,e,t=i=>!0)=>{const i=n.model.createRangeIn(e),o=[];for(const s of i.getItems())s instanceof ne&&t(s)&&o.push(s);return o},wo=(n,e,t=i=>!0)=>{const i=n.model.createRangeIn(e);for(const o of i.getItems())if(o instanceof ne&&t(o))return o;return null},d9=(n,e,t=i=>!0)=>{const i=n.editing.view.createRangeIn(e);for(const o of i.getItems())if(o instanceof ai&&t(o))return o;return null},m9=(n,e)=>{const t=n.model.document.selection.anchor,i=t&&(t.textNode||t.getShiftedBy(-1).textNode);if(!t||!i)return{remove:[],format:[]};const o=e.matchAll(/\[\^([0-9]+)\]/g);for(const s of o||[]){const r=e.indexOf(s[0]),a=r+s[0].length,l=t.parent.getChildStartOffset(i);if(l===null||t.offset!==l+a)continue;const c=r+2,u=c+s[1].length;return{remove:[[r,a]],format:[[c,u]]}}return{remove:[],format:[]}},f9=(n,e,t)=>{const i=e.commands.get(ji.insertFootnote);if(!i||!i.isEnabled)return;const o=[...n[0].getItems()][0];if(!(o instanceof Lt||o instanceof Ce))return!1;const s=o.data.match(/[0-9]+/);if(!s)return!1;const r=parseInt(s[0]),a=wo(e,t,c=>c.is("element",U.footnoteSection));if(!a){if(r!==1)return!1;e.execute(ji.insertFootnote);return}const l=wn(e,a,c=>c.is("element",U.footnoteItem)).length;if(r===l+1){e.execute(ji.insertFootnote);return}else if(r>=1&&r<=l){e.execute(ji.insertFootnote,{footnoteIndex:r});return}return!1},g9=(n,e)=>{if(n.plugins.has("Autoformat")){const t=n.plugins.get("Autoformat");mn(n,t,i=>m9(n,i),(i,o)=>f9(o,n,e))}},p9=n=>{const e=n.conversion;e.for("downcast").attributeToAttribute({model:L.footnoteId,view:L.footnoteId}),e.for("downcast").attributeToAttribute({model:L.footnoteIndex,view:L.footnoteIndex}),e.for("upcast").elementToElement({view:{attributes:{[L.footnoteSection]:!0}},model:U.footnoteSection,converterPriority:"high"}),e.for("dataDowncast").elementToElement({model:U.footnoteSection,view:{name:"ol",attributes:{[L.footnoteSection]:"",role:"doc-endnotes"},classes:[Wi.footnoteSection,Wi.footnotes]}}),e.for("editingDowncast").elementToElement({model:U.footnoteSection,view:(t,i)=>{const o=i.writer,s=o.createContainerElement("div",{[L.footnoteSection]:"",role:"doc-endnotes list",class:Wi.footnoteSection});return gt(s,o,{label:"footnote widget"})}}),e.for("upcast").elementToElement({view:{attributes:{[L.footnoteContent]:!0}},model:(t,i)=>i.writer.createElement(U.footnoteContent)}),e.for("dataDowncast").elementToElement({model:U.footnoteContent,view:{name:"div",attributes:{[L.footnoteContent]:""},classes:[Wi.footnoteContent]}}),e.for("editingDowncast").elementToElement({model:U.footnoteContent,view:(t,i)=>{const o=i.writer,s=o.createEditableElement("div",{[L.footnoteContent]:"",class:Wi.footnoteContent});return wa(s,o)}}),e.for("upcast").elementToElement({view:{attributes:{[L.footnoteItem]:!0}},model:(t,i)=>{const o=i.writer,s=t.getAttribute(L.footnoteId),r=t.getAttribute(L.footnoteIndex);return s===void 0||r===void 0?null:o.createElement(U.footnoteItem,{[L.footnoteIndex]:r,[L.footnoteId]:s})},converterPriority:"high"}),e.for("dataDowncast").elementToElement({model:U.footnoteItem,view:ag}),e.for("editingDowncast").elementToElement({model:U.footnoteItem,view:ag}),e.for("upcast").elementToElement({view:{attributes:{[L.footnoteReference]:!0}},model:(t,i)=>{const o=i.writer,s=t.getAttribute(L.footnoteIndex),r=t.getAttribute(L.footnoteId);return s===void 0||r===void 0?null:o.createElement(U.footnoteReference,{[L.footnoteIndex]:s,[L.footnoteId]:r})}}),e.for("editingDowncast").elementToElement({model:U.footnoteReference,view:(t,i)=>{const o=i.writer,s=rg(t,i);return gt(s,o)}}),e.for("dataDowncast").elementToElement({model:U.footnoteReference,view:rg}),e.for("editingDowncast").add(t=>{t.on(`attribute:${L.footnoteIndex}:${U.footnoteReference}`,(i,o,s)=>w9(o,s,n),{priority:"high"})}),e.for("upcast").elementToElement({view:{attributes:{[L.footnoteBackLink]:!0}},model:(t,i)=>{const o=i.writer,s=t.getAttribute(L.footnoteId);return s===void 0?null:o.createElement(U.footnoteBackLink,{[L.footnoteId]:s})}}),e.for("dataDowncast").elementToElement({model:U.footnoteBackLink,view:sg}),e.for("editingDowncast").elementToElement({model:U.footnoteBackLink,view:sg})};function sg(n,e){const t=e.writer,i=`${n.getAttribute(L.footnoteId)}`;if(i===void 0)throw new Error("Footnote return link has no provided Id.");const o=t.createContainerElement("span",{class:Wi.footnoteBackLink,[L.footnoteBackLink]:"",[L.footnoteId]:i}),s=t.createContainerElement("sup"),r=t.createContainerElement("strong"),a=t.createContainerElement("a",{href:`#fnref${i}`}),l=t.createText("^");return t.insert(t.createPositionAt(a,0),l),t.insert(t.createPositionAt(r,0),a),t.insert(t.createPositionAt(s,0),r),t.insert(t.createPositionAt(o,0),s),o}function rg(n,e){const t=e.writer,i=`${n.getAttribute(L.footnoteIndex)}`,o=`${n.getAttribute(L.footnoteId)}`;if(i==="undefined")throw new Error("Footnote reference has no provided index.");if(o==="undefined")throw new Error("Footnote reference has no provided id.");const s=t.createContainerElement("span",{class:Wi.footnoteReference,[L.footnoteReference]:"",[L.footnoteIndex]:i,[L.footnoteId]:o,role:"doc-noteref",id:`fnref${o}`}),r=t.createText(`[${i}]`),a=t.createContainerElement("a",{href:`#fn${o}`}),l=t.createContainerElement("sup");return t.insert(t.createPositionAt(a,0),r),t.insert(t.createPositionAt(l,0),a),t.insert(t.createPositionAt(s,0),l),s}function ag(n,e){const t=e.writer,i=n.getAttribute(L.footnoteIndex),o=n.getAttribute(L.footnoteId);if(!i)throw new Error("Footnote item has no provided index.");if(!o)throw new Error("Footnote item has no provided id.");return t.createContainerElement("li",{class:Wi.footnoteItem,[L.footnoteItem]:"",[L.footnoteIndex]:`${i}`,[L.footnoteId]:`${o}`,role:"doc-endnote",id:`fn${o}`})}function w9(n,e,t){const{item:i,attributeNewValue:o}=n;if(!(i instanceof ne)||!e.consumable.consume(i,`attribute:${L.footnoteIndex}:${U.footnoteReference}`))return;const s=e.mapper.toViewElement(i);if(!s)return;const r=e.writer,a=d9(t,s,u=>u.name==="a"),l=a?.getChild(0);if(!l||!a){r.remove(s);return}r.remove(l);const c=r.createText(`[${o}]`);r.insert(r.createPositionAt(a,0),c),r.setAttribute("href",`#fn${i.getAttribute(L.footnoteId)}`,a),r.setAttribute(L.footnoteIndex,o,s)}const b9=n=>{n.register(U.footnoteSection,{isObject:!0,allowWhere:"$block",allowIn:"$root",allowChildren:U.footnoteItem,allowAttributes:[L.footnoteSection]}),n.register(U.footnoteItem,{isBlock:!0,isObject:!0,allowContentOf:"$root",allowAttributes:[L.footnoteSection,L.footnoteId,L.footnoteIndex]}),n.register(U.footnoteContent,{allowIn:U.footnoteItem,allowContentOf:"$root",allowAttributes:[L.footnoteSection]}),n.register(U.footnoteReference,{allowWhere:"$text",isInline:!0,isObject:!0,allowAttributes:[L.footnoteReference,L.footnoteId,L.footnoteIndex]}),n.register(U.footnoteBackLink,{allowIn:U.footnoteItem,isInline:!0,isSelectable:!1,allowAttributes:[L.footnoteBackLink,L.footnoteId]}),n.addChildCheck((e,t)=>{if(e.endsWith(U.footnoteContent)&&t.name===U.footnoteSection||e.endsWith(U.footnoteContent)&&t.name==="listItem")return!1})};class _9 extends O{execute({footnoteIndex:e}={footnoteIndex:0}){this.editor.model.enqueueChange(t=>{const i=this.editor.model.document,o=i.getRoot();if(!o)return;const s=this._getFootnoteSection(t,o);let r,a;if(e===0)r=`${s.maxOffset+1}`,a=Math.random().toString(36).slice(2);else{r=`${e}`;const f=wo(this.editor,s,g=>g.is("element",U.footnoteItem)&&g.getAttribute(L.footnoteIndex)===r);f&&(a=f.getAttribute(L.footnoteId))}if(!a||!r)return;t.setSelection(i.selection.getLastPosition());const l=t.createElement(U.footnoteReference,{[L.footnoteId]:a,[L.footnoteIndex]:r});if(this.editor.model.insertContent(l),t.setSelection(l,"after"),e!==0)return;const c=t.createElement(U.footnoteContent),u=t.createElement(U.footnoteItem,{[L.footnoteId]:a,[L.footnoteIndex]:r}),d=t.createElement(U.footnoteBackLink,{[L.footnoteId]:a}),m=t.createElement("paragraph");t.append(m,c),t.append(c,u),t.insert(d,u,0),this.editor.model.insertContent(u,t.createPositionAt(s,s.maxOffset))})}refresh(){const e=this.editor.model,t=e.document.selection.getLastPosition(),i=t&&e.schema.findAllowedParent(t,U.footnoteReference);this.isEnabled=i!==null}_getFootnoteSection(e,t){const i=wo(this.editor,t,s=>s.is("element",U.footnoteSection));if(i)return i;const o=e.createElement(U.footnoteSection);return this.editor.model.insertContent(o,e.createPositionAt(t,t.maxOffset)),o}}class v9 extends w{static get pluginName(){return"FootnotesEditing"}static get requires(){return[Vt,yu]}get rootElement(){const e=this.editor.model.document.getRoot();if(!e)throw new Error("Document has no rootElement element.");return e}init(){b9(this.editor.model.schema),p9(this.editor),this.editor.commands.add(ji.insertFootnote,new _9(this.editor)),g9(this.editor,this.rootElement),this.editor.model.document.on("change:data",(e,t)=>{const i=[...e.source.differ.getChanges()];i.some(o=>o.type==="insert"&&o.name===U.footnoteReference)&&this._orderFootnotes(t),i.forEach(o=>{if(o.type==="attribute"&&o.attributeKey===L.footnoteIndex){const{attributeNewValue:s}=o,r=[...o.range.getItems()].find(l=>l.is("element",U.footnoteItem)),a=r instanceof ne&&r.getAttribute(L.footnoteId);if(!a)return;this._updateReferenceIndices(t,`${a}`,s)}})},{priority:"high"}),this._handleDelete(),this.editor.editing.mapper.on("viewToModelPosition",Cu(this.editor.model,e=>e.hasAttribute(L.footnoteReference)))}_handleDelete(){const e=this.editor.editing.view.document,t=this.editor;this.listenTo(e,"delete",(i,o)=>{const s=t.model.document,r=s.selection.getSelectedElement(),a=s.selection.getLastPosition(),l=s.selection.getFirstPosition();if(!a||!l)throw new Error("Selection must have at least one range to perform delete operation.");this.editor.model.change(c=>{r&&r.is("element",U.footnoteSection)&&this._removeReferences(c);const u=r&&r.is("element",U.footnoteItem),d=u?r:a.findAncestor(U.footnoteItem);if(!d)return;const m=a.findAncestor("paragraph"),f=l.findAncestor("paragraph"),g=a.findAncestor(U.footnoteContent);if(!g||!f||!m)return;const p=f.maxOffset===0&&g.childCount===1;(u||p)&&(this._removeFootnote(c,d),o.preventDefault(),i.stop())})},{priority:"high"})}_clearContents(e,t){const i=e.createRangeIn(t);e.appendElement("paragraph",t),e.remove(i)}_removeFootnote(e,t){if(!this.editor)return;const i=t.findAncestor(U.footnoteSection);if(!i){e.remove(t);return}const o=i.getChildIndex(t),s=t.getAttribute(L.footnoteId);if(this._removeReferences(e,`${s}`),e.remove(t),i.childCount===0)e.remove(i),this._removeReferences(e);else{if(o==null)throw new Error("Index is nullish");const a=o===0?i.getChild(o):i.getChild((o??0)-1);if(!(a instanceof ne))return;const l=wn(this.editor,a,c=>c.is("element","paragraph")).pop();l&&e.setSelection(l,"end")}if(o==null)throw new Error("Index is nullish");const r=[...i.getChildren()].slice(o??0);for(const[a,l]of r.entries())e.setAttribute(L.footnoteIndex,`${o??0+a+1}`,l)}_removeReferences(e,t=void 0){const i=[];if(!this.rootElement)throw new Error("Document has no root element.");wn(this.editor,this.rootElement,o=>o.is("element",U.footnoteReference)).forEach(o=>{const s=o.getAttribute(L.footnoteId);(!t||s===t)&&i.push(o)});for(const o of i)e.remove(o)}_updateReferenceIndices(e,t,i){const o=wn(this.editor,this.rootElement,s=>s.is("element",U.footnoteReference)&&s.getAttribute(L.footnoteId)===t);this.editor.model.enqueueChange(e,s=>{o.forEach(r=>{s.setAttribute(L.footnoteIndex,i,r)})})}_orderFootnotes(e){const t=wn(this.editor,this.rootElement,o=>o.is("element",U.footnoteReference)),i=[...new Set(t.map(o=>o.getAttribute(L.footnoteId)))].map(o=>wo(this.editor,this.rootElement,s=>s.is("element",U.footnoteItem)&&s.getAttribute(L.footnoteId)===o));this.editor.model.enqueueChange(e,o=>{const s=wo(this.editor,this.rootElement,r=>r.is("element",U.footnoteSection));if(s){for(const r of i.reverse())r&&o.move(o.createRangeOn(r),s,0);for(const r of wn(this.editor,s,a=>a.is("element",U.footnoteItem))){const a=`${(s?.getChildIndex(r)??-1)+1}`;r&&o.setAttribute(L.footnoteIndex,a,r);const l=r.getAttribute(L.footnoteId);l&&this._updateReferenceIndices(e,`${l}`,`${a}`)}}})}}class y9 extends w{static get pluginName(){return"FootnoteUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add(h9,i=>{const o=Ee(i,Xi),s=o.buttonView,r=e.commands.get(ji.insertFootnote);if(!r)throw new Error("Command not found.");return s.set({label:t("Footnote"),icon:u9,tooltip:!0,isToggleable:!0}),s.bind("isOn").to(r,"value",a=>!!a),s.on("execute",()=>{e.execute(ji.insertFootnote,{footnoteIndex:0}),e.editing.view.focus()}),o.class="ck-code-block-dropdown",o.bind("isEnabled").to(r),o.on("change:isOpen",(a,l,c)=>{var u,d,m;if((u=o?.listView)==null||u.items.clear(),c)wt(o,this.getDropdownItemsDefinitions());else{(d=o?.listView)==null||d.items.clear();const f=(m=o?.listView)==null?void 0:m.element;f&&f.parentNode&&f.parentNode.removeChild(f)}}),this.listenTo(o,"execute",a=>{e.execute(ji.insertFootnote,{footnoteIndex:a.source.commandParam}),e.editing.view.focus()}),o})}getDropdownItemsDefinitions(){const e=new _e,t={type:"button",model:new et({commandParam:0,label:"New footnote",withText:!0})};e.add(t);const i=this.editor.model.document.getRoot();if(!i)throw new Error("Document has no root element.");return wo(this.editor,i,o=>o.is("element",U.footnoteSection))&&wn(this.editor,i,o=>o.is("element",U.footnoteItem)).forEach(o=>{const s=o.getAttribute(L.footnoteIndex),r={type:"button",model:new et({commandParam:s,label:`Insert footnote ${s}`,withText:!0})};e.add(r)}),e}}class k9 extends w{static get pluginName(){return"Footnotes"}static get requires(){return[v9,y9]}}var C9=` +`;function A9(n){const e=n.getSelectedElement();return e&&(e.is("element","mathtex-inline")||e.is("element","mathtex-display"))?e:null}function V0(n){return n!=null&&typeof n=="object"&&"version"in n&&typeof n.version=="string"&&n.version.split(".").length===3&&n.version.split(".")[0]==="3"}function R0(n){return n!=null&&typeof n=="object"&&"Hub"in n}function O0(n){return n.match(/^(\\\[.*?\\\]|\\\(.*?\\\))$/)}function x9(n){var e;return(e=n.match(/(\\\[|\\\]|\\\(|\\\))/g))==null?void 0:e.length}function Gu(n){n=n.trim();const e=n.includes("\\(")&&n.includes("\\)"),t=n.includes("\\[")&&n.includes("\\]");return(e||t)&&(n=n.substring(2,n.length-2).trim()),{equation:n,display:t}}async function Ku(n,e,t="katex",i,o=!1,s=!1,r="",a=[],l={}){if(t=="mathjax")V0(MathJax)?Pl(e,s,r,a,c=>{E9(n,c,o,()=>{s&&(c.style.visibility="visible")})}):Pl(e,s,r,a,c=>{window.setTimeout(()=>{S9(n,c,o),s&&R0(MathJax)&&MathJax.Hub.Queue(()=>{c.style.visibility="visible"})})});else if(t==="katex"&&window.katex!==void 0)Pl(e,s,r,a,c=>{katex&&katex.render(n,c,{throwOnError:!1,displayMode:o,...l}),s&&(c.style.visibility="visible")});else if(typeof t=="function")t(n,e,o);else if(i!=null)try{window.CKEDITOR_MATH_LAZY_LOAD??(window.CKEDITOR_MATH_LAZY_LOAD=i()),e.innerHTML=n,await window.CKEDITOR_MATH_LAZY_LOAD,await Ku(n,e,t,void 0,o,s,r,a,l)}catch(c){e.innerHTML=n,console.error(`math-tex-typesetting-lazy-load-failed: Lazy load failed: ${String(c)}`)}else e.innerHTML=n,console.warn(`math-tex-typesetting-missing: Missing the mathematical typesetting engine (${String(t)}) for tex.`)}function T9(n){const e=n.editing.view,t=Ne.defaultPositions,i=e.document.selection.getSelectedElement();if(i)return{target:e.domConverter.viewToDom(i),positions:[t.southArrowNorth,t.southArrowNorthWest,t.southArrowNorthEast]};{const o=e.document.selection.getFirstRange();if(!o)throw new b("math-missing-range");return{target:e.domConverter.viewRangeToDom(o),positions:[t.southArrowNorth,t.southArrowNorthWest,t.southArrowNorthEast]}}}function Pl(n,e,t,i,o){e?P9(n,t,i,s=>{o(s)}):o(n)}function E9(n,e,t,i){let o;V0(MathJax)&&(MathJax.tex2chtmlPromise?o=MathJax.tex2chtmlPromise:MathJax.tex2svgPromise&&(o=MathJax.tex2svgPromise),o?.(n,{display:t}).then(s=>{e.firstChild&&e.removeChild(e.firstChild),e.appendChild(s),i()}))}function S9(n,e,t){R0(MathJax)&&(t?e.innerHTML="\\["+n+"\\]":e.innerHTML="\\("+n+"\\)",MathJax.Hub.Queue(["Typeset",MathJax.Hub,e]))}function P9(n,e,t,i){const o=I9(n,e,t);i(o)}function I9(n,e,t){let i=document.getElementById(e);return i||(i=document.createElement("div"),i.setAttribute("id",e),i.classList.add(...t),i.style.visibility="hidden",n.appendChild(i)),i}class Yr extends O{constructor(){super(...arguments),h(this,"value",null),h(this,"display",!1)}execute(e,t,i="script",o){const s=this.editor.model,r=s.document.selection.getSelectedElement();s.change(a=>{let l;if(r&&(r.is("element","mathtex-inline")||r.is("element","mathtex-display"))){const c=r.getAttribute("type"),u=o?i:c||i;l=a.createElement(t?"mathtex-display":"mathtex-inline",{equation:e,type:u,display:t})}else l=a.createElement(t?"mathtex-display":"mathtex-inline",{equation:e,type:i,display:t});s.insertContent(l)})}refresh(){const e=this.editor.model.document.selection,t=e.getSelectedElement();this.isEnabled=t===null||t.is("element","mathtex-inline")||t.is("element","mathtex-display");const i=A9(e),o=i?.getAttribute("equation");this.value=typeof o=="string"?o:null;const s=i?.getAttribute("display");this.display=typeof s=="boolean"?s:!1}}class B0 extends w{static get requires(){return[Vt]}static get pluginName(){return"MathEditing"}constructor(e){super(e),e.config.define("math",{engine:"mathjax",outputType:"script",className:"math-tex",forceOutputType:!1,enablePreview:!0,previewClassName:[],popupClassName:[],katexRenderOptions:{}})}init(){const e=this.editor,t=e.data.processor,i=t.toView.bind(t),o=/([\s\S]*?)<\/span>/g;t.toView=s=>{const r=s.replace(o,(a,l)=>`${l.replace(/\n/g,"___MATH_TEX_LF___")}`);return i(r)},e.commands.add("math",new Yr(e)),this._defineSchema(),this._defineConverters(),e.editing.mapper.on("viewToModelPosition",Cu(e.model,s=>s.hasClass("math")))}_defineSchema(){const e=this.editor.model.schema;e.register("mathtex-inline",{allowWhere:"$text",isInline:!0,isObject:!0,allowAttributes:["equation","type","display"]}),e.register("mathtex-display",{inheritAllFrom:"$blockObject",allowAttributes:["equation","type","display"]})}_defineConverters(){const e=this.editor.conversion,t=this.editor.config.get("math");e.for("upcast").elementToElement({view:{name:"script",attributes:{type:"math/tex"}},model:(s,{writer:r})=>{const a=s.getChild(0);if(a!=null&&a.is("$text")){const l=a.data.trim();return r.createElement("mathtex-inline",{equation:l,type:t.forceOutputType?t.outputType:"script",display:!1})}return null}}).elementToElement({view:{name:"script",attributes:{type:"math/tex; mode=display"}},model:(s,{writer:r})=>{const a=s.getChild(0);if(a!=null&&a.is("$text")){const l=a.data.trim();return r.createElement("mathtex-display",{equation:l,type:t.forceOutputType?t.outputType:"script",display:!0})}return null}}).elementToElement({view:{name:"span",classes:[t.className]},model:(s,{writer:r})=>{const a=s.getChild(0);if(a!=null&&a.is("$text")){const l=a.data.trim().replace(/___MATH_TEX_LF___/g,` +`),c=Object.assign(Gu(l),{type:t.forceOutputType?t.outputType:"span"});return r.createElement(c.display?"mathtex-display":"mathtex-inline",c)}return null}}).elementToElement({view:{name:"span",classes:["ql-formula"]},model:(s,{writer:r})=>{const a=s.getAttribute("data-value");if(a==null)throw new b("missing-equation",{pluginName:"math"});return r.createElement("mathtex-inline",{equation:a.trim(),type:t.forceOutputType?t.outputType:"script",display:!1})}}),e.for("editingDowncast").elementToElement({model:"mathtex-inline",view:(s,{writer:r})=>{const a=i(s,r);return gt(a,r)}}).elementToElement({model:"mathtex-display",view:(s,{writer:r})=>{const a=i(s,r);return gt(a,r)}}),e.for("dataDowncast").elementToElement({model:"mathtex-inline",view:o}).elementToElement({model:"mathtex-display",view:o});function i(s,r){const a=String(s.getAttribute("equation")),l=!!s.getAttribute("display"),c="user-select: none; "+(l?"":"display: inline-block;"),u="ck-math-tex "+(l?"ck-math-tex-display":"ck-math-tex-inline"),d=r.createContainerElement(l?"div":"span",{style:c,class:u}),m=r.createUIElement("div",null,function(f){const g=this.toDomElement(f);return Ku(a,g,t.engine,t.lazyLoad,l,!1,`math-editing-${ze()}`,t.previewClassName,t.katexRenderOptions),g});return r.insert(r.createPositionAt(d,0),m),d}function o(s,{writer:r}){const a=s.getAttribute("equation");if(typeof a!="string")throw new b("missing-equation",{pluginName:"math"});const l=s.getAttribute("type"),c=s.getAttribute("display");if(l==="span"){const u=r.createContainerElement("span",{class:t.className});return c?r.insert(r.createPositionAt(u,0),r.createText("\\["+a+"\\]")):r.insert(r.createPositionAt(u,0),r.createText("\\("+a+"\\)")),u}else{const u=r.createContainerElement("script",{type:c?"math/tex; mode=display":"math/tex"});return r.insert(r.createPositionAt(u,0),r.createText(a)),u}}}}class V9 extends A{constructor(e,t,i,o,s,r){super(i),h(this,"previewUid"),h(this,"previewClassName"),h(this,"katexRenderOptions"),h(this,"engine"),h(this,"lazyLoad"),this.engine=e,this.lazyLoad=t,this.previewUid=o,this.katexRenderOptions=r,this.previewClassName=s,this.set("value",""),this.set("display",!1),this.on("change",()=>{this.isRendered&&this.updateMath()}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-math-preview","ck-reset_all-excluded"]}})}updateMath(){this.element&&Ku(this.value,this.element,this.engine,this.lazyLoad,this.display,!0,this.previewUid,this.previewClassName,this.katexRenderOptions)}render(){super.render(),this.updateMath()}}class R9 extends Te{constructor(e){super(e,Ix),h(this,"value",null),h(this,"isReadOnly",!1)}}class O9 extends A{constructor(e,t,i,o=!1,s,r,a,l){super(e),h(this,"saveButtonView"),h(this,"mathInputView"),h(this,"displayButtonView"),h(this,"cancelButtonView"),h(this,"previewEnabled"),h(this,"previewLabel"),h(this,"mathView"),h(this,"locale",new lp),h(this,"lazyLoad"),h(this,"focusTracker",new ee),h(this,"keystrokes",new te),h(this,"_focusables",new Ie),h(this,"_focusCycler",new Ae({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}));const c=e.t;this.saveButtonView=this._createButton(c("Save"),Es,"ck-button-save",null),this.saveButtonView.type="submit",this.mathInputView=this._createMathInput(),this.displayButtonView=this._createDisplayButton(),this.cancelButtonView=this._createButton(c("Cancel"),_o,"ck-button-cancel","cancel"),this.previewEnabled=o;let u=[];this.previewEnabled?(this.previewLabel=new xt(e),this.previewLabel.text=c("Equation preview"),this.mathView=new V9(t,i,e,s,r,l),this.mathView.bind("display").to(this.displayButtonView,"isOn"),u=[this.mathInputView,this.displayButtonView,this.previewLabel,this.mathView]):u=[this.mathInputView,this.displayButtonView],this.setTemplate({tag:"form",attributes:{class:["ck","ck-math-form",...a],tabindex:"-1",spellcheck:"false"},children:[{tag:"div",attributes:{class:["ck-math-view"]},children:u},this.saveButtonView,this.cancelButtonView]})}render(){super.render(),Ri({view:this}),[this.mathInputView,this.displayButtonView,this.saveButtonView,this.cancelButtonView].forEach(e=>{e.element&&(this._focusables.add(e),this.focusTracker.add(e.element))}),this.element&&this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}get equation(){var e;return((e=this.mathInputView.fieldView.element)==null?void 0:e.value)??""}set equation(e){this.mathInputView.fieldView.element&&(this.mathInputView.fieldView.element.value=e),this.previewEnabled&&this.mathView&&(this.mathView.value=e)}_createMathInput(){const e=this.locale.t,t=new R9(this.locale),i=t.fieldView;t.infoText=e("Insert equation in TeX format.");const o=()=>{if(i.element!=null){let s=i.element.value.trim();if(O0(s)){const r=Gu(s);i.element.value=r.equation,s=r.equation,this.displayButtonView.isOn=r.display}this.previewEnabled&&this.mathView&&(this.mathView.value=s),this.saveButtonView.isEnabled=!!s}};return i.on("render",o),i.on("input",o),t}_createButton(e,t,i,o){const s=new P(this.locale);return s.set({label:e,icon:t,tooltip:!0}),s.extendTemplate({attributes:{class:i}}),o&&s.delegate("execute").to(this,o),s}_createDisplayButton(){const e=this.locale.t,t=new Ji(this.locale);return t.set({label:e("Display mode"),withText:!0}),t.extendTemplate({attributes:{class:"ck-button-display-toggle"}}),t.on("execute",()=>{t.isOn=!t.isOn,this.previewEnabled&&this.mathView&&(this.mathView.display=t.isOn)}),t}}const lg="Ctrl+M";class M0 extends w{constructor(){super(...arguments),h(this,"_previewUid",`math-preview-${ze()}`),h(this,"_balloon",this.editor.plugins.get(Ue)),h(this,"formView",null)}static get requires(){return[Ue,B0]}static get pluginName(){return"MathUI"}init(){this.editor.editing.view.addObserver(ew),this._createToolbarMathButton(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}destroy(){var e,t;super.destroy(),(e=this.formView)==null||e.destroy();const i=document.getElementById(this._previewUid);i&&((t=i.parentNode)==null||t.removeChild(i))}_showUI(){const e=this.editor.commands.get("math");e!=null&&e.isEnabled&&(this._addFormView(),this._balloon.showStack("main"),requestAnimationFrame(()=>{var t,i;(i=(t=this.formView)==null?void 0:t.mathInputView.fieldView.element)==null||i.focus()}))}_createFormView(){const e=this.editor,t=e.commands.get("math");if(!(t instanceof Yr))throw new b("math-command");const i=e.config.get("math"),o=new O9(e.locale,i.engine,i.lazyLoad,i.enablePreview,this._previewUid,i.previewClassName,i.popupClassName,i.katexRenderOptions);return o.mathInputView.bind("value").to(t,"value"),o.displayButtonView.bind("isOn").to(t,"display"),o.mathInputView.bind("isReadOnly").to(t,"isEnabled",s=>!s),o.saveButtonView.bind("isEnabled").to(t),o.displayButtonView.bind("isEnabled").to(t),this.listenTo(o,"submit",()=>{e.execute("math",o.equation,o.displayButtonView.isOn,i.outputType,i.forceOutputType),this._closeFormView()}),this.listenTo(o,"cancel",()=>{this._closeFormView()}),o.keystrokes.set("esc",(s,r)=>{this._closeFormView(),r()}),o.keystrokes.set("enter",(s,r)=>{s.shiftKey||(o.fire("submit"),r())}),o.mathInputView.fieldView.once("render",()=>{const s=o.mathInputView.fieldView.element;s&&Object.assign(s.style,{resize:"both",height:"100px",width:"400px",minWidth:"100%"})}),o}_addFormView(){var e,t;if(this._isFormInPanel)return;const i=this.editor,o=i.commands.get("math");if(!(o instanceof Yr))throw new b("plugin-load",{pluginName:"math"});this.formView!=null&&(this._balloon.add({view:this.formView,position:T9(i)}),this._balloon.visibleView===this.formView&&((e=this.formView.mathInputView.fieldView.element)==null||e.select()),document.getElementById(this._previewUid)&&this.formView.previewEnabled&&((t=this.formView.mathView)==null||t.updateMath()),this.formView.equation=o.value??"",this.formView.displayButtonView.isOn=o.display||!1)}_hideUI(){if(!this._isFormInPanel)return;const e=this.editor;this.stopListening(e.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e.editing.view.focus(),this._removeFormView()}_closeFormView(){const e=this.editor.commands.get("math");e?.value!=null?this._removeFormView():this._hideUI()}_removeFormView(){if(this._isFormInPanel&&this.formView){this.formView.saveButtonView.focus(),this._balloon.remove(this.formView);const e=document.getElementById(this._previewUid);e&&(e.style.visibility="hidden"),this.editor.editing.view.focus()}}_createToolbarMathButton(){const e=this.editor,t=e.commands.get("math");if(!t)throw new b("plugin-load",{pluginName:"math"});const i=e.t;e.keystrokes.set(lg,(o,s)=>{s(),t.isEnabled&&this._showUI()}),this.editor.ui.componentFactory.add("math",o=>{const s=new P(o);return s.isEnabled=!0,s.label=i("Insert math"),s.icon=C9,s.keystroke=lg,s.tooltip=!0,s.isToggleable=!0,s.bind("isEnabled").to(t,"isEnabled"),this.listenTo(s,"execute",()=>{this._showUI()}),s})}_enableUserBalloonInteractions(){const e=this.editor,t=this.editor.editing.view.document;if(this.listenTo(t,"click",()=>{const i=e.commands.get("math");i!=null&&i.isEnabled&&i.value&&this._showUI()}),e.keystrokes.set("Esc",(i,o)=>{this._isUIVisible&&(this._hideUI(),o())}),this.formView)$t({emitter:this.formView,activator:()=>!!this._isFormInPanel,contextElements:this._balloon.view.element?[this._balloon.view.element]:[],callback:()=>{this._hideUI()}});else throw new Error("missing form view")}get _isUIVisible(){return this._balloon.visibleView==this.formView}get _isFormInPanel(){return this.formView&&this._balloon.hasView(this.formView)}}class B9 extends w{constructor(e){super(e),h(this,"_timeoutId"),h(this,"_positionToInsert"),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[_s,Ub]}static get pluginName(){return"AutoMath"}init(){var e;const t=this.editor,i=t.model.document;this.listenTo(t.plugins.get(_s),"inputTransformation",()=>{const o=i.selection.getFirstRange();if(!o)return;const s=Me.fromPosition(o.start);s.stickiness="toPrevious";const r=Me.fromPosition(o.end);r.stickiness="toNext",i.once("change:data",()=>{this._mathBetweenPositions(s,r),s.detach(),r.detach()},{priority:"high"})}),(e=t.commands.get("undo"))==null||e.on("execute",()=>{var o;this._timeoutId&&(window.clearTimeout(this._timeoutId),(o=this._positionToInsert)==null||o.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_mathBetweenPositions(e,t){const i=this.editor,o=this.editor.config.get("math"),s=new ht(e,t),r=s.getWalker({ignoreElementEnd:!0});let a="";for(const c of r)c.item.is("$textProxy")&&(a+=c.item.data);if(a=a.trim(),!O0(a)||x9(a)!==2)return;const l=i.commands.get("math");l!=null&&l.isEnabled&&(this._positionToInsert=Me.fromPosition(e),this._timeoutId=window.setTimeout(()=>{i.model.change(c=>{var u,d;this._timeoutId=null,c.remove(s);let m;((u=this._positionToInsert)==null?void 0:u.root.rootName)!=="$graveyard"&&(m=this._positionToInsert),i.model.change(f=>{const g=Object.assign(Gu(a),{type:o?.outputType}),p=f.createElement(g.display?"mathtex-display":"mathtex-inline",g);i.model.insertContent(p,m),f.setSelection(p,"on")}),(d=this._positionToInsert)==null||d.detach(),this._positionToInsert=null})},100))}}let L0=class extends w{static get requires(){return[B0,M0,B9,Vt]}static get pluginName(){return"Math"}};class M9 extends w{static get requires(){return[L0,"Autoformat"]}init(){const e=this.editor;e.plugins.has("Math")||J("autoformat-math-feature-missing",e)}afterInit(){const e=this.editor,t=e.commands.get("math");if(t instanceof Yr){const i=()=>{if(!t.isEnabled)return!1;t.display=!0,window.setTimeout(()=>{const o=e.plugins.get("MathUI");o instanceof M0&&o._showUI()},50)};Wt(e,this,/^\$\$$/,i),Wt(e,this,/^\\\[$/,i)}}static get pluginName(){return"AutoformatMath"}}class F0 extends w{static get requires(){return[Tu]}init(){const e=this.editor,t=e.ui.componentFactory,i=this._getNormalizedAndLocalizedLanguageDefinitions(e),o=this._getLanguageListItemDefinitions(i),s=e.commands.get("codeBlock");t.add("codeBlockDropdown",r=>{const a=Ee(this.editor.locale,fu);return a.buttonView.set({withText:!0}),a.bind("isEnabled").to(s,"value",l=>!!l),a.buttonView.bind("label").to(s,"value",l=>{const c=i.find(u=>u.language===l);return c?.label}),a.on("execute",l=>{e.execute("codeBlock",{language:l.source._codeBlockLanguage,forceValue:!0}),e.editing.view.focus()}),wt(a,o),a})}_getLanguageListItemDefinitions(e){const t=this.editor.commands.get("codeBlock"),i=new _e;for(const o of e){const s={type:"button",model:new et({_codeBlockLanguage:o.language,label:o.label,role:"menuitemradio",withText:!0})};s.model.bind("isOn").to(t,"value",r=>r===s.model._codeBlockLanguage),i.add(s)}return i}_getNormalizedAndLocalizedLanguageDefinitions(e){const t=e.config.get("codeBlock.languages");for(const i of t)i.class===void 0&&(i.class=`language-${i.language}`);return t}}const L9='';class F9 extends w{init(){const e=this.editor;e.commands.add("copyToClipboard",new N9(this.editor)),e.ui.componentFactory.add("copyToClipboard",t=>{const i=new P(t);return i.set({tooltip:"Copy to clipboard",icon:L9}),this.listenTo(i,"execute",()=>{e.execute("copyToClipboard")}),i})}}class N9 extends O{constructor(){super(...arguments),h(this,"executeCallback")}execute(...e){var t,i;const o=this.editor.model.document.selection;this.executeCallback||(this.executeCallback=(t=this.editor.config.get("clipboard"))==null?void 0:t.copy);const s=(i=o.getFirstPosition())==null?void 0:i.findAncestor("codeBlock");if(!s){console.warn("Unable to find code block element to copy from.");return}const r=Array.from(s.getChildren()).map(a=>"data"in a?a.data:` +`).join("");r?this.executeCallback?this.executeCallback(r):navigator.clipboard.writeText(r).then(()=>{console.log("Code block copied to clipboard")}).catch(a=>{console.error("Failed to copy code block",a)}):console.warn("No code block selected or found.")}}class D9 extends w{static get requires(){return[ci,Tu,F0,F9]}afterInit(){const e=this.editor;e.plugins.get(ci).register("codeblock",{items:["codeBlockDropdown","|","copyToClipboard"],balloonClassName:"ck-toolbar-container codeblock-language-list",getRelatedElement(t){const i=t.getFirstPosition();if(!i)return null;let o=i.parent;for(;o;){if(o.is("element","pre"))return o;o=o.parent}return null}}),e.plugins.has("BalloonToolbar")&&e.listenTo(e.plugins.get("BalloonToolbar"),"show",t=>{const i=e.model.document.selection.getFirstPosition();i?.findAncestor("codeBlock")&&t.stop()},{priority:"high"})}}class z9 extends w{init(){const e=this.editor;e.commands.add("moveBlockUp",new H9(e)),e.commands.add("moveBlockDown",new $9(e)),this.bindMoveBlockShortcuts(e)}bindMoveBlockShortcuts(e){e.editing.view.once("render",()=>{const t=e.editing.view.getDomRoot();if(!t)return;const i=o=>{const s={ArrowUp:"moveBlockUp",ArrowDown:"moveBlockDown"}[o.key],r=o.ctrlKey||o.metaKey,a=(r||o.altKey)&&!(r&&o.altKey);s&&a&&(o.preventDefault(),o.stopImmediatePropagation(),e.execute(s))};t.addEventListener("keydown",i,{capture:!0})})}}class N0 extends O{execute(){var e,t;const i=this.editor.model,o=i.document.selection,s=this.getSelectedBlocks(o);if(!(s.length>0&&s.every(d=>!!this.getSibling(d))))return;const r=this.offset==="before"?s:[...s].reverse(),a=s[0],l=s[s.length-1],c=((e=i.document.selection.getFirstPosition())==null?void 0:e.offset)??0,u=((t=i.document.selection.getLastPosition())==null?void 0:t.offset)??0;i.change(d=>{for(const p of r){const _=this.getSibling(p);if(_){const v=i.createRangeOn(p);d.move(v,_,this.offset)}}let m;const f=a.maxOffset??c,g=l.maxOffset??u;if(c<=f&&u<=g){const p=Math.min(c,f),_=Math.min(u,g);m=d.createRange(d.createPositionAt(a,p),d.createPositionAt(l,_))}else m=d.createRange(d.createPositionBefore(a),d.createPositionAfter(l));d.setSelection(m),this.editor.editing.view.focus(),this.scrollToSelection()})}getSelectedBlocks(e){const t=[...e.getSelectedBlocks()],i=[];if(!t.length){const o=e.getSelectedElement();if(o)return[o]}for(const o of t){let s=o;for(;s.parent&&s.parent.name!=="$root";)s=s.parent;i.push(s)}return i.filter((o,s)=>s===0||o!==i[s-1])}scrollToSelection(){requestAnimationFrame(()=>{this.editor.editing.view.scrollToTheSelection()})}}class H9 extends N0{getSibling(e){return e.previousSibling}get offset(){return"before"}}class $9 extends N0{getSibling(e){return e.nextSibling}get offset(){return"after"}}class W9 extends w{init(){var e,t;const i=this.editor,o=()=>{requestAnimationFrame(()=>{i.editing.view.scrollToTheSelection()})};(e=i.commands.get("undo"))==null||e.on("execute",o),(t=i.commands.get("redo"))==null||t.on("execute",o)}}const j9=[EO,TO,PO,IO,BO,LO,FO,NO,zO,jO,sB,rB,F0,D9,z9,W9],U9=[dB,e9,c9,k9,L0,M9],D0=[_s,Ao,Wb,Tb,pa,Ub,Su,Y1,HO,S0],z0=[...D0,aC,yu,iE,cE,yE,dE,rE,bE,gE,IE,AP,F4,H4,EI,SI,sI,pI,f1,yV,V1,qV,n7,f7,O6,II,E8,S8,pO,K8,Ai,AO,X8,BT,OI,MI,vP,TP,GT,wP,e1,t1,Tu,Wb,OP,e0,$6,K6,jS,$7,w4,zI,hR,C3,yS,...j9,...U9],q9=[...z0,yT];class G9 extends Nb{static get builtinPlugins(){return D0}}class K9 extends X3{static get builtinPlugins(){return z0}}class Z9 extends Nb{static get builtinPlugins(){return q9}}export{G9 as AttributeEditor,K9 as ClassicEditor,lw as EditorWatchdog,Z9 as PopupEditor}; diff --git a/updates/2026-09-05/deployed/emoji-ko.json b/updates/2026-09-05/deployed/emoji-ko.json new file mode 100644 index 0000000..11d866e --- /dev/null +++ b/updates/2026-09-05/deployed/emoji-ko.json @@ -0,0 +1 @@ +[{"emoji":"😀","group":0,"order":1,"tags":["미소","발랄함","스마일","얼굴","웃음","치아","행복","환호","활짝 웃는 얼굴"],"version":1,"annotation":"활짝 웃는 얼굴","shortcodes":["grinning","grinning_face"]},{"emoji":"😃","group":0,"order":2,"tags":["눈을 크게 뜨고 웃는 얼굴","미소","스마일","얼굴","예이","웃고 있는","입","입 벌리고 웃는 얼굴","좋아","치아","행복"],"version":0.6,"annotation":"눈을 크게 뜨고 웃는 얼굴","shortcodes":["grinning_face_with_big_eyes","smiley"]},{"emoji":"😄","group":0,"order":3,"tags":["눈","눈웃음 지으며 활짝 웃는 얼굴","미소","미소 짓는 눈으로 활짝 웃는 얼굴","스마일","얼굴","웃음","입","입 벌리고 웃는 눈웃음 얼굴","ㅎㅎ","행복","활짝 웃는"],"version":0.6,"annotation":"미소 짓는 눈으로 활짝 웃는 얼굴","emoticon":":D","shortcodes":["grinning_face_with_closed_eyes","smile"]},{"emoji":"😁","group":0,"order":4,"tags":["나이스","눈","눈웃음","눈웃음 짓는 웃는 얼굴","미소","미소 짓는 눈으로 웃는 얼굴","스마일","얼굴","치아","행복"],"version":0.6,"annotation":"미소 짓는 눈으로 웃는 얼굴","shortcodes":["beaming_face","grin"]},{"emoji":"😆","group":0,"order":5,"tags":["눈 감고 미소","눈 감고 웃는 얼굴","눈웃음 지으며 입 벌리고 웃는 얼굴","눈웃음 짓는 얼굴","만족","벌린","얼굴","웃음","입 벌리고 미소","ㅋㅋㅋ","ㅎㅎㅎ","하하하"],"version":0.6,"annotation":"눈웃음짓는 얼굴","emoticon":"XD","shortcodes":["laughing","lol","satisfied","squinting_face"]},{"emoji":"😅","group":0,"order":6,"tags":["긴장","낙담한","땀","땀 흘리며 웃는 얼굴","미소","벌린","스마일","스트레스","식은땀","얼굴","웃고 있지만 당황한 얼굴","웃고 있지만 당황해서 땀 흘리는 얼굴"],"version":0.6,"annotation":"땀 흘리며 웃는 얼굴","shortcodes":["grinning_face_with_sweat","sweat_smile"]},{"emoji":"🤣","group":0,"order":7,"tags":["구르기","눈물나게 웃긴","데굴데굴","바닥을 구르며 웃는 얼굴","빵 터짐","얼굴","완전 재미있는","웃음","ㅋㅋㅋ","ㅎㅎㅎ","하하","행복"],"version":3,"annotation":"바닥을 구르며 웃는 얼굴","emoticon":":'D","shortcodes":["rofl"]},{"emoji":"😂","group":0,"order":8,"tags":["기쁨의 눈물을 흘리는 얼굴","너무 웃겨서 눈물","너무 웃기는","눈물","스마일","얼굴","울면서 웃음","웃음","ㅎㅎ","하하","행복","헤헤"],"version":0.6,"annotation":"기쁨의 눈물을 흘리는 얼굴","emoticon":":')","shortcodes":["joy","lmao","tears_of_joy"]},{"emoji":"🙂","group":0,"order":9,"tags":["미소","살짝 미소 짓는 얼굴","스마일","얼굴","행복"],"version":1,"annotation":"살짝 미소 짓는 얼굴","emoticon":":)","shortcodes":["slightly_smiling_face"]},{"emoji":"🙃","group":0,"order":10,"tags":["거꾸로 된 얼굴","뒤집힘","미소","얼굴","위아래","헤헤"],"version":1,"annotation":"거꾸로 된 얼굴","shortcodes":["upside_down_face"]},{"emoji":"🫠","group":0,"order":11,"tags":["녹는","녹다","녹아 내리는 얼굴","녹아내리는","당황한","더운","뜨거운","부끄러운","비웃는","열기","하하하","핫"],"version":14,"annotation":"녹아 내리는 얼굴","shortcodes":["melt","melting_face"]},{"emoji":"😉","group":0,"order":12,"tags":["놀림","섹시","얼굴","윙크","윙크하는 얼굴","유혹"],"version":0.6,"annotation":"윙크하는 얼굴","emoticon":";)","shortcodes":["wink","winking_face"]},{"emoji":"😊","group":0,"order":13,"tags":["기쁨","눈","눈웃음","눈웃음 지으며 웃는 얼굴","만족","미소","미소 짓는 눈으로 살짝 웃는 얼굴","발그레","스마일","얼굴","웃는 얼굴"],"version":0.6,"annotation":"미소 짓는 눈으로 살짝 웃는 얼굴","emoticon":":>","shortcodes":["blush","smiling_face_with_closed_eyes"]},{"emoji":"😇","group":0,"order":14,"tags":["동화","미소","순수한","스마일","얼굴","웃는 얼굴","웃는 얼굴 천사","천사같은","천사고리가 있는 얼굴","후광이 비치는 웃는 얼굴"],"version":1,"annotation":"후광이 비치는 웃는 얼굴","emoticon":"O:)","shortcodes":["halo","innocent"]},{"emoji":"🥰","group":0,"order":15,"tags":["반한","사랑에 빠진","사랑에 빠진 얼굴","사랑하는","사랑해","스마일","하트","하트 3개와 함께 웃는 얼굴","하트와 함께 웃는 얼굴"],"version":11,"annotation":"하트와 함께 웃는 얼굴","shortcodes":["smiling_face_with_3_hearts"]},{"emoji":"😍","group":0,"order":16,"tags":["느낌","로맨틱","뽀뽀","사랑","사랑해","스마일","얼굴","하트","하트 눈 얼굴","하트 뿅뿅 얼굴"],"version":0.6,"annotation":"하트 눈 얼굴","shortcodes":["heart_eyes","smiling_face_with_heart_eyes"]},{"emoji":"🤩","group":0,"order":17,"tags":["반짝이는 눈으로 미소짓는","반한 얼굴","별 눈","별 모양의 눈","신나는","와우"],"version":5,"annotation":"반한 얼굴","shortcodes":["star_struck"]},{"emoji":"😘","group":0,"order":18,"tags":["로맨틱","뽀뽀","사랑","사랑스러움","사랑하는 사람","얼굴","연인","키스","키스를 날리는 얼굴","하트"],"version":0.6,"annotation":"키스를 보내는 얼굴","emoticon":":X","shortcodes":["blowing_a_kiss","kissing_heart"]},{"emoji":"😗","group":0,"order":19,"tags":["데이트","뽀뽀","사랑","사랑해","얼굴","연애","입술을 내민 얼굴","키스","키스하는 얼굴"],"version":1,"annotation":"키스하는 얼굴","shortcodes":["kissing","kissing_face"]},{"emoji":"☺️","group":0,"order":21,"tags":["미소","스마일","얼굴","웃는 얼굴","웃음","웃음 짓는 얼굴","편안한","행복"],"version":0.6,"annotation":"웃는 얼굴","shortcodes":["relaxed","smiling_face"]},{"emoji":"😚","group":0,"order":22,"tags":["감은 눈","눈을 감은 채로 키스하는 얼굴","데이트","발그레","뽀뽀","사랑해","얼굴","연애","연인","키스"],"version":0.6,"annotation":"눈을 감은 채로 키스하는 얼굴","emoticon":":*","shortcodes":["kissing_closed_eyes","kissing_face_with_closed_eyes"]},{"emoji":"😙","group":0,"order":23,"tags":["감은 눈","데이트","미소 짓는 눈으로 키스하는 얼굴","뽀뽀","사랑","스마일","얼굴","연애","웃으면서 뽀뽀하는 얼굴","키스"],"version":1,"annotation":"미소 짓는 눈으로 키스하는 얼굴","shortcodes":["kissing_face_with_smiling_eyes","kissing_smiling_eyes"]},{"emoji":"🥲","group":0,"order":24,"tags":["감동","감사","고통","긍지","눈물","눈물 흘리며 웃는 얼굴","미소","안도","자랑","행복"],"version":13,"annotation":"눈물 흘리며 웃는 얼굴","shortcodes":["smiling_face_with_tear"]},{"emoji":"😋","group":0,"order":25,"tags":["냠냠","맛있는 음식을 음미하는 얼굴","맛있어","맛있어하는 얼굴","미소","배고픈","배부른","얼굴","음","음미","음식"],"version":0.6,"annotation":"맛있는 음식을 음미하는 얼굴","shortcodes":["savoring_food","yum"]},{"emoji":"😛","group":0,"order":26,"tags":["달콤","대단해","메롱하는 얼굴","얼굴","파티","혀","혀를 내민 얼굴"],"version":1,"annotation":"혀를 내민 얼굴","emoticon":":P","shortcodes":["face_with_tongue","stuck_out_tongue"]},{"emoji":"😜","group":0,"order":27,"tags":["괴짜","농담","약간 정신이 나간","얼굴","열광하는","욜로","윙크","윙크하면서 메롱하는 얼굴","윙크하면서 혀를 내민 얼굴","이상한","재미있는","혀"],"version":0.6,"annotation":"윙크하면서 혀를 내민 얼굴","emoticon":";P","shortcodes":["stuck_out_tongue_winking_eye"]},{"emoji":"🤪","group":0,"order":28,"tags":["괴짜","괴짜 얼굴","눈","엉뚱한 얼굴","익살스러운 얼굴","장난스러운 눈","정신이 나간","환한 미소"],"version":5,"annotation":"괴짜 얼굴","shortcodes":["zany","zany_face"]},{"emoji":"😝","group":0,"order":29,"tags":["끔찍한","눈","눈을 감고 메롱하는 얼굴","눈을 감고 혀를 내민 얼굴","맙소사","맛","아무거나","얼굴","역겨운","오마이갓","욜로","혀"],"version":0.6,"annotation":"눈을 감고 메롱하는 얼굴","emoticon":"XP","shortcodes":["stuck_out_tongue_closed_eyes"]},{"emoji":"🤑","group":0,"order":30,"tags":["계산한","돈","돈 모양의 입이 있는 얼굴","얼굴","욕심","입","입에 돈을 물고 있는 얼굴","탐욕"],"version":1,"annotation":"돈 모양의 입이 있는 얼굴","shortcodes":["money_mouth_face"]},{"emoji":"🤗","group":0,"order":31,"tags":["반가워하는 얼굴","손","얼굴","포옹","포옹하고 있는 얼굴","환영"],"version":1,"annotation":"포옹하고 있는 얼굴","shortcodes":["hug","hugging","hugging_face"]},{"emoji":"🤭","group":0,"order":32,"tags":["갑자기 깨달은","비밀","손으로 입을 가린 얼굴","앗","웁스","입을 가리고 웃는 얼굴","충격","큭큭거리는"],"version":5,"annotation":"손으로 입을 가린 얼굴","shortcodes":["face_with_hand_over_mouth","hand_over_mouth"]},{"emoji":"🫢","group":0,"order":33,"tags":["감탄","깜짝 놀란 얼굴","놀람","눈을 뜨고 손으로 입을 가린 얼굴","당황","믿기지 않음","서프라이즈","쇼킹","오마이갓","충격"],"version":14,"annotation":"눈을 뜨고 손으로 입을 가린 얼굴","shortcodes":["face_with_open_eyes_hand_over_mouth","gasp"]},{"emoji":"🫣","group":0,"order":34,"tags":["당황","매료됨","몰래 보는","무서운","부끄러운","빤히 쳐다보기","숨은","한쪽 눈을 가리고 훔쳐보는 얼굴","훔쳐보기"],"version":14,"annotation":"한쪽 눈을 가리고 훔쳐보는 얼굴","shortcodes":["face_with_peeking_eye","peek"]},{"emoji":"🤫","group":0,"order":35,"tags":["쉿","쉿 하는 얼굴","조용"],"version":5,"annotation":"쉿 하는 얼굴","shortcodes":["shush","shushing_face"]},{"emoji":"🤔","group":0,"order":36,"tags":["고려해서","곰곰히","생각 중","생각에 잠긴 얼굴","생각하는 얼굴","얼굴","음","턱"],"version":1,"annotation":"생각하는 얼굴","emoticon":":L","shortcodes":["thinking","thinking_face","wtf"]},{"emoji":"🫡","group":0,"order":37,"tags":["경례","경례하는 얼굴","군대","굿 럭","네","알았어","응","인사","존경","행운을 빌어","화창"],"version":14,"annotation":"경례하는 얼굴","shortcodes":["salute","saluting_face"]},{"emoji":"🤐","group":0,"order":38,"tags":["말하지 마","비밀","비밀 지켜","얼굴","입","입 다문","지퍼","지퍼로 입을 잠근 얼굴"],"version":1,"annotation":"지퍼로 입을 잠근 얼굴","emoticon":":Z","shortcodes":["zipper_mouth","zipper_mouth_face"]},{"emoji":"🤨","group":0,"order":39,"tags":["눈썹을 치켜올린 얼굴","못마땅한","믿을 수 없는","불신","의심","의심하는 얼굴","회의적인"],"version":5,"annotation":"눈썹을 치켜올린 얼굴","shortcodes":["face_with_raised_eyebrow","raised_eyebrow"]},{"emoji":"😐️","group":0,"order":40,"tags":["감동 없는","나쁜","덤덤한 얼굴","무표정한","부러운","얼굴","오","웃음기없는","정색하는 얼굴","죽음","질투"],"version":0.7,"annotation":"덤덤한 얼굴","emoticon":":|","shortcodes":["neutral","neutral_face"]},{"emoji":"😑","group":0,"order":41,"tags":["감정없는","나쁜","무표정한","뭐든지","부러운","불행","악","어색한","얼굴","오","죽음","표정 없는 얼굴"],"version":1,"annotation":"무표정한 얼굴","shortcodes":["expressionless","expressionless_face"]},{"emoji":"😶","group":0,"order":42,"tags":["말이 없는","비밀","얼굴","이상한","입 꾹","입 없음","입이 없는 얼굴","조용한"],"version":1,"annotation":"입이 없는 얼굴","emoticon":":#","shortcodes":["no_mouth"]},{"emoji":"🫥","group":0,"order":43,"tags":["내성적","보이지 않음","사라짐","숨기","숨은","어쩌라고","우울","우울한","좌절","테두리가 점선으로 된 얼굴","헐"],"version":14,"annotation":"테두리가 점선으로 된 얼굴","shortcodes":["dotted_line_face"]},{"emoji":"😶‍🌫️","group":0,"order":44,"tags":["공상에 잠긴 얼굴","멍","멍청한 얼굴","멍함","안개 속 얼굴","엉뚱한 생각에 잠긴 얼굴"],"version":13.1,"annotation":"공상에 잠긴 얼굴","shortcodes":["in_clouds"]},{"emoji":"😏","group":0,"order":46,"tags":["교활한","낄낄거리는","농담","눈썹","멋부리는","바람","보스","웃는 얼굴","음흉한","의심스러운","히죽거리는 얼굴","히죽히죽"],"version":0.6,"annotation":"히죽거리는 얼굴","emoticon":":j","shortcodes":["smirk","smirking","smirking_face"]},{"emoji":"😒","group":0,"order":47,"tags":["됐어","부러운","불행","어","얼굴","이상한","재미없어 하는 얼굴","절레절레","지루함","지루해하는 얼굴","질투","짜증난"],"version":0.6,"annotation":"지루해하는 얼굴","emoticon":":?","shortcodes":["unamused","unamused_face"]},{"emoji":"🙄","group":0,"order":48,"tags":["눈","눈 굴리기","눈알","눈을 굴리고 있는 얼굴","무엇이든","미묘한","얼굴","윽"],"version":1,"annotation":"눈을 굴리고 있는 얼굴","shortcodes":["rolling_eyes"]},{"emoji":"😬","group":0,"order":49,"tags":["미소","스마일","아무것도 아님","얼굴","이상함","찌푸린 얼굴","찡그림","치과의사"],"version":1,"annotation":"찌푸린 얼굴","emoticon":"8D","shortcodes":["grimacing","grimacing_face"]},{"emoji":"😮‍💨","group":0,"order":50,"tags":["날숨","날숨 쉬는 얼굴","내쉼","담배","미소","속삭임","안도","입김","지친","한숨","휘파람"],"version":13.1,"annotation":"날숨 쉬는 얼굴","shortcodes":["exhale","exhaling"]},{"emoji":"🤥","group":0,"order":51,"tags":["거짓말","거짓말쟁이","거짓말하는 얼굴","얼굴","피노키오"],"version":3,"annotation":"거짓말하는 얼굴","shortcodes":["lying","lying_face"]},{"emoji":"🫨","group":0,"order":52,"tags":["깜짝 놀람","떨고 있음","얼굴","요동치는 얼굴","요동침","지진","충격"],"version":15,"annotation":"요동치는 얼굴","shortcodes":["shaking","shaking_face"]},{"emoji":"🙂‍↔️","group":0,"order":53,"tags":["고개를 흔들다","도리도리","부정","아니요"],"version":15.1,"annotation":"도리도리","shortcodes":["head_shaking_horizontally"]},{"emoji":"🙂‍↕️","group":0,"order":55,"tags":["고개를 끄덕이다","긍정","끄덕끄덕","예","주억거리다"],"version":15.1,"annotation":"끄덕끄덕","shortcodes":["head_shaking_vertically"]},{"emoji":"😌","group":0,"order":57,"tags":["안도","안심한 얼굴","얼굴","평화","표정"],"version":0.6,"annotation":"안심한 얼굴","shortcodes":["relieved","relieved_face"]},{"emoji":"😔","group":0,"order":58,"tags":["낙담","낙담한 얼굴","상실","수심 어린 얼굴","수심에 찬 얼굴","슬픈","실망한","얼굴","죽은","지루한"],"version":0.6,"annotation":"수심 어린 얼굴","shortcodes":["pensive","pensive_face"]},{"emoji":"😪","group":0,"order":59,"tags":["슬픈","얼굴","잠","졸린 얼굴","졸림","피곤한"],"version":0.6,"annotation":"졸린 얼굴","shortcodes":["sleepy","sleepy_face"]},{"emoji":"🤤","group":0,"order":60,"tags":["얼굴","주르륵","침","침 흘리는 얼굴","침흘리기"],"version":3,"annotation":"침 흘리는 얼굴","shortcodes":["drooling","drooling_face"]},{"emoji":"😴","group":0,"order":61,"tags":["낮잠","어쨌든","얼굴","자고 있는 얼굴","자는 시간","자는 얼굴","잘자","잠","졸고 있는 얼굴","침대","쿨쿨쿨","하품"],"version":1,"annotation":"졸고 있는 얼굴","shortcodes":["sleeping","sleeping_face"]},{"emoji":"🫩","group":0,"order":62,"tags":["눈","늦은","다크서클","부종","얼굴","졸린","지루한","지친","피곤한","피로한","힘든"],"version":16,"annotation":"다크서클이 있는 얼굴","shortcodes":["face_with_eye_bags"]},{"emoji":"😷","group":0,"order":63,"tags":["감기","마스크","마스크 낀 얼굴","병균","세균","아픈","약","얼굴","의사","의학","치과의사","피부과 의사","황사"],"version":0.6,"annotation":"마스크 낀 얼굴","shortcodes":["mask","medical_mask"]},{"emoji":"🤒","group":0,"order":64,"tags":["병","아픈","아픔","얼굴","체온계","체온계를 물고 있는 얼굴"],"version":1,"annotation":"체온계를 물고 있는 얼굴","shortcodes":["face_with_thermometer"]},{"emoji":"🤕","group":0,"order":65,"tags":["머리에 붕대를 감은 얼굴","부상","붕대","상처","상처난","아야","아픈","얼굴"],"version":1,"annotation":"머리에 붕대를 감은 얼굴","shortcodes":["face_with_head_bandage"]},{"emoji":"🤢","group":0,"order":66,"tags":["구역질을 하는 얼굴","구토","끔찍한","메스꺼운","속 울렁거림","아픈","얼굴","역겨운","토하기"],"version":3,"annotation":"구역질을 하는 얼굴","emoticon":"%(","shortcodes":["nauseated","nauseated_face"]},{"emoji":"🤮","group":0,"order":67,"tags":["멀미","쏠려","아픈","토","토하는","토하는 얼굴"],"version":5,"annotation":"토하는 얼굴","shortcodes":["face_vomiting","vomiting"]},{"emoji":"🤧","group":0,"order":68,"tags":["감기","독감","몸조심하세요","아픈","얼굴","에취","열","재채기","재채기하는 얼굴","휴지"],"version":3,"annotation":"재채기하는 얼굴","shortcodes":["sneezing","sneezing_face"]},{"emoji":"🥵","group":0,"order":69,"tags":["더운","더운 얼굴","더워 죽는","더위 먹은","땀 흘리는","빨개진","열나는","헐떡이는"],"version":11,"annotation":"더운 얼굴","shortcodes":["hot","hot_face"]},{"emoji":"🥶","group":0,"order":70,"tags":["고드름","동상","새파랗게 질린","얼어붙은","이를 떠는","추운","추워하는 얼굴"],"version":11,"annotation":"추워하는 얼굴","shortcodes":["cold","cold_face"]},{"emoji":"🥴","group":0,"order":71,"tags":["맛이 간","비뚤거리는 입","어지러운","짝짝이 눈","취한","헤롱거리는","헤롱헤롱 얼굴"],"version":11,"annotation":"헤롱헤롱 얼굴","emoticon":":&","shortcodes":["woozy","woozy_face"]},{"emoji":"😵","group":0,"order":72,"tags":["아픔","어지러운 얼굴","어지러움","얼굴","죽음","피곤함"],"version":0.6,"annotation":"어지러운 얼굴","emoticon":"XO","shortcodes":["dizzy_face","knocked_out"]},{"emoji":"😵‍💫","group":0,"order":73,"tags":["나선형 눈","미소","어지럼증","오마이갓","우와","헷갈림","현기증","현기증 난 얼굴","혼란"],"version":13.1,"annotation":"현기증 난 얼굴","shortcodes":["dizzy_eyes"]},{"emoji":"🤯","group":0,"order":74,"tags":["그럴리 없어","뚜껑 열린 머리","머리 폭발","충격","충격받은","폭발하는 얼굴"],"version":5,"annotation":"폭발하는 얼굴","shortcodes":["exploding_head"]},{"emoji":"🤠","group":0,"order":75,"tags":["모자","얼굴","카우걸","카우보이","카우보이 모자 쓴 얼굴"],"version":3,"annotation":"카우보이 모자 쓴 얼굴","shortcodes":["cowboy","cowboy_face"]},{"emoji":"🥳","group":0,"order":76,"tags":["고깔모자","나팔","모자","생일","신나는","얼굴","축하","파티","파티하는 얼굴"],"version":11,"annotation":"파티하는 얼굴","shortcodes":["hooray","partying","partying_face"]},{"emoji":"🥸","group":0,"order":77,"tags":["가면","눈썹","변장","변장한 얼굴","사람","수염","스파이","안경","얼굴","코","콧수염"],"version":13,"annotation":"변장한 얼굴","shortcodes":["disguised","disguised_face"]},{"emoji":"😎","group":0,"order":78,"tags":["개성있는","눈부신","멋짐","미소","밝은","선글라스","선글라스 끼고 웃는 얼굴","선글라스 낀 얼굴","스웩","스타일","안경류","얼굴"],"version":1,"annotation":"선글라스 낀 얼굴","emoticon":"8)","shortcodes":["smiling_face_with_sunglasses","sunglasses_cool","too_cool"]},{"emoji":"🤓","group":0,"order":79,"tags":["공부벌레","괴짜","모범생","범생이","샌님","스마트","안경","얼굴","전문가","총명","현명"],"version":1,"annotation":"모범생 얼굴","emoticon":":B","shortcodes":["nerd","nerd_face"]},{"emoji":"🧐","group":0,"order":80,"tags":["단안경을 쓴 얼굴","부자","클래식한","화려한"],"version":5,"annotation":"단안경을 쓴 얼굴","shortcodes":["face_with_monocle"]},{"emoji":"😕","group":0,"order":81,"tags":["모르겠어","몰라","슬퍼","얼굴","정신이 없는","찡그린","헷갈림","혼란스러운","혼란스러워하는 얼굴","확신없는"],"version":1,"annotation":"혼란스러워하는 얼굴","emoticon":":/","shortcodes":["confused","confused_face"]},{"emoji":"🫤","group":0,"order":82,"tags":["별로","실망","의문","의심","입이 한쪽으로 올라간 얼굴","헷갈리는","혼란","확신이 없음","회의적인"],"version":14,"annotation":"입이 한쪽으로 올라간 얼굴","shortcodes":["face_with_diagonal_mouth"]},{"emoji":"😟","group":0,"order":83,"tags":["걱정","걱정스러운 얼굴","걱정스러움","긴장한","놀람","스트레스","슬픔","얼굴","염려스러운","울렁거림"],"version":1,"annotation":"걱정스러운 얼굴","shortcodes":["worried","worried_face"]},{"emoji":"🙁","group":0,"order":84,"tags":["살짝 찡그린 얼굴","슬픔","얼굴","찡그린 얼굴","찡그림"],"version":1,"annotation":"살짝 찡그린 얼굴","shortcodes":["slightly_frowning_face"]},{"emoji":"☹️","group":0,"order":86,"tags":["슬픔","얼굴","찡그린 얼굴","찡그림"],"version":0.7,"annotation":"찡그린 얼굴","emoticon":":(","shortcodes":["white_frowning_face"]},{"emoji":"😮","group":0,"order":87,"tags":["놀람","맙소사","믿을 수 없는","얼굴","오마이갓","와","입벌린 얼굴","입벌림","잊어버린","충격"],"version":1,"annotation":"입벌린 얼굴","shortcodes":["face_with_open_mouth","open_mouth"]},{"emoji":"😯","group":0,"order":88,"tags":["놀란","맙소사","망연자실한","먹먹한","숨죽인","숨죽임","얼굴","엄청난","후아"],"version":1,"annotation":"숨죽인 얼굴","shortcodes":["hushed","hushed_face"]},{"emoji":"😲","group":0,"order":89,"tags":["깜짝 놀란 얼굴","놀라움","놀란 얼굴","뭐라구","비용","어이없음","얼굴","오마이갓","충격"],"version":0.6,"annotation":"깜짝 놀란 얼굴","emoticon":":O","shortcodes":["astonished","astonished_face"]},{"emoji":"😳","group":0,"order":90,"tags":["눈을 크게 뜬 얼굴","달아오른 얼굴","당황스러워","말도 안돼","뭐","붉힌","붉힌열이 오른","상기된","얼굴","얼굴 붉힘","충격적","황당해"],"version":0.6,"annotation":"상기된 얼굴","emoticon":":$","shortcodes":["flushed","flushed_face"]},{"emoji":"🥺","group":0,"order":91,"tags":["강아지 눈","글썽이는 눈","너무 슬프지 않니","애원하는","애원하는 얼굴","자비","자비를 구하는","큰 눈"],"version":11,"annotation":"애원하는 얼굴","shortcodes":["pleading","pleading_face"]},{"emoji":"🥹","group":0,"order":92,"tags":["감사","감정","감탄","기쁨의 눈물","눈물을 참는 얼굴","당황","슬픔","아","오","울음","자랑스러움","제발"],"version":14,"annotation":"눈물을 참는 얼굴","shortcodes":["face_holding_back_tears","watery_eyes"]},{"emoji":"😦","group":0,"order":93,"tags":["겁먹은","놀람","무서운","뭐","벌린","얼굴","와우","입","입 벌리고 불쾌한 얼굴","입 벌리고 찌푸린 얼굴","찌푸린 얼굴","허를 찔리다"],"version":1,"annotation":"입 벌리고 찌푸린 얼굴","shortcodes":["frowning","frowning_face"]},{"emoji":"😧","group":0,"order":94,"tags":["겁먹은","고민이 많은","괴로움","괴로워하는 얼굴","까먹은","놀람","무서운","불행","스트레스","얼굴","와우"],"version":1,"annotation":"괴로워하는 얼굴","emoticon":":S","shortcodes":["anguished","anguished_face"]},{"emoji":"😨","group":0,"order":95,"tags":["걱정스러운","공포","공포에 가득찬 얼굴","두려움","두려워하는 얼굴","비난","얼굴","염려되는"],"version":0.6,"annotation":"두려워하는 얼굴","shortcodes":["fearful","fearful_face"]},{"emoji":"😰","group":0,"order":96,"tags":["긴장한","달콤","땀 흘리며 불안해하는 얼굴","새파랗게 질린","서두른","식은땀","얼굴","입","추운"],"version":0.6,"annotation":"땀 흘리며 불안해하는 얼굴","shortcodes":["anxious","anxious_face","cold_sweat"]},{"emoji":"😥","group":0,"order":97,"tags":["구사일생","복잡한","슬픈","실망감","실망하는 얼굴","실망했지만 안도하는 얼굴","안도감","얼굴","지금 말고","휴"],"version":0.6,"annotation":"실망했지만 안도하는 얼굴","shortcodes":["disappointed_relieved","sad_relieved_face"]},{"emoji":"😢","group":0,"order":98,"tags":["감정","그리움","끔찍한","눈물","불행","얼굴","우는 얼굴","울음"],"version":0.6,"annotation":"우는 얼굴","emoticon":":'(","shortcodes":["cry","crying_face"]},{"emoji":"😭","group":0,"order":99,"tags":["눈물","대성통곡","불행","슬픔","얼굴","엉엉","엉엉 우는 얼굴","울음","훌쩍"],"version":0.6,"annotation":"엉엉 우는 얼굴","emoticon":":'o","shortcodes":["loudly_crying_face","sob"]},{"emoji":"😱","group":0,"order":100,"tags":["공포","공포에 절규하는 얼굴","두려운","무서운","뭉크","비명","소리 지르는 얼굴","얼굴","충격받은","후아"],"version":0.6,"annotation":"공포에 절규하는 얼굴","emoticon":"Dx","shortcodes":["scream","screaming_in_fear"]},{"emoji":"😖","group":0,"order":101,"tags":["당혹한 얼굴","당혹함","당황한 얼굴","민망함","슬픔","어이없음","얼굴","좌절함","짜증남","혼란스러움"],"version":0.6,"annotation":"당혹한 얼굴","emoticon":"X(","shortcodes":["confounded","confounded_face"]},{"emoji":"😣","group":0,"order":102,"tags":["두통","머리아픈","실수한 후 얼굴","얼굴","얼빠짐","인내하는 얼굴","집중하는","참아내는 얼굴","초집중"],"version":0.6,"annotation":"참아내는 얼굴","shortcodes":["persevere","persevering_face"]},{"emoji":"😞","group":0,"order":103,"tags":["끔찍한","낙담한","불행","비난","상실","슬픔","실망","실망한 얼굴","실패","얼굴"],"version":0.6,"annotation":"실망한 얼굴","shortcodes":["disappointed","disappointed_face"]},{"emoji":"😓","group":0,"order":104,"tags":["겁먹은","긴장한","느낌","땀흘리는","슬픔","식은땀","식은땀 흘리는 얼굴","아슬아슬한","아이쿠","얼굴"],"version":0.6,"annotation":"식은땀 흘리는 얼굴","emoticon":":<","shortcodes":["downcast_face","sweat"]},{"emoji":"😩","group":0,"order":105,"tags":["배고픈","불행","실패","아니","안돼","얼굴","우는","졸린","지친 얼굴","지침"],"version":0.6,"annotation":"지친 얼굴","emoticon":"D:","shortcodes":["weary","weary_face"]},{"emoji":"😫","group":0,"order":106,"tags":["낮잠","느낌","비용","슬픔","얼굴","재채기","피곤한 얼굴","피곤함"],"version":0.6,"annotation":"피곤한 얼굴","emoticon":":C","shortcodes":["tired","tired_face"]},{"emoji":"🥱","group":0,"order":107,"tags":["아무튼","안녕히 주무세요","잘 시간","잘자","지루함","쿨쿨쿨","피곤함","하품","하품하는 얼굴"],"version":12,"annotation":"하품하는 얼굴","shortcodes":["yawn","yawning","yawning_face"]},{"emoji":"😤","group":0,"order":108,"tags":["느낌","분노","불행","승리감","얼굴","열받은","이겼다","화가난","화내며 씩씩거리는 얼굴"],"version":0.6,"annotation":"화내며 씩씩거리는 얼굴","shortcodes":["nose_steam","triumph"]},{"emoji":"😡","group":0,"order":109,"tags":["느낌","불행한","뾰로통한 얼굴","뾰로통함","새빨간","얼굴","열받은","화난"],"version":0.6,"annotation":"뾰로통한 얼굴","emoticon":">:/","shortcodes":["pout","pouting_face","rage"]},{"emoji":"😠","group":0,"order":110,"tags":["느낌","분노","불행","비난","얼굴","열받은","좌절","화","화난 얼굴","황당"],"version":0.6,"annotation":"화난 얼굴","shortcodes":["angry","angry_face"]},{"emoji":"🤬","group":0,"order":111,"tags":["열받은","욕","욕하는","욕하는 얼굴","화난"],"version":5,"annotation":"욕하는 얼굴","emoticon":":@","shortcodes":["censored","face_with_symbols_on_mouth"]},{"emoji":"😈","group":0,"order":112,"tags":["동화","머리에 뿔이 달린 웃는 얼굴","미소","뿔","스마일","악마","얼굴","웃는 얼굴"],"version":1,"annotation":"머리에 뿔이 달린 웃는 얼굴","emoticon":">:)","shortcodes":["smiling_imp"]},{"emoji":"👿","group":0,"order":113,"tags":["꼬마 악마","동화","머리에 뿔이 달린 화난 얼굴","악마","얼굴","판타지"],"version":0.6,"annotation":"머리에 뿔이 달린 화난 얼굴","emoticon":">:(","shortcodes":["angry_imp","imp"]},{"emoji":"💀","group":0,"order":114,"tags":["나 죽었어","동화","몸","얼굴","요정이야기","욜로","죽음","진짜 웃겨","해골","해골 바가지"],"version":0.6,"annotation":"해골","shortcodes":["skull"]},{"emoji":"☠️","group":0,"order":116,"tags":["몬스터","뼈","뼈다귀","죽은","죽음","해골","해골과 뼈다귀"],"version":1,"annotation":"해골과 뼈다귀","shortcodes":["skull_and_crossbones"]},{"emoji":"💩","group":0,"order":117,"tags":["괴물","냄새","냄새가 지독한","똥","똥덩어리","똥무더기","만화","몬스터","아 짜증나","얼굴","코믹"],"version":0.6,"annotation":"똥","shortcodes":["poop","shit"]},{"emoji":"🤡","group":0,"order":118,"tags":["광대","어릿광대","얼굴"],"version":3,"annotation":"어릿광대 얼굴","shortcodes":["clown","clown_face"]},{"emoji":"👹","group":0,"order":119,"tags":["가면","괴물","도깨비","도깨비 얼굴","동화","몬스터","무서운","생명체","일본"],"version":0.6,"annotation":"도깨비 가면","emoticon":">0)","shortcodes":["japanese_ogre","ogre"]},{"emoji":"👺","group":0,"order":120,"tags":["가면","도깨비","동화","몬스터","심술궂은","얼굴","일본","코주부 도깨비","코주부 도깨비 가면","판타지","화난"],"version":0.6,"annotation":"코주부 도깨비 가면","shortcodes":["goblin","japanese_goblin"]},{"emoji":"👻","group":0,"order":121,"tags":["고스트","귀신","귀신얼굴","동화","어이없는","얼굴","유령","판타지","할로윈","흥분한"],"version":0.6,"annotation":"유령","shortcodes":["ghost"]},{"emoji":"👽️","group":0,"order":122,"tags":["UFO","괴물","동화","몬스터","에일리언","왕눈이","외계생명체","외계인","판타지"],"version":0.6,"annotation":"외계인","shortcodes":["alien"]},{"emoji":"👾","group":0,"order":123,"tags":["UFO","게이머","게임","몬스터","생명체","에일리언","외계 괴물","외계인","우주","우주 침략자","우주생명체","판타지"],"version":0.6,"annotation":"에일리언","shortcodes":["alien_monster","space_invader"]},{"emoji":"🤖","group":0,"order":124,"tags":["로봇","몬스터","얼굴"],"version":1,"annotation":"로봇 얼굴","shortcodes":["robot","robot_face"]},{"emoji":"😺","group":0,"order":125,"tags":["고양이","동물","벌린","얼굴","입","입벌리고 활짝 웃는 고양이","활짝 웃는 고양이 얼굴"],"version":0.6,"annotation":"활짝 웃는 고양이 얼굴","shortcodes":["grinning_cat","smiley_cat"]},{"emoji":"😸","group":0,"order":126,"tags":["고양이","동물","미소","미소 짓는 눈으로 활짝 웃는 고양이 얼굴","얼굴"],"version":0.6,"annotation":"미소 짓는 눈으로 활짝 웃는 고양이 얼굴","shortcodes":["grinning_cat_with_closed_eyes","smile_cat"]},{"emoji":"😹","group":0,"order":127,"tags":["고양이","기뻐하면서 우는 고양이","기쁨","기쁨의 눈물","기쁨의 눈물을 흘리는 고양이 얼굴","눈물","동물","웃음"],"version":0.6,"annotation":"기쁨의 눈물을 흘리는 고양이 얼굴","shortcodes":["joy_cat","tears_of_joy_cat"]},{"emoji":"😻","group":0,"order":128,"tags":["고양이","눈","동물","사랑","사랑에 빠진 고양이","얼굴","하트","하트모양 눈으로 미소짓는 고양이 얼굴"],"version":0.6,"annotation":"하트 눈 고양이 얼굴","shortcodes":["heart_eyes_cat","smiling_cat_with_heart_eyes"]},{"emoji":"😼","group":0,"order":129,"tags":["고소하다는 웃음 짓는 고양이","고양이","동물","쌤통","썩소 짓는 고양이","아이러니한","얼굴"],"version":0.6,"annotation":"썩소 짓는 고양이","shortcodes":["smirk_cat","wry_smile_cat"]},{"emoji":"😽","group":0,"order":130,"tags":["고양이","눈","눈 감고 뽀뽀하는 고양이","동물","뽀뽀","키스","키스하는 고양이 얼굴"],"version":0.6,"annotation":"키스하는 고양이 얼굴","emoticon":":3","shortcodes":["kissing_cat"]},{"emoji":"🙀","group":0,"order":131,"tags":["고양이","놀람","동물","맙소사","얼굴","오","절규하는 고양이 얼굴"],"version":0.6,"annotation":"절규하는 고양이 얼굴","shortcodes":["scream_cat","weary_cat"]},{"emoji":"😿","group":0,"order":132,"tags":["고양이","눈물","눈물 흘리는 고양이","동물","슬픈","울고 있는 고양이","울고 있는 고양이 얼굴","훌쩍"],"version":0.6,"annotation":"울고 있는 고양이 얼굴","shortcodes":["crying_cat"]},{"emoji":"😾","group":0,"order":133,"tags":["고양이","동물","뾰로통한 고양이 얼굴","토라진","토라짐"],"version":0.6,"annotation":"뾰로통한 고양이 얼굴","shortcodes":["pouting_cat"]},{"emoji":"🙈","group":0,"order":134,"tags":["금지","금지된","나쁜것은 보지도 말라","눈을 가리고 있는 원숭이","동물","맙소사","무서운","보다","볼수 없음","부끄러워","비밀","손으로 눈을 가린 원숭이","아니","아무것도 안 보려는 원숭이","악마","얼굴","오마이갓","원숭이","제스처"],"version":0.6,"annotation":"눈을 가리고 있는 원숭이","shortcodes":["see_no_evil"]},{"emoji":"🙉","group":0,"order":135,"tags":["귀를 막고 있는 원숭이","금지","나쁜것은 듣지도 말라","동물","듣기","비밀","손으로 귀를 가린 원숭이","쉿","악마","원숭이","제스처"],"version":0.6,"annotation":"귀를 막고 있는 원숭이","shortcodes":["hear_no_evil"]},{"emoji":"🙊","group":0,"order":136,"tags":["금지","나쁜것은 말하지도 말라","말하다","비밀","손으로 입을 가린 원숭이","악마","얼굴","웁스","원숭이","입을 막고 있는 원숭이","제스처","조용한"],"version":0.6,"annotation":"입을 막고 있는 원숭이","shortcodes":["speak_no_evil"]},{"emoji":"💌","group":0,"order":137,"tags":["러브레터","로맨스","발렌타인","사랑 고백","연애 편지","편지","하트"],"version":0.6,"annotation":"러브레터","shortcodes":["love_letter"]},{"emoji":"💘","group":0,"order":138,"tags":["데이트","로맨스","발렌타인","사랑","사랑스러움","사랑해","연애","큐피드","하트","화살이 꽂힌 하트"],"version":0.6,"annotation":"화살이 꽂힌 하트","shortcodes":["cupid","heart_with_arrow"]},{"emoji":"💝","group":0,"order":139,"tags":["감정","기념일","리본","리본 달린 하트","발렌타인 초콜렛 상자","사랑","사랑해","선물 상자","키스","하트"],"version":0.6,"annotation":"리본 달린 하트","shortcodes":["gift_heart","heart_with_ribbon"]},{"emoji":"💖","group":0,"order":140,"tags":["감정","기쁨으로 가득찬 마음","두근거림","빛나는 하트","뽀뽀","뿅뿅","사랑","사랑의 기쁨","사랑해","설렘","아침","좋은 밤","키스","하트"],"version":0.6,"annotation":"빛나는 하트","shortcodes":["sparkling_heart"]},{"emoji":"💗","group":0,"order":141,"tags":["감정","긴장","깊어지는 마음","깊어지는 사랑","맥박","무아","뽀뽀","사랑","사랑해","심장박동","커지는 마음","커지는 하트","키스","하트","흥분함"],"version":0.6,"annotation":"커지는 하트","shortcodes":["growing_heart","heartpulse"]},{"emoji":"💓","group":0,"order":142,"tags":["감정","두근거리는 마음","두근거리는 하트","두근두근","떨리는 마음","맥박","사랑","사랑해","심장","하트"],"version":0.6,"annotation":"두근거리는 하트","shortcodes":["beating_heart","heartbeat"]},{"emoji":"💞","group":0,"order":143,"tags":["감정","귀여움","기념일","빙글빙글","사랑","사랑스러움","하트","회전하는 하트"],"version":0.6,"annotation":"회전하는 하트","shortcodes":["revolving_hearts"]},{"emoji":"💕","group":0,"order":144,"tags":["감정","기념일","뽀뽀","사랑","사랑하는","사랑해","연애","연인","하트","하트 두 개"],"version":0.6,"annotation":"하트 두 개","shortcodes":["two_hearts"]},{"emoji":"💟","group":0,"order":145,"tags":["보라색 하트","퍼플 하트","하얀색 하트","하트","하트 장식","화이트 하트"],"version":0.6,"annotation":"하트 장식","shortcodes":["heart_decoration"]},{"emoji":"❣️","group":0,"order":147,"tags":["느낌표","문장 부호","표시","하트","하트 모양 느낌표"],"version":1,"annotation":"하트 모양 느낌표","shortcodes":["heart_exclamation"]},{"emoji":"💔","group":0,"order":148,"tags":["가슴이 아픈","감정","결별","깨진 하트","슬픔","외로움","이별","이별의 고통","이별의 아픔","헤어짐"],"version":0.6,"annotation":"깨진 하트","emoticon":"","shortcodes":["man_mage"],"skins":[{"tone":1,"emoji":"🧙🏻‍♂️","version":5,"annotation":"남자 마법사: 하얀 피부","tags":["남자 마법사","대마법사","마법","마법사","마술사","소환","역할극","주문","판타지","하얀 피부"]},{"tone":2,"emoji":"🧙🏼‍♂️","version":5,"annotation":"남자 마법사: 연한 갈색 피부","tags":["남자 마법사","대마법사","마법","마법사","마술사","소환","역할극","연한 갈색 피부","주문","판타지"]},{"tone":3,"emoji":"🧙🏽‍♂️","version":5,"annotation":"남자 마법사: 갈색 피부","tags":["갈색 피부","남자 마법사","대마법사","마법","마법사","마술사","소환","역할극","주문","판타지"]},{"tone":4,"emoji":"🧙🏾‍♂️","version":5,"annotation":"남자 마법사: 진한 갈색 피부","tags":["남자 마법사","대마법사","마법","마법사","마술사","소환","역할극","주문","진한 갈색 피부","판타지"]},{"tone":5,"emoji":"🧙🏿‍♂️","version":5,"annotation":"남자 마법사: 검은색 피부","tags":["검은색 피부","남자 마법사","대마법사","마법","마법사","마술사","소환","역할극","주문","판타지"]}]},{"emoji":"🧙‍♀️","group":1,"order":1746,"tags":["대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","주문","판타지"],"version":5,"annotation":"여자 마법사","shortcodes":["woman_mage"],"skins":[{"tone":1,"emoji":"🧙🏻‍♀️","version":5,"annotation":"여자 마법사: 하얀 피부","tags":["대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","주문","판타지","하얀 피부"]},{"tone":2,"emoji":"🧙🏼‍♀️","version":5,"annotation":"여자 마법사: 연한 갈색 피부","tags":["대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","연한 갈색 피부","주문","판타지"]},{"tone":3,"emoji":"🧙🏽‍♀️","version":5,"annotation":"여자 마법사: 갈색 피부","tags":["갈색 피부","대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","주문","판타지"]},{"tone":4,"emoji":"🧙🏾‍♀️","version":5,"annotation":"여자 마법사: 진한 갈색 피부","tags":["대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","주문","진한 갈색 피부","판타지"]},{"tone":5,"emoji":"🧙🏿‍♀️","version":5,"annotation":"여자 마법사: 검은색 피부","tags":["검은색 피부","대마법사","마녀","마법","마법사","마술사","소환","여자 마법사","역할극","주문","판타지"]}]},{"emoji":"🧚","group":1,"order":1758,"tags":["날개","동화","신화","요정","판타지","환상"],"version":5,"annotation":"요정","shortcodes":["fairy"],"skins":[{"tone":1,"emoji":"🧚🏻","version":5,"annotation":"요정: 하얀 피부","tags":["날개","동화","신화","요정","판타지","하얀 피부","환상"]},{"tone":2,"emoji":"🧚🏼","version":5,"annotation":"요정: 연한 갈색 피부","tags":["날개","동화","신화","연한 갈색 피부","요정","판타지","환상"]},{"tone":3,"emoji":"🧚🏽","version":5,"annotation":"요정: 갈색 피부","tags":["갈색 피부","날개","동화","신화","요정","판타지","환상"]},{"tone":4,"emoji":"🧚🏾","version":5,"annotation":"요정: 진한 갈색 피부","tags":["날개","동화","신화","요정","진한 갈색 피부","판타지","환상"]},{"tone":5,"emoji":"🧚🏿","version":5,"annotation":"요정: 검은색 피부","tags":["검은색 피부","날개","동화","신화","요정","판타지","환상"]}]},{"emoji":"🧚‍♂️","group":1,"order":1764,"tags":["날개","남자 요정","동화","신화","요정","판타지","환상"],"version":5,"annotation":"남자 요정","shortcodes":["man_fairy"],"skins":[{"tone":1,"emoji":"🧚🏻‍♂️","version":5,"annotation":"남자 요정: 하얀 피부","tags":["날개","남자 요정","동화","신화","요정","판타지","하얀 피부","환상"]},{"tone":2,"emoji":"🧚🏼‍♂️","version":5,"annotation":"남자 요정: 연한 갈색 피부","tags":["날개","남자 요정","동화","신화","연한 갈색 피부","요정","판타지","환상"]},{"tone":3,"emoji":"🧚🏽‍♂️","version":5,"annotation":"남자 요정: 갈색 피부","tags":["갈색 피부","날개","남자 요정","동화","신화","요정","판타지","환상"]},{"tone":4,"emoji":"🧚🏾‍♂️","version":5,"annotation":"남자 요정: 진한 갈색 피부","tags":["날개","남자 요정","동화","신화","요정","진한 갈색 피부","판타지","환상"]},{"tone":5,"emoji":"🧚🏿‍♂️","version":5,"annotation":"남자 요정: 검은색 피부","tags":["검은색 피부","날개","남자 요정","동화","신화","요정","판타지","환상"]}]},{"emoji":"🧚‍♀️","group":1,"order":1776,"tags":["날개","동화","신화","여자 요정","요정","판타지","환상"],"version":5,"annotation":"여자 요정","shortcodes":["woman_fairy"],"skins":[{"tone":1,"emoji":"🧚🏻‍♀️","version":5,"annotation":"여자 요정: 하얀 피부","tags":["날개","동화","신화","여자 요정","요정","판타지","하얀 피부","환상"]},{"tone":2,"emoji":"🧚🏼‍♀️","version":5,"annotation":"여자 요정: 연한 갈색 피부","tags":["날개","동화","신화","여자 요정","연한 갈색 피부","요정","판타지","환상"]},{"tone":3,"emoji":"🧚🏽‍♀️","version":5,"annotation":"여자 요정: 갈색 피부","tags":["갈색 피부","날개","동화","신화","여자 요정","요정","판타지","환상"]},{"tone":4,"emoji":"🧚🏾‍♀️","version":5,"annotation":"여자 요정: 진한 갈색 피부","tags":["날개","동화","신화","여자 요정","요정","진한 갈색 피부","판타지","환상"]},{"tone":5,"emoji":"🧚🏿‍♀️","version":5,"annotation":"여자 요정: 검은색 피부","tags":["검은색 피부","날개","동화","신화","여자 요정","요정","판타지","환상"]}]},{"emoji":"🧛","group":1,"order":1788,"tags":["공포","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"],"version":5,"annotation":"뱀파이어","emoticon":":E","shortcodes":["vampire"],"skins":[{"tone":1,"emoji":"🧛🏻","version":5,"annotation":"뱀파이어: 하얀 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","하얀 피부","할로윈"]},{"tone":2,"emoji":"🧛🏼","version":5,"annotation":"뱀파이어: 연한 갈색 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","연한 갈색 피부","이빨","코스프레","피","할로윈"]},{"tone":3,"emoji":"🧛🏽","version":5,"annotation":"뱀파이어: 갈색 피부","tags":["갈색 피부","공포","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"]},{"tone":4,"emoji":"🧛🏾","version":5,"annotation":"뱀파이어: 진한 갈색 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","이빨","진한 갈색 피부","코스프레","피","할로윈"]},{"tone":5,"emoji":"🧛🏿","version":5,"annotation":"뱀파이어: 검은색 피부","tags":["검은색 피부","공포","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"]}]},{"emoji":"🧛‍♂️","group":1,"order":1794,"tags":["공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"],"version":5,"annotation":"남자 뱀파이어","shortcodes":["man_vampire"],"skins":[{"tone":1,"emoji":"🧛🏻‍♂️","version":5,"annotation":"남자 뱀파이어: 하얀 피부","tags":["공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","하얀 피부","할로윈"]},{"tone":2,"emoji":"🧛🏼‍♂️","version":5,"annotation":"남자 뱀파이어: 연한 갈색 피부","tags":["공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","연한 갈색 피부","이빨","코스프레","피","할로윈"]},{"tone":3,"emoji":"🧛🏽‍♂️","version":5,"annotation":"남자 뱀파이어: 갈색 피부","tags":["갈색 피부","공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"]},{"tone":4,"emoji":"🧛🏾‍♂️","version":5,"annotation":"남자 뱀파이어: 진한 갈색 피부","tags":["공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","이빨","진한 갈색 피부","코스프레","피","할로윈"]},{"tone":5,"emoji":"🧛🏿‍♂️","version":5,"annotation":"남자 뱀파이어: 검은색 피부","tags":["검은색 피부","공포","남자 뱀파이어","드라큘라","뱀파이어","송곳니","언데드","이빨","코스프레","피","할로윈"]}]},{"emoji":"🧛‍♀️","group":1,"order":1806,"tags":["공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","이빨","코스프레","피","할로윈"],"version":5,"annotation":"여자 뱀파이어","shortcodes":["woman_vampire"],"skins":[{"tone":1,"emoji":"🧛🏻‍♀️","version":5,"annotation":"여자 뱀파이어: 하얀 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","이빨","코스프레","피","하얀 피부","할로윈"]},{"tone":2,"emoji":"🧛🏼‍♀️","version":5,"annotation":"여자 뱀파이어: 연한 갈색 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","연한 갈색 피부","이빨","코스프레","피","할로윈"]},{"tone":3,"emoji":"🧛🏽‍♀️","version":5,"annotation":"여자 뱀파이어: 갈색 피부","tags":["갈색 피부","공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","이빨","코스프레","피","할로윈"]},{"tone":4,"emoji":"🧛🏾‍♀️","version":5,"annotation":"여자 뱀파이어: 진한 갈색 피부","tags":["공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","이빨","진한 갈색 피부","코스프레","피","할로윈"]},{"tone":5,"emoji":"🧛🏿‍♀️","version":5,"annotation":"여자 뱀파이어: 검은색 피부","tags":["검은색 피부","공포","드라큘라","뱀파이어","송곳니","언데드","여자 뱀파이어","이빨","코스프레","피","할로윈"]}]},{"emoji":"🧜","group":1,"order":1818,"tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"],"version":5,"annotation":"인어","shortcodes":["merperson"],"skins":[{"tone":1,"emoji":"🧜🏻","version":5,"annotation":"인어: 하얀 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","하얀 피부","해저"]},{"tone":2,"emoji":"🧜🏼","version":5,"annotation":"인어: 연한 갈색 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","연한 갈색 피부","인어","해저"]},{"tone":3,"emoji":"🧜🏽","version":5,"annotation":"인어: 갈색 피부","tags":["갈색 피부","남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"]},{"tone":4,"emoji":"🧜🏾","version":5,"annotation":"인어: 진한 갈색 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","진한 갈색 피부","해저"]},{"tone":5,"emoji":"🧜🏿","version":5,"annotation":"인어: 검은색 피부","tags":["검은색 피부","남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"]}]},{"emoji":"🧜‍♂️","group":1,"order":1824,"tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","인어","해저"],"version":5,"annotation":"남자 인어","shortcodes":["merman"],"skins":[{"tone":1,"emoji":"🧜🏻‍♂️","version":5,"annotation":"남자 인어: 하얀 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","인어","하얀 피부","해저"]},{"tone":2,"emoji":"🧜🏼‍♂️","version":5,"annotation":"남자 인어: 연한 갈색 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","연한 갈색 피부","인어","해저"]},{"tone":3,"emoji":"🧜🏽‍♂️","version":5,"annotation":"남자 인어: 갈색 피부","tags":["갈색 피부","남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","인어","해저"]},{"tone":4,"emoji":"🧜🏾‍♂️","version":5,"annotation":"남자 인어: 진한 갈색 피부","tags":["남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","인어","진한 갈색 피부","해저"]},{"tone":5,"emoji":"🧜🏿‍♂️","version":5,"annotation":"남자 인어: 검은색 피부","tags":["검은색 피부","남자 인어","동화","민속","바다 생물","삼지창","세이렌","심해","인어","해저"]}]},{"emoji":"🧜‍♀️","group":1,"order":1836,"tags":["동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"],"version":5,"annotation":"여자 인어","shortcodes":["mermaid"],"skins":[{"tone":1,"emoji":"🧜🏻‍♀️","version":5,"annotation":"여자 인어: 하얀 피부","tags":["동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","하얀 피부","해저"]},{"tone":2,"emoji":"🧜🏼‍♀️","version":5,"annotation":"여자 인어: 연한 갈색 피부","tags":["동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","연한 갈색 피부","인어","해저"]},{"tone":3,"emoji":"🧜🏽‍♀️","version":5,"annotation":"여자 인어: 갈색 피부","tags":["갈색 피부","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"]},{"tone":4,"emoji":"🧜🏾‍♀️","version":5,"annotation":"여자 인어: 진한 갈색 피부","tags":["동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","진한 갈색 피부","해저"]},{"tone":5,"emoji":"🧜🏿‍♀️","version":5,"annotation":"여자 인어: 검은색 피부","tags":["검은색 피부","동화","민속","바다 생물","삼지창","세이렌","심해","여자 인어","인어","해저"]}]},{"emoji":"🧝","group":1,"order":1848,"tags":["마법","신화","엘프","요정","전설","판타지"],"version":5,"annotation":"엘프","shortcodes":["elf"],"skins":[{"tone":1,"emoji":"🧝🏻","version":5,"annotation":"엘프: 하얀 피부","tags":["마법","신화","엘프","요정","전설","판타지","하얀 피부"]},{"tone":2,"emoji":"🧝🏼","version":5,"annotation":"엘프: 연한 갈색 피부","tags":["마법","신화","엘프","연한 갈색 피부","요정","전설","판타지"]},{"tone":3,"emoji":"🧝🏽","version":5,"annotation":"엘프: 갈색 피부","tags":["갈색 피부","마법","신화","엘프","요정","전설","판타지"]},{"tone":4,"emoji":"🧝🏾","version":5,"annotation":"엘프: 진한 갈색 피부","tags":["마법","신화","엘프","요정","전설","진한 갈색 피부","판타지"]},{"tone":5,"emoji":"🧝🏿","version":5,"annotation":"엘프: 검은색 피부","tags":["검은색 피부","마법","신화","엘프","요정","전설","판타지"]}]},{"emoji":"🧝‍♂️","group":1,"order":1854,"tags":["남자 엘프","마법","신화","엘프","요정","전설","판타지"],"version":5,"annotation":"남자 엘프","shortcodes":["man_elf"],"skins":[{"tone":1,"emoji":"🧝🏻‍♂️","version":5,"annotation":"남자 엘프: 하얀 피부","tags":["남자 엘프","마법","신화","엘프","요정","전설","판타지","하얀 피부"]},{"tone":2,"emoji":"🧝🏼‍♂️","version":5,"annotation":"남자 엘프: 연한 갈색 피부","tags":["남자 엘프","마법","신화","엘프","연한 갈색 피부","요정","전설","판타지"]},{"tone":3,"emoji":"🧝🏽‍♂️","version":5,"annotation":"남자 엘프: 갈색 피부","tags":["갈색 피부","남자 엘프","마법","신화","엘프","요정","전설","판타지"]},{"tone":4,"emoji":"🧝🏾‍♂️","version":5,"annotation":"남자 엘프: 진한 갈색 피부","tags":["남자 엘프","마법","신화","엘프","요정","전설","진한 갈색 피부","판타지"]},{"tone":5,"emoji":"🧝🏿‍♂️","version":5,"annotation":"남자 엘프: 검은색 피부","tags":["검은색 피부","남자 엘프","마법","신화","엘프","요정","전설","판타지"]}]},{"emoji":"🧝‍♀️","group":1,"order":1866,"tags":["마법","신화","엘프","여자 엘프","요정","전설","판타지"],"version":5,"annotation":"여자 엘프","shortcodes":["woman_elf"],"skins":[{"tone":1,"emoji":"🧝🏻‍♀️","version":5,"annotation":"여자 엘프: 하얀 피부","tags":["마법","신화","엘프","여자 엘프","요정","전설","판타지","하얀 피부"]},{"tone":2,"emoji":"🧝🏼‍♀️","version":5,"annotation":"여자 엘프: 연한 갈색 피부","tags":["마법","신화","엘프","여자 엘프","연한 갈색 피부","요정","전설","판타지"]},{"tone":3,"emoji":"🧝🏽‍♀️","version":5,"annotation":"여자 엘프: 갈색 피부","tags":["갈색 피부","마법","신화","엘프","여자 엘프","요정","전설","판타지"]},{"tone":4,"emoji":"🧝🏾‍♀️","version":5,"annotation":"여자 엘프: 진한 갈색 피부","tags":["마법","신화","엘프","여자 엘프","요정","전설","진한 갈색 피부","판타지"]},{"tone":5,"emoji":"🧝🏿‍♀️","version":5,"annotation":"여자 엘프: 검은색 피부","tags":["검은색 피부","마법","신화","엘프","여자 엘프","요정","전설","판타지"]}]},{"emoji":"🧞","group":1,"order":1878,"tags":["램프 문지르기","소원","정령","지니","판타지"],"version":5,"annotation":"지니","shortcodes":["genie"]},{"emoji":"🧞‍♂️","group":1,"order":1879,"tags":["남자 지니","램프 문지르기","소원","정령","지니","판타지"],"version":5,"annotation":"남자 지니","shortcodes":["man_genie"]},{"emoji":"🧞‍♀️","group":1,"order":1881,"tags":["램프 문지르기","소원","여자 지니","정령","지니","판타지"],"version":5,"annotation":"여자 지니","shortcodes":["woman_genie"]},{"emoji":"🧟","group":1,"order":1883,"tags":["공포","아포칼립스","언데드","워킹 데드","좀비","할로윈","호러"],"version":5,"annotation":"좀비","emoticon":"8#","shortcodes":["zombie"]},{"emoji":"🧟‍♂️","group":1,"order":1884,"tags":["공포","남자 좀비","아포칼립스","언데드","워킹 데드","좀비","할로윈","호러"],"version":5,"annotation":"남자 좀비","shortcodes":["man_zombie"]},{"emoji":"🧟‍♀️","group":1,"order":1886,"tags":["공포","아포칼립스","언데드","여자 좀비","워킹 데드","좀비","할로윈","호러"],"version":5,"annotation":"여자 좀비","shortcodes":["woman_zombie"]},{"emoji":"🧌","group":1,"order":1888,"tags":["괴물","동화","몬스터","트롤","트롤링","판타지"],"version":14,"annotation":"트롤","shortcodes":["troll"]},{"emoji":"💆","group":1,"order":1889,"tags":["경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","요법","이완","치료","테라피","트리트먼트"],"version":0.6,"annotation":"마사지 받는 사람","shortcodes":["massage","person_getting_massage"],"skins":[{"tone":1,"emoji":"💆🏻","version":1,"annotation":"마사지 받는 사람: 하얀 피부","tags":["경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","요법","이완","치료","테라피","트리트먼트","하얀 피부"]},{"tone":2,"emoji":"💆🏼","version":1,"annotation":"마사지 받는 사람: 연한 갈색 피부","tags":["경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","연한 갈색 피부","요법","이완","치료","테라피","트리트먼트"]},{"tone":3,"emoji":"💆🏽","version":1,"annotation":"마사지 받는 사람: 갈색 피부","tags":["갈색 피부","경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","요법","이완","치료","테라피","트리트먼트"]},{"tone":4,"emoji":"💆🏾","version":1,"annotation":"마사지 받는 사람: 진한 갈색 피부","tags":["경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","요법","이완","진한 갈색 피부","치료","테라피","트리트먼트"]},{"tone":5,"emoji":"💆🏿","version":1,"annotation":"마사지 받는 사람: 검은색 피부","tags":["검은색 피부","경락","골치아픔","긴장","두통","마사지","마사지 받는 사람","마사지를 받는 사람","매끈","살롱","스파","얼굴","요법","이완","치료","테라피","트리트먼트"]}]},{"emoji":"💆‍♂️","group":1,"order":1895,"tags":["관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","완화","지압"],"version":4,"annotation":"마사지 받는 남자","shortcodes":["man_getting_massage"],"skins":[{"tone":1,"emoji":"💆🏻‍♂️","version":4,"annotation":"마사지 받는 남자: 하얀 피부","tags":["관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","완화","지압","하얀 피부"]},{"tone":2,"emoji":"💆🏼‍♂️","version":4,"annotation":"마사지 받는 남자: 연한 갈색 피부","tags":["관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","연한 갈색 피부","완화","지압"]},{"tone":3,"emoji":"💆🏽‍♂️","version":4,"annotation":"마사지 받는 남자: 갈색 피부","tags":["갈색 피부","관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","완화","지압"]},{"tone":4,"emoji":"💆🏾‍♂️","version":4,"annotation":"마사지 받는 남자: 진한 갈색 피부","tags":["관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","완화","지압","진한 갈색 피부"]},{"tone":5,"emoji":"💆🏿‍♂️","version":4,"annotation":"마사지 받는 남자: 검은색 피부","tags":["검은색 피부","관자놀이","두통","마사지","마사지 받는 남자","살롱","얼굴","완화","지압"]}]},{"emoji":"💆‍♀️","group":1,"order":1907,"tags":["관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","완화","지압"],"version":4,"annotation":"마사지 받는 여자","shortcodes":["woman_getting_massage"],"skins":[{"tone":1,"emoji":"💆🏻‍♀️","version":4,"annotation":"마사지 받는 여자: 하얀 피부","tags":["관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","완화","지압","하얀 피부"]},{"tone":2,"emoji":"💆🏼‍♀️","version":4,"annotation":"마사지 받는 여자: 연한 갈색 피부","tags":["관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","연한 갈색 피부","완화","지압"]},{"tone":3,"emoji":"💆🏽‍♀️","version":4,"annotation":"마사지 받는 여자: 갈색 피부","tags":["갈색 피부","관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","완화","지압"]},{"tone":4,"emoji":"💆🏾‍♀️","version":4,"annotation":"마사지 받는 여자: 진한 갈색 피부","tags":["관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","완화","지압","진한 갈색 피부"]},{"tone":5,"emoji":"💆🏿‍♀️","version":4,"annotation":"마사지 받는 여자: 검은색 피부","tags":["검은색 피부","관자놀이","두통","마사지","마사지 받는 여자","살롱","얼굴","완화","지압"]}]},{"emoji":"💇","group":1,"order":1919,"tags":["가위와 빗","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","이발","이발소","헤어스타일","헤어컷"],"version":0.6,"annotation":"헤어컷","shortcodes":["haircut","person_getting_haircut"],"skins":[{"tone":1,"emoji":"💇🏻","version":1,"annotation":"헤어컷: 하얀 피부","tags":["가위와 빗","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","이발","이발소","하얀 피부","헤어스타일","헤어컷"]},{"tone":2,"emoji":"💇🏼","version":1,"annotation":"헤어컷: 연한 갈색 피부","tags":["가위와 빗","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","연한 갈색 피부","이발","이발소","헤어스타일","헤어컷"]},{"tone":3,"emoji":"💇🏽","version":1,"annotation":"헤어컷: 갈색 피부","tags":["가위와 빗","갈색 피부","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","이발","이발소","헤어스타일","헤어컷"]},{"tone":4,"emoji":"💇🏾","version":1,"annotation":"헤어컷: 진한 갈색 피부","tags":["가위와 빗","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","이발","이발소","진한 갈색 피부","헤어스타일","헤어컷"]},{"tone":5,"emoji":"💇🏿","version":1,"annotation":"헤어컷: 검은색 피부","tags":["가위와 빗","검은색 피부","머리 깎기","머리 손질","머리 정돈","머리카락","머리카락 자름","머리카락을 자르는 사람","미용","미용실","뷰티","스타일","이발","이발소","헤어스타일","헤어컷"]}]},{"emoji":"💇‍♂️","group":1,"order":1925,"tags":["가위","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","헤어컷"],"version":4,"annotation":"남자 헤어컷","shortcodes":["man_getting_haircut"],"skins":[{"tone":1,"emoji":"💇🏻‍♂️","version":4,"annotation":"남자 헤어컷: 하얀 피부","tags":["가위","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","하얀 피부","헤어컷"]},{"tone":2,"emoji":"💇🏼‍♂️","version":4,"annotation":"남자 헤어컷: 연한 갈색 피부","tags":["가위","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","연한 갈색 피부","헤어컷"]},{"tone":3,"emoji":"💇🏽‍♂️","version":4,"annotation":"남자 헤어컷: 갈색 피부","tags":["가위","갈색 피부","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","헤어컷"]},{"tone":4,"emoji":"💇🏾‍♂️","version":4,"annotation":"남자 헤어컷: 진한 갈색 피부","tags":["가위","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","진한 갈색 피부","헤어컷"]},{"tone":5,"emoji":"💇🏿‍♂️","version":4,"annotation":"남자 헤어컷: 검은색 피부","tags":["가위","검은색 피부","남자 헤어컷","머리카락 자르는 남자","미용","미용실","뷰티","스타일","헤어컷"]}]},{"emoji":"💇‍♀️","group":1,"order":1937,"tags":["가위","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","헤어컷"],"version":4,"annotation":"여자 헤어컷","shortcodes":["woman_getting_haircut"],"skins":[{"tone":1,"emoji":"💇🏻‍♀️","version":4,"annotation":"여자 헤어컷: 하얀 피부","tags":["가위","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","하얀 피부","헤어컷"]},{"tone":2,"emoji":"💇🏼‍♀️","version":4,"annotation":"여자 헤어컷: 연한 갈색 피부","tags":["가위","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","연한 갈색 피부","헤어컷"]},{"tone":3,"emoji":"💇🏽‍♀️","version":4,"annotation":"여자 헤어컷: 갈색 피부","tags":["가위","갈색 피부","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","헤어컷"]},{"tone":4,"emoji":"💇🏾‍♀️","version":4,"annotation":"여자 헤어컷: 진한 갈색 피부","tags":["가위","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","진한 갈색 피부","헤어컷"]},{"tone":5,"emoji":"💇🏿‍♀️","version":4,"annotation":"여자 헤어컷: 검은색 피부","tags":["가위","검은색 피부","머리카락 자르는 여자","미용","미용실","뷰티","스타일","여자 헤어컷","헤어컷"]}]},{"emoji":"🚶","group":1,"order":1949,"tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","하이크","하이킹"],"version":0.6,"annotation":"보행자","shortcodes":["person_walking","walking"],"skins":[{"tone":1,"emoji":"🚶🏻","version":1,"annotation":"보행자: 하얀 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","하얀 피부","하이크","하이킹"]},{"tone":2,"emoji":"🚶🏼","version":1,"annotation":"보행자: 연한 갈색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","연한 갈색 피부","하이크","하이킹"]},{"tone":3,"emoji":"🚶🏽","version":1,"annotation":"보행자: 갈색 피부","tags":["갈색 피부","걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","하이크","하이킹"]},{"tone":4,"emoji":"🚶🏾","version":1,"annotation":"보행자: 진한 갈색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","진한 갈색 피부","하이크","하이킹"]},{"tone":5,"emoji":"🚶🏿","version":1,"annotation":"보행자: 검은색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","검은색 피부","돌아다니기","보행자","보행자용","산책","하이크","하이킹"]}]},{"emoji":"🚶‍♂️","group":1,"order":1955,"tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하이킹"],"version":4,"annotation":"걷는 남자","shortcodes":["man_walking"],"skins":[{"tone":1,"emoji":"🚶🏻‍♂️","version":4,"annotation":"걷는 남자: 하얀 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하얀 피부","하이킹"]},{"tone":2,"emoji":"🚶🏼‍♂️","version":4,"annotation":"걷는 남자: 연한 갈색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","연한 갈색 피부","워킹","하이킹"]},{"tone":3,"emoji":"🚶🏽‍♂️","version":4,"annotation":"걷는 남자: 갈색 피부","tags":["갈색 피부","걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하이킹"]},{"tone":4,"emoji":"🚶🏾‍♂️","version":4,"annotation":"걷는 남자: 진한 갈색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","진한 갈색 피부","하이킹"]},{"tone":5,"emoji":"🚶🏿‍♂️","version":4,"annotation":"걷는 남자: 검은색 피부","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","검은색 피부","도보","돌아다니기","보행자","산책","워킹","하이킹"]}]},{"emoji":"🚶‍♀️","group":1,"order":1967,"tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하이킹"],"version":4,"annotation":"걷는 여자","shortcodes":["woman_walking"],"skins":[{"tone":1,"emoji":"🚶🏻‍♀️","version":4,"annotation":"걷는 여자: 하얀 피부","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하얀 피부","하이킹"]},{"tone":2,"emoji":"🚶🏼‍♀️","version":4,"annotation":"걷는 여자: 연한 갈색 피부","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","연한 갈색 피부","워킹","하이킹"]},{"tone":3,"emoji":"🚶🏽‍♀️","version":4,"annotation":"걷는 여자: 갈색 피부","tags":["갈색 피부","걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","하이킹"]},{"tone":4,"emoji":"🚶🏾‍♀️","version":4,"annotation":"걷는 여자: 진한 갈색 피부","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","워킹","진한 갈색 피부","하이킹"]},{"tone":5,"emoji":"🚶🏿‍♀️","version":4,"annotation":"걷는 여자: 검은색 피부","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","검은색 피부","도보","돌아다니기","보행자","산책","워킹","하이킹"]}]},{"emoji":"🚶‍➡️","group":1,"order":1979,"tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","오른쪽을","하이크","하이킹","향한"],"version":15.1,"annotation":"보행자: 오른쪽을 향한","shortcodes":["person_walking_right"],"skins":[{"tone":1,"emoji":"🚶🏻‍➡️","version":15.1,"annotation":"보행자: 하얀 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","오른쪽을","하얀 피부","하이크","하이킹","향한"]},{"tone":2,"emoji":"🚶🏼‍➡️","version":15.1,"annotation":"보행자: 연한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","연한 갈색 피부","오른쪽을","하이크","하이킹","향한"]},{"tone":3,"emoji":"🚶🏽‍➡️","version":15.1,"annotation":"보행자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","오른쪽을","하이크","하이킹","향한"]},{"tone":4,"emoji":"🚶🏾‍➡️","version":15.1,"annotation":"보행자: 진한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","돌아다니기","보행자","보행자용","산책","오른쪽을","진한 갈색 피부","하이크","하이킹","향한"]},{"tone":5,"emoji":"🚶🏿‍➡️","version":15.1,"annotation":"보행자: 검은색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","검은색 피부","돌아다니기","보행자","보행자용","산책","오른쪽을","하이크","하이킹","향한"]}]},{"emoji":"🚶‍♀️‍➡️","group":1,"order":1991,"tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"],"version":15.1,"annotation":"걷는 여자: 오른쪽을 향한","shortcodes":["woman_walking_right"],"skins":[{"tone":1,"emoji":"🚶🏻‍♀️‍➡️","version":15.1,"annotation":"걷는 여자: 하얀 피부 오른쪽을 향한","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하얀 피부","하이킹","향한"]},{"tone":2,"emoji":"🚶🏼‍♀️‍➡️","version":15.1,"annotation":"걷는 여자: 연한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","연한 갈색 피부","오른쪽을","워킹","하이킹","향한"]},{"tone":3,"emoji":"🚶🏽‍♀️‍➡️","version":15.1,"annotation":"걷는 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"]},{"tone":4,"emoji":"🚶🏾‍♀️‍➡️","version":15.1,"annotation":"걷는 여자: 진한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","진한 갈색 피부","하이킹","향한"]},{"tone":5,"emoji":"🚶🏿‍♀️‍➡️","version":15.1,"annotation":"걷는 여자: 검은색 피부 오른쪽을 향한","tags":["걷기","걷는 사람","걷는 여자","걸어가는 사람","검은색 피부","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"]}]},{"emoji":"🚶‍♂️‍➡️","group":1,"order":2015,"tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"],"version":15.1,"annotation":"걷는 남자: 오른쪽을 향한","shortcodes":["man_walking_right"],"skins":[{"tone":1,"emoji":"🚶🏻‍♂️‍➡️","version":15.1,"annotation":"걷는 남자: 하얀 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하얀 피부","하이킹","향한"]},{"tone":2,"emoji":"🚶🏼‍♂️‍➡️","version":15.1,"annotation":"걷는 남자: 연한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","연한 갈색 피부","오른쪽을","워킹","하이킹","향한"]},{"tone":3,"emoji":"🚶🏽‍♂️‍➡️","version":15.1,"annotation":"걷는 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"]},{"tone":4,"emoji":"🚶🏾‍♂️‍➡️","version":15.1,"annotation":"걷는 남자: 진한 갈색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","도보","돌아다니기","보행자","산책","오른쪽을","워킹","진한 갈색 피부","하이킹","향한"]},{"tone":5,"emoji":"🚶🏿‍♂️‍➡️","version":15.1,"annotation":"걷는 남자: 검은색 피부 오른쪽을 향한","tags":["걷기","걷는 남자","걷는 사람","걸어가는 사람","검은색 피부","도보","돌아다니기","보행자","산책","오른쪽을","워킹","하이킹","향한"]}]},{"emoji":"🧍","group":1,"order":2039,"tags":["서 있는","서 있는 사람"],"version":12,"annotation":"서 있는 사람","shortcodes":["person_standing","standing"],"skins":[{"tone":1,"emoji":"🧍🏻","version":12,"annotation":"서 있는 사람: 하얀 피부","tags":["서 있는","서 있는 사람","하얀 피부"]},{"tone":2,"emoji":"🧍🏼","version":12,"annotation":"서 있는 사람: 연한 갈색 피부","tags":["서 있는","서 있는 사람","연한 갈색 피부"]},{"tone":3,"emoji":"🧍🏽","version":12,"annotation":"서 있는 사람: 갈색 피부","tags":["갈색 피부","서 있는","서 있는 사람"]},{"tone":4,"emoji":"🧍🏾","version":12,"annotation":"서 있는 사람: 진한 갈색 피부","tags":["서 있는","서 있는 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🧍🏿","version":12,"annotation":"서 있는 사람: 검은색 피부","tags":["검은색 피부","서 있는","서 있는 사람"]}]},{"emoji":"🧍‍♂️","group":1,"order":2045,"tags":["남자","서 있는","서 있는 남자"],"version":12,"annotation":"서 있는 남자","shortcodes":["man_standing"],"skins":[{"tone":1,"emoji":"🧍🏻‍♂️","version":12,"annotation":"서 있는 남자: 하얀 피부","tags":["남자","서 있는","서 있는 남자","하얀 피부"]},{"tone":2,"emoji":"🧍🏼‍♂️","version":12,"annotation":"서 있는 남자: 연한 갈색 피부","tags":["남자","서 있는","서 있는 남자","연한 갈색 피부"]},{"tone":3,"emoji":"🧍🏽‍♂️","version":12,"annotation":"서 있는 남자: 갈색 피부","tags":["갈색 피부","남자","서 있는","서 있는 남자"]},{"tone":4,"emoji":"🧍🏾‍♂️","version":12,"annotation":"서 있는 남자: 진한 갈색 피부","tags":["남자","서 있는","서 있는 남자","진한 갈색 피부"]},{"tone":5,"emoji":"🧍🏿‍♂️","version":12,"annotation":"서 있는 남자: 검은색 피부","tags":["검은색 피부","남자","서 있는","서 있는 남자"]}]},{"emoji":"🧍‍♀️","group":1,"order":2057,"tags":["서 있는","서 있는 여자","여자"],"version":12,"annotation":"서 있는 여자","shortcodes":["woman_standing"],"skins":[{"tone":1,"emoji":"🧍🏻‍♀️","version":12,"annotation":"서 있는 여자: 하얀 피부","tags":["서 있는","서 있는 여자","여자","하얀 피부"]},{"tone":2,"emoji":"🧍🏼‍♀️","version":12,"annotation":"서 있는 여자: 연한 갈색 피부","tags":["서 있는","서 있는 여자","여자","연한 갈색 피부"]},{"tone":3,"emoji":"🧍🏽‍♀️","version":12,"annotation":"서 있는 여자: 갈색 피부","tags":["갈색 피부","서 있는","서 있는 여자","여자"]},{"tone":4,"emoji":"🧍🏾‍♀️","version":12,"annotation":"서 있는 여자: 진한 갈색 피부","tags":["서 있는","서 있는 여자","여자","진한 갈색 피부"]},{"tone":5,"emoji":"🧍🏿‍♀️","version":12,"annotation":"서 있는 여자: 검은색 피부","tags":["검은색 피부","서 있는","서 있는 여자","여자"]}]},{"emoji":"🧎","group":1,"order":2069,"tags":["무릎을 꿇은","무릎을 꿇은 사람"],"version":12,"annotation":"무릎을 꿇은 사람","shortcodes":["kneeling","person_kneeling"],"skins":[{"tone":1,"emoji":"🧎🏻","version":12,"annotation":"무릎을 꿇은 사람: 하얀 피부","tags":["무릎을 꿇은","무릎을 꿇은 사람","하얀 피부"]},{"tone":2,"emoji":"🧎🏼","version":12,"annotation":"무릎을 꿇은 사람: 연한 갈색 피부","tags":["무릎을 꿇은","무릎을 꿇은 사람","연한 갈색 피부"]},{"tone":3,"emoji":"🧎🏽","version":12,"annotation":"무릎을 꿇은 사람: 갈색 피부","tags":["갈색 피부","무릎을 꿇은","무릎을 꿇은 사람"]},{"tone":4,"emoji":"🧎🏾","version":12,"annotation":"무릎을 꿇은 사람: 진한 갈색 피부","tags":["무릎을 꿇은","무릎을 꿇은 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🧎🏿","version":12,"annotation":"무릎을 꿇은 사람: 검은색 피부","tags":["검은색 피부","무릎을 꿇은","무릎을 꿇은 사람"]}]},{"emoji":"🧎‍♂️","group":1,"order":2075,"tags":["남자","무릎을 꿇은","무릎을 꿇은 남자"],"version":12,"annotation":"무릎을 꿇은 남자","shortcodes":["man_kneeling"],"skins":[{"tone":1,"emoji":"🧎🏻‍♂️","version":12,"annotation":"무릎을 꿇은 남자: 하얀 피부","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","하얀 피부"]},{"tone":2,"emoji":"🧎🏼‍♂️","version":12,"annotation":"무릎을 꿇은 남자: 연한 갈색 피부","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","연한 갈색 피부"]},{"tone":3,"emoji":"🧎🏽‍♂️","version":12,"annotation":"무릎을 꿇은 남자: 갈색 피부","tags":["갈색 피부","남자","무릎을 꿇은","무릎을 꿇은 남자"]},{"tone":4,"emoji":"🧎🏾‍♂️","version":12,"annotation":"무릎을 꿇은 남자: 진한 갈색 피부","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","진한 갈색 피부"]},{"tone":5,"emoji":"🧎🏿‍♂️","version":12,"annotation":"무릎을 꿇은 남자: 검은색 피부","tags":["검은색 피부","남자","무릎을 꿇은","무릎을 꿇은 남자"]}]},{"emoji":"🧎‍♀️","group":1,"order":2087,"tags":["무릎을 꿇은","무릎을 꿇은 여자","여자"],"version":12,"annotation":"무릎을 꿇은 여자","shortcodes":["woman_kneeling"],"skins":[{"tone":1,"emoji":"🧎🏻‍♀️","version":12,"annotation":"무릎을 꿇은 여자: 하얀 피부","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","하얀 피부"]},{"tone":2,"emoji":"🧎🏼‍♀️","version":12,"annotation":"무릎을 꿇은 여자: 연한 갈색 피부","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","연한 갈색 피부"]},{"tone":3,"emoji":"🧎🏽‍♀️","version":12,"annotation":"무릎을 꿇은 여자: 갈색 피부","tags":["갈색 피부","무릎을 꿇은","무릎을 꿇은 여자","여자"]},{"tone":4,"emoji":"🧎🏾‍♀️","version":12,"annotation":"무릎을 꿇은 여자: 진한 갈색 피부","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","진한 갈색 피부"]},{"tone":5,"emoji":"🧎🏿‍♀️","version":12,"annotation":"무릎을 꿇은 여자: 검은색 피부","tags":["검은색 피부","무릎을 꿇은","무릎을 꿇은 여자","여자"]}]},{"emoji":"🧎‍➡️","group":1,"order":2099,"tags":["무릎을 꿇은","무릎을 꿇은 사람","오른쪽을","향한"],"version":15.1,"annotation":"무릎을 꿇은 사람: 오른쪽을 향한","shortcodes":["person_kneeling_right"],"skins":[{"tone":1,"emoji":"🧎🏻‍➡️","version":15.1,"annotation":"무릎을 꿇은 사람: 하얀 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 사람","오른쪽을","하얀 피부","향한"]},{"tone":2,"emoji":"🧎🏼‍➡️","version":15.1,"annotation":"무릎을 꿇은 사람: 연한 갈색 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 사람","연한 갈색 피부","오른쪽을","향한"]},{"tone":3,"emoji":"🧎🏽‍➡️","version":15.1,"annotation":"무릎을 꿇은 사람: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","무릎을 꿇은","무릎을 꿇은 사람","오른쪽을","향한"]},{"tone":4,"emoji":"🧎🏾‍➡️","version":15.1,"annotation":"무릎을 꿇은 사람: 진한 갈색 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 사람","오른쪽을","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧎🏿‍➡️","version":15.1,"annotation":"무릎을 꿇은 사람: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","무릎을 꿇은","무릎을 꿇은 사람","오른쪽을","향한"]}]},{"emoji":"🧎‍♀️‍➡️","group":1,"order":2111,"tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","오른쪽을","향한"],"version":15.1,"annotation":"무릎을 꿇은 여자: 오른쪽을 향한","shortcodes":["woman_kneeling_right"],"skins":[{"tone":1,"emoji":"🧎🏻‍♀️‍➡️","version":15.1,"annotation":"무릎을 꿇은 여자: 하얀 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","오른쪽을","하얀 피부","향한"]},{"tone":2,"emoji":"🧎🏼‍♀️‍➡️","version":15.1,"annotation":"무릎을 꿇은 여자: 연한 갈색 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","연한 갈색 피부","오른쪽을","향한"]},{"tone":3,"emoji":"🧎🏽‍♀️‍➡️","version":15.1,"annotation":"무릎을 꿇은 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","무릎을 꿇은","무릎을 꿇은 여자","여자","오른쪽을","향한"]},{"tone":4,"emoji":"🧎🏾‍♀️‍➡️","version":15.1,"annotation":"무릎을 꿇은 여자: 진한 갈색 피부 오른쪽을 향한","tags":["무릎을 꿇은","무릎을 꿇은 여자","여자","오른쪽을","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧎🏿‍♀️‍➡️","version":15.1,"annotation":"무릎을 꿇은 여자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","무릎을 꿇은","무릎을 꿇은 여자","여자","오른쪽을","향한"]}]},{"emoji":"🧎‍♂️‍➡️","group":1,"order":2135,"tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","오른쪽을","향한"],"version":15.1,"annotation":"무릎을 꿇은 남자: 오른쪽을 향한","shortcodes":["man_kneeling_right"],"skins":[{"tone":1,"emoji":"🧎🏻‍♂️‍➡️","version":15.1,"annotation":"무릎을 꿇은 남자: 하얀 피부 오른쪽을 향한","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","오른쪽을","하얀 피부","향한"]},{"tone":2,"emoji":"🧎🏼‍♂️‍➡️","version":15.1,"annotation":"무릎을 꿇은 남자: 연한 갈색 피부 오른쪽을 향한","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","연한 갈색 피부","오른쪽을","향한"]},{"tone":3,"emoji":"🧎🏽‍♂️‍➡️","version":15.1,"annotation":"무릎을 꿇은 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","남자","무릎을 꿇은","무릎을 꿇은 남자","오른쪽을","향한"]},{"tone":4,"emoji":"🧎🏾‍♂️‍➡️","version":15.1,"annotation":"무릎을 꿇은 남자: 진한 갈색 피부 오른쪽을 향한","tags":["남자","무릎을 꿇은","무릎을 꿇은 남자","오른쪽을","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧎🏿‍♂️‍➡️","version":15.1,"annotation":"무릎을 꿇은 남자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","남자","무릎을 꿇은","무릎을 꿇은 남자","오른쪽을","향한"]}]},{"emoji":"🧑‍🦯","group":1,"order":2159,"tags":["시각장애","접근성","지팡이를 든 사람"],"version":12.1,"annotation":"지팡이를 든 사람","shortcodes":["person_with_probing_cane","person_with_white_cane"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦯","version":12.1,"annotation":"지팡이를 든 사람: 하얀 피부","tags":["시각장애","접근성","지팡이를 든 사람","하얀 피부"]},{"tone":2,"emoji":"🧑🏼‍🦯","version":12.1,"annotation":"지팡이를 든 사람: 연한 갈색 피부","tags":["시각장애","연한 갈색 피부","접근성","지팡이를 든 사람"]},{"tone":3,"emoji":"🧑🏽‍🦯","version":12.1,"annotation":"지팡이를 든 사람: 갈색 피부","tags":["갈색 피부","시각장애","접근성","지팡이를 든 사람"]},{"tone":4,"emoji":"🧑🏾‍🦯","version":12.1,"annotation":"지팡이를 든 사람: 진한 갈색 피부","tags":["시각장애","접근성","지팡이를 든 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🧑🏿‍🦯","version":12.1,"annotation":"지팡이를 든 사람: 검은색 피부","tags":["검은색 피부","시각장애","접근성","지팡이를 든 사람"]}]},{"emoji":"🧑‍🦯‍➡️","group":1,"order":2165,"tags":["시각장애","오른쪽을","접근성","지팡이를 든 사람","향한"],"version":15.1,"annotation":"지팡이를 든 사람: 오른쪽을 향한","shortcodes":["person_with_white_cane_right"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 사람: 하얀 피부 오른쪽을 향한","tags":["시각장애","오른쪽을","접근성","지팡이를 든 사람","하얀 피부","향한"]},{"tone":2,"emoji":"🧑🏼‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 사람: 연한 갈색 피부 오른쪽을 향한","tags":["시각장애","연한 갈색 피부","오른쪽을","접근성","지팡이를 든 사람","향한"]},{"tone":3,"emoji":"🧑🏽‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 사람: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","시각장애","오른쪽을","접근성","지팡이를 든 사람","향한"]},{"tone":4,"emoji":"🧑🏾‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 사람: 진한 갈색 피부 오른쪽을 향한","tags":["시각장애","오른쪽을","접근성","지팡이를 든 사람","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧑🏿‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 사람: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","시각장애","오른쪽을","접근성","지팡이를 든 사람","향한"]}]},{"emoji":"👨‍🦯","group":1,"order":2177,"tags":["남자","시각장애","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인"],"version":12,"annotation":"지팡이를 든 남자","shortcodes":["man_with_probing_cane","man_with_white_cane"],"skins":[{"tone":1,"emoji":"👨🏻‍🦯","version":12,"annotation":"지팡이를 든 남자: 하얀 피부","tags":["남자","시각장애","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","하얀 피부"]},{"tone":2,"emoji":"👨🏼‍🦯","version":12,"annotation":"지팡이를 든 남자: 연한 갈색 피부","tags":["남자","시각장애","연한 갈색 피부","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인"]},{"tone":3,"emoji":"👨🏽‍🦯","version":12,"annotation":"지팡이를 든 남자: 갈색 피부","tags":["갈색 피부","남자","시각장애","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인"]},{"tone":4,"emoji":"👨🏾‍🦯","version":12,"annotation":"지팡이를 든 남자: 진한 갈색 피부","tags":["남자","시각장애","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","진한 갈색 피부"]},{"tone":5,"emoji":"👨🏿‍🦯","version":12,"annotation":"지팡이를 든 남자: 검은색 피부","tags":["검은색 피부","남자","시각장애","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인"]}]},{"emoji":"👨‍🦯‍➡️","group":1,"order":2183,"tags":["남자","시각장애","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","향한"],"version":15.1,"annotation":"지팡이를 든 남자: 오른쪽을 향한","shortcodes":["man_with_white_cane_right"],"skins":[{"tone":1,"emoji":"👨🏻‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 남자: 하얀 피부 오른쪽을 향한","tags":["남자","시각장애","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","하얀 피부","향한"]},{"tone":2,"emoji":"👨🏼‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 남자: 연한 갈색 피부 오른쪽을 향한","tags":["남자","시각장애","연한 갈색 피부","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","향한"]},{"tone":3,"emoji":"👨🏽‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","남자","시각장애","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","향한"]},{"tone":4,"emoji":"👨🏾‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 남자: 진한 갈색 피부 오른쪽을 향한","tags":["남자","시각장애","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","진한 갈색 피부","향한"]},{"tone":5,"emoji":"👨🏿‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 남자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","남자","시각장애","오른쪽을","접근성","지팡이를 든 남자","지팡이를 든 남자 시각장애인","향한"]}]},{"emoji":"👩‍🦯","group":1,"order":2195,"tags":["시각장애","여자","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인"],"version":12,"annotation":"지팡이를 든 여자","shortcodes":["woman_with_probing_cane","woman_with_white_cane"],"skins":[{"tone":1,"emoji":"👩🏻‍🦯","version":12,"annotation":"지팡이를 든 여자: 하얀 피부","tags":["시각장애","여자","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","하얀 피부"]},{"tone":2,"emoji":"👩🏼‍🦯","version":12,"annotation":"지팡이를 든 여자: 연한 갈색 피부","tags":["시각장애","여자","연한 갈색 피부","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인"]},{"tone":3,"emoji":"👩🏽‍🦯","version":12,"annotation":"지팡이를 든 여자: 갈색 피부","tags":["갈색 피부","시각장애","여자","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인"]},{"tone":4,"emoji":"👩🏾‍🦯","version":12,"annotation":"지팡이를 든 여자: 진한 갈색 피부","tags":["시각장애","여자","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","진한 갈색 피부"]},{"tone":5,"emoji":"👩🏿‍🦯","version":12,"annotation":"지팡이를 든 여자: 검은색 피부","tags":["검은색 피부","시각장애","여자","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인"]}]},{"emoji":"👩‍🦯‍➡️","group":1,"order":2201,"tags":["시각장애","여자","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","향한"],"version":15.1,"annotation":"지팡이를 든 여자: 오른쪽을 향한","shortcodes":["woman_with_white_cane_right"],"skins":[{"tone":1,"emoji":"👩🏻‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 여자: 하얀 피부 오른쪽을 향한","tags":["시각장애","여자","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","하얀 피부","향한"]},{"tone":2,"emoji":"👩🏼‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 여자: 연한 갈색 피부 오른쪽을 향한","tags":["시각장애","여자","연한 갈색 피부","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","향한"]},{"tone":3,"emoji":"👩🏽‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","시각장애","여자","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","향한"]},{"tone":4,"emoji":"👩🏾‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 여자: 진한 갈색 피부 오른쪽을 향한","tags":["시각장애","여자","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","진한 갈색 피부","향한"]},{"tone":5,"emoji":"👩🏿‍🦯‍➡️","version":15.1,"annotation":"지팡이를 든 여자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","시각장애","여자","오른쪽을","접근성","지팡이를 든 여자","지팡이를 든 여자 시각장애인","향한"]}]},{"emoji":"🧑‍🦼","group":1,"order":2213,"tags":["전동 휠체어","전동 휠체어를 탄 사람","접근성"],"version":12.1,"annotation":"전동 휠체어를 탄 사람","shortcodes":["person_in_motorized_wheelchair"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦼","version":12.1,"annotation":"전동 휠체어를 탄 사람: 하얀 피부","tags":["전동 휠체어","전동 휠체어를 탄 사람","접근성","하얀 피부"]},{"tone":2,"emoji":"🧑🏼‍🦼","version":12.1,"annotation":"전동 휠체어를 탄 사람: 연한 갈색 피부","tags":["연한 갈색 피부","전동 휠체어","전동 휠체어를 탄 사람","접근성"]},{"tone":3,"emoji":"🧑🏽‍🦼","version":12.1,"annotation":"전동 휠체어를 탄 사람: 갈색 피부","tags":["갈색 피부","전동 휠체어","전동 휠체어를 탄 사람","접근성"]},{"tone":4,"emoji":"🧑🏾‍🦼","version":12.1,"annotation":"전동 휠체어를 탄 사람: 진한 갈색 피부","tags":["전동 휠체어","전동 휠체어를 탄 사람","접근성","진한 갈색 피부"]},{"tone":5,"emoji":"🧑🏿‍🦼","version":12.1,"annotation":"전동 휠체어를 탄 사람: 검은색 피부","tags":["검은색 피부","전동 휠체어","전동 휠체어를 탄 사람","접근성"]}]},{"emoji":"🧑‍🦼‍➡️","group":1,"order":2219,"tags":["오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","향한"],"version":15.1,"annotation":"전동 휠체어를 탄 사람: 오른쪽을 향한","shortcodes":["person_in_motorized_wheelchair_right"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 사람: 하얀 피부 오른쪽을 향한","tags":["오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","하얀 피부","향한"]},{"tone":2,"emoji":"🧑🏼‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 사람: 연한 갈색 피부 오른쪽을 향한","tags":["연한 갈색 피부","오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","향한"]},{"tone":3,"emoji":"🧑🏽‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 사람: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","향한"]},{"tone":4,"emoji":"🧑🏾‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 사람: 진한 갈색 피부 오른쪽을 향한","tags":["오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧑🏿‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 사람: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","오른쪽을","전동 휠체어","전동 휠체어를 탄 사람","접근성","향한"]}]},{"emoji":"👨‍🦼","group":1,"order":2231,"tags":["남자","전동 휠체어를 탄 남자","접근성","휠체어"],"version":12,"annotation":"전동 휠체어를 탄 남자","shortcodes":["man_in_motorized_wheelchair"],"skins":[{"tone":1,"emoji":"👨🏻‍🦼","version":12,"annotation":"전동 휠체어를 탄 남자: 하얀 피부","tags":["남자","전동 휠체어를 탄 남자","접근성","하얀 피부","휠체어"]},{"tone":2,"emoji":"👨🏼‍🦼","version":12,"annotation":"전동 휠체어를 탄 남자: 연한 갈색 피부","tags":["남자","연한 갈색 피부","전동 휠체어를 탄 남자","접근성","휠체어"]},{"tone":3,"emoji":"👨🏽‍🦼","version":12,"annotation":"전동 휠체어를 탄 남자: 갈색 피부","tags":["갈색 피부","남자","전동 휠체어를 탄 남자","접근성","휠체어"]},{"tone":4,"emoji":"👨🏾‍🦼","version":12,"annotation":"전동 휠체어를 탄 남자: 진한 갈색 피부","tags":["남자","전동 휠체어를 탄 남자","접근성","진한 갈색 피부","휠체어"]},{"tone":5,"emoji":"👨🏿‍🦼","version":12,"annotation":"전동 휠체어를 탄 남자: 검은색 피부","tags":["검은색 피부","남자","전동 휠체어를 탄 남자","접근성","휠체어"]}]},{"emoji":"👨‍🦼‍➡️","group":1,"order":2237,"tags":["남자","오른쪽을","전동 휠체어를 탄 남자","접근성","향한","휠체어"],"version":15.1,"annotation":"전동 휠체어를 탄 남자: 오른쪽을 향한","shortcodes":["man_in_motorized_wheelchair_right"],"skins":[{"tone":1,"emoji":"👨🏻‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 남자: 하얀 피부 오른쪽을 향한","tags":["남자","오른쪽을","전동 휠체어를 탄 남자","접근성","하얀 피부","향한","휠체어"]},{"tone":2,"emoji":"👨🏼‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 남자: 연한 갈색 피부 오른쪽을 향한","tags":["남자","연한 갈색 피부","오른쪽을","전동 휠체어를 탄 남자","접근성","향한","휠체어"]},{"tone":3,"emoji":"👨🏽‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","남자","오른쪽을","전동 휠체어를 탄 남자","접근성","향한","휠체어"]},{"tone":4,"emoji":"👨🏾‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 남자: 진한 갈색 피부 오른쪽을 향한","tags":["남자","오른쪽을","전동 휠체어를 탄 남자","접근성","진한 갈색 피부","향한","휠체어"]},{"tone":5,"emoji":"👨🏿‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 남자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","남자","오른쪽을","전동 휠체어를 탄 남자","접근성","향한","휠체어"]}]},{"emoji":"👩‍🦼","group":1,"order":2249,"tags":["여자","전동 휠체어를 탄 여자","접근성","휠체어"],"version":12,"annotation":"전동 휠체어를 탄 여자","shortcodes":["woman_in_motorized_wheelchair"],"skins":[{"tone":1,"emoji":"👩🏻‍🦼","version":12,"annotation":"전동 휠체어를 탄 여자: 하얀 피부","tags":["여자","전동 휠체어를 탄 여자","접근성","하얀 피부","휠체어"]},{"tone":2,"emoji":"👩🏼‍🦼","version":12,"annotation":"전동 휠체어를 탄 여자: 연한 갈색 피부","tags":["여자","연한 갈색 피부","전동 휠체어를 탄 여자","접근성","휠체어"]},{"tone":3,"emoji":"👩🏽‍🦼","version":12,"annotation":"전동 휠체어를 탄 여자: 갈색 피부","tags":["갈색 피부","여자","전동 휠체어를 탄 여자","접근성","휠체어"]},{"tone":4,"emoji":"👩🏾‍🦼","version":12,"annotation":"전동 휠체어를 탄 여자: 진한 갈색 피부","tags":["여자","전동 휠체어를 탄 여자","접근성","진한 갈색 피부","휠체어"]},{"tone":5,"emoji":"👩🏿‍🦼","version":12,"annotation":"전동 휠체어를 탄 여자: 검은색 피부","tags":["검은색 피부","여자","전동 휠체어를 탄 여자","접근성","휠체어"]}]},{"emoji":"👩‍🦼‍➡️","group":1,"order":2255,"tags":["여자","오른쪽을","전동 휠체어를 탄 여자","접근성","향한","휠체어"],"version":15.1,"annotation":"전동 휠체어를 탄 여자: 오른쪽을 향한","shortcodes":["woman_in_motorized_wheelchair_right"],"skins":[{"tone":1,"emoji":"👩🏻‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 여자: 하얀 피부 오른쪽을 향한","tags":["여자","오른쪽을","전동 휠체어를 탄 여자","접근성","하얀 피부","향한","휠체어"]},{"tone":2,"emoji":"👩🏼‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 여자: 연한 갈색 피부 오른쪽을 향한","tags":["여자","연한 갈색 피부","오른쪽을","전동 휠체어를 탄 여자","접근성","향한","휠체어"]},{"tone":3,"emoji":"👩🏽‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","여자","오른쪽을","전동 휠체어를 탄 여자","접근성","향한","휠체어"]},{"tone":4,"emoji":"👩🏾‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 여자: 진한 갈색 피부 오른쪽을 향한","tags":["여자","오른쪽을","전동 휠체어를 탄 여자","접근성","진한 갈색 피부","향한","휠체어"]},{"tone":5,"emoji":"👩🏿‍🦼‍➡️","version":15.1,"annotation":"전동 휠체어를 탄 여자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","여자","오른쪽을","전동 휠체어를 탄 여자","접근성","향한","휠체어"]}]},{"emoji":"🧑‍🦽","group":1,"order":2267,"tags":["수동 휠체어","수동 휠체어를 탄 사람","접근성"],"version":12.1,"annotation":"수동 휠체어를 탄 사람","shortcodes":["person_in_manual_wheelchair"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦽","version":12.1,"annotation":"수동 휠체어를 탄 사람: 하얀 피부","tags":["수동 휠체어","수동 휠체어를 탄 사람","접근성","하얀 피부"]},{"tone":2,"emoji":"🧑🏼‍🦽","version":12.1,"annotation":"수동 휠체어를 탄 사람: 연한 갈색 피부","tags":["수동 휠체어","수동 휠체어를 탄 사람","연한 갈색 피부","접근성"]},{"tone":3,"emoji":"🧑🏽‍🦽","version":12.1,"annotation":"수동 휠체어를 탄 사람: 갈색 피부","tags":["갈색 피부","수동 휠체어","수동 휠체어를 탄 사람","접근성"]},{"tone":4,"emoji":"🧑🏾‍🦽","version":12.1,"annotation":"수동 휠체어를 탄 사람: 진한 갈색 피부","tags":["수동 휠체어","수동 휠체어를 탄 사람","접근성","진한 갈색 피부"]},{"tone":5,"emoji":"🧑🏿‍🦽","version":12.1,"annotation":"수동 휠체어를 탄 사람: 검은색 피부","tags":["검은색 피부","수동 휠체어","수동 휠체어를 탄 사람","접근성"]}]},{"emoji":"🧑‍🦽‍➡️","group":1,"order":2273,"tags":["수동 휠체어","수동 휠체어를 탄 사람","오른쪽을","접근성","향한"],"version":15.1,"annotation":"수동 휠체어를 탄 사람: 오른쪽을 향한","shortcodes":["person_in_manual_wheelchair_right"],"skins":[{"tone":1,"emoji":"🧑🏻‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 사람: 하얀 피부 오른쪽을 향한","tags":["수동 휠체어","수동 휠체어를 탄 사람","오른쪽을","접근성","하얀 피부","향한"]},{"tone":2,"emoji":"🧑🏼‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 사람: 연한 갈색 피부 오른쪽을 향한","tags":["수동 휠체어","수동 휠체어를 탄 사람","연한 갈색 피부","오른쪽을","접근성","향한"]},{"tone":3,"emoji":"🧑🏽‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 사람: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","수동 휠체어","수동 휠체어를 탄 사람","오른쪽을","접근성","향한"]},{"tone":4,"emoji":"🧑🏾‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 사람: 진한 갈색 피부 오른쪽을 향한","tags":["수동 휠체어","수동 휠체어를 탄 사람","오른쪽을","접근성","진한 갈색 피부","향한"]},{"tone":5,"emoji":"🧑🏿‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 사람: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","수동 휠체어","수동 휠체어를 탄 사람","오른쪽을","접근성","향한"]}]},{"emoji":"👨‍🦽","group":1,"order":2285,"tags":["남자","수동 휠체어를 탄 남자","접근성","휠체어"],"version":12,"annotation":"수동 휠체어를 탄 남자","shortcodes":["man_in_manual_wheelchair"],"skins":[{"tone":1,"emoji":"👨🏻‍🦽","version":12,"annotation":"수동 휠체어를 탄 남자: 하얀 피부","tags":["남자","수동 휠체어를 탄 남자","접근성","하얀 피부","휠체어"]},{"tone":2,"emoji":"👨🏼‍🦽","version":12,"annotation":"수동 휠체어를 탄 남자: 연한 갈색 피부","tags":["남자","수동 휠체어를 탄 남자","연한 갈색 피부","접근성","휠체어"]},{"tone":3,"emoji":"👨🏽‍🦽","version":12,"annotation":"수동 휠체어를 탄 남자: 갈색 피부","tags":["갈색 피부","남자","수동 휠체어를 탄 남자","접근성","휠체어"]},{"tone":4,"emoji":"👨🏾‍🦽","version":12,"annotation":"수동 휠체어를 탄 남자: 진한 갈색 피부","tags":["남자","수동 휠체어를 탄 남자","접근성","진한 갈색 피부","휠체어"]},{"tone":5,"emoji":"👨🏿‍🦽","version":12,"annotation":"수동 휠체어를 탄 남자: 검은색 피부","tags":["검은색 피부","남자","수동 휠체어를 탄 남자","접근성","휠체어"]}]},{"emoji":"👨‍🦽‍➡️","group":1,"order":2291,"tags":["남자","수동 휠체어를 탄 남자","오른쪽을","접근성","향한","휠체어"],"version":15.1,"annotation":"수동 휠체어를 탄 남자: 오른쪽을 향한","shortcodes":["man_in_manual_wheelchair_right"],"skins":[{"tone":1,"emoji":"👨🏻‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 남자: 하얀 피부 오른쪽을 향한","tags":["남자","수동 휠체어를 탄 남자","오른쪽을","접근성","하얀 피부","향한","휠체어"]},{"tone":2,"emoji":"👨🏼‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 남자: 연한 갈색 피부 오른쪽을 향한","tags":["남자","수동 휠체어를 탄 남자","연한 갈색 피부","오른쪽을","접근성","향한","휠체어"]},{"tone":3,"emoji":"👨🏽‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","남자","수동 휠체어를 탄 남자","오른쪽을","접근성","향한","휠체어"]},{"tone":4,"emoji":"👨🏾‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 남자: 진한 갈색 피부 오른쪽을 향한","tags":["남자","수동 휠체어를 탄 남자","오른쪽을","접근성","진한 갈색 피부","향한","휠체어"]},{"tone":5,"emoji":"👨🏿‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 남자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","남자","수동 휠체어를 탄 남자","오른쪽을","접근성","향한","휠체어"]}]},{"emoji":"👩‍🦽","group":1,"order":2303,"tags":["수동 휠체어를 탄 여자","여자","접근성","휠체어"],"version":12,"annotation":"수동 휠체어를 탄 여자","shortcodes":["woman_in_manual_wheelchair"],"skins":[{"tone":1,"emoji":"👩🏻‍🦽","version":12,"annotation":"수동 휠체어를 탄 여자: 하얀 피부","tags":["수동 휠체어를 탄 여자","여자","접근성","하얀 피부","휠체어"]},{"tone":2,"emoji":"👩🏼‍🦽","version":12,"annotation":"수동 휠체어를 탄 여자: 연한 갈색 피부","tags":["수동 휠체어를 탄 여자","여자","연한 갈색 피부","접근성","휠체어"]},{"tone":3,"emoji":"👩🏽‍🦽","version":12,"annotation":"수동 휠체어를 탄 여자: 갈색 피부","tags":["갈색 피부","수동 휠체어를 탄 여자","여자","접근성","휠체어"]},{"tone":4,"emoji":"👩🏾‍🦽","version":12,"annotation":"수동 휠체어를 탄 여자: 진한 갈색 피부","tags":["수동 휠체어를 탄 여자","여자","접근성","진한 갈색 피부","휠체어"]},{"tone":5,"emoji":"👩🏿‍🦽","version":12,"annotation":"수동 휠체어를 탄 여자: 검은색 피부","tags":["검은색 피부","수동 휠체어를 탄 여자","여자","접근성","휠체어"]}]},{"emoji":"👩‍🦽‍➡️","group":1,"order":2309,"tags":["수동 휠체어를 탄 여자","여자","오른쪽을","접근성","향한","휠체어"],"version":15.1,"annotation":"수동 휠체어를 탄 여자: 오른쪽을 향한","shortcodes":["woman_in_manual_wheelchair_right"],"skins":[{"tone":1,"emoji":"👩🏻‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 여자: 하얀 피부 오른쪽을 향한","tags":["수동 휠체어를 탄 여자","여자","오른쪽을","접근성","하얀 피부","향한","휠체어"]},{"tone":2,"emoji":"👩🏼‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 여자: 연한 갈색 피부 오른쪽을 향한","tags":["수동 휠체어를 탄 여자","여자","연한 갈색 피부","오른쪽을","접근성","향한","휠체어"]},{"tone":3,"emoji":"👩🏽‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","수동 휠체어를 탄 여자","여자","오른쪽을","접근성","향한","휠체어"]},{"tone":4,"emoji":"👩🏾‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 여자: 진한 갈색 피부 오른쪽을 향한","tags":["수동 휠체어를 탄 여자","여자","오른쪽을","접근성","진한 갈색 피부","향한","휠체어"]},{"tone":5,"emoji":"👩🏿‍🦽‍➡️","version":15.1,"annotation":"수동 휠체어를 탄 여자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","수동 휠체어를 탄 여자","여자","오른쪽을","접근성","향한","휠체어"]}]},{"emoji":"🏃","group":1,"order":2321,"tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","이동","질주"],"version":0.6,"annotation":"뛰는 사람","shortcodes":["person_running","running"],"skins":[{"tone":1,"emoji":"🏃🏻","version":1,"annotation":"뛰는 사람: 하얀 피부","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","이동","질주","하얀 피부"]},{"tone":2,"emoji":"🏃🏼","version":1,"annotation":"뛰는 사람: 연한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","연한 갈색 피부","이동","질주"]},{"tone":3,"emoji":"🏃🏽","version":1,"annotation":"뛰는 사람: 갈색 피부","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","이동","질주"]},{"tone":4,"emoji":"🏃🏾","version":1,"annotation":"뛰는 사람: 진한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","이동","진한 갈색 피부","질주"]},{"tone":5,"emoji":"🏃🏿","version":1,"annotation":"뛰는 사람: 검은색 피부","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","이동","질주"]}]},{"emoji":"🏃‍♂️","group":1,"order":2327,"tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","이동","질주"],"version":4,"annotation":"뛰는 남자","shortcodes":["man_running"],"skins":[{"tone":1,"emoji":"🏃🏻‍♂️","version":4,"annotation":"뛰는 남자: 하얀 피부","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","이동","질주","하얀 피부"]},{"tone":2,"emoji":"🏃🏼‍♂️","version":4,"annotation":"뛰는 남자: 연한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","연한 갈색 피부","이동","질주"]},{"tone":3,"emoji":"🏃🏽‍♂️","version":4,"annotation":"뛰는 남자: 갈색 피부","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","이동","질주"]},{"tone":4,"emoji":"🏃🏾‍♂️","version":4,"annotation":"뛰는 남자: 진한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","이동","진한 갈색 피부","질주"]},{"tone":5,"emoji":"🏃🏿‍♂️","version":4,"annotation":"뛰는 남자: 검은색 피부","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","이동","질주"]}]},{"emoji":"🏃‍♀️","group":1,"order":2339,"tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","이동","질주"],"version":4,"annotation":"뛰는 여자","shortcodes":["woman_running"],"skins":[{"tone":1,"emoji":"🏃🏻‍♀️","version":4,"annotation":"뛰는 여자: 하얀 피부","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","이동","질주","하얀 피부"]},{"tone":2,"emoji":"🏃🏼‍♀️","version":4,"annotation":"뛰는 여자: 연한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","연한 갈색 피부","이동","질주"]},{"tone":3,"emoji":"🏃🏽‍♀️","version":4,"annotation":"뛰는 여자: 갈색 피부","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","이동","질주"]},{"tone":4,"emoji":"🏃🏾‍♀️","version":4,"annotation":"뛰는 여자: 진한 갈색 피부","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","이동","진한 갈색 피부","질주"]},{"tone":5,"emoji":"🏃🏿‍♀️","version":4,"annotation":"뛰는 여자: 검은색 피부","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","이동","질주"]}]},{"emoji":"🏃‍➡️","group":1,"order":2351,"tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","오른쪽을","이동","질주","향한"],"version":15.1,"annotation":"뛰는 사람: 오른쪽을 향한","shortcodes":["person_running_right"],"skins":[{"tone":1,"emoji":"🏃🏻‍➡️","version":15.1,"annotation":"뛰는 사람: 하얀 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","오른쪽을","이동","질주","하얀 피부","향한"]},{"tone":2,"emoji":"🏃🏼‍➡️","version":15.1,"annotation":"뛰는 사람: 연한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","연한 갈색 피부","오른쪽을","이동","질주","향한"]},{"tone":3,"emoji":"🏃🏽‍➡️","version":15.1,"annotation":"뛰는 사람: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","오른쪽을","이동","질주","향한"]},{"tone":4,"emoji":"🏃🏾‍➡️","version":15.1,"annotation":"뛰는 사람: 진한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","오른쪽을","이동","진한 갈색 피부","질주","향한"]},{"tone":5,"emoji":"🏃🏿‍➡️","version":15.1,"annotation":"뛰는 사람: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 사람","런닝","마라토너","마라톤","마라톤 선수","빨리","서두르는","속도","신속","오른쪽을","이동","질주","향한"]}]},{"emoji":"🏃‍♀️‍➡️","group":1,"order":2363,"tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"],"version":15.1,"annotation":"뛰는 여자: 오른쪽을 향한","shortcodes":["woman_running_right"],"skins":[{"tone":1,"emoji":"🏃🏻‍♀️‍➡️","version":15.1,"annotation":"뛰는 여자: 하얀 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","하얀 피부","향한"]},{"tone":2,"emoji":"🏃🏼‍♀️‍➡️","version":15.1,"annotation":"뛰는 여자: 연한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","연한 갈색 피부","오른쪽을","이동","질주","향한"]},{"tone":3,"emoji":"🏃🏽‍♀️‍➡️","version":15.1,"annotation":"뛰는 여자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"]},{"tone":4,"emoji":"🏃🏾‍♀️‍➡️","version":15.1,"annotation":"뛰는 여자: 진한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","진한 갈색 피부","질주","향한"]},{"tone":5,"emoji":"🏃🏿‍♀️‍➡️","version":15.1,"annotation":"뛰는 여자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 여자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"]}]},{"emoji":"🏃‍♂️‍➡️","group":1,"order":2387,"tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"],"version":15.1,"annotation":"뛰는 남자: 오른쪽을 향한","shortcodes":["man_running_right"],"skins":[{"tone":1,"emoji":"🏃🏻‍♂️‍➡️","version":15.1,"annotation":"뛰는 남자: 하얀 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","하얀 피부","향한"]},{"tone":2,"emoji":"🏃🏼‍♂️‍➡️","version":15.1,"annotation":"뛰는 남자: 연한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","연한 갈색 피부","오른쪽을","이동","질주","향한"]},{"tone":3,"emoji":"🏃🏽‍♂️‍➡️","version":15.1,"annotation":"뛰는 남자: 갈색 피부 오른쪽을 향한","tags":["갈색 피부","경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"]},{"tone":4,"emoji":"🏃🏾‍♂️‍➡️","version":15.1,"annotation":"뛰는 남자: 진한 갈색 피부 오른쪽을 향한","tags":["경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","진한 갈색 피부","질주","향한"]},{"tone":5,"emoji":"🏃🏿‍♂️‍➡️","version":15.1,"annotation":"뛰는 남자: 검은색 피부 오른쪽을 향한","tags":["검은색 피부","경기","급한","달리기","뛰기","뛰는 남자","런닝","마라톤","빨리","서두르는","속도","오른쪽을","이동","질주","향한"]}]},{"emoji":"💃","group":1,"order":2411,"tags":["그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","재능","축제","춤","춤추는 여자","탱고","플라멩고"],"version":0.6,"annotation":"여자 댄서","shortcodes":["dancer","woman_dancing"],"skins":[{"tone":1,"emoji":"💃🏻","version":1,"annotation":"여자 댄서: 하얀 피부","tags":["그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","재능","축제","춤","춤추는 여자","탱고","플라멩고","하얀 피부"]},{"tone":2,"emoji":"💃🏼","version":1,"annotation":"여자 댄서: 연한 갈색 피부","tags":["그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","연한 갈색 피부","재능","축제","춤","춤추는 여자","탱고","플라멩고"]},{"tone":3,"emoji":"💃🏽","version":1,"annotation":"여자 댄서: 갈색 피부","tags":["갈색 피부","그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","재능","축제","춤","춤추는 여자","탱고","플라멩고"]},{"tone":4,"emoji":"💃🏾","version":1,"annotation":"여자 댄서: 진한 갈색 피부","tags":["그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","재능","진한 갈색 피부","축제","춤","춤추는 여자","탱고","플라멩고"]},{"tone":5,"emoji":"💃🏿","version":1,"annotation":"여자 댄서: 검은색 피부","tags":["검은색 피부","그루브","다함께 춤춰요","댄서","댄스","댄싱","살사","엘레강스","여성","여자","재능","축제","춤","춤추는 여자","탱고","플라멩고"]}]},{"emoji":"🕺","group":1,"order":2417,"tags":["같이 춤춰요","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","우아한","재능","축제","춤","춤추는 남자","탱고","플라멩고"],"version":3,"annotation":"남자 댄서","shortcodes":["man_dancing"],"skins":[{"tone":1,"emoji":"🕺🏻","version":3,"annotation":"남자 댄서: 하얀 피부","tags":["같이 춤춰요","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","우아한","재능","축제","춤","춤추는 남자","탱고","플라멩고","하얀 피부"]},{"tone":2,"emoji":"🕺🏼","version":3,"annotation":"남자 댄서: 연한 갈색 피부","tags":["같이 춤춰요","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","연한 갈색 피부","우아한","재능","축제","춤","춤추는 남자","탱고","플라멩고"]},{"tone":3,"emoji":"🕺🏽","version":3,"annotation":"남자 댄서: 갈색 피부","tags":["갈색 피부","같이 춤춰요","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","우아한","재능","축제","춤","춤추는 남자","탱고","플라멩고"]},{"tone":4,"emoji":"🕺🏾","version":3,"annotation":"남자 댄서: 진한 갈색 피부","tags":["같이 춤춰요","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","우아한","재능","진한 갈색 피부","축제","춤","춤추는 남자","탱고","플라멩고"]},{"tone":5,"emoji":"🕺🏿","version":3,"annotation":"남자 댄서: 검은색 피부","tags":["같이 춤춰요","검은색 피부","그루브","남성","남자","댄서","댄스","댄싱","살사","여자","우아한","재능","축제","춤","춤추는 남자","탱고","플라멩고"]}]},{"emoji":"🕴️","group":1,"order":2424,"tags":["공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","정장"],"version":0.7,"annotation":"공중에 떠 있는 정장 입은 남자","shortcodes":["levitate","levitating","person_in_suit_levitating"],"skins":[{"tone":1,"emoji":"🕴🏻","version":4,"annotation":"공중에 떠 있는 정장 입은 남자: 하얀 피부","tags":["공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","정장","하얀 피부"]},{"tone":2,"emoji":"🕴🏼","version":4,"annotation":"공중에 떠 있는 정장 입은 남자: 연한 갈색 피부","tags":["공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","연한 갈색 피부","정장"]},{"tone":3,"emoji":"🕴🏽","version":4,"annotation":"공중에 떠 있는 정장 입은 남자: 갈색 피부","tags":["갈색 피부","공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","정장"]},{"tone":4,"emoji":"🕴🏾","version":4,"annotation":"공중에 떠 있는 정장 입은 남자: 진한 갈색 피부","tags":["공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","정장","진한 갈색 피부"]},{"tone":5,"emoji":"🕴🏿","version":4,"annotation":"공중에 떠 있는 정장 입은 남자: 검은색 피부","tags":["검은색 피부","공중부양","공중에 떠 있는 정장 입은 남자","남자","비즈니스","정장"]}]},{"emoji":"👯","group":1,"order":2430,"tags":["단짝","댄서","더블","바니걸","베스트프렌드","베프","소울메이트","쌍둥이","짝꿍","토끼 귀","토끼 귀를 쓰고 춤추는 사람들","파티"],"version":0.6,"annotation":"토끼 귀를 쓰고 춤추는 사람들","shortcodes":["dancers","people_with_bunny_ears_partying"]},{"emoji":"👯‍♂️","group":1,"order":2431,"tags":["귀","남자","댄서","두 남자","토끼","토끼 귀를 쓰고 춤추는 남자들","파티"],"version":4,"annotation":"토끼 귀를 쓰고 춤추는 남자들","shortcodes":["men_with_bunny_ears_partying"]},{"emoji":"👯‍♀️","group":1,"order":2433,"tags":["단짝","댄서","더블","바니걸","베스트프렌드","베프","소울메이트","쌍둥이","짝꿍","토끼 귀","토끼 귀를 쓰고 춤추는 여자들","파티"],"version":4,"annotation":"토끼 귀를 쓰고 춤추는 여자들","shortcodes":["women_with_bunny_ears_partying"]},{"emoji":"🧖","group":1,"order":2435,"tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","휴식","휴양"],"version":5,"annotation":"사우나 하는 사람","shortcodes":["person_in_steamy_room"],"skins":[{"tone":1,"emoji":"🧖🏻","version":5,"annotation":"사우나 하는 사람: 하얀 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","하얀 피부","휴식","휴양"]},{"tone":2,"emoji":"🧖🏼","version":5,"annotation":"사우나 하는 사람: 연한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","연한 갈색 피부","휴식","휴양"]},{"tone":3,"emoji":"🧖🏽","version":5,"annotation":"사우나 하는 사람: 갈색 피부","tags":["갈색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","휴식","휴양"]},{"tone":4,"emoji":"🧖🏾","version":5,"annotation":"사우나 하는 사람: 진한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","진한 갈색 피부","휴식","휴양"]},{"tone":5,"emoji":"🧖🏿","version":5,"annotation":"사우나 하는 사람: 검은색 피부","tags":["검은색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 사람","스파","휴식","휴양"]}]},{"emoji":"🧖‍♂️","group":1,"order":2441,"tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","휴식","휴양"],"version":5,"annotation":"사우나 하는 남자","shortcodes":["man_in_steamy_room"],"skins":[{"tone":1,"emoji":"🧖🏻‍♂️","version":5,"annotation":"사우나 하는 남자: 하얀 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","하얀 피부","휴식","휴양"]},{"tone":2,"emoji":"🧖🏼‍♂️","version":5,"annotation":"사우나 하는 남자: 연한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","연한 갈색 피부","휴식","휴양"]},{"tone":3,"emoji":"🧖🏽‍♂️","version":5,"annotation":"사우나 하는 남자: 갈색 피부","tags":["갈색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","휴식","휴양"]},{"tone":4,"emoji":"🧖🏾‍♂️","version":5,"annotation":"사우나 하는 남자: 진한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","진한 갈색 피부","휴식","휴양"]},{"tone":5,"emoji":"🧖🏿‍♂️","version":5,"annotation":"사우나 하는 남자: 검은색 피부","tags":["검은색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 남자","스파","휴식","휴양"]}]},{"emoji":"🧖‍♀️","group":1,"order":2453,"tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","휴식","휴양"],"version":5,"annotation":"사우나 하는 여자","shortcodes":["woman_in_steamy_room"],"skins":[{"tone":1,"emoji":"🧖🏻‍♀️","version":5,"annotation":"사우나 하는 여자: 하얀 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","하얀 피부","휴식","휴양"]},{"tone":2,"emoji":"🧖🏼‍♀️","version":5,"annotation":"사우나 하는 여자: 연한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","연한 갈색 피부","휴식","휴양"]},{"tone":3,"emoji":"🧖🏽‍♀️","version":5,"annotation":"사우나 하는 여자: 갈색 피부","tags":["갈색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","휴식","휴양"]},{"tone":4,"emoji":"🧖🏾‍♀️","version":5,"annotation":"사우나 하는 여자: 진한 갈색 피부","tags":["데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","진한 갈색 피부","휴식","휴양"]},{"tone":5,"emoji":"🧖🏿‍♀️","version":5,"annotation":"사우나 하는 여자: 검은색 피부","tags":["검은색 피부","데이 스파","럭셔리","목욕","사우나","사우나 하는 여자","스파","휴식","휴양"]}]},{"emoji":"🧗","group":1,"order":2465,"tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 사람"],"version":5,"annotation":"클라이밍하는 사람","shortcodes":["climbing","person_climbing"],"skins":[{"tone":1,"emoji":"🧗🏻","version":5,"annotation":"클라이밍하는 사람: 하얀 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 사람","하얀 피부"]},{"tone":2,"emoji":"🧗🏼","version":5,"annotation":"클라이밍하는 사람: 연한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","연한 갈색 피부","클라이밍","클라이밍하는 사람"]},{"tone":3,"emoji":"🧗🏽","version":5,"annotation":"클라이밍하는 사람: 갈색 피부","tags":["갈색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 사람"]},{"tone":4,"emoji":"🧗🏾","version":5,"annotation":"클라이밍하는 사람: 진한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","진한 갈색 피부","클라이밍","클라이밍하는 사람"]},{"tone":5,"emoji":"🧗🏿","version":5,"annotation":"클라이밍하는 사람: 검은색 피부","tags":["검은색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 사람"]}]},{"emoji":"🧗‍♂️","group":1,"order":2471,"tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 남자"],"version":5,"annotation":"클라이밍하는 남자","shortcodes":["man_climbing"],"skins":[{"tone":1,"emoji":"🧗🏻‍♂️","version":5,"annotation":"클라이밍하는 남자: 하얀 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 남자","하얀 피부"]},{"tone":2,"emoji":"🧗🏼‍♂️","version":5,"annotation":"클라이밍하는 남자: 연한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","연한 갈색 피부","클라이밍","클라이밍하는 남자"]},{"tone":3,"emoji":"🧗🏽‍♂️","version":5,"annotation":"클라이밍하는 남자: 갈색 피부","tags":["갈색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 남자"]},{"tone":4,"emoji":"🧗🏾‍♂️","version":5,"annotation":"클라이밍하는 남자: 진한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","진한 갈색 피부","클라이밍","클라이밍하는 남자"]},{"tone":5,"emoji":"🧗🏿‍♂️","version":5,"annotation":"클라이밍하는 남자: 검은색 피부","tags":["검은색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 남자"]}]},{"emoji":"🧗‍♀️","group":1,"order":2483,"tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 여자"],"version":5,"annotation":"클라이밍하는 여자","shortcodes":["woman_climbing"],"skins":[{"tone":1,"emoji":"🧗🏻‍♀️","version":5,"annotation":"클라이밍하는 여자: 하얀 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 여자","하얀 피부"]},{"tone":2,"emoji":"🧗🏼‍♀️","version":5,"annotation":"클라이밍하는 여자: 연한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","연한 갈색 피부","클라이밍","클라이밍하는 여자"]},{"tone":3,"emoji":"🧗🏽‍♀️","version":5,"annotation":"클라이밍하는 여자: 갈색 피부","tags":["갈색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 여자"]},{"tone":4,"emoji":"🧗🏾‍♀️","version":5,"annotation":"클라이밍하는 여자: 진한 갈색 피부","tags":["등반","등산","등산가","산","암벽 등반","암벽 등반가","진한 갈색 피부","클라이밍","클라이밍하는 여자"]},{"tone":5,"emoji":"🧗🏿‍♀️","version":5,"annotation":"클라이밍하는 여자: 검은색 피부","tags":["검은색 피부","등반","등산","등산가","산","암벽 등반","암벽 등반가","클라이밍","클라이밍하는 여자"]}]},{"emoji":"🤺","group":1,"order":2495,"tags":["검","선수","스포츠","칼","펜싱","펜싱하는 사람"],"version":3,"annotation":"펜싱하는 사람","shortcodes":["fencer","fencing","person_fencing"]},{"emoji":"🏇","group":1,"order":2496,"tags":["경마","기수","레이싱","말","말과 기수","스포츠","승마","트리플 크라운"],"version":1,"annotation":"승마","shortcodes":["horse_racing"],"skins":[{"tone":1,"emoji":"🏇🏻","version":1,"annotation":"승마: 하얀 피부","tags":["경마","기수","레이싱","말","말과 기수","스포츠","승마","트리플 크라운","하얀 피부"]},{"tone":2,"emoji":"🏇🏼","version":1,"annotation":"승마: 연한 갈색 피부","tags":["경마","기수","레이싱","말","말과 기수","스포츠","승마","연한 갈색 피부","트리플 크라운"]},{"tone":3,"emoji":"🏇🏽","version":1,"annotation":"승마: 갈색 피부","tags":["갈색 피부","경마","기수","레이싱","말","말과 기수","스포츠","승마","트리플 크라운"]},{"tone":4,"emoji":"🏇🏾","version":1,"annotation":"승마: 진한 갈색 피부","tags":["경마","기수","레이싱","말","말과 기수","스포츠","승마","진한 갈색 피부","트리플 크라운"]},{"tone":5,"emoji":"🏇🏿","version":1,"annotation":"승마: 검은색 피부","tags":["검은색 피부","경마","기수","레이싱","말","말과 기수","스포츠","승마","트리플 크라운"]}]},{"emoji":"⛷️","group":1,"order":2503,"tags":["눈","스키","스키 타는 사람","스키타는 사람"],"version":0.7,"annotation":"스키 타는 사람","shortcodes":["person_skiing","skier","skiing"]},{"emoji":"🏂️","group":1,"order":2504,"tags":["눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","운동"],"version":0.6,"annotation":"스노보드 타는 사람","shortcodes":["person_snowboarding","snowboarder","snowboarding"],"skins":[{"tone":1,"emoji":"🏂🏻","version":1,"annotation":"스노보드 타는 사람: 하얀 피부","tags":["눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","운동","하얀 피부"]},{"tone":2,"emoji":"🏂🏼","version":1,"annotation":"스노보드 타는 사람: 연한 갈색 피부","tags":["눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","연한 갈색 피부","운동"]},{"tone":3,"emoji":"🏂🏽","version":1,"annotation":"스노보드 타는 사람: 갈색 피부","tags":["갈색 피부","눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","운동"]},{"tone":4,"emoji":"🏂🏾","version":1,"annotation":"스노보드 타는 사람: 진한 갈색 피부","tags":["눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","운동","진한 갈색 피부"]},{"tone":5,"emoji":"🏂🏿","version":1,"annotation":"스노보드 타는 사람: 검은색 피부","tags":["검은색 피부","눈","스노보더","스노보드","스노보드 타는 사람","스키","스포츠","운동"]}]},{"emoji":"🏌️","group":1,"order":2511,"tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","캐디","퍼트","필드"],"version":0.7,"annotation":"골프치는 사람","shortcodes":["golfer","golfing","person_golfing"],"skins":[{"tone":1,"emoji":"🏌🏻","version":4,"annotation":"골프치는 사람: 하얀 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","캐디","퍼트","필드","하얀 피부"]},{"tone":2,"emoji":"🏌🏼","version":4,"annotation":"골프치는 사람: 연한 갈색 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","연한 갈색 피부","캐디","퍼트","필드"]},{"tone":3,"emoji":"🏌🏽","version":4,"annotation":"골프치는 사람: 갈색 피부","tags":["갈색 피부","골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","캐디","퍼트","필드"]},{"tone":4,"emoji":"🏌🏾","version":4,"annotation":"골프치는 사람: 진한 갈색 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","진한 갈색 피부","캐디","퍼트","필드"]},{"tone":5,"emoji":"🏌🏿","version":4,"annotation":"골프치는 사람: 검은색 피부","tags":["검은색 피부","골퍼","골프","골프 선수","골프 연습장","골프치는 사람","골프티","공","그린","버디","캐디","퍼트","필드"]}]},{"emoji":"🏌️‍♂️","group":1,"order":2517,"tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","캐디","퍼트"],"version":4,"annotation":"골프치는 남자","shortcodes":["man_golfing"],"skins":[{"tone":1,"emoji":"🏌🏻‍♂️","version":4,"annotation":"골프치는 남자: 하얀 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","캐디","퍼트","하얀 피부"]},{"tone":2,"emoji":"🏌🏼‍♂️","version":4,"annotation":"골프치는 남자: 연한 갈색 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","연한 갈색 피부","캐디","퍼트"]},{"tone":3,"emoji":"🏌🏽‍♂️","version":4,"annotation":"골프치는 남자: 갈색 피부","tags":["갈색 피부","골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","캐디","퍼트"]},{"tone":4,"emoji":"🏌🏾‍♂️","version":4,"annotation":"골프치는 남자: 진한 갈색 피부","tags":["골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","진한 갈색 피부","캐디","퍼트"]},{"tone":5,"emoji":"🏌🏿‍♂️","version":4,"annotation":"골프치는 남자: 검은색 피부","tags":["검은색 피부","골퍼","골프","골프 선수","골프 연습장","골프치는 남자","골프티","공","그린","버디","스윙","캐디","퍼트"]}]},{"emoji":"🏌️‍♀️","group":1,"order":2531,"tags":["골프","골프선수","골프치는 여자","공","스윙"],"version":4,"annotation":"골프치는 여자","shortcodes":["woman_golfing"],"skins":[{"tone":1,"emoji":"🏌🏻‍♀️","version":4,"annotation":"골프치는 여자: 하얀 피부","tags":["골프","골프선수","골프치는 여자","공","스윙","하얀 피부"]},{"tone":2,"emoji":"🏌🏼‍♀️","version":4,"annotation":"골프치는 여자: 연한 갈색 피부","tags":["골프","골프선수","골프치는 여자","공","스윙","연한 갈색 피부"]},{"tone":3,"emoji":"🏌🏽‍♀️","version":4,"annotation":"골프치는 여자: 갈색 피부","tags":["갈색 피부","골프","골프선수","골프치는 여자","공","스윙"]},{"tone":4,"emoji":"🏌🏾‍♀️","version":4,"annotation":"골프치는 여자: 진한 갈색 피부","tags":["골프","골프선수","골프치는 여자","공","스윙","진한 갈색 피부"]},{"tone":5,"emoji":"🏌🏿‍♀️","version":4,"annotation":"골프치는 여자: 검은색 피부","tags":["검은색 피부","골프","골프선수","골프치는 여자","공","스윙"]}]},{"emoji":"🏄️","group":1,"order":2545,"tags":["바다","서퍼","서핑","서핑하는 사람","스포츠","파도","파도 타기","해변","해양"],"version":0.6,"annotation":"서핑하는 사람","shortcodes":["person_surfing","surfer","surfing"],"skins":[{"tone":1,"emoji":"🏄🏻","version":1,"annotation":"서핑하는 사람: 하얀 피부","tags":["바다","서퍼","서핑","서핑하는 사람","스포츠","파도","파도 타기","하얀 피부","해변","해양"]},{"tone":2,"emoji":"🏄🏼","version":1,"annotation":"서핑하는 사람: 연한 갈색 피부","tags":["바다","서퍼","서핑","서핑하는 사람","스포츠","연한 갈색 피부","파도","파도 타기","해변","해양"]},{"tone":3,"emoji":"🏄🏽","version":1,"annotation":"서핑하는 사람: 갈색 피부","tags":["갈색 피부","바다","서퍼","서핑","서핑하는 사람","스포츠","파도","파도 타기","해변","해양"]},{"tone":4,"emoji":"🏄🏾","version":1,"annotation":"서핑하는 사람: 진한 갈색 피부","tags":["바다","서퍼","서핑","서핑하는 사람","스포츠","진한 갈색 피부","파도","파도 타기","해변","해양"]},{"tone":5,"emoji":"🏄🏿","version":1,"annotation":"서핑하는 사람: 검은색 피부","tags":["검은색 피부","바다","서퍼","서핑","서핑하는 사람","스포츠","파도","파도 타기","해변","해양"]}]},{"emoji":"🏄‍♂️","group":1,"order":2551,"tags":["바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","파도","파도 타기","해변","해양"],"version":4,"annotation":"서핑하는 남자","shortcodes":["man_surfing"],"skins":[{"tone":1,"emoji":"🏄🏻‍♂️","version":4,"annotation":"서핑하는 남자: 하얀 피부","tags":["바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","파도","파도 타기","하얀 피부","해변","해양"]},{"tone":2,"emoji":"🏄🏼‍♂️","version":4,"annotation":"서핑하는 남자: 연한 갈색 피부","tags":["바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","연한 갈색 피부","파도","파도 타기","해변","해양"]},{"tone":3,"emoji":"🏄🏽‍♂️","version":4,"annotation":"서핑하는 남자: 갈색 피부","tags":["갈색 피부","바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","파도","파도 타기","해변","해양"]},{"tone":4,"emoji":"🏄🏾‍♂️","version":4,"annotation":"서핑하는 남자: 진한 갈색 피부","tags":["바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","진한 갈색 피부","파도","파도 타기","해변","해양"]},{"tone":5,"emoji":"🏄🏿‍♂️","version":4,"annotation":"서핑하는 남자: 검은색 피부","tags":["검은색 피부","바다","서퍼","서핑","서핑보드","서핑하는 남자","수상스포츠","스포츠","파도","파도 타기","해변","해양"]}]},{"emoji":"🏄‍♀️","group":1,"order":2563,"tags":["서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","파도","해변"],"version":4,"annotation":"서핑하는 여자","shortcodes":["woman_surfing"],"skins":[{"tone":1,"emoji":"🏄🏻‍♀️","version":4,"annotation":"서핑하는 여자: 하얀 피부","tags":["서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","파도","하얀 피부","해변"]},{"tone":2,"emoji":"🏄🏼‍♀️","version":4,"annotation":"서핑하는 여자: 연한 갈색 피부","tags":["서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","연한 갈색 피부","파도","해변"]},{"tone":3,"emoji":"🏄🏽‍♀️","version":4,"annotation":"서핑하는 여자: 갈색 피부","tags":["갈색 피부","서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","파도","해변"]},{"tone":4,"emoji":"🏄🏾‍♀️","version":4,"annotation":"서핑하는 여자: 진한 갈색 피부","tags":["서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","진한 갈색 피부","파도","해변"]},{"tone":5,"emoji":"🏄🏿‍♀️","version":4,"annotation":"서핑하는 여자: 검은색 피부","tags":["검은색 피부","서퍼","서핑","서핑보드","서핑하는 사람","서핑하는 여자","수상스포츠","스포츠","파도","해변"]}]},{"emoji":"🚣","group":1,"order":2575,"tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","카누","크루즈","호수"],"version":1,"annotation":"노젓는 사람","shortcodes":["person_rowing_boat","rowboat"],"skins":[{"tone":1,"emoji":"🚣🏻","version":1,"annotation":"노젓는 사람: 하얀 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","카누","크루즈","하얀 피부","호수"]},{"tone":2,"emoji":"🚣🏼","version":1,"annotation":"노젓는 사람: 연한 갈색 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","연한 갈색 피부","카누","크루즈","호수"]},{"tone":3,"emoji":"🚣🏽","version":1,"annotation":"노젓는 사람: 갈색 피부","tags":["갈색 피부","강","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","카누","크루즈","호수"]},{"tone":4,"emoji":"🚣🏾","version":1,"annotation":"노젓는 사람: 진한 갈색 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","진한 갈색 피부","카누","크루즈","호수"]},{"tone":5,"emoji":"🚣🏿","version":1,"annotation":"노젓는 사람: 검은색 피부","tags":["강","검은색 피부","낚시","노","노 젓기","노 젓는 보트","노젓는 사람","뗏목","보트","카누","크루즈","호수"]}]},{"emoji":"🚣‍♂️","group":1,"order":2581,"tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","카누","크루즈","호수"],"version":4,"annotation":"노젓는 남자","shortcodes":["man_rowing_boat"],"skins":[{"tone":1,"emoji":"🚣🏻‍♂️","version":4,"annotation":"노젓는 남자: 하얀 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","카누","크루즈","하얀 피부","호수"]},{"tone":2,"emoji":"🚣🏼‍♂️","version":4,"annotation":"노젓는 남자: 연한 갈색 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","연한 갈색 피부","카누","크루즈","호수"]},{"tone":3,"emoji":"🚣🏽‍♂️","version":4,"annotation":"노젓는 남자: 갈색 피부","tags":["갈색 피부","강","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","카누","크루즈","호수"]},{"tone":4,"emoji":"🚣🏾‍♂️","version":4,"annotation":"노젓는 남자: 진한 갈색 피부","tags":["강","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","진한 갈색 피부","카누","크루즈","호수"]},{"tone":5,"emoji":"🚣🏿‍♂️","version":4,"annotation":"노젓는 남자: 검은색 피부","tags":["강","검은색 피부","낚시","노","노 젓기","노 젓는 보트","노젓는 남자","뗏목","보트","카누","크루즈","호수"]}]},{"emoji":"🚣‍♀️","group":1,"order":2593,"tags":["강","노","노젓기","노젓는 배","노젓는 여자","배","보트","크루즈","호수"],"version":4,"annotation":"노젓는 여자","shortcodes":["woman_rowing_boat"],"skins":[{"tone":1,"emoji":"🚣🏻‍♀️","version":4,"annotation":"노젓는 여자: 하얀 피부","tags":["강","노","노젓기","노젓는 배","노젓는 여자","배","보트","크루즈","하얀 피부","호수"]},{"tone":2,"emoji":"🚣🏼‍♀️","version":4,"annotation":"노젓는 여자: 연한 갈색 피부","tags":["강","노","노젓기","노젓는 배","노젓는 여자","배","보트","연한 갈색 피부","크루즈","호수"]},{"tone":3,"emoji":"🚣🏽‍♀️","version":4,"annotation":"노젓는 여자: 갈색 피부","tags":["갈색 피부","강","노","노젓기","노젓는 배","노젓는 여자","배","보트","크루즈","호수"]},{"tone":4,"emoji":"🚣🏾‍♀️","version":4,"annotation":"노젓는 여자: 진한 갈색 피부","tags":["강","노","노젓기","노젓는 배","노젓는 여자","배","보트","진한 갈색 피부","크루즈","호수"]},{"tone":5,"emoji":"🚣🏿‍♀️","version":4,"annotation":"노젓는 여자: 검은색 피부","tags":["강","검은색 피부","노","노젓기","노젓는 배","노젓는 여자","배","보트","크루즈","호수"]}]},{"emoji":"🏊️","group":1,"order":2605,"tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"],"version":0.6,"annotation":"수영하는 사람","shortcodes":["person_swimming","swimmer","swimming"],"skins":[{"tone":1,"emoji":"🏊🏻","version":1,"annotation":"수영하는 사람: 하얀 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","운동","자유형","철인 3종 경기","트라이애슬론","하얀 피부"]},{"tone":2,"emoji":"🏊🏼","version":1,"annotation":"수영하는 사람: 연한 갈색 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","연한 갈색 피부","운동","자유형","철인 3종 경기","트라이애슬론"]},{"tone":3,"emoji":"🏊🏽","version":1,"annotation":"수영하는 사람: 갈색 피부","tags":["갈색 피부","수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"]},{"tone":4,"emoji":"🏊🏾","version":1,"annotation":"수영하는 사람: 진한 갈색 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","운동","자유형","진한 갈색 피부","철인 3종 경기","트라이애슬론"]},{"tone":5,"emoji":"🏊🏿","version":1,"annotation":"수영하는 사람: 검은색 피부","tags":["검은색 피부","수영","수영 선수","수영장","수영하기","수영하는 남자","수영하는 사람","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"]}]},{"emoji":"🏊‍♂️","group":1,"order":2611,"tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"],"version":4,"annotation":"수영하는 남자","shortcodes":["man_swimming"],"skins":[{"tone":1,"emoji":"🏊🏻‍♂️","version":4,"annotation":"수영하는 남자: 하얀 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","운동","자유형","철인 3종 경기","트라이애슬론","하얀 피부"]},{"tone":2,"emoji":"🏊🏼‍♂️","version":4,"annotation":"수영하는 남자: 연한 갈색 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","연한 갈색 피부","운동","자유형","철인 3종 경기","트라이애슬론"]},{"tone":3,"emoji":"🏊🏽‍♂️","version":4,"annotation":"수영하는 남자: 갈색 피부","tags":["갈색 피부","수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"]},{"tone":4,"emoji":"🏊🏾‍♂️","version":4,"annotation":"수영하는 남자: 진한 갈색 피부","tags":["수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","운동","자유형","진한 갈색 피부","철인 3종 경기","트라이애슬론"]},{"tone":5,"emoji":"🏊🏿‍♂️","version":4,"annotation":"수영하는 남자: 검은색 피부","tags":["검은색 피부","수영","수영 선수","수영장","수영하기","수영하는 남자","스포츠","운동","자유형","철인 3종 경기","트라이애슬론"]}]},{"emoji":"🏊‍♀️","group":1,"order":2623,"tags":["수영","수영선수","수영장","수영하는 사람","수영하는 여자","헤엄"],"version":4,"annotation":"수영하는 여자","shortcodes":["woman_swimming"],"skins":[{"tone":1,"emoji":"🏊🏻‍♀️","version":4,"annotation":"수영하는 여자: 하얀 피부","tags":["수영","수영선수","수영장","수영하는 사람","수영하는 여자","하얀 피부","헤엄"]},{"tone":2,"emoji":"🏊🏼‍♀️","version":4,"annotation":"수영하는 여자: 연한 갈색 피부","tags":["수영","수영선수","수영장","수영하는 사람","수영하는 여자","연한 갈색 피부","헤엄"]},{"tone":3,"emoji":"🏊🏽‍♀️","version":4,"annotation":"수영하는 여자: 갈색 피부","tags":["갈색 피부","수영","수영선수","수영장","수영하는 사람","수영하는 여자","헤엄"]},{"tone":4,"emoji":"🏊🏾‍♀️","version":4,"annotation":"수영하는 여자: 진한 갈색 피부","tags":["수영","수영선수","수영장","수영하는 사람","수영하는 여자","진한 갈색 피부","헤엄"]},{"tone":5,"emoji":"🏊🏿‍♀️","version":4,"annotation":"수영하는 여자: 검은색 피부","tags":["검은색 피부","수영","수영선수","수영장","수영하는 사람","수영하는 여자","헤엄"]}]},{"emoji":"⛹️","group":1,"order":2636,"tags":["공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"],"version":0.7,"annotation":"공을 갖고 있는 사람","shortcodes":["person_bouncing_ball"],"skins":[{"tone":1,"emoji":"⛹🏻","version":2,"annotation":"공을 갖고 있는 사람: 하얀 피부","tags":["공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십","하얀 피부"]},{"tone":2,"emoji":"⛹🏼","version":2,"annotation":"공을 갖고 있는 사람: 연한 갈색 피부","tags":["공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","연한 갈색 피부","운동 선수","자유투","챔피언십"]},{"tone":3,"emoji":"⛹🏽","version":2,"annotation":"공을 갖고 있는 사람: 갈색 피부","tags":["갈색 피부","공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]},{"tone":4,"emoji":"⛹🏾","version":2,"annotation":"공을 갖고 있는 사람: 진한 갈색 피부","tags":["공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","운동 선수","자유투","진한 갈색 피부","챔피언십"]},{"tone":5,"emoji":"⛹🏿","version":2,"annotation":"공을 갖고 있는 사람: 검은색 피부","tags":["검은색 피부","공","공 튀기는 사람","공을 갖고 있는 사람","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]}]},{"emoji":"⛹️‍♂️","group":1,"order":2642,"tags":["공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"],"version":4,"annotation":"공 가진 남자","shortcodes":["man_bouncing_ball"],"skins":[{"tone":1,"emoji":"⛹🏻‍♂️","version":4,"annotation":"공 가진 남자: 하얀 피부","tags":["공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십","하얀 피부"]},{"tone":2,"emoji":"⛹🏼‍♂️","version":4,"annotation":"공 가진 남자: 연한 갈색 피부","tags":["공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","연한 갈색 피부","운동 선수","자유투","챔피언십"]},{"tone":3,"emoji":"⛹🏽‍♂️","version":4,"annotation":"공 가진 남자: 갈색 피부","tags":["갈색 피부","공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]},{"tone":4,"emoji":"⛹🏾‍♂️","version":4,"annotation":"공 가진 남자: 진한 갈색 피부","tags":["공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","운동 선수","자유투","진한 갈색 피부","챔피언십"]},{"tone":5,"emoji":"⛹🏿‍♂️","version":4,"annotation":"공 가진 남자: 검은색 피부","tags":["검은색 피부","공","공 튀기는 남자","공을 갖고 있는 남자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]}]},{"emoji":"⛹️‍♀️","group":1,"order":2656,"tags":["공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"],"version":4,"annotation":"공 가진 여자","shortcodes":["woman_bouncing_ball"],"skins":[{"tone":1,"emoji":"⛹🏻‍♀️","version":4,"annotation":"공 가진 여자: 하얀 피부","tags":["공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십","하얀 피부"]},{"tone":2,"emoji":"⛹🏼‍♀️","version":4,"annotation":"공 가진 여자: 연한 갈색 피부","tags":["공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","연한 갈색 피부","운동 선수","자유투","챔피언십"]},{"tone":3,"emoji":"⛹🏽‍♀️","version":4,"annotation":"공 가진 여자: 갈색 피부","tags":["갈색 피부","공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]},{"tone":4,"emoji":"⛹🏾‍♀️","version":4,"annotation":"공 가진 여자: 진한 갈색 피부","tags":["공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","운동 선수","자유투","진한 갈색 피부","챔피언십"]},{"tone":5,"emoji":"⛹🏿‍♀️","version":4,"annotation":"공 가진 여자: 검은색 피부","tags":["검은색 피부","공","공 튀기는 여자","공을 갖고 있는 여자","농구","농구공","농구선수","드리블","운동 선수","자유투","챔피언십"]}]},{"emoji":"🏋️","group":1,"order":2671,"tags":["데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"],"version":0.7,"annotation":"역도 선수","shortcodes":["person_lifting_weights","weight_lifter","weight_lifting"],"skins":[{"tone":1,"emoji":"🏋🏻","version":2,"annotation":"역도 선수: 하얀 피부","tags":["데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅","하얀 피부"]},{"tone":2,"emoji":"🏋🏼","version":2,"annotation":"역도 선수: 연한 갈색 피부","tags":["데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","연한 갈색 피부","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]},{"tone":3,"emoji":"🏋🏽","version":2,"annotation":"역도 선수: 갈색 피부","tags":["갈색 피부","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]},{"tone":4,"emoji":"🏋🏾","version":2,"annotation":"역도 선수: 진한 갈색 피부","tags":["데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","진한 갈색 피부","트레이닝","파워 리프팅"]},{"tone":5,"emoji":"🏋🏿","version":2,"annotation":"역도 선수: 검은색 피부","tags":["검은색 피부","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]}]},{"emoji":"🏋️‍♂️","group":1,"order":2677,"tags":["남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"],"version":4,"annotation":"남자 역도 선수","shortcodes":["man_lifting_weights"],"skins":[{"tone":1,"emoji":"🏋🏻‍♂️","version":4,"annotation":"남자 역도 선수: 하얀 피부","tags":["남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅","하얀 피부"]},{"tone":2,"emoji":"🏋🏼‍♂️","version":4,"annotation":"남자 역도 선수: 연한 갈색 피부","tags":["남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","연한 갈색 피부","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]},{"tone":3,"emoji":"🏋🏽‍♂️","version":4,"annotation":"남자 역도 선수: 갈색 피부","tags":["갈색 피부","남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]},{"tone":4,"emoji":"🏋🏾‍♂️","version":4,"annotation":"남자 역도 선수: 진한 갈색 피부","tags":["남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","진한 갈색 피부","트레이닝","파워 리프팅"]},{"tone":5,"emoji":"🏋🏿‍♂️","version":4,"annotation":"남자 역도 선수: 검은색 피부","tags":["검은색 피부","남자 역도 선수","데드리프트","바벨","보디빌더","역도","역도 선수","역도선수","역도하는 사람","운동","웨이트 트레이닝","트레이닝","파워 리프팅"]}]},{"emoji":"🏋️‍♀️","group":1,"order":2691,"tags":["여자","여자 역도 선수","역도","역도선수"],"version":4,"annotation":"여자 역도 선수","shortcodes":["woman_lifting_weights"],"skins":[{"tone":1,"emoji":"🏋🏻‍♀️","version":4,"annotation":"여자 역도 선수: 하얀 피부","tags":["여자","여자 역도 선수","역도","역도선수","하얀 피부"]},{"tone":2,"emoji":"🏋🏼‍♀️","version":4,"annotation":"여자 역도 선수: 연한 갈색 피부","tags":["여자","여자 역도 선수","역도","역도선수","연한 갈색 피부"]},{"tone":3,"emoji":"🏋🏽‍♀️","version":4,"annotation":"여자 역도 선수: 갈색 피부","tags":["갈색 피부","여자","여자 역도 선수","역도","역도선수"]},{"tone":4,"emoji":"🏋🏾‍♀️","version":4,"annotation":"여자 역도 선수: 진한 갈색 피부","tags":["여자","여자 역도 선수","역도","역도선수","진한 갈색 피부"]},{"tone":5,"emoji":"🏋🏿‍♀️","version":4,"annotation":"여자 역도 선수: 검은색 피부","tags":["검은색 피부","여자","여자 역도 선수","역도","역도선수"]}]},{"emoji":"🚴","group":1,"order":2705,"tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 사람"],"version":1,"annotation":"자전거 타는 사람","shortcodes":["bicyclist","biking","person_biking"],"skins":[{"tone":1,"emoji":"🚴🏻","version":1,"annotation":"자전거 타는 사람: 하얀 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 사람","하얀 피부"]},{"tone":2,"emoji":"🚴🏼","version":1,"annotation":"자전거 타는 사람: 연한 갈색 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","연한 갈색 피부","자전거","자전거 선수","자전거 주행","자전거 타는 사람"]},{"tone":3,"emoji":"🚴🏽","version":1,"annotation":"자전거 타는 사람: 갈색 피부","tags":["갈색 피부","라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 사람"]},{"tone":4,"emoji":"🚴🏾","version":1,"annotation":"자전거 타는 사람: 진한 갈색 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🚴🏿","version":1,"annotation":"자전거 타는 사람: 검은색 피부","tags":["검은색 피부","라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 사람"]}]},{"emoji":"🚴‍♂️","group":1,"order":2711,"tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 남자"],"version":4,"annotation":"자전거 타는 남자","shortcodes":["man_biking"],"skins":[{"tone":1,"emoji":"🚴🏻‍♂️","version":4,"annotation":"자전거 타는 남자: 하얀 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 남자","하얀 피부"]},{"tone":2,"emoji":"🚴🏼‍♂️","version":4,"annotation":"자전거 타는 남자: 연한 갈색 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","연한 갈색 피부","자전거","자전거 선수","자전거 주행","자전거 타는 남자"]},{"tone":3,"emoji":"🚴🏽‍♂️","version":4,"annotation":"자전거 타는 남자: 갈색 피부","tags":["갈색 피부","라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 남자"]},{"tone":4,"emoji":"🚴🏾‍♂️","version":4,"annotation":"자전거 타는 남자: 진한 갈색 피부","tags":["라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 남자","진한 갈색 피부"]},{"tone":5,"emoji":"🚴🏿‍♂️","version":4,"annotation":"자전거 타는 남자: 검은색 피부","tags":["검은색 피부","라이딩","바이크","사이클","사이클리스트","스포츠","자전거","자전거 선수","자전거 주행","자전거 타는 남자"]}]},{"emoji":"🚴‍♀️","group":1,"order":2723,"tags":["라이딩","바이커","바이킹","사이클리스트","선수","스포츠","자전거","자전거 타는 여자"],"version":4,"annotation":"자전거 타는 여자","shortcodes":["woman_biking"],"skins":[{"tone":1,"emoji":"🚴🏻‍♀️","version":4,"annotation":"자전거 타는 여자: 하얀 피부","tags":["라이딩","바이커","바이킹","사이클리스트","선수","스포츠","자전거","자전거 타는 여자","하얀 피부"]},{"tone":2,"emoji":"🚴🏼‍♀️","version":4,"annotation":"자전거 타는 여자: 연한 갈색 피부","tags":["라이딩","바이커","바이킹","사이클리스트","선수","스포츠","연한 갈색 피부","자전거","자전거 타는 여자"]},{"tone":3,"emoji":"🚴🏽‍♀️","version":4,"annotation":"자전거 타는 여자: 갈색 피부","tags":["갈색 피부","라이딩","바이커","바이킹","사이클리스트","선수","스포츠","자전거","자전거 타는 여자"]},{"tone":4,"emoji":"🚴🏾‍♀️","version":4,"annotation":"자전거 타는 여자: 진한 갈색 피부","tags":["라이딩","바이커","바이킹","사이클리스트","선수","스포츠","자전거","자전거 타는 여자","진한 갈색 피부"]},{"tone":5,"emoji":"🚴🏿‍♀️","version":4,"annotation":"자전거 타는 여자: 검은색 피부","tags":["검은색 피부","라이딩","바이커","바이킹","사이클리스트","선수","스포츠","자전거","자전거 타는 여자"]}]},{"emoji":"🚵","group":1,"order":2735,"tags":["라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","자전거","자전거 타는 사람"],"version":1,"annotation":"산악 자전거 타는 사람","shortcodes":["mountain_bicyclist","mountain_biking","person_mountain_biking"],"skins":[{"tone":1,"emoji":"🚵🏻","version":1,"annotation":"산악 자전거 타는 사람: 하얀 피부","tags":["라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","자전거","자전거 타는 사람","하얀 피부"]},{"tone":2,"emoji":"🚵🏼","version":1,"annotation":"산악 자전거 타는 사람: 연한 갈색 피부","tags":["라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","연한 갈색 피부","자전거","자전거 타는 사람"]},{"tone":3,"emoji":"🚵🏽","version":1,"annotation":"산악 자전거 타는 사람: 갈색 피부","tags":["갈색 피부","라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","자전거","자전거 타는 사람"]},{"tone":4,"emoji":"🚵🏾","version":1,"annotation":"산악 자전거 타는 사람: 진한 갈색 피부","tags":["라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","자전거","자전거 타는 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🚵🏿","version":1,"annotation":"산악 자전거 타는 사람: 검은색 피부","tags":["검은색 피부","라이딩","바이크","사이클리스트","산","산악 자전거 주행","산악 자전거 타는 사람","스포츠","자전거","자전거 타는 사람"]}]},{"emoji":"🚵‍♂️","group":1,"order":2741,"tags":["남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","자전거","자전거 타는 남자"],"version":4,"annotation":"산악 자전거 타는 남자","shortcodes":["man_mountain_biking"],"skins":[{"tone":1,"emoji":"🚵🏻‍♂️","version":4,"annotation":"산악 자전거 타는 남자: 하얀 피부","tags":["남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","자전거","자전거 타는 남자","하얀 피부"]},{"tone":2,"emoji":"🚵🏼‍♂️","version":4,"annotation":"산악 자전거 타는 남자: 연한 갈색 피부","tags":["남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","연한 갈색 피부","자전거","자전거 타는 남자"]},{"tone":3,"emoji":"🚵🏽‍♂️","version":4,"annotation":"산악 자전거 타는 남자: 갈색 피부","tags":["갈색 피부","남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","자전거","자전거 타는 남자"]},{"tone":4,"emoji":"🚵🏾‍♂️","version":4,"annotation":"산악 자전거 타는 남자: 진한 갈색 피부","tags":["남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","자전거","자전거 타는 남자","진한 갈색 피부"]},{"tone":5,"emoji":"🚵🏿‍♂️","version":4,"annotation":"산악 자전거 타는 남자: 검은색 피부","tags":["검은색 피부","남자","라이딩","바이크","사이클리스트","산","산악 자전거","산악 자전거 타는 남자","스포츠","자전거","자전거 타는 남자"]}]},{"emoji":"🚵‍♀️","group":1,"order":2753,"tags":["사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","자전거"],"version":4,"annotation":"산악 자전거 타는 여자","shortcodes":["woman_mountain_biking"],"skins":[{"tone":1,"emoji":"🚵🏻‍♀️","version":4,"annotation":"산악 자전거 타는 여자: 하얀 피부","tags":["사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","자전거","하얀 피부"]},{"tone":2,"emoji":"🚵🏼‍♀️","version":4,"annotation":"산악 자전거 타는 여자: 연한 갈색 피부","tags":["사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","연한 갈색 피부","자전거"]},{"tone":3,"emoji":"🚵🏽‍♀️","version":4,"annotation":"산악 자전거 타는 여자: 갈색 피부","tags":["갈색 피부","사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","자전거"]},{"tone":4,"emoji":"🚵🏾‍♀️","version":4,"annotation":"산악 자전거 타는 여자: 진한 갈색 피부","tags":["사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","자전거","진한 갈색 피부"]},{"tone":5,"emoji":"🚵🏿‍♀️","version":4,"annotation":"산악 자전거 타는 여자: 검은색 피부","tags":["검은색 피부","사이클리스트","사이클링","산","산악 자전거","산악 자전거 타는 여자","스포츠","여자","자전거"]}]},{"emoji":"🤸","group":1,"order":2765,"tags":["곡예","섬머솔트","옆돌기","옆돌기하는 사람","체조","풍차돌리기","행복","활동적","활력"],"version":3,"annotation":"옆돌기하는 사람","shortcodes":["cartwheeling","person_cartwheel"],"skins":[{"tone":1,"emoji":"🤸🏻","version":3,"annotation":"옆돌기하는 사람: 하얀 피부","tags":["곡예","섬머솔트","옆돌기","옆돌기하는 사람","체조","풍차돌리기","하얀 피부","행복","활동적","활력"]},{"tone":2,"emoji":"🤸🏼","version":3,"annotation":"옆돌기하는 사람: 연한 갈색 피부","tags":["곡예","섬머솔트","연한 갈색 피부","옆돌기","옆돌기하는 사람","체조","풍차돌리기","행복","활동적","활력"]},{"tone":3,"emoji":"🤸🏽","version":3,"annotation":"옆돌기하는 사람: 갈색 피부","tags":["갈색 피부","곡예","섬머솔트","옆돌기","옆돌기하는 사람","체조","풍차돌리기","행복","활동적","활력"]},{"tone":4,"emoji":"🤸🏾","version":3,"annotation":"옆돌기하는 사람: 진한 갈색 피부","tags":["곡예","섬머솔트","옆돌기","옆돌기하는 사람","진한 갈색 피부","체조","풍차돌리기","행복","활동적","활력"]},{"tone":5,"emoji":"🤸🏿","version":3,"annotation":"옆돌기하는 사람: 검은색 피부","tags":["검은색 피부","곡예","섬머솔트","옆돌기","옆돌기하는 사람","체조","풍차돌리기","행복","활동적","활력"]}]},{"emoji":"🤸‍♂️","group":1,"order":2771,"tags":["남자","섬머솔트","옆돌기","옆돌기하는 남자","재주넘기","체조","풍차돌리기","행복","활동적"],"version":4,"annotation":"옆돌기하는 남자","shortcodes":["man_cartwheeling"],"skins":[{"tone":1,"emoji":"🤸🏻‍♂️","version":4,"annotation":"옆돌기하는 남자: 하얀 피부","tags":["남자","섬머솔트","옆돌기","옆돌기하는 남자","재주넘기","체조","풍차돌리기","하얀 피부","행복","활동적"]},{"tone":2,"emoji":"🤸🏼‍♂️","version":4,"annotation":"옆돌기하는 남자: 연한 갈색 피부","tags":["남자","섬머솔트","연한 갈색 피부","옆돌기","옆돌기하는 남자","재주넘기","체조","풍차돌리기","행복","활동적"]},{"tone":3,"emoji":"🤸🏽‍♂️","version":4,"annotation":"옆돌기하는 남자: 갈색 피부","tags":["갈색 피부","남자","섬머솔트","옆돌기","옆돌기하는 남자","재주넘기","체조","풍차돌리기","행복","활동적"]},{"tone":4,"emoji":"🤸🏾‍♂️","version":4,"annotation":"옆돌기하는 남자: 진한 갈색 피부","tags":["남자","섬머솔트","옆돌기","옆돌기하는 남자","재주넘기","진한 갈색 피부","체조","풍차돌리기","행복","활동적"]},{"tone":5,"emoji":"🤸🏿‍♂️","version":4,"annotation":"옆돌기하는 남자: 검은색 피부","tags":["검은색 피부","남자","섬머솔트","옆돌기","옆돌기하는 남자","재주넘기","체조","풍차돌리기","행복","활동적"]}]},{"emoji":"🤸‍♀️","group":1,"order":2783,"tags":["섬머솔트","여자","옆돌기","옆돌기하는 여자","재주넘기","체조","풍차돌리기","행복","활동적"],"version":4,"annotation":"옆돌기하는 여자","shortcodes":["woman_cartwheeling"],"skins":[{"tone":1,"emoji":"🤸🏻‍♀️","version":4,"annotation":"옆돌기하는 여자: 하얀 피부","tags":["섬머솔트","여자","옆돌기","옆돌기하는 여자","재주넘기","체조","풍차돌리기","하얀 피부","행복","활동적"]},{"tone":2,"emoji":"🤸🏼‍♀️","version":4,"annotation":"옆돌기하는 여자: 연한 갈색 피부","tags":["섬머솔트","여자","연한 갈색 피부","옆돌기","옆돌기하는 여자","재주넘기","체조","풍차돌리기","행복","활동적"]},{"tone":3,"emoji":"🤸🏽‍♀️","version":4,"annotation":"옆돌기하는 여자: 갈색 피부","tags":["갈색 피부","섬머솔트","여자","옆돌기","옆돌기하는 여자","재주넘기","체조","풍차돌리기","행복","활동적"]},{"tone":4,"emoji":"🤸🏾‍♀️","version":4,"annotation":"옆돌기하는 여자: 진한 갈색 피부","tags":["섬머솔트","여자","옆돌기","옆돌기하는 여자","재주넘기","진한 갈색 피부","체조","풍차돌리기","행복","활동적"]},{"tone":5,"emoji":"🤸🏿‍♀️","version":4,"annotation":"옆돌기하는 여자: 검은색 피부","tags":["검은색 피부","섬머솔트","여자","옆돌기","옆돌기하는 여자","재주넘기","체조","풍차돌리기","행복","활동적"]}]},{"emoji":"🤼","group":1,"order":2795,"tags":["경기","레슬러","레슬링","레슬링 선수","레슬링하는 사람","링","스포츠","전투"],"version":3,"annotation":"레슬링하는 사람","shortcodes":["people_wrestling","wrestlers","wrestling"]},{"emoji":"🤼‍♂️","group":1,"order":2796,"tags":["결투","경기","남자","레슬러","레슬링","레슬링하는 남자","레슬링하는 두 남자","시합"],"version":4,"annotation":"레슬링하는 남자","shortcodes":["men_wrestling"]},{"emoji":"🤼‍♀️","group":1,"order":2798,"tags":["결투","경기","레슬러","레슬링","레슬링하는 두 여자","레슬링하는 여자","시합","여자"],"version":4,"annotation":"레슬링하는 여자","shortcodes":["women_wrestling"]},{"emoji":"🤽","group":1,"order":2800,"tags":["수구","수구하는 사람","수상 스포츠","스포츠","워터폴로"],"version":3,"annotation":"수구하는 사람","shortcodes":["person_playing_water_polo","water_polo"],"skins":[{"tone":1,"emoji":"🤽🏻","version":3,"annotation":"수구하는 사람: 하얀 피부","tags":["수구","수구하는 사람","수상 스포츠","스포츠","워터폴로","하얀 피부"]},{"tone":2,"emoji":"🤽🏼","version":3,"annotation":"수구하는 사람: 연한 갈색 피부","tags":["수구","수구하는 사람","수상 스포츠","스포츠","연한 갈색 피부","워터폴로"]},{"tone":3,"emoji":"🤽🏽","version":3,"annotation":"수구하는 사람: 갈색 피부","tags":["갈색 피부","수구","수구하는 사람","수상 스포츠","스포츠","워터폴로"]},{"tone":4,"emoji":"🤽🏾","version":3,"annotation":"수구하는 사람: 진한 갈색 피부","tags":["수구","수구하는 사람","수상 스포츠","스포츠","워터폴로","진한 갈색 피부"]},{"tone":5,"emoji":"🤽🏿","version":3,"annotation":"수구하는 사람: 검은색 피부","tags":["검은색 피부","수구","수구하는 사람","수상 스포츠","스포츠","워터폴로"]}]},{"emoji":"🤽‍♂️","group":1,"order":2806,"tags":["남자","수구","수구하는 남자","수상스포츠","수영","수영복","워터폴로"],"version":4,"annotation":"수구하는 남자","shortcodes":["man_playing_water_polo"],"skins":[{"tone":1,"emoji":"🤽🏻‍♂️","version":4,"annotation":"수구하는 남자: 하얀 피부","tags":["남자","수구","수구하는 남자","수상스포츠","수영","수영복","워터폴로","하얀 피부"]},{"tone":2,"emoji":"🤽🏼‍♂️","version":4,"annotation":"수구하는 남자: 연한 갈색 피부","tags":["남자","수구","수구하는 남자","수상스포츠","수영","수영복","연한 갈색 피부","워터폴로"]},{"tone":3,"emoji":"🤽🏽‍♂️","version":4,"annotation":"수구하는 남자: 갈색 피부","tags":["갈색 피부","남자","수구","수구하는 남자","수상스포츠","수영","수영복","워터폴로"]},{"tone":4,"emoji":"🤽🏾‍♂️","version":4,"annotation":"수구하는 남자: 진한 갈색 피부","tags":["남자","수구","수구하는 남자","수상스포츠","수영","수영복","워터폴로","진한 갈색 피부"]},{"tone":5,"emoji":"🤽🏿‍♂️","version":4,"annotation":"수구하는 남자: 검은색 피부","tags":["검은색 피부","남자","수구","수구하는 남자","수상스포츠","수영","수영복","워터폴로"]}]},{"emoji":"🤽‍♀️","group":1,"order":2818,"tags":["수구","수구하는 여자","수상스포츠","수영","수영복","여자","워터폴로"],"version":4,"annotation":"수구하는 여자","shortcodes":["woman_playing_water_polo"],"skins":[{"tone":1,"emoji":"🤽🏻‍♀️","version":4,"annotation":"수구하는 여자: 하얀 피부","tags":["수구","수구하는 여자","수상스포츠","수영","수영복","여자","워터폴로","하얀 피부"]},{"tone":2,"emoji":"🤽🏼‍♀️","version":4,"annotation":"수구하는 여자: 연한 갈색 피부","tags":["수구","수구하는 여자","수상스포츠","수영","수영복","여자","연한 갈색 피부","워터폴로"]},{"tone":3,"emoji":"🤽🏽‍♀️","version":4,"annotation":"수구하는 여자: 갈색 피부","tags":["갈색 피부","수구","수구하는 여자","수상스포츠","수영","수영복","여자","워터폴로"]},{"tone":4,"emoji":"🤽🏾‍♀️","version":4,"annotation":"수구하는 여자: 진한 갈색 피부","tags":["수구","수구하는 여자","수상스포츠","수영","수영복","여자","워터폴로","진한 갈색 피부"]},{"tone":5,"emoji":"🤽🏿‍♀️","version":4,"annotation":"수구하는 여자: 검은색 피부","tags":["검은색 피부","수구","수구하는 여자","수상스포츠","수영","수영복","여자","워터폴로"]}]},{"emoji":"🤾","group":1,"order":2830,"tags":["공놀이","구기종목","던지기","선수","스포츠","운동선수","투구","핸드볼","핸드볼하는 사람"],"version":3,"annotation":"핸드볼하는 사람","shortcodes":["handball","person_playing_handball"],"skins":[{"tone":1,"emoji":"🤾🏻","version":3,"annotation":"핸드볼하는 사람: 하얀 피부","tags":["공놀이","구기종목","던지기","선수","스포츠","운동선수","투구","하얀 피부","핸드볼","핸드볼하는 사람"]},{"tone":2,"emoji":"🤾🏼","version":3,"annotation":"핸드볼하는 사람: 연한 갈색 피부","tags":["공놀이","구기종목","던지기","선수","스포츠","연한 갈색 피부","운동선수","투구","핸드볼","핸드볼하는 사람"]},{"tone":3,"emoji":"🤾🏽","version":3,"annotation":"핸드볼하는 사람: 갈색 피부","tags":["갈색 피부","공놀이","구기종목","던지기","선수","스포츠","운동선수","투구","핸드볼","핸드볼하는 사람"]},{"tone":4,"emoji":"🤾🏾","version":3,"annotation":"핸드볼하는 사람: 진한 갈색 피부","tags":["공놀이","구기종목","던지기","선수","스포츠","운동선수","진한 갈색 피부","투구","핸드볼","핸드볼하는 사람"]},{"tone":5,"emoji":"🤾🏿","version":3,"annotation":"핸드볼하는 사람: 검은색 피부","tags":["검은색 피부","공놀이","구기종목","던지기","선수","스포츠","운동선수","투구","핸드볼","핸드볼하는 사람"]}]},{"emoji":"🤾‍♂️","group":1,"order":2836,"tags":["구기종목","남자","스포츠","핸드볼","핸드볼하는 남자"],"version":4,"annotation":"핸드볼하는 남자","shortcodes":["man_playing_handball"],"skins":[{"tone":1,"emoji":"🤾🏻‍♂️","version":4,"annotation":"핸드볼하는 남자: 하얀 피부","tags":["구기종목","남자","스포츠","하얀 피부","핸드볼","핸드볼하는 남자"]},{"tone":2,"emoji":"🤾🏼‍♂️","version":4,"annotation":"핸드볼하는 남자: 연한 갈색 피부","tags":["구기종목","남자","스포츠","연한 갈색 피부","핸드볼","핸드볼하는 남자"]},{"tone":3,"emoji":"🤾🏽‍♂️","version":4,"annotation":"핸드볼하는 남자: 갈색 피부","tags":["갈색 피부","구기종목","남자","스포츠","핸드볼","핸드볼하는 남자"]},{"tone":4,"emoji":"🤾🏾‍♂️","version":4,"annotation":"핸드볼하는 남자: 진한 갈색 피부","tags":["구기종목","남자","스포츠","진한 갈색 피부","핸드볼","핸드볼하는 남자"]},{"tone":5,"emoji":"🤾🏿‍♂️","version":4,"annotation":"핸드볼하는 남자: 검은색 피부","tags":["검은색 피부","구기종목","남자","스포츠","핸드볼","핸드볼하는 남자"]}]},{"emoji":"🤾‍♀️","group":1,"order":2848,"tags":["공","구기종목","던지기","스포츠","여자","운동 선수","잡기","투구","핸드볼","핸드볼하는 여자"],"version":4,"annotation":"핸드볼하는 여자","shortcodes":["woman_playing_handball"],"skins":[{"tone":1,"emoji":"🤾🏻‍♀️","version":4,"annotation":"핸드볼하는 여자: 하얀 피부","tags":["공","구기종목","던지기","스포츠","여자","운동 선수","잡기","투구","하얀 피부","핸드볼","핸드볼하는 여자"]},{"tone":2,"emoji":"🤾🏼‍♀️","version":4,"annotation":"핸드볼하는 여자: 연한 갈색 피부","tags":["공","구기종목","던지기","스포츠","여자","연한 갈색 피부","운동 선수","잡기","투구","핸드볼","핸드볼하는 여자"]},{"tone":3,"emoji":"🤾🏽‍♀️","version":4,"annotation":"핸드볼하는 여자: 갈색 피부","tags":["갈색 피부","공","구기종목","던지기","스포츠","여자","운동 선수","잡기","투구","핸드볼","핸드볼하는 여자"]},{"tone":4,"emoji":"🤾🏾‍♀️","version":4,"annotation":"핸드볼하는 여자: 진한 갈색 피부","tags":["공","구기종목","던지기","스포츠","여자","운동 선수","잡기","진한 갈색 피부","투구","핸드볼","핸드볼하는 여자"]},{"tone":5,"emoji":"🤾🏿‍♀️","version":4,"annotation":"핸드볼하는 여자: 검은색 피부","tags":["검은색 피부","공","구기종목","던지기","스포츠","여자","운동 선수","잡기","투구","핸드볼","핸드볼하는 여자"]}]},{"emoji":"🤹","group":1,"order":2860,"tags":["균형","멀티태스크","멀티태스킹","묘기","사람","저글","저글링","저글링하는 사람"],"version":3,"annotation":"저글링하는 사람","shortcodes":["juggler","juggling","person_juggling"],"skins":[{"tone":1,"emoji":"🤹🏻","version":3,"annotation":"저글링하는 사람: 하얀 피부","tags":["균형","멀티태스크","멀티태스킹","묘기","사람","저글","저글링","저글링하는 사람","하얀 피부"]},{"tone":2,"emoji":"🤹🏼","version":3,"annotation":"저글링하는 사람: 연한 갈색 피부","tags":["균형","멀티태스크","멀티태스킹","묘기","사람","연한 갈색 피부","저글","저글링","저글링하는 사람"]},{"tone":3,"emoji":"🤹🏽","version":3,"annotation":"저글링하는 사람: 갈색 피부","tags":["갈색 피부","균형","멀티태스크","멀티태스킹","묘기","사람","저글","저글링","저글링하는 사람"]},{"tone":4,"emoji":"🤹🏾","version":3,"annotation":"저글링하는 사람: 진한 갈색 피부","tags":["균형","멀티태스크","멀티태스킹","묘기","사람","저글","저글링","저글링하는 사람","진한 갈색 피부"]},{"tone":5,"emoji":"🤹🏿","version":3,"annotation":"저글링하는 사람: 검은색 피부","tags":["검은색 피부","균형","멀티태스크","멀티태스킹","묘기","사람","저글","저글링","저글링하는 사람"]}]},{"emoji":"🤹‍♂️","group":1,"order":2866,"tags":["균형","남자","멀티태스크","멀티태스킹","묘기","저글","저글링","저글링하는 남자"],"version":4,"annotation":"저글링하는 남자","shortcodes":["man_juggling"],"skins":[{"tone":1,"emoji":"🤹🏻‍♂️","version":4,"annotation":"저글링하는 남자: 하얀 피부","tags":["균형","남자","멀티태스크","멀티태스킹","묘기","저글","저글링","저글링하는 남자","하얀 피부"]},{"tone":2,"emoji":"🤹🏼‍♂️","version":4,"annotation":"저글링하는 남자: 연한 갈색 피부","tags":["균형","남자","멀티태스크","멀티태스킹","묘기","연한 갈색 피부","저글","저글링","저글링하는 남자"]},{"tone":3,"emoji":"🤹🏽‍♂️","version":4,"annotation":"저글링하는 남자: 갈색 피부","tags":["갈색 피부","균형","남자","멀티태스크","멀티태스킹","묘기","저글","저글링","저글링하는 남자"]},{"tone":4,"emoji":"🤹🏾‍♂️","version":4,"annotation":"저글링하는 남자: 진한 갈색 피부","tags":["균형","남자","멀티태스크","멀티태스킹","묘기","저글","저글링","저글링하는 남자","진한 갈색 피부"]},{"tone":5,"emoji":"🤹🏿‍♂️","version":4,"annotation":"저글링하는 남자: 검은색 피부","tags":["검은색 피부","균형","남자","멀티태스크","멀티태스킹","묘기","저글","저글링","저글링하는 남자"]}]},{"emoji":"🤹‍♀️","group":1,"order":2878,"tags":["여자","저글","저글링","저글링하는 여자"],"version":4,"annotation":"저글링하는 여자","shortcodes":["woman_juggling"],"skins":[{"tone":1,"emoji":"🤹🏻‍♀️","version":4,"annotation":"저글링하는 여자: 하얀 피부","tags":["여자","저글","저글링","저글링하는 여자","하얀 피부"]},{"tone":2,"emoji":"🤹🏼‍♀️","version":4,"annotation":"저글링하는 여자: 연한 갈색 피부","tags":["여자","연한 갈색 피부","저글","저글링","저글링하는 여자"]},{"tone":3,"emoji":"🤹🏽‍♀️","version":4,"annotation":"저글링하는 여자: 갈색 피부","tags":["갈색 피부","여자","저글","저글링","저글링하는 여자"]},{"tone":4,"emoji":"🤹🏾‍♀️","version":4,"annotation":"저글링하는 여자: 진한 갈색 피부","tags":["여자","저글","저글링","저글링하는 여자","진한 갈색 피부"]},{"tone":5,"emoji":"🤹🏿‍♀️","version":4,"annotation":"저글링하는 여자: 검은색 피부","tags":["검은색 피부","여자","저글","저글링","저글링하는 여자"]}]},{"emoji":"🧘","group":1,"order":2890,"tags":["가부좌","가부좌한 사람","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"],"version":5,"annotation":"가부좌한 사람","shortcodes":["person_in_lotus_position"],"skins":[{"tone":1,"emoji":"🧘🏻","version":5,"annotation":"가부좌한 사람: 하얀 피부","tags":["가부좌","가부좌한 사람","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","하얀 피부","휴식"]},{"tone":2,"emoji":"🧘🏼","version":5,"annotation":"가부좌한 사람: 연한 갈색 피부","tags":["가부좌","가부좌한 사람","다리 꼬기","명상","아빠다리","연한 갈색 피부","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":3,"emoji":"🧘🏽","version":5,"annotation":"가부좌한 사람: 갈색 피부","tags":["가부좌","가부좌한 사람","갈색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":4,"emoji":"🧘🏾","version":5,"annotation":"가부좌한 사람: 진한 갈색 피부","tags":["가부좌","가부좌한 사람","다리 꼬기","명상","아빠다리","요가","요기","정좌","진한 갈색 피부","참선","평온","평화","휴식"]},{"tone":5,"emoji":"🧘🏿","version":5,"annotation":"가부좌한 사람: 검은색 피부","tags":["가부좌","가부좌한 사람","검은색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]}]},{"emoji":"🧘‍♂️","group":1,"order":2896,"tags":["가부좌","가부좌한 남자","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"],"version":5,"annotation":"가부좌한 남자","shortcodes":["man_in_lotus_position"],"skins":[{"tone":1,"emoji":"🧘🏻‍♂️","version":5,"annotation":"가부좌한 남자: 하얀 피부","tags":["가부좌","가부좌한 남자","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","하얀 피부","휴식"]},{"tone":2,"emoji":"🧘🏼‍♂️","version":5,"annotation":"가부좌한 남자: 연한 갈색 피부","tags":["가부좌","가부좌한 남자","다리 꼬기","명상","아빠다리","연한 갈색 피부","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":3,"emoji":"🧘🏽‍♂️","version":5,"annotation":"가부좌한 남자: 갈색 피부","tags":["가부좌","가부좌한 남자","갈색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":4,"emoji":"🧘🏾‍♂️","version":5,"annotation":"가부좌한 남자: 진한 갈색 피부","tags":["가부좌","가부좌한 남자","다리 꼬기","명상","아빠다리","요가","요기","정좌","진한 갈색 피부","참선","평온","평화","휴식"]},{"tone":5,"emoji":"🧘🏿‍♂️","version":5,"annotation":"가부좌한 남자: 검은색 피부","tags":["가부좌","가부좌한 남자","검은색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]}]},{"emoji":"🧘‍♀️","group":1,"order":2908,"tags":["가부좌","가부좌한 여자","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"],"version":5,"annotation":"가부좌한 여자","shortcodes":["woman_in_lotus_position"],"skins":[{"tone":1,"emoji":"🧘🏻‍♀️","version":5,"annotation":"가부좌한 여자: 하얀 피부","tags":["가부좌","가부좌한 여자","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","하얀 피부","휴식"]},{"tone":2,"emoji":"🧘🏼‍♀️","version":5,"annotation":"가부좌한 여자: 연한 갈색 피부","tags":["가부좌","가부좌한 여자","다리 꼬기","명상","아빠다리","연한 갈색 피부","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":3,"emoji":"🧘🏽‍♀️","version":5,"annotation":"가부좌한 여자: 갈색 피부","tags":["가부좌","가부좌한 여자","갈색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]},{"tone":4,"emoji":"🧘🏾‍♀️","version":5,"annotation":"가부좌한 여자: 진한 갈색 피부","tags":["가부좌","가부좌한 여자","다리 꼬기","명상","아빠다리","요가","요기","정좌","진한 갈색 피부","참선","평온","평화","휴식"]},{"tone":5,"emoji":"🧘🏿‍♀️","version":5,"annotation":"가부좌한 여자: 검은색 피부","tags":["가부좌","가부좌한 여자","검은색 피부","다리 꼬기","명상","아빠다리","요가","요기","정좌","참선","평온","평화","휴식"]}]},{"emoji":"🛀","group":1,"order":2920,"tags":["목욕","목욕하는 사람","욕조"],"version":0.6,"annotation":"목욕하는 사람","shortcodes":["bath","person_taking_bath"],"skins":[{"tone":1,"emoji":"🛀🏻","version":1,"annotation":"목욕하는 사람: 하얀 피부","tags":["목욕","목욕하는 사람","욕조","하얀 피부"]},{"tone":2,"emoji":"🛀🏼","version":1,"annotation":"목욕하는 사람: 연한 갈색 피부","tags":["목욕","목욕하는 사람","연한 갈색 피부","욕조"]},{"tone":3,"emoji":"🛀🏽","version":1,"annotation":"목욕하는 사람: 갈색 피부","tags":["갈색 피부","목욕","목욕하는 사람","욕조"]},{"tone":4,"emoji":"🛀🏾","version":1,"annotation":"목욕하는 사람: 진한 갈색 피부","tags":["목욕","목욕하는 사람","욕조","진한 갈색 피부"]},{"tone":5,"emoji":"🛀🏿","version":1,"annotation":"목욕하는 사람: 검은색 피부","tags":["검은색 피부","목욕","목욕하는 사람","욕조"]}]},{"emoji":"🛌","group":1,"order":2926,"tags":["굿밤","낮잠","안녕히 주무세요","잘 시간","잘자","잠","침대","침대에 누운 사람","쿨쿨쿨","피곤","호텔"],"version":1,"annotation":"침대에 누운 사람","shortcodes":["person_in_bed","sleeping_accommodation"],"skins":[{"tone":1,"emoji":"🛌🏻","version":4,"annotation":"침대에 누운 사람: 하얀 피부","tags":["굿밤","낮잠","안녕히 주무세요","잘 시간","잘자","잠","침대","침대에 누운 사람","쿨쿨쿨","피곤","하얀 피부","호텔"]},{"tone":2,"emoji":"🛌🏼","version":4,"annotation":"침대에 누운 사람: 연한 갈색 피부","tags":["굿밤","낮잠","안녕히 주무세요","연한 갈색 피부","잘 시간","잘자","잠","침대","침대에 누운 사람","쿨쿨쿨","피곤","호텔"]},{"tone":3,"emoji":"🛌🏽","version":4,"annotation":"침대에 누운 사람: 갈색 피부","tags":["갈색 피부","굿밤","낮잠","안녕히 주무세요","잘 시간","잘자","잠","침대","침대에 누운 사람","쿨쿨쿨","피곤","호텔"]},{"tone":4,"emoji":"🛌🏾","version":4,"annotation":"침대에 누운 사람: 진한 갈색 피부","tags":["굿밤","낮잠","안녕히 주무세요","잘 시간","잘자","잠","진한 갈색 피부","침대","침대에 누운 사람","쿨쿨쿨","피곤","호텔"]},{"tone":5,"emoji":"🛌🏿","version":4,"annotation":"침대에 누운 사람: 검은색 피부","tags":["검은색 피부","굿밤","낮잠","안녕히 주무세요","잘 시간","잘자","잠","침대","침대에 누운 사람","쿨쿨쿨","피곤","호텔"]}]},{"emoji":"🧑‍🤝‍🧑","group":1,"order":2932,"tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플"],"version":12,"annotation":"손을 잡고 있는 두 명의 사람","shortcodes":["people_holding_hands"],"skins":[{"tone":1,"emoji":"🧑🏻‍🤝‍🧑🏻","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 하얀 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플","하얀 피부"]},{"tone":[1,2],"emoji":"🧑🏻‍🤝‍🧑🏼","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 하얀 피부 연한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플","하얀 피부"]},{"tone":[1,3],"emoji":"🧑🏻‍🤝‍🧑🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 하얀 피부 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플","하얀 피부"]},{"tone":[1,4],"emoji":"🧑🏻‍🤝‍🧑🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 하얀 피부 진한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플","하얀 피부"]},{"tone":[1,5],"emoji":"🧑🏻‍🤝‍🧑🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 하얀 피부 검은색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플","하얀 피부"]},{"tone":[2,1],"emoji":"🧑🏼‍🤝‍🧑🏻","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 연한 갈색 피부 하얀 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플","하얀 피부"]},{"tone":2,"emoji":"🧑🏼‍🤝‍🧑🏼","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 연한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플"]},{"tone":[2,3],"emoji":"🧑🏼‍🤝‍🧑🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 연한 갈색 피부 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플"]},{"tone":[2,4],"emoji":"🧑🏼‍🤝‍🧑🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 연한 갈색 피부 진한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","진한 갈색 피부","커플"]},{"tone":[2,5],"emoji":"🧑🏼‍🤝‍🧑🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 연한 갈색 피부 검은색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플"]},{"tone":[3,1],"emoji":"🧑🏽‍🤝‍🧑🏻","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 갈색 피부 하얀 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플","하얀 피부"]},{"tone":[3,2],"emoji":"🧑🏽‍🤝‍🧑🏼","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 갈색 피부 연한 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플"]},{"tone":3,"emoji":"🧑🏽‍🤝‍🧑🏽","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플"]},{"tone":[3,4],"emoji":"🧑🏽‍🤝‍🧑🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 갈색 피부 진한 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플"]},{"tone":[3,5],"emoji":"🧑🏽‍🤝‍🧑🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플"]},{"tone":[4,1],"emoji":"🧑🏾‍🤝‍🧑🏻","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 진한 갈색 피부 하얀 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플","하얀 피부"]},{"tone":[4,2],"emoji":"🧑🏾‍🤝‍🧑🏼","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 진한 갈색 피부 연한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","진한 갈색 피부","커플"]},{"tone":[4,3],"emoji":"🧑🏾‍🤝‍🧑🏽","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 진한 갈색 피부 갈색 피부","tags":["갈색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플"]},{"tone":4,"emoji":"🧑🏾‍🤝‍🧑🏾","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 진한 갈색 피부","tags":["사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플"]},{"tone":[4,5],"emoji":"🧑🏾‍🤝‍🧑🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 사람: 진한 갈색 피부 검은색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플"]},{"tone":[5,1],"emoji":"🧑🏿‍🤝‍🧑🏻","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 검은색 피부 하얀 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플","하얀 피부"]},{"tone":[5,2],"emoji":"🧑🏿‍🤝‍🧑🏼","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 검은색 피부 연한 갈색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","연한 갈색 피부","커플"]},{"tone":[5,3],"emoji":"🧑🏿‍🤝‍🧑🏽","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플"]},{"tone":[5,4],"emoji":"🧑🏿‍🤝‍🧑🏾","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 검은색 피부 진한 갈색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","진한 갈색 피부","커플"]},{"tone":5,"emoji":"🧑🏿‍🤝‍🧑🏿","version":12,"annotation":"손을 잡고 있는 두 명의 사람: 검은색 피부","tags":["검은색 피부","사람","손","손을 잡고","손을 잡고 있는 두 명의 사람","커플"]}]},{"emoji":"👭","group":1,"order":2958,"tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한"],"version":1,"annotation":"손을 잡고 있는 두 명의 여자","shortcodes":["two_women_holding_hands"],"skins":[{"tone":1,"emoji":"👭🏻","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 하얀 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":2,"emoji":"👭🏼","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 연한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한"]},{"tone":3,"emoji":"👭🏽","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한"]},{"tone":4,"emoji":"👭🏾","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 진한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":5,"emoji":"👭🏿","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 검은색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한"]},{"tone":[1,2],"emoji":"👩🏻‍🤝‍👩🏼","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 하얀 피부 연한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[1,3],"emoji":"👩🏻‍🤝‍👩🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 하얀 피부 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[1,4],"emoji":"👩🏻‍🤝‍👩🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 하얀 피부 진한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한","하얀 피부"]},{"tone":[1,5],"emoji":"👩🏻‍🤝‍👩🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 하얀 피부 검은색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[2,1],"emoji":"👩🏼‍🤝‍👩🏻","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 연한 갈색 피부 하얀 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[2,3],"emoji":"👩🏼‍🤝‍👩🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 연한 갈색 피부 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한"]},{"tone":[2,4],"emoji":"👩🏼‍🤝‍👩🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 연한 갈색 피부 진한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":[2,5],"emoji":"👩🏼‍🤝‍👩🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 연한 갈색 피부 검은색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한"]},{"tone":[3,1],"emoji":"👩🏽‍🤝‍👩🏻","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 갈색 피부 하얀 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[3,2],"emoji":"👩🏽‍🤝‍👩🏼","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 갈색 피부 연한 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한"]},{"tone":[3,4],"emoji":"👩🏽‍🤝‍👩🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 갈색 피부 진한 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":[3,5],"emoji":"👩🏽‍🤝‍👩🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한"]},{"tone":[4,1],"emoji":"👩🏾‍🤝‍👩🏻","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 진한 갈색 피부 하얀 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한","하얀 피부"]},{"tone":[4,2],"emoji":"👩🏾‍🤝‍👩🏼","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 진한 갈색 피부 연한 갈색 피부","tags":["꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":[4,3],"emoji":"👩🏾‍🤝‍👩🏽","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 진한 갈색 피부 갈색 피부","tags":["갈색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":[4,5],"emoji":"👩🏾‍🤝‍👩🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 여자: 진한 갈색 피부 검은색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]},{"tone":[5,1],"emoji":"👩🏿‍🤝‍👩🏻","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 검은색 피부 하얀 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한","하얀 피부"]},{"tone":[5,2],"emoji":"👩🏿‍🤝‍👩🏼","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 검은색 피부 연한 갈색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","연한 갈색 피부","우정","자매","절친","친구","친구들","친한"]},{"tone":[5,3],"emoji":"👩🏿‍🤝‍👩🏽","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","친구","친구들","친한"]},{"tone":[5,4],"emoji":"👩🏿‍🤝‍👩🏾","version":12,"annotation":"손을 잡고 있는 두 명의 여자: 검은색 피부 진한 갈색 피부","tags":["검은색 피부","꼭 잡은","데이트","동성 연인","동성 커플","딸들","베스트프렌드","성소수자","손을 잡고 있는 두 명의 여자","손을 잡고 있는 레즈비언 커플","여성 커플","여자","연애","우정","자매","절친","진한 갈색 피부","친구","친구들","친한"]}]},{"emoji":"👫","group":1,"order":2984,"tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플"],"version":0.6,"annotation":"손을 잡고 있는 남녀","shortcodes":["couple"],"skins":[{"tone":1,"emoji":"👫🏻","version":12,"annotation":"손을 잡고 있는 남녀: 하얀 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플","하얀 피부"]},{"tone":2,"emoji":"👫🏼","version":12,"annotation":"손을 잡고 있는 남녀: 연한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플"]},{"tone":3,"emoji":"👫🏽","version":12,"annotation":"손을 잡고 있는 남녀: 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플"]},{"tone":4,"emoji":"👫🏾","version":12,"annotation":"손을 잡고 있는 남녀: 진한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플"]},{"tone":5,"emoji":"👫🏿","version":12,"annotation":"손을 잡고 있는 남녀: 검은색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플"]},{"tone":[1,2],"emoji":"👩🏻‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 남녀: 하얀 피부 연한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플","하얀 피부"]},{"tone":[1,3],"emoji":"👩🏻‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 남녀: 하얀 피부 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플","하얀 피부"]},{"tone":[1,4],"emoji":"👩🏻‍🤝‍👨🏾","version":12,"annotation":"손을 잡고 있는 남녀: 하얀 피부 진한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플","하얀 피부"]},{"tone":[1,5],"emoji":"👩🏻‍🤝‍👨🏿","version":12,"annotation":"손을 잡고 있는 남녀: 하얀 피부 검은색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플","하얀 피부"]},{"tone":[2,1],"emoji":"👩🏼‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 남녀: 연한 갈색 피부 하얀 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플","하얀 피부"]},{"tone":[2,3],"emoji":"👩🏼‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 남녀: 연한 갈색 피부 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플"]},{"tone":[2,4],"emoji":"👩🏼‍🤝‍👨🏾","version":12,"annotation":"손을 잡고 있는 남녀: 연한 갈색 피부 진한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","진한 갈색 피부","친구","커플"]},{"tone":[2,5],"emoji":"👩🏼‍🤝‍👨🏿","version":12,"annotation":"손을 잡고 있는 남녀: 연한 갈색 피부 검은색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플"]},{"tone":[3,1],"emoji":"👩🏽‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 남녀: 갈색 피부 하얀 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플","하얀 피부"]},{"tone":[3,2],"emoji":"👩🏽‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 남녀: 갈색 피부 연한 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플"]},{"tone":[3,4],"emoji":"👩🏽‍🤝‍👨🏾","version":12,"annotation":"손을 잡고 있는 남녀: 갈색 피부 진한 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플"]},{"tone":[3,5],"emoji":"👩🏽‍🤝‍👨🏿","version":12,"annotation":"손을 잡고 있는 남녀: 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플"]},{"tone":[4,1],"emoji":"👩🏾‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 남녀: 진한 갈색 피부 하얀 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플","하얀 피부"]},{"tone":[4,2],"emoji":"👩🏾‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 남녀: 진한 갈색 피부 연한 갈색 피부","tags":["남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","진한 갈색 피부","친구","커플"]},{"tone":[4,3],"emoji":"👩🏾‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 남녀: 진한 갈색 피부 갈색 피부","tags":["갈색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플"]},{"tone":[4,5],"emoji":"👩🏾‍🤝‍👨🏿","version":12,"annotation":"손을 잡고 있는 남녀: 진한 갈색 피부 검은색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플"]},{"tone":[5,1],"emoji":"👩🏿‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 남녀: 검은색 피부 하얀 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플","하얀 피부"]},{"tone":[5,2],"emoji":"👩🏿‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 남녀: 검은색 피부 연한 갈색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","연한 갈색 피부","친구","커플"]},{"tone":[5,3],"emoji":"👩🏿‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 남녀: 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","친구","커플"]},{"tone":[5,4],"emoji":"👩🏿‍🤝‍👨🏾","version":12,"annotation":"손을 잡고 있는 남녀: 검은색 피부 진한 갈색 피부","tags":["검은색 피부","남녀 커플","데이트","모두","바람","사랑하는","손을 잡고 있는 남녀","연애","연인","진한 갈색 피부","친구","커플"]}]},{"emoji":"👬","group":1,"order":3010,"tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어"],"version":1,"annotation":"손을 잡고 있는 두 명의 남자","shortcodes":["two_men_holding_hands"],"skins":[{"tone":1,"emoji":"👬🏻","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 하얀 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":2,"emoji":"👬🏼","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 연한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":3,"emoji":"👬🏽","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어"]},{"tone":4,"emoji":"👬🏾","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 진한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":5,"emoji":"👬🏿","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 검은색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어"]},{"tone":[1,2],"emoji":"👨🏻‍🤝‍👨🏼","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 하얀 피부 연한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[1,3],"emoji":"👨🏻‍🤝‍👨🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 하얀 피부 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[1,4],"emoji":"👨🏻‍🤝‍👨🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 하얀 피부 진한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[1,5],"emoji":"👨🏻‍🤝‍👨🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 하얀 피부 검은색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[2,1],"emoji":"👨🏼‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 연한 갈색 피부 하얀 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[2,3],"emoji":"👨🏼‍🤝‍👨🏽","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 연한 갈색 피부 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[2,4],"emoji":"👨🏼‍🤝‍👨🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 연한 갈색 피부 진한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[2,5],"emoji":"👨🏼‍🤝‍👨🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 연한 갈색 피부 검은색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[3,1],"emoji":"👨🏽‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 갈색 피부 하얀 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[3,2],"emoji":"👨🏽‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 갈색 피부 연한 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[3,4],"emoji":"👨🏽‍🤝‍👨🏾","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 갈색 피부 진한 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[3,5],"emoji":"👨🏽‍🤝‍👨🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어"]},{"tone":[4,1],"emoji":"👨🏾‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 진한 갈색 피부 하얀 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[4,2],"emoji":"👨🏾‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 진한 갈색 피부 연한 갈색 피부","tags":["게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[4,3],"emoji":"👨🏾‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 진한 갈색 피부 갈색 피부","tags":["갈색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[4,5],"emoji":"👨🏾‍🤝‍👨🏿","version":12.1,"annotation":"손을 잡고 있는 두 명의 남자: 진한 갈색 피부 검은색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[5,1],"emoji":"👨🏿‍🤝‍👨🏻","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 검은색 피부 하얀 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어","하얀 피부"]},{"tone":[5,2],"emoji":"👨🏿‍🤝‍👨🏼","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 검은색 피부 연한 갈색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","연한 갈색 피부","친구","친구들","커플","퀴어"]},{"tone":[5,3],"emoji":"👨🏿‍🤝‍👨🏽","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","친구","친구들","커플","퀴어"]},{"tone":[5,4],"emoji":"👨🏿‍🤝‍👨🏾","version":12,"annotation":"손을 잡고 있는 두 명의 남자: 검은색 피부 진한 갈색 피부","tags":["검은색 피부","게이","꼭 잡은","남성 커플","남자","데이트","동성 연인","동성 커플","모두","별자리","사랑에 빠진","성소수자","손","손을 잡고 있는 게이 커플","손을 잡고 있는 두 명의 남자","쌍둥이","연애","진한 갈색 피부","친구","친구들","커플","퀴어"]}]},{"emoji":"💏","group":1,"order":3036,"tags":["기념일","데이트","로맨스","사랑","연애","연인","커플","키스","하트"],"version":0.6,"annotation":"키스","shortcodes":["couple_kiss","couplekiss"],"skins":[{"tone":1,"emoji":"💏🏻","version":13.1,"annotation":"키스: 하얀 피부","tags":["기념일","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":2,"emoji":"💏🏼","version":13.1,"annotation":"키스: 연한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":3,"emoji":"💏🏽","version":13.1,"annotation":"키스: 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]},{"tone":4,"emoji":"💏🏾","version":13.1,"annotation":"키스: 진한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":5,"emoji":"💏🏿","version":13.1,"annotation":"키스: 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]},{"tone":[1,2],"emoji":"🧑🏻‍❤️‍💋‍🧑🏼","version":13.1,"annotation":"키스: 사람 사람 하얀 피부 연한 갈색 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,3],"emoji":"🧑🏻‍❤️‍💋‍🧑🏽","version":13.1,"annotation":"키스: 사람 사람 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,4],"emoji":"🧑🏻‍❤️‍💋‍🧑🏾","version":13.1,"annotation":"키스: 사람 사람 하얀 피부 진한 갈색 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,5],"emoji":"🧑🏻‍❤️‍💋‍🧑🏿","version":13.1,"annotation":"키스: 사람 사람 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[2,1],"emoji":"🧑🏼‍❤️‍💋‍🧑🏻","version":13.1,"annotation":"키스: 사람 사람 연한 갈색 피부 하얀 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[2,3],"emoji":"🧑🏼‍❤️‍💋‍🧑🏽","version":13.1,"annotation":"키스: 사람 사람 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,4],"emoji":"🧑🏼‍❤️‍💋‍🧑🏾","version":13.1,"annotation":"키스: 사람 사람 연한 갈색 피부 진한 갈색 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[2,5],"emoji":"🧑🏼‍❤️‍💋‍🧑🏿","version":13.1,"annotation":"키스: 사람 사람 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[3,1],"emoji":"🧑🏽‍❤️‍💋‍🧑🏻","version":13.1,"annotation":"키스: 사람 사람 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[3,2],"emoji":"🧑🏽‍❤️‍💋‍🧑🏼","version":13.1,"annotation":"키스: 사람 사람 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[3,4],"emoji":"🧑🏽‍❤️‍💋‍🧑🏾","version":13.1,"annotation":"키스: 사람 사람 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[3,5],"emoji":"🧑🏽‍❤️‍💋‍🧑🏿","version":13.1,"annotation":"키스: 사람 사람 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하트"]},{"tone":[4,1],"emoji":"🧑🏾‍❤️‍💋‍🧑🏻","version":13.1,"annotation":"키스: 사람 사람 진한 갈색 피부 하얀 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[4,2],"emoji":"🧑🏾‍❤️‍💋‍🧑🏼","version":13.1,"annotation":"키스: 사람 사람 진한 갈색 피부 연한 갈색 피부","tags":["기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,3],"emoji":"🧑🏾‍❤️‍💋‍🧑🏽","version":13.1,"annotation":"키스: 사람 사람 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,5],"emoji":"🧑🏾‍❤️‍💋‍🧑🏿","version":13.1,"annotation":"키스: 사람 사람 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[5,1],"emoji":"🧑🏿‍❤️‍💋‍🧑🏻","version":13.1,"annotation":"키스: 사람 사람 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[5,2],"emoji":"🧑🏿‍❤️‍💋‍🧑🏼","version":13.1,"annotation":"키스: 사람 사람 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[5,3],"emoji":"🧑🏿‍❤️‍💋‍🧑🏽","version":13.1,"annotation":"키스: 사람 사람 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","커플","키스","하트"]},{"tone":[5,4],"emoji":"🧑🏿‍❤️‍💋‍🧑🏾","version":13.1,"annotation":"키스: 사람 사람 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사람","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]}]},{"emoji":"👩‍❤️‍💋‍👨","group":1,"order":3082,"tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"],"version":2,"annotation":"키스: 여자 남자","shortcodes":["kiss_mw","kiss_wm"],"skins":[{"tone":1,"emoji":"👩🏻‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 여자 남자 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,2],"emoji":"👩🏻‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 여자 남자 하얀 피부 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,3],"emoji":"👩🏻‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 여자 남자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,4],"emoji":"👩🏻‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 여자 남자 하얀 피부 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,5],"emoji":"👩🏻‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 여자 남자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[2,1],"emoji":"👩🏼‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 여자 남자 연한 갈색 피부 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":2,"emoji":"👩🏼‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 여자 남자 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,3],"emoji":"👩🏼‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 여자 남자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,4],"emoji":"👩🏼‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 여자 남자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[2,5],"emoji":"👩🏼‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 여자 남자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[3,1],"emoji":"👩🏽‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 여자 남자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[3,2],"emoji":"👩🏽‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 여자 남자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":3,"emoji":"👩🏽‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 여자 남자 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[3,4],"emoji":"👩🏽‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 여자 남자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[3,5],"emoji":"👩🏽‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 여자 남자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[4,1],"emoji":"👩🏾‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 여자 남자 진한 갈색 피부 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[4,2],"emoji":"👩🏾‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 여자 남자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,3],"emoji":"👩🏾‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 여자 남자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":4,"emoji":"👩🏾‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 여자 남자 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,5],"emoji":"👩🏾‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 여자 남자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[5,1],"emoji":"👩🏿‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 여자 남자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[5,2],"emoji":"👩🏿‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 여자 남자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[5,3],"emoji":"👩🏿‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 여자 남자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[5,4],"emoji":"👩🏿‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 여자 남자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":5,"emoji":"👩🏿‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 여자 남자 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]}]},{"emoji":"👨‍❤️‍💋‍👨","group":1,"order":3134,"tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하트"],"version":2,"annotation":"키스: 남자 남자","shortcodes":["kiss_mm"],"skins":[{"tone":1,"emoji":"👨🏻‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 남자 남자 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,2],"emoji":"👨🏻‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 남자 남자 하얀 피부 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,3],"emoji":"👨🏻‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 남자 남자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,4],"emoji":"👨🏻‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 남자 남자 하얀 피부 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,5],"emoji":"👨🏻‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 남자 남자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[2,1],"emoji":"👨🏼‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 남자 남자 연한 갈색 피부 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":2,"emoji":"👨🏼‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 남자 남자 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,3],"emoji":"👨🏼‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 남자 남자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,4],"emoji":"👨🏼‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 남자 남자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[2,5],"emoji":"👨🏼‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 남자 남자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[3,1],"emoji":"👨🏽‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 남자 남자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[3,2],"emoji":"👨🏽‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 남자 남자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":3,"emoji":"👨🏽‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 남자 남자 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]},{"tone":[3,4],"emoji":"👨🏽‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 남자 남자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[3,5],"emoji":"👨🏽‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 남자 남자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]},{"tone":[4,1],"emoji":"👨🏾‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 남자 남자 진한 갈색 피부 하얀 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[4,2],"emoji":"👨🏾‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 남자 남자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,3],"emoji":"👨🏾‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 남자 남자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":4,"emoji":"👨🏾‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 남자 남자 진한 갈색 피부","tags":["기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,5],"emoji":"👨🏾‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 남자 남자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[5,1],"emoji":"👨🏿‍❤️‍💋‍👨🏻","version":13.1,"annotation":"키스: 남자 남자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[5,2],"emoji":"👨🏿‍❤️‍💋‍👨🏼","version":13.1,"annotation":"키스: 남자 남자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[5,3],"emoji":"👨🏿‍❤️‍💋‍👨🏽","version":13.1,"annotation":"키스: 남자 남자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]},{"tone":[5,4],"emoji":"👨🏿‍❤️‍💋‍👨🏾","version":13.1,"annotation":"키스: 남자 남자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":5,"emoji":"👨🏿‍❤️‍💋‍👨🏿","version":13.1,"annotation":"키스: 남자 남자 검은색 피부","tags":["검은색 피부","기념일","남자","데이트","로맨스","사랑","연애","연인","커플","키스","하트"]}]},{"emoji":"👩‍❤️‍💋‍👩","group":1,"order":3186,"tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"],"version":2,"annotation":"키스: 여자 여자","shortcodes":["kiss_ww"],"skins":[{"tone":1,"emoji":"👩🏻‍❤️‍💋‍👩🏻","version":13.1,"annotation":"키스: 여자 여자 하얀 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,2],"emoji":"👩🏻‍❤️‍💋‍👩🏼","version":13.1,"annotation":"키스: 여자 여자 하얀 피부 연한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,3],"emoji":"👩🏻‍❤️‍💋‍👩🏽","version":13.1,"annotation":"키스: 여자 여자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[1,4],"emoji":"👩🏻‍❤️‍💋‍👩🏾","version":13.1,"annotation":"키스: 여자 여자 하얀 피부 진한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[1,5],"emoji":"👩🏻‍❤️‍💋‍👩🏿","version":13.1,"annotation":"키스: 여자 여자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[2,1],"emoji":"👩🏼‍❤️‍💋‍👩🏻","version":13.1,"annotation":"키스: 여자 여자 연한 갈색 피부 하얀 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":2,"emoji":"👩🏼‍❤️‍💋‍👩🏼","version":13.1,"annotation":"키스: 여자 여자 연한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,3],"emoji":"👩🏼‍❤️‍💋‍👩🏽","version":13.1,"annotation":"키스: 여자 여자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[2,4],"emoji":"👩🏼‍❤️‍💋‍👩🏾","version":13.1,"annotation":"키스: 여자 여자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[2,5],"emoji":"👩🏼‍❤️‍💋‍👩🏿","version":13.1,"annotation":"키스: 여자 여자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[3,1],"emoji":"👩🏽‍❤️‍💋‍👩🏻","version":13.1,"annotation":"키스: 여자 여자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[3,2],"emoji":"👩🏽‍❤️‍💋‍👩🏼","version":13.1,"annotation":"키스: 여자 여자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":3,"emoji":"👩🏽‍❤️‍💋‍👩🏽","version":13.1,"annotation":"키스: 여자 여자 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[3,4],"emoji":"👩🏽‍❤️‍💋‍👩🏾","version":13.1,"annotation":"키스: 여자 여자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[3,5],"emoji":"👩🏽‍❤️‍💋‍👩🏿","version":13.1,"annotation":"키스: 여자 여자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[4,1],"emoji":"👩🏾‍❤️‍💋‍👩🏻","version":13.1,"annotation":"키스: 여자 여자 진한 갈색 피부 하얀 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하얀 피부","하트"]},{"tone":[4,2],"emoji":"👩🏾‍❤️‍💋‍👩🏼","version":13.1,"annotation":"키스: 여자 여자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,3],"emoji":"👩🏾‍❤️‍💋‍👩🏽","version":13.1,"annotation":"키스: 여자 여자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":4,"emoji":"👩🏾‍❤️‍💋‍👩🏾","version":13.1,"annotation":"키스: 여자 여자 진한 갈색 피부","tags":["기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[4,5],"emoji":"👩🏾‍❤️‍💋‍👩🏿","version":13.1,"annotation":"키스: 여자 여자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":[5,1],"emoji":"👩🏿‍❤️‍💋‍👩🏻","version":13.1,"annotation":"키스: 여자 여자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하얀 피부","하트"]},{"tone":[5,2],"emoji":"👩🏿‍❤️‍💋‍👩🏼","version":13.1,"annotation":"키스: 여자 여자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","연한 갈색 피부","커플","키스","하트"]},{"tone":[5,3],"emoji":"👩🏿‍❤️‍💋‍👩🏽","version":13.1,"annotation":"키스: 여자 여자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]},{"tone":[5,4],"emoji":"👩🏿‍❤️‍💋‍👩🏾","version":13.1,"annotation":"키스: 여자 여자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","진한 갈색 피부","커플","키스","하트"]},{"tone":5,"emoji":"👩🏿‍❤️‍💋‍👩🏿","version":13.1,"annotation":"키스: 여자 여자 검은색 피부","tags":["검은색 피부","기념일","데이트","로맨스","사랑","여자","연애","연인","커플","키스","하트"]}]},{"emoji":"💑","group":1,"order":3238,"tags":["기념일","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"],"version":0.6,"annotation":"연인","shortcodes":["couple_with_heart"],"skins":[{"tone":1,"emoji":"💑🏻","version":13.1,"annotation":"연인: 하얀 피부","tags":["기념일","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":2,"emoji":"💑🏼","version":13.1,"annotation":"연인: 연한 갈색 피부","tags":["기념일","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":3,"emoji":"💑🏽","version":13.1,"annotation":"연인: 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":4,"emoji":"💑🏾","version":13.1,"annotation":"연인: 진한 갈색 피부","tags":["기념일","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":5,"emoji":"💑🏿","version":13.1,"annotation":"연인: 검은색 피부","tags":["검은색 피부","기념일","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[1,2],"emoji":"🧑🏻‍❤️‍🧑🏼","version":13.1,"annotation":"연인: 사람 사람 하얀 피부 연한 갈색 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,3],"emoji":"🧑🏻‍❤️‍🧑🏽","version":13.1,"annotation":"연인: 사람 사람 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,4],"emoji":"🧑🏻‍❤️‍🧑🏾","version":13.1,"annotation":"연인: 사람 사람 하얀 피부 진한 갈색 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,5],"emoji":"🧑🏻‍❤️‍🧑🏿","version":13.1,"annotation":"연인: 사람 사람 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[2,1],"emoji":"🧑🏼‍❤️‍🧑🏻","version":13.1,"annotation":"연인: 사람 사람 연한 갈색 피부 하얀 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[2,3],"emoji":"🧑🏼‍❤️‍🧑🏽","version":13.1,"annotation":"연인: 사람 사람 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,4],"emoji":"🧑🏼‍❤️‍🧑🏾","version":13.1,"annotation":"연인: 사람 사람 연한 갈색 피부 진한 갈색 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,5],"emoji":"🧑🏼‍❤️‍🧑🏿","version":13.1,"annotation":"연인: 사람 사람 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,1],"emoji":"🧑🏽‍❤️‍🧑🏻","version":13.1,"annotation":"연인: 사람 사람 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[3,2],"emoji":"🧑🏽‍❤️‍🧑🏼","version":13.1,"annotation":"연인: 사람 사람 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,4],"emoji":"🧑🏽‍❤️‍🧑🏾","version":13.1,"annotation":"연인: 사람 사람 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,5],"emoji":"🧑🏽‍❤️‍🧑🏿","version":13.1,"annotation":"연인: 사람 사람 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,1],"emoji":"🧑🏾‍❤️‍🧑🏻","version":13.1,"annotation":"연인: 사람 사람 진한 갈색 피부 하얀 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[4,2],"emoji":"🧑🏾‍❤️‍🧑🏼","version":13.1,"annotation":"연인: 사람 사람 진한 갈색 피부 연한 갈색 피부","tags":["기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,3],"emoji":"🧑🏾‍❤️‍🧑🏽","version":13.1,"annotation":"연인: 사람 사람 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,5],"emoji":"🧑🏾‍❤️‍🧑🏿","version":13.1,"annotation":"연인: 사람 사람 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,1],"emoji":"🧑🏿‍❤️‍🧑🏻","version":13.1,"annotation":"연인: 사람 사람 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[5,2],"emoji":"🧑🏿‍❤️‍🧑🏼","version":13.1,"annotation":"연인: 사람 사람 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,3],"emoji":"🧑🏿‍❤️‍🧑🏽","version":13.1,"annotation":"연인: 사람 사람 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,4],"emoji":"🧑🏿‍❤️‍🧑🏾","version":13.1,"annotation":"연인: 사람 사람 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","로맨스","사람","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]}]},{"emoji":"👩‍❤️‍👨","group":1,"order":3284,"tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"],"version":2,"annotation":"연인: 여자 남자","shortcodes":["couple_with_heart_mw","couple_with_heart_wm"],"skins":[{"tone":1,"emoji":"👩🏻‍❤️‍👨🏻","version":13.1,"annotation":"연인: 여자 남자 하얀 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,2],"emoji":"👩🏻‍❤️‍👨🏼","version":13.1,"annotation":"연인: 여자 남자 하얀 피부 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,3],"emoji":"👩🏻‍❤️‍👨🏽","version":13.1,"annotation":"연인: 여자 남자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,4],"emoji":"👩🏻‍❤️‍👨🏾","version":13.1,"annotation":"연인: 여자 남자 하얀 피부 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,5],"emoji":"👩🏻‍❤️‍👨🏿","version":13.1,"annotation":"연인: 여자 남자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[2,1],"emoji":"👩🏼‍❤️‍👨🏻","version":13.1,"annotation":"연인: 여자 남자 연한 갈색 피부 하얀 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":2,"emoji":"👩🏼‍❤️‍👨🏼","version":13.1,"annotation":"연인: 여자 남자 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,3],"emoji":"👩🏼‍❤️‍👨🏽","version":13.1,"annotation":"연인: 여자 남자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,4],"emoji":"👩🏼‍❤️‍👨🏾","version":13.1,"annotation":"연인: 여자 남자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,5],"emoji":"👩🏼‍❤️‍👨🏿","version":13.1,"annotation":"연인: 여자 남자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,1],"emoji":"👩🏽‍❤️‍👨🏻","version":13.1,"annotation":"연인: 여자 남자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[3,2],"emoji":"👩🏽‍❤️‍👨🏼","version":13.1,"annotation":"연인: 여자 남자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":3,"emoji":"👩🏽‍❤️‍👨🏽","version":13.1,"annotation":"연인: 여자 남자 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,4],"emoji":"👩🏽‍❤️‍👨🏾","version":13.1,"annotation":"연인: 여자 남자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,5],"emoji":"👩🏽‍❤️‍👨🏿","version":13.1,"annotation":"연인: 여자 남자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,1],"emoji":"👩🏾‍❤️‍👨🏻","version":13.1,"annotation":"연인: 여자 남자 진한 갈색 피부 하얀 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[4,2],"emoji":"👩🏾‍❤️‍👨🏼","version":13.1,"annotation":"연인: 여자 남자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,3],"emoji":"👩🏾‍❤️‍👨🏽","version":13.1,"annotation":"연인: 여자 남자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":4,"emoji":"👩🏾‍❤️‍👨🏾","version":13.1,"annotation":"연인: 여자 남자 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,5],"emoji":"👩🏾‍❤️‍👨🏿","version":13.1,"annotation":"연인: 여자 남자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,1],"emoji":"👩🏿‍❤️‍👨🏻","version":13.1,"annotation":"연인: 여자 남자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[5,2],"emoji":"👩🏿‍❤️‍👨🏼","version":13.1,"annotation":"연인: 여자 남자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,3],"emoji":"👩🏿‍❤️‍👨🏽","version":13.1,"annotation":"연인: 여자 남자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,4],"emoji":"👩🏿‍❤️‍👨🏾","version":13.1,"annotation":"연인: 여자 남자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":5,"emoji":"👩🏿‍❤️‍👨🏿","version":13.1,"annotation":"연인: 여자 남자 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]}]},{"emoji":"👨‍❤️‍👨","group":1,"order":3336,"tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"],"version":2,"annotation":"연인: 남자 남자","shortcodes":["couple_with_heart_mm"],"skins":[{"tone":1,"emoji":"👨🏻‍❤️‍👨🏻","version":13.1,"annotation":"연인: 남자 남자 하얀 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,2],"emoji":"👨🏻‍❤️‍👨🏼","version":13.1,"annotation":"연인: 남자 남자 하얀 피부 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,3],"emoji":"👨🏻‍❤️‍👨🏽","version":13.1,"annotation":"연인: 남자 남자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,4],"emoji":"👨🏻‍❤️‍👨🏾","version":13.1,"annotation":"연인: 남자 남자 하얀 피부 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,5],"emoji":"👨🏻‍❤️‍👨🏿","version":13.1,"annotation":"연인: 남자 남자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[2,1],"emoji":"👨🏼‍❤️‍👨🏻","version":13.1,"annotation":"연인: 남자 남자 연한 갈색 피부 하얀 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":2,"emoji":"👨🏼‍❤️‍👨🏼","version":13.1,"annotation":"연인: 남자 남자 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,3],"emoji":"👨🏼‍❤️‍👨🏽","version":13.1,"annotation":"연인: 남자 남자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,4],"emoji":"👨🏼‍❤️‍👨🏾","version":13.1,"annotation":"연인: 남자 남자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,5],"emoji":"👨🏼‍❤️‍👨🏿","version":13.1,"annotation":"연인: 남자 남자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,1],"emoji":"👨🏽‍❤️‍👨🏻","version":13.1,"annotation":"연인: 남자 남자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[3,2],"emoji":"👨🏽‍❤️‍👨🏼","version":13.1,"annotation":"연인: 남자 남자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":3,"emoji":"👨🏽‍❤️‍👨🏽","version":13.1,"annotation":"연인: 남자 남자 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,4],"emoji":"👨🏽‍❤️‍👨🏾","version":13.1,"annotation":"연인: 남자 남자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,5],"emoji":"👨🏽‍❤️‍👨🏿","version":13.1,"annotation":"연인: 남자 남자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,1],"emoji":"👨🏾‍❤️‍👨🏻","version":13.1,"annotation":"연인: 남자 남자 진한 갈색 피부 하얀 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[4,2],"emoji":"👨🏾‍❤️‍👨🏼","version":13.1,"annotation":"연인: 남자 남자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,3],"emoji":"👨🏾‍❤️‍👨🏽","version":13.1,"annotation":"연인: 남자 남자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":4,"emoji":"👨🏾‍❤️‍👨🏾","version":13.1,"annotation":"연인: 남자 남자 진한 갈색 피부","tags":["기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,5],"emoji":"👨🏾‍❤️‍👨🏿","version":13.1,"annotation":"연인: 남자 남자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,1],"emoji":"👨🏿‍❤️‍👨🏻","version":13.1,"annotation":"연인: 남자 남자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[5,2],"emoji":"👨🏿‍❤️‍👨🏼","version":13.1,"annotation":"연인: 남자 남자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,3],"emoji":"👨🏿‍❤️‍👨🏽","version":13.1,"annotation":"연인: 남자 남자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,4],"emoji":"👨🏿‍❤️‍👨🏾","version":13.1,"annotation":"연인: 남자 남자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":5,"emoji":"👨🏿‍❤️‍👨🏿","version":13.1,"annotation":"연인: 남자 남자 검은색 피부","tags":["검은색 피부","기념일","남자","로맨스","사랑","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]}]},{"emoji":"👩‍❤️‍👩","group":1,"order":3388,"tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"],"version":2,"annotation":"연인: 여자 여자","shortcodes":["couple_with_heart_ww"],"skins":[{"tone":1,"emoji":"👩🏻‍❤️‍👩🏻","version":13.1,"annotation":"연인: 여자 여자 하얀 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,2],"emoji":"👩🏻‍❤️‍👩🏼","version":13.1,"annotation":"연인: 여자 여자 하얀 피부 연한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,3],"emoji":"👩🏻‍❤️‍👩🏽","version":13.1,"annotation":"연인: 여자 여자 하얀 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,4],"emoji":"👩🏻‍❤️‍👩🏾","version":13.1,"annotation":"연인: 여자 여자 하얀 피부 진한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[1,5],"emoji":"👩🏻‍❤️‍👩🏿","version":13.1,"annotation":"연인: 여자 여자 하얀 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[2,1],"emoji":"👩🏼‍❤️‍👩🏻","version":13.1,"annotation":"연인: 여자 여자 연한 갈색 피부 하얀 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":2,"emoji":"👩🏼‍❤️‍👩🏼","version":13.1,"annotation":"연인: 여자 여자 연한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,3],"emoji":"👩🏼‍❤️‍👩🏽","version":13.1,"annotation":"연인: 여자 여자 연한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,4],"emoji":"👩🏼‍❤️‍👩🏾","version":13.1,"annotation":"연인: 여자 여자 연한 갈색 피부 진한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[2,5],"emoji":"👩🏼‍❤️‍👩🏿","version":13.1,"annotation":"연인: 여자 여자 연한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,1],"emoji":"👩🏽‍❤️‍👩🏻","version":13.1,"annotation":"연인: 여자 여자 갈색 피부 하얀 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[3,2],"emoji":"👩🏽‍❤️‍👩🏼","version":13.1,"annotation":"연인: 여자 여자 갈색 피부 연한 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":3,"emoji":"👩🏽‍❤️‍👩🏽","version":13.1,"annotation":"연인: 여자 여자 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,4],"emoji":"👩🏽‍❤️‍👩🏾","version":13.1,"annotation":"연인: 여자 여자 갈색 피부 진한 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[3,5],"emoji":"👩🏽‍❤️‍👩🏿","version":13.1,"annotation":"연인: 여자 여자 갈색 피부 검은색 피부","tags":["갈색 피부","검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,1],"emoji":"👩🏾‍❤️‍👩🏻","version":13.1,"annotation":"연인: 여자 여자 진한 갈색 피부 하얀 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[4,2],"emoji":"👩🏾‍❤️‍👩🏼","version":13.1,"annotation":"연인: 여자 여자 진한 갈색 피부 연한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,3],"emoji":"👩🏾‍❤️‍👩🏽","version":13.1,"annotation":"연인: 여자 여자 진한 갈색 피부 갈색 피부","tags":["갈색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":4,"emoji":"👩🏾‍❤️‍👩🏾","version":13.1,"annotation":"연인: 여자 여자 진한 갈색 피부","tags":["기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[4,5],"emoji":"👩🏾‍❤️‍👩🏿","version":13.1,"annotation":"연인: 여자 여자 진한 갈색 피부 검은색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,1],"emoji":"👩🏿‍❤️‍👩🏻","version":13.1,"annotation":"연인: 여자 여자 검은색 피부 하얀 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하얀 피부","하트","하트가 있는 연인"]},{"tone":[5,2],"emoji":"👩🏿‍❤️‍👩🏼","version":13.1,"annotation":"연인: 여자 여자 검은색 피부 연한 갈색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","연한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,3],"emoji":"👩🏿‍❤️‍👩🏽","version":13.1,"annotation":"연인: 여자 여자 검은색 피부 갈색 피부","tags":["갈색 피부","검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]},{"tone":[5,4],"emoji":"👩🏿‍❤️‍👩🏾","version":13.1,"annotation":"연인: 여자 여자 검은색 피부 진한 갈색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","진한 갈색 피부","커플","키스","하트","하트가 있는 연인"]},{"tone":5,"emoji":"👩🏿‍❤️‍👩🏿","version":13.1,"annotation":"연인: 여자 여자 검은색 피부","tags":["검은색 피부","기념일","로맨스","사랑","여자","연애","연애 중","연인","커플","키스","하트","하트가 있는 연인"]}]},{"emoji":"👨‍👩‍👦","group":1,"order":3440,"tags":["가족","남자","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 남자 여자 남자 아이","shortcodes":["family_mwb"]},{"emoji":"👨‍👩‍👧","group":1,"order":3441,"tags":["가족","남자","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 남자 여자 여자 아이","shortcodes":["family_mwg"]},{"emoji":"👨‍👩‍👧‍👦","group":1,"order":3442,"tags":["가족","남자","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 남자 여자 여자 아이 남자 아이","shortcodes":["family_mwgb"]},{"emoji":"👨‍👩‍👦‍👦","group":1,"order":3443,"tags":["가족","남자","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 남자 여자 남자 아이 남자 아이","shortcodes":["family_mwbb"]},{"emoji":"👨‍👩‍👧‍👧","group":1,"order":3444,"tags":["가족","남자","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 남자 여자 여자 아이 여자 아이","shortcodes":["family_mwgg"]},{"emoji":"👨‍👨‍👦","group":1,"order":3445,"tags":["가족","남자","사람들","아빠","아이","엄마"],"version":2,"annotation":"가족: 남자 남자 남자 아이","shortcodes":["family_mmb"]},{"emoji":"👨‍👨‍👧","group":1,"order":3446,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":2,"annotation":"가족: 남자 남자 여자 아이","shortcodes":["family_mmg"]},{"emoji":"👨‍👨‍👧‍👦","group":1,"order":3447,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":2,"annotation":"가족: 남자 남자 여자 아이 남자 아이","shortcodes":["family_mmgb"]},{"emoji":"👨‍👨‍👦‍👦","group":1,"order":3448,"tags":["가족","남자","사람들","아빠","아이","엄마"],"version":2,"annotation":"가족: 남자 남자 남자 아이 남자 아이","shortcodes":["family_mmbb"]},{"emoji":"👨‍👨‍👧‍👧","group":1,"order":3449,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":2,"annotation":"가족: 남자 남자 여자 아이 여자 아이","shortcodes":["family_mmgg"]},{"emoji":"👩‍👩‍👦","group":1,"order":3450,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 여자 여자 남자 아이","shortcodes":["family_wwb"]},{"emoji":"👩‍👩‍👧","group":1,"order":3451,"tags":["가족","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 여자 여자 여자 아이","shortcodes":["family_wwg"]},{"emoji":"👩‍👩‍👧‍👦","group":1,"order":3452,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 여자 여자 여자 아이 남자 아이","shortcodes":["family_wwgb"]},{"emoji":"👩‍👩‍👦‍👦","group":1,"order":3453,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 여자 여자 남자 아이 남자 아이","shortcodes":["family_wwbb"]},{"emoji":"👩‍👩‍👧‍👧","group":1,"order":3454,"tags":["가족","사람들","아빠","아이","엄마","여자"],"version":2,"annotation":"가족: 여자 여자 여자 아이 여자 아이","shortcodes":["family_wwgg"]},{"emoji":"👨‍👦","group":1,"order":3455,"tags":["가족","남자","사람들","아빠","아이","엄마"],"version":4,"annotation":"가족: 남자 남자 아이","shortcodes":["family_mb"]},{"emoji":"👨‍👦‍👦","group":1,"order":3456,"tags":["가족","남자","사람들","아빠","아이","엄마"],"version":4,"annotation":"가족: 남자 남자 아이 남자 아이","shortcodes":["family_mbb"]},{"emoji":"👨‍👧","group":1,"order":3457,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":4,"annotation":"가족: 남자 여자 아이","shortcodes":["family_mg"]},{"emoji":"👨‍👧‍👦","group":1,"order":3458,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":4,"annotation":"가족: 남자 여자 아이 남자 아이","shortcodes":["family_mgb"]},{"emoji":"👨‍👧‍👧","group":1,"order":3459,"tags":["가족","남자","사람들","아빠","아이","엄마","여자 아이"],"version":4,"annotation":"가족: 남자 여자 아이 여자 아이","shortcodes":["family_mgg"]},{"emoji":"👩‍👦","group":1,"order":3460,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":4,"annotation":"가족: 여자 남자 아이","shortcodes":["family_wb"]},{"emoji":"👩‍👦‍👦","group":1,"order":3461,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":4,"annotation":"가족: 여자 남자 아이 남자 아이","shortcodes":["family_wbb"]},{"emoji":"👩‍👧","group":1,"order":3462,"tags":["가족","사람들","아빠","아이","엄마","여자"],"version":4,"annotation":"가족: 여자 여자 아이","shortcodes":["family_wg"]},{"emoji":"👩‍👧‍👦","group":1,"order":3463,"tags":["가족","남자 아이","사람들","아빠","아이","엄마","여자"],"version":4,"annotation":"가족: 여자 여자 아이 남자 아이","shortcodes":["family_wgb"]},{"emoji":"👩‍👧‍👧","group":1,"order":3464,"tags":["가족","사람들","아빠","아이","엄마","여자"],"version":4,"annotation":"가족: 여자 여자 아이 여자 아이","shortcodes":["family_wgg"]},{"emoji":"🗣️","group":1,"order":3466,"tags":["말하고 있는 옆얼굴","말하는","말함","머리","실루엣","얼굴"],"version":0.7,"annotation":"말하고 있는 옆얼굴","shortcodes":["speaking_head"]},{"emoji":"👤","group":1,"order":3467,"tags":["미스테리한","사람","사람 그림자","상반신","상체","실루엣"],"version":0.6,"annotation":"사람 그림자","shortcodes":["bust_in_silhouette"]},{"emoji":"👥","group":1,"order":3468,"tags":["사람들","사람들 그림자","상반신","상체","상체 그림자","영원한 베스트프렌드","친구들"],"version":1,"annotation":"사람들 그림자","shortcodes":["busts_in_silhouette"]},{"emoji":"🫂","group":1,"order":3469,"tags":["고마워","굿바이","사랑","안녕","안아주기","우정","이별","잘 가","편안한","포옹","포옹하는 사람","허그"],"version":13,"annotation":"포옹하는 사람","shortcodes":["people_hugging"]},{"emoji":"👪️","group":1,"order":3470,"tags":["가족","사람들","아빠","아이","엄마"],"version":0.6,"annotation":"가족","shortcodes":["family"]},{"emoji":"🧑‍🧑‍🧒","group":1,"order":3471,"tags":["가족","성인","아이"],"version":15.1,"annotation":"가족: 성인 · 성인 · 아이","shortcodes":["family_aac"]},{"emoji":"🧑‍🧑‍🧒‍🧒","group":1,"order":3472,"tags":["가족","성인","아이"],"version":15.1,"annotation":"가족: 성인 · 성인 · 아이 · 아이","shortcodes":["family_aacc"]},{"emoji":"🧑‍🧒","group":1,"order":3473,"tags":["가족","성인","아이"],"version":15.1,"annotation":"가족: 성인 · 아이","shortcodes":["family_ac"]},{"emoji":"🧑‍🧒‍🧒","group":1,"order":3474,"tags":["가족","성인","아이"],"version":15.1,"annotation":"가족: 성인 · 아이 · 아이","shortcodes":["family_acc"]},{"emoji":"👣","group":1,"order":3475,"tags":["가는 중","걸음","맨발","발","발바닥","발자국","의류","족적"],"version":0.6,"annotation":"발자국","shortcodes":["footprints"]},{"emoji":"🫆","group":1,"order":3476,"tags":["단서","미스터리","범죄","신원","안전","지문","추적","탐정","포렌식","프린트"],"version":16,"annotation":"지문","shortcodes":["fingerprint"]},{"emoji":"🏻","group":2,"order":3477,"tags":["타입 일 다시 이","피부톤","하얀 피부"],"version":1,"annotation":"하얀 피부","shortcodes":["tone1","tone_light"]},{"emoji":"🏼","group":2,"order":3478,"tags":["연한 갈색 피부","타입 삼","피부톤"],"version":1,"annotation":"연한 갈색 피부","shortcodes":["tone2","tone_medium_light"]},{"emoji":"🏽","group":2,"order":3479,"tags":["갈색 피부","타입 사","피부톤"],"version":1,"annotation":"갈색 피부","shortcodes":["tone3","tone_medium"]},{"emoji":"🏾","group":2,"order":3480,"tags":["진한 갈색 피부","타입 오","피부톤"],"version":1,"annotation":"진한 갈색 피부","shortcodes":["tone4","tone_medium_dark"]},{"emoji":"🏿","group":2,"order":3481,"tags":["검은색 피부","타입 육","피부톤"],"version":1,"annotation":"검은색 피부","shortcodes":["tone5","tone_dark"]},{"emoji":"🦰","group":2,"order":3482,"tags":["빨간 머리","적갈색"],"version":11,"annotation":"빨간 머리","shortcodes":["red_hair"]},{"emoji":"🦱","group":2,"order":3483,"tags":["고수머리","곱슬머리","아프로"],"version":11,"annotation":"곱슬머리","shortcodes":["curly_hair"]},{"emoji":"🦳","group":2,"order":3484,"tags":["머리","백발","은발","장년"],"version":11,"annotation":"백발","shortcodes":["white_hair"]},{"emoji":"🦲","group":2,"order":3485,"tags":["대머리","맨머리","민머리","벗겨진 머리"],"version":11,"annotation":"대머리","shortcodes":["no_hair"]},{"emoji":"🐵","group":3,"order":3486,"tags":["동물","바나나","얼굴","원숭이","원숭이띠"],"version":0.6,"annotation":"원숭이 얼굴","shortcodes":["monkey_face"]},{"emoji":"🐒","group":3,"order":3487,"tags":["동물","원숭이"],"version":0.6,"annotation":"원숭이","shortcodes":["monkey"]},{"emoji":"🦍","group":3,"order":3488,"tags":["고릴라","동물"],"version":3,"annotation":"고릴라","shortcodes":["gorilla"]},{"emoji":"🦧","group":3,"order":3489,"tags":["동물","오랑우탄","원숭이","유인원"],"version":12,"annotation":"오랑우탄","shortcodes":["orangutan"]},{"emoji":"🐶","group":3,"order":3490,"tags":["강아지","강아지 얼굴","개","개띠","동물","사랑스러운","애완동물"],"version":0.6,"annotation":"강아지 얼굴","shortcodes":["dog_face"]},{"emoji":"🐕️","group":3,"order":3491,"tags":["강아지","개","동물","멍멍이","애완동물"],"version":0.7,"annotation":"개","shortcodes":["dog"]},{"emoji":"🦮","group":3,"order":3492,"tags":["시각장애","안내","안내견","접근성"],"version":12,"annotation":"안내견","shortcodes":["guide_dog"]},{"emoji":"🐕‍🦺","group":3,"order":3493,"tags":["개","보조","보조견","서비스","접근성"],"version":12,"annotation":"보조견","shortcodes":["service_dog"]},{"emoji":"🐩","group":3,"order":3494,"tags":["강아지","개","동물","멍멍이","복실복실한","푸들"],"version":0.6,"annotation":"푸들","shortcodes":["poodle"]},{"emoji":"🐺","group":3,"order":3495,"tags":["늑대","동물","얼굴"],"version":0.6,"annotation":"늑대 얼굴","shortcodes":["wolf","wolf_face"]},{"emoji":"🦊","group":3,"order":3496,"tags":["동물","얼굴","여우"],"version":3,"annotation":"여우 얼굴","shortcodes":["fox","fox_face"]},{"emoji":"🦝","group":3,"order":3497,"tags":["너구리","동물","라쿤","장난기 있는","호기심"],"version":11,"annotation":"너구리","shortcodes":["raccoon"]},{"emoji":"🐱","group":3,"order":3498,"tags":["고양이","동물","새끼 고양이","애완동물","얼굴","키티"],"version":0.6,"annotation":"고양이 얼굴","shortcodes":["cat_face"]},{"emoji":"🐈️","group":3,"order":3499,"tags":["고양이","괭이","냐옹이","동물","새끼 고양이","애완동물","야옹이","집사"],"version":0.7,"annotation":"고양이","shortcodes":["cat"]},{"emoji":"🐈‍⬛","group":3,"order":3500,"tags":["검은","고양이","고양이 같은","동물","불길한","불행","야옹","할로윈","핼러윈"],"version":13,"annotation":"검은 고양이","shortcodes":["black_cat"]},{"emoji":"🦁","group":3,"order":3501,"tags":["갈기","동물","레오","사자","사자자리","사파리","알파","얼굴","으르렁거리는","힘이 센"],"version":1,"annotation":"사자 얼굴","shortcodes":["lion","lion_face"]},{"emoji":"🐯","group":3,"order":3502,"tags":["동물","얼굴","포식자","호랑이","호랑이띠"],"version":0.6,"annotation":"호랑이 얼굴","shortcodes":["tiger_face"]},{"emoji":"🐅","group":3,"order":3503,"tags":["동물","동물원","큰 고양이과 동물","타이거","포식자","호랑이"],"version":1,"annotation":"호랑이","shortcodes":["tiger"]},{"emoji":"🐆","group":3,"order":3504,"tags":["동물","동물원","레오파드","큰 고양이과 동물","포식자","표범"],"version":1,"annotation":"표범","shortcodes":["leopard"]},{"emoji":"🐴","group":3,"order":3505,"tags":["농장","동물","마장마술","말","말띠","얼굴"],"version":0.6,"annotation":"말 얼굴","shortcodes":["horse_face"]},{"emoji":"🫎","group":3,"order":3506,"tags":["가지진 뿔","동물","무스","엘크","포유동물"],"version":15,"annotation":"무스","shortcodes":["moose"]},{"emoji":"🫏","group":3,"order":3507,"tags":["고집불통","노새","당나귀","동물","엉덩이","포유동물"],"version":15,"annotation":"당나귀","shortcodes":["donkey"]},{"emoji":"🐎","group":3,"order":3508,"tags":["경마","동물","레이스","레이싱","말","벨몬트 스테이크","승마","켄터키 더비","트리플 크라운"],"version":0.6,"annotation":"말","shortcodes":["horse","racehorse"]},{"emoji":"🦄","group":3,"order":3509,"tags":["얼굴","유니콘"],"version":1,"annotation":"유니콘 얼굴","shortcodes":["unicorn","unicorn_face"]},{"emoji":"🦓","group":3,"order":3510,"tags":["얼룩말","줄무늬"],"version":5,"annotation":"얼룩말","shortcodes":["zebra"]},{"emoji":"🦌","group":3,"order":3511,"tags":["동물","사슴"],"version":3,"annotation":"사슴","shortcodes":["deer"]},{"emoji":"🦬","group":3,"order":3512,"tags":["동물","들소","떼","물소","바이슨"],"version":13,"annotation":"들소","shortcodes":["bison"]},{"emoji":"🐮","group":3,"order":3513,"tags":["농장","동물","소","소 얼굴","소띠","우유","음메"],"version":0.6,"annotation":"소 얼굴","shortcodes":["cow_face"]},{"emoji":"🐂","group":3,"order":3514,"tags":["농장","동물","별자리","소","황소","황소자리"],"version":1,"annotation":"소","shortcodes":["ox"]},{"emoji":"🐃","group":3,"order":3515,"tags":["동물","동물원","물소","버팔로","소"],"version":1,"annotation":"물소","shortcodes":["water_buffalo"]},{"emoji":"🐄","group":3,"order":3516,"tags":["농장","동물","소","우유","음메","젖소"],"version":1,"annotation":"젖소","shortcodes":["cow"]},{"emoji":"🐷","group":3,"order":3517,"tags":["농장","동물","돼지","돼지 얼굴","돼지고기","돼지띠","베이컨","윌버"],"version":0.6,"annotation":"돼지 얼굴","shortcodes":["pig_face"]},{"emoji":"🐖","group":3,"order":3518,"tags":["꿀꿀이","농장","동물","돼지","돼지고기","베이컨","암퇘지"],"version":1,"annotation":"돼지","shortcodes":["pig"]},{"emoji":"🐗","group":3,"order":3519,"tags":["동물","돼지","멧돼지","피그"],"version":0.6,"annotation":"멧돼지","shortcodes":["boar"]},{"emoji":"🐽","group":3,"order":3520,"tags":["꿀꿀","농장","동물","돼지코","얼굴","주둥이","코"],"version":0.6,"annotation":"돼지코","shortcodes":["pig_nose"]},{"emoji":"🐏","group":3,"order":3521,"tags":["동물","동물원","별자리","숫양","양자리"],"version":1,"annotation":"숫양","shortcodes":["ram"]},{"emoji":"🐑","group":3,"order":3522,"tags":["농장","동물","매~","복실복실한","새끼 양","암양","양","울"],"version":0.6,"annotation":"양","shortcodes":["ewe","sheep"]},{"emoji":"🐐","group":3,"order":3523,"tags":["농장","동물","별자리","염소","염소자리","우유"],"version":1,"annotation":"염소","shortcodes":["goat"]},{"emoji":"🐪","group":3,"order":3524,"tags":["낙타","단봉 낙타","동물","사막","혹"],"version":1,"annotation":"낙타","shortcodes":["dromedary_camel"]},{"emoji":"🐫","group":3,"order":3525,"tags":["낙타","동물","쌍봉","혹"],"version":0.6,"annotation":"쌍봉 낙타","shortcodes":["camel"]},{"emoji":"🦙","group":3,"order":3526,"tags":["과나코","동물","라마","비큐나","알파카","울"],"version":11,"annotation":"라마","shortcodes":["llama"]},{"emoji":"🦒","group":3,"order":3527,"tags":["기린","동물","얼룩","점"],"version":5,"annotation":"기린","shortcodes":["giraffe"]},{"emoji":"🐘","group":3,"order":3528,"tags":["동물","코끼리"],"version":0.6,"annotation":"코끼리","shortcodes":["elephant"]},{"emoji":"🦣","group":3,"order":3529,"tags":["동물","맘모스","매머드","멸종","상아","큰","털복숭이 맘모스","털북숭이"],"version":13,"annotation":"매머드","shortcodes":["mammoth"]},{"emoji":"🦏","group":3,"order":3530,"tags":["동물","코뿔소"],"version":3,"annotation":"코뿔소","shortcodes":["rhino","rhinoceros"]},{"emoji":"🦛","group":3,"order":3531,"tags":["동물","하마"],"version":11,"annotation":"하마","shortcodes":["hippo"]},{"emoji":"🐭","group":3,"order":3532,"tags":["동물","얼굴","쥐","쥐띠"],"version":0.6,"annotation":"쥐 얼굴","shortcodes":["mouse_face"]},{"emoji":"🐁","group":3,"order":3533,"tags":["동물","마우스","생쥐","쥐","흰쥐"],"version":1,"annotation":"생쥐","shortcodes":["mouse"]},{"emoji":"🐀","group":3,"order":3534,"tags":["동물","생쥐","쥐"],"version":1,"annotation":"쥐","shortcodes":["rat"]},{"emoji":"🐹","group":3,"order":3535,"tags":["동물","애완동물","얼굴","햄스터"],"version":0.6,"annotation":"햄스터 얼굴","shortcodes":["hamster","hamster_face"]},{"emoji":"🐰","group":3,"order":3536,"tags":["동물","버니","애완동물","얼굴","토끼","토끼띠"],"version":0.6,"annotation":"토끼 얼굴","shortcodes":["rabbit_face"]},{"emoji":"🐇","group":3,"order":3537,"tags":["동물","버니","애완동물","토깽이","토끼"],"version":1,"annotation":"토끼","shortcodes":["rabbit"]},{"emoji":"🐿️","group":3,"order":3539,"tags":["다람쥐","얼룩다람쥐"],"version":0.7,"annotation":"얼룩다람쥐","shortcodes":["chipmunk"]},{"emoji":"🦫","group":3,"order":3540,"tags":["댐","동물","비버","이빨"],"version":13,"annotation":"비버","shortcodes":["beaver"]},{"emoji":"🦔","group":3,"order":3541,"tags":["가시","고슴도치","뾰족뾰족"],"version":5,"annotation":"고슴도치","shortcodes":["hedgehog"]},{"emoji":"🦇","group":3,"order":3542,"tags":["동물","박쥐","뱀파이어"],"version":3,"annotation":"박쥐","shortcodes":["bat"]},{"emoji":"🐻","group":3,"order":3543,"tags":["곰","곰 얼굴","곰돌이","꿀","동물","으르렁거리는","회색곰"],"version":0.6,"annotation":"곰 얼굴","shortcodes":["bear","bear_face"]},{"emoji":"🐻‍❄️","group":3,"order":3544,"tags":["곰","동물","백곰","북극","북극곰","흰곰"],"version":13,"annotation":"북극곰","shortcodes":["polar_bear","polar_bear_face"]},{"emoji":"🐨","group":3,"order":3546,"tags":["동물","오스트레일리아","유대목","코알라","호주"],"version":0.6,"annotation":"코알라","shortcodes":["koala","koala_face"]},{"emoji":"🐼","group":3,"order":3547,"tags":["대나무","동물","얼굴","판다","판다곰"],"version":0.6,"annotation":"판다 얼굴","shortcodes":["panda","panda_face"]},{"emoji":"🦥","group":3,"order":3548,"tags":["게으른","나무늘보","느린"],"version":12,"annotation":"나무늘보","shortcodes":["sloth"]},{"emoji":"🦦","group":3,"order":3549,"tags":["낚시","물고기 사냥","수달","장난꾸러기"],"version":12,"annotation":"수달","shortcodes":["otter"]},{"emoji":"🦨","group":3,"order":3550,"tags":["냄새가 고약한","냄새나는","동물","스컹크"],"version":12,"annotation":"스컹크","shortcodes":["skunk"]},{"emoji":"🦘","group":3,"order":3551,"tags":["동물","새끼 캥거루","유대목 동물","점프","캥거루","호주"],"version":11,"annotation":"캥거루","shortcodes":["kangaroo"]},{"emoji":"🦡","group":3,"order":3552,"tags":["동물","벌꿀오소리","심술쟁이","오소리"],"version":11,"annotation":"오소리","shortcodes":["badger"]},{"emoji":"🐾","group":3,"order":3553,"tags":["곰발바닥","곰발자국","동물","동물 발자국","발"],"version":0.6,"annotation":"곰발바닥","shortcodes":["paw_prints"]},{"emoji":"🦃","group":3,"order":3554,"tags":["새","추수감사절","칠면조","터키"],"version":1,"annotation":"칠면조","shortcodes":["turkey"]},{"emoji":"🐔","group":3,"order":3555,"tags":["닭","동물","암탉","치킨"],"version":0.6,"annotation":"닭","shortcodes":["chicken","chicken_face"]},{"emoji":"🐓","group":3,"order":3556,"tags":["동물","새","수탉","조류"],"version":1,"annotation":"수탉","shortcodes":["rooster"]},{"emoji":"🐣","group":3,"order":3557,"tags":["갓 태어난 병아리","계란","동물","병아리","새끼","알에서 깬 병아리","조류"],"version":0.6,"annotation":"알에서 깬 병아리","shortcodes":["hatching_chick"]},{"emoji":"🐤","group":3,"order":3558,"tags":["동물","병아리","아기 병아리","조류"],"version":0.6,"annotation":"병아리","shortcodes":["baby_chick"]},{"emoji":"🐥","group":3,"order":3559,"tags":["갓태어난","동물","병아리","아기","정면을 향해 날개를 편 병아리"],"version":0.6,"annotation":"정면을 향해 날개를 편 병아리","shortcodes":["hatched_chick"]},{"emoji":"🐦️","group":3,"order":3560,"tags":["동물","새","조류","조류학"],"version":0.6,"annotation":"새","shortcodes":["bird","bird_face"]},{"emoji":"🐧","group":3,"order":3561,"tags":["남극","동물","새","조류","펭귄"],"version":0.6,"annotation":"펭귄","shortcodes":["penguin","penguin_face"]},{"emoji":"🕊️","group":3,"order":3563,"tags":["날다","비둘기","새","조류","평화"],"version":0.7,"annotation":"비둘기","shortcodes":["dove"]},{"emoji":"🦅","group":3,"order":3564,"tags":["독수리","동물","새","조류"],"version":3,"annotation":"독수리","shortcodes":["eagle"]},{"emoji":"🦆","group":3,"order":3565,"tags":["동물","새","오리","조류"],"version":3,"annotation":"오리","shortcodes":["duck"]},{"emoji":"🦢","group":3,"order":3566,"tags":["동물","못난 아기 오리","백조","새끼 백조","조류"],"version":11,"annotation":"백조","shortcodes":["swan"]},{"emoji":"🦉","group":3,"order":3567,"tags":["부엉이","새","올빼미","조류","현명한"],"version":3,"annotation":"부엉이","shortcodes":["owl"]},{"emoji":"🦤","group":3,"order":3568,"tags":["도도새","동물","멸종","모리셔스","새","큰 새"],"version":13,"annotation":"도도새","shortcodes":["dodo"]},{"emoji":"🪶","group":3,"order":3569,"tags":["가벼운","깃","깃털","비행","새"],"version":13,"annotation":"깃털","shortcodes":["feather"]},{"emoji":"🦩","group":3,"order":3570,"tags":["열대","플라밍고","홍학"],"version":12,"annotation":"홍학","shortcodes":["flamingo"]},{"emoji":"🦚","group":3,"order":3571,"tags":["공작","뽐내는","수컷 공작","조류","화려한"],"version":11,"annotation":"공작","shortcodes":["peacock"]},{"emoji":"🦜","group":3,"order":3572,"tags":["말하는 새","앵무새","조류","해적"],"version":11,"annotation":"앵무새","shortcodes":["parrot"]},{"emoji":"🪽","group":3,"order":3573,"tags":["날개","날다","날아오르다","비행","상승","새","신화","천사","천상의"],"version":15,"annotation":"날개","shortcodes":["wing"]},{"emoji":"🐦‍⬛","group":3,"order":3574,"tags":["검은 새","검정","까마귀","까악","동물","떼까마귀","부리","새","조류","큰까마귀"],"version":15,"annotation":"검은 새","shortcodes":["black_bird"]},{"emoji":"🪿","group":3,"order":3575,"tags":["가금","거위","꽥꽥","동물","무리","바보 같은","새","오리","조류"],"version":15,"annotation":"거위","shortcodes":["goose"]},{"emoji":"🐦‍🔥","group":3,"order":3576,"tags":["갱신","변화","부활","불사","불사조","불새","상승","영광","재생","재창조","재탄생","판타지","피닉스","환생"],"version":15.1,"annotation":"불사조","shortcodes":["phoenix"]},{"emoji":"🐸","group":3,"order":3577,"tags":["개구리","동물","얼굴"],"version":0.6,"annotation":"개구리 얼굴","shortcodes":["frog","frog_face"]},{"emoji":"🐊","group":3,"order":3578,"tags":["동물","동물원","악어","크로커다일"],"version":1,"annotation":"악어","shortcodes":["crocodile"]},{"emoji":"🐢","group":3,"order":3579,"tags":["거북","거북이","동물"],"version":0.6,"annotation":"거북이","shortcodes":["turtle"]},{"emoji":"🦎","group":3,"order":3580,"tags":["도마뱀","동물","파충류"],"version":3,"annotation":"도마뱀","shortcodes":["lizard"]},{"emoji":"🐍","group":3,"order":3581,"tags":["동물","뱀","뱀주인자리","별자리"],"version":0.6,"annotation":"뱀","shortcodes":["snake"]},{"emoji":"🐲","group":3,"order":3582,"tags":["동물","동화","드래곤","용","용 얼굴","용띠"],"version":0.6,"annotation":"용 얼굴","shortcodes":["dragon_face"]},{"emoji":"🐉","group":3,"order":3583,"tags":["기사","동물","동화","드래곤","용"],"version":1,"annotation":"용","shortcodes":["dragon"]},{"emoji":"🦕","group":3,"order":3584,"tags":["공룡","뇌룡","디플로도쿠스","브라키오사우루스","브론토사우루스","초식 공룡"],"version":5,"annotation":"초식 공룡","shortcodes":["sauropod"]},{"emoji":"🦖","group":3,"order":3585,"tags":["T 렉스","공룡","티라노사우루스","티라노사우르스 렉스","티렉스"],"version":5,"annotation":"티라노사우루스","shortcodes":["t-rex","trex"]},{"emoji":"🐳","group":3,"order":3586,"tags":["고래","동물","물 뿜는 고래","바다","얼굴","콸콸","해변"],"version":0.6,"annotation":"물 뿜는 고래","shortcodes":["spouting_whale"]},{"emoji":"🐋","group":3,"order":3587,"tags":["고래","동물","바다","해변"],"version":1,"annotation":"고래","shortcodes":["whale"]},{"emoji":"🐬","group":3,"order":3588,"tags":["돌고래","동물","바다","지느러미","해변"],"version":0.6,"annotation":"돌고래","shortcodes":["dolphin"]},{"emoji":"🦭","group":3,"order":3589,"tags":["동물","물개","바다","바다사자","해양"],"version":13,"annotation":"물개","shortcodes":["seal"]},{"emoji":"🐟️","group":3,"order":3590,"tags":["낚시","동물","물고기","물고기자리","별자리","생선","저녁식사"],"version":0.6,"annotation":"물고기","shortcodes":["fish"]},{"emoji":"🐠","group":3,"order":3591,"tags":["동물","물고기","열대어","열대지방"],"version":0.6,"annotation":"열대어","shortcodes":["tropical_fish"]},{"emoji":"🐡","group":3,"order":3592,"tags":["동물","물고기","복어"],"version":0.6,"annotation":"복어","shortcodes":["blowfish"]},{"emoji":"🦈","group":3,"order":3593,"tags":["동물","물고기","바다생물","상어","어류"],"version":3,"annotation":"상어","shortcodes":["shark"]},{"emoji":"🐙","group":3,"order":3594,"tags":["동물","문어","바다","생물"],"version":0.6,"annotation":"문어","shortcodes":["octopus"]},{"emoji":"🐚","group":3,"order":3595,"tags":["달팽이 껍질","달팽이집","동물","소라","소라고둥","조개껍데기"],"version":0.6,"annotation":"달팽이집","shortcodes":["shell"]},{"emoji":"🪸","group":3,"order":3596,"tags":["기후변화","대양","바다","산호","산호초","암초","코럴"],"version":14,"annotation":"산호초","shortcodes":["coral"]},{"emoji":"🪼","group":3,"order":3597,"tags":["동물","따가워","무척추동물","바다","쏘는 동물","아야","젤리","촉수","침","플랑크톤","해양","해파리"],"version":15,"annotation":"해파리","shortcodes":["jellyfish"]},{"emoji":"🦀","group":3,"order":3598,"tags":["게","게자리","꽃게","별자리","크랩"],"version":1,"annotation":"꽃게","shortcodes":["crab"]},{"emoji":"🦞","group":3,"order":3599,"tags":["가재","동물","랍스터","바닷가재","비스크","집게발","해산물"],"version":11,"annotation":"바닷가재","shortcodes":["lobster"]},{"emoji":"🦐","group":3,"order":3600,"tags":["갑각류","바다생물","새우","식품","음식","작은"],"version":3,"annotation":"새우","shortcodes":["shrimp"]},{"emoji":"🦑","group":3,"order":3601,"tags":["동물","식품","연체동물","오징어","음식"],"version":3,"annotation":"오징어","shortcodes":["squid"]},{"emoji":"🦪","group":3,"order":3602,"tags":["굴","다이빙","진주"],"version":12,"annotation":"굴","shortcodes":["oyster"]},{"emoji":"🐌","group":3,"order":3603,"tags":["달팽이","동물","슬러그","에스카르고","자연","정원"],"version":0.6,"annotation":"달팽이","shortcodes":["snail"]},{"emoji":"🦋","group":3,"order":3604,"tags":["곤충","나비","날개","이쁜"],"version":3,"annotation":"나비","shortcodes":["butterfly"]},{"emoji":"🐛","group":3,"order":3605,"tags":["곤충","동물","벌레","송충이","정원"],"version":0.6,"annotation":"송충이","shortcodes":["bug"]},{"emoji":"🐜","group":3,"order":3606,"tags":["개미","곤충","동물","벌레","정원"],"version":0.6,"annotation":"개미","shortcodes":["ant"]},{"emoji":"🐝","group":3,"order":3607,"tags":["곤충","꿀","꿀벌","동물","벌","범블비","봄","자연"],"version":0.6,"annotation":"꿀벌","shortcodes":["bee"]},{"emoji":"🪲","group":3,"order":3608,"tags":["곤충","동물","딱정벌레","벌레","비틀"],"version":13,"annotation":"딱정벌레","shortcodes":["beetle"]},{"emoji":"🐞","group":3,"order":3609,"tags":["동물","딱정벌레","무당벌레","벌레","자연"],"version":0.6,"annotation":"무당벌레","shortcodes":["lady_beetle"]},{"emoji":"🦗","group":3,"order":3610,"tags":["곤충","귀뚜라미","동물","메뚜기","메뚜기류","벌레"],"version":5,"annotation":"귀뚜라미","shortcodes":["cricket"]},{"emoji":"🪳","group":3,"order":3611,"tags":["곤충","동물","바퀴벌레","벌레","징그러운","해충"],"version":13,"annotation":"바퀴벌레","shortcodes":["cockroach"]},{"emoji":"🕷️","group":3,"order":3613,"tags":["거미","곤충","벌레","스파이더"],"version":0.7,"annotation":"거미","shortcodes":["spider"]},{"emoji":"🕸️","group":3,"order":3615,"tags":["거미","거미줄","웹"],"version":0.7,"annotation":"거미줄","shortcodes":["spider_web"]},{"emoji":"🦂","group":3,"order":3616,"tags":["별자리","스콜피온","전갈","전갈자리"],"version":1,"annotation":"전갈","shortcodes":["scorpion"]},{"emoji":"🦟","group":3,"order":3617,"tags":["말라리아","모기","물기","바이러스","벌레","병균","열"],"version":11,"annotation":"모기","shortcodes":["mosquito"]},{"emoji":"🪰","group":3,"order":3618,"tags":["구더기","동물","부패","질병","파리","해충"],"version":13,"annotation":"파리","shortcodes":["fly"]},{"emoji":"🪱","group":3,"order":3619,"tags":["기생충","동물","벌레","지렁이","환형동물"],"version":13,"annotation":"지렁이","shortcodes":["worm"]},{"emoji":"🦠","group":3,"order":3620,"tags":["과학","미생물","바이러스","박테리아","아메바"],"version":11,"annotation":"미생물","shortcodes":["microbe"]},{"emoji":"💐","group":3,"order":3621,"tags":["기념일","꽃","꽃다발","데이트","로맨스","부케","사랑","생일","식물","연애"],"version":0.6,"annotation":"꽃다발","shortcodes":["bouquet"]},{"emoji":"🌸","group":3,"order":3622,"tags":["꽃","꽃송이","꽃이 피는","벚꽃","벚꽃놀이","봄","식물"],"version":0.6,"annotation":"벚꽃","shortcodes":["cherry_blossom"]},{"emoji":"💮","group":3,"order":3623,"tags":["꽃","꽃 도장","꽃 표시","화이트 플라워","흰 꽃"],"version":0.6,"annotation":"흰 꽃","shortcodes":["white_flower"]},{"emoji":"🪷","group":3,"order":3624,"tags":["꽃","베트남","불교","뷰티","순수","아름다움","연꽃","인도","평온","평화","플라워","힌두교"],"version":14,"annotation":"연꽃","shortcodes":["lotus"]},{"emoji":"🏵️","group":3,"order":3626,"tags":["꽃","로제트","식물","장미","장미 모양"],"version":0.7,"annotation":"장미","shortcodes":["rosette"]},{"emoji":"🌹","group":3,"order":3627,"tags":["꽃","발레타인","사랑","식물","아름다움","우아한","장미꽃"],"version":0.6,"annotation":"장미꽃","shortcodes":["rose"]},{"emoji":"🥀","group":3,"order":3628,"tags":["꺾인 고개","꽃","시든","시들어 가는","시듦"],"version":3,"annotation":"시든 꽃","shortcodes":["wilted_flower"]},{"emoji":"🌺","group":3,"order":3629,"tags":["꽃","무궁화","식물","히비스커스"],"version":0.6,"annotation":"무궁화","shortcodes":["hibiscus"]},{"emoji":"🌻","group":3,"order":3630,"tags":["꽃","식물","야외","해","해바라기"],"version":0.6,"annotation":"해바라기","shortcodes":["sunflower"]},{"emoji":"🌼","group":3,"order":3631,"tags":["꽃","꽃송이","꽃이 피다","민들레","버터컵","식물"],"version":0.6,"annotation":"꽃송이","shortcodes":["blossom"]},{"emoji":"🌷","group":3,"order":3632,"tags":["꽃","꽃이 피는","식물","튤립"],"version":0.6,"annotation":"튤립","shortcodes":["tulip"]},{"emoji":"🪻","group":3,"order":3633,"tags":["꽃","라벤더","라일락","루핀","보라색","봄","블루 보닛","스냅드래곤","식물","인디고","제비꽃","히아신스"],"version":15,"annotation":"히아신스","shortcodes":["hyacinth"]},{"emoji":"🌱","group":3,"order":3634,"tags":["새싹","식물","싹이 돋다","어린 나무","어린잎"],"version":0.6,"annotation":"새싹","shortcodes":["seedling"]},{"emoji":"🪴","group":3,"order":3635,"tags":["분재","식물","자라다","장식","지루한","집","키우다","화분"],"version":13,"annotation":"분재","shortcodes":["potted_plant"]},{"emoji":"🌲","group":3,"order":3636,"tags":["나무","상록수","소나무","크리스마스 트리"],"version":1,"annotation":"소나무","shortcodes":["evergreen_tree"]},{"emoji":"🌳","group":3,"order":3637,"tags":["나무","낙엽","낙엽수","숲"],"version":1,"annotation":"나무","shortcodes":["deciduous_tree"]},{"emoji":"🌴","group":3,"order":3638,"tags":["나무","야자수","열대 나무","열대지방","해변"],"version":0.6,"annotation":"야자수","shortcodes":["palm_tree"]},{"emoji":"🌵","group":3,"order":3639,"tags":["가뭄","나무","사막","선인장","식물"],"version":0.6,"annotation":"선인장","shortcodes":["cactus"]},{"emoji":"🌾","group":3,"order":3640,"tags":["곡식","벼","벼이삭","식물","쌀","이삭"],"version":0.6,"annotation":"벼","shortcodes":["ear_of_rice","sheaf_of_rice"]},{"emoji":"🌿","group":3,"order":3641,"tags":["식물","잎","잎사귀","풀","허브"],"version":0.6,"annotation":"풀","shortcodes":["herb"]},{"emoji":"☘️","group":3,"order":3643,"tags":["샤머록","세잎","세잎클로버","식물","아이리쉬","토끼풀","풀"],"version":1,"annotation":"토끼풀","shortcodes":["shamrock"]},{"emoji":"🍀","group":3,"order":3644,"tags":["4","네잎클로버","식물","아이리쉬","잎","클로버","행운"],"version":0.6,"annotation":"네잎클로버","shortcodes":["four_leaf_clover"]},{"emoji":"🍁","group":3,"order":3645,"tags":["낙옆","단풍잎","메이플","이파리","잎","잎사귀"],"version":0.6,"annotation":"단풍잎","shortcodes":["maple_leaf"]},{"emoji":"🍂","group":3,"order":3646,"tags":["가을","낙엽","단풍잎","떨어지는","이파리","잎","잎사귀"],"version":0.6,"annotation":"낙엽","shortcodes":["fallen_leaf"]},{"emoji":"🍃","group":3,"order":3647,"tags":["가을 낙엽","바람","바람에 떨어지는 잎","바람에 흔들리는 나뭇잎","잎","흔들림"],"version":0.6,"annotation":"바람에 흔들리는 나뭇잎","shortcodes":["leaves"]},{"emoji":"🪹","group":3,"order":3648,"tags":["나뭇가지","네스트","둥지","빈 둥지","새둥우리","집","홈"],"version":14,"annotation":"빈 둥지","shortcodes":["empty_nest","nest"]},{"emoji":"🪺","group":3,"order":3649,"tags":["나뭇가지","둥지","새","새둥우리","새둥지","알","알이 들어 있는 둥지"],"version":14,"annotation":"알이 들어 있는 둥지","shortcodes":["nest_with_eggs"]},{"emoji":"🍄","group":3,"order":3650,"tags":["균류","나무","독버섯","버섯","식물"],"version":0.6,"annotation":"버섯","shortcodes":["mushroom"]},{"emoji":"🪾","group":3,"order":3651,"tags":["겨울","나무","나무 몸통","나뭇가지","메마른","목재","열매가 안 열리는","잎이 없는","죽은","헐벗은"],"version":16,"annotation":"잎이 없는 나무","shortcodes":["leafless_tree"]},{"emoji":"🍇","group":4,"order":3652,"tags":["과일","디오니소스","포도"],"version":0.6,"annotation":"포도","shortcodes":["grapes"]},{"emoji":"🍈","group":4,"order":3653,"tags":["과일","멜론","야채","채소","칸탈루프"],"version":0.6,"annotation":"멜론","shortcodes":["melon"]},{"emoji":"🍉","group":4,"order":3654,"tags":["과일","수박"],"version":0.6,"annotation":"수박","shortcodes":["watermelon"]},{"emoji":"🍊","group":4,"order":3655,"tags":["감귤","과일","귤","밀감","비타민 C","오렌지","천도복숭아"],"version":0.6,"annotation":"귤","shortcodes":["orange","tangerine"]},{"emoji":"🍋","group":4,"order":3656,"tags":["과일","레몬","시큼한","시트러스"],"version":1,"annotation":"레몬","shortcodes":["lemon"]},{"emoji":"🍋‍🟩","group":4,"order":3657,"tags":["가니쉬","과일","데킬라","라임","마가리타","모히토","살사","상큼","시트러스","열대","제스트","칵테일"],"version":15.1,"annotation":"라임","shortcodes":["lime"]},{"emoji":"🍌","group":4,"order":3658,"tags":["과일","바나나","포타슘"],"version":0.6,"annotation":"바나나","shortcodes":["banana"]},{"emoji":"🍍","group":4,"order":3659,"tags":["과일","열대지방","콜라다","파인애플"],"version":0.6,"annotation":"파인애플","shortcodes":["pineapple"]},{"emoji":"🥭","group":4,"order":3660,"tags":["과일","망고","식품","열대 과일","음식"],"version":11,"annotation":"망고","shortcodes":["mango"]},{"emoji":"🍎","group":4,"order":3661,"tags":["건강","과일","다이어트","빨간","사과","식품","음식"],"version":0.6,"annotation":"빨간 사과","shortcodes":["apple","red_apple"]},{"emoji":"🍏","group":4,"order":3662,"tags":["과일","사과","초록 사과","초록색","파란 사과","풋사과"],"version":0.6,"annotation":"초록 사과","shortcodes":["green_apple"]},{"emoji":"🍐","group":4,"order":3663,"tags":["과일","배"],"version":1,"annotation":"배","shortcodes":["pear"]},{"emoji":"🍑","group":4,"order":3664,"tags":["과일","복숭아"],"version":0.6,"annotation":"복숭아","shortcodes":["peach"]},{"emoji":"🍒","group":4,"order":3665,"tags":["과일","체리"],"version":0.6,"annotation":"체리","shortcodes":["cherries"]},{"emoji":"🍓","group":4,"order":3666,"tags":["과일","딸기","베리"],"version":0.6,"annotation":"딸기","shortcodes":["strawberry"]},{"emoji":"🫐","group":4,"order":3667,"tags":["과일","베리","블루베리","월귤나무","음식"],"version":13,"annotation":"블루베리","shortcodes":["blueberries"]},{"emoji":"🥝","group":4,"order":3668,"tags":["과일","식품","음식","키위"],"version":3,"annotation":"키위","shortcodes":["kiwi"]},{"emoji":"🍅","group":4,"order":3669,"tags":["과일","식품","야채","음식","채소","토마토"],"version":0.6,"annotation":"토마토","shortcodes":["tomato"]},{"emoji":"🫒","group":4,"order":3670,"tags":["올리브","음식"],"version":13,"annotation":"올리브","shortcodes":["olive"]},{"emoji":"🥥","group":4,"order":3671,"tags":["야자수","코코넛","피냐 콜라다"],"version":5,"annotation":"코코넛","shortcodes":["coconut"]},{"emoji":"🥑","group":4,"order":3672,"tags":["과일","식품","아보카도","아보카드","열매","음식"],"version":3,"annotation":"아보카도","shortcodes":["avocado"]},{"emoji":"🍆","group":4,"order":3673,"tags":["가지","야채","채소"],"version":0.6,"annotation":"가지","shortcodes":["eggplant"]},{"emoji":"🥔","group":4,"order":3674,"tags":["감자","식품","음식","채소","포테이토"],"version":3,"annotation":"감자","shortcodes":["potato"]},{"emoji":"🥕","group":4,"order":3675,"tags":["당근","식품","음식","채소"],"version":3,"annotation":"당근","shortcodes":["carrot"]},{"emoji":"🌽","group":4,"order":3676,"tags":["농작물","농장","미로","식물","옥수수","옥수수 한 자루","콘"],"version":0.6,"annotation":"옥수수","shortcodes":["corn","ear_of_corn"]},{"emoji":"🌶️","group":4,"order":3678,"tags":["고추","매운","빨간 고추","홍고추"],"version":0.7,"annotation":"홍고추","shortcodes":["hot_pepper"]},{"emoji":"🫑","group":4,"order":3679,"tags":["고추","음식","채소","파프리카","피망","후추"],"version":13,"annotation":"피망","shortcodes":["bell_pepper"]},{"emoji":"🥒","group":4,"order":3680,"tags":["식품","오이","음식","채소","피클"],"version":3,"annotation":"오이","shortcodes":["cucumber"]},{"emoji":"🥬","group":4,"order":3681,"tags":["녹색 채소","버거","상추","샐러드","양배추","청경채","케일"],"version":11,"annotation":"녹색 채소","shortcodes":["leafy_green"]},{"emoji":"🥦","group":4,"order":3682,"tags":["브로콜리","양배추"],"version":5,"annotation":"브로콜리","shortcodes":["broccoli"]},{"emoji":"🧄","group":4,"order":3683,"tags":["마늘","조미료"],"version":12,"annotation":"마늘","shortcodes":["garlic"]},{"emoji":"🧅","group":4,"order":3684,"tags":["맛","양념","양파"],"version":12,"annotation":"양파","shortcodes":["onion"]},{"emoji":"🥜","group":4,"order":3685,"tags":["견과류","넛츠","땅콩","식품","야채","음식"],"version":3,"annotation":"땅콩","shortcodes":["peanuts"]},{"emoji":"🫘","group":4,"order":3686,"tags":["빈","신장","음식","작은","콩","콩류","콩팥","푸드"],"version":14,"annotation":"콩","shortcodes":["beans"]},{"emoji":"🌰","group":4,"order":3687,"tags":["견과류","나무","밤","식물","아몬드"],"version":0.6,"annotation":"밤","shortcodes":["chestnut"]},{"emoji":"🫚","group":4,"order":3688,"tags":["건강","맥주","뿌리","생강","천연","향신료","허브"],"version":15,"annotation":"생강 뿌리","shortcodes":["ginger"]},{"emoji":"🫛","group":4,"order":3689,"tags":["꼬투리","완두콩","채소","콩","콩과","풋콩"],"version":15,"annotation":"완두콩 꼬투리","shortcodes":["pea"]},{"emoji":"🍄‍🟫","group":4,"order":3690,"tags":["갈색 양송이 버섯","균사류","버섯","비건","야채","음식","자연","채식","채식주의","트러플","포토벨로","피자 토핑"],"version":15.1,"annotation":"갈색 양송이 버섯","shortcodes":["brown_mushroom"]},{"emoji":"🫜","group":4,"order":3691,"tags":["무","비트","뿌리","샐러드","순무","음식","정원","채소","채식주의"],"version":16,"annotation":"뿌리채소","shortcodes":["root_vegetable"]},{"emoji":"🍞","group":4,"order":3692,"tags":["레스토랑","빵","식당","식빵","식품","토스트","한덩이","호밀"],"version":0.6,"annotation":"빵","shortcodes":["bread"]},{"emoji":"🥐","group":4,"order":3693,"tags":["빵","식품","음식","초승달 모양 롤","크루아상","프랑스"],"version":3,"annotation":"크루아상","shortcodes":["croissant"]},{"emoji":"🥖","group":4,"order":3694,"tags":["바게트","빵","식품","음식","프랑스"],"version":3,"annotation":"바게트","shortcodes":["baguette_bread"]},{"emoji":"🫓","group":4,"order":3695,"tags":["고르디타","난","라바쉬","빵","아레파","음식","플랫브레드","피타"],"version":13,"annotation":"플랫브레드","shortcodes":["flatbread"]},{"emoji":"🥨","group":4,"order":3696,"tags":["구불구불한","꼬은","프레첼"],"version":5,"annotation":"프레첼","shortcodes":["pretzel"]},{"emoji":"🥯","group":4,"order":3697,"tags":["베이글","베이커리","빵","슈미어","아침식사"],"version":11,"annotation":"베이글","shortcodes":["bagel"]},{"emoji":"🥞","group":4,"order":3698,"tags":["식품","음식","크레페","팬케이크","핫케이크"],"version":3,"annotation":"팬케이크","shortcodes":["pancakes"]},{"emoji":"🧇","group":4,"order":3699,"tags":["아침식사","와플","우유부단한"],"version":12,"annotation":"와플","shortcodes":["waffle"]},{"emoji":"🧀","group":4,"order":3700,"tags":["치즈","치즈 덩어리","치즈 조각"],"version":1,"annotation":"치즈 조각","shortcodes":["cheese"]},{"emoji":"🍖","group":4,"order":3701,"tags":["고기","고기 덩어리","뼈"],"version":0.6,"annotation":"고기","shortcodes":["meat_on_bone"]},{"emoji":"🍗","group":4,"order":3702,"tags":["고기","다리","닭고기","닭다리","배고픔","뼈","치킨","칠면조"],"version":0.6,"annotation":"닭다리","shortcodes":["poultry_leg"]},{"emoji":"🥩","group":4,"order":3703,"tags":["고기","고깃덩이","붉은살 고기","스테이크","찹","포크찹"],"version":5,"annotation":"고깃덩이","shortcodes":["cut_of_meat"]},{"emoji":"🥓","group":4,"order":3704,"tags":["고기","돼지고기","베이컨","식품","음식"],"version":3,"annotation":"베이컨","shortcodes":["bacon"]},{"emoji":"🍔","group":4,"order":3705,"tags":["배고픔","버거","식품","음식","패스트푸드","햄버거"],"version":0.6,"annotation":"햄버거","shortcodes":["hamburger"]},{"emoji":"🍟","group":4,"order":3706,"tags":["감자튀김","식품","음식","패스트푸드","프렌치","프렌치 프라이","프렌치프라이"],"version":0.6,"annotation":"감자튀김","shortcodes":["french_fries","fries"]},{"emoji":"🍕","group":4,"order":3707,"tags":["배고픔","식품","음식","조각","치즈","페페로니","피자","피자 한 조각"],"version":0.6,"annotation":"피자","shortcodes":["pizza"]},{"emoji":"🌭","group":4,"order":3708,"tags":["소세지","소시지","프랑크푸르트 소시지","핫도그"],"version":1,"annotation":"핫도그","shortcodes":["hotdog"]},{"emoji":"🥪","group":4,"order":3709,"tags":["빵","샌드위치"],"version":5,"annotation":"샌드위치","shortcodes":["sandwich"]},{"emoji":"🌮","group":4,"order":3710,"tags":["멕시칸","멕시코 요리","타코"],"version":1,"annotation":"타코","shortcodes":["taco"]},{"emoji":"🌯","group":4,"order":3711,"tags":["랩","멕시칸","멕시코 요리","버리토","부리또","타코"],"version":1,"annotation":"부리또","shortcodes":["burrito"]},{"emoji":"🫔","group":4,"order":3712,"tags":["감싼","멕시칸","빠몽야","음식","타말레"],"version":13,"annotation":"타말레","shortcodes":["tamale"]},{"emoji":"🥙","group":4,"order":3713,"tags":["가득넣은","밀전병에 싼 요리","부리또","식품","음식","케밥","팔라펠"],"version":3,"annotation":"밀전병에 싼 요리","shortcodes":["stuffed_flatbread"]},{"emoji":"🧆","group":4,"order":3714,"tags":["미트볼","병아리콩","팔라펠"],"version":12,"annotation":"팔라펠","shortcodes":["falafel"]},{"emoji":"🥚","group":4,"order":3715,"tags":["계란","달걀","식품","음식"],"version":3,"annotation":"달걀","shortcodes":["egg"]},{"emoji":"🍳","group":4,"order":3716,"tags":["계란","계란 프라이","레스토랑","식당","써니사이드업","아침식사","요리","팬","프라이팬"],"version":0.6,"annotation":"프라이팬","shortcodes":["cooking","fried_egg"]},{"emoji":"🥘","group":4,"order":3717,"tags":["납작한","납작한 냄비","빠에야","식품","음식","찌개","캐서롤","파에야","팬"],"version":3,"annotation":"납작한 냄비","shortcodes":["shallow_pan_of_food"]},{"emoji":"🍲","group":4,"order":3718,"tags":["국","수프","스튜","식품","음식","음식 한 그릇","찌개","탕"],"version":0.6,"annotation":"국","shortcodes":["pot_of_food","stew"]},{"emoji":"🫕","group":4,"order":3719,"tags":["냄비","녹다","스위스","스키","음식","초콜릿","치즈","퐁듀"],"version":13,"annotation":"퐁듀","shortcodes":["fondue"]},{"emoji":"🥣","group":4,"order":3720,"tags":["그릇과 숟가락","스푼과 사발","시리얼","씨리얼","아침","아침식사","오트밀","죽","콘지"],"version":5,"annotation":"스푼과 사발","shortcodes":["bowl_with_spoon"]},{"emoji":"🥗","group":4,"order":3721,"tags":["건강","그린","샐러드","식품","야채","야채샐러드","음식","채소"],"version":3,"annotation":"야채샐러드","shortcodes":["green_salad","salad"]},{"emoji":"🍿","group":4,"order":3722,"tags":["영화","팝콘"],"version":1,"annotation":"팝콘","shortcodes":["popcorn"]},{"emoji":"🧈","group":4,"order":3723,"tags":["버터","유제품"],"version":12,"annotation":"버터","shortcodes":["butter"]},{"emoji":"🧂","group":4,"order":3724,"tags":["당황","맛","소금","양념통","조미료","짠","화남"],"version":11,"annotation":"소금","shortcodes":["salt"]},{"emoji":"🥫","group":4,"order":3725,"tags":["캔","통조림"],"version":5,"annotation":"통조림","shortcodes":["canned_food"]},{"emoji":"🍱","group":4,"order":3726,"tags":["도시락","밥","벤또","상자","식품","음식"],"version":0.6,"annotation":"도시락","shortcodes":["bento","bento_box"]},{"emoji":"🍘","group":4,"order":3727,"tags":["밥","식품","쌀","쌀 과자","음식","주먹밥","크래커"],"version":0.6,"annotation":"주먹밥","shortcodes":["rice_cracker"]},{"emoji":"🍙","group":4,"order":3728,"tags":["뭉치","밥","삼각 김밥","식품","음식","일본"],"version":0.6,"annotation":"삼각 김밥","shortcodes":["rice_ball"]},{"emoji":"🍚","group":4,"order":3729,"tags":["밥","밥공기","식품","쌀","음식"],"version":0.6,"annotation":"밥","shortcodes":["cooked_rice","rice"]},{"emoji":"🍛","group":4,"order":3730,"tags":["식품","쌀","음식","카레","카레라이스","카레밥"],"version":0.6,"annotation":"카레라이스","shortcodes":["curry","curry_rice"]},{"emoji":"🍜","group":4,"order":3731,"tags":["국수","그룻","김이 나는","라면","면","수프","식품","쌀국수","음식","젓가락"],"version":0.6,"annotation":"국수","shortcodes":["ramen","steaming_bowl"]},{"emoji":"🍝","group":4,"order":3732,"tags":["레스토랑","면","미트볼","스파게티","식당","식품","음식","이탈리안","파스타"],"version":0.6,"annotation":"스파게티","shortcodes":["spaghetti"]},{"emoji":"🍠","group":4,"order":3733,"tags":["고구마","구운","달콤한","삶은 고구마","식품","음식","찐 고구마"],"version":0.6,"annotation":"고구마","shortcodes":["sweet_potato"]},{"emoji":"🍢","group":4,"order":3734,"tags":["꼬치","레스토랑","식당","식품","씨푸드","어묵","어묵꼬치","오뎅","오뎅꼬치","음식","케밥"],"version":0.6,"annotation":"오뎅","shortcodes":["oden"]},{"emoji":"🍣","group":4,"order":3735,"tags":["스시","식품","음식","일식","초밥"],"version":0.6,"annotation":"초밥","shortcodes":["sushi"]},{"emoji":"🍤","group":4,"order":3736,"tags":["새우","새우튀김","튀김"],"version":0.6,"annotation":"새우튀김","shortcodes":["fried_shrimp"]},{"emoji":"🍥","group":4,"order":3737,"tags":["꽃모양 어묵","꽃모양 오뎅","레스토랑","생선","식당","식품","어묵","오뎅","회오리모양","회오리모양이 있는 어묵"],"version":0.6,"annotation":"어묵","shortcodes":["fish_cake"]},{"emoji":"🥮","group":4,"order":3738,"tags":["가을","명절","월병","축제"],"version":11,"annotation":"월병","shortcodes":["moon_cake"]},{"emoji":"🍡","group":4,"order":3739,"tags":["꼬치","당고","디저트","떡","떡꼬치","일본"],"version":0.6,"annotation":"떡꼬치","shortcodes":["dango"]},{"emoji":"🥟","group":4,"order":3740,"tags":["교자","덤플링","만두"],"version":5,"annotation":"만두","shortcodes":["dumpling"]},{"emoji":"🥠","group":4,"order":3741,"tags":["예언","포춘 쿠키","포츈 쿠키"],"version":5,"annotation":"포츈 쿠키","shortcodes":["fortune_cookie"]},{"emoji":"🥡","group":4,"order":3742,"tags":["식품","음식","음식 배달","젓가락","테이크아웃 상자"],"version":5,"annotation":"테이크아웃 상자","shortcodes":["takeout_box"]},{"emoji":"🍦","group":4,"order":3743,"tags":["달콤","디저트","레스토랑","소프트 아이스크림","식당","식품","아이스크림","아이스크림 콘","음식","콘 아이스크림","크림"],"version":0.6,"annotation":"소프트 아이스크림","shortcodes":["icecream","soft_serve"]},{"emoji":"🍧","group":4,"order":3744,"tags":["간","간 얼음","레스토랑","샤베트","샤베트 아이스크림","식당","아이스","후식"],"version":0.6,"annotation":"샤베트 아이스크림","shortcodes":["shaved_ice"]},{"emoji":"🍨","group":4,"order":3745,"tags":["달콤","디저트","떠먹는 아이스크림","레스토랑","식당","식품","아이스","아이스크림","음식","크림"],"version":0.6,"annotation":"아이스크림","shortcodes":["ice_cream"]},{"emoji":"🍩","group":4,"order":3746,"tags":["달콤","도넛","디저트","식품","음식","초코 도넛"],"version":0.6,"annotation":"도넛","shortcodes":["doughnut"]},{"emoji":"🍪","group":4,"order":3747,"tags":["달콤","초코 쿠키","초코칩 쿠키","초콜렛 칩","쿠키"],"version":0.6,"annotation":"쿠키","shortcodes":["cookie"]},{"emoji":"🎂","group":4,"order":3748,"tags":["달콤","디저트","생일","생일축하","생일케이크","축하","케이크","페스츄리"],"version":0.6,"annotation":"생일 케이크","shortcodes":["birthday","birthday_cake"]},{"emoji":"🍰","group":4,"order":3749,"tags":["달콤","디저트","쇼트케이크","조각 케익","조각케이크","케이크","페스츄리"],"version":0.6,"annotation":"조각 케익","shortcodes":["cake","shortcake"]},{"emoji":"🧁","group":4,"order":3750,"tags":["디저트","베이커리","설탕","스프링클","컵케이크"],"version":11,"annotation":"컵케이크","shortcodes":["cupcake"]},{"emoji":"🥧","group":4,"order":3751,"tags":["고기","과일","애플파이","파이","파이 한조각","패스트리","페스트리","필링","호박파이"],"version":5,"annotation":"파이","shortcodes":["pie"]},{"emoji":"🍫","group":4,"order":3752,"tags":["단 음식을 좋아함","달콤","바","초코","초코바","초콜렛","캔디","할로윈"],"version":0.6,"annotation":"초콜렛","shortcodes":["chocolate_bar"]},{"emoji":"🍬","group":4,"order":3753,"tags":["단 음식을 좋아함","달콤","디저트","레스토랑","사탕","식당","캔디","포장","할로윈"],"version":0.6,"annotation":"사탕","shortcodes":["candy"]},{"emoji":"🍭","group":4,"order":3754,"tags":["달콤","레스토랑","롤리팝","막대 사탕","사탕","식당","식품","음식","제과점","캔디"],"version":0.6,"annotation":"롤리팝","shortcodes":["lollipop"]},{"emoji":"🍮","group":4,"order":3755,"tags":["달콤","디저트","커스타드","푸딩"],"version":0.6,"annotation":"커스타드 푸딩","shortcodes":["custard"]},{"emoji":"🍯","group":4,"order":3756,"tags":["곰","꿀","꿀단지","꿀통","단지","달콤","배럴","음식"],"version":0.6,"annotation":"꿀","shortcodes":["honey_pot"]},{"emoji":"🍼","group":4,"order":3757,"tags":["갓난아기","마시는","병","아기","우유","음료","젖먹이","젖병","태어난"],"version":1,"annotation":"젖병","shortcodes":["baby_bottle"]},{"emoji":"🥛","group":4,"order":3758,"tags":["글라스","밀크","우유","음료","음료수","한잔"],"version":3,"annotation":"우유 한잔","shortcodes":["glass_of_milk","milk"]},{"emoji":"☕️","group":4,"order":3759,"tags":["김","뜨거운 음료","뜨거움","아침","음료","차","카페","카페인","커피"],"version":0.6,"annotation":"뜨거운 음료","shortcodes":["coffee"]},{"emoji":"🫖","group":4,"order":3760,"tags":["냄비","우리기","음료","음식","차","찻주전자","티"],"version":13,"annotation":"찻주전자","shortcodes":["teapot"]},{"emoji":"🍵","group":4,"order":3761,"tags":["손잡이 없는 찻잔","우롱","음료","차","찻잔","찻집","컵"],"version":0.6,"annotation":"차","shortcodes":["tea"]},{"emoji":"🍶","group":4,"order":3762,"tags":["레스토랑","바","병","병과 술잔","사케","술","식당","음료","잔"],"version":0.6,"annotation":"사케","shortcodes":["sake"]},{"emoji":"🍾","group":4,"order":3763,"tags":["바","병","술","와인","와인병","음료","코르크","코르크가 튀어나오고 있는 병","팡 튀어오르는"],"version":1,"annotation":"코르크가 튀어나오고 있는 병","shortcodes":["champagne"]},{"emoji":"🍷","group":4,"order":3764,"tags":["글래스","바","술","와인","와인글라스","와인바","와인잔","음료","음주","클럽"],"version":0.6,"annotation":"와인잔","shortcodes":["wine_glass"]},{"emoji":"🍸️","group":4,"order":3765,"tags":["마티니","매드 맨","술","음료","칵테일","칵테일글라스","칵테일바","칵테일잔","클럽"],"version":0.6,"annotation":"칵테일","shortcodes":["cocktail"]},{"emoji":"🍹","group":4,"order":3766,"tags":["드링크","바","술","열대 음료","열대지방","음료","음료수","클럽","파티"],"version":0.6,"annotation":"음료수","shortcodes":["tropical_drink"]},{"emoji":"🍺","group":4,"order":3767,"tags":["500잔","독일","맥주","맥주잔","맥주컵","바","서머에일","술","술집","옥토버페스트","음료","음주","파인트","호프"],"version":0.6,"annotation":"맥주잔","shortcodes":["beer"]},{"emoji":"🍻","group":4,"order":3768,"tags":["맥주","맥주잔","바","술","원샷","음료","짠","짠 하는 맥주잔"],"version":0.6,"annotation":"맥주","shortcodes":["beers"]},{"emoji":"🥂","group":4,"order":3769,"tags":["건배","건배하는 샴페인 잔","술","음료","잔","짠","축하"],"version":3,"annotation":"건배하는 샴페인 잔","shortcodes":["clinking_glasses"]},{"emoji":"🥃","group":4,"order":3770,"tags":["글래스","샷","스카치","양주잔","위스키","텀블러"],"version":3,"annotation":"양주잔","shortcodes":["tumbler_glass","whisky"]},{"emoji":"🫗","group":4,"order":3771,"tags":["물","붓다","비어 있는","사고","쏟다","쏟아져 나오는 액체","엎지르다","웁스","유리잔","음료","흘리다","흘림"],"version":14,"annotation":"쏟아져 나오는 액체","shortcodes":["pour","pouring_liquid"]},{"emoji":"🥤","group":4,"order":3772,"tags":["물","빨대와 컵","소다","소프트 드링크","음료","주스"],"version":5,"annotation":"빨대와 컵","shortcodes":["cup_with_straw"]},{"emoji":"🧋","group":4,"order":3773,"tags":["대만","버블","버블티","보바","우유","음식","차","타이완","티","펄"],"version":13,"annotation":"버블티","shortcodes":["boba_drink","bubble_tea"]},{"emoji":"🧃","group":4,"order":3774,"tags":["달콤","상자","음료","음료 팩","주스","쥬스 팩"],"version":12,"annotation":"음료 팩","shortcodes":["beverage_box","juice_box"]},{"emoji":"🧉","group":4,"order":3775,"tags":["마테차","음료","차"],"version":12,"annotation":"마테차","shortcodes":["mate"]},{"emoji":"🧊","group":4,"order":3776,"tags":["각얼음","빙산","얼음","차가운"],"version":12,"annotation":"얼음","shortcodes":["ice","ice_cube"]},{"emoji":"🥢","group":4,"order":3777,"tags":["젓가락"],"version":5,"annotation":"젓가락","shortcodes":["chopsticks"]},{"emoji":"🍽️","group":4,"order":3779,"tags":["나이프","요리","저녁식사","접시","포크","포크와 나이프가 있는 접시"],"version":0.7,"annotation":"포크와 나이프가 있는 접시","shortcodes":["fork_knife_plate"]},{"emoji":"🍴","group":4,"order":3780,"tags":["나이프","레스토랑","맛있음","먹다","배고픔","식당","식품","아침밥","아침식사","야미","요리","음식","저녁식사","점심식사","포크","포크와 나이프"],"version":0.6,"annotation":"포크와 나이프","shortcodes":["fork_and_knife"]},{"emoji":"🥄","group":4,"order":3781,"tags":["먹기","수저","숟가락","스푼","식기","주방용품","테이블웨어"],"version":3,"annotation":"숟가락","shortcodes":["spoon"]},{"emoji":"🔪","group":4,"order":3782,"tags":["도구","무기","부엌 칼","쉐프","식칼","요리","요리용 칼","호쵸"],"version":0.6,"annotation":"식칼","shortcodes":["knife"]},{"emoji":"🫙","group":4,"order":3783,"tags":["병","보관","비어 있는","빈","소스","아무것도 없는","양념","용기","작은 병","저장"],"version":14,"annotation":"작은 병","shortcodes":["jar"]},{"emoji":"🏺","group":4,"order":3784,"tags":["단지","도구","무기","물병자리","별자리","암포라","요리"],"version":1,"annotation":"암포라","shortcodes":["amphora"]},{"emoji":"🌍️","group":5,"order":3785,"tags":["글로벌","세계","아프리카","유럽","유럽과 아프리카가 보이는 지구","지구","지구본"],"version":0.7,"annotation":"유럽과 아프리카가 보이는 지구","shortcodes":["earth_africa","earth_europe"]},{"emoji":"🌎️","group":5,"order":3786,"tags":["글로벌","미국이 보이는 지구","미대륙","미대륙이 보이는 지구","미주","세계","아메리카","지구","지구본"],"version":0.7,"annotation":"미대륙이 보이는 지구","shortcodes":["earth_americas"]},{"emoji":"🌏️","group":5,"order":3787,"tags":["글로벌","세계","아시아","아시아와 호주가 보이는 지구","월드","지구","지구본","호주"],"version":0.6,"annotation":"아시아와 호주가 보이는 지구","shortcodes":["earth_asia"]},{"emoji":"🌐","group":5,"order":3788,"tags":["경도","세계","월드와이드","웹","위도","인터넷","자오선","지구"],"version":1,"annotation":"자오선 지구","shortcodes":["globe_with_meridians"]},{"emoji":"🗺️","group":5,"order":3790,"tags":["세계","지도"],"version":0.7,"annotation":"세계 지도","shortcodes":["world_map"]},{"emoji":"🗾","group":5,"order":3791,"tags":["일본","지도"],"version":0.6,"annotation":"일본 지도","shortcodes":["japan_map"]},{"emoji":"🧭","group":5,"order":3792,"tags":["길찾기","나침반","네비게이션","오리엔티어링","자석"],"version":11,"annotation":"나침반","shortcodes":["compass"]},{"emoji":"🏔️","group":5,"order":3794,"tags":["눈","눈 덮인 산","산","설산","추위"],"version":0.7,"annotation":"눈 덮인 산","shortcodes":["mountain_snow"]},{"emoji":"⛰️","group":5,"order":3796,"tags":["산","산 정상"],"version":0.7,"annotation":"산","shortcodes":["mountain"]},{"emoji":"🌋","group":5,"order":3797,"tags":["볼케이노","산","자연","폭발","화산"],"version":0.6,"annotation":"화산","shortcodes":["volcano"]},{"emoji":"🗻","group":5,"order":3798,"tags":["산","자연","후지","후지산"],"version":0.6,"annotation":"후지산","shortcodes":["mount_fuji"]},{"emoji":"🏕️","group":5,"order":3800,"tags":["캠핑","텐트"],"version":0.7,"annotation":"캠핑","shortcodes":["camping"]},{"emoji":"🏖️","group":5,"order":3802,"tags":["우산","파라솔","파라솔이 있는 해변","해변"],"version":0.7,"annotation":"파라솔이 있는 해변","shortcodes":["beach","beach_with_umbrella"]},{"emoji":"🏜️","group":5,"order":3804,"tags":["사막","선인장","태양"],"version":0.7,"annotation":"사막","shortcodes":["desert"]},{"emoji":"🏝️","group":5,"order":3806,"tags":["사막","섬"],"version":0.7,"annotation":"사막 섬","shortcodes":["desert_island","island"]},{"emoji":"🏞️","group":5,"order":3808,"tags":["공원","국립","국립공원"],"version":0.7,"annotation":"국립공원","shortcodes":["national_park"]},{"emoji":"🏟️","group":5,"order":3810,"tags":["경기장","스타디움"],"version":0.7,"annotation":"경기장","shortcodes":["stadium"]},{"emoji":"🏛️","group":5,"order":3812,"tags":["건물","고전","고전 빌딩","고전 양식의 건축물"],"version":0.7,"annotation":"고전 양식의 건축물","shortcodes":["classical_building"]},{"emoji":"🏗️","group":5,"order":3814,"tags":["건물","공사","크래인"],"version":0.7,"annotation":"건물 공사","shortcodes":["building_construction","construction_site"]},{"emoji":"🧱","group":5,"order":3815,"tags":["담벼락","모르타르","벽","벽돌","빨간 벽돌","클레이"],"version":11,"annotation":"벽돌","shortcodes":["bricks"]},{"emoji":"🪨","group":5,"order":3816,"tags":["단단한","돌","무거운","바위","스톤","암석"],"version":13,"annotation":"바위","shortcodes":["rock"]},{"emoji":"🪵","group":5,"order":3817,"tags":["나무","목재","수목","재목","통나무"],"version":13,"annotation":"목재","shortcodes":["wood"]},{"emoji":"🛖","group":5,"order":3818,"tags":["오두막","원실","유르트","집","피난처","홈","훗"],"version":13,"annotation":"오두막","shortcodes":["hut"]},{"emoji":"🏘️","group":5,"order":3820,"tags":["건물","주택","집"],"version":0.7,"annotation":"주택 건물","shortcodes":["homes","houses"]},{"emoji":"🏚️","group":5,"order":3822,"tags":["건물","낡은 주택 건물","노후","주택","주택 수리","집"],"version":0.7,"annotation":"낡은 주택 건물","shortcodes":["derelict_house","house_abandoned"]},{"emoji":"🏠️","group":5,"order":3823,"tags":["건물","교외","마음이 머무는 곳","빌딩","시골집","정착","주택","주택 수리","집"],"version":0.6,"annotation":"집","shortcodes":["house"]},{"emoji":"🏡","group":5,"order":3824,"tags":["교외","마음이 머무는 곳","시골집","정원","정원이 있는 주택","정원이 있는 집","정착","주택","주택 수리"],"version":0.6,"annotation":"정원이 있는 집","shortcodes":["house_with_garden"]},{"emoji":"🏢","group":5,"order":3825,"tags":["건물","빌딩","사무실","오피스","육면체","일","회사 건물"],"version":0.6,"annotation":"빌딩","shortcodes":["office"]},{"emoji":"🏣","group":5,"order":3826,"tags":["건물","우체국","일본"],"version":0.6,"annotation":"일본 우체국","shortcodes":["post_office"]},{"emoji":"🏤","group":5,"order":3827,"tags":["건물","빌딩","우체국","유럽"],"version":1,"annotation":"우체국","shortcodes":["european_post_office"]},{"emoji":"🏥","group":5,"order":3828,"tags":["건물","메디컬","병원","빌딩","의사","의학"],"version":0.6,"annotation":"병원","shortcodes":["hospital"]},{"emoji":"🏦","group":5,"order":3829,"tags":["건물","뱅크","빌딩","은행"],"version":0.6,"annotation":"은행","shortcodes":["bank"]},{"emoji":"🏨","group":5,"order":3830,"tags":["건물","빌딩","숙박","잠","호텔"],"version":0.6,"annotation":"호텔","shortcodes":["hotel"]},{"emoji":"🏩","group":5,"order":3831,"tags":["건물","러브 호텔","모텔","빌딩","호텔"],"version":0.6,"annotation":"모텔","shortcodes":["love_hotel"]},{"emoji":"🏪","group":5,"order":3832,"tags":["24시","가게","건물","빌딩","편의점"],"version":0.6,"annotation":"편의점","shortcodes":["convenience_store"]},{"emoji":"🏫","group":5,"order":3833,"tags":["건물","공부","빌딩","스쿨","학교"],"version":0.6,"annotation":"학교","shortcodes":["school"]},{"emoji":"🏬","group":5,"order":3834,"tags":["가게","건물","백화점","빌딩","상점"],"version":0.6,"annotation":"백화점","shortcodes":["department_store"]},{"emoji":"🏭️","group":5,"order":3835,"tags":["건물","공장","빌딩"],"version":0.6,"annotation":"공장","shortcodes":["factory"]},{"emoji":"🏯","group":5,"order":3836,"tags":["건물","궁전","빌딩","성","일본"],"version":0.6,"annotation":"일본 성","shortcodes":["japanese_castle"]},{"emoji":"🏰","group":5,"order":3837,"tags":["건물","궁전","빌딩","성","유럽"],"version":0.6,"annotation":"유럽 성","shortcodes":["castle","european_castle"]},{"emoji":"💒","group":5,"order":3838,"tags":["결혼","결혼식","결혼한","교회 결혼식","로맨스","성당 결혼식","예배당","혼례식"],"version":0.6,"annotation":"결혼식","shortcodes":["wedding"]},{"emoji":"🗼","group":5,"order":3839,"tags":["도쿄","타워","탑"],"version":0.6,"annotation":"도쿄 타워","shortcodes":["tokyo_tower"]},{"emoji":"🗽","group":5,"order":3840,"tags":["뉴욕","동상","여신상","자유","자유의 여신상"],"version":0.6,"annotation":"자유의 여신상","shortcodes":["statue_of_liberty"]},{"emoji":"⛪️","group":5,"order":3841,"tags":["건물","교회","기독교","빌딩","십자가","예배당","종교","축복","크리스찬"],"version":0.6,"annotation":"교회","shortcodes":["church"]},{"emoji":"🕌","group":5,"order":3842,"tags":["모스크","무슬림","사원","이슬람","종교"],"version":1,"annotation":"모스크","shortcodes":["mosque"]},{"emoji":"🛕","group":5,"order":3843,"tags":["사원","힌두교"],"version":12,"annotation":"힌두교 사원","shortcodes":["hindu_temple"]},{"emoji":"🕍","group":5,"order":3844,"tags":["사원","시나고그","유대교","유대인","종교"],"version":1,"annotation":"시나고그","shortcodes":["synagogue"]},{"emoji":"⛩️","group":5,"order":3846,"tags":["신사","신토","일본 신사","종교"],"version":0.7,"annotation":"신토 신사","shortcodes":["shinto_shrine"]},{"emoji":"🕋","group":5,"order":3847,"tags":["무슬림","움라","이슬람","종교","카바","하즈"],"version":1,"annotation":"카바","shortcodes":["kaaba"]},{"emoji":"⛲️","group":5,"order":3848,"tags":["분수","분수대"],"version":0.6,"annotation":"분수","shortcodes":["fountain"]},{"emoji":"⛺️","group":5,"order":3849,"tags":["캠프","캠핑","텐트"],"version":0.6,"annotation":"텐트","shortcodes":["tent"]},{"emoji":"🌁","group":5,"order":3850,"tags":["날씨","스모그","안개","안개 낀","자욱한 안개"],"version":0.6,"annotation":"자욱한 안개","shortcodes":["foggy"]},{"emoji":"🌃","group":5,"order":3851,"tags":["밤","밤하늘 별","별","야경"],"version":0.6,"annotation":"밤하늘 별","shortcodes":["night_with_stars"]},{"emoji":"🏙️","group":5,"order":3853,"tags":["건물","도시","도시 전경"],"version":0.7,"annotation":"도시 전경","shortcodes":["cityscape"]},{"emoji":"🌄","group":5,"order":3854,"tags":["산","산에 해가 뜸","산에서 떠오르는 해","아침","일출","해","해가 뜸"],"version":0.6,"annotation":"산에서 떠오르는 해","shortcodes":["sunrise_over_mountains"]},{"emoji":"🌅","group":5,"order":3855,"tags":["아침","일출","자연","해","해가 뜸"],"version":0.6,"annotation":"일출","shortcodes":["sunrise"]},{"emoji":"🌆","group":5,"order":3856,"tags":["건물","노을","도시","빌딩","선셋","야경","일몰","저녁","해","해질녘"],"version":0.6,"annotation":"도시 야경","shortcodes":["city_dusk"]},{"emoji":"🌇","group":5,"order":3857,"tags":["건물","노을","도시에 해가 짐","빌딩","일몰","해","해가 짐","해질녘","황혼"],"version":0.6,"annotation":"일몰","shortcodes":["city_sunrise","city_sunset"]},{"emoji":"🌉","group":5,"order":3858,"tags":["다리","달과 다리","밤","밤의 다리","밤하늘을 배경으로 하는 다리","별과 다리"],"version":0.6,"annotation":"밤하늘을 배경으로 하는 다리","shortcodes":["bridge_at_night"]},{"emoji":"♨️","group":5,"order":3860,"tags":["뜨거움","목욕탕","사우나","온천"],"version":0.6,"annotation":"온천","shortcodes":["hotsprings"]},{"emoji":"🎠","group":5,"order":3861,"tags":["놀이공원","목마","엔터테인먼트","유원지","회전 목마"],"version":0.6,"annotation":"회전 목마","shortcodes":["carousel_horse"]},{"emoji":"🛝","group":5,"order":3862,"tags":["놀기","놀이","놀이공원","놀이터","미끄러지다","미끄럼틀","슬라이드","슬라이딩"],"version":14,"annotation":"미끄럼틀","shortcodes":["playground_slide","slide"]},{"emoji":"🎡","group":5,"order":3863,"tags":["관람차","놀이공원","대관람차","유원지"],"version":0.6,"annotation":"관람차","shortcodes":["ferris_wheel"]},{"emoji":"🎢","group":5,"order":3864,"tags":["놀이공원","롤러","롤러코스터","유원지","코스터"],"version":0.6,"annotation":"롤러코스터","shortcodes":["roller_coaster"]},{"emoji":"💈","group":5,"order":3865,"tags":["면도","이발","이발사","이발소","이발소 기둥","이발소 표시"],"version":0.6,"annotation":"이발소","shortcodes":["barber","barber_pole"]},{"emoji":"🎪","group":5,"order":3866,"tags":["서커스","텐트"],"version":0.6,"annotation":"서커스","shortcodes":["circus_tent"]},{"emoji":"🚂","group":5,"order":3867,"tags":["교통수단","기관차","기차","엔진","여행","증기","카부스","트레인"],"version":1,"annotation":"기관차","shortcodes":["steam_locomotive"]},{"emoji":"🚃","group":5,"order":3868,"tags":["교통수단","기차","레일","여행","전기","전철","차","철도","철도 차량","트램","트롤리버스"],"version":0.6,"annotation":"전철","shortcodes":["railway_car"]},{"emoji":"🚄","group":5,"order":3869,"tags":["KTX","고속","고속열차","신칸센","암트랙","철도","케이티엑스"],"version":0.6,"annotation":"고속열차","shortcodes":["bullettrain_side"]},{"emoji":"🚅","group":5,"order":3870,"tags":["KTX","고속","고속철","기차","신칸센","암트랙","앞에 뾰족하게 생긴 고속 철도","여행","철도","케이티엑스"],"version":0.6,"annotation":"고속철","shortcodes":["bullettrain_front"]},{"emoji":"🚆","group":5,"order":3871,"tags":["기차","도착","철도","칙칙폭폭"],"version":1,"annotation":"기차","shortcodes":["train"]},{"emoji":"🚇️","group":5,"order":3872,"tags":["메트로","여행","전철","지하철"],"version":0.6,"annotation":"지하철","shortcodes":["metro"]},{"emoji":"🚈","group":5,"order":3873,"tags":["경전철","교통수단","기차","도착","모노레일","바트"],"version":1,"annotation":"경전철","shortcodes":["light_rail"]},{"emoji":"🚉","group":5,"order":3874,"tags":["기차","기차역","바트","역","전철역","지하철역","철도"],"version":0.6,"annotation":"기차역","shortcodes":["station"]},{"emoji":"🚊","group":5,"order":3875,"tags":["바트","전차","트램","트롤리버스"],"version":1,"annotation":"트램","shortcodes":["tram"]},{"emoji":"🚝","group":5,"order":3876,"tags":["교통수단","기차","모노레일"],"version":1,"annotation":"모노레일","shortcodes":["monorail"]},{"emoji":"🚞","group":5,"order":3877,"tags":["기차","산","산악 철도","산터널","차","터널"],"version":1,"annotation":"기차 터널","shortcodes":["mountain_railway"]},{"emoji":"🚋","group":5,"order":3878,"tags":["버스","전차 차량","차","트램 차량","트롤리","트롤리버스"],"version":1,"annotation":"트램 차량","shortcodes":["tram_car"]},{"emoji":"🚌","group":5,"order":3879,"tags":["교통수단","버스","차","학교"],"version":0.6,"annotation":"버스","shortcodes":["bus"]},{"emoji":"🚍️","group":5,"order":3880,"tags":["다가오는","버스","오고 있는 버스","차"],"version":0.7,"annotation":"오고 있는 버스","shortcodes":["oncoming_bus"]},{"emoji":"🚎","group":5,"order":3881,"tags":["버스","트램","트롤리"],"version":1,"annotation":"트롤리 버스","shortcodes":["trolleybus"]},{"emoji":"🚐","group":5,"order":3882,"tags":["교통수단","미니버스","밴","버스","소형 버스","운전"],"version":1,"annotation":"미니버스","shortcodes":["minibus"]},{"emoji":"🚑️","group":5,"order":3883,"tags":["교통수단","구급차","앰뷸런스"],"version":0.6,"annotation":"구급차","shortcodes":["ambulance"]},{"emoji":"🚒","group":5,"order":3884,"tags":["소방차","엔진","트럭","화재"],"version":0.6,"annotation":"소방차","shortcodes":["fire_engine"]},{"emoji":"🚓","group":5,"order":3885,"tags":["5–0","경찰","경찰차","차"],"version":0.6,"annotation":"경찰차","shortcodes":["police_car"]},{"emoji":"🚔️","group":5,"order":3886,"tags":["경찰","경찰차","다가오는 경찰차","오고 있는 경찰차","차"],"version":0.7,"annotation":"오고 있는 경찰차","shortcodes":["oncoming_police_car"]},{"emoji":"🚕","group":5,"order":3887,"tags":["교통수단","노란 택시","운전","자동차","차","택시"],"version":0.6,"annotation":"택시","shortcodes":["taxi"]},{"emoji":"🚖","group":5,"order":3888,"tags":["노란 택시","다가오는 택시","오고 있는 택시","우버","운전","차","택시","택시 부르기"],"version":1,"annotation":"오고 있는 택시","shortcodes":["oncoming_taxi"]},{"emoji":"🚗","group":5,"order":3889,"tags":["교통수단","승용차","운전","자동차","차량"],"version":0.6,"annotation":"자동차","shortcodes":["car","red_car"]},{"emoji":"🚘️","group":5,"order":3890,"tags":["교통수단","다가오는","오고 있는 승용차","오고 있는 자동차","운전","자동차","차"],"version":0.7,"annotation":"오고 있는 자동차","shortcodes":["oncoming_automobile"]},{"emoji":"🚙","group":5,"order":3891,"tags":["SUV","교통수단","레크리에이션","운전","지프","지프차","차"],"version":0.6,"annotation":"지프","shortcodes":["blue_car","suv"]},{"emoji":"🛻","group":5,"order":3892,"tags":["운송수단","자동차","차","트럭","플랫베드","픽업","픽업트럭","화물차"],"version":13,"annotation":"픽업트럭","shortcodes":["pickup_truck"]},{"emoji":"🚚","group":5,"order":3893,"tags":["교통수단","배달","배송","운송","운송 차량","운전","차","트럭"],"version":0.6,"annotation":"운송 트럭","shortcodes":["delivery_truck","truck"]},{"emoji":"🚛","group":5,"order":3894,"tags":["교통수단","세미","운전","이동","트럭","트레일러"],"version":1,"annotation":"트레일러 트럭","shortcodes":["articulated_lorry"]},{"emoji":"🚜","group":5,"order":3895,"tags":["교통수단","차량","트랙터"],"version":1,"annotation":"트랙터","shortcodes":["tractor"]},{"emoji":"🏎️","group":5,"order":3897,"tags":["경주용 자동차","레이싱","레이싱카","쌩","차"],"version":0.7,"annotation":"경주용 자동차","shortcodes":["racing_car"]},{"emoji":"🏍️","group":5,"order":3899,"tags":["경주","레이싱","모터사이클","오토바이"],"version":0.7,"annotation":"오토바이","shortcodes":["motorcycle"]},{"emoji":"🛵","group":5,"order":3900,"tags":["모터","스쿠터","오토바이","전동"],"version":3,"annotation":"스쿠터","shortcodes":["motor_scooter"]},{"emoji":"🦽","group":5,"order":3901,"tags":["수동 휠체어","접근성"],"version":12,"annotation":"수동 휠체어","shortcodes":["manual_wheelchair"]},{"emoji":"🦼","group":5,"order":3902,"tags":["전동 휠체어","접근성"],"version":12,"annotation":"전동 휠체어","shortcodes":["motorized_wheelchair"]},{"emoji":"🛺","group":5,"order":3903,"tags":["경삼륜차","툭툭"],"version":12,"annotation":"경삼륜차","shortcodes":["auto_rickshaw"]},{"emoji":"🚲️","group":5,"order":3904,"tags":["교통수단","라이드","바이크","바이크 갱","사이클링","스피닝","스핀 클래스","자전거"],"version":0.6,"annotation":"자전거","shortcodes":["bicycle","bike"]},{"emoji":"🛴","group":5,"order":3905,"tags":["스쿠터","씽씽카","킥","킥보드"],"version":3,"annotation":"킥보드","shortcodes":["scooter"]},{"emoji":"🛹","group":5,"order":3906,"tags":["바퀴","보드","스케이트","스케이트 타는 사람","스케이트보드"],"version":11,"annotation":"스케이트보드","shortcodes":["skateboard"]},{"emoji":"🛼","group":5,"order":3907,"tags":["날","롤러","롤러스케이트","블레이드","스케이트","스포츠","운동"],"version":13,"annotation":"롤러스케이트","shortcodes":["roller_skate"]},{"emoji":"🚏","group":5,"order":3908,"tags":["버스","정류장"],"version":0.6,"annotation":"버스 정류장","shortcodes":["busstop"]},{"emoji":"🛣️","group":5,"order":3910,"tags":["고속도로","도로"],"version":0.7,"annotation":"고속도로","shortcodes":["motorway"]},{"emoji":"🛤️","group":5,"order":3912,"tags":["선로","철도"],"version":0.7,"annotation":"철도 선로","shortcodes":["railway_track"]},{"emoji":"🛢️","group":5,"order":3914,"tags":["기름","기름통","드럼"],"version":0.7,"annotation":"기름통","shortcodes":["oil_drum"]},{"emoji":"⛽️","group":5,"order":3915,"tags":["가스","경유","연료","주유소","펌프","휘발유"],"version":0.6,"annotation":"주유소","shortcodes":["fuelpump"]},{"emoji":"🛞","group":5,"order":3916,"tags":["바퀴","원","자동차","차","카","타이어","탈 것","회전","휠"],"version":14,"annotation":"휠","shortcodes":["wheel"]},{"emoji":"🚨","group":5,"order":3917,"tags":["경고","경보","경찰","경찰차 사이렌","비상","삐용삐용","사이렌","알람","차"],"version":0.6,"annotation":"사이렌","shortcodes":["rotating_light"]},{"emoji":"🚥","group":5,"order":3918,"tags":["가로","교차로","교통","수평","신호","신호등","정지 신호"],"version":0.6,"annotation":"가로 신호등","shortcodes":["traffic_light"]},{"emoji":"🚦","group":5,"order":3919,"tags":["교차로","교통","빛","세로","수직","신호등","운전","정지 신호","표시"],"version":1,"annotation":"세로 신호등","shortcodes":["vertical_traffic_light"]},{"emoji":"🛑","group":5,"order":3920,"tags":["교통신호","멈춤","멈춤 표시","신호","팔각형"],"version":3,"annotation":"멈춤 표시","shortcodes":["octagonal_sign","stop_sign"]},{"emoji":"🚧","group":5,"order":3921,"tags":["공사","공사 중","공사 중 표시","분리대"],"version":0.6,"annotation":"공사 중","shortcodes":["construction"]},{"emoji":"⚓️","group":5,"order":3922,"tags":["닻","도구","배","앵커","항해"],"version":0.6,"annotation":"닻","shortcodes":["anchor"]},{"emoji":"🛟","group":5,"order":3923,"tags":["구명 기구","구명 튜브","구명부환","구조","구조원","구하다","부낭","수영","안전"],"version":14,"annotation":"구명부환","shortcodes":["lifebuoy","ring_buoy"]},{"emoji":"⛵️","group":5,"order":3924,"tags":["돛단배","배","범선","세일링","요트"],"version":0.6,"annotation":"돛단배","shortcodes":["sailboat"]},{"emoji":"🛶","group":5,"order":3925,"tags":["배","보트","카누"],"version":3,"annotation":"카누","shortcodes":["canoe"]},{"emoji":"🚤","group":5,"order":3926,"tags":["럭셔리","보트","선박","억만장자","여름","여행","쾌속정","호수"],"version":0.6,"annotation":"쾌속정","shortcodes":["speedboat"]},{"emoji":"🛳️","group":5,"order":3928,"tags":["배","선박","승객","여객선"],"version":0.7,"annotation":"여객선","shortcodes":["cruise_ship","passenger_ship"]},{"emoji":"⛴️","group":5,"order":3930,"tags":["보트","승객","연락선","페리"],"version":0.7,"annotation":"페리","shortcodes":["ferry"]},{"emoji":"🛥️","group":5,"order":3932,"tags":["모터보트","보트"],"version":0.7,"annotation":"모터보트","shortcodes":["motorboat"]},{"emoji":"🚢","group":5,"order":3933,"tags":["바다","배","선박","승객","여행","타이타닉"],"version":0.6,"annotation":"선박","shortcodes":["ship"]},{"emoji":"✈️","group":5,"order":3935,"tags":["비행","비행기","여행","제트","항공"],"version":0.6,"annotation":"비행기","shortcodes":["airplane"]},{"emoji":"🛩️","group":5,"order":3937,"tags":["경비행기","비행기","소형비행기","항공기"],"version":0.7,"annotation":"경비행기","shortcodes":["small_airplane"]},{"emoji":"🛫","group":5,"order":3938,"tags":["비행기","이륙","체크인","출발"],"version":1,"annotation":"비행기 이륙","shortcodes":["airplane_departure"]},{"emoji":"🛬","group":5,"order":3939,"tags":["도착","도착하는 중","랜딩 중","비행기","비행기 착륙","항공기"],"version":1,"annotation":"비행기 착륙","shortcodes":["airplane_arriving"]},{"emoji":"🪂","group":5,"order":3940,"tags":["낙하산","스카이다이빙","패러세일링","행글라이더"],"version":12,"annotation":"낙하산","shortcodes":["parachute"]},{"emoji":"💺","group":5,"order":3941,"tags":["의자","자리","좌석"],"version":0.6,"annotation":"좌석","shortcodes":["seat"]},{"emoji":"🚁","group":5,"order":3942,"tags":["교통수단","로플콥터","여행","콥터","헬기","헬리콥터"],"version":1,"annotation":"헬리콥터","shortcodes":["helicopter"]},{"emoji":"🚟","group":5,"order":3943,"tags":["매달린 케이블카","자기부상","자기부상 열차","철도","케이블카"],"version":1,"annotation":"매달린 케이블카","shortcodes":["suspension_railway"]},{"emoji":"🚠","group":5,"order":3944,"tags":["곤돌라","교통수단","산","산악 케이블카","스키 리프트","케이블","케이블카"],"version":1,"annotation":"산악 케이블카","shortcodes":["mountain_cableway"]},{"emoji":"🚡","group":5,"order":3945,"tags":["곤돌라","공중","산악 케이블카","차","케이블카"],"version":1,"annotation":"케이블카","shortcodes":["aerial_tramway"]},{"emoji":"🛰️","group":5,"order":3947,"tags":["우주","인공위성"],"version":0.7,"annotation":"인공위성","shortcodes":["satellite"]},{"emoji":"🚀","group":5,"order":3948,"tags":["로케트","로켓","발사","여행","우주"],"version":0.6,"annotation":"로켓","shortcodes":["rocket"]},{"emoji":"🛸","group":5,"order":3949,"tags":["UFO","비행접시","외계인","우주 생명체"],"version":5,"annotation":"비행접시","shortcodes":["flying_saucer"]},{"emoji":"🛎️","group":5,"order":3951,"tags":["데스크벨","벨","호출 벨","호텔"],"version":0.7,"annotation":"호출 벨","shortcodes":["bellhop"]},{"emoji":"🧳","group":5,"order":3952,"tags":["여행","여행용 가방","짐","짐싸기"],"version":11,"annotation":"여행용 가방","shortcodes":["luggage"]},{"emoji":"⌛️","group":5,"order":3953,"tags":["모래","모래시계","시간","시간이 다 된 모래시계","타이머"],"version":0.6,"annotation":"시간이 다 된 모래시계","shortcodes":["hourglass"]},{"emoji":"⏳️","group":5,"order":3954,"tags":["기다림","모래","모래가 떨어지는 모래시계","모래시계","시간","시간이 남은 모래시계","욜로","타이머"],"version":0.6,"annotation":"시간이 남은 모래시계","shortcodes":["hourglass_flowing_sand"]},{"emoji":"⌚️","group":5,"order":3955,"tags":["손목 시계","시간","시계"],"version":0.6,"annotation":"시계","shortcodes":["watch"]},{"emoji":"⏰️","group":5,"order":3956,"tags":["늦은","대기","시간","시계","알람"],"version":0.6,"annotation":"알람 시계","shortcodes":["alarm_clock"]},{"emoji":"⏱️","group":5,"order":3958,"tags":["스톱워치","시간","시계"],"version":1,"annotation":"스톱워치","shortcodes":["stopwatch"]},{"emoji":"⏲️","group":5,"order":3960,"tags":["시계","타이머"],"version":1,"annotation":"타이머 시계","shortcodes":["timer_clock"]},{"emoji":"🕰️","group":5,"order":3962,"tags":["벽난로","벽난로 선반 시계","시간","시계"],"version":0.7,"annotation":"벽난로 선반 시계","shortcodes":["clock"]},{"emoji":"🕛️","group":5,"order":3963,"tags":["12","12:00","12시","시계","열두 시","정각"],"version":0.6,"annotation":"열두 시","shortcodes":["clock12"]},{"emoji":"🕧️","group":5,"order":3964,"tags":["12:30","12시 30분","30분","시간","시계","열두 시","열두 시 반"],"version":0.7,"annotation":"열두 시 반","shortcodes":["clock1230"]},{"emoji":"🕐️","group":5,"order":3965,"tags":["00분","1","1:00","1시","시간","시계","정각","한 시"],"version":0.6,"annotation":"한 시","shortcodes":["clock1"]},{"emoji":"🕜️","group":5,"order":3966,"tags":["1","1:30","1시 30분","30","삼십","시간","시계","한 시 반","한시","한시 반"],"version":0.7,"annotation":"한 시 반","shortcodes":["clock130"]},{"emoji":"🕑️","group":5,"order":3967,"tags":["00분","2","2:00","2시","두 시","시간","시계","정각"],"version":0.6,"annotation":"두 시","shortcodes":["clock2"]},{"emoji":"🕝️","group":5,"order":3968,"tags":["2:30","2시","30분","두 시 반","시간","시계"],"version":0.7,"annotation":"두 시 반","shortcodes":["clock230"]},{"emoji":"🕒️","group":5,"order":3969,"tags":["00분","3","3:00","3시","세 시","시간","시계","정각"],"version":0.6,"annotation":"세 시","shortcodes":["clock3"]},{"emoji":"🕞️","group":5,"order":3970,"tags":["3:30","30분","3시","세 시 반","세시","세시 반","시간","시계"],"version":0.7,"annotation":"세 시 반","shortcodes":["clock330"]},{"emoji":"🕓️","group":5,"order":3971,"tags":["00분","4","4:00","4시","네 시","시간","시계","정각"],"version":0.6,"annotation":"네 시","shortcodes":["clock4"]},{"emoji":"🕟️","group":5,"order":3972,"tags":["30","30분","4","4:30","4시","네 시 반","네시 반","시간","시계"],"version":0.7,"annotation":"네 시 반","shortcodes":["clock430"]},{"emoji":"🕔️","group":5,"order":3973,"tags":["00분","5","5:00","5시","다섯 시","시간","시계","정각"],"version":0.6,"annotation":"다섯 시","shortcodes":["clock5"]},{"emoji":"🕠️","group":5,"order":3974,"tags":["30분","5:30","5시 30분","다섯 시 반","시간","시계"],"version":0.7,"annotation":"다섯 시 반","shortcodes":["clock530"]},{"emoji":"🕕️","group":5,"order":3975,"tags":["00분","6","6:00","6시","시간","시계","여섯 시","정각"],"version":0.6,"annotation":"여섯 시","shortcodes":["clock6"]},{"emoji":"🕡️","group":5,"order":3976,"tags":["30분","6:30","6시 30분","시간","시계","여섯 시 반"],"version":0.7,"annotation":"여섯 시 반","shortcodes":["clock630"]},{"emoji":"🕖️","group":5,"order":3977,"tags":["00분","7","7:00","7시","시계","일곱 시","정각"],"version":0.6,"annotation":"일곱 시","shortcodes":["clock7"]},{"emoji":"🕢️","group":5,"order":3978,"tags":["7:30","7시","7시 30분","시간","시계","일곱 시 반"],"version":0.7,"annotation":"일곱 시 반","shortcodes":["clock730"]},{"emoji":"🕗️","group":5,"order":3979,"tags":["00분","8","8:00","8시","시간","시계","여덟 시","정각"],"version":0.6,"annotation":"여덟 시","shortcodes":["clock8"]},{"emoji":"🕣️","group":5,"order":3980,"tags":["30분","8:30","8시 30분","시간","시계","여덟 시 반"],"version":0.7,"annotation":"여덟 시 반","shortcodes":["clock830"]},{"emoji":"🕘️","group":5,"order":3981,"tags":["9","9:00","9시","시간","시계","아홉 시","정각"],"version":0.6,"annotation":"아홉 시","shortcodes":["clock9"]},{"emoji":"🕤️","group":5,"order":3982,"tags":["30분","9:30","9시 30분","시간","시계","아홉 시 반"],"version":0.7,"annotation":"아홉 시 반","shortcodes":["clock930"]},{"emoji":"🕙️","group":5,"order":3983,"tags":["00분","10","10:00","10시","시계","열 시","열시 정각","정각"],"version":0.6,"annotation":"열 시","shortcodes":["clock10"]},{"emoji":"🕥️","group":5,"order":3984,"tags":["10:30","10시","30분","시간","시계","열 시 반"],"version":0.7,"annotation":"열 시 반","shortcodes":["clock1030"]},{"emoji":"🕚️","group":5,"order":3985,"tags":["00분","11","11:00","11시","시간","시계","열한 시","정각"],"version":0.6,"annotation":"열한 시","shortcodes":["clock11"]},{"emoji":"🕦️","group":5,"order":3986,"tags":["11:30","11시","30분","시간","시계","열한 시 반"],"version":0.7,"annotation":"열한 시 반","shortcodes":["clock1130"]},{"emoji":"🌑","group":5,"order":3987,"tags":["그믐","그믐달","뉴문","달","삭","우주","초승달"],"version":0.6,"annotation":"삭","shortcodes":["new_moon"]},{"emoji":"🌒","group":5,"order":3988,"tags":["꿈","달","상현","상현달","우주","초승달 상현"],"version":1,"annotation":"초승달 상현","shortcodes":["waxing_crescent_moon"]},{"emoji":"🌓","group":5,"order":3989,"tags":["달","반달","상현 반달","오른쪽 반달","우주"],"version":0.6,"annotation":"오른쪽 반달","shortcodes":["first_quarter_moon"]},{"emoji":"🌔","group":5,"order":3990,"tags":["달","상현달","우주","철월"],"version":0.6,"annotation":"상현달","shortcodes":["waxing_gibbous_moon"]},{"emoji":"🌕️","group":5,"order":3991,"tags":["달","만월","보름달","우주"],"version":0.6,"annotation":"보름달","shortcodes":["full_moon"]},{"emoji":"🌖","group":5,"order":3992,"tags":["달","우주","점점 기울어가는","하현달"],"version":1,"annotation":"하현달","shortcodes":["waning_gibbous_moon"]},{"emoji":"🌗","group":5,"order":3993,"tags":["달","반달","왼쪽 반달","우주","하현 반달"],"version":1,"annotation":"왼쪽 반달","shortcodes":["last_quarter_moon"]},{"emoji":"🌘","group":5,"order":3994,"tags":["그믐달","그믐달 하현","달","우주","점점 작아지는","초승달"],"version":1,"annotation":"그믐달 하현","shortcodes":["waning_crescent_moon"]},{"emoji":"🌙","group":5,"order":3995,"tags":["달","라마단","우주","초승달"],"version":0.6,"annotation":"초승달","shortcodes":["crescent_moon"]},{"emoji":"🌚","group":5,"order":3996,"tags":["뉴문","달","달님","달위에 얼굴","삭","얼굴","얼굴이 있는 삭","우주"],"version":1,"annotation":"얼굴이 있는 삭","shortcodes":["new_moon_with_face"]},{"emoji":"🌛","group":5,"order":3997,"tags":["달","달님","얼굴","얼굴이 있는 초승달","우주"],"version":0.6,"annotation":"얼굴이 있는 초승달","shortcodes":["first_quarter_moon_with_face"]},{"emoji":"🌜️","group":5,"order":3998,"tags":["그믐달","꿈","달","달님","반달","얼굴","얼굴이 있는 그믐달","얼굴이 있는 상현 반달"],"version":0.7,"annotation":"그믐달","shortcodes":["last_quarter_moon_with_face"]},{"emoji":"🌡️","group":5,"order":4000,"tags":["날씨","온도","온도계"],"version":0.7,"annotation":"온도계","shortcodes":["thermometer"]},{"emoji":"☀️","group":5,"order":4002,"tags":["날씨","더움","맑음","태양","해","화창한"],"version":0.6,"annotation":"태양","shortcodes":["sun"]},{"emoji":"🌝","group":5,"order":4003,"tags":["달","달님","밝음","얼굴","얼굴이 있는 보름달"],"version":1,"annotation":"얼굴이 있는 보름달","shortcodes":["full_moon_with_face"]},{"emoji":"🌞","group":5,"order":4004,"tags":["날씨","낮","눈부신","밝은","얼굴","얼굴이 있는 해","열기","해 방긋","해님","햇빛"],"version":1,"annotation":"얼굴이 있는 해","shortcodes":["sun_with_face"]},{"emoji":"🪐","group":5,"order":4005,"tags":["고리가 있는 행성","토성","행성"],"version":12,"annotation":"고리가 있는 행성","shortcodes":["ringed_planet","saturn"]},{"emoji":"⭐️","group":5,"order":4006,"tags":["별","천문학","화이트 미디엄 별","흰색 미디엄 별"],"version":0.6,"annotation":"별","shortcodes":["star"]},{"emoji":"🌟","group":5,"order":4007,"tags":["눈부시는","반짝거리는","반짝반짝","반짝이는 별","반짝이다","반짝임","밤","별","빛나는","승리"],"version":0.6,"annotation":"반짝이는 별","shortcodes":["glowing_star","star2"]},{"emoji":"🌠","group":5,"order":4008,"tags":["낙성","떨어지는","밤","별","별똥별","우주","유성"],"version":0.6,"annotation":"별똥별","shortcodes":["shooting_star","stars"]},{"emoji":"🌌","group":5,"order":4009,"tags":["우주","은하","은하수","행성"],"version":0.6,"annotation":"은하수","shortcodes":["milky_way"]},{"emoji":"☁️","group":5,"order":4011,"tags":["구름","날씨","흐림"],"version":0.6,"annotation":"구름","shortcodes":["cloud"]},{"emoji":"⛅️","group":5,"order":4012,"tags":["구름","구름 뒤의 해","구름에 가린 해","해"],"version":0.6,"annotation":"구름 뒤의 해","shortcodes":["partly_sunny","sun_behind_cloud"]},{"emoji":"⛈️","group":5,"order":4014,"tags":["구름","뇌우","번개","번개가 치는 비구름","비"],"version":0.7,"annotation":"번개가 치는 비구름","shortcodes":["stormy","thunder_cloud_and_rain"]},{"emoji":"🌤️","group":5,"order":4016,"tags":["구름","날씨","작은 구름 뒤의 태양","해","흐림"],"version":0.7,"annotation":"작은 구름 뒤의 태양","shortcodes":["sun_behind_small_cloud","sunny"]},{"emoji":"🌥️","group":5,"order":4018,"tags":["구름","날씨","큰 구름 뒤의 태양","해","흐림"],"version":0.7,"annotation":"큰 구름 뒤의 태양","shortcodes":["cloudy","sun_behind_large_cloud"]},{"emoji":"🌦️","group":5,"order":4020,"tags":["구름","날씨","비","비구름 뒤의 태양","해"],"version":0.7,"annotation":"비구름 뒤의 태양","shortcodes":["sun_and_rain","sun_behind_rain_cloud"]},{"emoji":"🌧️","group":5,"order":4022,"tags":["구름","날씨","비","비구름"],"version":0.7,"annotation":"비구름","shortcodes":["cloud_with_rain","rainy"]},{"emoji":"🌨️","group":5,"order":4024,"tags":["구름","날씨","눈","눈구름","추움"],"version":0.7,"annotation":"눈구름","shortcodes":["cloud_with_snow","snowy"]},{"emoji":"🌩️","group":5,"order":4026,"tags":["구름","날씨","번개","번개구름"],"version":0.7,"annotation":"번개구름","shortcodes":["cloud_with_lightning","lightning"]},{"emoji":"🌪️","group":5,"order":4028,"tags":["구름","날씨","소용돌이","태풍","토네이도"],"version":0.7,"annotation":"토네이도","shortcodes":["tornado"]},{"emoji":"🌫️","group":5,"order":4030,"tags":["구름","날씨","물결표시","안개"],"version":0.7,"annotation":"안개","shortcodes":["fog"]},{"emoji":"🌬️","group":5,"order":4032,"tags":["바람","바람 부는","얼굴","얼굴이 있는 바람","후 하고 바람 부는 얼굴"],"version":0.7,"annotation":"얼굴이 있는 바람","shortcodes":["wind_blowing_face"]},{"emoji":"🌀","group":5,"order":4033,"tags":["날씨","사이클론","소용돌이","싸이클론","어지러운","태풍","태풍의 눈"],"version":0.6,"annotation":"태풍","shortcodes":["cyclone"]},{"emoji":"🌈","group":5,"order":4034,"tags":["게이","날씨","레인보우","레즈비언","무지개","양성애자","자연","젠더퀴어","트랜스","트랜스젠더","프라이드"],"version":0.6,"annotation":"무지개","shortcodes":["rainbow"]},{"emoji":"🌂","group":5,"order":4035,"tags":["비","우산","접힌 우산"],"version":0.6,"annotation":"접힌 우산","shortcodes":["closed_umbrella"]},{"emoji":"☂️","group":5,"order":4037,"tags":["비","우산"],"version":0.7,"annotation":"우산","shortcodes":["umbrella"]},{"emoji":"☔️","group":5,"order":4038,"tags":["강우","강한 비","날씨","물방울","비","빗방울이 떨어지는 우산","빗방울이 있는 우산","우산"],"version":0.6,"annotation":"빗방울이 있는 우산","shortcodes":["umbrella_with_rain"]},{"emoji":"⛱️","group":5,"order":4040,"tags":["땅에 꽂힌 파라솔","비","우산","파라솔","해","해변가"],"version":0.7,"annotation":"땅에 꽂힌 파라솔","shortcodes":["beach_umbrella","umbrella_on_ground"]},{"emoji":"⚡️","group":5,"order":4041,"tags":["고압","고압 경고","고압 주의","메신저","번개","벼락","위험","자연","잽","전기","전력","전압"],"version":0.6,"annotation":"고압 주의","shortcodes":["high_voltage","zap"]},{"emoji":"❄️","group":5,"order":4043,"tags":["날씨","눈","눈송이","추위"],"version":0.6,"annotation":"눈송이","shortcodes":["snowflake"]},{"emoji":"☃️","group":5,"order":4045,"tags":["겨울","눈","눈사람","추위"],"version":0.7,"annotation":"눈사람","shortcodes":["snowman2"]},{"emoji":"⛄️","group":5,"order":4046,"tags":["겨울","내리는 눈 없이 눈사람","눈","눈사람","스노우맨","추위"],"version":0.6,"annotation":"스노우맨","shortcodes":["snowman"]},{"emoji":"☄️","group":5,"order":4048,"tags":["우주","혜성"],"version":1,"annotation":"혜성","shortcodes":["comet"]},{"emoji":"🔥","group":5,"order":4049,"tags":["도구","뜨거운","불","불꽃","화끈한","화재"],"version":0.6,"annotation":"불","shortcodes":["fire"]},{"emoji":"💧","group":5,"order":4050,"tags":["날씨","눈물","달콤","땀","만화","물방울","자연","추위","코믹"],"version":0.6,"annotation":"물방울","shortcodes":["droplet"]},{"emoji":"🌊","group":5,"order":4051,"tags":["물결","바다","서퍼","서핑","서핑하는 사람","자연","파도","풍랑"],"version":0.6,"annotation":"파도","shortcodes":["ocean","water_wave"]},{"emoji":"🎃","group":6,"order":4052,"tags":["등","잭","잭오랜턴","할로윈","할로윈 장식","핼러윈","호박"],"version":0.6,"annotation":"할로윈","shortcodes":["jack_o_lantern"]},{"emoji":"🎄","group":6,"order":4053,"tags":["축하","크리스마스","크리스마스 트리"],"version":0.6,"annotation":"크리스마스 트리","shortcodes":["christmas_tree"]},{"emoji":"🎆","group":6,"order":4054,"tags":["불꽃 축제","불꽃놀이","엔터테인먼트","욜로","축하","쾅"],"version":0.6,"annotation":"불꽃놀이","shortcodes":["fireworks"]},{"emoji":"🎇","group":6,"order":4055,"tags":["번쩍","불꽃","불꽃 축제","축하","쾅","폭죽"],"version":0.6,"annotation":"불꽃","shortcodes":["sparkler"]},{"emoji":"🧨","group":6,"order":4056,"tags":["다이너마이트","불꽃","불꽃놀이","빛","튀다","폭발적인","폭약","폭죽"],"version":11,"annotation":"폭죽","shortcodes":["firecracker"]},{"emoji":"✨️","group":6,"order":4057,"tags":["마술","매직","반짝거림","반짝반짝","별","블링블링"],"version":0.6,"annotation":"블링블링","shortcodes":["sparkles"]},{"emoji":"🎈","group":6,"order":4058,"tags":["기념","생일","축하","파티","풍선"],"version":0.6,"annotation":"풍선","shortcodes":["balloon"]},{"emoji":"🎉","group":6,"order":4059,"tags":["생일","신나는","우후","짠","축하","파티"],"version":0.6,"annotation":"파티","shortcodes":["party","party_popper","tada"]},{"emoji":"🎊","group":6,"order":4060,"tags":["공","기념","박 터트리기","색종이 꽃가루처","야호","축하","파티"],"version":0.6,"annotation":"박 터트리기","shortcodes":["confetti_ball"]},{"emoji":"🎋","group":6,"order":4061,"tags":["기원 쪽지","나무","다나바타 나무","배너","소원 빌기","소원 쪽지","소원 쪽지 매달기","소원을 건 나무","일본","축하"],"version":0.6,"annotation":"소원을 건 나무","shortcodes":["tanabata_tree"]},{"emoji":"🎍","group":6,"order":4062,"tags":["대나무","소나무","식물","일본","장식","축하"],"version":0.6,"annotation":"일본 장식","shortcodes":["bamboo"]},{"emoji":"🎎","group":6,"order":4063,"tags":["남녀 인형","인형","일본","축제","페스티발"],"version":0.6,"annotation":"일본 인형","shortcodes":["dolls"]},{"emoji":"🎏","group":6,"order":4064,"tags":["깃발","물고기 깃발","물고기 모양 깃발","물고기 장식","잉어","잉어 모양 깃발"],"version":0.6,"annotation":"물고기 깃발","shortcodes":["carp_streamer","flags"]},{"emoji":"🎐","group":6,"order":4065,"tags":["종","풍경"],"version":0.6,"annotation":"풍경","shortcodes":["wind_chime"]},{"emoji":"🎑","group":6,"order":4066,"tags":["기념","달","달맞이","달맞이 행사","벼이삭","축하"],"version":0.6,"annotation":"달맞이","shortcodes":["moon_ceremony","rice_scene"]},{"emoji":"🧧","group":6,"order":4067,"tags":["돈","돈 봉투","빨간 봉투","선물","세뱃돈","행운","현금"],"version":11,"annotation":"세뱃돈","shortcodes":["red_envelope"]},{"emoji":"🎀","group":6,"order":4068,"tags":["리본","축하"],"version":0.6,"annotation":"리본","shortcodes":["ribbon"]},{"emoji":"🎁","group":6,"order":4069,"tags":["놀람","박스","선물","축하","크리스마스","포장"],"version":0.6,"annotation":"선물","shortcodes":["gift"]},{"emoji":"🎗️","group":6,"order":4071,"tags":["기념","리본","추모"],"version":0.7,"annotation":"추모 리본","shortcodes":["reminder_ribbon"]},{"emoji":"🎟️","group":6,"order":4073,"tags":["입장","티켓"],"version":0.7,"annotation":"입장 티켓","shortcodes":["admission_tickets","tickets"]},{"emoji":"🎫","group":6,"order":4074,"tags":["공연","엔터테인먼트","입장","티켓","표","표 확인"],"version":0.6,"annotation":"티켓","shortcodes":["ticket"]},{"emoji":"🎖️","group":6,"order":4076,"tags":["군대","메달","무공 훈장","상","축하","훈장"],"version":0.7,"annotation":"무공 훈장","shortcodes":["military_medal"]},{"emoji":"🏆️","group":6,"order":4077,"tags":["상","스포츠","승리","우승","챔스","챔피온","트로피"],"version":0.6,"annotation":"트로피","shortcodes":["trophy"]},{"emoji":"🏅","group":6,"order":4078,"tags":["경기","금메달","메달","스포츠","승자","어워드"],"version":1,"annotation":"스포츠 메달","shortcodes":["sports_medal"]},{"emoji":"🥇","group":6,"order":4079,"tags":["골드","금메달","메달","일등"],"version":3,"annotation":"금메달","shortcodes":["1st","first_place_medal"]},{"emoji":"🥈","group":6,"order":4080,"tags":["2등","메달","실버","은메달","이등","준우승"],"version":3,"annotation":"은메달","shortcodes":["2nd","second_place_medal"]},{"emoji":"🥉","group":6,"order":4081,"tags":["동메달","메달","브론즈","삼등"],"version":3,"annotation":"동메달","shortcodes":["3rd","third_place_medal"]},{"emoji":"⚽️","group":6,"order":4082,"tags":["공","메시","사커","스포츠","축구","축구공","호날두"],"version":0.6,"annotation":"축구공","shortcodes":["soccer"]},{"emoji":"⚾️","group":6,"order":4083,"tags":["공","스포츠","야구","야구공"],"version":0.6,"annotation":"야구공","shortcodes":["baseball"]},{"emoji":"🥎","group":6,"order":4084,"tags":["공","글로브","소프트볼","스포츠","야구공","언더암"],"version":11,"annotation":"소프트볼","shortcodes":["softball"]},{"emoji":"🏀","group":6,"order":4085,"tags":["공","농구","농구 링","농구공","스포츠","운동"],"version":0.6,"annotation":"농구","shortcodes":["basketball"]},{"emoji":"🏐","group":6,"order":4086,"tags":["게임","경기","공","배구","배구공"],"version":1,"annotation":"배구공","shortcodes":["volleyball"]},{"emoji":"🏈","group":6,"order":4087,"tags":["미국","미식","미식축구","미식축구공","슈퍼볼","스포츠","운동","축구"],"version":0.6,"annotation":"미식축구공","shortcodes":["football"]},{"emoji":"🏉","group":6,"order":4088,"tags":["공","럭비","럭비공","스포츠","운동"],"version":1,"annotation":"럭비공","shortcodes":["rugby_football"]},{"emoji":"🎾","group":6,"order":4089,"tags":["공","라켓","스포츠","운동","테니스"],"version":0.6,"annotation":"테니스","shortcodes":["tennis"]},{"emoji":"🥏","group":6,"order":4090,"tags":["디스크","야외 운동","원반","프리스비"],"version":11,"annotation":"원반","shortcodes":["flying_disc"]},{"emoji":"🎳","group":6,"order":4091,"tags":["게임","공","볼링","볼링공","볼링핀","스트라이크","스포츠"],"version":0.6,"annotation":"볼링","shortcodes":["bowling"]},{"emoji":"🏏","group":6,"order":4092,"tags":["게임","경기","공","배트","운동","크리켓"],"version":1,"annotation":"크리켓","shortcodes":["cricket_game"]},{"emoji":"🏑","group":6,"order":4093,"tags":["게임","경기","공","스틱","필드","하키"],"version":1,"annotation":"필드 하키","shortcodes":["field_hockey"]},{"emoji":"🏒","group":6,"order":4094,"tags":["게임","경기","스틱","아이스","아이스 하키와 퍽","퍽","하키"],"version":1,"annotation":"아이스 하키와 퍽","shortcodes":["hockey"]},{"emoji":"🥍","group":6,"order":4095,"tags":["골","공","그물채","라크로스","스틱","스포츠"],"version":11,"annotation":"라크로스","shortcodes":["lacrosse"]},{"emoji":"🏓","group":6,"order":4096,"tags":["게임","공","탁구","탁구공","탁구채","핑퐁"],"version":1,"annotation":"탁구","shortcodes":["ping_pong"]},{"emoji":"🏸","group":6,"order":4097,"tags":["라켓","배드민턴","배드민턴채","버디","셔틀콕"],"version":1,"annotation":"배드민턴","shortcodes":["badminton"]},{"emoji":"🥊","group":6,"order":4098,"tags":["권투","글러브","복싱","스포츠"],"version":3,"annotation":"권투 글러브","shortcodes":["boxing_glove"]},{"emoji":"🥋","group":6,"order":4099,"tags":["가라데","도복","무술","유니폼","유도","태권도","합기도"],"version":3,"annotation":"도복","shortcodes":["martial_arts_uniform"]},{"emoji":"🥅","group":6,"order":4100,"tags":["골","골대","구기종목","네트","스포츠"],"version":3,"annotation":"골대","shortcodes":["goal_net"]},{"emoji":"⛳️","group":6,"order":4101,"tags":["골프","구멍","홀","홀에 깃발"],"version":0.6,"annotation":"골프","shortcodes":["golf"]},{"emoji":"⛸️","group":6,"order":4103,"tags":["스케이트","아이스"],"version":0.7,"annotation":"아이스 스케이트","shortcodes":["ice_skate"]},{"emoji":"🎣","group":6,"order":4104,"tags":["낚시","낚싯대","물고기","스포츠","엔터테인먼트"],"version":0.6,"annotation":"낚싯대","shortcodes":["fishing_pole","fishing_pole_and_fish"]},{"emoji":"🤿","group":6,"order":4105,"tags":["다이빙","다이빙 마스크","스노클링","스쿠버","스킨스쿠버"],"version":12,"annotation":"다이빙 마스크","shortcodes":["diving_mask"]},{"emoji":"🎽","group":6,"order":4106,"tags":["러닝","민소매 상의","셔츠","운동복","운동복 상의"],"version":0.6,"annotation":"러닝 셔츠","shortcodes":["running_shirt","running_shirt_with_sash"]},{"emoji":"🎿","group":6,"order":4107,"tags":["눈","스키","스키 부츠","스포츠","운동"],"version":0.6,"annotation":"스키","shortcodes":["ski"]},{"emoji":"🛷","group":6,"order":4108,"tags":["눈","눈썰매","썰매","터보건"],"version":5,"annotation":"썰매","shortcodes":["sled"]},{"emoji":"🥌","group":6,"order":4109,"tags":["게임","경기","돌","컬링","컬링 스톤"],"version":5,"annotation":"컬링 스톤","shortcodes":["curling_stone"]},{"emoji":"🎯","group":6,"order":4110,"tags":["게임","과녁","다트","명중","목표","양궁","엔터테인먼트","화살"],"version":0.6,"annotation":"과녁 명중","shortcodes":["bullseye","dart","direct_hit"]},{"emoji":"🪀","group":6,"order":4111,"tags":["오르락내리락","요요","장난감"],"version":12,"annotation":"요요","shortcodes":["yo_yo"]},{"emoji":"🪁","group":6,"order":4112,"tags":["날리기","연","연날리기","활공"],"version":12,"annotation":"연","shortcodes":["kite"]},{"emoji":"🔫","group":6,"order":4113,"tags":["권총","리볼버","무기","물총","장비","총","피스톨"],"version":0.6,"annotation":"물총","shortcodes":["gun","pistol"]},{"emoji":"🎱","group":6,"order":4114,"tags":["8","8번 공","게임","공","당구","당구공","팔","포켓볼 8번 공"],"version":0.6,"annotation":"당구","shortcodes":["8ball","billiards"]},{"emoji":"🔮","group":6,"order":4115,"tags":["구슬","도구","동화","마술","수정","예언","운세","판타지"],"version":0.6,"annotation":"수정 구슬","shortcodes":["crystal_ball"]},{"emoji":"🪄","group":6,"order":4116,"tags":["마녀","마법사","마술","마술사","지팡이","지휘봉"],"version":13,"annotation":"마술 지팡이","shortcodes":["magic_wand"]},{"emoji":"🎮️","group":6,"order":4117,"tags":["게임","게임패드","비디오 게임","엔터테인먼트","컨트롤러"],"version":0.6,"annotation":"비디오 게임","shortcodes":["controller","video_game"]},{"emoji":"🕹️","group":6,"order":4119,"tags":["게임","비디오 게임","조이스틱","조종대"],"version":0.7,"annotation":"조이스틱","shortcodes":["joystick"]},{"emoji":"🎰","group":6,"order":4120,"tags":["갬블","게임","도박","슬롯","슬롯 머신","카지노","파칭코"],"version":0.6,"annotation":"슬롯 머신","shortcodes":["slot_machine"]},{"emoji":"🎲","group":6,"order":4121,"tags":["게임","경기","경기에서 짐","엔터테인먼트","주사위"],"version":0.6,"annotation":"주사위","shortcodes":["game_die"]},{"emoji":"🧩","group":6,"order":4122,"tags":["조각","조각퍼즐","직소","직소퍼즐","퍼즐"],"version":11,"annotation":"퍼즐","shortcodes":["jigsaw","puzzle_piece"]},{"emoji":"🧸","group":6,"order":4123,"tags":["곰","곰인형","놀잇감","솜인형","장난감","테디"],"version":11,"annotation":"테디 베어","shortcodes":["teddy_bear"]},{"emoji":"🪅","group":6,"order":4124,"tags":["멕시코","사탕","신코 데 마요","씽꼬 데 마요","축하","캔디","파티","피냐타"],"version":13,"annotation":"피냐타","shortcodes":["pinata"]},{"emoji":"🪩","group":6,"order":4125,"tags":["댄스","디스코","미러볼","반짝반짝","볼","춤","파티"],"version":14,"annotation":"미러볼","shortcodes":["disco","disco_ball","mirror_ball"]},{"emoji":"🪆","group":6,"order":4126,"tags":["네스팅 인형","러시아","마트료시카","바부슈카","인형"],"version":13,"annotation":"네스팅 인형","shortcodes":["nesting_dolls"]},{"emoji":"♠️","group":6,"order":4128,"tags":["게임","스페이드","스페이드 모양","카드"],"version":0.6,"annotation":"스페이드","shortcodes":["spades"]},{"emoji":"♥️","group":6,"order":4130,"tags":["감정","게임","카드 게임","하트","하트 모양"],"version":0.6,"annotation":"하트","shortcodes":["hearts"]},{"emoji":"♦️","group":6,"order":4132,"tags":["게임","다이아몬드","다이아몬드 무늬","카드"],"version":0.6,"annotation":"다이아몬드","shortcodes":["diamonds"]},{"emoji":"♣️","group":6,"order":4134,"tags":["게임","카드 게임","클럽","클로바 무늬"],"version":0.6,"annotation":"클럽","shortcodes":["clubs"]},{"emoji":"♟️","group":6,"order":4136,"tags":["소모품","체스 말","체스 폰","폰"],"version":11,"annotation":"체스 폰","shortcodes":["chess_pawn"]},{"emoji":"🃏","group":6,"order":4137,"tags":["게임","와일드카드","조커","카드"],"version":0.6,"annotation":"조커","shortcodes":["black_joker"]},{"emoji":"🀄️","group":6,"order":4138,"tags":["게임","마작","마작 기호","마작 빨간 용","빨간색"],"version":0.6,"annotation":"마작","shortcodes":["mahjong"]},{"emoji":"🎴","group":6,"order":4139,"tags":["게임","고스톱","놀기","도박","일본","카드","화투","화투게임","화투패"],"version":0.6,"annotation":"화투","shortcodes":["flower_playing_cards"]},{"emoji":"🎭️","group":6,"order":4140,"tags":["가면","공연","극장","마스크","배우","셰익스피어","엔터테인먼트","여배우","영화관","예술"],"version":0.6,"annotation":"가면","shortcodes":["performing_arts"]},{"emoji":"🖼️","group":6,"order":4142,"tags":["그림","박물관","액자","액자에 걸린 사진","예술","작품"],"version":0.7,"annotation":"그림 액자","shortcodes":["frame_with_picture","framed_picture"]},{"emoji":"🎨","group":6,"order":4143,"tags":["그림","그림 그리기","다채로운","미술","박물관","엔터테인먼트","예술","예술가 팔레트","예술적인","팔레트","화가"],"version":0.6,"annotation":"팔레트","shortcodes":["art","palette"]},{"emoji":"🧵","group":6,"order":4144,"tags":["뜨개질","바느질","바늘","실","실타래"],"version":11,"annotation":"실타래","shortcodes":["thread"]},{"emoji":"🪡","group":6,"order":4145,"tags":["바느질","바늘","봉합","실","자수","재단","재봉 바늘"],"version":13,"annotation":"바늘","shortcodes":["sewing_needle"]},{"emoji":"🧶","group":6,"order":4146,"tags":["공","니트","뜨개질","실뭉치","코바늘"],"version":11,"annotation":"실뭉치","shortcodes":["yarn"]},{"emoji":"🪢","group":6,"order":4147,"tags":["꼬인","끈","노끈","매듭","밧줄","새끼","엉킨","코드"],"version":13,"annotation":"매듭","shortcodes":["knot"]},{"emoji":"👓️","group":7,"order":4148,"tags":["눈","안경","안경류","의류"],"version":0.6,"annotation":"안경","shortcodes":["eyeglasses","glasses"]},{"emoji":"🕶️","group":7,"order":4150,"tags":["눈","선글라스","안경","안경류","어두운"],"version":0.7,"annotation":"선글라스","shortcodes":["sunglasses"]},{"emoji":"🥽","group":7,"order":4151,"tags":["고글","다이빙","물안경","수영","수영 안경","안구 보호 장비","용접"],"version":11,"annotation":"고글","shortcodes":["goggles"]},{"emoji":"🥼","group":7,"order":4152,"tags":["과학자","실험실","실험실 가운","옷","의사","자켓","흰 가운"],"version":11,"annotation":"실험실 가운","shortcodes":["lab_coat"]},{"emoji":"🦺","group":7,"order":4153,"tags":["구명조끼","안전","안전조끼","응급","조끼"],"version":12,"annotation":"구명조끼","shortcodes":["safety_vest"]},{"emoji":"👔","group":7,"order":4154,"tags":["격식있는","넥타이","샐러리맨","셔츠","의류","직장인","타이"],"version":0.6,"annotation":"넥타이","shortcodes":["necktie"]},{"emoji":"👕","group":7,"order":4155,"tags":["쇼핑","옷","의류","주말","칼라","티","티셔츠","파란색"],"version":0.6,"annotation":"티셔츠","shortcodes":["shirt"]},{"emoji":"👖","group":7,"order":4156,"tags":["데님","면바지","바지","블루","쇼핑","의류","주말","진","차려입음","청바지","캐주얼"],"version":0.6,"annotation":"바지","shortcodes":["jeans"]},{"emoji":"🧣","group":7,"order":4157,"tags":["따뜻하게 두른","목도리","스카프","추위"],"version":5,"annotation":"스카프","shortcodes":["scarf"]},{"emoji":"🧤","group":7,"order":4158,"tags":["손","장갑"],"version":5,"annotation":"장갑","shortcodes":["gloves"]},{"emoji":"🧥","group":7,"order":4159,"tags":["따뜻하게 입은","재킷","코트"],"version":5,"annotation":"코트","shortcodes":["coat"]},{"emoji":"🧦","group":7,"order":4160,"tags":["스타킹","양말"],"version":5,"annotation":"양말","shortcodes":["socks"]},{"emoji":"👗","group":7,"order":4161,"tags":["드레스","쇼핑","옷","원피스","의류","차려입은","화려한"],"version":0.6,"annotation":"원피스","shortcodes":["dress"]},{"emoji":"👘","group":7,"order":4162,"tags":["기모노","의류","일본 기모노","편안"],"version":0.6,"annotation":"기모노","shortcodes":["kimono"]},{"emoji":"🥻","group":7,"order":4163,"tags":["드레스","사리","옷","의복"],"version":12,"annotation":"사리","shortcodes":["sari"]},{"emoji":"🩱","group":7,"order":4164,"tags":["수영복","원피스 수영복"],"version":12,"annotation":"원피스 수영복","shortcodes":["one_piece_swimsuit"]},{"emoji":"🩲","group":7,"order":4165,"tags":["삼각 수영복","수영복","언더웨어"],"version":12,"annotation":"삼각 수영복","shortcodes":["briefs"]},{"emoji":"🩳","group":7,"order":4166,"tags":["반바지","수영복"],"version":12,"annotation":"반바지","shortcodes":["shorts"]},{"emoji":"👙","group":7,"order":4167,"tags":["비키니","수영","수영복","수영장","의류","해변"],"version":0.6,"annotation":"비키니","shortcodes":["bikini"]},{"emoji":"👚","group":7,"order":4168,"tags":["블라우스","셔츠","쇼핑","숙녀","여성복","여자","옷","의류","칼라"],"version":0.6,"annotation":"여성복","shortcodes":["womans_clothes"]},{"emoji":"🪭","group":7,"order":4169,"tags":["더운","부끄러운","부채","시원한","접이식 손 부채","춤","펄럭 펄럭"],"version":15,"annotation":"접이식 손 부채","shortcodes":["folding_fan"]},{"emoji":"👛","group":7,"order":4170,"tags":["고급","동전","드레스","쇼핑","옷","의류","지갑","핸드백"],"version":0.6,"annotation":"지갑","shortcodes":["purse"]},{"emoji":"👜","group":7,"order":4171,"tags":["가방","드레스","백","쇼핑","여성","옷","의류","지갑","핸드백"],"version":0.6,"annotation":"핸드백","shortcodes":["handbag"]},{"emoji":"👝","group":7,"order":4172,"tags":["가방","드레스","옷","의류","클러치","클러치 백","파우치","핸드백"],"version":0.6,"annotation":"파우치","shortcodes":["clutch_bag","pouch"]},{"emoji":"🛍️","group":7,"order":4174,"tags":["가방","쇼핑","쇼핑가방","쇼핑백","호텔"],"version":0.7,"annotation":"쇼핑백","shortcodes":["shopping_bags"]},{"emoji":"🎒","group":7,"order":4175,"tags":["가방","배낭","책가방","학교 가방","학생 가방"],"version":0.6,"annotation":"학교 가방","shortcodes":["backpack","school_satchel"]},{"emoji":"🩴","group":7,"order":4176,"tags":["가락신","가죽 끈","비치 샌들","샌달","샌들","신발","조리","플립플랍","해변"],"version":13,"annotation":"가락신","shortcodes":["thong_sandal"]},{"emoji":"👞","group":7,"order":4177,"tags":["구두","남성용 구두","남성용 신발","남자","발","발차기","브라운","쇼핑","신발","옷","의류"],"version":0.6,"annotation":"남성용 구두","shortcodes":["mans_shoe"]},{"emoji":"👟","group":7,"order":4178,"tags":["달리기","러닝","러닝화","발차기","빠른","쇼핑","스니커즈","신발","운동화","육상","의류"],"version":0.6,"annotation":"운동화","shortcodes":["athletic_shoe","sneaker"]},{"emoji":"🥾","group":7,"order":4179,"tags":["등산","등산화","부츠","브라운 신발","캠핑","하이킹"],"version":11,"annotation":"등산화","shortcodes":["hiking_boot"]},{"emoji":"🥿","group":7,"order":4180,"tags":["단화","발레 슈즈","슬립온","편안한","플랫 슈즈"],"version":11,"annotation":"플랫 슈즈","shortcodes":["flat_shoe","womans_flat_shoe"]},{"emoji":"👠","group":7,"order":4181,"tags":["구두","드레스","쇼핑","스틸레토","신발","여성용 구두","여성용 신발","여자","의류","패션","하이힐"],"version":0.6,"annotation":"하이힐","shortcodes":["high_heel"]},{"emoji":"👡","group":7,"order":4182,"tags":["샌들","신발","여성용 샌들","여성용 신발","여자"],"version":0.6,"annotation":"샌들","shortcodes":["sandal"]},{"emoji":"🩰","group":7,"order":4183,"tags":["발레","발레 슈즈","춤"],"version":12,"annotation":"발레 슈즈","shortcodes":["ballet_shoes"]},{"emoji":"👢","group":7,"order":4184,"tags":["부츠","쇼핑","신발","여성용 부츠","여성용 신발","여자","의류"],"version":0.6,"annotation":"부츠","shortcodes":["boot"]},{"emoji":"🪮","group":7,"order":4185,"tags":["머리 빗","빗","아프로","헤어"],"version":15,"annotation":"머리 빗","shortcodes":["hair_pick"]},{"emoji":"👑","group":7,"order":4186,"tags":["승리","여왕","왕","왕관","왕족","의류"],"version":0.6,"annotation":"왕관","shortcodes":["crown"]},{"emoji":"👒","group":7,"order":4187,"tags":["가든 파티","모자","여성용 모자","여자","의류","챙 넓은 모자"],"version":0.6,"annotation":"여성용 모자","shortcodes":["womans_hat"]},{"emoji":"🎩","group":7,"order":4188,"tags":["격식차린","마술","마술사","마술사 모자","실크해트","의류","탑햇","화려한"],"version":0.6,"annotation":"마술사 모자","shortcodes":["top_hat","tophat"]},{"emoji":"🎓️","group":7,"order":4189,"tags":["교육","모자","의류","졸업","졸업생","졸업식","학자"],"version":0.6,"annotation":"졸업 모자","shortcodes":["graduation_cap","mortar_board"]},{"emoji":"🧢","group":7,"order":4190,"tags":["구부린 모자","아빠 모자","야구모자","캡"],"version":5,"annotation":"야구모자","shortcodes":["billed_cap"]},{"emoji":"🪖","group":7,"order":4191,"tags":["군대","군모","군용","군인","부대","전사","전쟁","헬멧"],"version":13,"annotation":"군용 헬멧","shortcodes":["military_helmet"]},{"emoji":"⛑️","group":7,"order":4193,"tags":["구급","구조대원 헬멧","도움","모자","십자가","안전요원","얼굴","헬멧","흰 십자가가 있는 헬멧"],"version":0.7,"annotation":"흰 십자가가 있는 헬멧","shortcodes":["helmet_with_cross","rescue_worker_helmet"]},{"emoji":"📿","group":7,"order":4194,"tags":["기도","묵주","묵주 목걸이","미사","예배","의류","종교"],"version":1,"annotation":"묵주","shortcodes":["prayer_beads"]},{"emoji":"💄","group":7,"order":4195,"tags":["데이트","립스틱","연애","코스메틱","화장","화장품"],"version":0.6,"annotation":"립스틱","shortcodes":["lipstick"]},{"emoji":"💍","group":7,"order":4196,"tags":["결혼","결혼식","눈이 부신","다이아몬드","로맨스","링","반지","빛나는","약혼"],"version":0.6,"annotation":"반지","shortcodes":["ring"]},{"emoji":"💎","group":7,"order":4197,"tags":["결혼식","다이아몬드","돈","로맨스","보석","약혼","원석"],"version":0.6,"annotation":"원석","shortcodes":["gem"]},{"emoji":"🔇","group":7,"order":4198,"tags":["무음","소리","소리 끄기","소리 없는","소리 없음","스피커","음소거","음소거된 스피커","조용한"],"version":1,"annotation":"무음","shortcodes":["mute","no_sound"]},{"emoji":"🔈️","group":7,"order":4199,"tags":["부드러운","소리","소리 있음","스피커","스피커 소리 낮게"],"version":0.7,"annotation":"스피커","shortcodes":["low_volume","quiet_sound","speaker"]},{"emoji":"🔉","group":7,"order":4200,"tags":["미디엄","소리","소리 작게","소리 작음","소리 줄이기","스피커 미디엄 소리","스피커 소리 작게"],"version":1,"annotation":"스피커 소리 작게","shortcodes":["medium_volumne","sound"]},{"emoji":"🔊","group":7,"order":4201,"tags":["높게","소리","소리 큼","소리 키우기","스피커 소리 크게","음악","크게"],"version":0.6,"annotation":"스피커 소리 크게","shortcodes":["high_volume","loud_sound"]},{"emoji":"📢","group":7,"order":4202,"tags":["메가폰","연설","커뮤니케이션","크게","확성기"],"version":0.6,"annotation":"확성기","shortcodes":["loudspeaker"]},{"emoji":"📣","group":7,"order":4203,"tags":["메가폰","소리","응원"],"version":0.6,"annotation":"메가폰","shortcodes":["mega","megaphone"]},{"emoji":"📯","group":7,"order":4204,"tags":["나팔","악기","우편","호른"],"version":1,"annotation":"호른","shortcodes":["postal_horn"]},{"emoji":"🔔","group":7,"order":4205,"tags":["교회","벨","소리","쉬는시간","종"],"version":0.6,"annotation":"종","shortcodes":["bell"]},{"emoji":"🔕","group":7,"order":4206,"tags":["금지","벨","소리","소리 없음","안됨","음소거","조용한"],"version":1,"annotation":"음소거","shortcodes":["no_bell"]},{"emoji":"🎼","group":7,"order":4207,"tags":["높은음자리","높은음자리표","악보","음악","음표"],"version":0.6,"annotation":"높은음자리표","shortcodes":["musical_score"]},{"emoji":"🎵","group":7,"order":4208,"tags":["소리","음악","음표"],"version":0.6,"annotation":"음표","shortcodes":["musical_note"]},{"emoji":"🎶","group":7,"order":4209,"tags":["노래 음표","소리","음악","음표"],"version":0.6,"annotation":"노래 음표","shortcodes":["musical_notes","notes"]},{"emoji":"🎙️","group":7,"order":4211,"tags":["마이크","마이크로폰","사회자 마이크","스튜디오","음악"],"version":0.7,"annotation":"스튜디오 마이크","shortcodes":["studio_microphone"]},{"emoji":"🎚️","group":7,"order":4213,"tags":["레벨","슬라이더","음악"],"version":0.7,"annotation":"레벨 슬라이더","shortcodes":["level_slider"]},{"emoji":"🎛️","group":7,"order":4215,"tags":["손잡이","음악","조작 레버","컨트롤","컨트롤 레버"],"version":0.7,"annotation":"컨트롤 레버","shortcodes":["control_knobs"]},{"emoji":"🎤","group":7,"order":4216,"tags":["가라오케","노래","노래방","마이크","소리","음악","행사"],"version":0.6,"annotation":"마이크","shortcodes":["microphone"]},{"emoji":"🎧️","group":7,"order":4217,"tags":["소리","음악 감상","이어버드","이어폰","헤드폰"],"version":0.6,"annotation":"헤드폰","shortcodes":["headphones"]},{"emoji":"📻️","group":7,"order":4218,"tags":["FM","라디오","비디오","엔터테인먼트","옛날 회상"],"version":0.6,"annotation":"라디오","shortcodes":["radio"]},{"emoji":"🎷","group":7,"order":4219,"tags":["색소폰","악기","연주","음악"],"version":0.6,"annotation":"색소폰","shortcodes":["saxophone"]},{"emoji":"🪗","group":7,"order":4220,"tags":["스퀴즈 박스","아코디언","악기","음악","콘서티나"],"version":13,"annotation":"아코디언","shortcodes":["accordion"]},{"emoji":"🎸","group":7,"order":4221,"tags":["기타","스트라토","스트라토캐스터","악기","연주","음악","통기타"],"version":0.6,"annotation":"기타","shortcodes":["guitar"]},{"emoji":"🎹","group":7,"order":4222,"tags":["건반","악기","연주","음악","피아노"],"version":0.6,"annotation":"피아노","shortcodes":["musical_keyboard"]},{"emoji":"🎺","group":7,"order":4223,"tags":["악기","연주","음악","트럼펫"],"version":0.6,"annotation":"트럼펫","shortcodes":["trumpet"]},{"emoji":"🎻","group":7,"order":4224,"tags":["바이올린","스트라디바리우스","악기","연주","음악"],"version":0.6,"annotation":"바이올린","shortcodes":["violin"]},{"emoji":"🪕","group":7,"order":4225,"tags":["밴조","음악","현악기"],"version":12,"annotation":"밴조","shortcodes":["banjo"]},{"emoji":"🥁","group":7,"order":4226,"tags":["드럼","북","북채","음악"],"version":3,"annotation":"드럼","shortcodes":["drum"]},{"emoji":"🪘","group":7,"order":4227,"tags":["긴 북","드럼","리듬","박자","북","악기","콩가"],"version":13,"annotation":"긴 북","shortcodes":["long_drum"]},{"emoji":"🪇","group":7,"order":4228,"tags":["달가닥 소리","댄스","떨림","마라카스","악기","음악","춤","타악기","파티"],"version":15,"annotation":"마라카스","shortcodes":["maracas"]},{"emoji":"🪈","group":7,"order":4229,"tags":["리코더","목관악기","밴드","악기","오케스트라","음악","파이프","플루트","플루티스트","피리","행진"],"version":15,"annotation":"플루트","shortcodes":["flute"]},{"emoji":"🪉","group":7,"order":4230,"tags":["관현악","사랑","악기","연주","음악","큐피드","하프"],"version":16,"annotation":"하프","shortcodes":["harp"]},{"emoji":"📱","group":7,"order":4231,"tags":["모바일폰","셀폰","전화","커뮤니케이션","휴대전화","휴대폰"],"version":0.6,"annotation":"휴대전화","shortcodes":["android","iphone","mobile_phone"]},{"emoji":"📲","group":7,"order":4232,"tags":["만들다","모바일","모바일폰","소통","수신","왼쪽에 화살표가 있는 휴대전화","주파수","통화","화살표","화살표가 있는 휴대전화","휴대전화","휴대폰"],"version":0.6,"annotation":"왼쪽에 화살표가 있는 휴대전화","shortcodes":["calling","mobile_phone_arrow"]},{"emoji":"☎️","group":7,"order":4234,"tags":["유선전화","전화","전화기"],"version":0.6,"annotation":"전화기","shortcodes":["telephone"]},{"emoji":"📞","group":7,"order":4235,"tags":["수화기","인터넷 전화","전화","전화기","커뮤니케이션"],"version":0.6,"annotation":"수화기","shortcodes":["telephone_receiver"]},{"emoji":"📟️","group":7,"order":4236,"tags":["삐삐","커뮤니케이션","호출기"],"version":0.6,"annotation":"삐삐","shortcodes":["pager"]},{"emoji":"📠","group":7,"order":4237,"tags":["커뮤니케이션","팩스","팩스기","팩시밀리"],"version":0.6,"annotation":"팩스","shortcodes":["fax","fax_machine"]},{"emoji":"🔋","group":7,"order":4238,"tags":["건전지","배터리","배터리 충전"],"version":0.6,"annotation":"배터리","shortcodes":["battery"]},{"emoji":"🪫","group":7,"order":4239,"tags":["방전","배터리","배터리 부족","배터리 없음","전기","전원 없음","파워 부족"],"version":14,"annotation":"배터리 부족","shortcodes":["low_battery"]},{"emoji":"🔌","group":7,"order":4240,"tags":["전기","플러그"],"version":0.6,"annotation":"전기 플러그","shortcodes":["electric_plug"]},{"emoji":"💻️","group":7,"order":4241,"tags":["PC","개인","노트북","랩탑","사무실","컴퓨터","피씨"],"version":0.6,"annotation":"노트북","shortcodes":["laptop"]},{"emoji":"🖥️","group":7,"order":4243,"tags":["데스크톱","모니터","컴퓨터"],"version":0.7,"annotation":"데스크톱 컴퓨터","shortcodes":["computer","desktop_computer"]},{"emoji":"🖨️","group":7,"order":4245,"tags":["인쇄기","컴퓨터","프린터"],"version":0.7,"annotation":"프린터","shortcodes":["printer"]},{"emoji":"⌨️","group":7,"order":4247,"tags":["컴퓨터","키보드"],"version":1,"annotation":"키보드","shortcodes":["keyboard"]},{"emoji":"🖱️","group":7,"order":4249,"tags":["마우스","컴퓨터"],"version":0.7,"annotation":"컴퓨터 마우스","shortcodes":["computer_mouse"]},{"emoji":"🖲️","group":7,"order":4251,"tags":["마우스","컴퓨터","트랙볼"],"version":0.7,"annotation":"트랙볼","shortcodes":["trackball"]},{"emoji":"💽","group":7,"order":4252,"tags":["MD","광학","디스크","미니 디스크","엠디","컴퓨터"],"version":0.6,"annotation":"엠디","shortcodes":["computer_disk","minidisc"]},{"emoji":"💾","group":7,"order":4253,"tags":["디스켓","디스크","컴퓨터","플로피 디스크"],"version":0.6,"annotation":"플로피 디스크","shortcodes":["floppy_disk"]},{"emoji":"💿️","group":7,"order":4254,"tags":["CD","DVD","광학","디비디","디스크","블루레이","시디","씨디"],"version":0.6,"annotation":"씨디","shortcodes":["cd","optical_disk"]},{"emoji":"📀","group":7,"order":4255,"tags":["DVD","광학","디비디","블루레이","시디","컴퓨터"],"version":0.6,"annotation":"디비디","shortcodes":["dvd"]},{"emoji":"🧮","group":7,"order":4256,"tags":["계산","암산","주판"],"version":11,"annotation":"주판","shortcodes":["abacus"]},{"emoji":"🎥","group":7,"order":4257,"tags":["발리우드","시네마","영화","촬영","카메라","할리우드"],"version":0.6,"annotation":"영화 카메라","shortcodes":["movie_camera"]},{"emoji":"🎞️","group":7,"order":4259,"tags":["시네마","영화","프레임","필름"],"version":0.7,"annotation":"영화 프레임","shortcodes":["film_frames"]},{"emoji":"📽️","group":7,"order":4261,"tags":["무비","비디오","시네마","영사기","영화","프로젝터"],"version":0.7,"annotation":"영화 프로젝터","shortcodes":["film_projector"]},{"emoji":"🎬️","group":7,"order":4262,"tags":["슬레이트","액션","영화","영화 촬영","클래퍼보드"],"version":0.6,"annotation":"슬레이트","shortcodes":["clapper"]},{"emoji":"📺️","group":7,"order":4263,"tags":["TV","비디오","텔레비전","티비"],"version":0.6,"annotation":"텔레비전","shortcodes":["tv"]},{"emoji":"📷️","group":7,"order":4264,"tags":["동영상","비디오","사진","사진 촬영","셀카","스냅","여행","지난 시절","카메라"],"version":0.6,"annotation":"카메라","shortcodes":["camera"]},{"emoji":"📸","group":7,"order":4265,"tags":["비디오","카메라","플래시","플래시 터트린 카메라","플래시를 터트리고 있는 카메라"],"version":1,"annotation":"플래시를 터트리고 있는 카메라","shortcodes":["camera_with_flash"]},{"emoji":"📹️","group":7,"order":4266,"tags":["동영상 촬영","비디오","지난 시절","카메라","캠코더"],"version":0.6,"annotation":"캠코더","shortcodes":["video_camera"]},{"emoji":"📼","group":7,"order":4267,"tags":["구식","비디오","비디오카세트","비디오테이프","테이프"],"version":0.6,"annotation":"비디오테이프","shortcodes":["vhs","videocassette"]},{"emoji":"🔍️","group":7,"order":4268,"tags":["검색","검색하기","과학","도구","연구실","왼쪽으로 향한 돋보기","유리"],"version":0.6,"annotation":"왼쪽으로 향한 돋보기","shortcodes":["mag"]},{"emoji":"🔎","group":7,"order":4269,"tags":["검색","검색하기","과학","도구","돋보기","오른쪽으로 향한 돋보기"],"version":0.6,"annotation":"오른쪽으로 향한 돋보기","shortcodes":["mag_right"]},{"emoji":"🕯️","group":7,"order":4271,"tags":["빛","양초","캔들"],"version":0.7,"annotation":"양초","shortcodes":["candle"]},{"emoji":"💡","group":7,"order":4272,"tags":["기발한 생각","빛","아이디어","아하","전구","전기"],"version":0.6,"annotation":"전구","shortcodes":["bulb","light_bulb"]},{"emoji":"🔦","group":7,"order":4273,"tags":["도구","빛","손전등","전기","전등","플래시라이트"],"version":0.6,"annotation":"손전등","shortcodes":["flashlight"]},{"emoji":"🏮","group":7,"order":4274,"tags":["등","레스토랑","바","빛","선술집","식당","이자카야","일본","일본식 등","일본식 선술집","홍등"],"version":0.6,"annotation":"일본식 등","shortcodes":["izakaya_lantern","red_paper_lantern"]},{"emoji":"🪔","group":7,"order":4275,"tags":["기름","디야","램프"],"version":12,"annotation":"기름 램프","shortcodes":["diya_lamp"]},{"emoji":"📔","group":7,"order":4276,"tags":["공책","노트","표지","표지가 있는 노트","필기","학교"],"version":0.6,"annotation":"표지가 있는 노트","shortcodes":["notebook_with_decorative_cover"]},{"emoji":"📕","group":7,"order":4277,"tags":["교육","도서","책","펼치지 않은 책"],"version":0.6,"annotation":"펼치지 않은 책","shortcodes":["closed_book"]},{"emoji":"📖","group":7,"order":4278,"tags":["교육","도서관","독서","소설","지식","책","판타지","펼쳐진 책","펼침"],"version":0.6,"annotation":"펼쳐진 책","shortcodes":["book","open_book"]},{"emoji":"📗","group":7,"order":4279,"tags":["교육","녹색 책","도서관","독서","책","초록색 책","판타지"],"version":0.6,"annotation":"초록색 책","shortcodes":["green_book"]},{"emoji":"📘","group":7,"order":4280,"tags":["교육","도서관","책","파란 책","파란색","판타지"],"version":0.6,"annotation":"파란색 책","shortcodes":["blue_book"]},{"emoji":"📙","group":7,"order":4281,"tags":["교육","도서관","독서","오렌지","오렌지색 책","주황색 책","책","판타지"],"version":0.6,"annotation":"주황색 책","shortcodes":["orange_book"]},{"emoji":"📚️","group":7,"order":4282,"tags":["공부","교육","도서관","독서","소설","지식","책","책 여러 권","판타지","학교"],"version":0.6,"annotation":"책 여러 권","shortcodes":["books"]},{"emoji":"📓","group":7,"order":4283,"tags":["공책","노트"],"version":0.6,"annotation":"공책","shortcodes":["notebook"]},{"emoji":"📒","group":7,"order":4284,"tags":["공책","노트","원장","장부"],"version":0.6,"annotation":"노트","shortcodes":["ledger"]},{"emoji":"📃","group":7,"order":4285,"tags":["말린","문서","안으로 말린 문서","페이지"],"version":0.6,"annotation":"안으로 말린 문서","shortcodes":["page_with_curl"]},{"emoji":"📜","group":7,"order":4286,"tags":["두루마리","문서","스크롤"],"version":0.6,"annotation":"문서","shortcodes":["scroll"]},{"emoji":"📄","group":7,"order":4287,"tags":["문서","오른쪽 모서리가 접힌 문서","페이지"],"version":0.6,"annotation":"오른쪽 모서리가 접힌 문서","shortcodes":["page_facing_up"]},{"emoji":"📰","group":7,"order":4288,"tags":["뉴스","소식","소식지","소통","신문","정보"],"version":0.6,"annotation":"신문","shortcodes":["newspaper"]},{"emoji":"🗞️","group":7,"order":4290,"tags":["뉴스","돌돌 말린 신문","말린","신문","신문 뭉치"],"version":0.7,"annotation":"돌돌 말린 신문","shortcodes":["rolled_up_newspaper"]},{"emoji":"📑","group":7,"order":4291,"tags":["마커","북마크","탭","포스트잇","표시"],"version":0.6,"annotation":"북마크 탭","shortcodes":["bookmark_tabs"]},{"emoji":"🔖","group":7,"order":4292,"tags":["마크","북마크","책갈피","표시"],"version":0.6,"annotation":"북마크","shortcodes":["bookmark"]},{"emoji":"🏷️","group":7,"order":4294,"tags":["라벨","택"],"version":0.7,"annotation":"라벨","shortcodes":["label"]},{"emoji":"💰️","group":7,"order":4295,"tags":["10억","가방","내기","달러","돈가방","돈주머니","부자","승리","은행","주머니","지불","현금"],"version":0.6,"annotation":"돈주머니","shortcodes":["moneybag"]},{"emoji":"🪙","group":7,"order":4296,"tags":["골드","금","금속","달러","돈","동전","보물","부자","유로","은","코인"],"version":13,"annotation":"동전","shortcodes":["coin"]},{"emoji":"💴","group":7,"order":4297,"tags":["돈","엔","엔화","일본 돈","일본 화폐","지폐","화폐"],"version":0.6,"annotation":"엔","shortcodes":["yen"]},{"emoji":"💵","group":7,"order":4298,"tags":["달러","달러화","돈","미국 돈","미국 화폐","은행","지폐","화폐"],"version":0.6,"annotation":"달러","shortcodes":["dollar"]},{"emoji":"💶","group":7,"order":4299,"tags":["100","부자","유럽 돈","유럽 화폐","유로","유로화","은행","지폐","화폐"],"version":1,"annotation":"유로","shortcodes":["euro"]},{"emoji":"💷","group":7,"order":4300,"tags":["10억","돈","영국 돈","영국 화폐","은행","지폐","파운드","파운드화","현금","화폐"],"version":1,"annotation":"파운드","shortcodes":["pound"]},{"emoji":"💸","group":7,"order":4301,"tags":["날개","날개 달린 돈","날아가는 돈","달러","돈","돈 날림","백만","손해","은행","지폐","페이","현금"],"version":0.6,"annotation":"날개 달린 돈","shortcodes":["money_with_wings"]},{"emoji":"💳️","group":7,"order":4302,"tags":["돈","신용카드","은행","지불","카드","페이","현금"],"version":0.6,"annotation":"신용카드","shortcodes":["credit_card"]},{"emoji":"🧾","group":7,"order":4303,"tags":["기록","영수증","증빙","청구","회계"],"version":11,"annotation":"영수증","shortcodes":["receipt"]},{"emoji":"💹","group":7,"order":4304,"tags":["그래프","성장","시장","엔화 관련 상승하는 그래프","은행","인상","차트","추세","트렌드","호황","화폐"],"version":0.6,"annotation":"엔화 관련 상승하는 그래프","shortcodes":["chart"]},{"emoji":"✉️","group":7,"order":4306,"tags":["봉투","이메일","편지"],"version":0.6,"annotation":"봉투","shortcodes":["envelope"]},{"emoji":"📧","group":7,"order":4307,"tags":["우편","이메일","편지"],"version":0.6,"annotation":"이메일","shortcodes":["e-mail","email"]},{"emoji":"📨","group":7,"order":4308,"tags":["받은","봉투","수신된 이메일","수신된 편지","이메일","편지"],"version":0.6,"annotation":"받은 편지","shortcodes":["incoming_envelope"]},{"emoji":"📩","group":7,"order":4309,"tags":["발송","보낸 이메일","보낸 편지","보냄","봉투","이메일","전송된 이메일","전송된 편지","커뮤니케이션","편지","화살표","화살표가 있는 편지 봉투"],"version":0.6,"annotation":"보낸 편지","shortcodes":["envelope_with_arrow"]},{"emoji":"📤️","group":7,"order":4310,"tags":["메일 전송","보낸 편지함","보낸편지함","이메일","편지","편지 보내기","편지함"],"version":0.6,"annotation":"보낸 편지함","shortcodes":["outbox_tray"]},{"emoji":"📥️","group":7,"order":4311,"tags":["메일 수신","받은 편지함","받은편지함","수신","이메일","텅 빈 받은 편지함","편지","편지 받기"],"version":0.6,"annotation":"받은 편지함","shortcodes":["inbox_tray"]},{"emoji":"📦️","group":7,"order":4312,"tags":["꾸러미","배송","소포","소포 박스","소포 상자","커뮤니케이션","택배"],"version":0.6,"annotation":"소포","shortcodes":["package"]},{"emoji":"📫️","group":7,"order":4313,"tags":["깃발이 올려진 닫힌 우편함","닫힌","소통","우편함","편지","편지함","표지가 올라간 닫힌 우편함"],"version":0.6,"annotation":"표지가 올라간 닫힌 우편함","shortcodes":["mailbox"]},{"emoji":"📪️","group":7,"order":4314,"tags":["깃발이 내려진 닫힌 우편함","내려간","우체통","우편함","편지","표지가 내려간 닫힌 우편함"],"version":0.6,"annotation":"표지가 내려간 닫힌 우편함","shortcodes":["mailbox_closed"]},{"emoji":"📬️","group":7,"order":4315,"tags":["깃발이 올려진 열린 우편함","열린","우편함","편지","편지함","표지가 올라간 열린 우편함"],"version":0.7,"annotation":"표지가 올라간 열린 우편함","shortcodes":["mailbox_with_mail"]},{"emoji":"📭️","group":7,"order":4316,"tags":["깃발이 내려진 열린 우편함","내려진","열린","우편함","편지","편지함","표지가 내려간 열린 우편함"],"version":0.7,"annotation":"표지가 내려간 열린 우편함","shortcodes":["mailbox_with_no_mail"]},{"emoji":"📮","group":7,"order":4317,"tags":["우체국","우체통","우편함","편지"],"version":0.6,"annotation":"우편함","shortcodes":["postbox"]},{"emoji":"🗳️","group":7,"order":4319,"tags":["상자","투표","투표 용지가 있는 투표 상자","투표상자"],"version":0.7,"annotation":"투표 용지가 있는 투표 상자","shortcodes":["ballot_box"]},{"emoji":"✏️","group":7,"order":4321,"tags":["연필","필기도구"],"version":0.6,"annotation":"연필","shortcodes":["pencil"]},{"emoji":"✒️","group":7,"order":4323,"tags":["검은색 펜촉","펜","펜촉"],"version":0.6,"annotation":"검은색 펜촉","shortcodes":["black_nib"]},{"emoji":"🖋️","group":7,"order":4325,"tags":["만년필","펜","펜촉","필기도구"],"version":0.7,"annotation":"만년필","shortcodes":["fountain_pen"]},{"emoji":"🖊️","group":7,"order":4327,"tags":["볼펜","펜"],"version":0.7,"annotation":"펜","shortcodes":["pen"]},{"emoji":"🖌️","group":7,"order":4329,"tags":["붓","페인트 브러쉬","페인트붓","페인팅"],"version":0.7,"annotation":"붓","shortcodes":["paintbrush"]},{"emoji":"🖍️","group":7,"order":4331,"tags":["크레용","크레파스"],"version":0.7,"annotation":"크레용","shortcodes":["crayon"]},{"emoji":"📝","group":7,"order":4332,"tags":["노트","메모","메모장","메모지","미디어","소통","연필"],"version":0.6,"annotation":"메모","shortcodes":["memo"]},{"emoji":"💼","group":7,"order":4333,"tags":["가방","사무실","서류 가방"],"version":0.6,"annotation":"서류 가방","shortcodes":["briefcase"]},{"emoji":"📁","group":7,"order":4334,"tags":["파일","폴더"],"version":0.6,"annotation":"폴더","shortcodes":["file_folder"]},{"emoji":"📂","group":7,"order":4335,"tags":["열기","열린 파일 폴더","열린 폴더","파일","폴더"],"version":0.6,"annotation":"폴더 열기","shortcodes":["open_file_folder"]},{"emoji":"🗂️","group":7,"order":4337,"tags":["분류","색인","인덱스","카드","파일","폴더"],"version":0.7,"annotation":"카드 색인 파일","shortcodes":["card_index_dividers"]},{"emoji":"📅","group":7,"order":4338,"tags":["날짜","달력","일정","캘린더"],"version":0.6,"annotation":"달력","shortcodes":["date"]},{"emoji":"📆","group":7,"order":4339,"tags":["달력","뜯어진 달력","일정","캘린더","한 장씩 뜯어내는 달력"],"version":0.6,"annotation":"뜯어진 달력","shortcodes":["calendar"]},{"emoji":"🗒️","group":7,"order":4341,"tags":["노트","수첩","스프링 노트","패드"],"version":0.7,"annotation":"스프링 노트","shortcodes":["notepad_spiral"]},{"emoji":"🗓️","group":7,"order":4343,"tags":["달력","벽걸이 달력","스프링 달력","캘린더","패드"],"version":0.7,"annotation":"스프링 달력","shortcodes":["calendar_spiral"]},{"emoji":"📇","group":7,"order":4344,"tags":["명함","색인","옛날 방식","인덱스","카드"],"version":0.6,"annotation":"카드 인덱스","shortcodes":["card_index"]},{"emoji":"📈","group":7,"order":4345,"tags":["그래프","데이터","상승 그래프","상승하는 그래프","상향","성장","오른쪽으로 상승","추세","트렌드","호황"],"version":0.6,"annotation":"상승하는 그래프","shortcodes":["chart_increasing","chart_with_upwards_trend"]},{"emoji":"📉","group":7,"order":4346,"tags":["그래프","내려가는","데이터","불황","아래","차트","추세","트렌드","하향"],"version":0.6,"annotation":"내려가는 그래프","shortcodes":["chart_decreasing","chart_with_downwards_trend"]},{"emoji":"📊","group":7,"order":4347,"tags":["그래프","데이터","막대","막대그래프","차트"],"version":0.6,"annotation":"막대 그래프","shortcodes":["bar_chart"]},{"emoji":"📋️","group":7,"order":4348,"tags":["노트","클리핑","클립","클립보드","할일"],"version":0.6,"annotation":"클립보드","shortcodes":["clipboard"]},{"emoji":"📌","group":7,"order":4349,"tags":["압정","콜라주","핀"],"version":0.6,"annotation":"압정","shortcodes":["pushpin"]},{"emoji":"📍","group":7,"order":4350,"tags":["둥근 머리 압정","둥근 머리 핀","압정","지도","핀"],"version":0.6,"annotation":"둥근 머리 핀","shortcodes":["round_pushpin"]},{"emoji":"📎","group":7,"order":4351,"tags":["종이 클립","클립"],"version":0.6,"annotation":"클립","shortcodes":["paperclip"]},{"emoji":"🖇️","group":7,"order":4353,"tags":["연결된","이어져 있는 클립","클립","페이퍼 클립"],"version":0.7,"annotation":"이어져 있는 클립","shortcodes":["paperclips"]},{"emoji":"📏","group":7,"order":4354,"tags":["수학","자","직각","직선자"],"version":0.6,"annotation":"자","shortcodes":["straight_ruler"]},{"emoji":"📐","group":7,"order":4355,"tags":["각","삼각자","삼각형","수학","자"],"version":0.6,"annotation":"삼각자","shortcodes":["triangular_ruler"]},{"emoji":"✂️","group":7,"order":4357,"tags":["가위","기구","도구","자르기","종이"],"version":0.6,"annotation":"가위","shortcodes":["scissors"]},{"emoji":"🗃️","group":7,"order":4359,"tags":["상자","카드","파일"],"version":0.7,"annotation":"카드 파일 상자","shortcodes":["card_file_box"]},{"emoji":"🗄️","group":7,"order":4361,"tags":["캐비닛","파일","파일 보관 서랍장","파일철"],"version":0.7,"annotation":"파일 보관 서랍장","shortcodes":["file_cabinet"]},{"emoji":"🗑️","group":7,"order":4363,"tags":["쓰레기통","휴지통"],"version":0.7,"annotation":"쓰레기통","shortcodes":["trashcan","wastebasket"]},{"emoji":"🔒️","group":7,"order":4364,"tags":["락","사적인","자물쇠","잠금"],"version":0.6,"annotation":"자물쇠","shortcodes":["lock","locked"]},{"emoji":"🔓️","group":7,"order":4365,"tags":["락","열린 자물쇠","자물쇠","잠금풀림","잠금해제"],"version":0.6,"annotation":"열린 자물쇠","shortcodes":["unlock","unlocked"]},{"emoji":"🔏","group":7,"order":4366,"tags":["사생활","잉크","자물쇠","자물쇠와 펜","펜","펜촉","프라이버시"],"version":0.6,"annotation":"자물쇠와 펜","shortcodes":["lock_with_ink_pen","locked_with_pen"]},{"emoji":"🔐","group":7,"order":4367,"tags":["보안","안전","열쇠","자물쇠","자물쇠와 열쇠","자전거 자물쇠","잠금"],"version":0.6,"annotation":"자물쇠와 열쇠","shortcodes":["closed_lock_with_key","locked_with_key"]},{"emoji":"🔑","group":7,"order":4368,"tags":["열쇠","잠금해제","중요 열쇠","패스워드"],"version":0.6,"annotation":"열쇠","shortcodes":["key"]},{"emoji":"🗝️","group":7,"order":4370,"tags":["단서","보물 열쇠","열쇠","오래된 열쇠","자물쇠"],"version":0.7,"annotation":"오래된 열쇠","shortcodes":["old_key"]},{"emoji":"🔨","group":7,"order":4371,"tags":["도구","망치","주택 개조","주택 수리","해머"],"version":0.6,"annotation":"망치","shortcodes":["hammer"]},{"emoji":"🪓","group":7,"order":4372,"tags":["나무","도끼","손도끼","쪼개기"],"version":12,"annotation":"도끼","shortcodes":["axe"]},{"emoji":"⛏️","group":7,"order":4374,"tags":["곡괭이","광산","망치","장비"],"version":0.7,"annotation":"곡괭이","shortcodes":["pick"]},{"emoji":"⚒️","group":7,"order":4376,"tags":["곡괭이","망치","망치와 곡괭이","장비"],"version":1,"annotation":"망치와 곡괭이","shortcodes":["hammer_and_pick"]},{"emoji":"🛠️","group":7,"order":4378,"tags":["도구","렌치","망치","망치와 렌치","스패너","장비"],"version":0.7,"annotation":"망치와 렌치","shortcodes":["hammer_and_wrench"]},{"emoji":"🗡️","group":7,"order":4380,"tags":["단검","단도","대거","무기","칼"],"version":0.7,"annotation":"단검","shortcodes":["dagger"]},{"emoji":"⚔️","group":7,"order":4382,"tags":["검","교차된 검 두개","무기","쌍검"],"version":1,"annotation":"쌍검","shortcodes":["crossed_swords"]},{"emoji":"💣️","group":7,"order":4383,"tags":["뜨거운","만화","위험한","코믹","폭발","폭탄"],"version":0.6,"annotation":"폭탄","shortcodes":["bomb"]},{"emoji":"🪃","group":7,"order":4384,"tags":["무기","반동","부메랑","영향"],"version":13,"annotation":"부메랑","shortcodes":["boomerang"]},{"emoji":"🏹","group":7,"order":4385,"tags":["궁수","무기","별자리","사수자리","장비","화살","활","활과 화살"],"version":1,"annotation":"활과 화살","shortcodes":["bow_and_arrow"]},{"emoji":"🛡️","group":7,"order":4387,"tags":["무기","방패","보호"],"version":0.7,"annotation":"방패","shortcodes":["shield"]},{"emoji":"🪚","group":7,"order":4388,"tags":["도구","목공 톱","목수","목재","자르기","장비","톱","톱질","트림"],"version":13,"annotation":"목공 톱","shortcodes":["carpentry_saw"]},{"emoji":"🔧","group":7,"order":4389,"tags":["도구","렌치","스패너","주택 수리"],"version":0.6,"annotation":"렌치","shortcodes":["wrench"]},{"emoji":"🪛","group":7,"order":4390,"tags":["나사","도구","드라이버","일자","장비","편리한"],"version":13,"annotation":"드라이버","shortcodes":["screwdriver"]},{"emoji":"🔩","group":7,"order":4391,"tags":["나사","너트","도구","볼트","볼트와 너트","주택 개조","주택 수리"],"version":0.6,"annotation":"볼트와 너트","shortcodes":["nut_and_bolt"]},{"emoji":"⚙️","group":7,"order":4393,"tags":["기어","도구","톱니바퀴"],"version":1,"annotation":"톱니바퀴","shortcodes":["gear"]},{"emoji":"🗜️","group":7,"order":4395,"tags":["바이스","압축기","연장","콤프레셔","클램프"],"version":0.7,"annotation":"압축기","shortcodes":["clamp","compression"]},{"emoji":"⚖️","group":7,"order":4397,"tags":["공평한","균형","별자리","저울","접시저울","정의","천칭자리"],"version":1,"annotation":"접시저울","shortcodes":["scales"]},{"emoji":"🦯","group":7,"order":4398,"tags":["시각장애","시각장애인 지팡이","접근성","지팡이"],"version":12,"annotation":"시각장애인 지팡이","shortcodes":["probing_cane","white_cane"]},{"emoji":"🔗","group":7,"order":4399,"tags":["링크","링크 표시","이음"],"version":0.6,"annotation":"링크","shortcodes":["link"]},{"emoji":"⛓️‍💥","group":7,"order":4400,"tags":["끊어진","끊어진 쇠사슬","부서진","사슬","수갑","자유","족쇄"],"version":15.1,"annotation":"끊어진 쇠사슬","shortcodes":["broken_chain"]},{"emoji":"⛓️","group":7,"order":4403,"tags":["사슬","쇠사슬","체인"],"version":0.7,"annotation":"쇠사슬","shortcodes":["chains"]},{"emoji":"🪝","group":7,"order":4404,"tags":["갈고리","걸리게 하다","고리","곡선","팔리는","후크","훅"],"version":13,"annotation":"갈고리","shortcodes":["hook"]},{"emoji":"🧰","group":7,"order":4405,"tags":["공구","공구통","공구함","정비공"],"version":11,"annotation":"공구통","shortcodes":["toolbox"]},{"emoji":"🧲","group":7,"order":4406,"tags":["u자","마그넷","말굽 자석","양극 음극","자력","자석","편자"],"version":11,"annotation":"자석","shortcodes":["magnet"]},{"emoji":"🪜","group":7,"order":4407,"tags":["계단","단계","발판 사다리","사다리","상승","오르다"],"version":13,"annotation":"사다리","shortcodes":["ladder"]},{"emoji":"🪏","group":7,"order":4408,"tags":["구멍","눈","뜨다","묻다","삽","심다","정원","파다"],"version":16,"annotation":"삽","shortcodes":["shovel"]},{"emoji":"⚗️","group":7,"order":4410,"tags":["도구","정류","정화","증류","증류기","화학"],"version":1,"annotation":"증류기","shortcodes":["alembic"]},{"emoji":"🧪","group":7,"order":4411,"tags":["과학","시험관","실험","연구실","화학","화학자"],"version":11,"annotation":"시험관","shortcodes":["test_tube"]},{"emoji":"🧫","group":7,"order":4412,"tags":["미생물","박테리아","생물학","생물학자","실험실","페트리 접시"],"version":11,"annotation":"페트리 접시","shortcodes":["petri_dish"]},{"emoji":"🧬","group":7,"order":4413,"tags":["DNA","생물","생물학","생물학자","유전","유전학","진화"],"version":11,"annotation":"DNA","shortcodes":["dna","double_helix"]},{"emoji":"🔬","group":7,"order":4414,"tags":["과학","기구","도구","실험","연구실","장치","현미경"],"version":1,"annotation":"현미경","shortcodes":["microscope"]},{"emoji":"🔭","group":7,"order":4415,"tags":["과학","도구","망원경","발견","외계인","장비"],"version":1,"annotation":"망원경","shortcodes":["telescope"]},{"emoji":"📡","group":7,"order":4416,"tags":["과학","발견","안테나","외계인","위성","위성 방송","접시"],"version":0.6,"annotation":"위성 안테나","shortcodes":["satellite_antenna"]},{"emoji":"💉","group":7,"order":4417,"tags":["도구","독감 주사","백신","병원","아픔","의사","의학","주사 바늘","주사기","치료"],"version":0.6,"annotation":"주사기","shortcodes":["syringe"]},{"emoji":"🩸","group":7,"order":4418,"tags":["생리","의학","핏방울","헌혈"],"version":12,"annotation":"핏방울","shortcodes":["drop_of_blood"]},{"emoji":"💊","group":7,"order":4419,"tags":["비타민","아픔","알약","약","약물","의사","의학"],"version":0.6,"annotation":"알약","shortcodes":["pill"]},{"emoji":"🩹","group":7,"order":4420,"tags":["반창고","밴드"],"version":12,"annotation":"반창고","shortcodes":["adhesive_bandage","bandaid"]},{"emoji":"🩼","group":7,"order":4421,"tags":["다치다","다친","다침","도움","막대","목발","보조","이동 보조","장애","지팡이","헬프"],"version":14,"annotation":"목발","shortcodes":["crutch"]},{"emoji":"🩺","group":7,"order":4422,"tags":["심박수","심장","의사","의학","청진기"],"version":12,"annotation":"청진기","shortcodes":["stethoscope"]},{"emoji":"🩻","group":7,"order":4423,"tags":["뼈","스컬","스켈레톤","엑스레이","의료","의사","해골"],"version":14,"annotation":"엑스레이","shortcodes":["x-ray","xray"]},{"emoji":"🚪","group":7,"order":4424,"tags":["도어","뒷문","문","앞문","웃장"],"version":0.6,"annotation":"문","shortcodes":["door"]},{"emoji":"🛗","group":7,"order":4425,"tags":["승강 장치","승강기","엘리베이터","접근성"],"version":13,"annotation":"엘리베이터","shortcodes":["elevator"]},{"emoji":"🪞","group":7,"order":4426,"tags":["거울","메이크업","반사","반사경","반사체","화장"],"version":13,"annotation":"거울","shortcodes":["mirror"]},{"emoji":"🪟","group":7,"order":4427,"tags":["맑은 공기","윈도우","전망","창","창문","창틀","투명한"],"version":13,"annotation":"창문","shortcodes":["window"]},{"emoji":"🛏️","group":7,"order":4429,"tags":["잠","침대","호텔"],"version":0.7,"annotation":"침대","shortcodes":["bed"]},{"emoji":"🛋️","group":7,"order":4431,"tags":["램프","소파","소파와 등","소파와 전등","전등","카우치","호텔"],"version":0.7,"annotation":"소파와 전등","shortcodes":["couch_and_lamp"]},{"emoji":"🪑","group":7,"order":4432,"tags":["앉기","의자","좌석"],"version":12,"annotation":"의자","shortcodes":["chair"]},{"emoji":"🚽","group":7,"order":4433,"tags":["변기","화장실"],"version":0.6,"annotation":"변기","shortcodes":["toilet"]},{"emoji":"🪠","group":7,"order":4434,"tags":["똥","뚫어뻥","배관공","변기","빨아들이기","화장실","흡입"],"version":13,"annotation":"뚫어뻥","shortcodes":["plunger"]},{"emoji":"🚿","group":7,"order":4435,"tags":["물","샤워"],"version":1,"annotation":"샤워","shortcodes":["shower"]},{"emoji":"🛁","group":7,"order":4436,"tags":["목욕","샤워","욕조"],"version":1,"annotation":"욕조","shortcodes":["bathtub"]},{"emoji":"🪤","group":7,"order":4437,"tags":["덫","루어","미끼","쥐덫","치즈","함정"],"version":13,"annotation":"쥐덫","shortcodes":["mouse_trap"]},{"emoji":"🪒","group":7,"order":4438,"tags":["날카로운","면도","면도기","면도칼"],"version":12,"annotation":"면도칼","shortcodes":["razor"]},{"emoji":"🧴","group":7,"order":4439,"tags":["로션","로션통","모이스처라이저","샴푸","선크림"],"version":11,"annotation":"로션","shortcodes":["lotion_bottle"]},{"emoji":"🧷","group":7,"order":4440,"tags":["고정용 핀","옷핀"],"version":11,"annotation":"옷핀","shortcodes":["safety_pin"]},{"emoji":"🧹","group":7,"order":4441,"tags":["마녀","비질","빗자루","청소"],"version":11,"annotation":"빗자루","shortcodes":["broom"]},{"emoji":"🧺","group":7,"order":4442,"tags":["바구니","빨래바구니","소풍"],"version":11,"annotation":"바구니","shortcodes":["basket"]},{"emoji":"🧻","group":7,"order":4443,"tags":["두루마리","종이 수건","종이 타월","페이퍼 타월","화장지","휴지"],"version":11,"annotation":"두루마리","shortcodes":["roll_of_paper","toilet_paper"]},{"emoji":"🪣","group":7,"order":4444,"tags":["들통","버킷","양동이","통"],"version":13,"annotation":"양동이","shortcodes":["bucket"]},{"emoji":"🧼","group":7,"order":4445,"tags":["목욕","비누","비누 거품","비누 그릇","비누통","클렌징"],"version":11,"annotation":"비누","shortcodes":["soap"]},{"emoji":"🫧","group":7,"order":4446,"tags":["거품","물 속","물에 둥둥","버블","비누","진주","청소","트림"],"version":14,"annotation":"거품","shortcodes":["bubbles"]},{"emoji":"🪥","group":7,"order":4447,"tags":["깨끗한","브러시","솔","욕실","위생","이","칫솔"],"version":13,"annotation":"칫솔","shortcodes":["toothbrush"]},{"emoji":"🧽","group":7,"order":4448,"tags":["구멍이 뽕뽕","스펀지","청소","흡수"],"version":11,"annotation":"스펀지","shortcodes":["sponge"]},{"emoji":"🧯","group":7,"order":4449,"tags":["소화","소화기","진화","화재"],"version":11,"annotation":"소화기","shortcodes":["fire_extinguisher"]},{"emoji":"🛒","group":7,"order":4450,"tags":["쇼핑","쇼핑카트","장보기","카트"],"version":3,"annotation":"쇼핑카트","shortcodes":["shopping_cart"]},{"emoji":"🚬","group":7,"order":4451,"tags":["담배","흡연","흡연 구역 신호"],"version":0.6,"annotation":"흡연 구역 신호","shortcodes":["cigarette","smoking"]},{"emoji":"⚰️","group":7,"order":4453,"tags":["관","뱀파이어","장례식","죽은","죽음","흡혈귀"],"version":1,"annotation":"관","shortcodes":["coffin"]},{"emoji":"🪦","group":7,"order":4454,"tags":["기일","묘비","묘석","묘지","무덤","비석","삼가 고인의 명복을 빕니다","죽음"],"version":13,"annotation":"묘비","shortcodes":["headstone"]},{"emoji":"⚱️","group":7,"order":4456,"tags":["납골 단지","단지","유골함","장례식","재","죽음"],"version":1,"annotation":"납골 단지","shortcodes":["funeral_urn"]},{"emoji":"🧿","group":7,"order":4457,"tags":["구슬","나자르","부적","악마의 눈","탈리스만","파란색"],"version":11,"annotation":"악마의 눈","shortcodes":["nazar_amulet"]},{"emoji":"🪬","group":7,"order":4458,"tags":["가이드","마리아","미리암","보호","부적","손","손바닥","안내","운","파티마","함사","핸드"],"version":14,"annotation":"함사","shortcodes":["hamsa"]},{"emoji":"🗿","group":7,"order":4459,"tags":["동상","리톱스","모아이","모아이상","석상","여행"],"version":0.6,"annotation":"모아이","shortcodes":["moai","moyai"]},{"emoji":"🪧","group":7,"order":4460,"tags":["데모","사인","시위","알림판","카드","표지판","플래카드","피켓"],"version":13,"annotation":"플래카드","shortcodes":["placard"]},{"emoji":"🪪","group":7,"order":4461,"tags":["ID","라이센스","문서","보안","신분증","신원","아이디","자격증","허가증"],"version":14,"annotation":"신분증","shortcodes":["id_card"]},{"emoji":"🏧","group":8,"order":4462,"tags":["ATM","에이티엠","은행","자동화","현금","현금인출기"],"version":0.6,"annotation":"ATM","shortcodes":["atm"]},{"emoji":"🚮","group":8,"order":4463,"tags":["쓰레기","쓰레기는 쓰레기통에","쓰레기는 쓰레기통에 표시","쓰레기통"],"version":1,"annotation":"쓰레기는 쓰레기통에","shortcodes":["litter_bin","put_litter_in_its_place"]},{"emoji":"🚰","group":8,"order":4464,"tags":["물","식수대","음료","음수대"],"version":1,"annotation":"음수대","shortcodes":["potable_water"]},{"emoji":"♿️","group":8,"order":4465,"tags":["장애","장애인","접근","휠체어","휠체어 표시"],"version":0.6,"annotation":"휠체어","shortcodes":["handicapped","wheelchair"]},{"emoji":"🚹️","group":8,"order":4466,"tags":["남성","남성용","남자 화장실","남자용"],"version":0.6,"annotation":"남자 화장실","shortcodes":["mens"]},{"emoji":"🚺️","group":8,"order":4467,"tags":["여성","여성용","여자 화장실","여자용"],"version":0.6,"annotation":"여자 화장실","shortcodes":["womens"]},{"emoji":"🚻","group":8,"order":4468,"tags":["공중화장실","화장실"],"version":0.6,"annotation":"화장실","shortcodes":["bathroom","restroom"]},{"emoji":"🚼️","group":8,"order":4469,"tags":["기저귀","수유실","아기","아기 표시"],"version":0.6,"annotation":"수유실","shortcodes":["baby_symbol"]},{"emoji":"🚾","group":8,"order":4470,"tags":["WC","공중화장실","더블유씨","화장실"],"version":0.6,"annotation":"더블유씨","shortcodes":["water_closet","wc"]},{"emoji":"🛂","group":8,"order":4471,"tags":["수속","여권","출입국 심사"],"version":1,"annotation":"출입국 심사","shortcodes":["passport_control"]},{"emoji":"🛃","group":8,"order":4472,"tags":["세관","짐싸기","포장"],"version":1,"annotation":"세관","shortcodes":["customs"]},{"emoji":"🛄","group":8,"order":4473,"tags":["가방","도착","비행기","수하물 찾는 곳","여정","여행","여행 준비","짐","짐 찾는 곳","짐싸기","체크인","화물"],"version":1,"annotation":"짐 찾는 곳","shortcodes":["baggage_claim"]},{"emoji":"🛅","group":8,"order":4474,"tags":["보관함","수하물 보관소","짐","케이스","화물","화물 서비스"],"version":1,"annotation":"화물 서비스","shortcodes":["left_luggage"]},{"emoji":"⚠️","group":8,"order":4476,"tags":["경고","주의"],"version":0.6,"annotation":"주의","shortcodes":["warning"]},{"emoji":"🚸","group":8,"order":4477,"tags":["건널목","교통","보도","어린이","어린이 구역","어린이 보호 구역","어린이 횡단보도"],"version":1,"annotation":"어린이 보호 구역","shortcodes":["children_crossing"]},{"emoji":"⛔️","group":8,"order":4478,"tags":["교통","금지","들어오지 마시오","실패","진입 금지","진입 금지 표시"],"version":0.6,"annotation":"진입 금지","shortcodes":["no_entry"]},{"emoji":"🚫","group":8,"order":4479,"tags":["금지","들어오지 마시오","안됨","진입 금지 표시"],"version":0.6,"annotation":"금지","shortcodes":["no_entry_sign"]},{"emoji":"🚳","group":8,"order":4480,"tags":["금지","바이크","안됨","자전거","자전거 주행 금지"],"version":1,"annotation":"자전거 금지","shortcodes":["no_bicycles"]},{"emoji":"🚭️","group":8,"order":4481,"tags":["금연","금연 구역","금연 구역 신호","금연 신호","금지","담배","안됨","흡연"],"version":0.6,"annotation":"금연 신호","shortcodes":["no_smoking"]},{"emoji":"🚯","group":8,"order":4482,"tags":["금지","쓰레기","쓰레기 투기","쓰레기 투기 금지"],"version":1,"annotation":"쓰레기 투기 금지","shortcodes":["do_not_litter","no_littering"]},{"emoji":"🚱","group":8,"order":4483,"tags":["금지","마른","마시지 마시오","마실 수 없는","마실 수 없는 물","물","섭취 금지","음료"],"version":1,"annotation":"마실 수 없는 물","shortcodes":["non-potable_water"]},{"emoji":"🚷","group":8,"order":4484,"tags":["금지","보행자 금지","보행자 통행 금지","안됨"],"version":1,"annotation":"보행자 금지","shortcodes":["no_pedestrians"]},{"emoji":"📵","group":8,"order":4485,"tags":["금지","모바일폰","셀폰","안됨","전화","전화 사용금지","폰","휴대전화 끄기","휴대전화 사용금지"],"version":1,"annotation":"휴대전화 사용금지","shortcodes":["no_mobile_phones"]},{"emoji":"🔞","group":8,"order":4486,"tags":["18금","18세","18세 이하 금지","금지","나이제한","미성년자","성인용","안됨"],"version":0.6,"annotation":"성인용","shortcodes":["no_one_under_18","underage"]},{"emoji":"☢️","group":8,"order":4488,"tags":["방사능","방사선","위험","주의","표시"],"version":1,"annotation":"방사능","shortcodes":["radioactive"]},{"emoji":"☣️","group":8,"order":4490,"tags":["바이오하자드","바이오해저드","생물학적 위험","표시"],"version":1,"annotation":"생물학적 위험","shortcodes":["biohazard"]},{"emoji":"⬆️","group":8,"order":4492,"tags":["길찾기","북쪽","상향 화살표","위쪽","화살표"],"version":0.6,"annotation":"위쪽 화살표","shortcodes":["arrow_up"]},{"emoji":"↗️","group":8,"order":4494,"tags":["길찾기","북동쪽","우상향 화살표","화살표"],"version":0.6,"annotation":"오른쪽 위 화살표","shortcodes":["arrow_upper_right"]},{"emoji":"➡️","group":8,"order":4496,"tags":["길찾기","동쪽","오른쪽 화살표","우향 화살표","화살표"],"version":0.6,"annotation":"우향 화살표","shortcodes":["arrow_right"]},{"emoji":"↘️","group":8,"order":4498,"tags":["남동쪽","우하향 화살표","화살표"],"version":0.6,"annotation":"오른쪽 아래 화살표","shortcodes":["arrow_lower_right"]},{"emoji":"⬇️","group":8,"order":4500,"tags":["길찾기","남쪽","하향 화살표","화살표"],"version":0.6,"annotation":"아래쪽 화살표","shortcodes":["arrow_down"]},{"emoji":"↙️","group":8,"order":4502,"tags":["길찾기","남서쪽","좌하향 화살표","화살표"],"version":0.6,"annotation":"왼쪽 아래 화살표","shortcodes":["arrow_lower_left"]},{"emoji":"⬅️","group":8,"order":4504,"tags":["길찾기","서쪽","왼쪽 화살표","좌향 화살표","화살표"],"version":0.6,"annotation":"좌향 화살표","shortcodes":["arrow_left"]},{"emoji":"↖️","group":8,"order":4506,"tags":["길찾기","북서쪽","좌상향 화살표","화살표"],"version":0.6,"annotation":"왼쪽 위 화살표","shortcodes":["arrow_upper_left"]},{"emoji":"↕️","group":8,"order":4508,"tags":["상하향 화살표","위아래","화살표"],"version":0.6,"annotation":"위아래 방향 화살표","shortcodes":["arrow_up_down"]},{"emoji":"↔️","group":8,"order":4510,"tags":["좌우","좌우향 화살표","화살표"],"version":0.6,"annotation":"좌우 방향 화살표","shortcodes":["left_right_arrow"]},{"emoji":"↩️","group":8,"order":4512,"tags":["왼쪽으로 곡선으로 꺾어지는 화살표","왼쪽으로 꺾어지는 우향 화살표","좌회전","화살표"],"version":0.6,"annotation":"오른쪽에서 왼쪽으로 꺾는 화살표","shortcodes":["arrow_left_hook","leftwards_arrow_with_hook"]},{"emoji":"↪️","group":8,"order":4514,"tags":["오른쪽으로 곡선으로 꺾어지는 화살표","오른쪽으로 꺾어지는 좌향 화살표","우회전","화살표"],"version":0.6,"annotation":"왼쪽에서 오른쪽으로 꺾는 화살표","shortcodes":["arrow_right_hook","rightwards_arrow_with_hook"]},{"emoji":"⤴️","group":8,"order":4516,"tags":["위쪽으로 꺾어지는 우향 화살표","좌회전","화살표"],"version":0.6,"annotation":"오른쪽에서 위로 꺾는 화살표","shortcodes":["arrow_heading_up"]},{"emoji":"⤵️","group":8,"order":4518,"tags":["아래","아래쪽으로 꺾어지는 우향 화살표","우회전","화살표"],"version":0.6,"annotation":"아래쪽으로 꺾어지는 우향 화살표","shortcodes":["arrow_heading_down"]},{"emoji":"🔃","group":8,"order":4519,"tags":["새로고침","새로고침 표시","시계 방향","시계 방향 화살표","화살표"],"version":0.6,"annotation":"시계 방향 화살표","shortcodes":["arrows_clockwise","clockwise"]},{"emoji":"🔄","group":8,"order":4520,"tags":["데자부","되감기","반대방향","반시계 방향","반시계 방향 화살표","반시계 방향 화살표 버튼","화살표"],"version":1,"annotation":"반시계 방향 화살표","shortcodes":["arrows_counterclockwise","counterclockwise"]},{"emoji":"🔙","group":8,"order":4521,"tags":["뒤로","왼쪽 화살표","화살표"],"version":0.6,"annotation":"뒤로","shortcodes":["back"]},{"emoji":"🔚","group":8,"order":4522,"tags":["끝내기 화살표","종료","화살표"],"version":0.6,"annotation":"종료","shortcodes":["end"]},{"emoji":"🔛","group":8,"order":4523,"tags":["양쪽 방향 화살표","켜짐","켜짐!","표시","화살표"],"version":0.6,"annotation":"켜짐","shortcodes":["on"]},{"emoji":"🔜","group":8,"order":4524,"tags":["brb","omw","가는 중","곧","곧 진행된다는 신호","곧 진행된다는 표시","곧 진행된다는 화살표","금방 돌아옴","화살표"],"version":0.6,"annotation":"곧","shortcodes":["soon"]},{"emoji":"🔝","group":8,"order":4525,"tags":["상단","위로 화살표","위쪽 화살표","위쪽으로","화살표"],"version":0.6,"annotation":"맨 위 화살표","shortcodes":["top"]},{"emoji":"🛐","group":8,"order":4526,"tags":["기도","기도실","사원","예배","예배공간","종교"],"version":1,"annotation":"예배공간","shortcodes":["place_of_worship"]},{"emoji":"⚛️","group":8,"order":4528,"tags":["무신론자","원자","원자 기호"],"version":1,"annotation":"원자 기호","shortcodes":["atom","atom_symbol"]},{"emoji":"🕉️","group":8,"order":4530,"tags":["옴","종교","힌두교"],"version":0.7,"annotation":"옴","shortcodes":["om"]},{"emoji":"✡️","group":8,"order":4532,"tags":["다비드","다비드별","다윗","다윗의 별","별","유대교","유대인","종교"],"version":0.7,"annotation":"다윗의 별","shortcodes":["star_of_david"]},{"emoji":"☸️","group":8,"order":4534,"tags":["다르마","바퀴","불교","불교신자","수레바퀴","종교","진리","진리의 수레바퀴"],"version":0.7,"annotation":"진리의 수레바퀴","shortcodes":["wheel_of_dharma"]},{"emoji":"☯️","group":8,"order":4536,"tags":["도교","둘다","모두 아닌","삶","양","어려운","음","음양","종교"],"version":0.7,"annotation":"음양","shortcodes":["yin_yang"]},{"emoji":"✝️","group":8,"order":4538,"tags":["기독교","라틴 십자가","십자가","종교","크리스찬"],"version":0.7,"annotation":"라틴 십자가","shortcodes":["latin_cross"]},{"emoji":"☦️","group":8,"order":4540,"tags":["기독교","십자가","전통적인 십자가","정교회 십자가","종교","크리스천"],"version":1,"annotation":"전통적인 십자가","shortcodes":["orthodox_cross"]},{"emoji":"☪️","group":8,"order":4542,"tags":["라마단","무슬림","별","이슬람","종교","초승달","초승달과 별"],"version":0.7,"annotation":"초승달과 별","shortcodes":["star_and_crescent"]},{"emoji":"☮️","group":8,"order":4544,"tags":["평화","평화 기호","평화 상징","평화로운","힐링"],"version":1,"annotation":"평화 기호","shortcodes":["peace","peace_symbol"]},{"emoji":"🕎","group":8,"order":4545,"tags":["메노라","유대교","유대인","종교","촛대"],"version":1,"annotation":"메노라","shortcodes":["menorah"]},{"emoji":"🔯","group":8,"order":4546,"tags":["별","운","유대교","유대인","육각 별","육각형 별","점이 있는 육각 별"],"version":0.6,"annotation":"육각 별","shortcodes":["six_pointed_star"]},{"emoji":"🪯","group":8,"order":4547,"tags":["덕","승리","시크교","시크교 신자","종교","칸다","칼사","테그"],"version":15,"annotation":"칸다","shortcodes":["khanda"]},{"emoji":"♈️","group":8,"order":4548,"tags":["별","별자리","별점","숫양","양","양자리"],"version":0.6,"annotation":"양자리","shortcodes":["aries"]},{"emoji":"♉️","group":8,"order":4549,"tags":["별","별자리","별점","황소","황소자리"],"version":0.6,"annotation":"황소자리","shortcodes":["taurus"]},{"emoji":"♊️","group":8,"order":4550,"tags":["별","별자리","별점","쌍둥이","쌍둥이 자리"],"version":0.6,"annotation":"쌍둥이 자리","shortcodes":["gemini"]},{"emoji":"♋️","group":8,"order":4551,"tags":["게자리","별자리","별점"],"version":0.6,"annotation":"게자리","shortcodes":["cancer"]},{"emoji":"♌️","group":8,"order":4552,"tags":["별","별자리","별점","사자","사자자리"],"version":0.6,"annotation":"사자자리","shortcodes":["leo"]},{"emoji":"♍️","group":8,"order":4553,"tags":["별","별자리","별점","처녀","처녀자리"],"version":0.6,"annotation":"처녀자리","shortcodes":["virgo"]},{"emoji":"♎️","group":8,"order":4554,"tags":["별","별자리","별점","저울","정의","천칭","천칭자리"],"version":0.6,"annotation":"천칭자리","shortcodes":["libra"]},{"emoji":"♏️","group":8,"order":4555,"tags":["별","별자리","별점","스콜피온","전갈","전갈자리"],"version":0.6,"annotation":"전갈자리","shortcodes":["scorpius"]},{"emoji":"♐️","group":8,"order":4556,"tags":["궁수","별","별자리","사수","사수자리","활"],"version":0.6,"annotation":"사수자리","shortcodes":["sagittarius"]},{"emoji":"♑️","group":8,"order":4557,"tags":["별","별자리","염소","염소자리"],"version":0.6,"annotation":"염소자리","shortcodes":["capricorn"]},{"emoji":"♒️","group":8,"order":4558,"tags":["물","물병","물병자리","별","별자리"],"version":0.6,"annotation":"물병자리","shortcodes":["aquarius"]},{"emoji":"♓️","group":8,"order":4559,"tags":["물고기","물고기자리","별","별자리","별점"],"version":0.6,"annotation":"물고기자리","shortcodes":["pisces"]},{"emoji":"⛎️","group":8,"order":4560,"tags":["메신저","뱀","뱀주인자리","별자리"],"version":0.6,"annotation":"뱀주인자리","shortcodes":["ophiuchus"]},{"emoji":"🔀","group":8,"order":4561,"tags":["교차","랜덤 재생","엇갈린 화살표","트랙 랜덤 재생","화살표"],"version":1,"annotation":"랜덤 재생","shortcodes":["shuffle","twisted_rightwards_arrows"]},{"emoji":"🔁","group":8,"order":4562,"tags":["꼬리를 무는 화살표","반복","반복 버튼","시계방향","전곡 반복 재생","화살표"],"version":1,"annotation":"전곡 반복 재생","shortcodes":["repeat"]},{"emoji":"🔂","group":8,"order":4563,"tags":["꼬리를 무는 화살표와 숫자 1","시계방향","한 곡 반복 재생","한 곡 반복 재생 버튼","한번","화살표"],"version":1,"annotation":"한 곡 반복 재생","shortcodes":["repeat_one"]},{"emoji":"▶️","group":8,"order":4565,"tags":["삼각형","오른쪽","재생","재생 버튼","플레이","화살표"],"version":0.6,"annotation":"재생 버튼","shortcodes":["arrow_forward","play"]},{"emoji":"⏩️","group":8,"order":4566,"tags":["두 개","빨리 감기","앞으로","오른쪽 화살표 두 개","화살표"],"version":0.6,"annotation":"빨리 감기 버튼","shortcodes":["fast_forward"]},{"emoji":"⏭️","group":8,"order":4568,"tags":["다음 장면","다음 트랙","다음 트랙 버튼","삼각형","화살표"],"version":0.7,"annotation":"다음 트랙 버튼","shortcodes":["next_track"]},{"emoji":"⏯️","group":8,"order":4570,"tags":["삼각형","오른쪽","일시 정지","재생","재생 또는 일시 정지 버튼","화살표"],"version":1,"annotation":"재생 또는 일시 정지 버튼","shortcodes":["play_pause"]},{"emoji":"◀️","group":8,"order":4572,"tags":["되돌리기 버튼","반대","반대로 버튼","복귀","삼각형","화살표"],"version":0.6,"annotation":"반대로 버튼","shortcodes":["arrow_backward","reverse"]},{"emoji":"⏪️","group":8,"order":4573,"tags":["되감기","두 개","빨리 되감기 버튼","왼쪽 화살표 두 개","화살표"],"version":0.6,"annotation":"되감기 버튼","shortcodes":["fast_reverse","rewind"]},{"emoji":"⏮️","group":8,"order":4575,"tags":["바로 전 트랙","삼각형","이전 노래","이전 장면","이전 트랙","이전 트랙 버튼","직전 트랙","화살표"],"version":0.7,"annotation":"이전 트랙 버튼","shortcodes":["previous_track"]},{"emoji":"🔼","group":8,"order":4576,"tags":["삼각형","위쪽 삼각형","위쪽 삼각형 버튼"],"version":0.6,"annotation":"올리기 버튼","shortcodes":["arrow_up_small","up"]},{"emoji":"⏫️","group":8,"order":4577,"tags":["고속상승 버튼","더블","위로","위쪽","화살표"],"version":0.6,"annotation":"빨리 올리기 버튼","shortcodes":["arrow_double_up","fast_up"]},{"emoji":"🔽","group":8,"order":4578,"tags":["다운 버튼","삼각형","아래쪽 삼각형","아래쪽 삼각형 버튼"],"version":0.6,"annotation":"내리기 버튼","shortcodes":["arrow_down_small","down"]},{"emoji":"⏬️","group":8,"order":4579,"tags":["급하강 버튼","더블","아래로","아래쪽 화살표","아랫쪽","화살표"],"version":0.6,"annotation":"빨리 내리기 버튼","shortcodes":["arrow_double_down","fast_down"]},{"emoji":"⏸️","group":8,"order":4581,"tags":["더블","일시 정지","일시 정지 버튼","정지"],"version":0.7,"annotation":"일시 정지 버튼","shortcodes":["pause"]},{"emoji":"⏹️","group":8,"order":4583,"tags":["사각형","정지","정지 버튼","중단","중지"],"version":0.7,"annotation":"정지 버튼","shortcodes":["stop"]},{"emoji":"⏺️","group":8,"order":4585,"tags":["기록","녹음","녹음 버튼","녹화","녹화 버튼","동그라미","원"],"version":0.7,"annotation":"녹음/녹화 버튼","shortcodes":["record"]},{"emoji":"⏏️","group":8,"order":4587,"tags":["꺼내기","꺼냄","꺼냄 버튼","추출"],"version":1,"annotation":"꺼냄 버튼","shortcodes":["eject"]},{"emoji":"🎦","group":8,"order":4588,"tags":["극장","시네마","영화","영화관"],"version":0.6,"annotation":"영화","shortcodes":["cinema"]},{"emoji":"🔅","group":8,"order":4589,"tags":["낮은 밝기","밝기","밝기 낮음","밝기 조절","밝기 조절 버튼","어두움","어두움 표시"],"version":1,"annotation":"밝기 낮음","shortcodes":["dim_button","low_brightness"]},{"emoji":"🔆","group":8,"order":4590,"tags":["높은 밝기","밝기 높음","밝기 버튼","밝은","밝음","밝음 표시","빛"],"version":1,"annotation":"밝기 높음","shortcodes":["bright_button","high_brightness"]},{"emoji":"📶","group":8,"order":4591,"tags":["막대","셀폰","신호 강도","안테나","안테나 신호","전화","커뮤니케이션","휴대전화","휴대폰"],"version":0.6,"annotation":"안테나 신호","shortcodes":["antenna_bars","signal_strength"]},{"emoji":"🛜","group":8,"order":4592,"tags":["Wi-Fi","WLAN","광대역","네트워크","라우터","무선","스마트폰","연결","인터넷","컴퓨터","핫스팟"],"version":15,"annotation":"무선","shortcodes":["wireless"]},{"emoji":"📳","group":8,"order":4593,"tags":["모드","모바일","셀폰","전화기","진동","커뮤니케이션","휴대전화 진동모드"],"version":0.6,"annotation":"진동 모드","shortcodes":["vibration_mode"]},{"emoji":"📴","group":8,"order":4594,"tags":["꺼짐","모바일폰","셀폰","전원이 꺼진 휴대전화","전화기","휴대전화 끄기","휴대전화 전원 끄기"],"version":0.6,"annotation":"휴대전화 끄기","shortcodes":["mobile_phone_off"]},{"emoji":"♀️","group":8,"order":4596,"tags":["기호","여성"],"version":4,"annotation":"여성 기호","shortcodes":["female","female_sign"]},{"emoji":"♂️","group":8,"order":4598,"tags":["기호","남성"],"version":4,"annotation":"남성 기호","shortcodes":["male","male_sign"]},{"emoji":"⚧️","group":8,"order":4600,"tags":["트랜스젠더","트랜스젠더 기호"],"version":13,"annotation":"트랜스젠더 기호","shortcodes":["transgender_symbol"]},{"emoji":"✖️","group":8,"order":4602,"tags":["x","곱셈","곱셈기호","곱하기","엑스","취소"],"version":0.6,"annotation":"곱하기","shortcodes":["multiplication","multiply"]},{"emoji":"➕️","group":8,"order":4603,"tags":["더하기","더하기 표시","두꺼운 더하기 표시","수학","플러스"],"version":0.6,"annotation":"더하기","shortcodes":["plus"]},{"emoji":"➖️","group":8,"order":4604,"tags":["마이너스","빼기","빼기 표시","수학","진한 빼기 표시"],"version":0.6,"annotation":"빼기","shortcodes":["minus"]},{"emoji":"➗️","group":8,"order":4605,"tags":["나누기","나누기 표시","수학","진한 나누기 표시"],"version":0.6,"annotation":"나누기","shortcodes":["divide","division"]},{"emoji":"🟰","group":8,"order":4606,"tags":["같음","답","동등","등호 기호","정답","평등"],"version":14,"annotation":"등호 기호","shortcodes":["heavy_equals_sign"]},{"emoji":"♾️","group":8,"order":4608,"tags":["뫼비우스","무한","영원"],"version":11,"annotation":"무한","shortcodes":["infinity"]},{"emoji":"‼️","group":8,"order":4610,"tags":["느낌표","두 개의 느낌표","문장 부호","뱅뱅","부호"],"version":0.6,"annotation":"두 개의 느낌표","shortcodes":["bangbang","double_exclamation"]},{"emoji":"⁉️","group":8,"order":4612,"tags":["느낌표","느낌표와 물음표","문장 부호","물음표","부호","인테러뱅","질문"],"version":0.6,"annotation":"느낌표와 물음표","shortcodes":["exclamation_question","interrobang"]},{"emoji":"❓️","group":8,"order":4613,"tags":["?","문장 부호","물음","물음표","빨간색 물음표","의문","질문"],"version":0.6,"annotation":"빨간색 물음표","shortcodes":["question"]},{"emoji":"❔️","group":8,"order":4614,"tags":["문장 부호","물음","물음표","의문","질문","하얀색 물음표"],"version":0.6,"annotation":"하얀색 물음표","shortcodes":["white_question"]},{"emoji":"❕️","group":8,"order":4615,"tags":["!","느낌","느낌표","문장 부호","부호","하얀색 느낌표","하얀색 물음표 부호"],"version":0.6,"annotation":"하얀색 느낌표","shortcodes":["white_exclamation"]},{"emoji":"❗️","group":8,"order":4616,"tags":["느낌표","문장 부포","부호","빨간색 느낌표"],"version":0.6,"annotation":"빨간색 느낌표","shortcodes":["exclamation"]},{"emoji":"〰️","group":8,"order":4618,"tags":["대시","문장 부호","물결","물결 모양 대시","물결모양","물결표"],"version":0.6,"annotation":"물결 모양 대시","shortcodes":["wavy_dash"]},{"emoji":"💱","group":8,"order":4619,"tags":["교환","돈","은행","화폐","환전"],"version":0.6,"annotation":"환전","shortcodes":["currency_exchange"]},{"emoji":"💲","group":8,"order":4620,"tags":["달러화","돈","미국 달러","미국 돈","미국 화폐","백만장자","불","지불","진한 달러 표시","화폐"],"version":0.6,"annotation":"미국 달러","shortcodes":["heavy_dollar_sign"]},{"emoji":"⚕️","group":8,"order":4622,"tags":["아이스쿨라피우스","의술의 신","의학","의학 기호","직원"],"version":4,"annotation":"의학 기호","shortcodes":["medical","medical_symbol"]},{"emoji":"♻️","group":8,"order":4624,"tags":["재활용","재활용 표시"],"version":0.6,"annotation":"재활용 표시","shortcodes":["recycle","recycling_symbol"]},{"emoji":"⚜️","group":8,"order":4626,"tags":["기사","문장","백합"],"version":1,"annotation":"백합 문장","shortcodes":["fleur-de-lis"]},{"emoji":"🔱","group":8,"order":4627,"tags":["닻","도구","배","삼지창","상징","엠블럼","창","포세이돈"],"version":0.6,"annotation":"삼지창","shortcodes":["trident"]},{"emoji":"📛","group":8,"order":4628,"tags":["명찰","배지","이름","이름표"],"version":0.6,"annotation":"이름표","shortcodes":["name_badge"]},{"emoji":"🔰","group":8,"order":4629,"tags":["V 모양","그린","노란색","노란색 초록색 이파리 모양","일본","일본 초보운전자 심볼","잎","초록색","초보","초보자"],"version":0.6,"annotation":"일본 초보운전 표시","shortcodes":["beginner"]},{"emoji":"⭕️","group":8,"order":4630,"tags":["동그라미","ㅇ","원","크고 진한 동그라미"],"version":0.6,"annotation":"빨간색 정답 동그라미","shortcodes":["hollow_red_circle","red_o"]},{"emoji":"✅️","group":8,"order":4631,"tags":["완료됨","체크","체크 표시","틱","확인함"],"version":0.6,"annotation":"체크 표시 버튼","shortcodes":["check_mark_button","white_check_mark"]},{"emoji":"☑️","group":8,"order":4633,"tags":["완료","체크","체크박스","체크상자","체크완료","체크표시된 투표란","투표","투표용지","틱"],"version":0.6,"annotation":"체크박스","shortcodes":["ballot_box_with_check"]},{"emoji":"✔️","group":8,"order":4635,"tags":["진한 체크 표시","진한 체크표시","체크","체크표시","했음","확인함"],"version":0.6,"annotation":"체크 표시","shortcodes":["check_mark","heavy_check_mark"]},{"emoji":"❌️","group":8,"order":4636,"tags":["x","곱셈","곱하기","엑스","엑스 표시","엑스표"],"version":0.6,"annotation":"엑스 표시","shortcodes":["cross_mark","x"]},{"emoji":"❎️","group":8,"order":4637,"tags":["x","곱셈","곱하기","상자 안 엑스 표시","엑스 표시","엑스 표시 버튼","초록 상자 안 엑스 표시"],"version":0.6,"annotation":"엑스 표시 버튼","shortcodes":["cross_mark_button","negative_squared_cross_mark"]},{"emoji":"➰️","group":8,"order":4638,"tags":["고리","곱슬","동그랗게 말린 고리","루프"],"version":0.6,"annotation":"고리","shortcodes":["curly_loop"]},{"emoji":"➿️","group":8,"order":4639,"tags":["곱슬곱슬한","더블","두 개의 고리","두 개의 구부러진 고리","두 개의 루프"],"version":1,"annotation":"두 개의 고리","shortcodes":["double_curly_loop","loop"]},{"emoji":"〽️","group":8,"order":4641,"tags":["기호","부분","부분 교체 기호"],"version":0.6,"annotation":"부분 교체 기호","shortcodes":["part_alternation_mark"]},{"emoji":"✳️","group":8,"order":4643,"tags":["별표","여덟 갈래 별표"],"version":0.6,"annotation":"여덟 갈래 별표","shortcodes":["eight_spoked_asterisk"]},{"emoji":"✴️","group":8,"order":4645,"tags":["별","팔각 별"],"version":0.6,"annotation":"팔각 별","shortcodes":["eight_pointed_black_star"]},{"emoji":"❇️","group":8,"order":4647,"tags":["반짝","반짝임"],"version":0.6,"annotation":"반짝임","shortcodes":["sparkle"]},{"emoji":"©️","group":8,"order":4649,"tags":["동그라미 C","씨","저작권"],"version":0.6,"annotation":"저작권","shortcodes":["copyright"]},{"emoji":"®️","group":8,"order":4651,"tags":["동그라미 R","등록상표","알"],"version":0.6,"annotation":"등록상표","shortcodes":["registered"]},{"emoji":"™️","group":8,"order":4653,"tags":["TM","상표","트레이드 마크 표시","트레이트 마크","표시"],"version":0.6,"annotation":"상표","shortcodes":["tm","trade_mark"]},{"emoji":"🫟","group":8,"order":4654,"tags":["액체","액체 방울","얼룩","잉크","지저분하게 튄","튀김","튄","페인트","흘린","흩뿌린"],"version":16,"annotation":"튀어오른 액체","shortcodes":["splatter"]},{"emoji":"#️⃣","group":8,"order":4655,"tags":["키 캡"],"version":0.6,"annotation":"키 캡: #","shortcodes":["hash","number_sign"]},{"emoji":"*️⃣","group":8,"order":4657,"tags":["키 캡"],"version":2,"annotation":"키 캡: *","shortcodes":["asterisk"]},{"emoji":"0️⃣","group":8,"order":4659,"tags":["0","공","키 캡"],"version":0.6,"annotation":"키 캡: 0","shortcodes":["zero"]},{"emoji":"1️⃣","group":8,"order":4661,"tags":["1","일","키 캡"],"version":0.6,"annotation":"키 캡: 1","shortcodes":["one"]},{"emoji":"2️⃣","group":8,"order":4663,"tags":["2","이","키 캡"],"version":0.6,"annotation":"키 캡: 2","shortcodes":["two"]},{"emoji":"3️⃣","group":8,"order":4665,"tags":["3","삼","키 캡"],"version":0.6,"annotation":"키 캡: 3","shortcodes":["three"]},{"emoji":"4️⃣","group":8,"order":4667,"tags":["4","사","키 캡"],"version":0.6,"annotation":"키 캡: 4","shortcodes":["four"]},{"emoji":"5️⃣","group":8,"order":4669,"tags":["5","오","키 캡"],"version":0.6,"annotation":"키 캡: 5","shortcodes":["five"]},{"emoji":"6️⃣","group":8,"order":4671,"tags":["6","육","키 캡"],"version":0.6,"annotation":"키 캡: 6","shortcodes":["six"]},{"emoji":"7️⃣","group":8,"order":4673,"tags":["7","칠","키 캡"],"version":0.6,"annotation":"키 캡: 7","shortcodes":["seven"]},{"emoji":"8️⃣","group":8,"order":4675,"tags":["8","키 캡","팔"],"version":0.6,"annotation":"키 캡: 8","shortcodes":["eight"]},{"emoji":"9️⃣","group":8,"order":4677,"tags":["9","구","키 캡"],"version":0.6,"annotation":"키 캡: 9","shortcodes":["nine"]},{"emoji":"🔟","group":8,"order":4679,"tags":["키 캡"],"version":0.6,"annotation":"키 캡: 10","shortcodes":["ten"]},{"emoji":"🔠","group":8,"order":4680,"tags":["ABCD","대문자","대문자 입력","영어 대문자"],"version":0.6,"annotation":"대문자","shortcodes":["capital_abcd"]},{"emoji":"🔡","group":8,"order":4681,"tags":["라틴","문자","소문자","영어 소문자","입력"],"version":0.6,"annotation":"소문자","shortcodes":["abcd"]},{"emoji":"🔢","group":8,"order":4682,"tags":["1234","숫자","입력"],"version":0.6,"annotation":"숫자","shortcodes":["1234"]},{"emoji":"🔣","group":8,"order":4683,"tags":["〒♪&%","기호","입력"],"version":0.6,"annotation":"기호","shortcodes":["symbols"]},{"emoji":"🔤","group":8,"order":4684,"tags":["abc","라틴","라틴어 알파벳","라틴어 알파벳 입력","문자","알파벳"],"version":0.6,"annotation":"라틴어 알파벳","shortcodes":["abc"]},{"emoji":"🅰️","group":8,"order":4686,"tags":["A","버튼","에이형","혈액형 에이형"],"version":0.6,"annotation":"에이형","shortcodes":["a","a_blood"]},{"emoji":"🆎","group":8,"order":4687,"tags":["AB","버튼","에이비형","혈액형"],"version":0.6,"annotation":"에이비형","shortcodes":["ab","ab_blood"]},{"emoji":"🅱️","group":8,"order":4689,"tags":["B","B형","버튼","비형","혈액형"],"version":0.6,"annotation":"비형","shortcodes":["b","b_blood"]},{"emoji":"🆑","group":8,"order":4690,"tags":["CL","CL 버튼","네모 안에 씨엘","씨엘","씨엘 네모 안"],"version":0.6,"annotation":"씨엘","shortcodes":["cl"]},{"emoji":"🆒","group":8,"order":4691,"tags":["cool","버튼","쿨","쿨 신호"],"version":0.6,"annotation":"쿨","shortcodes":["cool"]},{"emoji":"🆓","group":8,"order":4692,"tags":["버튼","자유","자유 신호","프리","프리 신호"],"version":0.6,"annotation":"프리","shortcodes":["free"]},{"emoji":"ℹ️","group":8,"order":4694,"tags":["I","정보","정보 출처"],"version":0.6,"annotation":"정보 출처","shortcodes":["info","information_source"]},{"emoji":"🆔","group":8,"order":4695,"tags":["ID","버튼","아이디","아이디 신호","아이디 표시"],"version":0.6,"annotation":"아이디","shortcodes":["id"]},{"emoji":"Ⓜ️","group":8,"order":4697,"tags":["M","동그라미","원","원글자 엠","원에 들어있는 M"],"version":0.6,"annotation":"원글자 엠","shortcodes":["m"]},{"emoji":"🆕","group":8,"order":4698,"tags":["NEW","뉴","뉴 버튼","뉴 신호","새로운","새로운 소식","새로운 신호","새롭다"],"version":0.6,"annotation":"뉴","shortcodes":["new"]},{"emoji":"🆖","group":8,"order":4699,"tags":["NG","노굿","노굿 신호","버튼","엔지","엔지 신호","엔지 표시"],"version":0.6,"annotation":"엔지","shortcodes":["ng"]},{"emoji":"🅾️","group":8,"order":4701,"tags":["O","O 버튼","오형","혈액형"],"version":0.6,"annotation":"오형","shortcodes":["o","o_blood"]},{"emoji":"🆗","group":8,"order":4702,"tags":["OK","네","버튼","예","오케이","오케이 신호","좋다","좋아"],"version":0.6,"annotation":"오케이","shortcodes":["ok"]},{"emoji":"🅿️","group":8,"order":4704,"tags":["P","버튼","음각 피","주차","주차 표시","주차장","파킹"],"version":0.6,"annotation":"주차 표시","shortcodes":["parking"]},{"emoji":"🆘","group":8,"order":4705,"tags":["SOS","구조","구조 신호","버튼","에스오에스","에스오에스 신호"],"version":0.6,"annotation":"에스오에스","shortcodes":["sos"]},{"emoji":"🆙","group":8,"order":4706,"tags":["UP","버튼","업","업!","위로 버튼","위쪽으로"],"version":0.6,"annotation":"위로 버튼","shortcodes":["up2"]},{"emoji":"🆚","group":8,"order":4707,"tags":["VS","대","대항","버튼","브이에스"],"version":0.6,"annotation":"대","shortcodes":["vs"]},{"emoji":"🈁","group":8,"order":4708,"tags":["\"여기\"","koko","일본어","일본어 \"여기\" 버튼","카타카나","코코"],"version":0.6,"annotation":"일본어 \"여기\" 버튼","shortcodes":["ja_here","koko"]},{"emoji":"🈂️","group":8,"order":4710,"tags":["\"봉사료\"","sa","사","일본어","일본어 \"봉사료\" 버튼","카타카나"],"version":0.6,"annotation":"일본어 \"봉사료\" 버튼","shortcodes":["ja_service_charge"]},{"emoji":"🈷️","group":8,"order":4712,"tags":["\"월간\"","개월","달","월","일본어","일본어 \"월간\" 버튼","표의문자","한달"],"version":0.6,"annotation":"달 월","shortcodes":["ja_monthly_amount"]},{"emoji":"🈶","group":8,"order":4713,"tags":["\"무료 아님\"","일본어","일본어 \"무료 아님\" 버튼","있을 유","있음","표의문자"],"version":0.6,"annotation":"있을 유","shortcodes":["ja_not_free_of_carge"]},{"emoji":"🈯️","group":8,"order":4714,"tags":["\"예약\"","가리키다","가리킬 지","손가락","일본어","일본어 \"예약\" 버튼","지칭","표의문자"],"version":0.6,"annotation":"가리킬 지","shortcodes":["ja_reserved"]},{"emoji":"🉐","group":8,"order":4715,"tags":["\"할인\"","얻을 득","이득","이익","일본어","일본어 \"할인\" 버튼","표의문자","획득"],"version":0.6,"annotation":"얻을 득","shortcodes":["ideograph_advantage","ja_bargain"]},{"emoji":"🈹","group":8,"order":4716,"tags":["\"할인\"","나누기","나눌 할","나눔","분리","일본어","일본어 \"할인\" 버튼","표의문자"],"version":0.6,"annotation":"나눌 할","shortcodes":["ja_discount"]},{"emoji":"🈚️","group":8,"order":4717,"tags":["\"무료\"","없을 무","없음","일본어","일본어 \"무료\" 버튼","표의 문자"],"version":0.6,"annotation":"없을 무","shortcodes":["ja_free_of_charge"]},{"emoji":"🈲","group":8,"order":4718,"tags":["\"금지\"","금지","금하다","금할 금","일본어","일본어 \"금지\" 버튼","차단","표의 문자"],"version":0.6,"annotation":"금할 금","shortcodes":["ja_prohibited"]},{"emoji":"🉑","group":8,"order":4719,"tags":["\"가능\"","맞음","옮음","옳을 가","일본어","일본어 \"가능\" 버튼","표의문자","허가"],"version":0.6,"annotation":"옳을 가","shortcodes":["accept","ja_acceptable"]},{"emoji":"🈸","group":8,"order":4720,"tags":["\"신청\"","거듭 신","일본어","일본어 \"신청\" 버튼","표의문자"],"version":0.6,"annotation":"거듭 신","shortcodes":["ja_application"]},{"emoji":"🈴","group":8,"order":4721,"tags":["일본어","일본어 \"합격\" 버튼","전체","표의 문자","합","합격","합하기","합할 합"],"version":0.6,"annotation":"합할 합","shortcodes":["ja_passing_grade"]},{"emoji":"🈳","group":8,"order":4722,"tags":["\"비어 있음\"","공","비어있음","빌 공","일본어","일본어 \"비어 있음\" 버튼","텅 빈 상태","표의문자"],"version":0.6,"annotation":"빌 공","shortcodes":["ja_vacancy"]},{"emoji":"㊗️","group":8,"order":4724,"tags":["\"축하\"","빌 축","원 안의 축하 표의문자","원 표시된 축하 표의문자","일본어","일본어 \"축하\" 버튼","중국어","축하","표의문자"],"version":0.6,"annotation":"원 안의 축하 표의문자","shortcodes":["congratulations","ja_congratulations"]},{"emoji":"㊙️","group":8,"order":4726,"tags":["\"비밀\"","비밀","숨길 비","원 표시된 비밀 표의문자","일본어","일본어 \"비밀\" 버튼","중국어","표의문자"],"version":0.6,"annotation":"원 표시된 비밀 표의문자","shortcodes":["ja_secret","secret"]},{"emoji":"🈺","group":8,"order":4727,"tags":["\"영업 중\"","벼슬 관","영","일본어","일본어 \"영업 중\" 버튼","표의문자"],"version":0.6,"annotation":"벼슬 관","shortcodes":["ja_open_for_business"]},{"emoji":"🈵","group":8,"order":4728,"tags":["가득","만","빈방없음","일본어","일본어 \"빈방없음\" 버튼","찰 만","표의문자","満"],"version":0.6,"annotation":"찰 만","shortcodes":["ja_no_vacancy"]},{"emoji":"🔴","group":8,"order":4729,"tags":["기하학 무늬","레드 서클","빨간 원","빨간색","빨강","원","큰 빨간 원"],"version":0.6,"annotation":"빨간 원","shortcodes":["red_circle"]},{"emoji":"🟠","group":8,"order":4730,"tags":["동그라미","오렌지색","원"],"version":12,"annotation":"오렌지색 원","shortcodes":["orange_circle"]},{"emoji":"🟡","group":8,"order":4731,"tags":["노란색","동그라미","원"],"version":12,"annotation":"노란색 원","shortcodes":["yellow_circle"]},{"emoji":"🟢","group":8,"order":4732,"tags":["녹색","동그라미","원"],"version":12,"annotation":"녹색 원","shortcodes":["green_circle"]},{"emoji":"🔵","group":8,"order":4733,"tags":["기하학 무늬","블루","블루 서클","원","큰 파란 원","파란 원","파란색","파랑"],"version":0.6,"annotation":"파란 원","shortcodes":["blue_circle"]},{"emoji":"🟣","group":8,"order":4734,"tags":["동그라미","보라색","원"],"version":12,"annotation":"보라색 원","shortcodes":["purple_circle"]},{"emoji":"🟤","group":8,"order":4735,"tags":["갈색","원"],"version":12,"annotation":"갈색 원","shortcodes":["brown_circle"]},{"emoji":"⚫️","group":8,"order":4736,"tags":["검은색 원","기하학 무늬","동그라미","블랙 서클","원"],"version":0.6,"annotation":"검은색 원","shortcodes":["black_circle"]},{"emoji":"⚪️","group":8,"order":4737,"tags":["기하학 무늬","동그라미","원","하얀색 원","화이트 서클","흰색 원"],"version":0.6,"annotation":"흰색 원","shortcodes":["white_circle"]},{"emoji":"🟥","group":8,"order":4738,"tags":["빨간색","사각형"],"version":12,"annotation":"빨간색 사각형","shortcodes":["red_square"]},{"emoji":"🟧","group":8,"order":4739,"tags":["사각형","오렌지색"],"version":12,"annotation":"오렌지색 사각형","shortcodes":["orange_square"]},{"emoji":"🟨","group":8,"order":4740,"tags":["노란색","사각형"],"version":12,"annotation":"노란색 사각형","shortcodes":["yellow_square"]},{"emoji":"🟩","group":8,"order":4741,"tags":["녹색","사각형"],"version":12,"annotation":"녹색 사각형","shortcodes":["green_square"]},{"emoji":"🟦","group":8,"order":4742,"tags":["사각형","파란색"],"version":12,"annotation":"파란색 사각형","shortcodes":["blue_square"]},{"emoji":"🟪","group":8,"order":4743,"tags":["보라색","사각형"],"version":12,"annotation":"보라색 사각형","shortcodes":["purple_square"]},{"emoji":"🟫","group":8,"order":4744,"tags":["갈색","사각형"],"version":12,"annotation":"갈색 사각형","shortcodes":["brown_square"]},{"emoji":"⬛️","group":8,"order":4745,"tags":["검은색 큰 사각형","기하학 무늬","무늬","블랙 라지 사각형","사각형","큰 검은색 사각형"],"version":0.6,"annotation":"큰 검은색 사각형","shortcodes":["black_large_square"]},{"emoji":"⬜️","group":8,"order":4746,"tags":["기하학 무늬","무늬","사각형","큰 흰색 사각형","화이트 라지 사각형","흰색 큰 사각형"],"version":0.6,"annotation":"큰 흰색 사각형","shortcodes":["white_large_square"]},{"emoji":"◼️","group":8,"order":4748,"tags":["검정색 중간 사각형","기하학 무늬","무늬","블랙 미디엄 사각형","사각형","중간 검은색 사각형","중간크기 검은색 사각형"],"version":0.6,"annotation":"중간 검은색 사각형","shortcodes":["black_medium_square"]},{"emoji":"◻️","group":8,"order":4750,"tags":["기하학 무늬","무늬","사각형","중간 흰색 사각형","화이트 미디엄 사각형","흰색 중간 사각형"],"version":0.6,"annotation":"중간 흰색 사각형","shortcodes":["white_medium_square"]},{"emoji":"◾️","group":8,"order":4751,"tags":["검은색 미디엄-스몰 사각형","기하학 무늬","무늬","블랙 미디엄-스몰 사각형","사각형","중각 작은 검은색 사각형"],"version":0.6,"annotation":"중각 작은 검은색 사각형","shortcodes":["black_medium_small_square"]},{"emoji":"◽️","group":8,"order":4752,"tags":["기하학 무늬","무늬","사각형","중간 작은 흰색 사각형","화이트 미디엄-스몰 사각형","흰색 미디엄-스몰 사각형"],"version":0.6,"annotation":"중간 작은 흰색 사각형","shortcodes":["white_medium_small_square"]},{"emoji":"▪️","group":8,"order":4754,"tags":["검은색 작은 사각형","기하학 무늬","무늬","블랙 스몰 사각형","사각형","작은 검은색 사각형"],"version":0.6,"annotation":"작은 검은색 사각형","shortcodes":["black_small_square"]},{"emoji":"▫️","group":8,"order":4756,"tags":["기하학 무늬","무늬","사각형","작은 흰색 사각형","화이트 스몰 사각형"],"version":0.6,"annotation":"작은 흰색 사각형","shortcodes":["white_small_square"]},{"emoji":"🔶","group":8,"order":4757,"tags":["라지 오렌지 마름모","마름모","오렌지색","주황색","큰 주황색 마름모"],"version":0.6,"annotation":"큰 주황색 마름모","shortcodes":["large_orange_diamond"]},{"emoji":"🔷","group":8,"order":4758,"tags":["기하학 무늬","라지 블루 마름모","마름모","큰 파란색 마름모","파란색","파랑"],"version":0.6,"annotation":"큰 파란색 마름모","shortcodes":["large_blue_diamond"]},{"emoji":"🔸","group":8,"order":4759,"tags":["기하학 무늬","마름모","오렌지색","작은 주황색 마름모","주황색"],"version":0.6,"annotation":"작은 주황색 마름모","shortcodes":["small_orange_diamond"]},{"emoji":"🔹","group":8,"order":4760,"tags":["기하학 무늬","마름모","스몰 블루 마름모","작은 파란색 마름모","파란색","파랑"],"version":0.6,"annotation":"작은 파란색 마름모","shortcodes":["small_blue_diamond"]},{"emoji":"🔺","group":8,"order":4761,"tags":["기하학 무늬","레드","빨간색","빨간색 위쪽 삼각형","빨강","삼각형","위가 좁은 빨간색 삼각형","위쪽 빨간색 삼각형"],"version":0.6,"annotation":"빨간색 위쪽 삼각형","shortcodes":["small_red_triangle"]},{"emoji":"🔻","group":8,"order":4762,"tags":["빨간색","빨간색 아래쪽 삼각형","빨강","삼각형","아래","아래가 좁은 빨간색 삼각형","아래쪽 빨간색 삼각형"],"version":0.6,"annotation":"빨간색 아래쪽 삼각형","shortcodes":["small_red_triangle_down"]},{"emoji":"💠","group":8,"order":4763,"tags":["기하학 무늬","내부","다이아몬드 모양","마름모","마름모꼴","점이 찍힌 다이아몬드 모양","점이 찍힌 마름모","코믹"],"version":0.6,"annotation":"점이 찍힌 다이아몬드 모양","shortcodes":["diamond_shape_with_a_dot_inside","diamond_with_a_dot"]},{"emoji":"🔘","group":8,"order":4764,"tags":["기하학 무늬","라디오","버튼"],"version":0.6,"annotation":"라디오 버튼","shortcodes":["radio_button"]},{"emoji":"🔳","group":8,"order":4765,"tags":["기하학 무늬","버튼","사각형","테두리","테두리가 하얀 사각 버튼"],"version":0.6,"annotation":"테두리가 하얀 사각 버튼","shortcodes":["white_square_button"]},{"emoji":"🔲","group":8,"order":4766,"tags":["기하학 무늬","버튼","사각형","테두리가 검은 사각 버튼"],"version":0.6,"annotation":"테두리가 검은 사각 버튼","shortcodes":["black_square_button"]},{"emoji":"🏁","group":9,"order":4767,"tags":["격자 무늬","격자 무늬 깃발","결승선 깃발","경기","깃발","레이싱","스포츠","체크 무늬","체크 무늬 깃발"],"version":0.6,"annotation":"격자 무늬 깃발","shortcodes":["checkered_flag"]},{"emoji":"🚩","group":9,"order":4768,"tags":["골프","공사","깃발","세모 깃발","우체국","위치 표시","위치 표시 깃발"],"version":0.6,"annotation":"세모 깃발","shortcodes":["triangular_flag","triangular_flag_on_post"]},{"emoji":"🎌","group":9,"order":4769,"tags":["교차","교차된 깃발","국가 행사","국기","엇갈린 일본 국기","일본"],"version":0.6,"annotation":"엇갈린 일본 국기","shortcodes":["crossed_flags"]},{"emoji":"🏴","group":9,"order":4770,"tags":["검은색 깃발","깃발","펄럭이는 검은색 깃발","펄릭이는","플래그"],"version":1,"annotation":"펄럭이는 검은색 깃발","shortcodes":["black_flag"]},{"emoji":"🏳️","group":9,"order":4772,"tags":["깃발","펄럭이는","펄럭이는 흰색 깃발","플래그","항복","흰색 깃발"],"version":0.7,"annotation":"펄럭이는 흰색 깃발","shortcodes":["white_flag"]},{"emoji":"🏳️‍🌈","group":9,"order":4773,"tags":["LGBT","LGBTQ","게이","깃발","레즈비언","무지개","바이섹슈얼","성소수자","양성애자","젠더퀴어","퀴어","트랜스젠더"],"version":4,"annotation":"무지개 깃발","shortcodes":["rainbow_flag"]},{"emoji":"🏳️‍⚧️","group":9,"order":4775,"tags":["깃발","분홍색","트랜스젠더","하늘색","하얀색"],"version":13,"annotation":"트랜스젠더 깃발","shortcodes":["transgender_flag"]},{"emoji":"🏴‍☠️","group":9,"order":4779,"tags":["보물섬","약탈자","해골 깃발","해적","해적 깃발"],"version":11,"annotation":"해적 깃발","shortcodes":["jolly_roger","pirate_flag"]},{"emoji":"🇦🇨","group":9,"order":4781,"tags":["깃발"],"version":2,"annotation":"깃발: 어센션섬","shortcodes":["ascension_island","flag_ac"]},{"emoji":"🇦🇩","group":9,"order":4782,"tags":["깃발"],"version":2,"annotation":"깃발: 안도라","shortcodes":["andorra","flag_ad"]},{"emoji":"🇦🇪","group":9,"order":4783,"tags":["깃발"],"version":2,"annotation":"깃발: 아랍에미리트","shortcodes":["flag_ae","united_arab_emirates"]},{"emoji":"🇦🇫","group":9,"order":4784,"tags":["깃발"],"version":2,"annotation":"깃발: 아프가니스탄","shortcodes":["afghanistan","flag_af"]},{"emoji":"🇦🇬","group":9,"order":4785,"tags":["깃발"],"version":2,"annotation":"깃발: 앤티가 바부다","shortcodes":["antigua_barbuda","flag_ag"]},{"emoji":"🇦🇮","group":9,"order":4786,"tags":["깃발"],"version":2,"annotation":"깃발: 앵귈라","shortcodes":["anguilla","flag_ai"]},{"emoji":"🇦🇱","group":9,"order":4787,"tags":["깃발"],"version":2,"annotation":"깃발: 알바니아","shortcodes":["albania","flag_al"]},{"emoji":"🇦🇲","group":9,"order":4788,"tags":["깃발"],"version":2,"annotation":"깃발: 아르메니아","shortcodes":["armenia","flag_am"]},{"emoji":"🇦🇴","group":9,"order":4789,"tags":["깃발"],"version":2,"annotation":"깃발: 앙골라","shortcodes":["angola","flag_ao"]},{"emoji":"🇦🇶","group":9,"order":4790,"tags":["깃발"],"version":2,"annotation":"깃발: 남극 대륙","shortcodes":["antarctica","flag_aq"]},{"emoji":"🇦🇷","group":9,"order":4791,"tags":["깃발"],"version":2,"annotation":"깃발: 아르헨티나","shortcodes":["argentina","flag_ar"]},{"emoji":"🇦🇸","group":9,"order":4792,"tags":["깃발"],"version":2,"annotation":"깃발: 아메리칸 사모아","shortcodes":["american_samoa","flag_as"]},{"emoji":"🇦🇹","group":9,"order":4793,"tags":["깃발"],"version":2,"annotation":"깃발: 오스트리아","shortcodes":["austria","flag_at"]},{"emoji":"🇦🇺","group":9,"order":4794,"tags":["깃발"],"version":2,"annotation":"깃발: 오스트레일리아","shortcodes":["australia","flag_au"]},{"emoji":"🇦🇼","group":9,"order":4795,"tags":["깃발"],"version":2,"annotation":"깃발: 아루바","shortcodes":["aruba","flag_aw"]},{"emoji":"🇦🇽","group":9,"order":4796,"tags":["깃발"],"version":2,"annotation":"깃발: 올란드 제도","shortcodes":["aland_islands","flag_ax"]},{"emoji":"🇦🇿","group":9,"order":4797,"tags":["깃발"],"version":2,"annotation":"깃발: 아제르바이잔","shortcodes":["azerbaijan","flag_az"]},{"emoji":"🇧🇦","group":9,"order":4798,"tags":["깃발"],"version":2,"annotation":"깃발: 보스니아 헤르체고비나","shortcodes":["bosnia_herzegovina","flag_ba"]},{"emoji":"🇧🇧","group":9,"order":4799,"tags":["깃발"],"version":2,"annotation":"깃발: 바베이도스","shortcodes":["barbados","flag_bb"]},{"emoji":"🇧🇩","group":9,"order":4800,"tags":["깃발"],"version":2,"annotation":"깃발: 방글라데시","shortcodes":["bangladesh","flag_bd"]},{"emoji":"🇧🇪","group":9,"order":4801,"tags":["깃발"],"version":2,"annotation":"깃발: 벨기에","shortcodes":["belgium","flag_be"]},{"emoji":"🇧🇫","group":9,"order":4802,"tags":["깃발"],"version":2,"annotation":"깃발: 부르키나파소","shortcodes":["burkina_faso","flag_bf"]},{"emoji":"🇧🇬","group":9,"order":4803,"tags":["깃발"],"version":2,"annotation":"깃발: 불가리아","shortcodes":["bulgaria","flag_bg"]},{"emoji":"🇧🇭","group":9,"order":4804,"tags":["깃발"],"version":2,"annotation":"깃발: 바레인","shortcodes":["bahrain","flag_bh"]},{"emoji":"🇧🇮","group":9,"order":4805,"tags":["깃발"],"version":2,"annotation":"깃발: 부룬디","shortcodes":["burundi","flag_bi"]},{"emoji":"🇧🇯","group":9,"order":4806,"tags":["깃발"],"version":2,"annotation":"깃발: 베냉","shortcodes":["benin","flag_bj"]},{"emoji":"🇧🇱","group":9,"order":4807,"tags":["깃발"],"version":2,"annotation":"깃발: 생바르텔레미","shortcodes":["flag_bl","st_barthelemy"]},{"emoji":"🇧🇲","group":9,"order":4808,"tags":["깃발"],"version":2,"annotation":"깃발: 버뮤다","shortcodes":["bermuda","flag_bm"]},{"emoji":"🇧🇳","group":9,"order":4809,"tags":["깃발"],"version":2,"annotation":"깃발: 브루나이","shortcodes":["brunei","flag_bn"]},{"emoji":"🇧🇴","group":9,"order":4810,"tags":["깃발"],"version":2,"annotation":"깃발: 볼리비아","shortcodes":["bolivia","flag_bo"]},{"emoji":"🇧🇶","group":9,"order":4811,"tags":["깃발"],"version":2,"annotation":"깃발: 네덜란드령 카리브","shortcodes":["caribbean_netherlands","flag_bq"]},{"emoji":"🇧🇷","group":9,"order":4812,"tags":["깃발"],"version":2,"annotation":"깃발: 브라질","shortcodes":["brazil","flag_br"]},{"emoji":"🇧🇸","group":9,"order":4813,"tags":["깃발"],"version":2,"annotation":"깃발: 바하마","shortcodes":["bahamas","flag_bs"]},{"emoji":"🇧🇹","group":9,"order":4814,"tags":["깃발"],"version":2,"annotation":"깃발: 부탄","shortcodes":["bhutan","flag_bt"]},{"emoji":"🇧🇻","group":9,"order":4815,"tags":["깃발"],"version":2,"annotation":"깃발: 부베섬","shortcodes":["bouvet_island","flag_bv"]},{"emoji":"🇧🇼","group":9,"order":4816,"tags":["깃발"],"version":2,"annotation":"깃발: 보츠와나","shortcodes":["botswana","flag_bw"]},{"emoji":"🇧🇾","group":9,"order":4817,"tags":["깃발"],"version":2,"annotation":"깃발: 벨라루스","shortcodes":["belarus","flag_by"]},{"emoji":"🇧🇿","group":9,"order":4818,"tags":["깃발"],"version":2,"annotation":"깃발: 벨리즈","shortcodes":["belize","flag_bz"]},{"emoji":"🇨🇦","group":9,"order":4819,"tags":["깃발"],"version":2,"annotation":"깃발: 캐나다","shortcodes":["canada","flag_ca"]},{"emoji":"🇨🇨","group":9,"order":4820,"tags":["깃발"],"version":2,"annotation":"깃발: 코코스 제도","shortcodes":["cocos_islands","flag_cc"]},{"emoji":"🇨🇩","group":9,"order":4821,"tags":["깃발"],"version":2,"annotation":"깃발: 콩고-킨샤사","shortcodes":["congo_kinshasa","flag_cd"]},{"emoji":"🇨🇫","group":9,"order":4822,"tags":["깃발"],"version":2,"annotation":"깃발: 중앙 아프리카 공화국","shortcodes":["central_african_republic","flag_cf"]},{"emoji":"🇨🇬","group":9,"order":4823,"tags":["깃발"],"version":2,"annotation":"깃발: 콩고-브라자빌","shortcodes":["congo_brazzaville","flag_cg"]},{"emoji":"🇨🇭","group":9,"order":4824,"tags":["깃발"],"version":2,"annotation":"깃발: 스위스","shortcodes":["flag_ch","switzerland"]},{"emoji":"🇨🇮","group":9,"order":4825,"tags":["깃발"],"version":2,"annotation":"깃발: 코트디부아르","shortcodes":["cote_divoire","flag_ci"]},{"emoji":"🇨🇰","group":9,"order":4826,"tags":["깃발"],"version":2,"annotation":"깃발: 쿡 제도","shortcodes":["cook_islands","flag_ck"]},{"emoji":"🇨🇱","group":9,"order":4827,"tags":["깃발"],"version":2,"annotation":"깃발: 칠레","shortcodes":["chile","flag_cl"]},{"emoji":"🇨🇲","group":9,"order":4828,"tags":["깃발"],"version":2,"annotation":"깃발: 카메룬","shortcodes":["cameroon","flag_cm"]},{"emoji":"🇨🇳","group":9,"order":4829,"tags":["깃발"],"version":0.6,"annotation":"깃발: 중국","shortcodes":["china","flag_cn"]},{"emoji":"🇨🇴","group":9,"order":4830,"tags":["깃발"],"version":2,"annotation":"깃발: 콜롬비아","shortcodes":["colombia","flag_co"]},{"emoji":"🇨🇵","group":9,"order":4831,"tags":["깃발"],"version":2,"annotation":"깃발: 클리퍼턴섬","shortcodes":["clipperton_island","flag_cp"]},{"emoji":"🇨🇶","group":9,"order":4832,"tags":["깃발"],"version":16,"annotation":"깃발: 사크","shortcodes":["flag_cq","sark"]},{"emoji":"🇨🇷","group":9,"order":4833,"tags":["깃발"],"version":2,"annotation":"깃발: 코스타리카","shortcodes":["costa_rica","flag_cr"]},{"emoji":"🇨🇺","group":9,"order":4834,"tags":["깃발"],"version":2,"annotation":"깃발: 쿠바","shortcodes":["cuba","flag_cu"]},{"emoji":"🇨🇻","group":9,"order":4835,"tags":["깃발"],"version":2,"annotation":"깃발: 카보베르데","shortcodes":["cape_verde","flag_cv"]},{"emoji":"🇨🇼","group":9,"order":4836,"tags":["깃발"],"version":2,"annotation":"깃발: 퀴라소","shortcodes":["curacao","flag_cw"]},{"emoji":"🇨🇽","group":9,"order":4837,"tags":["깃발"],"version":2,"annotation":"깃발: 크리스마스섬","shortcodes":["christmas_island","flag_cx"]},{"emoji":"🇨🇾","group":9,"order":4838,"tags":["깃발"],"version":2,"annotation":"깃발: 키프로스","shortcodes":["cyprus","flag_cy"]},{"emoji":"🇨🇿","group":9,"order":4839,"tags":["깃발"],"version":2,"annotation":"깃발: 체코","shortcodes":["czech_republic","czechia","flag_cz"]},{"emoji":"🇩🇪","group":9,"order":4840,"tags":["깃발"],"version":0.6,"annotation":"깃발: 독일","shortcodes":["flag_de","germany"]},{"emoji":"🇩🇬","group":9,"order":4841,"tags":["깃발"],"version":2,"annotation":"깃발: 디에고 가르시아","shortcodes":["diego_garcia","flag_dg"]},{"emoji":"🇩🇯","group":9,"order":4842,"tags":["깃발"],"version":2,"annotation":"깃발: 지부티","shortcodes":["djibouti","flag_dj"]},{"emoji":"🇩🇰","group":9,"order":4843,"tags":["깃발"],"version":2,"annotation":"깃발: 덴마크","shortcodes":["denmark","flag_dk"]},{"emoji":"🇩🇲","group":9,"order":4844,"tags":["깃발"],"version":2,"annotation":"깃발: 도미니카","shortcodes":["dominica","flag_dm"]},{"emoji":"🇩🇴","group":9,"order":4845,"tags":["깃발"],"version":2,"annotation":"깃발: 도미니카 공화국","shortcodes":["dominican_republic","flag_do"]},{"emoji":"🇩🇿","group":9,"order":4846,"tags":["깃발"],"version":2,"annotation":"깃발: 알제리","shortcodes":["algeria","flag_dz"]},{"emoji":"🇪🇦","group":9,"order":4847,"tags":["깃발"],"version":2,"annotation":"깃발: 세우타 및 멜리야","shortcodes":["ceuta_melilla","flag_ea"]},{"emoji":"🇪🇨","group":9,"order":4848,"tags":["깃발"],"version":2,"annotation":"깃발: 에콰도르","shortcodes":["ecuador","flag_ec"]},{"emoji":"🇪🇪","group":9,"order":4849,"tags":["깃발"],"version":2,"annotation":"깃발: 에스토니아","shortcodes":["estonia","flag_ee"]},{"emoji":"🇪🇬","group":9,"order":4850,"tags":["깃발"],"version":2,"annotation":"깃발: 이집트","shortcodes":["egypt","flag_eg"]},{"emoji":"🇪🇭","group":9,"order":4851,"tags":["깃발"],"version":2,"annotation":"깃발: 서사하라","shortcodes":["flag_eh","western_sahara"]},{"emoji":"🇪🇷","group":9,"order":4852,"tags":["깃발"],"version":2,"annotation":"깃발: 에리트리아","shortcodes":["eritrea","flag_er"]},{"emoji":"🇪🇸","group":9,"order":4853,"tags":["깃발"],"version":0.6,"annotation":"깃발: 스페인","shortcodes":["flag_es","spain"]},{"emoji":"🇪🇹","group":9,"order":4854,"tags":["깃발"],"version":2,"annotation":"깃발: 에티오피아","shortcodes":["ethiopia","flag_et"]},{"emoji":"🇪🇺","group":9,"order":4855,"tags":["깃발"],"version":2,"annotation":"깃발: 유럽 연합","shortcodes":["european_union","flag_eu"]},{"emoji":"🇫🇮","group":9,"order":4856,"tags":["깃발"],"version":2,"annotation":"깃발: 핀란드","shortcodes":["finland","flag_fi"]},{"emoji":"🇫🇯","group":9,"order":4857,"tags":["깃발"],"version":2,"annotation":"깃발: 피지","shortcodes":["fiji","flag_fj"]},{"emoji":"🇫🇰","group":9,"order":4858,"tags":["깃발"],"version":2,"annotation":"깃발: 포클랜드 제도","shortcodes":["falkland_islands","flag_fk"]},{"emoji":"🇫🇲","group":9,"order":4859,"tags":["깃발"],"version":2,"annotation":"깃발: 미크로네시아","shortcodes":["flag_fm","micronesia"]},{"emoji":"🇫🇴","group":9,"order":4860,"tags":["깃발"],"version":2,"annotation":"깃발: 페로 제도","shortcodes":["faroe_islands","flag_fo"]},{"emoji":"🇫🇷","group":9,"order":4861,"tags":["깃발"],"version":0.6,"annotation":"깃발: 프랑스","shortcodes":["flag_fr","france"]},{"emoji":"🇬🇦","group":9,"order":4862,"tags":["깃발"],"version":2,"annotation":"깃발: 가봉","shortcodes":["flag_ga","gabon"]},{"emoji":"🇬🇧","group":9,"order":4863,"tags":["깃발"],"version":0.6,"annotation":"깃발: 영국","shortcodes":["flag_gb","uk","united_kingdom"]},{"emoji":"🇬🇩","group":9,"order":4864,"tags":["깃발"],"version":2,"annotation":"깃발: 그레나다","shortcodes":["flag_gd","grenada"]},{"emoji":"🇬🇪","group":9,"order":4865,"tags":["깃발"],"version":2,"annotation":"깃발: 조지아","shortcodes":["flag_ge","georgia"]},{"emoji":"🇬🇫","group":9,"order":4866,"tags":["깃발"],"version":2,"annotation":"깃발: 프랑스령 기아나","shortcodes":["flag_gf","french_guiana"]},{"emoji":"🇬🇬","group":9,"order":4867,"tags":["깃발"],"version":2,"annotation":"깃발: 건지","shortcodes":["flag_gg","guernsey"]},{"emoji":"🇬🇭","group":9,"order":4868,"tags":["깃발"],"version":2,"annotation":"깃발: 가나","shortcodes":["flag_gh","ghana"]},{"emoji":"🇬🇮","group":9,"order":4869,"tags":["깃발"],"version":2,"annotation":"깃발: 지브롤터","shortcodes":["flag_gi","gibraltar"]},{"emoji":"🇬🇱","group":9,"order":4870,"tags":["깃발"],"version":2,"annotation":"깃발: 그린란드","shortcodes":["flag_gl","greenland"]},{"emoji":"🇬🇲","group":9,"order":4871,"tags":["깃발"],"version":2,"annotation":"깃발: 감비아","shortcodes":["flag_gm","gambia"]},{"emoji":"🇬🇳","group":9,"order":4872,"tags":["깃발"],"version":2,"annotation":"깃발: 기니","shortcodes":["flag_gn","guinea"]},{"emoji":"🇬🇵","group":9,"order":4873,"tags":["깃발"],"version":2,"annotation":"깃발: 과들루프","shortcodes":["flag_gp","guadeloupe"]},{"emoji":"🇬🇶","group":9,"order":4874,"tags":["깃발"],"version":2,"annotation":"깃발: 적도 기니","shortcodes":["equatorial_guinea","flag_gq"]},{"emoji":"🇬🇷","group":9,"order":4875,"tags":["깃발"],"version":2,"annotation":"깃발: 그리스","shortcodes":["flag_gr","greece"]},{"emoji":"🇬🇸","group":9,"order":4876,"tags":["깃발"],"version":2,"annotation":"깃발: 사우스조지아 사우스샌드위치 제도","shortcodes":["flag_gs","south_georgia_south_sandwich_islands"]},{"emoji":"🇬🇹","group":9,"order":4877,"tags":["깃발"],"version":2,"annotation":"깃발: 과테말라","shortcodes":["flag_gt","guatemala"]},{"emoji":"🇬🇺","group":9,"order":4878,"tags":["깃발"],"version":2,"annotation":"깃발: 괌","shortcodes":["flag_gu","guam"]},{"emoji":"🇬🇼","group":9,"order":4879,"tags":["깃발"],"version":2,"annotation":"깃발: 기니비사우","shortcodes":["flag_gw","guinea_bissau"]},{"emoji":"🇬🇾","group":9,"order":4880,"tags":["깃발"],"version":2,"annotation":"깃발: 가이아나","shortcodes":["flag_gy","guyana"]},{"emoji":"🇭🇰","group":9,"order":4881,"tags":["깃발"],"version":2,"annotation":"깃발: 홍콩(중국 특별행정구)","shortcodes":["flag_hk","hong_kong"]},{"emoji":"🇭🇲","group":9,"order":4882,"tags":["깃발"],"version":2,"annotation":"깃발: 허드 맥도널드 제도","shortcodes":["flag_hm","heard_mcdonald_islands"]},{"emoji":"🇭🇳","group":9,"order":4883,"tags":["깃발"],"version":2,"annotation":"깃발: 온두라스","shortcodes":["flag_hn","honduras"]},{"emoji":"🇭🇷","group":9,"order":4884,"tags":["깃발"],"version":2,"annotation":"깃발: 크로아티아","shortcodes":["croatia","flag_hr"]},{"emoji":"🇭🇹","group":9,"order":4885,"tags":["깃발"],"version":2,"annotation":"깃발: 아이티","shortcodes":["flag_ht","haiti"]},{"emoji":"🇭🇺","group":9,"order":4886,"tags":["깃발"],"version":2,"annotation":"깃발: 헝가리","shortcodes":["flag_hu","hungary"]},{"emoji":"🇮🇨","group":9,"order":4887,"tags":["깃발"],"version":2,"annotation":"깃발: 카나리아 제도","shortcodes":["canary_islands","flag_ic"]},{"emoji":"🇮🇩","group":9,"order":4888,"tags":["깃발"],"version":2,"annotation":"깃발: 인도네시아","shortcodes":["flag_id","indonesia"]},{"emoji":"🇮🇪","group":9,"order":4889,"tags":["깃발"],"version":2,"annotation":"깃발: 아일랜드","shortcodes":["flag_ie","ireland"]},{"emoji":"🇮🇱","group":9,"order":4890,"tags":["깃발"],"version":2,"annotation":"깃발: 이스라엘","shortcodes":["flag_il","israel"]},{"emoji":"🇮🇲","group":9,"order":4891,"tags":["깃발"],"version":2,"annotation":"깃발: 맨섬","shortcodes":["flag_im","isle_of_man"]},{"emoji":"🇮🇳","group":9,"order":4892,"tags":["깃발"],"version":2,"annotation":"깃발: 인도","shortcodes":["flag_in","india"]},{"emoji":"🇮🇴","group":9,"order":4893,"tags":["깃발"],"version":2,"annotation":"깃발: 영국령 인도양 지역","shortcodes":["british_indian_ocean_territory","flag_io"]},{"emoji":"🇮🇶","group":9,"order":4894,"tags":["깃발"],"version":2,"annotation":"깃발: 이라크","shortcodes":["flag_iq","iraq"]},{"emoji":"🇮🇷","group":9,"order":4895,"tags":["깃발"],"version":2,"annotation":"깃발: 이란","shortcodes":["flag_ir","iran"]},{"emoji":"🇮🇸","group":9,"order":4896,"tags":["깃발"],"version":2,"annotation":"깃발: 아이슬란드","shortcodes":["flag_is","iceland"]},{"emoji":"🇮🇹","group":9,"order":4897,"tags":["깃발"],"version":0.6,"annotation":"깃발: 이탈리아","shortcodes":["flag_it","italy"]},{"emoji":"🇯🇪","group":9,"order":4898,"tags":["깃발"],"version":2,"annotation":"깃발: 저지","shortcodes":["flag_je","jersey"]},{"emoji":"🇯🇲","group":9,"order":4899,"tags":["깃발"],"version":2,"annotation":"깃발: 자메이카","shortcodes":["flag_jm","jamaica"]},{"emoji":"🇯🇴","group":9,"order":4900,"tags":["깃발"],"version":2,"annotation":"깃발: 요르단","shortcodes":["flag_jo","jordan"]},{"emoji":"🇯🇵","group":9,"order":4901,"tags":["깃발"],"version":0.6,"annotation":"깃발: 일본","shortcodes":["flag_jp","japan"]},{"emoji":"🇰🇪","group":9,"order":4902,"tags":["깃발"],"version":2,"annotation":"깃발: 케냐","shortcodes":["flag_ke","kenya"]},{"emoji":"🇰🇬","group":9,"order":4903,"tags":["깃발"],"version":2,"annotation":"깃발: 키르기스스탄","shortcodes":["flag_kg","kyrgyzstan"]},{"emoji":"🇰🇭","group":9,"order":4904,"tags":["깃발"],"version":2,"annotation":"깃발: 캄보디아","shortcodes":["cambodia","flag_kh"]},{"emoji":"🇰🇮","group":9,"order":4905,"tags":["깃발"],"version":2,"annotation":"깃발: 키리바시","shortcodes":["flag_ki","kiribati"]},{"emoji":"🇰🇲","group":9,"order":4906,"tags":["깃발"],"version":2,"annotation":"깃발: 코모로","shortcodes":["comoros","flag_km"]},{"emoji":"🇰🇳","group":9,"order":4907,"tags":["깃발"],"version":2,"annotation":"깃발: 세인트키츠 네비스","shortcodes":["flag_kn","st_kitts_nevis"]},{"emoji":"🇰🇵","group":9,"order":4908,"tags":["깃발"],"version":2,"annotation":"깃발: 북한","shortcodes":["flag_kp","north_korea"]},{"emoji":"🇰🇷","group":9,"order":4909,"tags":["깃발"],"version":0.6,"annotation":"깃발: 대한민국","shortcodes":["flag_kr","south_korea"]},{"emoji":"🇰🇼","group":9,"order":4910,"tags":["깃발"],"version":2,"annotation":"깃발: 쿠웨이트","shortcodes":["flag_kw","kuwait"]},{"emoji":"🇰🇾","group":9,"order":4911,"tags":["깃발"],"version":2,"annotation":"깃발: 케이맨 제도","shortcodes":["cayman_islands","flag_ky"]},{"emoji":"🇰🇿","group":9,"order":4912,"tags":["깃발"],"version":2,"annotation":"깃발: 카자흐스탄","shortcodes":["flag_kz","kazakhstan"]},{"emoji":"🇱🇦","group":9,"order":4913,"tags":["깃발"],"version":2,"annotation":"깃발: 라오스","shortcodes":["flag_la","laos"]},{"emoji":"🇱🇧","group":9,"order":4914,"tags":["깃발"],"version":2,"annotation":"깃발: 레바논","shortcodes":["flag_lb","lebanon"]},{"emoji":"🇱🇨","group":9,"order":4915,"tags":["깃발"],"version":2,"annotation":"깃발: 세인트루시아","shortcodes":["flag_lc","st_lucia"]},{"emoji":"🇱🇮","group":9,"order":4916,"tags":["깃발"],"version":2,"annotation":"깃발: 리히텐슈타인","shortcodes":["flag_li","liechtenstein"]},{"emoji":"🇱🇰","group":9,"order":4917,"tags":["깃발"],"version":2,"annotation":"깃발: 스리랑카","shortcodes":["flag_lk","sri_lanka"]},{"emoji":"🇱🇷","group":9,"order":4918,"tags":["깃발"],"version":2,"annotation":"깃발: 라이베리아","shortcodes":["flag_lr","liberia"]},{"emoji":"🇱🇸","group":9,"order":4919,"tags":["깃발"],"version":2,"annotation":"깃발: 레소토","shortcodes":["flag_ls","lesotho"]},{"emoji":"🇱🇹","group":9,"order":4920,"tags":["깃발"],"version":2,"annotation":"깃발: 리투아니아","shortcodes":["flag_lt","lithuania"]},{"emoji":"🇱🇺","group":9,"order":4921,"tags":["깃발"],"version":2,"annotation":"깃발: 룩셈부르크","shortcodes":["flag_lu","luxembourg"]},{"emoji":"🇱🇻","group":9,"order":4922,"tags":["깃발"],"version":2,"annotation":"깃발: 라트비아","shortcodes":["flag_lv","latvia"]},{"emoji":"🇱🇾","group":9,"order":4923,"tags":["깃발"],"version":2,"annotation":"깃발: 리비아","shortcodes":["flag_ly","libya"]},{"emoji":"🇲🇦","group":9,"order":4924,"tags":["깃발"],"version":2,"annotation":"깃발: 모로코","shortcodes":["flag_ma","morocco"]},{"emoji":"🇲🇨","group":9,"order":4925,"tags":["깃발"],"version":2,"annotation":"깃발: 모나코","shortcodes":["flag_mc","monaco"]},{"emoji":"🇲🇩","group":9,"order":4926,"tags":["깃발"],"version":2,"annotation":"깃발: 몰도바","shortcodes":["flag_md","moldova"]},{"emoji":"🇲🇪","group":9,"order":4927,"tags":["깃발"],"version":2,"annotation":"깃발: 몬테네그로","shortcodes":["flag_me","montenegro"]},{"emoji":"🇲🇫","group":9,"order":4928,"tags":["깃발"],"version":2,"annotation":"깃발: 생마르탱","shortcodes":["flag_mf","st_martin"]},{"emoji":"🇲🇬","group":9,"order":4929,"tags":["깃발"],"version":2,"annotation":"깃발: 마다가스카르","shortcodes":["flag_mg","madagascar"]},{"emoji":"🇲🇭","group":9,"order":4930,"tags":["깃발"],"version":2,"annotation":"깃발: 마셜 제도","shortcodes":["flag_mh","marshall_islands"]},{"emoji":"🇲🇰","group":9,"order":4931,"tags":["깃발"],"version":2,"annotation":"깃발: 북마케도니아","shortcodes":["flag_mk","macedonia"]},{"emoji":"🇲🇱","group":9,"order":4932,"tags":["깃발"],"version":2,"annotation":"깃발: 말리","shortcodes":["flag_ml","mali"]},{"emoji":"🇲🇲","group":9,"order":4933,"tags":["깃발"],"version":2,"annotation":"깃발: 미얀마","shortcodes":["burma","flag_mm","myanmar"]},{"emoji":"🇲🇳","group":9,"order":4934,"tags":["깃발"],"version":2,"annotation":"깃발: 몽골","shortcodes":["flag_mn","mongolia"]},{"emoji":"🇲🇴","group":9,"order":4935,"tags":["깃발"],"version":2,"annotation":"깃발: 마카오(중국 특별행정구)","shortcodes":["flag_mo","macao","macau"]},{"emoji":"🇲🇵","group":9,"order":4936,"tags":["깃발"],"version":2,"annotation":"깃발: 북마리아나제도","shortcodes":["flag_mp","northern_mariana_islands"]},{"emoji":"🇲🇶","group":9,"order":4937,"tags":["깃발"],"version":2,"annotation":"깃발: 마르티니크","shortcodes":["flag_mq","martinique"]},{"emoji":"🇲🇷","group":9,"order":4938,"tags":["깃발"],"version":2,"annotation":"깃발: 모리타니","shortcodes":["flag_mr","mauritania"]},{"emoji":"🇲🇸","group":9,"order":4939,"tags":["깃발"],"version":2,"annotation":"깃발: 몬트세라트","shortcodes":["flag_ms","montserrat"]},{"emoji":"🇲🇹","group":9,"order":4940,"tags":["깃발"],"version":2,"annotation":"깃발: 몰타","shortcodes":["flag_mt","malta"]},{"emoji":"🇲🇺","group":9,"order":4941,"tags":["깃발"],"version":2,"annotation":"깃발: 모리셔스","shortcodes":["flag_mu","mauritius"]},{"emoji":"🇲🇻","group":9,"order":4942,"tags":["깃발"],"version":2,"annotation":"깃발: 몰디브","shortcodes":["flag_mv","maldives"]},{"emoji":"🇲🇼","group":9,"order":4943,"tags":["깃발"],"version":2,"annotation":"깃발: 말라위","shortcodes":["flag_mw","malawi"]},{"emoji":"🇲🇽","group":9,"order":4944,"tags":["깃발"],"version":2,"annotation":"깃발: 멕시코","shortcodes":["flag_mx","mexico"]},{"emoji":"🇲🇾","group":9,"order":4945,"tags":["깃발"],"version":2,"annotation":"깃발: 말레이시아","shortcodes":["flag_my","malaysia"]},{"emoji":"🇲🇿","group":9,"order":4946,"tags":["깃발"],"version":2,"annotation":"깃발: 모잠비크","shortcodes":["flag_mz","mozambique"]},{"emoji":"🇳🇦","group":9,"order":4947,"tags":["깃발"],"version":2,"annotation":"깃발: 나미비아","shortcodes":["flag_na","namibia"]},{"emoji":"🇳🇨","group":9,"order":4948,"tags":["깃발"],"version":2,"annotation":"깃발: 뉴칼레도니아","shortcodes":["flag_nc","new_caledonia"]},{"emoji":"🇳🇪","group":9,"order":4949,"tags":["깃발"],"version":2,"annotation":"깃발: 니제르","shortcodes":["flag_ne","niger"]},{"emoji":"🇳🇫","group":9,"order":4950,"tags":["깃발"],"version":2,"annotation":"깃발: 노퍽섬","shortcodes":["flag_nf","norfolk_island"]},{"emoji":"🇳🇬","group":9,"order":4951,"tags":["깃발"],"version":2,"annotation":"깃발: 나이지리아","shortcodes":["flag_ng","nigeria"]},{"emoji":"🇳🇮","group":9,"order":4952,"tags":["깃발"],"version":2,"annotation":"깃발: 니카라과","shortcodes":["flag_ni","nicaragua"]},{"emoji":"🇳🇱","group":9,"order":4953,"tags":["깃발"],"version":2,"annotation":"깃발: 네덜란드","shortcodes":["flag_nl","netherlands"]},{"emoji":"🇳🇴","group":9,"order":4954,"tags":["깃발"],"version":2,"annotation":"깃발: 노르웨이","shortcodes":["flag_no","norway"]},{"emoji":"🇳🇵","group":9,"order":4955,"tags":["깃발"],"version":2,"annotation":"깃발: 네팔","shortcodes":["flag_np","nepal"]},{"emoji":"🇳🇷","group":9,"order":4956,"tags":["깃발"],"version":2,"annotation":"깃발: 나우루","shortcodes":["flag_nr","nauru"]},{"emoji":"🇳🇺","group":9,"order":4957,"tags":["깃발"],"version":2,"annotation":"깃발: 니우에","shortcodes":["flag_nu","niue"]},{"emoji":"🇳🇿","group":9,"order":4958,"tags":["깃발"],"version":2,"annotation":"깃발: 뉴질랜드","shortcodes":["flag_nz","new_zealand"]},{"emoji":"🇴🇲","group":9,"order":4959,"tags":["깃발"],"version":2,"annotation":"깃발: 오만","shortcodes":["flag_om","oman"]},{"emoji":"🇵🇦","group":9,"order":4960,"tags":["깃발"],"version":2,"annotation":"깃발: 파나마","shortcodes":["flag_pa","panama"]},{"emoji":"🇵🇪","group":9,"order":4961,"tags":["깃발"],"version":2,"annotation":"깃발: 페루","shortcodes":["flag_pe","peru"]},{"emoji":"🇵🇫","group":9,"order":4962,"tags":["깃발"],"version":2,"annotation":"깃발: 프랑스령 폴리네시아","shortcodes":["flag_pf","french_polynesia"]},{"emoji":"🇵🇬","group":9,"order":4963,"tags":["깃발"],"version":2,"annotation":"깃발: 파푸아뉴기니","shortcodes":["flag_pg","papua_new_guinea"]},{"emoji":"🇵🇭","group":9,"order":4964,"tags":["깃발"],"version":2,"annotation":"깃발: 필리핀","shortcodes":["flag_ph","philippines"]},{"emoji":"🇵🇰","group":9,"order":4965,"tags":["깃발"],"version":2,"annotation":"깃발: 파키스탄","shortcodes":["flag_pk","pakistan"]},{"emoji":"🇵🇱","group":9,"order":4966,"tags":["깃발"],"version":2,"annotation":"깃발: 폴란드","shortcodes":["flag_pl","poland"]},{"emoji":"🇵🇲","group":9,"order":4967,"tags":["깃발"],"version":2,"annotation":"깃발: 생피에르 미클롱","shortcodes":["flag_pm","st_pierre_miquelon"]},{"emoji":"🇵🇳","group":9,"order":4968,"tags":["깃발"],"version":2,"annotation":"깃발: 핏케언 제도","shortcodes":["flag_pn","pitcairn_islands"]},{"emoji":"🇵🇷","group":9,"order":4969,"tags":["깃발"],"version":2,"annotation":"깃발: 푸에르토리코","shortcodes":["flag_pr","puerto_rico"]},{"emoji":"🇵🇸","group":9,"order":4970,"tags":["깃발"],"version":2,"annotation":"깃발: 팔레스타인 지구","shortcodes":["flag_ps","palestinian_territories"]},{"emoji":"🇵🇹","group":9,"order":4971,"tags":["깃발"],"version":2,"annotation":"깃발: 포르투갈","shortcodes":["flag_pt","portugal"]},{"emoji":"🇵🇼","group":9,"order":4972,"tags":["깃발"],"version":2,"annotation":"깃발: 팔라우","shortcodes":["flag_pw","palau"]},{"emoji":"🇵🇾","group":9,"order":4973,"tags":["깃발"],"version":2,"annotation":"깃발: 파라과이","shortcodes":["flag_py","paraguay"]},{"emoji":"🇶🇦","group":9,"order":4974,"tags":["깃발"],"version":2,"annotation":"깃발: 카타르","shortcodes":["flag_qa","qatar"]},{"emoji":"🇷🇪","group":9,"order":4975,"tags":["깃발"],"version":2,"annotation":"깃발: 레위니옹","shortcodes":["flag_re","reunion"]},{"emoji":"🇷🇴","group":9,"order":4976,"tags":["깃발"],"version":2,"annotation":"깃발: 루마니아","shortcodes":["flag_ro","romania"]},{"emoji":"🇷🇸","group":9,"order":4977,"tags":["깃발"],"version":2,"annotation":"깃발: 세르비아","shortcodes":["flag_rs","serbia"]},{"emoji":"🇷🇺","group":9,"order":4978,"tags":["깃발"],"version":0.6,"annotation":"깃발: 러시아","shortcodes":["flag_ru","russia"]},{"emoji":"🇷🇼","group":9,"order":4979,"tags":["깃발"],"version":2,"annotation":"깃발: 르완다","shortcodes":["flag_rw","rwanda"]},{"emoji":"🇸🇦","group":9,"order":4980,"tags":["깃발"],"version":2,"annotation":"깃발: 사우디아라비아","shortcodes":["flag_sa","saudi_arabia"]},{"emoji":"🇸🇧","group":9,"order":4981,"tags":["깃발"],"version":2,"annotation":"깃발: 솔로몬 제도","shortcodes":["flag_sb","solomon_islands"]},{"emoji":"🇸🇨","group":9,"order":4982,"tags":["깃발"],"version":2,"annotation":"깃발: 세이셸","shortcodes":["flag_sc","seychelles"]},{"emoji":"🇸🇩","group":9,"order":4983,"tags":["깃발"],"version":2,"annotation":"깃발: 수단","shortcodes":["flag_sd","sudan"]},{"emoji":"🇸🇪","group":9,"order":4984,"tags":["깃발"],"version":2,"annotation":"깃발: 스웨덴","shortcodes":["flag_se","sweden"]},{"emoji":"🇸🇬","group":9,"order":4985,"tags":["깃발"],"version":2,"annotation":"깃발: 싱가포르","shortcodes":["flag_sg","singapore"]},{"emoji":"🇸🇭","group":9,"order":4986,"tags":["깃발"],"version":2,"annotation":"깃발: 세인트헬레나","shortcodes":["flag_sh","st_helena"]},{"emoji":"🇸🇮","group":9,"order":4987,"tags":["깃발"],"version":2,"annotation":"깃발: 슬로베니아","shortcodes":["flag_si","slovenia"]},{"emoji":"🇸🇯","group":9,"order":4988,"tags":["깃발"],"version":2,"annotation":"깃발: 스발바르제도-얀마웬섬","shortcodes":["flag_sj","svalbard_jan_mayen"]},{"emoji":"🇸🇰","group":9,"order":4989,"tags":["깃발"],"version":2,"annotation":"깃발: 슬로바키아","shortcodes":["flag_sk","slovakia"]},{"emoji":"🇸🇱","group":9,"order":4990,"tags":["깃발"],"version":2,"annotation":"깃발: 시에라리온","shortcodes":["flag_sl","sierra_leone"]},{"emoji":"🇸🇲","group":9,"order":4991,"tags":["깃발"],"version":2,"annotation":"깃발: 산마리노","shortcodes":["flag_sm","san_marino"]},{"emoji":"🇸🇳","group":9,"order":4992,"tags":["깃발"],"version":2,"annotation":"깃발: 세네갈","shortcodes":["flag_sn","senegal"]},{"emoji":"🇸🇴","group":9,"order":4993,"tags":["깃발"],"version":2,"annotation":"깃발: 소말리아","shortcodes":["flag_so","somalia"]},{"emoji":"🇸🇷","group":9,"order":4994,"tags":["깃발"],"version":2,"annotation":"깃발: 수리남","shortcodes":["flag_sr","suriname"]},{"emoji":"🇸🇸","group":9,"order":4995,"tags":["깃발"],"version":2,"annotation":"깃발: 남수단","shortcodes":["flag_ss","south_sudan"]},{"emoji":"🇸🇹","group":9,"order":4996,"tags":["깃발"],"version":2,"annotation":"깃발: 상투메 프린시페","shortcodes":["flag_st","sao_tome_principe"]},{"emoji":"🇸🇻","group":9,"order":4997,"tags":["깃발"],"version":2,"annotation":"깃발: 엘살바도르","shortcodes":["el_salvador","flag_sv"]},{"emoji":"🇸🇽","group":9,"order":4998,"tags":["깃발"],"version":2,"annotation":"깃발: 신트마르턴","shortcodes":["flag_sx","sint_maarten"]},{"emoji":"🇸🇾","group":9,"order":4999,"tags":["깃발"],"version":2,"annotation":"깃발: 시리아","shortcodes":["flag_sy","syria"]},{"emoji":"🇸🇿","group":9,"order":5000,"tags":["깃발"],"version":2,"annotation":"깃발: 에스와티니","shortcodes":["eswatini","flag_sz","swaziland"]},{"emoji":"🇹🇦","group":9,"order":5001,"tags":["깃발"],"version":2,"annotation":"깃발: 트리스탄다쿠나","shortcodes":["flag_ta","tristan_da_cunha"]},{"emoji":"🇹🇨","group":9,"order":5002,"tags":["깃발"],"version":2,"annotation":"깃발: 터크스 케이커스 제도","shortcodes":["flag_tc","turks_caicos_islands"]},{"emoji":"🇹🇩","group":9,"order":5003,"tags":["깃발"],"version":2,"annotation":"깃발: 차드","shortcodes":["chad","flag_td"]},{"emoji":"🇹🇫","group":9,"order":5004,"tags":["깃발"],"version":2,"annotation":"깃발: 프랑스령 남방 지역","shortcodes":["flag_tf","french_southern_territories"]},{"emoji":"🇹🇬","group":9,"order":5005,"tags":["깃발"],"version":2,"annotation":"깃발: 토고","shortcodes":["flag_tg","togo"]},{"emoji":"🇹🇭","group":9,"order":5006,"tags":["깃발"],"version":2,"annotation":"깃발: 태국","shortcodes":["flag_th","thailand"]},{"emoji":"🇹🇯","group":9,"order":5007,"tags":["깃발"],"version":2,"annotation":"깃발: 타지키스탄","shortcodes":["flag_tj","tajikistan"]},{"emoji":"🇹🇰","group":9,"order":5008,"tags":["깃발"],"version":2,"annotation":"깃발: 토켈라우","shortcodes":["flag_tk","tokelau"]},{"emoji":"🇹🇱","group":9,"order":5009,"tags":["깃발"],"version":2,"annotation":"깃발: 동티모르","shortcodes":["flag_tl","timor_leste"]},{"emoji":"🇹🇲","group":9,"order":5010,"tags":["깃발"],"version":2,"annotation":"깃발: 투르크메니스탄","shortcodes":["flag_tm","turkmenistan"]},{"emoji":"🇹🇳","group":9,"order":5011,"tags":["깃발"],"version":2,"annotation":"깃발: 튀니지","shortcodes":["flag_tn","tunisia"]},{"emoji":"🇹🇴","group":9,"order":5012,"tags":["깃발"],"version":2,"annotation":"깃발: 통가","shortcodes":["flag_to","tonga"]},{"emoji":"🇹🇷","group":9,"order":5013,"tags":["깃발"],"version":2,"annotation":"깃발: 튀르키예","shortcodes":["flag_tr","turkey_tr"]},{"emoji":"🇹🇹","group":9,"order":5014,"tags":["깃발"],"version":2,"annotation":"깃발: 트리니다드 토바고","shortcodes":["flag_tt","trinidad_tobago"]},{"emoji":"🇹🇻","group":9,"order":5015,"tags":["깃발"],"version":2,"annotation":"깃발: 투발루","shortcodes":["flag_tv","tuvalu"]},{"emoji":"🇹🇼","group":9,"order":5016,"tags":["깃발"],"version":2,"annotation":"깃발: 대만","shortcodes":["flag_tw","taiwan"]},{"emoji":"🇹🇿","group":9,"order":5017,"tags":["깃발"],"version":2,"annotation":"깃발: 탄자니아","shortcodes":["flag_tz","tanzania"]},{"emoji":"🇺🇦","group":9,"order":5018,"tags":["깃발"],"version":2,"annotation":"깃발: 우크라이나","shortcodes":["flag_ua","ukraine"]},{"emoji":"🇺🇬","group":9,"order":5019,"tags":["깃발"],"version":2,"annotation":"깃발: 우간다","shortcodes":["flag_ug","uganda"]},{"emoji":"🇺🇲","group":9,"order":5020,"tags":["깃발"],"version":2,"annotation":"깃발: 미국령 해외 제도","shortcodes":["flag_um","us_outlying_islands"]},{"emoji":"🇺🇳","group":9,"order":5021,"tags":["깃발"],"version":4,"annotation":"깃발: 국제연합","shortcodes":["flag_un","un","united_nations"]},{"emoji":"🇺🇸","group":9,"order":5022,"tags":["깃발"],"version":0.6,"annotation":"깃발: 미국","shortcodes":["flag_us","united_states","usa"]},{"emoji":"🇺🇾","group":9,"order":5023,"tags":["깃발"],"version":2,"annotation":"깃발: 우루과이","shortcodes":["flag_uy","uruguay"]},{"emoji":"🇺🇿","group":9,"order":5024,"tags":["깃발"],"version":2,"annotation":"깃발: 우즈베키스탄","shortcodes":["flag_uz","uzbekistan"]},{"emoji":"🇻🇦","group":9,"order":5025,"tags":["깃발"],"version":2,"annotation":"깃발: 바티칸 시국","shortcodes":["flag_va","vatican_city"]},{"emoji":"🇻🇨","group":9,"order":5026,"tags":["깃발"],"version":2,"annotation":"깃발: 세인트빈센트그레나딘","shortcodes":["flag_vc","st_vincent_grenadines"]},{"emoji":"🇻🇪","group":9,"order":5027,"tags":["깃발"],"version":2,"annotation":"깃발: 베네수엘라","shortcodes":["flag_ve","venezuela"]},{"emoji":"🇻🇬","group":9,"order":5028,"tags":["깃발"],"version":2,"annotation":"깃발: 영국령 버진아일랜드","shortcodes":["british_virgin_islands","flag_vg"]},{"emoji":"🇻🇮","group":9,"order":5029,"tags":["깃발"],"version":2,"annotation":"깃발: 미국령 버진아일랜드","shortcodes":["flag_vi","us_virgin_islands"]},{"emoji":"🇻🇳","group":9,"order":5030,"tags":["깃발"],"version":2,"annotation":"깃발: 베트남","shortcodes":["flag_vn","vietnam"]},{"emoji":"🇻🇺","group":9,"order":5031,"tags":["깃발"],"version":2,"annotation":"깃발: 바누아투","shortcodes":["flag_vu","vanuatu"]},{"emoji":"🇼🇫","group":9,"order":5032,"tags":["깃발"],"version":2,"annotation":"깃발: 왈리스-푸투나 제도","shortcodes":["flag_wf","wallis_futuna"]},{"emoji":"🇼🇸","group":9,"order":5033,"tags":["깃발"],"version":2,"annotation":"깃발: 사모아","shortcodes":["flag_ws","samoa"]},{"emoji":"🇽🇰","group":9,"order":5034,"tags":["깃발"],"version":2,"annotation":"깃발: 코소보","shortcodes":["flag_xk","kosovo"]},{"emoji":"🇾🇪","group":9,"order":5035,"tags":["깃발"],"version":2,"annotation":"깃발: 예멘","shortcodes":["flag_ye","yemen"]},{"emoji":"🇾🇹","group":9,"order":5036,"tags":["깃발"],"version":2,"annotation":"깃발: 마요트","shortcodes":["flag_yt","mayotte"]},{"emoji":"🇿🇦","group":9,"order":5037,"tags":["깃발"],"version":2,"annotation":"깃발: 남아프리카","shortcodes":["flag_za","south_africa"]},{"emoji":"🇿🇲","group":9,"order":5038,"tags":["깃발"],"version":2,"annotation":"깃발: 잠비아","shortcodes":["flag_zm","zambia"]},{"emoji":"🇿🇼","group":9,"order":5039,"tags":["깃발"],"version":2,"annotation":"깃발: 짐바브웨","shortcodes":["flag_zw","zimbabwe"]},{"emoji":"🏴󠁧󠁢󠁥󠁮󠁧󠁿","group":9,"order":5040,"tags":["깃발"],"version":5,"annotation":"깃발: 잉글랜드","shortcodes":["england","flag_gbeng"]},{"emoji":"🏴󠁧󠁢󠁳󠁣󠁴󠁿","group":9,"order":5041,"tags":["깃발"],"version":5,"annotation":"깃발: 스코틀랜드","shortcodes":["flag_gbsct","scotland"]},{"emoji":"🏴󠁧󠁢󠁷󠁬󠁳󠁿","group":9,"order":5042,"tags":["깃발"],"version":5,"annotation":"깃발: 웨일즈","shortcodes":["flag_gbwls","wales"]}] \ No newline at end of file diff --git a/updates/2026-09-05/deployed/ko.js b/updates/2026-09-05/deployed/ko.js new file mode 100644 index 0000000..53a0741 --- /dev/null +++ b/updates/2026-09-05/deployed/ko.js @@ -0,0 +1 @@ +var a={code:"ko",week:{dow:0,doy:6},buttonText:{prev:"이전달",next:"다음달",today:"오늘",year:"년도",month:"월",week:"주",day:"일",list:"일정목록"},buttonHints:{prev:"이전 $0",next:"다음 $0",today:"오늘"},viewHint(e){return e+" 보기"},weekText:"주",weekTextLong:"주",allDayText:"종일",moreLinkText:"개",moreLinkHint(e){return`일정 ${e}개 더보기`},noEventsText:"일정이 없습니다",navLinkHint:"$0로 이동",closeHint:"닫기",timeHint:"시간",eventHint:"이벤트"};export{a as default}; diff --git a/updates/2026-09-05/deployed/layout_commons.js b/updates/2026-09-05/deployed/layout_commons.js new file mode 100644 index 0000000..2e7688f --- /dev/null +++ b/updates/2026-09-05/deployed/layout_commons.js @@ -0,0 +1,5593 @@ +import triliumKoreanEditorTranslations from "./ckeditor-ko.js"; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./launcher_context_menu.js","./app_context.js","./preload-helper.js","./syntax_highlight.js","./utils.js","./_commonjsHelpers.js","./auto-render.js","./auto-render.css","./tree_context_menu.js","./jquery.js","./index_jquery.js","./ckeditor5.js","./marked.esm.js","./math.js","./mermaid.core.js","./transform.js","./isObjectLike.js","./linear.js","./index-DMWsby55.js","./index-5hH8q7CL.js","./index-DgK5Tp-l.js","./eslint-BLaL04kV.js","./index-ChAH7PmL.js","./index-C-bx8VHj.js","./batch-X8TaNpXx.js","./simple-mode-B0dvCdAA.js","./index-Dzlwgv2b.js","./index-DVtO9wPE.js","./dockerfile-DIy8NleC.js","./factor-DDOC7X6P.js","./gdscript-fVwPZpIE.js","./index-DfHtIUQk.js","./index-DGP8gWJD.js","./index-BOZ6ZR_8.js","./nsis-fePjrhq7.js","./index-iV4hneWX.js","./pug-CwAQJzGR.js","./javascript-C2yteZeJ.js","./rust-DZOEz86s.js","./sass-DXRO2mSp.js","./css-D7hGgwrb.js","./index-BVDyGn0z.js","./index-Byvc7VQm.js","./index-Dqpe0q7-.js","./index-BDUNLGjv.js","./index-xqhK_p3_.js","./index-Co2ZowoL.js","./index-m6eB99Pt.js","./index-CtyT9BpA.js","./index-DzzK8sxM.js","./index-BsQdGQZO.js","./index-BNHmbid4.js","./index-B-_mzY9b.js","./index-BQbQdyQd.js","./index-CkgmqLZz.js","./index-B7IbnQNR.js","./index-F9F1O8fB.js","./index-C-bZr3zn.js","./index-CGkKWkW-.js","./index-C83-juky.js","./index-BLvbl8ks.js","./index-Bm2pFVA9.js","./index-gs0O0rSY.js","./index-BEqJy_lh.js","./index-Dw3iqOwU.js","./index-CWDzYz2u.js","./index-CSTtsAHM.js","./jsplumb.js","./index7.js","./percentages-BXMCSKIN.js","./compat.module.js","./preact.module.js","./percentages-BXMCSKIN.css","./force-graph.js","./toNumber.js","./isSymbol.js","./ordinal.js","./init.js","./colors.js","./min.js","./svg-pan-zoom.js","./index2.js","./index.js","./internal.js","./index5.js","./index6.js","./index3.js","./index4.js","./mark.js"])))=>i.map(i=>d[i]); +import{t as m,o as Qt,s as pt,e as ib,h as nb,u as ob,j as sb,k as Nf,m as al,c as Mf,f as Yd,b as rb,d as Pf,l as ab,n as lb}from"./syntax_highlight.js";import{T as cb,B as ge,f as Mt,c as Ho,a as Pt,k as qo,b as ft,m as li,w as yi,l as Pe,N as hi,t as fe,n as yr,d as Me,s as Bi,i as ll,q as Mi,S as Hi,r as Of,u as Jd,A as db,v as Qd,x as hb,o as en,y as ub,j as Df,W as pb,D as fb,E as $r,F as mb,g as gb,G as vb,H as yb,I as cl,h as bb}from"./app_context.js";import{u as ct,T as As,D as Ko,h as Sr,d as br,e as Qn,M as Pi}from"./utils.js";import{g as Br}from"./_commonjsHelpers.js";import{_ as Z}from"./preload-helper.js";import{r as Ll}from"./jquery.js";import{n as Xe}from"./index_jquery.js";import{EditorWatchdog as uu,ClassicEditor as Yc,PopupEditor as pu}from"./ckeditor5.js";import{r as Rf}from"./auto-render.js";import{m as wb}from"./marked.esm.js";class Bf extends cb{doRender(){this.$widget=$("
"),this.renderChildren()}renderChildren(){for(const t of this.children){if(!("render"in t))throw"Non-renderable widget encountered.";const e=t;try{"render"in t&&this.$widget.append(e.render())}catch(i){e.logRenderingError(i)}}}}class Xd extends Bf{constructor(t){if(super(),!t||!["row","column"].includes(t))throw new Error(`Direction argument given as '${t}', use either 'row' or 'column'`);this.attrs.style=`display: flex; flex-direction: ${t};`}}const _b=` +
+ + + +
+`;class xb extends ge{doRender(){this.$widget=$(_b)}updateVersionStatus(t){this.$widget.toggle(ct.isUpdateAvailable(t,glob.triliumVersion))}}const kb=` + +`;class TA extends ge{updateAvailableWidget;isHorizontalLayout;tooltip;dropdown;$updateToLatestVersionButton;$zoomState;$toggleZenMode;constructor(t){super(),this.updateAvailableWidget=new xb,this.isHorizontalLayout=t}doRender(){this.$widget=$(kb),this.isHorizontalLayout||this.$widget.addClass("dropend");const t=this.$widget.find(".global-menu-button");this.isHorizontalLayout?t.toggleClass("bx bx-menu"):(t.prepend($(` + + + + + + + + + + + + + + `)),this.tooltip=new As(this.$widget.find("[data-bs-toggle='tooltip']")[0],{trigger:"hover"})),this.dropdown=Ko.getOrCreateInstance(this.$widget.find("[data-bs-toggle='dropdown']")[0],{popperConfig:{placement:"bottom"}}),this.$widget.find(".show-about-dialog-button").on("click",()=>this.triggerCommand("openAboutDialog"));const e=ct.isElectron();this.$widget.find(".toggle-pin").toggle(e),e&&this.$widget.on("click",".toggle-pin",i=>{const n=$(i.target),a=ct.dynamicRequire("@electron/remote").BrowserWindow.getFocusedWindow();a.isAlwaysOnTop()?(a.setAlwaysOnTop(!1),n.removeClass("active")):(a.setAlwaysOnTop(!0),n.addClass("active"))}),this.$widget.find(".logout-button").toggle(!e),this.$widget.find(".logout-button-separator").toggle(!e),this.$widget.find(".open-dev-tools-button").toggle(e),this.$widget.find(".switch-to-mobile-version-button").toggle(!e&&ct.isDesktop()),this.$widget.find(".switch-to-desktop-version-button").toggle(!e&&ct.isMobile()),this.$widget.on("click",".dropdown-item",i=>{$(i.target).parent(".zoom-buttons")||this.dropdown.toggle()}),ct.isMobile()&&this.$widget.on("click",".dropdown-submenu .dropdown-toggle",i=>{const n=$(i.target).closest(".dropdown-item");n.toggleClass("submenu-open"),n.find("ul.dropdown-menu").toggleClass("show"),i.stopPropagation()}),this.$widget.on("click",".dropdown-submenu",i=>{($(i.target).children(".dropdown-menu").length===1||$(i.target).hasClass("dropdown-toggle"))&&i.stopPropagation()}),this.$widget.find(".global-menu-button-update-available").append(this.updateAvailableWidget.render()),this.$updateToLatestVersionButton=this.$widget.find(".update-to-latest-version-button"),ct.isElectron()||this.$widget.find(".zoom-container").hide(),this.$zoomState=this.$widget.find(".zoom-state"),this.$toggleZenMode=this.$widget.find('[data-trigger-command="toggleZenMode"'),this.$toggleZenMode.toggle(!ct.isMobile()),this.$widget.on("show.bs.dropdown",()=>this.#t()),this.tooltip&&this.$widget.on("hide.bs.dropdown",()=>this.tooltip.enable()),this.$widget.find(".zoom-buttons").on("click",()=>setTimeout(()=>this.updateZoomState(),300)),this.updateVersionStatus(),setInterval(()=>this.updateVersionStatus(),8*60*60*1e3)}#t(){this.$toggleZenMode.toggleClass("active",$("body").hasClass("zen")),this.updateZoomState(),this.tooltip&&(this.tooltip.hide(),this.tooltip.disable())}updateZoomState(){if(!ct.isElectron())return;const t=ct.dynamicRequire("electron").webFrame.getZoomFactor(),e=Math.round(t*100);this.$zoomState.text(`${e}%`)}async updateVersionStatus(){if(await Qt.initializedPromise,Qt.get("checkForUpdates")!=="true")return;const t=await this.fetchLatestVersion();this.updateAvailableWidget.updateVersionStatus(t),this.$updateToLatestVersionButton.toggle(ct.isUpdateAvailable(t,glob.triliumVersion)),this.$updateToLatestVersionButton.find(".version-text").text(`Version ${t} is available, click to download.`)}async fetchLatestVersion(){return(await(await fetch("https://api.github.com/repos/TriliumNext/Notes/releases/latest")).json())?.tag_name?.substring(1)}downloadLatestVersionCommand(){window.open("https://github.com/TriliumNext/Notes/releases/latest")}activeContextChangedEvent(){this.dropdown.hide()}noteSwitchedEvent(){this.dropdown.hide()}}var Ka={exports:{}},gc={exports:{}};/*! + * Infinite Scroll v2.0.4 + * measure size of elements + * MIT license + */var fu;function Cb(){return fu||(fu=1,function(o){(function(t,e){o.exports?o.exports=e():t.getSize=e()})(window,function(){function e(a){let l=parseFloat(a);return a.indexOf("%")==-1&&!isNaN(l)&&l}let i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function n(){let a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return i.forEach(l=>{a[l]=0}),a}function s(a){if(typeof a=="string"&&(a=document.querySelector(a)),!(a&&typeof a=="object"&&a.nodeType))return;let c=getComputedStyle(a);if(c.display=="none")return n();let u={};u.width=a.offsetWidth,u.height=a.offsetHeight;let p=u.isBorderBox=c.boxSizing=="border-box";i.forEach(H=>{let Q=c[H],tt=parseFloat(Q);u[H]=isNaN(tt)?0:tt});let v=u.paddingLeft+u.paddingRight,x=u.paddingTop+u.paddingBottom,T=u.marginLeft+u.marginRight,M=u.marginTop+u.marginBottom,P=u.borderLeftWidth+u.borderRightWidth,F=u.borderTopWidth+u.borderBottomWidth,R=e(c.width);R!==!1&&(u.width=R+(p?0:v+P));let q=e(c.height);return q!==!1&&(u.height=q+(p?0:x+F)),u.innerWidth=u.width-(v+P),u.innerHeight=u.height-(x+F),u.outerWidth=u.width+T,u.outerHeight=u.height+M,u}return s})}(gc)),gc.exports}var Za={exports:{}},Ga={exports:{}},$b=Ga.exports,mu;function Sb(){return mu||(mu=1,function(o){(function(t,e){o.exports?o.exports=e():t.EvEmitter=e()})(typeof window<"u"?window:$b,function(){function t(){}let e=t.prototype;return e.on=function(i,n){if(!i||!n)return this;let s=this._events=this._events||{},a=s[i]=s[i]||[];return a.includes(n)||a.push(n),this},e.once=function(i,n){if(!i||!n)return this;this.on(i,n);let s=this._onceEvents=this._onceEvents||{},a=s[i]=s[i]||{};return a[n]=!0,this},e.off=function(i,n){let s=this._events&&this._events[i];if(!s||!s.length)return this;let a=s.indexOf(n);return a!=-1&&s.splice(a,1),this},e.emitEvent=function(i,n){let s=this._events&&this._events[i];if(!s||!s.length)return this;s=s.slice(0),n=n||[];let a=this._onceEvents&&this._onceEvents[i];for(let l of s)a&&a[l]&&(this.off(i,l),delete a[l]),l.apply(this,n);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})}(Ga)),Ga.exports}/*! + * Unidragger v3.0.1 + * Draggable base class + * MIT license + */var Tb=Za.exports,gu;function Eb(){return gu||(gu=1,function(o){(function(t,e){o.exports?o.exports=e(t,Sb()):t.Unidragger=e(t,t.EvEmitter)})(typeof window<"u"?window:Tb,function(e,i){function n(){}let s=n.prototype=Object.create(i.prototype);s.handleEvent=function(p){let v="on"+p.type;this[v]&&this[v](p)};let a,l;"ontouchstart"in e?(a="touchstart",l=["touchmove","touchend","touchcancel"]):e.PointerEvent?(a="pointerdown",l=["pointermove","pointerup","pointercancel"]):(a="mousedown",l=["mousemove","mouseup"]),s.touchActionValue="none",s.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},s.unbindHandles=function(){this._bindHandles("removeEventListener","")},s._bindHandles=function(p,v){this.handles.forEach(x=>{x[p](a,this),x[p]("click",this),e.PointerEvent&&(x.style.touchAction=v)})},s.bindActivePointerEvents=function(){l.forEach(p=>{e.addEventListener(p,this)})},s.unbindActivePointerEvents=function(){l.forEach(p=>{e.removeEventListener(p,this)})},s.withPointer=function(p,v){v.pointerId===this.pointerIdentifier&&this[p](v,v)},s.withTouch=function(p,v){let x;for(let T of v.changedTouches)T.identifier===this.pointerIdentifier&&(x=T);x&&this[p](v,x)},s.onmousedown=function(p){this.pointerDown(p,p)},s.ontouchstart=function(p){this.pointerDown(p,p.changedTouches[0])},s.onpointerdown=function(p){this.pointerDown(p,p)};const c=["TEXTAREA","INPUT","SELECT","OPTION"],u=["radio","checkbox","button","submit","image","file"];return s.pointerDown=function(p,v){let x=c.includes(p.target.nodeName),T=u.includes(p.target.type),M=!x||T;!this.isPointerDown&&!p.button&&M&&(this.isPointerDown=!0,this.pointerIdentifier=v.pointerId!==void 0?v.pointerId:v.identifier,this.pointerDownPointer={pageX:v.pageX,pageY:v.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[p,v]))},s.onmousemove=function(p){this.pointerMove(p,p)},s.onpointermove=function(p){this.withPointer("pointerMove",p)},s.ontouchmove=function(p){this.withTouch("pointerMove",p)},s.pointerMove=function(p,v){let x={x:v.pageX-this.pointerDownPointer.pageX,y:v.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[p,v,x]),!this.isDragging&&this.hasDragStarted(x)&&this.dragStart(p,v),this.isDragging&&this.dragMove(p,v,x)},s.hasDragStarted=function(p){return Math.abs(p.x)>3||Math.abs(p.y)>3},s.dragStart=function(p,v){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[p,v])},s.dragMove=function(p,v,x){this.emitEvent("dragMove",[p,v,x])},s.onmouseup=function(p){this.pointerUp(p,p)},s.onpointerup=function(p){this.withPointer("pointerUp",p)},s.ontouchend=function(p){this.withTouch("pointerUp",p)},s.pointerUp=function(p,v){this.pointerDone(),this.emitEvent("pointerUp",[p,v]),this.isDragging?this.dragEnd(p,v):this.staticClick(p,v)},s.dragEnd=function(p,v){this.isDragging=!1,setTimeout(()=>delete this.isPreventingClicks),this.emitEvent("dragEnd",[p,v])},s.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},s.onpointercancel=function(p){this.withPointer("pointerCancel",p)},s.ontouchcancel=function(p){this.withTouch("pointerCancel",p)},s.pointerCancel=function(p,v){this.pointerDone(),this.emitEvent("pointerCancel",[p,v])},s.onclick=function(p){this.isPreventingClicks&&p.preventDefault()},s.staticClick=function(p,v){let x=p.type==="mouseup";x&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[p,v]),x&&(this.isIgnoringMouseUp=!0,setTimeout(()=>{delete this.isIgnoringMouseUp},400)))},n})}(Za)),Za.exports}/*! + * Draggabilly v3.0.0 + * Make that shiz draggable + * https://draggabilly.desandro.com + * MIT license + */var Ib=Ka.exports,vu;function Ab(){return vu||(vu=1,function(o){(function(t,e){o.exports?o.exports=e(t,Cb(),Eb()):t.Draggabilly=e(t,t.getSize,t.Unidragger)})(typeof window<"u"?window:Ib,function(e,i,n){function s(){}let a=e.jQuery;function l(M,P){this.element=typeof M=="string"?document.querySelector(M):M,a&&(this.$element=a(this.element)),this.options={},this.option(P),this._create()}let c=l.prototype=Object.create(n.prototype);c.option=function(M){this.options={...this.options,...M}};const u=["relative","absolute","fixed"];c._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition={...this.position};let M=getComputedStyle(this.element);u.includes(M.position)||(this.element.style.position="relative"),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.setHandles(),this.enable()},c.setHandles=function(){let{handle:M}=this.options;typeof M=="string"?this.handles=this.element.querySelectorAll(M):typeof M=="object"&&M.length?this.handles=M:M instanceof HTMLElement?this.handles=[M]:this.handles=[this.element]};const p=["dragStart","dragMove","dragEnd"];let v=c.emitEvent;c.emitEvent=function(M,P){if(!this.isEnabled&&p.includes(M))return;v.call(this,M,P);let R=e.jQuery;if(!R||!this.$element)return;let q,H=P;P&&P[0]instanceof Event&&([q,...H]=P);let tt=R.Event(q);tt.type=M,this.$element.trigger(tt,H)},c._getPosition=function(){let M=getComputedStyle(this.element),P=this._getPositionCoord(M.left,"width"),F=this._getPositionCoord(M.top,"height");this.position.x=isNaN(P)?0:P,this.position.y=isNaN(F)?0:F,this._addTransformPosition(M)},c._getPositionCoord=function(M,P){if(M.includes("%")){let F=i(this.element.parentNode);return F?parseFloat(M)/100*F[P]:0}return parseInt(M,10)},c._addTransformPosition=function(M){let P=M.transform;if(!P.startsWith("matrix"))return;let F=P.split(","),R=P.startsWith("matrix3d")?12:4,q=parseInt(F[R],10),H=parseInt(F[R+1],10);this.position.x+=q,this.position.y+=H},c.handlePointerDown=function(M,P){this.isEnabled&&(this.pointerDownPointer={pageX:P.pageX,pageY:P.pageY},M.preventDefault(),document.activeElement.blur(),this.bindActivePointerEvents(M),this.element.classList.add("is-pointer-down"))},c.handleDragStart=function(){this.isEnabled&&(this._getPosition(),this.measureContainment(),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this.element.classList.add("is-dragging"),this.animate())},c.measureContainment=function(){let M=this.getContainer();if(!M)return;let P=i(this.element),F=i(M),{borderLeftWidth:R,borderRightWidth:q,borderTopWidth:H,borderBottomWidth:Q}=F,tt=this.element.getBoundingClientRect(),it=M.getBoundingClientRect(),rt=R+q,vt=H+Q,Dt=this.relativeStartPosition={x:tt.left-(it.left+R),y:tt.top-(it.top+H)};this.containSize={width:F.width-rt-Dt.x-P.width,height:F.height-vt-Dt.y-P.height}},c.getContainer=function(){let M=this.options.containment;return M?M instanceof HTMLElement?M:typeof M=="string"?document.querySelector(M):this.element.parentNode:void 0},c.handleDragMove=function(M,P,F){if(!this.isEnabled)return;let R=F.x,q=F.y,H=this.options.grid,Q=H&&H[0],tt=H&&H[1];R=x(R,Q),q=x(q,tt),R=this.containDrag("x",R,Q),q=this.containDrag("y",q,tt),R=this.options.axis=="y"?0:R,q=this.options.axis=="x"?0:q,this.position.x=this.startPosition.x+R,this.position.y=this.startPosition.y+q,this.dragPoint.x=R,this.dragPoint.y=q};function x(M,P,F){return P?(F=F||"round",Math[F](M/P)*P):M}c.containDrag=function(M,P,F){if(!this.options.containment)return P;let R=M=="x"?"width":"height",q=this.relativeStartPosition[M],H=x(-q,F,"ceil"),Q=this.containSize[R];return Q=x(Q,F,"floor"),Math.max(H,Math.min(Q,P))},c.handlePointerUp=function(){this.element.classList.remove("is-pointer-down")},c.handleDragEnd=function(){this.isEnabled&&(this.element.style.transform="",this.setLeftTop(),this.element.classList.remove("is-dragging"))},c.animate=function(){this.isDragging&&(this.positionDrag(),requestAnimationFrame(()=>this.animate()))},c.setLeftTop=function(){let{x:M,y:P}=this.position;this.element.style.left=`${M}px`,this.element.style.top=`${P}px`},c.positionDrag=function(){let{x:M,y:P}=this.dragPoint;this.element.style.transform=`translate3d(${M}px, ${P}px, 0)`},c.setPosition=function(M,P){this.position.x=M,this.position.y=P,this.setLeftTop()},c.enable=function(){this.isEnabled||(this.isEnabled=!0,this.bindHandles())},c.disable=function(){this.isEnabled&&(this.isEnabled=!1,this.isDragging&&this.dragEnd(),this.unbindHandles())};const T=["transform","left","top","position"];return c.destroy=function(){this.disable(),T.forEach(M=>{this.element.style[M]=""}),this.unbindHandles(),this.$element&&this.$element.removeData("draggabilly")},c._init=s,a&&a.bridget&&a.bridget("draggabilly",l),l})}(Ka)),Ka.exports}var Lb=Ab();const Nb=Br(Lb);async function Mb(o,t,e=""){await pt.put(`notes/${o}/attribute`,{type:"label",name:t,value:e})}async function Pb(o,t,e=""){await pt.put(`notes/${o}/set-attribute`,{type:"label",name:t,value:e})}async function zf(o,t){await pt.remove(`notes/${o}/attributes/${t}`)}function Ob(o,t){const e=o.getOwnedLabel(t);return e?(zf(o.noteId,e.attributeId),!0):!1}async function Db(o,t,e,i){if(i)await pt.put(`notes/${o.noteId}/set-attribute`,{type:t,name:e,value:i});else{const n=o.getAttribute(t,e)?.attributeId;n&&await pt.remove(`notes/${o.noteId}/attributes/${n}`)}}function Rb(o,t){if(!t||!o)return!1;const e=o.noteId&&Mt.notes[o.noteId];if(!e)return!1;const i=[t,...t.getNotesToInheritAttributesFrom()];for(const n of i)if(n.noteId===e.noteId)return!0;if(this.isInheritable){for(const n of i)if(n.hasAncestor(e.noteId,!0))return!0}return!1}const Be={addLabel:Mb,setLabel:Pb,setAttribute:Db,removeAttributeById:zf,removeOwnedLabelByName:Ob,isAffecting:Rb},Bb=ct.isDesktop(),yu=100,bu=240,wu=5,_u=36,xu=36,Ff=Bb?50:15,ma=5,zb=84,Fb=60,Wb=48,Hb=` +
+
+
+
+
+
+
+
`,Vb='
',Ub=`
+
`,jb='
',qb=` +
+ +
+
+
+
+
+
`;class EA extends ge{isDragging;showNoteIcons;draggabillies;draggabillyDragging;$style;$tabScrollingContainer;$tabContainer;$scrollButtonLeft;$scrollButtonRight;$containerAnchor;$filler;$newTab;updateScrollTimeout;newTabOuterWidth=0;scrollButtonsOuterWidth=0;doRender(){this.$widget=$(qb),this.$tabScrollingContainer=this.$widget.children(".tab-row-widget-scrolling-container"),this.$tabContainer=this.$widget.find(".tab-row-widget-container"),this.$scrollButtonLeft=this.$widget.children(".tab-scroll-button-left"),this.$scrollButtonRight=this.$widget.children(".tab-scroll-button-right");const t=window.getComputedStyle(document.documentElement);this.showNoteIcons=t.getPropertyValue("--tab-note-icons")==="true",this.draggabillies=[],this.setupStyle(),this.setupEvents(),this.setupContainerAnchor(),this.setupDraggabilly(),this.setupNewButton(),this.setupFiller(),this.layoutTabs(),this.setVisibility(),this.setupScrollEvents(),this.$widget.on("contextmenu",".note-tab",e=>{e.preventDefault();const i=$(e.target).closest(".note-tab").attr("data-ntx-id");Ho.show({x:e.pageX,y:e.pageY,items:[{title:m("tab_row.close"),command:"closeTab",uiIcon:"bx bx-x"},{title:m("tab_row.close_other_tabs"),command:"closeOtherTabs",uiIcon:"bx bx-empty",enabled:Pt.tabManager.noteContexts.length!==1},{title:m("tab_row.close_right_tabs"),command:"closeRightTabs",uiIcon:"bx bx-empty",enabled:Pt.tabManager.noteContexts?.at(-1)?.ntxId!==i},{title:m("tab_row.close_all_tabs"),command:"closeAllTabs",uiIcon:"bx bx-empty"},{title:"----"},{title:m("tab_row.reopen_last_tab"),command:"reopenLastTab",uiIcon:"bx bx-undo",enabled:Pt.tabManager.recentlyClosedTabs.length!==0},{title:"----"},{title:m("tab_row.move_tab_to_new_window"),command:"moveTabToNewWindow",uiIcon:"bx bx-window-open"},{title:m("tab_row.copy_tab_to_new_window"),command:"copyTabToNewWindow",uiIcon:"bx bx-empty"}],selectMenuItemHandler:({command:n})=>{n&&this.triggerCommand(n,{ntxId:i})}})})}setupStyle(){this.$style=$(" + +
+ +
+ + + + + +
+ + +
+

${m("note_tree.tree-settings-title")}

+
+ +
+
+ +
+ +
+ + +
+
+`,va=100,ya=o=>o.stopPropagation();class IA extends hi{$tree;$treeActions;$treeSettingsButton;$treeSettingsPopup;$saveTreeSettingsButton;$hideArchivedNotesCheckbox;$autoCollapseNoteTree;treeName;autoCollapseTimeoutId;lastFilteredHoistedNotePath;tree;constructor(){super(),this.treeName="main"}doRender(){this.$widget=$(dw),this.$tree=this.$widget.find(".tree"),this.$treeActions=this.$widget.find(".tree-actions"),this.$tree.on("mousedown",".unhoist-button",()=>li.unhoist()),this.$tree.on("mousedown",".refresh-search-button",t=>this.refreshSearch(t)),this.$tree.on("mousedown",".add-note-button",t=>{const e=$.ui.fancytree.getNode(t),i=fe.getNotePath(e);yr.createNote(i,{isProtected:e.data.isProtected})}),this.$tree.on("mousedown",".enter-workspace-button",t=>{const e=$.ui.fancytree.getNode(t);this.triggerCommand("hoistNote",{noteId:e.data.noteId})}),this.$tree.on("mousedown",".fancytree-title",t=>{if(t.which===2){const e=$.ui.fancytree.getNode(t),i=fe.getNotePath(e);i&&Pt.tabManager.openTabWithNoteWithHoisting(i,{activate:!!t.shiftKey}),t.stopPropagation(),t.preventDefault()}}),this.$treeSettingsPopup=this.$widget.find(".tree-settings-popup"),this.$hideArchivedNotesCheckbox=this.$treeSettingsPopup.find(".hide-archived-notes"),this.$autoCollapseNoteTree=this.$treeSettingsPopup.find(".auto-collapse-note-tree"),this.$treeSettingsButton=this.$widget.find(".tree-settings-button"),this.$treeSettingsButton.on("click",t=>{if(this.$treeSettingsPopup.is(":visible")){this.$treeSettingsPopup.hide();return}this.$hideArchivedNotesCheckbox.prop("checked",this.hideArchivedNotes),this.$autoCollapseNoteTree.prop("checked",this.autoCollapseNoteTree);const e=this.$treeActions[0].offsetTop-(this.$treeSettingsPopup.outerHeight()??0),i=Math.max(0,this.$treeActions[0].offsetLeft-(this.$treeSettingsPopup.outerWidth()??0)+(this.$treeActions.outerWidth()??0));return this.$treeSettingsPopup.css({top:e,left:i}).show(),!1}),this.$treeSettingsPopup.on("click",t=>{t.stopPropagation()}),$(document).on("click",()=>this.$treeSettingsPopup.hide()),this.$saveTreeSettingsButton=this.$treeSettingsPopup.find(".save-tree-settings-button"),this.$saveTreeSettingsButton.on("click",async()=>{await this.setHideArchivedNotes(this.$hideArchivedNotesCheckbox.prop("checked")),await this.setAutoCollapseNoteTree(this.$autoCollapseNoteTree.prop("checked")),this.$treeSettingsPopup.hide(),this.reloadTreeFromCache()}),Promise.all([Qt.initializedPromise,Mt.initializedPromise]).then(()=>this.initFancyTree()),this.setupNoteTitleTooltip()}setupNoteTitleTooltip(){const t=(e,i)=>{const n=e.offset(),s=(n?.top??0)+(e.outerHeight(!0)??0),a=(n?.left??0)+(e.outerWidth(!0)??0),l=i.offset(),c=(l?.top??0)+(i.outerHeight(!0)??0),u=(l?.left??0)+(i.outerWidth(!0)??0);return s>c&&(n?.top??0)<(l?.top??0)&&a>u&&(n?.left??0)<(l?.left??0)};this.$tree.on("mouseenter","span.fancytree-title",e=>{e.currentTarget.title=t(this.$tree,$(e.currentTarget))?"":e.currentTarget.innerText})}get hideArchivedNotes(){return Qt.is(`hideArchivedNotes_${this.treeName}`)}async setHideArchivedNotes(t){await Qt.save(`hideArchivedNotes_${this.treeName}`,t.toString())}get autoCollapseNoteTree(){return Qt.is("autoCollapseNoteTree")}async setAutoCollapseNoteTree(t){await Qt.save("autoCollapseNoteTree",t.toString())}initFancyTree(){const t=[this.prepareRootNode()];if(this.$tree.fancytree({titlesTabbable:!0,keyboard:!0,extensions:["dnd5","clones","filter"],source:t,scrollOfs:{top:100,bottom:100},scrollParent:this.$tree,minExpandLevel:2,click:(i,n)=>{this.activityDetected();const s=n.targetType,a=n.node,l=ct.isCtrlKey(i);if(a.isSelected()&&s==="icon")return this.triggerCommand("openBulkActionsDialog",{selectedOrActiveNoteIds:this.getSelectedOrActiveNoteIds(a)}),!1;if(s==="title"||s==="icon"){if(i.shiftKey&&!l){let c=function(p,v){for(let x=0;p&&p!==v&&x<1e4;x++)p.setSelected(!0),p=p.getNextSibling();v.setSelected()};const u=this.getActiveNode();if(u.getParent()!==a.getParent())return!0;this.clearSelectedNodes(),u.getIndex()li.getHoistedNoteId()==="_hidden"?n.data.noteId!=="root":n.data.noteId!=="_hidden",activate:async(i,n)=>{Ho.hide(),$(".dropdown-menu").parent(".dropdown").find('[data-bs-toggle="dropdown"]').dropdown("hide"),this.clearSelectedNodes();const s=fe.getNotePath(n.node),a=Pt.tabManager.getActiveContext(),l={};a?.viewScope?.viewMode==="contextual-help"&&(l.viewScope=a.viewScope),await a?.setNote(s,l)},expand:(i,n)=>this.setExpanded(n.node.data.branchId,!0),collapse:(i,n)=>this.setExpanded(n.node.data.branchId,!1),filter:{counter:!1,mode:"hide",autoExpand:!0},dnd5:{autoExpandMS:600,preventLazyParents:!1,dragStart:(i,n)=>{if(i.data.noteId==="root"||ct.isLaunchBarConfig(i.data.noteId)||i.data.noteId.startsWith("_options"))return!1;const s=this.getSelectedOrActiveNodes(i).map(a=>({noteId:a.data.noteId,branchId:a.data.branchId,title:a.title}));return s.length===1?Pe.createLink(s[0].noteId,{referenceLink:!0,autoConvertToImage:!0}).then(a=>n.dataTransfer.setData("text/html",a[0].outerHTML)):Promise.all(s.map(a=>Pe.createLink(a.noteId,{referenceLink:!0,autoConvertToImage:!0}))).then(a=>{const l=$("