diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md new file mode 100644 index 00000000..4d4470ec --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md @@ -0,0 +1,161 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Other changes + +* Updated translations. ([b3bc679](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/b3bc679)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([5249150](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/5249150)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.5...v15.0.0) (October 23, 2019) + +### Other changes + +* Updated translations. ([b7ae885](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/b7ae885)) ([f03c652](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/f03c652)) + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Other changes + +* Changed the URL under bugs key in package.json file. Now we have one issue tracker. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([7edd73b](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7edd73b)) +* Updated translations. ([8fb4cc2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/8fb4cc2)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.1...v11.0.2) (June 6, 2019) + +### Other changes + +* Updated translations. ([7d00af1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7d00af1)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Updated translations. ([3a0fe51](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/3a0fe51)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### Other changes + +* Updated translations. ([0e55853](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/0e55853)) ([818eeae](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/818eeae)) ([707fa21](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/707fa21)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.3...v10.0.4) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.2...v10.0.3) (October 8, 2018) + +### Other changes + +* Updated translations. ([896412d](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/896412d)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Updated translations. ([69db8e3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/69db8e3)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. ([6360b78](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/6360b78)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([06caac5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/06caac5)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Other changes + +* Updated translations. ([02712bb](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/02712bb)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([7f80868](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7f80868)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v0.1.1...v1.0.0-alpha.1) (October 3, 2017) + +### Other changes + +* The plugin will not log a warning when `config.ckfinder.uploadUrl` is not specified (because `FileRepository` will do it itself). Closes [#5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/issues/5). ([1a15688](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/1a15688)) + + +## [0.1.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v0.1.0...v0.1.1) (September 3, 2017) + +### Other changes + +* Aligned the implementation to changes in the image upload. ([eb456ac](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/eb456ac)) + + +## 0.1.0 (May 8, 2017) + +### Features + +* Initial implementation. Closes [#1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/issues/1). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md new file mode 100644 index 00000000..1807c272 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 CKFinder adapter** – https://github.com/ckeditor/ckeditor5-adapter-ckfinder
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/README.md new file mode 100644 index 00000000..9bb071f4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/README.md @@ -0,0 +1,18 @@ +CKEditor 5 CKFinder adapter +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-adapter-ckfinder.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements a CKEditor 5 upload adapter compatible with the [CKFinder file manager and uploader](https://ckeditor.com/ckfinder/)'s server–side connector. + +## Documentation + +See the ["CKFinder integration" guide](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html) and the [plugin documentation](https://ckeditor.com/docs/ckeditor5/latest/api/adapter-ckfinder.html) to learn how to configure the adapter. + +Check out the {@link features/image-upload/image-upload comprehensive "Image upload overview"} to learn about other ways to upload images into CKEditor 5. + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js new file mode 100644 index 00000000..059fe5bf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js @@ -0,0 +1,4 @@ +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={704:(e,t,r)=>{e.exports=r(79)("./src/core.js")},448:(e,t,r)=>{e.exports=r(79)("./src/upload.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{UploadAdapter:()=>d});var e=r(704),t=r(448);const n="ckCsrfToken",s="abcdefghijklmnopqrstuvwxyz0123456789";function i(){let e=function(e){e=e.toLowerCase();const t=document.cookie.split(";");for(const r of t){const t=r.split("=");if(decodeURIComponent(t[0].trim().toLowerCase())===e)return decodeURIComponent(t[1])}return null}(n);var t,r;return e&&40==e.length||(e=function(e){let t="";const r=new Uint8Array(e);window.crypto.getRandomValues(r);for(let e=0;e.5?o.toUpperCase():o}return t}(40),t=n,r=e,document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(r)+";path=/"),e}class d extends e.Plugin{static get requires(){return[t.FileRepository]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(t.FileRepository).createUploadAdapter=t=>new a(t,e,this.editor.t))}}class a{constructor(e,t,r){this.loader=e,this.url=t,this.t=r}upload(){return this.loader.file.then((e=>new Promise(((t,r)=>{this._initRequest(),this._initListeners(t,r,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,r){const o=this.xhr,n=this.loader,s=(0,this.t)("Cannot upload file:")+` ${r.name}.`;o.addEventListener("error",(()=>t(s))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const r=o.response;if(!r||!r.uploaded)return t(r&&r.error&&r.error.message?r.error.message:s);e({default:r.url})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",i()),this.xhr.send(t)}}})(),(window.CKEditor5=window.CKEditor5||{}).adapterCkfinder=o})(); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json new file mode 100644 index 00000000..9e258271 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + { + "name": "CKFinder upload adapter", + "className": "CKFinderUploadAdapter", + "path": "src/uploadadapter.js", + "description": "Implements the CKEditor 5 upload adapter compatible with the CKFinder file manager and uploader's server–side connector.", + "docs": "features/images/image-upload/image-upload.html#ckfinder" + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/package.json new file mode 100644 index 00000000..3bd061d7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/package.json @@ -0,0 +1,36 @@ +{ + "name": "@ckeditor/ckeditor5-adapter-ckfinder", + "version": "40.2.0", + "description": "CKFinder adapter for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "ckeditor5": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-adapter-ckfinder" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts new file mode 100644 index 00000000..fde8628a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { UploadAdapter } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [UploadAdapter.pluginName]: UploadAdapter; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts new file mode 100644 index 00000000..29780bb4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder + */ +export { default as UploadAdapter } from './uploadadapter'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js new file mode 100644 index 00000000..29780bb4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder + */ +export { default as UploadAdapter } from './uploadadapter'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts new file mode 100644 index 00000000..a81c0877 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder/uploadadapter + */ +import { Plugin } from 'ckeditor5/src/core'; +import { FileRepository } from 'ckeditor5/src/upload'; +/** + * A plugin that enables file uploads in CKEditor 5 using the CKFinder server–side connector. + * + * See the {@glink features/file-management/ckfinder "CKFinder file manager integration"} guide to learn how to configure + * and use this feature as well as find out more about the full integration with the file manager + * provided by the {@link module:ckfinder/ckfinder~CKFinder} plugin. + * + * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} guide to learn + * about other ways to upload images into CKEditor 5. + */ +export default class CKFinderUploadAdapter extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof FileRepository]; + /** + * @inheritDoc + */ + static get pluginName(): "CKFinderUploadAdapter"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js new file mode 100644 index 00000000..a4f633b7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js @@ -0,0 +1,138 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* globals XMLHttpRequest, FormData */ +/** + * @module adapter-ckfinder/uploadadapter + */ +import { Plugin } from 'ckeditor5/src/core'; +import { FileRepository } from 'ckeditor5/src/upload'; +import { getCsrfToken } from './utils'; +/** + * A plugin that enables file uploads in CKEditor 5 using the CKFinder server–side connector. + * + * See the {@glink features/file-management/ckfinder "CKFinder file manager integration"} guide to learn how to configure + * and use this feature as well as find out more about the full integration with the file manager + * provided by the {@link module:ckfinder/ckfinder~CKFinder} plugin. + * + * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} guide to learn + * about other ways to upload images into CKEditor 5. + */ +export default class CKFinderUploadAdapter extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [FileRepository]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'CKFinderUploadAdapter'; + } + /** + * @inheritDoc + */ + init() { + const url = this.editor.config.get('ckfinder.uploadUrl'); + if (!url) { + return; + } + // Register CKFinderAdapter + this.editor.plugins.get(FileRepository).createUploadAdapter = loader => new UploadAdapter(loader, url, this.editor.t); + } +} +/** + * Upload adapter for CKFinder. + */ +class UploadAdapter { + /** + * Creates a new adapter instance. + */ + constructor(loader, url, t) { + this.loader = loader; + this.url = url; + this.t = t; + } + /** + * Starts the upload process. + * + * @see module:upload/filerepository~UploadAdapter#upload + */ + upload() { + return this.loader.file.then(file => { + return new Promise((resolve, reject) => { + this._initRequest(); + this._initListeners(resolve, reject, file); + this._sendRequest(file); + }); + }); + } + /** + * Aborts the upload process. + * + * @see module:upload/filerepository~UploadAdapter#abort + */ + abort() { + if (this.xhr) { + this.xhr.abort(); + } + } + /** + * Initializes the XMLHttpRequest object. + */ + _initRequest() { + const xhr = this.xhr = new XMLHttpRequest(); + xhr.open('POST', this.url, true); + xhr.responseType = 'json'; + } + /** + * Initializes XMLHttpRequest listeners. + * + * @param resolve Callback function to be called when the request is successful. + * @param reject Callback function to be called when the request cannot be completed. + * @param file File instance to be uploaded. + */ + _initListeners(resolve, reject, file) { + const xhr = this.xhr; + const loader = this.loader; + const t = this.t; + const genericError = t('Cannot upload file:') + ` ${file.name}.`; + xhr.addEventListener('error', () => reject(genericError)); + xhr.addEventListener('abort', () => reject()); + xhr.addEventListener('load', () => { + const response = xhr.response; + if (!response || !response.uploaded) { + return reject(response && response.error && response.error.message ? response.error.message : genericError); + } + resolve({ + default: response.url + }); + }); + // Upload progress when it's supported. + /* istanbul ignore else -- @preserve */ + if (xhr.upload) { + xhr.upload.addEventListener('progress', evt => { + if (evt.lengthComputable) { + loader.uploadTotal = evt.total; + loader.uploaded = evt.loaded; + } + }); + } + } + /** + * Prepares the data and sends the request. + * + * @param file File instance to be uploaded. + */ + _sendRequest(file) { + // Prepare form data. + const data = new FormData(); + data.append('upload', file); + data.append('ckCsrfToken', getCsrfToken()); + // Send request. + this.xhr.send(data); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts new file mode 100644 index 00000000..c6550347 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts @@ -0,0 +1,18 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns the CSRF token value. The value is a hash stored in `document.cookie` + * under the `ckCsrfToken` key. The CSRF token can be used to secure the communication + * between the web browser and the CKFinder server. + */ +export declare function getCsrfToken(): string; +/** + * Returns the value of the cookie with a given name or `null` if the cookie is not found. + */ +export declare function getCookie(name: string): string | null; +/** + * Sets the value of the cookie with a given name. + */ +export declare function setCookie(name: string, value: string): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js new file mode 100644 index 00000000..9f2d765d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js @@ -0,0 +1,58 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* globals window, document */ +/** + * @module adapter-ckfinder/utils + */ +const TOKEN_COOKIE_NAME = 'ckCsrfToken'; +const TOKEN_LENGTH = 40; +const tokenCharset = 'abcdefghijklmnopqrstuvwxyz0123456789'; +/** + * Returns the CSRF token value. The value is a hash stored in `document.cookie` + * under the `ckCsrfToken` key. The CSRF token can be used to secure the communication + * between the web browser and the CKFinder server. + */ +export function getCsrfToken() { + let token = getCookie(TOKEN_COOKIE_NAME); + if (!token || token.length != TOKEN_LENGTH) { + token = generateToken(TOKEN_LENGTH); + setCookie(TOKEN_COOKIE_NAME, token); + } + return token; +} +/** + * Returns the value of the cookie with a given name or `null` if the cookie is not found. + */ +export function getCookie(name) { + name = name.toLowerCase(); + const parts = document.cookie.split(';'); + for (const part of parts) { + const pair = part.split('='); + const key = decodeURIComponent(pair[0].trim().toLowerCase()); + if (key === name) { + return decodeURIComponent(pair[1]); + } + } + return null; +} +/** + * Sets the value of the cookie with a given name. + */ +export function setCookie(name, value) { + document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value) + ';path=/'; +} +/** + * Generates the CSRF token with the given length. + */ +function generateToken(length) { + let result = ''; + const randValues = new Uint8Array(length); + window.crypto.getRandomValues(randValues); + for (let j = 0; j < randValues.length; j++) { + const character = tokenCharset.charAt(randValues[j] % tokenCharset.length); + result += Math.random() > 0.5 ? character.toUpperCase() : character; + } + return result; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/CHANGELOG.md new file mode 100644 index 00000000..6f3ce5b9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/CHANGELOG.md @@ -0,0 +1,162 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v17.0.0...v18.0.0) (March 19, 2020) + +### Other changes + +* Updated translations. ([f1beaaa](https://github.com/ckeditor/ckeditor5-alignment/commit/f1beaaa)) + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### MAJOR BREAKING CHANGES + +* The `align-left`, `align-right`, `align-center`, and `align-justify` icons have been moved to `@ckeditor/ckeditor5-core`. + +### Other changes + +* Moved alignment icons to `@ckeditor/ckeditor5-core` (see [ckeditor/ckeditor5-table#227](https://github.com/ckeditor/ckeditor5-table/issues/227)). ([410e279](https://github.com/ckeditor/ckeditor5-alignment/commit/410e279)) +* Updated translations. ([288672f](https://github.com/ckeditor/ckeditor5-alignment/commit/288672f)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([9085f7b](https://github.com/ckeditor/ckeditor5-alignment/commit/9085f7b)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.2.0...v15.0.0) (October 23, 2019) + +### Other changes + +* Updated translations. ([a719974](https://github.com/ckeditor/ckeditor5-alignment/commit/a719974)) ([2fed077](https://github.com/ckeditor/ckeditor5-alignment/commit/2fed077)) +* Added `pluginName` to the editor plugin part of the feature. ([3b42798](https://github.com/ckeditor/ckeditor5-alignment/commit/3b42798)) + + +## [11.2.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.1.3...v11.2.0) (August 26, 2019) + +### Features + +* Integrated the text alignment feature with different editor content directions (LTR and RTL). See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([edc7d8b](https://github.com/ckeditor/ckeditor5-alignment/commit/edc7d8b)) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([599ea01](https://github.com/ckeditor/ckeditor5-alignment/commit/599ea01)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([54f81b3](https://github.com/ckeditor/ckeditor5-alignment/commit/54f81b3)) +* The text alignment toolbar should have a proper `aria-label` attribute (see [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404)). ([3ed81de](https://github.com/ckeditor/ckeditor5-alignment/commit/3ed81de)) +* Updated translations. ([feb4ab3](https://github.com/ckeditor/ckeditor5-alignment/commit/feb4ab3)) + + +## [11.1.3](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.1.2...v11.1.3) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.1.2](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.1.1...v11.1.2) (July 4, 2019) + +### Other changes + +* Updated translations. ([bb7f494](https://github.com/ckeditor/ckeditor5-alignment/commit/bb7f494)) + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.1.0...v11.1.1) (June 6, 2019) + +### Other changes + +* Updated translations. ([32c32c1](https://github.com/ckeditor/ckeditor5-alignment/commit/32c32c1)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v11.0.0...v11.1.0) (April 4, 2019) + +### Features + +* Marked alignment as a formatting attribute using the `AttributeProperties#isFormatting` property. Closes [ckeditor/ckeditor5#1664](https://github.com/ckeditor/ckeditor5/issues/1664). ([6358e08](https://github.com/ckeditor/ckeditor5-alignment/commit/6358e08)) + +### Other changes + +* Updated translations. ([78bfc40](https://github.com/ckeditor/ckeditor5-alignment/commit/78bfc40)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### Other changes + +* Updated translations. ([45e8dd5](https://github.com/ckeditor/ckeditor5-alignment/commit/45e8dd5)) ([a92c37b](https://github.com/ckeditor/ckeditor5-alignment/commit/a92c37b)) ([ef68e54](https://github.com/ckeditor/ckeditor5-alignment/commit/ef68e54)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-alignment/compare/v10.0.3...v10.0.4) (December 5, 2018) + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([1d71d33](https://github.com/ckeditor/ckeditor5-alignment/commit/1d71d33)) +* Updated translations. ([547f8d8](https://github.com/ckeditor/ckeditor5-alignment/commit/547f8d8)) ([43d8225](https://github.com/ckeditor/ckeditor5-alignment/commit/43d8225)) + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-alignment/compare/v10.0.2...v10.0.3) (October 8, 2018) + +### Other changes + +* Updated translations. ([5b30202](https://github.com/ckeditor/ckeditor5-alignment/commit/5b30202)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-alignment/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Updated translations. ([33c281c](https://github.com/ckeditor/ckeditor5-alignment/commit/33c281c)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-alignment/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-alignment/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([eed1029](https://github.com/ckeditor/ckeditor5-alignment/commit/eed1029)) +* Updated translations. ([baa1fbe](https://github.com/ckeditor/ckeditor5-alignment/commit/baa1fbe)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-alignment/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Other changes + +* Updated translations. ([586ae62](https://github.com/ckeditor/ckeditor5-alignment/commit/586ae62)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-alignment/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-alignment/compare/v0.0.1...v1.0.0-beta.1) (March 15, 2018) + +### Features + +* Initial implementation. Closes [#2](https://github.com/ckeditor/ckeditor5-alignment/issues/2). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/LICENSE.md new file mode 100644 index 00000000..6ad4bf3f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 text alignment feature** – https://github.com/ckeditor/ckeditor5-alignment
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/README.md new file mode 100644 index 00000000..bd0c2606 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/README.md @@ -0,0 +1,20 @@ +CKEditor 5 text alignment feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-alignment.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-alignment) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements text alignment support for CKEditor 5. + +## Demo + +Check out the [demo in the text alignment feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/text-alignment.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-alignment` package](https://ckeditor.com/docs/ckeditor5/latest/api/alignment.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/alignment.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/alignment.js new file mode 100644 index 00000000..a12ce5c1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/alignment.js @@ -0,0 +1,5 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Align center","Align left":"Align left","Align right":"Align right",Justify:"Justify","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var t={704:(t,e,n)=>{t.exports=n(79)("./src/core.js")},273:(t,e,n)=>{t.exports=n(79)("./src/ui.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Alignment:()=>f,AlignmentEditing:()=>g,AlignmentUI:()=>d});var t=n(704),e=n(209);const o=["left","right","center","justify"];function r(t){return o.includes(t)}function a(t,e){return"rtl"==e.contentLanguageDirection?"right"===t:"left"===t}function s(t){const n=t.map((t=>{let e;return e="string"==typeof t?{name:t}:t,e})).filter((t=>{const n=o.includes(t.name);return n||(0,e.logWarning)("alignment-config-name-not-recognized",{option:t}),n})),i=n.filter((t=>Boolean(t.className))).length;if(i&&i{const r=o.slice(i+1);if(r.some((t=>t.name==n.name)))throw new e.CKEditorError("alignment-config-name-already-defined",{option:n,configuredOptions:t});if(n.className){if(r.some((t=>t.className==n.className)))throw new e.CKEditorError("alignment-config-classname-already-defined",{option:n,configuredOptions:t})}})),n}const l="alignment";class c extends t.Command{refresh(){const t=this.editor.locale,n=(0,e.first)(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=Boolean(n)&&this._canBeAligned(n),this.isEnabled&&n.hasAttribute("alignment")?this.value=n.getAttribute("alignment"):this.value="rtl"===t.contentLanguageDirection?"right":"left"}execute(t={}){const e=this.editor,n=e.locale,i=e.model,o=i.document,r=t.value;i.change((t=>{const e=Array.from(o.selection.getSelectedBlocks()).filter((t=>this._canBeAligned(t))),i=e[0].getAttribute("alignment");a(r,n)||i===r||!r?function(t,e){for(const n of t)e.removeAttribute(l,n)}(e,t):function(t,e,n){for(const i of t)e.setAttribute(l,n,i)}(e,t,r)}))}_canBeAligned(t){return this.editor.model.schema.checkAttribute(t,l)}}class g extends t.Plugin{static get pluginName(){return"AlignmentEditing"}constructor(t){super(t),t.config.define("alignment",{options:o.map((t=>({name:t})))})}init(){const t=this.editor,e=t.locale,n=t.model.schema,i=s(t.config.get("alignment.options")).filter((t=>r(t.name)&&!a(t.name,e))),o=i.some((t=>!!t.className));n.extend("$block",{allowAttributes:"alignment"}),t.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),o?t.conversion.attributeToAttribute(function(t){const e={};for(const n of t)e[n.name]={key:"class",value:n.className};const n={model:{key:"alignment",values:t.map((t=>t.name))},view:e};return n}(i)):t.conversion.for("downcast").attributeToAttribute(function(t){const e={};for(const{name:n}of t)e[n]={key:"style",value:{"text-align":n}};const n={model:{key:"alignment",values:t.map((t=>t.name))},view:e};return n}(i));const l=function(t){const e=[];for(const{name:n}of t)e.push({view:{key:"style",value:{"text-align":n}},model:{key:"alignment",value:n}});return e}(i);for(const e of l)t.conversion.for("upcast").attributeToAttribute(e);const g=function(t){const e=[];for(const{name:n}of t)e.push({view:{key:"align",value:n},model:{key:"alignment",value:n}});return e}(i);for(const e of g)t.conversion.for("upcast").attributeToAttribute(e);t.commands.add("alignment",new c(t))}}var u=n(273);const m=new Map([["left",t.icons.alignLeft],["right",t.icons.alignRight],["center",t.icons.alignCenter],["justify",t.icons.alignJustify]]);class d extends t.Plugin{get localizedOptionTitles(){const t=this.editor.t;return{left:t("Align left"),right:t("Align right"),center:t("Align center"),justify:t("Justify")}}static get pluginName(){return"AlignmentUI"}init(){const t=this.editor,e=t.ui.componentFactory,n=t.t,i=s(t.config.get("alignment.options"));i.map((t=>t.name)).filter(r).forEach((t=>this._addButton(t))),e.add("alignment",(o=>{const r=(0,u.createDropdown)(o);(0,u.addToolbarToDropdown)(r,(()=>i.map((t=>e.create(`alignment:${t.name}`)))),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:n("Text alignment toolbar")}),r.buttonView.set({label:n("Text alignment"),tooltip:!0}),r.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const a="rtl"===o.contentLanguageDirection?m.get("right"):m.get("left"),s=t.commands.get("alignment");return r.buttonView.bind("icon").to(s,"value",(t=>m.get(t)||a)),r.bind("isEnabled").to(s,"isEnabled"),this.listenTo(r,"execute",(()=>{t.editing.view.focus()})),r}))}_addButton(t){const e=this.editor;e.ui.componentFactory.add(`alignment:${t}`,(n=>{const i=e.commands.get("alignment"),o=new u.ButtonView(n);return o.set({label:this.localizedOptionTitles[t],icon:m.get(t),tooltip:!0,isToggleable:!0}),o.bind("isEnabled").to(i),o.bind("isOn").to(i,"value",(e=>e===t)),this.listenTo(o,"execute",(()=>{e.execute("alignment",{value:t}),e.editing.view.focus()})),o}))}}class f extends t.Plugin{static get requires(){return[g,d]}static get pluginName(){return"Alignment"}}})(),(window.CKEditor5=window.CKEditor5||{}).alignment=i})(); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/af.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/af.js new file mode 100644 index 00000000..ebc5ba74 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/af.js @@ -0,0 +1 @@ +!function(n){const e=n.af=n.af||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Belyn in die middel","Align left":"Belyn links","Align right":"Belyn regs",Justify:"Belyn beide kante","Text alignment":"Teksbelyning","Text alignment toolbar":"Teksbelyning nutsbank"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ar.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ar.js new file mode 100644 index 00000000..59fc6bf3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ar.js @@ -0,0 +1 @@ +!function(n){const i=n.ar=n.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"محاذاة في المنتصف","Align left":"محاذاة لليسار","Align right":"محاذاة لليمين",Justify:"ضبط","Text alignment":"محاذاة النص","Text alignment toolbar":"شريط أدوات محاذاة النص"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/az.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/az.js new file mode 100644 index 00000000..6a32cf6f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/az.js @@ -0,0 +1 @@ +!function(n){const i=n.az=n.az||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Mərkəzə düzləndir","Align left":"Soldan düzləndir","Align right":"Sağdan düzləndir",Justify:"Eninə görə","Text alignment":"Mətn düzləndirməsi","Text alignment toolbar":"Mətnin düzləndirmə paneli"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bg.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bg.js new file mode 100644 index 00000000..b1edc126 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bg.js @@ -0,0 +1 @@ +!function(n){const i=n.bg=n.bg||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Централно подравняване","Align left":"Ляво подравняване","Align right":"Дясно подравняване",Justify:"Разпредели по равно","Text alignment":"Подравняване на текста","Text alignment toolbar":"Лента за подравняване на текст"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bn.js new file mode 100644 index 00000000..2b04085b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bn.js @@ -0,0 +1 @@ +!function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"কেন্দ্র সারিবদ্ধ করুন","Align left":"বামে সারিবদ্ধ করুন","Align right":"ডানদিকে সারিবদ্ধ করুন",Justify:"জাস্টিফাই","Text alignment":"টেক্সট সারিবদ্ধকরণ","Text alignment toolbar":"টেক্সট শ্রেণীবিন্যাস টুলবার"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bs.js new file mode 100644 index 00000000..3ccce947 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/bs.js @@ -0,0 +1 @@ +!function(n){const a=n.bs=n.bs||{};a.dictionary=Object.assign(a.dictionary||{},{"Align center":"Centrirati","Align left":"Lijevo poravnanje","Align right":"Desno poravnanje",Justify:"","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje teksta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ca.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ca.js new file mode 100644 index 00000000..ff5c5964 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ca.js @@ -0,0 +1 @@ +!function(i){const e=i.ca=i.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Alineació centre","Align left":"Alineació esquerra","Align right":"Alineació dreta",Justify:"Justificar","Text alignment":"Alineació text","Text alignment toolbar":"Barra d'eines d'alineació de text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/cs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/cs.js new file mode 100644 index 00000000..fa3e3d1a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/cs.js @@ -0,0 +1 @@ +!function(n){const t=n.cs=n.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Zarovnat na střed","Align left":"Zarovnat vlevo","Align right":"Zarovnat vpravo",Justify:"Zarovnat do bloku","Text alignment":"Zarovnání textu","Text alignment toolbar":"Panel nástrojů zarovnání textu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/da.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/da.js new file mode 100644 index 00000000..e8282213 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/da.js @@ -0,0 +1 @@ +!function(t){const n=t.da=t.da||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Justér center","Align left":"Justér venstre","Align right":"Justér højre",Justify:"Justér","Text alignment":"Tekstjustering","Text alignment toolbar":"Tekstjustering værktøjslinje"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de-ch.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de-ch.js new file mode 100644 index 00000000..d1a2d5bd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de-ch.js @@ -0,0 +1 @@ +!function(t){const i=t["de-ch"]=t["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig",Justify:"Blocksatz","Text alignment":"Textausrichtung","Text alignment toolbar":"Textausrichtung Werkzeugleiste"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de.js new file mode 100644 index 00000000..8030fcd6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/de.js @@ -0,0 +1 @@ +!function(n){const t=n.de=n.de||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Zentriert","Align left":"Linksbündig","Align right":"Rechtsbündig",Justify:"Blocksatz","Text alignment":"Textausrichtung","Text alignment toolbar":"Text-Ausrichtung Toolbar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/el.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/el.js new file mode 100644 index 00000000..99a74048 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/el.js @@ -0,0 +1 @@ +!function(n){const i=n.el=n.el||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Στοίχιση στο κέντρο","Align left":"Στοίχιση αριστερά","Align right":"Στοίχιση δεξιά",Justify:"Πλήρης στοίχηση","Text alignment":"Στοίχιση κειμένου","Text alignment toolbar":"Γραμμή εργαλείων στοίχισης κειμένου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-au.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-au.js new file mode 100644 index 00000000..4325044d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-au.js @@ -0,0 +1 @@ +!function(n){const t=n["en-au"]=n["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Align centre","Align left":"Align left","Align right":"Align right",Justify:"Justify","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-gb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-gb.js new file mode 100644 index 00000000..a31ea610 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/en-gb.js @@ -0,0 +1 @@ +!function(n){const i=n["en-gb"]=n["en-gb"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Align center","Align left":"Align left","Align right":"Align right",Justify:"Justify","Text alignment":"Text alignment","Text alignment toolbar":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es-co.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es-co.js new file mode 100644 index 00000000..71100cdd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es-co.js @@ -0,0 +1 @@ +!function(i){const e=i["es-co"]=i["es-co"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha",Justify:"Justificar","Text alignment":"Alineación de texto","Text alignment toolbar":"Herramientas de alineación de texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es.js new file mode 100644 index 00000000..a7747f58 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/es.js @@ -0,0 +1 @@ +!function(e){const i=e.es=e.es||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha",Justify:"Justificar","Text alignment":"Alineación del texto","Text alignment toolbar":"Barra de herramientas de alineación del texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/et.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/et.js new file mode 100644 index 00000000..43b60e87 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/et.js @@ -0,0 +1 @@ +!function(n){const i=n.et=n.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Keskjoondus","Align left":"Vasakjoondus","Align right":"Paremjoondus",Justify:"Rööpjoondus","Text alignment":"Teksti joondamine","Text alignment toolbar":"Teksti joonduse tööriistariba"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fa.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fa.js new file mode 100644 index 00000000..db688271 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fa.js @@ -0,0 +1 @@ +!function(n){const i=n.fa=n.fa||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"تراز وسط","Align left":"تراز چپ","Align right":"تراز راست",Justify:"هم تراز کردن","Text alignment":"تراز متن","Text alignment toolbar":"نوار ابزار ترازبندی متن"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fi.js new file mode 100644 index 00000000..b4fafc16 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fi.js @@ -0,0 +1 @@ +!function(a){const i=a.fi=a.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Tasaa keskelle","Align left":"Tasaa vasemmalle","Align right":"Tasaa oikealle",Justify:"Tasaa molemmat reunat","Text alignment":"Tekstin tasaus","Text alignment toolbar":"Tekstin suuntauksen työkalupalkki"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fr.js new file mode 100644 index 00000000..c0580534 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/fr.js @@ -0,0 +1 @@ +!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Centrer","Align left":"Aligner à gauche","Align right":"Aligner à droite",Justify:"Justifier","Text alignment":"Alignement du texte","Text alignment toolbar":"Barre d'outils d'alignement du texte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/gl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/gl.js new file mode 100644 index 00000000..888299b4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/gl.js @@ -0,0 +1 @@ +!function(t){const e=t.gl=t.gl||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Centrar horizontalmente","Align left":"Aliñar á esquerda","Align right":"Aliñar á dereita",Justify:"Xustificado","Text alignment":"Aliñamento do texto","Text alignment toolbar":"Barra de ferramentas de aliñamento de textos"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/he.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/he.js new file mode 100644 index 00000000..83d1d1d0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/he.js @@ -0,0 +1 @@ +!function(n){const i=n.he=n.he||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"יישור באמצע","Align left":"יישור לשמאל","Align right":"יישור לימין",Justify:"מרכוז גבולות","Text alignment":"יישור טקסט","Text alignment toolbar":"סרגל כלים יישור טקסט"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hi.js new file mode 100644 index 00000000..42b4a6f9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hi.js @@ -0,0 +1 @@ +!function(i){const n=i.hi=i.hi||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Align center","Align left":"Align left","Align right":"Align right",Justify:"Justify","Text alignment":"Text alignment","Text alignment toolbar":"Text alignment toolbar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hr.js new file mode 100644 index 00000000..3557b6a7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hr.js @@ -0,0 +1 @@ +!function(n){const a=n.hr=n.hr||{};a.dictionary=Object.assign(a.dictionary||{},{"Align center":"Poravnaj po sredini","Align left":"Poravnaj ulijevo","Align right":"Poravnaj udesno",Justify:"Razvuci","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hu.js new file mode 100644 index 00000000..2f69b92f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/hu.js @@ -0,0 +1 @@ +!function(i){const t=i.hu=i.hu||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Középre igazítás","Align left":"Balra igazítás","Align right":"Jobbra igazítás",Justify:"Sorkizárt","Text alignment":"Szöveg igazítása","Text alignment toolbar":"Szöveg igazítás eszköztár"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/id.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/id.js new file mode 100644 index 00000000..7ccddf42 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/id.js @@ -0,0 +1 @@ +!function(a){const t=a.id=a.id||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Rata tengah","Align left":"Rata kiri","Align right":"Rata kanan",Justify:"Rata kanan-kiri","Text alignment":"Perataan teks","Text alignment toolbar":"Alat perataan teks"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/it.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/it.js new file mode 100644 index 00000000..1caef2a9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/it.js @@ -0,0 +1 @@ +!function(i){const n=i.it=i.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Allinea al centro","Align left":"Allinea a sinistra","Align right":"Allinea a destra",Justify:"Giustifica","Text alignment":"Allineamento del testo","Text alignment toolbar":"Barra degli strumenti dell'allineamento"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ja.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ja.js new file mode 100644 index 00000000..0ebf71d1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ja.js @@ -0,0 +1 @@ +!function(n){const i=n.ja=n.ja||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"中央揃え","Align left":"左揃え","Align right":"右揃え",Justify:"両端揃え","Text alignment":"文字揃え","Text alignment toolbar":"テキストの整列"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/jv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/jv.js new file mode 100644 index 00000000..4bdb43ce --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/jv.js @@ -0,0 +1 @@ +!function(n){const t=n.jv=n.jv||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Rata tengah","Align left":"Rata kiwa","Align right":"Rata tengen",Justify:"Rata kiwa tengen","Text alignment":"Perataan seratan","Text alignment toolbar":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/kk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/kk.js new file mode 100644 index 00000000..0bcf7db4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/kk.js @@ -0,0 +1 @@ +!function(n){const i=n.kk=n.kk||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Ортадан туралау","Align left":"Солға туралау","Align right":"Оңға туралау",Justify:"","Text alignment":"Мәтінді туралау","Text alignment toolbar":"Мәтінді туралау құралдар тақтасы"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/km.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/km.js new file mode 100644 index 00000000..7c88ccc7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/km.js @@ -0,0 +1 @@ +!function(n){const i=n.km=n.km||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"តម្រឹម​កណ្ដាល","Align left":"តម្រឹម​ឆ្វេង","Align right":"តម្រឹម​ស្ដាំ",Justify:"តម្រឹម​សងខាង","Text alignment":"ការ​តម្រឹម​អក្សរ","Text alignment toolbar":"របារ​ឧបករណ៍​តម្រឹម​អក្សរ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ko.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ko.js new file mode 100644 index 00000000..ff4f40b8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ko.js @@ -0,0 +1 @@ +!function(n){const i=n.ko=n.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"가운데 정렬","Align left":"왼쪽 정렬","Align right":"오른쪽 정렬",Justify:"양쪽 정렬","Text alignment":"텍스트 정렬","Text alignment toolbar":"텍스트 정렬 툴바"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ku.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ku.js new file mode 100644 index 00000000..e2c240d8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ku.js @@ -0,0 +1 @@ +!function(n){const i=n.ku=n.ku||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"بەهێڵکردنی ناورەڕاست","Align left":"بەهێڵکردنی چەپ","Align right":"بەهێڵکردنی ڕاست",Justify:"هاوستوونی","Text alignment":"ڕیززکردنی تێکست","Text alignment toolbar":"تووڵامرازی ڕیززکردنی تێکست"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lt.js new file mode 100644 index 00000000..d13ae57c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lt.js @@ -0,0 +1 @@ +!function(i){const t=i.lt=i.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Centruoti","Align left":"Lygiuoti į kairę","Align right":"Lygiuoti į dešinę",Justify:"Lygiuoti per visą plotį","Text alignment":"Teksto lygiavimas","Text alignment toolbar":"Teksto lygiavimo įrankių juosta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lv.js new file mode 100644 index 00000000..8940fe5b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/lv.js @@ -0,0 +1 @@ +!function(i){const n=i.lv=i.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Centrēt","Align left":"Pa kreisi","Align right":"Pa labi",Justify:"Izlīdzināt abas malas","Text alignment":"Teksta izlīdzināšana","Text alignment toolbar":"Teksta līdzināšanas rīkjosla"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ms.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ms.js new file mode 100644 index 00000000..8ad0b7a6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ms.js @@ -0,0 +1 @@ +!function(a){const n=a.ms=a.ms||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Jajarkan tengah","Align left":"Jajarkan kiri","Align right":"Jajarkan kiri",Justify:"Imbang","Text alignment":"Jajaran teks","Text alignment toolbar":"Bar alat capaian jajaran teks"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nb.js new file mode 100644 index 00000000..4ac84074 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nb.js @@ -0,0 +1 @@ +!function(t){const n=t.nb=t.nb||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Midstill","Align left":"Venstrejuster","Align right":"Høyrejuster",Justify:"Blokkjuster","Text alignment":"Tekstjustering","Text alignment toolbar":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ne.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ne.js new file mode 100644 index 00000000..0bc20dcc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ne.js @@ -0,0 +1 @@ +!function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"केन्द्र पङ्क्तिबद्ध गर्नुहोस्","Align left":"बायाँ पङ्क्तिबद्ध गर्नुहोस्","Align right":"दायाँ पङ्क्तिबद्ध गर्नुहोस्",Justify:"जस्टिफाइ गर्नुहोस्","Text alignment":"पाठ संरेखण","Text alignment toolbar":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nl.js new file mode 100644 index 00000000..f28c6674 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/nl.js @@ -0,0 +1 @@ +!function(i){const n=i.nl=i.nl||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Midden uitlijnen","Align left":"Links uitlijnen","Align right":"Rechts uitlijnen",Justify:"Volledig uitlijnen","Text alignment":"Tekst uitlijning","Text alignment toolbar":"Tekst uitlijning werkbalk"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/no.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/no.js new file mode 100644 index 00000000..c319c8b9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/no.js @@ -0,0 +1 @@ +!function(t){const n=t.no=t.no||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Midtstill","Align left":"Venstrejuster","Align right":"Høyrejuster",Justify:"Blokkjuster","Text alignment":"Tekstjustering","Text alignment toolbar":"Verktøylinje for tekstjustering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pl.js new file mode 100644 index 00000000..37aea893 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pl.js @@ -0,0 +1 @@ +!function(n){const i=n.pl=n.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Wyrównaj do środka","Align left":"Wyrównaj do lewej","Align right":"Wyrównaj do prawej",Justify:"Wyrównaj obustronnie","Text alignment":"Wyrównanie tekstu","Text alignment toolbar":"Pasek narzędzi wyrównania tekstu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt-br.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt-br.js new file mode 100644 index 00000000..4d7c4cba --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(t){const i=t["pt-br"]=t["pt-br"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Centralizar","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita",Justify:"Justificar","Text alignment":"Alinhamento do texto","Text alignment toolbar":"Ferramentas de alinhamento de texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt.js new file mode 100644 index 00000000..b5bdba8f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/pt.js @@ -0,0 +1 @@ +!function(t){const i=t.pt=t.pt||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Alinhar ao centro","Align left":"Alinhar à esquerda","Align right":"Alinhar à direita",Justify:"Justificar","Text alignment":"Alinhamento de texto","Text alignment toolbar":"Barra de alinhamento de texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ro.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ro.js new file mode 100644 index 00000000..3b65596f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ro.js @@ -0,0 +1 @@ +!function(i){const n=i.ro=i.ro||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Aliniază la centru","Align left":"Aliniază la stânga","Align right":"Aliniază la dreapta",Justify:"Aliniază stânga-dreapta","Text alignment":"Aliniere text","Text alignment toolbar":"Bara aliniere text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ru.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ru.js new file mode 100644 index 00000000..8b01ad90 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ru.js @@ -0,0 +1 @@ +!function(n){const i=n.ru=n.ru||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Выравнивание по центру","Align left":"Выравнивание по левому краю","Align right":"Выравнивание по правому краю",Justify:"Выравнивание по ширине","Text alignment":"Выравнивание текста","Text alignment toolbar":"Выравнивание"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sk.js new file mode 100644 index 00000000..c5df946b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sk.js @@ -0,0 +1 @@ +!function(n){const a=n.sk=n.sk||{};a.dictionary=Object.assign(a.dictionary||{},{"Align center":"Zarovnať na stred","Align left":"Zarovnať vľavo","Align right":"Zarovnať vpravo",Justify:"Do bloku","Text alignment":"Zarovnanie textu","Text alignment toolbar":"Panel nástrojov zarovnania textu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sl.js new file mode 100644 index 00000000..00c15976 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sl.js @@ -0,0 +1 @@ +!function(a){const n=a.sl=a.sl||{};n.dictionary=Object.assign(n.dictionary||{},{"Align center":"Sredinska poravnava","Align left":"Poravnava levo","Align right":"Poravnava desno",Justify:"Postavi na sredino","Text alignment":"Poravnava besedila","Text alignment toolbar":"Orodna vrstica besedila"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sq.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sq.js new file mode 100644 index 00000000..6d9d3a73 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sq.js @@ -0,0 +1 @@ +!function(t){const i=t.sq=t.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Radhit në mes","Align left":"Radhit majtas","Align right":"Radhit djathtas",Justify:"Plotësim","Text alignment":"Radhitja e tekstit","Text alignment toolbar":"Shiriti i rradhitjes së tekstit"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr-latn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr-latn.js new file mode 100644 index 00000000..2a944dd4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr-latn.js @@ -0,0 +1 @@ +!function(n){const a=n["sr-latn"]=n["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align center":"Centralno ravnanje","Align left":"Levo ravnanje","Align right":"Desno ravnanje",Justify:"Obostrano ravnanje","Text alignment":"Ravnanje teksta","Text alignment toolbar":"Alatke za ravnanje teksta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr.js new file mode 100644 index 00000000..b5105eb4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sr.js @@ -0,0 +1 @@ +!function(n){const i=n.sr=n.sr||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Централно равнанје","Align left":"Лево равнање","Align right":"Десно равнање",Justify:"Обострано равнање","Text alignment":"Равнање текста","Text alignment toolbar":"Алатке за равнање текста"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sv.js new file mode 100644 index 00000000..a6a6798e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/sv.js @@ -0,0 +1 @@ +!function(t){const e=t.sv=t.sv||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Centrera","Align left":"Vänsterjustera","Align right":"Högerjustera",Justify:"Justera till marginaler","Text alignment":"Textjustering","Text alignment toolbar":"Verktygsfält för textjustering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/th.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/th.js new file mode 100644 index 00000000..2130cd77 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/th.js @@ -0,0 +1 @@ +!function(n){const t=n.th=n.th||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"จัดกึ่งกลาง","Align left":"จัดชิดซ้าย","Align right":"จัดชิดขวา",Justify:"จัด(ขอบ)","Text alignment":"จัดตำแหน่งข้อความ","Text alignment toolbar":"แถบเครื่องมือจัดตำแหน่งข้อความ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tk.js new file mode 100644 index 00000000..0dd585b1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tk.js @@ -0,0 +1 @@ +!function(e){const i=e.tk=e.tk||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Merkeze deňleşdir","Align left":"Çepe deňleşdiriň","Align right":"Saga deňleşdiriň",Justify:"Akla","Text alignment":"Tekstiň deňleşdirilmegi","Text alignment toolbar":"Teksti deňleşdirmek gurallar paneli"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tr.js new file mode 100644 index 00000000..b5d3fa18 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/tr.js @@ -0,0 +1 @@ +!function(a){const i=a.tr=a.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Ortala","Align left":"Sola hizala","Align right":"Sağa hizala",Justify:"İki yana yasla","Text alignment":"Yazı hizalama","Text alignment toolbar":"Yazı Hizlama Araç Çubuğu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ug.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ug.js new file mode 100644 index 00000000..a8c64930 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ug.js @@ -0,0 +1 @@ +!function(n){const i=n.ug=n.ug||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"ئوتتۇرىغا توغرىلاش","Align left":"سولغا توغرىلاش","Align right":"ئوڭغا توغرىلاش",Justify:"ئوڭ سولدىن توغرىلا","Text alignment":"تېكىست توغرىلاش","Text alignment toolbar":"تېكىست توغرىلاش قورالبالدىقى"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uk.js new file mode 100644 index 00000000..39aa2096 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uk.js @@ -0,0 +1 @@ +!function(n){const i=n.uk=n.uk||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"По центру","Align left":"По лівому краю","Align right":"По правому краю",Justify:"По ширині","Text alignment":"Вирівнювання тексту","Text alignment toolbar":"Панель інструментів вирівнювання тексту"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ur.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ur.js new file mode 100644 index 00000000..6bec1361 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/ur.js @@ -0,0 +1 @@ +!function(n){const i=n.ur=n.ur||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"درمیانی سیدھ","Align left":"بائیں سیدھ","Align right":"دائیں سیدھ",Justify:"برابر سیدھ","Text alignment":"متن کی سیدھ","Text alignment toolbar":"خانہ آلات برائے سیدھ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uz.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uz.js new file mode 100644 index 00000000..b6f263a3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/uz.js @@ -0,0 +1 @@ +!function(i){const t=i.uz=i.uz||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"O'rtada tekislash","Align left":"Chap tomonda tekislash","Align right":"O'ng tomonda tekislash",Justify:"Kengligi bo'yicha tekislash","Text alignment":"Matnni tekislash","Text alignment toolbar":"Tekislash"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/vi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/vi.js new file mode 100644 index 00000000..94d9696b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/vi.js @@ -0,0 +1 @@ +!function(n){const i=n.vi=n.vi||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Canh giữa","Align left":"Canh trái","Align right":"Canh phải",Justify:"Canh đều","Text alignment":"Căn chỉnh văn bản","Text alignment toolbar":"Thanh công cụ canh chữ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh-cn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh-cn.js new file mode 100644 index 00000000..1d8f7715 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(n){const i=n["zh-cn"]=n["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"居中对齐","Align left":"左对齐","Align right":"右对齐",Justify:"两端对齐","Text alignment":"对齐","Text alignment toolbar":"对齐工具栏"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh.js new file mode 100644 index 00000000..e2bdbe2e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/build/translations/zh.js @@ -0,0 +1 @@ +!function(n){const i=n.zh=n.zh||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"置中對齊","Align left":"靠左對齊","Align right":"靠右對齊",Justify:"左右對齊","Text alignment":"文字對齊","Text alignment toolbar":"文字對齊"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/ckeditor5-metadata.json new file mode 100644 index 00000000..2c559076 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/ckeditor5-metadata.json @@ -0,0 +1,31 @@ +{ + "plugins": [ + { + "name": "Alignment", + "className": "Alignment", + "path": "src/alignment.js", + "description": "Enables support for text alignment. You can use it to align your content to left, right and center or to justify it.", + "docs": "features/text-alignment.html", + "uiComponents": [ + { + "type": "SplitButton", + "name": "alignment", + "iconPath": "@ckeditor/ckeditor5-core/theme/icons/align-left.svg" + } + ], + "htmlOutput": [ + { + "elements": "$block", + "styles": "text-align", + "_comment": "By default, the alignment feature uses the `text-align` inline style." + }, + { + "elements": "$block", + "classes": "*", + "isAlternative": true, + "_comment": "If `config.alignment.options` is set, these classes are used for alignment instead of inline styles." + } + ] + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/contexts.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/contexts.json new file mode 100644 index 00000000..64c29bd5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/contexts.json @@ -0,0 +1,8 @@ +{ + "Align left": "Toolbar button tooltip for aligning the text to the left.", + "Align right": "Toolbar button tooltip for aligning the text to the right.", + "Align center": "Toolbar button tooltip for aligning the text to center.", + "Justify": "Toolbar button tooltip for making the text justified.", + "Text alignment": "Dropdown button tooltip for the text alignment feature.", + "Text alignment toolbar": "Label used by assistive technologies describing the text alignment feature toolbar." +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/af.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/af.po new file mode 100644 index 00000000..ced61de0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/af.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Belyn links" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Belyn regs" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Belyn in die middel" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Belyn beide kante" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Teksbelyning" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Teksbelyning nutsbank" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ar.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ar.po new file mode 100644 index 00000000..2de42662 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ar.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "محاذاة لليسار" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "محاذاة لليمين" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "محاذاة في المنتصف" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "ضبط" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "محاذاة النص" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "شريط أدوات محاذاة النص" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/az.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/az.po new file mode 100644 index 00000000..aaec9baa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/az.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Soldan düzləndir" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Sağdan düzləndir" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Mərkəzə düzləndir" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Eninə görə" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Mətn düzləndirməsi" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Mətnin düzləndirmə paneli" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bg.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bg.po new file mode 100644 index 00000000..ed5c0483 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bg.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Ляво подравняване" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Дясно подравняване" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Централно подравняване" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Разпредели по равно" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Подравняване на текста" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Лента за подравняване на текст" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bn.po new file mode 100644 index 00000000..f87a3488 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bn.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "বামে সারিবদ্ধ করুন" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "ডানদিকে সারিবদ্ধ করুন" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "কেন্দ্র সারিবদ্ধ করুন" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "জাস্টিফাই" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "টেক্সট সারিবদ্ধকরণ" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "টেক্সট শ্রেণীবিন্যাস টুলবার" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bs.po new file mode 100644 index 00000000..c7646313 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/bs.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Lijevo poravnanje" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Desno poravnanje" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrirati" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Poravnanje teksta" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Traka za poravnanje teksta" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ca.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ca.po new file mode 100644 index 00000000..c951e552 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ca.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Alineació esquerra" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Alineació dreta" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Alineació centre" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justificar" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alineació text" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barra d'eines d'alineació de text" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/cs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/cs.po new file mode 100644 index 00000000..676ad6e4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/cs.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Zarovnat vlevo" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Zarovnat vpravo" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Zarovnat na střed" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Zarovnat do bloku" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Zarovnání textu" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Panel nástrojů zarovnání textu" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/da.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/da.po new file mode 100644 index 00000000..67063b30 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/da.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Justér venstre" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Justér højre" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Justér center" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justér" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekstjustering" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Tekstjustering værktøjslinje" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de-ch.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de-ch.po new file mode 100644 index 00000000..584c2697 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de-ch.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Linksbündig" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Rechtsbündig" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Zentriert" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Blocksatz" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Textausrichtung" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Textausrichtung Werkzeugleiste" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de.po new file mode 100644 index 00000000..86084c7b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/de.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Linksbündig" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Rechtsbündig" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Zentriert" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Blocksatz" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Textausrichtung" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Text-Ausrichtung Toolbar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/el.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/el.po new file mode 100644 index 00000000..d3dc31ba --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/el.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Στοίχιση αριστερά" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Στοίχιση δεξιά" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Στοίχιση στο κέντρο" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Πλήρης στοίχηση" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Στοίχιση κειμένου" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Γραμμή εργαλείων στοίχισης κειμένου" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-au.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-au.po new file mode 100644 index 00000000..efcadd42 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-au.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Align left" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Align right" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Align centre" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justify" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Text alignment" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Text alignment toolbar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-gb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-gb.po new file mode 100644 index 00000000..36660b13 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en-gb.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Align left" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Align right" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Align center" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justify" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Text alignment" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en.po new file mode 100644 index 00000000..52e449d0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/en.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Align left" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Align right" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Align center" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justify" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Text alignment" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Text alignment toolbar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es-co.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es-co.po new file mode 100644 index 00000000..135325fa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es-co.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Alinear a la izquierda" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Alinear a la derecha" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrar" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justificar" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alineación de texto" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Herramientas de alineación de texto" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es.po new file mode 100644 index 00000000..3ce6b333 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/es.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Alinear a la izquierda" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Alinear a la derecha" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrar" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justificar" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alineación del texto" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barra de herramientas de alineación del texto" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/et.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/et.po new file mode 100644 index 00000000..28c9f539 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/et.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Vasakjoondus" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Paremjoondus" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Keskjoondus" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Rööpjoondus" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Teksti joondamine" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Teksti joonduse tööriistariba" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fa.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fa.po new file mode 100644 index 00000000..0b5bd33c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fa.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "تراز چپ" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "تراز راست" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "تراز وسط" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "هم تراز کردن" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "تراز متن" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "نوار ابزار ترازبندی متن" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fi.po new file mode 100644 index 00000000..5b2095c3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fi.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Tasaa vasemmalle" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Tasaa oikealle" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Tasaa keskelle" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Tasaa molemmat reunat" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekstin tasaus" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Tekstin suuntauksen työkalupalkki" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fr.po new file mode 100644 index 00000000..60489e9c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/fr.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Aligner à gauche" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Aligner à droite" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrer" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justifier" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alignement du texte" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barre d'outils d'alignement du texte" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/gl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/gl.po new file mode 100644 index 00000000..48dbb45f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/gl.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Aliñar á esquerda" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Aliñar á dereita" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrar horizontalmente" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Xustificado" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Aliñamento do texto" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barra de ferramentas de aliñamento de textos" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/he.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/he.po new file mode 100644 index 00000000..78114aeb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/he.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "יישור לשמאל" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "יישור לימין" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "יישור באמצע" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "מרכוז גבולות" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "יישור טקסט" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "סרגל כלים יישור טקסט" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hi.po new file mode 100644 index 00000000..026ae216 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hi.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Align left" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Align right" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Align center" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justify" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Text alignment" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Text alignment toolbar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hr.po new file mode 100644 index 00000000..834925ab --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hr.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Poravnaj ulijevo" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Poravnaj udesno" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Poravnaj po sredini" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Razvuci" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Poravnanje teksta" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Traka za poravnanje" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hu.po new file mode 100644 index 00000000..91bbea43 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/hu.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Balra igazítás" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Jobbra igazítás" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Középre igazítás" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Sorkizárt" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Szöveg igazítása" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Szöveg igazítás eszköztár" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/id.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/id.po new file mode 100644 index 00000000..db51fec6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/id.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Rata kiri" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Rata kanan" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Rata tengah" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Rata kanan-kiri" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Perataan teks" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Alat perataan teks" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/it.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/it.po new file mode 100644 index 00000000..435983e8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/it.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Allinea a sinistra" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Allinea a destra" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Allinea al centro" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Giustifica" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Allineamento del testo" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barra degli strumenti dell'allineamento" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ja.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ja.po new file mode 100644 index 00000000..cfd43ae8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ja.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "左揃え" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "右揃え" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "中央揃え" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "両端揃え" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "文字揃え" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "テキストの整列" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/jv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/jv.po new file mode 100644 index 00000000..9a5d4128 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/jv.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n" +"Language: jv\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Rata kiwa" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Rata tengen" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Rata tengah" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Rata kiwa tengen" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Perataan seratan" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/kk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/kk.po new file mode 100644 index 00000000..5bcac791 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/kk.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kazakh (https://app.transifex.com/ckeditor/teams/11143/kk/)\n" +"Language: kk\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Солға туралау" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Оңға туралау" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Ортадан туралау" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Мәтінді туралау" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Мәтінді туралау құралдар тақтасы" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/km.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/km.po new file mode 100644 index 00000000..7578a27d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/km.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "តម្រឹម​ឆ្វេង" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "តម្រឹម​ស្ដាំ" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "តម្រឹម​កណ្ដាល" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "តម្រឹម​សងខាង" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "ការ​តម្រឹម​អក្សរ" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "របារ​ឧបករណ៍​តម្រឹម​អក្សរ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ko.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ko.po new file mode 100644 index 00000000..7de86347 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ko.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "왼쪽 정렬" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "오른쪽 정렬" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "가운데 정렬" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "양쪽 정렬" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "텍스트 정렬" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "텍스트 정렬 툴바" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ku.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ku.po new file mode 100644 index 00000000..3826c9fc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ku.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "بەهێڵکردنی چەپ" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "بەهێڵکردنی ڕاست" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "بەهێڵکردنی ناورەڕاست" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "هاوستوونی" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "ڕیززکردنی تێکست" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "تووڵامرازی ڕیززکردنی تێکست" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lt.po new file mode 100644 index 00000000..ca0901b2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lt.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Lygiuoti į kairę" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Lygiuoti į dešinę" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centruoti" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Lygiuoti per visą plotį" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Teksto lygiavimas" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Teksto lygiavimo įrankių juosta" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lv.po new file mode 100644 index 00000000..14d0dd81 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/lv.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Pa kreisi" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Pa labi" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrēt" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Izlīdzināt abas malas" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Teksta izlīdzināšana" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Teksta līdzināšanas rīkjosla" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ms.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ms.po new file mode 100644 index 00000000..1cb39857 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ms.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Jajarkan kiri" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Jajarkan kiri" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Jajarkan tengah" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Imbang" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Jajaran teks" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Bar alat capaian jajaran teks" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nb.po new file mode 100644 index 00000000..25ac6a34 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nb.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Venstrejuster" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Høyrejuster" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Midstill" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Blokkjuster" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekstjustering" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ne.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ne.po new file mode 100644 index 00000000..55c92854 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ne.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "बायाँ पङ्क्तिबद्ध गर्नुहोस्" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "दायाँ पङ्क्तिबद्ध गर्नुहोस्" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "केन्द्र पङ्क्तिबद्ध गर्नुहोस्" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "जस्टिफाइ गर्नुहोस्" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "पाठ संरेखण" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nl.po new file mode 100644 index 00000000..25b5735f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/nl.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Links uitlijnen" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Rechts uitlijnen" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Midden uitlijnen" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Volledig uitlijnen" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekst uitlijning" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Tekst uitlijning werkbalk" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/no.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/no.po new file mode 100644 index 00000000..f6f45dc2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/no.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Venstrejuster" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Høyrejuster" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Midtstill" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Blokkjuster" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekstjustering" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Verktøylinje for tekstjustering" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pl.po new file mode 100644 index 00000000..4448420a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pl.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Wyrównaj do lewej" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Wyrównaj do prawej" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Wyrównaj do środka" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Wyrównaj obustronnie" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Wyrównanie tekstu" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Pasek narzędzi wyrównania tekstu" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt-br.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt-br.po new file mode 100644 index 00000000..ccf53258 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt-br.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Alinhar à esquerda" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Alinhar à direita" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centralizar" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justificar" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alinhamento do texto" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Ferramentas de alinhamento de texto" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt.po new file mode 100644 index 00000000..e35af788 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/pt.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Alinhar à esquerda" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Alinhar à direita" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Alinhar ao centro" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justificar" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Alinhamento de texto" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Barra de alinhamento de texto" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ro.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ro.po new file mode 100644 index 00000000..6174b022 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ro.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Aliniază la stânga" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Aliniază la dreapta" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Aliniază la centru" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Aliniază stânga-dreapta" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Aliniere text" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Bara aliniere text" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ru.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ru.po new file mode 100644 index 00000000..1d93e865 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ru.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Выравнивание по левому краю" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Выравнивание по правому краю" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Выравнивание по центру" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Выравнивание по ширине" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Выравнивание текста" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Выравнивание" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sk.po new file mode 100644 index 00000000..7425b027 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sk.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Zarovnať vľavo" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Zarovnať vpravo" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Zarovnať na stred" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Do bloku" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Zarovnanie textu" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Panel nástrojov zarovnania textu" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sl.po new file mode 100644 index 00000000..2a02b324 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sl.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Poravnava levo" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Poravnava desno" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Sredinska poravnava" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Postavi na sredino" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Poravnava besedila" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Orodna vrstica besedila" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sq.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sq.po new file mode 100644 index 00000000..7a6b469a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sq.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Radhit majtas" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Radhit djathtas" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Radhit në mes" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Plotësim" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Radhitja e tekstit" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Shiriti i rradhitjes së tekstit" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr-latn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr-latn.po new file mode 100644 index 00000000..bacb4616 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr-latn.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Levo ravnanje" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Desno ravnanje" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centralno ravnanje" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Obostrano ravnanje" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Ravnanje teksta" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Alatke za ravnanje teksta" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr.po new file mode 100644 index 00000000..e455018c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sr.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Лево равнање" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Десно равнање" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Централно равнанје" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Обострано равнање" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Равнање текста" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Алатке за равнање текста" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sv.po new file mode 100644 index 00000000..1c751454 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/sv.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Vänsterjustera" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Högerjustera" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Centrera" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Justera till marginaler" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Textjustering" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Verktygsfält för textjustering" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/th.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/th.po new file mode 100644 index 00000000..f5b23b37 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/th.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "จัดชิดซ้าย" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "จัดชิดขวา" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "จัดกึ่งกลาง" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "จัด(ขอบ)" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "จัดตำแหน่งข้อความ" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "แถบเครื่องมือจัดตำแหน่งข้อความ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tk.po new file mode 100644 index 00000000..34c87e66 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tk.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Çepe deňleşdiriň" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Saga deňleşdiriň" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Merkeze deňleşdir" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Akla" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Tekstiň deňleşdirilmegi" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Teksti deňleşdirmek gurallar paneli" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tr.po new file mode 100644 index 00000000..70c78515 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/tr.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Sola hizala" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Sağa hizala" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Ortala" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "İki yana yasla" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Yazı hizalama" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Yazı Hizlama Araç Çubuğu" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ug.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ug.po new file mode 100644 index 00000000..e0433d24 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ug.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "سولغا توغرىلاش" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "ئوڭغا توغرىلاش" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "ئوتتۇرىغا توغرىلاش" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "ئوڭ سولدىن توغرىلا" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "تېكىست توغرىلاش" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "تېكىست توغرىلاش قورالبالدىقى" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uk.po new file mode 100644 index 00000000..1de588c8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uk.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "По лівому краю" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "По правому краю" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "По центру" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "По ширині" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Вирівнювання тексту" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Панель інструментів вирівнювання тексту" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ur.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ur.po new file mode 100644 index 00000000..9ea169c7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/ur.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "بائیں سیدھ" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "دائیں سیدھ" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "درمیانی سیدھ" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "برابر سیدھ" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "متن کی سیدھ" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "خانہ آلات برائے سیدھ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uz.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uz.po new file mode 100644 index 00000000..7c239043 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/uz.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Chap tomonda tekislash" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "O'ng tomonda tekislash" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "O'rtada tekislash" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Kengligi bo'yicha tekislash" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Matnni tekislash" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Tekislash" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/vi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/vi.po new file mode 100644 index 00000000..e30ff535 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/vi.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "Canh trái" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "Canh phải" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "Canh giữa" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "Canh đều" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "Căn chỉnh văn bản" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "Thanh công cụ canh chữ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh-cn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh-cn.po new file mode 100644 index 00000000..8c5d2a11 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh-cn.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "左对齐" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "右对齐" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "居中对齐" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "两端对齐" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "对齐" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "对齐工具栏" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh.po new file mode 100644 index 00000000..3dade768 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/lang/translations/zh.po @@ -0,0 +1,42 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for aligning the text to the left." +msgid "Align left" +msgstr "靠左對齊" + +msgctxt "Toolbar button tooltip for aligning the text to the right." +msgid "Align right" +msgstr "靠右對齊" + +msgctxt "Toolbar button tooltip for aligning the text to center." +msgid "Align center" +msgstr "置中對齊" + +msgctxt "Toolbar button tooltip for making the text justified." +msgid "Justify" +msgstr "左右對齊" + +msgctxt "Dropdown button tooltip for the text alignment feature." +msgid "Text alignment" +msgstr "文字對齊" + +msgctxt "Label used by assistive technologies describing the text alignment feature toolbar." +msgid "Text alignment toolbar" +msgstr "文字對齊" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/package.json new file mode 100644 index 00000000..dfc1b42f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/package.json @@ -0,0 +1,36 @@ +{ + "name": "@ckeditor/ckeditor5-alignment", + "version": "40.2.0", + "description": "Text alignment feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "ckeditor5": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-alignment" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.d.ts new file mode 100644 index 00000000..c4c6f987 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignment + */ +import { Plugin } from 'ckeditor5/src/core'; +import AlignmentEditing from './alignmentediting'; +import AlignmentUI from './alignmentui'; +/** + * The text alignment plugin. + * + * For a detailed overview, check the {@glink features/text-alignment Text alignment} feature guide + * and the {@glink api/alignment package page}. + * + * This is a "glue" plugin which loads the {@link module:alignment/alignmentediting~AlignmentEditing} and + * {@link module:alignment/alignmentui~AlignmentUI} plugins. + */ +export default class Alignment extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof AlignmentEditing, typeof AlignmentUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Alignment"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.js new file mode 100644 index 00000000..f8dae050 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignment.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignment + */ +import { Plugin } from 'ckeditor5/src/core'; +import AlignmentEditing from './alignmentediting'; +import AlignmentUI from './alignmentui'; +/** + * The text alignment plugin. + * + * For a detailed overview, check the {@glink features/text-alignment Text alignment} feature guide + * and the {@glink api/alignment package page}. + * + * This is a "glue" plugin which loads the {@link module:alignment/alignmentediting~AlignmentEditing} and + * {@link module:alignment/alignmentui~AlignmentUI} plugins. + */ +export default class Alignment extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [AlignmentEditing, AlignmentUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Alignment'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.d.ts new file mode 100644 index 00000000..a560d7f6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.d.ts @@ -0,0 +1,43 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentcommand + */ +import { Command } from 'ckeditor5/src/core'; +import type { SupportedOption } from './alignmentconfig'; +/** + * The alignment command plugin. + */ +export default class AlignmentCommand extends Command { + /** + * A value of the current block's alignment. + * + * @observable + * @readonly + */ + value: SupportedOption; + /** + * @inheritDoc + */ + refresh(): void; + /** + * Executes the command. Applies the alignment `value` to the selected blocks. + * If no `value` is passed, the `value` is the default one or it is equal to the currently selected block's alignment attribute, + * the command will remove the attribute from the selected blocks. + * + * @param options Options for the executed command. + * @param options.value The value to apply. + * @fires execute + */ + execute(options?: { + value?: SupportedOption; + }): void; + /** + * Checks whether a block can have alignment set. + * + * @param block The block to be checked. + */ + private _canBeAligned; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.js new file mode 100644 index 00000000..a0c4980e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentcommand.js @@ -0,0 +1,88 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentcommand + */ +import { Command } from 'ckeditor5/src/core'; +import { first } from 'ckeditor5/src/utils'; +import { isDefault } from './utils'; +const ALIGNMENT = 'alignment'; +/** + * The alignment command plugin. + */ +export default class AlignmentCommand extends Command { + /** + * @inheritDoc + */ + refresh() { + const editor = this.editor; + const locale = editor.locale; + const firstBlock = first(this.editor.model.document.selection.getSelectedBlocks()); + // As first check whether to enable or disable the command as the value will always be false if the command cannot be enabled. + this.isEnabled = Boolean(firstBlock) && this._canBeAligned(firstBlock); + if (this.isEnabled && firstBlock.hasAttribute('alignment')) { + this.value = firstBlock.getAttribute('alignment'); + } + else { + this.value = locale.contentLanguageDirection === 'rtl' ? 'right' : 'left'; + } + } + /** + * Executes the command. Applies the alignment `value` to the selected blocks. + * If no `value` is passed, the `value` is the default one or it is equal to the currently selected block's alignment attribute, + * the command will remove the attribute from the selected blocks. + * + * @param options Options for the executed command. + * @param options.value The value to apply. + * @fires execute + */ + execute(options = {}) { + const editor = this.editor; + const locale = editor.locale; + const model = editor.model; + const doc = model.document; + const value = options.value; + model.change(writer => { + // Get only those blocks from selected that can have alignment set + const blocks = Array.from(doc.selection.getSelectedBlocks()).filter(block => this._canBeAligned(block)); + const currentAlignment = blocks[0].getAttribute('alignment'); + // Remove alignment attribute if current alignment is: + // - default (should not be stored in model as it will bloat model data) + // - equal to currently set + // - or no value is passed - denotes default alignment. + const removeAlignment = isDefault(value, locale) || currentAlignment === value || !value; + if (removeAlignment) { + removeAlignmentFromSelection(blocks, writer); + } + else { + setAlignmentOnSelection(blocks, writer, value); + } + }); + } + /** + * Checks whether a block can have alignment set. + * + * @param block The block to be checked. + */ + _canBeAligned(block) { + return this.editor.model.schema.checkAttribute(block, ALIGNMENT); + } +} +/** + * Removes the alignment attribute from blocks. + */ +function removeAlignmentFromSelection(blocks, writer) { + for (const block of blocks) { + writer.removeAttribute(ALIGNMENT, block); + } +} +/** + * Sets the alignment attribute on blocks. + */ +function setAlignmentOnSelection(blocks, writer, alignment) { + for (const block of blocks) { + writer.setAttribute(ALIGNMENT, alignment, block); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.d.ts new file mode 100644 index 00000000..72ce0c00 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.d.ts @@ -0,0 +1,72 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentconfig + */ +/** + * The configuration of the {@link module:alignment/alignment~Alignment alignment feature}. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * alignment: { + * options: [ 'left', 'right' ] + * } + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}. + */ +export interface AlignmentConfig { + options?: Array; +} +/** + * Available alignment options. + * + * The available options are: `'left'`, `'right'`, `'center'` and `'justify'`. Other values are ignored. + * + * **Note:** It is recommended to always use `'left'` or `'right'` as these are default values which the user should + * normally be able to choose depending on the + * {@glink features/ui-language#setting-the-language-of-the-content language of the editor content}. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * alignment: { + * options: [ 'left', 'right' ] + * } + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * By default the alignment is set inline using the `text-align` CSS property. To further customize the alignment, + * you can provide names of classes for each alignment option using the `className` property. + * + * **Note:** Once you define the `className` property for one option, you need to specify it for all other options. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * alignment: { + * options: [ + * { name: 'left', className: 'my-align-left' }, + * { name: 'right', className: 'my-align-right' } + * ] + * } + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * See the demo of {@glink features/text-alignment#configuring-alignment-options custom alignment options}. + */ +export type AlignmentFormat = { + name: SupportedOption; + className?: string; +}; +export type SupportedOption = 'left' | 'right' | 'center' | 'justify'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentconfig.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.d.ts new file mode 100644 index 00000000..d896e05f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentediting + */ +import { Plugin, type Editor } from 'ckeditor5/src/core'; +/** + * The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds + * the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}. + */ +export default class AlignmentEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "AlignmentEditing"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.js new file mode 100644 index 00000000..7fedfd27 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentediting.js @@ -0,0 +1,147 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AlignmentCommand from './alignmentcommand'; +import { isDefault, isSupported, normalizeAlignmentOptions, supportedOptions } from './utils'; +/** + * The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds + * the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}. + */ +export default class AlignmentEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'AlignmentEditing'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + editor.config.define('alignment', { + options: supportedOptions.map(option => ({ name: option })) + }); + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const locale = editor.locale; + const schema = editor.model.schema; + const options = normalizeAlignmentOptions(editor.config.get('alignment.options')); + // Filter out unsupported options and those that are redundant, e.g. `left` in LTR / `right` in RTL mode. + const optionsToConvert = options.filter(option => isSupported(option.name) && !isDefault(option.name, locale)); + // Once there is at least one `className` defined, we switch to alignment with classes. + const shouldUseClasses = optionsToConvert.some(option => !!option.className); + // Allow alignment attribute on all blocks. + schema.extend('$block', { allowAttributes: 'alignment' }); + editor.model.schema.setAttributeProperties('alignment', { isFormatting: true }); + if (shouldUseClasses) { + editor.conversion.attributeToAttribute(buildClassDefinition(optionsToConvert)); + } + else { + // Downcast inline styles. + editor.conversion.for('downcast').attributeToAttribute(buildDowncastInlineDefinition(optionsToConvert)); + } + const upcastInlineDefinitions = buildUpcastInlineDefinitions(optionsToConvert); + // Always upcast from inline styles. + for (const definition of upcastInlineDefinitions) { + editor.conversion.for('upcast').attributeToAttribute(definition); + } + const upcastCompatibilityDefinitions = buildUpcastCompatibilityDefinitions(optionsToConvert); + // Always upcast from deprecated `align` attribute. + for (const definition of upcastCompatibilityDefinitions) { + editor.conversion.for('upcast').attributeToAttribute(definition); + } + editor.commands.add('alignment', new AlignmentCommand(editor)); + } +} +/** + * Prepare downcast conversion definition for inline alignment styling. + */ +function buildDowncastInlineDefinition(options) { + const view = {}; + for (const { name } of options) { + view[name] = { + key: 'style', + value: { + 'text-align': name + } + }; + } + const definition = { + model: { + key: 'alignment', + values: options.map(option => option.name) + }, + view + }; + return definition; +} +/** + * Prepare upcast definitions for inline alignment styles. + */ +function buildUpcastInlineDefinitions(options) { + const definitions = []; + for (const { name } of options) { + definitions.push({ + view: { + key: 'style', + value: { + 'text-align': name + } + }, + model: { + key: 'alignment', + value: name + } + }); + } + return definitions; +} +/** + * Prepare upcast definitions for deprecated `align` attribute. + */ +function buildUpcastCompatibilityDefinitions(options) { + const definitions = []; + for (const { name } of options) { + definitions.push({ + view: { + key: 'align', + value: name + }, + model: { + key: 'alignment', + value: name + } + }); + } + return definitions; +} +/** + * Prepare conversion definitions for upcast and downcast alignment with classes. + */ +function buildClassDefinition(options) { + const view = {}; + for (const option of options) { + view[option.name] = { + key: 'class', + value: option.className + }; + } + const definition = { + model: { + key: 'alignment', + values: options.map(option => option.name) + }, + view + }; + return definition; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.d.ts new file mode 100644 index 00000000..2778c9ed --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.d.ts @@ -0,0 +1,45 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentui + */ +import { Plugin } from 'ckeditor5/src/core'; +import type { SupportedOption } from './alignmentconfig'; +/** + * The default alignment UI plugin. + * + * It introduces the `'alignment:left'`, `'alignment:right'`, `'alignment:center'` and `'alignment:justify'` buttons + * and the `'alignment'` dropdown. + */ +export default class AlignmentUI extends Plugin { + /** + * Returns the localized option titles provided by the plugin. + * + * The following localized titles corresponding with + * {@link module:alignment/alignmentconfig~AlignmentConfig#options} are available: + * + * * `'left'`, + * * `'right'`, + * * `'center'`, + * * `'justify'`. + * + * @readonly + */ + get localizedOptionTitles(): Record; + /** + * @inheritDoc + */ + static get pluginName(): "AlignmentUI"; + /** + * @inheritDoc + */ + init(): void; + /** + * Helper method for initializing the button and linking it with an appropriate command. + * + * @param option The name of the alignment option for which the button is added. + */ + private _addButton; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.js new file mode 100644 index 00000000..b1993b48 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/alignmentui.js @@ -0,0 +1,124 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment/alignmentui + */ +import { Plugin, icons } from 'ckeditor5/src/core'; +import { ButtonView, createDropdown, addToolbarToDropdown } from 'ckeditor5/src/ui'; +import { isSupported, normalizeAlignmentOptions } from './utils'; +const iconsMap = new Map([ + ['left', icons.alignLeft], + ['right', icons.alignRight], + ['center', icons.alignCenter], + ['justify', icons.alignJustify] +]); +/** + * The default alignment UI plugin. + * + * It introduces the `'alignment:left'`, `'alignment:right'`, `'alignment:center'` and `'alignment:justify'` buttons + * and the `'alignment'` dropdown. + */ +export default class AlignmentUI extends Plugin { + /** + * Returns the localized option titles provided by the plugin. + * + * The following localized titles corresponding with + * {@link module:alignment/alignmentconfig~AlignmentConfig#options} are available: + * + * * `'left'`, + * * `'right'`, + * * `'center'`, + * * `'justify'`. + * + * @readonly + */ + get localizedOptionTitles() { + const t = this.editor.t; + return { + 'left': t('Align left'), + 'right': t('Align right'), + 'center': t('Align center'), + 'justify': t('Justify') + }; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'AlignmentUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const componentFactory = editor.ui.componentFactory; + const t = editor.t; + const options = normalizeAlignmentOptions(editor.config.get('alignment.options')); + options + .map(option => option.name) + .filter(isSupported) + .forEach(option => this._addButton(option)); + componentFactory.add('alignment', locale => { + const dropdownView = createDropdown(locale); + // Add existing alignment buttons to dropdown's toolbar. + addToolbarToDropdown(dropdownView, () => options.map(option => componentFactory.create(`alignment:${option.name}`)), { + enableActiveItemFocusOnDropdownOpen: true, + isVertical: true, + ariaLabel: t('Text alignment toolbar') + }); + // Configure dropdown properties an behavior. + dropdownView.buttonView.set({ + label: t('Text alignment'), + tooltip: true + }); + dropdownView.extendTemplate({ + attributes: { + class: 'ck-alignment-dropdown' + } + }); + // The default icon depends on the direction of the content. + const defaultIcon = locale.contentLanguageDirection === 'rtl' ? iconsMap.get('right') : iconsMap.get('left'); + const command = editor.commands.get('alignment'); + // Change icon to reflect current selection's alignment. + dropdownView.buttonView.bind('icon').to(command, 'value', value => iconsMap.get(value) || defaultIcon); + // Enable button if any of the buttons is enabled. + dropdownView.bind('isEnabled').to(command, 'isEnabled'); + // Focus the editable after executing the command. + // Overrides a default behaviour where the focus is moved to the dropdown button (#12125). + this.listenTo(dropdownView, 'execute', () => { + editor.editing.view.focus(); + }); + return dropdownView; + }); + } + /** + * Helper method for initializing the button and linking it with an appropriate command. + * + * @param option The name of the alignment option for which the button is added. + */ + _addButton(option) { + const editor = this.editor; + editor.ui.componentFactory.add(`alignment:${option}`, locale => { + const command = editor.commands.get('alignment'); + const buttonView = new ButtonView(locale); + buttonView.set({ + label: this.localizedOptionTitles[option], + icon: iconsMap.get(option), + tooltip: true, + isToggleable: true + }); + // Bind button model to command. + buttonView.bind('isEnabled').to(command); + buttonView.bind('isOn').to(command, 'value', value => value === option); + // Execute command. + this.listenTo(buttonView, 'execute', () => { + editor.execute('alignment', { value: option }); + editor.editing.view.focus(); + }); + return buttonView; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.d.ts new file mode 100644 index 00000000..49734817 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.d.ts @@ -0,0 +1,23 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Alignment, AlignmentEditing, AlignmentUI, AlignmentCommand, AlignmentConfig } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface EditorConfig { + /** + * The configuration of the {@link module:alignment/alignment~Alignment alignment feature}. + * + * Read more in {@link module:alignment/alignmentconfig~AlignmentConfig}. + */ + alignment?: AlignmentConfig; + } + interface PluginsMap { + [Alignment.pluginName]: Alignment; + [AlignmentUI.pluginName]: AlignmentUI; + [AlignmentEditing.pluginName]: AlignmentEditing; + } + interface CommandsMap { + alignment: AlignmentCommand; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.d.ts new file mode 100644 index 00000000..1a947869 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.d.ts @@ -0,0 +1,13 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment + */ +export { default as Alignment } from './alignment'; +export { default as AlignmentEditing } from './alignmentediting'; +export { default as AlignmentUI } from './alignmentui'; +export type { default as AlignmentCommand } from './alignmentcommand'; +export type { AlignmentConfig } from './alignmentconfig'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.js new file mode 100644 index 00000000..b59245d5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/index.js @@ -0,0 +1,11 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module alignment + */ +export { default as Alignment } from './alignment'; +export { default as AlignmentEditing } from './alignmentediting'; +export { default as AlignmentUI } from './alignmentui'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.d.ts new file mode 100644 index 00000000..987ae3dc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.d.ts @@ -0,0 +1,39 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { type Locale } from 'ckeditor5/src/utils'; +import type { AlignmentFormat, SupportedOption } from './alignmentconfig'; +/** + * @module alignment/utils + */ +/** + * The list of supported alignment options: + * + * * `'left'`, + * * `'right'`, + * * `'center'`, + * * `'justify'` + */ +export declare const supportedOptions: ReadonlyArray; +/** + * Checks whether the passed option is supported by {@link module:alignment/alignmentediting~AlignmentEditing}. + * + * @param option The option value to check. + */ +export declare function isSupported(option: string): boolean; +/** + * Checks whether alignment is the default one considering the direction + * of the editor content. + * + * @param alignment The name of the alignment to check. + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export declare function isDefault(alignment: string, locale: Locale): boolean; +/** + * Brings the configuration to the common form, an array of objects. + * + * @param configuredOptions Alignment plugin configuration. + * @returns Normalized object holding the configuration. + */ +export declare function normalizeAlignmentOptions(configuredOptions: Array): Array; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.js new file mode 100644 index 00000000..6d6894a9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-alignment/src/utils.js @@ -0,0 +1,118 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { CKEditorError, logWarning } from 'ckeditor5/src/utils'; +/** + * @module alignment/utils + */ +/** + * The list of supported alignment options: + * + * * `'left'`, + * * `'right'`, + * * `'center'`, + * * `'justify'` + */ +export const supportedOptions = ['left', 'right', 'center', 'justify']; +/** + * Checks whether the passed option is supported by {@link module:alignment/alignmentediting~AlignmentEditing}. + * + * @param option The option value to check. + */ +export function isSupported(option) { + return supportedOptions.includes(option); +} +/** + * Checks whether alignment is the default one considering the direction + * of the editor content. + * + * @param alignment The name of the alignment to check. + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export function isDefault(alignment, locale) { + // Right now only LTR is supported so the 'left' value is always the default one. + if (locale.contentLanguageDirection == 'rtl') { + return alignment === 'right'; + } + else { + return alignment === 'left'; + } +} +/** + * Brings the configuration to the common form, an array of objects. + * + * @param configuredOptions Alignment plugin configuration. + * @returns Normalized object holding the configuration. + */ +export function normalizeAlignmentOptions(configuredOptions) { + const normalizedOptions = configuredOptions + .map(option => { + let result; + if (typeof option == 'string') { + result = { name: option }; + } + else { + result = option; + } + return result; + }) + // Remove all unknown options. + .filter(option => { + const isNameValid = supportedOptions.includes(option.name); + if (!isNameValid) { + /** + * The `name` in one of the `alignment.options` is not recognized. + * The available options are: `'left'`, `'right'`, `'center'` and `'justify'`. + * + * @error alignment-config-name-not-recognized + * @param option Options with unknown value of the `name` property. + */ + logWarning('alignment-config-name-not-recognized', { option }); + } + return isNameValid; + }); + const classNameCount = normalizedOptions.filter(option => Boolean(option.className)).length; + // We either use classes for all styling options or for none. + if (classNameCount && classNameCount < normalizedOptions.length) { + /** + * The `className` property has to be defined for all options once at least one option declares `className`. + * + * @error alignment-config-classnames-are-missing + * @param configuredOptions Contents of `alignment.options`. + */ + throw new CKEditorError('alignment-config-classnames-are-missing', { configuredOptions }); + } + // Validate resulting config. + normalizedOptions.forEach((option, index, allOptions) => { + const succeedingOptions = allOptions.slice(index + 1); + const nameAlreadyExists = succeedingOptions.some(item => item.name == option.name); + if (nameAlreadyExists) { + /** + * The same `name` in one of the `alignment.options` was already declared. + * Each `name` representing one alignment option can be set exactly once. + * + * @error alignment-config-name-already-defined + * @param option First option that declares given `name`. + * @param configuredOptions Contents of `alignment.options`. + */ + throw new CKEditorError('alignment-config-name-already-defined', { option, configuredOptions }); + } + // The `className` property is present. Check for duplicates then. + if (option.className) { + const classNameAlreadyExists = succeedingOptions.some(item => item.className == option.className); + if (classNameAlreadyExists) { + /** + * The same `className` in one of the `alignment.options` was already declared. + * + * @error alignment-config-classname-already-defined + * @param option First option that declares given `className`. + * @param configuredOptions + * Contents of `alignment.options`. + */ + throw new CKEditorError('alignment-config-classname-already-defined', { option, configuredOptions }); + } + } + }); + return normalizedOptions; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/CHANGELOG.md new file mode 100644 index 00000000..3eb4a93b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/CHANGELOG.md @@ -0,0 +1,208 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v18.0.0...v19.0.0) (April 29, 2020) + +### Features + +* Added auto format integration with the strike through using `~~` string. Closes [ckeditor/ckeditor5#6412](https://github.com/ckeditor/ckeditor5/issues/6412). ([9c3fd3e](https://github.com/ckeditor/ckeditor5-autoformat/commit/9c3fd3e)) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v16.0.0...v17.0.0) (February 18, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Features + +* Enabled code block autoformatting with the `` ``` `` sequence. Closes [ckeditor/ckeditor5#5672](https://github.com/ckeditor/ckeditor5/issues/5672). ([fb2d1b5](https://github.com/ckeditor/ckeditor5-autoformat/commit/fb2d1b5)) + +### Bug fixes + +* `BlockAutoformat` should not react to text typed after inline element. Closes [ckeditor/ckeditor5#5671](https://github.com/ckeditor/ckeditor5/issues/5671). ([241c294](https://github.com/ckeditor/ckeditor5-autoformat/commit/241c294)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.5...v15.0.0) (October 23, 2019) + +### Bug fixes + +* Autoformat transformations in blocks containing inline elements. Closes [ckeditor/ckeditor5#1955](https://github.com/ckeditor/ckeditor5/issues/1955). ([133c647](https://github.com/ckeditor/ckeditor5-autoformat/commit/133c647)) + +### Other changes + +* Add `pluginName` property to editing plugins. ([44fcbc7](https://github.com/ckeditor/ckeditor5-autoformat/commit/44fcbc7)) + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([65f5d11](https://github.com/ckeditor/ckeditor5-autoformat/commit/65f5d11)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.1...v11.0.2) (June 6, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Any digit followed by a dot will not trigger the numbered list. Now, only `1` is supported by the `Autoformat` plugin. Closes [#60](https://github.com/ckeditor/ckeditor5-autoformat/issues/60). ([c7c4662](https://github.com/ckeditor/ckeditor5-autoformat/commit/c7c4662)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### Features + +* `BlockAutoformatEditing` will not format the text if the command is disabled. `InlineAutoformatEditing` will not format the text if the callback returned `false`. Closes [#64](https://github.com/ckeditor/ckeditor5-autoformat/issues/64). ([cc7f454](https://github.com/ckeditor/ckeditor5-autoformat/commit/cc7f454)) +* Cancel `BlockAutoformatEditing` autoformatting if given callback returned `false`. Closes [#66](https://github.com/ckeditor/ckeditor5-autoformat/issues/66). ([9b066f1](https://github.com/ckeditor/ckeditor5-autoformat/commit/9b066f1)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.3...v10.0.4) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.2...v10.0.3) (October 8, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.1...v10.0.2) (July 18, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.0...v10.0.1) (June 21, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a9a514a](https://github.com/ckeditor/ckeditor5-autoformat/commit/a9a514a)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Bug fixes + +* Autoformat should ignore transparent batches. Closes [#56](https://github.com/ckeditor/ckeditor5-autoformat/issues/56). ([e42f987](https://github.com/ckeditor/ckeditor5-autoformat/commit/e42f987)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Bug fixes + +* Fixed integration with undo. Closes [#53](https://github.com/ckeditor/ckeditor5-autoformat/issues/53). ([f5d68f4](https://github.com/ckeditor/ckeditor5-autoformat/commit/f5d68f4)) +* Ordered list will now be triggered by a numer and `.` or `)`. Closes [#42](https://github.com/ckeditor/ckeditor5-autoformat/issues/42). ([bcc4e3b](https://github.com/ckeditor/ckeditor5-autoformat/commit/bcc4e3b)) + + Thanks to [@vladikoff](https://github.com/vladikoff)! + +### Other changes + +* Aligned feature class naming to the new scheme. ([5f5b4a9](https://github.com/ckeditor/ckeditor5-autoformat/commit/5f5b4a9)) + + +## 0.0.1 (October 27, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Bug fixes + +* `LiveRanges` used by `InlineAutoFormatEngine` are now properly detached. Closes [#39](https://github.com/ckeditor/ckeditor5-autoformat/issues/39). ([5f24ae8](https://github.com/ckeditor/ckeditor5-autoformat/commit/5f24ae8)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.6.0...v1.0.0-alpha.1) (October 3, 2017) + +### Features + +* Added support for backticks which apply `` to the wrapped fragment of text. Closes [#35](https://github.com/ckeditor/ckeditor5-autoformat/issues/35). ([3e93bf6](https://github.com/ckeditor/ckeditor5-autoformat/commit/3e93bf6)) + + +## [0.6.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.5.1...v0.6.0) (September 3, 2017) + +### Bug fixes + +* The `Autoformat` plugin should not require other features. Closes [#5](https://github.com/ckeditor/ckeditor5-autoformat/issues/5) and [#17](https://github.com/ckeditor/ckeditor5-autoformat/issues/17). ([d22c5b6](https://github.com/ckeditor/ckeditor5-autoformat/commit/d22c5b6)) +* Autoformatting will not be triggered if the batch with changes is `transparent` (e.g. it represents other user's changes). ([f1131bc](https://github.com/ckeditor/ckeditor5-autoformat/commit/f1131bc)) + +### Features + +* Added support for block quotes. Closes [#26](https://github.com/ckeditor/ckeditor5-autoformat/issues/26). ([4c1e83e](https://github.com/ckeditor/ckeditor5-autoformat/commit/4c1e83e)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([f20ef7d](https://github.com/ckeditor/ckeditor5-autoformat/commit/f20ef7d)) +* The autoformat feature will not depend on the configuration of the heading feature but it will use the available `heading*` commands. Closes [#29](https://github.com/ckeditor/ckeditor5-autoformat/issues/29). ([d0cee1f](https://github.com/ckeditor/ckeditor5-autoformat/commit/d0cee1f)) + +### BREAKING CHANGES + +* The command API has been changed. + +### NOTE + +* The Autoformat feature does not require Bold, Italic, Heading, etc. any longer. In order to make the most of the plugin, please make sure that relevant features are loaded in your editor. + + +## [0.5.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.5.0...v0.5.1) (May 7, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + +## [0.5.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.4.1...v0.5.0) (April 5, 2017) + +### Features + +* Named existing plugin(s). ([e043947](https://github.com/ckeditor/ckeditor5-autoformat/commit/e043947)) + +### Other changes + +* Updated command names to match the latest API of the Heading feature. Closes [#22](https://github.com/ckeditor/ckeditor5-autoformat/issues/22). ([10b5561](https://github.com/ckeditor/ckeditor5-autoformat/commit/10b5561)) + + +## [0.4.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.4.0...v0.4.1) (March 6, 2017) + +### Other changes + +* Aligned the use of the `heading` command to the changes in the `ckeditor5-heading` package. Closes [#20](https://github.com/ckeditor/ckeditor5/issues/20). ([6b8b759](https://github.com/ckeditor/ckeditor5-autoformat/commit/6b8b759)) diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/LICENSE.md new file mode 100644 index 00000000..be47ac25 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 autoformat feature** – https://github.com/ckeditor/ckeditor5-autoformat
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/README.md new file mode 100644 index 00000000..0647a22e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/README.md @@ -0,0 +1,20 @@ +CKEditor 5 autoformat feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-autoformat.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements the autoformatting feature for CKEditor 5. It allows styling text by typing sequences like `**bold this**`. + +## Demo + +Check out the [demo in the autoformat feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-autoformat` package](https://ckeditor.com/docs/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/build/autoformat.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/build/autoformat.js new file mode 100644 index 00000000..1549a990 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/build/autoformat.js @@ -0,0 +1,4 @@ +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var t={704:(t,e,o)=>{t.exports=o(79)("./src/core.js")},492:(t,e,o)=>{t.exports=o(79)("./src/engine.js")},181:(t,e,o)=>{t.exports=o(79)("./src/typing.js")},209:(t,e,o)=>{t.exports=o(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{Autoformat:()=>c});var t=o(704),e=o(181),s=o(492),n=o(209);function r(t,e,o,i){let r,d=null;"function"==typeof i?r=i:(d=t.commands.get(i),r=()=>{t.execute(i)}),t.model.document.on("change:data",((a,c)=>{if(d&&!d.isEnabled||!e.isEnabled)return;const l=(0,n.first)(t.model.document.selection.getRanges());if(!l.isCollapsed)return;if(c.isUndo||!c.isLocal)return;const u=Array.from(t.model.document.differ.getChanges()),h=u[0];if(1!=u.length||"insert"!==h.type||"$text"!=h.name||1!=h.length)return;const g=h.position.parent;if(g.is("element","codeBlock"))return;if(g.is("element","listItem")&&"function"!=typeof i&&!["numberedList","bulletedList","todoList"].includes(i))return;if(d&&!0===d.value)return;const m=g.getChild(0),f=t.model.createRangeOn(m);if(!f.containsRange(l)&&!l.end.isEqual(f.end))return;const p=o.exec(m.data.substr(0,l.end.offset));p&&t.model.enqueueChange((e=>{const o=e.createPositionAt(g,0),i=e.createPositionAt(g,p[0].length),n=new s.LiveRange(o,i);if(!1!==r({match:p})){e.remove(n);const o=t.model.document.selection.getFirstRange(),i=e.createRangeIn(g);!g.isEmpty||i.isEqual(o)||i.containsRange(o,!0)||e.remove(g)}n.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function d(t,e,o,i){let s,n;o instanceof RegExp?s=o:n=o,n=n||(t=>{let e;const o=[],i=[];for(;null!==(e=s.exec(t))&&!(e&&e.length<4);){let{index:t,1:s,2:n,3:r}=e;const d=s+n+r;t+=e[0].length-d.length;const a=[t,t+s.length],c=[t+s.length+n.length,t+s.length+n.length+r.length];o.push(a),o.push(c),i.push([t+s.length,t+s.length+n.length])}return{remove:o,format:i}}),t.model.document.on("change:data",((o,s)=>{if(s.isUndo||!s.isLocal||!e.isEnabled)return;const r=t.model,d=r.document.selection;if(!d.isCollapsed)return;const c=Array.from(r.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const u=d.focus,h=u.parent,{text:g,range:m}=function(t,e){let o=t.start;const i=Array.from(t.getItems()).reduce(((t,i)=>!i.is("$text")&&!i.is("$textProxy")||i.getAttribute("code")?(o=e.createPositionAfter(i),""):t+i.data),"");return{text:i,range:e.createRange(o,t.end)}}(r.createRange(r.createPositionAt(h,0),u),r),f=n(g),p=a(m.start,f.format,r),x=a(m.start,f.remove,r);p.length&&x.length&&r.enqueueChange((e=>{if(!1!==i(e,p)){for(const t of x.reverse())e.remove(t);r.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function a(t,e,o){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>o.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}class c extends t.Plugin{static get requires(){return[e.Delete]}static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const t=this.editor.commands;t.get("bulletedList")&&r(this.editor,this,/^[*-]\s$/,"bulletedList"),t.get("numberedList")&&r(this.editor,this,/^1[.|)]\s$/,"numberedList"),t.get("todoList")&&r(this.editor,this,/^\[\s?\]\s$/,"todoList"),t.get("checkTodoList")&&r(this.editor,this,/^\[\s?x\s?\]\s$/,(()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")}))}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get("bold")){const t=l(this.editor,"bold");d(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),d(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(t.get("italic")){const t=l(this.editor,"italic");d(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),d(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(t.get("code")){const t=l(this.editor,"code");d(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(t.get("strikethrough")){const t=l(this.editor,"strikethrough");d(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get("heading");t&&t.modelElements.filter((t=>t.match(/^heading[1-6]$/))).forEach((e=>{const o=e[7],i=new RegExp(`^(#{${o}})\\s$`);r(this.editor,this,i,(()=>{if(!t.isEnabled||t.value===e)return!1;this.editor.execute("heading",{value:e})}))}))}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&r(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const t=this.editor,e=t.model.document.selection;t.commands.get("codeBlock")&&r(t,this,/^```$/,(()=>{if(e.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})}))}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&r(this.editor,this,/^---$/,"horizontalLine")}}function l(t,e){return(o,i)=>{if(!t.commands.get(e).isEnabled)return!1;const s=t.model.schema.getValidRanges(i,e);for(const t of s)o.setAttribute(e,!0,t);o.removeSelectionAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).autoformat=i})(); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json new file mode 100644 index 00000000..73fa5b52 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + { + "name": "Autoformat", + "className": "Autoformat", + "description": "Enables a set of predefined autoformatting actions. It allows for formatting text by typing sequences like **bold this**.", + "docs": "features/autoformat.html", + "path": "src/autoformat.js" + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/package.json new file mode 100644 index 00000000..3136ca95 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/package.json @@ -0,0 +1,36 @@ +{ + "name": "@ckeditor/ckeditor5-autoformat", + "version": "40.2.0", + "description": "Autoformatting feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "ckeditor5": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-autoformat" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts new file mode 100644 index 00000000..fa564f65 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Autoformat } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [Autoformat.pluginName]: Autoformat; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts new file mode 100644 index 00000000..84411ad8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from 'ckeditor5/src/core'; +import { Delete } from 'ckeditor5/src/typing'; +/** + * Enables a set of predefined autoformatting actions. + * + * For a detailed overview, check the {@glink features/autoformat Autoformatting} feature guide + * and the {@glink api/autoformat package page}. + */ +export default class Autoformat extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Delete]; + /** + * @inheritDoc + */ + static get pluginName(): "Autoformat"; + /** + * @inheritDoc + */ + afterInit(): void; + /** + * Adds autoformatting related to the {@link module:list/list~List}. + * + * When typed: + * - `* ` or `- ` – A paragraph will be changed into a bulleted list. + * - `1. ` or `1) ` – A paragraph will be changed into a numbered list ("1" can be any digit or a list of digits). + * - `[] ` or `[ ] ` – A paragraph will be changed into a to-do list. + * - `[x] ` or `[ x ] ` – A paragraph will be changed into a checked to-do list. + */ + private _addListAutoformats; + /** + * Adds autoformatting related to the {@link module:basic-styles/bold~Bold}, + * {@link module:basic-styles/italic~Italic}, {@link module:basic-styles/code~Code} + * and {@link module:basic-styles/strikethrough~Strikethrough} + * + * When typed: + * - `**foobar**` – `**` characters are removed and `foobar` is set to bold, + * - `__foobar__` – `__` characters are removed and `foobar` is set to bold, + * - `*foobar*` – `*` characters are removed and `foobar` is set to italic, + * - `_foobar_` – `_` characters are removed and `foobar` is set to italic, + * - ``` `foobar` – ``` ` ``` characters are removed and `foobar` is set to code, + * - `~~foobar~~` – `~~` characters are removed and `foobar` is set to strikethrough. + */ + private _addBasicStylesAutoformats; + /** + * Adds autoformatting related to {@link module:heading/heading~Heading}. + * + * It is using a number at the end of the command name to associate it with the proper trigger: + * + * * `heading` with a `heading1` value will be executed when typing `#`, + * * `heading` with a `heading2` value will be executed when typing `##`, + * * ... up to `heading6` for `######`. + */ + private _addHeadingAutoformats; + /** + * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}. + * + * When typed: + * * `> ` – A paragraph will be changed to a block quote. + */ + private _addBlockQuoteAutoformats; + /** + * Adds autoformatting related to {@link module:code-block/codeblock~CodeBlock}. + * + * When typed: + * - `` ``` `` – A paragraph will be changed to a code block. + */ + private _addCodeBlockAutoformats; + /** + * Adds autoformatting related to {@link module:horizontal-line/horizontalline~HorizontalLine}. + * + * When typed: + * - `` --- `` – Will be replaced with a horizontal line. + */ + private _addHorizontalLineAutoformats; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.js new file mode 100644 index 00000000..ff6adfaf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/autoformat.js @@ -0,0 +1,189 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from 'ckeditor5/src/core'; +import { Delete } from 'ckeditor5/src/typing'; +import blockAutoformatEditing from './blockautoformatediting'; +import inlineAutoformatEditing from './inlineautoformatediting'; +/** + * Enables a set of predefined autoformatting actions. + * + * For a detailed overview, check the {@glink features/autoformat Autoformatting} feature guide + * and the {@glink api/autoformat package page}. + */ +export default class Autoformat extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [Delete]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Autoformat'; + } + /** + * @inheritDoc + */ + afterInit() { + this._addListAutoformats(); + this._addBasicStylesAutoformats(); + this._addHeadingAutoformats(); + this._addBlockQuoteAutoformats(); + this._addCodeBlockAutoformats(); + this._addHorizontalLineAutoformats(); + } + /** + * Adds autoformatting related to the {@link module:list/list~List}. + * + * When typed: + * - `* ` or `- ` – A paragraph will be changed into a bulleted list. + * - `1. ` or `1) ` – A paragraph will be changed into a numbered list ("1" can be any digit or a list of digits). + * - `[] ` or `[ ] ` – A paragraph will be changed into a to-do list. + * - `[x] ` or `[ x ] ` – A paragraph will be changed into a checked to-do list. + */ + _addListAutoformats() { + const commands = this.editor.commands; + if (commands.get('bulletedList')) { + blockAutoformatEditing(this.editor, this, /^[*-]\s$/, 'bulletedList'); + } + if (commands.get('numberedList')) { + blockAutoformatEditing(this.editor, this, /^1[.|)]\s$/, 'numberedList'); + } + if (commands.get('todoList')) { + blockAutoformatEditing(this.editor, this, /^\[\s?\]\s$/, 'todoList'); + } + if (commands.get('checkTodoList')) { + blockAutoformatEditing(this.editor, this, /^\[\s?x\s?\]\s$/, () => { + this.editor.execute('todoList'); + this.editor.execute('checkTodoList'); + }); + } + } + /** + * Adds autoformatting related to the {@link module:basic-styles/bold~Bold}, + * {@link module:basic-styles/italic~Italic}, {@link module:basic-styles/code~Code} + * and {@link module:basic-styles/strikethrough~Strikethrough} + * + * When typed: + * - `**foobar**` – `**` characters are removed and `foobar` is set to bold, + * - `__foobar__` – `__` characters are removed and `foobar` is set to bold, + * - `*foobar*` – `*` characters are removed and `foobar` is set to italic, + * - `_foobar_` – `_` characters are removed and `foobar` is set to italic, + * - ``` `foobar` – ``` ` ``` characters are removed and `foobar` is set to code, + * - `~~foobar~~` – `~~` characters are removed and `foobar` is set to strikethrough. + */ + _addBasicStylesAutoformats() { + const commands = this.editor.commands; + if (commands.get('bold')) { + const boldCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'bold'); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(\*\*)([^*]+)(\*\*)$/g, boldCallback); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(__)([^_]+)(__)$/g, boldCallback); + } + if (commands.get('italic')) { + const italicCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'italic'); + // The italic autoformatter cannot be triggered by the bold markers, so we need to check the + // text before the pattern (e.g. `(?:^|[^\*])`). + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(\*)([^*_]+)(\*)$/g, italicCallback); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(_)([^_]+)(_)$/g, italicCallback); + } + if (commands.get('code')) { + const codeCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'code'); + inlineAutoformatEditing(this.editor, this, /(`)([^`]+)(`)$/g, codeCallback); + } + if (commands.get('strikethrough')) { + const strikethroughCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'strikethrough'); + inlineAutoformatEditing(this.editor, this, /(~~)([^~]+)(~~)$/g, strikethroughCallback); + } + } + /** + * Adds autoformatting related to {@link module:heading/heading~Heading}. + * + * It is using a number at the end of the command name to associate it with the proper trigger: + * + * * `heading` with a `heading1` value will be executed when typing `#`, + * * `heading` with a `heading2` value will be executed when typing `##`, + * * ... up to `heading6` for `######`. + */ + _addHeadingAutoformats() { + const command = this.editor.commands.get('heading'); + if (command) { + command.modelElements + .filter(name => name.match(/^heading[1-6]$/)) + .forEach(modelName => { + const level = modelName[7]; + const pattern = new RegExp(`^(#{${level}})\\s$`); + blockAutoformatEditing(this.editor, this, pattern, () => { + // Should only be active if command is enabled and heading style associated with pattern is inactive. + if (!command.isEnabled || command.value === modelName) { + return false; + } + this.editor.execute('heading', { value: modelName }); + }); + }); + } + } + /** + * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}. + * + * When typed: + * * `> ` – A paragraph will be changed to a block quote. + */ + _addBlockQuoteAutoformats() { + if (this.editor.commands.get('blockQuote')) { + blockAutoformatEditing(this.editor, this, /^>\s$/, 'blockQuote'); + } + } + /** + * Adds autoformatting related to {@link module:code-block/codeblock~CodeBlock}. + * + * When typed: + * - `` ``` `` – A paragraph will be changed to a code block. + */ + _addCodeBlockAutoformats() { + const editor = this.editor; + const selection = editor.model.document.selection; + if (editor.commands.get('codeBlock')) { + blockAutoformatEditing(editor, this, /^```$/, () => { + if (selection.getFirstPosition().parent.is('element', 'listItem')) { + return false; + } + this.editor.execute('codeBlock', { + usePreviousLanguageChoice: true + }); + }); + } + } + /** + * Adds autoformatting related to {@link module:horizontal-line/horizontalline~HorizontalLine}. + * + * When typed: + * - `` --- `` – Will be replaced with a horizontal line. + */ + _addHorizontalLineAutoformats() { + if (this.editor.commands.get('horizontalLine')) { + blockAutoformatEditing(this.editor, this, /^---$/, 'horizontalLine'); + } + } +} +/** + * Helper function for getting `inlineAutoformatEditing` callbacks that checks if command is enabled. + */ +function getCallbackFunctionForInlineAutoformat(editor, attributeKey) { + return (writer, rangesToFormat) => { + const command = editor.commands.get(attributeKey); + if (!command.isEnabled) { + return false; + } + const validRanges = editor.model.schema.getValidRanges(rangesToFormat, attributeKey); + for (const range of validRanges) { + writer.setAttribute(attributeKey, true, range); + } + // After applying attribute to the text, remove given attribute from the selection. + // This way user is able to type a text without attribute used by auto formatter. + writer.removeSelectionAttribute(attributeKey); + }; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts new file mode 100644 index 00000000..02b279b8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Editor } from 'ckeditor5/src/core'; +import type Autoformat from './autoformat'; +/** + * The block autoformatting engine. It allows to format various block patterns. For example, + * it can be configured to turn a paragraph starting with `*` and followed by a space into a list item. + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/blockautoformatediting~blockAutoformatEditing `blockAutoformatEditing`} documentation + * to learn how to create custom block autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/blockautoformatediting + */ +/** + * Creates a listener triggered on {@link module:engine/model/document~Document#event:change:data `change:data`} event in the document. + * Calls the callback when inserted text matches the regular expression or the command name + * if provided instead of the callback. + * + * Examples of usage: + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the command name: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, 'heading1' ); + * ``` + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the callback: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, ( context ) => { + * const { match } = context; + * const headingLevel = match[ 1 ].length; + * + * editor.execute( 'heading', { + * formatId: `heading${ headingLevel }` + * } ); + * } ); + * ``` + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param pattern The regular expression to execute on just inserted text. The regular expression is tested against the text + * from the beginning until the caret position. + * @param callbackOrCommand The callback to execute or the command to run when the text is matched. + * In case of providing the callback, it receives the following parameter: + * * match RegExp.exec() result of matching the pattern to inserted text. + */ +export default function blockAutoformatEditing(editor: Editor, plugin: Autoformat, pattern: RegExp, callbackOrCommand: string | ((context: { + match: RegExpExecArray; +}) => unknown)): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js new file mode 100644 index 00000000..8a267ae4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js @@ -0,0 +1,137 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { LiveRange } from 'ckeditor5/src/engine'; +import { first } from 'ckeditor5/src/utils'; +/** + * The block autoformatting engine. It allows to format various block patterns. For example, + * it can be configured to turn a paragraph starting with `*` and followed by a space into a list item. + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/blockautoformatediting~blockAutoformatEditing `blockAutoformatEditing`} documentation + * to learn how to create custom block autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/blockautoformatediting + */ +/** + * Creates a listener triggered on {@link module:engine/model/document~Document#event:change:data `change:data`} event in the document. + * Calls the callback when inserted text matches the regular expression or the command name + * if provided instead of the callback. + * + * Examples of usage: + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the command name: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, 'heading1' ); + * ``` + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the callback: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, ( context ) => { + * const { match } = context; + * const headingLevel = match[ 1 ].length; + * + * editor.execute( 'heading', { + * formatId: `heading${ headingLevel }` + * } ); + * } ); + * ``` + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param pattern The regular expression to execute on just inserted text. The regular expression is tested against the text + * from the beginning until the caret position. + * @param callbackOrCommand The callback to execute or the command to run when the text is matched. + * In case of providing the callback, it receives the following parameter: + * * match RegExp.exec() result of matching the pattern to inserted text. + */ +export default function blockAutoformatEditing(editor, plugin, pattern, callbackOrCommand) { + let callback; + let command = null; + if (typeof callbackOrCommand == 'function') { + callback = callbackOrCommand; + } + else { + // We assume that the actual command name was provided. + command = editor.commands.get(callbackOrCommand); + callback = () => { + editor.execute(callbackOrCommand); + }; + } + editor.model.document.on('change:data', (evt, batch) => { + if (command && !command.isEnabled || !plugin.isEnabled) { + return; + } + const range = first(editor.model.document.selection.getRanges()); + if (!range.isCollapsed) { + return; + } + if (batch.isUndo || !batch.isLocal) { + return; + } + const changes = Array.from(editor.model.document.differ.getChanges()); + const entry = changes[0]; + // Typing is represented by only a single change. + if (changes.length != 1 || entry.type !== 'insert' || entry.name != '$text' || entry.length != 1) { + return; + } + const blockToFormat = entry.position.parent; + // Block formatting should be disabled in codeBlocks (#5800). + if (blockToFormat.is('element', 'codeBlock')) { + return; + } + // Only list commands and custom callbacks can be applied inside a list. + if (blockToFormat.is('element', 'listItem') && + typeof callbackOrCommand !== 'function' && + !['numberedList', 'bulletedList', 'todoList'].includes(callbackOrCommand)) { + return; + } + // In case a command is bound, do not re-execute it over an existing block style which would result in a style removal. + // Instead, just drop processing so that autoformat trigger text is not lost. E.g. writing "# " in a level 1 heading. + if (command && command.value === true) { + return; + } + const firstNode = blockToFormat.getChild(0); + const firstNodeRange = editor.model.createRangeOn(firstNode); + // Range is only expected to be within or at the very end of the first text node. + if (!firstNodeRange.containsRange(range) && !range.end.isEqual(firstNodeRange.end)) { + return; + } + const match = pattern.exec(firstNode.data.substr(0, range.end.offset)); + // ...and this text node's data match the pattern. + if (!match) { + return; + } + // Use enqueueChange to create new batch to separate typing batch from the auto-format changes. + editor.model.enqueueChange(writer => { + // Matched range. + const start = writer.createPositionAt(blockToFormat, 0); + const end = writer.createPositionAt(blockToFormat, match[0].length); + const range = new LiveRange(start, end); + const wasChanged = callback({ match }); + // Remove matched text. + if (wasChanged !== false) { + writer.remove(range); + const selectionRange = editor.model.document.selection.getFirstRange(); + const blockRange = writer.createRangeIn(blockToFormat); + // If the block is empty and the document selection has been moved when + // applying formatting (e.g. is now in newly created block). + if (blockToFormat.isEmpty && !blockRange.isEqual(selectionRange) && !blockRange.containsRange(selectionRange, true)) { + writer.remove(blockToFormat); + } + } + range.detach(); + editor.model.enqueueChange(() => { + const deletePlugin = editor.plugins.get('Delete'); + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.d.ts new file mode 100644 index 00000000..99cc1771 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.d.ts @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module autoformat + */ +export { default as Autoformat } from './autoformat'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.js new file mode 100644 index 00000000..99cc1771 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/index.js @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module autoformat + */ +export { default as Autoformat } from './autoformat'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts new file mode 100644 index 00000000..30877423 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts @@ -0,0 +1,83 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * The inline autoformatting engine. It allows to format various inline patterns. For example, + * it can be configured to make "foo" bold when typed `**foo**` (the `**` markers will be removed). + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/inlineautoformatediting~inlineAutoformatEditing `inlineAutoformatEditing`} documentation + * to learn how to create custom inline autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/inlineautoformatediting + */ +import type { Editor } from 'ckeditor5/src/core'; +import type { Range, Writer } from 'ckeditor5/src/engine'; +import type Autoformat from './autoformat'; +export type TestCallback = (text: string) => { + remove: Array>; + format: Array>; +}; +/** + * Enables autoformatting mechanism for a given {@link module:core/editor/editor~Editor}. + * + * It formats the matched text by applying the given model attribute or by running the provided formatting callback. + * On every {@link module:engine/model/document~Document#event:change:data data change} in the model document + * the autoformatting engine checks the text on the left of the selection + * and executes the provided action if the text matches given criteria (regular expression or callback). + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param testRegexpOrCallback The regular expression or callback to execute on text. + * Provided regular expression *must* have three capture groups. The first and the third capture group + * should match opening and closing delimiters. The second capture group should match the text to format. + * + * ```ts + * // Matches the `**bold text**` pattern. + * // There are three capturing groups: + * // - The first to match the starting `**` delimiter. + * // - The second to match the text to format. + * // - The third to match the ending `**` delimiter. + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, formatCallback ); + * ``` + * + * When a function is provided instead of the regular expression, it will be executed with the text to match as a parameter. + * The function should return proper "ranges" to delete and format. + * + * ```ts + * { + * remove: [ + * [ 0, 1 ], // Remove the first letter from the given text. + * [ 5, 6 ] // Remove the 6th letter from the given text. + * ], + * format: [ + * [ 1, 5 ] // Format all letters from 2nd to 5th. + * ] + * } + * ``` + * + * @param formatCallback A callback to apply actual formatting. + * It should return `false` if changes should not be applied (e.g. if a command is disabled). + * + * ```ts + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, ( writer, rangesToFormat ) => { + * const command = editor.commands.get( 'bold' ); + * + * if ( !command.isEnabled ) { + * return false; + * } + * + * const validRanges = editor.model.schema.getValidRanges( rangesToFormat, 'bold' ); + * + * for ( let range of validRanges ) { + * writer.setAttribute( 'bold', true, range ); + * } + * } ); + * ``` + */ +export default function inlineAutoformatEditing(editor: Editor, plugin: Autoformat, testRegexpOrCallback: RegExp | TestCallback, formatCallback: (writer: Writer, rangesToFormat: Array) => boolean | undefined): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js new file mode 100644 index 00000000..fff3708e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js @@ -0,0 +1,174 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Enables autoformatting mechanism for a given {@link module:core/editor/editor~Editor}. + * + * It formats the matched text by applying the given model attribute or by running the provided formatting callback. + * On every {@link module:engine/model/document~Document#event:change:data data change} in the model document + * the autoformatting engine checks the text on the left of the selection + * and executes the provided action if the text matches given criteria (regular expression or callback). + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param testRegexpOrCallback The regular expression or callback to execute on text. + * Provided regular expression *must* have three capture groups. The first and the third capture group + * should match opening and closing delimiters. The second capture group should match the text to format. + * + * ```ts + * // Matches the `**bold text**` pattern. + * // There are three capturing groups: + * // - The first to match the starting `**` delimiter. + * // - The second to match the text to format. + * // - The third to match the ending `**` delimiter. + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, formatCallback ); + * ``` + * + * When a function is provided instead of the regular expression, it will be executed with the text to match as a parameter. + * The function should return proper "ranges" to delete and format. + * + * ```ts + * { + * remove: [ + * [ 0, 1 ], // Remove the first letter from the given text. + * [ 5, 6 ] // Remove the 6th letter from the given text. + * ], + * format: [ + * [ 1, 5 ] // Format all letters from 2nd to 5th. + * ] + * } + * ``` + * + * @param formatCallback A callback to apply actual formatting. + * It should return `false` if changes should not be applied (e.g. if a command is disabled). + * + * ```ts + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, ( writer, rangesToFormat ) => { + * const command = editor.commands.get( 'bold' ); + * + * if ( !command.isEnabled ) { + * return false; + * } + * + * const validRanges = editor.model.schema.getValidRanges( rangesToFormat, 'bold' ); + * + * for ( let range of validRanges ) { + * writer.setAttribute( 'bold', true, range ); + * } + * } ); + * ``` + */ +export default function inlineAutoformatEditing(editor, plugin, testRegexpOrCallback, formatCallback) { + let regExp; + let testCallback; + if (testRegexpOrCallback instanceof RegExp) { + regExp = testRegexpOrCallback; + } + else { + testCallback = testRegexpOrCallback; + } + // A test callback run on changed text. + testCallback = testCallback || (text => { + let result; + const remove = []; + const format = []; + while ((result = regExp.exec(text)) !== null) { + // There should be full match and 3 capture groups. + if (result && result.length < 4) { + break; + } + let { index, '1': leftDel, '2': content, '3': rightDel } = result; + // Real matched string - there might be some non-capturing groups so we need to recalculate starting index. + const found = leftDel + content + rightDel; + index += result[0].length - found.length; + // Start and End offsets of delimiters to remove. + const delStart = [ + index, + index + leftDel.length + ]; + const delEnd = [ + index + leftDel.length + content.length, + index + leftDel.length + content.length + rightDel.length + ]; + remove.push(delStart); + remove.push(delEnd); + format.push([index + leftDel.length, index + leftDel.length + content.length]); + } + return { + remove, + format + }; + }); + editor.model.document.on('change:data', (evt, batch) => { + if (batch.isUndo || !batch.isLocal || !plugin.isEnabled) { + return; + } + const model = editor.model; + const selection = model.document.selection; + // Do nothing if selection is not collapsed. + if (!selection.isCollapsed) { + return; + } + const changes = Array.from(model.document.differ.getChanges()); + const entry = changes[0]; + // Typing is represented by only a single change. + if (changes.length != 1 || entry.type !== 'insert' || entry.name != '$text' || entry.length != 1) { + return; + } + const focus = selection.focus; + const block = focus.parent; + const { text, range } = getTextAfterCode(model.createRange(model.createPositionAt(block, 0), focus), model); + const testOutput = testCallback(text); + const rangesToFormat = testOutputToRanges(range.start, testOutput.format, model); + const rangesToRemove = testOutputToRanges(range.start, testOutput.remove, model); + if (!(rangesToFormat.length && rangesToRemove.length)) { + return; + } + // Use enqueueChange to create new batch to separate typing batch from the auto-format changes. + model.enqueueChange(writer => { + // Apply format. + const hasChanged = formatCallback(writer, rangesToFormat); + // Strict check on `false` to have backward compatibility (when callbacks were returning `undefined`). + if (hasChanged === false) { + return; + } + // Remove delimiters - use reversed order to not mix the offsets while removing. + for (const range of rangesToRemove.reverse()) { + writer.remove(range); + } + model.enqueueChange(() => { + const deletePlugin = editor.plugins.get('Delete'); + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); +} +/** + * Converts output of the test function provided to the inlineAutoformatEditing and converts it to the model ranges + * inside provided block. + */ +function testOutputToRanges(start, arrays, model) { + return arrays + .filter(array => (array[0] !== undefined && array[1] !== undefined)) + .map(array => { + return model.createRange(start.getShiftedBy(array[0]), start.getShiftedBy(array[1])); + }); +} +/** + * Returns the last text line after the last code element from the given range. + * It is similar to {@link module:typing/utils/getlasttextline.getLastTextLine `getLastTextLine()`}, + * but it ignores any text before the last `code`. + */ +function getTextAfterCode(range, model) { + let start = range.start; + const text = Array.from(range.getItems()).reduce((rangeText, node) => { + // Trim text to a last occurrence of an inline element and update range start. + if (!(node.is('$text') || node.is('$textProxy')) || node.getAttribute('code')) { + start = model.createPositionAfter(node); + return ''; + } + return rangeText + node.data; + }, ''); + return { text, range: model.createRange(start, range.end) }; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md new file mode 100644 index 00000000..b1304539 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md @@ -0,0 +1,247 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Bug fixes + +* Focus the editor before executing toolbar buttons' command. See [ckeditor/ckeditor5#353](https://github.com/ckeditor/ckeditor5/issues/353). ([6bbca98](https://github.com/ckeditor/ckeditor5-basic-styles/commit/6bbca98)) + +### Other changes + +* Updated translations. ([4def017](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4def017)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([9dfd52c](https://github.com/ckeditor/ckeditor5-basic-styles/commit/9dfd52c)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.4...v15.0.0) (October 23, 2019) + +### Features + +* Provided support for numeric values for the `font-weight` attribute. Closes [#94](https://github.com/ckeditor/ckeditor5-basic-styles/issues/94). Closes [ckeditor/ckeditor5-paste-from-office#74](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/74). ([25a0d7c](https://github.com/ckeditor/ckeditor5-basic-styles/commit/25a0d7c)) + +### Other changes + +* Added `pluginName` property to editing plugins. ([d91773f](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d91773f)) +* Updated translations. ([56d6060](https://github.com/ckeditor/ckeditor5-basic-styles/commit/56d6060)) + + +## [11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.3...v11.1.4) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([b9f5867](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b9f5867)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([8293319](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8293319)) +* Mark basic-styles attributes with 'copyOnEnter' property. ([0afbc20](https://github.com/ckeditor/ckeditor5-basic-styles/commit/0afbc20)) +* Updated translations. ([52de3fe](https://github.com/ckeditor/ckeditor5-basic-styles/commit/52de3fe)) + + +## [11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.2...v11.1.3) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.1...v11.1.2) (July 4, 2019) + +### Other changes + +* Updated translations. ([8914cfc](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8914cfc)) ([fb07a45](https://github.com/ckeditor/ckeditor5-basic-styles/commit/fb07a45)) + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.0...v11.1.1) (June 6, 2019) + +### Other changes + +* Updated translations. ([c9cdc44](https://github.com/ckeditor/ckeditor5-basic-styles/commit/c9cdc44)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.0.0...v11.1.0) (April 4, 2019) + +### Features + +* Marked basic style attributes as a formatting using the `AttributeProperties#isFormatting` property. Closes [ckeditor/ckeditor5#1664](https://github.com/ckeditor/ckeditor5/issues/1664). ([fcfba54](https://github.com/ckeditor/ckeditor5-basic-styles/commit/fcfba54)) + +### Other changes + +* Optimized icons. ([018dda9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/018dda9)) +* Updated translations. ([4365251](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4365251)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.1.0...v11.0.0) (February 28, 2019) + +### Other changes + +* Updated translations. ([b96cf6d](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b96cf6d)) ([8223ff2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8223ff2)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.3...v10.1.0) (December 5, 2018) + +### Features + +* Introduced the `Superscript` and the `Subscript` features. Closes [#76](https://github.com/ckeditor/ckeditor5-basic-styles/issues/76). Closes [#74](https://github.com/ckeditor/ckeditor5-basic-styles/issues/74). ([f281e99](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f281e99)) + + Thanks to [@idleb](https://github.com/idleb)! + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([6314191](https://github.com/ckeditor/ckeditor5-basic-styles/commit/6314191)) +* Updated translations. ([f9d3d07](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f9d3d07)) ([67fb2e2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/67fb2e2)) + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.2...v10.0.3) (October 8, 2018) + +### Other changes + +* Updated translations. ([cf4e657](https://github.com/ckeditor/ckeditor5-basic-styles/commit/cf4e657)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Bug fixes + +* The value of `AttributeCommand` should be taken from the first node on which this style is allowed. Closes [#56](https://github.com/ckeditor/ckeditor5-basic-styles/issues/56). ([64a0dbc](https://github.com/ckeditor/ckeditor5-basic-styles/commit/64a0dbc)) + +### Other changes + +* Updated translations. ([df8bcc4](https://github.com/ckeditor/ckeditor5-basic-styles/commit/df8bcc4)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([94da24e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/94da24e)) +* Updated translations. ([dbebfe0](https://github.com/ckeditor/ckeditor5-basic-styles/commit/dbebfe0)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Other changes + +* Improved the "strikethrough" icon. Closes [ckeditor/ckeditor5#910](https://github.com/ckeditor/ckeditor5/issues/910). ([d559d8f](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d559d8f)) +* Updated translations. ([b4c8419](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b4c8419)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Features + +* Added the strikethrough feature. ([78719c9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/78719c9)) + + Thanks to [@Natim](https://github.com/Natim)! +* Updated icons for compatibility with the refreshed Lark theme (see [ckeditor/ckeditor5#645](https://github.com/ckeditor/ckeditor5/issues/645)). ([170fec2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/170fec2)) + +### Other changes + +* Aligned feature class naming to the new scheme. ([51a4b61](https://github.com/ckeditor/ckeditor5-basic-styles/commit/51a4b61)) +* Migrated package styles to PostCSS. Moved the visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([a5d5d9e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/a5d5d9e)) +* Updated translations. ([1ff4312](https://github.com/ckeditor/ckeditor5-basic-styles/commit/1ff4312)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([398054d](https://github.com/ckeditor/ckeditor5-basic-styles/commit/398054d)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017) + +### Features + +* Introduced the `Code` plugin. Closes [#52](https://github.com/ckeditor/ckeditor5-basic-styles/issues/52). ([d720cb9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d720cb9)) + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.1...v0.9.0) (September 3, 2017) + +### Bug fixes + +* It should be possible to paste basic styles. See https://github.com/ckeditor/ckeditor5/issues/477. ([d2db7fe](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d2db7fe)) + +### Features + +* Introduced `AttributeCommand`. It was moved from `@ckeditor/ckeditor5-core/src/command/toggleattributecommand`. Closes [#47](https://github.com/ckeditor/ckeditor5-basic-styles/issues/47). ([0301d4a](https://github.com/ckeditor/ckeditor5-basic-styles/commit/0301d4a)) +* Introduced the `Underline` plugin. Closes [#51](https://github.com/ckeditor/ckeditor5-basic-styles/issues/51). ([f724ae0](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f724ae0)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([36a976e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/36a976e)) +* Cleaned up SVG icons. ([da10131](https://github.com/ckeditor/ckeditor5-basic-styles/commit/da10131)) +* Italic feature will use `` instead of ``. Closes [#28](https://github.com/ckeditor/ckeditor5-basic-styles/issues/28). ([9d1d5e2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/9d1d5e2)) + + Read more in [Editor Recommendations](http://ckeditor.github.io/editor-recommendations/features/italic.html). + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.8.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.0...v0.8.1) (May 7, 2017) + +### Bug fixes + +* Bold and italic should not be allowed directly in the root element. Closes [#40](https://github.com/ckeditor/ckeditor5-basic-styles/issues/40). ([4a737bf](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4a737bf)) + +### Other changes + +* Updated translations. ([5250bec](https://github.com/ckeditor/ckeditor5-basic-styles/commit/5250bec)) + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.1...v0.8.0) (April 5, 2017) + +### Features + +* Named existing plugin(s). ([5f649be](https://github.com/ckeditor/ckeditor5-basic-styles/commit/5f649be)) + +### Other changes + +* Updated translations. ([2aa33fd](https://github.com/ckeditor/ckeditor5-basic-styles/commit/2aa33fd)) + + +## [0.7.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.0...v0.7.1) (March 6, 2017) + +### Other changes + +* Updated translations. ([4fd6e19](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4fd6e19)) diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/LICENSE.md new file mode 100644 index 00000000..9500089c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 basic styles feature** – https://github.com/ckeditor/ckeditor5-basic-styles
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/README.md new file mode 100644 index 00000000..219ac3c4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/README.md @@ -0,0 +1,20 @@ +CKEditor 5 basic styles feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-basic-styles.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package contains CKEditor 5 features allowing to apply basic text formatting such as bold, italic, underline, and code in CKEditor 5. + +## Demo + +Check out the [demo in the basic styles feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/basic-styles.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-basic-styles` package](https://ckeditor.com/docs/ckeditor5/latest/api/basic-styles.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js new file mode 100644 index 00000000..68db0fa0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js @@ -0,0 +1,5 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Bold",Code:"Code",Italic:"Italic",Strikethrough:"Strikethrough",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var t={55:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(609),s=i.n(n)()((function(t){return t[1]}));s.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const r=s},609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var s={};if(n)for(var r=0;r{"use strict";var n,s=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),o=[];function a(t){for(var e=-1,i=0;i{t.exports=i(79)("./src/core.js")},181:(t,e,i)=>{t.exports=i(79)("./src/typing.js")},273:(t,e,i)=>{t.exports=i(79)("./src/ui.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Bold:()=>l,BoldEditing:()=>r,BoldUI:()=>c,Code:()=>f,CodeEditing:()=>g,CodeUI:()=>w,Italic:()=>T,ItalicEditing:()=>y,ItalicUI:()=>E,Strikethrough:()=>N,StrikethroughEditing:()=>A,StrikethroughUI:()=>I,Subscript:()=>F,SubscriptEditing:()=>B,SubscriptUI:()=>U,Superscript:()=>j,SuperscriptEditing:()=>M,SuperscriptUI:()=>V,Underline:()=>H,UnderlineEditing:()=>z,UnderlineUI:()=>q});var t=i(704);class e extends t.Command{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const s=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of s)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const s="bold";class r extends t.Plugin{static get pluginName(){return"BoldEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:s}),t.model.schema.setAttributeProperties(s,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:s,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(s,new e(t,s)),t.keystrokes.set("CTRL+B",s)}}var o=i(273);const a="bold";class c extends t.Plugin{static get pluginName(){return"BoldUI"}init(){const e=this.editor,i=e.t;e.ui.componentFactory.add(a,(n=>{const s=e.commands.get(a),r=new o.ButtonView(n);return r.set({label:i("Bold"),icon:t.icons.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),r.bind("isOn","isEnabled").to(s,"value","isEnabled"),this.listenTo(r,"execute",(()=>{e.execute(a),e.editing.view.focus()})),r}))}}class l extends t.Plugin{static get requires(){return[r,c]}static get pluginName(){return"Bold"}}var u=i(181);const d="code";class g extends t.Plugin{static get pluginName(){return"CodeEditing"}static get requires(){return[u.TwoStepCaretMovement]}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:d}),t.model.schema.setAttributeProperties(d,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:d,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),t.commands.add(d,new e(t,d)),t.plugins.get(u.TwoStepCaretMovement).registerAttribute(d),(0,u.inlineHighlight)(t,d,"code","ck-code_selected")}}var m=i(62),p=i.n(m),h=i(55),b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};p()(h.Z,b);h.Z.locals;const v="code";class w extends t.Plugin{static get pluginName(){return"CodeUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(v,(i=>{const n=t.commands.get(v),s=new o.ButtonView(i);return s.set({label:e("Code"),icon:'',tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(v),t.editing.view.focus()})),s}))}}class f extends t.Plugin{static get requires(){return[g,w]}static get pluginName(){return"Code"}}const x="italic";class y extends t.Plugin{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:x}),t.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:x,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(x,new e(t,x)),t.keystrokes.set("CTRL+I",x)}}const S="italic";class E extends t.Plugin{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(S,(i=>{const n=t.commands.get(S),s=new o.ButtonView(i);return s.set({label:e("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(S),t.editing.view.focus()})),s}))}}class T extends t.Plugin{static get requires(){return[y,E]}static get pluginName(){return"Italic"}}const k="strikethrough";class A extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:k}),t.model.schema.setAttributeProperties(k,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:k,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(k,new e(t,k)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough")}}const C="strikethrough";class I extends t.Plugin{static get pluginName(){return"StrikethroughUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(C,(i=>{const n=t.commands.get(C),s=new o.ButtonView(i);return s.set({label:e("Strikethrough"),icon:'',keystroke:"CTRL+SHIFT+X",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(C),t.editing.view.focus()})),s}))}}class N extends t.Plugin{static get requires(){return[A,I]}static get pluginName(){return"Strikethrough"}}const P="subscript";class B extends t.Plugin{static get pluginName(){return"SubscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:P}),t.model.schema.setAttributeProperties(P,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:P,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(P,new e(t,P))}}const O="subscript";class U extends t.Plugin{static get pluginName(){return"SubscriptUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(O,(i=>{const n=t.commands.get(O),s=new o.ButtonView(i);return s.set({label:e("Subscript"),icon:'',tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(O),t.editing.view.focus()})),s}))}}class F extends t.Plugin{static get requires(){return[B,U]}static get pluginName(){return"Subscript"}}const L="superscript";class M extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:L}),t.model.schema.setAttributeProperties(L,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:L,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(L,new e(t,L))}}const R="superscript";class V extends t.Plugin{static get pluginName(){return"SuperscriptUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(R,(i=>{const n=t.commands.get(R),s=new o.ButtonView(i);return s.set({label:e("Superscript"),icon:'',tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(R),t.editing.view.focus()})),s}))}}class j extends t.Plugin{static get requires(){return[M,V]}static get pluginName(){return"Superscript"}}const K="underline";class z extends t.Plugin{static get pluginName(){return"UnderlineEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:K}),t.model.schema.setAttributeProperties(K,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:K,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(K,new e(t,K)),t.keystrokes.set("CTRL+U","underline")}}const _="underline";class q extends t.Plugin{static get pluginName(){return"UnderlineUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(_,(i=>{const n=t.commands.get(_),s=new o.ButtonView(i);return s.set({label:e("Underline"),icon:'',keystroke:"CTRL+U",tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(n,"value","isEnabled"),this.listenTo(s,"execute",(()=>{t.execute(_),t.editing.view.focus()})),s}))}}class H extends t.Plugin{static get requires(){return[z,q]}static get pluginName(){return"Underline"}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})(); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/af.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/af.js new file mode 100644 index 00000000..b927ce58 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/af.js @@ -0,0 +1 @@ +!function(r){const e=r.af=r.af||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Vet",Code:"Bronkode",Italic:"Kursief",Strikethrough:"Deurstreep",Subscript:"Onderskrif",Superscript:"Boskrif",Underline:"Onderstreep"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js new file mode 100644 index 00000000..f81c9e37 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js @@ -0,0 +1 @@ +!function(i){const n=i.ar=i.ar||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"عريض",Code:"شفرة برمجية",Italic:"مائل",Strikethrough:"يتوسطه خط",Subscript:"حرف منخفض",Superscript:"حرف مرتفع",Underline:"تحته خط"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js new file mode 100644 index 00000000..819f02f2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js @@ -0,0 +1 @@ +!function(i){const t=i.ast=i.ast||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Negrina",Code:"",Italic:"Cursiva",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/az.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/az.js new file mode 100644 index 00000000..6582a6dd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/az.js @@ -0,0 +1 @@ +!function(a){const i=a.az=a.az||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Yarıqalın",Code:"Kod",Italic:"Maili",Strikethrough:"Qaralanmış",Subscript:"Alt yazı",Superscript:"Üst yazı",Underline:"Altdan xətt"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js new file mode 100644 index 00000000..f39a9df2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js @@ -0,0 +1 @@ +!function(i){const n=i.bg=i.bg||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Удебелен",Code:"Код",Italic:"Курсив",Strikethrough:"Зачертаване",Subscript:"Долен индекс",Superscript:"Горен индекс",Underline:"Подчертаване"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js new file mode 100644 index 00000000..e977b159 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js @@ -0,0 +1 @@ +!function(i){const n=i.bn=i.bn||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"বোল্ড",Code:"কোড",Italic:"ইটালিক",Strikethrough:"স্ট্রাইকথ্রু",Subscript:"সাবস্ক্রিপ্ট",Superscript:"সুপারস্ক্রিপ্ট",Underline:"আন্ডারলাইন"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js new file mode 100644 index 00000000..02b33846 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js @@ -0,0 +1 @@ +!function(o){const i=o.bs=o.bs||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Podebljano",Code:"Kod",Italic:"Zakrivljeno",Strikethrough:"Precrtano",Subscript:"",Superscript:"",Underline:"Podcrtano"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js new file mode 100644 index 00000000..7658adef --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js @@ -0,0 +1 @@ +!function(i){const r=i.ca=i.ca||{};r.dictionary=Object.assign(r.dictionary||{},{Bold:"Negreta",Code:"Codi",Italic:"Cursiva",Strikethrough:"Marcat",Subscript:"Subíndex",Superscript:"Superíndex",Underline:"Subrallat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js new file mode 100644 index 00000000..c5bd1295 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js @@ -0,0 +1 @@ +!function(n){const i=n.cs=n.cs||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Tučné",Code:"Kódový blok",Italic:"Kurzíva",Strikethrough:"Přeškrtnuté",Subscript:"Dolní index",Superscript:"Horní index",Underline:"Podtržené"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/da.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/da.js new file mode 100644 index 00000000..ffbf6228 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/da.js @@ -0,0 +1 @@ +!function(t){const e=t.da=t.da||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fed",Code:"Kode",Italic:"Kursiv",Strikethrough:"Gennemstreg",Subscript:"Sænket skrift",Superscript:"Hævet skrift",Underline:"Understreget"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js new file mode 100644 index 00000000..ca3885b5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js @@ -0,0 +1 @@ +!function(e){const t=e["de-ch"]=e["de-ch"]||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Fett",Code:"Code",Italic:"Kursiv",Strikethrough:"Durchgestrichen",Subscript:"Tiefgestellt",Superscript:"Hochgestellt",Underline:"Unterstrichen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de.js new file mode 100644 index 00000000..9b86f99e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/de.js @@ -0,0 +1 @@ +!function(e){const t=e.de=e.de||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Fett",Code:"Code",Italic:"Kursiv",Strikethrough:"Durchgestrichen",Subscript:"Tiefgestellt",Superscript:"Hochgestellt",Underline:"Unterstrichen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/el.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/el.js new file mode 100644 index 00000000..31392698 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/el.js @@ -0,0 +1 @@ +!function(i){const n=i.el=i.el||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Έντονα",Code:"Κώδικας",Italic:"Πλάγια",Strikethrough:"Διακριτή διαγραφή",Subscript:"Δείκτης",Superscript:"Εκθέτης",Underline:"Υπογράμμιση"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js new file mode 100644 index 00000000..0ad33934 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js @@ -0,0 +1 @@ +!function(i){const t=i["en-au"]=i["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Bold",Code:"Code",Italic:"Italic",Strikethrough:"Strikethrough",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js new file mode 100644 index 00000000..679b6124 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js @@ -0,0 +1 @@ +!function(i){const t=i["en-gb"]=i["en-gb"]||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Bold",Code:"Code",Italic:"Italic",Strikethrough:"Strikethrough",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js new file mode 100644 index 00000000..14eb4402 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js @@ -0,0 +1 @@ +!function(i){const o=i.eo=i.eo||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"grasa",Code:"",Italic:"kursiva",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js new file mode 100644 index 00000000..4d1fe73c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js @@ -0,0 +1 @@ +!function(i){const o=i["es-co"]=i["es-co"]||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Negrita",Code:"Código",Italic:"Cursiva",Strikethrough:"Tachado",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subrayado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es.js new file mode 100644 index 00000000..e0842917 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/es.js @@ -0,0 +1 @@ +!function(i){const d=i.es=i.es||{};d.dictionary=Object.assign(d.dictionary||{},{Bold:"Negrita",Code:"Código",Italic:"Cursiva",Strikethrough:"Tachado",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subrayado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/et.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/et.js new file mode 100644 index 00000000..7e09b894 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/et.js @@ -0,0 +1 @@ +!function(i){const n=i.et=i.et||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Rasvane",Code:"Kood",Italic:"Kaldkiri",Strikethrough:"Läbijoonitud",Subscript:"Alaindeks",Superscript:"Ülaindeks",Underline:"Allajoonitud"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js new file mode 100644 index 00000000..2ad6521b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js @@ -0,0 +1 @@ +!function(i){const n=i.eu=i.eu||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Lodia",Code:"Kodea",Italic:"Etzana",Strikethrough:"",Subscript:"",Superscript:"",Underline:"Azpimarra"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js new file mode 100644 index 00000000..cecd5622 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js @@ -0,0 +1 @@ +!function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"درشت",Code:"کد",Italic:"کج",Strikethrough:"خط خورده",Subscript:"پایین نویس",Superscript:"بالانویس",Underline:"خط زیر"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js new file mode 100644 index 00000000..d6b6f248 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js @@ -0,0 +1 @@ +!function(i){const n=i.fi=i.fi||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Lihavointi",Code:"Koodi",Italic:"Kursivointi",Strikethrough:"Yliviivaus",Subscript:"Alaindeksi",Superscript:"Yläindeksi",Underline:"Alleviivaus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js new file mode 100644 index 00000000..64524102 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js @@ -0,0 +1 @@ +!function(i){const n=i.fr=i.fr||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Gras",Code:"Code",Italic:"Italique",Strikethrough:"Barré",Subscript:"Indice",Superscript:"Exposant",Underline:"Souligné"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js new file mode 100644 index 00000000..c018be66 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js @@ -0,0 +1 @@ +!function(i){const c=i.gl=i.gl||{};c.dictionary=Object.assign(c.dictionary||{},{Bold:"Negra",Code:"Código",Italic:"Itálica",Strikethrough:"Riscado",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subliñado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js new file mode 100644 index 00000000..be1c42a7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js @@ -0,0 +1 @@ +!function(i){const n=i.gu=i.gu||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"ઘાટુ - બોલ્ડ્",Code:"",Italic:"ત્રાંસુ - ઇટલિક્",Strikethrough:"",Subscript:"",Superscript:"",Underline:"નીચે લિટી - અન્ડરલાઇન્"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/he.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/he.js new file mode 100644 index 00000000..c6de5391 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/he.js @@ -0,0 +1 @@ +!function(i){const n=i.he=i.he||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"מודגש",Code:"קוד",Italic:"נטוי",Strikethrough:"קו חוצה",Subscript:"כתב תחתי",Superscript:"כתב עילי",Underline:"קו תחתון"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js new file mode 100644 index 00000000..c74dc130 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js @@ -0,0 +1 @@ +!function(i){const t=i.hi=i.hi||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Bold",Code:"Code",Italic:"Italic",Strikethrough:"Strikethrough",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js new file mode 100644 index 00000000..890fb4c6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js @@ -0,0 +1 @@ +!function(n){const o=n.hr=n.hr||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Podebljano",Code:"Kod",Italic:"Ukošeno",Strikethrough:"Precrtano",Subscript:"Indeks",Superscript:"Eksponent",Underline:"Podcrtavanje"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js new file mode 100644 index 00000000..8366f796 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js @@ -0,0 +1 @@ +!function(t){const i=t.hu=t.hu||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Félkövér",Code:"Forráskód",Italic:"Dőlt",Strikethrough:"Áthúzott",Subscript:"Alsó index",Superscript:"Felső index",Underline:"Aláhúzott"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js new file mode 100644 index 00000000..ef66b71f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js @@ -0,0 +1 @@ +!function(i){const n=i.hy=i.hy||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Թավագիր",Code:"Կոդ",Italic:"Շեղագիր",Strikethrough:"Գծանշել",Subscript:"Ենթատեքստ",Superscript:"Գերագիր",Underline:"Ընդգծել"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/id.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/id.js new file mode 100644 index 00000000..626d5a8e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/id.js @@ -0,0 +1 @@ +!function(i){const r=i.id=i.id||{};r.dictionary=Object.assign(r.dictionary||{},{Bold:"Tebal",Code:"Kode",Italic:"Miring",Strikethrough:"Coret",Subscript:"Subskrip",Superscript:"Superskrip",Underline:"Garis bawah"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/it.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/it.js new file mode 100644 index 00000000..c439e07d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/it.js @@ -0,0 +1 @@ +!function(i){const t=i.it=i.it||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Grassetto",Code:"Codice",Italic:"Corsivo",Strikethrough:"Barrato",Subscript:"Pedice",Superscript:"Apice",Underline:"Sottolineato"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js new file mode 100644 index 00000000..1b9b49da --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js @@ -0,0 +1 @@ +!function(i){const n=i.ja=i.ja||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"ボールド",Code:"コード",Italic:"イタリック",Strikethrough:"取り消し線",Subscript:"下付き文字",Superscript:"上付き文字",Underline:"アンダーライン"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js new file mode 100644 index 00000000..041f3a55 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js @@ -0,0 +1 @@ +!function(i){const n=i.jv=i.jv||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Kandhel",Code:"Kode",Italic:"Miring",Strikethrough:"Seratan dicoret",Subscript:"",Superscript:"",Underline:"Garis ngandhap"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/km.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/km.js new file mode 100644 index 00000000..12bcca30 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/km.js @@ -0,0 +1 @@ +!function(i){const n=i.km=i.km||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"ដិត",Code:"កូដ",Italic:"ទ្រេត",Strikethrough:"ឆូតកណ្ដាល",Subscript:"អក្សរ​តូចក្រោម",Superscript:"អក្សរ​តូចលើ",Underline:"គូស​បន្ទាត់​ក្រោម"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js new file mode 100644 index 00000000..eab4d855 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js @@ -0,0 +1 @@ +!function(i){const n=i.kn=i.kn||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"‍‍ದಪ್ಪ",Code:"",Italic:"‍ಇಟಾಲಿಕ್",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js new file mode 100644 index 00000000..2b200a02 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js @@ -0,0 +1 @@ +!function(i){const o=i.ko=i.ko||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"굵게",Code:"코드",Italic:"기울임꼴",Strikethrough:"취소선",Subscript:"아래 첨자",Superscript:"위 첨자",Underline:"밑줄"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js new file mode 100644 index 00000000..2e022007 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js @@ -0,0 +1 @@ +!function(i){const n=i.ku=i.ku||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"قەڵەو",Code:"کۆد",Italic:"لار",Strikethrough:"هێڵ بەسەرداهاتوو",Subscript:"ژێرنووس",Superscript:"سەرنووس",Underline:"ژێرهێڵ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js new file mode 100644 index 00000000..e9501bd1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js @@ -0,0 +1 @@ +!function(i){const a=i.lt=i.lt||{};a.dictionary=Object.assign(a.dictionary||{},{Bold:"Paryškintas",Code:"Kodas",Italic:"Kursyvas",Strikethrough:"Perbrauktas",Subscript:"Žemiau",Superscript:"Aukščiau",Underline:"Pabrauktas"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js new file mode 100644 index 00000000..26579c76 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js @@ -0,0 +1 @@ +!function(s){const t=s.lv=s.lv||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Trekns",Code:"Kods",Italic:"Kursīvs",Strikethrough:"Nosvītrots",Subscript:"Apakšraksts",Superscript:"Augšraksts",Underline:"Pasvītrots"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js new file mode 100644 index 00000000..1c5ae8a0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js @@ -0,0 +1 @@ +!function(i){const r=i.ms=i.ms||{};r.dictionary=Object.assign(r.dictionary||{},{Bold:"Tebal",Code:"Kod",Italic:"Italik",Strikethrough:"Garis lorek",Subscript:"Subskrip",Superscript:"Superskrip",Underline:"Garis bawah"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js new file mode 100644 index 00000000..b2e26b58 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js @@ -0,0 +1 @@ +!function(n){const i=n.nb=n.nb||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Fet",Code:"Kode",Italic:"Kursiv",Strikethrough:"Gjennomstreking",Subscript:"",Superscript:"",Underline:"Understreking"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js new file mode 100644 index 00000000..1f2c6b14 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js @@ -0,0 +1 @@ +!function(i){const n=i.ne=i.ne||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"बोल्ड",Code:"कोड",Italic:"इटालिक",Strikethrough:"स्ट्राइकथ्रू",Subscript:"सबस्क्रिप्ट",Superscript:"सुपरस्क्रिप्ट",Underline:"रेखांकन"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js new file mode 100644 index 00000000..22a95ae8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js @@ -0,0 +1 @@ +!function(i){const n=i.nl=i.nl||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Vet",Code:"Code",Italic:"Cursief",Strikethrough:"Doorhalen",Subscript:"Subscript",Superscript:"Superscript",Underline:"Onderlijnen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/no.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/no.js new file mode 100644 index 00000000..ace47f7a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/no.js @@ -0,0 +1 @@ +!function(t){const e=t.no=t.no||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fet",Code:"Kode",Italic:"Kursiv",Strikethrough:"Gjennomstreket",Subscript:"Senket skrift",Superscript:"Hevet skrift",Underline:"Understreket"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js new file mode 100644 index 00000000..077a6d37 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js @@ -0,0 +1 @@ +!function(i){const c=i.oc=i.oc||{};c.dictionary=Object.assign(c.dictionary||{},{Bold:"Gras",Code:"",Italic:"Italica",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js new file mode 100644 index 00000000..c2780c03 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js @@ -0,0 +1 @@ +!function(e){const i=e.pl=e.pl||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Pogrubienie",Code:"Kod",Italic:"Kursywa",Strikethrough:"Przekreślenie",Subscript:"Indeks dolny",Superscript:"Indeks górny",Underline:"Podkreślenie"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js new file mode 100644 index 00000000..45577771 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(i){const o=i["pt-br"]=i["pt-br"]||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Negrito",Code:"Código",Italic:"Itálico",Strikethrough:"Tachado",Subscript:"Subscrito",Superscript:"Sobrescrito",Underline:"Sublinhado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js new file mode 100644 index 00000000..e637c826 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js @@ -0,0 +1 @@ +!function(i){const o=i.pt=i.pt||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Negrito",Code:"Código",Italic:"Itálico",Strikethrough:"Riscado",Subscript:"Subscrito",Superscript:"Sobrescrito",Underline:"Sublinhado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js new file mode 100644 index 00000000..fe9daad0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js @@ -0,0 +1 @@ +!function(i){const n=i.ro=i.ro||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Îngroșat",Code:"Cod",Italic:"Cursiv",Strikethrough:"Tăiere text cu o linie",Subscript:"Indice",Superscript:"Exponent",Underline:"Subliniat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js new file mode 100644 index 00000000..d7c6c164 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js @@ -0,0 +1 @@ +!function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Жирный",Code:"Исходный код",Italic:"Курсив",Strikethrough:"Зачеркнутый",Subscript:"Подстрочный",Superscript:"Надстрочный",Underline:"Подчеркнутый"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/si.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/si.js new file mode 100644 index 00000000..10755aa9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/si.js @@ -0,0 +1 @@ +!function(i){const n=i.si=i.si||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"තදකුරු",Code:"",Italic:"ඇලකුරු",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js new file mode 100644 index 00000000..d530d7fd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js @@ -0,0 +1 @@ +!function(n){const i=n.sk=n.sk||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Tučné",Code:"Kód",Italic:"Kurzíva",Strikethrough:"Preškrtnuté",Subscript:"Dolný index",Superscript:"Horný index",Underline:"Podčiarknuté"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js new file mode 100644 index 00000000..59357ea5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js @@ -0,0 +1 @@ +!function(o){const i=o.sl=o.sl||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Krepko",Code:"Koda",Italic:"Poševno",Strikethrough:"Prečrtano",Subscript:"Naročnik",Superscript:"Nadpis",Underline:"Podčrtaj"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js new file mode 100644 index 00000000..ed02d123 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js @@ -0,0 +1 @@ +!function(i){const n=i.sq=i.sq||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Trash",Code:"Kod",Italic:"Pjerrtë",Strikethrough:"Vi në mes",Subscript:"Abonohu",Superscript:"Mbishkrim",Underline:"Nënvizuar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js new file mode 100644 index 00000000..b521dffa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js @@ -0,0 +1 @@ +!function(n){const o=n["sr-latn"]=n["sr-latn"]||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Podebljano",Code:"Kod",Italic:"Kurziv",Strikethrough:"Precrtan",Subscript:"Index dole",Superscript:"Index gore",Underline:"Podvučen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js new file mode 100644 index 00000000..63fe2c5d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js @@ -0,0 +1 @@ +!function(i){const n=i.sr=i.sr||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Подебљано",Code:"Код",Italic:"Курзив",Strikethrough:"Прецртан",Subscript:"Индекс доле",Superscript:"Индекс горе",Underline:"Подвучен"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js new file mode 100644 index 00000000..e83d7c45 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js @@ -0,0 +1 @@ +!function(n){const t=n.sv=n.sv||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Fet",Code:"Kod",Italic:"Kursiv",Strikethrough:"Genomstruken",Subscript:"Nedsänkta tecken",Superscript:"Upphöjda tecken",Underline:"Understrykning"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/th.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/th.js new file mode 100644 index 00000000..8ed9300b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/th.js @@ -0,0 +1 @@ +!function(i){const t=i.th=i.th||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"ตัวหนา",Code:"โค้ด",Italic:"ตัวเอียง",Strikethrough:"ขีดทับ",Subscript:"ตัวห้อย",Superscript:"ตัวยก",Underline:"ขีดเส้นใต้"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js new file mode 100644 index 00000000..cee05efb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js @@ -0,0 +1 @@ +!function(i){const t=i.tk=i.tk||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Galyň",Code:"Kod",Italic:"Italik",Strikethrough:"Üsti çyzykly",Subscript:"Aşaky ýazgy",Superscript:"Üst ýazgy",Underline:"Aşagy çyzykly"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js new file mode 100644 index 00000000..b6f74b7a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js @@ -0,0 +1 @@ +!function(i){const t=i.tr=i.tr||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Kalın",Code:"Kod",Italic:"İtalik",Strikethrough:"Üstü çizili",Subscript:"Alt Simge",Superscript:"Üst Simge",Underline:"Altı Çizgili"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js new file mode 100644 index 00000000..ac7d76a2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js @@ -0,0 +1 @@ +!function(t){const i=t.tt=t.tt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Калын",Code:"Код",Italic:"",Strikethrough:"",Subscript:"",Superscript:"",Underline:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js new file mode 100644 index 00000000..00081a4c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js @@ -0,0 +1 @@ +!function(i){const n=i.ug=i.ug||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"توم",Code:"كود",Italic:"يانتۇ",Strikethrough:"ئۆچۈرۈش سىزىقى",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە",Underline:"ئاستى سىزىق"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js new file mode 100644 index 00000000..8874594f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js @@ -0,0 +1 @@ +!function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Жирний",Code:"Код",Italic:"Курсив",Strikethrough:"Закреслений",Subscript:"Нижній індекс",Superscript:"Верхній індекс",Underline:"Підкреслений"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js new file mode 100644 index 00000000..f49125e3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js @@ -0,0 +1 @@ +!function(i){const n=i.ur=i.ur||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"جلّی",Code:"کوڈ",Italic:"ترچھا",Strikethrough:"خط کشیدہ",Subscript:"زير نوشت",Superscript:"بالا نوشت",Underline:"ترچھا"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js new file mode 100644 index 00000000..cf441de9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js @@ -0,0 +1 @@ +!function(i){const n=i.uz=i.uz||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Qalin",Code:"Manba kodi",Italic:"Kursiv",Strikethrough:"Chizilgan",Subscript:"Pastki yozuv",Superscript:"Yuqori yozuv",Underline:"Tagi chizilgan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js new file mode 100644 index 00000000..b612d491 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js @@ -0,0 +1 @@ +!function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Đậm",Code:"Code",Italic:"Nghiêng",Strikethrough:"Gạch ngang",Subscript:"Chữ nhỏ dưới",Superscript:"Chữ nhỏ trên",Underline:"Gạch dưới"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js new file mode 100644 index 00000000..f9f9a11f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(i){const n=i["zh-cn"]=i["zh-cn"]||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"加粗",Code:"代码",Italic:"倾斜",Strikethrough:"删除线",Subscript:"下标",Superscript:"上标",Underline:"下划线"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js new file mode 100644 index 00000000..c7480eb8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js @@ -0,0 +1 @@ +!function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"粗體",Code:"代碼",Italic:"斜體",Strikethrough:"刪除線",Subscript:"下標",Superscript:"上標",Underline:"底線"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json new file mode 100644 index 00000000..91308e78 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json @@ -0,0 +1,137 @@ +{ + "plugins": [ + { + "name": "Bold", + "className": "Bold", + "description": "Implements bold formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/bold.js", + "uiComponents": [ + { + "type": "Button", + "name": "bold", + "iconPath": "@ckeditor/ckeditor5-core/theme/icons/bold.svg" + } + ], + "htmlOutput": [ + { + "elements": "strong" + } + ] + }, + { + "name": "Code", + "className": "Code", + "description": "Implements inline code formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/code.js", + "uiComponents": [ + { + "type": "Button", + "name": "code", + "iconPath": "theme/icons/code.svg" + } + ], + "htmlOutput": [ + { + "elements": "code" + } + ] + }, + { + "name": "Italic", + "className": "Italic", + "description": "Implements italic formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/italic.js", + "uiComponents": [ + { + "type": "Button", + "name": "italic", + "iconPath": "theme/icons/italic.svg" + } + ], + "htmlOutput": [ + { + "elements": "i" + } + ] + }, + { + "name": "Strikethrough", + "className": "Strikethrough", + "description": "Implements strikethrough formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/strikethrough.js", + "uiComponents": [ + { + "type": "Button", + "name": "strikethrough", + "iconPath": "theme/icons/strikethrough.svg" + } + ], + "htmlOutput": [ + { + "elements": "s" + } + ] + }, + { + "name": "Subscript", + "className": "Subscript", + "description": "Implements subscript formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/subscript.js", + "uiComponents": [ + { + "type": "Button", + "name": "subscript", + "iconPath": "theme/icons/subscript.svg" + } + ], + "htmlOutput": [ + { + "elements": "sub" + } + ] + }, + { + "name": "Superscript", + "className": "Superscript", + "description": "Implements superscript formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/superscript.js", + "uiComponents": [ + { + "type": "Button", + "name": "superscript", + "iconPath": "theme/icons/superscript.svg" + } + ], + "htmlOutput": [ + { + "elements": "sup" + } + ] + }, + { + "name": "Underline", + "className": "Underline", + "description": "Implements underline formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/underline.js", + "uiComponents": [ + { + "type": "Button", + "name": "underline", + "iconPath": "theme/icons/underline.svg" + } + ], + "htmlOutput": [ + { + "elements": "u" + } + ] + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/contexts.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/contexts.json new file mode 100644 index 00000000..6f0d9a8e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/contexts.json @@ -0,0 +1,9 @@ +{ + "Bold": "Toolbar button tooltip for the Bold feature.", + "Italic": "Toolbar button tooltip for the Italic feature.", + "Underline": "Toolbar button tooltip for the Underline feature.", + "Code": "Toolbar button tooltip for the Code feature.", + "Strikethrough": "Toolbar button tooltip for the Strikethrough feature.", + "Subscript": "Toolbar button tooltip for the Subscript feature.", + "Superscript": "Toolbar button tooltip for the Superscript feature." +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po new file mode 100644 index 00000000..f246b5b5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Vet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursief" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Onderstreep" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Bronkode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Deurstreep" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Onderskrif" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Boskrif" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po new file mode 100644 index 00000000..231e7604 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "عريض" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "مائل" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "تحته خط" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "شفرة برمجية" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "يتوسطه خط" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "حرف منخفض" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "حرف مرتفع" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po new file mode 100644 index 00000000..c0e15ed0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Asturian (https://app.transifex.com/ckeditor/teams/11143/ast/)\n" +"Language: ast\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrina" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po new file mode 100644 index 00000000..dbb6a0e7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Yarıqalın" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Maili" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Altdan xətt" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Qaralanmış" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alt yazı" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst yazı" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po new file mode 100644 index 00000000..3839c192 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Удебелен" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подчертаване" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Зачертаване" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Долен индекс" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Горен индекс" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po new file mode 100644 index 00000000..c9d1f772 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "বোল্ড" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ইটালিক" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "আন্ডারলাইন" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "কোড" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "স্ট্রাইকথ্রু" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "সাবস্ক্রিপ্ট" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "সুপারস্ক্রিপ্ট" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po new file mode 100644 index 00000000..9babacad --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Zakrivljeno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podcrtano" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po new file mode 100644 index 00000000..6a043d13 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negreta" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrallat" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Codi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Marcat" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndex" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndex" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po new file mode 100644 index 00000000..c48b3ff6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tučné" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurzíva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podtržené" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kódový blok" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Přeškrtnuté" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Dolní index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Horní index" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po new file mode 100644 index 00000000..4e22a830 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fed" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreget" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gennemstreg" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Sænket skrift" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hævet skrift" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po new file mode 100644 index 00000000..ec9e4b1b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fett" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Unterstrichen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Durchgestrichen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Tiefgestellt" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hochgestellt" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po new file mode 100644 index 00000000..c8f7aa4a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fett" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Unterstrichen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Durchgestrichen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Tiefgestellt" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hochgestellt" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po new file mode 100644 index 00000000..a87cb19d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Έντονα" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Πλάγια" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Υπογράμμιση" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Κώδικας" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Διακριτή διαγραφή" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Δείκτης" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Εκθέτης" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po new file mode 100644 index 00000000..980cb3d1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po new file mode 100644 index 00000000..699f714f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po new file mode 100644 index 00000000..bc718877 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po new file mode 100644 index 00000000..c214000a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Esperanto (https://app.transifex.com/ckeditor/teams/11143/eo/)\n" +"Language: eo\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "grasa" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "kursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po new file mode 100644 index 00000000..7c1092df --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrita" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrayado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po new file mode 100644 index 00000000..4f240a91 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrita" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrayado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po new file mode 100644 index 00000000..a8b2404b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Rasvane" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kaldkiri" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Allajoonitud" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kood" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Läbijoonitud" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alaindeks" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Ülaindeks" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po new file mode 100644 index 00000000..55455fc0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Lodia" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Etzana" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Azpimarra" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kodea" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po new file mode 100644 index 00000000..7a6d5ef9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "درشت" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "کج" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "خط زیر" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کد" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "خط خورده" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "پایین نویس" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "بالانویس" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po new file mode 100644 index 00000000..36c9c957 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Lihavointi" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursivointi" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Alleviivaus" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Koodi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Yliviivaus" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alaindeksi" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Yläindeksi" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po new file mode 100644 index 00000000..53c464e5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Gras" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italique" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Souligné" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Barré" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Exposant" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po new file mode 100644 index 00000000..3516e16d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negra" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálica" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subliñado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Riscado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po new file mode 100644 index 00000000..0c5488ac --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Gujarati (https://app.transifex.com/ckeditor/teams/11143/gu/)\n" +"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ઘાટુ - બોલ્ડ્" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ત્રાંસુ - ઇટલિક્" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "નીચે લિટી - અન્ડરલાઇન્" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po new file mode 100644 index 00000000..ec76540d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "מודגש" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "נטוי" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "קו תחתון" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "קוד" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "קו חוצה" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "כתב תחתי" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "כתב עילי" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po new file mode 100644 index 00000000..da15294d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po new file mode 100644 index 00000000..1d4416c2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Ukošeno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podcrtavanje" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indeks" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Eksponent" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po new file mode 100644 index 00000000..df10a59c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Félkövér" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Dőlt" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Aláhúzott" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Forráskód" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Áthúzott" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alsó index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Felső index" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po new file mode 100644 index 00000000..a66d305f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Armenian (https://app.transifex.com/ckeditor/teams/11143/hy/)\n" +"Language: hy\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Թավագիր" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Շեղագիր" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Ընդգծել" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Կոդ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Գծանշել" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Ենթատեքստ" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Գերագիր" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po new file mode 100644 index 00000000..e7cb1814 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tebal" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Miring" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis bawah" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Coret" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subskrip" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superskrip" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po new file mode 100644 index 00000000..ea2a51e9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Grassetto" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Corsivo" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sottolineato" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Codice" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Barrato" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Pedice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Apice" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po new file mode 100644 index 00000000..8d2300c3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ボールド" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "イタリック" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "アンダーライン" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "コード" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "取り消し線" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下付き文字" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上付き文字" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po new file mode 100644 index 00000000..d1e0c647 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n" +"Language: jv\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Kandhel" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Miring" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis ngandhap" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Seratan dicoret" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po new file mode 100644 index 00000000..42d4f407 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ដិត" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ទ្រេត" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "គូស​បន្ទាត់​ក្រោម" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "កូដ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ឆូតកណ្ដាល" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "អក្សរ​តូចក្រោម" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "អក្សរ​តូចលើ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po new file mode 100644 index 00000000..3686f140 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "‍‍ದಪ್ಪ" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "‍ಇಟಾಲಿಕ್" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po new file mode 100644 index 00000000..0ef11880 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "굵게" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "기울임꼴" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "밑줄" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "코드" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "취소선" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "아래 첨자" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "위 첨자" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po new file mode 100644 index 00000000..eaea5490 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "قەڵەو" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "لار" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ژێرهێڵ" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کۆد" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "هێڵ بەسەرداهاتوو" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ژێرنووس" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "سەرنووس" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po new file mode 100644 index 00000000..947f4adb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Paryškintas" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursyvas" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Pabrauktas" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kodas" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Perbrauktas" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Žemiau" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Aukščiau" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po new file mode 100644 index 00000000..90921549 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Trekns" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursīvs" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Pasvītrots" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kods" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Nosvītrots" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Apakšraksts" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Augšraksts" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po new file mode 100644 index 00000000..9f22bf11 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tebal" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis bawah" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Garis lorek" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subskrip" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superskrip" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po new file mode 100644 index 00000000..7c9fac79 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreking" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gjennomstreking" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po new file mode 100644 index 00000000..66aa4438 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "बोल्ड" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "इटालिक" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "रेखांकन" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "कोड" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "स्ट्राइकथ्रू" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "सबस्क्रिप्ट" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "सुपरस्क्रिप्ट" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po new file mode 100644 index 00000000..2c87ee94 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Vet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursief" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Onderlijnen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Doorhalen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po new file mode 100644 index 00000000..6eab68b3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreket" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gjennomstreket" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Senket skrift" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hevet skrift" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po new file mode 100644 index 00000000..4f159ea2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Occitan (post 1500) (https://app.transifex.com/ckeditor/teams/11143/oc/)\n" +"Language: oc\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Gras" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italica" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po new file mode 100644 index 00000000..a7ff5b3c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Pogrubienie" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursywa" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podkreślenie" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Przekreślenie" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indeks dolny" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Indeks górny" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po new file mode 100644 index 00000000..1cb73663 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrito" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálico" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sublinhado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscrito" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Sobrescrito" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po new file mode 100644 index 00000000..cf288d1f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrito" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálico" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sublinhado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Riscado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscrito" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Sobrescrito" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po new file mode 100644 index 00000000..118ed766 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Îngroșat" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subliniat" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Cod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tăiere text cu o linie" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Exponent" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po new file mode 100644 index 00000000..c0f3f03c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Жирный" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подчеркнутый" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Исходный код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Зачеркнутый" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Подстрочный" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Надстрочный" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po new file mode 100644 index 00000000..27fdce57 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Sinhala (Sri Lanka) (https://app.transifex.com/ckeditor/teams/11143/si_LK/)\n" +"Language: si_LK\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "තදකුරු" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ඇලකුරු" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po new file mode 100644 index 00000000..208f1437 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tučné" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurzíva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podčiarknuté" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kód" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Preškrtnuté" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Dolný index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Horný index" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po new file mode 100644 index 00000000..a6309ea8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Krepko" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Poševno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podčrtaj" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Koda" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Prečrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Naročnik" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Nadpis" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po new file mode 100644 index 00000000..2a715b61 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Trash" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Pjerrtë" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Nënvizuar" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Vi në mes" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Abonohu" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Mbishkrim" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po new file mode 100644 index 00000000..32381749 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurziv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podvučen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtan" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Index dole" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Index gore" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po new file mode 100644 index 00000000..834c9410 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Подебљано" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курзив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подвучен" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Прецртан" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Индекс доле" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Индекс горе" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po new file mode 100644 index 00000000..60d17da3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understrykning" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Genomstruken" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Nedsänkta tecken" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Upphöjda tecken" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po new file mode 100644 index 00000000..012293dc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ตัวหนา" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ตัวเอียง" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ขีดเส้นใต้" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "โค้ด" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ขีดทับ" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ตัวห้อย" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "ตัวยก" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po new file mode 100644 index 00000000..a1bf65fa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Galyň" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Aşagy çyzykly" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Üsti çyzykly" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Aşaky ýazgy" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst ýazgy" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po new file mode 100644 index 00000000..e57d3cc4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Kalın" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "İtalik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Altı Çizgili" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Üstü çizili" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alt Simge" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst Simge" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po new file mode 100644 index 00000000..7fbac1c6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n" +"Language: tt\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Калын" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po new file mode 100644 index 00000000..62843d0c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "توم" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "يانتۇ" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ئاستى سىزىق" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "كود" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ئۆچۈرۈش سىزىقى" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ئاستبەلگە" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "ئۈستبەلگە" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po new file mode 100644 index 00000000..48745f22 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Жирний" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Підкреслений" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Закреслений" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Нижній індекс" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Верхній індекс" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po new file mode 100644 index 00000000..cf9734fe --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "جلّی" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ترچھا" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ترچھا" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کوڈ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "خط کشیدہ" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "زير نوشت" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "بالا نوشت" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po new file mode 100644 index 00000000..b643062b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Qalin" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Tagi chizilgan" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Manba kodi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Chizilgan" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Pastki yozuv" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Yuqori yozuv" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po new file mode 100644 index 00000000..df284888 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Đậm" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Nghiêng" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Gạch dưới" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gạch ngang" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Chữ nhỏ dưới" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Chữ nhỏ trên" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po new file mode 100644 index 00000000..e2b4a65b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "加粗" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "倾斜" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "下划线" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "代码" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "删除线" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下标" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上标" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po new file mode 100644 index 00000000..4866ef58 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po @@ -0,0 +1,46 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "粗體" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "斜體" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "底線" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "代碼" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "刪除線" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下標" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上標" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/package.json new file mode 100644 index 00000000..285d7c06 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/package.json @@ -0,0 +1,36 @@ +{ + "name": "@ckeditor/ckeditor5-basic-styles", + "version": "40.2.0", + "description": "Basic styles feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "ckeditor5": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-basic-styles" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts new file mode 100644 index 00000000..f6eccd68 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts @@ -0,0 +1,74 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/attributecommand + */ +import { Command, type Editor } from 'ckeditor5/src/core'; +/** + * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command + * that toggles a single attribute on a text or an element. + * + * `AttributeCommand` uses {@link module:engine/model/document~Document#selection} + * to decide which nodes (if any) should be changed, and applies or removes the attribute from them. + * + * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled + * for the current selection and to which nodes the attribute can be applied. + */ +export default class AttributeCommand extends Command { + /** + * Flag indicating whether the command is active. The command is active when the + * {@link module:engine/model/selection~Selection#hasAttribute selection has the attribute} which means that: + * + * * If the selection is not empty – That the attribute is set on the first node in the selection that allows this attribute. + * * If the selection is empty – That the selection has the attribute itself (which means that newly typed + * text will have this attribute, too). + * + * @observable + * @readonly + */ + value: boolean; + /** + * The attribute that will be set by the command. + */ + readonly attributeKey: string; + /** + * @param attributeKey Attribute that will be set by the command. + */ + constructor(editor: Editor, attributeKey: string); + /** + * Updates the command's {@link #value} and {@link #isEnabled} based on the current selection. + */ + refresh(): void; + /** + * Executes the command – applies the attribute to the selection or removes it from the selection. + * + * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes. + * + * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}: + * + * * If the selection is on a range, the command applies the attribute to all nodes in that range + * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}). + * * If the selection is collapsed in a non-empty node, the command applies the attribute to the + * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection). + * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note + * that the selection inherits all attributes from a node if it is in an empty node). + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, + * the command will apply the attribute, otherwise the command will remove the attribute. + * If not set, the command will look for its current value to decide what it should do. + */ + execute(options?: { + forceValue?: boolean; + }): void; + /** + * Checks the attribute value of the first node in the selection that allows the attribute. + * For the collapsed selection returns the selection attribute. + * + * @returns The attribute value. + */ + private _getValueFromFirstAllowedNode; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js new file mode 100644 index 00000000..bc59e416 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js @@ -0,0 +1,105 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/attributecommand + */ +import { Command } from 'ckeditor5/src/core'; +/** + * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command + * that toggles a single attribute on a text or an element. + * + * `AttributeCommand` uses {@link module:engine/model/document~Document#selection} + * to decide which nodes (if any) should be changed, and applies or removes the attribute from them. + * + * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled + * for the current selection and to which nodes the attribute can be applied. + */ +export default class AttributeCommand extends Command { + /** + * @param attributeKey Attribute that will be set by the command. + */ + constructor(editor, attributeKey) { + super(editor); + this.attributeKey = attributeKey; + } + /** + * Updates the command's {@link #value} and {@link #isEnabled} based on the current selection. + */ + refresh() { + const model = this.editor.model; + const doc = model.document; + this.value = this._getValueFromFirstAllowedNode(); + this.isEnabled = model.schema.checkAttributeInSelection(doc.selection, this.attributeKey); + } + /** + * Executes the command – applies the attribute to the selection or removes it from the selection. + * + * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes. + * + * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}: + * + * * If the selection is on a range, the command applies the attribute to all nodes in that range + * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}). + * * If the selection is collapsed in a non-empty node, the command applies the attribute to the + * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection). + * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note + * that the selection inherits all attributes from a node if it is in an empty node). + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, + * the command will apply the attribute, otherwise the command will remove the attribute. + * If not set, the command will look for its current value to decide what it should do. + */ + execute(options = {}) { + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const value = (options.forceValue === undefined) ? !this.value : options.forceValue; + model.change(writer => { + if (selection.isCollapsed) { + if (value) { + writer.setSelectionAttribute(this.attributeKey, true); + } + else { + writer.removeSelectionAttribute(this.attributeKey); + } + } + else { + const ranges = model.schema.getValidRanges(selection.getRanges(), this.attributeKey); + for (const range of ranges) { + if (value) { + writer.setAttribute(this.attributeKey, value, range); + } + else { + writer.removeAttribute(this.attributeKey, range); + } + } + } + }); + } + /** + * Checks the attribute value of the first node in the selection that allows the attribute. + * For the collapsed selection returns the selection attribute. + * + * @returns The attribute value. + */ + _getValueFromFirstAllowedNode() { + const model = this.editor.model; + const schema = model.schema; + const selection = model.document.selection; + if (selection.isCollapsed) { + return selection.hasAttribute(this.attributeKey); + } + for (const range of selection.getRanges()) { + for (const item of range.getItems()) { + if (schema.checkAttribute(item, this.attributeKey)) { + return item.hasAttribute(this.attributeKey); + } + } + } + return false; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts new file mode 100644 index 00000000..8971312a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [Superscript.pluginName]: Superscript; + [Subscript.pluginName]: Subscript; + [Bold.pluginName]: Bold; + [Code.pluginName]: Code; + [Code.pluginName]: Code; + [Code.pluginName]: Code; + [BoldUI.pluginName]: BoldUI; + [CodeEditing.pluginName]: CodeEditing; + [CodeUI.pluginName]: CodeUI; + [Italic.pluginName]: Italic; + [ItalicEditing.pluginName]: ItalicEditing; + [ItalicUI.pluginName]: ItalicUI; + [Strikethrough.pluginName]: Strikethrough; + [StrikethroughEditing.pluginName]: StrikethroughEditing; + [StrikethroughUI.pluginName]: StrikethroughUI; + [SubscriptEditing.pluginName]: SubscriptEditing; + [SubscriptUI.pluginName]: SubscriptUI; + [SuperscriptEditing.pluginName]: SuperscriptEditing; + [SuperscriptUI.pluginName]: SuperscriptUI; + [Underline.pluginName]: Underline; + [UnderlineEditing.pluginName]: UnderlineEditing; + [UnderlineUI.pluginName]: UnderlineUI; + } + interface CommandsMap { + bold: AttributeCommand; + code: AttributeCommand; + italic: AttributeCommand; + strikethrough: AttributeCommand; + subscript: AttributeCommand; + superscript: AttributeCommand; + underline: AttributeCommand; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts new file mode 100644 index 00000000..a22b5ff9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold + */ +import { Plugin } from 'ckeditor5/src/core'; +import BoldEditing from './bold/boldediting'; +import BoldUI from './bold/boldui'; +/** + * The bold feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature} + * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}. + */ +export default class Bold extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof BoldEditing, typeof BoldUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Bold"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.js new file mode 100644 index 00000000..c97fa677 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold + */ +import { Plugin } from 'ckeditor5/src/core'; +import BoldEditing from './bold/boldediting'; +import BoldUI from './bold/boldui'; +/** + * The bold feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature} + * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}. + */ +export default class Bold extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [BoldEditing, BoldUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Bold'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts new file mode 100644 index 00000000..b253a459 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The bold editing feature. + * + * It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view + * as a `` element. + */ +export default class BoldEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BoldEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js new file mode 100644 index 00000000..97ec424f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js @@ -0,0 +1,62 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const BOLD = 'bold'; +/** + * The bold editing feature. + * + * It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view + * as a `` element. + */ +export default class BoldEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BoldEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow bold attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: BOLD }); + editor.model.schema.setAttributeProperties(BOLD, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: BOLD, + view: 'strong', + upcastAlso: [ + 'b', + viewElement => { + const fontWeight = viewElement.getStyle('font-weight'); + if (!fontWeight) { + return null; + } + // Value of the `font-weight` attribute can be defined as a string or a number. + if (fontWeight == 'bold' || Number(fontWeight) >= 600) { + return { + name: true, + styles: ['font-weight'] + }; + } + return null; + } + ] + }); + // Create bold command. + editor.commands.add(BOLD, new AttributeCommand(editor, BOLD)); + // Set the Ctrl+B keystroke. + editor.keystrokes.set('CTRL+B', BOLD); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts new file mode 100644 index 00000000..fe376849 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The bold UI feature. It introduces the Bold button. + */ +export default class BoldUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BoldUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js new file mode 100644 index 00000000..265833cf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldui + */ +import { Plugin, icons } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +const BOLD = 'bold'; +/** + * The bold UI feature. It introduces the Bold button. + */ +export default class BoldUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BoldUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add bold button to feature components. + editor.ui.componentFactory.add(BOLD, locale => { + const command = editor.commands.get(BOLD); + const view = new ButtonView(locale); + view.set({ + label: t('Bold'), + icon: icons.bold, + keystroke: 'CTRL+B', + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(BOLD); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.d.ts new file mode 100644 index 00000000..094f4b7a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code + */ +import { Plugin } from 'ckeditor5/src/core'; +import CodeEditing from './code/codeediting'; +import CodeUI from './code/codeui'; +import '../theme/code.css'; +/** + * The code feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature} + * and {@link module:basic-styles/code/codeui~CodeUI code UI feature}. + */ +export default class Code extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof CodeEditing, typeof CodeUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Code"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.js new file mode 100644 index 00000000..08f725d8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code + */ +import { Plugin } from 'ckeditor5/src/core'; +import CodeEditing from './code/codeediting'; +import CodeUI from './code/codeui'; +import '../theme/code.css'; +/** + * The code feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature} + * and {@link module:basic-styles/code/codeui~CodeUI code UI feature}. + */ +export default class Code extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [CodeEditing, CodeUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Code'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts new file mode 100644 index 00000000..9a0b0c80 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import { TwoStepCaretMovement } from 'ckeditor5/src/typing'; +/** + * The code editing feature. + * + * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view + * as a `` element. + */ +export default class CodeEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "CodeEditing"; + /** + * @inheritDoc + */ + static get requires(): readonly [typeof TwoStepCaretMovement]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js new file mode 100644 index 00000000..f8120abf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import { TwoStepCaretMovement, inlineHighlight } from 'ckeditor5/src/typing'; +import AttributeCommand from '../attributecommand'; +const CODE = 'code'; +const HIGHLIGHT_CLASS = 'ck-code_selected'; +/** + * The code editing feature. + * + * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view + * as a `` element. + */ +export default class CodeEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'CodeEditing'; + } + /** + * @inheritDoc + */ + static get requires() { + return [TwoStepCaretMovement]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow code attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: CODE }); + editor.model.schema.setAttributeProperties(CODE, { + isFormatting: true, + copyOnEnter: false + }); + editor.conversion.attributeToElement({ + model: CODE, + view: 'code', + upcastAlso: { + styles: { + 'word-wrap': 'break-word' + } + } + }); + // Create code command. + editor.commands.add(CODE, new AttributeCommand(editor, CODE)); + // Enable two-step caret movement for `code` attribute. + editor.plugins.get(TwoStepCaretMovement).registerAttribute(CODE); + // Setup highlight over selected element. + inlineHighlight(editor, CODE, 'code', HIGHLIGHT_CLASS); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts new file mode 100644 index 00000000..5403fdf9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts @@ -0,0 +1,22 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeui + */ +import { Plugin } from 'ckeditor5/src/core'; +import '../../theme/code.css'; +/** + * The code UI feature. It introduces the Code button. + */ +export default class CodeUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "CodeUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js new file mode 100644 index 00000000..74db1148 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import codeIcon from '../../theme/icons/code.svg'; +import '../../theme/code.css'; +const CODE = 'code'; +/** + * The code UI feature. It introduces the Code button. + */ +export default class CodeUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'CodeUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add code button to feature components. + editor.ui.componentFactory.add(CODE, locale => { + const command = editor.commands.get(CODE); + const view = new ButtonView(locale); + view.set({ + label: t('Code'), + icon: codeIcon, + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(CODE); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.d.ts new file mode 100644 index 00000000..2d5de224 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles + */ +export { default as Bold } from './bold'; +export { default as BoldEditing } from './bold/boldediting'; +export { default as BoldUI } from './bold/boldui'; +export { default as Code } from './code'; +export { default as CodeEditing } from './code/codeediting'; +export { default as CodeUI } from './code/codeui'; +export { default as Italic } from './italic'; +export { default as ItalicEditing } from './italic/italicediting'; +export { default as ItalicUI } from './italic/italicui'; +export { default as Strikethrough } from './strikethrough'; +export { default as StrikethroughEditing } from './strikethrough/strikethroughediting'; +export { default as StrikethroughUI } from './strikethrough/strikethroughui'; +export { default as Subscript } from './subscript'; +export { default as SubscriptEditing } from './subscript/subscriptediting'; +export { default as SubscriptUI } from './subscript/subscriptui'; +export { default as Superscript } from './superscript'; +export { default as SuperscriptEditing } from './superscript/superscriptediting'; +export { default as SuperscriptUI } from './superscript/superscriptui'; +export { default as Underline } from './underline'; +export { default as UnderlineEditing } from './underline/underlineediting'; +export { default as UnderlineUI } from './underline/underlineui'; +export type { default as AttributeCommand } from './attributecommand'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.js new file mode 100644 index 00000000..683c8927 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/index.js @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles + */ +export { default as Bold } from './bold'; +export { default as BoldEditing } from './bold/boldediting'; +export { default as BoldUI } from './bold/boldui'; +export { default as Code } from './code'; +export { default as CodeEditing } from './code/codeediting'; +export { default as CodeUI } from './code/codeui'; +export { default as Italic } from './italic'; +export { default as ItalicEditing } from './italic/italicediting'; +export { default as ItalicUI } from './italic/italicui'; +export { default as Strikethrough } from './strikethrough'; +export { default as StrikethroughEditing } from './strikethrough/strikethroughediting'; +export { default as StrikethroughUI } from './strikethrough/strikethroughui'; +export { default as Subscript } from './subscript'; +export { default as SubscriptEditing } from './subscript/subscriptediting'; +export { default as SubscriptUI } from './subscript/subscriptui'; +export { default as Superscript } from './superscript'; +export { default as SuperscriptEditing } from './superscript/superscriptediting'; +export { default as SuperscriptUI } from './superscript/superscriptui'; +export { default as Underline } from './underline'; +export { default as UnderlineEditing } from './underline/underlineediting'; +export { default as UnderlineUI } from './underline/underlineui'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts new file mode 100644 index 00000000..393fe3ae --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic + */ +import { Plugin } from 'ckeditor5/src/core'; +import ItalicEditing from './italic/italicediting'; +import ItalicUI from './italic/italicui'; +/** + * The italic feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and + * {@link module:basic-styles/italic/italicui~ItalicUI} plugins. + */ +export default class Italic extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof ItalicEditing, typeof ItalicUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Italic"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.js new file mode 100644 index 00000000..055c12b6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic + */ +import { Plugin } from 'ckeditor5/src/core'; +import ItalicEditing from './italic/italicediting'; +import ItalicUI from './italic/italicui'; +/** + * The italic feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and + * {@link module:basic-styles/italic/italicui~ItalicUI} plugins. + */ +export default class Italic extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [ItalicEditing, ItalicUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Italic'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts new file mode 100644 index 00000000..e050a5fe --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The italic editing feature. + * + * It registers the `'italic'` command, the Ctrl+I keystroke and introduces the `italic` attribute in the model + * which renders to the view as an `` element. + */ +export default class ItalicEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "ItalicEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js new file mode 100644 index 00000000..18ee9b9b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js @@ -0,0 +1,52 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const ITALIC = 'italic'; +/** + * The italic editing feature. + * + * It registers the `'italic'` command, the Ctrl+I keystroke and introduces the `italic` attribute in the model + * which renders to the view as an `` element. + */ +export default class ItalicEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'ItalicEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow italic attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: ITALIC }); + editor.model.schema.setAttributeProperties(ITALIC, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: ITALIC, + view: 'i', + upcastAlso: [ + 'em', + { + styles: { + 'font-style': 'italic' + } + } + ] + }); + // Create italic command. + editor.commands.add(ITALIC, new AttributeCommand(editor, ITALIC)); + // Set the Ctrl+I keystroke. + editor.keystrokes.set('CTRL+I', ITALIC); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts new file mode 100644 index 00000000..a93d3b6c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The italic UI feature. It introduces the Italic button. + */ +export default class ItalicUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "ItalicUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js new file mode 100644 index 00000000..c1a9314a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import italicIcon from '../../theme/icons/italic.svg'; +const ITALIC = 'italic'; +/** + * The italic UI feature. It introduces the Italic button. + */ +export default class ItalicUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'ItalicUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add bold button to feature components. + editor.ui.componentFactory.add(ITALIC, locale => { + const command = editor.commands.get(ITALIC); + const view = new ButtonView(locale); + view.set({ + label: t('Italic'), + icon: italicIcon, + keystroke: 'CTRL+I', + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(ITALIC); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts new file mode 100644 index 00000000..0216dbde --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough + */ +import { Plugin } from 'ckeditor5/src/core'; +import StrikethroughEditing from './strikethrough/strikethroughediting'; +import StrikethroughUI from './strikethrough/strikethroughui'; +/** + * The strikethrough feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and + * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins. + */ +export default class Strikethrough extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof StrikethroughEditing, typeof StrikethroughUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Strikethrough"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js new file mode 100644 index 00000000..df00fcbb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough + */ +import { Plugin } from 'ckeditor5/src/core'; +import StrikethroughEditing from './strikethrough/strikethroughediting'; +import StrikethroughUI from './strikethrough/strikethroughui'; +/** + * The strikethrough feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and + * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins. + */ +export default class Strikethrough extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [StrikethroughEditing, StrikethroughUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Strikethrough'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts new file mode 100644 index 00000000..aa8421cd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts @@ -0,0 +1,25 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The strikethrough editing feature. + * + * It registers the `'strikethrough'` command, the Ctrl+Shift+X keystroke and introduces the + * `strikethroughsthrough` attribute in the model which renders to the view + * as a `` element. + */ +export default class StrikethroughEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "StrikethroughEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js new file mode 100644 index 00000000..1779ba60 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js @@ -0,0 +1,54 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const STRIKETHROUGH = 'strikethrough'; +/** + * The strikethrough editing feature. + * + * It registers the `'strikethrough'` command, the Ctrl+Shift+X keystroke and introduces the + * `strikethroughsthrough` attribute in the model which renders to the view + * as a `` element. + */ +export default class StrikethroughEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'StrikethroughEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow strikethrough attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: STRIKETHROUGH }); + editor.model.schema.setAttributeProperties(STRIKETHROUGH, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: STRIKETHROUGH, + view: 's', + upcastAlso: [ + 'del', + 'strike', + { + styles: { + 'text-decoration': 'line-through' + } + } + ] + }); + // Create strikethrough command. + editor.commands.add(STRIKETHROUGH, new AttributeCommand(editor, STRIKETHROUGH)); + // Set the Ctrl+Shift+X keystroke. + editor.keystrokes.set('CTRL+SHIFT+X', 'strikethrough'); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts new file mode 100644 index 00000000..9d3beae3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The strikethrough UI feature. It introduces the Strikethrough button. + */ +export default class StrikethroughUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "StrikethroughUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js new file mode 100644 index 00000000..34e042c4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import strikethroughIcon from '../../theme/icons/strikethrough.svg'; +const STRIKETHROUGH = 'strikethrough'; +/** + * The strikethrough UI feature. It introduces the Strikethrough button. + */ +export default class StrikethroughUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'StrikethroughUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add strikethrough button to feature components. + editor.ui.componentFactory.add(STRIKETHROUGH, locale => { + const command = editor.commands.get(STRIKETHROUGH); + const view = new ButtonView(locale); + view.set({ + label: t('Strikethrough'), + icon: strikethroughIcon, + keystroke: 'CTRL+SHIFT+X', + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(STRIKETHROUGH); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts new file mode 100644 index 00000000..a0181b93 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript + */ +import { Plugin } from 'ckeditor5/src/core'; +import SubscriptEditing from './subscript/subscriptediting'; +import SubscriptUI from './subscript/subscriptui'; +/** + * The subscript feature. + * + * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and + * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins. + */ +export default class Subscript extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof SubscriptEditing, typeof SubscriptUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Subscript"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.js new file mode 100644 index 00000000..3bdb20f5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript.js @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript + */ +import { Plugin } from 'ckeditor5/src/core'; +import SubscriptEditing from './subscript/subscriptediting'; +import SubscriptUI from './subscript/subscriptui'; +/** + * The subscript feature. + * + * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and + * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins. + */ +export default class Subscript extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [SubscriptEditing, SubscriptUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Subscript'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts new file mode 100644 index 00000000..90e2278d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The subscript editing feature. + * + * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view + * as a `` element. + */ +export default class SubscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SubscriptEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js new file mode 100644 index 00000000..8ef8576d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const SUBSCRIPT = 'subscript'; +/** + * The subscript editing feature. + * + * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view + * as a `` element. + */ +export default class SubscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SubscriptEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow sub attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: SUBSCRIPT }); + editor.model.schema.setAttributeProperties(SUBSCRIPT, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: SUBSCRIPT, + view: 'sub', + upcastAlso: [ + { + styles: { + 'vertical-align': 'sub' + } + } + ] + }); + // Create sub command. + editor.commands.add(SUBSCRIPT, new AttributeCommand(editor, SUBSCRIPT)); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts new file mode 100644 index 00000000..bd8f0569 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The subscript UI feature. It introduces the Subscript button. + */ +export default class SubscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SubscriptUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js new file mode 100644 index 00000000..66631bbc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import subscriptIcon from '../../theme/icons/subscript.svg'; +const SUBSCRIPT = 'subscript'; +/** + * The subscript UI feature. It introduces the Subscript button. + */ +export default class SubscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SubscriptUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add subscript button to feature components. + editor.ui.componentFactory.add(SUBSCRIPT, locale => { + const command = editor.commands.get(SUBSCRIPT); + const view = new ButtonView(locale); + view.set({ + label: t('Subscript'), + icon: subscriptIcon, + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(SUBSCRIPT); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts new file mode 100644 index 00000000..7fba3989 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript + */ +import { Plugin } from 'ckeditor5/src/core'; +import SuperscriptEditing from './superscript/superscriptediting'; +import SuperscriptUI from './superscript/superscriptui'; +/** + * The superscript feature. + * + * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and + * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins. + */ +export default class Superscript extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof SuperscriptEditing, typeof SuperscriptUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Superscript"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.js new file mode 100644 index 00000000..563550f6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript.js @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript + */ +import { Plugin } from 'ckeditor5/src/core'; +import SuperscriptEditing from './superscript/superscriptediting'; +import SuperscriptUI from './superscript/superscriptui'; +/** + * The superscript feature. + * + * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and + * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins. + */ +export default class Superscript extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [SuperscriptEditing, SuperscriptUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Superscript'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts new file mode 100644 index 00000000..1adc4b58 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The superscript editing feature. + * + * It registers the `super` command and introduces the `super` attribute in the model which renders to the view + * as a `` element. + */ +export default class SuperscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SuperscriptEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js new file mode 100644 index 00000000..afd7cda6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const SUPERSCRIPT = 'superscript'; +/** + * The superscript editing feature. + * + * It registers the `super` command and introduces the `super` attribute in the model which renders to the view + * as a `` element. + */ +export default class SuperscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SuperscriptEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow super attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: SUPERSCRIPT }); + editor.model.schema.setAttributeProperties(SUPERSCRIPT, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: SUPERSCRIPT, + view: 'sup', + upcastAlso: [ + { + styles: { + 'vertical-align': 'super' + } + } + ] + }); + // Create super command. + editor.commands.add(SUPERSCRIPT, new AttributeCommand(editor, SUPERSCRIPT)); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts new file mode 100644 index 00000000..4849c86a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The superscript UI feature. It introduces the Superscript button. + */ +export default class SuperscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SuperscriptUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js new file mode 100644 index 00000000..6ce6d405 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import superscriptIcon from '../../theme/icons/superscript.svg'; +const SUPERSCRIPT = 'superscript'; +/** + * The superscript UI feature. It introduces the Superscript button. + */ +export default class SuperscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SuperscriptUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add superscript button to feature components. + editor.ui.componentFactory.add(SUPERSCRIPT, locale => { + const command = editor.commands.get(SUPERSCRIPT); + const view = new ButtonView(locale); + view.set({ + label: t('Superscript'), + icon: superscriptIcon, + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(SUPERSCRIPT); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts new file mode 100644 index 00000000..bb763434 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline + */ +import { Plugin } from 'ckeditor5/src/core'; +import UnderlineEditing from './underline/underlineediting'; +import UnderlineUI from './underline/underlineui'; +/** + * The underline feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and + * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins. + */ +export default class Underline extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Underline"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.js new file mode 100644 index 00000000..254c26b8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline + */ +import { Plugin } from 'ckeditor5/src/core'; +import UnderlineEditing from './underline/underlineediting'; +import UnderlineUI from './underline/underlineui'; +/** + * The underline feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and + * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins. + */ +export default class Underline extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [UnderlineEditing, UnderlineUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Underline'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts new file mode 100644 index 00000000..c85dcedd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineediting + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The underline editing feature. + * + * It registers the `'underline'` command, the Ctrl+U keystroke + * and introduces the `underline` attribute in the model which renders to the view as an `` element. + */ +export default class UnderlineEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "UnderlineEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js new file mode 100644 index 00000000..f83c1f90 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js @@ -0,0 +1,49 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import AttributeCommand from '../attributecommand'; +const UNDERLINE = 'underline'; +/** + * The underline editing feature. + * + * It registers the `'underline'` command, the Ctrl+U keystroke + * and introduces the `underline` attribute in the model which renders to the view as an `` element. + */ +export default class UnderlineEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'UnderlineEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow strikethrough attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: UNDERLINE }); + editor.model.schema.setAttributeProperties(UNDERLINE, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: UNDERLINE, + view: 'u', + upcastAlso: { + styles: { + 'text-decoration': 'underline' + } + } + }); + // Create underline command. + editor.commands.add(UNDERLINE, new AttributeCommand(editor, UNDERLINE)); + // Set the Ctrl+U keystroke. + editor.keystrokes.set('CTRL+U', 'underline'); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts new file mode 100644 index 00000000..15e4322c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineui + */ +import { Plugin } from 'ckeditor5/src/core'; +/** + * The underline UI feature. It introduces the Underline button. + */ +export default class UnderlineUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "UnderlineUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js new file mode 100644 index 00000000..d0b5d578 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineui + */ +import { Plugin } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import underlineIcon from '../../theme/icons/underline.svg'; +const UNDERLINE = 'underline'; +/** + * The underline UI feature. It introduces the Underline button. + */ +export default class UnderlineUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'UnderlineUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + // Add bold button to feature components. + editor.ui.componentFactory.add(UNDERLINE, locale => { + const command = editor.commands.get(UNDERLINE); + const view = new ButtonView(locale); + view.set({ + label: t('Underline'), + icon: underlineIcon, + keystroke: 'CTRL+U', + tooltip: true, + isToggleable: true + }); + view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(view, 'execute', () => { + editor.execute(UNDERLINE); + editor.editing.view.focus(); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/code.css b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/code.css new file mode 100644 index 00000000..e7769a7a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/code.css @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content code { + background-color: hsla(0, 0%, 78%, 0.3); + padding: .15em; + border-radius: 2px; +} + +.ck.ck-editor__editable .ck-code_selected { + background-color: hsla(0, 0%, 78%, 0.5); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg new file mode 100644 index 00000000..0cd08e17 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg new file mode 100644 index 00000000..efd83d1d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg new file mode 100644 index 00000000..9b307bc0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg new file mode 100644 index 00000000..0cb413e9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg new file mode 100644 index 00000000..92b5eb1d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg new file mode 100644 index 00000000..149b64fa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/CHANGELOG.md new file mode 100644 index 00000000..5ab47cae --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/CHANGELOG.md @@ -0,0 +1,204 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Bug fixes + +* Focus the editor before executing toolbar buttons' command. See [ckeditor/ckeditor5#353](https://github.com/ckeditor/ckeditor5/issues/353). ([4223ff2](https://github.com/ckeditor/ckeditor5-block-quote/commit/4223ff2)) + +### Other changes + +* Updated translations. ([77fbbad](https://github.com/ckeditor/ckeditor5-block-quote/commit/77fbbad)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([e49b7b0](https://github.com/ckeditor/ckeditor5-block-quote/commit/e49b7b0)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.3...v15.0.0) (October 23, 2019) + +### Other changes + +* Add `pluginName` property to editing plugins. ([3d6b419](https://github.com/ckeditor/ckeditor5-block-quote/commit/3d6b419)) +* Updated translations. ([47acb53](https://github.com/ckeditor/ckeditor5-block-quote/commit/47acb53)) + + +## [11.1.3](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.2...v11.1.3) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([aa24686](https://github.com/ckeditor/ckeditor5-block-quote/commit/aa24686)) + +### Other changes + +* Adjusted blockquote content styles for better compatibility with RTL languages. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([c48b703](https://github.com/ckeditor/ckeditor5-block-quote/commit/c48b703)) +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([ffcbcfc](https://github.com/ckeditor/ckeditor5-block-quote/commit/ffcbcfc)) +* Updated translations. ([537f761](https://github.com/ckeditor/ckeditor5-block-quote/commit/537f761)) + + +## [11.1.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.1...v11.1.2) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.0...v11.1.1) (July 4, 2019) + +### Other changes + +* Updated translations. ([3ab78f2](https://github.com/ckeditor/ckeditor5-block-quote/commit/3ab78f2)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.0.1...v11.1.0) (June 6, 2019) + +### Features + +* Added possibility to force quoting or un-quoting in `execute()`. Closes: [#35](https://github.com/ckeditor/ckeditor5-block-quote/issues/35). ([e9a5027](https://github.com/ckeditor/ckeditor5-block-quote/commit/e9a5027)) + +### Other changes + +* Updated translations. ([eb15fc6](https://github.com/ckeditor/ckeditor5-block-quote/commit/eb15fc6)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Updated translations. ([c524349](https://github.com/ckeditor/ckeditor5-block-quote/commit/c524349)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.1.1...v11.0.0) (February 28, 2019) + +### Other changes + +* Make `BlockQuoteCommand` wrap only top-most blocks. ([17c9d3b](https://github.com/ckeditor/ckeditor5-block-quote/commit/17c9d3b)) +* Updated translations. ([f452b45](https://github.com/ckeditor/ckeditor5-block-quote/commit/f452b45)) ([8d8fde2](https://github.com/ckeditor/ckeditor5-block-quote/commit/8d8fde2)) ([cb7ec44](https://github.com/ckeditor/ckeditor5-block-quote/commit/cb7ec44)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.1.0...v10.1.1) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.2...v10.1.0) (October 8, 2018) + +### Features + +* Implemented a post-fixer for cleaning incorrect blockquotes. ([fcb00c0](https://github.com/ckeditor/ckeditor5-block-quote/commit/fcb00c0)) + +### Other changes + +* Updated translations. ([a0078f3](https://github.com/ckeditor/ckeditor5-block-quote/commit/a0078f3)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Updated translations. ([170a8fd](https://github.com/ckeditor/ckeditor5-block-quote/commit/170a8fd)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. ([4a51fd8](https://github.com/ckeditor/ckeditor5-block-quote/commit/4a51fd8)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a4fa6e7](https://github.com/ckeditor/ckeditor5-block-quote/commit/a4fa6e7)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Bug fixes + +* The outline of a quoted image should not be cropped. Closes [#15](https://github.com/ckeditor/ckeditor5-block-quote/issues/15). ([1512135](https://github.com/ckeditor/ckeditor5-block-quote/commit/1512135)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Other changes + +* Aligned feature class naming to the new scheme. ([cc723c3](https://github.com/ckeditor/ckeditor5-block-quote/commit/cc723c3)) +* Migrated package styles to PostCSS. Moved the visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([c973931](https://github.com/ckeditor/ckeditor5-block-quote/commit/c973931)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([e150fe2](https://github.com/ckeditor/ckeditor5-block-quote/commit/e150fe2)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.2.0...v1.0.0-alpha.1) (October 3, 2017) + +### Other changes + +* Improved default blockquote styling so it does not overlap with floated images. Closes [#12](https://github.com/ckeditor/ckeditor5-block-quote/issues/12). ([fb09418](https://github.com/ckeditor/ckeditor5-block-quote/commit/fb09418)) + + +## [0.2.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.1.1...v0.2.0) (September 3, 2017) + +### Features + +* Enter in the block quote will scroll the viewport to the selection. See ckeditor/ckeditor5-engine#660. ([09dc740](https://github.com/ckeditor/ckeditor5-block-quote/commit/09dc740)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([627510a](https://github.com/ckeditor/ckeditor5-block-quote/commit/627510a)) + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.1.0...v0.1.1) (May 7, 2017) + +### Bug fixes + +* Block quote should not be applied to image's caption. Closes: [#10](https://github.com/ckeditor/ckeditor5-block-quote/issues/10). ([06de874](https://github.com/ckeditor/ckeditor5-block-quote/commit/06de874)) + +### Other changes + +* Updated translations. ([5e23f86](https://github.com/ckeditor/ckeditor5-block-quote/commit/5e23f86)) + + +## 0.1.0 (April 5, 2017) + +### Features + +* Introduced the block quote feature. Closes [#1](https://github.com/ckeditor/ckeditor5-block-quote/issues/1). ([239015b](https://github.com/ckeditor/ckeditor5-block-quote/commit/239015b)) diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/LICENSE.md new file mode 100644 index 00000000..61af57a4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 block quote feature** – https://github.com/ckeditor/ckeditor5-block-quote
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/README.md new file mode 100644 index 00000000..f63ea386 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/README.md @@ -0,0 +1,20 @@ +CKEditor 5 block quote feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-block-quote.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements block quote support for CKEditor 5. + +## Demo + +Check out the [demo in the block quote feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/block-quote.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-block-quote` package](https://ckeditor.com/docs/ckeditor5/latest/api/block-quote.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/block-quote.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/block-quote.js new file mode 100644 index 00000000..a60efe31 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/block-quote.js @@ -0,0 +1,5 @@ +!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={93:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(609),r=o.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}",""]);const i=r},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),c=[];function s(e){for(var t=-1,o=0;o{e.exports=o(79)("./src/core.js")},331:(e,t,o)=>{e.exports=o(79)("./src/enter.js")},181:(e,t,o)=>{e.exports=o(79)("./src/typing.js")},273:(e,t,o)=>{e.exports=o(79)("./src/ui.js")},209:(e,t,o)=>{e.exports=o(79)("./src/utils.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{BlockQuote:()=>g,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>v});var e=o(704),t=o(331),r=o(181),i=o(209);class c extends e.Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,n=t.document.selection,r=Array.from(n.getSelectedBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i){const t=r.filter((e=>s(e)||a(o,e)));this._applyQuote(e,t)}else this._removeQuote(e,r.filter(s))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,i.first)(e.getSelectedBlocks());return!(!t||!s(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=(0,i.first)(e.getSelectedBlocks());return!!o&&a(t,o)}_removeQuote(e,t){l(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const o=e.createPositionBefore(t.start.parent);return void e.move(t,o)}t.end.isAtEnd||e.split(t.end);const o=e.createPositionAfter(t.end.parent);e.move(t,o)}))}_applyQuote(e,t){const o=[];l(e,t).reverse().forEach((t=>{let n=s(t.start);n||(n=e.createElement("blockQuote"),e.wrap(t,n)),o.push(n)})),o.reverse().reduce(((t,o)=>t.nextSibling==o?(e.merge(e.createPositionAfter(t)),t):o))}}function s(e){return"blockQuote"==e.parent.name?e.parent:null}function l(e,t){let o,n=0;const r=[];for(;n{const n=e.model.document.differ.getChanges();for(const e of n)if("insert"==e.type){const n=e.position.nodeAfter;if(!n)continue;if(n.is("element","blockQuote")&&n.isEmpty)return o.remove(n),!0;if(n.is("element","blockQuote")&&!t.checkChild(e.position,n))return o.unwrap(n),!0;if(n.is("element")){const e=o.createRangeIn(n);for(const n of e.getItems())if(n.is("element","blockQuote")&&!t.checkChild(o.createPositionBefore(n),n))return o.unwrap(n),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return o.remove(t),!0}return!1}));const o=this.editor.editing.view.document,n=e.model.document.selection,r=e.commands.get("blockQuote");this.listenTo(o,"enter",((t,o)=>{if(!n.isCollapsed||!r.value)return;n.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(o,"delete",((t,o)=>{if("backward"!=o.direction||!n.isCollapsed||!r.value)return;const i=n.getLastPosition().parent;i.isEmpty&&!i.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"})}}var d=o(273),f=o(62),p=o.n(f),m=o(93),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};p()(m.Z,h);m.Z.locals;class v extends e.Plugin{static get pluginName(){return"BlockQuoteUI"}init(){const t=this.editor,o=t.t;t.ui.componentFactory.add("blockQuote",(n=>{const r=t.commands.get("blockQuote"),i=new d.ButtonView(n);return i.set({label:o("Block quote"),icon:e.icons.quote,tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(r,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute("blockQuote"),t.editing.view.focus()})),i}))}}class g extends e.Plugin{static get requires(){return[u,v]}static get pluginName(){return"BlockQuote"}}})(),(window.CKEditor5=window.CKEditor5||{}).blockQuote=n})(); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/af.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/af.js new file mode 100644 index 00000000..e35bd01a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/af.js @@ -0,0 +1 @@ +!function(n){const i=n.af=n.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Verwysingsaanhaling"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ar.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ar.js new file mode 100644 index 00000000..a6df1fef --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ar.js @@ -0,0 +1 @@ +!function(i){const n=i.ar=i.ar||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/az.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/az.js new file mode 100644 index 00000000..22158de9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/az.js @@ -0,0 +1 @@ +!function(i){const o=i.az=i.az||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Sitat bloku"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bg.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bg.js new file mode 100644 index 00000000..f8b2a459 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bg.js @@ -0,0 +1 @@ +!function(i){const n=i.bg=i.bg||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bn.js new file mode 100644 index 00000000..7b319b2a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bn.js @@ -0,0 +1 @@ +!function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ব্লক কোট"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bs.js new file mode 100644 index 00000000..0a20b716 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/bs.js @@ -0,0 +1 @@ +!function(i){const n=i.bs=i.bs||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ca.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ca.js new file mode 100644 index 00000000..e3f5bfd4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ca.js @@ -0,0 +1 @@ +!function(c){const i=c.ca=c.ca||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/cs.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/cs.js new file mode 100644 index 00000000..6bf6efd9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/cs.js @@ -0,0 +1 @@ +!function(c){const i=c.cs=c.cs||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citace"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/da.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/da.js new file mode 100644 index 00000000..517b5cb2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/da.js @@ -0,0 +1 @@ +!function(i){const o=i.da=i.da||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blot citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js new file mode 100644 index 00000000..d021ce37 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js @@ -0,0 +1 @@ +!function(c){const i=c["de-ch"]=c["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de.js new file mode 100644 index 00000000..5bafd444 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/de.js @@ -0,0 +1 @@ +!function(i){const o=i.de=i.de||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/el.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/el.js new file mode 100644 index 00000000..2e7cea93 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/el.js @@ -0,0 +1 @@ +!function(i){const n=i.el=i.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Περιοχή παράθεσης"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js new file mode 100644 index 00000000..a44520cf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js @@ -0,0 +1 @@ +!function(n){const o=n["en-au"]=n["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js new file mode 100644 index 00000000..3fd172f1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js @@ -0,0 +1 @@ +!function(n){const o=n["en-gb"]=n["en-gb"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js new file mode 100644 index 00000000..370b102e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js @@ -0,0 +1 @@ +!function(o){const i=o["es-co"]=o["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es.js new file mode 100644 index 00000000..cea53561 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/es.js @@ -0,0 +1 @@ +!function(i){const o=i.es=i.es||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/et.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/et.js new file mode 100644 index 00000000..2a02d6ac --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/et.js @@ -0,0 +1 @@ +!function(t){const i=t.et=t.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Tsitaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/eu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/eu.js new file mode 100644 index 00000000..80be33cc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/eu.js @@ -0,0 +1 @@ +!function(i){const n=i.eu=i.eu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Aipua"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fa.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fa.js new file mode 100644 index 00000000..f508a107 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fa.js @@ -0,0 +1 @@ +!function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" بلوک نقل قول"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fi.js new file mode 100644 index 00000000..173289c1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fi.js @@ -0,0 +1 @@ +!function(i){const n=i.fi=i.fi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Lainaus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fr.js new file mode 100644 index 00000000..002cb154 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/fr.js @@ -0,0 +1 @@ +!function(i){const n=i.fr=i.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citation"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gl.js new file mode 100644 index 00000000..943c041c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gl.js @@ -0,0 +1 @@ +!function(i){const o=i.gl=i.gl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gu.js new file mode 100644 index 00000000..2ead639c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/gu.js @@ -0,0 +1 @@ +!function(i){const n=i.gu=i.gu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" વિચાર ટાંકો"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/he.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/he.js new file mode 100644 index 00000000..3b711628 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/he.js @@ -0,0 +1 @@ +!function(i){const n=i.he=i.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"בלוק ציטוט"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hi.js new file mode 100644 index 00000000..02ad5ca2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hi.js @@ -0,0 +1 @@ +!function(i){const o=i.hi=i.hi||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hr.js new file mode 100644 index 00000000..98514f62 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hr.js @@ -0,0 +1 @@ +!function(i){const o=i.hr=i.hr||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blok citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hu.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hu.js new file mode 100644 index 00000000..a7f2c85d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/hu.js @@ -0,0 +1 @@ +!function(i){const n=i.hu=i.hu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Idézet"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/id.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/id.js new file mode 100644 index 00000000..061777fb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/id.js @@ -0,0 +1 @@ +!function(i){const n=i.id=i.id||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Kutipan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/it.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/it.js new file mode 100644 index 00000000..aaa70543 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/it.js @@ -0,0 +1 @@ +!function(i){const o=i.it=i.it||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blocco citazione"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ja.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ja.js new file mode 100644 index 00000000..7978b9f5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ja.js @@ -0,0 +1 @@ +!function(i){const n=i.ja=i.ja||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ブロッククオート(引用)"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/km.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/km.js new file mode 100644 index 00000000..d6dcaafa --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/km.js @@ -0,0 +1 @@ +!function(i){const n=i.km=i.km||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ប្លុក​ពាក្យ​សម្រង់"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/kn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/kn.js new file mode 100644 index 00000000..47f43c7c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/kn.js @@ -0,0 +1 @@ +!function(n){const i=n.kn=n.kn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ko.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ko.js new file mode 100644 index 00000000..3ed92831 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ko.js @@ -0,0 +1 @@ +!function(o){const i=o.ko=o.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"인용 단락"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ku.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ku.js new file mode 100644 index 00000000..a0a5d055 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ku.js @@ -0,0 +1 @@ +!function(i){const n=i.ku=i.ku||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"وتەی وەرگیراو"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lt.js new file mode 100644 index 00000000..e7a9e1a5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lt.js @@ -0,0 +1 @@ +!function(t){const i=t.lt=t.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citata"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lv.js new file mode 100644 index 00000000..aa871697 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/lv.js @@ -0,0 +1 @@ +!function(i){const n=i.lv=i.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citāts"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ms.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ms.js new file mode 100644 index 00000000..384ac23c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ms.js @@ -0,0 +1 @@ +!function(i){const n=i.ms=i.ms||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blok petikan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nb.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nb.js new file mode 100644 index 00000000..8b6ff6f4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nb.js @@ -0,0 +1 @@ +!function(n){const i=n.nb=n.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ne.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ne.js new file mode 100644 index 00000000..3f9e689b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ne.js @@ -0,0 +1 @@ +!function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ब्लक उद्धरण"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nl.js new file mode 100644 index 00000000..51044936 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/nl.js @@ -0,0 +1 @@ +!function(n){const i=n.nl=n.nl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blok citaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/no.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/no.js new file mode 100644 index 00000000..92ac6331 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/no.js @@ -0,0 +1 @@ +!function(o){const n=o.no=o.no||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pl.js new file mode 100644 index 00000000..db1f5a83 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pl.js @@ -0,0 +1 @@ +!function(o){const i=o.pl=o.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cytat blokowy"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js new file mode 100644 index 00000000..5e48dbee --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(o){const i=o["pt-br"]=o["pt-br"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt.js new file mode 100644 index 00000000..2c3449ef --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/pt.js @@ -0,0 +1 @@ +!function(o){const i=o.pt=o.pt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ro.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ro.js new file mode 100644 index 00000000..d6671e1d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ro.js @@ -0,0 +1 @@ +!function(o){const i=o.ro=o.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloc citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ru.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ru.js new file mode 100644 index 00000000..45916081 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ru.js @@ -0,0 +1 @@ +!function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sk.js new file mode 100644 index 00000000..6ccea39c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sk.js @@ -0,0 +1 @@ +!function(i){const n=i.sk=i.sk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citát"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sl.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sl.js new file mode 100644 index 00000000..dd31080f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sl.js @@ -0,0 +1 @@ +!function(i){const o=i.sl=i.sl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blokiraj citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sq.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sq.js new file mode 100644 index 00000000..1e47d025 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sq.js @@ -0,0 +1 @@ +!function(n){const o=n.sq=n.sq||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Thonjëzat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js new file mode 100644 index 00000000..b630bc6d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js @@ -0,0 +1 @@ +!function(n){const t=n["sr-latn"]=n["sr-latn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr.js new file mode 100644 index 00000000..516a7a88 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sr.js @@ -0,0 +1 @@ +!function(i){const n=i.sr=i.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sv.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sv.js new file mode 100644 index 00000000..e2a08690 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/sv.js @@ -0,0 +1 @@ +!function(i){const o=i.sv=i.sv||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockcitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/th.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/th.js new file mode 100644 index 00000000..2305940d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/th.js @@ -0,0 +1 @@ +!function(i){const n=i.th=i.th||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"คำพูดบล็อก"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tk.js new file mode 100644 index 00000000..98d5f383 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tk.js @@ -0,0 +1 @@ +!function(i){const t=i.tk=i.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Sitata blokirläň"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tr.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tr.js new file mode 100644 index 00000000..afef9dab --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/tr.js @@ -0,0 +1 @@ +!function(n){const t=n.tr=n.tr||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Alıntı"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ug.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ug.js new file mode 100644 index 00000000..41f4bff1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ug.js @@ -0,0 +1 @@ +!function(i){const n=i.ug=i.ug||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"نەقىل"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uk.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uk.js new file mode 100644 index 00000000..9678c690 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uk.js @@ -0,0 +1 @@ +!function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ur.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ur.js new file mode 100644 index 00000000..be45717e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/ur.js @@ -0,0 +1 @@ +!function(i){const n=i.ur=i.ur||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"خانہ اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uz.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uz.js new file mode 100644 index 00000000..af1a4af5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/uz.js @@ -0,0 +1 @@ +!function(i){const o=i.uz=i.uz||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Iqtibos"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/vi.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/vi.js new file mode 100644 index 00000000..0593468c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/vi.js @@ -0,0 +1 @@ +!function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Trích dẫn"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js new file mode 100644 index 00000000..8e83d4b0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(n){const c=n["zh-cn"]=n["zh-cn"]||{};c.dictionary=Object.assign(c.dictionary||{},{"Block quote":"块引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh.js new file mode 100644 index 00000000..0877dc5d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/build/translations/zh.js @@ -0,0 +1 @@ +!function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"段落引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json new file mode 100644 index 00000000..6668d465 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json @@ -0,0 +1,23 @@ +{ + "plugins": [ + { + "name": "Block quote", + "className": "BlockQuote", + "description": "Implements the block quote support to easily include quotations and passages in the rich-text content.", + "docs": "features/block-quote.html", + "path": "src/blockquote.js", + "uiComponents": [ + { + "type": "Button", + "name": "blockQuote", + "iconPath": "@ckeditor/ckeditor5-core/theme/icons/quote.svg" + } + ], + "htmlOutput": [ + { + "elements": "blockquote" + } + ] + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/contexts.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/contexts.json new file mode 100644 index 00000000..163affa1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/contexts.json @@ -0,0 +1,3 @@ +{ + "Block quote": "Toolbar button tooltip for the Block quote feature." +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/af.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/af.po new file mode 100644 index 00000000..43d6fc7c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/af.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Verwysingsaanhaling" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po new file mode 100644 index 00000000..31f7308b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "اقتباس" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/az.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/az.po new file mode 100644 index 00000000..dc1f7b0b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/az.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Sitat bloku" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po new file mode 100644 index 00000000..48845f85 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитат" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po new file mode 100644 index 00000000..0d0cbc7b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ব্লক কোট" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po new file mode 100644 index 00000000..1ff8e14a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po new file mode 100644 index 00000000..dd6510a9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloc" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po new file mode 100644 index 00000000..10524d65 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citace" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/da.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/da.po new file mode 100644 index 00000000..9a7a9641 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/da.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blot citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po new file mode 100644 index 00000000..e92a8220 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockzitat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de.po new file mode 100644 index 00000000..17379f42 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/de.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockzitat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/el.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/el.po new file mode 100644 index 00000000..2216e2eb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/el.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Περιοχή παράθεσης" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po new file mode 100644 index 00000000..1b5cc467 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po new file mode 100644 index 00000000..8f64f40e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en.po new file mode 100644 index 00000000..3bd4066f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/en.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po new file mode 100644 index 00000000..ce9526f0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloque" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es.po new file mode 100644 index 00000000..47f78504 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/es.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloque" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/et.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/et.po new file mode 100644 index 00000000..41001d6f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/et.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Tsitaat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po new file mode 100644 index 00000000..efdef1ac --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Aipua" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po new file mode 100644 index 00000000..fd67440c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr " بلوک نقل قول" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po new file mode 100644 index 00000000..4dec9b3a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Lainaus" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po new file mode 100644 index 00000000..d6e4f0ba --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citation" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po new file mode 100644 index 00000000..27576cdd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloque" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po new file mode 100644 index 00000000..7939e128 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Gujarati (https://app.transifex.com/ckeditor/teams/11143/gu/)\n" +"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr " વિચાર ટાંકો" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/he.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/he.po new file mode 100644 index 00000000..4a98e0ab --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/he.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "בלוק ציטוט" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po new file mode 100644 index 00000000..aaef6c14 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po new file mode 100644 index 00000000..1f84f075 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po new file mode 100644 index 00000000..0c321469 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Idézet" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/id.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/id.po new file mode 100644 index 00000000..656ec3af --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/id.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Kutipan" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/it.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/it.po new file mode 100644 index 00000000..6afd25a1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/it.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blocco citazione" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po new file mode 100644 index 00000000..adb52f0e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ブロッククオート(引用)" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/km.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/km.po new file mode 100644 index 00000000..14fd8e0d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/km.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ប្លុក​ពាក្យ​សម្រង់" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po new file mode 100644 index 00000000..92e033cb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po new file mode 100644 index 00000000..af645f0c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "인용 단락" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po new file mode 100644 index 00000000..e54f309e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "وتەی وەرگیراو" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po new file mode 100644 index 00000000..f63b623c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citata" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po new file mode 100644 index 00000000..703862a6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citāts" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po new file mode 100644 index 00000000..dc995762 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok petikan" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po new file mode 100644 index 00000000..c6faad26 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokksitat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po new file mode 100644 index 00000000..9c78b1a3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ब्लक उद्धरण" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po new file mode 100644 index 00000000..fedc3f88 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok citaat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/no.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/no.po new file mode 100644 index 00000000..e779ebec --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/no.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokksitat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po new file mode 100644 index 00000000..2a63203c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cytat blokowy" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po new file mode 100644 index 00000000..8b6b06d2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloco de citação" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po new file mode 100644 index 00000000..1e0859bc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloco de citação" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po new file mode 100644 index 00000000..f76a51c0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloc citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po new file mode 100644 index 00000000..ac50f58e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитата" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po new file mode 100644 index 00000000..81a729dd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citát" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po new file mode 100644 index 00000000..37315b0b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokiraj citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po new file mode 100644 index 00000000..ad323a8d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Thonjëzat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po new file mode 100644 index 00000000..f38265ac --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po new file mode 100644 index 00000000..16596fae --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитат" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po new file mode 100644 index 00000000..dcf191b5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockcitat" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/th.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/th.po new file mode 100644 index 00000000..5f5b8f84 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/th.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "คำพูดบล็อก" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po new file mode 100644 index 00000000..8b61ca75 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Sitata blokirläň" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po new file mode 100644 index 00000000..5a6ccb42 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Alıntı" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po new file mode 100644 index 00000000..b5e48263 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "نەقىل" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po new file mode 100644 index 00000000..15aafe40 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитата" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po new file mode 100644 index 00000000..9e692a31 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "خانہ اقتباس" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po new file mode 100644 index 00000000..fc73604b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Iqtibos" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po new file mode 100644 index 00000000..a8ecfe47 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Trích dẫn" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po new file mode 100644 index 00000000..5907b516 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "块引用" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po new file mode 100644 index 00000000..905890d1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "段落引用" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/package.json new file mode 100644 index 00000000..7dad326a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/package.json @@ -0,0 +1,36 @@ +{ + "name": "@ckeditor/ckeditor5-block-quote", + "version": "40.2.0", + "description": "Block quote feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "ckeditor5": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-block-quote" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts new file mode 100644 index 00000000..3e0250f2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts @@ -0,0 +1,15 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { BlockQuote, BlockQuoteCommand, BlockQuoteEditing, BlockQuoteUI } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [BlockQuote.pluginName]: BlockQuote; + [BlockQuoteEditing.pluginName]: BlockQuoteEditing; + [BlockQuoteUI.pluginName]: BlockQuoteUI; + } + interface CommandsMap { + blockQuote: BlockQuoteCommand; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts new file mode 100644 index 00000000..48c7813c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquote + */ +import { Plugin } from 'ckeditor5/src/core'; +import BlockQuoteEditing from './blockquoteediting'; +import BlockQuoteUI from './blockquoteui'; +/** + * The block quote plugin. + * + * For more information about this feature check the {@glink api/block-quote package page}. + * + * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature} + * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuote extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof BlockQuoteEditing, typeof BlockQuoteUI]; + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuote"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.js new file mode 100644 index 00000000..63c89dd8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquote.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquote + */ +import { Plugin } from 'ckeditor5/src/core'; +import BlockQuoteEditing from './blockquoteediting'; +import BlockQuoteUI from './blockquoteui'; +/** + * The block quote plugin. + * + * For more information about this feature check the {@glink api/block-quote package page}. + * + * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature} + * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuote extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [BlockQuoteEditing, BlockQuoteUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuote'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts new file mode 100644 index 00000000..eae2f3c2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts @@ -0,0 +1,61 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquotecommand + */ +import { Command } from 'ckeditor5/src/core'; +/** + * The block quote command plugin. + * + * @extends module:core/command~Command + */ +export default class BlockQuoteCommand extends Command { + /** + * Whether the selection starts in a block quote. + * + * @observable + * @readonly + */ + value: boolean; + /** + * @inheritDoc + */ + refresh(): void; + /** + * Executes the command. When the command {@link #value is on}, all top-most block quotes within + * the selection will be removed. If it is off, all selected blocks will be wrapped with + * a block quote. + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a block quote, + * otherwise the command will remove the block quote. If not set, the command will act basing on its current value. + */ + execute(options?: { + forceValue?: boolean; + }): void; + /** + * Checks the command's {@link #value}. + */ + private _getValue; + /** + * Checks whether the command can be enabled in the current context. + * + * @returns Whether the command should be enabled. + */ + private _checkEnabled; + /** + * Removes the quote from given blocks. + * + * If blocks which are supposed to be "unquoted" are in the middle of a quote, + * start it or end it, then the quote will be split (if needed) and the blocks + * will be moved out of it, so other quoted blocks remained quoted. + */ + private _removeQuote; + /** + * Applies the quote to given blocks. + */ + private _applyQuote; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js new file mode 100644 index 00000000..918e72a3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js @@ -0,0 +1,172 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquotecommand + */ +import { Command } from 'ckeditor5/src/core'; +import { first } from 'ckeditor5/src/utils'; +/** + * The block quote command plugin. + * + * @extends module:core/command~Command + */ +export default class BlockQuoteCommand extends Command { + /** + * @inheritDoc + */ + refresh() { + this.value = this._getValue(); + this.isEnabled = this._checkEnabled(); + } + /** + * Executes the command. When the command {@link #value is on}, all top-most block quotes within + * the selection will be removed. If it is off, all selected blocks will be wrapped with + * a block quote. + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a block quote, + * otherwise the command will remove the block quote. If not set, the command will act basing on its current value. + */ + execute(options = {}) { + const model = this.editor.model; + const schema = model.schema; + const selection = model.document.selection; + const blocks = Array.from(selection.getSelectedBlocks()); + const value = (options.forceValue === undefined) ? !this.value : options.forceValue; + model.change(writer => { + if (!value) { + this._removeQuote(writer, blocks.filter(findQuote)); + } + else { + const blocksToQuote = blocks.filter(block => { + // Already quoted blocks needs to be considered while quoting too + // in order to reuse their elements. + return findQuote(block) || checkCanBeQuoted(schema, block); + }); + this._applyQuote(writer, blocksToQuote); + } + }); + } + /** + * Checks the command's {@link #value}. + */ + _getValue() { + const selection = this.editor.model.document.selection; + const firstBlock = first(selection.getSelectedBlocks()); + // In the current implementation, the block quote must be an immediate parent of a block element. + return !!(firstBlock && findQuote(firstBlock)); + } + /** + * Checks whether the command can be enabled in the current context. + * + * @returns Whether the command should be enabled. + */ + _checkEnabled() { + if (this.value) { + return true; + } + const selection = this.editor.model.document.selection; + const schema = this.editor.model.schema; + const firstBlock = first(selection.getSelectedBlocks()); + if (!firstBlock) { + return false; + } + return checkCanBeQuoted(schema, firstBlock); + } + /** + * Removes the quote from given blocks. + * + * If blocks which are supposed to be "unquoted" are in the middle of a quote, + * start it or end it, then the quote will be split (if needed) and the blocks + * will be moved out of it, so other quoted blocks remained quoted. + */ + _removeQuote(writer, blocks) { + // Unquote all groups of block. Iterate in the reverse order to not break following ranges. + getRangesOfBlockGroups(writer, blocks).reverse().forEach(groupRange => { + if (groupRange.start.isAtStart && groupRange.end.isAtEnd) { + writer.unwrap(groupRange.start.parent); + return; + } + // The group of blocks are at the beginning of an so let's move them left (out of the ). + if (groupRange.start.isAtStart) { + const positionBefore = writer.createPositionBefore(groupRange.start.parent); + writer.move(groupRange, positionBefore); + return; + } + // The blocks are in the middle of an so we need to split the after the last block + // so we move the items there. + if (!groupRange.end.isAtEnd) { + writer.split(groupRange.end); + } + // Now we are sure that groupRange.end.isAtEnd is true, so let's move the blocks right. + const positionAfter = writer.createPositionAfter(groupRange.end.parent); + writer.move(groupRange, positionAfter); + }); + } + /** + * Applies the quote to given blocks. + */ + _applyQuote(writer, blocks) { + const quotesToMerge = []; + // Quote all groups of block. Iterate in the reverse order to not break following ranges. + getRangesOfBlockGroups(writer, blocks).reverse().forEach(groupRange => { + let quote = findQuote(groupRange.start); + if (!quote) { + quote = writer.createElement('blockQuote'); + writer.wrap(groupRange, quote); + } + quotesToMerge.push(quote); + }); + // Merge subsequent elements. Reverse the order again because this time we want to go through + // the elements in the source order (due to how merge works – it moves the right element's content + // to the first element and removes the right one. Since we may need to merge a couple of subsequent `` elements + // we want to keep the reference to the first (furthest left) one. + quotesToMerge.reverse().reduce((currentQuote, nextQuote) => { + if (currentQuote.nextSibling == nextQuote) { + writer.merge(writer.createPositionAfter(currentQuote)); + return currentQuote; + } + return nextQuote; + }); + } +} +function findQuote(elementOrPosition) { + return elementOrPosition.parent.name == 'blockQuote' ? elementOrPosition.parent : null; +} +/** + * Returns a minimal array of ranges containing groups of subsequent blocks. + * + * content: abcdefgh + * blocks: [ a, b, d, f, g, h ] + * output ranges: [ab]c[d]e[fgh] + */ +function getRangesOfBlockGroups(writer, blocks) { + let startPosition; + let i = 0; + const ranges = []; + while (i < blocks.length) { + const block = blocks[i]; + const nextBlock = blocks[i + 1]; + if (!startPosition) { + startPosition = writer.createPositionBefore(block); + } + if (!nextBlock || block.nextSibling != nextBlock) { + ranges.push(writer.createRange(startPosition, writer.createPositionAfter(block))); + startPosition = null; + } + i++; + } + return ranges; +} +/** + * Checks whether can wrap the block. + */ +function checkCanBeQuoted(schema, block) { + // TMP will be replaced with schema.checkWrap(). + const isBQAllowed = schema.checkChild(block.parent, 'blockQuote'); + const isBlockAllowedInBQ = schema.checkChild(['$root', 'blockQuote'], block); + return isBQAllowed && isBlockAllowedInBQ; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts new file mode 100644 index 00000000..a6f03345 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts @@ -0,0 +1,31 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import { Enter } from 'ckeditor5/src/enter'; +import { Delete } from 'ckeditor5/src/typing'; +/** + * The block quote editing. + * + * Introduces the `'blockQuote'` command and the `'blockQuote'` model element. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuoteEditing"; + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Enter, typeof Delete]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js new file mode 100644 index 00000000..5672b654 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js @@ -0,0 +1,118 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteediting + */ +import { Plugin } from 'ckeditor5/src/core'; +import { Enter } from 'ckeditor5/src/enter'; +import { Delete } from 'ckeditor5/src/typing'; +import BlockQuoteCommand from './blockquotecommand'; +/** + * The block quote editing. + * + * Introduces the `'blockQuote'` command and the `'blockQuote'` model element. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuoteEditing'; + } + /** + * @inheritDoc + */ + static get requires() { + return [Enter, Delete]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const schema = editor.model.schema; + editor.commands.add('blockQuote', new BlockQuoteCommand(editor)); + schema.register('blockQuote', { + inheritAllFrom: '$container' + }); + editor.conversion.elementToElement({ model: 'blockQuote', view: 'blockquote' }); + // Postfixer which cleans incorrect model states connected with block quotes. + editor.model.document.registerPostFixer(writer => { + const changes = editor.model.document.differ.getChanges(); + for (const entry of changes) { + if (entry.type == 'insert') { + const element = entry.position.nodeAfter; + if (!element) { + // We are inside a text node. + continue; + } + if (element.is('element', 'blockQuote') && element.isEmpty) { + // Added an empty blockQuote - remove it. + writer.remove(element); + return true; + } + else if (element.is('element', 'blockQuote') && !schema.checkChild(entry.position, element)) { + // Added a blockQuote in incorrect place. Unwrap it so the content inside is not lost. + writer.unwrap(element); + return true; + } + else if (element.is('element')) { + // Just added an element. Check that all children meet the scheme rules. + const range = writer.createRangeIn(element); + for (const child of range.getItems()) { + if (child.is('element', 'blockQuote') && + !schema.checkChild(writer.createPositionBefore(child), child)) { + writer.unwrap(child); + return true; + } + } + } + } + else if (entry.type == 'remove') { + const parent = entry.position.parent; + if (parent.is('element', 'blockQuote') && parent.isEmpty) { + // Something got removed and now blockQuote is empty. Remove the blockQuote as well. + writer.remove(parent); + return true; + } + } + } + return false; + }); + const viewDocument = this.editor.editing.view.document; + const selection = editor.model.document.selection; + const blockQuoteCommand = editor.commands.get('blockQuote'); + // Overwrite default Enter key behavior. + // If Enter key is pressed with selection collapsed in empty block inside a quote, break the quote. + this.listenTo(viewDocument, 'enter', (evt, data) => { + if (!selection.isCollapsed || !blockQuoteCommand.value) { + return; + } + const positionParent = selection.getLastPosition().parent; + if (positionParent.isEmpty) { + editor.execute('blockQuote'); + editor.editing.view.scrollToTheSelection(); + data.preventDefault(); + evt.stop(); + } + }, { context: 'blockquote' }); + // Overwrite default Backspace key behavior. + // If Backspace key is pressed with selection collapsed in first empty block inside a quote, break the quote. + this.listenTo(viewDocument, 'delete', (evt, data) => { + if (data.direction != 'backward' || !selection.isCollapsed || !blockQuoteCommand.value) { + return; + } + const positionParent = selection.getLastPosition().parent; + if (positionParent.isEmpty && !positionParent.previousSibling) { + editor.execute('blockQuote'); + editor.editing.view.scrollToTheSelection(); + data.preventDefault(); + evt.stop(); + } + }, { context: 'blockquote' }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts new file mode 100644 index 00000000..48b47e92 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteui + */ +import { Plugin } from 'ckeditor5/src/core'; +import '../theme/blockquote.css'; +/** + * The block quote UI plugin. + * + * It introduces the `'blockQuote'` button. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuoteUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js new file mode 100644 index 00000000..2249f26a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteui + */ +import { Plugin, icons } from 'ckeditor5/src/core'; +import { ButtonView } from 'ckeditor5/src/ui'; +import '../theme/blockquote.css'; +/** + * The block quote UI plugin. + * + * It introduces the `'blockQuote'` button. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuoteUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + editor.ui.componentFactory.add('blockQuote', locale => { + const command = editor.commands.get('blockQuote'); + const buttonView = new ButtonView(locale); + buttonView.set({ + label: t('Block quote'), + icon: icons.quote, + tooltip: true, + isToggleable: true + }); + // Bind button model to command. + buttonView.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled'); + // Execute command. + this.listenTo(buttonView, 'execute', () => { + editor.execute('blockQuote'); + editor.editing.view.focus(); + }); + return buttonView; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.d.ts new file mode 100644 index 00000000..23b9316c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.d.ts @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote + */ +export { default as BlockQuote } from './blockquote'; +export { default as BlockQuoteEditing } from './blockquoteediting'; +export { default as BlockQuoteUI } from './blockquoteui'; +export type { default as BlockQuoteCommand } from './blockquotecommand'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.js new file mode 100644 index 00000000..d5133894 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/src/index.js @@ -0,0 +1,11 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote + */ +export { default as BlockQuote } from './blockquote'; +export { default as BlockQuoteEditing } from './blockquoteediting'; +export { default as BlockQuoteUI } from './blockquoteui'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/theme/blockquote.css b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/theme/blockquote.css new file mode 100644 index 00000000..b033ee04 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-block-quote/theme/blockquote.css @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content blockquote { + /* See #12 */ + overflow: hidden; + + /* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */ + padding-right: 1.5em; + padding-left: 1.5em; + + margin-left: 0; + margin-right: 0; + font-style: italic; + border-left: solid 5px hsl(0, 0%, 80%); +} + +.ck-content[dir="rtl"] blockquote { + border-left: 0; + border-right: solid 5px hsl(0, 0%, 80%); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/CHANGELOG.md new file mode 100644 index 00000000..1a539e02 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/CHANGELOG.md @@ -0,0 +1,1022 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v18.0.0...v19.0.0) (April 29, 2020) + +We are happy to announce the release of CKEditor 5 v19.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v19.0.0) to find out about all the new features, improvements and possible breaking changes. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v19.0.0-with-table-enhancements-improved-performance-and-select-all-feature/ + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-select-all](https://www.npmjs.com/package/@ckeditor/ckeditor5-select-all): [v19.0.0](https://github.com/ckeditor/ckeditor5-select-all/releases/tag/v19.0.0) + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v19.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v19.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v19.0.0) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v17.0.0...v18.0.0) (March 19, 2020) + +We are happy to announce the release of CKEditor 5 v18.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v18.0.0) to find out about all the new features, improvements and possible breaking changes. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v18.0.0-with-custom-table-selection-and-pasting-nested-lists-from-Word/ + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the [Automatic text transformation](https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html) feature to the build. See [ckeditor/ckeditor5#6304](https://github.com/ckeditor/ckeditor5/issues/6304). ([493a7db](https://github.com/ckeditor/ckeditor5-build-inline/commit/493a7db)) + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v18.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v18.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v18.0.0) + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v16.0.0...v17.0.0) (February 19, 2020) + +We are happy to announce the release of CKEditor 5 v17.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v17.0.0) to find out about all the new features, improvements and possible breaking changes. + +https://ckeditor.com/blog/CKEditor-5-v17.0.0-with-table-styles-special-characters-and-performance-improvements/ + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v17.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v17.0.0) + +Releases containing new features: + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v17.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v17.0.0) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v15.0.0...v16.0.0) (December 4, 2019) + +We are happy to announce the release of CKEditor 5 v16.0.0. This release introduces one of the most community-requested features: [code blocks](https://ckeditor.com/docs/ckeditor5/latest/features/code-blocks.html). We included a new [restricted editing](https://ckeditor.com/docs/ckeditor5/latest/features/restricted-editing.html) plugin, too. + +We also did some changes in the default UI colors to improve accessibility. In addition to that, as always, the release contains many [more improvements and bug fixes](https://github.com/ckeditor/ckeditor5/issues?q=is%3Aissue+milestone%3A%22iteration+28%22+is%3Aclosed+-label%3Atype%3Adocs+-label%3Atype%3Atask+-label%3Apackage%3Arestricted-editing+-label%3Apackage%3Acode-block+-label%3Atype%3Afeature). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v16.0.0-with-code-blocks-and-restricted-editing/ + +### Other changes + +* Replaced UglifyJS with Terser. See [ckeditor/ckeditor5#1353](https://github.com/ckeditor/ckeditor5/issues/1353). ([b2734ca](https://github.com/ckeditor/ckeditor5-build-inline/commit/b2734ca)) + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v16.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v16.0.0) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.4.0...v15.0.0) (October 23, 2019) + +We are happy to announce the release of CKEditor 5 v15.0.0. This editor version introduces support for inserting [horizontal lines](https://ckeditor.com/docs/ckeditor5/latest/features/horizontal-line.html), [page breaks](https://ckeditor.com/docs/ckeditor5/latest/features/page-break.html) and [SVG images](https://ckeditor.com/docs/ckeditor5/latest/api/module_image_imageupload-ImageUploadConfig.html#member-types) into the WYSIWYG editor. It also allows you to define the [document title section](https://ckeditor.com/docs/ckeditor5/latest/features/title.html) thanks to the new title plugin. The editor toolbar is now responsive which improves the UX, especially for mobile devices. + +Regarding the build itself, we added the [list indentation](https://ckeditor.com/docs/ckeditor5/latest/features/indent.html#indenting-lists) button to the build's default setup. See [ckeditor/ckeditor5#1844](https://github.com/ckeditor/ckeditor5/issues/1844). ([3a4a1fc](https://github.com/ckeditor/ckeditor5-build-inline/commit/3a4a1fc)) + +From other news, we changed the versioning policy. Now, all packages will have the same major version, hence, we needed to release this one as v15.0.0 (we skipped versions 13.0.0 and 14.0.0). Read more about the [new versioning policy](https://ckeditor.com/docs/ckeditor5/latest/updating/versioning-policy.html). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v15.0.0-with-horizontal-line-page-break-responsive-toolbar-and-SVG-upload-support/ + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v15.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v3.0.1 => [v15.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.4 => [v15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.3 => [v15.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.2 => [v15.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.3.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.3.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v10.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.2 => [v15.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.4 => [v15.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.2.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.2.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v12.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v15.0.0) + + +## [12.4.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.3.1...v12.4.0) (August 26, 2019) + +This release brings a huge set of new features: [image resizing](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/image.html#resizing-images), [to-do lists](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/todo-lists.html), [support for RTL languages](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/ui-language.html), [simple upload adapter](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/images/image-upload/simple-upload-adapter.html), [support for pasting from Google Docs](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/paste-from-office/paste-from-google-docs.html), [mathematic formulas](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/mathtype.html), and [spelling and grammar checking](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/spell-checker.html). In addition to that, as always, it contains many improvements and bug fixes. + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.2.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.1.1 => [v12.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v13.0.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v14.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.2.1 => [v12.3.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.3.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.2.1 => [v12.3.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.3.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.4 => [v12.1.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.1.1 => [v14.2.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.2.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.1.1 => [v12.2.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.2.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.3 => [v11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.3 => [v11.1.4](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.4) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.5) + +### Other changes + +* Bumped style-loader to v1.0.0. Aligned the webpack config to the new loader API. See [ckeditor/ckeditor5#1945](https://github.com/ckeditor/ckeditor5/issues/1945). ([086eab1](https://github.com/ckeditor/ckeditor5-build-inline/commit/086eab1)) +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([db1aad8](https://github.com/ckeditor/ckeditor5-build-inline/commit/db1aad8)) + + +## [12.3.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.3.0...v12.3.1) (July 10, 2019) + +We are happy to report the release of CKEditor 5 v12.3.0 (and v12.3.1 with a small fix). This release introduces several new features ([word count](https://ckeditor.com/docs/ckeditor5/latest/features/word-count.html), [automatic text transformations](https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html), [ability to control link attributes such as `target`](https://ckeditor.com/docs/ckeditor5/latest/features/link.html#custom-link-attributes-decorators) and [block indentation](https://ckeditor.com/docs/ckeditor5/latest/features/indent.html)). It also brings improvements to existing features (e.g. the ["document colors" section](https://ckeditor.com/docs/ckeditor5/latest/features/font.html#documents-colors) in the font color picker dropdowns) and many bug fixes. + +### Dependencies + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.2.0 => [v12.2.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.2.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.2.0 => [v12.2.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.2.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.2.0 => [v13.2.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.2.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.1 => [v13.1.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.3 => [v12.0.4](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.4) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.1 => [v13.0.2](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.1.0 => [v14.1.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.1.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.1 => [v13.0.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.4) + + +## [12.3.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.2.0...v12.3.0) (July 4, 2019) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.1.1 => [v13.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v13.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.1.1 => [v12.2.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.2.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.1.1 => [v12.2.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.2.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.1.1 => [v13.2.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.2.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.2 => [v11.1.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.0.0 => [v14.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.1.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.2 => [v12.1.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.2 => [v11.1.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.0 => [v13.1.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.2 => [v12.0.3](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.3) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.3) + + +## [12.2.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.1.0...v12.2.0) (June 6, 2019) + +We are happy to report the release of CKEditor 5 v12.2.0. This is a minor release with many bug fixes and a new UI feature which allows to navigating between multiple balloons. + +**Note:** The `config.table.toolbar` property that had been deprecated last year has now been completely removed. Use [`config.table.contentToolbar`](https://ckeditor.com/docs/ckeditor5/latest/api/module_table_table-TableConfig.html#member-contentToolbar) instead. + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v12.0.1 => [v13.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v13.0.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v12.1.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.0.1 => [v11.1.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.0.1 => [v13.1.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.1.0 => [v13.1.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.1.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.2) + + +## [12.1.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v12.0.0...v12.1.0) (April 4, 2019) + +We are happy to report the release of CKEditor 5 v12.1.0. This release introduces 3 new features ([mentions](https://ckeditor.com/docs/ckeditor5/latest/features/mentions.html), [font color and background color](https://ckeditor.com/docs/ckeditor5/latest/features/font.html) and [remove format](https://ckeditor.com/docs/ckeditor5/latest/features/remove-format.html)). + +Check out the linked guides for information how to install and configure those features in your editor. + +### Dependencies + +Minor releases: + +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.0.0 => [v13.1.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.1.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.1) + + +## [12.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v11.2.0...v12.0.0) (February 28, 2019) + +We are happy to report the release of CKEditor 5 v12.0.0. This release introduces a new editor (called "[Balloon block editor](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/balloon-block-editor.html)"), the [editor content placeholder](https://ckeditor.com/docs/ckeditor5/latest/features/editor-placeholder.html) and support for inline widgets (watch [this PR](https://github.com/ckeditor/ckeditor5/pull/1587) for updates). In addition to that we enabled media embeds and images in tables and resolved the issue where `editor.getData()` returned `

 

` for empty content (now it returns an empty string in this case). + +Besides new features, this release contains many improvements to stability, [performance](https://github.com/ckeditor/ckeditor5-utils/issues/269) and API. The last group of changes contain many breaking ones. Make sure to read the [main package's changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v12.0.0). + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.3 => [v11.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.3 => [v11.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.3 => [v12.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v11.0.1 => [v12.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.2.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.3.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.0) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [11.2.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v11.1.1...v11.2.0) (December 5, 2018) + +We are happy to report the release of CKEditor 5 v11.2.0. This editor version brings the long-awaited [support for paste from Office](https://ckeditor.com/docs/ckeditor5/latest/features/paste-from-word.html) (e.g. from Microsoft Word), [integration with CKFinder file manager](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html), improved [image upload documentation](https://ckeditor.com/docs/ckeditor5/latest/features/image-upload.html), improved [editor UI on mobile devices](https://github.com/ckeditor/ckeditor5/issues/416#issuecomment-430246472), as well as many smaller features and improvements. + +Blog post is coming soon... + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): [v10.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): [v10.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v10.0.0) + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v11.0.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v11.0.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v12.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.3 => [v10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.0.1 => [v11.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.4 => [v10.1.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.1.0 => [v11.2.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.2.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.2 => [v10.1.3](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.3) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.2 => [v10.1.3](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.3) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.3.0 => [v10.3.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.3.1) + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v11.1.0...v11.1.1) (October 11, 2018) + +This releases fixes the README of this package on npm. + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v11.0.1...v11.1.0) (October 8, 2018) + +This is a minor release. Besides updating all used CKEditor 5 packages to their latest versions it brings two new features: the [Table](https://ckeditor.com/docs/ckeditor5/latest/features/table.html) and [Media embed](https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html) features which are now enabled in this build by default. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v11.1.0-released/ + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.2.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.2.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.2 => [v10.1.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.2.0 => [v10.3.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.3.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.1 => [v10.1.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.1 => [v10.1.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.2.1 => [v10.2.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.2.2) + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the table and media embed features to the build. See [ckeditor/ckeditor5#1247](https://github.com/ckeditor/ckeditor5/issues/1247). ([b9940e3](https://github.com/ckeditor/ckeditor5-build-inline/commit/b9940e3)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v11.0.0...v11.0.1) (July 18, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v10.1.0...v11.0.0) (July 18, 2018) + +### Release notes + +This is a major releases that introduces many smaller features, dozens of bug fixes and a couple of infrastructure changes (an upgrade to `webpack@4`, simplified structure of the build repository). Additionally, the `InlineEditor#element` property was renamed to `InlineEditor#sourceElement` and the `InlineEditor#updateElement()` method was renamed to `InlineEditor#updateSourceElement()`. + +If you maintain a [custom build of CKEditor 5](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/custom-builds.html) or [integrate CKEditor 5 from source](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/integrating-from-source-webpack.html), we recommend reading the [migration guide](https://github.com/ckeditor/ckeditor5/issues/1136). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v11.0.0-released/ + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v10.0.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v10.0.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.2.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.2) + +### Other changes + +* Changed the structure of the build repository. Closes [ckeditor/ckeditor5#1038](https://github.com/ckeditor/ckeditor5/issues/1038). ([8697aac](https://github.com/ckeditor/ckeditor5-build-inline/commit/8697aac)) +* Updated `webpack` to version 4 (applies to custom builds only). ([e06c13b](https://github.com/ckeditor/ckeditor5-build-inline/commit/e06c13b)) + +### BREAKING CHANGES + +If you maintain a custom build, we recommend reading the [migration guide](https://github.com/ckeditor/ckeditor5/issues/1136). Closes [ckeditor/ckeditor5#1038](https://github.com/ckeditor/ckeditor5/issues/1038). + +* CKEditor 5 environment was updated to use `webpack@4`. `webpack@4` introduced major changes in its configuration and plugin system. CKEditor 5 tools and build configuration were updated to work with `webpack@4` and will not work with `webpack@3`. +* The structure of the build repository was changed. The `build-config.js` file was removed and the build configuration is now kept only in the `src/ckeditor.js` file. + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v10.0.1...v10.1.0) (June 21, 2018) + +This is a minor release that introduces many bug fixes and new features (most notable one is support for inserting soft breaks with Shift+Enter). + +You can read more in the [blog post](https://ckeditor.com/blog/CKEditor-5-v10.1.0-released/). + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.1) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v10.0.0...v10.0.1) (May 22, 2018) + +### Dependencies + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.1) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.0.0) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([5a2351f](https://github.com/ckeditor/ckeditor5-build-inline/commit/5a2351f)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-build-inline/compare/v1.0.0-beta.3...v1.0.0-beta.4) (April 19, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.4) + + +## [1.0.0-beta.3](https://github.com/ckeditor/ckeditor5-build-inline/compare/v1.0.0-beta.2...v1.0.0-beta.3) (April 10, 2018) + +### NOTE + +This release followed `v1.0.0-beta.2` immediately to fix the issue mentioned below. Therefore, when upgrading from `v1.0.0-beta.1` make sure to also check [`v1.0.0-beta.2` release notes](https://github.com/ckeditor/ckeditor5-build-inline/releases/tag/v1.0.0-beta.2). + +### Bug fixes + +* Translations should work when CKEditor was loaded using RequireJS. See [ckeditor/ckeditor5#914](https://github.com/ckeditor/ckeditor5/issues/914). ([9246836](https://github.com/ckeditor/ckeditor5-build-inline/commit/9246836)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-build-inline/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.2) + +### Bug fixes + +Besides changes in the dependencies, this version also contains the following bug fixes: + +* Removed duplicated `ImageUpload` plugin. See [ckeditor/ckeditor5#909](https://github.com/ckeditor/ckeditor5/issues/909). ([7d8acab](https://github.com/ckeditor/ckeditor5-build-inline/commit/7d8acab)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-cloudservices](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloudservices): v1.0.0-alpha.1 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-cloudservices/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.1) + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the image upload button to the build. See [ckeditor/ckeditor5#870](https://github.com/ckeditor/ckeditor5/issues/870). ([67e0779](https://github.com/ckeditor/ckeditor5-build-inline/commit/67e0779)) + +### Other changes + +* Aligned build and `webpack.config.js` to the new Translation Service ([ckeditor/ckeditor5#624](https://github.com/ckeditor/ckeditor5/issues/624)). ([6ab5d5f](https://github.com/ckeditor/ckeditor5-build-inline/commit/6ab5d5f)) +* Changed the webpack configuration so the styles are processed using PostCSS instead of SASS (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([22c0a63](https://github.com/ckeditor/ckeditor5-build-inline/commit/22c0a63)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-build-inline.git/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-cloudservices](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloudservices): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-cloudservices/releases/tag/v1.0.0-alpha.1) + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-alpha.2) + +### Bug fixes + +Besides changes in the dependencies, this version also contains the following bug fixes: + +* Build scripts will work on Windows. Read more https://github.com/ckeditor/ckeditor5-build-classic/issues/26. ([370d2a1](https://github.com/ckeditor/ckeditor5-build-inline/commit/370d2a1)) + +### Other changes + +* Optimized the bundle size (~10%) by enabling webpack's `ModuleConcatenationPlugin` plugin. Read more https://github.com/ckeditor/ckeditor5/issues/475. ([fa197a0](https://github.com/ckeditor/ckeditor5-build-inline/commit/fa197a0)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-build-inline/compare/v0.2.0...v1.0.0-alpha.1) (October 3, 2017) + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-alpha.1) + +Major releases (possible breaking changes): + +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v0.1.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-editor-inline](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-inline): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-editor-inline/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v0.11.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v0.8.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-alpha.1) + +### Bug fixes + +Besides changes in the dependencies, this build also contains these bug fixes: + +* It will be possible to configure toolbar offset without overriding preconfigured toolbar items. See [ckeditor/ckeditor5#572](https://github.com/ckeditor/ckeditor5/issues/572). ([f974881](https://github.com/ckeditor/ckeditor5-build-inline/commit/f974881)) + +### Features + +Besides new features introduced in the dependencies, this build also introduces these features: + +* Added Easy Image with Cloud Services and CKFinder adapter. See [ckeditor/ckeditor5#567](https://github.com/ckeditor/ckeditor5/issues/567). ([d1526fa](https://github.com/ckeditor/ckeditor5-build-inline/commit/d1526fa)) + + +## [0.2.0](https://github.com/ckeditor/ckeditor5-build-inline/compare/v0.1.0...v0.2.0) (September 7, 2017) + +### Other changes + +* The build now defines the editor as its default export. This makes requiring the build easier when using AMD, CJS or ES6 modules. See [ckeditor/ckeditor5#545](https://github.com/ckeditor/ckeditor5/issues/545). ([5f64e7d](https://github.com/ckeditor/ckeditor5-build-inline/commit/5f64e7d)) + +### BREAKING CHANGES + +* The build now defines a default export instead of named export. See [ckeditor/ckeditor5#545](https://github.com/ckeditor/ckeditor5/issues/545). + + +## 0.1.0 (September 3, 2017) + +### Features + +* Introduced the inline editor build. ([caff6d9](https://github.com/ckeditor/ckeditor5-build-inline/commit/caff6d9)) diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/LICENSE.md new file mode 100644 index 00000000..b2a7b665 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/LICENSE.md @@ -0,0 +1,21 @@ +Software License Agreement +========================== + +**CKEditor 5 inline editor build** – https://github.com/ckeditor/ckeditor5-build-inline
+Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): + +* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/README.md new file mode 100644 index 00000000..85229d05 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/README.md @@ -0,0 +1,70 @@ +CKEditor 5 inline editor build +============================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-build-inline.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-inline) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +The inline editor build for CKEditor 5. Read more about the [inline editor build](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/predefined-builds.html#inline-editor) and see the [demo](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/inline-editor.html). + +![CKEditor 5 inline editor build screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-build-inline.png) + +## Documentation + +See: + +* [Installation](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start.html) for how to install this package and what it contains. +* [Editor lifecycle](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/editor-lifecycle.html) for how to create an editor and interact with it. +* [Configuration](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/configuration.html) for how to configure the editor. +* [Creating custom builds](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start.html#building-the-editor-from-source) for how to customize the build (configure and rebuild the editor bundle). + +## Quick start + +First, install the build from npm: + +```bash +npm install --save @ckeditor/ckeditor5-build-inline +``` + +And use it in your website: + +```html +
+

This is the editor content.

+
+ + +``` + +Or in your JavaScript application: + +```js +import InlineEditor from '@ckeditor/ckeditor5-build-inline'; + +// Or using the CommonJS version: +// const InlineEditor = require( '@ckeditor/ckeditor5-build-inline' ); + +InlineEditor + .create( document.querySelector( '#editor' ) ) + .then( editor => { + window.editor = editor; + } ) + .catch( error => { + console.error( 'There was a problem initializing the editor.', error ); + } ); +``` + +**Note:** If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in `ckeditor.js`). Read more in the [Advanced setup guide](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/advanced-setup.html). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.d.ts new file mode 100644 index 00000000..3e912032 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.d.ts @@ -0,0 +1,39 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { InlineEditor as InlineEditorBase } from '@ckeditor/ckeditor5-editor-inline'; +import { Essentials } from '@ckeditor/ckeditor5-essentials'; +import { UploadAdapter } from '@ckeditor/ckeditor5-adapter-ckfinder'; +import { Autoformat } from '@ckeditor/ckeditor5-autoformat'; +import { Bold, Italic } from '@ckeditor/ckeditor5-basic-styles'; +import { BlockQuote } from '@ckeditor/ckeditor5-block-quote'; +import { CKBox } from '@ckeditor/ckeditor5-ckbox'; +import { CKFinder } from '@ckeditor/ckeditor5-ckfinder'; +import { EasyImage } from '@ckeditor/ckeditor5-easy-image'; +import { Heading } from '@ckeditor/ckeditor5-heading'; +import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload, PictureEditing } from '@ckeditor/ckeditor5-image'; +import { Indent } from '@ckeditor/ckeditor5-indent'; +import { Link } from '@ckeditor/ckeditor5-link'; +import { List } from '@ckeditor/ckeditor5-list'; +import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed'; +import { Paragraph } from '@ckeditor/ckeditor5-paragraph'; +import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office'; +import { Table, TableToolbar } from '@ckeditor/ckeditor5-table'; +import { TextTransformation } from '@ckeditor/ckeditor5-typing'; +import { CloudServices } from '@ckeditor/ckeditor5-cloud-services'; +export default class InlineEditor extends InlineEditorBase { + static builtinPlugins: (typeof TextTransformation | typeof Essentials | typeof UploadAdapter | typeof Paragraph | typeof Heading | typeof Autoformat | typeof Bold | typeof Italic | typeof BlockQuote | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof CloudServices | typeof CKBox | typeof CKFinder | typeof EasyImage | typeof List | typeof Indent | typeof Link | typeof MediaEmbed | typeof PasteFromOffice | typeof Table | typeof TableToolbar | typeof PictureEditing)[]; + static defaultConfig: { + toolbar: { + items: string[]; + }; + image: { + toolbar: string[]; + }; + table: { + contentToolbar: string[]; + }; + language: string; + }; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.js new file mode 100644 index 00000000..9cf29733 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-build-inline/build/ckeditor.js @@ -0,0 +1,7 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"Accept","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot access default workspace.":"Cannot access default workspace.","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit image":"Edit image","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Failed to determine category of edited image.":"Failed to determine category of edited image.","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset",Italic:"Italic","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor","Rich Text Editor. Editing area: %0":"Rich Text Editor. Editing area: %0",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Server failed to process the image.":"Server failed to process the image.","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */ +function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.InlineEditor=e():t.InlineEditor=e()}(self,(()=>(()=>{var t={4959:(t,e,n)=>{const o=n(1103),i={};for(const t of Object.keys(o))i[o[t]]=t;const r={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"]}};t.exports=r;for(const t of Object.keys(r)){if(!("channels"in r[t]))throw new Error("missing channels property: "+t);if(!("labels"in r[t]))throw new Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:n})}r.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(e,n,o),r=Math.max(e,n,o),s=r-i;let a,c;r===i?a=0:e===r?a=(n-o)/s:n===r?a=2+(o-e)/s:o===r&&(a=4+(e-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+r)/2;return c=r===i?0:l<=.5?s/(r+i):s/(2-r-i),[a,100*c,100*l]},r.rgb.hsv=function(t){let e,n,o,i,r;const s=t[0]/255,a=t[1]/255,c=t[2]/255,l=Math.max(s,a,c),d=l-Math.min(s,a,c),h=function(t){return(l-t)/6/d+.5};return 0===d?(i=0,r=0):(r=d/l,e=h(s),n=h(a),o=h(c),s===l?i=o-n:a===l?i=1/3+e-o:c===l&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},r.rgb.hwb=function(t){const e=t[0],n=t[1];let o=t[2];const i=r.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(n,o));return o=1-1/255*Math.max(e,Math.max(n,o)),[i,100*s,100*o]},r.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(1-e,1-n,1-o);return[100*((1-e-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-o-i)/(1-i)||0),100*i]},r.rgb.keyword=function(t){const e=i[t];if(e)return e;let n,r=1/0;for(const e of Object.keys(o)){const i=o[e],c=(a=i,((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);c.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*e+.3576*n+.1805*o),100*(.2126*e+.7152*n+.0722*o),100*(.0193*e+.1192*n+.9505*o)]},r.rgb.lab=function(t){const e=r.rgb.xyz(t);let n=e[0],o=e[1],i=e[2];n/=95.047,o/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*o-16,500*(n-o),200*(o-i)]},r.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;let i,r,s;if(0===n)return s=255*o,[s,s,s];i=o<.5?o*(1+n):o+n-o*n;const a=2*o-i,c=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(i-a)*r:2*r<1?i:3*r<2?a+(i-a)*(2/3-r)*6:a,c[t]=255*s;return c},r.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,o=t[2]/100,i=n;const r=Math.max(o,.01);o*=2,n*=o<=1?o:2-o,i*=r<=1?r:2-r;return[e,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},r.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let o=t[2]/100;const i=Math.floor(e)%6,r=e-Math.floor(e),s=255*o*(1-n),a=255*o*(1-n*r),c=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,c,s];case 1:return[a,o,s];case 2:return[s,o,c];case 3:return[s,a,o];case 4:return[c,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(t){const e=t[0],n=t[1]/100,o=t[2]/100,i=Math.max(o,.01);let r,s;s=(2-n)*o;const a=(2-n)*i;return r=n*i,r/=a<=1?a:2-a,r=r||0,s/=2,[e,100*r,100*s]},r.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,o=t[2]/100;const i=n+o;let r;i>1&&(n/=i,o/=i);const s=Math.floor(6*e),a=1-o;r=6*e-s,0!=(1&s)&&(r=1-r);const c=n+r*(a-n);let l,d,h;switch(s){default:case 6:case 0:l=a,d=c,h=n;break;case 1:l=c,d=a,h=n;break;case 2:l=n,d=a,h=c;break;case 3:l=n,d=c,h=a;break;case 4:l=c,d=n,h=a;break;case 5:l=a,d=n,h=c}return[255*l,255*d,255*h]},r.cmyk.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},r.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100;let i,r,s;return i=3.2406*e+-1.5372*n+-.4986*o,r=-.9689*e+1.8758*n+.0415*o,s=.0557*e+-.204*n+1.057*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*i,255*r,255*s]},r.xyz.lab=function(t){let e=t[0],n=t[1],o=t[2];e/=95.047,n/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(e-n),200*(n-o)]},r.lab.xyz=function(t){let e,n,o;n=(t[0]+16)/116,e=t[1]/500+n,o=n-t[2]/200;const i=n**3,r=e**3,s=o**3;return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,n*=100,o*=108.883,[e,n,o]},r.lab.lch=function(t){const e=t[0],n=t[1],o=t[2];let i;i=360*Math.atan2(o,n)/2/Math.PI,i<0&&(i+=360);return[e,Math.sqrt(n*n+o*o),i]},r.lch.lab=function(t){const e=t[0],n=t[1],o=t[2]/360*2*Math.PI;return[e,n*Math.cos(o),n*Math.sin(o)]},r.rgb.ansi16=function(t,e=null){const[n,o,i]=t;let s=null===e?r.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(i/255)<<2|Math.round(o/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){const e=t[0],n=t[1],o=t[2];if(e===n&&n===o)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.max(Math.max(e,n),o),r=Math.min(Math.min(e,n),o),s=i-r;let a,c;return a=s<1?r/(1-s):0,c=s<=0?0:i===e?(n-o)/s%6:i===n?2+(o-e)/s:4+(e-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},r.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=n<.5?2*e*n:2*e*(1-n);let i=0;return o<1&&(i=(n-.5*o)/(1-o)),[t[0],100*o,100*i]},r.hsv.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=e*n;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.hcg.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;if(0===n)return[255*o,255*o,255*o];const i=[0,0,0],r=e%1*6,s=r%1,a=1-s;let c=0;switch(Math.floor(r)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*o,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},r.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let o=0;return n>0&&(o=e/n),[t[0],100*o,100*n]},r.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let o=0;return n>0&&n<.5?o=e/(2*n):n>=.5&&n<1&&(o=e/(2*(1-n))),[t[0],100*o,100*n]},r.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){const e=t[1]/100,n=1-t[2]/100,o=n-e;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=function(t){return[0,0,t[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},841:(t,e,n)=>{const o=n(4959),i=n(9325),r={};Object.keys(o).forEach((t=>{r[t]={},Object.defineProperty(r[t],"channels",{value:o[t].channels}),Object.defineProperty(r[t],"labels",{value:o[t].labels});const e=i(t);Object.keys(e).forEach((n=>{const o=e[n];r[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=r},9325:(t,e,n)=>{const o=n(4959);function i(t){const e=function(){const t={},e=Object.keys(o);for(let n=e.length,o=0;o{"use strict";t.exports={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]}},8603:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const a=s},3062:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const a=s},443:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const a=s},903:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CC9BA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eAwBD,CAtBC,yCAMC,kBAAmB,CALnB,UAAW,CAIX,QAAS,CAHT,iBAAkB,CAClB,uDAA0D,CAC1D,OAiBD,CArBA,mDAYE,sFAAuF,CADvF,+JAAoK,CAFpK,SAYF,CArBA,mDAmBE,sFAAuF,CADvF,+JAAmK,CAFnK,UAKF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_dir.css\";\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tleft: -1px;\n\n\t\t\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\t\t\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tright: -1px;\n\n\t\t\tborder-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\t\t\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4717:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const a=s},9315:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const a=s},8733:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3508:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBA2BD,CAjBC,uBAEC,aAAc,CAad,WAAY,CAVZ,aAAc,CAGd,cAAe,CAGf,cAKD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAKA,+BACC,SASD,CAHC,kDACC,SACD,CAMD,sCACC,SAkBD,CAZC,yDACC,SAUD,CAHC,qEACC,YACD,CAMF,0CACC,WACD,CAMC,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the
in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of
.\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\t\t}\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image-inline {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected inline image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\n\t\t\t/*\n\t\t\t * Make sure the native browser selection style is not displayed.\n\t\t\t * Inline image widgets have their own styles for the selected state and\n\t\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t\t */\n\t\t\t& ::selection {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Keep proportions of the inline image if the height is set and the image is wider than the editor width.\n\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t& .image-inline img {\n\t\theight: auto;\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},2640:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highligted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},3535:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& > .ck.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const a=s},2873:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const a=s},6270:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAMA,8BACC,WACD,CAEA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `
` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `
` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `
` element uses `display:block`, so `
` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const a=s},5083:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4036:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const a=s},3773:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const a=s},3689:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n"],sourceRoot:""}]);const a=s},1905:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},9773:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const a=s},2347:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},7754:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},111:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const a=s},5730:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const a=s},4564:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6082:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},2417:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},1199:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAwEA,uBACC,eAwBD,CAtBC,0BAEC,iBAAkB,CADlB,iBAMD,CAHC,qCACC,cACD,CAIA,+CAlFD,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAiFC,CAFA,wDAhEA,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAgEA,CA5DD,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAwBA,wEACC,qBACD,CAEA,mGACC,iBACD,CAYD,kKAEC,cAKD,CAHC,4LACC,mCACD,CAMD,+FApHA,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAmHA,CAFA,wGAlGC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAkGD,CA9FA,sGAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qGAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+GACC,kBAA8B,CAC9B,oBACD,CAEA,8GACC,iBACD,CA2DA,uHACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n@define-mixin todo-list-checkbox {\n\t-webkit-appearance: none;\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: var(--ck-todo-list-checkmark-size);\n\theight: var(--ck-todo-list-checkmark-size);\n\tvertical-align: middle;\n\n\t/* Needed on iOS */\n\tborder: 0;\n\n\t/* LTR styles */\n\tleft: -25px;\n\tmargin-right: -15px;\n\tright: 0;\n\tmargin-left: 0;\n\n\t/* RTL styles */\n\t@nest [dir=rtl]& {\n\t\tleft: 0;\n\t\tmargin-right: 0;\n\t\tright: -25px;\n\t\tmargin-left: -15px;\n\t}\n\n\t&::before {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\tcontent: '';\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\tborder-radius: 2px;\n\t\ttransition: 250ms ease-in-out box-shadow;\n\t}\n\n\t&::after {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: content-box;\n\t\tpointer-events: none;\n\t\tcontent: '';\n\n\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\ttransform: rotate(45deg);\n\t}\n\n\t&[checked] {\n\t\t&::before {\n\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t}\n\t}\n}\n\n/*\n * To-do list content styles.\n */\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tposition: relative;\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t@mixin todo-list-checkbox;\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&.todo-list__label_without-description input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n/*\n * To-do list editing view styles.\n */\n.ck-editor__editable.ck-content .todo-list .todo-list__label {\n\t/*\n\t * To-do list should be interactive only during the editing\n\t * (https://github.com/ckeditor/ckeditor5/issues/2090).\n\t */\n\t& > input,\n\t& > span[contenteditable=false] > input {\n\t\tcursor: pointer;\n\n\t\t&:hover::before {\n\t\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t\t}\n\t}\n\n\t/*\n\t * Document Lists - editing view has an additional span around checkbox.\n\t */\n\t& > span[contenteditable=false] > input {\n\t\t@mixin todo-list-checkbox;\n\t}\n\n\t&.todo-list__label_without-description {\n\t\t& input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4652:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const a=s},7442:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read–only.\n https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},9292:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7368:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},4070:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},9247:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},1613:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const a=s},6306:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent
. Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const a=s},2128:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,8CAAuD,CACvD,qCAAiD,CACjD,uDACD,CAGA,8BAMC,4DAA6D,CAJ7D,gBAAiB,CAGjB,2CAA4C,CAJ5C,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,wEACD,CAEA,GACC,4DACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-selector-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-selector-caption-text);\n\tbackground-color: var(--ck-color-selector-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-selector-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-selector-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},5087:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},4101:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,oEAAqE,CACrE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAIC,wBAAyB,CACzB,iBACD,CAEA,wDAGC,QAAS,CAGT,iBAAkB,CALlB,iBAAkB,CAGlB,oDAAqD,CAFrD,KAAM,CAKN,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,8DAA+D,CAO/D,gBAAiB,CANjB,WAAa,CAKb,aAED,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\t/* To prevent text overflowing beyond its cell when columns are resized by resize handler\n\t(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */\n\toverflow-wrap: break-word;\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-selector-column-resizer-hover);\n\topacity: 0.25;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const a=s},3881:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,gEACD,CAKE,8QAGC,2DAA4D,CAK5D,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-selector-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6237:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7341:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6945:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},3210:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const a=s},8157:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-modal)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,oBACC,iBAeD,CAbC,wCACC,iBAAkB,CAClB,yBAUD,CARC,6DACC,WACD,CAEA,6DAEC,WAAY,CADZ,QAED,CCVD,wCCEA,eDuBA,CAzBA,uHCMC,qCDmBD,CAzBA,wCAMC,0CAA2C,CAC3C,sDAAuD,CEPxD,oCAA8B,CFI7B,gBAAiB,CAIjB,cAAe,CAHf,eAoBD,CAfC,6DACC,2BAA4B,CAC5B,4BAA6B,CAG7B,kBACD,CAEA,6DACC,wBAAyB,CACzB,yBAA0B,CAG1B,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-autocomplete {\n\tposition: relative;\n\n\t& > .ck-search__results {\n\t\tposition: absolute;\n\t\tz-index: var(--ck-z-modal);\n\n\t\t&.ck-search__results_n {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";\n\n.ck.ck-autocomplete {\n\t& > .ck-search__results {\n\t\t@mixin ck-rounded-corners;\n\t\t@mixin ck-drop-shadow;\n\n\t\tmax-height: 200px;\n\t\toverflow-y: auto;\n\t\tbackground: var(--ck-color-base-background);\n\t\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\t\tmin-width: auto;\n\n\t\t&.ck-search__results_n {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-bottom: -1px;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-top-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-top: -1px;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},4906:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,6BCAC,oDD4ID,CCzIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF6ID,CA5IA,wIEGE,qCFyIF,CA5IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAuID,CA7GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAYD,CAbA,6FAIE,mCASF,CAbA,6FAQE,oCAKF,CAbA,yEAWC,eAAiB,CACjB,UACD,CAIC,oIIrFD,oDJyFC,CAOA,gLKhGD,kCLkGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC/HA,+CDmIA,CChIC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CDgHA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC/IC,mDDoJD,CCjJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CDgID,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n@import "../../mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text) {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\tfont-weight: bold;\n\t\topacity: .7;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},5332:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating–point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},8010:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-list-button-padding);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-list-button-padding);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},6781:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,+DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-selector__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const a=s},3398:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,wBACC,iBAKD,CAHC,qCACC,eACD,CAGD,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAA8B,CAC9B,kCAAmC,CACnC,WAcD,CAZC,mDACC,iBACD,CAEA,2CACC,WACD,CAEA,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.color-picker-hex-input {\n\twidth: max-content;\n\n\t& .ck.ck-input {\n\t\tmin-width: unset;\n\t}\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tmargin: var(--ck-spacing-large) 0 0;\n\twidth: unset;\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: unset;\n\t}\n\n\t& .ck.ck-input-text {\n\t\twidth: unset;\n\t}\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const a=s},4157:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorselector/colorselector.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorselector/colorselector.css"],names:[],mappings:"AAUE,oLAGC,kBAAmB,CADnB,YAMD,CARA,wMAME,0BAEF,CAKA,iFACC,YAAa,CACb,kBAAmB,CACnB,4BAMD,CAJC,oMAEC,MACD,CCrBD,oLAEC,UACD,CAEA,0FAEC,2BAA4B,CAC5B,4BAA6B,CAF7B,qEAiBD,CAbC,sGACC,gDACD,CAEA,gHAEE,uCAMF,CARA,gHAME,sCAEF,CAGD,6EACC,iBACD,CAKA,oEACC,WAoBD,CAlBC,sFACC,YAAa,CACb,eAeD,CAbC,wGACC,iEACD,CAEA,iGACC,iEACD,CAEA,yNAGC,WAAY,CADZ,UAED,CAIF,iFACC,iBACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-around;\n\n\t\t\t& .ck-button-save,\n\t\t\t& .ck-button-cancel {\n\t\t\t\tflex: 1\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck.ck-icon {\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tmargin-right: var(--ck-spacing-standard);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& label.ck.ck-color-grid__label {\n\t\t\tfont-weight: unset;\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-picker {\n\t\t\tpadding: 8px;\n\n\t\t\t& .hex-color-picker {\n\t\t\t\theight: 100px;\n\t\t\t\tmin-width: 180px;\n\n\t\t\t\t&::part(saturation) {\n\t\t\t\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\t\t\t\t}\n\n\t\t\t\t&::part(hue) {\n\t\t\t\t\tborder-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);\n\t\t\t\t}\n\n\t\t\t\t&::part(saturation-pointer),\n\t\t\t\t&::part(hue-pointer) {\n\t\t\t\t\twidth: 15px;\n\t\t\t\t\theight: 15px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tpadding: 0 8px 8px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},5485:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-modal)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eHkHD,CAhCA,qFG9EE,qCH8GF,CAhCA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAuBD,CAnBC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD,CAEA,6BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-modal);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-modal) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3949:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown .ck-dropdown__panel .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7686:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7339:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const a=s},9688:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,oDACD,CAIA,gEACC,iDACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-panel-background);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-panel-background);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},8847:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:38px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header .ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header .ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAkBD,CAbC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,4CACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\n\t& h2.ck-form__header__label {\n\t\tflex-grow: 1;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-form-header-height: 38px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& .ck-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const a=s},8960:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"],names:[],mappings:"AAKA,6BACC,+CAAgD,CAIhD,iBAAkB,CAFlB,mBAAoB,CACpB,mBAAoB,CAFpB,sBAID",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-highlighted-text mark {\n\tbackground: var(--ck-color-highlight-background);\n\tvertical-align: initial;\n\tfont-weight: inherit;\n\tline-height: inherit;\n\tfont-size: inherit;\n}\n"],sourceRoot:""}]);const a=s},6574:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},4879:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},3662:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const a=s},2577:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,4WAGE,+HAYF,CAfA,4WAOE,wIAQF,CAfA,wVAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},1046:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list__item .ck-button{text-align:left}[dir=rtl] .ck.ck-list__item .ck-button{text-align:right}.ck.ck-list__item .ck-button{padding:var(--ck-list-button-padding)}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium);:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium)}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEdD,MACC,oJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cAgED,CA9DC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UA6CD,CA/CA,uCAME,eAyCF,CA/CA,uCAUE,gBAqCF,CA/CA,6BAgBC,qCA+BD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,yBACC,oCAAqC,CAGrC,mBACC,gDACD,CAOD,CALC,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,CAGD,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t because e.g. different heading styles may have different height\n\t\t https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t& .ck-button__label {\n\t\t\t/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\t\tline-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-list .ck-list__group {\n\tpadding-top: var(--ck-spacing-medium);\n\n\t/* The group should have a border when it\'s not the first item. */\n\t*:not(.ck-hidden) ~ & {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t}\n\n\t& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium);\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},8793:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-modal);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},4650:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7676:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-modal) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},5868:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-modal); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},6764:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},6770:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/search/search.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/search/search.css"],names:[],mappings:"AASE,oFACC,iBAAkB,CAClB,OAAQ,CACR,0BASD,CAZA,8FAME,6BAMF,CAZA,8FAUE,8BAEF,CAEA,uDACC,iBAAkB,CAClB,OAAQ,CACR,0BACD,CAKC,oEACC,aACD,CAGA,qEACC,YACD,CChCH,MACC,8FACD,CAIE,+CACC,UACD,CAEA,gEACC,0FAoBD,CAlBC,+GACC,UAAW,CACX,mBACD,CAEA,0EACC,UAWD,CAJE,kMACC,2DACD,CAKH,iEACC,sGAwCD,CAtCC,6FACC,6HACD,CAEA,mFAIC,eAAgB,CAFhB,eAAgB,CADhB,cAAe,CAIf,UAAW,CACX,SAaD,CAnBA,6FASE,8BAUF,CAnBA,6FAaE,6BAMF,CAHC,yFACC,SACD,CAGD,2EACC,UAWD,CAZA,oMAUE,4DAEF,CAIF,kCACC,cAkBD,CAhBC,mDAEC,wDAAyD,CADzD,UAcD,CAXC,qDACC,kBACD,CAEA,oEACC,eACD,CAEA,mEACC,mCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\n\t\t& .ck-search__reset {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\t& > .ck-search__info {\n\t\t\t& > span:first-child {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t/* Hide the filtered view when nothing was found */\n\t\t\t&:not(.ck-hidden) ~ * {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));\n}\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& .ck-input {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&.ck-search__query_with-icon {\n\t\t\t--ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\t\topacity: .5;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-search__query_with-reset {\n\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t&.ck-labeled-field-view_empty {\n\t\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t& .ck-search__reset {\n\t\t\t\tmin-width: auto;\n\t\t\t\tmin-height: auto;\n\n\t\t\t\tbackground: none;\n\t\t\t\topacity: .5;\n\t\t\t\tpadding: 0;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t&:hover {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\tmin-width: 100%;\n\n\t\t& > .ck-search__info {\n\t\t\twidth: 100%;\n\t\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\n\t\t\t& * {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\n\t\t\t& > span:first-child {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\n\t\t\t& > span:last-child {\n\t\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const a=s},498:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:rotate 1.5s linear infinite}.ck.ck-spinner,.ck.ck-spinner-container{height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent}@keyframes rotate{to{transform:rotate(1turn)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/spinner/spinner.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/spinner/spinner.css"],names:[],mappings:"AASA,yBACC,aAAc,CACd,iBACD,CAEA,eAGC,MAAO,CAEP,aAAc,CAJd,iBAAkB,CAGlB,OAAQ,CAFR,OAAQ,CAIR,0BAA2B,CAC3B,SACD,CCjBA,MACC,8BACD,CAEA,yBAGC,qCACD,CAEA,wCAJC,qCAAsC,CADtC,oCAWD,CANA,eAKC,qCAA6B,CAF7B,iBAAkB,CAElB,gCACD,CAEA,kBACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\tdisplay: block;\n\tposition: relative;\n}\n\n.ck.ck-spinner {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 0;\n\tright: 0;\n\tmargin: 0 auto;\n\ttransform: translateY(-50%);\n\tz-index: 1;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tanimation: 1.5s infinite rotate linear;\n}\n\n.ck.ck-spinner {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tborder-radius: 50%;\n\tborder: 2px solid var(--ck-color-text);\n\tborder-top-color: transparent;\n}\n\n@keyframes rotate {\n\tto {\n\t\ttransform: rotate(360deg)\n\t}\n}\n\n"],sourceRoot:""}]);const a=s},8182:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-textarea{overflow-x:hidden}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/textarea/textarea.css"],names:[],mappings:"AASA,aACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.\n * This bug is especially visible when rows=1.\n */\n.ck-textarea {\n\toverflow-x: hidden\n}\n"],sourceRoot:""}]);const a=s},9695:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const a=s},5542:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3332:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDRnC,mBAAoB,CAEpB,qCACD,CCOC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAEA,wEAEC,oBAAqB,CACrB,wCAAyC,CAFzC,wBAGD,CApBD,gCAuBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t/* Keep tooltips transparent for any interactions. */\n\tpointer-events: none;\n\n\tz-index: calc( var(--ck-z-modal) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-tooltip-text-padding: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t&.ck-tooltip_multi-line .ck-tooltip__text {\n\t\twhite-space: break-spaces;\n\t\tdisplay: inline-block;\n\t\tpadding: var(--ck-tooltip-text-padding) 0;\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const a=s},4793:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-modal) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CACD,CCAA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAGtD,0CAA2C,CAD3C,eAAgB,CAEhB,gBAAiB,CACjB,mCAiDD,CA/CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,wBACD,CAEA,mEACC,2BAA4B,CAC5B,8CACD,CChED,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAyD,CAIzD,yBAAgD,CC3GhD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJ2GD,CIrGA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-modal: calc( var(--ck-z-default) + 999 );\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\tz-index: calc( var(--ck-z-modal) - 1 );\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_inside"] {\n\t\tborder-color: transparent;\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const a=s},3488:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t * background-color for the .ck-widget_selected state change,\n\t\t * visibility for hiding the handler,\n\t\t * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},8506:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const a=s},4921:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var o=n(1799),i=n.n(o),r=n(2609),s=n.n(r)()(i());s.push([t.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const a=s},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var r=0;r{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{default:()=>XD});const t=function(){try{return navigator.userAgent.toLowerCase()}catch(t){return""}}();var e;const i={isMac:r(t),isWindows:(e=t,e.indexOf("windows")>-1),isGecko:function(t){return!!t.match(/gecko\/\d+/)}(t),isSafari:function(t){return t.indexOf(" applewebkit/")>-1&&-1===t.indexOf("chrome")}(t),isiOS:function(t){return!!t.match(/iphone|ipad/i)||r(t)&&navigator.maxTouchPoints>0}(t),isAndroid:function(t){return t.indexOf("android")>-1}(t),isBlink:function(t){return t.indexOf("chrome/")>-1&&t.indexOf("edge/")<0}(t),features:{isRegExpUnicodePropertySupported:function(){let t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}return t}()}};function r(t){return t.indexOf("macintosh")>-1}function s(t,e,n,o){n=n||function(t,e){return t===e};const i=Array.isArray(t)?t:Array.prototype.slice.call(t),r=Array.isArray(e)?e:Array.prototype.slice.call(e),s=function(t,e,n){const o=a(t,e,n);if(-1===o)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=c(t,o),r=c(e,o),s=a(i,r,n),l=t.length-s,d=e.length-s;return{firstIndex:o,lastIndexOld:l,lastIndexNew:d}}(i,r,n),l=o?function(t,e){const{firstIndex:n,lastIndexOld:o,lastIndexNew:i}=t;if(-1===n)return Array(e).fill("equal");let r=[];n>0&&(r=r.concat(Array(n).fill("equal")));i-n>0&&(r=r.concat(Array(i-n).fill("insert")));o-n>0&&(r=r.concat(Array(o-n).fill("delete")));i0&&n.push({index:o,type:"insert",values:t.slice(o,r)});i-o>0&&n.push({index:o+(r-o),type:"delete",howMany:i-o});return n}(r,s);return l}function a(t,e,n){for(let o=0;o200||i>200||o+i>300)return l.fastDiff(t,e,n,!0);let r,s;if(il?-1:1;h[o+d]&&(h[o]=h[o+d].slice(0)),h[o]||(h[o]=[]),h[o].push(i>l?r:s);let g=Math.max(i,l),p=g-o;for(;pd;p--)u[p]=g(p);u[d]=g(d),m++}while(u[d]!==c);return h[d].slice(1)}l.fastDiff=s;const d=function(){return function t(){t.called=!0}};class h{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=d(),this.off=d()}}const u=new Array(256).fill("").map(((t,e)=>("0"+e.toString(16)).slice(-2)));function g(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0;return"e"+u[t>>0&255]+u[t>>8&255]+u[t>>16&255]+u[t>>24&255]+u[e>>0&255]+u[e>>8&255]+u[e>>16&255]+u[e>>24&255]+u[n>>0&255]+u[n>>8&255]+u[n>>16&255]+u[n>>24&255]+u[o>>0&255]+u[o>>8&255]+u[o>>16&255]+u[o>>24&255]}const p={get(t="normal"){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function m(t,e){const n=p.get(e.priority);for(let o=0;o{if("object"==typeof e&&null!==e){if(n.has(e))return`[object ${e.constructor.name}]`;n.add(e)}return e},i=e?` ${JSON.stringify(e,o)}`:"",r=A(t);return t+i+r}(t,n)),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const n=new k(t.message,e);throw n.stack=t.stack,n}}function b(t,e){console.warn(...C(t,e))}function w(t,e){console.error(...C(t,e))}function A(t){return`\nRead more: ${f}#error-${t}`}function C(t,e){const n=A(t);return e?[t,e,n]:[t,n]}const _="40.2.0",v=new Date(2023,11,12);if(globalThis.CKEDITOR_VERSION)throw new k("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=_;const y=Symbol("listeningTo"),x=Symbol("emitterId"),E=Symbol("delegations"),D=I(Object);function I(t){if(!t)return D;return class extends t{on(t,e,n){this.listenTo(this,t,e,n)}once(t,e,n){let o=!1;this.listenTo(this,t,((t,...n)=>{o||(o=!0,t.off(),e.call(this,t,...n))}),n)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,n,o={}){let i,r;this[y]||(this[y]={});const s=this[y];T(t)||S(t);const a=T(t);(i=s[a])||(i=s[a]={emitter:t,callbacks:{}}),(r=i.callbacks[e])||(r=i.callbacks[e]=[]),r.push(n),function(t,e,n,o,i){e._addEventListener?e._addEventListener(n,o,i):t._addEventListener.call(e,n,o,i)}(this,t,e,n,o)}stopListening(t,e,n){const o=this[y];let i=t&&T(t);const r=o&&i?o[i]:void 0,s=r&&e?r.callbacks[e]:void 0;if(!(!o||t&&!r||e&&!s))if(n){z(this,t,e,n);-1!==s.indexOf(n)&&(1===s.length?delete r.callbacks[e]:z(this,t,e,n))}else if(s){for(;n=s.pop();)z(this,t,e,n);delete r.callbacks[e]}else if(r){for(e in r.callbacks)this.stopListening(t,e);delete o[i]}else{for(i in o)this.stopListening(o[i].emitter);delete this[y]}}fire(t,...e){try{const n=t instanceof h?t:new h(this,t),o=n.name;let i=N(this,o);if(n.path.push(this),i){const t=[n,...e];i=Array.from(i);for(let e=0;e{this[E]||(this[E]=new Map),t.forEach((t=>{const o=this[E].get(t);o?o.set(e,n):this[E].set(t,new Map([[e,n]]))}))}}}stopDelegating(t,e){if(this[E])if(t)if(e){const n=this[E].get(t);n&&n.delete(e)}else this[E].delete(t);else this[E].clear()}_addEventListener(t,e,n){!function(t,e){const n=M(t);if(n[e])return;let o=e,i=null;const r=[];for(;""!==o&&!n[o];)n[o]={callbacks:[],childEvents:[]},r.push(n[o]),i&&n[o].childEvents.push(i),i=o,o=o.substr(0,o.lastIndexOf(":"));if(""!==o){for(const t of r)t.callbacks=n[o].callbacks.slice();n[o].childEvents.push(i)}}(this,t);const o=B(this,t),i={callback:e,priority:p.get(n.priority)};for(const t of o)m(t,i)}_removeEventListener(t,e){const n=B(this,t);for(const t of n)for(let n=0;n-1?N(t,e.substr(0,e.lastIndexOf(":"))):null}function P(t,e,n){for(let[o,i]of t){i?"function"==typeof i&&(i=i(e.name)):i=e.name;const t=new h(e.source,i);t.path=[...e.path],o.fire(t,...n)}}function z(t,e,n,o){e._removeEventListener?e._removeEventListener(n,o):t._removeEventListener.call(e,n,o)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{I[t]=D.prototype[t]}));const O=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},L=Symbol("observableProperties"),j=Symbol("boundObservables"),R=Symbol("boundProperties"),F=Symbol("decoratedMethods"),V=Symbol("decoratedOriginal"),U=H(I());function H(t){if(!t)return U;return class extends t{set(t,e){if(O(t))return void Object.keys(t).forEach((e=>{this.set(e,t[e])}),this);G(this);const n=this[L];if(t in this&&!n.has(t))throw new k("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>n.get(t),set(e){const o=n.get(t);let i=this.fire(`set:${t}`,t,e,o);void 0===i&&(i=e),o===i&&n.has(t)||(n.set(t,i),this.fire(`change:${t}`,t,i,o))}}),this[t]=e}bind(...t){if(!t.length||!K(t))throw new k("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new k("observable-bind-duplicate-properties",this);G(this);const e=this[R];t.forEach((t=>{if(e.has(t))throw new k("observable-bind-rebind",this)}));const n=new Map;return t.forEach((t=>{const o={property:t,to:[]};e.set(t,o),n.set(t,o)})),{to:q,toMany:W,_observable:this,_bindProperties:t,_to:[],_bindings:n}}unbind(...t){if(!this[L])return;const e=this[R],n=this[j];if(t.length){if(!K(t))throw new k("observable-unbind-wrong-properties",this);t.forEach((t=>{const o=e.get(t);o&&(o.to.forEach((([t,e])=>{const i=n.get(t),r=i[e];r.delete(o),r.size||delete i[e],Object.keys(i).length||(n.delete(t),this.stopListening(t,"change"))})),e.delete(t))}))}else n.forEach(((t,e)=>{this.stopListening(e,"change")})),n.clear(),e.clear()}decorate(t){G(this);const e=this[t];if(!e)throw new k("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,((t,n)=>{t.return=e.apply(this,n)})),this[t]=function(...e){return this.fire(t,e)},this[t][V]=e,this[F]||(this[F]=[]),this[F].push(t)}stopListening(t,e,n){if(!t&&this[F]){for(const t of this[F])this[t]=this[t][V];delete this[F]}super.stopListening(t,e,n)}}}function G(t){t[L]||(Object.defineProperty(t,L,{value:new Map}),Object.defineProperty(t,j,{value:new Map}),Object.defineProperty(t,R,{value:new Map}))}function q(...t){const e=function(...t){if(!t.length)throw new k("observable-bind-to-parse-error",null);const e={to:[]};let n;"function"==typeof t[t.length-1]&&(e.callback=t.pop());return t.forEach((t=>{if("string"==typeof t)n.properties.push(t);else{if("object"!=typeof t)throw new k("observable-bind-to-parse-error",null);n={observable:t,properties:[]},e.to.push(n)}})),e}(...t),n=Array.from(this._bindings.keys()),o=n.length;if(!e.callback&&e.to.length>1)throw new k("observable-bind-to-no-callback",this);if(o>1&&e.callback)throw new k("observable-bind-to-extra-callback",this);var i;e.to.forEach((t=>{if(t.properties.length&&t.properties.length!==o)throw new k("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)})),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),i=this._observable,this._to.forEach((t=>{const e=i[j];let n;e.get(t.observable)||i.listenTo(t.observable,"change",((o,r)=>{n=e.get(t.observable)[r],n&&n.forEach((t=>{Z(i,t.property)}))}))})),function(t){let e;t._bindings.forEach(((n,o)=>{t._to.forEach((i=>{e=i.properties[n.callback?0:t._bindProperties.indexOf(o)],n.to.push([i.observable,e]),function(t,e,n,o){const i=t[j],r=i.get(n),s=r||{};s[o]||(s[o]=new Set);s[o].add(e),r||i.set(n,s)}(t._observable,n,i.observable,e)}))}))}(this),this._bindProperties.forEach((t=>{Z(this._observable,t)}))}function W(t,e,n){if(this._bindings.size>1)throw new k("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const n=t.map((t=>[t,e]));return Array.prototype.concat.apply([],n)}(t,e),n)}function K(t){return t.every((t=>"string"==typeof t))}function Z(t,e){const n=t[R].get(e);let o;n.callback?o=n.callback.apply(t,n.to.map((t=>t[0][t[1]]))):(o=n.to[0],o=o[0][o[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=o:t.set(e,o)}function Y(t){let e=0;for(const n of t)e++;return e}function $(t,e){const n=Math.min(t.length,e.length);for(let o=0;o{H[t]=U.prototype[t]}));const J="object"==typeof global&&global&&global.Object===Object&&global;var X="object"==typeof self&&self&&self.Object===Object&&self;const tt=J||X||Function("return this")();const et=tt.Symbol;var nt=Object.prototype,ot=nt.hasOwnProperty,it=nt.toString,rt=et?et.toStringTag:void 0;const st=function(t){var e=ot.call(t,rt),n=t[rt];try{t[rt]=void 0;var o=!0}catch(t){}var i=it.call(t);return o&&(e?t[rt]=n:delete t[rt]),i};var at=Object.prototype.toString;const ct=function(t){return at.call(t)};var lt=et?et.toStringTag:void 0;const dt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":lt&< in Object(t)?st(t):ct(t)};const ht=Array.isArray;const ut=function(t){return null!=t&&"object"==typeof t};const gt=function(t){return"string"==typeof t||!ht(t)&&ut(t)&&"[object String]"==dt(t)};function pt(t,e,n={},o=[]){const i=n&&n.xmlns,r=i?t.createElementNS(i,e):t.createElement(e);for(const t in n)r.setAttribute(t,n[t]);!gt(o)&&Q(o)||(o=[o]);for(let e of o)gt(e)&&(e=t.createTextNode(e)),r.appendChild(e);return r}const mt=function(t,e){return function(n){return t(e(n))}};const ft=mt(Object.getPrototypeOf,Object);var kt=Function.prototype,bt=Object.prototype,wt=kt.toString,At=bt.hasOwnProperty,Ct=wt.call(Object);const _t=function(t){if(!ut(t)||"[object Object]"!=dt(t))return!1;var e=ft(t);if(null===e)return!0;var n=At.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==Ct};const vt=function(){this.__data__=[],this.size=0};const yt=function(t,e){return t===e||t!=t&&e!=e};const xt=function(t,e){for(var n=t.length;n--;)if(yt(t[n][0],e))return n;return-1};var Et=Array.prototype.splice;const Dt=function(t){var e=this.__data__,n=xt(e,t);return!(n<0)&&(n==e.length-1?e.pop():Et.call(e,n,1),--this.size,!0)};const It=function(t){var e=this.__data__,n=xt(e,t);return n<0?void 0:e[n][1]};const St=function(t){return xt(this.__data__,t)>-1};const Tt=function(t,e){var n=this.__data__,o=xt(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this};function Mt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var Ve={};Ve["[object Float32Array]"]=Ve["[object Float64Array]"]=Ve["[object Int8Array]"]=Ve["[object Int16Array]"]=Ve["[object Int32Array]"]=Ve["[object Uint8Array]"]=Ve["[object Uint8ClampedArray]"]=Ve["[object Uint16Array]"]=Ve["[object Uint32Array]"]=!0,Ve["[object Arguments]"]=Ve["[object Array]"]=Ve["[object ArrayBuffer]"]=Ve["[object Boolean]"]=Ve["[object DataView]"]=Ve["[object Date]"]=Ve["[object Error]"]=Ve["[object Function]"]=Ve["[object Map]"]=Ve["[object Number]"]=Ve["[object Object]"]=Ve["[object RegExp]"]=Ve["[object Set]"]=Ve["[object String]"]=Ve["[object WeakMap]"]=!1;const Ue=function(t){return ut(t)&&Fe(t.length)&&!!Ve[dt(t)]};const He=function(t){return function(e){return t(e)}};var Ge="object"==typeof exports&&exports&&!exports.nodeType&&exports,qe=Ge&&"object"==typeof module&&module&&!module.nodeType&&module,We=qe&&qe.exports===Ge&&J.process;const Ke=function(){try{var t=qe&&qe.require&&qe.require("util").types;return t||We&&We.binding&&We.binding("util")}catch(t){}}();var Ze=Ke&&Ke.isTypedArray;const Ye=Ze?He(Ze):Ue;var $e=Object.prototype.hasOwnProperty;const Qe=function(t,e){var n=ht(t),o=!n&&Be(t),i=!n&&!o&&Le(t),r=!n&&!o&&!i&&Ye(t),s=n||o||i||r,a=s?De(t.length,String):[],c=a.length;for(var l in t)!e&&!$e.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Re(l,c))||a.push(l);return a};var Je=Object.prototype;const Xe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Je)};const tn=mt(Object.keys,Object);var en=Object.prototype.hasOwnProperty;const nn=function(t){if(!Xe(t))return tn(t);var e=[];for(var n in Object(t))en.call(t,n)&&"constructor"!=n&&e.push(n);return e};const on=function(t){return null!=t&&Fe(t.length)&&!Lt(t)};const rn=function(t){return on(t)?Qe(t):nn(t)};const sn=function(t,e){return t&&Ee(e,rn(e),t)};const an=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var cn=Object.prototype.hasOwnProperty;const ln=function(t){if(!O(t))return an(t);var e=Xe(t),n=[];for(var o in t)("constructor"!=o||!e&&cn.call(t,o))&&n.push(o);return n};const dn=function(t){return on(t)?Qe(t,!0):ln(t)};const hn=function(t,e){return t&&Ee(e,dn(e),t)};var un="object"==typeof exports&&exports&&!exports.nodeType&&exports,gn=un&&"object"==typeof module&&module&&!module.nodeType&&module,pn=gn&&gn.exports===un?tt.Buffer:void 0,mn=pn?pn.allocUnsafe:void 0;const fn=function(t,e){if(e)return t.slice();var n=t.length,o=mn?mn(n):new t.constructor(n);return t.copy(o),o};const kn=function(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n{this._setToTarget(t,o,e[o],n)}))}}function _o(t){return wo(t,vo)}function vo(t){return Ao(t)||"function"==typeof t?t:void 0}function yo(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}function xo(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}const Eo=Do(I());function Do(t){if(!t)return Eo;return class extends t{listenTo(t,e,n,o={}){if(yo(t)||xo(t)){const i={capture:!!o.useCapture,passive:!!o.usePassive},r=this._getProxyEmitter(t,i)||new Io(t,i);this.listenTo(r,e,n,o)}else super.listenTo(t,e,n,o)}stopListening(t,e,n){if(yo(t)||xo(t)){const o=this._getAllProxyEmitters(t);for(const t of o)this.stopListening(t,e,n)}else super.stopListening(t,e,n)}_getProxyEmitter(t,e){return function(t,e){const n=t[y];return n&&n[e]?n[e].emitter:null}(this,So(t,e))}_getAllProxyEmitters(t){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((e=>this._getProxyEmitter(t,e))).filter((t=>!!t))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{Do[t]=Eo.prototype[t]}));class Io extends(I()){constructor(t,e){super(),S(this,So(t,e)),this._domNode=t,this._options=e}attach(t){if(this._domListeners&&this._domListeners[t])return;const e=this._createDomListener(t);this._domNode.addEventListener(t,e,this._options),this._domListeners||(this._domListeners={}),this._domListeners[t]=e}detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()}_addEventListener(t,e,n){this.attach(t),I().prototype._addEventListener.call(this,t,e,n)}_removeEventListener(t,e){I().prototype._removeEventListener.call(this,t,e),this.detach(t)}_createDomListener(t){const e=e=>{this.fire(t,e)};return e.removeListener=()=>{this._domNode.removeEventListener(t,e,this._options),delete this._domListeners[t]},e}}function So(t,e){let n=function(t){return t["data-ck-expando"]||(t["data-ck-expando"]=g())}(t);for(const t of Object.keys(e).sort())e[t]&&(n+="-"+t);return n}let To;try{To={window,document}}catch(t){To={window:{},document:{}}}const Mo=To;function Bo(t){return"[object Text]"==Object.prototype.toString.call(t)}function No(t){return"[object Range]"==Object.prototype.toString.apply(t)}function Po(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}function zo(t){return t&&t.parentNode?t.offsetParent===Mo.document.body?null:t.offsetParent:null}const Oo=["top","right","bottom","left","width","height"];class Lo{constructor(t){const e=No(t);if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),Fo(t)||e)if(e){const e=Lo.getDomRangeRects(t);jo(this,Lo.getBoundingRect(e))}else jo(this,t.getBoundingClientRect());else if(xo(t)){const{innerWidth:e,innerHeight:n}=t;jo(this,{top:0,right:e,bottom:n,left:0,width:e,height:n})}else jo(this,t)}clone(){return new Lo(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left),width:0,height:0};if(e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0)return null;{const t=new Lo(e);return t._source=this._source,t}}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(Ro(t))return e;let n,o=t,i=t.parentNode||t.commonAncestorContainer;for(;i&&!Ro(i);){const t="visible"===((r=i)instanceof HTMLElement?r.ownerDocument.defaultView.getComputedStyle(r).overflow:"visible");o instanceof HTMLElement&&"absolute"===Vo(o)&&(n=o);const s=Vo(i);if(t||n&&("relative"===s&&t||"relative"!==s)){o=i,i=i.parentNode;continue}const a=new Lo(i),c=e.getIntersection(a);if(!c)return null;c.getArea(){for(const e of t){const t=Uo._getElementCallbacks(e.target);if(t)for(const n of t)n(e)}}))}};let Ho=Uo;function Go(t,e){t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e}function qo(t){return e=>e+t}function Wo(t){let e=0;for(;t.previousSibling;)t=t.previousSibling,e++;return e}function Ko(t,e,n){t.insertBefore(n,t.childNodes[e]||null)}function Zo(t){return t&&t.nodeType===Node.COMMENT_NODE}function Yo(t){return!!(t&&t.getClientRects&&t.getClientRects().length)}Ho._observerInstance=null,Ho._elementCallbacks=null;var $o=Math.pow;function Qo({element:t,target:e,positions:n,limiter:o,fitInViewport:i,viewportOffsetConfig:r}){Lt(e)&&(e=e()),Lt(o)&&(o=o());const s=zo(t),a=function(t){t=Object.assign({top:0,bottom:0,left:0,right:0},t);const e=new Lo(Mo.window);return e.top+=t.top,e.height-=t.top,e.bottom-=t.bottom,e.height-=t.bottom,e}(r),c=new Lo(t),l=Jo(e,a);let d;if(!l||!a.getIntersection(l))return null;const h={targetRect:l,elementRect:c,positionedElementAncestor:s,viewportRect:a};if(o||i){if(o){const t=Jo(o,a);t&&(h.limiterRect=t)}d=function(t,e){const{elementRect:n}=e,o=n.getArea(),i=t.map((t=>new Xo(t,e))).filter((t=>!!t.name));let r=0,s=null;for(const t of i){const{limiterIntersectionArea:e,viewportIntersectionArea:n}=t;if(e===o)return t;const i=$o(n,2)+$o(e,2);i>r&&(r=i,s=t)}return s}(n,h)}else d=new Xo(n[0],h);return d}function Jo(t,e){const n=new Lo(t).getVisible();return n?n.getIntersection(e):null}class Xo{constructor(t,e){const n=t(e.targetRect,e.elementRect,e.viewportRect,e.limiterRect);if(!n)return;const{left:o,top:i,name:r,config:s}=n;this.name=r,this.config=s,this._positioningFunctionCoordinates={left:o,top:i},this._options=e}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const t=this._options.limiterRect;return t?t.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return 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._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function ti(t){const e=t.parentNode;e&&e.removeChild(t)}function ei({window:t,rect:e,alignToTop:n,forceScroll:o,viewportOffset:i}){const r=e.clone().moveBy(0,i.bottom),s=e.clone().moveBy(0,-i.top),a=new Lo(t).excludeScrollbarsAndBorders(),c=n&&o,l=[s,r].every((t=>a.contains(t)));let{scrollX:d,scrollY:h}=t;const u=d,g=h;c?h-=a.top-e.top+i.top:l||(ii(s,a)?h-=a.top-e.top+i.top:oi(r,a)&&(h+=n?e.top-a.top-i.top:e.bottom-a.bottom+i.bottom)),l||(ri(e,a)?d-=a.left-e.left+i.left:si(e,a)&&(d+=e.right-a.right+i.right)),d==u&&h===g||t.scrollTo(d,h)}function ni({parent:t,getRect:e,alignToTop:n,forceScroll:o,ancestorOffset:i=0,limiterElement:r}){const s=ai(t),a=n&&o;let c,l,d;const h=r||s.document.body;for(;t!=h;)l=e(),c=new Lo(t).excludeScrollbarsAndBorders(),d=c.contains(l),a?t.scrollTop-=c.top-l.top+i:d||(ii(l,c)?t.scrollTop-=c.top-l.top+i:oi(l,c)&&(t.scrollTop+=n?l.top-c.top-i:l.bottom-c.bottom+i)),d||(ri(l,c)?t.scrollLeft-=c.left-l.left+i:si(l,c)&&(t.scrollLeft+=l.right-c.right+i)),t=t.parentNode}function oi(t,e){return t.bottom>e.bottom}function ii(t,e){return t.tope.right}function ai(t){return No(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView}function ci(t){if(No(t)){let e=t.commonAncestorContainer;return Bo(e)&&(e=e.parentNode),e}return t.parentNode}function li(t,e){const n=ai(t),o=new Lo(t);if(n===e)return o;{let t=n;for(;t!=e;){const e=t.frameElement,n=new Lo(e).excludeScrollbarsAndBorders();o.moveBy(n.left,n.top),t=t.parent}}return o}const di={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},hi={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},ui=function(){const t={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++){t[String.fromCharCode(e).toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;for(const e of"`-=[];',./\\")t[e]=e.charCodeAt(0);return t}(),gi=Object.fromEntries(Object.entries(ui).map((([t,e])=>[e,t.charAt(0).toUpperCase()+t.slice(1)])));function pi(t){let e;if("string"==typeof t){if(e=ui[t.toLowerCase()],!e)throw new k("keyboard-unknown-key",null,{key:t})}else e=t.keyCode+(t.altKey?ui.alt:0)+(t.ctrlKey?ui.ctrl:0)+(t.shiftKey?ui.shift:0)+(t.metaKey?ui.cmd:0);return e}function mi(t){return"string"==typeof t&&(t=function(t){return t.split("+").map((t=>t.trim()))}(t)),t.map((t=>"string"==typeof t?function(t){if(t.endsWith("!"))return pi(t.slice(0,-1));const e=pi(t);return(i.isMac||i.isiOS)&&e==ui.ctrl?ui.cmd:e}(t):t)).reduce(((t,e)=>e+t),0)}function fi(t){let e=mi(t);return Object.entries(i.isMac||i.isiOS?di:hi).reduce(((t,[n,o])=>(0!=(e&ui[n])&&(e&=~ui[n],t+=o),t)),"")+(e?gi[e]:"")}function ki(t,e){const n="ltr"===e;switch(t){case ui.arrowleft:return n?"left":"right";case ui.arrowright:return n?"right":"left";case ui.arrowup:return"up";case ui.arrowdown:return"down"}}function bi(t){return Array.isArray(t)?t:[t]}function wi(t,e,n=1){if("number"!=typeof n)throw new k("translation-service-quantity-not-a-number",null,{quantity:n});const o=Object.keys(Mo.window.CKEDITOR_TRANSLATIONS).length;1===o&&(t=Object.keys(Mo.window.CKEDITOR_TRANSLATIONS)[0]);const i=e.id||e.string;if(0===o||!function(t,e){return!!Mo.window.CKEDITOR_TRANSLATIONS[t]&&!!Mo.window.CKEDITOR_TRANSLATIONS[t].dictionary[e]}(t,i))return 1!==n?e.plural:e.string;const r=Mo.window.CKEDITOR_TRANSLATIONS[t].dictionary,s=Mo.window.CKEDITOR_TRANSLATIONS[t].getPluralForm||(t=>1===t?0:1),a=r[i];if("string"==typeof a)return a;return a[Number(s(n))]}Mo.window.CKEDITOR_TRANSLATIONS||(Mo.window.CKEDITOR_TRANSLATIONS={});const Ai=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function Ci(t){return Ai.includes(t)?"rtl":"ltr"}class _i{constructor({uiLanguage:t="en",contentLanguage:e}={}){this.uiLanguage=t,this.contentLanguage=e||this.uiLanguage,this.uiLanguageDirection=Ci(this.uiLanguage),this.contentLanguageDirection=Ci(this.contentLanguage),this.t=(t,e)=>this._t(t,e)}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(t,e=[]){e=bi(e),"string"==typeof t&&(t={string:t});const n=!!t.plural?e[0]:1;return function(t,e){return t.replace(/%(\d+)/g,((t,n)=>nthis._items.length||e<0)throw new k("collection-add-item-invalid-index",this);let n=0;for(const o of t){const t=this._getItemIdBeforeAdding(o),i=e+n;this._items.splice(i,0,o),this._itemMap.set(t,o),this.fire("add",o,i),n++}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new k("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return e&&this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,e?this._items.indexOf(e):-1}remove(t){const[e,n]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:n}),e}map(t,e){return this._items.map(t,e)}forEach(t,e){this._items.forEach(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new k("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding((e=>new t(e)))},using:t=>{"function"==typeof t?this._setUpBindToBinding(t):this._setUpBindToBinding((e=>e[t]))}}}_setUpBindToBinding(t){const e=this._bindToCollection,n=(n,o,i)=>{const r=e._bindToCollection==this,s=e._bindToInternalToExternalMap.get(o);if(r&&s)this._bindToExternalToInternalMap.set(o,s),this._bindToInternalToExternalMap.set(s,o);else{const n=t(o);if(!n)return void this._skippedIndexesFromExternal.push(i);let r=i;for(const t of this._skippedIndexesFromExternal)i>t&&r--;for(const t of e._skippedIndexesFromExternal)r>=t&&r++;this._bindToExternalToInternalMap.set(o,n),this._bindToInternalToExternalMap.set(n,o),this.add(n,r);for(let t=0;t{const o=this._bindToExternalToInternalMap.get(e);o&&this.remove(o),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((t,e)=>(ne&&t.push(e),t)),[])}))}_getItemIdBeforeAdding(t){const e=this._idProperty;let n;if(e in t){if(n=t[e],"string"!=typeof n)throw new k("collection-add-invalid-id",this);if(this.get(n))throw new k("collection-add-item-already-exists",this)}else t[e]=n=g();return n}_remove(t){let e,n,o,i=!1;const r=this._idProperty;if("string"==typeof t?(n=t,o=this._itemMap.get(n),i=!o,o&&(e=this._items.indexOf(o))):"number"==typeof t?(e=t,o=this._items[e],i=!o,o&&(n=o[r])):(o=t,n=o[r],e=this._items.indexOf(o),i=-1==e||!this._itemMap.get(n)),i)throw new k("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(n);const s=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(s),this.fire("remove",o,e),[o,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function yi(t){const e=t.next();return e.done?null:e.value}class xi extends(Do(H())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(t){if(this._elements.has(t))throw new k("focustracker-add-element-already-exist",this);this.listenTo(t,"focus",(()=>this._focus(t)),{useCapture:!0}),this.listenTo(t,"blur",(()=>this._blur()),{useCapture:!0}),this._elements.add(t)}remove(t){t===this.focusedElement&&this._blur(),this._elements.has(t)&&(this.stopListening(t),this._elements.delete(t))}destroy(){this.stopListening()}_focus(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout((()=>{this.focusedElement=null,this.isFocused=!1}),0)}}class Ei{constructor(){this._listener=new(Do())}listenTo(t){this._listener.listenTo(t,"keydown",((t,e)=>{this._listener.fire("_keydown:"+pi(e),e)}))}set(t,e,n={}){const o=mi(t),i=n.priority;this._listener.listenTo(this._listener,"_keydown:"+o,((t,n)=>{e(n,(()=>{n.preventDefault(),n.stopPropagation(),t.stop()})),t.return=!0}),{priority:i})}press(t){return!!this._listener.fire("_keydown:"+pi(t),t)}stopListening(t){this._listener.stopListening(t)}destroy(){this.stopListening()}}function Di(t){return Q(t)?new Map(t):function(t){const e=new Map;for(const n in t)e.set(n,t[n]);return e}(t)}Math.pow;function Ii(t,e){let n;function o(...i){o.cancel(),n=setTimeout((()=>t(...i)),e)}return o.cancel=()=>{clearTimeout(n)},o}function Si(t,e){return!!(n=t.charAt(e-1))&&1==n.length&&/[\ud800-\udbff]/.test(n)&&function(t){return!!t&&1==t.length&&/[\udc00-\udfff]/.test(t)}(t.charAt(e));var n}function Ti(t,e){return!!(n=t.charAt(e))&&1==n.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(n);var n}const Mi=function(){const t=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],e=new RegExp("\\p{Regional_Indicator}{2}","u").source,n="(?:"+t.map((t=>t.source)).join("|")+")";return new RegExp(`${e}|${n}(?:‍${n})*`,"ug")}();function Bi(t,e){const n=String(t).matchAll(Mi);return Array.from(n).some((t=>t.index{this.refresh()})),this.listenTo(t,"change:isReadOnly",(()=>{this.refresh()})),this.on("set:isEnabled",(e=>{if(!this.affectsData)return;const n=t.model.document.selection,o=!("$graveyard"==n.getFirstPosition().root.rootName)&&t.model.canEditAt(n);(t.isReadOnly||this._isEnabledBasedOnSelection&&!o)&&(e.return=!1,e.stop())}),{priority:"highest"}),this.on("execute",(t=>{this.isEnabled||t.stop()}),{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(t){this._affectsData=t}refresh(){this.isEnabled=!0}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",Oi,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",Oi),this.refresh())}execute(...t){}destroy(){this.stopListening()}}function Oi(t){t.return=!1,t.stop()}class Li extends zi{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...t){const e=this._getFirstEnabledCommand();return!!e&&e.execute(t)}registerChildCommand(t,e={}){m(this._childCommandsDefinitions,{command:t,priority:e.priority||"normal"}),t.on("change:isEnabled",(()=>this._checkEnabled())),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const t=this._childCommandsDefinitions.find((({command:t})=>t.isEnabled));return t&&t.command}}class ji extends(I()){constructor(t,e=[],n=[]){super(),this._plugins=new Map,this._context=t,this._availablePlugins=new Map;for(const t of e)t.pluginName&&this._availablePlugins.set(t.pluginName,t);this._contextPlugins=new Map;for(const[t,e]of n)this._contextPlugins.set(t,e),this._contextPlugins.set(e,t),t.pluginName&&this._availablePlugins.set(t.pluginName,t)}*[Symbol.iterator](){for(const t of this._plugins)"function"==typeof t[0]&&(yield t)}get(t){const e=this._plugins.get(t);if(!e){let e=t;throw"function"==typeof t&&(e=t.pluginName||t.name),new k("plugincollection-plugin-not-loaded",this._context,{plugin:e})}return e}has(t){return this._plugins.has(t)}init(t,e=[],n=[]){const o=this,i=this._context;!function t(e,n=new Set){e.forEach((e=>{a(e)&&(n.has(e)||(n.add(e),e.pluginName&&!o._availablePlugins.has(e.pluginName)&&o._availablePlugins.set(e.pluginName,e),e.requires&&t(e.requires,n)))}))}(t),h(t);const r=[...function t(e,n=new Set){return e.map((t=>a(t)?t:o._availablePlugins.get(t))).reduce(((e,o)=>n.has(o)?e:(n.add(o),o.requires&&(h(o.requires,o),t(o.requires,n).forEach((t=>e.add(t)))),e.add(o))),new Set)}(t.filter((t=>!l(t,e))))];!function(t,e){for(const n of e){if("function"!=typeof n)throw new k("plugincollection-replace-plugin-invalid-type",null,{pluginItem:n});const e=n.pluginName;if(!e)throw new k("plugincollection-replace-plugin-missing-name",null,{pluginItem:n});if(n.requires&&n.requires.length)throw new k("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:e});const i=o._availablePlugins.get(e);if(!i)throw new k("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:e});const r=t.indexOf(i);if(-1===r){if(o._contextPlugins.has(i))return;throw new k("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:e})}if(i.requires&&i.requires.length)throw new k("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:e});t.splice(r,1,n),o._availablePlugins.set(e,n)}}(r,n);const s=r.map((t=>{let e=o._contextPlugins.get(t);return e=e||new t(i),o._add(t,e),e}));return u(s,"init").then((()=>u(s,"afterInit"))).then((()=>s));function a(t){return"function"==typeof t}function c(t){return a(t)&&!!t.isContextPlugin}function l(t,e){return e.some((e=>e===t||(d(t)===e||d(e)===t)))}function d(t){return a(t)?t.pluginName||t.name:t}function h(t,n=null){t.map((t=>a(t)?t:o._availablePlugins.get(t)||t)).forEach((t=>{!function(t,e){if(a(t))return;if(e)throw new k("plugincollection-soft-required",i,{missingPlugin:t,requiredBy:d(e)});throw new k("plugincollection-plugin-not-found",i,{plugin:t})}(t,n),function(t,e){if(!c(e))return;if(c(t))return;throw new k("plugincollection-context-required",i,{plugin:d(t),requiredBy:d(e)})}(t,n),function(t,n){if(!n)return;if(!l(t,e))return;throw new k("plugincollection-required",i,{plugin:d(t),requiredBy:d(n)})}(t,n)}))}function u(t,e){return t.reduce(((t,n)=>n[e]?o._contextPlugins.has(n)?t:t.then(n[e].bind(n)):t),Promise.resolve())}}destroy(){const t=[];for(const[,e]of this)"function"!=typeof e.destroy||this._contextPlugins.has(e)||t.push(e.destroy());return Promise.all(t)}_add(t,e){this._plugins.set(t,e);const n=t.pluginName;if(n){if(this._plugins.has(n))throw new k("plugincollection-plugin-name-conflict",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t});this._plugins.set(n,e)}}}class Ri{constructor(t){this._contextOwner=null,this.config=new Co(t,this.constructor.defaultConfig);const e=this.constructor.builtinPlugins;this.config.define("plugins",e),this.plugins=new ji(this,e);const n=this.config.get("language")||{};this.locale=new _i({uiLanguage:"string"==typeof n?n:n.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new vi}initPlugins(){const t=this.config.get("plugins")||[],e=this.config.get("substitutePlugins")||[];for(const n of t.concat(e)){if("function"!=typeof n)throw new k("context-initplugins-constructor-only",null,{Plugin:n});if(!0!==n.isContextPlugin)throw new k("context-initplugins-invalid-plugin",null,{Plugin:n})}return this.plugins.init(t,[],e)}destroy(){return Promise.all(Array.from(this.editors,(t=>t.destroy()))).then((()=>this.plugins.destroy()))}_addEditor(t,e){if(this._contextOwner)throw new k("context-addeditor-private-context");this.editors.add(t),e&&(this._contextOwner=t)}_removeEditor(t){return this.editors.has(t)&&this.editors.remove(t),this._contextOwner===t?this.destroy():Promise.resolve()}_getEditorConfig(){const t={};for(const e of this.config.names())["plugins","removePlugins","extraPlugins"].includes(e)||(t[e]=this.config.get(e));return t}static create(t){return new Promise((e=>{const n=new this(t);e(n.initPlugins().then((()=>n)))}))}}class Fi extends(H()){constructor(t){super(),this.context=t}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class Vi extends Ei{constructor(t){super(),this.editor=t}set(t,e,n={}){if("string"==typeof e){const t=e;e=(e,n)=>{this.editor.execute(t),n()}}super.set(t,e,n)}}var Ui=n(6062),Hi=n.n(Ui),Gi=n(4717),qi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Gi.Z,qi);Gi.Z.locals;const Wi=new WeakMap;let Ki=!1;function Zi({view:t,element:e,text:n,isDirectHost:o=!0,keepOnFocus:i=!1}){const r=t.document;function s(n){Wi.get(r).set(e,{text:n,isDirectHost:o,keepOnFocus:i,hostElement:o?e:null}),t.change((t=>$i(r,t)))}Wi.has(r)||(Wi.set(r,new Map),r.registerPostFixer((t=>$i(r,t))),r.on("change:isComposing",(()=>{t.change((t=>$i(r,t)))}),{priority:"high"})),e.is("editableElement")&&e.on("change:placeholder",((t,e,n)=>{s(n)})),e.placeholder?s(e.placeholder):n&&s(n),n&&function(){Ki||b("enableplaceholder-deprecated-text-option");Ki=!0}()}function Yi(t,e){return!!e.hasClass("ck-placeholder")&&(t.removeClass("ck-placeholder",e),!0)}function $i(t,e){const n=Wi.get(t),o=[];let i=!1;for(const[t,r]of n)r.isDirectHost&&(o.push(t),Qi(e,t,r)&&(i=!0));for(const[t,r]of n){if(r.isDirectHost)continue;const n=Ji(t);n&&(o.includes(n)||(r.hostElement=n,Qi(e,t,r)&&(i=!0)))}return i}function Qi(t,e,n){const{text:o,isDirectHost:i,hostElement:r}=n;let s=!1;r.getAttribute("data-placeholder")!==o&&(t.setAttribute("data-placeholder",o,r),s=!0);return(i||1==e.childCount)&&function(t,e){if(!t.isAttached())return!1;if(Array.from(t.getChildren()).some((t=>!t.is("uiElement"))))return!1;const n=t.document,o=n.selection.anchor;return!(n.isComposing&&o&&o.parent===t||!e&&n.isFocused&&(!o||o.parent===t))}(r,n.keepOnFocus)?function(t,e){return!e.hasClass("ck-placeholder")&&(t.addClass("ck-placeholder",e),!0)}(t,r)&&(s=!0):Yi(t,r)&&(s=!0),s}function Ji(t){if(t.childCount){const e=t.getChild(0);if(e.is("element")&&!e.is("uiElement")&&!e.is("attributeElement"))return e}return null}class Xi{is(){throw new Error("is() method is abstract")}}const tr=function(t){return bo(t,4)};class er extends(I(Xi)){constructor(t){super(),this.document=t,this.parent=null}get index(){let t;if(!this.parent)return null;if(-1==(t=this.parent.getChildIndex(this)))throw new k("view-node-not-found-in-parent",this);return t}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return this.root.is("rootElement")}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.index),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=$(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o]t.data.length)throw new k("view-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.data.length)throw new k("view-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),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(t={}){const e=[];let n=t.includeSelf?this.textNode:this.parent;for(;null!==n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}}or.prototype.is=function(t){return"$textProxy"===t||"view:$textProxy"===t||"textProxy"===t||"view:textProxy"===t};class ir{constructor(...t){this._patterns=[],this.add(...t)}add(...t){for(let e of t)("string"==typeof e||e instanceof RegExp)&&(e={name:e}),this._patterns.push(e)}match(...t){for(const e of t)for(const t of this._patterns){const n=rr(e,t);if(n)return{element:e,pattern:t,match:n}}return null}matchAll(...t){const e=[];for(const n of t)for(const t of this._patterns){const o=rr(n,t);o&&e.push({element:n,pattern:t,match:o})}return e.length>0?e:null}getElementName(){if(1!==this._patterns.length)return null;const t=this._patterns[0],e=t.name;return"function"==typeof t||!e||e instanceof RegExp?null:e}}function rr(t,e){if("function"==typeof e)return e(t);const n={};return e.name&&(n.name=function(t,e){if(t instanceof RegExp)return!!e.match(t);return t===e}(e.name,t.name),!n.name)||e.attributes&&(n.attributes=function(t,e){const n=new Set(e.getAttributeKeys());_t(t)?(void 0!==t.style&&b("matcher-pattern-deprecated-attributes-style-key",t),void 0!==t.class&&b("matcher-pattern-deprecated-attributes-class-key",t)):(n.delete("style"),n.delete("class"));return sr(t,n,(t=>e.getAttribute(t)))}(e.attributes,t),!n.attributes)||e.classes&&(n.classes=function(t,e){return sr(t,e.getClassNames(),(()=>{}))}(e.classes,t),!n.classes)||e.styles&&(n.styles=function(t,e){return sr(t,e.getStyleNames(!0),(t=>e.getStyle(t)))}(e.styles,t),!n.styles)?null:n}function sr(t,e,n){const o=function(t){if(Array.isArray(t))return t.map((t=>_t(t)?(void 0!==t.key&&void 0!==t.value||b("matcher-pattern-missing-key-or-value",t),[t.key,t.value]):[t,!0]));if(_t(t))return Object.entries(t);return[[t,!0]]}(t),i=Array.from(e),r=[];if(o.forEach((([t,e])=>{i.forEach((o=>{(function(t,e){return!0===t||t===e||t instanceof RegExp&&e.match(t)})(t,o)&&function(t,e,n){if(!0===t)return!0;const o=n(e);return t===o||t instanceof RegExp&&!!String(o).match(t)}(e,o,n)&&r.push(o)}))})),o.length&&!(r.lengthi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++o0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};const Kr=Wr(Gr);const Zr=function(t,e){return Kr(Ur(t,e,Rr),t+"")};const Yr=function(t,e,n){if(!O(n))return!1;var o=typeof e;return!!("number"==o?on(n)&&Re(e,n.length):"string"==o&&e in n)&&yt(n[e],t)};const $r=function(t){return Zr((function(e,n){var o=-1,i=n.length,r=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,s&&Yr(n[0],n[1],s)&&(r=i<3?void 0:r,i=1),e=Object(e);++oe===t));return Array.isArray(e)}set(t,e){if(O(t))for(const[e,n]of Object.entries(t))this._styleProcessor.toNormalizedForm(e,n,this._styles);else this._styleProcessor.toNormalizedForm(t,e,this._styles)}remove(t){const e=ns(t);Tr(this._styles,e),delete this._styles[t],this._cleanEmptyObjectsOnPath(e)}getNormalized(t){return this._styleProcessor.getNormalized(t,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map((t=>t.join(":"))).sort().join(";")+";"}getAsString(t){if(this.isEmpty)return;if(this._styles[t]&&!O(this._styles[t]))return this._styles[t];const e=this._styleProcessor.getReducedForm(t,this._styles).find((([e])=>e===t));return Array.isArray(e)?e[1]:void 0}getStyleNames(t=!1){if(this.isEmpty)return[];if(t)return this._styleProcessor.getStyleNames(this._styles);return this._getStylesEntries().map((([t])=>t))}clear(){this._styles={}}_getStylesEntries(){const t=[],e=Object.keys(this._styles);for(const n of e)t.push(...this._styleProcessor.getReducedForm(n,this._styles));return t}_cleanEmptyObjectsOnPath(t){const e=t.split(".");if(!(e.length>1))return;const n=e.splice(0,e.length-1).join("."),o=Mr(this._styles,n);if(!o)return;!Object.keys(o).length&&this.remove(n)}}class es{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(t,e,n){if(O(e))os(n,ns(t),e);else if(this._normalizers.has(t)){const o=this._normalizers.get(t),{path:i,value:r}=o(e);os(n,i,r)}else os(n,t,e)}getNormalized(t,e){if(!t)return Qr({},e);if(void 0!==e[t])return e[t];if(this._extractors.has(t)){const n=this._extractors.get(t);if("string"==typeof n)return Mr(e,n);const o=n(t,e);if(o)return o}return Mr(e,ns(t))}getReducedForm(t,e){const n=this.getNormalized(t,e);if(void 0===n)return[];if(this._reducers.has(t)){return this._reducers.get(t)(n)}return[[t,n]]}getStyleNames(t){const e=Array.from(this._consumables.keys()).filter((e=>{const n=this.getNormalized(e,t);return n&&"object"==typeof n?Object.keys(n).length:n})),n=new Set([...e,...Object.keys(t)]);return Array.from(n)}getRelatedStyles(t){return this._consumables.get(t)||[]}setNormalizer(t,e){this._normalizers.set(t,e)}setExtractor(t,e){this._extractors.set(t,e)}setReducer(t,e){this._reducers.set(t,e)}setStyleRelation(t,e){this._mapStyleNames(t,e);for(const n of e)this._mapStyleNames(n,[t])}_mapStyleNames(t,e){this._consumables.has(t)||this._consumables.set(t,[]),this._consumables.get(t).push(...e)}}function ns(t){return t.replace("-",".")}function os(t,e,n){let o=n;O(n)&&(o=Qr({},Mr(t,e),n)),Xr(t,e,o)}class is extends er{constructor(t,e,n,o){if(super(t),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=e,this._attrs=function(t){const e=Di(t);for(const[t,n]of e)null===n?e.delete(t):"string"!=typeof n&&e.set(t,String(n));return e}(n),this._children=[],o&&this._insertChild(0,o),this._classes=new Set,this._attrs.has("class")){const t=this._attrs.get("class");rs(this._classes,t),this._attrs.delete("class")}this._styles=new ts(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(t){if("class"==t)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==t){const t=this._styles.toString();return""==t?void 0:t}return this._attrs.get(t)}hasAttribute(t){return"class"==t?this._classes.size>0:"style"==t?!this._styles.isEmpty:this._attrs.has(t)}isSimilar(t){if(!(t instanceof is))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;for(const[e,n]of this._attrs)if(!t._attrs.has(e)||t._attrs.get(e)!==n)return!1;for(const e of this._classes)if(!t._classes.has(e))return!1;for(const e of this._styles.getStyleNames())if(!t._styles.has(e)||t._styles.getAsString(e)!==this._styles.getAsString(e))return!1;return!0}hasClass(...t){for(const e of t)if(!this._classes.has(e))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(t){return this._styles.getAsString(t)}getNormalizedStyle(t){return this._styles.getNormalized(t)}getStyleNames(t){return this._styles.getStyleNames(t)}hasStyle(...t){for(const e of t)if(!this._styles.has(e))return!1;return!0}findAncestor(...t){const e=new ir(...t);let n=this.parent;for(;n&&!n.is("documentFragment");){if(e.match(n))return n;n=n.parent}return null}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const t=Array.from(this._classes).sort().join(","),e=this._styles.toString(),n=Array.from(this._attrs).map((t=>`${t[0]}="${t[1]}"`)).sort().join(" ");return this.name+(""==t?"":` class="${t}"`)+(e?` style="${e}"`:"")+(""==n?"":` ${n}`)}shouldRenderUnsafeAttribute(t){return this._unsafeAttributesToRender.includes(t)}_clone(t=!1){const e=[];if(t)for(const n of this.getChildren())e.push(n._clone(t));const n=new this.constructor(this.document,this.name,this._attrs,e);return n._classes=new Set(this._classes),n._styles.set(this._styles.getNormalized()),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n._unsafeAttributesToRender=this._unsafeAttributesToRender,n}_appendChild(t){return this._insertChild(this.childCount,t)}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new nr(t,e)];Q(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new nr(t,e):e instanceof or?new nr(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,e.document=this.document,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n0&&(this._classes.clear(),!0):"style"==t?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(t)}_addClass(t){this._fireChange("attributes",this);for(const e of bi(t))this._classes.add(e)}_removeClass(t){this._fireChange("attributes",this);for(const e of bi(t))this._classes.delete(e)}_setStyle(t,e){this._fireChange("attributes",this),"string"!=typeof t?this._styles.set(t):this._styles.set(t,e)}_removeStyle(t){this._fireChange("attributes",this);for(const e of bi(t))this._styles.remove(e)}_setCustomProperty(t,e){this._customProperties.set(t,e)}_removeCustomProperty(t){return this._customProperties.delete(t)}}function rs(t,e){const n=e.split(/\s+/);t.clear(),n.forEach((e=>t.add(e)))}is.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"view:element"===t):"element"===t||"view:element"===t||"node"===t||"view:node"===t};class ss extends is{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=as}}function as(){const t=[...this.getChildren()],e=t[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;for(const e of t)if(!e.is("uiElement"))return null;return this.childCount}ss.prototype.is=function(t,e){return e?e===this.name&&("containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class cs extends(H(ss)){constructor(t,e,n,o){super(t,e,n,o),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(t),this.bind("isFocused").to(t,"isFocused",(e=>e&&t.selection.editableElement==this)),this.listenTo(t.selection,"change",(()=>{this.isFocused=t.isFocused&&t.selection.editableElement==this}))}destroy(){this.stopListening()}}cs.prototype.is=function(t,e){return e?e===this.name&&("editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};const ls=Symbol("rootName");class ds extends cs{constructor(t,e){super(t,e),this.rootName="main"}get rootName(){return this.getCustomProperty(ls)}set rootName(t){this._setCustomProperty(ls,t)}set _name(t){this.name=t}}ds.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class hs{constructor(t={}){if(!t.boundaries&&!t.startPosition)throw new k("view-tree-walker-no-start-position",null);if(t.direction&&"forward"!=t.direction&&"backward"!=t.direction)throw new k("view-tree-walker-unknown-direction",t.startPosition,{direction:t.direction});this.boundaries=t.boundaries||null,t.startPosition?this._position=us._createAt(t.startPosition):this._position=us._createAt(t.boundaries["backward"==t.direction?"end":"start"]),this.direction=t.direction||"forward",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.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(t){let e,n;do{n=this.position,e=this.next()}while(!e.done&&t(e.value));e.done||(this._position=n)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&t.offset===n.childCount)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let o;if(n instanceof nr){if(t.isAtEnd)return this._position=us._createAfter(n),this._next();o=n.data[t.offset]}else o=n.getChild(t.offset);if(o instanceof is){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(t))return{done:!0,value:void 0};t.offset++}else t=new us(o,0);return this._position=t,this._formatReturnValue("elementStart",o,e,t,1)}if(o instanceof nr){if(this.singleCharacters)return t=new us(o,0),this._position=t,this._next();let n,i=o.data.length;return o==this._boundaryEndParent?(i=this.boundaries.end.offset,n=new or(o,0,i),t=us._createAfter(n)):(n=new or(o,0,o.data.length),t.offset++),this._position=t,this._formatReturnValue("text",n,e,t,i)}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{o=(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-t.offset}const i=new or(n,t.offset,o);return t.offset+=o,this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=us._createAfter(n),this._position=t,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",n,e,t)}_previous(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&0===t.offset)return{done:!0,value:void 0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let o;if(n instanceof nr){if(t.isAtStart)return this._position=us._createBefore(n),this._previous();o=n.data[t.offset-1]}else o=n.getChild(t.offset-1);if(o instanceof is)return this.shallow?(t.offset--,this._position=t,this._formatReturnValue("elementStart",o,e,t,1)):(t=new us(o,o.childCount),this._position=t,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",o,e,t));if(o instanceof nr){if(this.singleCharacters)return t=new us(o,o.data.length),this._position=t,this._previous();let n,i=o.data.length;if(o==this._boundaryStartParent){const e=this.boundaries.start.offset;n=new or(o,e,o.data.length-e),i=n.data.length,t=us._createBefore(n)}else n=new or(o,0,o.data.length),t.offset--;return this._position=t,this._formatReturnValue("text",n,e,t,i)}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{const e=n===this._boundaryStartParent?this.boundaries.start.offset:0;o=t.offset-e}t.offset-=o;const i=new or(n,t.offset,o);return this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=us._createBefore(n),this._position=t,this._formatReturnValue("elementStart",n,e,t,1)}_formatReturnValue(t,e,n,o,i){return e instanceof or&&(e.offsetInText+e.data.length==e.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=us._createAfter(e.textNode):(o=us._createAfter(e.textNode),this._position=o)),0===e.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=us._createBefore(e.textNode):(o=us._createBefore(e.textNode),this._position=o))),{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}}class us extends Xi{constructor(t,e){super(),this.parent=t,this.offset=e}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 0===this.offset}get isAtEnd(){const t=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===t}get root(){return this.parent.root}get editableElement(){let t=this.parent;for(;!(t instanceof cs);){if(!t.parent)return null;t=t.parent}return t}getShiftedBy(t){const e=us._createAt(this),n=e.offset+t;return e.offset=n<0?0:n,e}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new hs(e);return n.skip(t),n.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(t){const e=this.getAncestors(),n=t.getAncestors();let o=0;for(;e[o]==n[o]&&e[o];)o++;return 0===o?null:e[o-1]}isEqual(t){return this.parent==t.parent&&this.offset==t.offset}isBefore(t){return"before"==this.compareWith(t)}isAfter(t){return"after"==this.compareWith(t)}compareWith(t){if(this.root!==t.root)return"different";if(this.isEqual(t))return"same";const e=this.parent.is("node")?this.parent.getPath():[],n=t.parent.is("node")?t.parent.getPath():[];e.push(this.offset),n.push(t.offset);const o=$(e,n);switch(o){case"prefix":return"before";case"extension":return"after";default:return e[o]0?new this(n,o):new this(o,n)}static _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}static _createOn(t){const e=t.is("$textProxy")?t.offsetSize:1;return this._createFromPositionAndShift(us._createBefore(t),e)}}function ps(t){return!(!t.item.is("attributeElement")&&!t.item.is("uiElement"))}gs.prototype.is=function(t){return"range"===t||"view:range"===t};class ms extends(I(Xi)){constructor(...t){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",t.length&&this.setTo(...t)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone()}get focus(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone()}get isCollapsed(){return 1===this.rangeCount&&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 t of this._ranges)yield t.clone()}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?t.clone():null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?t.clone():null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}isEqual(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}isSimilar(t){if(this.isBackward!=t.isBackward)return!1;const e=Y(this.getRanges());if(e!=Y(t.getRanges()))return!1;if(0==e)return!0;for(let e of this.getRanges()){e=e.getTrimmed();let n=!1;for(let o of t.getRanges())if(o=o.getTrimmed(),e.start.isEqual(o.start)&&e.end.isEqual(o.end)){n=!0;break}if(!n)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]),this._setFakeOptions(o);else if(e instanceof ms||e instanceof fs)this._setRanges(e.getRanges(),e.isBackward),this._setFakeOptions({fake:e.isFake,label:e.fakeSelectionLabel});else if(e instanceof gs)this._setRanges([e],o&&o.backward),this._setFakeOptions(o);else if(e instanceof us)this._setRanges([new gs(e)]),this._setFakeOptions(o);else if(e instanceof er){const t=!!o&&!!o.backward;let i;if(void 0===n)throw new k("view-selection-setto-required-second-parameter",this);i="in"==n?gs._createIn(e):"on"==n?gs._createOn(e):new gs(us._createAt(e,n)),this._setRanges([i],t),this._setFakeOptions(o)}else{if(!Q(e))throw new k("view-selection-setto-not-selectable",this);this._setRanges(e,o&&o.backward),this._setFakeOptions(o)}this.fire("change")}setFocus(t,e){if(null===this.anchor)throw new k("view-selection-setfocus-no-ranges",this);const n=us._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.pop(),"before"==n.compareWith(o)?this._addRange(new gs(n,o),!0):this._addRange(new gs(o,n)),this.fire("change")}_setRanges(t,e=!1){t=Array.from(t),this._ranges=[];for(const e of t)this._addRange(e);this._lastRangeBackward=!!e}_setFakeOptions(t={}){this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||""}_addRange(t,e=!1){if(!(t instanceof gs))throw new k("view-selection-add-range-not-range",this);this._pushRange(t),this._lastRangeBackward=!!e}_pushRange(t){for(const e of this._ranges)if(t.isIntersecting(e))throw new k("view-selection-range-intersects",this,{addedRange:t,intersectingRange:e});this._ranges.push(new gs(t.start,t.end))}}ms.prototype.is=function(t){return"selection"===t||"view:selection"===t};class fs extends(I(Xi)){constructor(...t){super(),this._selection=new ms,this._selection.delegate("change").to(this),t.length&&this._selection.setTo(...t)}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(t){return this._selection.isEqual(t)}isSimilar(t){return this._selection.isSimilar(t)}_setTo(...t){this._selection.setTo(...t)}_setFocus(t,e){this._selection.setFocus(t,e)}}fs.prototype.is=function(t){return"selection"===t||"documentSelection"==t||"view:selection"==t||"view:documentSelection"==t};class ks extends h{constructor(t,e,n){super(t,e),this.startRange=n,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const bs=Symbol("bubbling contexts");function ws(t){return class extends t{fire(t,...e){try{const n=t instanceof h?t:new h(this,t),o=vs(this);if(!o.size)return;if(As(n,"capturing",this),Cs(o,"$capture",n,...e))return n.return;const i=n.startRange||this.selection.getFirstRange(),r=i?i.getContainedElement():null,s=!!r&&Boolean(_s(o,r));let a=r||function(t){if(!t)return null;const e=t.start.parent,n=t.end.parent,o=e.getPath(),i=n.getPath();return o.length>i.length?e:n}(i);if(As(n,"atTarget",a),!s){if(Cs(o,"$text",n,...e))return n.return;As(n,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(Cs(o,"$root",n,...e))return n.return}else if(a.is("element")&&Cs(o,a.name,n,...e))return n.return;if(Cs(o,a,n,...e))return n.return;a=a.parent,As(n,"bubbling",a)}return As(n,"bubbling",this),Cs(o,"$document",n,...e),n.return}catch(t){k.rethrowUnexpectedError(t,this)}}_addEventListener(t,e,n){const o=bi(n.context||"$document"),i=vs(this);for(const r of o){let o=i.get(r);o||(o=new(I()),i.set(r,o)),this.listenTo(o,t,e,n)}}_removeEventListener(t,e){const n=vs(this);for(const o of n.values())this.stopListening(o,t,e)}}}{const t=ws(Object);["fire","_addEventListener","_removeEventListener"].forEach((e=>{ws[e]=t.prototype[e]}))}function As(t,e,n){t instanceof ks&&(t._eventPhase=e,t._currentTarget=n)}function Cs(t,e,n,...o){const i="string"==typeof e?t.get(e):_s(t,e);return!!i&&(i.fire(n,...o),n.stop.called)}function _s(t,e){for(const[n,o]of t)if("function"==typeof n&&n(e))return o;return null}function vs(t){return t[bs]||(t[bs]=new Map),t[bs]}class ys extends(ws(H())){constructor(t){super(),this._postFixers=new Set,this.selection=new fs,this.roots=new vi({idProperty:"rootName"}),this.stylesProcessor=t,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(t="main"){return this.roots.get(t)}registerPostFixer(t){this._postFixers.add(t)}destroy(){this.roots.forEach((t=>t.destroy())),this.stopListening()}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(e=n(t),e)break}while(e)}}class xs extends is{constructor(t,e,n,o){super(t,e,n,o),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Es}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new k("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(t){return null!==this.id||null!==t.id?this.id===t.id:super.isSimilar(t)&&this.priority==t.priority}_clone(t=!1){const e=super._clone(t);return e._priority=this._priority,e._id=this._id,e}}function Es(){if(Ds(this))return null;let t=this.parent;for(;t&&t.is("attributeElement");){if(Ds(t)>1)return null;t=t.parent}return!t||Ds(t)>1?null:this.childCount}function Ds(t){return Array.from(t.getChildren()).filter((t=>!t.is("uiElement"))).length}xs.DEFAULT_PRIORITY=10,xs.prototype.is=function(t,e){return e?e===this.name&&("attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t):"attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Is extends is{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Ss}_insertChild(t,e){if(e&&(e instanceof er||Array.from(e).length>0))throw new k("view-emptyelement-cannot-add",[this,e]);return 0}}function Ss(){return null}Is.prototype.is=function(t,e){return e?e===this.name&&("emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t):"emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ts extends is{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Bs}_insertChild(t,e){if(e&&(e instanceof er||Array.from(e).length>0))throw new k("view-uielement-cannot-add",[this,e]);return 0}render(t,e){return this.toDomElement(t)}toDomElement(t){const e=t.createElement(this.name);for(const t of this.getAttributeKeys())e.setAttribute(t,this.getAttribute(t));return e}}function Ms(t){t.document.on("arrowKey",((e,n)=>function(t,e,n){if(e.keyCode==ui.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection(),o=1==t.rangeCount&&t.getRangeAt(0).collapsed;if(o||e.shiftKey){const e=t.focusNode,i=t.focusOffset,r=n.domPositionToView(e,i);if(null===r)return;let s=!1;const a=r.getLastMatchingPosition((t=>(t.item.is("uiElement")&&(s=!0),!(!t.item.is("uiElement")&&!t.item.is("attributeElement")))));if(s){const e=n.viewPositionToDom(a);o?t.collapse(e.parent,e.offset):t.extend(e.parent,e.offset)}}}}(0,n,t.domConverter)),{priority:"low"})}function Bs(){return null}Ts.prototype.is=function(t,e){return e?e===this.name&&("uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t):"uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ns extends is{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Ps}_insertChild(t,e){if(e&&(e instanceof er||Array.from(e).length>0))throw new k("view-rawelement-cannot-add",[this,e]);return 0}render(t,e){}}function Ps(){return null}Ns.prototype.is=function(t,e){return e?e===this.name&&("rawElement"===t||"view:rawElement"===t||"element"===t||"view:element"===t):"rawElement"===t||"view:rawElement"===t||t===this.name||t==="view:"+this.name||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class zs extends(I(Xi)){constructor(t,e){super(),this._children=[],this._customProperties=new Map,this.document=t,e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(t){return this._insertChild(this.childCount,t)}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new nr(t,e)];Q(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new nr(t,e):e instanceof or?new nr(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n{const n=t[t.length-1],o=!e.is("uiElement");return n&&n.breakAttributes==o?n.nodes.push(e):t.push({breakAttributes:o,nodes:[e]}),t}),[]);let o=null,i=t;for(const{nodes:t,breakAttributes:e}of n){const n=this._insertNodes(i,t,e);o||(o=n.start),i=n.end}return o?new gs(o,i):new gs(t)}remove(t){const e=t instanceof gs?t:gs._createOn(t);if(qs(e,this.document),e.isCollapsed)return new zs(this.document);const{start:n,end:o}=this._breakAttributesRange(e,!0),i=n.parent,r=o.offset-n.offset,s=i._removeChildren(n.offset,r);for(const t of s)this._removeFromClonedElementsGroup(t);const a=this.mergeAttributes(n);return e.start=a,e.end=a.clone(),new zs(this.document,s)}clear(t,e){qs(t,this.document);const n=t.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of n){const n=o.item;let i;if(n.is("element")&&e.isSimilar(n))i=gs._createOn(n);else if(!o.nextPosition.isAfter(t.start)&&n.is("$textProxy")){const t=n.getAncestors().find((t=>t.is("element")&&e.isSimilar(t)));t&&(i=gs._createIn(t))}i&&(i.end.isAfter(t.end)&&(i.end=t.end),i.start.isBefore(t.start)&&(i.start=t.start),this.remove(i))}}move(t,e){let n;if(e.isAfter(t.end)){const o=(e=this._breakAttributes(e,!0)).parent,i=o.childCount;t=this._breakAttributesRange(t,!0),n=this.remove(t),e.offset+=o.childCount-i}else n=this.remove(t);return this.insert(e,n)}wrap(t,e){if(!(e instanceof xs))throw new k("view-writer-wrap-invalid-attribute",this.document);if(qs(t,this.document),t.isCollapsed){let o=t.start;o.parent.is("element")&&(n=o.parent,!Array.from(n.getChildren()).some((t=>!t.is("uiElement"))))&&(o=o.getLastMatchingPosition((t=>t.item.is("uiElement")))),o=this._wrapPosition(o,e);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(t.start)&&this.setSelection(o),new gs(o)}return this._wrapRange(t,e);var n}unwrap(t,e){if(!(e instanceof xs))throw new k("view-writer-unwrap-invalid-attribute",this.document);if(qs(t,this.document),t.isCollapsed)return t;const{start:n,end:o}=this._breakAttributesRange(t,!0),i=n.parent,r=this._unwrapChildren(i,n.offset,o.offset,e),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new gs(s,a)}rename(t,e){const n=new ss(this.document,t,e.getAttributes());return this.insert(us._createAfter(e),n),this.move(gs._createIn(e),us._createAt(n,0)),this.remove(gs._createOn(e)),n}clearClonedElementsGroup(t){this._cloneGroups.delete(t)}createPositionAt(t,e){return us._createAt(t,e)}createPositionAfter(t){return us._createAfter(t)}createPositionBefore(t){return us._createBefore(t)}createRange(t,e){return new gs(t,e)}createRangeOn(t){return gs._createOn(t)}createRangeIn(t){return gs._createIn(t)}createSelection(...t){return new ms(...t)}createSlot(t="children"){if(!this._slotFactory)throw new k("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,t)}_registerSlotFactory(t){this._slotFactory=t}_clearSlotFactory(){this._slotFactory=null}_insertNodes(t,e,n){let o,i;if(o=n?Ls(t):t.parent.is("$text")?t.parent.parent:t.parent,!o)throw new k("view-writer-invalid-position-container",this.document);i=n?this._breakAttributes(t,!0):t.parent.is("$text")?Fs(t):t;const r=o._insertChild(i.offset,e);for(const t of e)this._addToClonedElementsGroup(t);const s=i.getShiftedBy(r),a=this.mergeAttributes(i);a.isEqual(i)||s.offset--;const c=this.mergeAttributes(s);return new gs(a,c)}_wrapChildren(t,e,n,o){let i=e;const r=[];for(;i!1,t.parent._insertChild(t.offset,n);const o=new gs(t,t.getShiftedBy(1));this.wrap(o,e);const i=new us(n.parent,n.index);n._remove();const r=i.nodeBefore,s=i.nodeAfter;return r instanceof nr&&s instanceof nr?Vs(r,s):Rs(i)}_wrapAttributeElement(t,e){if(!Ws(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&e.hasAttribute(n)&&e.getAttribute(n)!==t.getAttribute(n))return!1;for(const n of t.getStyleNames())if(e.hasStyle(n)&&e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&(e.hasAttribute(n)||this.setAttribute(n,t.getAttribute(n),e));for(const n of t.getStyleNames())e.hasStyle(n)||this.setStyle(n,t.getStyle(n),e);for(const n of t.getClassNames())e.hasClass(n)||this.addClass(n,e);return!0}_unwrapAttributeElement(t,e){if(!Ws(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&(!e.hasAttribute(n)||e.getAttribute(n)!==t.getAttribute(n)))return!1;if(!e.hasClass(...t.getClassNames()))return!1;for(const n of t.getStyleNames())if(!e.hasStyle(n)||e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&this.removeAttribute(n,e);return this.removeClass(Array.from(t.getClassNames()),e),this.removeStyle(Array.from(t.getStyleNames()),e),!0}_breakAttributesRange(t,e=!1){const n=t.start,o=t.end;if(qs(t,this.document),t.isCollapsed){const n=this._breakAttributes(t.start,e);return new gs(n,n)}const i=this._breakAttributes(o,e),r=i.parent.childCount,s=this._breakAttributes(n,e);return i.offset+=i.parent.childCount-r,new gs(s,i)}_breakAttributes(t,e=!1){const n=t.offset,o=t.parent;if(t.parent.is("emptyElement"))throw new k("view-writer-cannot-break-empty-element",this.document);if(t.parent.is("uiElement"))throw new k("view-writer-cannot-break-ui-element",this.document);if(t.parent.is("rawElement"))throw new k("view-writer-cannot-break-raw-element",this.document);if(!e&&o.is("$text")&&Gs(o.parent))return t.clone();if(Gs(o))return t.clone();if(o.is("$text"))return this._breakAttributes(Fs(t),e);if(n==o.childCount){const t=new us(o.parent,o.index+1);return this._breakAttributes(t,e)}if(0===n){const t=new us(o.parent,o.index);return this._breakAttributes(t,e)}{const t=o.index+1,i=o._clone();o.parent._insertChild(t,i),this._addToClonedElementsGroup(i);const r=o.childCount-n,s=o._removeChildren(n,r);i._appendChild(s);const a=new us(o.parent,t);return this._breakAttributes(a,e)}}_addToClonedElementsGroup(t){if(!t.root.is("rootElement"))return;if(t.is("element"))for(const e of t.getChildren())this._addToClonedElementsGroup(e);const e=t.id;if(!e)return;let n=this._cloneGroups.get(e);n||(n=new Set,this._cloneGroups.set(e,n)),n.add(t),t._clonesGroup=n}_removeFromClonedElementsGroup(t){if(t.is("element"))for(const e of t.getChildren())this._removeFromClonedElementsGroup(e);const e=t.id;if(!e)return;const n=this._cloneGroups.get(e);n&&n.delete(t)}}function Ls(t){let e=t.parent;for(;!Gs(e);){if(!e)return;e=e.parent}return e}function js(t,e){return t.prioritye.priority)&&t.getIdentity()n instanceof t)))throw new k("view-writer-insert-invalid-node-type",e);n.is("$text")||Hs(n.getChildren(),e)}}function Gs(t){return t&&(t.is("containerElement")||t.is("documentFragment"))}function qs(t,e){const n=Ls(t.start),o=Ls(t.end);if(!n||!o||n!==o)throw new k("view-writer-invalid-range-container",e)}function Ws(t,e){return null===t.id&&null===e.id}const Ks=t=>t.createTextNode(" "),Zs=t=>{const e=t.createElement("span");return e.dataset.ckeFiller="true",e.innerText=" ",e},Ys=t=>{const e=t.createElement("br");return e.dataset.ckeFiller="true",e},$s=7,Qs="⁠".repeat($s);function Js(t){return"string"==typeof t?t.substr(0,$s)===Qs:Bo(t)&&t.data.substr(0,$s)===Qs}function Xs(t){return t.data.length==$s&&Js(t)}function ta(t){const e="string"==typeof t?t:t.data;return Js(t)?e.slice($s):e}function ea(t,e){if(e.keyCode==ui.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(1==t.rangeCount&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer,n=t.getRangeAt(0).startOffset;Js(e)&&n<=$s&&t.collapse(e,0)}}}var na=n(9315),oa={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(na.Z,oa);na.Z.locals;class ia extends(H()){constructor(t,e){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=t,this.selection=e,this.set("isFocused",!1),this.set("isSelecting",!1),i.isBlink&&!i.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()})),this.set("isComposing",!1),this.on("change:isComposing",(()=>{this.isComposing||this.render()}))}markToSync(t,e){if("text"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if("attributes"===t)this.markedAttributes.add(e);else{if("children"!==t){throw new k("view-renderer-unknown-type",this)}this.markedChildren.add(e)}}}render(){if(this.isComposing&&!i.isAndroid)return;let t=null;const e=!(i.isBlink&&!i.isAndroid)||!this.isSelecting;for(const t of this.markedChildren)this._updateChildrenMappings(t);e?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(t=this.domConverter.domPositionToView(this._inlineFiller),t&&t.parent.is("$text")&&(t=us._createBefore(t.parent)));for(const t of this.markedAttributes)this._updateAttrs(t);for(const e of this.markedChildren)this._updateChildren(e,{inlineFillerPosition:t});for(const e of this.markedTexts)!this.markedChildren.has(e.parent)&&this.domConverter.mapViewToDom(e.parent)&&this._updateText(e,{inlineFillerPosition:t});if(e)if(t){const e=this.domConverter.viewPositionToDom(t),n=e.parent.ownerDocument;Js(e.parent)?this._inlineFiller=e.parent:this._inlineFiller=ra(n,e.parent,e.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.childNodes),o=Array.from(this.domConverter.viewChildrenToDom(t,{withChildren:!1})),i=this._diffNodeLists(n,o),r=this._findUpdateActions(i,n,o,sa);if(-1!==r.indexOf("update")){const e={equal:0,insert:0,delete:0};for(const i of r)if("update"===i){const i=e.equal+e.insert,r=e.equal+e.delete,s=t.getChild(i);!s||s.is("uiElement")||s.is("rawElement")||this._updateElementMappings(s,n[r]),ti(o[i]),e.equal++}else e[i]++}}_updateElementMappings(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t)}_getInlineFillerPosition(){const t=this.selection.getFirstPosition();return t.parent.is("$text")?us._createBefore(t.parent):t}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&Bo(e.parent)&&Js(e.parent))}_removeInlineFiller(){const t=this._inlineFiller;if(!Js(t))throw new k("view-renderer-filler-was-lost",this);Xs(t)?t.remove():t.data=t.data.substr($s),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=t.parent,n=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is("element"))return!1;if(!function(t){if("false"==t.getAttribute("contenteditable"))return!1;const e=t.findAncestor((t=>t.hasAttribute("contenteditable")));return!e||"true"==e.getAttribute("contenteditable")}(e))return!1;if(n===e.getFillerOffset())return!1;const o=t.nodeBefore,r=t.nodeAfter;return!(o instanceof nr||r instanceof nr)&&(!i.isAndroid||!o&&!r)}_updateText(t,e){const n=this.domConverter.findCorrespondingDomText(t);let o=this.domConverter.viewToDom(t).data;const i=e.inlineFillerPosition;i&&i.parent==t.parent&&i.offset==t.index&&(o=Qs+o),la(n,o)}_updateAttrs(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.attributes).map((t=>t.name)),o=t.getAttributeKeys();for(const n of o)this.domConverter.setDomElementAttribute(e,n,t.getAttribute(n),t);for(const o of n)t.hasAttribute(o)||this.domConverter.removeDomElementAttribute(e,o)}_updateChildren(t,e){const n=this.domConverter.mapViewToDom(t);if(!n)return;if(i.isAndroid){let t=null;for(const e of Array.from(n.childNodes)){if(t&&Bo(t)&&Bo(e)){n.normalize();break}t=e}}const o=e.inlineFillerPosition,r=n.childNodes,s=Array.from(this.domConverter.viewChildrenToDom(t,{bind:!0}));o&&o.parent===t&&ra(n.ownerDocument,s,o.offset);const a=this._diffNodeLists(r,s),c=this._findUpdateActions(a,r,s,aa);let l=0;const d=new Set;for(const t of c)"delete"===t?(d.add(r[l]),ti(r[l])):"equal"!==t&&"update"!==t||l++;l=0;for(const t of c)"insert"===t?(Ko(n,l,s[l]),l++):"update"===t?(la(r[l],s[l].data),l++):"equal"===t&&(this._markDescendantTextToSync(this.domConverter.domToView(s[l])),l++);for(const t of d)t.parentNode||this.domConverter.unbindDomElement(t)}_diffNodeLists(t,e){return t=function(t,e){const n=Array.from(t);if(0==n.length||!e)return n;const o=n[n.length-1];o==e&&n.pop();return n}(t,this._fakeSelectionContainer),l(t,e,ca.bind(null,this.domConverter))}_findUpdateActions(t,e,n,o){if(-1===t.indexOf("insert")||-1===t.indexOf("delete"))return t;let i=[],r=[],s=[];const a={equal:0,insert:0,delete:0};for(const c of t)"insert"===c?s.push(n[a.equal+a.insert]):"delete"===c?r.push(e[a.equal+a.delete]):(i=i.concat(l(r,s,o).map((t=>"equal"===t?"update":t))),i.push("equal"),r=[],s=[]),a[c]++;return i.concat(l(r,s,o).map((t=>"equal"===t?"update":t)))}_markDescendantTextToSync(t){if(t)if(t.is("$text"))this.markedTexts.add(t);else if(t.is("element"))for(const e of t.getChildren())this._markDescendantTextToSync(e)}_updateSelection(){if(i.isBlink&&!i.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(t)):this.isComposing&&i.isAndroid||this._updateDomSelection(t))}_updateFakeSelection(t){const e=t.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(t){const e=t.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent=" ",e}(e));const n=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(n,this.selection),!this._fakeSelectionNeedsUpdate(t))return;n.parentElement&&n.parentElement==t||t.appendChild(n),n.textContent=this.selection.fakeSelectionLabel||" ";const o=e.getSelection(),i=e.createRange();o.removeAllRanges(),i.selectNodeContents(n),o.addRange(i)}_updateDomSelection(t){const e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e))return;const n=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);e.setBaseAndExtent(n.parent,n.offset,o.parent,o.offset),i.isGecko&&function(t,e){const n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1)return;const o=n.childNodes[t.offset];o&&"BR"==o.tagName&&e.addRange(e.getRangeAt(0))}(o,e)}_domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;const e=t&&this.domConverter.domSelectionToView(t);return(!e||!this.selection.isEqual(e))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(e))}_fakeSelectionNeedsUpdate(t){const e=this._fakeSelectionContainer,n=t.ownerDocument.getSelection();return!e||e.parentElement!==t||(n.anchorNode!==e&&!e.contains(n.anchorNode)||e.textContent!==this.selection.fakeSelectionLabel)}_removeDomSelection(){for(const t of this.domDocuments){const e=t.getSelection();if(e.rangeCount){const n=t.activeElement,o=this.domConverter.mapDomToView(n);n&&o&&e.removeAllRanges()}}}_removeFakeSelection(){const t=this._fakeSelectionContainer;t&&t.remove()}_updateFocus(){if(this.isFocused){const t=this.selection.editableElement;t&&this.domConverter.focus(t)}}}function ra(t,e,n){const o=e instanceof Array?e:e.childNodes,i=o[n];if(Bo(i))return i.data=Qs+i.data,i;{const i=t.createTextNode(Qs);return Array.isArray(e)?o.splice(n,0,i):Ko(e,n,i),i}}function sa(t,e){return yo(t)&&yo(e)&&!Bo(t)&&!Bo(e)&&!Zo(t)&&!Zo(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function aa(t,e){return yo(t)&&yo(e)&&Bo(t)&&Bo(e)}function ca(t,e,n){return e===n||(Bo(e)&&Bo(n)?e.data===n.data:!(!t.isBlockFiller(e)||!t.isBlockFiller(n)))}function la(t,e){const n=t.data;if(n==e)return;const o=s(n,e);for(const e of o)"insert"===e.type?t.insertData(e.index,e.values.join("")):t.deleteData(e.index,e.howMany)}const da=Ys(Mo.document),ha=Ks(Mo.document),ua=Zs(Mo.document),ga="data-ck-unsafe-attribute-",pa="data-ck-unsafe-element";class ma{constructor(t,{blockFillerMode:e,renderingMode:n="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new ir,this._inlineObjectElementMatcher=new ir,this._elementsWithTemporaryCustomProperties=new Set,this.document=t,this.renderingMode=n,this.blockFillerMode=e||("editing"===n?"br":"nbsp"),this.preElements=["pre"],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="editing"===this.renderingMode?Mo.document:Mo.document.implementation.createHTMLDocument("")}bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new ms(e))}fakeSelectionToView(t){return this._fakeSelectionMapping.get(t)}bindElements(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}unbindDomElement(t){const e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t),this._viewToDomMapping.delete(e);for(const e of Array.from(t.children))this.unbindDomElement(e)}}bindDocumentFragments(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}shouldRenderAttribute(t,e,n){return"data"===this.renderingMode||!(t=t.toLowerCase()).startsWith("on")&&(("srcdoc"!==t||!e.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===n&&("src"===t||"srcset"===t)||("source"===n&&"srcset"===t||!e.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))))}setContentOf(t,e){if("data"===this.renderingMode)return void(t.innerHTML=e);const n=(new DOMParser).parseFromString(e,"text/html"),o=n.createDocumentFragment(),i=n.body.childNodes;for(;i.length>0;)o.appendChild(i[0]);const r=n.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),s=[];let a;for(;a=r.nextNode();)s.push(a);for(const t of s){for(const e of t.getAttributeNames())this.setDomElementAttribute(t,e,t.getAttribute(e));const e=t.tagName.toLowerCase();this._shouldRenameElement(e)&&(wa(e),t.replaceWith(this._createReplacementDomElement(e,t)))}for(;t.firstChild;)t.firstChild.remove();t.append(o)}viewToDom(t,e={}){if(t.is("$text")){const e=this._processDataFromViewText(t);return this._domDocument.createTextNode(e)}{const n=t;if(this.mapViewToDom(n)){if(!n.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(n);this._elementsWithTemporaryCustomProperties.add(n)}let o;if(n.is("documentFragment"))o=this._domDocument.createDocumentFragment(),e.bind&&this.bindDocumentFragments(o,n);else{if(n.is("uiElement"))return o="$comment"===n.name?this._domDocument.createComment(n.getCustomProperty("$rawContent")):n.render(this._domDocument,this),e.bind&&this.bindElements(o,n),o;this._shouldRenameElement(n.name)?(wa(n.name),o=this._createReplacementDomElement(n.name)):o=n.hasAttribute("xmlns")?this._domDocument.createElementNS(n.getAttribute("xmlns"),n.name):this._domDocument.createElement(n.name),n.is("rawElement")&&n.render(o,this),e.bind&&this.bindElements(o,n);for(const t of n.getAttributeKeys())this.setDomElementAttribute(o,t,n.getAttribute(t),n)}if(!1!==e.withChildren)for(const t of this.viewChildrenToDom(n,e))o.appendChild(t);return o}}setDomElementAttribute(t,e,n,o){const i=this.shouldRenderAttribute(e,n,t.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(e);i||b("domconverter-unsafe-attribute-detected",{domElement:t,key:e,value:n}),function(t){try{Mo.document.createAttribute(t)}catch(t){return!1}return!0}(e)?(t.hasAttribute(e)&&!i?t.removeAttribute(e):t.hasAttribute(ga+e)&&i&&t.removeAttribute(ga+e),t.setAttribute(i?e:ga+e,n)):b("domconverter-invalid-attribute-detected",{domElement:t,key:e,value:n})}removeDomElementAttribute(t,e){e!=pa&&(t.removeAttribute(e),t.removeAttribute(ga+e))}*viewChildrenToDom(t,e={}){const n=t.getFillerOffset&&t.getFillerOffset();let o=0;for(const i of t.getChildren()){n===o&&(yield this._getBlockFiller());const t=i.is("element")&&!!i.getCustomProperty("dataPipeline:transparentRendering")&&!yi(i.getAttributes());t&&"data"==this.renderingMode?yield*this.viewChildrenToDom(i,e):(t&&b("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:i}),yield this.viewToDom(i,e)),o++}n===o&&(yield this._getBlockFiller())}viewRangeToDom(t){const e=this.viewPositionToDom(t.start),n=this.viewPositionToDom(t.end),o=this._domDocument.createRange();return o.setStart(e.parent,e.offset),o.setEnd(n.parent,n.offset),o}viewPositionToDom(t){const e=t.parent;if(e.is("$text")){const n=this.findCorrespondingDomText(e);if(!n)return null;let o=t.offset;return Js(n)&&(o+=$s),{parent:n,offset:o}}{let n,o,i;if(0===t.offset){if(n=this.mapViewToDom(e),!n)return null;i=n.childNodes[0]}else{const e=t.nodeBefore;if(o=e.is("$text")?this.findCorrespondingDomText(e):this.mapViewToDom(e),!o)return null;n=o.parentNode,i=o.nextSibling}if(Bo(i)&&Js(i))return{parent:i,offset:$s};return{parent:n,offset:o?Wo(o)+1:0}}}domToView(t,e={}){const n=[],o=this._domToView(t,e,n),i=o.next().value;return i?(o.next(),this._processDomInlineNodes(null,n,e),i.is("$text")&&0==i.data.length?null:i):null}*domChildrenToView(t,e={},n=[]){for(let o=0;o{const{scrollLeft:e,scrollTop:n}=t;o.push([e,n])})),e.focus(),ka(e,(t=>{const[e,n]=o.shift();t.scrollLeft=e,t.scrollTop=n})),Mo.window.scrollTo(t,n)}}_clearDomSelection(){const t=this.mapViewToDom(this.document.selection.editableElement);if(!t)return;const e=t.ownerDocument.defaultView.getSelection(),n=this.domSelectionToView(e);n&&n.rangeCount>0&&e.removeAllRanges()}isElement(t){return t&&t.nodeType==Node.ELEMENT_NODE}isDocumentFragment(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(t){return"br"==this.blockFillerMode?t.isEqualNode(da):!("BR"!==t.tagName||!ba(t,this.blockElements)||1!==t.parentNode.childNodes.length)||(t.isEqualNode(ua)||function(t,e){const n=t.isEqualNode(ha);return n&&ba(t,e)&&1===t.parentNode.childNodes.length}(t,this.blockElements))}isDomSelectionBackward(t){if(t.isCollapsed)return!1;const e=this._domDocument.createRange();try{e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset)}catch(t){return!1}const n=e.collapsed;return e.detach(),n}getHostViewElement(t){const e=function(t){const e=[];let n=t;for(;n&&n.nodeType!=Node.DOCUMENT_NODE;)e.unshift(n),n=n.parentNode;return e}(t);for(e.pop();e.length;){const t=e.pop(),n=this._domToViewMapping.get(t);if(n&&(n.is("uiElement")||n.is("rawElement")))return n}return null}isDomSelectionCorrect(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}registerRawContentMatcher(t){this._rawContentElementMatcher.add(t)}registerInlineObjectMatcher(t){this._inlineObjectElementMatcher.add(t)}_clearTemporaryCustomProperties(){for(const t of this._elementsWithTemporaryCustomProperties)t._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return Ks(this._domDocument);case"markedNbsp":return Zs(this._domDocument);case"br":return Ys(this._domDocument)}}_isDomSelectionPositionCorrect(t,e){if(Bo(t)&&Js(t)&&e<$s)return!1;if(this.isElement(t)&&Js(t.childNodes[e]))return!1;const n=this.mapDomToView(t);return!n||!n.is("uiElement")&&!n.is("rawElement")}*_domToView(t,e,n){if(this.isBlockFiller(t))return null;const o=this.getHostViewElement(t);if(o)return o;if(Zo(t)&&e.skipComments)return null;if(Bo(t)){if(Xs(t))return null;{const e=t.data;if(""===e)return null;const o=new nr(this.document,e);return n.push(o),o}}{let o=this.mapDomToView(t);if(o)return this._isInlineObjectElement(o)&&n.push(o),o;if(this.isDocumentFragment(t))o=new zs(this.document),e.bind&&this.bindDocumentFragments(t,o);else{o=this._createViewElement(t,e),e.bind&&this.bindElements(t,o);const i=t.attributes;if(i)for(let t=i.length,e=0;e0?e[t-1]:null,c=t+1this.preElements.includes(t.name))))return e;if(" "==e.charAt(0)){const n=this._getTouchingInlineViewNode(t,!1);!(n&&n.is("$textProxy")&&this._nodeEndsWithSpace(n))&&n||(e=" "+e.substr(1))}if(" "==e.charAt(e.length-1)){const n=this._getTouchingInlineViewNode(t,!0),o=n&&n.is("$textProxy")&&" "==n.data.charAt(0);" "!=e.charAt(e.length-2)&&n&&!o||(e=e.substr(0,e.length-1)+" ")}return e.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(t){if(t.getAncestors().some((t=>this.preElements.includes(t.name))))return!1;const e=this._processDataFromViewText(t);return" "==e.charAt(e.length-1)}_getTouchingInlineViewNode(t,e){const n=new hs({startPosition:e?us._createAfter(t):us._createBefore(t),direction:e?"forward":"backward"});for(const t of n){if(t.item.is("element","br"))return null;if(this._isInlineObjectElement(t.item))return t.item;if(t.item.is("containerElement"))return null;if(t.item.is("$textProxy"))return t.item}return null}_isBlockDomElement(t){return this.isElement(t)&&this.blockElements.includes(t.tagName.toLowerCase())}_isBlockViewElement(t){return t.is("element")&&this.blockElements.includes(t.name)}_isInlineObjectElement(t){return!!t.is("element")&&("br"==t.name||this.inlineObjectElements.includes(t.name)||!!this._inlineObjectElementMatcher.match(t))}_createViewElement(t,e){if(Zo(t))return new Ts(this.document,"$comment");const n=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();return new is(this.document,n)}_isViewElementWithRawContent(t,e){return!1!==e.withChildren&&t.is("element")&&!!this._rawContentElementMatcher.match(t)}_shouldRenameElement(t){const e=t.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(e)}_createReplacementDomElement(t,e){const n=this._domDocument.createElement("span");if(n.setAttribute(pa,t),e){for(;e.firstChild;)n.appendChild(e.firstChild);for(const t of e.getAttributeNames())n.setAttribute(t,e.getAttribute(t))}return n}}function fa(t,e){return t.getAncestors().some((t=>t.is("element")&&e.includes(t.name)))}function ka(t,e){let n=t;for(;n;)e(n),n=n.parentElement}function ba(t,e){const n=t.parentNode;return!!n&&!!n.tagName&&e.includes(n.tagName.toLowerCase())}function wa(t){"script"===t&&b("domconverter-unsafe-script-element-detected"),"style"===t&&b("domconverter-unsafe-style-element-detected")}class Aa extends(Do()){constructor(t){super(),this._isEnabled=!1,this.view=t,this.document=t.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(t){return t&&3===t.nodeType&&(t=t.parentNode),!(!t||1!==t.nodeType)&&t.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const Ca=$r((function(t,e){Ee(e,dn(e),t)}));class _a{constructor(t,e,n){this.view=t,this.document=t.document,this.domEvent=e,this.domTarget=e.target,Ca(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class va extends Aa{constructor(){super(...arguments),this.useCapture=!1}observe(t){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((e=>{this.listenTo(t,e,((t,e)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(e.target)&&this.onDomEvent(e)}),{useCapture:this.useCapture})}))}stopObserving(t){this.stopListening(t)}fire(t,e,n){this.isEnabled&&this.document.fire(t,new _a(this.view,e,n))}}class ya extends va{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(t){const e={keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,get keystroke(){return pi(this)}};this.fire(t.type,t,e)}}const xa=function(){return tt.Date.now()};var Ea=/\s/;const Da=function(t){for(var e=t.length;e--&&Ea.test(t.charAt(e)););return e};var Ia=/^\s+/;const Sa=function(t){return t?t.slice(0,Da(t)+1).replace(Ia,""):t};var Ta=/^[-+]0x[0-9a-f]+$/i,Ma=/^0b[01]+$/i,Ba=/^0o[0-7]+$/i,Na=parseInt;const Pa=function(t){if("number"==typeof t)return t;if(ar(t))return NaN;if(O(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=O(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Sa(t);var n=Ma.test(t);return n||Ba.test(t)?Na(t.slice(2),n?2:8):Ta.test(t)?NaN:+t};var za=Math.max,Oa=Math.min;const La=function(t,e,n){var o,i,r,s,a,c,l=0,d=!1,h=!1,u=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=o,r=i;return o=i=void 0,l=e,s=t.apply(r,n)}function p(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-l>=r}function m(){var t=xa();if(p(t))return f(t);a=setTimeout(m,function(t){var n=e-(t-c);return h?Oa(n,r-(t-l)):n}(t))}function f(t){return a=void 0,u&&o?g(t):(o=i=void 0,s)}function k(){var t=xa(),n=p(t);if(o=arguments,i=this,c=t,n){if(void 0===a)return function(t){return l=t,a=setTimeout(m,e),d?g(t):s}(c);if(h)return clearTimeout(a),a=setTimeout(m,e),g(c)}return void 0===a&&(a=setTimeout(m,e)),s}return e=Pa(e)||0,O(n)&&(d=!!n.leading,r=(h="maxWait"in n)?za(Pa(n.maxWait)||0,e):r,u="trailing"in n?!!n.trailing:u),k.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=i=a=void 0},k.flush=function(){return void 0===a?s:f(xa())},k};class ja extends Aa{constructor(t){super(t),this._fireSelectionChangeDoneDebounced=La((t=>{this.document.fire("selectionChangeDone",t)}),200)}observe(){const t=this.document;t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&n.preventDefault()}),{context:"$capture"}),t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&this._handleSelectionMove(n.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(t){const e=this.document.selection,n=new ms(e.getRanges(),{backward:e.isBackward,fake:!1});t!=ui.arrowleft&&t!=ui.arrowup||n.setTo(n.getFirstPosition()),t!=ui.arrowright&&t!=ui.arrowdown||n.setTo(n.getLastPosition());const o={oldSelection:e,newSelection:n,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}const Ra=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Fa=function(t){return this.__data__.has(t)};function Va(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ke;++ea))return!1;var l=r.get(t),d=r.get(e);if(l&&d)return l==e&&d==t;var h=-1,u=!0,g=2&n?new Ua:void 0;for(r.set(t,e),r.set(e,t);++h{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this.flush(),t.change((()=>{}))}),50)})),e.on("blur",((n,o)=>{const i=e.selection.editableElement;null!==i&&i!==o.target||(e.isFocused=!1,this._isFocusChanging=!1,t.change((()=>{})))}))}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(t){this.fire(t.type,t)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class lc extends Aa{constructor(t){super(t),this.mutationObserver=t.getObserver(sc),this.focusObserver=t.getObserver(cc),this.selection=this.document.selection,this.domConverter=t.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=La((t=>{this.document.fire("selectionChangeDone",t)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=La((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(t){const e=t.ownerDocument,n=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,e),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(t,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(t,"keydown",n,{priority:"highest",useCapture:!0}),this.listenTo(t,"keyup",n,{priority:"highest",useCapture:!0}),this._documents.has(e)||(this.listenTo(e,"mouseup",n,{priority:"highest",useCapture:!0}),this.listenTo(e,"selectionchange",((t,n)=>{this.document.isComposing&&!i.isAndroid||(this._handleSelectionChange(n,e),this._documentIsSelectingInactivityTimeoutDebounced())})),this._documents.add(e))}stopObserving(t){this.stopListening(t)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(t,e){if(!this.isEnabled)return;const n=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(n.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(n);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(n))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(o))this.view.forceRender();else{const t={oldSelection:this.selection,newSelection:o,domSelection:n};this.document.fire("selectionChange",t),this._fireSelectionChangeDoneDebounced(t)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class dc extends va{constructor(t){super(t),this.domEventType=["compositionstart","compositionupdate","compositionend"];const e=this.document;e.on("compositionstart",(()=>{e.isComposing=!0}),{priority:"low"}),e.on("compositionend",(()=>{e.isComposing=!1}),{priority:"low"})}onDomEvent(t){this.fire(t.type,t,{data:t.data})}}class hc{constructor(t,e={}){this._files=e.cacheFiles?uc(t):null,this._native=t}get files(){return this._files||(this._files=uc(this._native)),this._files}get types(){return this._native.types}getData(t){return this._native.getData(t)}setData(t,e){this._native.setData(t,e)}set effectAllowed(t){this._native.effectAllowed=t}get effectAllowed(){return this._native.effectAllowed}set dropEffect(t){this._native.dropEffect=t}get dropEffect(){return this._native.dropEffect}setDragImage(t,e,n){this._native.setDragImage(t,e,n)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function uc(t){const e=Array.from(t.files||[]),n=Array.from(t.items||[]);return e.length?e:n.filter((t=>"file"===t.kind)).map((t=>t.getAsFile()))}class gc extends va{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(t){const e=t.getTargetRanges(),n=this.view,o=n.document;let r=null,s=null,a=[];if(t.dataTransfer&&(r=new hc(t.dataTransfer)),null!==t.data?s=t.data:r&&(s=r.getData("text/plain")),o.selection.isFake)a=Array.from(o.selection.getRanges());else if(e.length)a=e.map((t=>{const e=n.domConverter.domPositionToView(t.startContainer,t.startOffset),o=n.domConverter.domPositionToView(t.endContainer,t.endOffset);return e?n.createRange(e,o):o?n.createRange(o):void 0})).filter((t=>!!t));else if(i.isAndroid){const e=t.target.ownerDocument.defaultView.getSelection();a=Array.from(n.domConverter.domSelectionToView(e).getRanges())}if(i.isAndroid&&"insertCompositionText"==t.inputType&&s&&s.endsWith("\n"))this.fire(t.type,t,{inputType:"insertParagraph",targetRanges:[n.createRange(a[0].end)]});else if("insertText"==t.inputType&&s&&s.includes("\n")){const e=s.split(/\n{1,2}/g);let n=a;for(let i=0;i{if(this.isEnabled&&((n=e.keyCode)==ui.arrowright||n==ui.arrowleft||n==ui.arrowup||n==ui.arrowdown)){const n=new ks(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(n,e),n.stop.called&&t.stop()}var n}))}observe(){}stopObserving(){}}class mc extends Aa{constructor(t){super(t);const e=this.document;e.on("keydown",((t,n)=>{if(!this.isEnabled||n.keyCode!=ui.tab||n.ctrlKey)return;const o=new ks(e,"tab",e.selection.getFirstRange());e.fire(o,n),o.stop.called&&t.stop()}))}observe(){}stopObserving(){}}const fc=function(t){return bo(t,5)};class kc extends(H()){constructor(t){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new ys(t),this.domConverter=new ma(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new ia(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Os(this.document),this.addObserver(sc),this.addObserver(cc),this.addObserver(lc),this.addObserver(ya),this.addObserver(ja),this.addObserver(dc),this.addObserver(pc),this.addObserver(gc),this.addObserver(mc),this.document.on("arrowKey",ea,{priority:"low"}),Ms(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})),i.isiOS&&this.listenTo(this.document,"blur",((t,e)=>{this.domConverter.mapDomToView(e.domEvent.relatedTarget)||this.domConverter._clearDomSelection()}))}attachDomRoot(t,e="main"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const o={};for(const{name:e,value:i}of Array.from(t.attributes))o[e]=i,"class"===e?this._writer.addClass(i.split(" "),n):this._writer.setAttribute(e,i,n);this._initialDomRootAttributes.set(t,o);const i=()=>{this._writer.setAttribute("contenteditable",(!n.isReadOnly).toString(),n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};i(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(t.ownerDocument),n.on("change:children",((t,e)=>this._renderer.markToSync("children",e))),n.on("change:attributes",((t,e)=>this._renderer.markToSync("attributes",e))),n.on("change:text",((t,e)=>this._renderer.markToSync("text",e))),n.on("change:isReadOnly",(()=>this.change(i))),n.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const n of this._observers.values())n.observe(t,e)}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach((({name:t})=>e.removeAttribute(t)));const n=this._initialDomRootAttributes.get(e);for(const t in n)e.setAttribute(t,n[t]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e);for(const t of this._observers.values())t.stopObserving(e)}getDomRoot(t="main"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);for(const[t,n]of this.domRoots)e.observe(n,t);return e.enable(),e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values())t.disable()}enableObservers(){for(const t of this._observers.values())t.enable()}scrollToTheSelection({alignToTop:t,forceScroll:e,viewportOffset:n=20,ancestorOffset:o=20}={}){const i=this.document.selection.getFirstRange();if(!i)return;const r=fc({alignToTop:t,forceScroll:e,viewportOffset:n,ancestorOffset:o});"number"==typeof n&&(n={top:n,bottom:n,left:n,right:n});const s={target:this.domConverter.viewRangeToDom(i),viewportOffset:n,ancestorOffset:o,alignToTop:t,forceScroll:e};this.fire("scrollToTheSelection",s,r),function({target:t,viewportOffset:e=0,ancestorOffset:n=0,alignToTop:o,forceScroll:i}){const r=ai(t);let s=r,a=null;for(e=function(t){return"number"==typeof t?{top:t,bottom:t,left:t,right:t}:t}(e);s;){let c;c=ci(s==r?t:a),ni({parent:c,getRect:()=>li(t,s),alignToTop:o,ancestorOffset:n,forceScroll:i});const l=li(t,s);if(ei({window:s,rect:l,viewportOffset:e,alignToTop:o,forceScroll:i}),s.parent!=s){if(a=s.frameElement,s=s.parent,!a)return}else s=null}}(s)}focus(){if(!this.document.isFocused){const t=this.document.selection.editableElement;t&&(this.domConverter.focus(t),this.forceRender())}}change(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new k("cannot-change-view-tree",this);try{if(this._ongoingChange)return t(this._writer);this._ongoingChange=!0;const e=t(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(t){k.rethrowUnexpectedError(t,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(cc).flush(),this.change((()=>{}))}destroy(){for(const t of this._observers.values())t.destroy();this.document.destroy(),this.stopListening()}createPositionAt(t,e){return us._createAt(t,e)}createPositionAfter(t){return us._createAfter(t)}createPositionBefore(t){return us._createBefore(t)}createRange(t,e){return new gs(t,e)}createRangeOn(t){return gs._createOn(t)}createRangeIn(t){return gs._createIn(t)}createSelection(...t){return new ms(...t)}_disableRendering(t){this._renderingDisabled=t,0==t&&this.change((()=>{}))}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class bc{is(){throw new Error("is() method is abstract")}}class wc extends bc{constructor(t){super(),this.parent=null,this._attrs=Di(t)}get document(){return null}get index(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new k("model-node-not-found-in-parent",this);return t}get startOffset(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new k("model-node-not-found-in-parent",this);return t}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.startOffset),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=$(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o](t[e[0]]=e[1],t)),{})),t}_clone(t){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(t,e){this._attrs.set(t,e)}_setAttributesTo(t){this._attrs=Di(t)}_removeAttribute(t){return this._attrs.delete(t)}_clearAttributes(){this._attrs.clear()}}wc.prototype.is=function(t){return"node"===t||"model:node"===t};class Ac{constructor(t){this._nodes=[],t&&this._insertNodes(0,t)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce(((t,e)=>t+e.offsetSize),0)}getNode(t){return this._nodes[t]||null}getNodeIndex(t){const e=this._nodes.indexOf(t);return-1==e?null:e}getNodeStartOffset(t){const e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce(((t,e)=>t+e.offsetSize),0)}indexToOffset(t){if(t==this._nodes.length)return this.maxOffset;const e=this._nodes[t];if(!e)throw new k("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(e)}offsetToIndex(t){let e=0;for(const n of this._nodes){if(t>=e&&t1e4)return t.slice(0,n).concat(e).concat(t.slice(n+o,t.length));{const i=Array.from(t);return i.splice(n,o,...e),i}}(this._nodes,Array.from(e),t,0)}_removeNodes(t,e=1){return this._nodes.splice(t,e)}toJSON(){return this._nodes.map((t=>t.toJSON()))}}class Cc extends wc{constructor(t,e){super(e),this._data=t||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const t=super.toJSON();return t.data=this.data,t}_clone(){return new Cc(this.data,this.getAttributes())}static fromJSON(t){return new Cc(t.data,t.attributes)}}Cc.prototype.is=function(t){return"$text"===t||"model:$text"===t||"text"===t||"model:text"===t||"node"===t||"model:node"===t};class _c extends bc{constructor(t,e,n){if(super(),this.textNode=t,e<0||e>t.offsetSize)throw new k("model-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.offsetSize)throw new k("model-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?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 t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}hasAttribute(t){return this.textNode.hasAttribute(t)}getAttribute(t){return this.textNode.getAttribute(t)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}_c.prototype.is=function(t){return"$textProxy"===t||"model:$textProxy"===t||"textProxy"===t||"model:textProxy"===t};class vc extends wc{constructor(t,e,n){super(e),this._children=new Ac,this.name=t,n&&this._insertChild(0,n)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}offsetToIndex(t){return this._children.offsetToIndex(t)}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}findAncestor(t,e={}){let n=e.includeSelf?this:this.parent;for(;n;){if(n.name===t)return n;n=n.parent}return null}toJSON(){const t=super.toJSON();if(t.name=this.name,this._children.length>0){t.children=[];for(const e of this._children)t.children.push(e.toJSON())}return t}_clone(t=!1){const e=t?Array.from(this._children).map((t=>t._clone(!0))):void 0;return new vc(this.name,this.getAttributes(),e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Cc(t)];Q(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Cc(t):t instanceof _c?new Cc(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}static fromJSON(t){let e;if(t.children){e=[];for(const n of t.children)n.name?e.push(vc.fromJSON(n)):e.push(Cc.fromJSON(n))}return new vc(t.name,t.attributes,e)}}vc.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"model:element"===t):"element"===t||"model:element"===t||"node"===t||"model:node"===t};class yc{constructor(t){if(!t||!t.boundaries&&!t.startPosition)throw new k("model-tree-walker-no-start-position",null);const e=t.direction||"forward";if("forward"!=e&&"backward"!=e)throw new k("model-tree-walker-unknown-direction",t,{direction:e});this.direction=e,this.boundaries=t.boundaries||null,t.startPosition?this._position=t.startPosition.clone():this._position=Ec._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.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(t){let e,n,o,i;do{o=this.position,i=this._visitedParent,({done:e,value:n}=this.next())}while(!e&&t(n));e||(this._position=o,this._visitedParent=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&e.offset===n.maxOffset)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=Dc(e,n),i=o||Ic(e,n,o);if(i instanceof vc){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(e))return{done:!0,value:void 0};e.offset++}else e.path.push(0),this._visitedParent=i;return this._position=e,xc("elementStart",i,t,e,1)}if(i instanceof Cc){let o;if(this.singleCharacters)o=1;else{let t=i.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offsett&&(t=this.boundaries.start.offset),o=e.offset-t}const i=e.offset-r.startOffset,s=new _c(r,i-o,o);return e.offset-=o,this._position=e,xc("text",s,t,e,o)}return e.path.pop(),this._position=e,this._visitedParent=n.parent,xc("elementStart",n,t,e,1)}}function xc(t,e,n,o,i){return{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}class Ec extends bc{constructor(t,e,n="toNone"){if(super(),!t.is("element")&&!t.is("documentFragment"))throw new k("model-position-root-invalid",t);if(!(e instanceof Array)||0===e.length)throw new k("model-position-path-incorrect-format",t,{path:e});t.is("rootElement")?e=e.slice():(e=[...t.getPath(),...e],t=t.root),this.root=t,this.path=e,this.stickiness=n}get offset(){return this.path[this.path.length-1]}set offset(t){this.path[this.path.length-1]=t}get parent(){let t=this.root;for(let e=0;e1)return!1;if(1===e)return Tc(t,this,n);if(-1===e)return Tc(this,t,n)}return this.path.length===t.path.length||(this.path.length>t.path.length?Mc(this.path,e):Mc(t.path,e))}hasSameParentAs(t){if(this.root!==t.root)return!1;return"same"==$(this.getParentPath(),t.getParentPath())}getTransformedByOperation(t){let e;switch(t.type){case"insert":e=this._getTransformedByInsertOperation(t);break;case"move":case"remove":case"reinsert":e=this._getTransformedByMoveOperation(t);break;case"split":e=this._getTransformedBySplitOperation(t);break;case"merge":e=this._getTransformedByMergeOperation(t);break;default:e=Ec._createAt(this)}return e}_getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany)}_getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}_getTransformedBySplitOperation(t){const e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1)}_getTransformedByMergeOperation(t){const e=t.movedRange;let n;return e.containsPosition(this)||e.start.isEqual(this)?(n=this._getCombined(t.sourcePosition,t.targetPosition),t.sourcePosition.isBefore(t.targetPosition)&&(n=n._getTransformedByDeletion(t.deletionPosition,1))):n=this.isEqual(t.deletionPosition)?Ec._createAt(t.deletionPosition):this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1),n}_getTransformedByDeletion(t,e){const n=Ec._createAt(this);if(this.root!=t.root)return n;if("same"==$(t.getParentPath(),this.getParentPath())){if(t.offsetthis.offset)return null;n.offset-=e}}else if("prefix"==$(t.getParentPath(),this.getParentPath())){const o=t.path.length-1;if(t.offset<=this.path[o]){if(t.offset+e>this.path[o])return null;n.path[o]-=e}}return n}_getTransformedByInsertion(t,e){const n=Ec._createAt(this);if(this.root!=t.root)return n;if("same"==$(t.getParentPath(),this.getParentPath()))(t.offset=e;){if(t.path[o]+i!==n.maxOffset)return!1;i=1,o--,n=n.parent}return!0}(t,n+1))}function Mc(t,e){for(;ee+1;){const e=o.maxOffset-n.offset;0!==e&&t.push(new Bc(n,n.getShiftedBy(e))),n.path=n.path.slice(0,-1),n.offset++,o=o.parent}for(;n.path.length<=this.end.path.length;){const e=this.end.path[n.path.length-1],o=e-n.offset;0!==o&&t.push(new Bc(n,n.getShiftedBy(o))),n.offset=e,n.path.push(0)}return t}getWalker(t={}){return t.boundaries=this,new yc(t)}*getItems(t={}){t.boundaries=this,t.ignoreElementEnd=!0;const e=new yc(t);for(const t of e)yield t.item}*getPositions(t={}){t.boundaries=this;const e=new yc(t);yield e.position;for(const t of e)yield t.nextPosition}getTransformedByOperation(t){switch(t.type){case"insert":return this._getTransformedByInsertOperation(t);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(t);case"split":return[this._getTransformedBySplitOperation(t)];case"merge":return[this._getTransformedByMergeOperation(t)]}return[new Bc(this.start,this.end)]}getTransformedByOperations(t){const e=[new Bc(this.start,this.end)];for(const n of t)for(let t=0;t0?new this(n,o):new this(o,n)}static _createIn(t){return new this(Ec._createAt(t,0),Ec._createAt(t,t.maxOffset))}static _createOn(t){return this._createFromPositionAndShift(Ec._createBefore(t),t.offsetSize)}static _createFromRanges(t){if(0===t.length)throw new k("range-create-from-ranges-empty-array",null);if(1==t.length)return t[0].clone();const e=t[0];t.sort(((t,e)=>t.start.isAfter(e.start)?1:-1));const n=t.indexOf(e),o=new this(e.start,e.end);if(n>0)for(let e=n-1;t[e].end.isEqual(o.start);e++)o.start=Ec._createAt(t[e].start);for(let e=n+1;e{if(e.viewPosition)return;const n=this._modelToViewMapping.get(e.modelPosition.parent);if(!n)throw new k("mapping-model-position-view-parent-not-found",this,{modelPosition:e.modelPosition});e.viewPosition=this.findPositionIn(n,e.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((t,e)=>{if(e.modelPosition)return;const n=this.findMappedViewAncestor(e.viewPosition),o=this._viewToModelMapping.get(n),i=this._toModelOffset(e.viewPosition.parent,e.viewPosition.offset,n);e.modelPosition=Ec._createAt(o,i)}),{priority:"low"})}bindElements(t,e){this._modelToViewMapping.set(t,e),this._viewToModelMapping.set(e,t)}unbindViewElement(t,e={}){const n=this.toModelElement(t);if(this._elementToMarkerNames.has(t))for(const e of this._elementToMarkerNames.get(t))this._unboundMarkerNames.add(e);e.defer?this._deferredBindingRemovals.set(t,t.root):(this._viewToModelMapping.delete(t),this._modelToViewMapping.get(n)==t&&this._modelToViewMapping.delete(n))}unbindModelElement(t){const e=this.toViewElement(t);this._modelToViewMapping.delete(t),this._viewToModelMapping.get(e)==t&&this._viewToModelMapping.delete(e)}bindElementToMarker(t,e){const n=this._markerNameToElements.get(e)||new Set;n.add(t);const o=this._elementToMarkerNames.get(t)||new Set;o.add(e),this._markerNameToElements.set(e,n),this._elementToMarkerNames.set(t,o)}unbindElementFromMarkerName(t,e){const n=this._markerNameToElements.get(e);n&&(n.delete(t),0==n.size&&this._markerNameToElements.delete(e));const o=this._elementToMarkerNames.get(t);o&&(o.delete(e),0==o.size&&this._elementToMarkerNames.delete(t))}flushUnboundMarkerNames(){const t=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),t}flushDeferredBindings(){for(const[t,e]of this._deferredBindingRemovals)t.root==e&&this.unbindViewElement(t);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(t){return this._viewToModelMapping.get(t)}toViewElement(t){return this._modelToViewMapping.get(t)}toModelRange(t){return new Bc(this.toModelPosition(t.start),this.toModelPosition(t.end))}toViewRange(t){return new gs(this.toViewPosition(t.start),this.toViewPosition(t.end))}toModelPosition(t){const e={viewPosition:t,mapper:this};return this.fire("viewToModelPosition",e),e.modelPosition}toViewPosition(t,e={}){const n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire("modelToViewPosition",n),n.viewPosition}markerNameToElements(t){const e=this._markerNameToElements.get(t);if(!e)return null;const n=new Set;for(const t of e)if(t.is("attributeElement"))for(const e of t.getElementsWithSameId())n.add(e);else n.add(t);return n}registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e)}findMappedViewAncestor(t){let e=t.parent;for(;!this._viewToModelMapping.has(e);)e=e.parent;return e}_toModelOffset(t,e,n){if(n!=t){return this._toModelOffset(t.parent,t.index,n)+this._toModelOffset(t,e,t)}if(t.is("$text"))return e;let o=0;for(let n=0;n1?e[0]+":"+e[1]:e[0]}var Oc=Object.defineProperty,Lc=Object.defineProperties,jc=Object.getOwnPropertyDescriptors,Rc=Object.getOwnPropertySymbols,Fc=Object.prototype.hasOwnProperty,Vc=Object.prototype.propertyIsEnumerable,Uc=(t,e,n)=>e in t?Oc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hc=(t,e)=>{for(var n in e||(e={}))Fc.call(e,n)&&Uc(t,n,e[n]);if(Rc)for(var n of Rc(e))Vc.call(e,n)&&Uc(t,n,e[n]);return t},Gc=(t,e)=>Lc(t,jc(e));class qc extends(I()){constructor(t){super(),this._conversionApi=Hc({dispatcher:this},t),this._firedEventsMap=new WeakMap}convertChanges(t,e,n){const o=this._createConversionApi(n,t.getRefreshedItems());for(const e of t.getMarkersToRemove())this._convertMarkerRemove(e.name,e.range,o);const i=this._reduceChanges(t.getChanges());for(const t of i)"insert"===t.type?this._convertInsert(Bc._createFromPositionAndShift(t.position,t.length),o):"reinsert"===t.type?this._convertReinsert(Bc._createFromPositionAndShift(t.position,t.length),o):"remove"===t.type?this._convertRemove(t.position,t.length,t.name,o):this._convertAttribute(t.range,t.attributeKey,t.attributeOldValue,t.attributeNewValue,o);o.mapper.flushDeferredBindings();for(const t of o.mapper.flushUnboundMarkerNames()){const n=e.get(t).getRange();this._convertMarkerRemove(t,n,o),this._convertMarkerAdd(t,n,o)}for(const e of t.getMarkersToAdd())this._convertMarkerAdd(e.name,e.range,o);o.consumable.verifyAllConsumed("insert")}convert(t,e,n,o={}){const i=this._createConversionApi(n,void 0,o);this._convertInsert(t,i);for(const[t,n]of e)this._convertMarkerAdd(t,n,i);i.consumable.verifyAllConsumed("insert")}convertSelection(t,e,n){const o=this._createConversionApi(n);this.fire("cleanSelection",{selection:t},o);const i=t.getFirstPosition().root;if(!o.mapper.toViewElement(i))return;const r=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));if(this._addConsumablesForSelection(o.consumable,t,r),this.fire("selection",{selection:t},o),t.isCollapsed){for(const e of r)if(o.consumable.test(t,"addMarker:"+e.name)){const n=e.getRange();if(!Wc(t.getFirstPosition(),e,o.mapper))continue;const i={item:t,markerName:e.name,markerRange:n};this.fire(`addMarker:${e.name}`,i,o)}for(const e of t.getAttributeKeys())if(o.consumable.test(t,"attribute:"+e)){const n={item:t,range:t.getFirstRange(),attributeKey:e,attributeOldValue:null,attributeNewValue:t.getAttribute(e)};this.fire(`attribute:${e}:$text`,n,o)}}}_convertInsert(t,e,n={}){n.doNotAddConsumables||this._addConsumablesForInsert(e.consumable,t);for(const n of Array.from(t.getWalker({shallow:!0})).map(Kc))this._testAndFire("insert",n,e)}_convertRemove(t,e,n,o){this.fire(`remove:${n}`,{position:t,length:e},o)}_convertAttribute(t,e,n,o,i){this._addConsumablesForRange(i.consumable,t,`attribute:${e}`);for(const r of t){const t={item:r.item,range:Bc._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:e,attributeOldValue:n,attributeNewValue:o};this._testAndFire(`attribute:${e}`,t,i)}}_convertReinsert(t,e){const n=Array.from(t.getWalker({shallow:!0}));this._addConsumablesForInsert(e.consumable,n);for(const t of n.map(Kc))this._testAndFire("insert",Gc(Hc({},t),{reconversion:!0}),e)}_convertMarkerAdd(t,e,n){if("$graveyard"==e.root.rootName)return;const o=`addMarker:${t}`;if(n.consumable.add(e,o),this.fire(o,{markerName:t,markerRange:e},n),n.consumable.consume(e,o)){this._addConsumablesForRange(n.consumable,e,o);for(const i of e.getItems()){if(!n.consumable.test(i,o))continue;const r={item:i,range:Bc._createOn(i),markerName:t,markerRange:e};this.fire(o,r,n)}}}_convertMarkerRemove(t,e,n){"$graveyard"!=e.root.rootName&&this.fire(`removeMarker:${t}`,{markerName:t,markerRange:e},n)}_reduceChanges(t){const e={changes:t};return this.fire("reduceChanges",e),e.changes}_addConsumablesForInsert(t,e){for(const n of e){const e=n.item;if(null===t.test(e,"insert")){t.add(e,"insert");for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n)}}return t}_addConsumablesForRange(t,e,n){for(const o of e.getItems())t.add(o,n);return t}_addConsumablesForSelection(t,e,n){t.add(e,"selection");for(const o of n)t.add(e,"addMarker:"+o.name);for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n);return t}_testAndFire(t,e,n){const o=function(t,e){const n=e.item.is("element")?e.item.name:"$text";return`${t}:${n}`}(t,e),i=e.item.is("$textProxy")?n.consumable._getSymbolForTextProxy(e.item):e.item,r=this._firedEventsMap.get(n),s=r.get(i);if(s){if(s.has(o))return;s.add(o)}else r.set(i,new Set([o]));this.fire(o,e,n)}_testAndFireAddAttributes(t,e){const n={item:t,range:Bc._createOn(t)};for(const t of n.item.getAttributeKeys())n.attributeKey=t,n.attributeOldValue=null,n.attributeNewValue=n.item.getAttribute(t),this._testAndFire(`attribute:${t}`,n,e)}_createConversionApi(t,e=new Set,n={}){const o=Gc(Hc({},this._conversionApi),{consumable:new Pc,writer:t,options:n,convertItem:t=>this._convertInsert(Bc._createOn(t),o),convertChildren:t=>this._convertInsert(Bc._createIn(t),o,{doNotAddConsumables:!0}),convertAttributes:t=>this._testAndFireAddAttributes(t,o),canReuseView:t=>!e.has(o.mapper.toModelElement(t))});return this._firedEventsMap.set(o,new Map),o}}function Wc(t,e,n){const o=e.getRange(),i=Array.from(t.getAncestors());i.shift(),i.reverse();return!i.some((t=>{if(o.containsItem(t)){return!!n.toViewElement(t).getCustomProperty("addHighlight")}}))}function Kc(t){return{item:t.item,range:Bc._createFromPositionAndShift(t.previousPosition,t.length)}}class Zc extends(I(bc)){constructor(...t){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],t.length&&this.setTo(...t)}get anchor(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}get focus(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}*getRanges(){for(const t of this._ranges)yield new Bc(t.start,t.end)}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?new Bc(t.start,t.end):null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?new Bc(t.start,t.end):null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]);else if(e instanceof Zc)this._setRanges(e.getRanges(),e.isBackward);else if(e&&"function"==typeof e.getRanges)this._setRanges(e.getRanges(),e.isBackward);else if(e instanceof Bc)this._setRanges([e],!!o&&!!o.backward);else if(e instanceof Ec)this._setRanges([new Bc(e)]);else if(e instanceof wc){const t=!!o&&!!o.backward;let i;if("in"==n)i=Bc._createIn(e);else if("on"==n)i=Bc._createOn(e);else{if(void 0===n)throw new k("model-selection-setto-required-second-parameter",[this,e]);i=new Bc(Ec._createAt(e,n))}this._setRanges([i],t)}else{if(!Q(e))throw new k("model-selection-setto-not-selectable",[this,e]);this._setRanges(e,o&&!!o.backward)}}_setRanges(t,e=!1){const n=Array.from(t),o=n.some((e=>{if(!(e instanceof Bc))throw new k("model-selection-set-ranges-not-range",[this,t]);return this._ranges.every((t=>!t.isEqual(e)))}));(n.length!==this._ranges.length||o)&&(this._replaceAllRanges(n),this._lastRangeBackward=!!e,this.fire("change:range",{directChange:!0}))}setFocus(t,e){if(null===this.anchor)throw new k("model-selection-setfocus-no-ranges",[this,t]);const n=Ec._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.length&&this._popRange(),"before"==n.compareWith(o)?(this._pushRange(new Bc(n,o)),this._lastRangeBackward=!0):(this._pushRange(new Bc(o,n)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(t){return this._attrs.has(t)}removeAttribute(t){this.hasAttribute(t)&&(this._attrs.delete(t),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}setAttribute(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const t=new WeakSet;for(const e of this.getRanges()){const n=Qc(e.start,t);Xc(n,e)&&(yield n);for(const n of e.getWalker()){const o=n.item;"elementEnd"==n.type&&$c(o,t,e)&&(yield o)}const o=Qc(e.end,t);tl(o,e)&&(yield o)}}containsEntireContent(t=this.anchor.root){const e=Ec._createAt(t,0),n=Ec._createAt(t,"end");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(t){this._checkRange(t),this._ranges.push(new Bc(t.start,t.end))}_checkRange(t){for(let e=0;e0;)this._popRange()}_popRange(){this._ranges.pop()}}function Yc(t,e){return!e.has(t)&&(e.add(t),t.root.document.model.schema.isBlock(t)&&!!t.parent)}function $c(t,e,n){return Yc(t,e)&&Jc(t,n)}function Qc(t,e){const n=t.parent.root.document.model.schema,o=t.parent.getAncestors({parentFirst:!0,includeSelf:!0});let i=!1;const r=o.find((t=>!i&&(i=n.isLimit(t),!i&&Yc(t,e))));return o.forEach((t=>e.add(t))),r}function Jc(t,e){const n=function(t){const e=t.root.document.model.schema;let n=t.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent}}(t);if(!n)return!0;return!e.containsRange(Bc._createOn(n),!0)}function Xc(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.start.isTouching(Ec._createAt(t,t.maxOffset))&&Jc(t,e))}function tl(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.end.isTouching(Ec._createAt(t,0))&&Jc(t,e))}Zc.prototype.is=function(t){return"selection"===t||"model:selection"===t};class el extends(I(Bc)){constructor(t,e){super(t,e),nl.call(this)}detach(){this.stopListening()}toRange(){return new Bc(this.start,this.end)}static fromRange(t){return new el(t.start,t.end)}}function nl(){this.listenTo(this.root.document.model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&ol.call(this,n)}),{priority:"low"})}function ol(t){const e=this.getTransformedByOperation(t),n=Bc._createFromRanges(e),o=!n.isEqual(this),i=function(t,e){switch(e.type){case"insert":return t.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case"split":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition)}return!1}(this,t);let r=null;if(o){"$graveyard"==n.root.rootName&&(r="remove"==t.type?t.sourcePosition:t.deletionPosition);const e=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",e,{deletionPosition:r})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:r})}el.prototype.is=function(t){return"liveRange"===t||"model:liveRange"===t||"range"==t||"model:range"===t};const il="selection:";class rl extends(I(bc)){constructor(t){super(),this._selection=new sl(t),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(t){return this._selection.containsEntireContent(t)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(t){return this._selection.getAttribute(t)}hasAttribute(t){return this._selection.hasAttribute(t)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(t){this._selection.observeMarkers(t)}_setFocus(t,e){this._selection.setFocus(t,e)}_setTo(...t){this._selection.setTo(...t)}_setAttribute(t,e){this._selection.setAttribute(t,e)}_removeAttribute(t){this._selection.removeAttribute(t)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(t){this._selection.restoreGravity(t)}static _getStoreAttributeKey(t){return il+t}static _isStoreAttributeKey(t){return t.startsWith(il)}}rl.prototype.is=function(t){return"selection"===t||"model:selection"==t||"documentSelection"==t||"model:documentSelection"==t};class sl extends Zc{constructor(t){super(),this.markers=new vi({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=t.model,this._document=t,this.listenTo(this._model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type&&(0==this._ranges.length&&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,e,n,o)=>{this._updateMarker(e,o)})),this.listenTo(this._document,"change",((t,e)=>{!function(t,e){const n=t.document.differ;for(const o of n.getChanges()){if("insert"!=o.type)continue;const n=o.position.parent;o.length===n.maxOffset&&t.enqueueChange(e,(t=>{const e=Array.from(n.getAttributeKeys()).filter((t=>t.startsWith(il)));for(const o of e)t.removeAttribute(o,n)}))}}(this._model,e)}))}get isCollapsed(){return 0===this._ranges.length?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 t=0;t{if(this._hasChangedRange=!0,e.root==this._document.graveyard){this._selectionRestorePosition=o.deletionPosition;const t=this._ranges.indexOf(e);this._ranges.splice(t,1),e.detach()}})),e}updateMarkers(){if(!this._observedMarkers.size)return;const t=[];let e=!1;for(const e of this._model.markers){const n=e.name.split(":",1)[0];if(!this._observedMarkers.has(n))continue;const o=e.getRange();for(const n of this.getRanges())o.containsRange(n,!n.isCollapsed)&&t.push(e)}const n=Array.from(this.markers);for(const n of t)this.markers.has(n)||(this.markers.add(n),e=!0);for(const n of Array.from(this.markers))t.includes(n)||(this.markers.remove(n),e=!0);e&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateMarker(t,e){const n=t.name.split(":",1)[0];if(!this._observedMarkers.has(n))return;let o=!1;const i=Array.from(this.markers),r=this.markers.has(t);if(e){let n=!1;for(const t of this.getRanges())if(e.containsRange(t,!t.isCollapsed)){n=!0;break}n&&!r?(this.markers.add(t),o=!0):!n&&r&&(this.markers.remove(t),o=!0)}else r&&(this.markers.remove(t),o=!0);o&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateAttributes(t){const e=Di(this._getSurroundingAttributes()),n=Di(this.getAttributes());if(t)this._attributePriority=new Map,this._attrs=new Map;else for(const[t,e]of this._attributePriority)"low"==e&&(this._attrs.delete(t),this._attributePriority.delete(t));this._setAttributesTo(e);const o=[];for(const[t,e]of this.getAttributes())n.has(t)&&n.get(t)===e||o.push(t);for(const[t]of n)this.hasAttribute(t)||o.push(t);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(t,e,n=!0){const o=n?"normal":"low";if("low"==o&&"normal"==this._attributePriority.get(t))return!1;return super.getAttribute(t)!==e&&(this._attrs.set(t,e),this._attributePriority.set(t,o),!0)}_removeAttribute(t,e=!0){const n=e?"normal":"low";return("low"!=n||"normal"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!super.hasAttribute(t)&&(this._attrs.delete(t),!0))}_setAttributesTo(t){const e=new Set;for(const[e,n]of this.getAttributes())t.get(e)!==n&&this._removeAttribute(e,!1);for(const[n,o]of t){this._setAttribute(n,o,!1)&&e.add(n)}return e}*getStoredAttributes(){const t=this.getFirstPosition().parent;if(this.isCollapsed&&t.isEmpty)for(const e of t.getAttributeKeys())if(e.startsWith(il)){const n=e.substr(10);yield[n,t.getAttribute(e)]}}_getSurroundingAttributes(){const t=this.getFirstPosition(),e=this._model.schema;if("$graveyard"==t.root.rootName)return null;let n=null;if(this.isCollapsed){const o=t.textNode?t.textNode:t.nodeBefore,i=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(n=al(o,e)),n||(n=al(i,e)),!this.isGravityOverridden&&!n){let t=o;for(;t&&!n;)t=t.previousSibling,n=al(t,e)}if(!n){let t=i;for(;t&&!n;)t=t.nextSibling,n=al(t,e)}n||(n=this.getStoredAttributes())}else{const t=this.getFirstRange();for(const o of t){if(o.item.is("element")&&e.isObject(o.item)){n=al(o.item,e);break}if("text"==o.type){n=o.item.getAttributes();break}}}return n}_fixGraveyardSelection(t){const e=this._model.schema.getNearestSelectionRange(t);e&&this._pushRange(e)}}function al(t,e){if(!t)return null;if(t instanceof _c||t instanceof Cc)return t.getAttributes();if(!e.isInline(t))return null;if(!e.isObject(t))return[];const n=[];for(const[o,i]of t.getAttributes())e.checkAttribute("$text",o)&&!1!==e.getAttributeProperties(o).copyFromObject&&n.push([o,i]);return n}class cl{constructor(t){this._dispatchers=t}add(t){for(const e of this._dispatchers)t(e);return this}}class ll extends cl{elementToElement(t){return this.add(function(t){const e=ul(t.model),n=gl(t.view,"container");e.attributes.length&&(e.children=!0);return o=>{o.on(`insert:${e.name}`,function(t,e=Cl){return(n,o,i)=>{if(!e(o.item,i.consumable,{preflight:!0}))return;const r=t(o.item,i,o);if(!r)return;e(o.item,i.consumable);const s=i.mapper.toViewPosition(o.range.start);i.mapper.bindElements(o.item,r),i.writer.insert(s,r),i.convertAttributes(o.item),wl(r,o.item.getChildren(),i,{reconversion:o.reconversion})}}(n,bl(e)),{priority:t.converterPriority||"normal"}),(e.children||e.attributes.length)&&o.on("reduceChanges",kl(e),{priority:"low"})}}(t))}elementToStructure(t){return this.add(function(t){const e=ul(t.model),n=gl(t.view,"container");return e.children=!0,o=>{if(o._conversionApi.schema.checkChild(e.name,"$text"))throw new k("conversion-element-to-structure-disallowed-text",o,{elementName:e.name});var i,r;o.on(`insert:${e.name}`,(i=n,r=bl(e),(t,e,n)=>{if(!r(e.item,n.consumable,{preflight:!0}))return;const o=new Map;n.writer._registerSlotFactory(function(t,e,n){return(o,i)=>{const r=o.createContainerElement("$slot");let s=null;if("children"===i)s=Array.from(t.getChildren());else{if("function"!=typeof i)throw new k("conversion-slot-mode-unknown",n.dispatcher,{modeOrFilter:i});s=Array.from(t.getChildren()).filter((t=>i(t)))}return e.set(r,s),r}}(e.item,o,n));const s=i(e.item,n,e);if(n.writer._clearSlotFactory(),!s)return;!function(t,e,n){const o=Array.from(e.values()).flat(),i=new Set(o);if(i.size!=o.length)throw new k("conversion-slot-filter-overlap",n.dispatcher,{element:t});if(i.size!=t.childCount)throw new k("conversion-slot-filter-incomplete",n.dispatcher,{element:t})}(e.item,o,n),r(e.item,n.consumable);const a=n.mapper.toViewPosition(e.range.start);n.mapper.bindElements(e.item,s),n.writer.insert(a,s),n.convertAttributes(e.item),function(t,e,n,o){n.mapper.on("modelToViewPosition",s,{priority:"highest"});let i=null,r=null;for([i,r]of e)wl(t,r,n,o),n.writer.move(n.writer.createRangeIn(i),n.writer.createPositionBefore(i)),n.writer.remove(i);function s(t,e){const n=e.modelPosition.nodeAfter,o=r.indexOf(n);o<0||(e.viewPosition=e.mapper.findPositionIn(i,o))}n.mapper.off("modelToViewPosition",s)}(s,o,n,{reconversion:e.reconversion})}),{priority:t.converterPriority||"normal"}),o.on("reduceChanges",kl(e),{priority:"low"})}}(t))}attributeToElement(t){return this.add(function(t){t=fc(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=gl(t.view[n],"attribute");else t.view=gl(t.view,"attribute");const o=pl(t);return e=>{e.on(n,function(t){return(e,n,o)=>{if(!o.consumable.test(n.item,e.name))return;const i=t(n.attributeOldValue,o,n),r=t(n.attributeNewValue,o,n);if(!i&&!r)return;o.consumable.consume(n.item,e.name);const s=o.writer,a=s.document.selection;if(n.item instanceof Zc||n.item instanceof rl)s.wrap(a.getFirstRange(),r);else{let t=o.mapper.toViewRange(n.range);null!==n.attributeOldValue&&i&&(t=s.unwrap(t,i)),null!==n.attributeNewValue&&r&&s.wrap(t,r)}}}(o),{priority:t.converterPriority||"normal"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=fc(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=ml(t.view[n]);else t.view=ml(t.view);const o=pl(t);return e=>{var i;e.on(n,(i=o,(t,e,n)=>{if(!n.consumable.test(e.item,t.name))return;const o=i(e.attributeOldValue,n,e),r=i(e.attributeNewValue,n,e);if(!o&&!r)return;n.consumable.consume(e.item,t.name);const s=n.mapper.toViewElement(e.item),a=n.writer;if(!s)throw new k("conversion-attribute-to-attribute-on-text",n.dispatcher,e);if(null!==e.attributeOldValue&&o)if("class"==o.key){const t=bi(o.value);for(const e of t)a.removeClass(e,s)}else if("style"==o.key){const t=Object.keys(o.value);for(const e of t)a.removeStyle(e,s)}else a.removeAttribute(o.key,s);if(null!==e.attributeNewValue&&r)if("class"==r.key){const t=bi(r.value);for(const e of t)a.addClass(e,s)}else if("style"==r.key){const t=Object.keys(r.value);for(const e of t)a.setStyle(e,r.value[e],s)}else a.setAttribute(r.key,r.value,s)}),{priority:t.converterPriority||"normal"})}}(t))}markerToElement(t){return this.add(function(t){const e=gl(t.view,"ui");return n=>{var o;n.on(`addMarker:${t.model}`,(o=e,(t,e,n)=>{e.isOpening=!0;const i=o(e,n);e.isOpening=!1;const r=o(e,n);if(!i||!r)return;const s=e.markerRange;if(s.isCollapsed&&!n.consumable.consume(s,t.name))return;for(const e of s)if(!n.consumable.consume(e.item,t.name))return;const a=n.mapper,c=n.writer;c.insert(a.toViewPosition(s.start),i),n.mapper.bindElementToMarker(i,e.markerName),s.isCollapsed||(c.insert(a.toViewPosition(s.end),r),n.mapper.bindElementToMarker(r,e.markerName)),t.stop()}),{priority:t.converterPriority||"normal"}),n.on(`removeMarker:${t.model}`,((t,e,n)=>{const o=n.mapper.markerNameToElements(e.markerName);if(o){for(const t of o)n.mapper.unbindElementFromMarkerName(t,e.markerName),n.writer.clear(n.writer.createRangeOn(t),t);n.writer.clearClonedElementsGroup(e.markerName),t.stop()}}),{priority:t.converterPriority||"normal"})}}(t))}markerToHighlight(t){return this.add(function(t){return e=>{var n;e.on(`addMarker:${t.model}`,(n=t.view,(t,e,o)=>{if(!e.item)return;if(!(e.item instanceof Zc||e.item instanceof rl||e.item.is("$textProxy")))return;const i=fl(n,e,o);if(!i)return;if(!o.consumable.consume(e.item,t.name))return;const r=o.writer,s=dl(r,i),a=r.document.selection;if(e.item instanceof Zc||e.item instanceof rl)r.wrap(a.getFirstRange(),s);else{const t=o.mapper.toViewRange(e.range),n=r.wrap(t,s);for(const t of n.getItems())if(t.is("attributeElement")&&t.isSimilar(s)){o.mapper.bindElementToMarker(t,e.markerName);break}}}),{priority:t.converterPriority||"normal"}),e.on(`addMarker:${t.model}`,function(t){return(e,n,o)=>{if(!n.item)return;if(!(n.item instanceof vc))return;const i=fl(t,n,o);if(!i)return;if(!o.consumable.test(n.item,e.name))return;const r=o.mapper.toViewElement(n.item);if(r&&r.getCustomProperty("addHighlight")){o.consumable.consume(n.item,e.name);for(const t of Bc._createIn(n.item))o.consumable.consume(t.item,e.name);r.getCustomProperty("addHighlight")(r,i,o.writer),o.mapper.bindElementToMarker(r,n.markerName)}}}(t.view),{priority:t.converterPriority||"normal"}),e.on(`removeMarker:${t.model}`,function(t){return(e,n,o)=>{if(n.markerRange.isCollapsed)return;const i=fl(t,n,o);if(!i)return;const r=dl(o.writer,i),s=o.mapper.markerNameToElements(n.markerName);if(s){for(const t of s)if(o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("attributeElement"))o.writer.unwrap(o.writer.createRangeOn(t),r);else{t.getCustomProperty("removeHighlight")(t,i.id,o.writer)}o.writer.clearClonedElementsGroup(n.markerName),e.stop()}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}markerToData(t){return this.add(function(t){t=fc(t);const e=t.model;let n=t.view;n||(n=n=>({group:e,name:n.substr(t.model.length+1)}));return o=>{var i;o.on(`addMarker:${e}`,(i=n,(t,e,n)=>{const o=i(e.markerName,n);if(!o)return;const r=e.markerRange;n.consumable.consume(r,t.name)&&(hl(r,!1,n,e,o),hl(r,!0,n,e,o),t.stop())}),{priority:t.converterPriority||"normal"}),o.on(`removeMarker:${e}`,function(t){return(e,n,o)=>{const i=t(n.markerName,o);if(!i)return;const r=o.mapper.markerNameToElements(n.markerName);if(r){for(const t of r)o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("containerElement")?(s(`data-${i.group}-start-before`,t),s(`data-${i.group}-start-after`,t),s(`data-${i.group}-end-before`,t),s(`data-${i.group}-end-after`,t)):o.writer.clear(o.writer.createRangeOn(t),t);o.writer.clearClonedElementsGroup(n.markerName),e.stop()}function s(t,e){if(e.hasAttribute(t)){const n=new Set(e.getAttribute(t).split(","));n.delete(i.name),0==n.size?o.writer.removeAttribute(t,e):o.writer.setAttribute(t,Array.from(n).join(","),e)}}}}(n),{priority:t.converterPriority||"normal"})}}(t))}}function dl(t,e){const n=t.createAttributeElement("span",e.attributes);return e.classes&&n._addClass(e.classes),"number"==typeof e.priority&&(n._priority=e.priority),n._id=e.id,n}function hl(t,e,n,o,i){const r=e?t.start:t.end,s=r.nodeAfter&&r.nodeAfter.is("element")?r.nodeAfter:null,a=r.nodeBefore&&r.nodeBefore.is("element")?r.nodeBefore:null;if(s||a){let t,r;e&&s||!e&&!a?(t=s,r=!0):(t=a,r=!1);const c=n.mapper.toViewElement(t);if(c)return void function(t,e,n,o,i,r){const s=`data-${r.group}-${e?"start":"end"}-${n?"before":"after"}`,a=t.hasAttribute(s)?t.getAttribute(s).split(","):[];a.unshift(r.name),o.writer.setAttribute(s,a.join(","),t),o.mapper.bindElementToMarker(t,i.markerName)}(c,e,r,n,o,i)}!function(t,e,n,o,i){const r=`${i.group}-${e?"start":"end"}`,s=i.name?{name:i.name}:null,a=n.writer.createUIElement(r,s);n.writer.insert(t,a),n.mapper.bindElementToMarker(a,o.markerName)}(n.mapper.toViewPosition(r),e,n,o,i)}function ul(t){return"string"==typeof t&&(t={name:t}),{name:t.name,attributes:t.attributes?bi(t.attributes):[],children:!!t.children}}function gl(t,e){return"function"==typeof t?t:(n,o)=>function(t,e,n){"string"==typeof t&&(t={name:t});let o;const i=e.writer,r=Object.assign({},t.attributes);if("container"==n)o=i.createContainerElement(t.name,r);else if("attribute"==n){const e={priority:t.priority||xs.DEFAULT_PRIORITY};o=i.createAttributeElement(t.name,r,e)}else o=i.createUIElement(t.name,r);if(t.styles){const e=Object.keys(t.styles);for(const n of e)i.setStyle(n,t.styles[n],o)}if(t.classes){const e=t.classes;if("string"==typeof e)i.addClass(e,o);else for(const t of e)i.addClass(t,o)}return o}(t,o,e)}function pl(t){return t.model.values?(e,n,o)=>{const i=t.view[e];return i?i(e,n,o):null}:t.view}function ml(t){return"string"==typeof t?e=>({key:t,value:e}):"object"==typeof t?t.value?()=>t:e=>({key:t.key,value:e}):t}function fl(t,e,n){const o="function"==typeof t?t(e,n):t;return o?(o.priority||(o.priority=10),o.id||(o.id=e.markerName),o):null}function kl(t){const e=function(t){return(e,n)=>{if(!e.is("element",t.name))return!1;if("attribute"==n.type){if(t.attributes.includes(n.attributeKey))return!0}else if(t.children)return!0;return!1}}(t);return(t,n)=>{const o=[];n.reconvertedElements||(n.reconvertedElements=new Set);for(const t of n.changes){const i="attribute"==t.type?t.range.start.nodeAfter:t.position.parent;if(i&&e(i,t)){if(!n.reconvertedElements.has(i)){n.reconvertedElements.add(i);const t=Ec._createBefore(i);let e=o.length;for(let n=o.length-1;n>=0;n--){const i=o[n],r=("attribute"==i.type?i.range.start:i.position).compareWith(t);if("before"==r||"remove"==i.type&&"same"==r)break;e=n}o.splice(e,0,{type:"remove",name:i.name,position:t,length:1},{type:"reinsert",name:i.name,position:t,length:1})}}else o.push(t)}n.changes=o}}function bl(t){return(e,n,o={})=>{const i=["insert"];for(const n of t.attributes)e.hasAttribute(n)&&i.push(`attribute:${n}`);return!!i.every((t=>n.test(e,t)))&&(o.preflight||i.forEach((t=>n.consume(e,t))),!0)}}function wl(t,e,n,o){for(const i of e)Al(t.root,i,n,o)||n.convertItem(i)}function Al(t,e,n,o){const{writer:i,mapper:r}=n;if(!o.reconversion)return!1;const s=r.toViewElement(e);return!(!s||s.root==t)&&(!!n.canReuseView(s)&&(i.move(i.createRangeOn(s),r.toViewPosition(Ec._createBefore(e))),!0))}function Cl(t,e,{preflight:n}={}){return n?e.test(t,"insert"):e.consume(t,"insert")}function _l(t){const{schema:e,document:n}=t.model;for(const o of n.getRoots())if(o.isEmpty&&!e.checkChild(o,"$text")&&e.checkChild(o,"paragraph"))return t.insertElement("paragraph",o),!0;return!1}function vl(t,e,n){const o=n.createContext(t);return!!n.checkChild(o,"paragraph")&&!!n.checkChild(o.push("paragraph"),e)}function yl(t,e){const n=e.createElement("paragraph");return e.insert(n,t),e.createPositionAt(n,0)}var xl=Object.defineProperty,El=Object.defineProperties,Dl=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Sl=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,Ml=(t,e,n)=>e in t?xl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Bl extends cl{elementToElement(t){return this.add(Nl(t))}elementToAttribute(t){return this.add(function(t){t=fc(t),Ol(t);const e=Ll(t,!1),n=Pl(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"low"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=fc(t);let e=null;("string"==typeof t.view||t.view.key)&&(e=function(t){"string"==typeof t.view&&(t.view={key:t.view});const e=t.view.key;let n;if("class"==e||"style"==e){n={["class"==e?"classes":"styles"]:t.view.value}}else{n={attributes:{[e]:void 0===t.view.value?/[\s\S]*/:t.view.value}}}t.view.name&&(n.name=t.view.name);return t.view=n,e}(t));Ol(t,e);const n=Ll(t,!0);return e=>{e.on("element",n,{priority:t.converterPriority||"low"})}}(t))}elementToMarker(t){return this.add(function(t){const e=function(t){return(e,n)=>{const o="string"==typeof t?t:t(e,n);return n.writer.createElement("$marker",{"data-name":o})}}(t.model);return Nl((n=((t,e)=>{for(var n in e||(e={}))Sl.call(e,n)&&Ml(t,n,e[n]);if(Il)for(var n of Il(e))Tl.call(e,n)&&Ml(t,n,e[n]);return t})({},t),o={model:e},El(n,Dl(o))));var n,o}(t))}dataToMarker(t){return this.add(function(t){t=fc(t),t.model||(t.model=e=>e?t.view+":"+e:t.view);const e={view:t.view,model:t.model},n=zl(jl(e,"start")),o=zl(jl(e,"end"));return i=>{i.on(`element:${t.view}-start`,n,{priority:t.converterPriority||"normal"}),i.on(`element:${t.view}-end`,o,{priority:t.converterPriority||"normal"});const r=p.low,s=p.highest,a=p.get(t.converterPriority)/s;i.on("element",function(t){return(e,n,o)=>{const i=`data-${t.view}`;function r(e,i){for(const r of i){const i=t.model(r,o),s=o.writer.createElement("$marker",{"data-name":i});o.writer.insert(s,e),n.modelCursor.isEqual(e)?n.modelCursor=n.modelCursor.getShiftedBy(1):n.modelCursor=n.modelCursor._getTransformedByInsertion(e,1),n.modelRange=n.modelRange._getTransformedByInsertion(e,1)[0]}}(o.consumable.test(n.viewItem,{attributes:i+"-end-after"})||o.consumable.test(n.viewItem,{attributes:i+"-start-after"})||o.consumable.test(n.viewItem,{attributes:i+"-end-before"})||o.consumable.test(n.viewItem,{attributes:i+"-start-before"}))&&(n.modelRange||Object.assign(n,o.convertChildren(n.viewItem,n.modelCursor)),o.consumable.consume(n.viewItem,{attributes:i+"-end-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-end-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-start-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-end-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-end-before").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-start-before").split(",")))}}(e),{priority:r+a})}}(t))}}function Nl(t){const e=zl(t=fc(t)),n=Pl(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"normal"})}}function Pl(t){return"string"==typeof t?t:"object"==typeof t&&"string"==typeof t.name?t.name:null}function zl(t){const e=new ir(t.view);return(n,o,i)=>{const r=e.match(o.viewItem);if(!r)return;const s=r.match;if(s.name=!0,!i.consumable.test(o.viewItem,s))return;const a=function(t,e,n){return t instanceof Function?t(e,n):n.writer.createElement(t)}(t.model,o.viewItem,i);a&&i.safeInsert(a,o.modelCursor)&&(i.consumable.consume(o.viewItem,s),i.convertChildren(o.viewItem,a),i.updateConversionResult(a,o))}}function Ol(t,e=null){const n=null===e||(t=>t.getAttribute(e)),o="object"!=typeof t.model?t.model:t.model.key,i="object"!=typeof t.model||void 0===t.model.value?n:t.model.value;t.model={key:o,value:i}}function Ll(t,e){const n=new ir(t.view);return(o,i,r)=>{if(!i.modelRange&&e)return;const s=n.match(i.viewItem);if(!s)return;if(!function(t,e){const n="function"==typeof t?t(e):t;if("object"==typeof n&&!Pl(n))return!1;return!n.classes&&!n.attributes&&!n.styles}(t.view,i.viewItem)?delete s.match.name:s.match.name=!0,!r.consumable.test(i.viewItem,s.match))return;const a=t.model.key,c="function"==typeof t.model.value?t.model.value(i.viewItem,r):t.model.value;if(null===c)return;i.modelRange||Object.assign(i,r.convertChildren(i.viewItem,i.modelCursor));const l=function(t,e,n,o){let i=!1;for(const r of Array.from(t.getItems({shallow:n})))o.schema.checkAttribute(r,e.key)&&(i=!0,r.hasAttribute(e.key)||o.writer.setAttribute(e.key,e.value,r));return i}(i.modelRange,{key:a,value:c},e,r);l&&(r.consumable.test(i.viewItem,{name:!0})&&(s.match.name=!0),r.consumable.consume(i.viewItem,s.match))}}function jl(t,e){return{view:`${t.view}-${e}`,model:(e,n)=>{const o=e.getAttribute("name"),i=t.model(o,n);return n.writer.createElement("$marker",{"data-name":i})}}}function Rl(t){t.document.registerPostFixer((e=>function(t,e){const n=e.document.selection,o=e.schema,i=[];let r=!1;for(const t of n.getRanges()){const e=Fl(t,o);e&&!e.isEqual(t)?(i.push(e),r=!0):i.push(t)}r&&t.setSelection(function(t){const e=[...t],n=new Set;let o=1;for(;o!n.has(e)))}(i),{backward:n.isBackward});return!1}(e,t)))}function Fl(t,e){return t.isCollapsed?function(t,e){const n=t.start,o=e.getNearestSelectionRange(n);if(!o){const t=n.getAncestors().reverse().find((t=>e.isObject(t)));return t?Bc._createOn(t):null}if(!o.isCollapsed)return o;const i=o.start;if(n.isEqual(i))return null;return new Bc(i)}(t,e):function(t,e){const{start:n,end:o}=t,i=e.checkChild(n,"$text"),r=e.checkChild(o,"$text"),s=e.getLimitElement(n),a=e.getLimitElement(o);if(s===a){if(i&&r)return null;if(function(t,e,n){const o=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,"$text"),i=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,"$text");return o||i}(n,o,e)){const t=n.nodeAfter&&e.isSelectable(n.nodeAfter)?null:e.getNearestSelectionRange(n,"forward"),i=o.nodeBefore&&e.isSelectable(o.nodeBefore)?null:e.getNearestSelectionRange(o,"backward"),r=t?t.start:n,s=i?i.end:o;return new Bc(r,s)}}const c=s&&!s.is("rootElement"),l=a&&!a.is("rootElement");if(c||l){const t=n.nodeAfter&&o.nodeBefore&&n.nodeAfter.parent===o.nodeBefore.parent,i=c&&(!t||!Ul(n.nodeAfter,e)),r=l&&(!t||!Ul(o.nodeBefore,e));let d=n,h=o;return i&&(d=Ec._createBefore(Vl(s,e))),r&&(h=Ec._createAfter(Vl(a,e))),new Bc(d,h)}return null}(t,e)}function Vl(t,e){let n=t,o=n;for(;e.isLimit(o)&&o.parent;)n=o,o=o.parent;return n}function Ul(t,e){return t&&e.isSelectable(t)}class Hl extends(H()){constructor(t,e){super(),this.model=t,this.view=new kc(e),this.mapper=new Nc,this.downcastDispatcher=new qc({mapper:this.mapper,schema:t.schema});const n=this.model.document,o=n.selection,r=this.model.markers;var s,a,c;this.listenTo(this.model,"_beforeChanges",(()=>{this.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(()=>{this.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(n,"change",(()=>{this.view.change((t=>{this.downcastDispatcher.convertChanges(n.differ,r,t),this.downcastDispatcher.convertSelection(o,r,t)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(t,e){return(n,o)=>{const i=o.newSelection,r=[];for(const t of i.getRanges())r.push(e.toModelRange(t));const s=t.createSelection(r,{backward:i.isBackward});s.isEqual(t.document.selection)||t.change((t=>{t.setSelection(s)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(s=this.mapper,a=this.model.schema,c=this.view,(t,e)=>{if(!c.document.isComposing||i.isAndroid)for(let t=0;t{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((t,e,n)=>{const o=n.mapper.toViewPosition(e.position),i=e.position.getShiftedBy(e.length),r=n.mapper.toViewPosition(i,{isPhantom:!0}),s=n.writer.createRange(o,r),a=n.writer.remove(s.getTrimmed());for(const t of n.writer.createRangeIn(a).getItems())n.mapper.unbindViewElement(t,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("cleanSelection",((t,e,n)=>{const o=n.writer,i=o.document.selection;for(const t of i.getRanges())t.isCollapsed&&t.end.parent.isAttached()&&n.writer.mergeAttributes(t.start);o.setSelection(null)})),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=[];for(const t of o.getRanges())i.push(n.mapper.toViewRange(t));n.writer.setSelection(i,{backward:o.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(!o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=n.writer,r=o.getFirstPosition(),s=n.mapper.toViewPosition(r),a=i.breakAttributes(s);i.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((t=>{if("$graveyard"==t.rootName)return null;const e=new ds(this.view.document,t.name);return e.rootName=t.rootName,this.mapper.bindElements(t,e),e}))}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(t){const e="string"==typeof t?t:t.name,n=this.model.markers.get(e);if(!n)throw new k("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:e});this.model.change((()=>{this.model.markers._refresh(n)}))}reconvertItem(t){this.model.change((()=>{this.model.document.differ._refreshItem(t)}))}}class Gl{constructor(){this._consumables=new Map}add(t,e){let n;t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):(this._consumables.has(t)?n=this._consumables.get(t):(n=new Wl(t),this._consumables.set(t,n)),n.add(e))}test(t,e){const n=this._consumables.get(t);return void 0===n?null:t.is("$text")||t.is("documentFragment")?n:n.test(e)}consume(t,e){return!!this.test(t,e)&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!1):this._consumables.get(t).consume(e),!0)}revert(t,e){const n=this._consumables.get(t);void 0!==n&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):n.revert(e))}static consumablesFromElement(t){const e={element:t,name:!0,attributes:[],classes:[],styles:[]},n=t.getAttributeKeys();for(const t of n)"style"!=t&&"class"!=t&&e.attributes.push(t);const o=t.getClassNames();for(const t of o)e.classes.push(t);const i=t.getStyleNames();for(const t of i)e.styles.push(t);return e}static createFrom(t,e){if(e||(e=new Gl),t.is("$text"))return e.add(t),e;t.is("element")&&e.add(t,Gl.consumablesFromElement(t)),t.is("documentFragment")&&e.add(t);for(const n of t.getChildren())e=Gl.createFrom(n,e);return e}}const ql=["attributes","classes","styles"];class Wl{constructor(t){this.element=t,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(t){t.name&&(this._canConsumeName=!0);for(const e of ql)e in t&&this._add(e,t[e])}test(t){if(t.name&&!this._canConsumeName)return this._canConsumeName;for(const e of ql)if(e in t){const n=this._test(e,t[e]);if(!0!==n)return n}return!0}consume(t){t.name&&(this._canConsumeName=!1);for(const e of ql)e in t&&this._consume(e,t[e])}revert(t){t.name&&(this._canConsumeName=!0);for(const e of ql)e in t&&this._revert(e,t[e])}_add(t,e){const n=ht(e)?e:[e],o=this._consumables[t];for(const e of n){if("attributes"===t&&("class"===e||"style"===e))throw new k("viewconsumable-invalid-attribute",this);if(o.set(e,!0),"styles"===t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!0)}}_test(t,e){const n=ht(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){const t=o.get(e);if(void 0===t)return null;if(!t)return!1}else{const t="class"==e?"classes":"styles",n=this._test(t,[...this._consumables[t].keys()]);if(!0!==n)return n}return!0}_consume(t,e){const n=ht(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){if(o.set(e,!1),"styles"==t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!1)}else{const t="class"==e?"classes":"styles";this._consume(t,[...this._consumables[t].keys()])}}_revert(t,e){const n=ht(e)?e:[e],o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){!1===o.get(e)&&o.set(e,!0)}else{const t="class"==e?"classes":"styles";this._revert(t,[...this._consumables[t].keys()])}}}class Kl extends(H()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((t,e)=>{e[0]=new Zl(e[0])}),{priority:"highest"}),this.on("checkChild",((t,e)=>{e[0]=new Zl(e[0]),e[1]=this.getDefinition(e[1])}),{priority:"highest"})}register(t,e){if(this._sourceDefinitions[t])throw new k("schema-cannot-register-item-twice",this,{itemName:t});this._sourceDefinitions[t]=[Object.assign({},e)],this._clearCache()}extend(t,e){if(!this._sourceDefinitions[t])throw new k("schema-cannot-extend-missing-item",this,{itemName:t});this._sourceDefinitions[t].push(Object.assign({},e)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(t){let e;return e="string"==typeof t?t:"is"in t&&(t.is("$text")||t.is("$textProxy"))?"$text":t.name,this.getDefinitions()[e]}isRegistered(t){return!!this.getDefinition(t)}isBlock(t){const e=this.getDefinition(t);return!(!e||!e.isBlock)}isLimit(t){const e=this.getDefinition(t);return!!e&&!(!e.isLimit&&!e.isObject)}isObject(t){const e=this.getDefinition(t);return!!e&&!!(e.isObject||e.isLimit&&e.isSelectable&&e.isContent)}isInline(t){const e=this.getDefinition(t);return!(!e||!e.isInline)}isSelectable(t){const e=this.getDefinition(t);return!!e&&!(!e.isSelectable&&!e.isObject)}isContent(t){const e=this.getDefinition(t);return!!e&&!(!e.isContent&&!e.isObject)}checkChild(t,e){return!!e&&this._checkContextMatch(e,t)}checkAttribute(t,e){const n=this.getDefinition(t.last);return!!n&&n.allowAttributes.includes(e)}checkMerge(t,e){if(t instanceof Ec){const e=t.nodeBefore,n=t.nodeAfter;if(!(e instanceof vc))throw new k("schema-check-merge-no-element-before",this);if(!(n instanceof vc))throw new k("schema-check-merge-no-element-after",this);return this.checkMerge(e,n)}for(const n of e.getChildren())if(!this.checkChild(t,n))return!1;return!0}addChildCheck(t){this.on("checkChild",((e,[n,o])=>{if(!o)return;const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}addAttributeCheck(t){this.on("checkAttribute",((e,[n,o])=>{const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}setAttributeProperties(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}getAttributeProperties(t){return this._attributeProperties[t]||{}}getLimitElement(t){let e;if(t instanceof Ec)e=t.parent;else{e=(t instanceof Bc?[t]:Array.from(t.getRanges())).reduce(((t,e)=>{const n=e.getCommonAncestor();return t?t.getCommonAncestor(n,{includeSelf:!0}):n}),null)}for(;!this.isLimit(e)&&e.parent;)e=e.parent;return e}checkAttributeInSelection(t,e){if(t.isCollapsed){const n=[...t.getFirstPosition().getAncestors(),new Cc("",t.getAttributes())];return this.checkAttribute(n,e)}{const n=t.getRanges();for(const t of n)for(const n of t)if(this.checkAttribute(n.item,e))return!0}return!1}*getValidRanges(t,e){t=function*(t){for(const e of t)yield*e.getMinimalFlatRanges()}(t);for(const n of t)yield*this._getValidRangesForRange(n,e)}getNearestSelectionRange(t,e="both"){if("$graveyard"==t.root.rootName)return null;if(this.checkChild(t,"$text"))return new Bc(t);let n,o;const i=t.getAncestors().reverse().find((t=>this.isLimit(t)))||t.root;"both"!=e&&"backward"!=e||(n=new yc({boundaries:Bc._createIn(i),startPosition:t,direction:"backward"})),"both"!=e&&"forward"!=e||(o=new yc({boundaries:Bc._createIn(i),startPosition:t}));for(const t of function*(t,e){let n=!1;for(;!n;){if(n=!0,t){const e=t.next();e.done||(n=!1,yield{walker:t,value:e.value})}if(e){const t=e.next();t.done||(n=!1,yield{walker:e,value:t.value})}}}(n,o)){const e=t.walker==n?"elementEnd":"elementStart",o=t.value;if(o.type==e&&this.isObject(o.item))return Bc._createOn(o.item);if(this.checkChild(o.nextPosition,"$text"))return new Bc(o.nextPosition)}return null}findAllowedParent(t,e){let n=t.parent;for(;n;){if(this.checkChild(n,e))return n;if(this.isLimit(n))return null;n=n.parent}return null}setAllowedAttributes(t,e,n){const o=n.model;for(const[i,r]of Object.entries(e))o.schema.checkAttribute(t,i)&&n.setAttribute(i,r,t)}removeDisallowedAttributes(t,e){for(const n of t)if(n.is("$text"))ad(this,n,e);else{const t=Bc._createIn(n).getPositions();for(const n of t){ad(this,n.nodeBefore||n.parent,e)}}}getAttributesWithProperty(t,e,n){const o={};for(const[i,r]of t.getAttributes()){const t=this.getAttributeProperties(i);void 0!==t[e]&&(void 0!==n&&n!==t[e]||(o[i]=r))}return o}createContext(t){return new Zl(t)}_clearCache(){this._compiledDefinitions=null}_compile(){const t={},e=this._sourceDefinitions,n=Object.keys(e);for(const o of n)t[o]=Yl(e[o],o);for(const e of n)$l(t,e);for(const e of n)Ql(t,e);for(const e of n)Jl(t,e);for(const e of n)Xl(t,e),td(t,e);for(const e of n)ed(t,e),nd(t,e),od(t,e);this._compiledDefinitions=t}_checkContextMatch(t,e,n=e.length-1){const o=e.getItem(n);if(t.allowIn.includes(o.name)){if(0==n)return!0;{const t=this.getDefinition(o);return this._checkContextMatch(t,e,n-1)}}return!1}*_getValidRangesForRange(t,e){let n=t.start,o=t.start;for(const i of t.getItems({shallow:!0}))i.is("element")&&(yield*this._getValidRangesForRange(Bc._createIn(i),e)),this.checkAttribute(i,e)||(n.isEqual(o)||(yield new Bc(n,o)),n=Ec._createAfter(i)),o=Ec._createAfter(i);n.isEqual(o)||(yield new Bc(n,o))}}class Zl{constructor(t){if(t instanceof Zl)return t;let e;e="string"==typeof t?[t]:Array.isArray(t)?t:t.getAncestors({includeSelf:!0}),this._items=e.map(sd)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(t){const e=new Zl([t]);return e._items=[...this._items,...e._items],e}getItem(t){return this._items[t]}*getNames(){yield*this._items.map((t=>t.name))}endsWith(t){return Array.from(this.getNames()).join(" ").endsWith(t)}startsWith(t){return Array.from(this.getNames()).join(" ").startsWith(t)}}function Yl(t,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(t,e){for(const n of t){const t=Object.keys(n).filter((t=>t.startsWith("is")));for(const o of t)e[o]=!!n[o]}}(t,n),id(t,n,"allowIn"),id(t,n,"allowContentOf"),id(t,n,"allowWhere"),id(t,n,"allowAttributes"),id(t,n,"allowAttributesOf"),id(t,n,"allowChildren"),id(t,n,"inheritTypesFrom"),function(t,e){for(const n of t){const t=n.inheritAllFrom;t&&(e.allowContentOf.push(t),e.allowWhere.push(t),e.allowAttributesOf.push(t),e.inheritTypesFrom.push(t))}}(t,n),n}function $l(t,e){const n=t[e];for(const o of n.allowChildren){const n=t[o];n&&n.allowIn.push(e)}n.allowChildren.length=0}function Ql(t,e){for(const n of t[e].allowContentOf)if(t[n]){rd(t,n).forEach((t=>{t.allowIn.push(e)}))}delete t[e].allowContentOf}function Jl(t,e){for(const n of t[e].allowWhere){const o=t[n];if(o){const n=o.allowIn;t[e].allowIn.push(...n)}}delete t[e].allowWhere}function Xl(t,e){for(const n of t[e].allowAttributesOf){const o=t[n];if(o){const n=o.allowAttributes;t[e].allowAttributes.push(...n)}}delete t[e].allowAttributesOf}function td(t,e){const n=t[e];for(const e of n.inheritTypesFrom){const o=t[e];if(o){const t=Object.keys(o).filter((t=>t.startsWith("is")));for(const e of t)e in n||(n[e]=o[e])}}delete n.inheritTypesFrom}function ed(t,e){const n=t[e],o=n.allowIn.filter((e=>t[e]));n.allowIn=Array.from(new Set(o))}function nd(t,e){const n=t[e];for(const o of n.allowIn){t[o].allowChildren.push(e)}}function od(t,e){const n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function id(t,e,n){for(const o of t){const t=o[n];"string"==typeof t?e[n].push(t):Array.isArray(t)&&e[n].push(...t)}}function rd(t,e){const n=t[e];return(o=t,Object.keys(o).map((t=>o[t]))).filter((t=>t.allowIn.includes(n.name)));var o}function sd(t){return"string"==typeof t||t.is("documentFragment")?{name:"string"==typeof t?t:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:t.is("element")?t.name:"$text",*getAttributeKeys(){yield*t.getAttributeKeys()},getAttribute:e=>t.getAttribute(e)}}function ad(t,e,n){for(const o of e.getAttributeKeys())t.checkAttribute(e,o)||n.removeAttribute(o,e)}var cd=Object.defineProperty,ld=Object.defineProperties,dd=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,ud=Object.prototype.hasOwnProperty,gd=Object.prototype.propertyIsEnumerable,pd=(t,e,n)=>e in t?cd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class md extends(I()){constructor(t){var e;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(e=((t,e)=>{for(var n in e||(e={}))ud.call(e,n)&&pd(t,n,e[n]);if(hd)for(var n of hd(e))gd.call(e,n)&&pd(t,n,e[n]);return t})({},t),ld(e,dd({consumable:null,writer:null,store:null,convertItem:(t,e)=>this._convertItem(t,e),convertChildren:(t,e)=>this._convertChildren(t,e),safeInsert:(t,e)=>this._safeInsert(t,e),updateConversionResult:(t,e)=>this._updateConversionResult(t,e),splitToAllowedParent:(t,e)=>this._splitToAllowedParent(t,e),getSplitParts:t=>this._getSplitParts(t),keepEmptyElement:t=>this._keepEmptyElement(t)})))}convert(t,e,n=["$root"]){this.fire("viewCleanup",t),this._modelCursor=function(t,e){let n;for(const o of new Zl(t)){const t={};for(const e of o.getAttributeKeys())t[e]=o.getAttribute(e);const i=e.createElement(o.name,t);n&&e.insert(i,n),n=Ec._createAt(i,0)}return n}(n,e),this.conversionApi.writer=e,this.conversionApi.consumable=Gl.createFrom(t),this.conversionApi.store={};const{modelRange:o}=this._convertItem(t,this._modelCursor),i=e.createDocumentFragment();if(o){this._removeEmptyElements();for(const t of Array.from(this._modelCursor.parent.getChildren()))e.append(t,i);i.markers=function(t,e){const n=new Set,o=new Map,i=Bc._createIn(t).getItems();for(const t of i)t.is("element","$marker")&&n.add(t);for(const t of n){const n=t.getAttribute("data-name"),i=e.createPositionBefore(t);o.has(n)?o.get(n).end=i.clone():o.set(n,new Bc(i.clone())),e.remove(t)}return o}(i,e)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}_convertItem(t,e){const n={viewItem:t,modelCursor:e,modelRange:null};if(t.is("element")?this.fire(`element:${t.name}`,n,this.conversionApi):t.is("$text")?this.fire("text",n,this.conversionApi):this.fire("documentFragment",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof Bc))throw new k("view-conversion-dispatcher-incorrect-result",this);return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(t,e){let n=e.is("position")?e:Ec._createAt(e,0);const o=new Bc(n);for(const e of Array.from(t.getChildren())){const t=this._convertItem(e,n);t.modelRange instanceof Bc&&(o.end=t.modelRange.end,n=t.modelCursor)}return{modelRange:o,modelCursor:n}}_safeInsert(t,e){const n=this._splitToAllowedParent(t,e);return!!n&&(this.conversionApi.writer.insert(t,n.position),!0)}_updateConversionResult(t,e){const n=this._getSplitParts(t),o=this.conversionApi.writer;e.modelRange||(e.modelRange=o.createRange(o.createPositionBefore(t),o.createPositionAfter(n[n.length-1])));const i=this._cursorParents.get(t);e.modelCursor=i?o.createPositionAt(i,0):e.modelRange.end}_splitToAllowedParent(t,e){const{schema:n,writer:o}=this.conversionApi;let i=n.findAllowedParent(e,t);if(i){if(i===e.parent)return{position:e};this._modelCursor.parent.getAncestors().includes(i)&&(i=null)}if(!i)return vl(e,t,n)?{position:yl(e,o)}:null;const r=this.conversionApi.writer.split(e,i),s=[];for(const t of r.range.getWalker())if("elementEnd"==t.type)s.push(t.item);else{const e=s.pop(),n=t.item;this._registerSplitPair(e,n)}const a=r.range.end.parent;return this._cursorParents.set(t,a),{position:r.position,cursorParent:a}}_registerSplitPair(t,e){this._splitParts.has(t)||this._splitParts.set(t,[t]);const n=this._splitParts.get(t);this._splitParts.set(e,n),n.push(e)}_getSplitParts(t){let e;return e=this._splitParts.has(t)?this._splitParts.get(t):[t],e}_keepEmptyElement(t){this._emptyElementsToKeep.add(t)}_removeEmptyElements(){let t=!1;for(const e of this._splitParts.keys())e.isEmpty&&!this._emptyElementsToKeep.has(e)&&(this.conversionApi.writer.remove(e),this._splitParts.delete(e),t=!0);t&&this._removeEmptyElements()}}class fd{getHtml(t){const e=Mo.document.implementation.createHTMLDocument("").createElement("div");return e.appendChild(t),e.innerHTML}}class kd{constructor(t){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new ma(t,{renderingMode:"data"}),this.htmlWriter=new fd}toData(t){const e=this.domConverter.viewToDom(t);return this.htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this.domConverter.domToView(e,{skipComments:this.skipComments})}registerRawContentMatcher(t){this.domConverter.registerRawContentMatcher(t)}useFillerType(t){this.domConverter.blockFillerMode="marked"==t?"markedNbsp":"nbsp"}_toDom(t){t.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(t=`${t}`);const e=this.domParser.parseFromString(t,"text/html"),n=e.createDocumentFragment(),o=e.body.childNodes;for(;o.length>0;)n.appendChild(o[0]);return n}}class bd extends(I()){constructor(t,e){super(),this.model=t,this.mapper=new Nc,this.downcastDispatcher=new qc({mapper:this.mapper,schema:t.schema}),this.downcastDispatcher.on("insert:$text",((t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.upcastDispatcher=new md({schema:t.schema}),this.viewDocument=new ys(e),this.stylesProcessor=e,this.htmlProcessor=new kd(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Os(this.viewDocument),this.upcastDispatcher.on("text",((t,e,{schema:n,consumable:o,writer:i})=>{let r=e.modelCursor;if(!o.test(e.viewItem))return;if(!n.checkChild(r,"$text")){if(!vl(r,"$text",n))return;if(0==e.viewItem.data.trim().length)return;const t=r.nodeBefore;r=yl(r,i),t&&t.is("element","$marker")&&(i.move(i.createRangeOn(t),r),r=i.createPositionAfter(t))}o.consume(e.viewItem);const s=i.createText(e.viewItem.data);i.insert(s,r),e.modelRange=i.createRange(r,r.getShiftedBy(s.offsetSize)),e.modelCursor=e.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),H().prototype.decorate.call(this,"init"),H().prototype.decorate.call(this,"set"),H().prototype.decorate.call(this,"get"),H().prototype.decorate.call(this,"toView"),H().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},_l)}),{priority:"lowest"})}get(t={}){const{rootName:e="main",trim:n="empty"}=t;if(!this._checkIfRootsExists([e]))throw new k("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(e);return o.isAttached()||b("datacontroller-get-detached-root",this),"empty"!==n||this.model.hasContent(o,{ignoreWhitespaces:!0})?this.stringify(o,t):""}stringify(t,e={}){const n=this.toView(t,e);return this.processor.toData(n)}toView(t,e={}){const n=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const i=Bc._createIn(t),r=new zs(n);this.mapper.bindElements(t,r);const s=t.is("documentFragment")?t.markers:function(t){const e=[],n=t.root.document;if(!n)return new Map;const o=Bc._createIn(t);for(const t of n.model.markers){const n=t.getRange(),i=n.isCollapsed,r=n.start.isEqual(o.start)||n.end.isEqual(o.end);if(i&&r)e.push([t.name,n]);else{const i=o.getIntersection(n);i&&e.push([t.name,i])}}return e.sort((([t,e],[n,o])=>{if("after"!==e.end.compareWith(o.start))return 1;if("before"!==e.start.compareWith(o.end))return-1;switch(e.start.compareWith(o.start)){case"before":return 1;case"after":return-1;default:switch(e.end.compareWith(o.end)){case"before":return 1;case"after":return-1;default:return n.localeCompare(t)}}})),new Map(e)}(t);return this.downcastDispatcher.convert(i,s,o,e),r}init(t){if(this.model.document.version)throw new k("datacontroller-init-document-not-empty",this);let e={};if("string"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new k("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(t=>{for(const n of Object.keys(e)){const o=this.model.document.getRoot(n);t.insert(this.parse(e[n],o),o,0)}})),Promise.resolve()}set(t,e={}){let n={};if("string"==typeof t?n.main=t:n=t,!this._checkIfRootsExists(Object.keys(n)))throw new k("datacontroller-set-non-existent-root",this);this.model.enqueueChange(e.batchType||{},(t=>{t.setSelection(null),t.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const e of Object.keys(n)){const o=this.model.document.getRoot(e);t.remove(t.createRangeIn(o)),t.insert(this.parse(n[e],o),o,0)}}))}parse(t,e="$root"){const n=this.processor.toView(t);return this.toModel(n,e)}toModel(t,e="$root"){return this.model.change((n=>this.upcastDispatcher.convert(t,n,e)))}addStyleProcessorRules(t){t(this.stylesProcessor)}registerRawContentMatcher(t){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(t),this.htmlProcessor.registerRawContentMatcher(t)}destroy(){this.stopListening()}_checkIfRootsExists(t){for(const e of t)if(!this.model.document.getRoot(e))return!1;return!0}}class wd{constructor(t,e){this._helpers=new Map,this._downcast=bi(t),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=bi(e),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(t,e){const n=this._downcast.includes(e);if(!this._upcast.includes(e)&&!n)throw new k("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n})}for(t){if(!this._helpers.has(t))throw new k("conversion-for-unknown-group",this);return this._helpers.get(t)}elementToElement(t){this.for("downcast").elementToElement(t);for(const{model:e,view:n}of Ad(t))this.for("upcast").elementToElement({model:e,view:n,converterPriority:t.converterPriority})}attributeToElement(t){this.for("downcast").attributeToElement(t);for(const{model:e,view:n}of Ad(t))this.for("upcast").elementToAttribute({view:n,model:e,converterPriority:t.converterPriority})}attributeToAttribute(t){this.for("downcast").attributeToAttribute(t);for(const{model:e,view:n}of Ad(t))this.for("upcast").attributeToAttribute({view:n,model:e})}_createConversionHelpers({name:t,dispatchers:e,isDowncast:n}){if(this._helpers.has(t))throw new k("conversion-group-exists",this);const o=n?new ll(e):new Bl(e);this._helpers.set(t,o)}}function*Ad(t){if(t.model.values)for(const e of t.model.values){const n={key:t.model.key,value:e},o=t.view[e],i=t.upcastAlso?t.upcastAlso[e]:void 0;yield*Cd(n,o,i)}else yield*Cd(t.model,t.view,t.upcastAlso)}function*Cd(t,e,n){if(yield{model:t,view:e},n)for(const e of bi(n))yield{model:t,view:e}}class _d{constructor(t){this.baseVersion=t,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t}static get className(){return"Operation"}static fromJSON(t,e){return new this(t.baseVersion)}}function vd(t,e){const n=Ed(e),o=n.reduce(((t,e)=>t+e.offsetSize),0),i=t.parent;Id(t);const r=t.index;return i._insertChild(r,n),Dd(i,r+n.length),Dd(i,r),new Bc(t,t.getShiftedBy(o))}function yd(t){if(!t.isFlat)throw new k("operation-utils-remove-range-not-flat",this);const e=t.start.parent;Id(t.start),Id(t.end);const n=e._removeChildren(t.start.index,t.end.index-t.start.index);return Dd(e,t.start.index),n}function xd(t,e){if(!t.isFlat)throw new k("operation-utils-move-range-not-flat",this);const n=yd(t);return vd(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),n)}function Ed(t){const e=[];!function t(n){if("string"==typeof n)e.push(new Cc(n));else if(n instanceof _c)e.push(new Cc(n.data,n.getAttributes()));else if(n instanceof wc)e.push(n);else if(Q(n))for(const e of n)t(e);else{}}(t);for(let t=1;tt.maxOffset)throw new k("move-operation-nodes-do-not-exist",this);if(t===e&&n=n&&this.targetPosition.path[t]t._clone(!0)))),e=new Md(this.position,t,this.baseVersion);return e.shouldReceiveAttributes=this.shouldReceiveAttributes,e}getReversed(){const t=this.position.root.document.graveyard,e=new Ec(t,[0]);return new Td(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}_validate(){const t=this.position.parent;if(!t||t.maxOffsett._clone(!0)))),vd(this.position,t)}toJSON(){const t=super.toJSON();return t.position=this.position.toJSON(),t.nodes=this.nodes.toJSON(),t}static get className(){return"InsertOperation"}static fromJSON(t,e){const n=[];for(const e of t.nodes)e.name?n.push(vc.fromJSON(e)):n.push(Cc.fromJSON(e));const o=new Md(Ec.fromJSON(t.position,e),n,t.baseVersion);return o.shouldReceiveAttributes=t.shouldReceiveAttributes,o}}class Bd extends _d{constructor(t,e,n,o,i){super(i),this.splitPosition=t.clone(),this.splitPosition.stickiness="toNext",this.howMany=e,this.insertionPosition=n,this.graveyardPosition=o?o.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const t=this.insertionPosition.path.slice();return t.push(0),new Ec(this.insertionPosition.root,t)}get movedRange(){const t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Bc(this.splitPosition,t)}get affectedSelectable(){const t=[Bc._createFromPositionAndShift(this.splitPosition,0),Bc._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&t.push(Bc._createFromPositionAndShift(this.graveyardPosition,0)),t}clone(){return new Bd(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.splitPosition.root.document.graveyard,e=new Ec(t,[0]);return new Nd(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}_validate(){const t=this.splitPosition.parent,e=this.splitPosition.offset;if(!t||t.maxOffset{if(t.key===e.key&&t.range.start.hasSameParentAs(e.range.start)){const o=t.range.getDifference(e.range).map((e=>new Od(e,t.key,t.oldValue,t.newValue,0))),i=t.range.getIntersection(e.range);return i&&n.aIsStrong&&o.push(new Od(i,e.key,e.newValue,t.newValue,0)),0==o.length?[new Ld(0)]:o}return[t]})),Gd(Od,Md,((t,e)=>{if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){const n=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map((e=>new Od(e,t.key,t.oldValue,t.newValue,t.baseVersion)));if(e.shouldReceiveAttributes){const o=Qd(e,t.key,t.oldValue);o&&n.unshift(o)}return n}return t.range=t.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[t]})),Gd(Od,Nd,((t,e)=>{const n=[];t.range.start.hasSameParentAs(e.deletionPosition)&&(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition))&&n.push(Bc._createFromPositionAndShift(e.graveyardPosition,1));const o=t.range._getTransformedByMergeOperation(e);return o.isCollapsed||n.push(o),n.map((e=>new Od(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),Gd(Od,Td,((t,e)=>{const n=function(t,e){const n=Bc._createFromPositionAndShift(e.sourcePosition,e.howMany);let o=null,i=[];n.containsRange(t,!0)?o=t:t.start.hasSameParentAs(n.start)?(i=t.getDifference(n),o=t.getIntersection(n)):i=[t];const r=[];for(let t of i){t=t._getTransformedByDeletion(e.sourcePosition,e.howMany);const n=e.getMovedRangeStart(),o=t.start.hasSameParentAs(n),i=t._getTransformedByInsertion(n,e.howMany,o);r.push(...i)}o&&r.push(o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]);return r}(t.range,e);return n.map((e=>new Od(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),Gd(Od,Bd,((t,e)=>{if(t.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.range.end.offset++,[t];if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){const n=t.clone();return n.range=new Bc(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),t.range.end=e.splitPosition.clone(),t.range.end.stickiness="toPrevious",[t,n]}return t.range=t.range._getTransformedBySplitOperation(e),[t]})),Gd(Md,Od,((t,e)=>{const n=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){const o=Qd(t,e.key,e.newValue);o&&n.push(o)}return n})),Gd(Md,Md,((t,e,n)=>(t.position.isEqual(e.position)&&n.aIsStrong||(t.position=t.position._getTransformedByInsertOperation(e)),[t]))),Gd(Md,Td,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),Gd(Md,Bd,((t,e)=>(t.position=t.position._getTransformedBySplitOperation(e),[t]))),Gd(Md,Nd,((t,e)=>(t.position=t.position._getTransformedByMergeOperation(e),[t]))),Gd(Pd,Md,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]),t.newRange&&(t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]),[t]))),Gd(Pd,Pd,((t,e,n)=>{if(t.name==e.name){if(!n.aIsStrong)return[new Ld(0)];t.oldRange=e.newRange?e.newRange.clone():null}return[t]})),Gd(Pd,Nd,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByMergeOperation(e)),t.newRange&&(t.newRange=t.newRange._getTransformedByMergeOperation(e)),[t]))),Gd(Pd,Td,((t,e,n)=>{if(t.oldRange&&(t.oldRange=Bc._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))),t.newRange){if(n.abRelation){const o=Bc._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if("left"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.start))return t.newRange.end=o.end,t.newRange.start.path=n.abRelation.path,[t];if("right"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.end))return t.newRange.start=o.start,t.newRange.end.path=n.abRelation.path,[t]}t.newRange=Bc._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]})),Gd(Pd,Bd,((t,e,n)=>{if(t.oldRange&&(t.oldRange=t.oldRange._getTransformedBySplitOperation(e)),t.newRange){if(n.abRelation){const o=t.newRange._getTransformedBySplitOperation(e);return t.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?t.newRange.start=Ec._createAt(e.insertionPosition):t.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement&&(t.newRange.start=Ec._createAt(e.moveTargetPosition)),t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement?t.newRange.end=Ec._createAt(e.moveTargetPosition):t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?t.newRange.end=Ec._createAt(e.insertionPosition):t.newRange.end=o.end,[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]})),Gd(Nd,Md,((t,e)=>(t.sourcePosition.hasSameParentAs(e.position)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e),t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e),[t]))),Gd(Nd,Nd,((t,e,n)=>{if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(n.bWasUndone){const n=e.graveyardPosition.path.slice();return n.push(0),t.sourcePosition=new Ec(e.graveyardPosition.root,n),t.howMany=0,[t]}return[new Ld(0)]}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&"splitAtSource"!=n.abRelation){const o="$graveyard"==t.targetPosition.root.rootName,i="$graveyard"==e.targetPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=e.targetPosition._getTransformedByMergeOperation(e),o=t.targetPosition._getTransformedByMergeOperation(e);return[new Td(n,t.howMany,o,0)]}return[new Ld(0)]}return t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),t.graveyardPosition.isEqual(e.graveyardPosition)&&n.aIsStrong||(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),Gd(Nd,Td,((t,e,n)=>{const o=Bc._createFromPositionAndShift(e.sourcePosition,e.howMany);return"remove"==e.type&&!n.bWasUndone&&!n.forceWeakRemove&&t.deletionPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.sourcePosition)?[new Ld(0)]:(t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition.hasSameParentAs(e.sourcePosition)&&(t.howMany-=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e),t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e),t.graveyardPosition.isEqual(e.targetPosition)||(t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)),[t])})),Gd(Nd,Bd,((t,e,n)=>{if(e.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),t.deletionPosition.isEqual(e.graveyardPosition)&&(t.howMany=e.howMany)),t.targetPosition.isEqual(e.splitPosition)){const o=0!=e.howMany,i=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(o||i||"mergeTargetNotMoved"==n.abRelation)return t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),[t]}if(t.sourcePosition.isEqual(e.splitPosition)){if("mergeSourceNotMoved"==n.abRelation)return t.howMany=0,t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t];if("mergeSameElement"==n.abRelation||t.sourcePosition.offset>0)return t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}return t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]})),Gd(Td,Md,((t,e)=>{const n=Bc._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=n.start,t.howMany=n.end.offset-n.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t]})),Gd(Td,Td,((t,e,n)=>{const o=Bc._createFromPositionAndShift(t.sourcePosition,t.howMany),i=Bc._createFromPositionAndShift(e.sourcePosition,e.howMany);let r,s=n.aIsStrong,a=!n.aIsStrong;if("insertBefore"==n.abRelation||"insertAfter"==n.baRelation?a=!0:"insertAfter"!=n.abRelation&&"insertBefore"!=n.baRelation||(a=!1),r=t.targetPosition.isEqual(e.targetPosition)&&a?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Jd(t,e)&&Jd(e,t))return[e.getReversed()];if(o.containsPosition(e.targetPosition)&&o.containsRange(i,!0))return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Xd([o],r);if(i.containsPosition(t.targetPosition)&&i.containsRange(o,!0))return o.start=o.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),o.end=o.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),Xd([o],r);const c=$(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if("prefix"==c||"extension"==c)return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Xd([o],r);"remove"!=t.type||"remove"==e.type||n.aWasUndone||n.forceWeakRemove?"remove"==t.type||"remove"!=e.type||n.bWasUndone||n.forceWeakRemove||(s=!1):s=!0;const l=[],d=o.getDifference(i);for(const t of d){t.start=t.start._getTransformedByDeletion(e.sourcePosition,e.howMany),t.end=t.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const n="same"==$(t.start.getParentPath(),e.getMovedRangeStart().getParentPath()),o=t._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,n);l.push(...o)}const h=o.getIntersection(i);return null!==h&&s&&(h.start=h.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),h.end=h.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===l.length?l.push(h):1==l.length?i.start.isBefore(o.start)||i.start.isEqual(o.start)?l.unshift(h):l.push(h):l.splice(1,0,h)),0===l.length?[new Ld(t.baseVersion)]:Xd(l,r)})),Gd(Td,Bd,((t,e,n)=>{let o=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&"moveTargetAfter"!=n.abRelation||(o=t.targetPosition._getTransformedBySplitOperation(e));const i=Bc._createFromPositionAndShift(t.sourcePosition,t.howMany);if(i.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=o,[t];if(i.start.hasSameParentAs(e.splitPosition)&&i.containsPosition(e.splitPosition)){let t=new Bc(e.splitPosition,i.end);t=t._getTransformedBySplitOperation(e);return Xd([new Bc(i.start,e.splitPosition),t],o)}t.targetPosition.isEqual(e.splitPosition)&&"insertAtSource"==n.abRelation&&(o=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&"insertBetween"==n.abRelation&&(o=t.targetPosition);const r=[i._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const o=i.start.isEqual(e.graveyardPosition)||i.containsPosition(e.graveyardPosition);t.howMany>1&&o&&!n.aWasUndone&&r.push(Bc._createFromPositionAndShift(e.insertionPosition,1))}return Xd(r,o)})),Gd(Td,Nd,((t,e,n)=>{const o=Bc._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.sourcePosition))if("remove"!=t.type||n.forceWeakRemove){if(1==t.howMany)return n.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new Ld(0)]}else if(!n.aWasUndone){const n=[];let o=e.graveyardPosition.clone(),i=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(n.push(new Td(t.sourcePosition,t.howMany-1,t.targetPosition,0)),o=o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));const r=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),s=new Td(o,1,r,0),a=s.getMovedRangeStart().path.slice();a.push(0);const c=new Ec(s.targetPosition.root,a);i=i._getTransformedByMove(o,r,1);const l=new Td(i,e.howMany,c,0);return n.push(s),n.push(l),n}const i=Bc._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=i.start,t.howMany=i.end.offset-i.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]})),Gd(jd,Md,((t,e)=>(t.position=t.position._getTransformedByInsertOperation(e),[t]))),Gd(jd,Nd,((t,e)=>t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness="toNext",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t]))),Gd(jd,Td,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),Gd(jd,jd,((t,e,n)=>{if(t.position.isEqual(e.position)){if(!n.aIsStrong)return[new Ld(0)];t.oldName=e.newName}return[t]})),Gd(jd,Bd,((t,e)=>{if("same"==$(t.position.path,e.splitPosition.getParentPath())&&!e.graveyardPosition){const e=new jd(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,e]}return t.position=t.position._getTransformedBySplitOperation(e),[t]})),Gd(Rd,Rd,((t,e,n)=>{if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue)return[new Ld(0)];t.oldValue=e.newValue}return[t]})),Gd(Fd,Fd,((t,e)=>t.rootName===e.rootName&&t.isAdd===e.isAdd?[new Ld(0)]:[t])),Gd(Bd,Md,((t,e)=>(t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset{if(!t.graveyardPosition&&!n.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){const n=e.graveyardPosition.path.slice();n.push(0);const o=new Ec(e.graveyardPosition.root,n),i=Bd.getInsertionPosition(new Ec(e.graveyardPosition.root,n)),r=new Bd(o,0,i,null,0);return t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Bd.getInsertionPosition(t.splitPosition),t.graveyardPosition=r.insertionPosition.clone(),t.graveyardPosition.stickiness="toNext",[r,t]}return t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)&&t.howMany--,t.splitPosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Bd.getInsertionPosition(t.splitPosition),t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),Gd(Bd,Td,((t,e,n)=>{const o=Bc._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){const i=o.start.isEqual(t.graveyardPosition)||o.containsPosition(t.graveyardPosition);if(!n.bWasUndone&&i){const n=t.splitPosition._getTransformedByMoveOperation(e),o=t.graveyardPosition._getTransformedByMoveOperation(e),i=o.path.slice();i.push(0);const r=new Ec(o.root,i);return[new Td(n,t.howMany,r,0)]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}const i=t.splitPosition.isEqual(e.targetPosition);if(i&&("insertAtSource"==n.baRelation||"splitBefore"==n.abRelation))return t.howMany+=e.howMany,t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),t.insertionPosition=Bd.getInsertionPosition(t.splitPosition),[t];if(i&&n.abRelation&&n.abRelation.howMany){const{howMany:e,offset:o}=n.abRelation;return t.howMany+=e,t.splitPosition=t.splitPosition.getShiftedBy(o),[t]}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.splitPosition)){const n=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);return t.howMany-=n,t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset{if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition)return[new Ld(0)];if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition))return[new Ld(0)];if("splitBefore"==n.abRelation)return t.howMany=0,t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e),[t]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){const o="$graveyard"==t.splitPosition.root.rootName,i="$graveyard"==e.splitPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=[];return e.howMany&&n.push(new Td(e.moveTargetPosition,e.howMany,e.splitPosition,0)),t.howMany&&n.push(new Td(t.splitPosition,t.howMany,t.moveTargetPosition,0)),n}return[new Ld(0)]}if(t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)),t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==n.abRelation)return t.howMany++,[t];if(e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==n.baRelation){const n=e.insertionPosition.path.slice();n.push(0);const o=new Ec(e.insertionPosition.root,n);return[t,new Td(t.insertionPosition,1,o,0)]}return t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset{const n=e[0];n.isDocumentOperation&&nh.call(this,n)}),{priority:"low"})}function nh(t){const e=this.getTransformedByOperation(t);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",t)}}th.prototype.is=function(t){return"livePosition"===t||"model:livePosition"===t||"position"==t||"model:position"===t};class oh{constructor(t={}){"string"==typeof t&&(t="transparent"===t?{isUndoable:!1}:{},b("batch-constructor-deprecated-string-type"));const{isUndoable:e=!0,isLocal:n=!0,isUndo:o=!1,isTyping:i=!1}=t;this.operations=[],this.isUndoable=e,this.isLocal=n,this.isUndo=o,this.isTyping=i}get type(){return b("batch-type-deprecated"),"default"}get baseVersion(){for(const t of this.operations)if(null!==t.baseVersion)return t.baseVersion;return null}addOperation(t){return t.batch=this,this.operations.push(t),t}}var ih=Object.defineProperty,rh=Object.defineProperties,sh=Object.getOwnPropertyDescriptors,ah=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,lh=Object.prototype.propertyIsEnumerable,dh=(t,e,n)=>e in t?ih(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hh=(t,e)=>{for(var n in e||(e={}))ch.call(e,n)&&dh(t,n,e[n]);if(ah)for(var n of ah(e))lh.call(e,n)&&dh(t,n,e[n]);return t};class uh{constructor(t){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=t}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(t){const e=t;switch(e.type){case"insert":if(this._isInInsertedElement(e.position.parent))return;this._markInsert(e.position.parent,e.position.offset,e.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const t of e.range.getItems({shallow:!0}))this._isInInsertedElement(t.parent)||this._markAttribute(t);break;case"remove":case"move":case"reinsert":{if(e.sourcePosition.isEqual(e.targetPosition)||e.sourcePosition.getShiftedBy(e.howMany).isEqual(e.targetPosition))return;const t=this._isInInsertedElement(e.sourcePosition.parent),n=this._isInInsertedElement(e.targetPosition.parent);t||this._markRemove(e.sourcePosition.parent,e.sourcePosition.offset,e.howMany),n||this._markInsert(e.targetPosition.parent,e.getMovedRangeStart().offset,e.howMany);break}case"rename":{if(this._isInInsertedElement(e.position.parent))return;this._markRemove(e.position.parent,e.position.offset,1),this._markInsert(e.position.parent,e.position.offset,1);const t=Bc._createFromPositionAndShift(e.position,1);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}break}case"split":{const t=e.splitPosition.parent;this._isInInsertedElement(t)||this._markRemove(t,e.splitPosition.offset,e.howMany),this._isInInsertedElement(e.insertionPosition.parent)||this._markInsert(e.insertionPosition.parent,e.insertionPosition.offset,1),e.graveyardPosition&&this._markRemove(e.graveyardPosition.parent,e.graveyardPosition.offset,1);break}case"merge":{const t=e.sourcePosition.parent;this._isInInsertedElement(t.parent)||this._markRemove(t.parent,t.startOffset,1);const n=e.graveyardPosition.parent;this._markInsert(n,e.graveyardPosition.offset,1);const o=e.targetPosition.parent;this._isInInsertedElement(o)||this._markInsert(o,e.targetPosition.offset,t.maxOffset);break}case"detachRoot":case"addRoot":{const t=e.affectedSelectable;if(!t._isLoaded)return;if(t.isAttached()==e.isAdd)return;this._bufferRootStateChange(e.rootName,e.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{if(!e.root._isLoaded)return;const t=e.root.rootName;this._bufferRootAttributeChange(t,e.key,e.oldValue,e.newValue);break}}this._cachedChanges=null}bufferMarkerChange(t,e,n){e.range&&e.range.root.is("rootElement")&&!e.range.root._isLoaded&&(e.range=null),n.range&&n.range.root.is("rootElement")&&!n.range.root._isLoaded&&(n.range=null);let o=this._changedMarkers.get(t);o?o.newMarkerData=n:(o={newMarkerData:n,oldMarkerData:e},this._changedMarkers.set(t,o)),null==o.oldMarkerData.range&&null==n.range&&this._changedMarkers.delete(t)}getMarkersToRemove(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.oldMarkerData.range&&t.push({name:e,range:n.oldMarkerData.range});return t}getMarkersToAdd(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.newMarkerData.range&&t.push({name:e,range:n.newMarkerData.range});return t}getChangedMarkers(){return Array.from(this._changedMarkers).map((([t,e])=>({name:t,data:{oldRange:e.oldMarkerData.range,newRange:e.newMarkerData.range}})))}hasDataChanges(){if(this._changesInElement.size>0)return!0;if(this._changedRoots.size>0)return!0;for(const{newMarkerData:t,oldMarkerData:e}of this._changedMarkers.values()){if(t.affectsData!==e.affectsData)return!0;if(t.affectsData){const n=t.range&&!e.range,o=!t.range&&e.range,i=t.range&&e.range&&!t.range.isEqual(e.range);if(n||o||i)return!0}}return!1}getChanges(t={}){if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let e=[];for(const t of this._changesInElement.keys()){const n=this._changesInElement.get(t).sort(((t,e)=>t.offset===e.offset?t.type!=e.type?"remove"==t.type?-1:1:0:t.offsett.position.root!=e.position.root?t.position.root.rootNamet));for(const t of e)delete t.changeCount,"attribute"==t.type&&(delete t.position,delete t.length);return this._changeCount=0,this._cachedChangesWithGraveyard=e,this._cachedChanges=e.filter(mh),t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map((t=>{const e=hh({},t);return void 0!==e.state&&delete e.attributes,e}))}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(t,e){if(!this._changedRoots.has(t))return void this._changedRoots.set(t,{name:t,state:e?"attached":"detached"});const n=this._changedRoots.get(t);void 0!==n.state?(delete n.state,void 0===n.attributes&&this._changedRoots.delete(t)):n.state=e?"attached":"detached"}_bufferRootAttributeChange(t,e,n,o){const i=this._changedRoots.get(t)||{name:t},r=i.attributes||{};if(r[e]){const t=r[e];o===t.oldValue?delete r[e]:t.newValue=o}else r[e]={oldValue:n,newValue:o};0===Object.entries(r).length?(delete i.attributes,void 0===i.state&&this._changedRoots.delete(t)):(i.attributes=r,this._changedRoots.set(t,i))}_refreshItem(t){if(this._isInInsertedElement(t.parent))return;this._markRemove(t.parent,t.startOffset,t.offsetSize),this._markInsert(t.parent,t.startOffset,t.offsetSize),this._refreshedItems.add(t);const e=Bc._createOn(t);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}this._cachedChanges=null}_bufferRootLoad(t){if(t.isAttached()){this._bufferRootStateChange(t.rootName,!0),this._markInsert(t,0,t.maxOffset);for(const e of t.getAttributeKeys())this._bufferRootAttributeChange(t.rootName,e,null,t.getAttribute(e));for(const n of this._markerCollection)if(n.getRange().root==t){const t=n.getData();this.bufferMarkerChange(n.name,(e=hh({},t),rh(e,sh({range:null}))),t)}var e}}_markInsert(t,e,n){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const o={type:"insert",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o)}_markRemove(t,e,n){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const o={type:"remove",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o),this._removeAllNestedChanges(t,e,n)}_markAttribute(t){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const e={type:"attribute",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}_markChange(t,e){this._makeSnapshot(t);const n=this._getChangesForElement(t);this._handleChange(e,n),n.push(e);for(let t=0;tn.offset){if(o>i){const t={type:"attribute",offset:i,howMany:o-i,count:this._changeCount++};this._handleChange(t,e),e.push(t)}t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}else t.offset>=n.offset&&t.offseti?(t.nodesToHandle=o-i,t.offset=i):t.nodesToHandle=0);if("remove"==n.type&&t.offsetn.offset){const i={type:"attribute",offset:n.offset,howMany:o-n.offset,count:this._changeCount++};this._handleChange(i,e),e.push(i),t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}"attribute"==n.type&&(t.offset>=n.offset&&o<=i?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=n.offset&&o>=i&&(n.howMany=0))}}t.howMany=t.nodesToHandle,delete t.nodesToHandle}_getInsertDiff(t,e,n){return{type:"insert",position:Ec._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(t,e,n){return{type:"remove",position:Ec._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(t,e,n){const o=[];n=new Map(n);for(const[i,r]of e){const e=n.has(i)?n.get(i):null;e!==r&&o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:i,attributeOldValue:r,attributeNewValue:e,changeCount:this._changeCount++}),n.delete(i)}for(const[e,i]of n)o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:e,attributeOldValue:null,attributeNewValue:i,changeCount:this._changeCount++});return o}_isInInsertedElement(t){const e=t.parent;if(!e)return!1;const n=this._changesInElement.get(e),o=t.startOffset;if(n)for(const t of n)if("insert"==t.type&&o>=t.offset&&oo){for(let e=0;ethis._version+1&&this._gaps.set(this._version,t),this._version=t}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(t){if(t.baseVersion!==this.version)throw new k("model-document-history-addoperation-incorrect-version",this,{operation:t,historyVersion:this.version});this._operations.push(t),this._version++,this._baseVersionToOperationIndex.set(t.baseVersion,this._operations.length-1)}getOperations(t,e=this.version){if(!this._operations.length)return[];const n=this._operations[0];void 0===t&&(t=n.baseVersion);let o=e-1;for(const[e,n]of this._gaps)t>e&&te&&othis.lastOperation.baseVersion)return[];let i=this._baseVersionToOperationIndex.get(t);void 0===i&&(i=0);let r=this._baseVersionToOperationIndex.get(o);return void 0===r&&(r=this._operations.length-1),this._operations.slice(i,r+1)}getOperation(t){const e=this._baseVersionToOperationIndex.get(t);if(void 0!==e)return this._operations[e]}setOperationAsUndone(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t)}isUndoingOperation(t){return this._undoPairs.has(t)}isUndoneOperation(t){return this._undoneOperations.has(t)}getUndoneOperation(t){return this._undoPairs.get(t)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class kh extends vc{constructor(t,e,n="main"){super(e),this._isAttached=!0,this._isLoaded=!0,this._document=t,this.rootName=n}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}kh.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t):"rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t||"node"===t||"model:node"===t};var bh=Object.defineProperty,wh=Object.defineProperties,Ah=Object.getOwnPropertyDescriptors,Ch=Object.getOwnPropertySymbols,_h=Object.prototype.hasOwnProperty,vh=Object.prototype.propertyIsEnumerable,yh=(t,e,n)=>e in t?bh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,xh=(t,e)=>{for(var n in e||(e={}))_h.call(e,n)&&yh(t,n,e[n]);if(Ch)for(var n of Ch(e))vh.call(e,n)&&yh(t,n,e[n]);return t},Eh=(t,e)=>wh(t,Ah(e));const Dh="$graveyard";class Ih extends(I()){constructor(t){super(),this.model=t,this.history=new fh,this.selection=new rl(this),this.roots=new vi({idProperty:"rootName"}),this.differ=new uh(t.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Dh),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.differ.bufferOperation(n)}),{priority:"high"}),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.history.addOperation(n)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(t.markers,"update",((t,e,n,o,i)=>{const r=Eh(xh({},e.getData()),{range:o});this.differ.bufferMarkerChange(e.name,i,r),null===n&&e.on("change",((t,n)=>{const o=e.getData();this.differ.bufferMarkerChange(e.name,Eh(xh({},o),{range:n}),o)}))})),this.registerPostFixer((t=>{let e=!1;for(const n of this.roots)n.isAttached()||n.isEmpty||(t.remove(t.createRangeIn(n)),e=!0);for(const n of this.model.markers)n.getRange().root.isAttached()||(t.removeMarker(n),e=!0);return e}))}get version(){return this.history.version}set version(t){this.history.version=t}get graveyard(){return this.getRoot(Dh)}createRoot(t="$root",e="main"){if(this.roots.get(e))throw new k("model-document-createroot-name-exists",this,{name:e});const n=new kh(this,t,e);return this.roots.add(n),n}destroy(){this.selection.destroy(),this.stopListening()}getRoot(t="main"){return this.roots.get(t)}getRootNames(t=!1){return this.getRoots(t).map((t=>t.rootName))}getRoots(t=!1){return this.roots.filter((e=>e!=this.graveyard&&(t||e.isAttached())&&e._isLoaded))}registerPostFixer(t){this._postFixers.add(t)}toJSON(){const t=tr(this);return t.selection="[engine.model.DocumentSelection]",t.model="[engine.model.Model]",t}_handleChangeBlock(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",t.batch):this.fire("change",t.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const t=this.getRoots();return t.length?t[0]:this.graveyard}_getDefaultRange(){const t=this._getDefaultRoot(),e=this.model,n=e.schema,o=e.createPositionFromPath(t,[0]);return n.getNearestSelectionRange(o)||e.createRange(o)}_validateSelectionRange(t){return Sh(t.start)&&Sh(t.end)}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(this.selection.refresh(),e=n(t),e)break}while(e)}}function Sh(t){const e=t.textNode;if(e){const n=e.data,o=t.offset-e.startOffset;return!Si(n,o)&&!Ti(n,o)}return!0}var Th=Object.defineProperty,Mh=Object.defineProperties,Bh=Object.getOwnPropertyDescriptors,Nh=Object.getOwnPropertySymbols,Ph=Object.prototype.hasOwnProperty,zh=Object.prototype.propertyIsEnumerable,Oh=(t,e,n)=>e in t?Th(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Lh extends(I()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(t){const e=t instanceof jh?t.name:t;return this._markers.has(e)}get(t){return this._markers.get(t)||null}_set(t,e,n=!1,o=!1){const i=t instanceof jh?t.name:t;if(i.includes(","))throw new k("markercollection-incorrect-marker-name",this);const r=this._markers.get(i);if(r){const t=r.getData(),s=r.getRange();let a=!1;return s.isEqual(e)||(r._attachLiveRange(el.fromRange(e)),a=!0),n!=r.managedUsingOperations&&(r._managedUsingOperations=n,a=!0),"boolean"==typeof o&&o!=r.affectsData&&(r._affectsData=o,a=!0),a&&this.fire(`update:${i}`,r,s,e,t),r}const s=el.fromRange(e),a=new jh(i,s,n,o);var c;return this._markers.set(i,a),this.fire(`update:${i}`,a,null,e,(c=((t,e)=>{for(var n in e||(e={}))Ph.call(e,n)&&Oh(t,n,e[n]);if(Nh)for(var n of Nh(e))zh.call(e,n)&&Oh(t,n,e[n]);return t})({},a.getData()),Mh(c,Bh({range:null})))),a}_remove(t){const e=t instanceof jh?t.name:t,n=this._markers.get(e);return!!n&&(this._markers.delete(e),this.fire(`update:${e}`,n,n.getRange(),null,n.getData()),this._destroyMarker(n),!0)}_refresh(t){const e=t instanceof jh?t.name:t,n=this._markers.get(e);if(!n)throw new k("markercollection-refresh-marker-not-exists",this);const o=n.getRange();this.fire(`update:${e}`,n,o,o,n.getData())}*getMarkersAtPosition(t){for(const e of this)e.getRange().containsPosition(t)&&(yield e)}*getMarkersIntersectingRange(t){for(const e of this)null!==e.getRange().getIntersection(t)&&(yield e)}destroy(){for(const t of this._markers.values())this._destroyMarker(t);this._markers=null,this.stopListening()}*getMarkersGroup(t){for(const e of this._markers.values())e.name.startsWith(t+":")&&(yield e)}_destroyMarker(t){t.stopListening(),t._detachLiveRange()}}class jh extends(I(bc)){constructor(t,e,n,o){super(),this.name=t,this._liveRange=this._attachLiveRange(e),this._managedUsingOperations=n,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new k("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new k("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new k("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new k("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new k("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(t){return this._liveRange&&this._detachLiveRange(),t.delegate("change:range").to(this),t.delegate("change:content").to(this),this._liveRange=t,t}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}jh.prototype.is=function(t){return"marker"===t||"model:marker"===t};class Rh extends _d{constructor(t,e){super(null),this.sourcePosition=t.clone(),this.howMany=e}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const t=super.toJSON();return t.sourcePosition=this.sourcePosition.toJSON(),t}_validate(){if(this.sourcePosition.root.document)throw new k("detach-operation-on-document-node",this)}_execute(){yd(Bc._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Fh extends bc{constructor(t){super(),this.markers=new Map,this._children=new Ac,t&&this._insertChild(0,t)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}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(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}getPath(){return[]}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}offsetToIndex(t){return this._children.offsetToIndex(t)}toJSON(){const t=[];for(const e of this._children)t.push(e.toJSON());return t}static fromJSON(t){const e=[];for(const n of t)n.name?e.push(vc.fromJSON(n)):e.push(Cc.fromJSON(n));return new Fh(e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Cc(t)];Q(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Cc(t):t instanceof _c?new Cc(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}}Fh.prototype.is=function(t){return"documentFragment"===t||"model:documentFragment"===t};class Vh{constructor(t,e){this.model=t,this.batch=e}createText(t,e){return new Cc(t,e)}createElement(t,e){return new vc(t,e)}createDocumentFragment(){return new Fh}cloneElement(t,e=!0){return t._clone(e)}insert(t,e,n=0){if(this._assertWriterUsedCorrectly(),t instanceof Cc&&""==t.data)return;const o=Ec._createAt(e,n);if(t.parent){if(Wh(t.root,o.root))return void this.move(Bc._createOn(t),o);if(t.root.document)throw new k("model-writer-insert-forbidden-move",this);this.remove(t)}const i=o.root.document?o.root.document.version:null,r=new Md(o,t,i);if(t instanceof Cc&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),t instanceof Fh)for(const[e,n]of t.markers){const t=Ec._createAt(n.root,0),i={range:new Bc(n.start._getCombined(t,o),n.end._getCombined(t,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(e)?this.updateMarker(e,i):this.addMarker(e,i)}}insertText(t,e,n,o){e instanceof Fh||e instanceof vc||e instanceof Ec?this.insert(this.createText(t),e,n):this.insert(this.createText(t,e),n,o)}insertElement(t,e,n,o){e instanceof Fh||e instanceof vc||e instanceof Ec?this.insert(this.createElement(t),e,n):this.insert(this.createElement(t,e),n,o)}append(t,e){this.insert(t,e,"end")}appendText(t,e,n){e instanceof Fh||e instanceof vc?this.insert(this.createText(t),e,"end"):this.insert(this.createText(t,e),n,"end")}appendElement(t,e,n){e instanceof Fh||e instanceof vc?this.insert(this.createElement(t),e,"end"):this.insert(this.createElement(t,e),n,"end")}setAttribute(t,e,n){if(this._assertWriterUsedCorrectly(),n instanceof Bc){const o=n.getMinimalFlatRanges();for(const n of o)Uh(this,t,e,n)}else Hh(this,t,e,n)}setAttributes(t,e){for(const[n,o]of Di(t))this.setAttribute(n,o,e)}removeAttribute(t,e){if(this._assertWriterUsedCorrectly(),e instanceof Bc){const n=e.getMinimalFlatRanges();for(const e of n)Uh(this,t,null,e)}else Hh(this,t,null,e)}clearAttributes(t){this._assertWriterUsedCorrectly();const e=t=>{for(const e of t.getAttributeKeys())this.removeAttribute(e,t)};if(t instanceof Bc)for(const n of t.getItems())e(n);else e(t)}move(t,e,n){if(this._assertWriterUsedCorrectly(),!(t instanceof Bc))throw new k("writer-move-invalid-range",this);if(!t.isFlat)throw new k("writer-move-range-not-flat",this);const o=Ec._createAt(e,n);if(o.isEqual(t.start))return;if(this._addOperationForAffectedMarkers("move",t),!Wh(t.root,o.root))throw new k("writer-move-different-document",this);const i=t.root.document?t.root.document.version:null,r=new Td(t.start,t.end.offset-t.start.offset,o,i);this.batch.addOperation(r),this.model.applyOperation(r)}remove(t){this._assertWriterUsedCorrectly();const e=(t instanceof Bc?t:Bc._createOn(t)).getMinimalFlatRanges().reverse();for(const t of e)this._addOperationForAffectedMarkers("move",t),qh(t.start,t.end.offset-t.start.offset,this.batch,this.model)}merge(t){this._assertWriterUsedCorrectly();const e=t.nodeBefore,n=t.nodeAfter;if(this._addOperationForAffectedMarkers("merge",t),!(e instanceof vc))throw new k("writer-merge-no-element-before",this);if(!(n instanceof vc))throw new k("writer-merge-no-element-after",this);t.root.document?this._merge(t):this._mergeDetached(t)}createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n)}createPositionAt(t,e){return this.model.createPositionAt(t,e)}createPositionAfter(t){return this.model.createPositionAfter(t)}createPositionBefore(t){return this.model.createPositionBefore(t)}createRange(t,e){return this.model.createRange(t,e)}createRangeIn(t){return this.model.createRangeIn(t)}createRangeOn(t){return this.model.createRangeOn(t)}createSelection(...t){return this.model.createSelection(...t)}_mergeDetached(t){const e=t.nodeBefore,n=t.nodeAfter;this.move(Bc._createIn(n),Ec._createAt(e,"end")),this.remove(n)}_merge(t){const e=Ec._createAt(t.nodeBefore,"end"),n=Ec._createAt(t.nodeAfter,0),o=t.root.document.graveyard,i=new Ec(o,[0]),r=t.root.document.version,s=new Nd(n,t.nodeAfter.maxOffset,e,i,r);this.batch.addOperation(s),this.model.applyOperation(s)}rename(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof vc))throw new k("writer-rename-not-element-instance",this);const n=t.root.document?t.root.document.version:null,o=new jd(Ec._createBefore(t),t.name,e,n);this.batch.addOperation(o),this.model.applyOperation(o)}split(t,e){this._assertWriterUsedCorrectly();let n,o,i=t.parent;if(!i.parent)throw new k("writer-split-element-no-parent",this);if(e||(e=i.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new k("writer-split-invalid-limit-element",this);do{const e=i.root.document?i.root.document.version:null,r=i.maxOffset-t.offset,s=Bd.getInsertionPosition(t),a=new Bd(t,r,s,null,e);this.batch.addOperation(a),this.model.applyOperation(a),n||o||(n=i,o=t.parent.nextSibling),i=(t=this.createPositionAfter(t.parent)).parent}while(i!==e);return{position:t,range:new Bc(Ec._createAt(n,"end"),Ec._createAt(o,0))}}wrap(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new k("writer-wrap-range-not-flat",this);const n=e instanceof vc?e:new vc(e);if(n.childCount>0)throw new k("writer-wrap-element-not-empty",this);if(null!==n.parent)throw new k("writer-wrap-element-attached",this);this.insert(n,t.start);const o=new Bc(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(o,Ec._createAt(n,0))}unwrap(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new k("writer-unwrap-element-no-parent",this);this.move(Bc._createIn(t),this.createPositionAfter(t)),this.remove(t)}addMarker(t,e){if(this._assertWriterUsedCorrectly(),!e||"boolean"!=typeof e.usingOperation)throw new k("writer-addmarker-no-usingoperation",this);const n=e.usingOperation,o=e.range,i=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new k("writer-addmarker-marker-exists",this);if(!o)throw new k("writer-addmarker-no-range",this);return n?(Gh(this,t,null,o,i),this.model.markers.get(t)):this.model.markers._set(t,o,n,i)}updateMarker(t,e){this._assertWriterUsedCorrectly();const n="string"==typeof t?t:t.name,o=this.model.markers.get(n);if(!o)throw new k("writer-updatemarker-marker-not-exists",this);if(!e)return b("writer-updatemarker-reconvert-using-editingcontroller",{markerName:n}),void this.model.markers._refresh(o);const i="boolean"==typeof e.usingOperation,r="boolean"==typeof e.affectsData,s=r?e.affectsData:o.affectsData;if(!i&&!e.range&&!r)throw new k("writer-updatemarker-wrong-options",this);const a=o.getRange(),c=e.range?e.range:a;i&&e.usingOperation!==o.managedUsingOperations?e.usingOperation?Gh(this,n,null,c,s):(Gh(this,n,a,null,s),this.model.markers._set(n,c,void 0,s)):o.managedUsingOperations?Gh(this,n,a,c,s):this.model.markers._set(n,c,void 0,s)}removeMarker(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new k("writer-removemarker-no-marker",this);const n=this.model.markers.get(e);if(!n.managedUsingOperations)return void this.model.markers._remove(e);Gh(this,e,n.getRange(),null,n.affectsData)}addRoot(t,e="$root"){this._assertWriterUsedCorrectly();const n=this.model.document.getRoot(t);if(n&&n.isAttached())throw new k("writer-addroot-root-exists",this);const o=this.model.document,i=new Fd(t,e,!0,o,o.version);return this.batch.addOperation(i),this.model.applyOperation(i),this.model.document.getRoot(t)}detachRoot(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?this.model.document.getRoot(t):t;if(!e||!e.isAttached())throw new k("writer-detachroot-no-root",this);for(const t of this.model.markers)t.getRange().root===e&&this.removeMarker(t);for(const t of e.getAttributeKeys())this.removeAttribute(t,e);this.remove(this.createRangeIn(e));const n=this.model.document,o=new Fd(e.rootName,e.name,!1,n,n.version);this.batch.addOperation(o),this.model.applyOperation(o)}setSelection(...t){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...t)}setSelectionFocus(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e)}setSelectionAttribute(t,e){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._setSelectionAttribute(t,e);else for(const[e,n]of Di(t))this._setSelectionAttribute(e,n)}removeSelectionAttribute(t){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._removeSelectionAttribute(t);else for(const e of t)this._removeSelectionAttribute(e)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t)}_setSelectionAttribute(t,e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const o=rl._getStoreAttributeKey(t);this.setAttribute(o,e,n.anchor.parent)}n._setAttribute(t,e)}_removeSelectionAttribute(t){const e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){const n=rl._getStoreAttributeKey(t);this.removeAttribute(n,e.anchor.parent)}e._removeAttribute(t)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new k("writer-incorrect-use",this)}_addOperationForAffectedMarkers(t,e){for(const n of this.model.markers){if(!n.managedUsingOperations)continue;const o=n.getRange();let i=!1;if("move"===t){const t=e;i=t.containsPosition(o.start)||t.start.isEqual(o.start)||t.containsPosition(o.end)||t.end.isEqual(o.end)}else{const t=e,n=t.nodeBefore,r=t.nodeAfter,s=o.start.parent==n&&o.start.isAtEnd,a=o.end.parent==r&&0==o.end.offset,c=o.end.nodeAfter==r,l=o.start.nodeAfter==r;i=s||a||c||l}i&&this.updateMarker(n.name,{range:o})}}}function Uh(t,e,n,o){const i=t.model,r=i.document;let s,a,c,l=o.start;for(const t of o.getWalker({shallow:!0}))c=t.item.getAttribute(e),s&&a!=c&&(a!=n&&d(),l=s),s=t.nextPosition,a=c;function d(){const o=new Bc(l,s),c=o.root.document?r.version:null,d=new Od(o,e,a,n,c);t.batch.addOperation(d),i.applyOperation(d)}s instanceof Ec&&s!=l&&a!=n&&d()}function Hh(t,e,n,o){const i=t.model,r=i.document,s=o.getAttribute(e);let a,c;if(s!=n){if(o.root===o){const t=o.document?r.version:null;c=new Rd(o,e,s,n,t)}else{a=new Bc(Ec._createBefore(o),t.createPositionAfter(o));const i=a.root.document?r.version:null;c=new Od(a,e,s,n,i)}t.batch.addOperation(c),i.applyOperation(c)}}function Gh(t,e,n,o,i){const r=t.model,s=r.document,a=new Pd(e,n,o,r.markers,!!i,s.version);t.batch.addOperation(a),r.applyOperation(a)}function qh(t,e,n,o){let i;if(t.root.document){const n=o.document,r=new Ec(n.graveyard,[0]);i=new Td(t,e,r,n.version)}else i=new Rh(t,e);n.addOperation(i),o.applyOperation(i)}function Wh(t,e){return t===e||t instanceof kh&&e instanceof kh}function Kh(t,e,n={}){if(e.isCollapsed)return;const o=e.getFirstRange();if("$graveyard"==o.root.rootName)return;const i=t.schema;t.change((t=>{if(!n.doNotResetEntireContent&&function(t,e){const n=t.getLimitElement(e);if(!e.containsEntireContent(n))return!1;const o=e.getFirstRange();if(o.start.parent==o.end.parent)return!1;return t.checkChild(n,"paragraph")}(i,e))return void function(t,e){const n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n)),Qh(t,t.createPositionAt(n,0),e)}(t,e);const r={};if(!n.doNotAutoparagraph){const t=e.getSelectedElement();t&&Object.assign(r,i.getAttributesWithProperty(t,"copyOnReplace",!0))}const[s,a]=function(t){const e=t.root.document.model,n=t.start;let o=t.end;if(e.hasContent(t,{ignoreMarkers:!0})){const n=function(t){const e=t.parent,n=e.root.document.model.schema,o=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const t of o){if(n.isLimit(t))return null;if(n.isBlock(t))return t}}(o);if(n&&o.isTouching(e.createPositionAt(n,0))){const n=e.createSelection(t);e.modifySelection(n,{direction:"backward"});const i=n.getLastPosition(),r=e.createRange(i,o);e.hasContent(r,{ignoreMarkers:!0})||(o=i)}}return[th.fromPosition(n,"toPrevious"),th.fromPosition(o,"toNext")]}(o);s.isTouching(a)||t.remove(t.createRange(s,a)),n.leaveUnmerged||(!function(t,e,n){const o=t.model;if(!$h(t.model.schema,e,n))return;const[i,r]=function(t,e){const n=t.getAncestors(),o=e.getAncestors();let i=0;for(;n[i]&&n[i]==o[i];)i++;return[n[i],o[i]]}(e,n);if(!i||!r)return;!o.hasContent(i,{ignoreMarkers:!0})&&o.hasContent(r,{ignoreMarkers:!0})?Yh(t,e,n,i.parent):Zh(t,e,n,i.parent)}(t,s,a),i.removeDisallowedAttributes(s.parent.getChildren(),t)),Jh(t,e,s),!n.doNotAutoparagraph&&function(t,e){const n=t.checkChild(e,"$text"),o=t.checkChild(e,"paragraph");return!n&&o}(i,s)&&Qh(t,s,e,r),s.detach(),a.detach()}))}function Zh(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(r,e),t.merge(e);n.parent.isEmpty;){const e=n.parent;n=t.createPositionBefore(e),t.remove(e)}$h(t.model.schema,e,n)&&Zh(t,e,n,o)}}function Yh(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(i,n);e.parent.isEmpty;){const n=e.parent;e=t.createPositionBefore(n),t.remove(n)}n=t.createPositionBefore(r),function(t,e){const n=e.nodeBefore,o=e.nodeAfter;n.name!=o.name&&t.rename(n,o.name);t.clearAttributes(n),t.setAttributes(Object.fromEntries(o.getAttributes()),n),t.merge(e)}(t,n),$h(t.model.schema,e,n)&&Yh(t,e,n,o)}}function $h(t,e,n){const o=e.parent,i=n.parent;return o!=i&&(!t.isLimit(o)&&!t.isLimit(i)&&function(t,e,n){const o=new Bc(t,e);for(const t of o.getWalker())if(n.isLimit(t.item))return!1;return!0}(e,n,t))}function Qh(t,e,n,o={}){const i=t.createElement("paragraph");t.model.schema.setAllowedAttributes(i,o,t),t.insert(i,e),Jh(t,n,t.createPositionAt(i,0))}function Jh(t,e,n){e instanceof rl?t.setSelection(n):e.setTo(n)}function Xh(t,e){const n=[];Array.from(t.getItems({direction:"backward"})).map((t=>e.createRangeOn(t))).filter((e=>(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end)))).forEach((t=>{n.push(t.start.parent),e.remove(t)})),n.forEach((t=>{let n=t;for(;n.parent&&n.isEmpty;){const t=e.createRangeOn(n);n=n.parent,e.remove(t)}}))}class tu{constructor(t,e,n){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=t,this.writer=e,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=t.schema,this._documentFragment=e.createDocumentFragment(),this._documentFragmentPosition=e.createPositionAt(this._documentFragment,0)}handleNodes(t){for(const e of Array.from(t))this._handleNode(e);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(t){const e=this.writer.createPositionAfter(this._lastNode),n=this.writer.createPositionAfter(t);if(n.isAfter(e)){if(this._lastNode=t,this.position.parent!=t||!this.position.isAtEnd)throw new k("insertcontent-invalid-insertion-position",this);this.position=n,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Bc._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Bc(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(t){if(this.schema.isObject(t))return void this._handleObject(t);let e=this._checkAndAutoParagraphToAllowedPosition(t);e||(e=this._checkAndSplitToAllowedPosition(t),e)?(this._appendToFragment(t),this._firstNode||(this._firstNode=t),this._lastNode=t):this._handleDisallowedNode(t)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const t=th.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=t.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=t.toPosition(),t.detach()}_handleObject(t){this._checkAndSplitToAllowedPosition(t)?this._appendToFragment(t):this._tryAutoparagraphing(t)}_handleDisallowedNode(t){t.is("element")?this.handleNodes(t.getChildren()):this._tryAutoparagraphing(t)}_appendToFragment(t){if(!this.schema.checkChild(this.position,t))throw new k("insertcontent-wrong-position",this,{node:t,position:this.position});this.writer.insert(t,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(t.offsetSize),this.schema.isObject(t)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=t:this._nodeToSelect=null,this._filterAttributesOf.push(t)}_setAffectedBoundaries(t){this._affectedStart||(this._affectedStart=th.fromPosition(t,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(t)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=th.fromPosition(t,"toNext"))}_mergeOnLeft(){const t=this._firstNode;if(!(t instanceof vc))return;if(!this._canMergeLeft(t))return;const e=th._createBefore(t);e.stickiness="toNext";const n=th.fromPosition(this.position,"toNext");this._affectedStart.isEqual(e)&&(this._affectedStart.detach(),this._affectedStart=th._createAt(e.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=th._createAt(e.nodeBefore,"end","toNext")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_mergeOnRight(){const t=this._lastNode;if(!(t instanceof vc))return;if(!this._canMergeRight(t))return;const e=th._createAfter(t);if(e.stickiness="toNext",!this.position.isEqual(e))throw new k("insertcontent-invalid-insertion-position",this);this.position=Ec._createAt(e.nodeBefore,"end");const n=th.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(e)&&(this._affectedEnd.detach(),this._affectedEnd=th._createAt(e.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=th._createAt(e.nodeBefore,0,"toPrevious")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_canMergeLeft(t){const e=t.previousSibling;return e instanceof vc&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(e,t)}_canMergeRight(t){const e=t.nextSibling;return e instanceof vc&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(t,e)}_tryAutoparagraphing(t){const e=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,e)&&this.schema.checkChild(e,t)&&(e._appendChild(t),this._handleNode(e))}_checkAndAutoParagraphToAllowedPosition(t){if(this.schema.checkChild(this.position.parent,t))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",t))return!1;this._insertPartialFragment();const e=this.writer.createElement("paragraph");return this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0),!0}_checkAndSplitToAllowedPosition(t){const e=this._getAllowedIn(this.position.parent,t);if(!e)return!1;for(e!=this.position.parent&&this._insertPartialFragment();e!=this.position.parent;)if(this.position.isAtStart){const t=this.position.parent;this.position=this.writer.createPositionBefore(t),t.isEmpty&&t.parent===e&&this.writer.remove(t)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const t=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=t,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(t,e){return this.schema.checkChild(t,e)?t:this.schema.isLimit(t)?null:this._getAllowedIn(t.parent,e)}}function eu(t,e,n="auto"){const o=t.getSelectedElement();if(o&&e.schema.isObject(o)&&!e.schema.isInline(o))return"before"==n||"after"==n?e.createRange(e.createPositionAt(o,n)):e.createRangeOn(o);const i=yi(t.getSelectedBlocks());if(!i)return e.createRange(t.focus);if(i.isEmpty)return e.createRange(e.createPositionAt(i,0));const r=e.createPositionAfter(i);return t.focus.isTouching(r)?e.createRange(r):e.createRange(e.createPositionBefore(i))}function nu(t,e,n,o={}){if(!t.schema.isObject(e))throw new k("insertobject-element-not-an-object",t,{object:e});const i=n||t.document.selection;let r=i;o.findOptimalPosition&&t.schema.isBlock(e)&&(r=t.createSelection(eu(i,t,o.findOptimalPosition)));const s=yi(i.getSelectedBlocks()),a={};return s&&Object.assign(a,t.schema.getAttributesWithProperty(s,"copyOnReplace",!0)),t.change((n=>{r.isCollapsed||t.deleteContent(r,{doNotAutoparagraph:!0});let i=e;const s=r.anchor.parent;!t.schema.checkChild(s,e)&&t.schema.checkChild(s,"paragraph")&&t.schema.checkChild("paragraph",e)&&(i=n.createElement("paragraph"),n.insert(e,i)),t.schema.setAllowedAttributes(i,a,n);const c=t.insertContent(i,r);return c.isCollapsed||o.setSelection&&function(t,e,n,o){const i=t.model;if("on"==n)return void t.setSelection(e,"on");if("after"!=n)throw new k("insertobject-invalid-place-parameter-value",i);let r=e.nextSibling;if(i.schema.isInline(e))return void t.setSelection(e,"after");const s=r&&i.schema.checkChild(r,"$text");!s&&i.schema.checkChild(e.parent,"paragraph")&&(r=t.createElement("paragraph"),i.schema.setAllowedAttributes(r,o,t),i.insertContent(r,t.createPositionAfter(e)));r&&t.setSelection(r,0)}(n,e,o.setSelection,a),c}))}const ou=' ,.?!:;"-()';function iu(t,e){const{isForward:n,walker:o,unit:i,schema:r,treatEmojiAsSingleUnit:s}=t,{type:a,item:c,nextPosition:l}=e;if("text"==a)return"word"===t.unit?function(t,e){let n=t.position.textNode;n||(n=e?t.position.nodeAfter:t.position.nodeBefore);for(;n&&n.is("$text");){const o=t.position.offset-n.startOffset;if(au(n,o,e))n=e?t.position.nodeAfter:t.position.nodeBefore;else{if(su(n.data,o,e))break;t.next()}}return t.position}(o,n):function(t,e,n){const o=t.position.textNode;if(o){const i=o.data;let r=t.position.offset-o.startOffset;for(;Si(i,r)||"character"==e&&Ti(i,r)||n&&Bi(i,r);)t.next(),r=t.position.offset-o.startOffset}return t.position}(o,i,s);if(a==(n?"elementStart":"elementEnd")){if(r.isSelectable(c))return Ec._createAt(c,n?"after":"before");if(r.checkChild(l,"$text"))return l}else{if(r.isLimit(c))return void o.skip((()=>!0));if(r.checkChild(l,"$text"))return l}}function ru(t,e){const n=t.root,o=Ec._createAt(n,e?"end":0);return e?new Bc(t,o):new Bc(o,t)}function su(t,e,n){const o=e+(n?0:-1);return ou.includes(t.charAt(o))}function au(t,e,n){return e===(n?t.offsetSize:0)}class cu extends(H()){constructor(){super(),this.markers=new Lh,this.document=new Ih(this),this.schema=new Kl,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((t=>this.decorate(t))),this.on("applyOperation",((t,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(((t,e)=>{if("$marker"===e.name)return!0})),Rl(this),this.document.registerPostFixer(_l),this.on("insertContent",((t,[e,n])=>{t.return=function(t,e,n){return t.change((o=>{const i=n||t.document.selection;i.isCollapsed||t.deleteContent(i,{doNotAutoparagraph:!0});const r=new tu(t,o,i.anchor),s=[];let a;if(e.is("documentFragment")){if(e.markers.size){const t=[];for(const[n,o]of e.markers){const{start:e,end:i}=o,r=e.isEqual(i);t.push({position:e,name:n,isCollapsed:r},{position:i,name:n,isCollapsed:r})}t.sort((({position:t},{position:e})=>t.isBefore(e)?1:-1));for(const{position:n,name:i,isCollapsed:r}of t){let t=null,a=null;const c=n.parent===e&&n.isAtStart,l=n.parent===e&&n.isAtEnd;c||l?r&&(a=c?"start":"end"):(t=o.createElement("$marker"),o.insert(t,n)),s.push({name:i,element:t,collapsed:a})}}a=e.getChildren()}else a=[e];r.handleNodes(a);let c=r.getSelectionRange();if(e.is("documentFragment")&&s.length){const t=c?el.fromRange(c):null,e={};for(let t=s.length-1;t>=0;t--){const{name:n,element:i,collapsed:a}=s[t],c=!e[n];if(c&&(e[n]=[]),i){const t=o.createPositionAt(i,"before");e[n].push(t),o.remove(i)}else{const t=r.getAffectedRange();if(!t){a&&e[n].push(r.position);continue}a?e[n].push(t[a]):e[n].push(c?t.start:t.end)}}for(const[t,[n,i]]of Object.entries(e))n&&i&&n.root===i.root&&o.addMarker(t,{usingOperation:!0,affectsData:!0,range:new Bc(n,i)});t&&(c=t.toRange(),t.detach())}c&&(i instanceof rl?o.setSelection(c):i.setTo(c));const l=r.getAffectedRange()||t.createRange(i.anchor);return r.destroy(),l}))}(this,e,n)})),this.on("insertObject",((t,[e,n,o])=>{t.return=nu(this,e,n,o)})),this.on("canEditAt",(t=>{const e=!this.document.isReadOnly;t.return=e,e||t.stop()}))}change(t){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new oh,callback:t}),this._runPendingChanges()[0]):t(this._currentWriter)}catch(t){k.rethrowUnexpectedError(t,this)}}enqueueChange(t,e){try{t?"function"==typeof t?(e=t,t=new oh):t instanceof oh||(t=new oh(t)):t=new oh,this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(t){k.rethrowUnexpectedError(t,this)}}applyOperation(t){t._execute()}insertContent(t,e,n,...o){const i=lu(e,n);return this.fire("insertContent",[t,i,n,...o])}insertObject(t,e,n,o,...i){const r=lu(e,n);return this.fire("insertObject",[t,r,o,o,...i])}deleteContent(t,e){Kh(this,t,e)}modifySelection(t,e){!function(t,e,n={}){const o=t.schema,i="backward"!=n.direction,r=n.unit?n.unit:"character",s=!!n.treatEmojiAsSingleUnit,a=e.focus,c=new yc({boundaries:ru(a,i),singleCharacters:!0,direction:i?"forward":"backward"}),l={walker:c,schema:o,isForward:i,unit:r,treatEmojiAsSingleUnit:s};let d;for(;d=c.next();){if(d.done)return;const n=iu(l,d.value);if(n)return void(e instanceof rl?t.change((t=>{t.setSelectionFocus(n)})):e.setFocus(n))}}(this,t,e)}getSelectedContent(t){return function(t,e){return t.change((t=>{const n=t.createDocumentFragment(),o=e.getFirstRange();if(!o||o.isCollapsed)return n;const i=o.start.root,r=o.start.getCommonPath(o.end),s=i.getNodeByPath(r);let a;a=o.start.parent==o.end.parent?o:t.createRange(t.createPositionAt(s,o.start.path[r.length]),t.createPositionAt(s,o.end.path[r.length]+1));const c=a.end.offset-a.start.offset;for(const e of a.getItems({shallow:!0}))e.is("$textProxy")?t.appendText(e.data,e.getAttributes(),n):t.append(t.cloneElement(e,!0),n);if(a!=o){const e=o._getTransformedByMove(a.start,t.createPositionAt(n,0),c)[0],i=t.createRange(t.createPositionAt(n,0),e.start);Xh(t.createRange(e.end,t.createPositionAt(n,"end")),t),Xh(i,t)}return n}))}(this,t)}hasContent(t,e={}){const n=t instanceof Bc?t:Bc._createIn(t);if(n.isCollapsed)return!1;const{ignoreWhitespaces:o=!1,ignoreMarkers:i=!1}=e;if(!i)for(const t of this.markers.getMarkersIntersectingRange(n))if(t.affectsData)return!0;for(const t of n.getItems())if(this.schema.isContent(t)){if(!t.is("$textProxy"))return!0;if(!o)return!0;if(-1!==t.data.search(/\S/))return!0}return!1}canEditAt(t){const e=lu(t);return this.fire("canEditAt",[e])}createPositionFromPath(t,e,n){return new Ec(t,e,n)}createPositionAt(t,e){return Ec._createAt(t,e)}createPositionAfter(t){return Ec._createAfter(t)}createPositionBefore(t){return Ec._createBefore(t)}createRange(t,e){return new Bc(t,e)}createRangeIn(t){return Bc._createIn(t)}createRangeOn(t){return Bc._createOn(t)}createSelection(...t){return new Zc(...t)}createBatch(t){return new oh(t)}createOperationFromJSON(t){return Ud.fromJSON(t,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const t=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const e=this._pendingChanges[0].batch;this._currentWriter=new Vh(this,e);const n=this._pendingChanges[0].callback(this._currentWriter);t.push(n),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return t}}function lu(t,e){if(t)return t instanceof Zc||t instanceof rl?t:t instanceof wc?e||0===e?new Zc(t,e):t.is("rootElement")?new Zc(t,"in"):new Zc(t,"on"):new Zc(t)}class du extends va{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(t){this.fire(t.type,t)}}class hu extends va{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(t){this.fire(t.type,t)}}class uu{constructor(t){this.document=t}createDocumentFragment(t){return new zs(this.document,t)}createElement(t,e,n){return new is(this.document,t,e,n)}createText(t){return new nr(this.document,t)}clone(t,e=!1){return t._clone(e)}appendChild(t,e){return e._appendChild(t)}insertChild(t,e,n){return n._insertChild(t,e)}removeChildren(t,e,n){return n._removeChildren(t,e)}remove(t){const e=t.parent;return e?this.removeChildren(e.getChildIndex(t),1,e):[]}replace(t,e){const n=t.parent;if(n){const o=n.getChildIndex(t);return this.removeChildren(o,1,n),this.insertChild(o,e,n),!0}return!1}unwrapElement(t){const e=t.parent;if(e){const n=e.getChildIndex(t);this.remove(t),this.insertChild(n,t.getChildren(),e)}}rename(t,e){const n=new is(this.document,t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){_t(t)&&void 0===n?e._setStyle(t):n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}createPositionAt(t,e){return us._createAt(t,e)}createPositionAfter(t){return us._createAfter(t)}createPositionBefore(t){return us._createBefore(t)}createRange(t,e){return new gs(t,e)}createRangeOn(t){return gs._createOn(t)}createRangeIn(t){return gs._createIn(t)}createSelection(...t){return new ms(...t)}}class gu{constructor(){this._commands=new Map}add(t,e){this._commands.set(t,e)}get(t){return this._commands.get(t)}execute(t,...e){const n=this.get(t);if(!n)throw new k("commandcollection-command-not-found",this,{commandName:t});return n.execute(...e)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const t of this.commands())t.destroy()}}class pu extends(H()){constructor(t={}){super();const e=this.constructor,n=t.language||e.defaultConfig&&e.defaultConfig.language;this._context=t.context||new Ri({language:n}),this._context._addEditor(this,!t.context);const o=Array.from(e.builtinPlugins||[]);this.config=new Co(t,e.defaultConfig),this.config.define("plugins",o),this.config.define(this._context._getEditorConfig()),this.plugins=new ji(this,o,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new gu,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new cu,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const i=new es;this.data=new bd(this.model,i),this.editing=new Hl(this.model,i),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new wd([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 Vi(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(t){throw new k("editor-isreadonly-has-no-setter")}enableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new k("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)||(this._readOnlyLocks.add(t),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new k("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)&&(this._readOnlyLocks.delete(t),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const t=this.config,e=t.get("plugins"),n=t.get("removePlugins")||[],o=t.get("extraPlugins")||[],i=t.get("substitutePlugins")||[];return this.plugins.init(e.concat(o),n,i)}destroy(){let t=Promise.resolve();return"initializing"==this.state&&(t=new Promise((t=>this.once("ready",t)))),t.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(t,...e){try{return this.commands.execute(t,...e)}catch(t){k.rethrowUnexpectedError(t,this)}}focus(){this.editing.view.focus()}static create(...t){throw new Error("This is an abstract method.")}}function mu(t){return class extends t{setData(t){this.data.set(t)}getData(t){return this.data.get(t)}}}{const t=mu(Object);mu.setData=t.prototype.setData,mu.getData=t.prototype.getData}function fu(t){return class extends t{updateSourceElement(t){if(!this.sourceElement)throw new k("editor-missing-sourceelement",this);const e=this.config.get("updateSourceElementOnDestroy"),n=this.sourceElement instanceof HTMLTextAreaElement;if(!e&&!n)return void Go(this.sourceElement,"");const o="string"==typeof t?t:this.data.get();Go(this.sourceElement,o)}}}fu.updateSourceElement=fu(Object).prototype.updateSourceElement;class ku extends Fi{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new vi({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(t){if("string"!=typeof t)throw new k("pendingactions-add-invalid-message",this);const e=new(H());return e.set("message",t),this._actions.add(e),this.hasAny=!0,e}remove(t){this._actions.remove(t),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const bu={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',history:'',image:'',imageUpload:'',imageAssetManager:'',imageUrl:'',lowVision:'\n',textAlternative:'',loupe:'',importExport:'',paragraph:'',plus:'',text:'',alignBottom:'',alignMiddle:'',alignTop:'',alignLeft:'',alignCenter:'',alignRight:'',alignJustify:'',objectLeft:'',objectCenter:'',objectRight:'',objectFullWidth:'',objectInline:'',objectBlockLeft:'',objectBlockRight:'',objectSizeFull:'',objectSizeLarge:'',objectSizeSmall:'',objectSizeMedium:'',pencil:'',pilcrow:'',quote:'',threeVerticalDots:'',dragIndicator:''};class wu{constructor(t){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof t.crashNumberLimit?t.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof t.minimumNonErrorTimePeriod?t.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=t=>{const e="error"in t?t.error:t.reason;e instanceof Error&&this._handleError(e,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(t,e){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e)}off(t,e){this._listeners[t]=this._listeners[t].filter((t=>t!==e))}_fire(t,...e){const n=this._listeners[t]||[];for(const t of n)t.apply(this,[null,...e])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(t,e){if(this._shouldReactToError(t)){this.crashes.push({message:t.message,stack:t.stack,filename:e instanceof ErrorEvent?e.filename:void 0,lineno:e instanceof ErrorEvent?e.lineno:void 0,colno:e instanceof ErrorEvent?e.colno:void 0,date:this._now()});const n=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:t,causesRestart:n}),n?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(t){return t.is&&t.is("CKEditorError")&&void 0!==t.context&&null!==t.context&&"ready"===this.state&&this._isErrorComingFromThisItem(t)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;return(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function Au(t,e=new Set){const n=[t],o=new Set;let i=0;for(;n.length>i;){const t=n[i++];if(!o.has(t)&&Cu(t)&&!e.has(t))if(o.add(t),Symbol.iterator in t)try{for(const e of t)n.push(e)}catch(t){}else for(const e in t)"defaultValue"!==e&&n.push(t[e])}return o}function Cu(t){const e=Object.prototype.toString.call(t),n=typeof t;return!("number"===n||"boolean"===n||"string"===n||"symbol"===n||"function"===n||"[object Date]"===e||"[object RegExp]"===e||"[object Module]"===e||null==t||t._watchdogExcluded||t instanceof EventTarget||t instanceof Event)}function _u(t,e,n=new Set){if(t===e&&("object"==typeof(o=t)&&null!==o))return!0;var o;const i=Au(t,n),r=Au(e,n);for(const t of i)if(r.has(t))return!0;return!1}const vu=function(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return O(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),La(t,e,{leading:o,maxWait:e,trailing:i})};var yu=Object.defineProperty,xu=Object.defineProperties,Eu=Object.getOwnPropertyDescriptors,Du=Object.getOwnPropertySymbols,Iu=Object.prototype.hasOwnProperty,Su=Object.prototype.propertyIsEnumerable,Tu=(t,e,n)=>e in t?yu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mu=(t,e)=>{for(var n in e||(e={}))Iu.call(e,n)&&Tu(t,n,e[n]);if(Du)for(var n of Du(e))Su.call(e,n)&&Tu(t,n,e[n]);return t};class Bu extends wu{constructor(t,e={}){super(e),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=vu(this._save.bind(this),"number"==typeof e.saveInterval?e.saveInterval:5e3),t&&(this._creator=(e,n)=>t.create(e,n)),this._destructor=t=>t.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}_restart(){return Promise.resolve().then((()=>(this.state="initializing",this._fire("stateChange"),this._destroy()))).catch((t=>{console.error("An error happened during the editor destroying.",t)})).then((()=>{const t={},e=[],n=this._config.rootsAttributes||{},o={};for(const[i,r]of Object.entries(this._data.roots))r.isLoaded?(t[i]="",o[i]=n[i]||{}):e.push(i);const i=(r=Mu({},this._config),s={extraPlugins:this._config.extraPlugins||[],lazyRoots:e,rootsAttributes:o,_watchdogInitialData:this._data},xu(r,Eu(s)));var r,s;return delete i.initialData,i.extraPlugins.push(Nu),this._initUsingData?this.create(t,i,i.context):Ao(this._elementOrData)?this.create(this._elementOrData,i,i.context):this.create(this._editables,i,i.context)})).then((()=>{this._fire("restart")}))}create(t=this._elementOrData,e=this._config,n){return Promise.resolve().then((()=>(super._startErrorHandling(),this._elementOrData=t,this._initUsingData="string"==typeof t||Object.keys(t).length>0&&"string"==typeof Object.values(t)[0],this._config=this._cloneEditorConfiguration(e)||{},this._config.context=n,this._creator(t,this._config)))).then((t=>{this._editor=t,t.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=t.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")}))}destroy(){return Promise.resolve().then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.cancel();const t=this._editor;return this._editor=null,t.model.document.off("change:data",this._throttledSave),this._destructor(t)}))}_save(){const t=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=t}catch(t){console.error(t,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(t){this._excludedProps=t}_getData(){const t=this._editor,e=t.model.document.roots.filter((t=>t.isAttached()&&"$graveyard"!=t.rootName)),{plugins:n}=t,o=n.has("CommentsRepository")&&n.get("CommentsRepository"),i=n.has("TrackChanges")&&n.get("TrackChanges"),r={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};e.forEach((t=>{r.roots[t.rootName]={content:JSON.stringify(Array.from(t.getChildren())),attributes:JSON.stringify(Array.from(t.getAttributes())),isLoaded:t._isLoaded}}));for(const e of t.model.markers)e._affectsData&&(r.markers[e.name]={rangeJSON:e.getRange().toJSON(),usingOperation:e._managedUsingOperations,affectsData:e._affectsData});return o&&(r.commentThreads=JSON.stringify(o.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),i&&(r.suggestions=JSON.stringify(i.getSuggestions({toJSON:!0,skipNotAttached:!0}))),r}_getEditables(){const t={};for(const e of this.editor.model.document.getRootNames()){const n=this.editor.ui.getEditableElement(e);n&&(t[e]=n)}return t}_isErrorComingFromThisItem(t){return _u(this._editor,t.context,this._excludedProps)}_cloneEditorConfiguration(t){return wo(t,((t,e)=>Ao(t)||"context"===e?t:void 0))}}class Nu{constructor(t){this.editor=t,this._data=t.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",(t=>{t.stop(),this.editor.model.enqueueChange({isUndoable:!1},(t=>{this._restoreCollaborationData(),this._restoreEditorData(t)})),this.editor.data.fire("ready")}),{priority:999})}_createNode(t,e){if("name"in e){const n=t.createElement(e.name,e.attributes);if(e.children)for(const o of e.children)n._appendChild(this._createNode(t,o));return n}return t.createText(e.data,e.attributes)}_restoreEditorData(t){const e=this.editor;Object.entries(this._data.roots).forEach((([n,{content:o,attributes:i}])=>{const r=JSON.parse(o),s=JSON.parse(i),a=e.model.document.getRoot(n);for(const[e,n]of s)t.setAttribute(e,n,a);for(const e of r){const n=this._createNode(t,e);t.insert(n,a,"end")}})),Object.entries(this._data.markers).forEach((([n,o])=>{const{document:i}=e.model,r=o,{rangeJSON:{start:s,end:a}}=r,c=((t,e)=>{var n={};for(var o in t)Iu.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&Du)for(var o of Du(t))e.indexOf(o)<0&&Su.call(t,o)&&(n[o]=t[o]);return n})(r,["rangeJSON"]),l=i.getRoot(s.root),d=t.createPositionFromPath(l,s.path,s.stickiness),h=t.createPositionFromPath(l,a.path,a.stickiness),u=t.createRange(d,h);t.addMarker(n,Mu({range:u},c))}))}_restoreCollaborationData(){const t=JSON.parse(this._data.commentThreads),e=JSON.parse(this._data.suggestions);t.forEach((t=>{const e=this.editor.config.get("collaboration.channelId"),n=this.editor.plugins.get("CommentsRepository");if(n.hasCommentThread(t.threadId)){n.getCommentThread(t.threadId).remove()}n.addCommentThread(Mu({channelId:e},t))})),e.forEach((t=>{const e=this.editor.plugins.get("TrackChangesEditing");if(e.hasSuggestion(t.id)){e.getSuggestion(t.id).attributes=t.attributes}else e.addSuggestionData(t)}))}}const Pu=Symbol("MainQueueId");class zu{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(t){this._onEmptyCallbacks.push(t)}enqueue(t,e){const n=t===Pu;this._activeActions++,this._queues.get(t)||this._queues.set(t,Promise.resolve());const o=(n?Promise.all(this._queues.values()):Promise.all([this._queues.get(Pu),this._queues.get(t)])).then(e),i=o.catch((()=>{}));return this._queues.set(t,i),o.finally((()=>{this._activeActions--,this._queues.get(t)===i&&0===this._activeActions&&this._onEmptyCallbacks.forEach((t=>t()))}))}}function Ou(t){return Array.isArray(t)?t:[t]}function Lu({emitter:t,activator:e,callback:n,contextElements:o}){t.listenTo(document,"mousedown",((t,i)=>{if(!e())return;const r="function"==typeof i.composedPath?i.composedPath():[],s="function"==typeof o?o():o;for(const t of s)if(t.contains(i.target)||r.includes(t))return;n()}))}function ju(t){return class extends t{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...t){super(...t),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function Ru({view:t}){t.listenTo(t.element,"submit",((e,n)=>{n.preventDefault(),t.fire("submit")}),{useCapture:!0})}class Fu extends vi{constructor(t=[]){super(t,{idProperty:"viewUid"}),this.on("add",((t,e,n)=>{this._renderViewIntoCollectionParent(e,n)})),this.on("remove",((t,e)=>{e.element&&this._parentElement&&e.element.remove()})),this._parentElement=null}destroy(){this.map((t=>t.destroy()))}setParent(t){this._parentElement=t;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...t){if(!t.length||!t.every((t=>"string"==typeof t)))throw new k("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const n of this)for(const o of t)n.delegate(o).to(e);this.on("add",((n,o)=>{for(const n of t)o.delegate(n).to(e)})),this.on("remove",((n,o)=>{for(const n of t)o.stopDelegating(n,e)}))}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}remove(t){return super.remove(t)}}var Vu=n(4793),Uu={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Vu.Z,Uu);Vu.Z.locals;class Hu extends(Do(H())){constructor(t){super(),this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new vi,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((e,n)=>{n.locale=t,n.t=t&&t.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Gu.bind(this,this)}createCollection(t){const e=new Fu(t);return this._viewCollections.add(e),e}registerChild(t){Q(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){Q(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Gu(t)}extendTemplate(t){Gu.extend(this.template,t)}render(){if(this.isRendered)throw new k("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((t=>t.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}class Gu extends(I()){constructor(t){super(),Object.assign(this,tg(Xu(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,intoFragment:!1,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new k("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const n of e.children)sg(n)?yield n:ag(n)&&(yield*t(n))}(this)}static bind(t,e){return{to:(n,o)=>new Wu({eventNameOrFunction:n,attribute:n,observable:t,emitter:e,callback:o}),if:(n,o,i)=>new Ku({observable:t,emitter:e,attribute:n,valueIfTrue:o,callback:i})}}static extend(t,e){if(t._isRendered)throw new k("template-extend-render",[this,t]);ig(t,tg(Xu(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new k("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Zu(this.text)?this._bindToObservable({schema:this.text,updater:$u(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){if(!this.attributes)return;const e=t.node,n=t.revertData;for(const o in this.attributes){const i=e.getAttribute(o),r=this.attributes[o];n&&(n.attributes[o]=i);const s=lg(r)?r[0].ns:null;if(Zu(r)){const a=lg(r)?r[0].value:r;n&&dg(o)&&a.unshift(i),this._bindToObservable({schema:a,updater:Qu(e,o,s),data:t})}else if("style"==o&&"string"!=typeof r[0])this._renderStyleAttribute(r[0],t);else{n&&i&&dg(o)&&r.unshift(i);const t=r.map((t=>t&&t.value||t)).reduce(((t,e)=>t.concat(e)),[]).reduce(ng,"");rg(t)||e.setAttributeNS(s,o,t)}}}_renderStyleAttribute(t,e){const n=e.node;for(const o in t){const i=t[o];Zu(i)?this._bindToObservable({schema:[i],updater:Ju(n,o),data:e}):n.style[o]=i}}_renderElementChildren(t){const e=t.node,n=t.intoFragment?document.createDocumentFragment():e,o=t.isApplying;let i=0;for(const r of this.children)if(cg(r)){if(!o){r.setParent(e);for(const t of r)n.appendChild(t.element)}}else if(sg(r))o||(r.isRendered||r.render(),n.appendChild(r.element));else if(yo(r))n.appendChild(r);else if(o){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),r._renderNode({intoFragment:!1,node:n.childNodes[i++],isApplying:!0,revertData:e})}else n.appendChild(r.render());t.intoFragment&&e.appendChild(n)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const n=this.eventListeners[e].map((n=>{const[o,i]=e.split("@");return n.activateDomEventListener(o,i,t)}));t.revertData&&t.revertData.bindings.push(n)}}_bindToObservable({schema:t,updater:e,data:n}){const o=n.revertData;Yu(t,e,n);const i=t.filter((t=>!rg(t))).filter((t=>t.observable)).map((o=>o.activateAttributeListener(t,e,n)));o&&o.bindings.push(i)}_revertTemplateFromNode(t,e){for(const t of e.bindings)for(const e of t)e();if(e.text)return void(t.textContent=e.text);const n=t;for(const t in e.attributes){const o=e.attributes[t];null===o?n.removeAttribute(t):n.setAttribute(t,o)}for(let t=0;tYu(t,e,n);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class Wu extends qu{constructor(t){super(t),this.eventNameOrFunction=t.eventNameOrFunction}activateDomEventListener(t,e,n){const o=(t,n)=>{e&&!n.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(n):this.observable.fire(this.eventNameOrFunction,n))};return this.emitter.listenTo(n.node,t,o),()=>{this.emitter.stopListening(n.node,t,o)}}}class Ku extends qu{constructor(t){super(t),this.valueIfTrue=t.valueIfTrue}getValue(t){return!rg(super.getValue(t))&&(this.valueIfTrue||!0)}}function Zu(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Zu):t instanceof qu)}function Yu(t,e,{node:n}){const o=function(t,e){return t.map((t=>t instanceof qu?t.getValue(e):t))}(t,n);let i;i=1==t.length&&t[0]instanceof Ku?o[0]:o.reduce(ng,""),rg(i)?e.remove():e.set(i)}function $u(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function Qu(t,e,n){return{set(o){t.setAttributeNS(n,e,o)},remove(){t.removeAttributeNS(n,e)}}}function Ju(t,e){return{set(n){t.style[e]=n},remove(){t.style[e]=null}}}function Xu(t){return wo(t,(t=>{if(t&&(t instanceof qu||ag(t)||sg(t)||cg(t)))return t}))}function tg(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=bi(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)eg(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=bi(t[e].value)),eg(t,e)}(t.attributes);const e=[];if(t.children)if(cg(t.children))e.push(t.children);else for(const n of t.children)ag(n)||sg(n)||yo(n)?e.push(n):e.push(new Gu(n));t.children=e}return t}function eg(t,e){t[e]=bi(t[e])}function ng(t,e){return rg(e)?t:rg(t)?e:`${t} ${e}`}function og(t,e){for(const n in e)t[n]?t[n].push(...e[n]):t[n]=e[n]}function ig(t,e){if(e.attributes&&(t.attributes||(t.attributes={}),og(t.attributes,e.attributes)),e.eventListeners&&(t.eventListeners||(t.eventListeners={}),og(t.eventListeners,e.eventListeners)),e.text&&t.text.push(...e.text),e.children&&e.children.length){if(t.children.length!=e.children.length)throw new k("ui-template-extend-children-mismatch",t);let n=0;for(const o of e.children)ig(t.children[n++],o)}}function rg(t){return!t&&0!==t}function sg(t){return t instanceof Hu}function ag(t){return t instanceof Gu}function cg(t){return t instanceof Fu}function lg(t){return O(t[0])&&t[0].ns}function dg(t){return"class"==t||"style"==t}class hg extends Fu{constructor(t,e=[]){super(e),this.locale=t}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new Gu({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let t=document.querySelector(".ck-body-wrapper");t||(t=pt(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(t)),t.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const t=document.querySelector(".ck-body-wrapper");t&&0==t.childElementCount&&t.remove()}}var ug=n(6574),gg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(ug.Z,gg);ug.Z.locals;const pg=class extends Hu{constructor(){super();const t=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",t.if("isVisible","ck-hidden",(t=>!t)),"ck-reset_all-excluded",t.if("isColorInherited","ck-icon_inherit-color")],viewBox:t.to("viewBox")}})}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 t=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),e=t.getAttribute("viewBox");e&&(this.viewBox=e);for(const{name:e,value:n}of Array.from(t.attributes))pg.presentationalAttributeNames.includes(e)&&this.element.setAttribute(e,n);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;t.childNodes.length>0;)this.element.appendChild(t.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((t=>{t.style.fill=this.fillColor}))}};let mg=pg;mg.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"];class fg extends Hu{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const t=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:t.to("style"),id:t.to("id")},children:[{text:t.to("text")}]})}}var kg=n(4906),bg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(kg.Z,bg);kg.Z.locals;class wg extends Hu{constructor(t,e=new fg){super(t),this._focusDelayed=null;const n=this.bindTemplate,o=g();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(e),this.iconView=new mg,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const r={tag:"button",attributes:{class:["ck","ck-button",n.to("class"),n.if("isEnabled","ck-disabled",(t=>!t)),n.if("isVisible","ck-hidden",(t=>!t)),n.to("isOn",(t=>t?"ck-on":"ck-off")),n.if("withText","ck-button_with-text"),n.if("withKeystroke","ck-button_with-keystroke")],role:n.to("role"),type:n.to("type",(t=>t||"button")),tabindex:n.to("tabindex"),"aria-label":n.to("ariaLabel"),"aria-labelledby":n.to("ariaLabelledBy"),"aria-disabled":n.if("isEnabled",!0,(t=>!t)),"aria-pressed":n.to("isOn",(t=>!!this.isToggleable&&String(!!t))),"data-cke-tooltip-text":n.to("_tooltipString"),"data-cke-tooltip-position":n.to("tooltipPosition")},children:this.children,on:{click:n.to((t=>{this.isEnabled?this.fire("execute"):t.preventDefault()}))}};i.isSafari&&(this._focusDelayed||(this._focusDelayed=Ii((()=>this.focus()),0)),r.on.mousedown=n.to((()=>{this._focusDelayed()})),r.on.mouseup=n.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(r)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(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(t){return t.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),t}_createKeystrokeView(){const t=new Hu;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(t=>fi(t)))}]}),t}_getTooltipString(t,e,n){return t?"string"==typeof t?t:(n&&(n=fi(n)),t instanceof Function?t(e,n):`${e}${n?` (${n})`:""}`):""}}var Ag=n(5332),Cg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Ag.Z,Cg);Ag.Z.locals;class _g extends wg{constructor(t){super(t),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const t=new Hu;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),t}}var vg=n(6781),yg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(vg.Z,yg);vg.Z.locals;n(1103);n(841);var xg=n(3662),Eg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(xg.Z,Eg);xg.Z.locals;class Dg extends Hu{constructor(t){super(t),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${g()}`;const e=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")},children:[{text:e.to("text")}]})}}var Ig=n(2577),Sg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Ig.Z,Sg);Ig.Z.locals;class Tg extends Hu{constructor(t,e){super(t);const n=`ck-labeled-field-view-${g()}`,o=`ck-labeled-field-view-status-${g()}`;this.fieldView=e(this,n,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(n),this.statusView=this._createStatusView(o),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",((t,e)=>t||e));const i=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",i.to("class"),i.if("isEnabled","ck-disabled",(t=>!t)),i.if("isEmpty","ck-labeled-field-view_empty"),i.if("isFocused","ck-labeled-field-view_focused"),i.if("placeholder","ck-labeled-field-view_placeholder"),i.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(t){const e=new Dg(this.locale);return e.for=t,e.bind("text").to(this,"label"),e}_createStatusView(t){const e=new Hu(this.locale),n=this.bindTemplate;return e.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",n.if("errorText","ck-labeled-field-view__status_error"),n.if("_statusText","ck-hidden",(t=>!t))],id:t,role:n.if("errorText","alert")},children:[{text:n.to("_statusText")}]}),e}focus(t){this.fieldView.focus(t)}}class Mg extends Hu{constructor(t){super(t),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new xi,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",e.if("isFocused","ck-input_focused"),e.if("isEmpty","ck-input-text_empty"),e.if("hasError","ck-error")],id:e.to("id"),placeholder:e.to("placeholder"),readonly:e.to("isReadOnly"),"aria-invalid":e.if("hasError",!0),"aria-describedby":e.to("ariaDescribedById")},on:{input:e.to(((...t)=>{this.fire("input",...t),this._updateIsEmpty()})),change:e.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",((t,e,n)=>{this._setDomElementValue(n),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=!this.element.value}_setDomElementValue(t){this.element.value=t||0===t?t:""}}var Bg=n(4879),Ng={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Bg.Z,Ng);Bg.Z.locals;class Pg extends Mg{constructor(t){super(t),this.set("inputMode","text");const e=this.bindTemplate;this.extendTemplate({attributes:{inputmode:e.to("inputMode")}})}}class zg extends Pg{constructor(t){super(t),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var Og=n(8182),Lg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Og.Z,Lg);Og.Z.locals;class jg extends Hu{constructor(t){super(t);const e=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",e.to("position",(t=>`ck-dropdown__panel_${t}`)),e.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:e.to((t=>{"input"!==t.target.tagName.toLocaleLowerCase()&&t.preventDefault()}))}})}focus(){if(this.children.length){const t=this.children.first;"function"==typeof t.focus?t.focus():b("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const t=this.children.last;"function"==typeof t.focusLast?t.focusLast():t.focus()}}}var Rg=n(5485),Fg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Rg.Z,Fg);Rg.Z.locals;const Vg=class extends Hu{constructor(t,e,n){super(t);const o=this.bindTemplate;this.buttonView=e,this.panelView=n,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 Ei,this.focusTracker=new xi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",(t=>!t))],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[e,n]}),e.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,e,n)=>{if(n)if("auto"===this.panelPosition){const t=Vg._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=t?t.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition})),this.keystrokes.listenTo(this.element);const t=(t,e)=>{this.isOpen&&(this.isOpen=!1,e())};this.keystrokes.set("arrowdown",((t,e)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,e())})),this.keystrokes.set("arrowright",((t,e)=>{this.isOpen&&e()})),this.keystrokes.set("arrowleft",t),this.keystrokes.set("esc",t)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:t,north:e,southEast:n,southWest:o,northEast:i,northWest:r,southMiddleEast:s,southMiddleWest:a,northMiddleEast:c,northMiddleWest:l}=Vg.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[n,o,s,a,t,i,r,c,l,e]:[o,n,a,s,t,r,i,l,c,e]}};let Ug=Vg;Ug.defaultPanelPositions={south:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/2,name:"s"}),southEast:t=>({top:t.bottom,left:t.left,name:"se"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:"sw"}),southMiddleEast:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/4,name:"sme"}),southMiddleWest:(t,e)=>({top:t.bottom,left:t.left-3*(e.width-t.width)/4,name:"smw"}),north:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/2,name:"n"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:"ne"}),northWest:(t,e)=>({top:t.top-e.height,left:t.left-e.width+t.width,name:"nw"}),northMiddleEast:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/4,name:"nme"}),northMiddleWest:(t,e)=>({top:t.top-e.height,left:t.left-3*(e.width-t.width)/4,name:"nmw"})},Ug._getOptimalPosition=Qo;const Hg='';class Gg extends wg{constructor(t){super(t),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 t=new mg;return t.content=Hg,t.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),t}}class qg extends(I()){constructor(t){if(super(),this.focusables=t.focusables,this.focusTracker=t.focusTracker,this.keystrokeHandler=t.keystrokeHandler,this.actions=t.actions,t.actions&&t.keystrokeHandler)for(const e in t.actions){let n=t.actions[e];"string"==typeof n&&(n=[n]);for(const o of n)t.keystrokeHandler.set(o,((t,n)=>{this[e](),n()}))}this.on("forwardCycle",(()=>this.focusFirst()),{priority:"low"}),this.on("backwardCycle",(()=>this.focusLast()),{priority:"low"})}get first(){return this.focusables.find(Wg)||null}get last(){return this.focusables.filter(Wg).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let t=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((e,n)=>{const o=e.element===this.focusTracker.focusedElement;return o&&(t=n),o})),t)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const t=this.next;t&&this.focusables.getIndex(t)===this.current||(t===this.first?this.fire("forwardCycle"):this._focus(t,1))}focusPrevious(){const t=this.previous;t&&this.focusables.getIndex(t)===this.current||(t===this.last?this.fire("backwardCycle"):this._focus(t,-1))}_focus(t,e){t&&t.focus(e)}_getFocusableItem(t){const e=this.current,n=this.focusables.length;if(!n)return null;if(null===e)return this[1===t?"first":"last"];let o=(e+n+t)%n;do{const e=this.focusables.get(o);if(Wg(e))return e;o=(o+n+t)%n}while(o!==e);return null}}function Wg(t){return!(!("focus"in t)||!Yo(t.element))}class Kg extends Hu{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Zg extends Hu{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var Yg=Object.defineProperty,$g=Object.getOwnPropertySymbols,Qg=Object.prototype.hasOwnProperty,Jg=Object.prototype.propertyIsEnumerable,Xg=(t,e,n)=>e in t?Yg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tp=(t,e)=>{for(var n in e||(e={}))Qg.call(e,n)&&Xg(t,n,e[n]);if($g)for(var n of $g(e))Jg.call(e,n)&&Xg(t,n,e[n]);return t};function ep(t){if(Array.isArray(t))return{items:t,removeItems:[]};const e={items:[],removeItems:[]};return t?tp(tp({},e),t):e}var np=n(5542),op={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(np.Z,op);np.Z.locals;const{threeVerticalDots:ip}=bu,rp={alignLeft:bu.alignLeft,bold:bu.bold,importExport:bu.importExport,paragraph:bu.paragraph,plus:bu.plus,text:bu.text,threeVerticalDots:bu.threeVerticalDots,pilcrow:bu.pilcrow,dragIndicator:bu.dragIndicator};class sp extends Hu{constructor(t,e){super(t);const n=this.bindTemplate,o=this.t;this.options=e||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new xi,this.keystrokes=new Ei,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new ap(t),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const i="rtl"===t.uiLanguageDirection;this._focusCycler=new qg({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[i?"arrowright":"arrowleft","arrowup"],focusNext:[i?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",n.to("class"),n.if("isCompact","ck-toolbar_compact")];var s;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":n.to("ariaLabel"),style:{maxWidth:n.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(s=this,s.bindTemplate.to((t=>{t.target===s.element&&t.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new lp(this):new cp(this)}render(){super.render(),this.focusTracker.add(this.element);for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",((t,e)=>{this.focusTracker.add(e.element)})),this.items.on("remove",((t,e)=>{this.focusTracker.remove(e.element)})),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(t,e,n){this.items.addMany(this._buildItemsFromConfig(t,e,n))}_buildItemsFromConfig(t,e,n){const o=ep(t),i=n||o.removeItems;return this._cleanItemsConfiguration(o.items,e,i).map((t=>O(t)?this._createNestedToolbarDropdown(t,e,i):"|"===t?new Kg:"-"===t?new Zg:e.create(t))).filter((t=>!!t))}_cleanItemsConfiguration(t,e,n){const o=t.filter(((t,o,i)=>"|"===t||-1===n.indexOf(t)&&("-"===t?!this.options.shouldGroupWhenFull||(b("toolbarview-line-break-ignored-when-grouping-items",i),!1):!(!O(t)&&!e.has(t))||(b("toolbarview-item-unavailable",{item:t}),!1))));return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(t){const e=t=>"-"!==t&&"|"!==t,n=t.length,o=t.findIndex(e);if(-1===o)return[];const i=n-t.slice().reverse().findIndex(e);return t.slice(o,i).filter(((t,n,o)=>{if(e(t))return!0;return!(n>0&&o[n-1]===t)}))}_createNestedToolbarDropdown(t,e,n){let{label:o,icon:i,items:r,tooltip:s=!0,withText:a=!1}=t;if(r=this._cleanItemsConfiguration(r,e,n),!r.length)return null;const c=vp(this.locale);return o||b("toolbarview-nested-toolbar-dropdown-missing-label",t),c.class="ck-toolbar__nested-toolbar-dropdown",c.buttonView.set({label:o,tooltip:s,withText:!!a}),!1!==i?c.buttonView.icon=rp[i]||i||ip:c.buttonView.withText=!0,yp(c,(()=>c.toolbarView._buildItemsFromConfig(r,e,n))),c}}class ap extends Hu{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class cp{constructor(t){const e=t.bindTemplate;t.set("isVertical",!1),t.itemsView.children.bindTo(t.items).using((t=>t)),t.focusables.bindTo(t.items).using((t=>t)),t.extendTemplate({attributes:{class:[e.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class lp{constructor(t){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=t,this.viewChildren=t.children,this.viewFocusables=t.focusables,this.viewItemsView=t.itemsView,this.viewFocusTracker=t.focusTracker,this.viewLocale=t.locale,this.ungroupedItems=t.createCollection(),this.groupedItems=t.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),t.itemsView.children.bindTo(this.ungroupedItems).using((t=>t)),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),t.children.on("change",this._updateFocusCycleableItems.bind(this)),t.items.on("change",((t,e)=>{const n=e.index,o=Array.from(e.added);for(const t of e.removed)n>=this.ungroupedItems.length?this.groupedItems.remove(t):this.ungroupedItems.remove(t);for(let t=n;tthis.ungroupedItems.length?this.groupedItems.add(e,t-this.ungroupedItems.length):this.ungroupedItems.add(e,t)}this._updateGrouping()})),t.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(t){this.viewElement=t.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(t)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!Yo(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const t=this.groupedItems.length;let e;for(;this._areItemsOverflowing;)this._groupLastItem(),e=!0;if(!e&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==t&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const t=this.viewElement,e=this.viewLocale.uiLanguageDirection,n=new Lo(t.lastChild),o=new Lo(t);if(!this.cachedPadding){const n=Mo.window.getComputedStyle(t),o="ltr"===e?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(n[o])}return"ltr"===e?n.right>o.right-this.cachedPadding:n.left{t&&t===e.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),t=e.contentRect.width)})),this._updateGrouping()}_enableGroupingOnMaxWidthChange(t){t.on("change:maxWidth",(()=>{this._updateGrouping()}))}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new Kg),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 t=this.viewLocale,e=t.t,n=vp(t);return n.class="ck-toolbar__grouped-dropdown",n.panelPosition="ltr"===t.uiLanguageDirection?"sw":"se",yp(n,this.groupedItems),n.buttonView.set({label:e("Show more items"),tooltip:!0,tooltipPosition:"rtl"===t.uiLanguageDirection?"se":"sw",icon:ip}),n}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((t=>{this.viewFocusables.add(t)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class dp extends Hu{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",e.if("isVisible","ck-hidden",(t=>!t))],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class hp extends Hu{constructor(t){super(t),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class up extends Hu{constructor(t,e=new Dg){super(t);const n=this.bindTemplate,o=new mp(t);this.set({label:"",isVisible:!0}),this.labelView=e,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,o]),o.set({role:"group",ariaLabelledBy:e.id}),o.focusTracker.destroy(),o.keystrokes.destroy(),this.items=o.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",n.if("isVisible","ck-hidden",(t=>!t))]},children:this.children})}focus(){if(this.items){const t=this.items.find((t=>!(t instanceof hp)));t&&t.focus()}}}var gp=n(1046),pp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(gp.Z,pp);gp.Z.locals;class mp extends Hu{constructor(t){super(t),this._listItemGroupToChangeListeners=new WeakMap;const e=this.bindTemplate;this.focusables=new Fu,this.items=this.createCollection(),this.focusTracker=new xi,this.keystrokes=new Ei,this._focusCycler=new qg({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:e.to("role"),"aria-label":e.to("ariaLabel"),"aria-labelledby":e.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const t of this.items)t instanceof up?this._registerFocusableItemsGroup(t):t instanceof dp&&this._registerFocusableListItem(t);this.items.on("change",((t,e)=>{for(const t of e.removed)t instanceof up?this._deregisterFocusableItemsGroup(t):this._deregisterFocusableListItem(t);for(const t of Array.from(e.added).reverse())t instanceof up?this._registerFocusableItemsGroup(t,e.index):this._registerFocusableListItem(t,e.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(t,e){this.focusTracker.add(t.element),this.focusables.add(t,e)}_deregisterFocusableListItem(t){this.focusTracker.remove(t.element),this.focusables.remove(t)}_getOnGroupItemsChangeCallback(t){return(e,n)=>{for(const t of n.removed)this._deregisterFocusableListItem(t);for(const e of Array.from(n.added).reverse())this._registerFocusableListItem(e,this.items.getIndex(t)+n.index)}}_registerFocusableItemsGroup(t,e){Array.from(t.items).forEach(((t,n)=>{const o=void 0!==e?e+n:void 0;this._registerFocusableListItem(t,o)}));const n=this._getOnGroupItemsChangeCallback(t);this._listItemGroupToChangeListeners.set(t,n),t.items.on("change",n)}_deregisterFocusableItemsGroup(t){for(const e of t.items)this._deregisterFocusableListItem(e);t.items.off("change",this._listItemGroupToChangeListeners.get(t)),this._listItemGroupToChangeListeners.delete(t)}}var fp=n(7686),kp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(fp.Z,kp);fp.Z.locals;class bp extends Hu{constructor(t,e){super(t);const n=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(e),this.arrowView=this._createArrowView(),this.keystrokes=new Ei,this.focusTracker=new xi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",n.to("class"),n.if("isVisible","ck-hidden",(t=>!t)),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",((t,e)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),e())})),this.keystrokes.set("arrowleft",((t,e)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),e())}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(t){const e=t||new wg;return t||e.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),e.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),e.delegate("execute").to(this),e}_createArrowView(){const t=new wg,e=t.bindTemplate;return t.icon=Hg,t.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":e.to("isOn"),"aria-haspopup":!0,"aria-expanded":e.to("isOn",(t=>String(t)))}}),t.bind("isEnabled").to(this),t.bind("label").to(this),t.bind("tooltip").to(this),t.delegate("execute").to(this,"open"),t}}var wp=n(7339),Ap={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(wp.Z,Ap);wp.Z.locals;var Cp=n(3949),_p={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Cp.Z,_p);Cp.Z.locals;function vp(t,e=Gg){const n="function"==typeof e?new e(t):e,o=new jg(t),i=new Ug(t,n,o);return n.bind("isEnabled").to(i),n instanceof bp?n.arrowView.bind("isOn").to(i,"isOpen"):n.bind("isOn").to(i,"isOpen"),function(t){(function(t){t.on("render",(()=>{Lu({emitter:t,activator:()=>t.isOpen,callback:()=>{t.isOpen=!1},contextElements:()=>[t.element,...t.focusTracker._elements]})}))})(t),function(t){t.on("execute",(e=>{e.source instanceof _g||(t.isOpen=!1)}))}(t),function(t){t.focusTracker.on("change:isFocused",((e,n,o)=>{t.isOpen&&!o&&(t.isOpen=!1)}))}(t),function(t){t.keystrokes.set("arrowdown",((e,n)=>{t.isOpen&&(t.panelView.focus(),n())})),t.keystrokes.set("arrowup",((e,n)=>{t.isOpen&&(t.panelView.focusLast(),n())}))}(t),function(t){t.on("change:isOpen",((e,n,o)=>{if(o)return;const i=t.panelView.element;i&&i.contains(Mo.document.activeElement)&&t.buttonView.focus()}))}(t),function(t){t.on("change:isOpen",((e,n,o)=>{o&&t.panelView.focus()}),{priority:"low"})}(t)}(i),i}function yp(t,e,n={}){t.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),t.isOpen?xp(t,e,n):t.once("change:isOpen",(()=>xp(t,e,n)),{priority:"highest"}),n.enableActiveItemFocusOnDropdownOpen&&Ip(t,(()=>t.toolbarView.items.find((t=>t.isOn))))}function xp(t,e,n){const o=t.locale,i=o.t,r=t.toolbarView=new sp(o),s="function"==typeof e?e():e;r.ariaLabel=n.ariaLabel||i("Dropdown toolbar"),n.maxWidth&&(r.maxWidth=n.maxWidth),n.class&&(r.class=n.class),n.isCompact&&(r.isCompact=n.isCompact),n.isVertical&&(r.isVertical=!0),s instanceof Fu?r.items.bindTo(s).using((t=>t)):r.items.addMany(s),t.panelView.children.add(r),r.items.delegate("execute").to(t)}function Ep(t,e,n={}){t.isOpen?Dp(t,e,n):t.once("change:isOpen",(()=>Dp(t,e,n)),{priority:"highest"}),Ip(t,(()=>t.listView.items.find((t=>t instanceof dp&&t.children.first.isOn))))}function Dp(t,e,n){const o=t.locale,i=t.listView=new mp(o),r="function"==typeof e?e():e;i.ariaLabel=n.ariaLabel,i.role=n.role,Sp(t,i.items,r,o),t.panelView.children.add(i),i.items.delegate("execute").to(t)}function Ip(t,e){t.on("change:isOpen",(()=>{if(!t.isOpen)return;const n=e();n&&("function"==typeof n.focus?n.focus():b("ui-dropdown-focus-child-on-open-child-missing-focus",{view:n}))}),{priority:p.low-10})}function Sp(t,e,n,o){e.bindTo(n).using((e=>{if("separator"===e.type)return new hp(o);if("group"===e.type){const n=new up(o);return n.set({label:e.label}),Sp(t,n.items,e.items,o),n.items.delegate("execute").to(t),n}if("button"===e.type||"switchbutton"===e.type){const t=new dp(o);let n;return"button"===e.type?(n=new wg(o),n.extendTemplate({attributes:{"aria-checked":n.bindTemplate.to("isOn")}})):n=new _g(o),n.bind(...Object.keys(e.model)).to(e.model),n.delegate("execute").to(t),t.children.add(n),t}return null}))}const Tp=(t,e,n)=>{const o=new zg(t.locale);return o.set({id:e,ariaDescribedById:n}),o.bind("isReadOnly").to(t,"isEnabled",(t=>!t)),o.bind("hasError").to(t,"errorText",(t=>!!t)),o.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused","placeholder").to(o),o},Mp=(t,e=0,n=1)=>t>n?n:tMath.round(n*t)/n,Np=(Math.PI,t=>("#"===t[0]&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?Bp(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:8===t.length?Bp(parseInt(t.substring(6,8),16)/255,2):1})),Pp=({h:t,s:e,v:n,a:o})=>{const i=(200-e)*n/100;return{h:Bp(t),s:Bp(i>0&&i<200?e*n/100/(i<=100?i:200-i)*100:0),l:Bp(i/2),a:Bp(o,2)}},zp=t=>{const{h:e,s:n,l:o}=Pp(t);return`hsl(${e}, ${n}%, ${o}%)`},Op=({h:t,s:e,v:n,a:o})=>{t=t/360*6,e/=100,n/=100;const i=Math.floor(t),r=n*(1-e),s=n*(1-(t-i)*e),a=n*(1-(1-t+i)*e),c=i%6;return{r:Bp(255*[n,s,r,r,a,n][c]),g:Bp(255*[a,n,n,s,r,r][c]),b:Bp(255*[r,r,a,n,n,s][c]),a:Bp(o,2)}},Lp=t=>{const e=t.toString(16);return e.length<2?"0"+e:e},jp=({r:t,g:e,b:n,a:o})=>{const i=o<1?Lp(Bp(255*o)):"";return"#"+Lp(t)+Lp(e)+Lp(n)+i},Rp=({r:t,g:e,b:n,a:o})=>{const i=Math.max(t,e,n),r=i-Math.min(t,e,n),s=r?i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r:0;return{h:Bp(60*(s<0?s+6:s)),s:Bp(i?r/i*100:0),v:Bp(i/255*100),a:o}},Fp=(t,e)=>{if(t===e)return!0;for(const n in t)if(t[n]!==e[n])return!1;return!0},Vp={},Up=t=>{let e=Vp[t];return e||(e=document.createElement("template"),e.innerHTML=t,Vp[t]=e),e},Hp=(t,e,n)=>{t.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:n}))};let Gp=!1;const qp=t=>"touches"in t,Wp=(t,e)=>{const n=qp(e)?e.touches[0]:e,o=t.el.getBoundingClientRect();Hp(t.el,"move",t.getMove({x:Mp((n.pageX-(o.left+window.pageXOffset))/o.width),y:Mp((n.pageY-(o.top+window.pageYOffset))/o.height)}))};class Kp{constructor(t,e,n,o){const i=Up(`
`);t.appendChild(i.content.cloneNode(!0));const r=t.querySelector(`[part=${e}]`);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(t){const e=t?document.addEventListener:document.removeEventListener;e(Gp?"touchmove":"mousemove",this),e(Gp?"touchend":"mouseup",this)}handleEvent(t){switch(t.type){case"mousedown":case"touchstart":if(t.preventDefault(),!(t=>!(Gp&&!qp(t)||(Gp||(Gp=qp(t)),0)))(t)||!Gp&&0!=t.button)return;this.el.focus(),Wp(this,t),this.dragging=!0;break;case"mousemove":case"touchmove":t.preventDefault(),Wp(this,t);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((t,e)=>{const n=e.keyCode;n>40||t.xy&&n<37||n<33||(e.preventDefault(),Hp(t.el,"move",t.getMove({x:39===n?.01:37===n?-.01:34===n?.05:33===n?-.05:35===n?1:36===n?-1:0,y:40===n?.01:38===n?-.01:0},!0)))})(this,t)}}style(t){t.forEach(((t,e)=>{for(const n in t)this.nodes[e].style.setProperty(n,t[n])}))}}class Zp extends Kp{constructor(t){super(t,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:t}){this.h=t,this.style([{left:t/360*100+"%",color:zp({h:t,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Bp(t)}`)}getMove(t,e){return{h:e?Mp(this.h+360*t.x,0,360):360*t.x}}}class Yp extends Kp{constructor(t){super(t,"saturation",'aria-label="Color"',!0)}update(t){this.hsva=t,this.style([{top:100-t.v+"%",left:`${t.s}%`,color:zp(t)},{"background-color":zp({h:t.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Bp(t.s)}%, Brightness ${Bp(t.v)}%`)}getMove(t,e){return{s:e?Mp(this.hsva.s+100*t.x,0,100):100*t.x,v:e?Mp(this.hsva.v-100*t.y,0,100):Math.round(100-100*t.y)}}}const $p=Symbol("same"),Qp=Symbol("color"),Jp=Symbol("hsva"),Xp=Symbol("update"),tm=Symbol("parts"),em=Symbol("css"),nm=Symbol("sliders");class om extends HTMLElement{static get observedAttributes(){return["color"]}get[em](){return[':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)}',"[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}","[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}"]}get[nm](){return[Yp,Zp]}get color(){return this[Qp]}set color(t){if(!this[$p](t)){const e=this.colorModel.toHsva(t);this[Xp](e),this[Qp]=t}}constructor(){super();const t=Up(``),e=this.attachShadow({mode:"open"});e.appendChild(t.content.cloneNode(!0)),e.addEventListener("move",this),this[tm]=this[nm].map((t=>new t(e)))}connectedCallback(){if(this.hasOwnProperty("color")){const t=this.color;delete this.color,this.color=t}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(t,e,n){const o=this.colorModel.fromAttr(n);this[$p](o)||(this.color=o)}handleEvent(t){const e=this[Jp],n={...e,...t.detail};let o;this[Xp](n),Fp(n,e)||this[$p](o=this.colorModel.fromHsva(n))||(this[Qp]=o,Hp(this,"color-changed",{value:o}))}[$p](t){return this.color&&this.colorModel.equal(t,this.color)}[Xp](t){this[Jp]=t,this[tm].forEach((e=>e.update(t)))}}const im={defaultColor:"#000",toHsva:t=>Rp(Np(t)),fromHsva:({h:t,s:e,v:n})=>jp(Op({h:t,s:e,v:n,a:1})),equal:(t,e)=>t.toLowerCase()===e.toLowerCase()||Fp(Np(t),Np(e)),fromAttr:t=>t};class rm extends om{get colorModel(){return im}}customElements.define("hex-color-picker",class extends rm{});var sm=n(3398),am={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(sm.Z,am);sm.Z.locals;H(vi);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var cm=n(4157),lm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(cm.Z,lm);cm.Z.locals;class dm{constructor(t){this._components=new Map,this.editor=t}*names(){for(const t of this._components.values())yield t.originalName}add(t,e){this._components.set(hm(t),{callback:e,originalName:t})}create(t){if(!this.has(t))throw new k("componentfactory-item-missing",this,{name:t});return this._components.get(hm(t)).callback(this.editor.locale)}has(t){return this._components.has(hm(t))}}function hm(t){return String(t).toLowerCase()}var um=n(8793),gm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(um.Z,gm);um.Z.locals;var pm=Object.defineProperty,mm=Object.getOwnPropertySymbols,fm=Object.prototype.hasOwnProperty,km=Object.prototype.propertyIsEnumerable,bm=(t,e,n)=>e in t?pm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wm=(t,e)=>{for(var n in e||(e={}))fm.call(e,n)&&bm(t,n,e[n]);if(mm)for(var n of mm(e))km.call(e,n)&&bm(t,n,e[n]);return t};const Am=qo("px"),Cm=Mo.document.body,_m={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},vm=class extends Hu{constructor(t){super(t);const e=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.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",e.to("position",(t=>`ck-balloon-panel_${t}`)),e.if("isVisible","ck-balloon-panel_visible"),e.if("withArrow","ck-balloon-panel_with-arrow"),e.to("class")],style:{top:e.to("top",Am),left:e.to("left",Am)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(t){this.show();const e=vm.defaultPositions,n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthMiddleWest,e.southArrowNorthMiddleEast,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthMiddleWest,e.northArrowSouthMiddleEast,e.northArrowSouthWest,e.northArrowSouthEast,e.viewportStickyNorth],limiter:Cm,fitInViewport:!0},t),o=vm._getOptimalPosition(n)||_m,i=parseInt(o.left),r=parseInt(o.top),s=o.name,a=o.config||{},{withArrow:c=!0}=a;this.top=r,this.left=i,this.position=s,this.withArrow=c}pin(t){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(t):this._stopPinning()},this._startPinning(t),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(t){this.attachTo(t);const e=xm(t.target),n=t.limiter?xm(t.limiter):Cm;this.listenTo(Mo.document,"scroll",((o,i)=>{const r=i.target,s=e&&r.contains(e),a=n&&r.contains(n);!s&&!a&&e&&n||this.attachTo(t)}),{useCapture:!0}),this.listenTo(Mo.window,"resize",(()=>{this.attachTo(t)}))}_stopPinning(){this.stopListening(Mo.document,"scroll"),this.stopListening(Mo.window,"resize")}};let ym=vm;function xm(t){return Ao(t)?t:No(t)?t.commonAncestorContainer:"function"==typeof t?xm(t()):null}function Em(t={}){const{sideOffset:e=ym.arrowSideOffset,heightOffset:n=ym.arrowHeightOffset,stickyVerticalOffset:o=ym.stickyVerticalOffset,config:i}=t;return{northWestArrowSouthWest:(t,n)=>wm({top:r(t,n),left:t.left-e,name:"arrow_sw"},i&&{config:i}),northWestArrowSouthMiddleWest:(t,n)=>wm({top:r(t,n),left:t.left-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northWestArrowSouth:(t,e)=>wm({top:r(t,e),left:t.left-e.width/2,name:"arrow_s"},i&&{config:i}),northWestArrowSouthMiddleEast:(t,n)=>wm({top:r(t,n),left:t.left-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northWestArrowSouthEast:(t,n)=>wm({top:r(t,n),left:t.left-n.width+e,name:"arrow_se"},i&&{config:i}),northArrowSouthWest:(t,n)=>wm({top:r(t,n),left:t.left+t.width/2-e,name:"arrow_sw"},i&&{config:i}),northArrowSouthMiddleWest:(t,n)=>wm({top:r(t,n),left:t.left+t.width/2-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northArrowSouth:(t,e)=>wm({top:r(t,e),left:t.left+t.width/2-e.width/2,name:"arrow_s"},i&&{config:i}),northArrowSouthMiddleEast:(t,n)=>wm({top:r(t,n),left:t.left+t.width/2-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northArrowSouthEast:(t,n)=>wm({top:r(t,n),left:t.left+t.width/2-n.width+e,name:"arrow_se"},i&&{config:i}),northEastArrowSouthWest:(t,n)=>wm({top:r(t,n),left:t.right-e,name:"arrow_sw"},i&&{config:i}),northEastArrowSouthMiddleWest:(t,n)=>wm({top:r(t,n),left:t.right-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northEastArrowSouth:(t,e)=>wm({top:r(t,e),left:t.right-e.width/2,name:"arrow_s"},i&&{config:i}),northEastArrowSouthMiddleEast:(t,n)=>wm({top:r(t,n),left:t.right-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northEastArrowSouthEast:(t,n)=>wm({top:r(t,n),left:t.right-n.width+e,name:"arrow_se"},i&&{config:i}),southWestArrowNorthWest:t=>wm({top:s(t),left:t.left-e,name:"arrow_nw"},i&&{config:i}),southWestArrowNorthMiddleWest:(t,n)=>wm({top:s(t),left:t.left-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southWestArrowNorth:(t,e)=>wm({top:s(t),left:t.left-e.width/2,name:"arrow_n"},i&&{config:i}),southWestArrowNorthMiddleEast:(t,n)=>wm({top:s(t),left:t.left-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southWestArrowNorthEast:(t,n)=>wm({top:s(t),left:t.left-n.width+e,name:"arrow_ne"},i&&{config:i}),southArrowNorthWest:t=>wm({top:s(t),left:t.left+t.width/2-e,name:"arrow_nw"},i&&{config:i}),southArrowNorthMiddleWest:(t,n)=>wm({top:s(t),left:t.left+t.width/2-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southArrowNorth:(t,e)=>wm({top:s(t),left:t.left+t.width/2-e.width/2,name:"arrow_n"},i&&{config:i}),southArrowNorthMiddleEast:(t,n)=>wm({top:s(t),left:t.left+t.width/2-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southArrowNorthEast:(t,n)=>wm({top:s(t),left:t.left+t.width/2-n.width+e,name:"arrow_ne"},i&&{config:i}),southEastArrowNorthWest:t=>wm({top:s(t),left:t.right-e,name:"arrow_nw"},i&&{config:i}),southEastArrowNorthMiddleWest:(t,n)=>wm({top:s(t),left:t.right-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southEastArrowNorth:(t,e)=>wm({top:s(t),left:t.right-e.width/2,name:"arrow_n"},i&&{config:i}),southEastArrowNorthMiddleEast:(t,n)=>wm({top:s(t),left:t.right-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southEastArrowNorthEast:(t,n)=>wm({top:s(t),left:t.right-n.width+e,name:"arrow_ne"},i&&{config:i}),westArrowEast:(t,e)=>wm({top:t.top+t.height/2-e.height/2,left:t.left-e.width-n,name:"arrow_e"},i&&{config:i}),eastArrowWest:(t,e)=>wm({top:t.top+t.height/2-e.height/2,left:t.right+n,name:"arrow_w"},i&&{config:i}),viewportStickyNorth:(t,e,n,r)=>{const s=r||n;return t.getIntersection(s)?s.height-t.height>o?null:{top:s.top+o,left:t.left+t.width/2-e.width/2,name:"arrowless",config:wm({withArrow:!1},i)}:null}};function r(t,e){return t.top-e.height-n}function s(t){return t.bottom+n}}ym.arrowSideOffset=25,ym.arrowHeightOffset=10,ym.stickyVerticalOffset=20,ym._getOptimalPosition=Qo,ym.defaultPositions=Em();var Dm=n(3332),Im={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Dm.Z,Im);Dm.Z.locals;const Sm="ck-tooltip",Tm=class extends(Do()){constructor(t){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,Tm._editors.add(t),Tm._instance)return Tm._instance;Tm._instance=this,this.tooltipTextView=new Hu(t.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 ym(t.locale),this.balloonPanelView.class=Sm,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=La(this._pinTooltip,600),this.listenTo(Mo.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Mo.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Mo.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Mo.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Mo.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(t){const e=t.ui.view&&t.ui.view.body;Tm._editors.delete(t),this.stopListening(t.ui),e&&e.has(this.balloonPanelView)&&e.remove(this.balloonPanelView),Tm._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Tm._instance=null)}static getPositioningFunctions(t){const e=Tm.defaultBalloonPositions;return{s:[e.southArrowNorth,e.southArrowNorthEast,e.southArrowNorthWest],n:[e.northArrowSouth],e:[e.eastArrowWest],w:[e.westArrowEast],sw:[e.southArrowNorthEast],se:[e.southArrowNorthWest]}[t]}_onEnterOrFocus(t,{target:e}){const n=Bm(e);var o;n&&(n!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(n,{text:(o=n).dataset.ckeTooltipText,position:o.dataset.ckeTooltipPosition||"s",cssClass:o.dataset.ckeTooltipClass||""})))}_onLeaveOrBlur(t,{target:e,relatedTarget:n}){if("mouseleave"===t.name){if(!Ao(e))return;if(this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;const t=Bm(e),o=Bm(n);t&&t!==o&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(t,{target:e}){this._currentElementWithTooltip&&(e.contains(this.balloonPanelView.element)&&e.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(t,{text:e,position:n,cssClass:o}){const i=yi(Tm._editors.values()).ui.view.body;i.has(this.balloonPanelView)||i.add(this.balloonPanelView),this.tooltipTextView.text=e,this.balloonPanelView.pin({target:t,positions:Tm.getPositioningFunctions(n)}),this._resizeObserver=new Ho(t,(()=>{Yo(t)||this._unpinTooltip()})),this.balloonPanelView.class=[Sm,o].filter((t=>t)).join(" ");for(const t of Tm._editors)this.listenTo(t.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=t,this._currentTooltipPosition=n}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const t of Tm._editors)this.stopListening(t.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){Yo(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Tm.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let Mm=Tm;function Bm(t){return Ao(t)?t.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}Mm.defaultBalloonPositions=Em({heightOffset:5,sideOffset:13}),Mm._editors=new Set,Mm._instance=null;var Nm=Object.defineProperty,Pm=Object.getOwnPropertySymbols,zm=Object.prototype.hasOwnProperty,Om=Object.prototype.propertyIsEnumerable,Lm=(t,e,n)=>e in t?Nm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,jm=(t,e)=>{for(var n in e||(e={}))zm.call(e,n)&&Lm(t,n,e[n]);if(Pm)for(var n of Pm(e))Om.call(e,n)&&Lm(t,n,e[n]);return t};const Rm=50,Fm=350,Vm="Powered by";class Um extends(Do()){constructor(t){super(),this.editor=t,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=vu(this._showBalloon.bind(this),50,{leading:!0}),t.on("ready",this._handleEditorReady.bind(this))}destroy(){const t=this._balloonView;t&&(t.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const t=this.editor;(!!t.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(t){function e(t){return t.length>=40&&t.length<=255?"VALID":"INVALID"}if(!t)return"INVALID";let n="";try{n=atob(t)}catch(t){return"INVALID"}const o=n.split("-"),i=o[0],r=o[1];if(!r)return e(t);try{atob(r)}catch(n){try{if(atob(i),!atob(i).length)return e(t)}catch(n){return e(t)}}if(i.length<40||i.length>255)return"INVALID";let s="";try{atob(i),s=atob(r)}catch(t){return"INVALID"}if(8!==s.length)return"INVALID";const a=Number(s.substring(0,4)),c=Number(s.substring(4,6))-1,l=Number(s.substring(6,8)),d=new Date(a,c,l);return d{this._updateLastFocusedEditableElement(),n?this._showBalloon():this._hideBalloon()})),t.ui.focusTracker.on("change:focusedElement",((t,e,n)=>{this._updateLastFocusedEditableElement(),n&&this._showBalloon()})),t.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const t=this.editor,e=this._balloonView=new ym,n=qm(t),o=new Hm(t.locale,n.label);e.content.add(o),e.set({class:"ck-powered-by-balloon"}),t.ui.view.body.add(e),t.ui.focusTracker.add(e.element),this._balloonView=e}_showBalloon(){if(!this._lastFocusedEditableElement)return;const t=function(t,e){const n=qm(t),o="right"===n.side?function(t,e){return Gm(t,e,((t,n)=>t.left+t.width-n.width-e.horizontalOffset))}(e,n):function(t,e){return Gm(t,e,(t=>t.left+e.horizontalOffset))}(e,n);return{target:e,positions:[o]}}(this.editor,this._lastFocusedEditableElement);t&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(t))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const t=this.editor,e=t.ui.focusTracker.isFocused,n=t.ui.focusTracker.focusedElement;if(!e||!n)return void(this._lastFocusedEditableElement=null);const o=Array.from(t.ui.getEditableElementsNames()).map((e=>t.ui.getEditableElement(e)));o.includes(n)?this._lastFocusedEditableElement=n:this._lastFocusedEditableElement=o[0]}}class Hm extends Hu{constructor(t,e){super(t);const n=new mg,o=this.bindTemplate;n.set({content:'\n',isColorInherited:!1}),n.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...e?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[e]}]:[],n],on:{dragstart:o.to((t=>t.preventDefault()))}}]})}}function Gm(t,e,n){return(o,i)=>{const r=new Lo(t);if(r.widthe.regionName===t));i||(i=new $m(this.view.locale),this.view.regionViews.add(i)),i.set({regionName:t,text:e,politeness:n})}}class Ym extends Hu{constructor(t){super(t),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class $m extends Hu{constructor(t){super(t);const e=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness","polite"),this.setTemplate({tag:"div",attributes:{role:"region","data-region":e.to("regionName"),"aria-live":e.to("politeness")},children:[{text:e.to("text")}]})}}var Qm=Object.defineProperty,Jm=Object.getOwnPropertySymbols,Xm=Object.prototype.hasOwnProperty,tf=Object.prototype.propertyIsEnumerable,ef=(t,e,n)=>e in t?Qm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class nf extends(H()){constructor(t){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const e=t.editing.view;this.editor=t,this.componentFactory=new dm(t),this.focusTracker=new xi,this.tooltipManager=new Mm(t),this.poweredBy=new Um(t),this.ariaLiveAnnouncer=new Zm(t),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this.isReady=!0})),this.listenTo(e.document,"layoutChanged",this.update.bind(this)),this.listenTo(e,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const t of this._editableElementsMap.values())t.ckeditorInstance=null,this.editor.keystrokes.stopListening(t);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(t,e){this._editableElementsMap.set(t,e),e.ckeditorInstance||(e.ckeditorInstance=this.editor),this.focusTracker.add(e);const n=()=>{this.editor.editing.view.getDomRoot(t)||this.editor.keystrokes.listenTo(e)};this.isReady?n():this.once("ready",n)}removeEditableElement(t){const e=this._editableElementsMap.get(t);e&&(this._editableElementsMap.delete(t),this.editor.keystrokes.stopListening(e),this.focusTracker.remove(e),e.ckeditorInstance=null)}getEditableElement(t="main"){return this._editableElementsMap.get(t)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(t,e={}){t.isRendered?(this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)):t.once("render",(()=>{this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)})),this._focusableToolbarDefinitions.push({toolbarView:t,options: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}_readViewportOffsetFromConfig(){const t=this.editor,e=t.config.get("ui.viewportOffset");if(e)return e;const n=t.config.get("toolbar.viewportTopOffset");return n?(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:n}):{top:0}}_initFocusTracking(){const t=this.editor,e=t.editing.view;let n,o;t.keystrokes.set("Alt+F10",((t,i)=>{const r=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(r)&&!Array.from(e.domRoots.values()).includes(r)&&(n=r);const s=this._getCurrentFocusedToolbarDefinition();s&&o||(o=this._getFocusableCandidateToolbarDefinitions());for(let t=0;t{const i=this._getCurrentFocusedToolbarDefinition();i&&(n?(n.focus(),n=null):t.editing.view.focus(),i.options.afterBlur&&i.options.afterBlur(),o())}))}_getFocusableCandidateToolbarDefinitions(){const t=[];for(const e of this._focusableToolbarDefinitions){const{toolbarView:n,options:o}=e;(Yo(n.element)||o.beforeFocus)&&t.push(e)}return t.sort(((t,e)=>of(t)-of(e))),t}_getCurrentFocusedToolbarDefinition(){for(const t of this._focusableToolbarDefinitions)if(t.toolbarView.element&&t.toolbarView.element.contains(this.focusTracker.focusedElement))return t;return null}_focusFocusableCandidateToolbar(t){const{toolbarView:e,options:{beforeFocus:n}}=t;return n&&n(),!!Yo(e.element)&&(e.focus(),!0)}_handleScrollToTheSelection(t,e){const n=((t,e)=>{for(var n in e||(e={}))Xm.call(e,n)&&ef(t,n,e[n]);if(Jm)for(var n of Jm(e))tf.call(e,n)&&ef(t,n,e[n]);return t})({top:0,bottom:0,left:0,right:0},this.viewportOffset);e.viewportOffset.top+=n.top,e.viewportOffset.bottom+=n.bottom,e.viewportOffset.left+=n.left,e.viewportOffset.right+=n.right}}function of(t){const{toolbarView:e,options:n}=t;let o=10;return Yo(e.element)&&o--,n.isContextual&&o--,o}var rf=n(9688),sf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(rf.Z,sf);rf.Z.locals;class af extends Hu{constructor(t){super(t),this.body=new hg(t)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class cf extends Hu{constructor(t,e,n){super(t),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:t.contentLanguage,dir:t.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=n,this._hasExternalElement=!!this._editableElement,this._editingView=e}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 t=this._editingView;function e(e){t.change((n=>{const o=t.document.getRoot(e.name);n.addClass(e.isFocused?"ck-focused":"ck-blurred",o),n.removeClass(e.isFocused?"ck-blurred":"ck-focused",o)}))}t.isRenderingInProgress?function n(o){t.once("change:isRenderingInProgress",((t,i,r)=>{r?n(o):e(o)}))}(this):e(this)}}class lf extends cf{constructor(t,e,n,o={}){super(t,e,n);const i=t.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=o.label||(()=>i("Editor editing area: %0",this.name))}render(){super.render();const t=this._editingView;t.change((e=>{const n=t.document.getRoot(this.name);e.setAttribute("aria-label",this._generateLabel(this),n)}))}}var df=n(8847),hf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(df.Z,hf);df.Z.locals;class uf extends Fi{static get pluginName(){return"Notification"}init(){this.on("show:warning",((t,e)=>{window.alert(e.message)}),{priority:"lowest"})}showSuccess(t,e={}){this._showNotification({message:t,type:"success",namespace:e.namespace,title:e.title})}showInfo(t,e={}){this._showNotification({message:t,type:"info",namespace:e.namespace,title:e.title})}showWarning(t,e={}){this._showNotification({message:t,type:"warning",namespace:e.namespace,title:e.title})}_showNotification(t){const e=t.namespace?`show:${t.type}:${t.namespace}`:`show:${t.type}`;this.fire(e,{message:t.message,type:t.type,title:t.title||""})}}class gf extends(H()){constructor(t,e){super(),e&&Ca(this,e),t&&this.set(t)}}var pf=n(4650),mf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(pf.Z,mf);pf.Z.locals;var ff=n(7676),kf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(ff.Z,kf);ff.Z.locals;const bf=qo("px");class wf extends Ni{constructor(t){super(t),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const t=this.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}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(t){return Array.from(this._viewToStack.keys()).includes(t)}add(t){if(this._view||this._createPanelView(),this.hasView(t.view))throw new k("contextualballoon-add-view-exist",[this,t]);const e=t.stackId||"main";if(!this._idToStack.has(e))return this._idToStack.set(e,new Map([[t.view,t]])),this._viewToStack.set(t.view,this._idToStack.get(e)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!t.singleViewMode||this.showStack(e));const n=this._idToStack.get(e);t.singleViewMode&&this.showStack(e),n.set(t.view,t),this._viewToStack.set(t.view,n),n===this._visibleStack&&this._showView(t)}remove(t){if(!this.hasView(t))throw new k("contextualballoon-remove-view-not-exist",[this,t]);const e=this._viewToStack.get(t);this._singleViewMode&&this.visibleView===t&&(this._singleViewMode=!1),this.visibleView===t&&(1===e.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(e.values())[e.size-2])),1===e.size?(this._idToStack.delete(this._getStackId(e)),this._numberOfStacks=this._idToStack.size):e.delete(t),this._viewToStack.delete(t)}updatePosition(t){t&&(this._visibleStack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(t){this.visibleStack=t;const e=this._idToStack.get(t);if(!e)throw new k("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==e&&this._showView(Array.from(e.values()).pop())}_createPanelView(){this._view=new ym(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(t){return Array.from(this._idToStack.entries()).find((e=>e[1]===t))[0]}_showNextStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)+1;t[e]||(e=0),this.showStack(this._getStackId(t[e]))}_showPrevStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)-1;t[e]||(e=t.length-1),this.showStack(this._getStackId(t[e]))}_createRotatorView(){const t=new Af(this.editor.locale),e=this.editor.locale.t;return this.view.content.add(t),t.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>1)),t.on("change:isNavigationVisible",(()=>this.updatePosition()),{priority:"low"}),t.bind("counter").to(this,"visibleView",this,"_numberOfStacks",((t,n)=>{if(n<2)return"";const o=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return e("%0 of %1",[o,n])})),t.buttonNextView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()})),t.buttonPrevView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()})),t}_createFakePanelsView(){const t=new Cf(this.editor.locale,this.view);return t.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>=2?Math.min(t-1,2):0)),t.listenTo(this.view,"change:top",(()=>t.updatePosition())),t.listenTo(this.view,"change:left",(()=>t.updatePosition())),this.editor.ui.view.body.add(t),t}_showView({view:t,balloonClassName:e="",withArrow:n=!0,singleViewMode:o=!1}){this.view.class=e,this.view.withArrow=n,this._rotatorView.showView(t),this.visibleView=t,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}_getBalloonPosition(){let t=Array.from(this._visibleStack.values()).pop().position;return t&&(t.limiter||(t=Object.assign({},t,{limiter:this.positionLimiter})),t=Object.assign({},t,{viewportOffsetConfig:this.editor.ui.viewportOffset})),t}}class Af extends Hu{constructor(t){super(t);const e=t.t,n=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new xi,this.buttonPrevView=this._createButtonView(e("Previous"),''),this.buttonNextView=this._createButtonView(e("Next"),''),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",n.to("isNavigationVisible",(t=>t?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:n.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(t){this.hideView(),this.content.add(t)}hideView(){this.content.clear()}_createButtonView(t,e){const n=new wg(this.locale);return n.set({label:t,icon:e,tooltip:!0}),n}}class Cf extends Hu{constructor(t,e){super(t);const n=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=e,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",n.to("numberOfPanels",(t=>t?"":"ck-hidden"))],style:{top:n.to("top",bf),left:n.to("left",bf),width:n.to("width",bf),height:n.to("height",bf)}},children:this.content}),this.on("change:numberOfPanels",((t,e,n,o)=>{n>o?this._addPanels(n-o):this._removePanels(o-n),this.updatePosition()}))}_addPanels(t){for(;t--;){const t=new Hu;t.setTemplate({tag:"div"}),this.content.add(t),this.registerChild(t)}}_removePanels(t){for(;t--;){const t=this.content.last;this.content.remove(t),this.deregisterChild(t),t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:t,left:e}=this._balloonPanelView,{width:n,height:o}=new Lo(this._balloonPanelView.element);Object.assign(this,{top:t,left:e,width:n,height:o})}}}var _f=n(5868),vf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(_f.Z,vf);_f.Z.locals,qo("px");class yf extends Tg{constructor(t,e){const n=t.t,o=Object.assign({},{showResetButton:!0,showIcon:!0,creator:Tp},e);super(t,o.creator),this.label=e.label,this._viewConfig=o,this._viewConfig.showIcon&&(this.iconView=new mg,this.iconView.content=bu.loupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})),this._viewConfig.showResetButton&&(this.resetButtonView=new wg(t),this.resetButtonView.set({label:n("Clear"),icon:bu.cancel,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",(t=>!t)),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 xf extends Hu{constructor(){super();const t=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",t.if("isVisible","ck-hidden",(t=>!t))],tabindex:-1},children:[{tag:"span",children:[{text:[t.to("primaryText")]}]},{tag:"span",children:[{text:[t.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class Ef extends Hu{constructor(t){super(t),this.children=this.createCollection(),this.focusTracker=new xi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new qg({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const t of this.children)this.focusTracker.add(t.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Df=/[\\^$.*+?()[\]{}|]/g,If=RegExp(Df.source);const Sf=function(t){return(t=_r(t))&&If.test(t)?t.replace(Df,"\\$&"):t};var Tf=n(6770),Mf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Tf.Z,Mf);Tf.Z.locals;var Bf=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Pf=Object.prototype.hasOwnProperty,zf=Object.prototype.propertyIsEnumerable,Of=(t,e,n)=>e in t?Bf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Lf extends Hu{constructor(t,e){super(t),this._config=e,this.filteredView=e.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new xi,this.keystrokes=new Ei,this.resultsView=new Ef(t),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),e.infoView&&e.infoView.instance?this.infoView=e.infoView.instance:(this.infoView=new xf,this._enableDefaultInfoViewBehavior(),this.on("render",(()=>{this.search("")}))),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new qg({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",((t,{resultsCount:e,totalItemsCount:n})=>{this.resultsCount=e,this.totalItemsCount=n})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",e.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const t=t=>t.stopPropagation();for(const t of this.focusableChildren)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(t){const e=t?new RegExp(Sf(t),"ig"):null,n=this.filteredView.filter(e);this.fire("search",((t,e)=>{for(var n in e||(e={}))Pf.call(e,n)&&Of(t,n,e[n]);if(Nf)for(var n of Nf(e))zf.call(e,n)&&Of(t,n,e[n]);return t})({query:t},n))}_createSearchTextQueryView(){const t=new yf(this.locale,this._config.queryView);return this.listenTo(t.fieldView,"input",(()=>{this.search(t.fieldView.element.value)})),t.on("reset",(()=>this.reset())),t.bind("isEnabled").to(this),t}_enableDefaultInfoViewBehavior(){const t=this.locale.t,e=this.infoView;function n(t,{query:e,resultsCount:n,totalItemsCount:o}){return"function"==typeof t?t(e,n,o):t}this.on("search",((o,i)=>{if(i.resultsCount)e.set({isVisible:!1});else{const o=this._config.infoView&&this._config.infoView.text;let r,s;i.totalItemsCount?o&&o.notFound?(r=o.notFound.primary,s=o.notFound.secondary):(r=t("No results found"),s=""):o&&o.noSearchableItems?(r=o.noSearchableItems.primary,s=o.noSearchableItems.secondary):(r=t("No searchable items"),s=""),e.set({primaryText:n(r,i),secondaryText:n(s,i),isVisible:!0})}}))}}var jf=n(8157),Rf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(jf.Z,Rf);jf.Z.locals;const Ff=class extends Lf{constructor(t,e){super(t,e),this._config=e;const n=qo("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const o=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[o.if("isVisible","ck-hidden",(t=>!t)),o.to("_position",(t=>`ck-search__results_${t}`))],style:{width:o.to("_width",n)}}}),this.focusTracker.on("change:isFocused",((t,n,o)=>{this._updateResultsVisibility(),o?this.resultsView.element.scrollTop=0:e.resetOnBlur&&this.queryView.reset()})),this.on("search",(()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()})),this.keystrokes.set("esc",((t,e)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,e())})),this.listenTo(Mo.document,"scroll",(()=>{this._updateResultsViewWidthAndPosition()})),this.on("change:isEnabled",(()=>{this._updateResultsVisibility()})),this.filteredView.on("execute",((t,{value:e})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=e,this.resultsView.isVisible=!1})),this.resultsView.on("change:isVisible",(()=>{this._updateResultsViewWidthAndPosition()}))}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new Lo(this.queryView.fieldView.element).width;const t=Ff._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Ff.defaultResultsPositions});this.resultsView._position=t?t.name:"s"}_updateResultsVisibility(){const t=void 0===this._config.queryMinChars?0:this._config.queryMinChars,e=this.queryView.fieldView.element.value.length;this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&e>=t}};let Vf=Ff;Vf.defaultResultsPositions=[t=>({top:t.bottom,left:t.left,name:"s"}),(t,e)=>({top:t.top-e.height,left:t.left,name:"n"})],Vf._getOptimalPosition=Qo;var Uf=n(8960),Hf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Uf.Z,Hf);Uf.Z.locals;var Gf=n(8010),qf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Gf.Z,qf);Gf.Z.locals;class Wf extends Hu{constructor(t,e){super(t);const n=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),e&&this.children.addMany(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",n.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:n.if("isCollapsed","hidden"),"aria-labelledby":n.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const t=new wg(this.locale),e=t.bindTemplate;return t.set({withText:!0,icon:Hg}),t.extendTemplate({attributes:{"aria-expanded":e.to("isOn",(t=>String(t)))}}),t.bind("label").to(this),t.bind("isOn").to(this,"isCollapsed",(t=>!t)),t.on("execute",(()=>{this.isCollapsed=!this.isCollapsed})),t}}var Kf=n(498),Zf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Kf.Z,Zf);Kf.Z.locals;qo("px");var Yf=n(9695),$f={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Yf.Z,$f);Yf.Z.locals,qo("px");qo("px");class Qf extends nf{constructor(t,e){super(t),this.view=e,this._toolbarConfig=ep(t.config.get("toolbar"))}get element(){return this.view.editable.element}init(){const t=this.editor,e=this.view,n=t.editing.view,o=e.editable,i=n.document.getRoot();o.name=i.rootName,e.render();const r=o.element;this.setEditableElement(o.name,r),o.bind("isFocused").to(this.focusTracker),n.attachDomRoot(r),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.editor,e=this.view,n=e.editable.element,o=e.toolbar;e.panel.bind("isVisible").to(this.focusTracker,"isFocused"),e.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),e.listenTo(t.ui,"update",(()=>{e.panel.isVisible&&e.panel.pin({target:n,positions:e.panelPositions})})),o.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(o)}_initPlaceholder(){const t=this.editor,e=t.editing.view,n=e.document.getRoot(),o=t.config.get("placeholder");if(o){const t="string"==typeof o?o:o[n.rootName];t&&(n.placeholder=t)}Zi({view:e,element:n,isDirectHost:!1,keepOnFocus:!0})}}const Jf=qo("px");class Xf extends af{constructor(t,e,n,o={}){super(t);const i=t.t;this.toolbar=new sp(t,{shouldGroupWhenFull:o.shouldToolbarGroupWhenFull,isFloating:!0}),this.set("viewportTopOffset",0),this.panel=new ym(t),this.panelPositions=this._getPanelPositions(),this.panel.extendTemplate({attributes:{class:"ck-toolbar-container"}}),this.editable=new lf(t,e,n,{label:t=>i("Rich Text Editor. Editing area: %0",t.name)}),this._resizeObserver=null}render(){super.render(),this.body.add(this.panel),this.registerChild(this.editable),this.panel.content.add(this.toolbar);if(this.toolbar.options.shouldGroupWhenFull){const t=this.editable.element;this._resizeObserver=new Ho(t,(()=>{this.toolbar.maxWidth=Jf(new Lo(t).width)}))}}destroy(){super.destroy(),this._resizeObserver&&this._resizeObserver.destroy()}_getPanelPositionTop(t,e){let n;return n=t.top>e.height+this.viewportTopOffset?t.top-e.height:t.bottom>e.height+this.viewportTopOffset+50?this.viewportTopOffset:t.bottom,n}_getPanelPositions(){const t=[(t,e)=>({top:this._getPanelPositionTop(t,e),left:t.left,name:"toolbar_west",config:{withArrow:!1}}),(t,e)=>({top:this._getPanelPositionTop(t,e),left:t.left+t.width-e.width,name:"toolbar_east",config:{withArrow:!1}})];return"ltr"===this.locale.uiLanguageDirection?t:t.reverse()}}class tk extends(mu(fu(pu))){constructor(t,e={}){if(!ek(t)&&void 0!==e.initialData)throw new k("editor-create-initial-data",null);super(e),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return ek(t)?(e=t,e instanceof HTMLTextAreaElement?e.value:e.innerHTML):t;var e}(t)),this.model.document.createRoot(),ek(t)&&(this.sourceElement=t,function(t,e){if(e.ckeditorInstance)throw new k("editor-source-element-already-used",t);e.ckeditorInstance=t,t.once("destroy",(()=>{delete e.ckeditorInstance}))}(this,t));const n=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=new Xf(this.locale,this.editing.view,this.sourceElement,{shouldToolbarGroupWhenFull:n});this.ui=new Qf(this,o),function(t){if(!Lt(t.updateSourceElement))throw new k("attachtoform-missing-elementapi-interface",t);const e=t.sourceElement;if(function(t){return!!t&&"textarea"===t.tagName.toLowerCase()}(e)&&e.form){let n;const o=e.form,i=()=>t.updateSourceElement();Lt(o.submit)&&(n=o.submit,o.submit=()=>{i(),n.apply(o)}),o.addEventListener("submit",i),t.on("destroy",(()=>{o.removeEventListener("submit",i),n&&(o.submit=n)}))}}(this)}destroy(){const t=this.getData();return this.ui.destroy(),super.destroy().then((()=>{this.sourceElement&&this.updateSourceElement(t)}))}static create(t,e={}){return new Promise((n=>{if(ek(t)&&"TEXTAREA"===t.tagName)throw new k("editor-wrong-element",null);const o=new this(t,e);n(o.initPlugins().then((()=>o.ui.init())).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function ek(t){return Ao(t)}tk.Context=Ri,tk.EditorWatchdog=Bu,tk.ContextWatchdog=class extends wu{constructor(t,e={}){super(e),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new zu,this._watchdogConfig=e,this._creator=e=>t.create(e),this._destructor=t=>t.destroy(),this._actionQueues.onEmpty((()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))}))}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}get context(){return this._context}create(t={}){return this._actionQueues.enqueue(Pu,(()=>(this._contextConfig=t,this._create())))}getItem(t){return this._getWatchdog(t)._item}getItemState(t){return this._getWatchdog(t).state}add(t){const e=Ou(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t.id,(()=>{if("destroyed"===this.state)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 e;if(this._watchdogs.has(t.id))throw new Error(`Item with the given id is already added: '${t.id}'.`);if("editor"===t.type)return e=new Bu(null,this._watchdogConfig),e.setCreator(t.creator),e._setExcludedProperties(this._contextProps),t.destructor&&e.setDestructor(t.destructor),this._watchdogs.set(t.id,e),e.on("error",((n,{error:o,causesRestart:i})=>{this._fire("itemError",{itemId:t.id,error:o}),i&&this._actionQueues.enqueue(t.id,(()=>new Promise((n=>{const o=()=>{e.off("restart",o),this._fire("itemRestart",{itemId:t.id}),n()};e.on("restart",o)}))))})),e.create(t.sourceElementOrData,t.config,this._context);throw new Error(`Not supported item type: '${t.type}'.`)})))))}remove(t){const e=Ou(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t,(()=>{const e=this._getWatchdog(t);return this._watchdogs.delete(t),e.destroy()})))))}destroy(){return this._actionQueues.enqueue(Pu,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(Pu,(()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch((t=>{console.error("An error happened during destroying the context or items.",t)})).then((()=>this._create())).then((()=>this._fire("restart"))))))}_create(){return Promise.resolve().then((()=>(this._startErrorHandling(),this._creator(this._contextConfig)))).then((t=>(this._context=t,this._contextProps=Au(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 t=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map((t=>t.destroy()))).then((()=>this._destructor(t)))}))}_getWatchdog(t){const e=this._watchdogs.get(t);if(!e)throw new Error(`Item with the given id was not registered: ${t}.`);return e}_isErrorComingFromThisItem(t){for(const e of this._watchdogs.values())if(e._isErrorComingFromThisItem(t))return!1;return _u(this._context,t.context)}};class nk extends va{constructor(t){super(t),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const e=this.document;function n(t){return(n,o)=>{o.preventDefault();const i=o.dropRange?[o.dropRange]:null,r=new h(e,t);e.fire(r,{dataTransfer:o.dataTransfer,method:n.name,targetRanges:i,target:o.target,domEvent:o.domEvent}),r.stop.called&&o.stopPropagation()}}this.listenTo(e,"paste",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"drop",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"dragover",n("dragging"),{priority:"low"})}onDomEvent(t){const e="clipboardData"in t?t.clipboardData:t.dataTransfer,n="drop"==t.type||"paste"==t.type,o={dataTransfer:new hc(e,{cacheFiles:n})};"drop"!=t.type&&"dragover"!=t.type||(o.dropRange=function(t,e){const n=e.target.ownerDocument,o=e.clientX,i=e.clientY;let r;n.caretRangeFromPoint&&n.caretRangeFromPoint(o,i)?r=n.caretRangeFromPoint(o,i):e.rangeParent&&(r=n.createRange(),r.setStart(e.rangeParent,e.rangeOffset),r.collapse(!0));if(r)return t.domConverter.domRangeToView(r);return null}(this.view,t)),this.fire(t.type,t,o)}}const ok=["figcaption","li"],ik=["ol","ul"];function rk(t){if(t.is("$text")||t.is("$textProxy"))return t.data;if(t.is("element","img")&&t.hasAttribute("alt"))return t.getAttribute("alt");if(t.is("element","br"))return"\n";let e="",n=null;for(const o of t.getChildren())e+=sk(o,n)+rk(o),n=o;return e}function sk(t,e){return e?t.is("element","li")&&!t.isEmpty&&t.getChild(0).is("containerElement")||ik.includes(t.name)&&ik.includes(e.name)?"\n\n":t.is("containerElement")||e.is("containerElement")?ok.includes(t.name)||ok.includes(e.name)?"\n":"\n\n":"":""}class ak extends Ni{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(nk),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(t,e,n){const o=this.editor.model.getSelectedContent(e);this.fire("outputTransformation",{dataTransfer:t,content:o,method:n})}_setupPasteDrop(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document;this.listenTo(o,"clipboardInput",((e,n)=>{"paste"!=n.method||t.model.canEditAt(t.model.document.selection)||e.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",((t,e)=>{const o=e.dataTransfer;let i;if(e.content)i=e.content;else{let t="";o.getData("text/html")?t=function(t){return t.replace(/(\s+)<\/span>/g,((t,e)=>1==e.length?" ":e)).replace(//g,"")}(o.getData("text/html")):o.getData("text/plain")&&(((r=(r=o.getData("text/plain")).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,"  ")).includes("

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

${r}

`),t=r),i=this.editor.data.htmlProcessor.toView(t)}var r;const s=new h(this,"inputTransformation");this.fire(s,{content:i,dataTransfer:o,targetRanges:e.targetRanges,method:e.method}),s.stop.called&&t.stop(),n.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((t,n)=>{if(n.content.isEmpty)return;const o=this.editor.data.toModel(n.content,"$clipboardHolder");0!=o.childCount&&(t.stop(),e.change((()=>{this.fire("contentInsertion",{content:o,method:n.method,dataTransfer:n.dataTransfer,targetRanges:n.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((t,n)=>{n.resultRange=e.insertContent(n.content)}),{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document,o=(t,n)=>{const o=n.dataTransfer;n.preventDefault(),this._fireOutputTransformationEvent(o,e.selection,t.name)};this.listenTo(n,"copy",o,{priority:"low"}),this.listenTo(n,"cut",((e,n)=>{t.model.canEditAt(t.model.document.selection)?o(e,n):n.preventDefault()}),{priority:"low"}),this.listenTo(this,"outputTransformation",((e,o)=>{const i=t.data.toView(o.content);n.fire("clipboardOutput",{dataTransfer:o.dataTransfer,content:i,method:o.method})}),{priority:"low"}),this.listenTo(n,"clipboardOutput",((n,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",rk(o.content))),"cut"==o.method&&t.model.deleteContent(e.selection)}),{priority:"low"})}}class ck{constructor(t,e=20){this._batch=null,this.model=t,this._size=0,this.limit=e,this._isLocked=!1,this._changeCallback=(t,e)=>{e.isLocal&&e.isUndoable&&e!==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(t){this._size+=t,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(t=!1){this.isLocked&&!t||(this._batch=null,this._size=0)}}class lk extends zi{constructor(t,e){super(t),this._buffer=new ck(t.model,e),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(t={}){const e=this.editor.model,n=e.document,o=t.text||"",i=o.length;let r=n.selection;if(t.selection?r=t.selection:t.range&&(r=e.createSelection(t.range)),!e.canEditAt(r))return;const s=t.resultRange;e.enqueueChange(this._buffer.batch,(t=>{this._buffer.lock();const a=Array.from(n.selection.getAttributes());e.deleteContent(r),o&&e.insertContent(t.createText(o,a),r),s?t.setSelection(s):r.is("documentSelection")||t.setSelection(r),this._buffer.unlock(),this._buffer.input(i)}))}}const dk=["insertText","insertReplacementText"];class hk extends Aa{constructor(t){super(t),this.focusObserver=t.getObserver(cc),i.isAndroid&&dk.push("insertCompositionText");const e=t.document;e.on("beforeinput",((n,o)=>{if(!this.isEnabled)return;const{data:i,targetRanges:r,inputType:s,domEvent:a}=o;if(!dk.includes(s))return;this.focusObserver.flush();const c=new h(e,"insertText");e.fire(c,new _a(t,a,{text:i,selection:t.createSelection(r)})),c.stop.called&&n.stop()})),e.on("compositionend",((n,{data:o,domEvent:r})=>{this.isEnabled&&!i.isAndroid&&o&&e.fire("insertText",new _a(t,r,{text:o,selection:e.selection}))}),{priority:"lowest"})}observe(){}stopObserving(){}}class uk extends Ni{static get pluginName(){return"Input"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=e.document.selection;n.addObserver(hk);const r=new lk(t,t.config.get("typing.undoStep")||20);t.commands.add("insertText",r),t.commands.add("input",r),this.listenTo(n.document,"insertText",((o,r)=>{n.document.isComposing||r.preventDefault();const{text:s,selection:a,resultRange:c}=r,l=Array.from(a.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));let d=s;if(i.isAndroid){const t=Array.from(l[0].getItems()).reduce(((t,e)=>t+(e.is("$textProxy")?e.data:"")),"");t&&(t.length<=d.length?d.startsWith(t)&&(d=d.substring(t.length),l[0].start=l[0].start.getShiftedBy(t.length)):t.startsWith(d)&&(l[0].start=l[0].start.getShiftedBy(d.length),d=""))}const h={text:d,selection:e.createSelection(l)};c&&(h.resultRange=t.editing.mapper.toModelRange(c)),t.execute("insertText",h),n.scrollToTheSelection()})),i.isAndroid?this.listenTo(n.document,"keydown",((t,i)=>{!o.isCollapsed&&229==i.keyCode&&n.document.isComposing&&gk(e,r)})):this.listenTo(n.document,"compositionstart",(()=>{o.isCollapsed||gk(e,r)}))}}function gk(t,e){if(!e.isEnabled)return;const n=e.buffer;n.lock(),t.enqueueChange(n.batch,(()=>{t.deleteContent(t.document.selection)})),n.unlock()}class pk extends zi{constructor(t,e){super(t),this.direction=e,this._buffer=new ck(t.model,t.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const i=o.createSelection(t.selection||n.selection);if(!e.canEditAt(i))return;const r=t.sequence||1,s=i.isCollapsed;if(i.isCollapsed&&e.modifySelection(i,{direction:this.direction,unit:t.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(i,r))return void this.editor.execute("paragraph",{selection:i});if(i.isCollapsed)return;let a=0;i.getFirstRange().getMinimalFlatRanges().forEach((t=>{a+=Y(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),e.deleteContent(i,{doNotResetEntireContent:s,direction:this.direction}),this._buffer.input(a),o.setSelection(i),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n);if(!(n.isCollapsed&&n.containsEntireContent(o)))return!1;if(!e.schema.checkChild(o,"paragraph"))return!1;const i=o.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(t){const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n),i=t.createElement("paragraph");t.remove(t.createRangeIn(o)),t.insert(i,o),t.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(t,e){const n=this.editor.model;if(e>1||"backward"!=this.direction)return!1;if(!t.isCollapsed)return!1;const o=t.getFirstPosition(),i=n.schema.getLimitElement(o),r=i.getChild(0);return o.parent==r&&(!!t.containsEntireContent(r)&&(!!n.schema.checkChild(i,"paragraph")&&"paragraph"!=r.name))}}const mk="word",fk="selection",kk="backward",bk="forward",wk={deleteContent:{unit:fk,direction:kk},deleteContentBackward:{unit:"codePoint",direction:kk},deleteWordBackward:{unit:mk,direction:kk},deleteHardLineBackward:{unit:fk,direction:kk},deleteSoftLineBackward:{unit:fk,direction:kk},deleteContentForward:{unit:"character",direction:bk},deleteWordForward:{unit:mk,direction:bk},deleteHardLineForward:{unit:fk,direction:bk},deleteSoftLineForward:{unit:fk,direction:bk}};class Ak extends Aa{constructor(t){super(t);const e=t.document;let n=0;e.on("keydown",(()=>{n++})),e.on("keyup",(()=>{n=0})),e.on("beforeinput",((o,r)=>{if(!this.isEnabled)return;const{targetRanges:s,domEvent:a,inputType:c}=r,l=wk[c];if(!l)return;const d={direction:l.direction,unit:l.unit,sequence:n};d.unit==fk&&(d.selectionToRemove=t.createSelection(s[0])),"deleteContentBackward"===c&&(i.isAndroid&&(d.sequence=1),function(t){if(1!=t.length||t[0].isCollapsed)return!1;const e=t[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let n=0;for(const{nextPosition:t}of e){if(t.parent.is("$text")){const e=t.parent.data,o=t.offset;if(Si(e,o)||Ti(e,o)||Bi(e,o))continue;n++}else n++;if(n>1)return!0}return!1}(s)&&(d.unit=fk,d.selectionToRemove=t.createSelection(s)));const h=new ks(e,"delete",s[0]);e.fire(h,new _a(t,a,d)),h.stop.called&&o.stop()})),i.isBlink&&function(t){const e=t.view,n=e.document;let o=null,i=!1;function r(t){return t==ui.backspace||t==ui.delete}function s(t){return t==ui.backspace?kk:bk}n.on("keydown",((t,{keyCode:e})=>{o=e,i=!1})),n.on("keyup",((a,{keyCode:c,domEvent:l})=>{const d=n.selection,h=t.isEnabled&&c==o&&r(c)&&!d.isCollapsed&&!i;if(o=null,h){const t=d.getFirstRange(),o=new ks(n,"delete",t),i={unit:fk,direction:s(c),selectionToRemove:d};n.fire(o,new _a(e,l,i))}})),n.on("beforeinput",((t,{inputType:e})=>{const n=wk[e];r(o)&&n&&n.direction==s(o)&&(i=!0)}),{priority:"high"}),n.on("beforeinput",((t,{inputType:e,data:n})=>{o==ui.delete&&"insertText"==e&&""==n&&t.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class Ck extends Ni{static get pluginName(){return"Delete"}init(){const t=this.editor,e=t.editing.view,n=e.document,o=t.model.document;e.addObserver(Ak),this._undoOnBackspace=!1;const i=new pk(t,"forward");t.commands.add("deleteForward",i),t.commands.add("forwardDelete",i),t.commands.add("delete",new pk(t,"backward")),this.listenTo(n,"delete",((o,i)=>{n.isComposing||i.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:c}=i,l="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==c){const e=Array.from(a.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));d.selection=t.model.createSelection(e)}else d.unit=c;t.execute(l,d),e.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(n,"delete",((e,n)=>{this._undoOnBackspace&&"backward"==n.direction&&1==n.sequence&&"codePoint"==n.unit&&(this._undoOnBackspace=!1,t.execute("undo"),n.preventDefault(),e.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class _k extends Ni{static get requires(){return[uk,Ck]}static get pluginName(){return"Typing"}}function vk(t,e){let n=t.start;return{text:Array.from(t.getWalker({ignoreElementEnd:!1})).reduce(((t,{item:o})=>o.is("$text")||o.is("$textProxy")?t+o.data:(n=e.createPositionAfter(o),"")),""),range:e.createRange(n,t.end)}}class yk extends(H()){constructor(t,e){super(),this.model=t,this.testCallback=e,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",(()=>{this.isEnabled?this._startListening():(this.stopListening(t.document.selection),this.stopListening(t.document))})),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const t=this.model.document;this.listenTo(t.selection,"change:range",((e,{directChange:n})=>{n&&(t.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))})),this.listenTo(t,"change:data",((t,e)=>{!e.isUndo&&e.isLocal&&this._evaluateTextBeforeSelection("data",{batch:e})}))}_evaluateTextBeforeSelection(t,e={}){const n=this.model,o=n.document.selection,i=n.createRange(n.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:s}=vk(i,n),a=this.testCallback(r);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const n=Object.assign(e,{text:r,range:s});"object"==typeof a&&Object.assign(n,a),this.fire(`matched:${t}`,n)}}}class xk extends Ni{constructor(t){super(t),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=t.locale,i=e.document.selection;this.listenTo(n.document,"arrowKey",((t,e)=>{if(!i.isCollapsed)return;if(e.shiftKey||e.altKey||e.ctrlKey)return;const n=e.keyCode==ui.arrowright,r=e.keyCode==ui.arrowleft;if(!n&&!r)return;const s=o.contentLanguageDirection;let a=!1;a="ltr"===s&&n||"rtl"===s&&r?this._handleForwardMovement(e):this._handleBackwardMovement(e),!0===a&&t.stop()}),{context:"$text",priority:"highest"}),this.listenTo(i,"change:range",((t,e)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!e.directChange&&Mk(i.getFirstPosition(),this.attributes)||this._restoreGravity())})),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(t){this.attributes.add(t)}_handleForwardMovement(t){const e=this.attributes,n=this.editor.model,o=n.document.selection,i=o.getFirstPosition();return!this._isGravityOverridden&&((!i.isAtStart||!Ek(o,e))&&(!!Mk(i,e)&&(Sk(t),Ek(o,e)&&Mk(i,e,!0)?Ik(n,e):this._overrideGravity(),!0)))}_handleBackwardMovement(t){const e=this.attributes,n=this.editor.model,o=n.document.selection,i=o.getFirstPosition();return this._isGravityOverridden?(Sk(t),this._restoreGravity(),Mk(i,e,!0)?Ik(n,e):Dk(n,e,i),!0):i.isAtStart?!!Ek(o,e)&&(Sk(t),Dk(n,e,i),!0):!Ek(o,e)&&Mk(i,e,!0)?(Sk(t),Dk(n,e,i),!0):!!Tk(i,e)&&(i.isAtEnd&&!Ek(o,e)&&Mk(i,e)?(Sk(t),Dk(n,e,i),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const t=this.editor,e=t.model,n=e.document.selection,o=t.editing.view.document;t.editing.view.addObserver(hu);let i=!1;this.listenTo(o,"mousedown",(()=>{i=!0})),this.listenTo(o,"selectionChange",(()=>{const t=this.attributes;if(!i)return;if(i=!1,!n.isCollapsed)return;if(!Ek(n,t))return;const o=n.getFirstPosition();Mk(o,t)&&(o.isAtStart||Mk(o,t,!0)?Ik(e,t):this._isGravityOverridden||this._overrideGravity())}))}_enableInsertContentSelectionAttributesFixer(){const t=this.editor.model,e=t.document.selection,n=this.attributes;this.listenTo(t,"insertContent",(()=>{const o=e.getFirstPosition();Ek(e,n)&&Mk(o,n)&&Ik(t,n)}),{priority:"low"})}_handleDeleteContentAfterNode(){const t=this.editor,e=t.model,n=e.document.selection,o=t.editing.view;let i=!1,r=!1;this.listenTo(o.document,"delete",((t,e)=>{i="backward"===e.direction}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{if(!i)return;const t=n.getFirstPosition();r=Ek(n,this.attributes)&&!Tk(t,this.attributes)}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{i&&(i=!1,r||t.model.enqueueChange((()=>{const t=n.getFirstPosition();Ek(n,this.attributes)&&Mk(t,this.attributes)&&(t.isAtStart||Mk(t,this.attributes,!0)?Ik(e,this.attributes):this._isGravityOverridden||this._overrideGravity())})))}),{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change((t=>t.overrideSelectionGravity()))}_restoreGravity(){this.editor.model.change((t=>{t.restoreSelectionGravity(this._overrideUid),this._overrideUid=null}))}}function Ek(t,e){for(const n of e)if(t.hasAttribute(n))return!0;return!1}function Dk(t,e,n){const o=n.nodeBefore;t.change((n=>{if(o){const e=[],i=t.schema.isObject(o)&&t.schema.isInline(o);for(const[n,r]of o.getAttributes())!t.schema.checkAttribute("$text",n)||i&&!1===t.schema.getAttributeProperties(n).copyFromObject||e.push([n,r]);n.setSelectionAttribute(e)}else n.removeSelectionAttribute(e)}))}function Ik(t,e){t.change((t=>{t.removeSelectionAttribute(e)}))}function Sk(t){t.preventDefault()}function Tk(t,e){return Mk(t.getShiftedBy(-1),e)}function Mk(t,e,n=!1){const{nodeBefore:o,nodeAfter:i}=t;for(const t of e){const e=o?o.getAttribute(t):void 0,r=i?i.getAttribute(t):void 0;if((!n||void 0!==e&&void 0!==r)&&r!==e)return!0}return!1}const Bk={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:jk('"'),to:[null,"“",null,"”"]},quotesSecondary:{from:jk("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:jk("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:jk('"'),to:[null,"“",null,"”"]},quotesPrimaryPl:{from:jk('"'),to:[null,"„",null,"”"]},quotesSecondaryPl:{from:jk("'"),to:[null,"‚",null,"’"]}},Nk={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},Pk=["symbols","mathematical","typography","quotes"];function zk(t){return"string"==typeof t?new RegExp(`(${Sf(t)})$`):t}function Ok(t){return"string"==typeof t?()=>[t]:t instanceof Array?()=>t:t}function Lk(t){return(t.textNode?t.textNode:t.nodeAfter).getAttributes()}function jk(t){return new RegExp(`(^|\\s)(${t})([^${t}]*)(${t})$`)}function Rk(t,e,n,o){return o.createRange(Fk(t,e,n,!0,o),Fk(t,e,n,!1,o))}function Fk(t,e,n,o,i){let r=t.textNode||(o?t.nodeBefore:t.nodeAfter),s=null;for(;r&&r.getAttribute(e)==n;)s=r,r=o?r.previousSibling:r.nextSibling;return s?i.createPositionAt(s,o?"before":"after"):t}function*Vk(t,e){for(const n of e)n&&t.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}class Uk extends zi{execute(){this.editor.model.change((t=>{this.enterBlock(t),this.fire("afterExecute",{writer:t})}))}enterBlock(t){const e=this.editor.model,n=e.document.selection,o=e.schema,i=n.isCollapsed,r=n.getFirstRange(),s=r.start.parent,a=r.end.parent;if(o.isLimit(s)||o.isLimit(a))return i||s!=a||e.deleteContent(n),!1;if(i){const e=Vk(t.model.schema,n.getAttributes());return Hk(t,r.start),t.setSelectionAttribute(e),!0}{const o=!(r.start.isAtStart&&r.end.isAtEnd),i=s==a;if(e.deleteContent(n,{leaveUnmerged:o}),o){if(i)return Hk(t,n.focus),!0;t.setSelection(a,0)}}return!1}}function Hk(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}const Gk={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class qk extends Aa{constructor(t){super(t);const e=this.document;let n=!1;e.on("keydown",((t,e)=>{n=e.shiftKey})),e.on("beforeinput",((o,r)=>{if(!this.isEnabled)return;let s=r.inputType;i.isSafari&&n&&"insertParagraph"==s&&(s="insertLineBreak");const a=r.domEvent,c=Gk[s];if(!c)return;const l=new ks(e,"enter",r.targetRanges[0]);e.fire(l,new _a(t,a,{isSoft:c.isSoft})),l.stop.called&&o.stop()}))}observe(){}stopObserving(){}}class Wk extends Ni{static get pluginName(){return"Enter"}init(){const t=this.editor,e=t.editing.view,n=e.document;e.addObserver(qk),t.commands.add("enter",new Uk(t)),this.listenTo(n,"enter",((o,i)=>{n.isComposing||i.preventDefault(),i.isSoft||(t.execute("enter"),e.scrollToTheSelection())}),{priority:"low"})}}class Kk extends zi{execute(){const t=this.editor.model,e=t.document;t.change((n=>{!function(t,e,n){const o=n.isCollapsed,i=n.getFirstRange(),r=i.start.parent,s=i.end.parent,a=r==s;if(o){const o=Vk(t.schema,n.getAttributes());Zk(t,e,i.end),e.removeSelectionAttribute(n.getAttributeKeys()),e.setSelectionAttribute(o)}else{const o=!(i.start.isAtStart&&i.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:o}),a?Zk(t,e,n.focus):o&&e.setSelection(s,0)}}(t,n,e.selection),this.fire("afterExecute",{writer:n})}))}refresh(){const t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;const n=e.anchor;if(!n||!t.checkChild(n,"softBreak"))return!1;const o=e.getFirstRange(),i=o.start.parent,r=o.end.parent;if((Yk(i,t)||Yk(r,t))&&i!==r)return!1;return!0}(t.schema,e.selection)}}function Zk(t,e,n){const o=e.createElement("softBreak");t.insertContent(o,n),e.setSelection(o,"after")}function Yk(t,e){return!t.is("rootElement")&&(e.isLimit(t)||Yk(t.parent,e))}class $k extends Ni{static get pluginName(){return"ShiftEnter"}init(){const t=this.editor,e=t.model.schema,n=t.conversion,o=t.editing.view,i=o.document;e.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(t,{writer:e})=>e.createEmptyElement("br")}),o.addObserver(qk),t.commands.add("shiftEnter",new Kk(t)),this.listenTo(i,"enter",((e,n)=>{i.isComposing||n.preventDefault(),n.isSoft&&(t.execute("shiftEnter"),o.scrollToTheSelection())}),{priority:"low"})}}class Qk extends(I()){constructor(){super(...arguments),this._stack=[]}add(t,e){const n=this._stack,o=n[0];this._insertDescriptor(t);const i=n[0];o===i||Jk(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}remove(t,e){const n=this._stack,o=n[0];this._removeDescriptor(t);const i=n[0];o===i||Jk(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}_insertDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t.id));if(Jk(t,e[n]))return;n>-1&&e.splice(n,1);let o=0;for(;e[o]&&Xk(e[o],t);)o++;e.splice(o,0,t)}_removeDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t));n>-1&&e.splice(n,1)}}function Jk(t,e){return t&&e&&t.priority==e.priority&&tb(t.classes)==tb(e.classes)}function Xk(t,e){return t.priority>e.priority||!(t.prioritytb(e.classes)}function tb(t){return Array.isArray(t)?t.sort().join(","):t}const eb='',nb="ck-widget",ob="ck-widget_selected";function ib(t){return!!t.is("element")&&!!t.getCustomProperty("widget")}function rb(t,e,n={}){if(!t.is("containerElement"))throw new k("widget-to-widget-wrong-element-type",null,{element:t});return e.setAttribute("contenteditable","false",t),e.addClass(nb,t),e.setCustomProperty("widget",!0,t),t.getFillerOffset=hb,e.setCustomProperty("widgetLabel",[],t),n.label&&function(t,e){const n=t.getCustomProperty("widgetLabel");n.push(e)}(t,n.label),n.hasSelectionHandle&&function(t,e){const n=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(t){const e=this.toDomElement(t),n=new mg;return n.set("content",eb),n.render(),e.appendChild(n.element),e}));e.insert(e.createPositionAt(t,0),n),e.addClass(["ck-widget_with-selection-handle"],t)}(t,e),cb(t,e),t}function sb(t,e,n){if(e.classes&&n.addClass(bi(e.classes),t),e.attributes)for(const o in e.attributes)n.setAttribute(o,e.attributes[o],t)}function ab(t,e,n){if(e.classes&&n.removeClass(bi(e.classes),t),e.attributes)for(const o in e.attributes)n.removeAttribute(o,t)}function cb(t,e,n=sb,o=ab){const i=new Qk;i.on("change:top",((e,i)=>{i.oldDescriptor&&o(t,i.oldDescriptor,i.writer),i.newDescriptor&&n(t,i.newDescriptor,i.writer)}));e.setCustomProperty("addHighlight",((t,e,n)=>i.add(e,n)),t),e.setCustomProperty("removeHighlight",((t,e,n)=>i.remove(e,n)),t)}function lb(t,e,n={}){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],t),e.setAttribute("role","textbox",t),n.label&&e.setAttribute("aria-label",n.label,t),e.setAttribute("contenteditable",t.isReadOnly?"false":"true",t),t.on("change:isReadOnly",((n,o,i)=>{e.setAttribute("contenteditable",i?"false":"true",t)})),t.on("change:isFocused",((n,o,i)=>{i?e.addClass("ck-editor__nested-editable_focused",t):e.removeClass("ck-editor__nested-editable_focused",t)})),cb(t,e),t}function db(t,e){const n=t.getSelectedElement();if(n){const o=pb(t);if(o)return e.createRange(e.createPositionAt(n,o))}return eu(t,e)}function hb(){return null}const ub="widget-type-around";function gb(t,e,n){return!!t&&ib(t)&&!n.isInline(e)}function pb(t){return t.getAttribute(ub)}var mb=n(4921),fb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(mb.Z,fb);mb.Z.locals;const kb=["before","after"],bb=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,wb="ck-widget__type-around_disabled";class Ab extends Ni{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Wk,Ck]}init(){const t=this.editor,e=t.editing.view;this.on("change:isEnabled",((n,o,i)=>{e.change((t=>{for(const n of e.document.roots)i?t.removeClass(wb,n):t.addClass(wb,n)})),i||t.model.change((t=>{t.removeSelectionAttribute(ub)}))})),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(t,e){const n=this.editor,o=n.editing.view,i=n.model.schema.getAttributesWithProperty(t,"copyOnReplace",!0);n.execute("insertParagraph",{position:n.model.createPositionAt(t,e),attributes:i}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(t,e,n,o){this.listenTo(t,e,((...t)=>{this.isEnabled&&n(...t)}),o)}_insertParagraphAccordingToFakeCaretPosition(){const t=this.editor.model.document.selection,e=pb(t);if(!e)return!1;const n=t.getSelectedElement();return this._insertParagraph(n,e),!0}_enableTypeAroundUIInjection(){const t=this.editor,e=t.model.schema,n=t.locale.t,o={before:n("Insert paragraph before block"),after:n("Insert paragraph after block")};t.editing.downcastDispatcher.on("insert",((t,i,r)=>{const s=r.mapper.toViewElement(i.item);if(s&&gb(s,i.item,e)){!function(t,e,n){const o=t.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(t){const n=this.toDomElement(t);return function(t,e){for(const n of kb){const o=new Gu({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${n}`],title:e[n],"aria-hidden":"true"},children:[t.ownerDocument.importNode(bb,!0)]});t.appendChild(o.render())}}(n,e),function(t){const e=new Gu({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});t.appendChild(e.render())}(n),n}));t.insert(t.createPositionAt(n,"end"),o)}(r.writer,o,s);s.getCustomProperty("widgetLabel").push((()=>this.isEnabled?n("Press Enter to type after or press Shift + Enter to type before the widget"):""))}}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const t=this.editor,e=t.model,n=e.document.selection,o=e.schema,i=t.editing.view;function r(t){return`ck-widget_type-around_show-fake-caret_${t}`}this._listenToIfEnabled(i.document,"arrowKey",((t,e)=>{this._handleArrowKeyPress(t,e)}),{context:[ib,"$text"],priority:"high"}),this._listenToIfEnabled(n,"change:range",((e,n)=>{n.directChange&&t.model.change((t=>{t.removeSelectionAttribute(ub)}))})),this._listenToIfEnabled(e.document,"change:data",(()=>{const e=n.getSelectedElement();if(e){if(gb(t.editing.mapper.toViewElement(e),e,o))return}t.model.change((t=>{t.removeSelectionAttribute(ub)}))})),this._listenToIfEnabled(t.editing.downcastDispatcher,"selection",((t,e,n)=>{const i=n.writer;if(this._currentFakeCaretModelElement){const t=n.mapper.toViewElement(this._currentFakeCaretModelElement);t&&(i.removeClass(kb.map(r),t),this._currentFakeCaretModelElement=null)}const s=e.selection.getSelectedElement();if(!s)return;const a=n.mapper.toViewElement(s);if(!gb(a,s,o))return;const c=pb(e.selection);c&&(i.addClass(r(c),a),this._currentFakeCaretModelElement=s)})),this._listenToIfEnabled(t.ui.focusTracker,"change:isFocused",((e,n,o)=>{o||t.model.change((t=>{t.removeSelectionAttribute(ub)}))}))}_handleArrowKeyPress(t,e){const n=this.editor,o=n.model,i=o.document.selection,r=o.schema,s=n.editing.view,a=function(t,e){const n=ki(t,e);return"down"===n||"right"===n}(e.keyCode,n.locale.contentLanguageDirection),c=s.document.selection.getSelectedElement();let l;gb(c,n.editing.mapper.toModelElement(c),r)?l=this._handleArrowKeyPressOnSelectedWidget(a):i.isCollapsed?l=this._handleArrowKeyPressWhenSelectionNextToAWidget(a):e.shiftKey||(l=this._handleArrowKeyPressWhenNonCollapsedSelection(a)),l&&(e.preventDefault(),t.stop())}_handleArrowKeyPressOnSelectedWidget(t){const e=this.editor.model,n=pb(e.document.selection);return e.change((e=>{if(!n)return e.setSelectionAttribute(ub,t?"after":"before"),!0;if(!(n===(t?"after":"before")))return e.removeSelectionAttribute(ub),!0;return!1}))}_handleArrowKeyPressWhenSelectionNextToAWidget(t){const e=this.editor,n=e.model,o=n.schema,i=e.plugins.get("Widget"),r=i._getObjectElementNextToSelection(t);return!!gb(e.editing.mapper.toViewElement(r),r,o)&&(n.change((e=>{i._setSelectionOverElement(r),e.setSelectionAttribute(ub,t?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(t){const e=this.editor,n=e.model,o=n.schema,i=e.editing.mapper,r=n.document.selection,s=t?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter;return!!gb(i.toViewElement(s),s,o)&&(n.change((e=>{e.setSelection(s,"on"),e.setSelectionAttribute(ub,t?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const t=this.editor,e=t.editing.view;this._listenToIfEnabled(e.document,"mousedown",((n,o)=>{const i=o.domTarget.closest(".ck-widget__type-around__button");if(!i)return;const r=function(t){return t.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(i),s=function(t,e){const n=t.closest(".ck-widget");return e.mapDomToView(n)}(i,e.domConverter),a=t.editing.mapper.toModelElement(s);this._insertParagraph(a,r),o.preventDefault(),n.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const t=this.editor,e=t.model.document.selection,n=t.editing.view;this._listenToIfEnabled(n.document,"enter",((n,o)=>{if("atTarget"!=n.eventPhase)return;const i=e.getSelectedElement(),r=t.editing.mapper.toViewElement(i),s=t.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:gb(r,i,s)&&(this._insertParagraph(i,o.isSoft?"before":"after"),a=!0),a&&(o.preventDefault(),n.stop())}),{context:ib})}_enableInsertingParagraphsOnTypingKeystroke(){const t=this.editor.editing.view.document;this._listenToIfEnabled(t,"insertText",((e,n)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(n.selection=t.selection)}),{priority:"high"}),i.isAndroid?this._listenToIfEnabled(t,"keydown",((t,e)=>{229==e.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()})):this._listenToIfEnabled(t,"compositionstart",(()=>{this._insertParagraphAccordingToFakeCaretPosition()}),{priority:"high"})}_enableDeleteIntegration(){const t=this.editor,e=t.editing.view,n=t.model,o=n.schema;this._listenToIfEnabled(e.document,"delete",((e,i)=>{if("atTarget"!=e.eventPhase)return;const r=pb(n.document.selection);if(!r)return;const s=i.direction,a=n.document.selection.getSelectedElement(),c="forward"==s;if("before"===r===c)t.execute("delete",{selection:n.createSelection(a,"on")});else{const e=o.getNearestSelectionRange(n.createPositionAt(a,r),s);if(e)if(e.isCollapsed){const i=n.createSelection(e.start);if(n.modifySelection(i,{direction:s}),i.focus.isEqual(e.start)){const t=function(t,e){let n=e;for(const o of e.getAncestors({parentFirst:!0})){if(o.childCount>1||t.isLimit(o))break;n=o}return n}(o,e.start.parent);n.deleteContent(n.createSelection(t,"on"),{doNotAutoparagraph:!0})}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}i.preventDefault(),e.stop()}),{context:ib})}_enableInsertContentIntegration(){const t=this.editor,e=this.editor.model,n=e.document.selection;this._listenToIfEnabled(t.model,"insertContent",((t,[o,i])=>{if(i&&!i.is("documentSelection"))return;const r=pb(n);return r?(t.stop(),e.change((t=>{const i=n.getSelectedElement(),s=e.createPositionAt(i,r),a=t.createSelection(s),c=e.insertContent(o,a);return t.setSelection(a),c}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"insertObject",((t,n)=>{const[,o,i={}]=n;if(o&&!o.is("documentSelection"))return;const r=pb(e);r&&(i.findOptimalPosition=r,n[3]=i)}),{priority:"high"})}_enableDeleteContentIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"deleteContent",((t,[n])=>{if(n&&!n.is("documentSelection"))return;pb(e)&&t.stop()}),{priority:"high"})}}function Cb(t){const e=t.model;return(n,o)=>{const i=o.keyCode==ui.arrowup,r=o.keyCode==ui.arrowdown,s=o.shiftKey,a=e.document.selection;if(!i&&!r)return;const c=r;if(s&&function(t,e){return!t.isCollapsed&&t.isBackward==e}(a,c))return;const l=function(t,e,n){const o=t.model;if(n){const t=e.isCollapsed?e.focus:e.getLastPosition(),n=_b(o,t,"forward");if(!n)return null;const i=o.createRange(t,n),r=vb(o.schema,i,"backward");return r?o.createRange(t,r):null}{const t=e.isCollapsed?e.focus:e.getFirstPosition(),n=_b(o,t,"backward");if(!n)return null;const i=o.createRange(n,t),r=vb(o.schema,i,"forward");return r?o.createRange(r,t):null}}(t,a,c);if(l){if(l.isCollapsed){if(a.isCollapsed)return;if(s)return}(l.isCollapsed||function(t,e,n){const o=t.model,i=t.view.domConverter;if(n){const t=o.createSelection(e.start);o.modifySelection(t),t.focus.isAtEnd||e.start.isEqual(t.focus)||(e=o.createRange(t.focus,e.end))}const r=t.mapper.toViewRange(e),s=i.viewRangeToDom(r),a=Lo.getDomRangeRects(s);let c;for(const t of a)if(void 0!==c){if(Math.round(t.top)>=c)return!1;c=Math.max(c,Math.round(t.bottom))}else c=Math.round(t.bottom);return!0}(t,l,c))&&(e.change((t=>{const n=c?l.end:l.start;if(s){const o=e.createSelection(a.anchor);o.setFocus(n),t.setSelection(o)}else t.setSelection(n)})),n.stop(),o.preventDefault(),o.stopPropagation())}}}function _b(t,e,n){const o=t.schema,i=t.createRangeIn(e.root),r="forward"==n?"elementStart":"elementEnd";for(const{previousPosition:t,item:s,type:a}of i.getWalker({startPosition:e,direction:n})){if(o.isLimit(s)&&!o.isInline(s))return t;if(a==r&&o.isBlock(s))return null}return null}function vb(t,e,n){const o="backward"==n?e.end:e.start;if(t.checkChild(o,"$text"))return o;for(const{nextPosition:o}of e.getWalker({direction:n}))if(t.checkChild(o,"$text"))return o;return null}var yb=n(3488),xb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(yb.Z,xb);yb.Z.locals;class Eb extends Ni{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[Ab,Ck]}init(){const t=this.editor,e=t.editing.view,n=e.document;this.editor.editing.downcastDispatcher.on("selection",((e,n,o)=>{const i=o.writer,r=n.selection;if(r.isCollapsed)return;const s=r.getSelectedElement();if(!s)return;const a=t.editing.mapper.toViewElement(s);var c;ib(a)&&(o.consumable.consume(r,"selection")&&i.setSelection(i.createRangeOn(a),{fake:!0,label:(c=a,c.getCustomProperty("widgetLabel").reduce(((t,e)=>"function"==typeof e?t?t+". "+e():e():t?t+". "+e:e),""))}))})),this.editor.editing.downcastDispatcher.on("selection",((t,e,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const o=n.writer,i=o.document.selection;let r=null;for(const t of i.getRanges())for(const e of t){const t=e.item;ib(t)&&!Db(t,r)&&(o.addClass(ob,t),this._previouslySelected.add(t),r=t)}}),{priority:"low"}),e.addObserver(hu),this.listenTo(n,"mousedown",((...t)=>this._onMousedown(...t))),this.listenTo(n,"arrowKey",((...t)=>{this._handleSelectionChangeOnArrowKeyPress(...t)}),{context:[ib,"$text"]}),this.listenTo(n,"arrowKey",((...t)=>{this._preventDefaultOnArrowKeyPress(...t)}),{context:"$root"}),this.listenTo(n,"arrowKey",Cb(this.editor.editing),{context:"$text"}),this.listenTo(n,"delete",((t,e)=>{this._handleDelete("forward"==e.direction)&&(e.preventDefault(),t.stop())}),{context:"$root"})}_onMousedown(t,e){const n=this.editor,o=n.editing.view,r=o.document;let s=e.target;if(e.domEvent.detail>=3)return void(this._selectBlockContent(s)&&e.preventDefault());if(function(t){let e=t;for(;e;){if(e.is("editableElement")&&!e.is("rootElement"))return!0;if(ib(e))return!1;e=e.parent}return!1}(s))return;if(!ib(s)&&(s=s.findAncestor(ib),!s))return;i.isAndroid&&e.preventDefault(),r.isFocused||o.focus();const a=n.editing.mapper.toModelElement(s);this._setSelectionOverElement(a)}_selectBlockContent(t){const e=this.editor,n=e.model,o=e.editing.mapper,i=n.schema,r=o.findMappedViewAncestor(this.editor.editing.view.createPositionAt(t,0)),s=function(t,e){for(const n of t.getAncestors({includeSelf:!0,parentFirst:!0})){if(e.checkChild(n,"$text"))return n;if(e.isLimit(n)&&!e.isObject(n))break}return null}(o.toModelElement(r),n.schema);return!!s&&(n.change((t=>{const e=i.isLimit(s)?null:function(t,e){const n=new yc({startPosition:t});for(const{item:t}of n){if(e.isLimit(t)||!t.is("element"))return null;if(e.checkChild(t,"$text"))return t}return null}(t.createPositionAfter(s),i),n=t.createPositionAt(s,0),o=e?t.createPositionAt(e,0):t.createPositionAt(s,"end");t.setSelection(t.createRange(n,o))})),!0)}_handleSelectionChangeOnArrowKeyPress(t,e){const n=e.keyCode,o=this.editor.model,i=o.schema,r=o.document.selection,s=r.getSelectedElement(),a=ki(n,this.editor.locale.contentLanguageDirection),c="down"==a||"right"==a,l="up"==a||"down"==a;if(s&&i.isObject(s)){const n=c?r.getLastPosition():r.getFirstPosition(),s=i.getNearestSelectionRange(n,c?"forward":"backward");return void(s&&(o.change((t=>{t.setSelection(s)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed&&!e.shiftKey){const n=r.getFirstPosition(),s=r.getLastPosition(),a=n.nodeAfter,l=s.nodeBefore;return void((a&&i.isObject(a)||l&&i.isObject(l))&&(o.change((t=>{t.setSelection(c?s:n)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed)return;const d=this._getObjectElementNextToSelection(c);if(d&&i.isObject(d)){if(i.isInline(d)&&l)return;this._setSelectionOverElement(d),e.preventDefault(),t.stop()}}_preventDefaultOnArrowKeyPress(t,e){const n=this.editor.model,o=n.schema,i=n.document.selection.getSelectedElement();i&&o.isObject(i)&&(e.preventDefault(),t.stop())}_handleDelete(t){const e=this.editor.model.document.selection;if(!this.editor.model.canEditAt(e))return;if(!e.isCollapsed)return;const n=this._getObjectElementNextToSelection(t);return n?(this.editor.model.change((t=>{let o=e.anchor.parent;for(;o.isEmpty;){const e=o;o=e.parent,t.remove(e)}this._setSelectionOverElement(n)})),!0):void 0}_setSelectionOverElement(t){this.editor.model.change((e=>{e.setSelection(e.createRangeOn(t))}))}_getObjectElementNextToSelection(t){const e=this.editor.model,n=e.schema,o=e.document.selection,i=e.createSelection(o);if(e.modifySelection(i,{direction:t?"forward":"backward"}),i.isEqual(o))return null;const r=t?i.focus.nodeBefore:i.focus.nodeAfter;return r&&n.isObject(r)?r:null}_clearPreviouslySelectedWidgets(t){for(const e of this._previouslySelected)t.removeClass(ob,e);this._previouslySelected.clear()}}function Db(t,e){return!!e&&Array.from(t.getAncestors()).includes(e)}class Ib extends Ni{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[wf]}static get pluginName(){return"WidgetToolbarRepository"}init(){const t=this.editor;if(t.plugins.has("BalloonToolbar")){const e=t.plugins.get("BalloonToolbar");this.listenTo(e,"show",(e=>{(function(t){const e=t.getSelectedElement();return!(!e||!ib(e))})(t.editing.view.document.selection)&&e.stop()}),{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui,"update",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui.focusTracker,"change:isFocused",(()=>{this._updateToolbarsVisibility()}),{priority:"low"})}destroy(){super.destroy();for(const t of this._toolbarDefinitions.values())t.view.destroy()}register(t,{ariaLabel:e,items:n,getRelatedElement:o,balloonClassName:i="ck-toolbar-container"}){if(!n.length)return void b("widget-toolbar-no-items",{toolbarId:t});const r=this.editor,s=r.t,a=new sp(r.locale);if(a.ariaLabel=e||s("Widget toolbar"),this._toolbarDefinitions.has(t))throw new k("widget-toolbar-duplicated",this,{toolbarId:t});const c={view:a,getRelatedElement:o,balloonClassName:i,itemsConfig:n,initialized:!1};r.ui.addToolbar(a,{isContextual:!0,beforeFocus:()=>{const t=o(r.editing.view.document.selection);t&&this._showToolbar(c,t)},afterBlur:()=>{this._hideToolbar(c)}}),this._toolbarDefinitions.set(t,c)}_updateToolbarsVisibility(){let t=0,e=null,n=null;for(const o of this._toolbarDefinitions.values()){const i=o.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&i)if(this.editor.ui.focusTracker.isFocused){const r=i.getAncestors().length;r>t&&(t=r,e=i,n=o)}else this._isToolbarVisible(o)&&this._hideToolbar(o);else this._isToolbarInBalloon(o)&&this._hideToolbar(o)}n&&this._showToolbar(n,e)}_hideToolbar(t){this._balloon.remove(t.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(t,e){this._isToolbarVisible(t)?Sb(this.editor,e):this._isToolbarInBalloon(t)||(t.initialized||(t.initialized=!0,t.view.fillFromConfig(t.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:t.view,position:Tb(this.editor,e),balloonClassName:t.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",(()=>{for(const t of this._toolbarDefinitions.values())if(this._isToolbarVisible(t)){const e=t.getRelatedElement(this.editor.editing.view.document.selection);Sb(this.editor,e)}})))}_isToolbarVisible(t){return this._balloon.visibleView===t.view}_isToolbarInBalloon(t){return this._balloon.hasView(t.view)}}function Sb(t,e){const n=t.plugins.get("ContextualBalloon"),o=Tb(t,e);n.updatePosition(o)}function Tb(t,e){const n=t.editing.view,o=ym.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}H();Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;H();var Mb=n(8506),Bb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Mb.Z,Bb);Mb.Z.locals;const Nb=qo("px");class Pb extends Hu{constructor(){super();const t=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",t.if("isVisible","ck-hidden",(t=>!t))],style:{left:t.to("left",(t=>Nb(t))),top:t.to("top",(t=>Nb(t))),width:t.to("width",(t=>Nb(t)))}}})}}class zb extends Ni{constructor(){super(...arguments),this.removeDropMarkerDelayed=Ii((()=>this.removeDropMarker()),40),this._updateDropMarkerThrottled=vu((t=>this._updateDropMarker(t)),40),this._reconvertMarkerThrottled=vu((()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")}),0),this._dropTargetLineView=new Pb,this._domEmitter=new(Do()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:t}of this._scrollables.values())t.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(t,e,n,o,i,r){this.removeDropMarkerDelayed.cancel();const s=Ob(this.editor,t,e,n,o,i,r);if(s)return r&&r.containsRange(s)?this.removeDropMarker():void this._updateDropMarkerThrottled(s)}getFinalDropRange(t,e,n,o,i,r){const s=Ob(this.editor,t,e,n,o,i,r);return this.removeDropMarker(),s}removeDropMarker(){const t=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,t.markers.has("drop-target")&&t.change((t=>{t.removeMarker("drop-target")}))}_setupDropMarker(){const t=this.editor;t.ui.view.body.add(this._dropTargetLineView),t.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),t.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(e,{writer:n})=>{if(t.model.schema.checkChild(e.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(n);e.markerRange.isCollapsed?this._updateDropTargetLine(e.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(t){const e=this.editor,n=e.model.markers;e.model.change((e=>{n.has("drop-target")?n.get("drop-target").getRange().isEqual(t)||e.updateMarker("drop-target",{range:t}):e.addMarker("drop-target",{range:t,usingOperation:!1,affectsData:!1})}))}_createDropTargetPosition(t){return t.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(t){const e=this.toDomElement(t);return e.append("⁠",t.createElement("span"),"⁠"),e}))}_updateDropTargetLine(t){const e=this.editor.editing,n=t.start.nodeBefore,o=t.start.nodeAfter,i=t.start.parent,r=n?e.mapper.toViewElement(n):null,s=r?e.view.domConverter.mapViewToDom(r):null,a=o?e.mapper.toViewElement(o):null,c=a?e.view.domConverter.mapViewToDom(a):null,l=e.mapper.toViewElement(i),d=e.view.domConverter.mapViewToDom(l),h=this._getScrollableRect(l),{scrollX:u,scrollY:g}=Mo.window,p=s?new Lo(s):null,m=c?new Lo(c):null,f=new Lo(d).excludeScrollbarsAndBorders(),k=p?p.bottom:f.top,b=m?m.top:f.bottom,w=Mo.window.getComputedStyle(d),A=k<=b?(k+b)/2:b;if(h.topa.schema.checkChild(r,t)))){if(a.schema.checkChild(r,"$text"))return a.createRange(r);if(e)return jb(t,Fb(t,e.parent),o,i)}}}else if(a.schema.isInline(l))return jb(t,l,o,i);if(a.schema.isBlock(l))return jb(t,l,o,i);if(a.schema.checkChild(l,"$block")){const e=Array.from(l.getChildren()).filter((e=>e.is("element")&&!Lb(t,e)));let n=0,r=e.length;if(0==r)return a.createRange(a.createPositionAt(l,"end"));for(;ne in t?Vb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Zb extends Ni{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Do())}static get pluginName(){return"DragDropBlockToolbar"}init(){const t=this.editor;if(this.listenTo(t,"change:isReadOnly",((t,e,n)=>{n?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")})),i.isAndroid&&this.forceDisabled("noAndroidSupport"),t.plugins.has("BlockToolbar")){const e=t.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(e,"dragstart",((t,e)=>this._handleBlockDragStart(e))),this._domEmitter.listenTo(Mo.document,"dragover",((t,e)=>this._handleBlockDragging(e))),this._domEmitter.listenTo(Mo.document,"drop",((t,e)=>this._handleBlockDragging(e))),this._domEmitter.listenTo(Mo.document,"dragend",(()=>this._handleBlockDragEnd()),{useCapture:!0}),this.isEnabled&&e.setAttribute("draggable","true"),this.on("change:isEnabled",((t,n,o)=>{e.setAttribute("draggable",o?"true":"false")}))}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(t){if(!this.isEnabled)return;const e=this.editor.model,n=e.document.selection,o=this.editor.editing.view,i=Array.from(n.getSelectedBlocks()),r=e.createRange(e.createPositionBefore(i[0]),e.createPositionAfter(i[i.length-1]));e.change((t=>t.setSelection(r))),this._isBlockDragging=!0,o.focus(),o.getObserver(nk).onDomEvent(t)}_handleBlockDragging(t){if(!this.isEnabled||!this._isBlockDragging)return;const e=t.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),n=t.clientY,o=document.elementFromPoint(e,n),i=this.editor.editing.view;var r,s;o&&o.closest(".ck-editor__editable")&&i.getObserver(nk).onDomEvent((r=((t,e)=>{for(var n in e||(e={}))qb.call(e,n)&&Kb(t,n,e[n]);if(Gb)for(var n of Gb(e))Wb.call(e,n)&&Kb(t,n,e[n]);return t})({},t),s={type:t.type,dataTransfer:t.dataTransfer,target:o,clientX:e,clientY:n,preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()},Ub(r,Hb(s))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var Yb=n(903),$b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Yb.Z,$b);Yb.Z.locals;class Qb extends Ni{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=Ii((()=>this._clearDraggableAttributes()),40),this._blockMode=!1,this._domEmitter=new(Do())}static get pluginName(){return"DragDrop"}static get requires(){return[ak,Eb,zb,Zb]}init(){const t=this.editor,e=t.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,e.addObserver(nk),e.addObserver(hu),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(t,"change:isReadOnly",((t,e,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((t,e,n)=>{n||this._finalizeDragging(!1)})),i.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 t=this.editor,e=t.model,n=t.editing.view,o=n.document,r=t.plugins.get(zb);this.listenTo(o,"dragstart",((t,n)=>{if(n.target&&n.target.is("editableElement"))return void n.preventDefault();if(this._prepareDraggedRange(n.target),!this._draggedRange)return void n.preventDefault();this._draggingUid=g(),n.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",n.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const o=e.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(n.dataTransfer,o,"dragstart");const{dataTransfer:i,domTarget:r,domEvent:s}=n,{clientX:a}=s;this._updatePreview({dataTransfer:i,domTarget:r,clientX:a}),n.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")}),{priority:"low"}),this.listenTo(o,"dragend",((t,e)=>{this._finalizeDragging(!e.dataTransfer.isCanceled&&"move"==e.dataTransfer.dropEffect)}),{priority:"low"}),this._domEmitter.listenTo(Mo.document,"dragend",(()=>{this._blockMode=!1}),{useCapture:!0}),this.listenTo(o,"dragenter",(()=>{this.isEnabled&&n.focus()})),this.listenTo(o,"dragleave",(()=>{r.removeDropMarkerDelayed()})),this.listenTo(o,"dragging",((t,e)=>{if(!this.isEnabled)return void(e.dataTransfer.dropEffect="none");const{clientX:n,clientY:o}=e.domEvent;r.updateDropMarker(e.target,e.targetRanges,n,o,this._blockMode,this._draggedRange),this._draggedRange||(e.dataTransfer.dropEffect="copy"),i.isGecko||("copy"==e.dataTransfer.effectAllowed?e.dataTransfer.dropEffect="copy":["all","copyMove"].includes(e.dataTransfer.effectAllowed)&&(e.dataTransfer.dropEffect="move")),t.stop()}),{priority:"low"})}_setupClipboardInputIntegration(){const t=this.editor,e=t.editing.view.document,n=t.plugins.get(zb);this.listenTo(e,"clipboardInput",((e,o)=>{if("drop"!=o.method)return;const{clientX:i,clientY:r}=o.domEvent,s=n.getFinalDropRange(o.target,o.targetRanges,i,r,this._blockMode,this._draggedRange);if(!s)return this._finalizeDragging(!1),void e.stop();this._draggedRange&&this._draggingUid!=o.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="");if("move"==Jb(o.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(s,!0))return this._finalizeDragging(!1),void e.stop();o.targetRanges=[t.editing.mapper.toViewRange(s)]}),{priority:"high"})}_setupContentInsertionIntegration(){const t=this.editor.plugins.get(ak);t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n=e.targetRanges.map((t=>this.editor.editing.mapper.toModelRange(t)));this.editor.model.change((t=>t.setSelection(n)))}),{priority:"high"}),t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n="move"==Jb(e.dataTransfer),o=!e.resultRange||!e.resultRange.isCollapsed;this._finalizeDragging(o&&n)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const t=this.editor,e=t.editing.view,n=e.document;this.listenTo(n,"mousedown",((o,r)=>{if(i.isAndroid||!r)return;this._clearDraggableAttributesDelayed.cancel();let s=Xb(r.target);if(i.isBlink&&!t.isReadOnly&&!s&&!n.selection.isCollapsed){const t=n.selection.getSelectedElement();t&&ib(t)||(s=n.selection.editableElement)}s&&(e.change((t=>{t.setAttribute("draggable","true",s)})),this._draggableElement=t.editing.mapper.toModelElement(s))})),this.listenTo(n,"mouseup",(()=>{i.isAndroid||this._clearDraggableAttributesDelayed()}))}_clearDraggableAttributes(){const t=this.editor.editing;t.view.change((e=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&e.removeAttribute("draggable",t.mapper.toViewElement(this._draggableElement)),this._draggableElement=null}))}_finalizeDragging(t){const e=this.editor,n=e.model;if(e.plugins.get(zb).removeDropMarker(),this._clearDraggableAttributes(),e.plugins.has("WidgetToolbarRepository")){e.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop")}this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(t&&this.isEnabled&&n.change((t=>{const e=n.createSelection(this._draggedRange);n.deleteContent(e,{doNotAutoparagraph:!0});const o=e.getFirstPosition().parent;o.isEmpty&&!n.schema.checkChild(o,"$text")&&n.schema.checkChild(o,"paragraph")&&t.insertElement("paragraph",o,0)})),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(t){const e=this.editor,n=e.model,o=n.document.selection,i=t?Xb(t):null;if(i){const t=e.editing.mapper.toModelElement(i);if(this._draggedRange=el.fromRange(n.createRangeOn(t)),this._blockMode=n.schema.isBlock(t),e.plugins.has("WidgetToolbarRepository")){e.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}return}if(o.isCollapsed&&!o.getFirstPosition().parent.isEmpty)return;const r=Array.from(o.getSelectedBlocks()),s=o.getFirstRange();if(0==r.length)return void(this._draggedRange=el.fromRange(s));const a=tw(n,r);if(r.length>1)this._draggedRange=el.fromRange(a),this._blockMode=!0;else if(1==r.length){const t=s.start.isTouching(a.start)&&s.end.isTouching(a.end);this._draggedRange=el.fromRange(t?a:s),this._blockMode=t}n.change((t=>t.setSelection(this._draggedRange.toRange())))}_updatePreview({dataTransfer:t,domTarget:e,clientX:n}){const o=this.editor.editing.view,r=o.document.selection.editableElement,s=o.domConverter.mapViewToDom(r),a=Mo.window.getComputedStyle(s);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=pt(Mo.document,"div",{style:"position: fixed; left: -999999px;"}),Mo.document.body.appendChild(this._previewContainer));const c=new Lo(s);if(s.contains(e))return;const l=parseFloat(a.paddingLeft),d=pt(Mo.document,"div");d.className="ck ck-content",d.style.width=a.width,d.style.paddingLeft=`${c.left-n+l}px`,i.isiOS&&(d.style.backgroundColor="white"),d.innerHTML=t.getData("text/html"),t.setDragImage(d,0,0),this._previewContainer.appendChild(d)}}function Jb(t){return i.isGecko?t.dropEffect:["all","copyMove"].includes(t.effectAllowed)?"move":"copy"}function Xb(t){if(t.is("editableElement"))return null;if(t.hasClass("ck-widget__selection-handle"))return t.findAncestor(ib);if(ib(t))return t;const e=t.findAncestor((t=>ib(t)||t.is("editableElement")));return ib(e)?e:null}function tw(t,e){const n=e[0],o=e[e.length-1],i=n.getCommonAncestor(o),r=t.createPositionBefore(n),s=t.createPositionAfter(o);if(i&&i.is("element")&&!t.schema.isLimit(i)){const e=t.createRangeOn(i),n=r.isTouching(e.start),o=s.isTouching(e.end);if(n&&o)return tw(t,[i])}return t.createRange(r,s)}class ew extends Ni{static get pluginName(){return"PastePlainText"}static get requires(){return[ak]}init(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document,i=e.document.selection;let r=!1;n.addObserver(nk),this.listenTo(o,"keydown",((t,e)=>{r=e.shiftKey})),t.plugins.get(ak).on("contentInsertion",((t,n)=>{(r||function(t,e){if(t.childCount>1)return!1;const n=t.getChild(0);if(e.isObject(n))return!1;return 0==Array.from(n.getAttributeKeys()).length}(n.content,e.schema))&&e.change((t=>{const o=Array.from(i.getAttributes()).filter((([t])=>e.schema.getAttributeProperties(t).isFormatting));i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0}),o.push(...i.getAttributes());const r=t.createRangeIn(n.content);for(const e of r.getItems())e.is("$textProxy")&&t.setAttributes(o,e)}))}))}}class nw extends Ni{static get pluginName(){return"Clipboard"}static get requires(){return[ak,Qb,ew]}}class ow extends zi{constructor(t){super(t),this.affectsData=!1}execute(){const t=this.editor.model,e=t.document.selection;let n=t.schema.getLimitElement(e);if(e.containsEntireContent(n)||!iw(t.schema,n))do{if(n=n.parent,!n)return}while(!iw(t.schema,n));t.change((t=>{t.setSelection(n,"in")}))}}function iw(t,e){return t.isLimit(e)&&(t.checkChild(e,"$text")||t.checkChild(e,"paragraph"))}const rw=mi("Ctrl+A");class sw extends Ni{static get pluginName(){return"SelectAllEditing"}init(){const t=this.editor,e=t.editing.view.document;t.commands.add("selectAll",new ow(t)),this.listenTo(e,"keydown",((e,n)=>{pi(n)===rw&&(t.execute("selectAll"),n.preventDefault())}))}}class aw extends Ni{static get pluginName(){return"SelectAllUI"}init(){const t=this.editor;t.ui.componentFactory.add("selectAll",(e=>{const n=t.commands.get("selectAll"),o=new wg(e),i=e.t;return o.set({label:i("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),o.bind("isEnabled").to(n,"isEnabled"),this.listenTo(o,"execute",(()=>{t.execute("selectAll"),t.editing.view.focus()})),o}))}}class cw extends Ni{static get requires(){return[sw,aw]}static get pluginName(){return"SelectAll"}}var lw=Object.defineProperty,dw=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,uw=Object.prototype.propertyIsEnumerable,gw=(t,e,n)=>e in t?lw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class pw extends zi{constructor(t){super(t),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(t.data,"set",((t,e)=>{e[1]=((t,e)=>{for(var n in e||(e={}))hw.call(e,n)&&gw(t,n,e[n]);if(dw)for(var n of dw(e))uw.call(e,n)&&gw(t,n,e[n]);return t})({},e[1]);const n=e[1];n.batchType||(n.batchType={isUndoable:!1})}),{priority:"high"}),this.listenTo(t.data,"set",((t,e)=>{e[1].batchType.isUndoable||this.clearStack()}))}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(t){const e=this.editor.model.document.selection,n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(t,e,n){const o=this.editor.model,i=o.document,r=[],s=t.map((t=>t.getTransformedByOperations(n))),a=s.flat();for(const t of s){const e=t.filter((t=>t.root!=i.graveyard)).filter((t=>!fw(t,a)));e.length&&(mw(e),r.push(e[0]))}r.length&&o.change((t=>{t.setSelection(r,{backward:e})}))}_undo(t,e){const n=this.editor.model,o=n.document;this._createdBatches.add(e);const i=t.operations.slice().filter((t=>t.isDocumentOperation));i.reverse();for(const t of i){const i=t.baseVersion+1,r=Array.from(o.history.getOperations(i)),s=Kd([t.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let i of s){const r=i.affectedSelectable;r&&!n.canEditAt(r)&&(i=new Ld(i.baseVersion)),e.addOperation(i),n.applyOperation(i),o.history.setOperationAsUndone(t,i)}}}}function mw(t){t.sort(((t,e)=>t.start.isBefore(e.start)?-1:1));for(let e=1;ee!==t&&e.containsRange(t,!0)))}class kw extends pw{execute(t=null){const e=t?this._stack.findIndex((e=>e.batch==t)):this._stack.length-1,n=this._stack.splice(e,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,(()=>{this._undo(n.batch,o);const t=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,t)})),this.fire("revert",n.batch,o),this.refresh()}}class bw extends pw{execute(){const t=this._stack.pop(),e=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(e,(()=>{const n=t.batch.operations[t.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(n);this._restoreSelection(t.selection.ranges,t.selection.isBackward,o),this._undo(t.batch,e)})),this.refresh()}}class ww extends Ni{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const t=this.editor;this._undoCommand=new kw(t),this._redoCommand=new bw(t),t.commands.add("undo",this._undoCommand),t.commands.add("redo",this._redoCommand),this.listenTo(t.model,"applyOperation",((t,e)=>{const n=e[0];if(!n.isDocumentOperation)return;const o=n.batch,i=this._redoCommand.createdBatches.has(o),r=this._undoCommand.createdBatches.has(o);this._batchRegistry.has(o)||(this._batchRegistry.add(o),o.isUndoable&&(i?this._undoCommand.addBatch(o):r||(this._undoCommand.addBatch(o),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((t,e,n)=>{this._redoCommand.addBatch(n)})),t.keystrokes.set("CTRL+Z","undo"),t.keystrokes.set("CTRL+Y","redo"),t.keystrokes.set("CTRL+SHIFT+Z","redo")}}const Aw='',Cw='';class _w extends Ni{static get pluginName(){return"UndoUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?Aw:Cw,i="ltr"==e.uiLanguageDirection?Cw:Aw;this._addButton("undo",n("Undo"),"CTRL+Z",o),this._addButton("redo",n("Redo"),"CTRL+Y",i)}_addButton(t,e,n,o){const i=this.editor;i.ui.componentFactory.add(t,(r=>{const s=i.commands.get(t),a=new wg(r);return a.set({label:e,icon:o,keystroke:n,tooltip:!0}),a.bind("isEnabled").to(s,"isEnabled"),this.listenTo(a,"execute",(()=>{i.execute(t),i.editing.view.focus()})),a}))}}class vw extends Ni{static get requires(){return[ww,_w]}static get pluginName(){return"Undo"}}class yw extends(H()){constructor(){super();const t=new window.FileReader;this._reader=t,this._data=void 0,this.set("loaded",0),t.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(t){const e=this._reader;return this.total=t.size,new Promise(((n,o)=>{e.onload=()=>{const t=e.result;this._data=t,n(t)},e.onerror=()=>{o("error")},e.onabort=()=>{o("aborted")},this._reader.readAsDataURL(t)}))}abort(){this._reader.abort()}}class xw extends Ni{constructor(){super(...arguments),this.loaders=new vi,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[ku]}init(){this.loaders.on("change",(()=>this._updatePendingAction())),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0))}getLoader(t){return this._loadersMap.get(t)||null}createLoader(t){if(!this.createUploadAdapter)return b("filerepository-no-upload-adapter"),null;const e=new Ew(Promise.resolve(t),this.createUploadAdapter);return this.loaders.add(e),this._loadersMap.set(t,e),t instanceof Promise&&e.file.then((t=>{this._loadersMap.set(t,e)})).catch((()=>{})),e.on("change:uploaded",(()=>{let t=0;for(const e of this.loaders)t+=e.uploaded;this.uploaded=t})),e.on("change:uploadTotal",(()=>{let t=0;for(const e of this.loaders)e.uploadTotal&&(t+=e.uploadTotal);this.uploadTotal=t})),e}destroyLoader(t){const e=t instanceof Ew?t:this.getLoader(t);e._destroy(),this.loaders.remove(e),this._loadersMap.forEach(((t,n)=>{t===e&&this._loadersMap.delete(n)}))}_updatePendingAction(){const t=this.editor.plugins.get(ku);if(this.loaders.length){if(!this._pendingAction){const e=this.editor.t,n=t=>`${e("Upload in progress")} ${parseInt(t)}%.`;this._pendingAction=t.add(n(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",n)}}else t.remove(this._pendingAction),this._pendingAction=null}}class Ew extends(H()){constructor(t,e){super(),this.id=g(),this._filePromiseWrapper=this._createFilePromiseWrapper(t),this._adapter=e(this),this._reader=new yw,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0)),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then((t=>this._filePromiseWrapper?t:null)):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new k("filerepository-read-wrong-status",this);return this.status="reading",this.file.then((t=>this._reader.read(t))).then((t=>{if("reading"!==this.status)throw this.status;return this.status="idle",t})).catch((t=>{if("aborted"===t)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:t}))}upload(){if("idle"!=this.status)throw new k("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then((()=>this._adapter.upload())).then((t=>(this.uploadResponse=t,this.status="idle",t))).catch((t=>{if("aborted"===this.status)throw"aborted";throw this.status="error",t}))}abort(){const t=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==t?this._reader.abort():"uploading"==t&&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(t){const e={};return e.promise=new Promise(((n,o)=>{e.rejecter=o,e.isFulfilled=!1,t.then((t=>{e.isFulfilled=!0,n(t)})).catch((t=>{e.isFulfilled=!0,o(t)}))})),e}}class Dw extends wg{constructor(t){super(t),this.buttonView=this,this._fileInputView=new Iw(t),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)}}class Iw extends Hu{constructor(t){super(t),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:e.to("acceptedType"),multiple:e.to("allowMultipleFiles")},on:{change:e.to((()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""}))}})}open(){this.element.click()}}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Sw="ckCsrfToken",Tw="abcdefghijklmnopqrstuvwxyz0123456789";function Mw(){let t=function(t){t=t.toLowerCase();const e=document.cookie.split(";");for(const n of e){const e=n.split("=");if(decodeURIComponent(e[0].trim().toLowerCase())===t)return decodeURIComponent(e[1])}return null}(Sw);var e,n;return t&&40==t.length||(t=function(t){let e="";const n=new Uint8Array(t);window.crypto.getRandomValues(n);for(let t=0;t.5?o.toUpperCase():o}return e}(40),e=Sw,n=t,document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(n)+";path=/"),t}class Bw{constructor(t,e,n){this.loader=t,this.url=e,this.t=n}upload(){return this.loader.file.then((t=>new Promise(((e,n)=>{this._initRequest(),this._initListeners(e,n,t),this._sendRequest(t)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const t=this.xhr=new XMLHttpRequest;t.open("POST",this.url,!0),t.responseType="json"}_initListeners(t,e,n){const o=this.xhr,i=this.loader,r=(0,this.t)("Cannot upload file:")+` ${n.name}.`;o.addEventListener("error",(()=>e(r))),o.addEventListener("abort",(()=>e())),o.addEventListener("load",(()=>{const n=o.response;if(!n||!n.uploaded)return e(n&&n.error&&n.error.message?n.error.message:r);t({default:n.url})})),o.upload&&o.upload.addEventListener("progress",(t=>{t.lengthComputable&&(i.uploadTotal=t.total,i.uploaded=t.loaded)}))}_sendRequest(t){const e=new FormData;e.append("upload",t),e.append("ckCsrfToken",Mw()),this.xhr.send(e)}}function Nw(t,e,n,o){let i,r=null;"function"==typeof o?i=o:(r=t.commands.get(o),i=()=>{t.execute(o)}),t.model.document.on("change:data",((s,a)=>{if(r&&!r.isEnabled||!e.isEnabled)return;const c=yi(t.model.document.selection.getRanges());if(!c.isCollapsed)return;if(a.isUndo||!a.isLocal)return;const l=Array.from(t.model.document.differ.getChanges()),d=l[0];if(1!=l.length||"insert"!==d.type||"$text"!=d.name||1!=d.length)return;const h=d.position.parent;if(h.is("element","codeBlock"))return;if(h.is("element","listItem")&&"function"!=typeof o&&!["numberedList","bulletedList","todoList"].includes(o))return;if(r&&!0===r.value)return;const u=h.getChild(0),g=t.model.createRangeOn(u);if(!g.containsRange(c)&&!c.end.isEqual(g.end))return;const p=n.exec(u.data.substr(0,c.end.offset));p&&t.model.enqueueChange((e=>{const n=e.createPositionAt(h,0),o=e.createPositionAt(h,p[0].length),r=new el(n,o);if(!1!==i({match:p})){e.remove(r);const n=t.model.document.selection.getFirstRange(),o=e.createRangeIn(h);!h.isEmpty||o.isEqual(n)||o.containsRange(n,!0)||e.remove(h)}r.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function Pw(t,e,n,o){let i,r;n instanceof RegExp?i=n:r=n,r=r||(t=>{let e;const n=[],o=[];for(;null!==(e=i.exec(t))&&!(e&&e.length<4);){let{index:t,1:i,2:r,3:s}=e;const a=i+r+s;t+=e[0].length-a.length;const c=[t,t+i.length],l=[t+i.length+r.length,t+i.length+r.length+s.length];n.push(c),n.push(l),o.push([t+i.length,t+i.length+r.length])}return{remove:n,format:o}}),t.model.document.on("change:data",((n,i)=>{if(i.isUndo||!i.isLocal||!e.isEnabled)return;const s=t.model,a=s.document.selection;if(!a.isCollapsed)return;const c=Array.from(s.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const d=a.focus,h=d.parent,{text:u,range:g}=function(t,e){let n=t.start;const o=Array.from(t.getItems()).reduce(((t,o)=>!o.is("$text")&&!o.is("$textProxy")||o.getAttribute("code")?(n=e.createPositionAfter(o),""):t+o.data),"");return{text:o,range:e.createRange(n,t.end)}}(s.createRange(s.createPositionAt(h,0),d),s),p=r(u),m=zw(g.start,p.format,s),f=zw(g.start,p.remove,s);m.length&&f.length&&s.enqueueChange((e=>{if(!1!==o(e,m)){for(const t of f.reverse())e.remove(t);s.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function zw(t,e,n){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>n.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}function Ow(t,e){return(n,o)=>{if(!t.commands.get(e).isEnabled)return!1;const i=t.model.schema.getValidRanges(o,e);for(const t of i)n.setAttribute(e,!0,t);n.removeSelectionAttribute(e)}}class Lw extends zi{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,n=e.document.selection,o=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(n.isCollapsed)o?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const i=e.schema.getValidRanges(n.getRanges(),this.attributeKey);for(const e of i)o?t.setAttribute(this.attributeKey,o,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,n=t.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const t of n.getRanges())for(const n of t.getItems())if(e.checkAttribute(n,this.attributeKey))return n.hasAttribute(this.attributeKey);return!1}}const jw="bold";class Rw extends Ni{static get pluginName(){return"BoldEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:jw}),t.model.schema.setAttributeProperties(jw,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:jw,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(jw,new Lw(t,jw)),t.keystrokes.set("CTRL+B",jw)}}const Fw="bold";class Vw extends Ni{static get pluginName(){return"BoldUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(Fw,(n=>{const o=t.commands.get(Fw),i=new wg(n);return i.set({label:e("Bold"),icon:bu.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute(Fw),t.editing.view.focus()})),i}))}}var Uw=n(8603),Hw={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Uw.Z,Hw);Uw.Z.locals;const Gw="italic";class qw extends Ni{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:Gw}),t.model.schema.setAttributeProperties(Gw,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:Gw,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(Gw,new Lw(t,Gw)),t.keystrokes.set("CTRL+I",Gw)}}const Ww="italic";class Kw extends Ni{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add(Ww,(n=>{const o=t.commands.get(Ww),i=new wg(n);return i.set({label:e("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute(Ww),t.editing.view.focus()})),i}))}}class Zw extends zi{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.schema,o=e.document.selection,i=Array.from(o.getSelectedBlocks()),r=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(r){const e=i.filter((t=>Yw(t)||Qw(n,t)));this._applyQuote(t,e)}else this._removeQuote(t,i.filter(Yw))}))}_getValue(){const t=yi(this.editor.model.document.selection.getSelectedBlocks());return!(!t||!Yw(t))}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,n=yi(t.getSelectedBlocks());return!!n&&Qw(e,n)}_removeQuote(t,e){$w(t,e).reverse().forEach((e=>{if(e.start.isAtStart&&e.end.isAtEnd)return void t.unwrap(e.start.parent);if(e.start.isAtStart){const n=t.createPositionBefore(e.start.parent);return void t.move(e,n)}e.end.isAtEnd||t.split(e.end);const n=t.createPositionAfter(e.end.parent);t.move(e,n)}))}_applyQuote(t,e){const n=[];$w(t,e).reverse().forEach((e=>{let o=Yw(e.start);o||(o=t.createElement("blockQuote"),t.wrap(e,o)),n.push(o)})),n.reverse().reduce(((e,n)=>e.nextSibling==n?(t.merge(t.createPositionAfter(e)),e):n))}}function Yw(t){return"blockQuote"==t.parent.name?t.parent:null}function $w(t,e){let n,o=0;const i=[];for(;o{const o=t.model.document.differ.getChanges();for(const t of o)if("insert"==t.type){const o=t.position.nodeAfter;if(!o)continue;if(o.is("element","blockQuote")&&o.isEmpty)return n.remove(o),!0;if(o.is("element","blockQuote")&&!e.checkChild(t.position,o))return n.unwrap(o),!0;if(o.is("element")){const t=n.createRangeIn(o);for(const o of t.getItems())if(o.is("element","blockQuote")&&!e.checkChild(n.createPositionBefore(o),o))return n.unwrap(o),!0}}else if("remove"==t.type){const e=t.position.parent;if(e.is("element","blockQuote")&&e.isEmpty)return n.remove(e),!0}return!1}));const n=this.editor.editing.view.document,o=t.model.document.selection,i=t.commands.get("blockQuote");this.listenTo(n,"enter",((e,n)=>{if(!o.isCollapsed||!i.value)return;o.getLastPosition().parent.isEmpty&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"}),this.listenTo(n,"delete",((e,n)=>{if("backward"!=n.direction||!o.isCollapsed||!i.value)return;const r=o.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"})}}var Xw=n(3062),tA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Xw.Z,tA);Xw.Z.locals;class eA extends Ni{static get pluginName(){return"BlockQuoteUI"}init(){const t=this.editor,e=t.t;t.ui.componentFactory.add("blockQuote",(n=>{const o=t.commands.get("blockQuote"),i=new wg(n);return i.set({label:e("Block quote"),icon:bu.quote,tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),this.listenTo(i,"execute",(()=>{t.execute("blockQuote"),t.editing.view.focus()})),i}))}}class nA extends Ni{static get pluginName(){return"CKBoxUI"}afterInit(){const t=this.editor,e=t.commands.get("ckbox");if(!e)return;const n=t.t;if(t.ui.componentFactory.add("ckbox",(o=>{const i=new wg(o);return i.set({label:n("Open file manager"),icon:'',tooltip:!0}),i.bind("isOn","isEnabled").to(e,"value","isEnabled"),i.on("execute",(()=>{t.execute("ckbox")})),i})),t.plugins.has("ImageInsertUI")){const o=t.plugins.get("ImageInsertUI");o.registerIntegration({name:"assetManager",observable:e,buttonViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckbox");return t.icon=bu.imageAssetManager,t.bind("label").to(o,"isImageSelected",(t=>n(t?"Replace image with file manager":"Insert image with file manager"))),t},formViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckbox");return t.icon=bu.imageAssetManager,t.withText=!0,t.bind("label").to(o,"isImageSelected",(t=>n(t?"Replace with file manager":"Insert with file manager"))),t.on("execute",(()=>{o.dropdownView.isOpen=!1})),t}})}}}var oA=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],iA=t=>{let e=0;for(let n=0;n{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},sA=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(12.92*e*255+.5):Math.trunc(255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5)},aA=(t,e)=>(t=>t<0?-1:1)(t)*Math.pow(Math.abs(t),e),cA=class extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}},lA=t=>{if(!t||t.length<6)throw new cA("The blurhash string must be at least 6 characters");let e=iA(t[0]),n=Math.floor(e/9)+1,o=e%9+1;if(t.length!==4+2*o*n)throw new cA(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*o*n}`)},dA=t=>{let e=t>>8&255,n=255&t;return[rA(t>>16),rA(e),rA(n)]},hA=(t,e)=>{let n=Math.floor(t/361),o=Math.floor(t/19)%19,i=t%19;return[aA((n-9)/9,2)*e,aA((o-9)/9,2)*e,aA((i-9)/9,2)*e]},uA=(t,e,n,o)=>{lA(t),o|=1;let i=iA(t[0]),r=Math.floor(i/9)+1,s=i%9+1,a=(iA(t[1])+1)/166,c=new Array(s*r);for(let e=0;ee in t?gA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;function bA(t){const e=[];let n=0;for(const o in t){const i=parseInt(o,10);isNaN(i)||(i>n&&(n=i),e.push(`${t[o]} ${o}w`))}const o=[{srcset:e.join(","),sizes:`(max-width: ${n}px) 100vw, ${n}px`,type:"image/webp"}];return{imageFallbackUrl:t.default,imageSources:o}}const wA=32;function AA({url:t,method:e="GET",data:n,onUploadProgress:o,signal:i,authorization:r}){const s=new XMLHttpRequest;s.open(e,t.toString()),s.setRequestHeader("Authorization",r),s.setRequestHeader("CKBox-Version","CKEditor 5"),s.responseType="json";const a=()=>{s.abort()};return new Promise(((t,e)=>{i.throwIfAborted(),i.addEventListener("abort",a),s.addEventListener("loadstart",(()=>{i.addEventListener("abort",a)})),s.addEventListener("loadend",(()=>{i.removeEventListener("abort",a)})),s.addEventListener("error",(()=>{e()})),s.addEventListener("abort",(()=>{e()})),s.addEventListener("load",(()=>{const n=s.response;if(!n||n.statusCode>=400)return e(n&&n.message);t(n)})),o&&s.upload.addEventListener("progress",(t=>{o(t)})),s.send(n)}))}const CA={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};function _A(t,e){return n=this,o=null,i=function*(){try{const n=yield fetch(t,((t,e)=>{for(var n in e||(e={}))mA.call(e,n)&&kA(t,n,e[n]);if(pA)for(var n of pA(e))fA.call(e,n)&&kA(t,n,e[n]);return t})({method:"HEAD",cache:"force-cache"},e));return n.ok&&n.headers.get("content-type")||""}catch(t){return""}},new Promise(((t,e)=>{var r=t=>{try{a(i.next(t))}catch(t){e(t)}},s=t=>{try{a(i.throw(t))}catch(t){e(t)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(r,s);a((i=i.apply(n,o)).next())}));var n,o,i}var vA=Object.defineProperty,yA=Object.getOwnPropertySymbols,xA=Object.prototype.hasOwnProperty,EA=Object.prototype.propertyIsEnumerable,DA=(t,e,n)=>e in t?vA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,IA=(t,e)=>{for(var n in e||(e={}))xA.call(e,n)&&DA(t,n,e[n]);if(yA)for(var n of yA(e))EA.call(e,n)&&DA(t,n,e[n]);return t};class SA extends zi{constructor(t){super(t),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");return!(!t.isEnabled&&!e.isEnabled)}_prepareOptions(){const t=this.editor.config.get("ckbox");return{theme:t.theme,language:t.language,tokenUrl:t.tokenUrl,serviceOrigin:t.serviceOrigin,forceDemoLabel:t.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:t=>this.fire("ckbox:choose",t)}}}_initListeners(){const t=this.editor,e=t.model,n=!t.config.get("ckbox.ignoreDataId");this.on("ckbox",(()=>{this.refresh()}),{priority:"low"}),this.on("ckbox:open",(()=>{this.isEnabled&&!this.value&&(this._wrapper=pt(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))})),this.on("ckbox:close",(()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,t.editing.view.focus())})),this.on("ckbox:choose",((o,i)=>{if(!this.isEnabled)return;const r=t.commands.get("insertImage"),s=t.commands.get("link"),a=function({assets:t,isImageAllowed:e,isLinkAllowed:n}){return t.map((t=>function(t){const e=t.data.metadata;if(!e)return!1;return e.width&&e.height}(t)?{id:t.data.id,type:"image",attributes:TA(t)}:{id:t.data.id,type:"link",attributes:MA(t)})).filter((t=>"image"===t.type?e:n))}({assets:i,isImageAllowed:r.isEnabled,isLinkAllowed:s.isEnabled}),c=a.length;0!==c&&(e.change((t=>{for(const e of a){const o=e===a[c-1],i=1===c;this._insertAsset(e,o,t,i),n&&(setTimeout((()=>this._chosenAssets.delete(e)),1e3),this._chosenAssets.add(e))}})),t.editing.view.focus())})),this.listenTo(t,"destroy",(()=>{this.fire("ckbox:close"),this._chosenAssets.clear()}))}_insertAsset(t,e,n,o){const i=this.editor.model.document.selection;n.removeSelectionAttribute("linkHref"),"image"===t.type?this._insertImage(t):this._insertLink(t,n,o),e||n.setSelection(i.getLastPosition())}_insertImage(t){const e=this.editor,{imageFallbackUrl:n,imageSources:o,imageTextAlternative:i,imageWidth:r,imageHeight:s,imagePlaceholder:a}=t.attributes;e.execute("insertImage",{source:IA({src:n,sources:o,alt:i,width:r,height:s},a?{placeholder:a}:null)})}_insertLink(t,e,n){const o=this.editor,i=o.model,r=i.document.selection,{linkName:s,linkHref:a}=t.attributes;if(r.isCollapsed){const t=Di(r.getAttributes()),c=e.createText(s,t);if(!n){const t=r.getLastPosition(),n=t.parent;"paragraph"===n.name&&n.isEmpty||o.execute("insertParagraph",{position:t});const s=i.insertContent(c);return e.setSelection(s),void o.execute("link",a)}const l=i.insertContent(c);e.setSelection(l)}o.execute("link",a)}}function TA(t){const{imageFallbackUrl:e,imageSources:n}=bA(t.data.imageUrls),{description:o,width:i,height:r,blurHash:s}=t.data.metadata,a=function(t){if(t)try{const e=`${wA}px`,n=document.createElement("canvas");n.setAttribute("width",e),n.setAttribute("height",e);const o=n.getContext("2d");if(!o)return;const i=o.createImageData(wA,wA),r=uA(t,wA,wA);return i.data.set(r),o.putImageData(i,0,0),n.toDataURL()}catch(t){return}}(s);return IA({imageFallbackUrl:e,imageSources:n,imageTextAlternative:o||"",imageWidth:i,imageHeight:r},a?{imagePlaceholder:a}:null)}function MA(t){return{linkName:t.data.name,linkHref:BA(t)}}function BA(t){const e=new URL(t.data.url);return e.searchParams.set("download","true"),e.toString()}var NA=(t,e,n)=>new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));class PA extends Ni{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return NA(this,null,(function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;t.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:t.locale.uiLanguage,theme:"lark",tokenUrl:t.config.get("cloudServices.tokenUrl")});const o=t.plugins.get("CloudServices"),i=t.config.get("cloudServices.tokenUrl"),r=t.config.get("ckbox.tokenUrl");if(!r)throw new k("ckbox-plugin-missing-token-url",this);this._token=r==i?o.token:yield o.registerTokenUrl(r)}))}getToken(){return this._token}getWorkspaceId(){const t=(0,this.editor.t)("Cannot access default workspace."),e=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),n=function(t,e){const[,n]=t.value.split("."),o=JSON.parse(atob(n)),i=o.auth&&o.auth.ckbox&&o.auth.ckbox.workspaces||[o.aud];return e?"superadmin"==(o.auth&&o.auth.ckbox&&o.auth.ckbox.role)||i.includes(e)?e:null:i[0]}(this._token,e);if(null==n)throw w("ckbox-access-default-workspace-error"),t;return n}getCategoryIdForFile(t,e){return NA(this,null,(function*(){const n=(0,this.editor.t)("Cannot determine a category for the uploaded file."),o=this.editor.config.get("ckbox.defaultUploadCategories"),i=this._getAvailableCategories(e),r="string"==typeof t?(s=yield _A(t,e),CA[s]):function(t){const e=t.name,n=new RegExp("\\.(?[^.]+)$");return e.match(n).groups.ext.toLowerCase()}(t);var s;const a=yield i;if(!a)throw n;if(o){const t=Object.keys(o).find((t=>o[t].find((t=>t.toLowerCase()==r))));if(t){const e=a.find((e=>e.id===t||e.name===t));if(!e)throw n;return e.id}}const c=a.find((t=>t.extensions.find((t=>t.toLowerCase()==r))));if(!c)throw n;return c.id}))}_getAvailableCategories(t){return NA(this,null,(function*(){const e=this.editor,n=this._token,{signal:o}=t,i=e.config.get("ckbox.serviceOrigin"),r=this.getWorkspaceId();try{const t=[];let e,n=0;do{const o=yield s(n);t.push(...o.items),e=o.totalCount-(n+50),n+=50}while(e>0);return t}catch(t){return o.throwIfAborted(),void w("ckbox-fetch-category-http-error")}function s(t){const e=new URL("categories",i);return e.searchParams.set("limit",50..toString()),e.searchParams.set("offset",t.toString()),e.searchParams.set("workspaceId",r),AA({url:e,signal:o,authorization:n.value})}}))}}var zA=(t,e,n)=>new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));class OA extends Ni{static get requires(){return["ImageUploadEditing","ImageUploadProgress",xw,jA]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return zA(this,null,(function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;const o=t.plugins.get(xw),i=t.plugins.get(PA);o.createUploadAdapter=e=>new LA(e,t,i);const r=!t.config.get("ckbox.ignoreDataId"),s=t.plugins.get("ImageUploadEditing");r&&s.on("uploadComplete",((e,{imageElement:n,data:o})=>{t.model.change((t=>{t.setAttribute("ckboxImageId",o.ckboxImageId,n)}))}))}))}}class LA{constructor(t,e,n){this.loader=t,this.token=n.getToken(),this.ckboxUtils=n,this.editor=e,this.controller=new AbortController,this.serviceOrigin=e.config.get("ckbox.serviceOrigin")}upload(){return zA(this,null,(function*(){const t=this.ckboxUtils,e=this.editor.t,n=yield this.loader.file,o=yield t.getCategoryIdForFile(n,{signal:this.controller.signal}),i=new URL("assets",this.serviceOrigin),r=new FormData;i.searchParams.set("workspaceId",t.getWorkspaceId()),r.append("categoryId",o),r.append("file",n);return AA({method:"POST",url:i,data:r,onUploadProgress:t=>{t.lengthComputable&&(this.loader.uploadTotal=t.total,this.loader.uploaded=t.loaded)},signal:this.controller.signal,authorization:this.token.value}).then((t=>zA(this,null,(function*(){const e=bA(t.imageUrls);return{ckboxImageId:t.id,default:e.imageFallbackUrl,sources:e.imageSources}})))).catch((()=>{const t=e("Cannot upload file:")+` ${n.name}.`;return Promise.reject(t)}))}))}abort(){this.controller.abort()}}class jA extends Ni{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",OA,PA]}init(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;(e||n)&&(this._checkImagePlugins(),t.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()),n&&t.commands.add("ckbox",new SA(t)))}_checkImagePlugins(){const t=this.editor;t.plugins.has("ImageBlockEditing")||t.plugins.has("ImageInlineEditing")||w("ckbox-plugin-image-feature-missing",t)}_initSchema(){const t=this.editor.model.schema;t.extend("$text",{allowAttributes:"ckboxLinkId"}),t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.addAttributeCheck(((t,e)=>{if(!!!t.last.getAttribute("linkHref")&&"ckboxLinkId"===e)return!1}))}_initConversion(){const t=this.editor;t.conversion.for("downcast").add((t=>{t.on("attribute:ckboxLinkId:imageBlock",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(!r.consume(e.item,t.name))return;const s=[...i.toViewElement(e.item).getChildren()].find((t=>"a"===t.name));s&&(e.item.hasAttribute("ckboxLinkId")?o.setAttribute("data-ckbox-resource-id",e.item.getAttribute("ckboxLinkId"),s):o.removeAttribute("data-ckbox-resource-id",s))}),{priority:"low"}),t.on("attribute:ckboxLinkId",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(r.consume(e.item,t.name)){if(e.attributeOldValue){const t=FA(o,e.attributeOldValue);o.unwrap(i.toViewRange(e.range),t)}if(e.attributeNewValue){const t=FA(o,e.attributeNewValue);if(e.item.is("selection")){const e=o.document.selection;o.wrap(e.getFirstRange(),t)}else o.wrap(i.toViewRange(e.range),t)}}}),{priority:"low"})})),t.conversion.for("upcast").add((t=>{t.on("element:a",((t,e,n)=>{const{writer:o,consumable:i}=n;if(!e.viewItem.getAttribute("href"))return;if(!i.consume(e.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const r=e.viewItem.getAttribute("data-ckbox-resource-id");if(r)if(e.modelRange)for(let t of e.modelRange.getItems())t.is("$textProxy")&&(t=t.textNode),VA(t)&&o.setAttribute("ckboxLinkId",r,t);else{const t=e.modelCursor.nodeBefore||e.modelCursor.parent;o.setAttribute("ckboxLinkId",r,t)}}),{priority:"low"})})),t.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),t.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:t=>t.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const e=t.commands.get("replaceImageSource");e&&this.listenTo(e,"cleanupImage",((t,[e,n])=>{e.removeAttribute("ckboxImageId",n)}))}_initFixers(){const t=this.editor,e=t.model,n=e.document.selection;e.document.registerPostFixer(function(t){return e=>{let n=!1;const o=t.model,i=t.commands.get("ckbox");if(!i)return n;for(const t of o.document.differ.getChanges()){if("insert"!==t.type&&"attribute"!==t.type)continue;const o="insert"===t.type?new Bc(t.position,t.position.getShiftedBy(t.length)):t.range,r="attribute"===t.type&&"linkHref"===t.attributeKey&&null===t.attributeNewValue;for(const t of o.getItems()){if(r&&t.hasAttribute("ckboxLinkId")){e.removeAttribute("ckboxLinkId",t),n=!0;continue}const o=RA(t,i._chosenAssets);for(const i of o){const o="image"===i.type?"ckboxImageId":"ckboxLinkId";i.id!==t.getAttribute(o)&&(e.setAttribute(o,i.id,t),n=!0)}}}return n}}(t)),e.document.registerPostFixer(function(t){return e=>!(t.hasAttribute("linkHref")||!t.hasAttribute("ckboxLinkId"))&&(e.removeSelectionAttribute("ckboxLinkId"),!0)}(n))}}function RA(t,e){const n=t.is("element","imageInline")||t.is("element","imageBlock"),o=t.hasAttribute("linkHref");return[...e].filter((e=>"image"===e.type&&n?e.attributes.imageFallbackUrl===t.getAttribute("src"):"link"===e.type&&o?e.attributes.linkHref===t.getAttribute("linkHref"):void 0))}function FA(t,e){const n=t.createAttributeElement("a",{"data-ckbox-resource-id":e},{priority:5});return t.setCustomProperty("link",!0,n),n}function VA(t){return!!t.is("$text")||!(!t.is("element","imageInline")&&!t.is("element","imageBlock"))}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var UA=n(443),HA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(UA.Z,HA);UA.Z.locals;class GA extends Ni{static get pluginName(){return"CKFinderUI"}init(){const t=this.editor,e=t.ui.componentFactory,n=t.t;if(e.add("ckfinder",(e=>{const o=t.commands.get("ckfinder"),i=new wg(e);return i.set({label:n("Insert image or file"),icon:'',tooltip:!0}),i.bind("isEnabled").to(o),i.on("execute",(()=>{t.execute("ckfinder"),t.editing.view.focus()})),i})),t.plugins.has("ImageInsertUI")){const e=t.plugins.get("ImageInsertUI"),o=t.commands.get("ckfinder");e.registerIntegration({name:"assetManager",observable:o,buttonViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckfinder");return t.icon=bu.imageAssetManager,t.bind("label").to(e,"isImageSelected",(t=>n(t?"Replace image with file manager":"Insert image with file manager"))),t},formViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckfinder");return t.icon=bu.imageAssetManager,t.withText=!0,t.bind("label").to(e,"isImageSelected",(t=>n(t?"Replace with file manager":"Insert with file manager"))),t.on("execute",(()=>{e.dropdownView.isOpen=!1})),t}})}}}class qA extends zi{constructor(t){super(t),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");this.isEnabled=t.isEnabled||e.isEnabled}execute(){const t=this.editor,e=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=e&&"modal"!=e)throw new k("ckfinder-unknown-openermethod",t);const n=this.editor.config.get("ckfinder.options")||{};n.chooseFiles=!0;const o=n.onInit;n.language||(n.language=t.locale.uiLanguage),n.onInit=e=>{o&&o(e),e.on("files:choose",(n=>{const o=n.data.files.toArray(),i=o.filter((t=>!t.isImage())),r=o.filter((t=>t.isImage()));for(const e of i)t.execute("link",e.getUrl());const s=[];for(const t of r){const n=t.getUrl();s.push(n||e.request("file:getProxyUrl",{file:t}))}s.length&&WA(t,s)})),e.on("file:choose:resizedImage",(e=>{const n=e.data.resizedUrl;if(n)WA(t,[n]);else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not obtain resized image URL."),{title:n("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[e](n)}}function WA(t,e){if(t.commands.get("insertImage").isEnabled)t.execute("insertImage",{source:e});else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not insert image at the current position."),{title:n("Inserting image failed"),namespace:"ckfinder"})}}class KA extends Ni{static get pluginName(){return"CKFinderEditing"}static get requires(){return[uf,"LinkEditing"]}init(){const t=this.editor;if(!t.plugins.has("ImageBlockEditing")&&!t.plugins.has("ImageInlineEditing"))throw new k("ckfinder-missing-image-plugin",t);t.commands.add("ckfinder",new qA(t))}}class ZA extends Ni{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",xw]}init(){const t=this.editor,e=t.plugins.get("CloudServices"),n=e.token,o=e.uploadUrl;if(!n)return;const i=t.plugins.get("CloudServicesCore");this._uploadGateway=i.createUploadGateway(n,o),t.plugins.get(xw).createUploadAdapter=t=>new YA(this._uploadGateway,t)}}class YA{constructor(t,e){this.uploadGateway=t,this.loader=e}upload(){return this.loader.file.then((t=>(this.fileUploader=this.uploadGateway.upload(t),this.fileUploader.on("progress",((t,e)=>{this.loader.uploadTotal=e.total,this.loader.uploaded=e.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class $A extends zi{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}refresh(){const t=this.editor.model,e=yi(t.document.selection.getSelectedBlocks());this.value=!!e&&e.is("element","paragraph"),this.isEnabled=!!e&&QA(e,t.schema)}execute(t={}){const e=this.editor.model,n=e.document,o=t.selection||n.selection;e.canEditAt(o)&&e.change((t=>{const n=o.getSelectedBlocks();for(const o of n)!o.is("element","paragraph")&&QA(o,e.schema)&&t.rename(o,"paragraph")}))}}function QA(t,e){return e.checkChild(t.parent,"paragraph")&&!e.isObject(t)}class JA extends zi{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}execute(t){const e=this.editor.model,n=t.attributes;let o=t.position;e.canEditAt(o)&&e.change((t=>{if(o=this._findPositionToInsertParagraph(o,t),!o)return;const i=t.createElement("paragraph");n&&e.schema.setAllowedAttributes(i,n,t),e.insertContent(i,o),t.setSelection(i,"in")}))}_findPositionToInsertParagraph(t,e){const n=this.editor.model;if(n.schema.checkChild(t,"paragraph"))return t;const o=n.schema.findAllowedParent(t,"paragraph");if(!o)return null;const i=t.parent,r=n.schema.checkChild(i,"$text");return i.isEmpty||r&&t.isAtEnd?n.createPositionAfter(i):!i.isEmpty&&r&&t.isAtStart?n.createPositionBefore(i):e.split(t,o).position}}const XA=class extends Ni{static get pluginName(){return"Paragraph"}init(){const t=this.editor,e=t.model;t.commands.add("paragraph",new $A(t)),t.commands.add("insertParagraph",new JA(t)),e.schema.register("paragraph",{inheritAllFrom:"$block"}),t.conversion.elementToElement({model:"paragraph",view:"p"}),t.conversion.for("upcast").elementToElement({model:(t,{writer:e})=>XA.paragraphLikeElements.has(t.name)?t.isEmpty?null:e.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let tC=XA;tC.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class eC extends zi{constructor(t,e){super(t),this.modelElements=e}refresh(){const t=yi(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name,this.isEnabled=!!t&&this.modelElements.some((e=>nC(t,e,this.editor.model.schema)))}execute(t){const e=this.editor.model,n=e.document,o=t.value;e.change((t=>{const i=Array.from(n.selection.getSelectedBlocks()).filter((t=>nC(t,o,e.schema)));for(const e of i)e.is("element",o)||t.rename(e,o)}))}}function nC(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t)}const oC="paragraph";class iC extends Ni{static get pluginName(){return"HeadingEditing"}constructor(t){super(t),t.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[tC]}init(){const t=this.editor,e=t.config.get("heading.options"),n=[];for(const o of e)"paragraph"!==o.model&&(t.model.schema.register(o.model,{inheritAllFrom:"$block"}),t.conversion.elementToElement(o),n.push(o.model));this._addDefaultH1Conversion(t),t.commands.add("heading",new eC(t,n))}afterInit(){const t=this.editor,e=t.commands.get("enter"),n=t.config.get("heading.options");e&&this.listenTo(e,"afterExecute",((e,o)=>{const i=t.model.document.selection.getFirstPosition().parent;n.some((t=>i.is("element",t.model)))&&!i.is("element",oC)&&0===i.childCount&&o.writer.rename(i,oC)}))}_addDefaultH1Conversion(t){t.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:p.low+1})}}var rC=n(8733),sC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(rC.Z,sC);rC.Z.locals;class aC extends Ni{static get pluginName(){return"HeadingUI"}init(){const t=this.editor,e=t.t,n=function(t){const e=t.t,n={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 t.config.get("heading.options").map((t=>{const e=n[t.title];return e&&e!=t.title&&(t.title=e),t}))}(t),o=e("Choose heading"),i=e("Heading");t.ui.componentFactory.add("heading",(e=>{const r={},s=new vi,a=t.commands.get("heading"),c=t.commands.get("paragraph"),l=[a];for(const t of n){const e={type:"button",model:new gf({label:t.title,class:t.class,role:"menuitemradio",withText:!0})};"paragraph"===t.model?(e.model.bind("isOn").to(c,"value"),e.model.set("commandName","paragraph"),l.push(c)):(e.model.bind("isOn").to(a,"value",(e=>e===t.model)),e.model.set({commandName:"heading",commandValue:t.model})),s.add(e),r[t.model]=t.title}const d=vp(e);return Ep(d,s,{ariaLabel:i,role:"menu"}),d.buttonView.set({ariaLabel:i,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:i}),d.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),d.bind("isEnabled").toMany(l,"isEnabled",((...t)=>t.some((t=>t)))),d.buttonView.bind("label").to(a,"value",c,"value",((t,e)=>{const n=t||e&&"paragraph";return"boolean"==typeof n?o:r[n]?r[n]:o})),this.listenTo(d,"execute",(e=>{const{commandName:n,commandValue:o}=e.source;t.execute(n,o?{value:o}:void 0),t.editing.view.focus()})),d}))}}function cC(t){return t.createContainerElement("figure",{class:"image"},[t.createEmptyElement("img"),t.createSlot("children")])}function lC(t,e){const n=t.plugins.get("ImageUtils"),o=t.plugins.has("ImageInlineEditing")&&t.plugins.has("ImageBlockEditing");return t=>{if(!n.isInlineImageView(t))return null;if(!o)return i(t);return("block"==t.getStyle("display")||t.findAncestor(n.isBlockImageView)?"imageBlock":"imageInline")!==e?null:i(t)};function i(t){const e={name:!0};return t.hasAttribute("src")&&(e.attributes=["src"]),e}}function dC(t,e){const n=yi(e.getSelectedBlocks());return!n||t.isObject(n)||n.isEmpty&&"listItem"!=n.name?"imageBlock":"imageInline"}function hC(t){return t&&t.endsWith("px")?parseInt(t):null}function uC(t){const e=hC(t.getStyle("width")),n=hC(t.getStyle("height"));return!(!e||!n)}var gC=Object.defineProperty,pC=Object.getOwnPropertySymbols,mC=Object.prototype.hasOwnProperty,fC=Object.prototype.propertyIsEnumerable,kC=(t,e,n)=>e in t?gC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,bC=(t,e)=>{for(var n in e||(e={}))mC.call(e,n)&&kC(t,n,e[n]);if(pC)for(var n of pC(e))fC.call(e,n)&&kC(t,n,e[n]);return t};const wC=/^(image|image-inline)$/;class AC extends Ni{constructor(){super(...arguments),this._domEmitter=new(Do())}static get pluginName(){return"ImageUtils"}isImage(t){return this.isInlineImage(t)||this.isBlockImage(t)}isInlineImageView(t){return!!t&&t.is("element","img")}isBlockImageView(t){return!!t&&t.is("element","figure")&&t.hasClass("image")}insertImage(t={},e=null,n=null,o={}){const i=this.editor,r=i.model,s=r.document.selection,a=CC(i,e||s,n);t=bC(bC({},Object.fromEntries(s.getAttributes())),t);for(const e in t)r.schema.checkAttribute(a,e)||delete t[e];return r.change((n=>{const{setImageSizes:i=!0}=o,s=n.createElement(a,t);return r.insertObject(s,e,null,{setSelection:"on",findOptimalPosition:e||"imageInline"==a?void 0:"auto"}),s.parent?(i&&this.setImageNaturalSizeAttributes(s),s):null}))}setImageNaturalSizeAttributes(t){const e=t.getAttribute("src");e&&(t.getAttribute("width")||t.getAttribute("height")||this.editor.model.change((n=>{const o=new Mo.window.Image;this._domEmitter.listenTo(o,"load",(()=>{t.getAttribute("width")||t.getAttribute("height")||this.editor.model.enqueueChange(n.batch,(e=>{e.setAttribute("width",o.naturalWidth,t),e.setAttribute("height",o.naturalHeight,t)})),this._domEmitter.stopListening(o,"load")})),o.src=e})))}getClosestSelectedImageWidget(t){const e=t.getFirstPosition();if(!e)return null;const n=t.getSelectedElement();if(n&&this.isImageWidget(n))return n;let o=e.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(t){const e=t.getSelectedElement();return this.isImage(e)?e:t.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(t){return t.findAncestor({classes:wC})}isImageAllowed(){const t=this.editor.model.document.selection;return function(t,e){const n=CC(t,e,null);if("imageBlock"==n){const n=function(t,e){const n=db(t,e),o=n.start.parent;if(o.isEmpty&&!o.is("element","$root"))return o.parent;return o}(e,t.model);if(t.model.schema.checkChild(n,"imageBlock"))return!0}else if(t.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}(this.editor,t)&&function(t){return[...t.focus.getAncestors()].every((t=>!t.is("element","imageBlock")))}(t)}toImageWidget(t,e,n){e.setCustomProperty("image",!0,t);return rb(t,e,{label:()=>{const e=this.findViewImgElement(t).getAttribute("alt");return e?`${e} ${n}`:n}})}isImageWidget(t){return!!t.getCustomProperty("image")&&ib(t)}isBlockImage(t){return!!t&&t.is("element","imageBlock")}isInlineImage(t){return!!t&&t.is("element","imageInline")}findViewImgElement(t){if(this.isInlineImageView(t))return t;const e=this.editor.editing.view;for(const{item:n}of e.createRangeIn(t))if(this.isInlineImageView(n))return n}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function CC(t,e,n){const o=t.model.schema,i=t.config.get("image.insert.type");return t.plugins.has("ImageBlockEditing")?t.plugins.has("ImageInlineEditing")?n||("inline"===i?"imageInline":"auto"!==i?"imageBlock":e.is("selection")?dC(o,e):o.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class _C extends zi{refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled&&t.hasAttribute("alt")?this.value=t.getAttribute("alt"):this.value=!1}execute(t){const e=this.editor,n=e.plugins.get("ImageUtils"),o=e.model,i=n.getClosestSelectedImageElement(o.document.selection);o.change((e=>{e.setAttribute("alt",t.newValue,i)}))}}class vC extends Ni{static get requires(){return[AC]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new _C(this.editor))}}var yC=n(1905),xC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(yC.Z,xC);yC.Z.locals;var EC=n(6764),DC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(EC.Z,DC);EC.Z.locals;class IC extends Hu{constructor(t){super(t);const e=this.locale.t;this.focusTracker=new xi,this.keystrokes=new Ei,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(e("Save"),bu.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(e("Cancel"),bu.cancel,"ck-button-cancel","cancel"),this._focusables=new Fu,this._focusCycler=new qg({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),Ru({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(t,e,n,o){const i=new wg(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createLabeledInputView(){const t=this.locale.t,e=new Tg(this.locale,Tp);return e.label=t("Text alternative"),e}}function SC(t){const e=t.editing.view,n=ym.defaultPositions,o=t.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(o.getClosestSelectedImageWidget(e.document.selection)),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast,n.viewportStickyNorth]}}class TC extends Ni{static get requires(){return[wf]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const t=this.editor,e=t.t;t.ui.componentFactory.add("imageTextAlternative",(n=>{const o=t.commands.get("imageTextAlternative"),i=new wg(n);return i.set({label:e("Change image text alternative"),icon:bu.textAlternative,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>!!t)),this.listenTo(i,"execute",(()=>{this._showForm()})),i}))}_createForm(){const t=this.editor,e=t.editing.view.document,n=t.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(ju(IC))(t.locale),this._form.render(),this.listenTo(this._form,"submit",(()=>{t.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((t,e)=>{this._hideForm(!0),e()})),this.listenTo(t.ui,"update",(()=>{n.getClosestSelectedImageWidget(e.selection)?this._isVisible&&function(t){const e=t.plugins.get("ContextualBalloon");if(t.plugins.get("ImageUtils").getClosestSelectedImageWidget(t.editing.view.document.selection)){const n=SC(t);e.updatePosition(n)}}(t):this._hideForm(!0)})),Lu({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const t=this.editor,e=t.commands.get("imageTextAlternative"),n=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:SC(t)}),n.fieldView.value=n.fieldView.element.value=e.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(t=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),t&&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 MC extends Ni{static get requires(){return[vC,TC]}static get pluginName(){return"ImageTextAlternative"}}function BC(t,e){const n=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);null===n.attributeNewValue?(i.removeAttribute("srcset",s),i.removeAttribute("sizes",s)):n.attributeNewValue&&(i.setAttribute("srcset",n.attributeNewValue,s),i.setAttribute("sizes","100vw",s))};return t=>{t.on(`attribute:srcset:${e}`,n)}}function NC(t,e,n){const o=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);i.setAttribute(n.attributeKey,n.attributeNewValue||"",s)};return t=>{t.on(`attribute:${n}:${e}`,o)}}class PC extends Aa{observe(t){this.listenTo(t,"load",((t,e)=>{const n=e.target;this.checkShouldIgnoreEventFromTarget(n)||"IMG"==n.tagName&&this._fireEvents(e)}),{useCapture:!0})}stopObserving(t){this.stopListening(t)}_fireEvents(t){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",t))}}var zC=Object.defineProperty,OC=Object.getOwnPropertySymbols,LC=Object.prototype.hasOwnProperty,jC=Object.prototype.propertyIsEnumerable,RC=(t,e,n)=>e in t?zC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,FC=(t,e)=>{for(var n in e||(e={}))LC.call(e,n)&&RC(t,n,e[n]);if(OC)for(var n of OC(e))jC.call(e,n)&&RC(t,n,e[n]);return t};class VC extends zi{constructor(t){super(t);const e=t.config.get("image.insert.type");t.plugins.has("ImageBlockEditing")||"block"===e&&b("image-block-plugin-required"),t.plugins.has("ImageInlineEditing")||"inline"===e&&b("image-inline-plugin-required")}refresh(){const t=this.editor.plugins.get("ImageUtils");this.isEnabled=t.isImageAllowed()}execute(t){const e=bi(t.source),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if("string"==typeof t&&(t={src:t}),e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);o.insertImage(FC(FC({},t),i),e)}else o.insertImage(FC(FC({},t),i))}))}}class UC extends zi{constructor(t){super(t),this.decorate("cleanupImage")}refresh(){const t=this.editor.plugins.get("ImageUtils"),e=this.editor.model.document.selection.getSelectedElement();this.isEnabled=t.isImage(e),this.value=this.isEnabled?e.getAttribute("src"):null}execute(t){const e=this.editor.model.document.selection.getSelectedElement(),n=this.editor.plugins.get("ImageUtils");this.editor.model.change((o=>{o.setAttribute("src",t.source,e),this.cleanupImage(o,e),n.setImageNaturalSizeAttributes(e)}))}cleanupImage(t,e){t.removeAttribute("srcset",e),t.removeAttribute("sizes",e),t.removeAttribute("sources",e),t.removeAttribute("width",e),t.removeAttribute("height",e),t.removeAttribute("alt",e)}}class HC extends Ni{static get requires(){return[AC]}static get pluginName(){return"ImageEditing"}init(){const t=this.editor,e=t.conversion;t.editing.view.addObserver(PC),e.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const n=new VC(t),o=new UC(t);t.commands.add("insertImage",n),t.commands.add("replaceImageSource",o),t.commands.add("imageInsert",n)}}class GC extends Ni{static get requires(){return[AC]}static get pluginName(){return"ImageSizeAttributes"}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(t){const e=this.editor,n=e.plugins.get("ImageUtils"),o="imageBlock"===t?"figure":"img";function i(e,o,i,r){e.on(`attribute:${o}:${t}`,((e,o,s)=>{if(!s.consumable.consume(o.item,e.name))return;const a=s.writer,c=s.mapper.toViewElement(o.item),l=n.findViewImgElement(c);if(null!==o.attributeNewValue?a.setAttribute(i,o.attributeNewValue,l):a.removeAttribute(i,l),o.item.hasAttribute("sources"))return;const d=o.item.hasAttribute("resizedWidth");if("imageInline"===t&&!d&&!r)return;const h=o.item.getAttribute("width"),u=o.item.getAttribute("height");h&&u&&a.setStyle("aspect-ratio",`${h}/${u}`,l)}))}e.conversion.for("upcast").attributeToAttribute({view:{name:o,styles:{width:/.+/}},model:{key:"width",value:t=>uC(t)?hC(t.getStyle("width")):null}}).attributeToAttribute({view:{name:o,key:"width"},model:"width"}).attributeToAttribute({view:{name:o,styles:{height:/.+/}},model:{key:"height",value:t=>uC(t)?hC(t.getStyle("height")):null}}).attributeToAttribute({view:{name:o,key:"height"},model:"height"}),e.conversion.for("editingDowncast").add((t=>{i(t,"width","width",!0),i(t,"height","height",!0)})),e.conversion.for("dataDowncast").add((t=>{i(t,"width","width",!1),i(t,"height","height",!1)}))}}class qC extends zi{constructor(t,e){super(t),this._modelElementName=e}refresh(){const t=this.editor.plugins.get("ImageUtils"),e=t.getClosestSelectedImageElement(this.editor.model.document.selection);"imageBlock"===this._modelElementName?this.isEnabled=t.isInlineImage(e):this.isEnabled=t.isBlockImage(e)}execute(t={}){const e=this.editor,n=this.editor.model,o=e.plugins.get("ImageUtils"),i=o.getClosestSelectedImageElement(n.document.selection),r=Object.fromEntries(i.getAttributes());return r.src||r.uploadId?n.change((e=>{const{setImageSizes:s=!0}=t,a=Array.from(n.markers).filter((t=>t.getRange().containsItem(i))),c=o.insertImage(r,n.createSelection(i,"on"),this._modelElementName,{setImageSizes:s});if(!c)return null;const l=e.createRangeOn(c);for(const t of a){const n=t.getRange(),o="$graveyard"!=n.root.rootName?n.getJoined(l,!0):l;e.updateMarker(t,{range:o})}return{oldElement:i,newElement:c}})):null}}var WC=n(2873),KC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(WC.Z,KC);WC.Z.locals;class ZC extends Ni{static get requires(){return[AC]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const t=this.editor.model.schema;t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["placeholder"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const t=this.editor,e=t.conversion,n=t.plugins.get("ImageUtils");e.for("editingDowncast").add((t=>{t.on("attribute:placeholder",((t,e,o)=>{if(!o.consumable.test(e.item,t.name))return;if(!e.item.is("element","imageBlock")&&!e.item.is("element","imageInline"))return;o.consumable.consume(e.item,t.name);const i=o.writer,r=o.mapper.toViewElement(e.item),s=n.findViewImgElement(r);e.attributeNewValue?(i.addClass("image_placeholder",s),i.setStyle("background-image",`url(${e.attributeNewValue})`,s),i.setCustomProperty("editingPipeline:doNotReuseOnce",!0,s)):(i.removeClass("image_placeholder",s),i.removeStyle("background-image",s))}))}))}_setupLoadListener(){const t=this.editor,e=t.model,n=t.editing,o=n.view,i=t.plugins.get("ImageUtils");o.addObserver(PC),this.listenTo(o.document,"imageLoaded",((t,r)=>{const s=o.domConverter.mapDomToView(r.target);if(!s)return;const a=i.getImageWidgetFromImageView(s);if(!a)return;const c=n.mapper.toModelElement(a);c&&c.hasAttribute("placeholder")&&e.enqueueChange({isUndoable:!1},(t=>{t.removeAttribute("placeholder",c)}))}))}}class YC extends Ni{static get requires(){return[HC,GC,AC,ZC,ak]}static get pluginName(){return"ImageBlockEditing"}init(){const t=this.editor;t.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),t.plugins.has("ImageInlineEditing")&&(t.commands.add("imageTypeBlock",new qC(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:e})=>cC(e)}),n.for("editingDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:n})=>o.toImageWidget(cC(n),n,e("image widget"))}),n.for("downcast").add(NC(o,"imageBlock","src")).add(NC(o,"imageBlock","alt")).add(BC(o,"imageBlock")),n.for("upcast").elementToElement({view:lC(t,"imageBlock"),model:(t,{writer:e})=>e.createElement("imageBlock",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)}).add(function(t){const e=(e,n,o)=>{if(!o.consumable.test(n.viewItem,{name:!0,classes:"image"}))return;const i=t.findViewImgElement(n.viewItem);if(!i||!o.consumable.test(i,{name:!0}))return;o.consumable.consume(n.viewItem,{name:!0,classes:"image"});const r=yi(o.convertItem(i,n.modelCursor).modelRange.getItems());r?(o.convertChildren(n.viewItem,r),o.updateConversionResult(r,n)):o.consumable.revert(n.viewItem,{name:!0,classes:"image"})};return t=>{t.on("element:figure",e)}}(o))}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isInlineImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageBlock"===dC(e.schema,c)){const t=new uu(n.document),e=s.map((e=>t.createElement("figure",{class:"image"},e)));r.content=t.createDocumentFragment(e)}})),this.listenTo(i,"contentInsertion",((t,n)=>{"paste"===n.method&&e.change((t=>{const e=t.createRangeIn(n.content);for(const t of e.getItems())t.is("element","imageBlock")&&o.setImageNaturalSizeAttributes(t)}))}))}}var $C=n(3535),QC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()($C.Z,QC);$C.Z.locals;class JC extends Hu{constructor(t,e=[]){super(t),this.focusTracker=new xi,this.keystrokes=new Ei,this._focusables=new Fu,this.children=this.createCollection(),this._focusCycler=new qg({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const t of e)this.children.add(t),this._focusables.add(t),t instanceof Wf&&this._focusables.addMany(t.children);if(this._focusables.length>1)for(const t of this._focusables)XC(t)&&(t.focusCycler.on("forwardCycle",(t=>{this._focusCycler.focusNext(),t.stop()})),t.focusCycler.on("backwardCycle",(t=>{this._focusCycler.focusPrevious(),t.stop()})));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),Ru({view:this});for(const t of this._focusables)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function XC(t){return"focusCycler"in t}class t_ extends Ni{constructor(t){super(t),this._integrations=new Map,t.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[AC]}init(){const t=this.editor,e=t.model.document.selection,n=t.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(t.model.document,"change",(()=>{this.isImageSelected=n.isImage(e.getSelectedElement())}));const o=t=>this._createToolbarComponent(t);t.ui.componentFactory.add("insertImage",o),t.ui.componentFactory.add("imageInsert",o)}registerIntegration({name:t,observable:e,buttonViewCreator:n,formViewCreator:o,requiresForm:i}){this._integrations.has(t)&&b("image-insert-integration-exists",{name:t}),this._integrations.set(t,{observable:e,buttonViewCreator:n,formViewCreator:o,requiresForm:!!i})}_createToolbarComponent(t){const e=this.editor,n=t.t,o=this._prepareIntegrations();if(!o.length)return null;let i;const r=o[0];if(1==o.length){if(!r.requiresForm)return r.buttonViewCreator(!0);i=r.buttonViewCreator(!0)}else{const e=r.buttonViewCreator(!1);i=new bp(t,e),i.tooltip=!0,i.bind("label").to(this,"isImageSelected",(t=>n(t?"Replace image":"Insert image")))}const s=this.dropdownView=vp(t,i),a=o.map((({observable:t})=>t));return s.bind("isEnabled").toMany(a,"isEnabled",((...t)=>t.some((t=>t)))),s.once("change:isOpen",(()=>{const t=o.map((({formViewCreator:t})=>t(1==o.length))),n=new JC(e.locale,t);s.panelView.children.add(n)})),s}_prepareIntegrations(){const t=this.editor.config.get("image.insert.integrations"),e=[];if(!t.length)return b("image-insert-integrations-not-specified"),e;for(const n of t)this._integrations.has(n)?e.push(this._integrations.get(n)):["upload","assetManager","url"].includes(n)||b("image-insert-unknown-integration",{item:n});return e.length||b("image-insert-integrations-not-registered"),e}}var e_=n(3508),n_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(e_.Z,n_);e_.Z.locals;class o_ extends Ni{static get requires(){return[YC,Eb,MC,t_]}static get pluginName(){return"ImageBlock"}}class i_ extends Ni{static get requires(){return[HC,GC,AC,ZC,ak]}static get pluginName(){return"ImageInlineEditing"}init(){const t=this.editor,e=t.model.schema;e.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),e.addChildCheck(((t,e)=>{if(t.endsWith("caption")&&"imageInline"===e.name)return!1})),this._setupConversion(),t.plugins.has("ImageBlockEditing")&&(t.commands.add("imageTypeInline",new qC(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToElement({model:"imageInline",view:(t,{writer:e})=>e.createEmptyElement("img")}),n.for("editingDowncast").elementToStructure({model:"imageInline",view:(t,{writer:n})=>o.toImageWidget(function(t){return t.createContainerElement("span",{class:"image-inline"},t.createEmptyElement("img"))}(n),n,e("image widget"))}),n.for("downcast").add(NC(o,"imageInline","src")).add(NC(o,"imageInline","alt")).add(BC(o,"imageInline")),n.for("upcast").elementToElement({view:lC(t,"imageInline"),model:(t,{writer:e})=>e.createElement("imageInline",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isBlockImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageInline"===dC(e.schema,c)){const t=new uu(n.document),e=s.map((e=>1===e.childCount?(Array.from(e.getAttributes()).forEach((n=>t.setAttribute(...n,o.findViewImgElement(e)))),e.getChild(0)):e));r.content=t.createDocumentFragment(e)}})),this.listenTo(i,"contentInsertion",((t,n)=>{"paste"===n.method&&e.change((t=>{const e=t.createRangeIn(n.content);for(const t of e.getItems())t.is("element","imageInline")&&o.setImageNaturalSizeAttributes(t)}))}))}}class r_ extends Ni{static get requires(){return[i_,Eb,MC,t_]}static get pluginName(){return"ImageInline"}}class s_ extends Ni{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[AC]}getCaptionFromImageModelElement(t){for(const e of t.getChildren())if(e&&e.is("element","caption"))return e;return null}getCaptionFromModelSelection(t){const e=this.editor.plugins.get("ImageUtils"),n=t.getFirstPosition().findAncestor("caption");return n&&e.isBlockImage(n.parent)?n:null}matchImageCaptionViewElement(t){const e=this.editor.plugins.get("ImageUtils");return"figcaption"==t.name&&e.isBlockImageView(t.parent)?{name:!0}:null}}class a_ extends zi{refresh(){const t=this.editor,e=t.plugins.get("ImageCaptionUtils"),n=t.plugins.get("ImageUtils");if(!t.plugins.has(YC))return this.isEnabled=!1,void(this.value=!1);const o=t.model.document.selection,i=o.getSelectedElement();if(!i){const t=e.getCaptionFromModelSelection(o);return this.isEnabled=!!t,void(this.value=!!t)}this.isEnabled=n.isImage(i),this.isEnabled?this.value=!!e.getCaptionFromImageModelElement(i):this.value=!1}execute(t={}){const{focusCaptionOnShow:e}=t;this.editor.model.change((t=>{this.value?this._hideImageCaption(t):this._showImageCaption(t,e)}))}_showImageCaption(t,e){const n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageCaptionEditing"),i=this.editor.plugins.get("ImageUtils");let r=n.getSelectedElement();const s=o._getSavedCaption(r);i.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=n.getSelectedElement());const a=s||t.createElement("caption");t.append(a,r),e&&t.setSelection(a,"in")}_hideImageCaption(t){const e=this.editor,n=e.model.document.selection,o=e.plugins.get("ImageCaptionEditing"),i=e.plugins.get("ImageCaptionUtils");let r,s=n.getSelectedElement();s?r=i.getCaptionFromImageModelElement(s):(r=i.getCaptionFromModelSelection(n),s=r.parent),o._saveCaption(s,r),t.setSelection(s,"on"),t.remove(r)}}class c_ extends Ni{constructor(t){super(t),this._savedCaptionsMap=new WeakMap}static get requires(){return[AC,s_]}static get pluginName(){return"ImageCaptionEditing"}init(){const t=this.editor,e=t.model.schema;e.isRegistered("caption")?e.extend("caption",{allowIn:"imageBlock"}):e.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),t.commands.add("toggleImageCaption",new a_(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils"),i=t.t;t.conversion.for("upcast").elementToElement({view:t=>o.matchImageCaptionViewElement(t),model:"caption"}),t.conversion.for("dataDowncast").elementToElement({model:"caption",view:(t,{writer:e})=>n.isBlockImage(t.parent)?e.createContainerElement("figcaption"):null}),t.conversion.for("editingDowncast").elementToElement({model:"caption",view:(t,{writer:o})=>{if(!n.isBlockImage(t.parent))return null;const r=o.createEditableElement("figcaption");o.setCustomProperty("imageCaption",!0,r),r.placeholder=i("Enter image caption"),Zi({view:e,element:r,keepOnFocus:!0});const s=t.parent.getAttribute("alt");return lb(r,o,{label:s?i("Caption for image: %0",[s]):i("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.plugins.get("ImageCaptionUtils"),o=t.commands.get("imageTypeInline"),i=t.commands.get("imageTypeBlock"),r=t=>{if(!t.return)return;const{oldElement:o,newElement:i}=t.return;if(!o)return;if(e.isBlockImage(o)){const t=n.getCaptionFromImageModelElement(o);if(t)return void this._saveCaption(i,t)}const r=this._getSavedCaption(o);r&&this._saveCaption(i,r)};o&&this.listenTo(o,"execute",r,{priority:"low"}),i&&this.listenTo(i,"execute",r,{priority:"low"})}_getSavedCaption(t){const e=this._savedCaptionsMap.get(t);return e?vc.fromJSON(e):null}_saveCaption(t,e){this._savedCaptionsMap.set(t,e.toJSON())}_registerCaptionReconversion(){const t=this.editor,e=t.model,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils");e.document.on("change:data",(()=>{const i=e.document.differ.getChanges();for(const e of i){if("alt"!==e.attributeKey)continue;const i=e.range.start.nodeAfter;if(n.isBlockImage(i)){const e=o.getCaptionFromImageModelElement(i);if(!e)return;t.editing.reconvertItem(e)}}}))}}class l_ extends Ni{static get requires(){return[s_]}static get pluginName(){return"ImageCaptionUI"}init(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageCaptionUtils"),o=t.t;t.ui.componentFactory.add("toggleImageCaption",(i=>{const r=t.commands.get("toggleImageCaption"),s=new wg(i);return s.set({icon:bu.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.bind("label").to(r,"value",(t=>o(t?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{t.execute("toggleImageCaption",{focusCaptionOnShow:!0});const o=n.getCaptionFromModelSelection(t.model.document.selection);if(o){const n=t.editing.mapper.toViewElement(o);e.scrollToTheSelection(),e.change((t=>{t.addClass("image__caption_highlighted",n)}))}t.editing.view.focus()})),s}))}}var d_=n(2640),h_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(d_.Z,h_);d_.Z.locals;function u_(t){const e=t.map((t=>t.replace("+","\\+")));return new RegExp(`^image\\/(${e.join("|")})$`)}function g_(t){return new Promise(((e,n)=>{const o=t.getAttribute("src");fetch(o).then((t=>t.blob())).then((t=>{const n=p_(t,o),i=n.replace("image/",""),r=new File([t],`image.${i}`,{type:n});e(r)})).catch((t=>t&&"TypeError"===t.name?function(t){return function(t){return new Promise(((e,n)=>{const o=Mo.document.createElement("img");o.addEventListener("load",(()=>{const t=Mo.document.createElement("canvas");t.width=o.width,t.height=o.height;t.getContext("2d").drawImage(o,0,0),t.toBlob((t=>t?e(t):n()))})),o.addEventListener("error",(()=>n())),o.src=t}))}(t).then((e=>{const n=p_(e,t),o=n.replace("image/","");return new File([e],`image.${o}`,{type:n})}))}(o).then(e).catch(n):n(t)))}))}function p_(t,e){return t.type?t.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class m_ extends Ni{static get pluginName(){return"ImageUploadUI"}init(){const t=this.editor,e=t.t,n=n=>{const o=new Dw(n),i=t.commands.get("uploadImage"),r=t.config.get("image.upload.types"),s=u_(r);return o.set({acceptedType:r.map((t=>`image/${t}`)).join(","),allowMultipleFiles:!0,label:e("Upload image from computer"),icon:bu.imageUpload,tooltip:!0}),o.bind("isEnabled").to(i),o.on("done",((e,n)=>{const o=Array.from(n).filter((t=>s.test(t.type)));o.length&&(t.execute("uploadImage",{file:o}),t.editing.view.focus())})),o};if(t.ui.componentFactory.add("uploadImage",n),t.ui.componentFactory.add("imageUpload",n),t.plugins.has("ImageInsertUI")){const n=t.plugins.get("ImageInsertUI"),o=t.commands.get("uploadImage");n.registerIntegration({name:"upload",observable:o,buttonViewCreator:()=>{const o=t.ui.componentFactory.create("uploadImage");return o.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace image from computer":"Upload image from computer"))),o},formViewCreator:()=>{const o=t.ui.componentFactory.create("uploadImage");return o.withText=!0,o.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace from computer":"Upload from computer"))),o.on("execute",(()=>{n.dropdownView.isOpen=!1})),o}})}}}var f_=n(3689),k_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(f_.Z,k_);f_.Z.locals;var b_=n(4036),w_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(b_.Z,w_);b_.Z.locals;var A_=n(3773),C_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(A_.Z,C_);A_.Z.locals;class __ extends Ni{constructor(t){super(t),this.uploadStatusChange=(t,e,n)=>{const o=this.editor,i=e.item,r=i.getAttribute("uploadId");if(!n.consumable.consume(e.item,t.name))return;const s=o.plugins.get("ImageUtils"),a=o.plugins.get(xw),c=r?e.attributeNewValue:null,l=this.placeholder,d=o.editing.mapper.toViewElement(i),h=n.writer;if("reading"==c)return v_(d,h),void y_(s,l,d,h);if("uploading"==c){const t=a.loaders.get(r);return v_(d,h),void(t?(x_(d,h),function(t,e,n,o){const i=function(t){const e=t.createUIElement("div",{class:"ck-progress-bar"});return t.setCustomProperty("progressBar",!0,e),e}(e);e.insert(e.createPositionAt(t,"end"),i),n.on("change:uploadedPercent",((t,e,n)=>{o.change((t=>{t.setStyle("width",n+"%",i)}))}))}(d,h,t,o.editing.view),function(t,e,n,o){if(o.data){const i=t.findViewImgElement(e);n.setAttribute("src",o.data,i)}}(s,d,h,t)):y_(s,l,d,h))}"complete"==c&&a.loaders.get(r)&&function(t,e,n){const o=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(t,"end"),o),setTimeout((()=>{n.change((t=>t.remove(t.createRangeOn(o))))}),3e3)}(d,h,o.editing.view),function(t,e){D_(t,e,"progressBar")}(d,h),x_(d,h),function(t,e){e.removeClass("ck-appear",t)}(d,h)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const t=this.editor;t.plugins.has("ImageBlockEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),t.plugins.has("ImageInlineEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function v_(t,e){t.hasClass("ck-appear")||e.addClass("ck-appear",t)}function y_(t,e,n,o){n.hasClass("ck-image-upload-placeholder")||o.addClass("ck-image-upload-placeholder",n);const i=t.findViewImgElement(n);i.getAttribute("src")!==e&&o.setAttribute("src",e,i),E_(n,"placeholder")||o.insert(o.createPositionAfter(i),function(t){const e=t.createUIElement("div",{class:"ck-upload-placeholder-loader"});return t.setCustomProperty("placeholder",!0,e),e}(o))}function x_(t,e){t.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",t),D_(t,e,"placeholder")}function E_(t,e){for(const n of t.getChildren())if(n.getCustomProperty(e))return n}function D_(t,e,n){const o=E_(t,n);o&&e.remove(e.createRangeOn(o))}var I_=Object.defineProperty,S_=Object.defineProperties,T_=Object.getOwnPropertyDescriptors,M_=Object.getOwnPropertySymbols,B_=Object.prototype.hasOwnProperty,N_=Object.prototype.propertyIsEnumerable,P_=(t,e,n)=>e in t?I_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class z_ extends zi{refresh(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.model.document.selection.getSelectedElement();this.isEnabled=e.isImageAllowed()||e.isImage(n)}execute(t){const e=bi(t.file),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if(e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);this._uploadImage(t,i,e)}else this._uploadImage(t,i)}))}_uploadImage(t,e,n){const o=this.editor,i=o.plugins.get(xw).createLoader(t),r=o.plugins.get("ImageUtils");var s,a;i&&r.insertImage((s=((t,e)=>{for(var n in e||(e={}))B_.call(e,n)&&P_(t,n,e[n]);if(M_)for(var n of M_(e))N_.call(e,n)&&P_(t,n,e[n]);return t})({},e),a={uploadId:i.id},S_(s,T_(a))),n)}}class O_ extends Ni{constructor(t){super(t),t.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[xw,uf,ak,AC]}static get pluginName(){return"ImageUploadEditing"}init(){const t=this.editor,e=t.model.document,n=t.conversion,o=t.plugins.get(xw),i=t.plugins.get("ImageUtils"),r=t.plugins.get("ClipboardPipeline"),s=u_(t.config.get("image.upload.types")),a=new z_(t);t.commands.add("uploadImage",a),t.commands.add("imageUpload",a),n.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(t.editing.view.document,"clipboardInput",((e,n)=>{if(o=n.dataTransfer,Array.from(o.types).includes("text/html")&&""!==o.getData("text/html"))return;var o;const i=Array.from(n.dataTransfer.files).filter((t=>!!t&&s.test(t.type)));i.length&&(e.stop(),t.model.change((e=>{n.targetRanges&&e.setSelection(n.targetRanges.map((e=>t.editing.mapper.toModelRange(e)))),t.execute("uploadImage",{file:i})})))})),this.listenTo(r,"inputTransformation",((e,n)=>{const r=Array.from(t.editing.view.createRangeIn(n.content)).map((t=>t.item)).filter((t=>function(t,e){return!(!t.isInlineImageView(e)||!e.getAttribute("src")||!e.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!e.getAttribute("src").match(/^blob:/g))}(i,t)&&!t.getAttribute("uploadProcessed"))).map((t=>({promise:g_(t),imageElement:t})));if(!r.length)return;const s=new uu(t.editing.view.document);for(const t of r){s.setAttribute("uploadProcessed",!0,t.imageElement);const e=o.createLoader(t.promise);e&&(s.setAttribute("src","",t.imageElement),s.setAttribute("uploadId",e.id,t.imageElement))}})),t.editing.view.document.on("dragover",((t,e)=>{e.preventDefault()})),e.on("change",(()=>{const n=e.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),i=new Set;for(const e of n)if("insert"==e.type&&"$text"!=e.name){const n=e.position.nodeAfter,r="$graveyard"==e.position.root.rootName;for(const e of L_(t,n)){const t=e.getAttribute("uploadId");if(!t)continue;const n=o.loaders.get(t);n&&(r?i.has(t)||n.abort():(i.add(t),this._uploadImageElements.set(t,e),"idle"==n.status&&this._readAndUpload(n)))}}})),this.on("uploadComplete",((t,{imageElement:e,data:n})=>{const o=n.urls?n.urls:n;this.editor.model.change((t=>{t.setAttribute("src",o.default,e),this._parseAndSetSrcsetAttributeOnImage(o,e,t),i.setImageNaturalSizeAttributes(e)}))}),{priority:"low"})}afterInit(){const t=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&t.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(t){const e=this.editor,n=e.model,o=e.locale.t,r=e.plugins.get(xw),s=e.plugins.get(uf),a=e.plugins.get("ImageUtils"),c=this._uploadImageElements;return n.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","reading",c.get(t.id))})),t.read().then((()=>{const o=t.upload(),r=c.get(t.id);if(i.isSafari){const t=e.editing.mapper.toViewElement(r),n=a.findViewImgElement(t);e.editing.view.once("render",(()=>{if(!n.parent)return;const t=e.editing.view.domConverter.mapViewToDom(n.parent);if(!t)return;const o=t.style.display;t.style.display="none",t._ckHack=t.offsetHeight,t.style.display=o}))}return n.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","uploading",r)})),o})).then((e=>{n.enqueueChange({isUndoable:!1},(n=>{const o=c.get(t.id);n.setAttribute("uploadStatus","complete",o),this.fire("uploadComplete",{data:e,imageElement:o})})),l()})).catch((e=>{if("error"!==t.status&&"aborted"!==t.status)throw e;"error"==t.status&&e&&s.showWarning(e,{title:o("Upload failed"),namespace:"upload"}),n.enqueueChange({isUndoable:!1},(e=>{e.remove(c.get(t.id))})),l()}));function l(){n.enqueueChange({isUndoable:!1},(e=>{const n=c.get(t.id);e.removeAttribute("uploadId",n),e.removeAttribute("uploadStatus",n),c.delete(t.id)})),r.destroyLoader(t)}}_parseAndSetSrcsetAttributeOnImage(t,e,n){let o=0;const i=Object.keys(t).filter((t=>{const e=parseInt(t,10);if(!isNaN(e))return o=Math.max(o,e),!0})).map((e=>`${t[e]} ${e}w`)).join(", ");if(""!=i){const t={srcset:i};e.hasAttribute("width")||e.hasAttribute("height")||(t.width=o),n.setAttributes(t,e)}}}function L_(t,e){const n=t.plugins.get("ImageUtils");return Array.from(t.model.createRangeOn(e)).filter((t=>n.isImage(t.item))).map((t=>t.item))}var j_=n(6270),R_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(j_.Z,R_);j_.Z.locals;class F_ extends zi{constructor(t,e){super(t),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(e.map((t=>{if(t.isDefault)for(const e of t.modelElements)this._defaultStyles[e]=t.name;return[t.name,t]})))}refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled?t.hasAttribute("imageStyle")?this.value=t.getAttribute("imageStyle"):this.value=this._defaultStyles[t.name]:this.value=!1}execute(t={}){const e=this.editor,n=e.model,o=e.plugins.get("ImageUtils");n.change((e=>{const i=t.value,{setImageSizes:r=!0}=t;let s=o.getClosestSelectedImageElement(n.document.selection);i&&this.shouldConvertImageType(i,s)&&(this.editor.execute(o.isBlockImage(s)?"imageTypeInline":"imageTypeBlock",{setImageSizes:r}),s=o.getClosestSelectedImageElement(n.document.selection)),!i||this._styles.get(i).isDefault?e.removeAttribute("imageStyle",s):e.setAttribute("imageStyle",i,s),r&&o.setImageNaturalSizeAttributes(s)}))}shouldConvertImageType(t,e){return!this._styles.get(t).modelElements.includes(e.name)}}var V_=Object.defineProperty,U_=Object.getOwnPropertySymbols,H_=Object.prototype.hasOwnProperty,G_=Object.prototype.propertyIsEnumerable,q_=(t,e,n)=>e in t?V_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W_=(t,e)=>{for(var n in e||(e={}))H_.call(e,n)&&q_(t,n,e[n]);if(U_)for(var n of U_(e))G_.call(e,n)&&q_(t,n,e[n]);return t};const{objectFullWidth:K_,objectInline:Z_,objectLeft:Y_,objectRight:$_,objectCenter:Q_,objectBlockLeft:J_,objectBlockRight:X_}=bu,tv={get inline(){return{name:"inline",title:"In line",icon:Z_,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:Y_,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:J_,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:Q_,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:$_,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:X_,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:Q_,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:$_,modelElements:["imageBlock"],className:"image-style-side"}}},ev={full:K_,left:J_,right:X_,center:Q_,inlineLeft:Y_,inlineRight:$_,inline:Z_},nv=[{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 ov(t){b("image-style-configuration-definition-invalid",t)}const iv={normalizeStyles:function(t){return(t.configuredStyles.options||[]).map((t=>function(t){t="string"==typeof t?tv[t]?W_({},tv[t]):{name:t}:function(t,e){const n=W_({},e);for(const o in t)Object.prototype.hasOwnProperty.call(e,o)||(n[o]=t[o]);return n}(tv[t.name],t);"string"==typeof t.icon&&(t.icon=ev[t.icon]||t.icon);return t}(t))).filter((e=>function(t,{isBlockPluginLoaded:e,isInlinePluginLoaded:n}){const{modelElements:o,name:i}=t;if(!(o&&o.length&&i))return ov({style:t}),!1;{const i=[e?"imageBlock":null,n?"imageInline":null];if(!o.some((t=>i.includes(t))))return b("image-style-missing-dependency",{style:t,missingPlugins:o.map((t=>"imageBlock"===t?"ImageBlockEditing":"ImageInlineEditing"))}),!1}return!0}(e,t)))},getDefaultStylesConfiguration:function(t,e){return t&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:t?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(t){return t.has("ImageBlockEditing")&&t.has("ImageInlineEditing")?[...nv]:[]},warnInvalidStyle:ov,DEFAULT_OPTIONS:tv,DEFAULT_ICONS:ev,DEFAULT_DROPDOWN_DEFINITIONS:nv};function rv(t,e){for(const n of e)if(n.name===t)return n}class sv extends Ni{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[AC]}init(){const{normalizeStyles:t,getDefaultStylesConfiguration:e}=iv,n=this.editor,o=n.plugins.has("ImageBlockEditing"),i=n.plugins.has("ImageInlineEditing");n.config.define("image.styles",e(o,i)),this.normalizedStyles=t({configuredStyles:n.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:i}),this._setupConversion(o,i),this._setupPostFixer(),n.commands.add("imageStyle",new F_(n,this.normalizedStyles))}_setupConversion(t,e){const n=this.editor,o=n.model.schema,i=(r=this.normalizedStyles,(t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=rv(e.attributeNewValue,r),i=rv(e.attributeOldValue,r),s=n.mapper.toViewElement(e.item),a=n.writer;i&&a.removeClass(i.className,s),o&&a.addClass(o.className,s)});var r;const s=function(t){const e={imageInline:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageInline"))),imageBlock:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageBlock")))};return(t,n,o)=>{if(!n.modelRange)return;const i=n.viewItem,r=yi(n.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const t of e[r.name])o.consumable.consume(i,{classes:t.className})&&o.writer.setAttribute("imageStyle",t.name,r)}}(this.normalizedStyles);n.editing.downcastDispatcher.on("attribute:imageStyle",i),n.data.downcastDispatcher.on("attribute:imageStyle",i),t&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),e&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const t=this.editor,e=t.model.document,n=t.plugins.get(AC),o=new Map(this.normalizedStyles.map((t=>[t.name,t])));e.registerPostFixer((t=>{let i=!1;for(const r of e.differ.getChanges())if("insert"==r.type||"attribute"==r.type&&"imageStyle"==r.attributeKey){let e="insert"==r.type?r.position.nodeAfter:r.range.start.nodeAfter;if(e&&e.is("element","paragraph")&&e.childCount>0&&(e=e.getChild(0)),!n.isImage(e))continue;const s=e.getAttribute("imageStyle");if(!s)continue;const a=o.get(s);a&&a.modelElements.includes(e.name)||(t.removeAttribute("imageStyle",e),i=!0)}return i}))}}var av=n(5083),cv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(av.Z,cv);av.Z.locals;class lv extends Ni{static get requires(){return[sv]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const t=this.editor.t;return{"Wrap text":t("Wrap text"),"Break text":t("Break text"),"In line":t("In line"),"Full size image":t("Full size image"),"Side image":t("Side image"),"Left aligned image":t("Left aligned image"),"Centered image":t("Centered image"),"Right aligned image":t("Right aligned image")}}init(){const t=this.editor.plugins,e=this.editor.config.get("image.toolbar")||[],n=dv(t.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const t of n)this._createButton(t);const o=dv([...e.filter(O),...iv.getDefaultDropdownDefinitions(t)],this.localizedDefaultStylesTitles);for(const t of o)this._createDropdown(t,n)}_createDropdown(t,e){const n=this.editor.ui.componentFactory;n.add(t.name,(o=>{let i;const{defaultItem:r,items:s,title:a}=t,c=s.filter((t=>e.find((({name:e})=>hv(e)===t)))).map((t=>{const e=n.create(t);return t===r&&(i=e),e}));s.length!==c.length&&iv.warnInvalidStyle({dropdown:t});const l=vp(o,bp),d=l.buttonView,h=d.arrowView;return yp(l,c,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:uv(a,i.label),class:null,tooltip:!0}),h.unbind("label"),h.set({label:a}),d.bind("icon").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Rr);return e<0?i.icon:c[e].icon})),d.bind("label").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Rr);return uv(a,e<0?i.label:c[e].label)})),d.bind("isOn").toMany(c,"isOn",((...t)=>t.some(Rr))),d.bind("class").toMany(c,"isOn",((...t)=>t.some(Rr)?"ck-splitbutton_flatten":void 0)),d.on("execute",(()=>{c.some((({isOn:t})=>t))?l.isOpen=!l.isOpen:i.fire("execute")})),l.bind("isEnabled").toMany(c,"isEnabled",((...t)=>t.some(Rr))),this.listenTo(l,"execute",(()=>{this.editor.editing.view.focus()})),l}))}_createButton(t){const e=t.name;this.editor.ui.componentFactory.add(hv(e),(n=>{const o=this.editor.commands.get("imageStyle"),i=new wg(n);return i.set({label:t.title,icon:t.icon,tooltip:!0,isToggleable:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>t===e)),i.on("execute",this._executeCommand.bind(this,e)),i}))}_executeCommand(t){this.editor.execute("imageStyle",{value:t}),this.editor.editing.view.focus()}}function dv(t,e){for(const n of t)e[n.title]&&(n.title=e[n.title]);return t}function hv(t){return`imageStyle:${t}`}function uv(t,e){return(t?t+": ":"")+e}class gv extends Ni{static get pluginName(){return"IndentEditing"}init(){const t=this.editor;t.commands.add("indent",new Li(t)),t.commands.add("outdent",new Li(t))}}const pv='',mv='';class fv extends Ni{static get pluginName(){return"IndentUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?pv:mv,i="ltr"==e.uiLanguageDirection?mv:pv;this._defineButton("indent",n("Increase indent"),o),this._defineButton("outdent",n("Decrease indent"),i)}_defineButton(t,e,n){const o=this.editor;o.ui.componentFactory.add(t,(i=>{const r=o.commands.get(t),s=new wg(i);return s.set({label:e,icon:n,tooltip:!0}),s.bind("isEnabled").to(r,"isEnabled"),this.listenTo(s,"execute",(()=>{o.execute(t),o.editing.view.focus()})),s}))}}class kv{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){Array.isArray(t)?t.forEach((t=>this._definitions.add(t))):this._definitions.add(t)}getDispatcher(){return t=>{t.on("attribute:linkHref",((t,e,n)=>{if(!n.consumable.test(e.item,"attribute:linkHref"))return;if(!e.item.is("selection")&&!n.schema.isInline(e.item))return;const o=n.writer,i=o.document.selection;for(const t of this._definitions){const r=o.createAttributeElement("a",t.attributes,{priority:5});t.classes&&o.addClass(t.classes,r);for(const e in t.styles)o.setStyle(e,t.styles[e],r);o.setCustomProperty("link",!0,r),t.callback(e.attributeNewValue)?e.item.is("selection")?o.wrap(i.getFirstRange(),r):o.wrap(n.mapper.toViewRange(e.range),r):o.unwrap(n.mapper.toViewRange(e.range),r)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return t=>{t.on("attribute:linkHref:imageBlock",((t,e,{writer:n,mapper:o})=>{const i=o.toViewElement(e.item),r=Array.from(i.getChildren()).find((t=>t.is("element","a")));for(const t of this._definitions){const o=Di(t.attributes);if(t.callback(e.attributeNewValue)){for(const[t,e]of o)"class"===t?n.addClass(e,r):n.setAttribute(t,e,r);t.classes&&n.addClass(t.classes,r);for(const e in t.styles)n.setStyle(e,t.styles[e],r)}else{for(const[t,e]of o)"class"===t?n.removeClass(e,r):n.removeAttribute(t,r);t.classes&&n.removeClass(t.classes,r);for(const e in t.styles)n.removeStyle(e,r)}}}))}}}const bv=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:Dr(t,e,n)};var wv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const Av=function(t){return wv.test(t)};const Cv=function(t){return t.split("")};var _v="\\ud800-\\udfff",vv="["+_v+"]",yv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xv="\\ud83c[\\udffb-\\udfff]",Ev="[^"+_v+"]",Dv="(?:\\ud83c[\\udde6-\\uddff]){2}",Iv="[\\ud800-\\udbff][\\udc00-\\udfff]",Sv="(?:"+yv+"|"+xv+")"+"?",Tv="[\\ufe0e\\ufe0f]?",Mv=Tv+Sv+("(?:\\u200d(?:"+[Ev,Dv,Iv].join("|")+")"+Tv+Sv+")*"),Bv="(?:"+[Ev+yv+"?",yv,Dv,Iv,vv].join("|")+")",Nv=RegExp(xv+"(?="+xv+")|"+Bv+Mv,"g");const Pv=function(t){return t.match(Nv)||[]};const zv=function(t){return Av(t)?Pv(t):Cv(t)};const Ov=function(t){return function(e){e=_r(e);var n=Av(e)?zv(e):void 0,o=n?n[0]:e.charAt(0),i=n?bv(n,1).join(""):e.slice(1);return o[t]()+i}}("toUpperCase"),Lv=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,jv=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,Rv=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,Fv=/^((\w+:(\/{2,})?)|(\W))/i,Vv="Ctrl+K";function Uv(t,{writer:e}){const n=e.createAttributeElement("a",{href:t},{priority:5});return e.setCustomProperty("link",!0,n),n}function Hv(t){const e=String(t);return function(t){const e=t.replace(Lv,"");return!!e.match(jv)}(e)?e:"#"}function Gv(t,e){return!!t&&e.checkAttribute(t.name,"linkHref")}function qv(t,e){const n=(o=t,Rv.test(o)?"mailto:":e);var o;const i=!!n&&!Wv(t);return t&&i?n+t:t}function Wv(t){return Fv.test(t)}function Kv(t){window.open(t,"_blank","noopener")}class Zv extends zi{constructor(){super(...arguments),this.manualDecorators=new vi,this.automaticDecorators=new kv}restoreManualDecoratorStates(){for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement()||yi(e.getSelectedBlocks());Gv(n,t.schema)?(this.value=n.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttribute(n,"linkHref")):(this.value=e.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref"));for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}execute(t,e={}){const n=this.editor.model,o=n.document.selection,i=[],r=[];for(const t in e)e[t]?i.push(t):r.push(t);n.change((e=>{if(o.isCollapsed){const s=o.getFirstPosition();if(o.hasAttribute("linkHref")){const a=Yv(o);let c=Rk(s,"linkHref",o.getAttribute("linkHref"),n);o.getAttribute("linkHref")===a&&(c=this._updateLinkContent(n,e,c,t)),e.setAttribute("linkHref",t,c),i.forEach((t=>{e.setAttribute(t,!0,c)})),r.forEach((t=>{e.removeAttribute(t,c)})),e.setSelection(e.createPositionAfter(c.end.nodeBefore))}else if(""!==t){const r=Di(o.getAttributes());r.set("linkHref",t),i.forEach((t=>{r.set(t,!0)}));const{end:a}=n.insertContent(e.createText(t,r),s);e.setSelection(a)}["linkHref",...i,...r].forEach((t=>{e.removeSelectionAttribute(t)}))}else{const s=n.schema.getValidRanges(o.getRanges(),"linkHref"),a=[];for(const t of o.getSelectedBlocks())n.schema.checkAttribute(t,"linkHref")&&a.push(e.createRangeOn(t));const c=a.slice();for(const t of s)this._isRangeToUpdate(t,a)&&c.push(t);for(const s of c){let a=s;if(1===c.length){const i=Yv(o);o.getAttribute("linkHref")===i&&(a=this._updateLinkContent(n,e,s,t),e.setSelection(e.createSelection(a)))}e.setAttribute("linkHref",t,a),i.forEach((t=>{e.setAttribute(t,!0,a)})),r.forEach((t=>{e.removeAttribute(t,a)}))}}}))}_getDecoratorStateFromModel(t){const e=this.editor.model,n=e.document.selection,o=n.getSelectedElement();return Gv(o,e.schema)?o.getAttribute(t):n.getAttribute(t)}_isRangeToUpdate(t,e){for(const n of e)if(n.containsRange(t))return!1;return!0}_updateLinkContent(t,e,n,o){const i=e.createText(o,{linkHref:o});return t.insertContent(i,n)}}function Yv(t){if(t.isCollapsed){const e=t.getFirstPosition();return e.textNode&&e.textNode.data}{const e=Array.from(t.getFirstRange().getItems());if(e.length>1)return null;const n=e[0];return n.is("$text")||n.is("$textProxy")?n.data:null}}class $v extends zi{refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement();Gv(n,t.schema)?this.isEnabled=t.schema.checkAttribute(n,"linkHref"):this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref")}execute(){const t=this.editor,e=this.editor.model,n=e.document.selection,o=t.commands.get("link");e.change((t=>{const i=n.isCollapsed?[Rk(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),e)]:e.schema.getValidRanges(n.getRanges(),"linkHref");for(const e of i)if(t.removeAttribute("linkHref",e),o)for(const n of o.manualDecorators)t.removeAttribute(n.id,e)}))}}class Qv extends(H()){constructor({id:t,label:e,attributes:n,classes:o,styles:i,defaultValue:r}){super(),this.id=t,this.set("value",void 0),this.defaultValue=r,this.label=e,this.attributes=n,this.classes=o,this.styles=i}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var Jv=n(9773),Xv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Jv.Z,Xv);Jv.Z.locals;var ty=Object.defineProperty,ey=Object.getOwnPropertySymbols,ny=Object.prototype.hasOwnProperty,oy=Object.prototype.propertyIsEnumerable,iy=(t,e,n)=>e in t?ty(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ry=(t,e)=>{for(var n in e||(e={}))ny.call(e,n)&&iy(t,n,e[n]);if(ey)for(var n of ey(e))oy.call(e,n)&&iy(t,n,e[n]);return t};const sy="automatic",ay=/^(https?:)?\/\//;class cy extends Ni{static get pluginName(){return"LinkEditing"}static get requires(){return[xk,uk,ak]}constructor(t){super(t),t.config.define("link",{addTargetToExternalLinks:!1})}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:"linkHref"}),t.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:Uv}),t.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(t,e)=>Uv(Hv(t),e)}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:t=>t.getAttribute("href")}}),t.commands.add("link",new Zv(t)),t.commands.add("unlink",new $v(t));const e=function(t,e){const n={"Open in a new tab":t("Open in a new tab"),Downloadable:t("Downloadable")};return e.forEach((t=>("label"in t&&n[t.label]&&(t.label=n[t.label]),t))),e}(t.t,function(t){const e=[];if(t)for(const[n,o]of Object.entries(t)){const t=Object.assign({},o,{id:`link${Ov(n)}`});e.push(t)}return e}(t.config.get("link.decorators")));this._enableAutomaticDecorators(e.filter((t=>t.mode===sy))),this._enableManualDecorators(e.filter((t=>"manual"===t.mode)));t.plugins.get(xk).registerAttribute("linkHref"),function(t,e,n,o){const i=t.editing.view,r=new Set;i.document.registerPostFixer((i=>{const s=t.model.document.selection;let a=!1;if(s.hasAttribute(e)){const c=Rk(s.getFirstPosition(),e,s.getAttribute(e),t.model),l=t.editing.mapper.toViewRange(c);for(const t of l.getItems())t.is("element",n)&&!t.hasClass(o)&&(i.addClass(o,t),r.add(t),a=!0)}return a})),t.conversion.for("editingDowncast").add((t=>{function e(){i.change((t=>{for(const e of r.values())t.removeClass(o,e),r.delete(e)}))}t.on("insert",e,{priority:"highest"}),t.on("remove",e,{priority:"highest"}),t.on("attribute",e,{priority:"highest"}),t.on("selection",e,{priority:"highest"})}))}(t,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(t){const e=this.editor,n=e.commands.get("link").automaticDecorators;e.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:sy,callback:t=>!!t&&ay.test(t),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(t),n.length&&e.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(t){if(!t.length)return;const e=this.editor,n=e.commands.get("link").manualDecorators;t.forEach((t=>{e.model.schema.extend("$text",{allowAttributes:t.id});const o=new Qv(t);n.add(o),e.conversion.for("downcast").attributeToElement({model:o.id,view:(t,{writer:e,schema:n},{item:i})=>{if((i.is("selection")||n.isInline(i))&&t){const t=e.createAttributeElement("a",o.attributes,{priority:5});o.classes&&e.addClass(o.classes,t);for(const n in o.styles)e.setStyle(n,o.styles[n],t);return e.setCustomProperty("link",!0,t),t}}}),e.conversion.for("upcast").elementToAttribute({view:ry({name:"a"},o._createPattern()),model:{key:o.id}})}))}_enableLinkOpen(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",((t,e)=>{if(!(i.isMac?e.domEvent.metaKey:e.domEvent.ctrlKey))return;let n=e.domTarget;if("a"!=n.tagName.toLowerCase()&&(n=n.closest("a")),!n)return;const o=n.getAttribute("href");o&&(t.stop(),e.preventDefault(),Kv(o))}),{context:"$capture"}),this.listenTo(e,"keydown",((e,n)=>{const o=t.commands.get("link").value;!!o&&n.keyCode===ui.enter&&n.altKey&&(e.stop(),Kv(o))}))}_enableSelectionAttributesFixer(){const t=this.editor.model,e=t.document.selection;this.listenTo(e,"change:attribute",((n,{attributeKeys:o})=>{o.includes("linkHref")&&!e.hasAttribute("linkHref")&&t.change((e=>{var n;!function(t,e){t.removeSelectionAttribute("linkHref");for(const n of e)t.removeSelectionAttribute(n)}(e,(n=t.schema,n.getDefinition("$text").allowAttributes.filter((t=>t.startsWith("link")))))}))}))}_enableClipboardIntegration(){const t=this.editor,e=t.model,n=this.editor.config.get("link.defaultProtocol");n&&this.listenTo(t.plugins.get("ClipboardPipeline"),"contentInsertion",((t,o)=>{e.change((t=>{const e=t.createRangeIn(o.content);for(const o of e.getItems())if(o.hasAttribute("linkHref")){const e=qv(o.getAttribute("linkHref"),n);t.setAttribute("linkHref",e,o)}}))}))}}var ly=n(7754),dy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(ly.Z,dy);ly.Z.locals;class hy extends Hu{constructor(t,e){super(t),this.focusTracker=new xi,this.keystrokes=new Ei,this._focusables=new Fu;const n=t.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),bu.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("Cancel"),bu.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(e),this.children=this._createFormChildren(e.manualDecorators),this._focusCycler=new qg({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const o=["ck","ck-link-form","ck-responsive-form"];e.manualDecorators.length&&o.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:o,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((t,e)=>(t[e.name]=e.isOn,t)),{})}render(){super.render(),Ru({view:this});[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const t=this.locale.t,e=new Tg(this.locale,Tp);return e.label=t("Link URL"),e}_createButton(t,e,n,o){const i=new wg(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createManualDecoratorSwitches(t){const e=this.createCollection();for(const n of t.manualDecorators){const o=new _g(this.locale);o.set({name:n.id,label:n.label,withText:!0}),o.bind("isOn").toMany([n,t],"value",((t,e)=>void 0===e&&void 0===t?!!n.defaultValue:!!t)),o.on("execute",(()=>{n.set("value",!o.isOn)})),e.add(o)}return e}_createFormChildren(t){const e=this.createCollection();if(e.add(this.urlInputView),t.length){const t=new Hu;t.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((t=>({tag:"li",children:[t],attributes:{class:["ck","ck-list__item"]}}))),attributes:{class:["ck","ck-reset","ck-list"]}}),e.add(t)}return e.add(this.saveButtonView),e.add(this.cancelButtonView),e}}var uy=n(2347),gy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(uy.Z,gy);uy.Z.locals;class py extends Hu{constructor(t){super(t),this.focusTracker=new xi,this.keystrokes=new Ei,this._focusables=new Fu;const e=t.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(e("Unlink"),'',"unlink"),this.editButtonView=this._createButton(e("Edit link"),bu.pencil,"edit"),this.set("href",void 0),this._focusCycler=new qg({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(t,e,n){const o=new wg(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.delegate("execute").to(this,n),o}_createPreviewButton(){const t=new wg(this.locale),e=this.bindTemplate,n=this.t;return t.set({withText:!0,tooltip:n("Open link in new tab")}),t.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:e.to("href",(t=>t&&Hv(t))),target:"_blank",rel:"noopener noreferrer"}}),t.bind("label").to(this,"href",(t=>t||n("This link has no URL"))),t.bind("isEnabled").to(this,"href",(t=>!!t)),t.template.tag="a",t.template.eventListeners={},t}}const my="link-ui";class fy extends Ni{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[wf]}static get pluginName(){return"LinkUI"}init(){const t=this.editor;t.editing.view.addObserver(du),this._balloon=t.plugins.get(wf),this._createToolbarLinkButton(),this._enableBalloonActivators(),t.conversion.for("editingDowncast").markerToHighlight({model:my,view:{classes:["ck-fake-link-selection"]}}),t.conversion.for("editingDowncast").markerToElement({model:my,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const t=this.editor,e=new py(t.locale),n=t.commands.get("link"),o=t.commands.get("unlink");return e.bind("href").to(n,"value"),e.editButtonView.bind("isEnabled").to(n),e.unlinkButtonView.bind("isEnabled").to(o),this.listenTo(e,"edit",(()=>{this._addFormView()})),this.listenTo(e,"unlink",(()=>{t.execute("unlink"),this._hideUI()})),e.keystrokes.set("Esc",((t,e)=>{this._hideUI(),e()})),e.keystrokes.set(Vv,((t,e)=>{this._addFormView(),e()})),e}_createFormView(){const t=this.editor,e=t.commands.get("link"),n=t.config.get("link.defaultProtocol"),o=new(ju(hy))(t.locale,e);return o.urlInputView.fieldView.bind("value").to(e,"value"),o.urlInputView.bind("isEnabled").to(e,"isEnabled"),o.saveButtonView.bind("isEnabled").to(e),this.listenTo(o,"submit",(()=>{const{value:e}=o.urlInputView.fieldView.element,i=qv(e,n);t.execute("link",i,o.getDecoratorSwitchesState()),this._closeFormView()})),this.listenTo(o,"cancel",(()=>{this._closeFormView()})),o.keystrokes.set("Esc",((t,e)=>{this._closeFormView(),e()})),o}_createToolbarLinkButton(){const t=this.editor,e=t.commands.get("link"),n=t.t;t.ui.componentFactory.add("link",(t=>{const o=new wg(t);return o.isEnabled=!0,o.label=n("Link"),o.icon='',o.keystroke=Vv,o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(e,"isEnabled"),o.bind("isOn").to(e,"value",(t=>!!t)),this.listenTo(o,"execute",(()=>this._showUI(!0))),o}))}_enableBalloonActivators(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",(()=>{this._getSelectedLinkElement()&&this._showUI()})),t.keystrokes.set(Vv,((e,n)=>{n(),t.commands.get("link").isEnabled&&this._showUI(!0)}))}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",((t,e)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),e())}),{priority:"high"}),this.editor.keystrokes.set("Esc",((t,e)=>{this._isUIVisible&&(this._hideUI(),e())})),Lu({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const t=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=t.value||""}_closeFormView(){const t=this.editor.commands.get("link");t.restoreManualDecoratorStates(),void 0!==t.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(t=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),t&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),t&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const t=this.editor;this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),t.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const t=this.editor,e=t.editing.view.document;let n=this._getSelectedLinkElement(),o=r();const i=()=>{const t=this._getSelectedLinkElement(),e=r();n&&!t||!n&&e!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),n=t,o=e};function r(){return e.selection.focus.getAncestors().reverse().find((t=>t.is("element")))}this.listenTo(t.ui,"update",i),this.listenTo(this._balloon,"change:visibleView",i)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const t=this._balloon.visibleView;return!!this.formView&&t==this.formView||this._areActionsVisible}_getBalloonPositionData(){const t=this.editor.editing.view,e=this.editor.model,n=t.document;let o;if(e.markers.has(my)){const e=Array.from(this.editor.editing.mapper.markerNameToElements(my)),n=t.createRange(t.createPositionBefore(e[0]),t.createPositionAfter(e[e.length-1]));o=t.domConverter.viewRangeToDom(n)}else o=()=>{const e=this._getSelectedLinkElement();return e?t.domConverter.mapViewToDom(e):t.domConverter.viewRangeToDom(n.selection.getFirstRange())};return{target:o}}_getSelectedLinkElement(){const t=this.editor.editing.view,e=t.document.selection,n=e.getSelectedElement();if(e.isCollapsed||n&&ib(n))return ky(e.getFirstPosition());{const n=e.getFirstRange().getTrimmed(),o=ky(n.start),i=ky(n.end);return o&&o==i&&t.createRangeIn(o).getTrimmed().isEqual(n)?o:null}}_showFakeVisualSelection(){const t=this.editor.model;t.change((e=>{const n=t.document.selection.getFirstRange();if(t.markers.has(my))e.updateMarker(my,{range:n});else if(n.start.isAtEnd){const o=n.start.getLastMatchingPosition((({item:e})=>!t.schema.isContent(e)),{boundaries:n});e.addMarker(my,{usingOperation:!1,affectsData:!1,range:e.createRange(o,n.end)})}else e.addMarker(my,{usingOperation:!1,affectsData:!1,range:n})}))}_hideFakeVisualSelection(){const t=this.editor.model;t.markers.has(my)&&t.change((t=>{t.removeMarker(my)}))}}function ky(t){return t.getAncestors().find((t=>{return(e=t).is("attributeElement")&&!!e.getCustomProperty("link");var e}))||null}const by=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})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class wy extends Ni{static get requires(){return[Ck,cy]}static get pluginName(){return"AutoLink"}init(){const t=this.editor.model.document.selection;t.on("change:range",(()=>{this.isEnabled=!t.anchor.parent.is("element","codeBlock")})),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(t,e){return e.textNode&&e.textNode.hasAttribute("linkHref")?Rk(e,"linkHref",e.textNode.getAttribute("linkHref"),t):null}_selectEntireLinks(t,e){const n=this.editor.model,o=n.document.selection,i=o.getFirstPosition(),r=o.getLastPosition();let s=e.getJoined(this._expandLinkRange(n,i)||e);s&&(s=s.getJoined(this._expandLinkRange(n,r)||e)),s&&(s.start.isBefore(i)||s.end.isAfter(r))&&t.setSelection(s)}_enablePasteLinking(){const t=this.editor,e=t.model,n=e.document.selection,o=t.plugins.get("ClipboardPipeline"),i=t.commands.get("link");o.on("inputTransformation",((t,o)=>{if(!this.isEnabled||!i.isEnabled||n.isCollapsed)return;if(n.rangeCount>1)return;const r=n.getFirstRange(),s=o.dataTransfer.getData("text/plain");if(!s)return;const a=s.match(by);a&&a[2]===s&&(e.change((t=>{this._selectEntireLinks(t,r),i.execute(s)})),t.stop())}),{priority:"high"})}_enableTypingHandling(){const t=this.editor,e=new yk(t.model,(t=>{if(!function(t){return t.length>4&&" "===t[t.length-1]&&" "!==t[t.length-2]}(t))return;const e=Ay(t.substr(0,t.length-1));return e?{url:e}:void 0}));e.on("matched:data",((e,n)=>{const{batch:o,range:i,url:r}=n;if(!o.isTyping)return;const s=i.end.getShiftedBy(-1),a=s.getShiftedBy(-r.length),c=t.model.createRange(a,s);this._applyAutoLink(r,c)})),e.bind("isEnabled").to(this)}_enableEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("enter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition();if(!t.parent.previousSibling)return;const n=e.createRangeIn(t.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(n)}))}_enableShiftEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("shiftEnter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition(),n=e.createRange(e.createPositionAt(t.parent,0),t.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(n)}))}_checkAndApplyAutoLinkOnRange(t){const e=this.editor.model,{text:n,range:o}=vk(t,e),i=Ay(n);if(i){const t=e.createRange(o.end.getShiftedBy(-i.length),o.end);this._applyAutoLink(i,t)}}_applyAutoLink(t,e){const n=this.editor.model,o=qv(t,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(t,e){return e.schema.checkAttributeInSelection(e.createSelection(t),"linkHref")}(e,n)&&Wv(o)&&!function(t){const e=t.start.nodeAfter;return!!e&&e.hasAttribute("linkHref")}(e)&&this._persistAutoLink(o,e)}_persistAutoLink(t,e){const n=this.editor.model,o=this.editor.plugins.get("Delete");n.enqueueChange((i=>{i.setAttribute("linkHref",t,e),n.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))}}function Ay(t){const e=by.exec(t);return e?e[2]:null}var Cy=n(111),_y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Cy.Z,_y);Cy.Z.locals;Symbol.iterator;Symbol.iterator;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var vy=n(5730),yy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(vy.Z,yy);vy.Z.locals;var xy=n(4564),Ey={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(xy.Z,Ey);xy.Z.locals;function Dy(t,e){const n=e.mapper,o=e.writer,i="numbered"==t.getAttribute("listType")?"ol":"ul",r=function(t){const e=t.createContainerElement("li");return e.getFillerOffset=Oy,e}(o),s=o.createContainerElement(i,null);return o.insert(o.createPositionAt(s,0),r),n.bindElements(t,r),r}function Iy(t,e,n,o){const i=e.parent,r=n.mapper,s=n.writer;let a=r.toViewPosition(o.createPositionBefore(t));const c=My(t.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:t.getAttribute("listIndent")}),l=t.previousSibling;if(c&&c.getAttribute("listIndent")==t.getAttribute("listIndent")){const t=r.toViewElement(c);a=s.breakContainer(s.createPositionAfter(t))}else if(l&&"listItem"==l.name){a=r.toViewPosition(o.createPositionAt(l,"end"));const t=r.findMappedViewAncestor(a),e=function(t){for(const e of t.getChildren())if("ul"==e.name||"ol"==e.name)return e;return null}(t);a=e?s.createPositionBefore(e):s.createPositionAt(t,"end")}else a=r.toViewPosition(o.createPositionBefore(t));if(a=Ty(a),s.insert(a,i),l&&"listItem"==l.name){const t=r.toViewElement(l),n=s.createRange(s.createPositionAt(t,0),a).getWalker({ignoreElementEnd:!0});for(const t of n)if(t.item.is("element","li")){const o=s.breakContainer(s.createPositionBefore(t.item)),i=t.item.parent,r=s.createPositionAt(e,"end");Sy(s,r.nodeBefore,r.nodeAfter),s.move(s.createRangeOn(i),r),n._position=o}}else{const n=i.nextSibling;if(n&&(n.is("element","ul")||n.is("element","ol"))){let o=null;for(const e of n.getChildren()){const n=r.toModelElement(e);if(!(n&&n.getAttribute("listIndent")>t.getAttribute("listIndent")))break;o=e}o&&(s.breakContainer(s.createPositionAfter(o)),s.move(s.createRangeOn(o.parent),s.createPositionAt(e,"end")))}}Sy(s,i,i.nextSibling),Sy(s,i.previousSibling,i)}function Sy(t,e,n){return!e||!n||"ul"!=e.name&&"ol"!=e.name||e.name!=n.name||e.getAttribute("class")!==n.getAttribute("class")?null:t.mergeContainers(t.createPositionAfter(e))}function Ty(t){return t.getLastMatchingPosition((t=>t.item.is("uiElement")))}function My(t,e){const n=!!e.sameIndent,o=!!e.smallerIndent,i=e.listIndent;let r=t;for(;r&&"listItem"==r.name;){const t=r.getAttribute("listIndent");if(n&&i==t||o&&i>t)return r;r="forward"===e.direction?r.nextSibling:r.previousSibling}return null}function By(t,e,n,o){t.ui.componentFactory.add(e,(i=>{const r=t.commands.get(e),s=new wg(i);return s.set({label:n,icon:o,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.on("execute",(()=>{t.execute(e),t.editing.view.focus()})),s}))}function Ny(t,e){const n=[],o=t.parent,i={ignoreElementEnd:!1,startPosition:t,shallow:!0,direction:e},r=o.getAttribute("listIndent"),s=[...new yc(i)].filter((t=>t.item.is("element"))).map((t=>t.item));for(const t of s){if(!t.is("element","listItem"))break;if(t.getAttribute("listIndent")r)){if(t.getAttribute("listType")!==o.getAttribute("listType"))break;if(t.getAttribute("listStyle")!==o.getAttribute("listStyle"))break;if(t.getAttribute("listReversed")!==o.getAttribute("listReversed"))break;if(t.getAttribute("listStart")!==o.getAttribute("listStart"))break;"backward"===e?n.unshift(t):n.push(t)}}return n}const Py=["disc","circle","square"],zy=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function Oy(){const t=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||t?0:as.call(this)}class Ly extends Ni{static get pluginName(){return"ListUI"}init(){const t=this.editor.t;By(this.editor,"numberedList",t("Numbered List"),''),By(this.editor,"bulletedList",t("Bulleted List"),'')}}const jy={},Ry={},Fy={},Vy=[{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:t,typeAttribute:e,listType:n}of Vy)jy[t]=n,Ry[t]=e,e&&(Fy[e]=t);var Uy=n(6082),Hy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Uy.Z,Hy);Uy.Z.locals;var Gy=n(2417),qy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Gy.Z,qy);Gy.Z.locals;class Wy extends zi{constructor(t,e){super(t),this._indentBy="forward"==e?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=t.document;let n=Array.from(e.selection.getSelectedBlocks());t.change((t=>{const e=n[n.length-1];let o=e.nextSibling;for(;o&&"listItem"==o.name&&o.getAttribute("listIndent")>e.getAttribute("listIndent");)n.push(o),o=o.nextSibling;this._indentBy<0&&(n=n.reverse());for(const e of n){const n=e.getAttribute("listIndent")+this._indentBy;n<0?t.rename(e,"paragraph"):t.setAttribute("listIndent",n,e)}this.fire("_executeCleanup",n)}))}_checkEnabled(){const t=yi(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is("element","listItem"))return!1;if(this._indentBy>0){const e=t.getAttribute("listIndent"),n=t.getAttribute("listType");let o=t.previousSibling;for(;o&&o.is("element","listItem")&&o.getAttribute("listIndent")>=e;){if(o.getAttribute("listIndent")==e)return o.getAttribute("listType")==n;o=o.previousSibling}return!1}return!0}}class Ky extends zi{constructor(t,e){super(t),this.type=e}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.document,o=Array.from(n.selection.getSelectedBlocks()).filter((t=>Yy(t,e.schema))),i=void 0!==t.forceValue?!t.forceValue:this.value;e.change((t=>{if(i){let e=o[o.length-1].nextSibling,n=Number.POSITIVE_INFINITY,i=[];for(;e&&"listItem"==e.name&&0!==e.getAttribute("listIndent");){const t=e.getAttribute("listIndent");t=n;)r>i.getAttribute("listIndent")&&(r=i.getAttribute("listIndent")),i.getAttribute("listIndent")==r&&t[e?"unshift":"push"](i),i=i[e?"previousSibling":"nextSibling"]}}function Yy(t,e){return e.checkChild(t.parent,"listItem")&&!e.isObject(t)}class $y extends Ni{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(t){return function(t){return Py.includes(t)?"bulleted":zy.includes(t)?"numbered":null}(t)}getSelectedListItems(t){return function(t){let e=[...t.document.selection.getSelectedBlocks()].filter((t=>t.is("element","listItem"))).map((e=>{const n=t.change((t=>t.createPositionAt(e,0)));return[...Ny(n,"backward"),...Ny(n,"forward")]})).flat();return e=[...new Set(e)],e}(t)}getSiblingNodes(t,e){return Ny(t,e)}}function Qy(t){return(e,n,o)=>{const i=o.consumable;if(!i.test(n.item,"insert")||!i.test(n.item,"attribute:listType")||!i.test(n.item,"attribute:listIndent"))return;i.consume(n.item,"insert"),i.consume(n.item,"attribute:listType"),i.consume(n.item,"attribute:listIndent");const r=n.item;Iy(r,Dy(r,o),o,t)}}const Jy=(t,e,n)=>{if(!n.consumable.test(e.item,t.name))return;const o=n.mapper.toViewElement(e.item),i=n.writer;i.breakContainer(i.createPositionBefore(o)),i.breakContainer(i.createPositionAfter(o));const r=o.parent,s="numbered"==e.attributeNewValue?"ol":"ul";i.rename(s,r)},Xy=(t,e,n)=>{n.consumable.consume(e.item,t.name);const o=n.mapper.toViewElement(e.item).parent,i=n.writer;Sy(i,o,o.nextSibling),Sy(i,o.previousSibling,o)};const tx=(t,e,n)=>{if(n.consumable.test(e.item,t.name)&&"listItem"!=e.item.name){let t=n.mapper.toViewPosition(e.range.start);const o=n.writer,i=[];for(;("ul"==t.parent.name||"ol"==t.parent.name)&&(t=o.breakContainer(t),"li"==t.parent.name);){const e=t,n=o.createPositionAt(t.parent,"end");if(!e.isEqual(n)){const t=o.remove(o.createRange(e,n));i.push(t)}t=o.createPositionAfter(t.parent)}if(i.length>0){for(let e=0;e0){const e=Sy(o,n,n.nextSibling);e&&e.parent==n&&t.offset--}}Sy(o,t.nodeBefore,t.nodeAfter)}}},ex=(t,e,n)=>{const o=n.mapper.toViewPosition(e.position),i=o.nodeBefore,r=o.nodeAfter;Sy(n.writer,i,r)},nx=(t,e,n)=>{if(n.consumable.consume(e.viewItem,{name:!0})){const t=n.writer,o=t.createElement("listItem"),i=function(t){let e=0,n=t.parent;for(;n;){if(n.is("element","li"))e++;else{const t=n.previousSibling;t&&t.is("element","li")&&e++}n=n.parent}return e}(e.viewItem);t.setAttribute("listIndent",i,o);const r=e.viewItem.parent&&"ol"==e.viewItem.parent.name?"numbered":"bulleted";if(t.setAttribute("listType",r,o),!n.safeInsert(o,e.modelCursor))return;const s=function(t,e,n){const{writer:o,schema:i}=n;let r=o.createPositionAfter(t);for(const s of e)if("ul"==s.name||"ol"==s.name)r=n.convertItem(s,r).modelCursor;else{const e=n.convertItem(s,o.createPositionAt(t,"end")),a=e.modelRange.start.nodeAfter;a&&a.is("element")&&!i.checkChild(t,a.name)&&(t=e.modelCursor.parent.is("element","listItem")?e.modelCursor.parent:ax(e.modelCursor),r=o.createPositionAfter(t))}return r}(o,e.viewItem.getChildren(),n);e.modelRange=t.createRange(e.modelCursor,s),n.updateConversionResult(o,e)}},ox=(t,e,n)=>{if(n.consumable.test(e.viewItem,{name:!0})){const t=Array.from(e.viewItem.getChildren());for(const e of t){!(e.is("element","li")||lx(e))&&e._remove()}}},ix=(t,e,n)=>{if(n.consumable.test(e.viewItem,{name:!0})){if(0===e.viewItem.childCount)return;const t=[...e.viewItem.getChildren()];let n=!1;for(const e of t)n&&!lx(e)&&e._remove(),lx(e)&&(n=!0)}};function rx(t){return(e,n)=>{if(n.isPhantom)return;const o=n.modelPosition.nodeBefore;if(o&&o.is("element","listItem")){const e=n.mapper.toViewElement(o),i=e.getAncestors().find(lx),r=t.createPositionAt(e,0).getWalker();for(const t of r){if("elementStart"==t.type&&t.item.is("element","li")){n.viewPosition=t.previousPosition;break}if("elementEnd"==t.type&&t.item==i){n.viewPosition=t.nextPosition;break}}}}}const sx=function(t,[e,n]){const o=this;let i,r=e.is("documentFragment")?e.getChild(0):e;if(i=n?o.createSelection(n):o.document.selection,r&&r.is("element","listItem")){const t=i.getFirstPosition();let e=null;if(t.parent.is("element","listItem")?e=t.parent:t.nodeBefore&&t.nodeBefore.is("element","listItem")&&(e=t.nodeBefore),e){const t=e.getAttribute("listIndent");if(t>0)for(;r&&r.is("element","listItem");)r._setAttribute("listIndent",r.getAttribute("listIndent")+t),r=r.nextSibling}}};function ax(t){const e=new yc({startPosition:t});let n;do{n=e.next()}while(!n.value.item.is("element","listItem"));return n.value.item}function cx(t,e,n,o,i,r){const s=My(e.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:t}),a=i.mapper,c=i.writer,l=s?s.getAttribute("listIndent"):null;let d;if(s)if(l==t){const t=a.toViewElement(s).parent;d=c.createPositionAfter(t)}else{const t=r.createPositionAt(s,"end");d=a.toViewPosition(t)}else d=n;d=Ty(d);for(const t of[...o.getChildren()])lx(t)&&(d=c.move(c.createRangeOn(t),d).end,Sy(c,t,t.nextSibling),Sy(c,t.previousSibling,t))}function lx(t){return t.is("element","ol")||t.is("element","ul")}class dx extends Ni{static get pluginName(){return"ListEditing"}static get requires(){return[Wk,Ck,$y]}init(){const t=this.editor;t.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const e=t.data,n=t.editing;var o;t.model.document.registerPostFixer((e=>function(t,e){const n=t.document.differ.getChanges(),o=new Map;let i=!1;for(const o of n)if("insert"==o.type&&"listItem"==o.name)r(o.position);else if("insert"==o.type&&"listItem"!=o.name){if("$text"!=o.name){const n=o.position.nodeAfter;n.hasAttribute("listIndent")&&(e.removeAttribute("listIndent",n),i=!0),n.hasAttribute("listType")&&(e.removeAttribute("listType",n),i=!0),n.hasAttribute("listStyle")&&(e.removeAttribute("listStyle",n),i=!0),n.hasAttribute("listReversed")&&(e.removeAttribute("listReversed",n),i=!0),n.hasAttribute("listStart")&&(e.removeAttribute("listStart",n),i=!0);for(const e of Array.from(t.createRangeIn(n)).filter((t=>t.item.is("element","listItem"))))r(e.previousPosition)}r(o.position.getShiftedBy(o.length))}else"remove"==o.type&&"listItem"==o.name?r(o.position):("attribute"==o.type&&"listIndent"==o.attributeKey||"attribute"==o.type&&"listType"==o.attributeKey)&&r(o.range.start);for(const t of o.values())s(t),a(t);return i;function r(t){const e=t.nodeBefore;if(e&&e.is("element","listItem")){let t=e;if(o.has(t))return;for(let e=t.previousSibling;e&&e.is("element","listItem");e=t.previousSibling)if(t=e,o.has(t))return;o.set(e,t)}else{const e=t.nodeAfter;e&&e.is("element","listItem")&&o.set(e,e)}}function s(t){let n=0,o=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(r>n){let s;null===o?(o=r-n,s=n):(o>r&&(o=r),s=r-o),e.setAttribute("listIndent",s,t),i=!0}else o=null,n=t.getAttribute("listIndent")+1;t=t.nextSibling}}function a(t){let n=[],o=null;for(;t&&t.is("element","listItem");){const r=t.getAttribute("listIndent");if(o&&o.getAttribute("listIndent")>r&&(n=n.slice(0,r+1)),0!=r)if(n[r]){const o=n[r];t.getAttribute("listType")!=o&&(e.setAttribute("listType",o,t),i=!0)}else n[r]=t.getAttribute("listType");o=t,t=t.nextSibling}}}(t.model,e))),n.mapper.registerViewToModelLength("li",hx),e.mapper.registerViewToModelLength("li",hx),n.mapper.on("modelToViewPosition",rx(n.view)),n.mapper.on("viewToModelPosition",(o=t.model,(t,e)=>{const n=e.viewPosition,i=n.parent,r=e.mapper;if("ul"==i.name||"ol"==i.name){if(n.isAtEnd){const t=r.toModelElement(n.nodeBefore),i=r.getModelLength(n.nodeBefore);e.modelPosition=o.createPositionBefore(t).getShiftedBy(i)}else{const t=r.toModelElement(n.nodeAfter);e.modelPosition=o.createPositionBefore(t)}t.stop()}else if("li"==i.name&&n.nodeBefore&&("ul"==n.nodeBefore.name||"ol"==n.nodeBefore.name)){const s=r.toModelElement(i);let a=1,c=n.nodeBefore;for(;c&&lx(c);)a+=r.getModelLength(c),c=c.previousSibling;e.modelPosition=o.createPositionBefore(s).getShiftedBy(a),t.stop()}})),e.mapper.on("modelToViewPosition",rx(n.view)),t.conversion.for("editingDowncast").add((e=>{e.on("insert",tx,{priority:"high"}),e.on("insert:listItem",Qy(t.model)),e.on("attribute:listType:listItem",Jy,{priority:"high"}),e.on("attribute:listType:listItem",Xy,{priority:"low"}),e.on("attribute:listIndent:listItem",function(t){return(e,n,o)=>{if(!o.consumable.consume(n.item,"attribute:listIndent"))return;const i=o.mapper.toViewElement(n.item),r=o.writer;r.breakContainer(r.createPositionBefore(i)),r.breakContainer(r.createPositionAfter(i));const s=i.parent,a=s.previousSibling,c=r.createRangeOn(s);r.remove(c),a&&a.nextSibling&&Sy(r,a,a.nextSibling),cx(n.attributeOldValue+1,n.range.start,c.start,i,o,t),Iy(n.item,i,o,t);for(const t of n.item.getChildren())o.consumable.consume(t,"insert")}}(t.model)),e.on("remove:listItem",function(t){return(e,n,o)=>{const i=o.mapper.toViewPosition(n.position).getLastMatchingPosition((t=>!t.item.is("element","li"))).nodeAfter,r=o.writer;r.breakContainer(r.createPositionBefore(i)),r.breakContainer(r.createPositionAfter(i));const s=i.parent,a=s.previousSibling,c=r.createRangeOn(s),l=r.remove(c);a&&a.nextSibling&&Sy(r,a,a.nextSibling),cx(o.mapper.toModelElement(i).getAttribute("listIndent")+1,n.position,c.start,i,o,t);for(const t of r.createRangeIn(l).getItems())o.mapper.unbindViewElement(t);e.stop()}}(t.model)),e.on("remove",ex,{priority:"low"})})),t.conversion.for("dataDowncast").add((e=>{e.on("insert",tx,{priority:"high"}),e.on("insert:listItem",Qy(t.model))})),t.conversion.for("upcast").add((t=>{t.on("element:ul",ox,{priority:"high"}),t.on("element:ol",ox,{priority:"high"}),t.on("element:li",ix,{priority:"high"}),t.on("element:li",nx)})),t.model.on("insertContent",sx,{priority:"high"}),t.commands.add("numberedList",new Ky(t,"numbered")),t.commands.add("bulletedList",new Ky(t,"bulleted")),t.commands.add("indentList",new Wy(t,"forward")),t.commands.add("outdentList",new Wy(t,"backward"));const i=n.view.document;this.listenTo(i,"enter",((t,e)=>{const n=this.editor.model.document,o=n.selection.getLastPosition().parent;n.selection.isCollapsed&&"listItem"==o.name&&o.isEmpty&&(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(i,"delete",((t,e)=>{if("backward"!==e.direction)return;const n=this.editor.model.document.selection;if(!n.isCollapsed)return;const o=n.getFirstPosition();if(!o.isAtStart)return;const i=o.parent;if("listItem"!==i.name)return;i.previousSibling&&"listItem"===i.previousSibling.name||(this.editor.execute("outdentList"),e.preventDefault(),t.stop())}),{context:"li"}),this.listenTo(t.editing.view.document,"tab",((e,n)=>{const o=n.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(t.execute(o),n.stopPropagation(),n.preventDefault(),e.stop())}),{context:"li"})}afterInit(){const t=this.editor.commands,e=t.get("indent"),n=t.get("outdent");e&&e.registerChildCommand(t.get("indentList")),n&&n.registerChildCommand(t.get("outdentList"))}}function hx(t){let e=1;for(const n of t.getChildren())if("ul"==n.name||"ol"==n.name)for(const t of n.getChildren())e+=hx(t);return e}mi("Ctrl+Enter");var ux=n(1199),gx={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(ux.Z,gx);ux.Z.locals;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;mi("Ctrl+Enter");function px(t,e){const n=(n,o,i)=>{if(!i.consumable.consume(o.item,n.name))return;const r=o.attributeNewValue,s=i.writer,a=i.mapper.toViewElement(o.item),c=[...a.getChildren()].find((t=>t.getCustomProperty("media-content")));s.remove(c);const l=t.getMediaViewElement(s,r,e);s.insert(s.createPositionAt(a,0),l)};return t=>{t.on("attribute:url:media",n)}}function mx(t,e,n,o){return t.createContainerElement("figure",{class:"media"},[e.getMediaViewElement(t,n,o),t.createSlot()])}function fx(t){const e=t.getSelectedElement();return e&&e.is("element","media")?e:null}function kx(t,e,n,o){t.change((i=>{const r=i.createElement("media",{url:e});t.insertObject(r,n,null,{setSelection:"on",findOptimalPosition:o?"auto":void 0})}))}class bx extends zi{refresh(){const t=this.editor.model,e=t.document.selection,n=fx(e);this.value=n?n.getAttribute("url"):void 0,this.isEnabled=function(t){const e=t.getSelectedElement();return!!e&&"media"===e.name}(e)||function(t,e){const n=db(t,e);let o=n.start.parent;o.isEmpty&&!e.schema.isLimit(o)&&(o=o.parent);return e.schema.checkChild(o,"media")}(e,t)}execute(t){const e=this.editor.model,n=e.document.selection,o=fx(n);o?e.change((e=>{e.setAttribute("url",t,o)})):kx(e,t,n,!0)}}class wx{constructor(t,e){const n=e.providers,o=e.extraProviders||[],i=new Set(e.removeProviders),r=n.concat(o).filter((t=>{const e=t.name;return e?!i.has(e):(b("media-embed-no-provider-name",{provider:t}),!1)}));this.locale=t,this.providerDefinitions=r}hasMedia(t){return!!this._getMedia(t)}getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n)}_getMedia(t){if(!t)return new Ax(this.locale);t=t.trim();for(const e of this.providerDefinitions){const n=e.html,o=bi(e.url);for(const e of o){const o=this._getUrlMatches(t,e);if(o)return new Ax(this.locale,t,o,n)}}return null}_getUrlMatches(t,e){let n=t.match(e);if(n)return n;let o=t.replace(/^https?:\/\//,"");return n=o.match(e),n||(o=o.replace(/^www\./,""),n=o.match(e),n||null)}}class Ax{constructor(t,e,n,o){this.url=this._getValidUrl(e),this._locale=t,this._match=n,this._previewRenderer=o}getViewElement(t,e){const n={};let o;if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(n["data-oembed-url"]=this.url),e.renderForEditingView&&(n.class="ck-media__wrapper");const i=this._getPreviewHtml(e);o=t.createRawElement("div",n,((t,e)=>{e.setContentOf(t,i)}))}else this.url&&(n.url=this.url),o=t.createEmptyElement(e.elementName,n);return t.setCustomProperty("media-content",!0,o),o}_getPreviewHtml(t){return this._previewRenderer?this._previewRenderer(this._match):this.url&&t.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const t=new mg,e=this._locale.t;t.content='',t.viewBox="0 0 64 42";return new Gu({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[t]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":e("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(t){return t?t.match(/^https?/)?t:"https://"+t:null}}var Cx=n(7442),_x={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Cx.Z,_x);Cx.Z.locals;class vx extends Ni{constructor(t){super(t),t.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:t=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:t=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:t=>{const e=t[1],n=t[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:t=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new wx(t.locale,t.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const t=this.editor,e=t.model.schema,n=t.t,o=t.conversion,i=t.config.get("mediaEmbed.previewsInData"),r=t.config.get("mediaEmbed.elementName"),s=this.registry;t.commands.add("mediaEmbed",new bx(t)),e.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),o.for("dataDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const n=t.getAttribute("url");return mx(e,s,n,{elementName:r,renderMediaPreview:!!n&&i})}}),o.for("dataDowncast").add(px(s,{elementName:r,renderMediaPreview:i})),o.for("editingDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const o=t.getAttribute("url");return function(t,e,n){return e.setCustomProperty("media",!0,t),rb(t,e,{label:n})}(mx(e,s,o,{elementName:r,renderForEditingView:!0}),e,n("media widget"))}}),o.for("editingDowncast").add(px(s,{elementName:r,renderForEditingView:!0})),o.for("upcast").elementToElement({view:t=>["oembed",r].includes(t.name)&&t.getAttribute("url")?{name:!0}:null,model:(t,{writer:e})=>{const n=t.getAttribute("url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(t,{writer:e})=>{const n=t.getAttribute("data-oembed-url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).add((t=>{t.on("element:figure",((t,e,n)=>{if(!n.consumable.consume(e.viewItem,{name:!0,classes:"media"}))return;const{modelRange:o,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=o,e.modelCursor=i;yi(o.getItems())||n.consumable.revert(e.viewItem,{name:!0,classes:"media"})}))}))}}const yx=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class xx extends Ni{constructor(t){super(t),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[nw,Ck,vw]}static get pluginName(){return"AutoMediaEmbed"}init(){const t=this.editor,e=t.model.document,n=t.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",(()=>{const t=e.selection.getFirstRange(),n=th.fromPosition(t.start);n.stickiness="toPrevious";const o=th.fromPosition(t.end);o.stickiness="toNext",e.once("change:data",(()=>{this._embedMediaBetweenPositions(n,o),n.detach(),o.detach()}),{priority:"high"})}));t.commands.get("undo").on("execute",(()=>{this._timeoutId&&(Mo.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedMediaBetweenPositions(t,e){const n=this.editor,o=n.plugins.get(vx).registry,i=new el(t,e),r=i.getWalker({ignoreElementEnd:!0});let s="";for(const t of r)t.item.is("$textProxy")&&(s+=t.item.data);if(s=s.trim(),!s.match(yx))return void i.detach();if(!o.hasMedia(s))return void i.detach();n.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=th.fromPosition(t),this._timeoutId=Mo.window.setTimeout((()=>{n.model.change((t=>{this._timeoutId=null,t.remove(i),i.detach();let e=null;"$graveyard"!==this._positionToInsert.root.rootName&&(e=this._positionToInsert),kx(n.model,s,e,!1),this._positionToInsert.detach(),this._positionToInsert=null})),n.plugins.get(Ck).requestUndoOnBackspace()}),100)):i.detach()}}var Ex=n(9292),Dx={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Ex.Z,Dx);Ex.Z.locals;class Ix extends Hu{constructor(t,e){super(e);const n=e.t;this.focusTracker=new xi,this.keystrokes=new Ei,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),bu.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",(t=>!!t)),this.cancelButtonView=this._createButton(n("Cancel"),bu.cancel,"ck-button-cancel","cancel"),this._focusables=new Fu,this._focusCycler=new qg({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=t,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),Ru({view:this});[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(t){this.urlInputView.fieldView.element.value=t.trim()}isValid(){this.resetFormStatus();for(const t of this._validators){const e=t(this);if(e)return this.urlInputView.errorText=e,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const t=this.locale.t,e=new Tg(this.locale,Tp),n=e.fieldView;return this._urlInputViewInfoDefault=t("Paste the media URL in the input."),this._urlInputViewInfoTip=t("Tip: Paste the URL into the content to embed faster."),e.label=t("Media URL"),e.infoText=this._urlInputViewInfoDefault,n.on("input",(()=>{e.infoText=n.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=n.element.value.trim()})),e}_createButton(t,e,n,o){const i=new wg(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}}class Sx extends Ni{static get requires(){return[vx]}static get pluginName(){return"MediaEmbedUI"}init(){const t=this.editor,e=t.commands.get("mediaEmbed");t.ui.componentFactory.add("mediaEmbed",(t=>{const n=vp(t);return this._setUpDropdown(n,e),n}))}_setUpDropdown(t,e){const n=this.editor,o=n.t,i=t.buttonView,r=n.plugins.get(vx).registry;t.once("change:isOpen",(()=>{const o=new(ju(Ix))(function(t,e){return[e=>{if(!e.url.length)return t("The URL must not be empty.")},n=>{if(!e.hasMedia(n.url))return t("This media URL is not supported.")}]}(n.t,r),n.locale);t.panelView.children.add(o),i.on("open",(()=>{o.disableCssTransitions(),o.url=e.value||"",o.urlInputView.fieldView.select(),o.enableCssTransitions()}),{priority:"low"}),t.on("submit",(()=>{o.isValid()&&(n.execute("mediaEmbed",o.url),n.editing.view.focus())})),t.on("change:isOpen",(()=>o.resetFormStatus())),t.on("cancel",(()=>{n.editing.view.focus()})),o.delegate("submit","cancel").to(t),o.urlInputView.fieldView.bind("value").to(e,"value"),o.urlInputView.bind("isEnabled").to(e,"isEnabled")})),t.bind("isEnabled").to(e),i.set({label:o("Insert media"),icon:'',tooltip:!0})}}var Tx=n(4652),Mx={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Hi()(Tx.Z,Mx);Tx.Z.locals;function Bx(t,e){if(!t.childCount)return;const n=new uu(t.document),o=function(t,e){const n=e.createRangeIn(t),o=new ir({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),i=[];for(const t of n)if("elementStart"===t.type&&o.match(t.item)){const e=zx(t.item);i.push({element:t.item,id:e.id,order:e.order,indent:e.indent})}return i}(t,n);if(!o.length)return;let i=null,r=1;o.forEach(((t,s)=>{const a=function(t,e){if(!t)return!0;if(t.id!==e.id)return e.indent-t.indent!=1;const n=e.element.previousSibling;if(!n)return!0;return o=n,!(o.is("element","ol")||o.is("element","ul"));var o}(o[s-1],t),c=a?null:o[s-1],l=(h=t,(d=c)?h.indent-d.indent:h.indent-1);var d,h;if(a&&(i=null,r=1),!i||0!==l){const o=function(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),o=/mso-level-number-format:([^;]{0,100});/gi,i=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,r=n.exec(e);let s="decimal",a="ol",c=null;if(r&&r[1]){const e=o.exec(r[1]);if(e&&e[1]&&(s=e[1].trim(),a="bullet"!==s&&"image"!==s?"ol":"ul"),"bullet"===s){const e=function(t){const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(s=e)}else{const t=i.exec(r[1]);t&&t[1]&&(c=parseInt(t[1]))}}return{type:a,startIndex:c,style:Nx(s)}}(t,e);if(i){if(t.indent>r){const t=i.getChild(i.childCount-1),e=t.getChild(t.childCount-1);i=Px(o,e,n),r+=1}else if(t.indent1&&n.setAttribute("start",t.startIndex,i),i}function zx(t){const e={},n=t.getStyle("mso-list");if(n){const t=n.match(/(^|\s{1,100})l(\d+)/i),o=n.match(/\s{0,100}lfo(\d+)/i),i=n.match(/\s{0,100}level(\d+)/i);t&&o&&i&&(e.id=t[2],e.order=o[1],e.indent=parseInt(i[1]))}return e}function Ox(t,e){if(!t.childCount)return;const n=new uu(t.document),o=function(t,e){const n=e.createRangeIn(t),o=new ir({name:/v:(.+)/}),i=[];for(const t of n){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null;o.match(e)&&e.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&i.push(t.item.getAttribute("id"))}return i}(t,n);!function(t,e,n){const o=n.createRangeIn(e),i=new ir({name:"img"}),r=[];for(const e of o)if(e.item.is("element")&&i.match(e.item)){const n=e.item,o=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];o.length&&o.every((e=>t.indexOf(e)>-1))?r.push(n):n.getAttribute("src")||r.push(n)}for(const t of r)n.remove(t)}(o,t,n),function(t,e,n){const o=n.createRangeIn(e),i=[];for(const e of o)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;r(e.item.parent.getChildren(),n)||i.push(e.item)}for(const t of i){const e={src:s(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const o=n.createElement("img",e);n.insertChild(t.index+1,o,t.parent)}function r(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(r(n.getChildren(),e))return!0}return!1}function s(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(o,t,n),function(t,e){const n=e.createRangeIn(t),o=new ir({name:/v:(.+)/}),i=[];for(const t of n)"elementStart"==t.type&&o.match(t.item)&&i.push(t.item);for(const t of i)e.remove(t)}(t,n);const i=function(t,e){const n=e.createRangeIn(t),o=new ir({name:"img"}),i=[];for(const t of n)t.item.is("element")&&o.match(t.item)&&t.item.getAttribute("src").startsWith("file://")&&i.push(t.item);return i}(t,n);i.length&&function(t,e,n){if(t.length===e.length)for(let o=0;oString.fromCharCode(parseInt(t,16)))).join(""))}const jx=//i,Rx=/xmlns:o="urn:schemas-microsoft-com/i;class Fx{constructor(t){this.document=t}isActive(t){return jx.test(t)||Rx.test(t)}execute(t){const{body:e,stylesString:n}=t._parsedData;Bx(e,n),Ox(e,t.dataTransfer.getData("text/rtf")),function(t){const e=[],n=new uu(t.document);for(const{item:o}of n.createRangeIn(t))if(o.is("element")){for(const t of o.getClassNames())/\bmso/gi.exec(t)&&n.removeClass(t,o);for(const t of o.getStyleNames())/\bmso/gi.exec(t)&&n.removeStyle(t,o);o.is("element","w:sdt")&&e.push(o)}for(const t of e){const e=t.parent,o=e.getChildIndex(t);n.insertChild(o,t.getChildren(),e),n.remove(t)}}(e),t.content=e}}function Vx(t,e,n,{blockElements:o,inlineObjectElements:i}){let r=n.createPositionAt(t,"forward"==e?"after":"before");return r=r.getLastMatchingPosition((({item:t})=>t.is("element")&&!o.includes(t.name)&&!i.includes(t.name)),{direction:e}),"forward"==e?r.nodeAfter:r.nodeBefore}function Ux(t,e){return!!t&&t.is("element")&&e.includes(t.name)}const Hx=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class Gx{constructor(t){this.document=t}isActive(t){return Hx.test(t)}execute(t){const e=new uu(this.document),{body:n}=t._parsedData;!function(t,e){for(const n of t.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const o=t.getChildIndex(n);e.remove(n),e.insertChild(o,n.getChildren(),t)}}(n,e),function(t,e){for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","li")){const n=t.getChild(0);n&&n.is("element","p")&&e.unwrapElement(n)}}}(n,e),function(t,e){const n=new ys(e.document.stylesProcessor),o=new ma(n,{renderingMode:"data"}),i=o.blockElements,r=o.inlineObjectElements,s=[];for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","br")){const n=Vx(t,"forward",e,{blockElements:i,inlineObjectElements:r}),o=Vx(t,"backward",e,{blockElements:i,inlineObjectElements:r}),a=Ux(n,i);(Ux(o,i)||a)&&s.push(t)}}for(const t of s)t.hasClass("Apple-interchange-newline")?e.remove(t):e.replace(t,e.createElement("p"))}(n,e),t.content=n}}const qx=/(\s+)<\/span>/g,((t,e)=>1===e.length?" ":Array(e.length+1).join("  ").substr(0,e.length)))}function Zx(t,e){const n=new DOMParser,o=function(t){return Kx(Kx(t)).replace(/([^\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(t){const e="",n="",o=t.indexOf(e);if(o<0)return t;const i=t.indexOf(n,o+e.length);return t.substring(0,o+e.length)+(i>=0?t.substring(i):"")}(t=(t=t.replace(/

abc

\n\t\t\t//\n\t\t\tif ( isAttribute && this._wrapAttributeElement( wrapElement, child ) ) {\n\t\t\t\twrapPositions.push( new Position( parent, i ) );\n\t\t\t}\n\t\t\t//\n\t\t\t// Wrap the child if it is not an attribute element or if it is an attribute element that should be inside\n\t\t\t// `wrapElement` (due to priority).\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//

abc

-->

abc

\n\t\t\telse if ( isText || !isAttribute || shouldABeOutsideB( wrapElement, child ) ) {\n\t\t\t\t// Clone attribute.\n\t\t\t\tconst newAttribute = wrapElement._clone();\n\n\t\t\t\t// Wrap current node with new attribute.\n\t\t\t\tchild._remove();\n\t\t\t\tnewAttribute._appendChild( child );\n\n\t\t\t\tparent._insertChild( i, newAttribute );\n\t\t\t\tthis._addToClonedElementsGroup( newAttribute );\n\n\t\t\t\twrapPositions.push( new Position( parent, i ) );\n\t\t\t}\n\t\t\t//\n\t\t\t// If other nested attribute is found and it wasn't wrapped (see above), continue wrapping inside it.\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//\n\t\t\telse /* if ( isAttribute ) */ {\n\t\t\t\tthis._wrapChildren( child, 0, child.childCount, wrapElement );\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\t// Merge at each wrap.\n\t\tlet offsetChange = 0;\n\n\t\tfor ( const position of wrapPositions ) {\n\t\t\tposition.offset -= offsetChange;\n\n\t\t\t// Do not merge with elements outside selected children.\n\t\t\tif ( position.offset == startOffset ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst newPosition = this.mergeAttributes( position );\n\n\t\t\t// If nodes were merged - other merge offsets will change.\n\t\t\tif ( !newPosition.isEqual( position ) ) {\n\t\t\t\toffsetChange++;\n\t\t\t\tendOffset--;\n\t\t\t}\n\t\t}\n\n\t\treturn Range._createFromParentsAndOffsets( parent, startOffset, parent, endOffset );\n\t}\n\n\t/**\n\t * Unwraps children from provided `unwrapElement`. Only children contained in `parent` element between\n\t * `startOffset` and `endOffset` will be unwrapped.\n\t */\n\tprivate _unwrapChildren( parent: Element, startOffset: number, endOffset: number, unwrapElement: AttributeElement ) {\n\t\tlet i = startOffset;\n\t\tconst unwrapPositions: Array = [];\n\n\t\t// Iterate over each element between provided offsets inside parent.\n\t\t// We don't use tree walker or range iterator because we will be removing and merging potentially multiple nodes,\n\t\t// so it could get messy. It is safer to it manually in this case.\n\t\twhile ( i < endOffset ) {\n\t\t\tconst child = parent.getChild( i )!;\n\n\t\t\t// Skip all text nodes. There should be no container element's here either.\n\t\t\tif ( !child.is( 'attributeElement' ) ) {\n\t\t\t\ti++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// (In all examples, assume that `unwrapElement` is `` element.)\n\t\t\t//\n\t\t\t// If the child is similar to the given attribute element, unwrap it - it will be completely removed.\n\t\t\t//\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//\n\t\t\tif ( child.isSimilar( unwrapElement ) ) {\n\t\t\t\tconst unwrapped = child.getChildren();\n\t\t\t\tconst count = child.childCount;\n\n\t\t\t\t// Replace wrapper element with its children\n\t\t\t\tchild._remove();\n\t\t\t\tparent._insertChild( i, unwrapped );\n\n\t\t\t\tthis._removeFromClonedElementsGroup( child );\n\n\t\t\t\t// Save start and end position of moved items.\n\t\t\t\tunwrapPositions.push(\n\t\t\t\t\tnew Position( parent, i ),\n\t\t\t\t\tnew Position( parent, i + count )\n\t\t\t\t);\n\n\t\t\t\t// Skip elements that were unwrapped. Assuming there won't be another element to unwrap in child elements.\n\t\t\t\ti += count;\n\t\t\t\tendOffset += count - 1;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// If the child is not similar but is an attribute element, try partial unwrapping - remove the same attributes/styles/classes.\n\t\t\t// Partial unwrapping will happen only if the elements have the same name.\n\t\t\t//\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//\n\t\t\tif ( this._unwrapAttributeElement( unwrapElement, child ) ) {\n\t\t\t\tunwrapPositions.push(\n\t\t\t\t\tnew Position( parent, i ),\n\t\t\t\t\tnew Position( parent, i + 1 )\n\t\t\t\t);\n\n\t\t\t\ti++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// If other nested attribute is found, look through it's children for elements to unwrap.\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//\n\t\t\tthis._unwrapChildren( child, 0, child.childCount, unwrapElement );\n\n\t\t\ti++;\n\t\t}\n\n\t\t// Merge at each unwrap.\n\t\tlet offsetChange = 0;\n\n\t\tfor ( const position of unwrapPositions ) {\n\t\t\tposition.offset -= offsetChange;\n\n\t\t\t// Do not merge with elements outside selected children.\n\t\t\tif ( position.offset == startOffset || position.offset == endOffset ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst newPosition = this.mergeAttributes( position );\n\n\t\t\t// If nodes were merged - other merge offsets will change.\n\t\t\tif ( !newPosition.isEqual( position ) ) {\n\t\t\t\toffsetChange++;\n\t\t\t\tendOffset--;\n\t\t\t}\n\t\t}\n\n\t\treturn Range._createFromParentsAndOffsets( parent, startOffset, parent, endOffset );\n\t}\n\n\t/**\n\t * Helper function for `view.writer.wrap`. Wraps range with provided attribute element.\n\t * This method will also merge newly added attribute element with its siblings whenever possible.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not\n\t * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.\n\t *\n\t * @returns New range after wrapping, spanning over wrapping attribute element.\n\t */\n\tprivate _wrapRange( range: Range, attribute: AttributeElement ): Range {\n\t\t// Break attributes at range start and end.\n\t\tconst { start: breakStart, end: breakEnd } = this._breakAttributesRange( range, true );\n\t\tconst parentContainer = breakStart.parent as Element;\n\n\t\t// Wrap all children with attribute.\n\t\tconst newRange = this._wrapChildren( parentContainer, breakStart.offset, breakEnd.offset, attribute );\n\n\t\t// Merge attributes at the both ends and return a new range.\n\t\tconst start = this.mergeAttributes( newRange.start );\n\n\t\t// If start position was merged - move end position back.\n\t\tif ( !start.isEqual( newRange.start ) ) {\n\t\t\tnewRange.end.offset--;\n\t\t}\n\t\tconst end = this.mergeAttributes( newRange.end );\n\n\t\treturn new Range( start, end );\n\t}\n\n\t/**\n\t * Helper function for {@link #wrap}. Wraps position with provided attribute element.\n\t * This method will also merge newly added attribute element with its siblings whenever possible.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not\n\t * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.\n\t *\n\t * @returns New position after wrapping.\n\t */\n\tprivate _wrapPosition( position: Position, attribute: AttributeElement ): Position {\n\t\t// Return same position when trying to wrap with attribute similar to position parent.\n\t\tif ( attribute.isSimilar( position.parent as any ) ) {\n\t\t\treturn movePositionToTextNode( position.clone() );\n\t\t}\n\n\t\t// When position is inside text node - break it and place new position between two text nodes.\n\t\tif ( position.parent.is( '$text' ) ) {\n\t\t\tposition = breakTextNode( position );\n\t\t}\n\n\t\t// Create fake element that will represent position, and will not be merged with other attributes.\n\t\tconst fakeElement = this.createAttributeElement( '_wrapPosition-fake-element' );\n\t\t( fakeElement as any )._priority = Number.POSITIVE_INFINITY;\n\t\tfakeElement.isSimilar = () => false;\n\n\t\t// Insert fake element in position location.\n\t\t( position.parent as Element )._insertChild( position.offset, fakeElement );\n\n\t\t// Range around inserted fake attribute element.\n\t\tconst wrapRange = new Range( position, position.getShiftedBy( 1 ) );\n\n\t\t// Wrap fake element with attribute (it will also merge if possible).\n\t\tthis.wrap( wrapRange, attribute );\n\n\t\t// Remove fake element and place new position there.\n\t\tconst newPosition = new Position( fakeElement.parent!, fakeElement.index! );\n\t\tfakeElement._remove();\n\n\t\t// If position is placed between text nodes - merge them and return position inside.\n\t\tconst nodeBefore = newPosition.nodeBefore;\n\t\tconst nodeAfter = newPosition.nodeAfter;\n\n\t\tif ( nodeBefore instanceof Text && nodeAfter instanceof Text ) {\n\t\t\treturn mergeTextNodes( nodeBefore, nodeAfter );\n\t\t}\n\n\t\t// If position is next to text node - move position inside.\n\t\treturn movePositionToTextNode( newPosition );\n\t}\n\n\t/**\n\t * Wraps one {@link module:engine/view/attributeelement~AttributeElement AttributeElement} into another by\n\t * merging them if possible. When merging is possible - all attributes, styles and classes are moved from wrapper\n\t * element to element being wrapped.\n\t *\n\t * @param wrapper Wrapper AttributeElement.\n\t * @param toWrap AttributeElement to wrap using wrapper element.\n\t * @returns Returns `true` if elements are merged.\n\t */\n\tprivate _wrapAttributeElement( wrapper: AttributeElement, toWrap: AttributeElement ): boolean {\n\t\tif ( !canBeJoined( wrapper, toWrap ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Can't merge if name or priority differs.\n\t\tif ( wrapper.name !== toWrap.name || wrapper.priority !== toWrap.priority ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if attributes can be merged.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If some attributes are different we cannot wrap.\n\t\t\tif ( toWrap.hasAttribute( key ) && toWrap.getAttribute( key ) !== wrapper.getAttribute( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Check if styles can be merged.\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\tif ( toWrap.hasStyle( key ) && toWrap.getStyle( key ) !== wrapper.getStyle( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Move all attributes/classes/styles from wrapper to wrapped AttributeElement.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Move only these attributes that are not present - other are similar.\n\t\t\tif ( !toWrap.hasAttribute( key ) ) {\n\t\t\t\tthis.setAttribute( key, wrapper.getAttribute( key )!, toWrap );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\tif ( !toWrap.hasStyle( key ) ) {\n\t\t\t\tthis.setStyle( key, wrapper.getStyle( key )!, toWrap );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const key of wrapper.getClassNames() ) {\n\t\t\tif ( !toWrap.hasClass( key ) ) {\n\t\t\t\tthis.addClass( key, toWrap );\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Unwraps {@link module:engine/view/attributeelement~AttributeElement AttributeElement} from another by removing\n\t * corresponding attributes, classes and styles. All attributes, classes and styles from wrapper should be present\n\t * inside element being unwrapped.\n\t *\n\t * @param wrapper Wrapper AttributeElement.\n\t * @param toUnwrap AttributeElement to unwrap using wrapper element.\n\t * @returns Returns `true` if elements are unwrapped.\n\t **/\n\tprivate _unwrapAttributeElement( wrapper: AttributeElement, toUnwrap: AttributeElement ): boolean {\n\t\tif ( !canBeJoined( wrapper, toUnwrap ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Can't unwrap if name or priority differs.\n\t\tif ( wrapper.name !== toUnwrap.name || wrapper.priority !== toUnwrap.priority ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper attributes.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If some attributes are missing or different we cannot unwrap.\n\t\t\tif ( !toUnwrap.hasAttribute( key ) || toUnwrap.getAttribute( key ) !== wrapper.getAttribute( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper classes.\n\t\tif ( !toUnwrap.hasClass( ...wrapper.getClassNames() ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper styles.\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\t// If some styles are missing or different we cannot unwrap.\n\t\t\tif ( !toUnwrap.hasStyle( key ) || toUnwrap.getStyle( key ) !== wrapper.getStyle( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Remove all wrapper's attributes from unwrapped element.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.removeAttribute( key, toUnwrap );\n\t\t}\n\n\t\t// Remove all wrapper's classes from unwrapped element.\n\t\tthis.removeClass( Array.from( wrapper.getClassNames() ), toUnwrap );\n\n\t\t// Remove all wrapper's styles from unwrapped element.\n\t\tthis.removeStyle( Array.from( wrapper.getStyleNames() ), toUnwrap );\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Helper function used by other `DowncastWriter` methods. Breaks attribute elements at the boundaries of given range.\n\t *\n\t * @param range Range which `start` and `end` positions will be used to break attributes.\n\t * @param forceSplitText If set to `true`, will break text nodes even if they are directly in container element.\n\t * This behavior will result in incorrect view state, but is needed by other view writing methods which then fixes view state.\n\t * @returns New range with located at break positions.\n\t */\n\tprivate _breakAttributesRange( range: Range, forceSplitText: boolean = false ) {\n\t\tconst rangeStart = range.start;\n\t\tconst rangeEnd = range.end;\n\n\t\tvalidateRangeContainer( range, this.document );\n\n\t\t// Break at the collapsed position. Return new collapsed range.\n\t\tif ( range.isCollapsed ) {\n\t\t\tconst position = this._breakAttributes( range.start, forceSplitText );\n\n\t\t\treturn new Range( position, position );\n\t\t}\n\n\t\tconst breakEnd = this._breakAttributes( rangeEnd, forceSplitText );\n\t\tconst count = ( breakEnd.parent as Element ).childCount;\n\t\tconst breakStart = this._breakAttributes( rangeStart, forceSplitText );\n\n\t\t// Calculate new break end offset.\n\t\tbreakEnd.offset += ( breakEnd.parent as Element ).childCount - count;\n\n\t\treturn new Range( breakStart, breakEnd );\n\t}\n\n\t/**\n\t * Helper function used by other `DowncastWriter` methods. Breaks attribute elements at given position.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-cannot-break-empty-element` when break position\n\t * is placed inside {@link module:engine/view/emptyelement~EmptyElement EmptyElement}.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-cannot-break-ui-element` when break position\n\t * is placed inside {@link module:engine/view/uielement~UIElement UIElement}.\n\t *\n\t * @param position Position where to break attributes.\n\t * @param forceSplitText If set to `true`, will break text nodes even if they are directly in container element.\n\t * This behavior will result in incorrect view state, but is needed by other view writing methods which then fixes view state.\n\t * @returns New position after breaking the attributes.\n\t */\n\tprivate _breakAttributes( position: Position, forceSplitText: boolean = false ): Position {\n\t\tconst positionOffset = position.offset;\n\t\tconst positionParent = position.parent;\n\n\t\t// If position is placed inside EmptyElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'emptyElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break an `EmptyElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-empty-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-empty-element', this.document );\n\t\t}\n\n\t\t// If position is placed inside UIElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'uiElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break a `UIElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-ui-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-ui-element', this.document );\n\t\t}\n\n\t\t// If position is placed inside RawElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'rawElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break a `RawElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-raw-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-raw-element', this.document );\n\t\t}\n\n\t\t// There are no attributes to break and text nodes breaking is not forced.\n\t\tif ( !forceSplitText && positionParent.is( '$text' ) && isContainerOrFragment( positionParent.parent! ) ) {\n\t\t\treturn position.clone();\n\t\t}\n\n\t\t// Position's parent is container, so no attributes to break.\n\t\tif ( isContainerOrFragment( positionParent ) ) {\n\t\t\treturn position.clone();\n\t\t}\n\n\t\t// Break text and start again in new position.\n\t\tif ( positionParent.is( '$text' ) ) {\n\t\t\treturn this._breakAttributes( breakTextNode( position ), forceSplitText );\n\t\t}\n\n\t\tconst length = ( positionParent as any ).childCount;\n\n\t\t//

foobar{}

\n\t\t//

foobar[]

\n\t\t//

foobar[]

\n\t\tif ( positionOffset == length ) {\n\t\t\tconst newPosition = new Position( positionParent.parent as any, ( positionParent as any ).index + 1 );\n\n\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t} else {\n\t\t\t//

foo{}bar

\n\t\t\t//

foo[]bar

\n\t\t\t//

foo{}bar

\n\t\t\tif ( positionOffset === 0 ) {\n\t\t\t\tconst newPosition = new Position( positionParent.parent as Element, ( positionParent as any ).index );\n\n\t\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t\t}\n\t\t\t//

foob{}ar

\n\t\t\t//

foob[]ar

\n\t\t\t//

foob[]ar

\n\t\t\t//

foob[]ar

\n\t\t\telse {\n\t\t\t\tconst offsetAfter = ( positionParent as any ).index + 1;\n\n\t\t\t\t// Break element.\n\t\t\t\tconst clonedNode = ( positionParent as any )._clone();\n\n\t\t\t\t// Insert cloned node to position's parent node.\n\t\t\t\t( positionParent.parent as any )._insertChild( offsetAfter, clonedNode );\n\t\t\t\tthis._addToClonedElementsGroup( clonedNode );\n\n\t\t\t\t// Get nodes to move.\n\t\t\t\tconst count = ( positionParent as any ).childCount - positionOffset;\n\t\t\t\tconst nodesToMove = ( positionParent as any )._removeChildren( positionOffset, count );\n\n\t\t\t\t// Move nodes to cloned node.\n\t\t\t\tclonedNode._appendChild( nodesToMove );\n\n\t\t\t\t// Create new position to work on.\n\t\t\t\tconst newPosition = new Position( ( positionParent as any ).parent, offsetAfter );\n\n\t\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Stores the information that an {@link module:engine/view/attributeelement~AttributeElement attribute element} was\n\t * added to the tree. Saves the reference to the group in the given element and updates the group, so other elements\n\t * from the group now keep a reference to the given attribute element.\n\t *\n\t * The clones group can be obtained using {@link module:engine/view/attributeelement~AttributeElement#getElementsWithSameId}.\n\t *\n\t * Does nothing if added element has no {@link module:engine/view/attributeelement~AttributeElement#id id}.\n\t *\n\t * @param element Attribute element to save.\n\t */\n\tprivate _addToClonedElementsGroup( element: Node ): void {\n\t\t// Add only if the element is in document tree.\n\t\tif ( !element.root.is( 'rootElement' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Traverse the element's children recursively to find other attribute elements that also might got inserted.\n\t\t// The loop is at the beginning so we can make fast returns later in the code.\n\t\tif ( element.is( 'element' ) ) {\n\t\t\tfor ( const child of element.getChildren() ) {\n\t\t\t\tthis._addToClonedElementsGroup( child );\n\t\t\t}\n\t\t}\n\n\t\tconst id = ( element as any ).id;\n\n\t\tif ( !id ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet group = this._cloneGroups.get( id );\n\n\t\tif ( !group ) {\n\t\t\tgroup = new Set();\n\t\t\tthis._cloneGroups.set( id, group );\n\t\t}\n\n\t\tgroup.add( element as AttributeElement );\n\t\t( element as any )._clonesGroup = group;\n\t}\n\n\t/**\n\t * Removes all the information about the given {@link module:engine/view/attributeelement~AttributeElement attribute element}\n\t * from its clones group.\n\t *\n\t * Keep in mind, that the element will still keep a reference to the group (but the group will not keep a reference to it).\n\t * This allows to reference the whole group even if the element was already removed from the tree.\n\t *\n\t * Does nothing if the element has no {@link module:engine/view/attributeelement~AttributeElement#id id}.\n\t *\n\t * @param element Attribute element to remove.\n\t */\n\tprivate _removeFromClonedElementsGroup( element: Node ) {\n\t\t// Traverse the element's children recursively to find other attribute elements that also got removed.\n\t\t// The loop is at the beginning so we can make fast returns later in the code.\n\t\tif ( element.is( 'element' ) ) {\n\t\t\tfor ( const child of element.getChildren() ) {\n\t\t\t\tthis._removeFromClonedElementsGroup( child );\n\t\t\t}\n\t\t}\n\n\t\tconst id = ( element as any ).id;\n\n\t\tif ( !id ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst group = this._cloneGroups.get( id );\n\n\t\tif ( !group ) {\n\t\t\treturn;\n\t\t}\n\n\t\tgroup.delete( element as AttributeElement );\n\t\t// Not removing group from element on purpose!\n\t\t// If other parts of code have reference to this element, they will be able to get references to other elements from the group.\n\t}\n}\n\n// Helper function for `view.writer.wrap`. Checks if given element has any children that are not ui elements.\nfunction _hasNonUiChildren( parent: Element ): boolean {\n\treturn Array.from( parent.getChildren() ).some( child => !child.is( 'uiElement' ) );\n}\n\n/**\n * The `attribute` passed to {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#wrap()`}\n * must be an instance of {@link module:engine/view/attributeelement~AttributeElement `AttributeElement`}.\n *\n * @error view-writer-wrap-invalid-attribute\n */\n\n/**\n * Returns first parent container of specified {@link module:engine/view/position~Position Position}.\n * Position's parent node is checked as first, then next parents are checked.\n * Note that {@link module:engine/view/documentfragment~DocumentFragment DocumentFragment} is treated like a container.\n *\n * @param position Position used as a start point to locate parent container.\n * @returns Parent container element or `undefined` if container is not found.\n */\nfunction getParentContainer( position: Position ): ContainerElement | DocumentFragment | undefined {\n\tlet parent = position.parent;\n\n\twhile ( !isContainerOrFragment( parent ) ) {\n\t\tif ( !parent ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tparent = parent.parent as any;\n\t}\n\n\treturn ( parent as ContainerElement | DocumentFragment );\n}\n\n/**\n * Checks if first {@link module:engine/view/attributeelement~AttributeElement AttributeElement} provided to the function\n * can be wrapped outside second element. It is done by comparing elements'\n * {@link module:engine/view/attributeelement~AttributeElement#priority priorities}, if both have same priority\n * {@link module:engine/view/element~Element#getIdentity identities} are compared.\n */\nfunction shouldABeOutsideB( a: AttributeElement, b: AttributeElement ): boolean {\n\tif ( a.priority < b.priority ) {\n\t\treturn true;\n\t} else if ( a.priority > b.priority ) {\n\t\treturn false;\n\t}\n\n\t// When priorities are equal and names are different - use identities.\n\treturn a.getIdentity() < b.getIdentity();\n}\n\n/**\n * Returns new position that is moved to near text node. Returns same position if there is no text node before of after\n * specified position.\n *\n * ```html\n *

foo[]

->

foo{}

\n *

[]foo

->

{}foo

\n * ```\n *\n * @returns Position located inside text node or same position if there is no text nodes\n * before or after position location.\n */\nfunction movePositionToTextNode( position: Position ): Position {\n\tconst nodeBefore = position.nodeBefore;\n\n\tif ( nodeBefore && nodeBefore.is( '$text' ) ) {\n\t\treturn new Position( nodeBefore, nodeBefore.data.length );\n\t}\n\n\tconst nodeAfter = position.nodeAfter;\n\n\tif ( nodeAfter && nodeAfter.is( '$text' ) ) {\n\t\treturn new Position( nodeAfter, 0 );\n\t}\n\n\treturn position;\n}\n\n/**\n * Breaks text node into two text nodes when possible.\n *\n * ```html\n *

foo{}bar

->

foo[]bar

\n *

{}foobar

->

[]foobar

\n *

foobar{}

->

foobar[]

\n * ```\n *\n * @param position Position that need to be placed inside text node.\n * @returns New position after breaking text node.\n */\nfunction breakTextNode( position: Position ): Position {\n\tif ( position.offset == ( position.parent as Text ).data.length ) {\n\t\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! + 1 );\n\t}\n\n\tif ( position.offset === 0 ) {\n\t\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! );\n\t}\n\n\t// Get part of the text that need to be moved.\n\tconst textToMove = ( position.parent as Text ).data.slice( position.offset );\n\n\t// Leave rest of the text in position's parent.\n\t( position.parent as Text )._data = ( position.parent as Text ).data.slice( 0, position.offset );\n\n\t// Insert new text node after position's parent text node.\n\t( position.parent.parent as any )._insertChild(\n\t\t( position.parent as Text ).index! + 1,\n\t\tnew Text( position.root.document, textToMove )\n\t);\n\n\t// Return new position between two newly created text nodes.\n\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! + 1 );\n}\n\n/**\n * Merges two text nodes into first node. Removes second node and returns merge position.\n *\n * @param t1 First text node to merge. Data from second text node will be moved at the end of this text node.\n * @param t2 Second text node to merge. This node will be removed after merging.\n * @returns Position after merging text nodes.\n */\nfunction mergeTextNodes( t1: Text, t2: Text ): Position {\n\t// Merge text data into first text node and remove second one.\n\tconst nodeBeforeLength = t1.data.length;\n\tt1._data += t2.data;\n\tt2._remove();\n\n\treturn new Position( t1, nodeBeforeLength );\n}\n\nconst validNodesToInsert = [ Text, AttributeElement, ContainerElement, EmptyElement, RawElement, UIElement ];\n\n/**\n * Checks if provided nodes are valid to insert.\n *\n * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-insert-invalid-node` when nodes to insert\n * contains instances that are not supported ones (see error description for valid ones.\n */\nfunction validateNodesToInsert( nodes: Iterable, errorContext: Document ): void {\n\tfor ( const node of nodes ) {\n\t\tif ( !validNodesToInsert.some( ( validNode => node instanceof validNode ) ) ) { // eslint-disable-line no-use-before-define\n\t\t\t/**\n\t\t\t * One of the nodes to be inserted is of an invalid type.\n\t\t\t *\n\t\t\t * Nodes to be inserted with {@link module:engine/view/downcastwriter~DowncastWriter#insert `DowncastWriter#insert()`} should be\n\t\t\t * of the following types:\n\t\t\t *\n\t\t\t * * {@link module:engine/view/attributeelement~AttributeElement AttributeElement},\n\t\t\t * * {@link module:engine/view/containerelement~ContainerElement ContainerElement},\n\t\t\t * * {@link module:engine/view/emptyelement~EmptyElement EmptyElement},\n\t\t\t * * {@link module:engine/view/uielement~UIElement UIElement},\n\t\t\t * * {@link module:engine/view/rawelement~RawElement RawElement},\n\t\t\t * * {@link module:engine/view/text~Text Text}.\n\t\t\t *\n\t\t\t * @error view-writer-insert-invalid-node-type\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-insert-invalid-node-type', errorContext );\n\t\t}\n\n\t\tif ( !node.is( '$text' ) ) {\n\t\t\tvalidateNodesToInsert( ( node as Element ).getChildren(), errorContext );\n\t\t}\n\t}\n}\n\n/**\n * Checks if node is ContainerElement or DocumentFragment, because in most cases they should be treated the same way.\n *\n * @returns Returns `true` if node is instance of ContainerElement or DocumentFragment.\n */\nfunction isContainerOrFragment( node: Node | DocumentFragment ): boolean {\n\treturn node && ( node.is( 'containerElement' ) || node.is( 'documentFragment' ) );\n}\n\n/**\n * Checks if {@link module:engine/view/range~Range#start range start} and {@link module:engine/view/range~Range#end range end} are placed\n * inside same {@link module:engine/view/containerelement~ContainerElement container element}.\n * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-invalid-range-container` when validation fails.\n */\nfunction validateRangeContainer( range: Range, errorContext: Document ) {\n\tconst startContainer = getParentContainer( range.start );\n\tconst endContainer = getParentContainer( range.end );\n\n\tif ( !startContainer || !endContainer || startContainer !== endContainer ) {\n\t\t/**\n\t\t * The container of the given range is invalid.\n\t\t *\n\t\t * This may happen if {@link module:engine/view/range~Range#start range start} and\n\t\t * {@link module:engine/view/range~Range#end range end} positions are not placed inside the same container element or\n\t\t * a parent container for these positions cannot be found.\n\t\t *\n\t\t * Methods like {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#remove()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#clean()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#wrap()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#unwrap()`} need to be called\n\t\t * on a range that has its start and end positions located in the same container element. Both positions can be\n\t\t * nested within other elements (e.g. an attribute element) but the closest container ancestor must be the same.\n\t\t *\n\t\t * @error view-writer-invalid-range-container\n\t\t */\n\t\tthrow new CKEditorError( 'view-writer-invalid-range-container', errorContext );\n\t}\n}\n\n/**\n * Checks if two attribute elements can be joined together. Elements can be joined together if, and only if\n * they do not have ids specified.\n */\nfunction canBeJoined( a: AttributeElement, b: AttributeElement ) {\n\treturn a.id === null && b.id === null;\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\nimport { keyCodes, isText, type KeystrokeInfo } from '@ckeditor/ckeditor5-utils';\nimport type View from './view';\nimport type DomEventData from './observer/domeventdata';\nimport type { ViewDocumentArrowKeyEvent } from './observer/arrowkeysobserver';\n\n/**\n * Set of utilities related to handling block and inline fillers.\n *\n * Browsers do not allow to put caret in elements which does not have height. Because of it, we need to fill all\n * empty elements which should be selectable with elements or characters called \"fillers\". Unfortunately there is no one\n * universal filler, this is why two types are uses:\n *\n * * Block filler is an element which fill block elements, like `

`. CKEditor uses `
` as a block filler during the editing,\n * as browsers do natively. So instead of an empty `

` there will be `


`. The advantage of block filler is that\n * it is transparent for the selection, so when the caret is before the `
` and user presses right arrow he will be\n * moved to the next paragraph, not after the `
`. The disadvantage is that it breaks a block, so it can not be used\n * in the middle of a line of text. The {@link module:engine/view/filler~BR_FILLER `
` filler} can be replaced with any other\n * character in the data output, for instance {@link module:engine/view/filler~NBSP_FILLER non-breaking space} or\n * {@link module:engine/view/filler~MARKED_NBSP_FILLER marked non-breaking space}.\n *\n * * Inline filler is a filler which does not break a line of text, so it can be used inside the text, for instance in the empty\n * `` surrendered by text: `foobar`, if we want to put the caret there. CKEditor uses a sequence of the zero-width\n * spaces as an {@link module:engine/view/filler~INLINE_FILLER inline filler} having the predetermined\n * {@link module:engine/view/filler~INLINE_FILLER_LENGTH length}. A sequence is used, instead of a single character to\n * avoid treating random zero-width spaces as the inline filler. Disadvantage of the inline filler is that it is not\n * transparent for the selection. The arrow key moves the caret between zero-width spaces characters, so the additional\n * code is needed to handle the caret.\n *\n * Both inline and block fillers are handled by the {@link module:engine/view/renderer~Renderer renderer} and are not present in the\n * view.\n *\n * @module engine/view/filler\n */\n\n/**\n * Non-breaking space filler creator. This function creates the ` ` text node.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~MARKED_NBSP_FILLER\n * @see module:engine/view/filler~BR_FILLER\n */\nexport const NBSP_FILLER = ( domDocument: Document ): Text => domDocument.createTextNode( '\\u00A0' );\n\n/**\n * Marked non-breaking space filler creator. This function creates the ` ` element.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~NBSP_FILLER\n * @see module:engine/view/filler~BR_FILLER\n */\nexport const MARKED_NBSP_FILLER = ( domDocument: Document ): HTMLSpanElement => {\n\tconst span = domDocument.createElement( 'span' );\n\tspan.dataset.ckeFiller = 'true';\n\tspan.innerText = '\\u00A0';\n\n\treturn span;\n};\n\n/**\n * `
` filler creator. This function creates the `
` element.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~NBSP_FILLER\n * @see module:engine/view/filler~MARKED_NBSP_FILLER\n */\nexport const BR_FILLER = ( domDocument: Document ): HTMLBRElement => {\n\tconst fillerBr = domDocument.createElement( 'br' );\n\tfillerBr.dataset.ckeFiller = 'true';\n\n\treturn fillerBr;\n};\n\n/**\n * Length of the {@link module:engine/view/filler~INLINE_FILLER INLINE_FILLER}.\n */\nexport const INLINE_FILLER_LENGTH = 7;\n\n/**\n * Inline filler which is a sequence of the word joiners.\n */\nexport const INLINE_FILLER = '\\u2060'.repeat( INLINE_FILLER_LENGTH );\n\n/**\n * Checks if the node is a text node which starts with the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n *\n * ```ts\n * startsWithFiller( document.createTextNode( INLINE_FILLER ) ); // true\n * startsWithFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ); // true\n * startsWithFiller( document.createTextNode( 'foo' ) ); // false\n * startsWithFiller( document.createElement( 'p' ) ); // false\n * ```\n *\n * @param domNode DOM node.\n * @returns True if the text node starts with the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n */\nexport function startsWithFiller( domNode: Node | string ): boolean {\n\tif ( typeof domNode == 'string' ) {\n\t\treturn domNode.substr( 0, INLINE_FILLER_LENGTH ) === INLINE_FILLER;\n\t}\n\n\treturn isText( domNode ) && ( domNode.data.substr( 0, INLINE_FILLER_LENGTH ) === INLINE_FILLER );\n}\n\n/**\n * Checks if the text node contains only the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n *\n * ```ts\n * isInlineFiller( document.createTextNode( INLINE_FILLER ) ); // true\n * isInlineFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ); // false\n * ```\n *\n * @param domText DOM text node.\n * @returns True if the text node contains only the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n */\nexport function isInlineFiller( domText: Text ): boolean {\n\treturn domText.data.length == INLINE_FILLER_LENGTH && startsWithFiller( domText );\n}\n\n/**\n * Get string data from the text node, removing an {@link module:engine/view/filler~INLINE_FILLER inline filler} from it,\n * if text node contains it.\n *\n * ```ts\n * getDataWithoutFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ) == 'foo' // true\n * getDataWithoutFiller( document.createTextNode( 'foo' ) ) == 'foo' // true\n * ```\n *\n * @param domText DOM text node, possible with inline filler.\n * @returns Data without filler.\n */\nexport function getDataWithoutFiller( domText: Text | string ): string {\n\tconst data = typeof domText == 'string' ? domText : domText.data;\n\n\tif ( startsWithFiller( domText ) ) {\n\t\treturn data.slice( INLINE_FILLER_LENGTH );\n\t}\n\n\treturn data;\n}\n\n/**\n * Assign key observer which move cursor from the end of the inline filler to the beginning of it when\n * the left arrow is pressed, so the filler does not break navigation.\n *\n * @param view View controller instance we should inject quirks handling on.\n */\nexport function injectQuirksHandling( view: View ): void {\n\tview.document.on( 'arrowKey', jumpOverInlineFiller, { priority: 'low' } );\n}\n\n/**\n * Move cursor from the end of the inline filler to the beginning of it when, so the filler does not break navigation.\n */\nfunction jumpOverInlineFiller( evt: unknown, data: DomEventData & KeystrokeInfo ) {\n\tif ( data.keyCode == keyCodes.arrowleft ) {\n\t\tconst domSelection = data.domTarget.ownerDocument.defaultView!.getSelection()!;\n\n\t\tif ( domSelection.rangeCount == 1 && domSelection.getRangeAt( 0 ).collapsed ) {\n\t\t\tconst domParent = domSelection.getRangeAt( 0 ).startContainer;\n\t\t\tconst domOffset = domSelection.getRangeAt( 0 ).startOffset;\n\n\t\t\tif ( startsWithFiller( domParent ) && domOffset <= INLINE_FILLER_LENGTH ) {\n\t\t\t\tdomSelection.collapse( domParent, 0 );\n\t\t\t}\n\t\t}\n\t}\n}\n","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./renderer.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/renderer\n */\n\nimport ViewText from './text';\nimport ViewPosition from './position';\nimport { INLINE_FILLER, INLINE_FILLER_LENGTH, startsWithFiller, isInlineFiller } from './filler';\n\nimport {\n\tCKEditorError,\n\tObservableMixin,\n\tdiff,\n\tenv,\n\tfastDiff,\n\tinsertAt,\n\tisComment,\n\tisNode,\n\tisText,\n\tremove,\n\ttype DiffResult,\n\ttype ObservableChangeEvent\n} from '@ckeditor/ckeditor5-utils';\n\nimport type { ChangeType } from './document';\nimport type DocumentSelection from './documentselection';\nimport type DomConverter from './domconverter';\nimport type ViewElement from './element';\nimport type ViewNode from './node';\n\nimport '../../theme/renderer.css';\n\ntype DomText = globalThis.Text;\ntype DomNode = globalThis.Node;\ntype DomDocument = globalThis.Document;\ntype DomElement = globalThis.HTMLElement;\ntype DomSelection = globalThis.Selection;\n\n/**\n * Renderer is responsible for updating the DOM structure and the DOM selection based on\n * the {@link module:engine/view/renderer~Renderer#markToSync information about updated view nodes}.\n * In other words, it renders the view to the DOM.\n *\n * Its main responsibility is to make only the necessary, minimal changes to the DOM. However, unlike in many\n * virtual DOM implementations, the primary reason for doing minimal changes is not the performance but ensuring\n * that native editing features such as text composition, autocompletion, spell checking, selection's x-index are\n * affected as little as possible.\n *\n * Renderer uses {@link module:engine/view/domconverter~DomConverter} to transform view nodes and positions\n * to and from the DOM.\n */\nexport default class Renderer extends ObservableMixin() {\n\t/**\n\t * Set of DOM Documents instances.\n\t */\n\tpublic readonly domDocuments: Set = new Set();\n\n\t/**\n\t * Converter instance.\n\t */\n\tpublic readonly domConverter: DomConverter;\n\n\t/**\n\t * Set of nodes which attributes changed and may need to be rendered.\n\t */\n\tpublic readonly markedAttributes: Set = new Set();\n\n\t/**\n\t * Set of elements which child lists changed and may need to be rendered.\n\t */\n\tpublic readonly markedChildren: Set = new Set();\n\n\t/**\n\t * Set of text nodes which text data changed and may need to be rendered.\n\t */\n\tpublic readonly markedTexts: Set = new Set();\n\n\t/**\n\t * View selection. Renderer updates DOM selection based on the view selection.\n\t */\n\tpublic readonly selection: DocumentSelection;\n\n\t/**\n\t * Indicates if the view document is focused and selection can be rendered. Selection will not be rendered if\n\t * this is set to `false`.\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isFocused: boolean;\n\n\t/**\n\t * Indicates whether the user is making a selection in the document (e.g. holding the mouse button and moving the cursor).\n\t * When they stop selecting, the property goes back to `false`.\n\t *\n\t * Note: In some browsers, the renderer will stop rendering the selection and inline fillers while the user is making\n\t * a selection to avoid glitches in DOM selection\n\t * (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isSelecting: boolean;\n\n\t/**\n\t * True if composition is in progress inside the document.\n\t *\n\t * This property is bound to the {@link module:engine/view/document~Document#isComposing `Document#isComposing`} property.\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isComposing: boolean;\n\n\t/**\n\t * The text node in which the inline filler was rendered.\n\t */\n\tprivate _inlineFiller: DomText | null = null;\n\n\t/**\n\t * DOM element containing fake selection.\n\t */\n\tprivate _fakeSelectionContainer: DomElement | null = null;\n\n\t/**\n\t * Creates a renderer instance.\n\t *\n\t * @param domConverter Converter instance.\n\t * @param selection View selection.\n\t */\n\tconstructor( domConverter: DomConverter, selection: DocumentSelection ) {\n\t\tsuper();\n\n\t\tthis.domConverter = domConverter;\n\t\tthis.selection = selection;\n\n\t\tthis.set( 'isFocused', false );\n\t\tthis.set( 'isSelecting', false );\n\n\t\t// Rendering the selection and inline filler manipulation should be postponed in (non-Android) Blink until the user finishes\n\t\t// creating the selection in DOM to avoid accidental selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\t// When the user stops selecting, all pending changes should be rendered ASAP, though.\n\t\tif ( env.isBlink && !env.isAndroid ) {\n\t\t\tthis.on( 'change:isSelecting', () => {\n\t\t\t\tif ( !this.isSelecting ) {\n\t\t\t\t\tthis.render();\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\tthis.set( 'isComposing', false );\n\n\t\tthis.on( 'change:isComposing', () => {\n\t\t\tif ( !this.isComposing ) {\n\t\t\t\tthis.render();\n\t\t\t}\n\t\t} );\n\t}\n\n\t/**\n\t * Marks a view node to be updated in the DOM by {@link #render `render()`}.\n\t *\n\t * Note that only view nodes whose parents have corresponding DOM elements need to be marked to be synchronized.\n\t *\n\t * @see #markedAttributes\n\t * @see #markedChildren\n\t * @see #markedTexts\n\t *\n\t * @param type Type of the change.\n\t * @param node ViewNode to be marked.\n\t */\n\tpublic markToSync( type: ChangeType, node: ViewNode ): void {\n\t\tif ( type === 'text' ) {\n\t\t\tif ( this.domConverter.mapViewToDom( node.parent! ) ) {\n\t\t\t\tthis.markedTexts.add( node );\n\t\t\t}\n\t\t} else {\n\t\t\t// If the node has no DOM element it is not rendered yet,\n\t\t\t// its children/attributes do not need to be marked to be sync.\n\t\t\tif ( !this.domConverter.mapViewToDom( node as ViewElement ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( type === 'attributes' ) {\n\t\t\t\tthis.markedAttributes.add( node as ViewElement );\n\t\t\t} else if ( type === 'children' ) {\n\t\t\t\tthis.markedChildren.add( node as ViewElement );\n\t\t\t} else {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\t\t\t\tconst unreachable: never = type;\n\n\t\t\t\t/**\n\t\t\t\t * Unknown type passed to Renderer.markToSync.\n\t\t\t\t *\n\t\t\t\t * @error view-renderer-unknown-type\n\t\t\t\t */\n\t\t\t\tthrow new CKEditorError( 'view-renderer-unknown-type', this );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Renders all buffered changes ({@link #markedAttributes}, {@link #markedChildren} and {@link #markedTexts}) and\n\t * the current view selection (if needed) to the DOM by applying a minimal set of changes to it.\n\t *\n\t * Renderer tries not to break the text composition (e.g. IME) and x-index of the selection,\n\t * so it does as little as it is needed to update the DOM.\n\t *\n\t * Renderer also handles {@link module:engine/view/filler fillers}. Especially, it checks if the inline filler is needed\n\t * at the selection position and adds or removes it. To prevent breaking text composition inline filler will not be\n\t * removed as long as the selection is in the text node which needed it at first.\n\t */\n\tpublic render(): void {\n\t\t// Ignore rendering while in the composition mode. Composition events are not cancellable and browser will modify the DOM tree.\n\t\t// All marked elements, attributes, etc. will wait until next render after the composition ends.\n\t\t// On Android composition events are immediately applied to the model, so we don't need to skip rendering,\n\t\t// and we should not do it because the difference between view and DOM could lead to position mapping problems.\n\t\tif ( this.isComposing && !env.isAndroid ) {\n\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Rendering aborted while isComposing',\n\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\treturn;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Rendering',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tlet inlineFillerPosition: ViewPosition | null = null;\n\t\tconst isInlineFillerRenderingPossible = env.isBlink && !env.isAndroid ? !this.isSelecting : true;\n\n\t\t// Refresh mappings.\n\t\tfor ( const element of this.markedChildren ) {\n\t\t\tthis._updateChildrenMappings( element );\n\t\t}\n\n\t\t// Don't manipulate inline fillers while the selection is being made in (non-Android) Blink to prevent accidental\n\t\t// DOM selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\tif ( isInlineFillerRenderingPossible ) {\n\t\t\t// There was inline filler rendered in the DOM but it's not\n\t\t\t// at the selection position any more, so we can remove it\n\t\t\t// (cause even if it's needed, it must be placed in another location).\n\t\t\tif ( this._inlineFiller && !this._isSelectionInInlineFiller() ) {\n\t\t\t\tthis._removeInlineFiller();\n\t\t\t}\n\n\t\t\t// If we've got the filler, let's try to guess its position in the view.\n\t\t\tif ( this._inlineFiller ) {\n\t\t\t\tinlineFillerPosition = this._getInlineFillerPosition();\n\t\t\t}\n\t\t\t// Otherwise, if it's needed, create it at the selection position.\n\t\t\telse if ( this._needsInlineFillerAtSelection() ) {\n\t\t\t\tinlineFillerPosition = this.selection.getFirstPosition()!;\n\n\t\t\t\t// Do not use `markToSync` so it will be added even if the parent is already added.\n\t\t\t\tthis.markedChildren.add( inlineFillerPosition.parent as ViewElement );\n\t\t\t}\n\t\t}\n\t\t// Make sure the inline filler has any parent, so it can be mapped to view position by DomConverter.\n\t\telse if ( this._inlineFiller && this._inlineFiller.parentNode ) {\n\t\t\t// While the user is making selection, preserve the inline filler at its original position.\n\t\t\tinlineFillerPosition = this.domConverter.domPositionToView( this._inlineFiller )!;\n\n\t\t\t// While down-casting the document selection attributes, all existing empty\n\t\t\t// attribute elements (for selection position) are removed from the view and DOM,\n\t\t\t// so make sure that we were able to map filler position.\n\t\t\t// https://github.com/ckeditor/ckeditor5/issues/12026\n\t\t\tif ( inlineFillerPosition && inlineFillerPosition.parent.is( '$text' ) ) {\n\t\t\t\t// The inline filler position is expected to be before the text node.\n\t\t\t\tinlineFillerPosition = ViewPosition._createBefore( inlineFillerPosition.parent );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const element of this.markedAttributes ) {\n\t\t\tthis._updateAttrs( element );\n\t\t}\n\n\t\tfor ( const element of this.markedChildren ) {\n\t\t\tthis._updateChildren( element, { inlineFillerPosition } );\n\t\t}\n\n\t\tfor ( const node of this.markedTexts ) {\n\t\t\tif ( !this.markedChildren.has( node.parent as ViewElement ) && this.domConverter.mapViewToDom( node.parent as ViewElement ) ) {\n\t\t\t\tthis._updateText( node as ViewText, { inlineFillerPosition } );\n\t\t\t}\n\t\t}\n\n\t\t// * Check whether the inline filler is required and where it really is in the DOM.\n\t\t// At this point in most cases it will be in the DOM, but there are exceptions.\n\t\t// For example, if the inline filler was deep in the created DOM structure, it will not be created.\n\t\t// Similarly, if it was removed at the beginning of this function and then neither text nor children were updated,\n\t\t// it will not be present. Fix those and similar scenarios.\n\t\t// * Don't manipulate inline fillers while the selection is being made in (non-Android) Blink to prevent accidental\n\t\t// DOM selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\tif ( isInlineFillerRenderingPossible ) {\n\t\t\tif ( inlineFillerPosition ) {\n\t\t\t\tconst fillerDomPosition = this.domConverter.viewPositionToDom( inlineFillerPosition )!;\n\t\t\t\tconst domDocument = fillerDomPosition.parent.ownerDocument!;\n\n\t\t\t\tif ( !startsWithFiller( fillerDomPosition.parent ) ) {\n\t\t\t\t\t// Filler has not been created at filler position. Create it now.\n\t\t\t\t\tthis._inlineFiller = addInlineFiller( domDocument, fillerDomPosition.parent, fillerDomPosition.offset );\n\t\t\t\t} else {\n\t\t\t\t\t// Filler has been found, save it.\n\t\t\t\t\tthis._inlineFiller = fillerDomPosition.parent as DomText;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// There is no filler needed.\n\t\t\t\tthis._inlineFiller = null;\n\t\t\t}\n\t\t}\n\n\t\t// First focus the new editing host, then update the selection.\n\t\t// Otherwise, FF may throw an error (https://github.com/ckeditor/ckeditor5/issues/721).\n\t\tthis._updateFocus();\n\t\tthis._updateSelection();\n\n\t\tthis.domConverter._clearTemporaryCustomProperties();\n\n\t\tthis.markedTexts.clear();\n\t\tthis.markedAttributes.clear();\n\t\tthis.markedChildren.clear();\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Updates mappings of view element's children.\n\t *\n\t * Children that were replaced in the view structure by similar elements (same tag name) are treated as 'replaced'.\n\t * This means that their mappings can be updated so the new view elements are mapped to the existing DOM elements.\n\t * Thanks to that these elements do not need to be re-rendered completely.\n\t *\n\t * @param viewElement The view element whose children mappings will be updated.\n\t */\n\tprivate _updateChildrenMappings( viewElement: ViewElement ): void {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that it was already removed from DOM and there is no need to process it.\n\t\t\treturn;\n\t\t}\n\n\t\t// Removing nodes from the DOM as we iterate can cause `actualDomChildren`\n\t\t// (which is a live-updating `NodeList`) to get out of sync with the\n\t\t// indices that we compute as we iterate over `actions`.\n\t\t// This would produce incorrect element mappings.\n\t\t//\n\t\t// Converting live list to an array to make the list static.\n\t\tconst actualDomChildren = Array.from(\n\t\t\tdomElement.childNodes\n\t\t);\n\t\tconst expectedDomChildren = Array.from(\n\t\t\tthis.domConverter.viewChildrenToDom( viewElement, { withChildren: false } )\n\t\t);\n\t\tconst diff = this._diffNodeLists( actualDomChildren, expectedDomChildren );\n\t\tconst actions = this._findUpdateActions( diff, actualDomChildren, expectedDomChildren, areSimilarElements );\n\n\t\tif ( actions.indexOf( 'update' ) !== -1 ) {\n\t\t\tconst counter = { equal: 0, insert: 0, delete: 0 };\n\n\t\t\tfor ( const action of actions ) {\n\t\t\t\tif ( action === 'update' ) {\n\t\t\t\t\tconst insertIndex = counter.equal + counter.insert;\n\t\t\t\t\tconst deleteIndex = counter.equal + counter.delete;\n\t\t\t\t\tconst viewChild = viewElement.getChild( insertIndex );\n\n\t\t\t\t\t// UIElement and RawElement are special cases. Their children are not stored in a view (#799)\n\t\t\t\t\t// so we cannot use them with replacing flow (since they use view children during rendering\n\t\t\t\t\t// which will always result in rendering empty elements).\n\t\t\t\t\tif ( viewChild && !viewChild.is( 'uiElement' ) && !viewChild.is( 'rawElement' ) ) {\n\t\t\t\t\t\tthis._updateElementMappings( viewChild as ViewElement, actualDomChildren[ deleteIndex ] as DomElement );\n\t\t\t\t\t}\n\n\t\t\t\t\tremove( expectedDomChildren[ insertIndex ] );\n\t\t\t\t\tcounter.equal++;\n\t\t\t\t} else {\n\t\t\t\t\tcounter[ action ]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Updates mappings of a given view element.\n\t *\n\t * @param viewElement The view element whose mappings will be updated.\n\t * @param domElement The DOM element representing the given view element.\n\t */\n\tprivate _updateElementMappings( viewElement: ViewElement, domElement: DomElement ): void {\n\t\t// Remap 'DomConverter' bindings.\n\t\tthis.domConverter.unbindDomElement( domElement );\n\t\tthis.domConverter.bindElements( domElement, viewElement );\n\n\t\t// View element may have children which needs to be updated, but are not marked, mark them to update.\n\t\tthis.markedChildren.add( viewElement );\n\n\t\t// Because we replace new view element mapping with the existing one, the corresponding DOM element\n\t\t// will not be rerendered. The new view element may have different attributes than the previous one.\n\t\t// Since its corresponding DOM element will not be rerendered, new attributes will not be added\n\t\t// to the DOM, so we need to mark it here to make sure its attributes gets updated. See #1427 for more\n\t\t// detailed case study.\n\t\t// Also there are cases where replaced element is removed from the view structure and then has\n\t\t// its attributes changed or removed. In such cases the element will not be present in `markedAttributes`\n\t\t// and also may be the same (`element.isSimilar()`) as the reused element not having its attributes updated.\n\t\t// To prevent such situations we always mark reused element to have its attributes rerenderd (#1560).\n\t\tthis.markedAttributes.add( viewElement );\n\t}\n\n\t/**\n\t * Gets the position of the inline filler based on the current selection.\n\t * Here, we assume that we know that the filler is needed and\n\t * {@link #_isSelectionInInlineFiller is at the selection position}, and, since it is needed,\n\t * it is somewhere at the selection position.\n\t *\n\t * Note: The filler position cannot be restored based on the filler's DOM text node, because\n\t * when this method is called (before rendering), the bindings will often be broken. View-to-DOM\n\t * bindings are only dependable after rendering.\n\t */\n\tprivate _getInlineFillerPosition(): ViewPosition {\n\t\tconst firstPos = this.selection.getFirstPosition()!;\n\n\t\tif ( firstPos.parent.is( '$text' ) ) {\n\t\t\treturn ViewPosition._createBefore( firstPos.parent );\n\t\t} else {\n\t\t\treturn firstPos;\n\t\t}\n\t}\n\n\t/**\n\t * Returns `true` if the selection has not left the inline filler's text node.\n\t * If it is `true`, it means that the filler had been added for a reason and the selection did not\n\t * leave the filler's text node. For example, the user can be in the middle of a composition so it should not be touched.\n\t *\n\t * @returns `true` if the inline filler and selection are in the same place.\n\t */\n\tprivate _isSelectionInInlineFiller(): boolean {\n\t\tif ( this.selection.rangeCount != 1 || !this.selection.isCollapsed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Note, we can't check if selection's position equals position of the\n\t\t// this._inlineFiller node, because of #663. We may not be able to calculate\n\t\t// the filler's position in the view at this stage.\n\t\t// Instead, we check it the other way – whether selection is anchored in\n\t\t// that text node or next to it.\n\n\t\t// Possible options are:\n\t\t// \"FILLER{}\"\n\t\t// \"FILLERadded-text{}\"\n\t\tconst selectionPosition = this.selection.getFirstPosition()!;\n\t\tconst position = this.domConverter.viewPositionToDom( selectionPosition );\n\n\t\tif ( position && isText( position.parent ) && startsWithFiller( position.parent ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Removes the inline filler.\n\t */\n\tprivate _removeInlineFiller(): void {\n\t\tconst domFillerNode = this._inlineFiller!;\n\n\t\t// Something weird happened and the stored node doesn't contain the filler's text.\n\t\tif ( !startsWithFiller( domFillerNode ) ) {\n\t\t\t/**\n\t\t\t * The inline filler node was lost. Most likely, something overwrote the filler text node\n\t\t\t * in the DOM.\n\t\t\t *\n\t\t\t * @error view-renderer-filler-was-lost\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-renderer-filler-was-lost', this );\n\t\t}\n\n\t\tif ( isInlineFiller( domFillerNode ) ) {\n\t\t\tdomFillerNode.remove();\n\t\t} else {\n\t\t\tdomFillerNode.data = domFillerNode.data.substr( INLINE_FILLER_LENGTH );\n\t\t}\n\n\t\tthis._inlineFiller = null;\n\t}\n\n\t/**\n\t * Checks if the inline {@link module:engine/view/filler filler} should be added.\n\t *\n\t * @returns `true` if the inline filler should be added.\n\t */\n\tprivate _needsInlineFillerAtSelection(): boolean {\n\t\tif ( this.selection.rangeCount != 1 || !this.selection.isCollapsed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst selectionPosition = this.selection.getFirstPosition()!;\n\t\tconst selectionParent = selectionPosition.parent;\n\t\tconst selectionOffset = selectionPosition.offset;\n\n\t\t// If there is no DOM root we do not care about fillers.\n\t\tif ( !this.domConverter.mapViewToDom( selectionParent.root ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( !( selectionParent.is( 'element' ) ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Prevent adding inline filler inside elements with contenteditable=false.\n\t\t// https://github.com/ckeditor/ckeditor5-engine/issues/1170\n\t\tif ( !isEditable( selectionParent ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// We have block filler, we do not need inline one.\n\t\tif ( selectionOffset === selectionParent.getFillerOffset!() ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst nodeBefore = selectionPosition.nodeBefore;\n\t\tconst nodeAfter = selectionPosition.nodeAfter;\n\n\t\tif ( nodeBefore instanceof ViewText || nodeAfter instanceof ViewText ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Do not use inline filler while typing outside inline elements on Android.\n\t\t// The deleteContentBackward would remove part of the inline filler instead of removing last letter in a link.\n\t\tif ( env.isAndroid && ( nodeBefore || nodeAfter ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Checks if text needs to be updated and possibly updates it.\n\t *\n\t * @param viewText View text to update.\n\t * @param options.inlineFillerPosition The position where the inline filler should be rendered.\n\t */\n\tprivate _updateText( viewText: ViewText, options: { inlineFillerPosition?: ViewPosition | null } ) {\n\t\tconst domText = this.domConverter.findCorrespondingDomText( viewText )!;\n\t\tconst newDomText = this.domConverter.viewToDom( viewText );\n\n\t\tlet expectedText = newDomText.data;\n\t\tconst filler = options.inlineFillerPosition;\n\n\t\tif ( filler && filler.parent == viewText.parent && filler.offset == viewText.index ) {\n\t\t\texpectedText = INLINE_FILLER + expectedText;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update text',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tupdateTextNode( domText, expectedText );\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Checks if attribute list needs to be updated and possibly updates it.\n\t *\n\t * @param viewElement The view element to update.\n\t */\n\tprivate _updateAttrs( viewElement: ViewElement ): void {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that 'viewElement' is outdated as its mapping was updated\n\t\t\t// in 'this._updateChildrenMappings()'. There is no need to process it as new view element which\n\t\t\t// replaced old 'viewElement' mapping was also added to 'this.markedAttributes'\n\t\t\t// in 'this._updateChildrenMappings()' so it will be processed separately.\n\t\t\treturn;\n\t\t}\n\n\t\tconst domAttrKeys = Array.from( ( domElement as DomElement ).attributes ).map( attr => attr.name );\n\t\tconst viewAttrKeys = viewElement.getAttributeKeys();\n\n\t\t// Add or overwrite attributes.\n\t\tfor ( const key of viewAttrKeys ) {\n\t\t\tthis.domConverter.setDomElementAttribute( domElement as DomElement, key, viewElement.getAttribute( key )!, viewElement );\n\t\t}\n\n\t\t// Remove from DOM attributes which do not exists in the view.\n\t\tfor ( const key of domAttrKeys ) {\n\t\t\t// All other attributes not present in the DOM should be removed.\n\t\t\tif ( !viewElement.hasAttribute( key ) ) {\n\t\t\t\tthis.domConverter.removeDomElementAttribute( domElement as DomElement, key );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if elements child list needs to be updated and possibly updates it.\n\t *\n\t * Note that on Android, to reduce the risk of composition breaks, it tries to update data of an existing\n\t * child text nodes instead of replacing them completely.\n\t *\n\t * @param viewElement View element to update.\n\t * @param options.inlineFillerPosition The position where the inline filler should be rendered.\n\t */\n\tprivate _updateChildren( viewElement: ViewElement, options: { inlineFillerPosition: ViewPosition | null } ) {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that it was already removed from DOM.\n\t\t\t// There is no need to process it. It will be processed when re-inserted.\n\t\t\treturn;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update children',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t// IME on Android inserts a new text node while typing after a link\n\t\t// instead of updating an existing text node that follows the link.\n\t\t// We must normalize those text nodes so the diff won't get confused.\n\t\t// https://github.com/ckeditor/ckeditor5/issues/12574.\n\t\tif ( env.isAndroid ) {\n\t\t\tlet previousDomNode = null;\n\n\t\t\tfor ( const domNode of Array.from( domElement.childNodes ) ) {\n\t\t\t\tif ( previousDomNode && isText( previousDomNode ) && isText( domNode ) ) {\n\t\t\t\t\tdomElement.normalize();\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tpreviousDomNode = domNode;\n\t\t\t}\n\t\t}\n\n\t\tconst inlineFillerPosition = options.inlineFillerPosition;\n\t\tconst actualDomChildren = domElement.childNodes;\n\t\tconst expectedDomChildren = Array.from(\n\t\t\tthis.domConverter.viewChildrenToDom( viewElement, { bind: true } )\n\t\t);\n\n\t\t// Inline filler element has to be created as it is present in the DOM, but not in the view. It is required\n\t\t// during diffing so text nodes could be compared correctly and also during rendering to maintain\n\t\t// proper order and indexes while updating the DOM.\n\t\tif ( inlineFillerPosition && inlineFillerPosition.parent === viewElement ) {\n\t\t\taddInlineFiller( ( domElement as DomElement ).ownerDocument, expectedDomChildren, inlineFillerPosition.offset );\n\t\t}\n\n\t\tconst diff = this._diffNodeLists( actualDomChildren, expectedDomChildren );\n\n\t\t// We need to make sure that we update the existing text node and not replace it with another one.\n\t\t// The composition and different \"language\" browser extensions are fragile to text node being completely replaced.\n\t\tconst actions = this._findUpdateActions( diff, actualDomChildren, expectedDomChildren, areTextNodes );\n\n\t\tlet i = 0;\n\t\tconst nodesToUnbind: Set = new Set();\n\n\t\t// Handle deletions first.\n\t\t// This is to prevent a situation where an element that already exists in `actualDomChildren` is inserted at a different\n\t\t// index in `actualDomChildren`. Since `actualDomChildren` is a `NodeList`, this works like move, not like an insert,\n\t\t// and it disrupts the whole algorithm. See https://github.com/ckeditor/ckeditor5/issues/6367.\n\t\t//\n\t\t// It doesn't matter in what order we remove or add nodes, as long as we remove and add correct nodes at correct indexes.\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'delete' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Remove node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', actualDomChildren[ i ]\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\t\t\t\tnodesToUnbind.add( actualDomChildren[ i ] as DomElement );\n\t\t\t\tremove( actualDomChildren[ i ] );\n\t\t\t} else if ( action === 'equal' || action === 'update' ) {\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\ti = 0;\n\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'insert' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Insert node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', expectedDomChildren[ i ]\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\t\tinsertAt( domElement as DomElement, i, expectedDomChildren[ i ] );\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t// Update the existing text node data. Note that replace action is generated only for Android for now.\n\t\t\telse if ( action === 'update' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update text node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\t\tupdateTextNode( actualDomChildren[ i ] as DomText, ( expectedDomChildren[ i ] as DomText ).data );\n\t\t\t\ti++;\n\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\t\t\t} else if ( action === 'equal' ) {\n\t\t\t\t// Force updating text nodes inside elements which did not change and do not need to be re-rendered (#1125).\n\t\t\t\t// Do it here (not in the loop above) because only after insertions the `i` index is correct.\n\t\t\t\tthis._markDescendantTextToSync( this.domConverter.domToView( expectedDomChildren[ i ] ) as any );\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\t// Unbind removed nodes. When node does not have a parent it means that it was removed from DOM tree during\n\t\t// comparison with the expected DOM. We don't need to check child nodes, because if child node was reinserted,\n\t\t// it was moved to DOM tree out of the removed node.\n\t\tfor ( const node of nodesToUnbind ) {\n\t\t\tif ( !node.parentNode ) {\n\t\t\t\tthis.domConverter.unbindDomElement( node as DomElement );\n\t\t\t}\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Shorthand for diffing two arrays or node lists of DOM nodes.\n\t *\n\t * @param actualDomChildren Actual DOM children\n\t * @param expectedDomChildren Expected DOM children.\n\t * @returns The list of actions based on the {@link module:utils/diff~diff} function.\n\t */\n\tprivate _diffNodeLists( actualDomChildren: Array | NodeList, expectedDomChildren: Array | NodeList ) {\n\t\tactualDomChildren = filterOutFakeSelectionContainer( actualDomChildren, this._fakeSelectionContainer );\n\n\t\treturn diff( actualDomChildren, expectedDomChildren, sameNodes.bind( null, this.domConverter ) );\n\t}\n\n\t/**\n\t * Finds DOM nodes that were replaced with the similar nodes (same tag name) in the view. All nodes are compared\n\t * within one `insert`/`delete` action group, for example:\n\t *\n\t * ```\n\t * Actual DOM:\t\t

FooBarBazBax

\n\t * Expected DOM:\t

Bar123Baz456

\n\t * Input actions:\t[ insert, insert, delete, delete, equal, insert, delete ]\n\t * Output actions:\t[ insert, replace, delete, equal, replace ]\n\t * ```\n\t *\n\t * @param actions Actions array which is a result of the {@link module:utils/diff~diff} function.\n\t * @param actualDom Actual DOM children\n\t * @param expectedDom Expected DOM children.\n\t * @param comparator A comparator function that should return `true` if the given node should be reused\n\t * (either by the update of a text node data or an element children list for similar elements).\n\t * @returns Actions array modified with the `update` actions.\n\t */\n\tprivate _findUpdateActions(\n\t\tactions: Array,\n\t\tactualDom: Array | NodeList,\n\t\texpectedDom: Array,\n\t\tcomparator: ( a: DomNode, b: DomNode ) => boolean\n\t): Array {\n\t\t// If there is no both 'insert' and 'delete' actions, no need to check for replaced elements.\n\t\tif ( actions.indexOf( 'insert' ) === -1 || actions.indexOf( 'delete' ) === -1 ) {\n\t\t\treturn actions;\n\t\t}\n\n\t\tlet newActions: Array = [];\n\t\tlet actualSlice = [];\n\t\tlet expectedSlice = [];\n\n\t\tconst counter = { equal: 0, insert: 0, delete: 0 };\n\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'insert' ) {\n\t\t\t\texpectedSlice.push( expectedDom[ counter.equal + counter.insert ] );\n\t\t\t} else if ( action === 'delete' ) {\n\t\t\t\tactualSlice.push( actualDom[ counter.equal + counter.delete ] );\n\t\t\t} else { // equal\n\t\t\t\tnewActions = newActions.concat(\n\t\t\t\t\tdiff( actualSlice, expectedSlice, comparator )\n\t\t\t\t\t\t.map( action => action === 'equal' ? 'update' : action )\n\t\t\t\t);\n\n\t\t\t\tnewActions.push( 'equal' );\n\n\t\t\t\t// Reset stored elements on 'equal'.\n\t\t\t\tactualSlice = [];\n\t\t\t\texpectedSlice = [];\n\t\t\t}\n\t\t\tcounter[ action ]++;\n\t\t}\n\n\t\treturn newActions.concat(\n\t\t\tdiff( actualSlice, expectedSlice, comparator )\n\t\t\t\t.map( action => action === 'equal' ? 'update' : action )\n\t\t);\n\t}\n\n\t/**\n\t * Marks text nodes to be synchronized.\n\t *\n\t * If a text node is passed, it will be marked. If an element is passed, all descendant text nodes inside it will be marked.\n\t *\n\t * @param viewNode View node to sync.\n\t */\n\tprivate _markDescendantTextToSync( viewNode: ViewNode | undefined ): void {\n\t\tif ( !viewNode ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( viewNode.is( '$text' ) ) {\n\t\t\tthis.markedTexts.add( viewNode );\n\t\t} else if ( viewNode.is( 'element' ) ) {\n\t\t\tfor ( const child of viewNode.getChildren() ) {\n\t\t\t\tthis._markDescendantTextToSync( child );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the selection needs to be updated and possibly updates it.\n\t */\n\tprivate _updateSelection(): void {\n\t\t// Block updating DOM selection in (non-Android) Blink while the user is selecting to prevent accidental selection collapsing.\n\t\t// Note: Structural changes in DOM must trigger selection rendering, though. Nodes the selection was anchored\n\t\t// to, may disappear in DOM which would break the selection (e.g. in real-time collaboration scenarios).\n\t\t// https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723\n\t\tif ( env.isBlink && !env.isAndroid && this.isSelecting && !this.markedChildren.size ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there is no selection - remove DOM and fake selections.\n\t\tif ( this.selection.rangeCount === 0 ) {\n\t\t\tthis._removeDomSelection();\n\t\t\tthis._removeFakeSelection();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst domRoot = this.domConverter.mapViewToDom( this.selection.editableElement! );\n\n\t\t// Do nothing if there is no focus, or there is no DOM element corresponding to selection's editable element.\n\t\tif ( !this.isFocused || !domRoot ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Render fake selection - create the fake selection container (if needed) and move DOM selection to it.\n\t\tif ( this.selection.isFake ) {\n\t\t\tthis._updateFakeSelection( domRoot );\n\t\t}\n\t\t// There was a fake selection so remove it and update the DOM selection.\n\t\t// This is especially important on Android because otherwise IME will try to compose over the fake selection container.\n\t\telse if ( this._fakeSelectionContainer && this._fakeSelectionContainer.isConnected ) {\n\t\t\tthis._removeFakeSelection();\n\t\t\tthis._updateDomSelection( domRoot );\n\t\t}\n\t\t// Update the DOM selection in case of a plain selection change (no fake selection is involved).\n\t\t// On non-Android the whole rendering is disabled in composition mode (including DOM selection update),\n\t\t// but updating DOM selection should be also disabled on Android if in the middle of the composition\n\t\t// (to not interrupt it).\n\t\telse if ( !( this.isComposing && env.isAndroid ) ) {\n\t\t\tthis._updateDomSelection( domRoot );\n\t\t}\n\t}\n\n\t/**\n\t * Updates the fake selection.\n\t *\n\t * @param domRoot A valid DOM root where the fake selection container should be added.\n\t */\n\tprivate _updateFakeSelection( domRoot: DomElement ): void {\n\t\tconst domDocument = domRoot.ownerDocument;\n\n\t\tif ( !this._fakeSelectionContainer ) {\n\t\t\tthis._fakeSelectionContainer = createFakeSelectionContainer( domDocument );\n\t\t}\n\n\t\tconst container = this._fakeSelectionContainer;\n\n\t\t// Bind fake selection container with the current selection *position*.\n\t\tthis.domConverter.bindFakeSelection( container, this.selection );\n\n\t\tif ( !this._fakeSelectionNeedsUpdate( domRoot ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( !container.parentElement || container.parentElement != domRoot ) {\n\t\t\tdomRoot.appendChild( container );\n\t\t}\n\n\t\tcontainer.textContent = this.selection.fakeSelectionLabel || '\\u00A0';\n\n\t\tconst domSelection = domDocument.getSelection()!;\n\t\tconst domRange = domDocument.createRange();\n\n\t\tdomSelection.removeAllRanges();\n\t\tdomRange.selectNodeContents( container );\n\t\tdomSelection.addRange( domRange );\n\t}\n\n\t/**\n\t * Updates the DOM selection.\n\t *\n\t * @param domRoot A valid DOM root where the DOM selection should be rendered.\n\t */\n\tprivate _updateDomSelection( domRoot: DomElement ) {\n\t\tconst domSelection = domRoot.ownerDocument.defaultView!.getSelection()!;\n\n\t\t// Let's check whether DOM selection needs updating at all.\n\t\tif ( !this._domSelectionNeedsUpdate( domSelection ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Multi-range selection is not available in most browsers, and, at least in Chrome, trying to\n\t\t// set such selection, that is not continuous, throws an error. Because of that, we will just use anchor\n\t\t// and focus of view selection.\n\t\t// Since we are not supporting multi-range selection, we also do not need to check if proper editable is\n\t\t// selected. If there is any editable selected, it is okay (editable is taken from selection anchor).\n\t\tconst anchor = this.domConverter.viewPositionToDom( this.selection.anchor! )!;\n\t\tconst focus = this.domConverter.viewPositionToDom( this.selection.focus! )!;\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Update DOM selection:',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', anchor, focus\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tdomSelection.setBaseAndExtent( anchor.parent, anchor.offset, focus.parent, focus.offset );\n\n\t\t// Firefox–specific hack (https://github.com/ckeditor/ckeditor5-engine/issues/1439).\n\t\tif ( env.isGecko ) {\n\t\t\tfixGeckoSelectionAfterBr( focus, domSelection );\n\t\t}\n\t}\n\n\t/**\n\t * Checks whether a given DOM selection needs to be updated.\n\t *\n\t * @param domSelection The DOM selection to check.\n\t */\n\tprivate _domSelectionNeedsUpdate( domSelection: Selection ): boolean {\n\t\tif ( !this.domConverter.isDomSelectionCorrect( domSelection ) ) {\n\t\t\t// Current DOM selection is in incorrect position. We need to update it.\n\t\t\treturn true;\n\t\t}\n\n\t\tconst oldViewSelection = domSelection && this.domConverter.domSelectionToView( domSelection );\n\n\t\tif ( oldViewSelection && this.selection.isEqual( oldViewSelection ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// If selection is not collapsed, it does not need to be updated if it is similar.\n\t\tif ( !this.selection.isCollapsed && this.selection.isSimilar( oldViewSelection ) ) {\n\t\t\t// Selection did not changed and is correct, do not update.\n\t\t\treturn false;\n\t\t}\n\n\t\t// Selections are not similar.\n\t\treturn true;\n\t}\n\n\t/**\n\t * Checks whether the fake selection needs to be updated.\n\t *\n\t * @param domRoot A valid DOM root where a new fake selection container should be added.\n\t */\n\tprivate _fakeSelectionNeedsUpdate( domRoot: DomElement ): boolean {\n\t\tconst container = this._fakeSelectionContainer;\n\t\tconst domSelection = domRoot.ownerDocument.getSelection()!;\n\n\t\t// Fake selection needs to be updated if there's no fake selection container, or the container currently sits\n\t\t// in a different root.\n\t\tif ( !container || container.parentElement !== domRoot ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Make sure that the selection actually is within the fake selection.\n\t\tif ( domSelection.anchorNode !== container && !container.contains( domSelection.anchorNode ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn container.textContent !== this.selection.fakeSelectionLabel;\n\t}\n\n\t/**\n\t * Removes the DOM selection.\n\t */\n\tprivate _removeDomSelection(): void {\n\t\tfor ( const doc of this.domDocuments ) {\n\t\t\tconst domSelection = doc.getSelection()!;\n\n\t\t\tif ( domSelection.rangeCount ) {\n\t\t\t\tconst activeDomElement = doc.activeElement!;\n\t\t\t\tconst viewElement = this.domConverter.mapDomToView( activeDomElement as DomElement );\n\n\t\t\t\tif ( activeDomElement && viewElement ) {\n\t\t\t\t\tdomSelection.removeAllRanges();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Removes the fake selection.\n\t */\n\tprivate _removeFakeSelection(): void {\n\t\tconst container = this._fakeSelectionContainer;\n\n\t\tif ( container ) {\n\t\t\tcontainer.remove();\n\t\t}\n\t}\n\n\t/**\n\t * Checks if focus needs to be updated and possibly updates it.\n\t */\n\tprivate _updateFocus(): void {\n\t\tif ( this.isFocused ) {\n\t\t\tconst editable = this.selection.editableElement;\n\n\t\t\tif ( editable ) {\n\t\t\t\tthis.domConverter.focus( editable );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Checks if provided element is editable.\n */\nfunction isEditable( element: ViewElement ): boolean {\n\tif ( element.getAttribute( 'contenteditable' ) == 'false' ) {\n\t\treturn false;\n\t}\n\n\tconst parent = element.findAncestor( element => element.hasAttribute( 'contenteditable' ) );\n\n\treturn !parent || parent.getAttribute( 'contenteditable' ) == 'true';\n}\n\n/**\n * Adds inline filler at a given position.\n *\n * The position can be given as an array of DOM nodes and an offset in that array,\n * or a DOM parent element and an offset in that element.\n *\n * @returns The DOM text node that contains an inline filler.\n */\nfunction addInlineFiller( domDocument: DomDocument, domParentOrArray: DomNode | Array, offset: number ): DomText {\n\tconst childNodes = domParentOrArray instanceof Array ? domParentOrArray : domParentOrArray.childNodes;\n\tconst nodeAfterFiller = childNodes[ offset ];\n\n\tif ( isText( nodeAfterFiller ) ) {\n\t\tnodeAfterFiller.data = INLINE_FILLER + nodeAfterFiller.data;\n\n\t\treturn nodeAfterFiller;\n\t} else {\n\t\tconst fillerNode = domDocument.createTextNode( INLINE_FILLER );\n\n\t\tif ( Array.isArray( domParentOrArray ) ) {\n\t\t\t( childNodes as Array ).splice( offset, 0, fillerNode );\n\t\t} else {\n\t\t\tinsertAt( domParentOrArray as DomElement, offset, fillerNode );\n\t\t}\n\n\t\treturn fillerNode;\n\t}\n}\n\n/**\n * Whether two DOM nodes should be considered as similar.\n * Nodes are considered similar if they have the same tag name.\n */\nfunction areSimilarElements( node1: DomNode, node2: DomNode ): boolean {\n\treturn isNode( node1 ) && isNode( node2 ) &&\n\t\t!isText( node1 ) && !isText( node2 ) &&\n\t\t!isComment( node1 ) && !isComment( node2 ) &&\n\t\t( node1 as DomElement ).tagName.toLowerCase() === ( node2 as DomElement ).tagName.toLowerCase();\n}\n\n/**\n * Whether two DOM nodes are text nodes.\n */\nfunction areTextNodes( node1: DomNode, node2: DomNode ): boolean {\n\treturn isNode( node1 ) && isNode( node2 ) &&\n\t\tisText( node1 ) && isText( node2 );\n}\n\n/**\n * Whether two dom nodes should be considered as the same.\n * Two nodes which are considered the same are:\n *\n * * Text nodes with the same text.\n * * Element nodes represented by the same object.\n * * Two block filler elements.\n *\n * @param blockFillerMode Block filler mode, see {@link module:engine/view/domconverter~DomConverter#blockFillerMode}.\n */\nfunction sameNodes( domConverter: DomConverter, actualDomChild: DomNode, expectedDomChild: DomNode ): boolean {\n\t// Elements.\n\tif ( actualDomChild === expectedDomChild ) {\n\t\treturn true;\n\t}\n\t// Texts.\n\telse if ( isText( actualDomChild ) && isText( expectedDomChild ) ) {\n\t\treturn actualDomChild.data === expectedDomChild.data;\n\t}\n\t// Block fillers.\n\telse if ( domConverter.isBlockFiller( actualDomChild ) &&\n\t\tdomConverter.isBlockFiller( expectedDomChild ) ) {\n\t\treturn true;\n\t}\n\n\t// Not matching types.\n\treturn false;\n}\n\n/**\n * The following is a Firefox–specific hack (https://github.com/ckeditor/ckeditor5-engine/issues/1439).\n * When the native DOM selection is at the end of the block and preceded by
e.g.\n *\n * ```html\n *

foo
[]

\n * ```\n *\n * which happens a lot when using the soft line break, the browser fails to (visually) move the\n * caret to the new line. A quick fix is as simple as force–refreshing the selection with the same range.\n */\nfunction fixGeckoSelectionAfterBr( focus: ReturnType, domSelection: DomSelection ) {\n\tconst parent = focus!.parent;\n\n\t// This fix works only when the focus point is at the very end of an element.\n\t// There is no point in running it in cases unrelated to the browser bug.\n\tif ( parent.nodeType != Node.ELEMENT_NODE || focus!.offset != parent.childNodes.length - 1 ) {\n\t\treturn;\n\t}\n\n\tconst childAtOffset = parent.childNodes[ focus!.offset ];\n\n\t// To stay on the safe side, the fix being as specific as possible, it targets only the\n\t// selection which is at the very end of the element and preceded by
.\n\tif ( childAtOffset && ( childAtOffset as DomElement ).tagName == 'BR' ) {\n\t\tdomSelection.addRange( domSelection.getRangeAt( 0 ) );\n\t}\n}\n\nfunction filterOutFakeSelectionContainer( domChildList: Array | NodeList, fakeSelectionContainer: DomElement | null ) {\n\tconst childList = Array.from( domChildList );\n\n\tif ( childList.length == 0 || !fakeSelectionContainer ) {\n\t\treturn childList;\n\t}\n\n\tconst last = childList[ childList.length - 1 ];\n\n\tif ( last == fakeSelectionContainer ) {\n\t\tchildList.pop();\n\t}\n\n\treturn childList;\n}\n\n/**\n * Creates a fake selection container for a given document.\n */\nfunction createFakeSelectionContainer( domDocument: DomDocument ): DomElement {\n\tconst container = domDocument.createElement( 'div' );\n\n\tcontainer.className = 'ck-fake-selection-container';\n\n\tObject.assign( container.style, {\n\t\tposition: 'fixed',\n\t\ttop: 0,\n\t\tleft: '-9999px',\n\t\t// See https://github.com/ckeditor/ckeditor5/issues/752.\n\t\twidth: '42px'\n\t} );\n\n\t// Fill it with a text node so we can update it later.\n\tcontainer.textContent = '\\u00A0';\n\n\treturn container;\n}\n\n/**\n * Checks if text needs to be updated and possibly updates it by removing and inserting only parts\n * of the data from the existing text node to reduce impact on the IME composition.\n *\n * @param domText DOM text node to update.\n * @param expectedText The expected data of a text node.\n */\nfunction updateTextNode( domText: DomText, expectedText: string ) {\n\tconst actualText = domText.data;\n\n\tif ( actualText == expectedText ) {\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Text node does not need update:',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '',\n\t\t// @if CK_DEBUG_TYPING // \t\t`\"${ domText.data }\" (${ domText.data.length })`\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\treturn;\n\t}\n\n\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Update text node:',\n\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '',\n\t// @if CK_DEBUG_TYPING // \t\t`\"${ domText.data }\" (${ domText.data.length }) -> \"${ expectedText }\" (${ expectedText.length })`\n\t// @if CK_DEBUG_TYPING // \t);\n\t// @if CK_DEBUG_TYPING // }\n\n\tconst actions = fastDiff( actualText, expectedText );\n\n\tfor ( const action of actions ) {\n\t\tif ( action.type === 'insert' ) {\n\t\t\tdomText.insertData( action.index, action.values.join( '' ) );\n\t\t} else { // 'delete'\n\t\t\tdomText.deleteData( action.index, action.howMany );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/domconverter\n */\n\n/* globals Node, NodeFilter, DOMParser */\n\nimport ViewText from './text';\nimport ViewElement from './element';\nimport ViewUIElement from './uielement';\nimport ViewPosition from './position';\nimport ViewRange from './range';\nimport ViewSelection from './selection';\nimport ViewDocumentFragment from './documentfragment';\nimport ViewTreeWalker from './treewalker';\nimport { default as Matcher, type MatcherPattern } from './matcher';\nimport {\n\tBR_FILLER, INLINE_FILLER_LENGTH, NBSP_FILLER, MARKED_NBSP_FILLER,\n\tgetDataWithoutFiller, isInlineFiller, startsWithFiller\n} from './filler';\n\nimport {\n\tglobal,\n\tlogWarning,\n\tindexOf,\n\tgetAncestors,\n\tisText,\n\tisComment,\n\tisValidAttributeName,\n\tfirst,\n\tenv\n} from '@ckeditor/ckeditor5-utils';\n\nimport type ViewNode from './node';\nimport type Document from './document';\nimport type DocumentSelection from './documentselection';\nimport type EditableElement from './editableelement';\nimport type ViewTextProxy from './textproxy';\nimport type ViewRawElement from './rawelement';\n\ntype DomNode = globalThis.Node;\ntype DomElement = globalThis.HTMLElement;\ntype DomDocument = globalThis.Document;\ntype DomDocumentFragment = globalThis.DocumentFragment;\ntype DomComment = globalThis.Comment;\ntype DomRange = globalThis.Range;\ntype DomText = globalThis.Text;\ntype DomSelection = globalThis.Selection;\n\nconst BR_FILLER_REF = BR_FILLER( global.document ); // eslint-disable-line new-cap\nconst NBSP_FILLER_REF = NBSP_FILLER( global.document ); // eslint-disable-line new-cap\nconst MARKED_NBSP_FILLER_REF = MARKED_NBSP_FILLER( global.document ); // eslint-disable-line new-cap\nconst UNSAFE_ATTRIBUTE_NAME_PREFIX = 'data-ck-unsafe-attribute-';\nconst UNSAFE_ELEMENT_REPLACEMENT_ATTRIBUTE = 'data-ck-unsafe-element';\n\n/**\n * `DomConverter` is a set of tools to do transformations between DOM nodes and view nodes. It also handles\n * {@link module:engine/view/domconverter~DomConverter#bindElements bindings} between these nodes.\n *\n * An instance of the DOM converter is available under\n * {@link module:engine/view/view~View#domConverter `editor.editing.view.domConverter`}.\n *\n * The DOM converter does not check which nodes should be rendered (use {@link module:engine/view/renderer~Renderer}), does not keep the\n * state of a tree nor keeps the synchronization between the tree view and the DOM tree (use {@link module:engine/view/document~Document}).\n *\n * The DOM converter keeps DOM elements to view element bindings, so when the converter gets destroyed, the bindings are lost.\n * Two converters will keep separate binding maps, so one tree view can be bound with two DOM trees.\n */\nexport default class DomConverter {\n\tpublic readonly document: Document;\n\n\t/**\n\t * Whether to leave the View-to-DOM conversion result unchanged or improve editing experience by filtering out interactive data.\n\t */\n\tpublic readonly renderingMode: 'data' | 'editing';\n\n\t/**\n\t * The mode of a block filler used by the DOM converter.\n\t */\n\tpublic blockFillerMode: BlockFillerMode;\n\n\t/**\n\t * Elements which are considered pre-formatted elements.\n\t */\n\tpublic readonly preElements: Array;\n\n\t/**\n\t * Elements which are considered block elements (and hence should be filled with a\n\t * {@link #isBlockFiller block filler}).\n\t *\n\t * Whether an element is considered a block element also affects handling of trailing whitespaces.\n\t *\n\t * You can extend this array if you introduce support for block elements which are not yet recognized here.\n\t */\n\tpublic readonly blockElements: Array;\n\n\t/**\n\t * A list of elements that exist inline (in text) but their inner structure cannot be edited because\n\t * of the way they are rendered by the browser. They are mostly HTML form elements but there are other\n\t * elements such as `` or `' +\n\t\t\t\t\t\t\t''\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'spotify',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(artist\\/\\w+)/,\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(album\\/\\w+)/,\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(track\\/\\w+)/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'youtube',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^(?:m\\.)?youtube\\.com\\/watch\\?v=([\\w-]+)(?:&t=(\\d+))?/,\n\t\t\t\t\t\t/^(?:m\\.)?youtube\\.com\\/v\\/([\\w-]+)(?:\\?t=(\\d+))?/,\n\t\t\t\t\t\t/^youtube\\.com\\/embed\\/([\\w-]+)(?:\\?start=(\\d+))?/,\n\t\t\t\t\t\t/^youtu\\.be\\/([\\w-]+)(?:\\?t=(\\d+))?/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\t\t\t\t\t\tconst time = match[ 2 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'vimeo',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^vimeo\\.com\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/[^/]+\\/[^/]+\\/video\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/album\\/[^/]+\\/video\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/channels\\/[^/]+\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/groups\\/[^/]+\\/videos\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/ondemand\\/[^/]+\\/(\\d+)/,\n\t\t\t\t\t\t/^player\\.vimeo\\.com\\/video\\/(\\d+)/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'instagram',\n\t\t\t\t\turl: /^instagram\\.com\\/p\\/(\\w+)/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'twitter',\n\t\t\t\t\turl: /^twitter\\.com/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'googleMaps',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^google\\.com\\/maps/,\n\t\t\t\t\t\t/^goo\\.gl\\/maps/,\n\t\t\t\t\t\t/^maps\\.google\\.com/,\n\t\t\t\t\t\t/^maps\\.app\\.goo\\.gl/\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'flickr',\n\t\t\t\t\turl: /^flickr\\.com/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'facebook',\n\t\t\t\t\turl: /^facebook\\.com/\n\t\t\t\t}\n\t\t\t]\n\t\t} as MediaEmbedConfig );\n\n\t\tthis.registry = new MediaRegistry( editor.locale, editor.config.get( 'mediaEmbed' )! );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst schema = editor.model.schema;\n\t\tconst t = editor.t;\n\t\tconst conversion = editor.conversion;\n\t\tconst renderMediaPreview = editor.config.get( 'mediaEmbed.previewsInData' );\n\t\tconst elementName = editor.config.get( 'mediaEmbed.elementName' )!;\n\n\t\tconst registry = this.registry;\n\n\t\teditor.commands.add( 'mediaEmbed', new MediaEmbedCommand( editor ) );\n\n\t\t// Configure the schema.\n\t\tschema.register( 'media', {\n\t\t\tinheritAllFrom: '$blockObject',\n\t\t\tallowAttributes: [ 'url' ]\n\t\t} );\n\n\t\t// Model -> Data\n\t\tconversion.for( 'dataDowncast' ).elementToStructure( {\n\t\t\tmodel: 'media',\n\t\t\tview: ( modelElement, { writer } ) => {\n\t\t\t\tconst url = modelElement.getAttribute( 'url' ) as string;\n\n\t\t\t\treturn createMediaFigureElement( writer, registry, url, {\n\t\t\t\t\telementName,\n\t\t\t\t\trenderMediaPreview: !!url && renderMediaPreview\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\n\t\t// Model -> Data (url -> data-oembed-url)\n\t\tconversion.for( 'dataDowncast' ).add(\n\t\t\tmodelToViewUrlAttributeConverter( registry, {\n\t\t\t\telementName,\n\t\t\t\trenderMediaPreview\n\t\t\t} ) );\n\n\t\t// Model -> View (element)\n\t\tconversion.for( 'editingDowncast' ).elementToStructure( {\n\t\t\tmodel: 'media',\n\t\t\tview: ( modelElement, { writer } ) => {\n\t\t\t\tconst url = modelElement.getAttribute( 'url' ) as string;\n\t\t\t\tconst figure = createMediaFigureElement( writer, registry, url, {\n\t\t\t\t\telementName,\n\t\t\t\t\trenderForEditingView: true\n\t\t\t\t} );\n\n\t\t\t\treturn toMediaWidget( figure, writer, t( 'media widget' ) );\n\t\t\t}\n\t\t} );\n\n\t\t// Model -> View (url -> data-oembed-url)\n\t\tconversion.for( 'editingDowncast' ).add(\n\t\t\tmodelToViewUrlAttributeConverter( registry, {\n\t\t\t\telementName,\n\t\t\t\trenderForEditingView: true\n\t\t\t} ) );\n\n\t\t// View -> Model (data-oembed-url -> url)\n\t\tconversion.for( 'upcast' )\n\t\t\t// Upcast semantic media.\n\t\t\t.elementToElement( {\n\t\t\t\tview: element => [ 'oembed', elementName ].includes( element.name ) && element.getAttribute( 'url' ) ?\n\t\t\t\t\t{ name: true } :\n\t\t\t\t\tnull,\n\t\t\t\tmodel: ( viewMedia, { writer } ) => {\n\t\t\t\t\tconst url = viewMedia.getAttribute( 'url' ) as string;\n\n\t\t\t\t\tif ( registry.hasMedia( url ) ) {\n\t\t\t\t\t\treturn writer.createElement( 'media', { url } );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t// Upcast non-semantic media.\n\t\t\t.elementToElement( {\n\t\t\t\tview: {\n\t\t\t\t\tname: 'div',\n\t\t\t\t\tattributes: {\n\t\t\t\t\t\t'data-oembed-url': true\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tmodel: ( viewMedia, { writer } ) => {\n\t\t\t\t\tconst url = viewMedia.getAttribute( 'data-oembed-url' ) as string;\n\n\t\t\t\t\tif ( registry.hasMedia( url ) ) {\n\t\t\t\t\t\treturn writer.createElement( 'media', { url } );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t// Consume `
` elements, that were left after upcast.\n\t\t\t.add( dispatcher => {\n\t\t\t\tconst converter: GetCallback = ( evt, data, conversionApi ) => {\n\t\t\t\t\tif ( !conversionApi.consumable.consume( data.viewItem, { name: true, classes: 'media' } ) ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst { modelRange, modelCursor } = conversionApi.convertChildren( data.viewItem, data.modelCursor );\n\n\t\t\t\t\tdata.modelRange = modelRange;\n\t\t\t\t\tdata.modelCursor = modelCursor;\n\n\t\t\t\t\tconst modelElement = first( modelRange!.getItems() );\n\n\t\t\t\t\tif ( !modelElement ) {\n\t\t\t\t\t\t// Revert consumed figure so other features can convert it.\n\t\t\t\t\t\tconversionApi.consumable.revert( data.viewItem, { name: true, classes: 'media' } );\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tdispatcher.on( 'element:figure', converter );\n\t\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/automediaembed\n */\n\nimport { type Editor, Plugin } from 'ckeditor5/src/core';\nimport { LiveRange, LivePosition } from 'ckeditor5/src/engine';\nimport { Clipboard, type ClipboardPipeline } from 'ckeditor5/src/clipboard';\nimport { Delete } from 'ckeditor5/src/typing';\nimport { Undo, type UndoCommand } from 'ckeditor5/src/undo';\nimport { global } from 'ckeditor5/src/utils';\n\nimport MediaEmbedEditing from './mediaembedediting';\nimport { insertMedia } from './utils';\nimport type MediaEmbedCommand from './mediaembedcommand';\n\nconst URL_REGEXP = /^(?:http(s)?:\\/\\/)?[\\w-]+\\.[\\w-.~:/?#[\\]@!$&'()*+,;=%]+$/;\n\n/**\n * The auto-media embed plugin. It recognizes media links in the pasted content and embeds\n * them shortly after they are injected into the document.\n */\nexport default class AutoMediaEmbed extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ Clipboard, Delete, Undo ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'AutoMediaEmbed' as const;\n\t}\n\n\t/**\n\t * The paste–to–embed `setTimeout` ID. Stored as a property to allow\n\t * cleaning of the timeout.\n\t */\n\tprivate _timeoutId: number | null;\n\n\t/**\n\t * The position where the `` element will be inserted after the timeout,\n\t * determined each time the new content is pasted into the document.\n\t */\n\tprivate _positionToInsert: LivePosition | null;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( editor: Editor ) {\n\t\tsuper( editor );\n\n\t\tthis._timeoutId = null;\n\t\tthis._positionToInsert = null;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst modelDocument = editor.model.document;\n\n\t\t// We need to listen on `Clipboard#inputTransformation` because we need to save positions of selection.\n\t\t// After pasting, the content between those positions will be checked for a URL that could be transformed\n\t\t// into media.\n\t\tconst clipboardPipeline: ClipboardPipeline = editor.plugins.get( 'ClipboardPipeline' );\n\t\tthis.listenTo( clipboardPipeline, 'inputTransformation', () => {\n\t\t\tconst firstRange = modelDocument.selection.getFirstRange()!;\n\n\t\t\tconst leftLivePosition = LivePosition.fromPosition( firstRange.start );\n\t\t\tleftLivePosition.stickiness = 'toPrevious';\n\n\t\t\tconst rightLivePosition = LivePosition.fromPosition( firstRange.end );\n\t\t\trightLivePosition.stickiness = 'toNext';\n\n\t\t\tmodelDocument.once( 'change:data', () => {\n\t\t\t\tthis._embedMediaBetweenPositions( leftLivePosition, rightLivePosition );\n\n\t\t\t\tleftLivePosition.detach();\n\t\t\t\trightLivePosition.detach();\n\t\t\t}, { priority: 'high' } );\n\t\t} );\n\n\t\tconst undoCommand: UndoCommand = editor.commands.get( 'undo' )!;\n\t\tundoCommand.on( 'execute', () => {\n\t\t\tif ( this._timeoutId ) {\n\t\t\t\tglobal.window.clearTimeout( this._timeoutId );\n\t\t\t\tthis._positionToInsert!.detach();\n\n\t\t\t\tthis._timeoutId = null;\n\t\t\t\tthis._positionToInsert = null;\n\t\t\t}\n\t\t}, { priority: 'high' } );\n\t}\n\n\t/**\n\t * Analyzes the part of the document between provided positions in search for a URL representing media.\n\t * When the URL is found, it is automatically converted into media.\n\t *\n\t * @param leftPosition Left position of the selection.\n\t * @param rightPosition Right position of the selection.\n\t */\n\tprivate _embedMediaBetweenPositions( leftPosition: LivePosition, rightPosition: LivePosition ): void {\n\t\tconst editor = this.editor;\n\t\tconst mediaRegistry = editor.plugins.get( MediaEmbedEditing ).registry;\n\t\t// TODO: Use marker instead of LiveRange & LivePositions.\n\t\tconst urlRange = new LiveRange( leftPosition, rightPosition );\n\t\tconst walker = urlRange.getWalker( { ignoreElementEnd: true } );\n\n\t\tlet url = '';\n\n\t\tfor ( const node of walker ) {\n\t\t\tif ( node.item.is( '$textProxy' ) ) {\n\t\t\t\turl += node.item.data;\n\t\t\t}\n\t\t}\n\n\t\turl = url.trim();\n\n\t\t// If the URL does not match to universal URL regexp, let's skip that.\n\t\tif ( !url.match( URL_REGEXP ) ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// If the URL represents a media, let's use it.\n\t\tif ( !mediaRegistry.hasMedia( url ) ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst mediaEmbedCommand: MediaEmbedCommand = editor.commands.get( 'mediaEmbed' )!;\n\n\t\t// Do not anything if media element cannot be inserted at the current position (#47).\n\t\tif ( !mediaEmbedCommand.isEnabled ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// Position won't be available in the `setTimeout` function so let's clone it.\n\t\tthis._positionToInsert = LivePosition.fromPosition( leftPosition );\n\n\t\t// This action mustn't be executed if undo was called between pasting and auto-embedding.\n\t\tthis._timeoutId = global.window.setTimeout( () => {\n\t\t\teditor.model.change( writer => {\n\t\t\t\tthis._timeoutId = null;\n\n\t\t\t\twriter.remove( urlRange );\n\t\t\t\turlRange.detach();\n\n\t\t\t\tlet insertionPosition: LivePosition | null = null;\n\n\t\t\t\t// Check if position where the media element should be inserted is still valid.\n\t\t\t\t// Otherwise leave it as undefined to use document.selection - default behavior of model.insertContent().\n\t\t\t\tif ( this._positionToInsert!.root.rootName !== '$graveyard' ) {\n\t\t\t\t\tinsertionPosition = this._positionToInsert;\n\t\t\t\t}\n\n\t\t\t\tinsertMedia( editor.model, url, insertionPosition, false );\n\n\t\t\t\tthis._positionToInsert!.detach();\n\t\t\t\tthis._positionToInsert = null;\n\t\t\t} );\n\n\t\t\teditor.plugins.get( Delete ).requestUndoOnBackspace();\n\t\t}, 100 );\n\t}\n}\n","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./mediaform.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/ui/mediaformview\n */\n\nimport {\n\ttype InputTextView,\n\tButtonView,\n\tFocusCycler,\n\tLabeledFieldView,\n\tView,\n\tViewCollection,\n\tcreateLabeledInputText,\n\tsubmitHandler\n} from 'ckeditor5/src/ui';\nimport { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';\nimport { icons } from 'ckeditor5/src/core';\n\n// See: #8833.\n// eslint-disable-next-line ckeditor5-rules/ckeditor-imports\nimport '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';\nimport '../../theme/mediaform.css';\n\n/**\n * The media form view controller class.\n *\n * See {@link module:media-embed/ui/mediaformview~MediaFormView}.\n */\nexport default class MediaFormView extends View {\n\t/**\n\t * Tracks information about the DOM focus in the form.\n\t */\n\tpublic readonly focusTracker: FocusTracker;\n\n\t/**\n\t * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.\n\t */\n\tpublic readonly keystrokes: KeystrokeHandler;\n\n\t/**\n\t * The value of the URL input.\n\t */\n\tdeclare public mediaURLInputValue: string;\n\n\t/**\n\t * The URL input view.\n\t */\n\tpublic urlInputView: LabeledFieldView;\n\n\t/**\n\t * The Save button view.\n\t */\n\tpublic saveButtonView: ButtonView;\n\n\t/**\n\t * The Cancel button view.\n\t */\n\tpublic cancelButtonView: ButtonView;\n\n\t/**\n\t * A collection of views that can be focused in the form.\n\t */\n\tprivate readonly _focusables: ViewCollection;\n\n\t/**\n\t * Helps cycling over {@link #_focusables} in the form.\n\t */\n\tprivate readonly _focusCycler: FocusCycler;\n\n\t/**\n\t * An array of form validators used by {@link #isValid}.\n\t */\n\tprivate readonly _validators: Array<( v: MediaFormView ) => string | undefined>;\n\n\t/**\n\t * The default info text for the {@link #urlInputView}.\n\t */\n\tprivate _urlInputViewInfoDefault?: string;\n\n\t/**\n\t * The info text with an additional tip for the {@link #urlInputView},\n\t * displayed when the input has some value.\n\t */\n\tprivate _urlInputViewInfoTip?: string;\n\n\t/**\n\t * @param validators Form validators used by {@link #isValid}.\n\t * @param locale The localization services instance.\n\t */\n\tconstructor( validators: Array<( v: MediaFormView ) => string | undefined>, locale: Locale ) {\n\t\tsuper( locale );\n\n\t\tconst t = locale.t;\n\n\t\tthis.focusTracker = new FocusTracker();\n\t\tthis.keystrokes = new KeystrokeHandler();\n\t\tthis.set( 'mediaURLInputValue', '' );\n\t\tthis.urlInputView = this._createUrlInput();\n\n\t\tthis.saveButtonView = this._createButton( t( 'Save' ), icons.check, 'ck-button-save' );\n\t\tthis.saveButtonView.type = 'submit';\n\t\tthis.saveButtonView.bind( 'isEnabled' ).to( this, 'mediaURLInputValue', value => !!value );\n\n\t\tthis.cancelButtonView = this._createButton( t( 'Cancel' ), icons.cancel, 'ck-button-cancel', 'cancel' );\n\n\t\tthis._focusables = new ViewCollection();\n\n\t\tthis._focusCycler = new FocusCycler( {\n\t\t\tfocusables: this._focusables,\n\t\t\tfocusTracker: this.focusTracker,\n\t\t\tkeystrokeHandler: this.keystrokes,\n\t\t\tactions: {\n\t\t\t\t// Navigate form fields backwards using the Shift + Tab keystroke.\n\t\t\t\tfocusPrevious: 'shift + tab',\n\n\t\t\t\t// Navigate form fields forwards using the Tab key.\n\t\t\t\tfocusNext: 'tab'\n\t\t\t}\n\t\t} );\n\n\t\tthis._validators = validators;\n\n\t\tthis.setTemplate( {\n\t\t\ttag: 'form',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-media-form',\n\t\t\t\t\t'ck-responsive-form'\n\t\t\t\t],\n\n\t\t\t\ttabindex: '-1'\n\t\t\t},\n\n\t\t\tchildren: [\n\t\t\t\tthis.urlInputView,\n\t\t\t\tthis.saveButtonView,\n\t\t\t\tthis.cancelButtonView\n\t\t\t]\n\t\t} );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override render(): void {\n\t\tsuper.render();\n\n\t\tsubmitHandler( {\n\t\t\tview: this\n\t\t} );\n\n\t\tconst childViews = [\n\t\t\tthis.urlInputView,\n\t\t\tthis.saveButtonView,\n\t\t\tthis.cancelButtonView\n\t\t];\n\n\t\tchildViews.forEach( v => {\n\t\t\t// Register the view as focusable.\n\t\t\tthis._focusables.add( v );\n\n\t\t\t// Register the view in the focus tracker.\n\t\t\tthis.focusTracker.add( v.element! );\n\t\t} );\n\n\t\t// Start listening for the keystrokes coming from #element.\n\t\tthis.keystrokes.listenTo( this.element! );\n\n\t\tconst stopPropagation = ( data: KeyboardEvent ) => data.stopPropagation();\n\n\t\t// Since the form is in the dropdown panel which is a child of the toolbar, the toolbar's\n\t\t// keystroke handler would take over the key management in the URL input. We need to prevent\n\t\t// this ASAP. Otherwise, the basic caret movement using the arrow keys will be impossible.\n\t\tthis.keystrokes.set( 'arrowright', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowleft', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowup', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowdown', stopPropagation );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override destroy(): void {\n\t\tsuper.destroy();\n\n\t\tthis.focusTracker.destroy();\n\t\tthis.keystrokes.destroy();\n\t}\n\n\t/**\n\t * Focuses the fist {@link #_focusables} in the form.\n\t */\n\tpublic focus(): void {\n\t\tthis._focusCycler.focusFirst();\n\t}\n\n\t/**\n\t * The native DOM `value` of the {@link #urlInputView} element.\n\t *\n\t * **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}\n\t * which works one way only and may not represent the actual state of the component in the DOM.\n\t */\n\tpublic get url(): string {\n\t\treturn this.urlInputView.fieldView.element!.value.trim();\n\t}\n\n\tpublic set url( url: string ) {\n\t\tthis.urlInputView.fieldView.element!.value = url.trim();\n\t}\n\n\t/**\n\t * Validates the form and returns `false` when some fields are invalid.\n\t */\n\tpublic isValid(): boolean {\n\t\tthis.resetFormStatus();\n\n\t\tfor ( const validator of this._validators ) {\n\t\t\tconst errorText = validator( this );\n\n\t\t\t// One error per field is enough.\n\t\t\tif ( errorText ) {\n\t\t\t\t// Apply updated error.\n\t\t\t\tthis.urlInputView.errorText = errorText;\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Cleans up the supplementary error and information text of the {@link #urlInputView}\n\t * bringing them back to the state when the form has been displayed for the first time.\n\t *\n\t * See {@link #isValid}.\n\t */\n\tpublic resetFormStatus(): void {\n\t\tthis.urlInputView.errorText = null;\n\t\tthis.urlInputView.infoText = this._urlInputViewInfoDefault!;\n\t}\n\n\t/**\n\t * Creates a labeled input view.\n\t *\n\t * @returns Labeled input view instance.\n\t */\n\tprivate _createUrlInput(): LabeledFieldView {\n\t\tconst t = this.locale!.t;\n\n\t\tconst labeledInput = new LabeledFieldView( this.locale, createLabeledInputText );\n\t\tconst inputField = labeledInput.fieldView;\n\n\t\tthis._urlInputViewInfoDefault = t( 'Paste the media URL in the input.' );\n\t\tthis._urlInputViewInfoTip = t( 'Tip: Paste the URL into the content to embed faster.' );\n\n\t\tlabeledInput.label = t( 'Media URL' );\n\t\tlabeledInput.infoText = this._urlInputViewInfoDefault;\n\n\t\tinputField.on( 'input', () => {\n\t\t\t// Display the tip text only when there is some value. Otherwise fall back to the default info text.\n\t\t\tlabeledInput.infoText = inputField.element!.value ? this._urlInputViewInfoTip! : this._urlInputViewInfoDefault!;\n\t\t\tthis.mediaURLInputValue = inputField.element!.value.trim();\n\t\t} );\n\n\t\treturn labeledInput;\n\t}\n\n\t/**\n\t * Creates a button view.\n\t *\n\t * @param label The button label.\n\t * @param icon The button icon.\n\t * @param className The additional button CSS class name.\n\t * @param eventName An event name that the `ButtonView#execute` event will be delegated to.\n\t * @returns The button view instance.\n\t */\n\tprivate _createButton( label: string, icon: string, className: string, eventName?: string ): ButtonView {\n\t\tconst button = new ButtonView( this.locale );\n\n\t\tbutton.set( {\n\t\t\tlabel,\n\t\t\ticon,\n\t\t\ttooltip: true\n\t\t} );\n\n\t\tbutton.extendTemplate( {\n\t\t\tattributes: {\n\t\t\t\tclass: className\n\t\t\t}\n\t\t} );\n\n\t\tif ( eventName ) {\n\t\t\tbutton.delegate( 'execute' ).to( this, eventName );\n\t\t}\n\n\t\treturn button;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/mediaembedui\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\nimport { createDropdown, CssTransitionDisablerMixin, type DropdownView } from 'ckeditor5/src/ui';\n\nimport MediaFormView from './ui/mediaformview';\nimport MediaEmbedEditing from './mediaembedediting';\nimport mediaIcon from '../theme/icons/media.svg';\nimport type MediaEmbedCommand from './mediaembedcommand';\nimport type { LocaleTranslate } from 'ckeditor5/src/utils';\nimport type MediaRegistry from './mediaregistry';\n\n/**\n * The media embed UI plugin.\n */\nexport default class MediaEmbedUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ MediaEmbedEditing ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'MediaEmbedUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst command: MediaEmbedCommand = editor.commands.get( 'mediaEmbed' )!;\n\n\t\teditor.ui.componentFactory.add( 'mediaEmbed', locale => {\n\t\t\tconst dropdown = createDropdown( locale );\n\n\t\t\tthis._setUpDropdown( dropdown, command );\n\n\t\t\treturn dropdown;\n\t\t} );\n\t}\n\n\tprivate _setUpDropdown( dropdown: DropdownView, command: MediaEmbedCommand ): void {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst button = dropdown.buttonView;\n\t\tconst registry = editor.plugins.get( MediaEmbedEditing ).registry;\n\n\t\tdropdown.once( 'change:isOpen', () => {\n\t\t\tconst form = new ( CssTransitionDisablerMixin( MediaFormView ) )( getFormValidators( editor.t, registry ), editor.locale );\n\n\t\t\tdropdown.panelView.children.add( form );\n\n\t\t\t// Note: Use the low priority to make sure the following listener starts working after the\n\t\t\t// default action of the drop-down is executed (i.e. the panel showed up). Otherwise, the\n\t\t\t// invisible form/input cannot be focused/selected.\n\t\t\tbutton.on( 'open', () => {\n\t\t\t\tform.disableCssTransitions();\n\n\t\t\t\t// Make sure that each time the panel shows up, the URL field remains in sync with the value of\n\t\t\t\t// the command. If the user typed in the input, then canceled (`urlInputView#fieldView#value` stays\n\t\t\t\t// unaltered) and re-opened it without changing the value of the media command (e.g. because they\n\t\t\t\t// didn't change the selection), they would see the old value instead of the actual value of the\n\t\t\t\t// command.\n\t\t\t\tform.url = command.value || '';\n\t\t\t\tform.urlInputView.fieldView.select();\n\t\t\t\tform.enableCssTransitions();\n\t\t\t}, { priority: 'low' } );\n\n\t\t\tdropdown.on( 'submit', () => {\n\t\t\t\tif ( form.isValid() ) {\n\t\t\t\t\teditor.execute( 'mediaEmbed', form.url );\n\t\t\t\t\teditor.editing.view.focus();\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tdropdown.on( 'change:isOpen', () => form.resetFormStatus() );\n\t\t\tdropdown.on( 'cancel', () => {\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\tform.delegate( 'submit', 'cancel' ).to( dropdown );\n\t\t\tform.urlInputView.fieldView.bind( 'value' ).to( command, 'value' );\n\n\t\t\t// Form elements should be read-only when corresponding commands are disabled.\n\t\t\tform.urlInputView.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t} );\n\n\t\tdropdown.bind( 'isEnabled' ).to( command );\n\n\t\tbutton.set( {\n\t\t\tlabel: t( 'Insert media' ),\n\t\t\ticon: mediaIcon,\n\t\t\ttooltip: true\n\t\t} );\n\t}\n}\n\nfunction getFormValidators( t: LocaleTranslate, registry: MediaRegistry ): Array<( v: MediaFormView ) => string | undefined> {\n\treturn [\n\t\tform => {\n\t\t\tif ( !form.url.length ) {\n\t\t\t\treturn t( 'The URL must not be empty.' );\n\t\t\t}\n\t\t},\n\t\tform => {\n\t\t\tif ( !registry.hasMedia( form.url ) ) {\n\t\t\t\treturn t( 'This media URL is not supported.' );\n\t\t\t}\n\t\t}\n\t];\n}\n","export default \"\";","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./mediaembed.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/list\n */\n\nimport {\n\tMatcher,\n\tUpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode,\n\ttype ViewText\n} from 'ckeditor5/src/engine';\n\n/**\n * Transforms Word specific list-like elements to the semantic HTML lists.\n *\n * Lists in Word are represented by block elements with special attributes like:\n *\n * ```xml\n *

...

// Paragraph based list.\n *

...

// Heading 1 based list.\n * ```\n *\n * @param documentFragment The view structure to be transformed.\n * @param stylesString Styles from which list-like elements styling will be extracted.\n */\nexport function transformListItemLikeElementsIntoLists(\n\tdocumentFragment: ViewDocumentFragment,\n\tstylesString: string\n): void {\n\tif ( !documentFragment.childCount ) {\n\t\treturn;\n\t}\n\n\tconst writer = new UpcastWriter( documentFragment.document );\n\tconst itemLikeElements = findAllItemLikeElements( documentFragment, writer );\n\n\tif ( !itemLikeElements.length ) {\n\t\treturn;\n\t}\n\n\tlet currentList: ViewElement | null = null;\n\tlet currentIndentation = 1;\n\n\titemLikeElements.forEach( ( itemLikeElement, i ) => {\n\t\tconst isDifferentList = isNewListNeeded( itemLikeElements[ i - 1 ], itemLikeElement );\n\t\tconst previousItemLikeElement = isDifferentList ? null : itemLikeElements[ i - 1 ];\n\t\tconst indentationDifference = getIndentationDifference( previousItemLikeElement, itemLikeElement );\n\n\t\tif ( isDifferentList ) {\n\t\t\tcurrentList = null;\n\t\t\tcurrentIndentation = 1;\n\t\t}\n\n\t\tif ( !currentList || indentationDifference !== 0 ) {\n\t\t\tconst listStyle = detectListStyle( itemLikeElement, stylesString );\n\n\t\t\tif ( !currentList ) {\n\t\t\t\tcurrentList = insertNewEmptyList( listStyle, itemLikeElement.element, writer );\n\t\t\t} else if ( itemLikeElement.indent > currentIndentation ) {\n\t\t\t\tconst lastListItem = currentList.getChild( currentList.childCount - 1 ) as ViewElement;\n\t\t\t\tconst lastListItemChild = lastListItem!.getChild( lastListItem.childCount - 1 ) as ViewElement;\n\n\t\t\t\tcurrentList = insertNewEmptyList( listStyle, lastListItemChild, writer );\n\t\t\t\tcurrentIndentation += 1;\n\t\t\t} else if ( itemLikeElement.indent < currentIndentation ) {\n\t\t\t\tconst differentIndentation = currentIndentation - itemLikeElement.indent;\n\n\t\t\t\tcurrentList = findParentListAtLevel( currentList, differentIndentation );\n\t\t\t\tcurrentIndentation = itemLikeElement.indent;\n\t\t\t}\n\n\t\t\tif ( itemLikeElement.indent <= currentIndentation ) {\n\t\t\t\tif ( !currentList.is( 'element', listStyle.type ) ) {\n\t\t\t\t\tcurrentList = writer.rename( listStyle.type, currentList );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst listItem = transformElementIntoListItem( itemLikeElement.element, writer );\n\n\t\twriter.appendChild( listItem, currentList! );\n\t} );\n}\n\n/**\n * Removes paragraph wrapping content inside a list item.\n */\nexport function unwrapParagraphInListItem(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tfor ( const value of writer.createRangeIn( documentFragment ) ) {\n\t\tconst element = value.item;\n\n\t\tif ( element.is( 'element', 'li' ) ) {\n\t\t\t// Google Docs allows for single paragraph inside LI.\n\t\t\tconst firstChild = element.getChild( 0 );\n\n\t\t\tif ( firstChild && firstChild.is( 'element', 'p' ) ) {\n\t\t\t\twriter.unwrapElement( firstChild );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Finds all list-like elements in a given document fragment.\n *\n * @param documentFragment Document fragment in which to look for list-like nodes.\n * @returns Array of found list-like items. Each item is an object containing:\n */\nfunction findAllItemLikeElements(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\t// Matcher for finding list-like elements.\n\tconst itemLikeElementsMatcher = new Matcher( {\n\t\tname: /^p|h\\d+$/,\n\t\tstyles: {\n\t\t\t'mso-list': /.*/\n\t\t}\n\t} );\n\n\tconst itemLikeElements: Array = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type === 'elementStart' && itemLikeElementsMatcher.match( value.item as ViewElement ) ) {\n\t\t\tconst itemData = getListItemData( value.item as ViewElement );\n\n\t\t\titemLikeElements.push( {\n\t\t\t\telement: value.item as ViewElement,\n\t\t\t\tid: itemData.id,\n\t\t\t\torder: itemData.order,\n\t\t\t\tindent: itemData.indent\n\t\t\t} );\n\t\t}\n\t}\n\n\treturn itemLikeElements;\n}\n\n/**\n * Extracts list item style from the provided CSS.\n *\n * List item style is extracted from the CSS stylesheet. Each list with its specific style attribute\n * value (`mso-list:l1 level1 lfo1`) has its dedicated properties in a CSS stylesheet defined with a selector like:\n *\n * ```css\n * @list l1:level1 { ... }\n * ```\n *\n * It contains `mso-level-number-format` property which defines list numbering/bullet style. If this property\n * is not defined it means default `decimal` numbering.\n *\n * Here CSS string representation is used as `mso-level-number-format` property is an invalid CSS property\n * and will be removed during CSS parsing.\n *\n * @param listLikeItem List-like item for which list style will be searched for. Usually\n * a result of `findAllItemLikeElements()` function.\n * @param stylesString CSS stylesheet.\n * @returns An object with properties:\n *\n * * type - List type, could be `ul` or `ol`.\n * * startIndex - List start index, valid only for ordered lists.\n * * style - List style, for example: `decimal`, `lower-roman`, etc. It is extracted\n * directly from Word stylesheet and adjusted to represent proper values for the CSS `list-style-type` property.\n * If it cannot be adjusted, the `null` value is returned.\n */\nfunction detectListStyle( listLikeItem: ListLikeElement, stylesString: string ) {\n\tconst listStyleRegexp = new RegExp( `@list l${ listLikeItem.id }:level${ listLikeItem.indent }\\\\s*({[^}]*)`, 'gi' );\n\tconst listStyleTypeRegex = /mso-level-number-format:([^;]{0,100});/gi;\n\tconst listStartIndexRegex = /mso-level-start-at:\\s{0,100}([0-9]{0,10})\\s{0,100};/gi;\n\n\tconst listStyleMatch = listStyleRegexp.exec( stylesString );\n\n\tlet listStyleType = 'decimal'; // Decimal is default one.\n\tlet type = 'ol'; //
    is default list.\n\tlet startIndex = null;\n\n\tif ( listStyleMatch && listStyleMatch[ 1 ] ) {\n\t\tconst listStyleTypeMatch = listStyleTypeRegex.exec( listStyleMatch[ 1 ] );\n\n\t\tif ( listStyleTypeMatch && listStyleTypeMatch[ 1 ] ) {\n\t\t\tlistStyleType = listStyleTypeMatch[ 1 ].trim();\n\t\t\ttype = listStyleType !== 'bullet' && listStyleType !== 'image' ? 'ol' : 'ul';\n\t\t}\n\n\t\t// Styles for the numbered lists are always defined in the Word CSS stylesheet.\n\t\t// Unordered lists MAY contain a value for the Word CSS definition `mso-level-text` but sometimes\n\t\t// this tag is missing. And because of that, we cannot depend on that. We need to predict the list style value\n\t\t// based on the list style marker element.\n\t\tif ( listStyleType === 'bullet' ) {\n\t\t\tconst bulletedStyle = findBulletedListStyle( listLikeItem.element );\n\n\t\t\tif ( bulletedStyle ) {\n\t\t\t\tlistStyleType = bulletedStyle;\n\t\t\t}\n\t\t} else {\n\t\t\tconst listStartIndexMatch = listStartIndexRegex.exec( listStyleMatch[ 1 ] );\n\n\t\t\tif ( listStartIndexMatch && listStartIndexMatch[ 1 ] ) {\n\t\t\t\tstartIndex = parseInt( listStartIndexMatch[ 1 ] );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn {\n\t\ttype,\n\t\tstartIndex,\n\t\tstyle: mapListStyleDefinition( listStyleType )\n\t};\n}\n\n/**\n * Tries to extract the `list-style-type` value based on the marker element for bulleted list.\n */\nfunction findBulletedListStyle( element: ViewElement ) {\n\tconst listMarkerElement = findListMarkerNode( element );\n\n\tif ( !listMarkerElement ) {\n\t\treturn null;\n\t}\n\n\tconst listMarker = listMarkerElement._data;\n\n\tif ( listMarker === 'o' ) {\n\t\treturn 'circle';\n\t} else if ( listMarker === '·' ) {\n\t\treturn 'disc';\n\t}\n\t// Word returns '§' instead of '■' for the square list style.\n\telse if ( listMarker === '§' ) {\n\t\treturn 'square';\n\t}\n\n\treturn null;\n}\n\n/**\n * Tries to find a text node that represents the marker element (list-style-type).\n */\nfunction findListMarkerNode( element: ViewElement ): ViewText | null {\n\t// If the first child is a text node, it is the data for the element.\n\t// The list-style marker is not present here.\n\tif ( element.getChild( 0 )!.is( '$text' ) ) {\n\t\treturn null;\n\t}\n\n\tfor ( const childNode of element.getChildren() ) {\n\t\t// The list-style marker will be inside the `` element. Let's ignore all non-span elements.\n\t\t// It may happen that the `` element is added as the first child. Most probably, it's an anchor element.\n\t\tif ( !childNode.is( 'element', 'span' ) ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst textNodeOrElement = childNode.getChild( 0 );\n\n\t\tif ( !textNodeOrElement ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t// If already found the marker element, use it.\n\t\tif ( textNodeOrElement.is( '$text' ) ) {\n\t\t\treturn textNodeOrElement;\n\t\t}\n\n\t\treturn ( textNodeOrElement as any ).getChild( 0 );\n\t}\n\n\t/* istanbul ignore next -- @preserve */\n\treturn null;\n}\n\n/**\n * Parses the `list-style-type` value extracted directly from the Word CSS stylesheet and returns proper CSS definition.\n */\nfunction mapListStyleDefinition( value: string ) {\n\tif ( value.startsWith( 'arabic-leading-zero' ) ) {\n\t\treturn 'decimal-leading-zero';\n\t}\n\n\tswitch ( value ) {\n\t\tcase 'alpha-upper':\n\t\t\treturn 'upper-alpha';\n\t\tcase 'alpha-lower':\n\t\t\treturn 'lower-alpha';\n\t\tcase 'roman-upper':\n\t\t\treturn 'upper-roman';\n\t\tcase 'roman-lower':\n\t\t\treturn 'lower-roman';\n\t\tcase 'circle':\n\t\tcase 'disc':\n\t\tcase 'square':\n\t\t\treturn value;\n\t\tdefault:\n\t\t\treturn null;\n\t}\n}\n\n/**\n * Creates an empty list of a given type and inserts it after a specified element.\n *\n * @param listStyle List style object which determines the type of newly created list.\n * Usually a result of `detectListStyle()` function.\n * @param element Element after which list is inserted.\n * @returns Newly created list element.\n */\nfunction insertNewEmptyList(\n\tlistStyle: ReturnType,\n\telement: ViewElement,\n\twriter: UpcastWriter\n) {\n\tconst parent = element.parent!;\n\tconst list = writer.createElement( listStyle.type );\n\tconst position = parent.getChildIndex( element ) + 1;\n\n\twriter.insertChild( position, list, parent );\n\n\t// We do not support modifying the marker for a particular list item.\n\t// Set the value for the `list-style-type` property directly to the list container.\n\tif ( listStyle.style ) {\n\t\twriter.setStyle( 'list-style-type', listStyle.style, list );\n\t}\n\n\tif ( listStyle.startIndex && listStyle.startIndex > 1 ) {\n\t\twriter.setAttribute( 'start', listStyle.startIndex, list );\n\t}\n\n\treturn list;\n}\n\n/**\n * Transforms a given element into a semantic list item. As the function operates on a provided\n * {module:engine/src/view/element~Element element} it will modify the view structure to which this element belongs.\n *\n * @param element Element which will be transformed into a list item.\n * @returns New element to which the given one was transformed. It is\n * inserted in place of the old element (the reference to the old element is lost due to renaming).\n */\nfunction transformElementIntoListItem( element: ViewElement, writer: UpcastWriter ) {\n\tremoveBulletElement( element, writer );\n\twriter.removeStyle( 'text-indent', element ); // #12361\n\n\treturn writer.rename( 'li', element )!;\n}\n\n/**\n * Extracts list item information from Word specific list-like element style:\n *\n * ```\n * `style=\"mso-list:l1 level1 lfo1\"`\n * ```\n *\n * where:\n *\n * ```\n * * `l1` is a list id (however it does not mean this is a continuous list - see #43),\n * * `level1` is a list item indentation level,\n * * `lfo1` is a list insertion order in a document.\n * ```\n *\n * @param element Element from which style data is extracted.\n */\nfunction getListItemData( element: ViewElement ): ListItemData {\n\tconst data: ListItemData = {} as any;\n\tconst listStyle = element.getStyle( 'mso-list' );\n\n\tif ( listStyle ) {\n\t\tconst idMatch = listStyle.match( /(^|\\s{1,100})l(\\d+)/i );\n\t\tconst orderMatch = listStyle.match( /\\s{0,100}lfo(\\d+)/i );\n\t\tconst indentMatch = listStyle.match( /\\s{0,100}level(\\d+)/i );\n\n\t\tif ( idMatch && orderMatch && indentMatch ) {\n\t\t\tdata.id = idMatch[ 2 ];\n\t\t\tdata.order = orderMatch[ 1 ];\n\t\t\tdata.indent = parseInt( indentMatch[ 1 ] );\n\t\t}\n\t}\n\n\treturn data;\n}\n\n/**\n * Removes span with a numbering/bullet from a given element.\n */\nfunction removeBulletElement( element: ViewElement, writer: UpcastWriter ) {\n\t// Matcher for finding `span` elements holding lists numbering/bullets.\n\tconst bulletMatcher = new Matcher( {\n\t\tname: 'span',\n\t\tstyles: {\n\t\t\t'mso-list': 'Ignore'\n\t\t}\n\t} );\n\n\tconst range = writer.createRangeIn( element );\n\n\tfor ( const value of range ) {\n\t\tif ( value.type === 'elementStart' && bulletMatcher.match( value.item as ViewElement ) ) {\n\t\t\twriter.remove( value.item as ViewElement );\n\t\t}\n\t}\n}\n\n/**\n * Whether the previous and current items belong to the same list. It is determined based on `item.id`\n * (extracted from `mso-list` style, see #getListItemData) and a previous sibling of the current item.\n *\n * However, it's quite easy to change the `id` attribute for nested lists in Word. It will break the list feature while pasting.\n * Let's check also the `indent` attribute. If the difference between those two elements is equal to 1, we can assume that\n * the `currentItem` is a beginning of the nested list because lists in CKEditor 5 always start with the `indent=0` attribute.\n * See: https://github.com/ckeditor/ckeditor5/issues/7805.\n */\nfunction isNewListNeeded( previousItem: ListLikeElement, currentItem: ListLikeElement ) {\n\tif ( !previousItem ) {\n\t\treturn true;\n\t}\n\n\tif ( previousItem.id !== currentItem.id ) {\n\t\t// See: https://github.com/ckeditor/ckeditor5/issues/7805.\n\t\t//\n\t\t// * List item 1.\n\t\t// - Nested list item 1.\n\t\tif ( currentItem.indent - previousItem.indent === 1 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tconst previousSibling = currentItem.element.previousSibling;\n\n\tif ( !previousSibling ) {\n\t\treturn true;\n\t}\n\n\t// Even with the same id the list does not have to be continuous (#43).\n\treturn !isList( previousSibling );\n}\n\nfunction isList( element: ViewNode ) {\n\treturn element.is( 'element', 'ol' ) || element.is( 'element', 'ul' );\n}\n\n/**\n * Calculates the indentation difference between two given list items (based on the indent attribute\n * extracted from the `mso-list` style, see #getListItemData).\n */\nfunction getIndentationDifference( previousItem: ListLikeElement | null, currentItem: ListLikeElement ) {\n\treturn previousItem ? currentItem.indent - previousItem.indent : currentItem.indent - 1;\n}\n\n/**\n * Finds the parent list element (ul/ol) of a given list element with indentation level lower by a given value.\n *\n * @param listElement List element from which to start looking for a parent list.\n * @param indentationDifference Indentation difference between lists.\n * @returns Found list element with indentation level lower by a given value.\n */\nfunction findParentListAtLevel( listElement: ViewElement, indentationDifference: number ) {\n\tconst ancestors = listElement.getAncestors( { parentFirst: true } );\n\n\tlet parentList = null;\n\tlet levelChange = 0;\n\n\tfor ( const ancestor of ancestors ) {\n\t\tif ( ancestor.is( 'element', 'ul' ) || ancestor.is( 'element', 'ol' ) ) {\n\t\t\tlevelChange++;\n\t\t}\n\n\t\tif ( levelChange === indentationDifference ) {\n\t\t\tparentList = ancestor;\n\t\t\tbreak;\n\t\t}\n\t}\n\n\treturn parentList as ViewElement;\n}\n\ninterface ListItemData {\n\n\t/**\n\t * Parent list id.\n\t */\n\tid: string;\n\n\t/**\n\t * List item creation order.\n\t */\n\torder: string;\n\n\t/**\n\t * List item indentation level.\n\t */\n\tindent: number;\n}\n\ninterface ListLikeElement extends ListItemData {\n\n\t/**\n\t * List-like element.\n\t */\n\telement: ViewElement;\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/image\n */\n\n/* globals btoa */\n\nimport {\n\tMatcher,\n\tUpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode\n} from 'ckeditor5/src/engine';\n\n/**\n * Replaces source attribute of all `` elements representing regular\n * images (not the Word shapes) with inlined base64 image representation extracted from RTF or Blob data.\n *\n * @param documentFragment Document fragment on which transform images.\n * @param rtfData The RTF data from which images representation will be used.\n */\nexport function replaceImagesSourceWithBase64( documentFragment: ViewDocumentFragment, rtfData: string ): void {\n\tif ( !documentFragment.childCount ) {\n\t\treturn;\n\t}\n\n\tconst upcastWriter = new UpcastWriter( documentFragment.document );\n\tconst shapesIds = findAllShapesIds( documentFragment, upcastWriter );\n\n\tremoveAllImgElementsRepresentingShapes( shapesIds, documentFragment, upcastWriter );\n\tinsertMissingImgs( shapesIds, documentFragment, upcastWriter );\n\tremoveAllShapeElements( documentFragment, upcastWriter );\n\n\tconst images = findAllImageElementsWithLocalSource( documentFragment, upcastWriter );\n\n\tif ( images.length ) {\n\t\treplaceImagesFileSourceWithInlineRepresentation( images, extractImageDataFromRtf( rtfData ), upcastWriter );\n\t}\n}\n\n/**\n * Converts given HEX string to base64 representation.\n *\n * @internal\n * @param hexString The HEX string to be converted.\n * @returns Base64 representation of a given HEX string.\n */\nexport function _convertHexToBase64( hexString: string ): string {\n\treturn btoa( hexString.match( /\\w{2}/g )!.map( char => {\n\t\treturn String.fromCharCode( parseInt( char, 16 ) );\n\t} ).join( '' ) );\n}\n\n/**\n * Finds all shapes (`...`) ids. Shapes can represent images (canvas)\n * or Word shapes (which does not have RTF or Blob representation).\n *\n * @param documentFragment Document fragment from which to extract shape ids.\n * @returns Array of shape ids.\n */\nfunction findAllShapesIds( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapeElementsMatcher = new Matcher( {\n\t\tname: /v:(.+)/\n\t} );\n\n\tconst shapesIds = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type != 'elementStart' ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst el = value.item as ViewElement;\n\t\tconst previousSibling = el.previousSibling;\n\t\tconst prevSiblingName = previousSibling && previousSibling.is( 'element' ) ? previousSibling.name : null;\n\n\t\t// If shape element have 'o:gfxdata' attribute and is not directly before `` element it means it represent Word shape.\n\t\tif ( shapeElementsMatcher.match( el ) && el.getAttribute( 'o:gfxdata' ) && prevSiblingName !== 'v:shapetype' ) {\n\t\t\tshapesIds.push( ( value.item as ViewElement ).getAttribute( 'id' )! );\n\t\t}\n\t}\n\n\treturn shapesIds;\n}\n\n/**\n * Removes all `` elements which represents Word shapes and not regular images.\n *\n * @param shapesIds Shape ids which will be checked against `` elements.\n * @param documentFragment Document fragment from which to remove `` elements.\n */\nfunction removeAllImgElementsRepresentingShapes(\n\tshapesIds: Array,\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst imageElementsMatcher = new Matcher( {\n\t\tname: 'img'\n\t} );\n\n\tconst imgs = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.item.is( 'element' ) && imageElementsMatcher.match( value.item ) ) {\n\t\t\tconst el = value.item;\n\t\t\tconst shapes = el.getAttribute( 'v:shapes' ) ? el.getAttribute( 'v:shapes' )!.split( ' ' ) : [];\n\n\t\t\tif ( shapes.length && shapes.every( shape => shapesIds.indexOf( shape ) > -1 ) ) {\n\t\t\t\timgs.push( el );\n\t\t\t// Shapes may also have empty source while content is paste in some browsers (Safari).\n\t\t\t} else if ( !el.getAttribute( 'src' ) ) {\n\t\t\t\timgs.push( el );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const img of imgs ) {\n\t\twriter.remove( img );\n\t}\n}\n\n/**\n * Removes all shape elements (`...`) so they do not pollute the output structure.\n *\n * @param documentFragment Document fragment from which to remove shape elements.\n */\nfunction removeAllShapeElements( documentFragment: ViewDocumentFragment, writer: UpcastWriter ) {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapeElementsMatcher = new Matcher( {\n\t\tname: /v:(.+)/\n\t} );\n\n\tconst shapes = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type == 'elementStart' && shapeElementsMatcher.match( value.item as ViewElement ) ) {\n\t\t\tshapes.push( value.item as ViewElement );\n\t\t}\n\t}\n\n\tfor ( const shape of shapes ) {\n\t\twriter.remove( shape );\n\t}\n}\n\n/**\n * Inserts `img` tags if there is none after a shape.\n */\nfunction insertMissingImgs( shapeIds: Array, documentFragment: ViewDocumentFragment, writer: UpcastWriter ) {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapes: Array = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type == 'elementStart' && value.item.is( 'element', 'v:shape' ) ) {\n\t\t\tconst id = value.item.getAttribute( 'id' )!;\n\n\t\t\tif ( shapeIds.includes( id ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( !containsMatchingImg( value.item.parent!.getChildren(), id ) ) {\n\t\t\t\tshapes.push( value.item );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const shape of shapes ) {\n\t\tconst attrs: Record = {\n\t\t\tsrc: findSrc( shape )\n\t\t};\n\n\t\tif ( shape.hasAttribute( 'alt' ) ) {\n\t\t\tattrs.alt = shape.getAttribute( 'alt' );\n\t\t}\n\n\t\tconst img = writer.createElement( 'img', attrs );\n\n\t\twriter.insertChild( shape.index! + 1, img, shape.parent! );\n\t}\n\n\tfunction containsMatchingImg( nodes: Iterable, id: string ): boolean {\n\t\tfor ( const node of nodes ) {\n\t\t\t/* istanbul ignore else -- @preserve */\n\t\t\tif ( node.is( 'element' ) ) {\n\t\t\t\tif ( node.name == 'img' && node.getAttribute( 'v:shapes' ) == id ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tif ( containsMatchingImg( node.getChildren(), id ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tfunction findSrc( shape: ViewElement ) {\n\t\tfor ( const child of shape.getChildren() ) {\n\t\t\t/* istanbul ignore else -- @preserve */\n\t\t\tif ( child.is( 'element' ) && child.getAttribute( 'src' ) ) {\n\t\t\t\treturn child.getAttribute( 'src' );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Finds all `` elements in a given document fragment which have source pointing to local `file://` resource.\n *\n * @param documentFragment Document fragment in which to look for `` elements.\n * @returns result All found images grouped by source type.\n */\nfunction findAllImageElementsWithLocalSource(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst imageElementsMatcher = new Matcher( {\n\t\tname: 'img'\n\t} );\n\n\tconst imgs = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.item.is( 'element' ) && imageElementsMatcher.match( value.item ) ) {\n\t\t\tif ( value.item.getAttribute( 'src' )!.startsWith( 'file://' ) ) {\n\t\t\t\timgs.push( value.item );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn imgs;\n}\n\n/**\n * Extracts all images HEX representations from a given RTF data.\n *\n * @param rtfData The RTF data from which to extract images HEX representation.\n * @returns Array of found HEX representations. Each array item is an object containing:\n *\n * * hex Image representation in HEX format.\n * * type Type of image, `image/png` or `image/jpeg`.\n */\nfunction extractImageDataFromRtf( rtfData: string ): Array<{ hex: string; type: string }> {\n\tif ( !rtfData ) {\n\t\treturn [];\n\t}\n\n\tconst regexPictureHeader = /{\\\\pict[\\s\\S]+?\\\\bliptag-?\\d+(\\\\blipupi-?\\d+)?({\\\\\\*\\\\blipuid\\s?[\\da-fA-F]+)?[\\s}]*?/;\n\tconst regexPicture = new RegExp( '(?:(' + regexPictureHeader.source + '))([\\\\da-fA-F\\\\s]+)\\\\}', 'g' );\n\tconst images = rtfData.match( regexPicture );\n\tconst result = [];\n\n\tif ( images ) {\n\t\tfor ( const image of images ) {\n\t\t\tlet imageType: string | false = false;\n\n\t\t\tif ( image.includes( '\\\\pngblip' ) ) {\n\t\t\t\timageType = 'image/png';\n\t\t\t} else if ( image.includes( '\\\\jpegblip' ) ) {\n\t\t\t\timageType = 'image/jpeg';\n\t\t\t}\n\n\t\t\tif ( imageType ) {\n\t\t\t\tresult.push( {\n\t\t\t\t\thex: image.replace( regexPictureHeader, '' ).replace( /[^\\da-fA-F]/g, '' ),\n\t\t\t\t\ttype: imageType\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn result;\n}\n\n/**\n * Replaces `src` attribute value of all given images with the corresponding base64 image representation.\n *\n * @param imageElements Array of image elements which will have its source replaced.\n * @param imagesHexSources Array of images hex sources (usually the result of `extractImageDataFromRtf()` function).\n * The array should be the same length as `imageElements` parameter.\n */\nfunction replaceImagesFileSourceWithInlineRepresentation(\n\timageElements: Array,\n\timagesHexSources: ReturnType,\n\twriter: UpcastWriter\n) {\n\t// Assume there is an equal amount of image elements and images HEX sources so they can be matched accordingly based on existing order.\n\tif ( imageElements.length === imagesHexSources.length ) {\n\t\tfor ( let i = 0; i < imageElements.length; i++ ) {\n\t\t\tconst newSrc = `data:${ imagesHexSources[ i ].type };base64,${ _convertHexToBase64( imagesHexSources[ i ].hex ) }`;\n\t\t\twriter.setAttribute( 'src', newSrc, imageElements[ i ] );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/mswordnormalizer\n */\n\nimport { transformListItemLikeElementsIntoLists } from '../filters/list';\nimport { replaceImagesSourceWithBase64 } from '../filters/image';\nimport removeMSAttributes from '../filters/removemsattributes';\nimport type { ViewDocument } from 'ckeditor5/src/engine';\nimport type { Normalizer, NormalizerData } from '../normalizer';\n\nconst msWordMatch1 = //i;\nconst msWordMatch2 = /xmlns:o=\"urn:schemas-microsoft-com/i;\n\n/**\n * Normalizer for the content pasted from Microsoft Word.\n */\nexport default class MSWordNormalizer implements Normalizer {\n\tpublic readonly document: ViewDocument;\n\n\t/**\n\t * Creates a new `MSWordNormalizer` instance.\n\t *\n\t * @param document View document.\n\t */\n\tconstructor( document: ViewDocument ) {\n\t\tthis.document = document;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic isActive( htmlString: string ): boolean {\n\t\treturn msWordMatch1.test( htmlString ) || msWordMatch2.test( htmlString );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic execute( data: NormalizerData ): void {\n\t\tconst { body: documentFragment, stylesString } = data._parsedData;\n\n\t\ttransformListItemLikeElementsIntoLists( documentFragment, stylesString );\n\t\treplaceImagesSourceWithBase64( documentFragment, data.dataTransfer.getData( 'text/rtf' ) );\n\t\tremoveMSAttributes( documentFragment );\n\n\t\tdata.content = documentFragment;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removemsattributes\n */\n\nimport { UpcastWriter, type ViewDocumentFragment } from 'ckeditor5/src/engine';\n\n/**\n * Cleanup MS attributes like styles, attributes and elements.\n *\n * @param documentFragment element `data.content` obtained from clipboard.\n */\nexport default function removeMSAttributes( documentFragment: ViewDocumentFragment ): void {\n\tconst elementsToUnwrap = [];\n\tconst writer = new UpcastWriter( documentFragment.document );\n\n\tfor ( const { item } of writer.createRangeIn( documentFragment ) ) {\n\t\tif ( !item.is( 'element' ) ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tfor ( const className of item.getClassNames() ) {\n\t\t\tif ( /\\bmso/gi.exec( className ) ) {\n\t\t\t\twriter.removeClass( className, item );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const styleName of item.getStyleNames() ) {\n\t\t\tif ( /\\bmso/gi.exec( styleName ) ) {\n\t\t\t\twriter.removeStyle( styleName, item );\n\t\t\t}\n\t\t}\n\n\t\tif ( item.is( 'element', 'w:sdt' ) ) {\n\t\t\telementsToUnwrap.push( item );\n\t\t}\n\t}\n\n\tfor ( const item of elementsToUnwrap ) {\n\t\tconst itemParent = item.parent!;\n\t\tconst childIndex = itemParent.getChildIndex( item );\n\n\t\twriter.insertChild( childIndex, item.getChildren(), itemParent );\n\t\twriter.remove( item );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/br\n */\n\nimport {\n\tDomConverter,\n\tViewDocument,\n\ttype UpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode\n} from 'ckeditor5/src/engine';\n\n/**\n * Transforms `
    ` elements that are siblings to some block element into a paragraphs.\n *\n * @param documentFragment The view structure to be transformed.\n */\nexport default function transformBlockBrsToParagraphs(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tconst viewDocument = new ViewDocument( writer.document.stylesProcessor );\n\tconst domConverter = new DomConverter( viewDocument, { renderingMode: 'data' } );\n\n\tconst blockElements = domConverter.blockElements;\n\tconst inlineObjectElements = domConverter.inlineObjectElements;\n\n\tconst elementsToReplace = [];\n\n\tfor ( const value of writer.createRangeIn( documentFragment ) ) {\n\t\tconst element = value.item;\n\n\t\tif ( element.is( 'element', 'br' ) ) {\n\t\t\tconst nextSibling = findSibling( element, 'forward', writer, { blockElements, inlineObjectElements } );\n\t\t\tconst previousSibling = findSibling( element, 'backward', writer, { blockElements, inlineObjectElements } );\n\n\t\t\tconst nextSiblingIsBlock = isBlockViewElement( nextSibling, blockElements );\n\t\t\tconst previousSiblingIsBlock = isBlockViewElement( previousSibling, blockElements );\n\n\t\t\t// If the
    is surrounded by blocks then convert it to a paragraph:\n\t\t\t// *

    foo

    [
    ]

    bar

    ->

    foo

    [

    ]

    bar

    \n\t\t\t// *

    foo

    [
    ] ->

    foo

    [

    ]\n\t\t\t// * [
    ]

    foo

    -> [

    ]

    foo

    \n\t\t\tif ( previousSiblingIsBlock || nextSiblingIsBlock ) {\n\t\t\t\telementsToReplace.push( element );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const element of elementsToReplace ) {\n\t\tif ( element.hasClass( 'Apple-interchange-newline' ) ) {\n\t\t\twriter.remove( element );\n\t\t} else {\n\t\t\twriter.replace( element, writer.createElement( 'p' ) );\n\t\t}\n\t}\n}\n\n/**\n * Returns sibling node, threats inline elements as transparent (but should stop on an inline objects).\n */\nfunction findSibling(\n\tviewElement: ViewElement,\n\tdirection: 'forward' | 'backward',\n\twriter: UpcastWriter,\n\t{ blockElements, inlineObjectElements }: { blockElements: Array; inlineObjectElements: Array }\n) {\n\tlet position = writer.createPositionAt( viewElement, direction == 'forward' ? 'after' : 'before' );\n\n\t// Find first position that is just before a first:\n\t// * text node,\n\t// * block element,\n\t// * inline object element.\n\t// It's ignoring any inline (non-object) elements like span, strong, etc.\n\tposition = position.getLastMatchingPosition( ( { item } ) => (\n\t\titem.is( 'element' ) &&\n\t\t!blockElements.includes( item.name ) &&\n\t\t!inlineObjectElements.includes( item.name )\n\t), { direction } );\n\n\treturn direction == 'forward' ? position.nodeAfter : position.nodeBefore;\n}\n\n/**\n * Returns true for view elements that are listed as block view elements.\n */\nfunction isBlockViewElement( node: ViewNode | null, blockElements: Array ) {\n\treturn !!node && node.is( 'element' ) && blockElements.includes( node.name );\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/googledocsnormalizer\n */\n\nimport { UpcastWriter, type ViewDocument } from 'ckeditor5/src/engine';\n\nimport removeBoldWrapper from '../filters/removeboldwrapper';\nimport transformBlockBrsToParagraphs from '../filters/br';\nimport { unwrapParagraphInListItem } from '../filters/list';\nimport type { Normalizer, NormalizerData } from '../normalizer';\n\nconst googleDocsMatch = /id=(\"|')docs-internal-guid-[-0-9a-f]+(\"|')/i;\n\n/**\n * Normalizer for the content pasted from Google Docs.\n */\nexport default class GoogleDocsNormalizer implements Normalizer {\n\tpublic readonly document: ViewDocument;\n\n\t/**\n\t * Creates a new `GoogleDocsNormalizer` instance.\n\t *\n\t * @param document View document.\n\t */\n\tconstructor( document: ViewDocument ) {\n\t\tthis.document = document;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic isActive( htmlString: string ): boolean {\n\t\treturn googleDocsMatch.test( htmlString );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic execute( data: NormalizerData ): void {\n\t\tconst writer = new UpcastWriter( this.document );\n\t\tconst { body: documentFragment } = data._parsedData;\n\n\t\tremoveBoldWrapper( documentFragment, writer );\n\t\tunwrapParagraphInListItem( documentFragment, writer );\n\t\ttransformBlockBrsToParagraphs( documentFragment, writer );\n\n\t\tdata.content = documentFragment;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removeboldwrapper\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine';\n\n/**\n * Removes the `` tag wrapper added by Google Docs to a copied content.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeBoldWrapper( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'b' ) && child.getStyle( 'font-weight' ) === 'normal' ) {\n\t\t\tconst childIndex = documentFragment.getChildIndex( child );\n\n\t\t\twriter.remove( child );\n\t\t\twriter.insertChild( childIndex, child.getChildren(), documentFragment );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/googlesheetsnormalizer\n */\n\nimport { UpcastWriter, type ViewDocument } from 'ckeditor5/src/engine';\n\nimport removeXmlns from '../filters/removexmlns';\nimport removeGoogleSheetsTag from '../filters/removegooglesheetstag';\nimport removeInvalidTableWidth from '../filters/removeinvalidtablewidth';\nimport removeStyleBlock from '../filters/removestyleblock';\nimport type { Normalizer, NormalizerData } from '../normalizer';\n\nconst googleSheetsMatch = /` tag wrapper added by Google Sheets to a copied content.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeGoogleSheetsTag( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'google-sheets-html-origin' ) ) {\n\t\t\tconst childIndex = documentFragment.getChildIndex( child );\n\n\t\t\twriter.remove( child );\n\t\t\twriter.insertChild( childIndex, child.getChildren(), documentFragment );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removexmlns\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine';\n\n/**\n * Removes the `xmlns` attribute from table pasted from Google Sheets.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeXmlns( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'table' ) && child.hasAttribute( 'xmlns' ) ) {\n\t\t\twriter.removeAttribute( 'xmlns', child );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removeinvalidtablewidth\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine';\n\n/**\n * Removes the `width:0px` style from table pasted from Google Sheets.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeInvalidTableWidth( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'table' ) && child.getStyle( 'width' ) === '0px' ) {\n\t\t\twriter.removeStyle( 'width', child );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removestyleblock\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine';\n\n/**\n * Removes ` + + + + + + + diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css new file mode 100644 index 00000000..ff402f67 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content .media { + /* Don't allow floated content overlap the media. + https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */ + clear: both; + + /* Make sure there is some space between the content and the media. */ + /* The first value should be equal to --ck-spacing-large variable if used in the editor context + to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */ + margin: 0.9em 0; + + /* Make sure media is not overriden with Bootstrap default `flex` value. + See: https://github.com/ckeditor/ckeditor5/issues/1373. */ + display: block; + + /* Give the media some minimal width in the content to prevent them + from being "squashed" in tight spaces, e.g. in table cells (#44) */ + min-width: 15em; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css new file mode 100644 index 00000000..d07f123d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-media__wrapper { + & .ck-media__placeholder { + display: flex; + flex-direction: column; + align-items: center; + + & .ck-media__placeholder__url { + /* Otherwise the URL will overflow when the content is very narrow. */ + max-width: 100%; + + position: relative; + + & .ck-media__placeholder__url__text { + overflow: hidden; + display: block; + } + } + } + + &[data-oembed-url*="twitter.com"], + &[data-oembed-url*="google.com/maps"], + &[data-oembed-url*="goo.gl/maps"], + &[data-oembed-url*="maps.google.com"], + &[data-oembed-url*="maps.app.goo.gl"], + &[data-oembed-url*="facebook.com"], + &[data-oembed-url*="instagram.com"] { + & .ck-media__placeholder__icon * { + display: none; + } + } +} + +/* Disable all mouse interaction as long as the editor is not read–only. + https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */ +.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) { + pointer-events: none; +} + +/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident). + https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */ +.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder { + pointer-events: none; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaform.css b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaform.css new file mode 100644 index 00000000..d0d4b068 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-media-embed/theme/mediaform.css @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css"; + +.ck.ck-media-form { + display: flex; + align-items: flex-start; + flex-direction: row; + flex-wrap: nowrap; + + & .ck-labeled-field-view { + display: inline-block; + } + + & .ck-label { + display: none; + } + + @mixin ck-media-phone { + flex-wrap: wrap; + + & .ck-labeled-field-view { + flex-basis: 100%; + } + + & .ck-button { + flex-basis: 50%; + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/CHANGELOG.md new file mode 100644 index 00000000..7ac12213 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/CHANGELOG.md @@ -0,0 +1,175 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v16.0.0...v17.0.0) (February 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v15.0.0...v16.0.0) (December 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.5...v15.0.0) (October 23, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([7229cdb](https://github.com/ckeditor/ckeditor5-paragraph/commit/7229cdb)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([b1b9e23](https://github.com/ckeditor/ckeditor5-paragraph/commit/b1b9e23)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.1...v11.0.2) (June 6, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.0...v11.0.1) (April 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.3...v10.0.4) (December 5, 2018) + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([a9f440f](https://github.com/ckeditor/ckeditor5-paragraph/commit/a9f440f)) + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.2...v10.0.3) (October 8, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Refreshed the paragraph icon (see [ckeditor/ckeditor5-ui#394](https://github.com/ckeditor/ckeditor5-ui/issues/394)). ([d6e054a](https://github.com/ckeditor/ckeditor5-paragraph/commit/d6e054a)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.0...v10.0.1) (June 21, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([8f01946](https://github.com/ckeditor/ckeditor5-paragraph/commit/8f01946)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Features + +* Introduced `ParagraphButtonUI` plugin. Closes [#33](https://github.com/ckeditor/ckeditor5-paragraph/issues/33). ([12dadba](https://github.com/ckeditor/ckeditor5-paragraph/commit/12dadba)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Other changes + +* Aligned feature class naming to the new scheme. ([69e98d3](https://github.com/ckeditor/ckeditor5-paragraph/commit/69e98d3)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.8.0...v0.9.0) (September 3, 2017) + +### Bug fixes + +* `ParagraphCommand` should check whether it can be applied to the selection. Closes [#24](https://github.com/ckeditor/ckeditor5-paragraph/issues/24). ([07b37af](https://github.com/ckeditor/ckeditor5-paragraph/commit/07b37af)) +* Autoparagraphing empty roots will not be triggered if the change-to-fix was in a `transparent` batch. Closes [#26](https://github.com/ckeditor/ckeditor5-paragraph/issues/26). ([a171de3](https://github.com/ckeditor/ckeditor5-paragraph/commit/a171de3)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([c2a1559](https://github.com/ckeditor/ckeditor5-paragraph/commit/c2a1559)) + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.7.0...v0.8.0) (May 7, 2017) + +### Bug fixes + +* Content autoparagraphing has been improved. "Inline" view elements (converted to attributes or elements) will be now correctly handled and autoparagraphed. Closes [#10](https://github.com/ckeditor/ckeditor5-paragraph/issues/10). Closes [#11](https://github.com/ckeditor/ckeditor5-paragraph/issues/11). ([22d387c](https://github.com/ckeditor/ckeditor5-paragraph/commit/22d387c)) + +### Features + +* Paragraph will be automatically created if loaded empty data or if programmatically emptied the root element. Closes [#19](https://github.com/ckeditor/ckeditor5-paragraph/issues/19). ([c42d33e](https://github.com/ckeditor/ckeditor5-paragraph/commit/c42d33e)) + + +## [0.7.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.1...v0.7.0) (April 5, 2017) + +### Bug fixes + +* Paragraph command should correctly update its `value` and `isEnabled` properties. Closes [#16](https://github.com/ckeditor/ckeditor5-paragraph/issues/16). ([931e02f](https://github.com/ckeditor/ckeditor5-paragraph/commit/931e02f)) + +### Features + +* Implemented `ParagraphCommand`, previously part of the `HeadingCommand`. Closes [#14](https://github.com/ckeditor/ckeditor5-paragraph/issues/14). ([876877d](https://github.com/ckeditor/ckeditor5-paragraph/commit/876877d)) +* Named existing plugin(s). ([46dc9b8](https://github.com/ckeditor/ckeditor5-paragraph/commit/46dc9b8)) + + +## [0.6.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.0...v0.6.1) (March 6, 2017) + +Internal changes only (updated dependencies, documentation, etc.). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/LICENSE.md new file mode 100644 index 00000000..c235e25d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 paragraph feature** – https://github.com/ckeditor/ckeditor5-paragraph
    +Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/README.md new file mode 100644 index 00000000..eb7e8c36 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/README.md @@ -0,0 +1,16 @@ +CKEditor 5 paragraph feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-paragraph.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements paragraph support for CKEditor 5. + +## Documentation + +See the [`@ckeditor/ckeditor5-paragraph` package](https://ckeditor.com/docs/ckeditor5/latest/api/paragraph.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json new file mode 100644 index 00000000..e4845e64 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json @@ -0,0 +1,17 @@ +{ + "plugins": [ + { + "name": "Paragraph", + "className": "Paragraph", + "description": "Enables support for adding paragraphs to your content.", + "path": "src/paragraph.js", + "htmlOutput": [ + { + "elements": "p", + "implements": "$block", + "_comment": "This element inherits all attributes, classes and styles that are allowed on the `<$block>` element by other features." + } + ] + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/package.json new file mode 100644 index 00000000..e9143190 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/package.json @@ -0,0 +1,37 @@ +{ + "name": "@ckeditor/ckeditor5-paragraph", + "version": "40.2.0", + "description": "Paragraph feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-paragraph" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts new file mode 100644 index 00000000..7933eb70 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts @@ -0,0 +1,14 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Paragraph, ParagraphCommand, InsertParagraphCommand } from './index'; +declare module '@ckeditor/ckeditor5-core' { + interface CommandsMap { + insertParagraph: InsertParagraphCommand; + paragraph: ParagraphCommand; + } + interface PluginsMap { + [Paragraph.pluginName]: Paragraph; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.d.ts new file mode 100644 index 00000000..a991c204 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.d.ts @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph + */ +export { default as Paragraph } from './paragraph'; +export { default as ParagraphButtonUI } from './paragraphbuttonui'; +export type { default as ParagraphCommand } from './paragraphcommand'; +export type { default as InsertParagraphCommand } from './insertparagraphcommand'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.js new file mode 100644 index 00000000..3483ef0f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/index.js @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph + */ +export { default as Paragraph } from './paragraph'; +export { default as ParagraphButtonUI } from './paragraphbuttonui'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts new file mode 100644 index 00000000..9f89ad30 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts @@ -0,0 +1,45 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/insertparagraphcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import type { Position } from '@ckeditor/ckeditor5-engine'; +/** + * The insert paragraph command. It inserts a new paragraph at a specific + * {@link module:engine/model/position~Position document position}. + * + * ```ts + * // Insert a new paragraph before an element in the document. + * editor.execute( 'insertParagraph', { + * position: editor.model.createPositionBefore( element ) + * } ); + * ``` + * + * If a paragraph is disallowed in the context of the specific position, the command + * will attempt to split position ancestors to find a place where it is possible + * to insert a paragraph. + * + * **Note**: This command moves the selection to the inserted paragraph. + */ +export default class InsertParagraphCommand extends Command { + constructor(editor: Editor); + /** + * Executes the command. + * + * @param options Options for the executed command. + * @param options.position The model position at which the new paragraph will be inserted. + * @param options.attributes Attributes keys and values to set on a inserted paragraph. + * @fires execute + */ + execute(options: { + position: Position; + attributes?: Record; + }): void; + /** + * Returns the best position to insert a new paragraph. + */ + private _findPositionToInsertParagraph; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js new file mode 100644 index 00000000..e4bbe179 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js @@ -0,0 +1,90 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/insertparagraphcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +/** + * The insert paragraph command. It inserts a new paragraph at a specific + * {@link module:engine/model/position~Position document position}. + * + * ```ts + * // Insert a new paragraph before an element in the document. + * editor.execute( 'insertParagraph', { + * position: editor.model.createPositionBefore( element ) + * } ); + * ``` + * + * If a paragraph is disallowed in the context of the specific position, the command + * will attempt to split position ancestors to find a place where it is possible + * to insert a paragraph. + * + * **Note**: This command moves the selection to the inserted paragraph. + */ +export default class InsertParagraphCommand extends Command { + constructor(editor) { + super(editor); + // Since this command passes position in execution block instead of selection, it should be checked directly. + this._isEnabledBasedOnSelection = false; + } + /** + * Executes the command. + * + * @param options Options for the executed command. + * @param options.position The model position at which the new paragraph will be inserted. + * @param options.attributes Attributes keys and values to set on a inserted paragraph. + * @fires execute + */ + execute(options) { + const model = this.editor.model; + const attributes = options.attributes; + let position = options.position; + // Don't execute command if position is in non-editable place. + if (!model.canEditAt(position)) { + return; + } + model.change(writer => { + position = this._findPositionToInsertParagraph(position, writer); + if (!position) { + return; + } + const paragraph = writer.createElement('paragraph'); + if (attributes) { + model.schema.setAllowedAttributes(paragraph, attributes, writer); + } + model.insertContent(paragraph, position); + writer.setSelection(paragraph, 'in'); + }); + } + /** + * Returns the best position to insert a new paragraph. + */ + _findPositionToInsertParagraph(position, writer) { + const model = this.editor.model; + if (model.schema.checkChild(position, 'paragraph')) { + return position; + } + const allowedParent = model.schema.findAllowedParent(position, 'paragraph'); + // It could be there's no ancestor limit that would allow paragraph. + // In theory, "paragraph" could be disallowed even in the "$root". + if (!allowedParent) { + return null; + } + const positionParent = position.parent; + const isTextAllowed = model.schema.checkChild(positionParent, '$text'); + // At empty $block or at the end of $block. + // [] ---> [] + // foo[] ---> foo[] + if (positionParent.isEmpty || isTextAllowed && position.isAtEnd) { + return model.createPositionAfter(positionParent); + } + // At the start of $block with text. + // []foo ---> []foo + if (!positionParent.isEmpty && isTextAllowed && position.isAtStart) { + return model.createPositionBefore(positionParent); + } + return writer.split(position, allowedParent).position; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts new file mode 100644 index 00000000..e3e934e6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts @@ -0,0 +1,61 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * The paragraph feature for the editor. + * + * It introduces the `` element in the model which renders as a `

    ` element in the DOM and data. + * + * It also brings two editors commands: + * + * * The {@link module:paragraph/paragraphcommand~ParagraphCommand `'paragraph'`} command that converts all + * blocks in the model selection into paragraphs. + * * The {@link module:paragraph/insertparagraphcommand~InsertParagraphCommand `'insertParagraph'`} command + * that inserts a new paragraph at a specified location in the model. + */ +export default class Paragraph extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "Paragraph"; + /** + * @inheritDoc + */ + init(): void; + /** + * A list of element names which should be treated by the autoparagraphing algorithms as + * paragraph-like. This means that e.g. the following content: + * + * ```html + *

    Foo

    + * + * + * + * + * + *
    X + *
      + *
    • Y
    • + *
    • Z
    • + *
    + *
    + * ``` + * + * contains five paragraph-like elements: `

    `, two ``s and two `
  1. `s. + * Hence, if none of the features is going to convert those elements the above content will be automatically handled + * by the paragraph feature and converted to: + * + * ```html + *

    Foo

    + *

    X

    + *

    Y

    + *

    Z

    + * ``` + * + * Note: The `` containing two `
  2. ` elements was ignored as the innermost paragraph-like elements + * have a priority upon conversion. + */ + static paragraphLikeElements: Set; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.js new file mode 100644 index 00000000..754bb3ff --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraph.js @@ -0,0 +1,106 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraph + */ +import ParagraphCommand from './paragraphcommand'; +import InsertParagraphCommand from './insertparagraphcommand'; +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * The paragraph feature for the editor. + * + * It introduces the `` element in the model which renders as a `

    ` element in the DOM and data. + * + * It also brings two editors commands: + * + * * The {@link module:paragraph/paragraphcommand~ParagraphCommand `'paragraph'`} command that converts all + * blocks in the model selection into paragraphs. + * * The {@link module:paragraph/insertparagraphcommand~InsertParagraphCommand `'insertParagraph'`} command + * that inserts a new paragraph at a specified location in the model. + */ +export default class Paragraph extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'Paragraph'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + editor.commands.add('paragraph', new ParagraphCommand(editor)); + editor.commands.add('insertParagraph', new InsertParagraphCommand(editor)); + // Schema. + model.schema.register('paragraph', { inheritAllFrom: '$block' }); + editor.conversion.elementToElement({ model: 'paragraph', view: 'p' }); + // Conversion for paragraph-like elements which has not been converted by any plugin. + editor.conversion.for('upcast').elementToElement({ + model: (viewElement, { writer }) => { + if (!Paragraph.paragraphLikeElements.has(viewElement.name)) { + return null; + } + // Do not auto-paragraph empty elements. + if (viewElement.isEmpty) { + return null; + } + return writer.createElement('paragraph'); + }, + view: /.+/, + converterPriority: 'low' + }); + } +} +/** + * A list of element names which should be treated by the autoparagraphing algorithms as + * paragraph-like. This means that e.g. the following content: + * + * ```html + *

    Foo

    + * + * + * + * + * + *
    X + *
      + *
    • Y
    • + *
    • Z
    • + *
    + *
    + * ``` + * + * contains five paragraph-like elements: `

    `, two ``s and two `
  3. `s. + * Hence, if none of the features is going to convert those elements the above content will be automatically handled + * by the paragraph feature and converted to: + * + * ```html + *

    Foo

    + *

    X

    + *

    Y

    + *

    Z

    + * ``` + * + * Note: The `` containing two `
  4. ` elements was ignored as the innermost paragraph-like elements + * have a priority upon conversion. + */ +Paragraph.paragraphLikeElements = new Set([ + 'blockquote', + 'dd', + 'div', + 'dt', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'li', + 'p', + 'td', + 'th' +]); diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts new file mode 100644 index 00000000..17c22e5a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts @@ -0,0 +1,36 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphbuttonui + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Paragraph from './paragraph'; +/** + * This plugin defines the `'paragraph'` button. It can be used together with + * {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown. + * + * This plugin is not loaded automatically by the {@link module:paragraph/paragraph~Paragraph} plugin. It must + * be added manually. + * + * ```ts + * ClassicEditor + * .create( { + * plugins: [ ..., Heading, Paragraph, HeadingButtonsUI, ParagraphButtonUI ] + * toolbar: [ 'paragraph', 'heading1', 'heading2', 'heading3' ] + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + */ +export default class ParagraphButtonUI extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Paragraph]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js new file mode 100644 index 00000000..40d94c71 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphbuttonui + */ +import { Plugin, icons } from '@ckeditor/ckeditor5-core'; +import { ButtonView } from '@ckeditor/ckeditor5-ui'; +import Paragraph from './paragraph'; +const icon = icons.paragraph; +/** + * This plugin defines the `'paragraph'` button. It can be used together with + * {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown. + * + * This plugin is not loaded automatically by the {@link module:paragraph/paragraph~Paragraph} plugin. It must + * be added manually. + * + * ```ts + * ClassicEditor + * .create( { + * plugins: [ ..., Heading, Paragraph, HeadingButtonsUI, ParagraphButtonUI ] + * toolbar: [ 'paragraph', 'heading1', 'heading2', 'heading3' ] + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + */ +export default class ParagraphButtonUI extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [Paragraph]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + editor.ui.componentFactory.add('paragraph', locale => { + const view = new ButtonView(locale); + const command = editor.commands.get('paragraph'); + view.label = t('Paragraph'); + view.icon = icon; + view.tooltip = true; + view.isToggleable = true; + view.bind('isEnabled').to(command); + view.bind('isOn').to(command, 'value'); + view.on('execute', () => { + editor.execute('paragraph'); + }); + return view; + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts new file mode 100644 index 00000000..bcca52e2 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts @@ -0,0 +1,38 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import type { Selection, DocumentSelection } from '@ckeditor/ckeditor5-engine'; +/** + * The paragraph command. + */ +export default class ParagraphCommand extends Command { + constructor(editor: Editor); + /** + * The value of the command. Indicates whether the selection start is placed in a paragraph. + * + * @readonly + * @observable + */ + value: boolean; + /** + * @inheritDoc + */ + refresh(): void; + /** + * Executes the command. All the blocks (see {@link module:engine/model/schema~Schema}) in the selection + * will be turned to paragraphs. + * + * @fires execute + * @param options Options for the executed command. + * @param options.selection The selection that the command should be applied to. By default, + * if not provided, the command is applied to the {@link module:engine/model/document~Document#selection}. + */ + execute(options?: { + selection?: Selection | DocumentSelection; + }): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js new file mode 100644 index 00000000..d63c7cad --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js @@ -0,0 +1,64 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +import { first } from '@ckeditor/ckeditor5-utils'; +/** + * The paragraph command. + */ +export default class ParagraphCommand extends Command { + constructor(editor) { + super(editor); + // Since this command may pass selection in execution block, it should be checked directly. + this._isEnabledBasedOnSelection = false; + } + /** + * @inheritDoc + */ + refresh() { + const model = this.editor.model; + const document = model.document; + const block = first(document.selection.getSelectedBlocks()); + this.value = !!block && block.is('element', 'paragraph'); + this.isEnabled = !!block && checkCanBecomeParagraph(block, model.schema); + } + /** + * Executes the command. All the blocks (see {@link module:engine/model/schema~Schema}) in the selection + * will be turned to paragraphs. + * + * @fires execute + * @param options Options for the executed command. + * @param options.selection The selection that the command should be applied to. By default, + * if not provided, the command is applied to the {@link module:engine/model/document~Document#selection}. + */ + execute(options = {}) { + const model = this.editor.model; + const document = model.document; + const selection = options.selection || document.selection; + // Don't execute command if selection is in non-editable place. + if (!model.canEditAt(selection)) { + return; + } + model.change(writer => { + const blocks = selection.getSelectedBlocks(); + for (const block of blocks) { + if (!block.is('element', 'paragraph') && checkCanBecomeParagraph(block, model.schema)) { + writer.rename(block, 'paragraph'); + } + } + }); + } +} +/** + * Checks whether the given block can be replaced by a paragraph. + * + * @param block A block to be tested. + * @param schema The schema of the document. + */ +function checkCanBecomeParagraph(block, schema) { + return schema.checkChild(block.parent, 'paragraph') && !schema.isObject(block); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md new file mode 100644 index 00000000..2a07fb5e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md @@ -0,0 +1,94 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v17.0.0...v18.0.0) (March 19, 2020) + +### Features + +* Added support for basic list indentation when pasting from Microsoft Word. Closes [ckeditor/ckeditor5#2518](https://github.com/ckeditor/ckeditor5/issues/2518). ([58ae829](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/58ae829)) + + Thanks to [gjhenrique](https://github.com/gjhenrique) for the contribution! + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v16.0.0...v17.0.0) (February 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Bug fixes + +* Fixed handling `mso-list:normal`. Closes [ckeditor/ckeditor5#5712](https://github.com/ckeditor/ckeditor5/issues/5712). ([2054e69](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/2054e69)) + + Thanks [@bendemboski](https://github.com/bendemboski)! +* Fixed various issues with oddly formatted space run spans. ([2cd7b0f](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/2cd7b0f)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.1.0...v15.0.0) (October 23, 2019) + +### Other changes + +* Remove the `fixListIndentation()` filter in favor of improved list converters fix. See [ckeditor/ckeditor5-list#115](https://github.com/ckeditor/ckeditor5-list/issues/115). ([d594038](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/d594038)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.4...v11.1.0) (August 26, 2019) + +### Features + +* Prevent of bolding entire content pasted from Google Docs. Closes [#61](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/61). ([8102de3](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/8102de3)) +* Provide support for pasting lists from Google Docs. Closes [#69](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/69). ([6ad2a62](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/6ad2a62)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([22edb90](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/22edb90)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.1...v11.0.2) (June 6, 2019) + +### Other changes + +* Loosen a dependency of a clipboard plugin in the paste from Office plugin so that it can be overridden. Closes [#56](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/56). ([561f22b](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/561f22b)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.0...v11.0.1) (April 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v10.0.0...v11.0.0) (February 28, 2019) + +### Bug fixes + +* Ensured correct lists ordering for separate list items with the same `mso-list` id. Closes [#43](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/43). ([4ebc363](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/4ebc363)) +* Handle "spacerun spans" with mixed whitespaces. Closes [#49](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/49). Closes [#50](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/50). ([7fb132f](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/7fb132f)) + + Huge thanks to [Matt Kobs](https://github.com/kobsy) for this contribution! + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/tree/v10.0.0) (December 5, 2018) + +Initial implementation of the Paste from Office feature. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/LICENSE.md new file mode 100644 index 00000000..d0380b61 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 paste from Office feature** – https://github.com/ckeditor/ckeditor5-paste-from-office
    +Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/README.md new file mode 100644 index 00000000..45601db8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/README.md @@ -0,0 +1,22 @@ +CKEditor 5 paste from Office feature +================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-paste-from-office.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements the [paste from Office](https://docs.ckeditor.com/ckeditor5/latest/features/paste-from-office.html) feature for CKEditor 5. + +Paste from Office allows copying content from Microsoft Word without losing any formatting. + +## Demo + +Check out the demos for the [paste from office](https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-from-office.html#demo) and [paste from Google Docs](https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-from-google-docs.html#demo) features. + +## Documentation + +See the [`@ckeditor/ckeditor5-paste-from-office` package](https://docs.ckeditor.com/ckeditor5/latest/api/paste-from-office.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js new file mode 100644 index 00000000..606d35f5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js @@ -0,0 +1,4 @@ +/*! + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={945:(e,t,n)=>{e.exports=n(79)("./src/clipboard.js")},704:(e,t,n)=>{e.exports=n(79)("./src/core.js")},492:(e,t,n)=>{e.exports=n(79)("./src/engine.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{MSWordNormalizer:()=>d,PasteFromOffice:()=>C,parseHtml:()=>x});var e=n(704),t=n(945),s=n(492);function i(e,t){if(!e.childCount)return;const n=new s.UpcastWriter(e.document),r=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),i=[];for(const e of n)if("elementStart"===e.type&&r.match(e.item)){const t=l(e.item);i.push({element:e.item,id:t.id,order:t.order,indent:t.indent})}return i}(e,n);if(!r.length)return;let i=null,a=1;r.forEach(((e,l)=>{const u=function(e,t){if(!e)return!0;if(e.id!==t.id)return t.indent-e.indent!=1;const n=t.element.previousSibling;if(!n)return!0;return r=n,!(r.is("element","ol")||r.is("element","ul"));var r}(r[l-1],e),m=u?null:r[l-1],f=(p=e,(d=m)?p.indent-d.indent:p.indent-1);var d,p;if(u&&(i=null,a=1),!i||0!==f){const r=function(e,t){const n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=n.exec(t);let c="decimal",l="ol",a=null;if(i&&i[1]){const t=r.exec(i[1]);if(t&&t[1]&&(c=t[1].trim(),l="bullet"!==c&&"image"!==c?"ol":"ul"),"bullet"===c){const t=function(e){const t=function(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const e=t.getChild(0);if(e)return e.is("$text")?e:e.getChild(0)}return null}(e);if(!t)return null;const n=t._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(e.element);t&&(c=t)}else{const e=s.exec(i[1]);e&&e[1]&&(a=parseInt(e[1]))}}return{type:l,startIndex:a,style:o(c)}}(e,t);if(i){if(e.indent>a){const e=i.getChild(i.childCount-1),t=e.getChild(e.childCount-1);i=c(r,t,n),a+=1}else if(e.indent1&&n.setAttribute("start",e.startIndex,s),s}function l(e){const t={},n=e.getStyle("mso-list");if(n){const e=n.match(/(^|\s{1,100})l(\d+)/i),r=n.match(/\s{0,100}lfo(\d+)/i),s=n.match(/\s{0,100}level(\d+)/i);e&&r&&s&&(t.id=e[2],t.order=r[1],t.indent=parseInt(s[1]))}return t}function a(e,t){if(!e.childCount)return;const n=new s.UpcastWriter(e.document),r=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n){if("elementStart"!=e.type)continue;const t=e.item,n=t.previousSibling,s=n&&n.is("element")?n.name:null;r.match(t)&&t.getAttribute("o:gfxdata")&&"v:shapetype"!==s&&i.push(e.item.getAttribute("id"))}return i}(e,n);!function(e,t,n){const r=n.createRangeIn(t),i=new s.Matcher({name:"img"}),o=[];for(const t of r)if(t.item.is("element")&&i.match(t.item)){const n=t.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((t=>e.indexOf(t)>-1))?o.push(n):n.getAttribute("src")||o.push(n)}for(const e of o)n.remove(e)}(r,e,n),function(e,t,n){const r=n.createRangeIn(t),s=[];for(const t of r)if("elementStart"==t.type&&t.item.is("element","v:shape")){const n=t.item.getAttribute("id");if(e.includes(n))continue;i(t.item.parent.getChildren(),n)||s.push(t.item)}for(const e of s){const t={src:o(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const r=n.createElement("img",t);n.insertChild(e.index+1,r,e.parent)}function i(e,t){for(const n of e)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==t)return!0;if(i(n.getChildren(),t))return!0}return!1}function o(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(r,e,n),function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n)"elementStart"==e.type&&r.match(e.item)&&i.push(e.item);for(const e of i)t.remove(e)}(e,n);const i=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:"img"}),i=[];for(const e of n)e.item.is("element")&&r.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&i.push(e.item);return i}(e,n);i.length&&function(e,t,n){if(e.length===t.length)for(let r=0;rString.fromCharCode(parseInt(e,16)))).join(""))}const m=//i,f=/xmlns:o="urn:schemas-microsoft-com/i;class d{constructor(e){this.document=e}isActive(e){return m.test(e)||f.test(e)}execute(e){const{body:t,stylesString:n}=e._parsedData;i(t,n),a(t,e.dataTransfer.getData("text/rtf")),function(e){const t=[],n=new s.UpcastWriter(e.document);for(const{item:r}of n.createRangeIn(e))if(r.is("element")){for(const e of r.getClassNames())/\bmso/gi.exec(e)&&n.removeClass(e,r);for(const e of r.getStyleNames())/\bmso/gi.exec(e)&&n.removeStyle(e,r);r.is("element","w:sdt")&&t.push(r)}for(const e of t){const t=e.parent,r=t.getChildIndex(e);n.insertChild(r,e.getChildren(),t),n.remove(e)}}(t),e.content=t}}function p(e,t,n,{blockElements:r,inlineObjectElements:s}){let i=n.createPositionAt(e,"forward"==t?"after":"before");return i=i.getLastMatchingPosition((({item:e})=>e.is("element")&&!r.includes(e.name)&&!s.includes(e.name)),{direction:t}),"forward"==t?i.nodeAfter:i.nodeBefore}function g(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const h=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class b{constructor(e){this.document=e}isActive(e){return h.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","li")){const n=e.getChild(0);n&&n.is("element","p")&&t.unwrapElement(n)}}}(n,t),function(e,t){const n=new s.ViewDocument(t.document.stylesProcessor),r=new s.DomConverter(n,{renderingMode:"data"}),i=r.blockElements,o=r.inlineObjectElements,c=[];for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","br")){const n=p(e,"forward",t,{blockElements:i,inlineObjectElements:o}),r=p(e,"backward",t,{blockElements:i,inlineObjectElements:o}),s=g(n,i);(g(r,i)||s)&&c.push(e)}}for(const e of c)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(n,t),e.content=n}}const y=/(\s+)<\/span>/g,((e,t)=>1===t.length?" ":Array(t.length+1).join("  ").substr(0,t.length)))}function x(e,t){const n=new DOMParser,r=function(e){return w(w(e)).replace(/([^\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(e){const t="",n="",r=e.indexOf(t);if(r<0)return e;const s=e.indexOf(n,r+t.length);return e.substring(0,r+t.length)+(s>=0?e.substring(s):"")}(e=(e=e.replace(/

    [

    ]

    -->

    + // starting content --> after `modifySelection` --> after `deleteContent`. + const doNotResetEntireContent = selection.isCollapsed; + // Try to extend the selection in the specified direction. + if (selection.isCollapsed) { + model.modifySelection(selection, { + direction: this.direction, + unit: options.unit, + treatEmojiAsSingleUnit: true + }); + } + // Check if deleting in an empty editor. See #61. + if (this._shouldEntireContentBeReplacedWithParagraph(sequence)) { + this._replaceEntireContentWithParagraph(writer); + return; + } + // Check if deleting in the first empty block. + // See https://github.com/ckeditor/ckeditor5/issues/8137. + if (this._shouldReplaceFirstBlockWithParagraph(selection, sequence)) { + this.editor.execute('paragraph', { selection }); + return; + } + // If selection is still collapsed, then there's nothing to delete. + if (selection.isCollapsed) { + return; + } + let changeCount = 0; + selection.getFirstRange().getMinimalFlatRanges().forEach(range => { + changeCount += count(range.getWalker({ singleCharacters: true, ignoreElementEnd: true, shallow: true })); + }); + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( '%c[DeleteCommand]%c Delete content', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ selection.getFirstPosition()!.path }]-[${ selection.getLastPosition()!.path }]`, options + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + model.deleteContent(selection, { + doNotResetEntireContent, + direction: this.direction + }); + this._buffer.input(changeCount); + writer.setSelection(selection); + this._buffer.unlock(); + }); + } + /** + * If the user keeps Backspace or Delete key pressed, the content of the current + * editable will be cleared. However, this will not yet lead to resetting the remaining block to a paragraph + * (which happens e.g. when the user does Ctrl + A, Backspace). + * + * But, if the user pressed the key in an empty editable for the first time, + * we want to replace the entire content with a paragraph if: + * + * * the current limit element is empty, + * * the paragraph is allowed in the limit element, + * * the limit doesn't already have a paragraph inside. + * + * See https://github.com/ckeditor/ckeditor5-typing/issues/61. + * + * @param sequence A number describing which subsequent delete event it is without the key being released. + */ + _shouldEntireContentBeReplacedWithParagraph(sequence) { + // Does nothing if user pressed and held the "Backspace" or "Delete" key. + if (sequence > 1) { + return false; + } + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const limitElement = model.schema.getLimitElement(selection); + // If a collapsed selection contains the whole content it means that the content is empty + // (from the user perspective). + const limitElementIsEmpty = selection.isCollapsed && selection.containsEntireContent(limitElement); + if (!limitElementIsEmpty) { + return false; + } + if (!model.schema.checkChild(limitElement, 'paragraph')) { + return false; + } + const limitElementFirstChild = limitElement.getChild(0); + // Does nothing if the limit element already contains only a paragraph. + // We ignore the case when paragraph might have some inline elements (

    []

    ) + // because we don't support such cases yet and it's unclear whether inlineWidget shouldn't be a limit itself. + if (limitElementFirstChild && limitElementFirstChild.is('element', 'paragraph')) { + return false; + } + return true; + } + /** + * The entire content is replaced with the paragraph. Selection is moved inside the paragraph. + * + * @param writer The model writer. + */ + _replaceEntireContentWithParagraph(writer) { + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const limitElement = model.schema.getLimitElement(selection); + const paragraph = writer.createElement('paragraph'); + writer.remove(writer.createRangeIn(limitElement)); + writer.insert(paragraph, limitElement); + writer.setSelection(paragraph, 0); + } + /** + * Checks if the selection is inside an empty element that is the first child of the limit element + * and should be replaced with a paragraph. + * + * @param selection The selection. + * @param sequence A number describing which subsequent delete event it is without the key being released. + */ + _shouldReplaceFirstBlockWithParagraph(selection, sequence) { + const model = this.editor.model; + // Does nothing if user pressed and held the "Backspace" key or it was a "Delete" button. + if (sequence > 1 || this.direction != 'backward') { + return false; + } + if (!selection.isCollapsed) { + return false; + } + const position = selection.getFirstPosition(); + const limitElement = model.schema.getLimitElement(position); + const limitElementFirstChild = limitElement.getChild(0); + // Only elements that are direct children of the limit element can be replaced. + // Unwrapping from a block quote should be handled in a dedicated feature. + if (position.parent != limitElementFirstChild) { + return false; + } + // A block should be replaced only if it was empty. + if (!selection.containsEntireContent(limitElementFirstChild)) { + return false; + } + // Replace with a paragraph only if it's allowed there. + if (!model.schema.checkChild(limitElement, 'paragraph')) { + return false; + } + // Does nothing if the limit element already contains only a paragraph. + if (limitElementFirstChild.name == 'paragraph') { + return false; + } + return true; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts new file mode 100644 index 00000000..2b807f85 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts @@ -0,0 +1,55 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { DomEventData, Observer, type BubblingEvent, type ViewDocumentSelection, type ViewSelection, type View } from '@ckeditor/ckeditor5-engine'; +/** + * Delete observer introduces the {@link module:engine/view/document~Document#event:delete} event. + */ +export default class DeleteObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view: View); + /** + * @inheritDoc + */ + observe(): void; + /** + * @inheritDoc + */ + stopObserving(): void; +} +/** + * Event fired when the user tries to delete content (e.g. presses Delete or Backspace). + * + * Note: This event is fired by the {@link module:typing/deleteobserver~DeleteObserver delete observer} + * (usually registered by the {@link module:typing/delete~Delete delete feature}). + * + * @eventName module:engine/view/document~Document#delete + * @param data The event data. + */ +export type ViewDocumentDeleteEvent = BubblingEvent<{ + name: 'delete'; + args: [data: DeleteEventData]; +}>; +export interface DeleteEventData extends DomEventData { + /** + * The direction in which the deletion should happen. + */ + direction: 'backward' | 'forward'; + /** + * The "amount" of content that should be deleted. + */ + unit: 'selection' | 'codePoint' | 'character' | 'word'; + /** + * A number describing which subsequent delete event it is without the key being released. + * If it's 2 or more it means that the key was pressed and hold. + */ + sequence: number; + /** + * View selection which content should be removed. If not set, + * current selection should be used. + */ + selectionToRemove?: ViewSelection | ViewDocumentSelection; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.js new file mode 100644 index 00000000..3f916e5d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/deleteobserver.js @@ -0,0 +1,261 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/deleteobserver + */ +import { env, keyCodes, isInsideCombinedSymbol, isInsideEmojiSequence, isInsideSurrogatePair } from '@ckeditor/ckeditor5-utils'; +import { BubblingEventInfo, DomEventData, Observer } from '@ckeditor/ckeditor5-engine'; +const DELETE_CHARACTER = 'character'; +const DELETE_WORD = 'word'; +const DELETE_CODE_POINT = 'codePoint'; +const DELETE_SELECTION = 'selection'; +const DELETE_BACKWARD = 'backward'; +const DELETE_FORWARD = 'forward'; +const DELETE_EVENT_TYPES = { + // --------------------------------------- Backward delete types ----------------------------------------------------- + // This happens in Safari on Mac when some content is selected and Ctrl + K is pressed. + deleteContent: { + unit: DELETE_SELECTION, + // According to the Input Events Level 2 spec, this delete type has no direction + // but to keep things simple, let's default to backward. + direction: DELETE_BACKWARD + }, + // Chrome and Safari on Mac: Backspace or Ctrl + H + deleteContentBackward: { + // This kind of deletions must be done on the code point-level instead of target range provided by the DOM beforeinput event. + // Take for instance "👨‍👩‍👧‍👧", it equals: + // + // * [ "👨", "ZERO WIDTH JOINER", "👩", "ZERO WIDTH JOINER", "👧", "ZERO WIDTH JOINER", "👧" ] + // * or simply "\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}" + // + // The range provided by the browser would cause the entire multi-byte grapheme to disappear while the user + // intention when deleting backwards ("👨‍👩‍👧‍👧[]", then backspace) is gradual "decomposition" (first to "👨‍👩‍👧‍[]", + // then to "👨‍👩‍[]", etc.). + // + // * "👨‍👩‍👧‍👧[]" + backward delete (by code point) -> results in "👨‍👩‍👧[]", removed the last "👧" 👍 + // * "👨‍👩‍👧‍👧[]" + backward delete (by character) -> results in "[]", removed the whole grapheme 👎 + // + // Deleting by code-point is simply a better UX. See "deleteContentForward" to learn more. + unit: DELETE_CODE_POINT, + direction: DELETE_BACKWARD + }, + // On Mac: Option + Backspace. + // On iOS: Hold the backspace for a while and the whole words will start to disappear. + deleteWordBackward: { + unit: DELETE_WORD, + direction: DELETE_BACKWARD + }, + // Safari on Mac: Cmd + Backspace + deleteHardLineBackward: { + unit: DELETE_SELECTION, + direction: DELETE_BACKWARD + }, + // Chrome on Mac: Cmd + Backspace. + deleteSoftLineBackward: { + unit: DELETE_SELECTION, + direction: DELETE_BACKWARD + }, + // --------------------------------------- Forward delete types ----------------------------------------------------- + // Chrome on Mac: Fn + Backspace or Ctrl + D + // Safari on Mac: Ctrl + K or Ctrl + D + deleteContentForward: { + // Unlike backward delete, this delete must be performed by character instead of by code point, which + // provides the best UX for working with accented letters. + // Take, for example "b̂" ("\u0062\u0302", or [ "LATIN SMALL LETTER B", "COMBINING CIRCUMFLEX ACCENT" ]): + // + // * "b̂[]" + backward delete (by code point) -> results in "b[]", removed the combining mark 👍 + // * "[]b̂" + forward delete (by code point) -> results in "[]^", a bare combining mark does that not make sense when alone 👎 + // * "[]b̂" + forward delete (by character) -> results in "[]", removed both "b" and the combining mark 👍 + // + // See: "deleteContentBackward" to learn more. + unit: DELETE_CHARACTER, + direction: DELETE_FORWARD + }, + // On Mac: Fn + Option + Backspace. + deleteWordForward: { + unit: DELETE_WORD, + direction: DELETE_FORWARD + }, + // Chrome on Mac: Ctrl + K (you have to disable the Link plugin first, though, because it uses the same keystroke) + // This is weird that it does not work in Safari on Mac despite being listed in the official shortcuts listing + // on Apple's webpage. + deleteHardLineForward: { + unit: DELETE_SELECTION, + direction: DELETE_FORWARD + }, + // At this moment there is no known way to trigger this event type but let's keep it for the symmetry with + // deleteSoftLineBackward. + deleteSoftLineForward: { + unit: DELETE_SELECTION, + direction: DELETE_FORWARD + } +}; +/** + * Delete observer introduces the {@link module:engine/view/document~Document#event:delete} event. + */ +export default class DeleteObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view) { + super(view); + const document = view.document; + // It matters how many subsequent deletions were made, e.g. when the backspace key was pressed and held + // by the user for some time. For instance, if such scenario ocurred and the heading the selection was + // anchored to was the only content of the editor, it will not be converted into a paragraph (the user + // wanted to clean it up, not remove it, it's about UX). Check out the DeleteCommand implementation to learn more. + // + // Fun fact: Safari on Mac won't fire beforeinput for backspace in an empty heading (only content). + let sequence = 0; + document.on('keydown', () => { + sequence++; + }); + document.on('keyup', () => { + sequence = 0; + }); + document.on('beforeinput', (evt, data) => { + if (!this.isEnabled) { + return; + } + const { targetRanges, domEvent, inputType } = data; + const deleteEventSpec = DELETE_EVENT_TYPES[inputType]; + if (!deleteEventSpec) { + return; + } + const deleteData = { + direction: deleteEventSpec.direction, + unit: deleteEventSpec.unit, + sequence + }; + if (deleteData.unit == DELETE_SELECTION) { + deleteData.selectionToRemove = view.createSelection(targetRanges[0]); + } + // The default deletion unit for deleteContentBackward is a single code point + // but if the browser provides a wider target range then we should use it. + if (inputType === 'deleteContentBackward') { + // On Android, deleteContentBackward has sequence 1 by default. + if (env.isAndroid) { + deleteData.sequence = 1; + } + // The beforeInput event wants more than a single character to be removed. + if (shouldUseTargetRanges(targetRanges)) { + deleteData.unit = DELETE_SELECTION; + deleteData.selectionToRemove = view.createSelection(targetRanges); + } + } + const eventInfo = new BubblingEventInfo(document, 'delete', targetRanges[0]); + document.fire(eventInfo, new DomEventData(view, domEvent, deleteData)); + // Stop the beforeinput event if `delete` event was stopped. + // https://github.com/ckeditor/ckeditor5/issues/753 + if (eventInfo.stop.called) { + evt.stop(); + } + }); + // TODO: to be removed when https://bugs.chromium.org/p/chromium/issues/detail?id=1365311 is solved. + if (env.isBlink) { + enableChromeWorkaround(this); + } + } + /** + * @inheritDoc + */ + observe() { } + /** + * @inheritDoc + */ + stopObserving() { } +} +/** + * Enables workaround for the issue https://github.com/ckeditor/ckeditor5/issues/11904. + */ +function enableChromeWorkaround(observer) { + const view = observer.view; + const document = view.document; + let pressedKeyCode = null; + let beforeInputReceived = false; + document.on('keydown', (evt, { keyCode }) => { + pressedKeyCode = keyCode; + beforeInputReceived = false; + }); + document.on('keyup', (evt, { keyCode, domEvent }) => { + const selection = document.selection; + const shouldFireDeleteEvent = observer.isEnabled && + keyCode == pressedKeyCode && + isDeleteKeyCode(keyCode) && + !selection.isCollapsed && + !beforeInputReceived; + pressedKeyCode = null; + if (shouldFireDeleteEvent) { + const targetRange = selection.getFirstRange(); + const eventInfo = new BubblingEventInfo(document, 'delete', targetRange); + const deleteData = { + unit: DELETE_SELECTION, + direction: getDeleteDirection(keyCode), + selectionToRemove: selection + }; + document.fire(eventInfo, new DomEventData(view, domEvent, deleteData)); + } + }); + document.on('beforeinput', (evt, { inputType }) => { + const deleteEventSpec = DELETE_EVENT_TYPES[inputType]; + const isMatchingBeforeInput = isDeleteKeyCode(pressedKeyCode) && + deleteEventSpec && + deleteEventSpec.direction == getDeleteDirection(pressedKeyCode); + if (isMatchingBeforeInput) { + beforeInputReceived = true; + } + }, { priority: 'high' }); + document.on('beforeinput', (evt, { inputType, data }) => { + const shouldIgnoreBeforeInput = pressedKeyCode == keyCodes.delete && + inputType == 'insertText' && + data == '\x7f'; // Delete character :P + if (shouldIgnoreBeforeInput) { + evt.stop(); + } + }, { priority: 'high' }); + function isDeleteKeyCode(keyCode) { + return keyCode == keyCodes.backspace || keyCode == keyCodes.delete; + } + function getDeleteDirection(keyCode) { + return keyCode == keyCodes.backspace ? DELETE_BACKWARD : DELETE_FORWARD; + } +} +/** + * Verifies whether the given target ranges cover more than a single character and should be used instead of a single code-point deletion. + */ +function shouldUseTargetRanges(targetRanges) { + // The collapsed target range could happen for example while deleting inside an inline filler + // (it's mapped to collapsed position before an inline filler). + if (targetRanges.length != 1 || targetRanges[0].isCollapsed) { + return false; + } + const walker = targetRanges[0].getWalker({ + direction: 'backward', + singleCharacters: true, + ignoreElementEnd: true + }); + let count = 0; + for (const { nextPosition } of walker) { + // There is some element in the range so count it as a single character. + if (!nextPosition.parent.is('$text')) { + count++; + } + else { + const data = nextPosition.parent.data; + const offset = nextPosition.offset; + // Count combined symbols and emoji sequences as a single character. + if (isInsideSurrogatePair(data, offset) || + isInsideCombinedSymbol(data, offset) || + isInsideEmojiSequence(data, offset)) { + continue; + } + count++; + } + if (count > 1) { + return true; + } + } + return false; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.d.ts new file mode 100644 index 00000000..c447967c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing + */ +export { default as Typing } from './typing'; +export { default as Input } from './input'; +export { default as Delete } from './delete'; +export { default as TextWatcher } from './textwatcher'; +export { default as TwoStepCaretMovement } from './twostepcaretmovement'; +export { default as TextTransformation } from './texttransformation'; +export { default as inlineHighlight } from './utils/inlinehighlight'; +export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange'; +export { default as getLastTextLine, type LastTextLineData } from './utils/getlasttextline'; +export { default as InsertTextCommand, type InsertTextCommandExecuteEvent } from './inserttextcommand'; +export type { default as DeleteCommand } from './deletecommand'; +export type { TypingConfig } from './typingconfig'; +export type { ViewDocumentDeleteEvent } from './deleteobserver'; +export type { ViewDocumentInsertTextEvent, InsertTextEventData } from './inserttextobserver'; +export type { TextWatcherMatchedEvent } from './textwatcher'; +export type { TextWatcherMatchedDataEvent } from './textwatcher'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.js new file mode 100644 index 00000000..10492df7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/index.js @@ -0,0 +1,18 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing + */ +export { default as Typing } from './typing'; +export { default as Input } from './input'; +export { default as Delete } from './delete'; +export { default as TextWatcher } from './textwatcher'; +export { default as TwoStepCaretMovement } from './twostepcaretmovement'; +export { default as TextTransformation } from './texttransformation'; +export { default as inlineHighlight } from './utils/inlinehighlight'; +export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange'; +export { default as getLastTextLine } from './utils/getlasttextline'; +export { default as InsertTextCommand } from './inserttextcommand'; +import './augmentation'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.d.ts new file mode 100644 index 00000000..addfd2ee --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/input + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * Handles text input coming from the keyboard or other input methods. + */ +export default class Input extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "Input"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.js new file mode 100644 index 00000000..8d4492c5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/input.js @@ -0,0 +1,141 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/input + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import { env } from '@ckeditor/ckeditor5-utils'; +import InsertTextCommand from './inserttextcommand'; +import InsertTextObserver from './inserttextobserver'; +/** + * Handles text input coming from the keyboard or other input methods. + */ +export default class Input extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'Input'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + const view = editor.editing.view; + const modelSelection = model.document.selection; + view.addObserver(InsertTextObserver); + // TODO The above default configuration value should be defined using editor.config.define() once it's fixed. + const insertTextCommand = new InsertTextCommand(editor, editor.config.get('typing.undoStep') || 20); + // Register `insertText` command and add `input` command as an alias for backward compatibility. + editor.commands.add('insertText', insertTextCommand); + editor.commands.add('input', insertTextCommand); + this.listenTo(view.document, 'insertText', (evt, data) => { + // Rendering is disabled while composing so prevent events that will be rendered by the engine + // and should not be applied by the browser. + if (!view.document.isComposing) { + data.preventDefault(); + } + const { text, selection: viewSelection, resultRange: viewResultRange } = data; + // If view selection was specified, translate it to model selection. + const modelRanges = Array.from(viewSelection.getRanges()).map(viewRange => { + return editor.editing.mapper.toModelRange(viewRange); + }); + let insertText = text; + // Typing in English on Android is firing composition events for the whole typed word. + // We need to check the target range text to only apply the difference. + if (env.isAndroid) { + const selectedText = Array.from(modelRanges[0].getItems()).reduce((rangeText, node) => { + return rangeText + (node.is('$textProxy') ? node.data : ''); + }, ''); + if (selectedText) { + if (selectedText.length <= insertText.length) { + if (insertText.startsWith(selectedText)) { + insertText = insertText.substring(selectedText.length); + modelRanges[0].start = modelRanges[0].start.getShiftedBy(selectedText.length); + } + } + else { + if (selectedText.startsWith(insertText)) { + // TODO this should be mapped as delete? + modelRanges[0].start = modelRanges[0].start.getShiftedBy(insertText.length); + insertText = ''; + } + } + } + } + const insertTextCommandData = { + text: insertText, + selection: model.createSelection(modelRanges) + }; + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c Execute insertText:', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // insertText, + // @if CK_DEBUG_TYPING // `[${ modelRanges[ 0 ].start.path }]-[${ modelRanges[ 0 ].end.path }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + if (viewResultRange) { + insertTextCommandData.resultRange = editor.editing.mapper.toModelRange(viewResultRange); + } + editor.execute('insertText', insertTextCommandData); + view.scrollToTheSelection(); + }); + if (env.isAndroid) { + // On Android with English keyboard, the composition starts just by putting caret + // at the word end or by selecting a table column. This is not a real composition started. + // Trigger delete content on first composition key pressed. + this.listenTo(view.document, 'keydown', (evt, data) => { + if (modelSelection.isCollapsed || data.keyCode != 229 || !view.document.isComposing) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // const firstPositionPath = modelSelection.getFirstPosition()!.path; + // @if CK_DEBUG_TYPING // const lastPositionPath = modelSelection.getLastPosition()!.path; + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c KeyDown 229 -> model.deleteContent()', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ firstPositionPath }]-[${ lastPositionPath }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + deleteSelectionContent(model, insertTextCommand); + }); + } + else { + // Note: The priority must precede the CompositionObserver handler to call it before + // the renderer is blocked, because we want to render this change. + this.listenTo(view.document, 'compositionstart', () => { + if (modelSelection.isCollapsed) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // const firstPositionPath = modelSelection.getFirstPosition()!.path; + // @if CK_DEBUG_TYPING // const lastPositionPath = modelSelection.getLastPosition()!.path; + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c Composition start -> model.deleteContent()', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ firstPositionPath }]-[${ lastPositionPath }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + deleteSelectionContent(model, insertTextCommand); + }); + } + } +} +function deleteSelectionContent(model, insertTextCommand) { + // By relying on the state of the input command we allow disabling the entire input easily + // by just disabling the input command. We could’ve used here the delete command but that + // would mean requiring the delete feature which would block loading one without the other. + // We could also check the editor.isReadOnly property, but that wouldn't allow to block + // the input without blocking other features. + if (!insertTextCommand.isEnabled) { + return; + } + const buffer = insertTextCommand.buffer; + buffer.lock(); + model.enqueueChange(buffer.batch, () => { + model.deleteContent(model.document.selection); + }); + buffer.unlock(); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts new file mode 100644 index 00000000..da4b756e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts @@ -0,0 +1,76 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import ChangeBuffer from './utils/changebuffer'; +import type { DocumentSelection, Range, Selection } from '@ckeditor/ckeditor5-engine'; +/** + * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing. + */ +export default class InsertTextCommand extends Command { + /** + * Typing's change buffer used to group subsequent changes into batches. + */ + private readonly _buffer; + /** + * Creates an instance of the command. + * + * @param undoStepSize The maximum number of atomic changes + * which can be contained in one batch in the command buffer. + */ + constructor(editor: Editor, undoStepSize: number); + /** + * The current change buffer. + */ + get buffer(): ChangeBuffer; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Executes the input command. It replaces the content within the given range with the given text. + * Replacing is a two step process, first the content within the range is removed and then the new text is inserted + * at the beginning of the range (which after the removal is a collapsed range). + * + * @fires execute + * @param options The command options. + */ + execute(options?: InsertTextCommandOptions): void; +} +/** + * Interface with parameters for executing InsertTextCommand. + * + * Both `range` and `selection` parameters are used for defining selection but should not be used together. + * If both are defined, only `selection` will be considered. + */ +export interface InsertTextCommandOptions { + /** + * The text to be inserted. + */ + text?: string; + /** + * The selection in which the text is inserted. + * Inserting a text into a selection deletes the current content within selection ranges. If the selection is not specified, + * the current selection in the model will be used instead. + */ + selection?: Selection | DocumentSelection; + /** + * The range in which the text is inserted. Defaults to the first range in the current selection. + */ + range?: Range; + /** + * The range where the selection should be placed after the insertion. + * If not specified, the selection will be placed right after the inserted text. + */ + resultRange?: Range; +} +export interface InsertTextCommandExecuteEvent { + name: 'execute'; + args: [ + data: [options: InsertTextCommandOptions] + ]; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.js new file mode 100644 index 00000000..00b55435 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextcommand.js @@ -0,0 +1,83 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +import ChangeBuffer from './utils/changebuffer'; +/** + * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing. + */ +export default class InsertTextCommand extends Command { + /** + * Creates an instance of the command. + * + * @param undoStepSize The maximum number of atomic changes + * which can be contained in one batch in the command buffer. + */ + constructor(editor, undoStepSize) { + super(editor); + this._buffer = new ChangeBuffer(editor.model, undoStepSize); + // Since this command may execute on different selectable than selection, it should be checked directly in execute block. + this._isEnabledBasedOnSelection = false; + } + /** + * The current change buffer. + */ + get buffer() { + return this._buffer; + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this._buffer.destroy(); + } + /** + * Executes the input command. It replaces the content within the given range with the given text. + * Replacing is a two step process, first the content within the range is removed and then the new text is inserted + * at the beginning of the range (which after the removal is a collapsed range). + * + * @fires execute + * @param options The command options. + */ + execute(options = {}) { + const model = this.editor.model; + const doc = model.document; + const text = options.text || ''; + const textInsertions = text.length; + let selection = doc.selection; + if (options.selection) { + selection = options.selection; + } + else if (options.range) { + selection = model.createSelection(options.range); + } + // Stop executing if selectable is in non-editable place. + if (!model.canEditAt(selection)) { + return; + } + const resultRange = options.resultRange; + model.enqueueChange(this._buffer.batch, writer => { + this._buffer.lock(); + // Store selection attributes before deleting old content to preserve formatting and link. + // This unifies the behavior between DocumentSelection and Selection provided as input option. + const selectionAttributes = Array.from(doc.selection.getAttributes()); + model.deleteContent(selection); + if (text) { + model.insertContent(writer.createText(text, selectionAttributes), selection); + } + if (resultRange) { + writer.setSelection(resultRange); + } + else if (!selection.is('documentSelection')) { + writer.setSelection(selection); + } + this._buffer.unlock(); + this._buffer.input(textInsertions); + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts new file mode 100644 index 00000000..e4eac822 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { DomEventData, Observer, FocusObserver, type View, type ViewDocumentSelection, type ViewRange, type ViewSelection } from '@ckeditor/ckeditor5-engine'; +/** + * Text insertion observer introduces the {@link module:engine/view/document~Document#event:insertText} event. + */ +export default class InsertTextObserver extends Observer { + /** + * Instance of the focus observer. Insert text observer calls + * {@link module:engine/view/observer/focusobserver~FocusObserver#flush} to mark the latest focus change as complete. + */ + readonly focusObserver: FocusObserver; + /** + * @inheritDoc + */ + constructor(view: View); + /** + * @inheritDoc + */ + observe(): void; + /** + * @inheritDoc + */ + stopObserving(): void; +} +/** + * Event fired when the user types text, for instance presses A or ? in the + * editing view document. + * + * **Note**: This event will **not** fire for keystrokes such as Delete or Enter. + * They have dedicated events, see {@link module:engine/view/document~Document#event:delete} and + * {@link module:engine/view/document~Document#event:enter} to learn more. + * + * **Note**: This event is fired by the {@link module:typing/inserttextobserver~InsertTextObserver input feature}. + * + * @eventName module:engine/view/document~Document#insertText + * @param data The event data. + */ +export type ViewDocumentInsertTextEvent = { + name: 'insertText'; + args: [data: InsertTextEventData]; +}; +export interface InsertTextEventData extends DomEventData { + /** + * The text to be inserted. + */ + text: string; + /** + * The selection into which the text should be inserted. + * If not specified, the insertion should occur at the current view selection. + */ + selection: ViewSelection | ViewDocumentSelection; + /** + * The range that view selection should be set to after insertion. + */ + resultRange?: ViewRange; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.js new file mode 100644 index 00000000..e653c95b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/inserttextobserver.js @@ -0,0 +1,108 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextobserver + */ +import { env, EventInfo } from '@ckeditor/ckeditor5-utils'; +import { DomEventData, Observer, FocusObserver } from '@ckeditor/ckeditor5-engine'; +const TYPING_INPUT_TYPES = [ + // For collapsed range: + // - This one is a regular typing (all browsers, all systems). + // - This one is used by Chrome when typing accented letter – 2nd step when the user selects the accent (Mac). + // For non-collapsed range: + // - This one is used by Chrome when typing accented letter – when the selection box first appears (Mac). + // - This one is used by Safari when accepting spell check suggestions from the context menu (Mac). + 'insertText', + // This one is used by Safari when typing accented letter (Mac). + // This one is used by Safari when accepting spell check suggestions from the autocorrection pop-up (Mac). + 'insertReplacementText' +]; +/** + * Text insertion observer introduces the {@link module:engine/view/document~Document#event:insertText} event. + */ +export default class InsertTextObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view) { + super(view); + this.focusObserver = view.getObserver(FocusObserver); + // On Android composition events should immediately be applied to the model. Rendering is not disabled. + // On non-Android the model is updated only on composition end. + // On Android we can't rely on composition start/end to update model. + if (env.isAndroid) { + TYPING_INPUT_TYPES.push('insertCompositionText'); + } + const viewDocument = view.document; + viewDocument.on('beforeinput', (evt, data) => { + if (!this.isEnabled) { + return; + } + const { data: text, targetRanges, inputType, domEvent } = data; + if (!TYPING_INPUT_TYPES.includes(inputType)) { + return; + } + // Mark the latest focus change as complete (we are typing in editable after the focus + // so the selection is in the focused element). + this.focusObserver.flush(); + const eventInfo = new EventInfo(viewDocument, 'insertText'); + viewDocument.fire(eventInfo, new DomEventData(view, domEvent, { + text, + selection: view.createSelection(targetRanges) + })); + // Stop the beforeinput event if `delete` event was stopped. + // https://github.com/ckeditor/ckeditor5/issues/753 + if (eventInfo.stop.called) { + evt.stop(); + } + }); + // Note: The priority must be lower than the CompositionObserver handler to call it after the renderer is unblocked. + viewDocument.on('compositionend', (evt, { data, domEvent }) => { + // On Android composition events are immediately applied to the model. + // On non-Android the model is updated only on composition end. + // On Android we can't rely on composition start/end to update model. + if (!this.isEnabled || env.isAndroid) { + return; + } + // In case of aborted composition. + if (!data) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( `%c[InsertTextObserver]%c Fire insertText event, text: ${ JSON.stringify( data ) }`, + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '' + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + // How do we know where to insert the composed text? + // The selection observer is blocked and the view is not updated with the composition changes. + // There were three options: + // - Store the selection on `compositionstart` and use it now. This wouldn't work in RTC + // where the view would change and the stored selection might get incorrect. + // We'd need to fallback to the current view selection anyway. + // - Use the current view selection. This is a bit weird and non-intuitive because + // this isn't necessarily the selection on which the user started composing. + // We cannot even know whether it's still collapsed (there might be some weird + // editor feature that changed it in unpredictable ways for us). But it's by far + // the simplest solution and should be stable (the selection is definitely correct) + // and probably mostly predictable (features usually don't modify the selection + // unless called explicitly by the user). + // - Try to follow it from the `beforeinput` events. This would be really complex as each + // `beforeinput` would come with just the range it's changing and we'd need to calculate that. + // We decided to go with the 2nd option for its simplicity and stability. + viewDocument.fire('insertText', new DomEventData(view, domEvent, { + text: data, + selection: viewDocument.selection + })); + }, { priority: 'lowest' }); + } + /** + * @inheritDoc + */ + observe() { } + /** + * @inheritDoc + */ + stopObserving() { } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts new file mode 100644 index 00000000..71bbac38 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/texttransformation + */ +import { Plugin, type Editor } from '@ckeditor/ckeditor5-core'; +/** + * The text transformation plugin. + */ +export default class TextTransformation extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly ["Delete", "Input"]; + /** + * @inheritDoc + */ + static get pluginName(): "TextTransformation"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * @inheritDoc + */ + init(): void; + /** + * Create new TextWatcher listening to the editor for typing and selection events. + */ + private _enableTransformationWatchers; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.js new file mode 100644 index 00000000..9a7c0e7f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/texttransformation.js @@ -0,0 +1,228 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/texttransformation + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import TextWatcher from './textwatcher'; +import { escapeRegExp } from 'lodash-es'; +// All named transformations. +const TRANSFORMATIONS = { + // Common symbols: + copyright: { from: '(c)', to: '©' }, + registeredTrademark: { from: '(r)', to: '®' }, + trademark: { from: '(tm)', to: '™' }, + // Mathematical: + 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: '→' }, + // Typography: + horizontalEllipsis: { from: '...', to: '…' }, + enDash: { from: /(^| )(--)( )$/, to: [null, '–', null] }, + emDash: { from: /(^| )(---)( )$/, to: [null, '—', null] }, + // Quotations: + // English, US + quotesPrimary: { from: buildQuotesRegExp('"'), to: [null, '“', null, '”'] }, + quotesSecondary: { from: buildQuotesRegExp('\''), to: [null, '‘', null, '’'] }, + // English, UK + quotesPrimaryEnGb: { from: buildQuotesRegExp('\''), to: [null, '‘', null, '’'] }, + quotesSecondaryEnGb: { from: buildQuotesRegExp('"'), to: [null, '“', null, '”'] }, + // Polish + quotesPrimaryPl: { from: buildQuotesRegExp('"'), to: [null, '„', null, '”'] }, + quotesSecondaryPl: { from: buildQuotesRegExp('\''), to: [null, '‚', null, '’'] } +}; +// Transformation groups. +const TRANSFORMATION_GROUPS = { + symbols: ['copyright', 'registeredTrademark', 'trademark'], + mathematical: [ + 'oneHalf', 'oneThird', 'twoThirds', 'oneForth', 'threeQuarters', + 'lessThanOrEqual', 'greaterThanOrEqual', 'notEqual', + 'arrowLeft', 'arrowRight' + ], + typography: ['horizontalEllipsis', 'enDash', 'emDash'], + quotes: ['quotesPrimary', 'quotesSecondary'] +}; +// A set of default transformations provided by the feature. +const DEFAULT_TRANSFORMATIONS = [ + 'symbols', + 'mathematical', + 'typography', + 'quotes' +]; +/** + * The text transformation plugin. + */ +export default class TextTransformation extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return ['Delete', 'Input']; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'TextTransformation'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + editor.config.define('typing', { + transformations: { + include: DEFAULT_TRANSFORMATIONS + } + }); + } + /** + * @inheritDoc + */ + init() { + const model = this.editor.model; + const modelSelection = model.document.selection; + modelSelection.on('change:range', () => { + // Disable plugin when selection is inside a code block. + this.isEnabled = !modelSelection.anchor.parent.is('element', 'codeBlock'); + }); + this._enableTransformationWatchers(); + } + /** + * Create new TextWatcher listening to the editor for typing and selection events. + */ + _enableTransformationWatchers() { + const editor = this.editor; + const model = editor.model; + const deletePlugin = editor.plugins.get('Delete'); + const normalizedTransformations = normalizeTransformations(editor.config.get('typing.transformations')); + const testCallback = (text) => { + for (const normalizedTransformation of normalizedTransformations) { + const from = normalizedTransformation.from; + const match = from.test(text); + if (match) { + return { normalizedTransformation }; + } + } + }; + const watcher = new TextWatcher(editor.model, testCallback); + watcher.on('matched:data', (evt, data) => { + if (!data.batch.isTyping) { + return; + } + const { from, to } = data.normalizedTransformation; + const matches = from.exec(data.text); + const replaces = to(matches.slice(1)); + const matchedRange = data.range; + let changeIndex = matches.index; + model.enqueueChange(writer => { + for (let i = 1; i < matches.length; i++) { + const match = matches[i]; + const replaceWith = replaces[i - 1]; + if (replaceWith == null) { + changeIndex += match.length; + continue; + } + const replacePosition = matchedRange.start.getShiftedBy(changeIndex); + const replaceRange = model.createRange(replacePosition, replacePosition.getShiftedBy(match.length)); + const attributes = getTextAttributesAfterPosition(replacePosition); + model.insertContent(writer.createText(replaceWith, attributes), replaceRange); + changeIndex += replaceWith.length; + } + model.enqueueChange(() => { + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); + watcher.bind('isEnabled').to(this); + } +} +/** + * Normalizes the configuration `from` parameter value. + * The normalized value for the `from` parameter is a RegExp instance. If the passed `from` is already a RegExp instance, + * it is returned unchanged. + */ +function normalizeFrom(from) { + if (typeof from == 'string') { + return new RegExp(`(${escapeRegExp(from)})$`); + } + // `from` is already a regular expression. + return from; +} +/** + * Normalizes the configuration `to` parameter value. + * The normalized value for the `to` parameter is a function that takes an array and returns an array. See more in the + * configuration description. If the passed `to` is already a function, it is returned unchanged. + */ +function normalizeTo(to) { + if (typeof to == 'string') { + return () => [to]; + } + else if (to instanceof Array) { + return () => to; + } + // `to` is already a function. + return to; +} +/** + * For given `position` returns attributes for the text that is after that position. + * The text can be in the same text node as the position (`foo[]bar`) or in the next text node (`foo[]<$text bold="true">bar`). + */ +function getTextAttributesAfterPosition(position) { + const textNode = position.textNode ? position.textNode : position.nodeAfter; + return textNode.getAttributes(); +} +/** + * Returns a RegExp pattern string that detects a sentence inside a quote. + * + * @param quoteCharacter The character to create a pattern for. + */ +function buildQuotesRegExp(quoteCharacter) { + return new RegExp(`(^|\\s)(${quoteCharacter})([^${quoteCharacter}]*)(${quoteCharacter})$`); +} +/** + * Reads text transformation config and returns normalized array of transformations objects. + */ +function normalizeTransformations(config) { + const extra = config.extra || []; + const remove = config.remove || []; + const isNotRemoved = (transformation) => !remove.includes(transformation); + const configured = config.include.concat(extra).filter(isNotRemoved); + return expandGroupsAndRemoveDuplicates(configured) + .filter(isNotRemoved) // Filter out 'remove' transformations as they might be set in group. + .map(transformation => (typeof transformation == 'string' && TRANSFORMATIONS[transformation] ? TRANSFORMATIONS[transformation] : transformation)) + // Filter out transformations set as string that has not been found. + .filter((transformation) => typeof transformation === 'object') + .map(transformation => ({ + from: normalizeFrom(transformation.from), + to: normalizeTo(transformation.to) + })); +} +/** + * Reads definitions and expands named groups if needed to transformation names. + * This method also removes duplicated named transformations if any. + */ +function expandGroupsAndRemoveDuplicates(definitions) { + // Set is using to make sure that transformation names are not duplicated. + const definedTransformations = new Set(); + for (const transformationOrGroup of definitions) { + if (typeof transformationOrGroup == 'string' && TRANSFORMATION_GROUPS[transformationOrGroup]) { + for (const transformation of TRANSFORMATION_GROUPS[transformationOrGroup]) { + definedTransformations.add(transformation); + } + } + else { + definedTransformations.add(transformationOrGroup); + } + } + return Array.from(definedTransformations); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts new file mode 100644 index 00000000..06304cc5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts @@ -0,0 +1,138 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Batch, Model, Range } from '@ckeditor/ckeditor5-engine'; +declare const TextWatcher_base: { + new (): import("@ckeditor/ckeditor5-utils").Observable; + prototype: import("@ckeditor/ckeditor5-utils").Observable; +}; +/** + * The text watcher feature. + * + * Fires the {@link module:typing/textwatcher~TextWatcher#event:matched:data `matched:data`}, + * {@link module:typing/textwatcher~TextWatcher#event:matched:selection `matched:selection`} and + * {@link module:typing/textwatcher~TextWatcher#event:unmatched `unmatched`} events on typing or selection changes. + */ +export default class TextWatcher extends TextWatcher_base { + /** + * The editor's model. + */ + readonly model: Model; + /** + * The function used to match the text. + * + * The test callback can return 3 values: + * + * * `false` if there is no match, + * * `true` if there is a match, + * * an object if there is a match and we want to pass some additional information to the {@link #event:matched:data} event. + */ + testCallback: (text: string) => unknown; + /** + * Whether there is a match currently. + */ + private _hasMatch; + /** + * Flag indicating whether the `TextWatcher` instance is enabled or disabled. + * A disabled TextWatcher will not evaluate text. + * + * To disable TextWatcher: + * + * ```ts + * const watcher = new TextWatcher( editor.model, testCallback ); + * + * // After this a testCallback will not be called. + * watcher.isEnabled = false; + * ``` + */ + isEnabled: boolean; + /** + * Creates a text watcher instance. + * + * @param testCallback See {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ + constructor(model: Model, testCallback: (text: string) => unknown); + /** + * Flag indicating whether there is a match currently. + */ + get hasMatch(): boolean; + /** + * Starts listening to the editor for typing and selection events. + */ + private _startListening; + /** + * Checks the editor content for matched text. + * + * @fires matched:data + * @fires matched:selection + * @fires unmatched + * + * @param suffix A suffix used for generating the event name. + * @param data Data object for event. + */ + private _evaluateTextBeforeSelection; +} +export type TextWatcherMatchedEvent = Record> = { + name: 'matched' | 'matched:data' | 'matched:selection'; + args: [ + { + text: string; + range: Range; + batch?: Batch; + } & TCallbackResult + ]; +}; +/** + * Fired whenever the text watcher found a match for data changes. + * + * @eventName ~TextWatcher#matched:data + * @param data Event data. + * @param data.testResult The additional data returned from the {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ +export type TextWatcherMatchedDataEvent> = { + name: 'matched:data'; + args: [data: TextWatcherMatchedDataEventData & TCallbackResult]; +}; +export interface TextWatcherMatchedDataEventData { + /** + * The full text before selection to which the regexp was applied. + */ + text: string; + /** + * The range representing the position of the `data.text`. + */ + range: Range; + batch: Batch; +} +/** + * Fired whenever the text watcher found a match for selection changes. + * + * @eventName ~TextWatcher#matched:selection + * @param data Event data. + * @param data.testResult The additional data returned from the {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ +export type TextWatcherMatchedSelectionEvent> = { + name: 'matched:selection'; + args: [data: TextWatcherMatchedSelectionEventData & TCallbackResult]; +}; +export interface TextWatcherMatchedSelectionEventData { + /** + * The full text before selection. + */ + text: string; + /** + * The range representing the position of the `data.text`. + */ + range: Range; +} +/** + * Fired whenever the text does not match anymore. Fired only when the text watcher found a match. + * + * @eventName ~TextWatcher#unmatched + */ +export type TextWatcherUnmatchedEvent = { + name: 'unmatched'; + args: []; +}; +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.js new file mode 100644 index 00000000..8e9daf85 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/textwatcher.js @@ -0,0 +1,105 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/textwatcher + */ +import { ObservableMixin } from '@ckeditor/ckeditor5-utils'; +import getLastTextLine from './utils/getlasttextline'; +/** + * The text watcher feature. + * + * Fires the {@link module:typing/textwatcher~TextWatcher#event:matched:data `matched:data`}, + * {@link module:typing/textwatcher~TextWatcher#event:matched:selection `matched:selection`} and + * {@link module:typing/textwatcher~TextWatcher#event:unmatched `unmatched`} events on typing or selection changes. + */ +export default class TextWatcher extends ObservableMixin() { + /** + * Creates a text watcher instance. + * + * @param testCallback See {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ + constructor(model, testCallback) { + super(); + this.model = model; + this.testCallback = testCallback; + this._hasMatch = false; + this.set('isEnabled', true); + // Toggle text watching on isEnabled state change. + this.on('change:isEnabled', () => { + if (this.isEnabled) { + this._startListening(); + } + else { + this.stopListening(model.document.selection); + this.stopListening(model.document); + } + }); + this._startListening(); + } + /** + * Flag indicating whether there is a match currently. + */ + get hasMatch() { + return this._hasMatch; + } + /** + * Starts listening to the editor for typing and selection events. + */ + _startListening() { + const model = this.model; + const document = model.document; + this.listenTo(document.selection, 'change:range', (evt, { directChange }) => { + // Indirect changes (i.e. when the user types or external changes are applied) are handled in the document's change event. + if (!directChange) { + return; + } + // Act only on collapsed selection. + if (!document.selection.isCollapsed) { + if (this.hasMatch) { + this.fire('unmatched'); + this._hasMatch = false; + } + return; + } + this._evaluateTextBeforeSelection('selection'); + }); + this.listenTo(document, 'change:data', (evt, batch) => { + if (batch.isUndo || !batch.isLocal) { + return; + } + this._evaluateTextBeforeSelection('data', { batch }); + }); + } + /** + * Checks the editor content for matched text. + * + * @fires matched:data + * @fires matched:selection + * @fires unmatched + * + * @param suffix A suffix used for generating the event name. + * @param data Data object for event. + */ + _evaluateTextBeforeSelection(suffix, data = {}) { + const model = this.model; + const document = model.document; + const selection = document.selection; + const rangeBeforeSelection = model.createRange(model.createPositionAt(selection.focus.parent, 0), selection.focus); + const { text, range } = getLastTextLine(rangeBeforeSelection, model); + const testResult = this.testCallback(text); + if (!testResult && this.hasMatch) { + this.fire('unmatched'); + } + this._hasMatch = !!testResult; + if (testResult) { + const eventData = Object.assign(data, { text, range }); + // If the test callback returns an object with additional data, assign the data as well. + if (typeof testResult == 'object') { + Object.assign(eventData, testResult); + } + this.fire(`matched:${suffix}`, eventData); + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts new file mode 100644 index 00000000..7d82af72 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts @@ -0,0 +1,232 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/twostepcaretmovement + */ +import { Plugin, type Editor } from '@ckeditor/ckeditor5-core'; +/** + * This plugin enables the two-step caret (phantom) movement behavior for + * {@link module:typing/twostepcaretmovement~TwoStepCaretMovement#registerAttribute registered attributes} + * on arrow right () and left () key press. + * + * Thanks to this (phantom) caret movement the user is able to type before/after as well as at the + * beginning/end of an attribute. + * + * **Note:** This plugin support right–to–left (Arabic, Hebrew, etc.) content by mirroring its behavior + * but for the sake of simplicity examples showcase only left–to–right use–cases. + * + * # Forward movement + * + * ## "Entering" an attribute: + * + * When this plugin is enabled and registered for the `a` attribute and the selection is right before it + * (at the attribute boundary), pressing the right arrow key will not move the selection but update its + * attributes accordingly: + * + * * When enabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">{}bar + * ``` + * + * * When disabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">b{}ar + * ``` + * + * + * ## "Leaving" an attribute: + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">barb{}az + * ``` + * + * # Backward movement + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">ba{}rb{}az + * ``` + * + * # Multiple attributes + * + * * When enabled and many attributes starts or ends at the same position: + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * * When enabled and one procedes another: + * + * ```xml + * <$text a="true">bar<$text b="true">{}bar + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}<$text b="true">bar + * ``` + * + */ +export default class TwoStepCaretMovement extends Plugin { + /** + * A set of attributes to handle. + */ + private attributes; + /** + * The current UID of the overridden gravity, as returned by + * {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + private _overrideUid; + /** + * A flag indicating that the automatic gravity restoration should not happen upon the next + * gravity restoration. + * {@link module:engine/model/selection~Selection#event:change:range} event. + */ + private _isNextGravityRestorationSkipped; + /** + * @inheritDoc + */ + static get pluginName(): "TwoStepCaretMovement"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * @inheritDoc + */ + init(): void; + /** + * Registers a given attribute for the two-step caret movement. + * + * @param attribute Name of the attribute to handle. + */ + registerAttribute(attribute: string): void; + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **forwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement. + */ + private _handleForwardMovement; + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **backwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement + */ + private _handleBackwardMovement; + /** + * Starts listening to {@link module:engine/view/document~Document#event:mousedown} and + * {@link module:engine/view/document~Document#event:selectionChange} and puts the selection before/after a 2-step node + * if clicked at the beginning/ending of the 2-step node. + * + * The purpose of this action is to allow typing around the 2-step node directly after a click. + * + * See https://github.com/ckeditor/ckeditor5/issues/1016. + */ + private _enableClickingAfterNode; + /** + * Starts listening to {@link module:engine/model/model~Model#event:insertContent} and corrects the model + * selection attributes if the selection is at the end of a two-step node after inserting the content. + * + * The purpose of this action is to improve the overall UX because the user is no longer "trapped" by the + * two-step attribute of the selection, and they can type a "clean" (`linkHref`–less) text right away. + * + * See https://github.com/ckeditor/ckeditor5/issues/6053. + */ + private _enableInsertContentSelectionAttributesFixer; + /** + * Starts listening to {@link module:engine/model/model~Model#deleteContent} and checks whether + * removing a content right after the tow-step attribute. + * + * If so, the selection should not preserve the two-step attribute. However, if + * the {@link module:typing/twostepcaretmovement~TwoStepCaretMovement} plugin is active and + * the selection has the two-step attribute due to overridden gravity (at the end), the two-step attribute should stay untouched. + * + * The purpose of this action is to allow removing the link text and keep the selection outside the link. + * + * See https://github.com/ckeditor/ckeditor5/issues/7521. + */ + private _handleDeleteContentAfterNode; + /** + * `true` when the gravity is overridden for the plugin. + */ + private get _isGravityOverridden(); + /** + * Overrides the gravity using the {@link module:engine/model/writer~Writer model writer} + * and stores the information about this fact in the {@link #_overrideUid}. + * + * A shorthand for {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + private _overrideGravity; + /** + * Restores the gravity using the {@link module:engine/model/writer~Writer model writer}. + * + * A shorthand for {@link module:engine/model/writer~Writer#restoreSelectionGravity}. + */ + private _restoreGravity; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js new file mode 100644 index 00000000..e6c7181e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js @@ -0,0 +1,622 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/twostepcaretmovement + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import { keyCodes } from '@ckeditor/ckeditor5-utils'; +import { MouseObserver } from '@ckeditor/ckeditor5-engine'; +/** + * This plugin enables the two-step caret (phantom) movement behavior for + * {@link module:typing/twostepcaretmovement~TwoStepCaretMovement#registerAttribute registered attributes} + * on arrow right () and left () key press. + * + * Thanks to this (phantom) caret movement the user is able to type before/after as well as at the + * beginning/end of an attribute. + * + * **Note:** This plugin support right–to–left (Arabic, Hebrew, etc.) content by mirroring its behavior + * but for the sake of simplicity examples showcase only left–to–right use–cases. + * + * # Forward movement + * + * ## "Entering" an attribute: + * + * When this plugin is enabled and registered for the `a` attribute and the selection is right before it + * (at the attribute boundary), pressing the right arrow key will not move the selection but update its + * attributes accordingly: + * + * * When enabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">{}bar + * ``` + * + * * When disabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">b{}ar + * ``` + * + * + * ## "Leaving" an attribute: + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">barb{}az + * ``` + * + * # Backward movement + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">ba{}rb{}az + * ``` + * + * # Multiple attributes + * + * * When enabled and many attributes starts or ends at the same position: + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * * When enabled and one procedes another: + * + * ```xml + * <$text a="true">bar<$text b="true">{}bar + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}<$text b="true">bar + * ``` + * + */ +export default class TwoStepCaretMovement extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'TwoStepCaretMovement'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + /** + * A flag indicating that the automatic gravity restoration should not happen upon the next + * gravity restoration. + * {@link module:engine/model/selection~Selection#event:change:range} event. + */ + this._isNextGravityRestorationSkipped = false; + this.attributes = new Set(); + this._overrideUid = null; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + const view = editor.editing.view; + const locale = editor.locale; + const modelSelection = model.document.selection; + // Listen to keyboard events and handle the caret movement according to the 2-step caret logic. + this.listenTo(view.document, 'arrowKey', (evt, data) => { + // This implementation works only for collapsed selection. + if (!modelSelection.isCollapsed) { + return; + } + // When user tries to expand the selection or jump over the whole word or to the beginning/end then + // two-steps movement is not necessary. + if (data.shiftKey || data.altKey || data.ctrlKey) { + return; + } + const arrowRightPressed = data.keyCode == keyCodes.arrowright; + const arrowLeftPressed = data.keyCode == keyCodes.arrowleft; + // When neither left or right arrow has been pressed then do noting. + if (!arrowRightPressed && !arrowLeftPressed) { + return; + } + const contentDirection = locale.contentLanguageDirection; + let isMovementHandled = false; + if ((contentDirection === 'ltr' && arrowRightPressed) || (contentDirection === 'rtl' && arrowLeftPressed)) { + isMovementHandled = this._handleForwardMovement(data); + } + else { + isMovementHandled = this._handleBackwardMovement(data); + } + // Stop the keydown event if the two-step caret movement handled it. Avoid collisions + // with other features which may also take over the caret movement (e.g. Widget). + if (isMovementHandled === true) { + evt.stop(); + } + }, { context: '$text', priority: 'highest' }); + // The automatic gravity restoration logic. + this.listenTo(modelSelection, 'change:range', (evt, data) => { + // Skipping the automatic restoration is needed if the selection should change + // but the gravity must remain overridden afterwards. See the #handleBackwardMovement + // to learn more. + if (this._isNextGravityRestorationSkipped) { + this._isNextGravityRestorationSkipped = false; + return; + } + // Skip automatic restore when the gravity is not overridden — simply, there's nothing to restore + // at this moment. + if (!this._isGravityOverridden) { + return; + } + // Skip automatic restore when the change is indirect AND the selection is at the attribute boundary. + // It means that e.g. if the change was external (collaboration) and the user had their + // selection around the link, its gravity should remain intact in this change:range event. + if (!data.directChange && isBetweenDifferentAttributes(modelSelection.getFirstPosition(), this.attributes)) { + return; + } + this._restoreGravity(); + }); + // Handle a click at the beginning/end of a two-step element. + this._enableClickingAfterNode(); + // Change the attributes of the selection in certain situations after the two-step node was inserted into the document. + this._enableInsertContentSelectionAttributesFixer(); + // Handle removing the content after the two-step node. + this._handleDeleteContentAfterNode(); + } + /** + * Registers a given attribute for the two-step caret movement. + * + * @param attribute Name of the attribute to handle. + */ + registerAttribute(attribute) { + this.attributes.add(attribute); + } + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **forwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement. + */ + _handleForwardMovement(data) { + const attributes = this.attributes; + const model = this.editor.model; + const selection = model.document.selection; + const position = selection.getFirstPosition(); + // DON'T ENGAGE 2-SCM if gravity is already overridden. It means that we just entered + // + // foo<$text attribute>{}barbaz + // + // or left the attribute + // + // foo<$text attribute>bar{}baz + // + // and the gravity will be restored automatically. + if (this._isGravityOverridden) { + return false; + } + // DON'T ENGAGE 2-SCM when the selection is at the beginning of the block AND already has the + // attribute: + // * when the selection was initially set there using the mouse, + // * when the editor has just started + // + // <$text attribute>{}barbaz + // + if (position.isAtStart && hasAnyAttribute(selection, attributes)) { + return false; + } + // ENGAGE 2-SCM When at least one of the observed attributes changes its value (incl. starts, ends). + // + // foo<$text attribute>bar{}baz + // foo<$text attribute>bar{}<$text otherAttribute>baz + // foo<$text attribute=1>bar{}<$text attribute=2>baz + // foo{}<$text attribute>barbaz + // + if (isBetweenDifferentAttributes(position, attributes)) { + preventCaretMovement(data); + // CLEAR 2-SCM attributes if we are at the end of one 2-SCM and before + // the next one with a different value of the same attribute. + // + // foo<$text attribute=1>bar{}<$text attribute=2>barbaz + // + if (hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else { + this._overrideGravity(); + } + return true; + } + return false; + } + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **backwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement + */ + _handleBackwardMovement(data) { + const attributes = this.attributes; + const model = this.editor.model; + const selection = model.document.selection; + const position = selection.getFirstPosition(); + // When the gravity is already overridden (by this plugin), it means we are on the two-step position. + // Prevent the movement, restore the gravity and update selection attributes. + // + // foo<$text attribute=1>bar<$text attribute=2>{}baz + // foo<$text attribute>bar<$text otherAttribute>{}baz + // foo<$text attribute>{}barbaz + // foo<$text attribute>bar{}baz + // + if (this._isGravityOverridden) { + preventCaretMovement(data); + this._restoreGravity(); + // CLEAR 2-SCM attributes if we are at the end of one 2-SCM and before + // the next one with a different value of the same attribute. + // + // foo<$text attribute=1>bar<$text attribute=2>{}barbaz + // + if (isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else { + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + } + return true; + } + else { + // REMOVE SELECTION ATTRIBUTE when restoring gravity towards a non-existent content at the + // beginning of the block. + // + // {}<$text attribute>bar + // + if (position.isAtStart) { + if (hasAnyAttribute(selection, attributes)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + return false; + } + // SET 2-SCM attributes if we are between nodes with the same attribute but with different values. + // + // foo<$text attribute=1>bar[]<$text attribute=2>barbaz + // + if (!hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes, true)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + // When we are moving from natural gravity, to the position of the 2SCM, we need to override the gravity, + // and make sure it won't be restored. Unless it's at the end of the block and an observed attribute. + // We need to check if the caret is a one position before the attribute boundary: + // + // foo<$text attribute=1>bar<$text attribute=2>b{}az + // foo<$text attribute>bar<$text otherAttribute>b{}az + // foo<$text attribute>b{}arbaz + // foo<$text attribute>barb{}az + // + if (isStepAfterAnyAttributeBoundary(position, attributes)) { + // ENGAGE 2-SCM if the selection has no attribute. This may happen when the user + // left the attribute using a FORWARD 2-SCM. + // + // <$text attribute>bar{} + // + if (position.isAtEnd && + !hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + // Skip the automatic gravity restore upon the next selection#change:range event. + // If not skipped, it would automatically restore the gravity, which should remain + // overridden. + this._isNextGravityRestorationSkipped = true; + this._overrideGravity(); + // Don't return "true" here because we didn't call _preventCaretMovement. + // Returning here will destabilize the filler logic, which also listens to + // keydown (and the event would be stopped). + return false; + } + } + return false; + } + /** + * Starts listening to {@link module:engine/view/document~Document#event:mousedown} and + * {@link module:engine/view/document~Document#event:selectionChange} and puts the selection before/after a 2-step node + * if clicked at the beginning/ending of the 2-step node. + * + * The purpose of this action is to allow typing around the 2-step node directly after a click. + * + * See https://github.com/ckeditor/ckeditor5/issues/1016. + */ + _enableClickingAfterNode() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const document = editor.editing.view.document; + editor.editing.view.addObserver(MouseObserver); + let clicked = false; + // Detect the click. + this.listenTo(document, 'mousedown', () => { + clicked = true; + }); + // When the selection has changed... + this.listenTo(document, 'selectionChange', () => { + const attributes = this.attributes; + if (!clicked) { + return; + } + // ...and it was caused by the click... + clicked = false; + // ...and no text is selected... + if (!selection.isCollapsed) { + return; + } + // ...and clicked text is the 2-step node... + if (!hasAnyAttribute(selection, attributes)) { + return; + } + const position = selection.getFirstPosition(); + if (!isBetweenDifferentAttributes(position, attributes)) { + return; + } + // The selection at the start of a block would use surrounding attributes + // from text after the selection so just clear 2-SCM attributes. + // + // Also, clear attributes for selection between same attribute with different values. + if (position.isAtStart || + isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else if (!this._isGravityOverridden) { + this._overrideGravity(); + } + }); + } + /** + * Starts listening to {@link module:engine/model/model~Model#event:insertContent} and corrects the model + * selection attributes if the selection is at the end of a two-step node after inserting the content. + * + * The purpose of this action is to improve the overall UX because the user is no longer "trapped" by the + * two-step attribute of the selection, and they can type a "clean" (`linkHref`–less) text right away. + * + * See https://github.com/ckeditor/ckeditor5/issues/6053. + */ + _enableInsertContentSelectionAttributesFixer() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const attributes = this.attributes; + this.listenTo(model, 'insertContent', () => { + const position = selection.getFirstPosition(); + if (hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes)) { + clearSelectionAttributes(model, attributes); + } + }, { priority: 'low' }); + } + /** + * Starts listening to {@link module:engine/model/model~Model#deleteContent} and checks whether + * removing a content right after the tow-step attribute. + * + * If so, the selection should not preserve the two-step attribute. However, if + * the {@link module:typing/twostepcaretmovement~TwoStepCaretMovement} plugin is active and + * the selection has the two-step attribute due to overridden gravity (at the end), the two-step attribute should stay untouched. + * + * The purpose of this action is to allow removing the link text and keep the selection outside the link. + * + * See https://github.com/ckeditor/ckeditor5/issues/7521. + */ + _handleDeleteContentAfterNode() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const view = editor.editing.view; + let isBackspace = false; + let shouldPreserveAttributes = false; + // Detect pressing `Backspace`. + this.listenTo(view.document, 'delete', (evt, data) => { + isBackspace = data.direction === 'backward'; + }, { priority: 'high' }); + // Before removing the content, check whether the selection is inside a two-step attribute. + // If so, we want to preserve those attributes. + this.listenTo(model, 'deleteContent', () => { + if (!isBackspace) { + return; + } + const position = selection.getFirstPosition(); + shouldPreserveAttributes = hasAnyAttribute(selection, this.attributes) && + !isStepAfterAnyAttributeBoundary(position, this.attributes); + }, { priority: 'high' }); + // After removing the content, check whether the current selection should preserve the `linkHref` attribute. + this.listenTo(model, 'deleteContent', () => { + if (!isBackspace) { + return; + } + isBackspace = false; + // Do not escape two-step attribute if it was inside it before content deletion. + if (shouldPreserveAttributes) { + return; + } + // Use `model.enqueueChange()` in order to execute the callback at the end of the changes process. + editor.model.enqueueChange(() => { + const position = selection.getFirstPosition(); + if (hasAnyAttribute(selection, this.attributes) && + isBetweenDifferentAttributes(position, this.attributes)) { + if (position.isAtStart || isBetweenDifferentAttributes(position, this.attributes, true)) { + clearSelectionAttributes(model, this.attributes); + } + else if (!this._isGravityOverridden) { + this._overrideGravity(); + } + } + }); + }, { priority: 'low' }); + } + /** + * `true` when the gravity is overridden for the plugin. + */ + get _isGravityOverridden() { + return !!this._overrideUid; + } + /** + * Overrides the gravity using the {@link module:engine/model/writer~Writer model writer} + * and stores the information about this fact in the {@link #_overrideUid}. + * + * A shorthand for {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + _overrideGravity() { + this._overrideUid = this.editor.model.change(writer => { + return writer.overrideSelectionGravity(); + }); + } + /** + * Restores the gravity using the {@link module:engine/model/writer~Writer model writer}. + * + * A shorthand for {@link module:engine/model/writer~Writer#restoreSelectionGravity}. + */ + _restoreGravity() { + this.editor.model.change(writer => { + writer.restoreSelectionGravity(this._overrideUid); + this._overrideUid = null; + }); + } +} +/** + * Checks whether the selection has any of given attributes. + */ +function hasAnyAttribute(selection, attributes) { + for (const observedAttribute of attributes) { + if (selection.hasAttribute(observedAttribute)) { + return true; + } + } + return false; +} +/** + * Applies the given attributes to the current selection using using the + * values from the node before the current position. Uses + * the {@link module:engine/model/writer~Writer model writer}. + */ +function setSelectionAttributesFromTheNodeBefore(model, attributes, position) { + const nodeBefore = position.nodeBefore; + model.change(writer => { + if (nodeBefore) { + const attributes = []; + const isInlineObject = model.schema.isObject(nodeBefore) && model.schema.isInline(nodeBefore); + for (const [key, value] of nodeBefore.getAttributes()) { + if (model.schema.checkAttribute('$text', key) && + (!isInlineObject || model.schema.getAttributeProperties(key).copyFromObject !== false)) { + attributes.push([key, value]); + } + } + writer.setSelectionAttribute(attributes); + } + else { + writer.removeSelectionAttribute(attributes); + } + }); +} +/** + * Removes 2-SCM attributes from the selection. + */ +function clearSelectionAttributes(model, attributes) { + model.change(writer => { + writer.removeSelectionAttribute(attributes); + }); +} +/** + * Prevents the caret movement in the view by calling `preventDefault` on the event data. + * + * @alias data.preventDefault + */ +function preventCaretMovement(data) { + data.preventDefault(); +} +/** + * Checks whether the step before `isBetweenDifferentAttributes()`. + */ +function isStepAfterAnyAttributeBoundary(position, attributes) { + const positionBefore = position.getShiftedBy(-1); + return isBetweenDifferentAttributes(positionBefore, attributes); +} +/** + * Checks whether the given position is between different values of given attributes. + */ +function isBetweenDifferentAttributes(position, attributes, isStrict = false) { + const { nodeBefore, nodeAfter } = position; + for (const observedAttribute of attributes) { + const attrBefore = nodeBefore ? nodeBefore.getAttribute(observedAttribute) : undefined; + const attrAfter = nodeAfter ? nodeAfter.getAttribute(observedAttribute) : undefined; + if (isStrict && (attrBefore === undefined || attrAfter === undefined)) { + continue; + } + if (attrAfter !== attrBefore) { + return true; + } + } + return false; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.d.ts new file mode 100644 index 00000000..f15a7841 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.d.ts @@ -0,0 +1,23 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typing + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Input from './input'; +import Delete from './delete'; +/** + * The typing feature. It handles typing. + * + * This is a "glue" plugin which loads the {@link module:typing/input~Input} and {@link module:typing/delete~Delete} + * plugins. + */ +export default class Typing extends Plugin { + static get requires(): readonly [typeof Input, typeof Delete]; + /** + * @inheritDoc + */ + static get pluginName(): "Typing"; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.js new file mode 100644 index 00000000..7ed38792 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typing.js @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typing + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Input from './input'; +import Delete from './delete'; +/** + * The typing feature. It handles typing. + * + * This is a "glue" plugin which loads the {@link module:typing/input~Input} and {@link module:typing/delete~Delete} + * plugins. + */ +export default class Typing extends Plugin { + static get requires() { + return [Input, Delete]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Typing'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts new file mode 100644 index 00000000..e0bf5422 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts @@ -0,0 +1,204 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typingconfig + */ +/** + * The configuration of the typing features. Used by the typing features in `@ckeditor/ckeditor5-typing` package. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * typing: ... // Typing feature options. + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * See {@link module:core/editor/editorconfig~EditorConfig all editor options}. + */ +export interface TypingConfig { + /** + * The granularity of undo/redo for typing and deleting. The value `20` means (more or less) that a new undo step + * is created every 20 characters are inserted or deleted. + * + * @default 20 + */ + undoStep?: number; + /** + * The configuration of the {@link module:typing/texttransformation~TextTransformation} feature. + * + * Read more in {@link module:typing/typingconfig~TextTransformationConfig}. + */ + transformations: TextTransformationConfig; +} +/** + * The configuration of the text transformation feature. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * typing: { + * transformations: ... // Text transformation feature options. + * } + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * By default, the feature comes pre-configured + * (via {@link module:typing/typingconfig~TextTransformationConfig#include `config.typing.transformations.include`}) with the + * following groups of transformations: + * + * * Typography (group name: `typography`) + * - `ellipsis`: transforms `...` to `…` + * - `enDash`: transforms ` -- ` to ` – ` + * - `emDash`: transforms ` --- ` to ` — ` + * * Quotations (group name: `quotes`) + * - `quotesPrimary`: transforms `"Foo bar"` to `“Foo bar”` + * - `quotesSecondary`: transforms `'Foo bar'` to `‘Foo bar’` + * * Symbols (group name: `symbols`) + * - `trademark`: transforms `(tm)` to `™` + * - `registeredTrademark`: transforms `(r)` to `®` + * - `copyright`: transforms `(c)` to `©` + * * Mathematical (group name: `mathematical`) + * - `oneHalf`: transforms `1/2` to: `½` + * - `oneThird`: transforms `1/3` to: `⅓` + * - `twoThirds`: transforms `2/3` to: `⅔` + * - `oneForth`: transforms `1/4` to: `¼` + * - `threeQuarters`: transforms `3/4` to: `¾` + * - `lessThanOrEqual`: transforms `<=` to: `≤` + * - `greaterThanOrEqual`: transforms `>=` to: `≥` + * - `notEqual`: transforms `!=` to: `≠` + * - `arrowLeft`: transforms `<-` to: `←` + * - `arrowRight`: transforms `->` to: `→` + * * Misc: + * - `quotesPrimaryEnGb`: transforms `'Foo bar'` to `‘Foo bar’` + * - `quotesSecondaryEnGb`: transforms `"Foo bar"` to `“Foo bar”` + * - `quotesPrimaryPl`: transforms `"Foo bar"` to `„Foo bar”` + * - `quotesSecondaryPl`: transforms `'Foo bar'` to `‚Foo bar’` + * + * In order to load additional transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra` option}. + * + * In order to narrow down the list of transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#remove `transformations.remove` option}. + * + * In order to completely override the supported transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include` option}. + * + * Examples: + * + * ```ts + * const transformationsConfig = { + * include: [ + * // Use only the 'quotes' and 'typography' groups. + * 'quotes', + * 'typography', + * + * // Plus, some custom transformation. + * { from: 'CKE', to: 'CKEditor' } + * ] + * }; + * + * const transformationsConfig = { + * // Remove the 'ellipsis' transformation loaded by the 'typography' group. + * remove: [ 'ellipsis' ] + * } + * ``` + */ +export interface TextTransformationConfig { + /** + * The standard list of text transformations supported by the editor. By default it comes pre-configured with a couple dozen of them + * (see {@link module:typing/typingconfig~TextTransformationConfig} for the full list). You can override this list completely + * by setting this option or use the other two options + * ({@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra`}, + * {@link module:typing/typingconfig~TextTransformationConfig#remove `transformations.remove`}) to fine-tune the default list. + */ + include: Array; + /** + * Additional text transformations that are added to the transformations defined in + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include`}. + * + * ```ts + * const transformationsConfig = { + * extra: [ + * { from: 'CKE', to: 'CKEditor' } + * ] + * }; + * ``` + */ + extra?: Array; + /** + * The text transformation names that are removed from transformations defined in + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include`} or + * {@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra`}. + * + * ```ts + * const transformationsConfig = { + * remove: [ + * 'ellipsis', // Remove only 'ellipsis' from the 'typography' group. + * 'mathematical' // Remove all transformations from the 'mathematical' group. + * ] + * } + * ``` + */ + remove?: Array; +} +/** + * The text transformation definition object. It describes what should be replaced with what. + * + * The input value (`from`) can be passed either as a string or as a regular expression. + * + * * If a string is passed, it will be simply checked if the end of the input matches it. + * * If a regular expression is passed, its entire length must be covered with capturing groups (e.g. `/(foo)(bar)$/`). + * Also, since it is compared against the end of the input, it has to end with `$` to be correctly matched. + * See examples below. + * + * The output value (`to`) can be passed as a string, as an array or as a function. + * + * * If a string is passed, it will be used as a replacement value as-is. Note that a string output value can be used only if + * the input value is a string, too. + * * If an array is passed, it has to have the same number of elements as there are capturing groups in the input value regular expression. + * Each capture group will be replaced with a corresponding string from the passed array. If a given capturing group should not be replaced, + * use `null` instead of passing a string. + * * If a function is used, it should return an array as described above. The function is passed one parameter – an array with matches + * by the regular expression. See the examples below. + * + * A simple string-to-string replacement: + * + * ```ts + * { from: '(c)', to: '©' } + * ``` + * + * Change quote styles using a regular expression. Note how all the parts are in separate capturing groups and the space at the beginning + * and the text inside quotes are not replaced (`null` passed as the first and the third value in the `to` parameter): + * + * ```ts + * { + * from: /(^|\s)(")([^"]*)(")$/, + * to: [ null, '“', null, '”' ] + * } + * ``` + * + * Automatic uppercase after a dot using a callback: + * + * ```ts + * { + * from: /(\. )([a-z])$/, + * to: matches => [ null, matches[ 1 ].toUpperCase() ] + * } + * ``` + */ +export interface TextTransformationDescription { + /** + * The string or regular expression to transform. + */ + from: string | RegExp; + /** + * The text to transform compatible with `String.replace()`. + */ + to: string | Array | ((matches: Array) => Array); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/typingconfig.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts new file mode 100644 index 00000000..88345b3c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts @@ -0,0 +1,103 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/changebuffer + */ +import type { Model, Batch } from '@ckeditor/ckeditor5-engine'; +/** + * Change buffer allows to group atomic changes (like characters that have been typed) into + * {@link module:engine/model/batch~Batch batches}. + * + * Batches represent single undo steps, hence changes added to one single batch are undone together. + * + * The buffer has a configurable limit of atomic changes that it can accommodate. After the limit was + * exceeded (see {@link ~ChangeBuffer#input}), a new batch is created in {@link ~ChangeBuffer#batch}. + * + * To use the change buffer you need to let it know about the number of changes that were added to the batch: + * + * ```ts + * const buffer = new ChangeBuffer( model, LIMIT ); + * + * // Later on in your feature: + * buffer.batch.insert( pos, insertedCharacters ); + * buffer.input( insertedCharacters.length ); + * ``` + */ +export default class ChangeBuffer { + /** + * The model instance. + */ + readonly model: Model; + /** + * The maximum number of atomic changes which can be contained in one batch. + */ + readonly limit: number; + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + private _isLocked; + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + private _size; + /** + * The current batch instance. + */ + private _batch; + /** + * The callback to document the change event which later needs to be removed. + */ + private readonly _changeCallback; + /** + * The callback to document selection `change:attribute` and `change:range` events which resets the buffer. + */ + private readonly _selectionChangeCallback; + /** + * Creates a new instance of the change buffer. + * + * @param limit The maximum number of atomic changes which can be contained in one batch. + */ + constructor(model: Model, limit?: number); + /** + * The current batch to which a feature should add its operations. Once the {@link #size} + * is reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + */ + get batch(): Batch; + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + get size(): number; + /** + * The input number of changes into the buffer. Once the {@link #size} is + * reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + * + * @param changeCount The number of atomic changes to input. + */ + input(changeCount: number): void; + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + get isLocked(): boolean; + /** + * Locks the buffer. + */ + lock(): void; + /** + * Unlocks the buffer. + */ + unlock(): void; + /** + * Destroys the buffer. + */ + destroy(): void; + /** + * Resets the change buffer. + * + * @param ignoreLock Whether internal lock {@link #isLocked} should be ignored. + */ + private _reset; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js new file mode 100644 index 00000000..0790a768 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js @@ -0,0 +1,123 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Change buffer allows to group atomic changes (like characters that have been typed) into + * {@link module:engine/model/batch~Batch batches}. + * + * Batches represent single undo steps, hence changes added to one single batch are undone together. + * + * The buffer has a configurable limit of atomic changes that it can accommodate. After the limit was + * exceeded (see {@link ~ChangeBuffer#input}), a new batch is created in {@link ~ChangeBuffer#batch}. + * + * To use the change buffer you need to let it know about the number of changes that were added to the batch: + * + * ```ts + * const buffer = new ChangeBuffer( model, LIMIT ); + * + * // Later on in your feature: + * buffer.batch.insert( pos, insertedCharacters ); + * buffer.input( insertedCharacters.length ); + * ``` + */ +export default class ChangeBuffer { + /** + * Creates a new instance of the change buffer. + * + * @param limit The maximum number of atomic changes which can be contained in one batch. + */ + constructor(model, limit = 20) { + /** + * The current batch instance. + */ + this._batch = null; + this.model = model; + this._size = 0; + this.limit = limit; + this._isLocked = false; + // The function to be called in order to notify the buffer about batches which appeared in the document. + // The callback will check whether it is a new batch and in that case the buffer will be flushed. + // + // The reason why the buffer needs to be flushed whenever a new batch appears is that the changes added afterwards + // should be added to a new batch. For instance, when the user types, then inserts an image, and then types again, + // the characters typed after inserting the image should be added to a different batch than the characters typed before. + this._changeCallback = (evt, batch) => { + if (batch.isLocal && batch.isUndoable && batch !== this._batch) { + this._reset(true); + } + }; + 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); + } + /** + * The current batch to which a feature should add its operations. Once the {@link #size} + * is reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + */ + get batch() { + if (!this._batch) { + this._batch = this.model.createBatch({ isTyping: true }); + } + return this._batch; + } + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + get size() { + return this._size; + } + /** + * The input number of changes into the buffer. Once the {@link #size} is + * reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + * + * @param changeCount The number of atomic changes to input. + */ + input(changeCount) { + this._size += changeCount; + if (this._size >= this.limit) { + this._reset(true); + } + } + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + get isLocked() { + return this._isLocked; + } + /** + * Locks the buffer. + */ + lock() { + this._isLocked = true; + } + /** + * Unlocks the buffer. + */ + unlock() { + this._isLocked = false; + } + /** + * Destroys the buffer. + */ + 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); + } + /** + * Resets the change buffer. + * + * @param ignoreLock Whether internal lock {@link #isLocked} should be ignored. + */ + _reset(ignoreLock = false) { + if (!this.isLocked || ignoreLock) { + this._batch = null; + this._size = 0; + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts new file mode 100644 index 00000000..76c04c9e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/findattributerange + */ +import type { Position, Model, Range } from '@ckeditor/ckeditor5-engine'; +/** + * Returns a model range that covers all consecutive nodes with the same `attributeName` and its `value` + * that intersect the given `position`. + * + * It can be used e.g. to get the entire range on which the `linkHref` attribute needs to be changed when having a + * selection inside a link. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param model The model instance. + * @returns The link range. + */ +export default function findAttributeRange(position: Position, attributeName: string, value: unknown, model: Model): Range; +/** + * Walks forward or backward (depends on the `lookBack` flag), node by node, as long as they have the same attribute value + * and returns a position just before or after (depends on the `lookBack` flag) the last matched node. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param lookBack Whether the walk direction is forward (`false`) or backward (`true`). + * @returns The position just before the last matched node. + */ +export declare function findAttributeRangeBound(position: Position, attributeName: string, value: unknown, lookBack: boolean, model: Model): Position; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js new file mode 100644 index 00000000..68973096 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js @@ -0,0 +1,41 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns a model range that covers all consecutive nodes with the same `attributeName` and its `value` + * that intersect the given `position`. + * + * It can be used e.g. to get the entire range on which the `linkHref` attribute needs to be changed when having a + * selection inside a link. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param model The model instance. + * @returns The link range. + */ +export default function findAttributeRange(position, attributeName, value, model) { + return model.createRange(findAttributeRangeBound(position, attributeName, value, true, model), findAttributeRangeBound(position, attributeName, value, false, model)); +} +/** + * Walks forward or backward (depends on the `lookBack` flag), node by node, as long as they have the same attribute value + * and returns a position just before or after (depends on the `lookBack` flag) the last matched node. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param lookBack Whether the walk direction is forward (`false`) or backward (`true`). + * @returns The position just before the last matched node. + */ +export function findAttributeRangeBound(position, attributeName, value, lookBack, model) { + // Get node before or after position (depends on `lookBack` flag). + // When position is inside text node then start searching from text node. + let node = position.textNode || (lookBack ? position.nodeBefore : position.nodeAfter); + let lastNode = null; + while (node && node.getAttribute(attributeName) == value) { + lastNode = node; + node = lookBack ? node.previousSibling : node.nextSibling; + } + return lastNode ? model.createPositionAt(lastNode, lookBack ? 'before' : 'after') : position; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts new file mode 100644 index 00000000..ade6d444 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts @@ -0,0 +1,49 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/getlasttextline + */ +import type { Model, Range } from '@ckeditor/ckeditor5-engine'; +/** + * Returns the last text line from the given range. + * + * "The last text line" is understood as text (from one or more text nodes) which is limited either by a parent block + * or by inline elements (e.g. ``). + * + * ```ts + * const rangeToCheck = model.createRange( + * model.createPositionAt( paragraph, 0 ), + * model.createPositionAt( paragraph, 'end' ) + * ); + * + * const { text, range } = getLastTextLine( rangeToCheck, model ); + * ``` + * + * For model below, the returned `text` will be "Foo bar baz" and `range` will be set on whole `` content: + * + * ```xml + * Foo bar baz + * ``` + * + * However, in below case, `text` will be set to "baz" and `range` will be set only on "baz". + * + * ```xml + * Foobarbaz + * ``` + */ +export default function getLastTextLine(range: Range, model: Model): LastTextLineData; +/** + * The value returned by {@link module:typing/utils/getlasttextline~getLastTextLine}. + */ +export type LastTextLineData = { + /** + * The text from the text nodes in the last text line. + */ + text: string; + /** + * The range set on the text nodes in the last text line. + */ + range: Range; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js new file mode 100644 index 00000000..1e1de1f9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js @@ -0,0 +1,43 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns the last text line from the given range. + * + * "The last text line" is understood as text (from one or more text nodes) which is limited either by a parent block + * or by inline elements (e.g. ``). + * + * ```ts + * const rangeToCheck = model.createRange( + * model.createPositionAt( paragraph, 0 ), + * model.createPositionAt( paragraph, 'end' ) + * ); + * + * const { text, range } = getLastTextLine( rangeToCheck, model ); + * ``` + * + * For model below, the returned `text` will be "Foo bar baz" and `range` will be set on whole `` content: + * + * ```xml + * Foo bar baz + * ``` + * + * However, in below case, `text` will be set to "baz" and `range` will be set only on "baz". + * + * ```xml + * Foobarbaz + * ``` + */ +export default function getLastTextLine(range, model) { + let start = range.start; + const text = Array.from(range.getWalker({ ignoreElementEnd: false })).reduce((rangeText, { item }) => { + // Trim text to a last occurrence of an inline element and update range start. + if (!(item.is('$text') || item.is('$textProxy'))) { + start = model.createPositionAfter(item); + return ''; + } + return rangeText + item.data; + }, ''); + return { text, range: model.createRange(start, range.end) }; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts new file mode 100644 index 00000000..749611cf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Editor } from '@ckeditor/ckeditor5-core'; +/** + * Adds a visual highlight style to an attribute element in which the selection is anchored. + * Together with two-step caret movement, they indicate that the user is typing inside the element. + * + * Highlight is turned on by adding the given class to the attribute element in the view: + * + * * The class is removed before the conversion has started, as callbacks added with the `'highest'` priority + * to {@link module:engine/conversion/downcastdispatcher~DowncastDispatcher} events. + * * The class is added in the view post fixer, after other changes in the model tree were converted to the view. + * + * This way, adding and removing the highlight does not interfere with conversion. + * + * Usage: + * + * ```ts + * import inlineHighlight from '@ckeditor/ckeditor5-typing/src/utils/inlinehighlight'; + * + * // Make `ck-link_selected` class be applied on an `a` element + * // whenever the corresponding `linkHref` attribute element is selected. + * inlineHighlight( editor, 'linkHref', 'a', 'ck-link_selected' ); + * ``` + * + * @param editor The editor instance. + * @param attributeName The attribute name to check. + * @param tagName The tagName of a view item. + * @param className The class name to apply in the view. + */ +export default function inlineHighlight(editor: Editor, attributeName: string, tagName: string, className: string): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js new file mode 100644 index 00000000..6a3438bc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js @@ -0,0 +1,74 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/inlinehighlight + */ +import findAttributeRange from './findattributerange'; +/** + * Adds a visual highlight style to an attribute element in which the selection is anchored. + * Together with two-step caret movement, they indicate that the user is typing inside the element. + * + * Highlight is turned on by adding the given class to the attribute element in the view: + * + * * The class is removed before the conversion has started, as callbacks added with the `'highest'` priority + * to {@link module:engine/conversion/downcastdispatcher~DowncastDispatcher} events. + * * The class is added in the view post fixer, after other changes in the model tree were converted to the view. + * + * This way, adding and removing the highlight does not interfere with conversion. + * + * Usage: + * + * ```ts + * import inlineHighlight from '@ckeditor/ckeditor5-typing/src/utils/inlinehighlight'; + * + * // Make `ck-link_selected` class be applied on an `a` element + * // whenever the corresponding `linkHref` attribute element is selected. + * inlineHighlight( editor, 'linkHref', 'a', 'ck-link_selected' ); + * ``` + * + * @param editor The editor instance. + * @param attributeName The attribute name to check. + * @param tagName The tagName of a view item. + * @param className The class name to apply in the view. + */ +export default function inlineHighlight(editor, attributeName, tagName, className) { + const view = editor.editing.view; + const highlightedElements = new Set(); + // Adding the class. + view.document.registerPostFixer(writer => { + const selection = editor.model.document.selection; + let changed = false; + if (selection.hasAttribute(attributeName)) { + const modelRange = findAttributeRange(selection.getFirstPosition(), attributeName, selection.getAttribute(attributeName), editor.model); + const viewRange = editor.editing.mapper.toViewRange(modelRange); + // There might be multiple view elements in the `viewRange`, for example, when the `a` element is + // broken by a UIElement. + for (const item of viewRange.getItems()) { + if (item.is('element', tagName) && !item.hasClass(className)) { + writer.addClass(className, item); + highlightedElements.add(item); + changed = true; + } + } + } + return changed; + }); + // Removing the class. + editor.conversion.for('editingDowncast').add(dispatcher => { + // Make sure the highlight is removed on every possible event, before conversion is started. + dispatcher.on('insert', removeHighlight, { priority: 'highest' }); + dispatcher.on('remove', removeHighlight, { priority: 'highest' }); + dispatcher.on('attribute', removeHighlight, { priority: 'highest' }); + dispatcher.on('selection', removeHighlight, { priority: 'highest' }); + function removeHighlight() { + view.change(writer => { + for (const item of highlightedElements.values()) { + writer.removeClass(className, item); + highlightedElements.delete(item); + } + }); + } + }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/CHANGELOG.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/CHANGELOG.md new file mode 100644 index 00000000..11a06cb8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/CHANGELOG.md @@ -0,0 +1,542 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v18.0.0...v19.0.0) (April 29, 2020) + +### MAJOR BREAKING CHANGES + +* `ViewCollection` no longer has the `locale` property. +* The `ViewCollection#constructor()` no longer accepts the `locale` parameter. +* `LabeledView` component was renamed to `LabeledFieldView`. Also, its instance of a labeled component's view is available through `LabeledFieldView#fieldView`. It replaced the `LabeledView#view`. + +### MINOR BREAKING CHANGES + +* The `DropdownView#focusTracker` property has been removed as it served no purpose. + +### Features + +* Allowed defining initial items of `ViewCollection` and `BodyCollection` in the constructor. See [ckeditor/ckeditor5#6319](https://github.com/ckeditor/ckeditor5/issues/6319). ([6cd15de](https://github.com/ckeditor/ckeditor5-ui/commit/6cd15de)) + + The `View#createCollection()` method now also accepts an iterator of views. +* Introduce `FormHeaderView` UI component. Closes [ckeditor/ckeditor5#6109](https://github.com/ckeditor/ckeditor5/issues/6109). ([eb1ce18](https://github.com/ckeditor/ckeditor5-ui/commit/eb1ce18)) +* The `BlockToolbar` should group items when there is no place to show them all. Closes [ckeditor/ckeditor5#6449](https://github.com/ckeditor/ckeditor5/issues/6449). Closes [ckeditor/ckeditor5#6575](https://github.com/ckeditor/ckeditor5/issues/6575). Closes [ckeditor/ckeditor5#6570](https://github.com/ckeditor/ckeditor5/issues/6570). ([fcd9c4e](https://github.com/ckeditor/ckeditor5-ui/commit/fcd9c4e)) + + Improved `ToolbarView#maxWidth` and items grouping when the toolbar is invisible. + +### Bug fixes + +* Call `ResizeObserver.destroy()` when destroying block toolbar. ([59449d2](https://github.com/ckeditor/ckeditor5-ui/commit/59449d2)) + +### Other changes + +* Removed the obsolete `DropdownView#focusTracker`. Closes [ckeditor/ckeditor5#6548](https://github.com/ckeditor/ckeditor5/issues/6548). ([ac750c7](https://github.com/ckeditor/ckeditor5-ui/commit/ac750c7)) +* Rename `LabeledView` component to `LabeledFieldView`. See [ckeditor/ckeditor5#6110](https://github.com/ckeditor/ckeditor5/issues/6110). ([5a7aca7](https://github.com/ckeditor/ckeditor5-ui/commit/5a7aca7)) +* Updated translations. ([2a391d6](https://github.com/ckeditor/ckeditor5-ui/commit/2a391d6)) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v17.0.0...v18.0.0) (March 19, 2020) + +### MAJOR BREAKING CHANGES + +* The `BalloonToolbar` plugin now groups the overflowing items by default. This can be disabled by setting [`config.balloonToolbar.shouldNotGroupWhenFull`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_toolbar_toolbarview-ToolbarOptions.html#member-shouldGroupWhenFull) configuration to `true`. + +### Features + +* The `BalloonToolbar` plugin should group items when its width is close to related editable's width. Closes [ckeditor/ckeditor5#5597](https://github.com/ckeditor/ckeditor5/issues/5597). Closes [ckeditor/ckeditor5#5501](https://github.com/ckeditor/ckeditor5/issues/5501). ([d36fd23](https://github.com/ckeditor/ckeditor5-ui/commit/d36fd23)) + + [`BalloonPanelView.defaultPositions`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_panel_balloon_balloonpanelview-BalloonPanelView.html#static-member-defaultPositions) has been extended with additional positions. Please refer to the documentation to learn more. + +### Other changes + +* Updated translations. ([ace38eb](https://github.com/ckeditor/ckeditor5-ui/commit/ace38eb)) + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v16.0.0...v17.0.0) (February 19, 2020) + +### Features + +* Created the `LabeledView` class (see https://github.com/ckeditor/ckeditor5-table/pull/227). ([ec39406](https://github.com/ckeditor/ckeditor5-ui/commit/ec39406)) + + Also added `id` properties to the `DropdownView` and `LabelView` for compatibility with the `LabeledView`. +* Implemented the `Toolbar#isCompact` property to turn regular toolbars into compact ones (with less spacing) (see [ckeditor/ckeditor5#6112](https://github.com/ckeditor/ckeditor5/issues/6112)). ([a6b9c09](https://github.com/ckeditor/ckeditor5-ui/commit/a6b9c09)) +* Reintroduced the concept of body collections with a focus on better management of multiple editors and support for context plugins (plugins which leave outside an editor instance). Closes [ckeditor/ckeditor5#5888](https://github.com/ckeditor/ckeditor5/issues/5888). ([23d12e9](https://github.com/ckeditor/ckeditor5-ui/commit/23d12e9)) + +### Bug fixes + +* Make `BlockToolbar` work with an empty configuration. Closes [ckeditor/ckeditor5#5980](https://github.com/ckeditor/ckeditor5/issues/5980). ([1e05098](https://github.com/ckeditor/ckeditor5-ui/commit/1e05098)) + +### Other changes + +* Replaced the `getResizeObserver()` helper with new `ResizeObserver` class in `ToolbarView`. ([be98aa4](https://github.com/ckeditor/ckeditor5-ui/commit/be98aa4)) + + Follow-up on: https://github.com/ckeditor/ckeditor5-utils/pull/320 +* Updated translations. ([b8bd38e](https://github.com/ckeditor/ckeditor5-ui/commit/b8bd38e)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Features + +* Enabled keystroke preview in `ButtonView`. Implemented the `ButtonView#withKeystroke` property. Closes [ckeditor/ckeditor5#5782](https://github.com/ckeditor/ckeditor5/issues/5782). ([dac8ce0](https://github.com/ckeditor/ckeditor5-ui/commit/dac8ce0)) + +### Bug fixes + +* Use relative positioning for dropdowns to prevent ugly blurring in Chrome. Closes [ckeditor/ckeditor5#1053](https://github.com/ckeditor/ckeditor5/issues/1053). ([95404e3](https://github.com/ckeditor/ckeditor5-ui/commit/95404e3)) + +### Other changes + +* Updated translations. ([16ee253](https://github.com/ckeditor/ckeditor5-ui/commit/16ee253)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v14.0.0...v15.0.0) (October 23, 2019) + +### MAJOR BREAKING CHANGES + +* The internal structure of the toolbar component has changed. Toolbar items are no longer direct descendants of the toolbar in the DOM, which may affect some integrations (mainly CSS selectors if adjustments were made to the styles). + +### Features + +* The editor toolbar is now responsive. Closes [ckeditor/ckeditor5#416](https://github.com/ckeditor/ckeditor5/issues/416). ([46911bf](https://github.com/ckeditor/ckeditor5-ui/commit/46911bf)) + +### Other changes + +* Updated translations. ([c233bb7](https://github.com/ckeditor/ckeditor5-ui/commit/c233bb7)) ([f8f07b2](https://github.com/ckeditor/ckeditor5-ui/commit/f8f07b2)) + + +## [14.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.2...v14.0.0) (August 26, 2019) + +### Features + +* Brought support for right–to–left (RTL) languages to various UI components. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([d6c7f55](https://github.com/ckeditor/ckeditor5-ui/commit/d6c7f55)) + +### Bug fixes + +* `ColorGrid` should set the `#isOn` property value of new `ColorTiles`. See [ckeditor/ckeditor5-font#51](https://github.com/ckeditor/ckeditor5-font/issues/51). ([e89ad60](https://github.com/ckeditor/ckeditor5-ui/commit/e89ad60)) +* All editor toolbars should come with the `role` and `aria-label` attributes. Closes [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404). ([bdede90](https://github.com/ckeditor/ckeditor5-ui/commit/bdede90)) +* Screen reader will now properly prompt errors for text inputs. Closes [ckeditor/ckeditor5#1406](https://github.com/ckeditor/ckeditor5/issues/1406). ([3a164b7](https://github.com/ckeditor/ckeditor5-ui/commit/3a164b7)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([451df7b](https://github.com/ckeditor/ckeditor5-ui/commit/451df7b)) +* Updated translations. ([eca9fe6](https://github.com/ckeditor/ckeditor5-ui/commit/eca9fe6)) + +### BREAKING CHANGES + +* The `ToolbarView` class requires the [editor locale](https://ckeditor.com/docs/ckeditor5/latest/api/module_utils_locale-Locale.html) to be passed into the constructor. + + +## [13.0.2](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.1...v13.0.2) (July 10, 2019) + +### Other changes + +* Updated translations. ([ad189b6](https://github.com/ckeditor/ckeditor5-ui/commit/ad189b6)) + + +## [13.0.1](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.0...v13.0.1) (July 4, 2019) + +### Other changes + +* Updated translations. ([1964cc0](https://github.com/ckeditor/ckeditor5-ui/commit/1964cc0)) ([11cfd41](https://github.com/ckeditor/ckeditor5-ui/commit/11cfd41)) + + +## [13.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.1.0...v13.0.0) (June 6, 2019) + +### Features + +* Implemented the single view mode for the `ContextualBalloon` plugin. See https://github.com/ckeditor/ckeditor5-mention/issues/74. ([c000c93](https://github.com/ckeditor/ckeditor5-ui/commit/c000c93)) +* Introduced rotatable panels for `ContextualBalloon`. Closes https://github.com/ckeditor/ckeditor5-ui/issues/491. ([581d8f7](https://github.com/ckeditor/ckeditor5-ui/commit/581d8f7)) + +### Other changes + +* Renamed a misspelled `InputTextViewariaDesribedById` property to `InputTextView#ariaDescribedById`. Closes [#483](https://github.com/ckeditor/ckeditor5-ui/issues/483). ([2288bf3](https://github.com/ckeditor/ckeditor5-ui/commit/2288bf3)) +* The `_rwd.css` mixin was moved to this package from `@ckeditor/ckeditor5-theme-lark`. See [ckeditor/ckeditor5#1662](https://github.com/ckeditor/ckeditor5/issues/1662). ([96e3a3c](https://github.com/ckeditor/ckeditor5-ui/commit/96e3a3c)) +* The `ContextualBalloon#add()` method should accept the `withArrow` option. Closes [#487](https://github.com/ckeditor/ckeditor5-ui/issues/487). ([0e7f670](https://github.com/ckeditor/ckeditor5-ui/commit/0e7f670)) +* Updated translations. ([4699d8b](https://github.com/ckeditor/ckeditor5-ui/commit/4699d8b)) ([d4c5714](https://github.com/ckeditor/ckeditor5-ui/commit/d4c5714)) + +### BREAKING CHANGES + +* The (misspelled) `InputTextView#ariaDesribedById` property is no longer available. Use `ariaDescribedById` instead. + + +## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (April 4, 2019) + +### Features + +* Implemented `ColorGridView` and `ColorTileView` components. See [ckeditor/ckeditor5#1457](https://github.com/ckeditor/ckeditor5/issues/1457). ([6be52b4](https://github.com/ckeditor/ckeditor5-ui/commit/6be52b4)) + +### Bug fixes + +* Fixed `View#render` collision when moving focus from a one editable to the other in multi-root editor. Closes https://github.com/ckeditor/ckeditor5/issues/1676. ([17e86f9](https://github.com/ckeditor/ckeditor5-ui/commit/17e86f9)) + +### Other changes + +* Optimized icons. ([5325ea8](https://github.com/ckeditor/ckeditor5-ui/commit/5325ea8)) +* Updated translations. ([dcdca2e](https://github.com/ckeditor/ckeditor5-ui/commit/dcdca2e)) + + +## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (February 28, 2019) + +### Bug fixes + +* Prevented from changing the view document during the render phase. Closes https://github.com/ckeditor/ckeditor5/issues/1530. ([7cf835e](https://github.com/ckeditor/ckeditor5-ui/commit/7cf835e)) +* Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([fd18fb9](https://github.com/ckeditor/ckeditor5-ui/commit/fd18fb9)) + +### Other changes + +* The `class` property should control the DOM class attribute in all UI components. Closes [#450](https://github.com/ckeditor/ckeditor5-ui/issues/450). ([b9b68c6](https://github.com/ckeditor/ckeditor5-ui/commit/b9b68c6)) +* Updated translations. ([b9caee9](https://github.com/ckeditor/ckeditor5-ui/commit/b9caee9)) ([a3afaaa](https://github.com/ckeditor/ckeditor5-ui/commit/a3afaaa)) ([909e676](https://github.com/ckeditor/ckeditor5-ui/commit/909e676)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) +* The `BallonPanelView#className` property was renamed to `#class`. +* The `ToolbarView#className` property was renamed to `#class`. +* The `EditableUIView#externalElement` property (which held the element on which the editor was created if it was explicitly passed) was removed. +* The `EditorUIView#editableElement` property was made private. Use `editor.ui.getEditableElement()` method instead. + + +## [11.2.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.1.0...v11.2.0) (December 5, 2018) + +### Features + +* Added the `.ck-read-only` CSS class to the `EditableUIView` when `#isReadOnly` is `true`. ([4119822](https://github.com/ckeditor/ckeditor5-ui/commit/4119822)) +* Added the optional `DropdownView#class` property to set a custom CSS class on the main element in DOM. Closes [#447](https://github.com/ckeditor/ckeditor5-ui/issues/447). ([9cdcd4a](https://github.com/ckeditor/ckeditor5-ui/commit/9cdcd4a)) + + Thanks to [@lucasreppewelander](https://github.com/lucasreppewelander)! +* Implemented `LabeledInputView#infoText` to display useful hints next to the input (see [ckeditor/ckeditor5-media-embed#35](https://github.com/ckeditor/ckeditor5-media-embed/issues/35)). ([6ac03ea](https://github.com/ckeditor/ckeditor5-ui/commit/6ac03ea)) +* Implemented configurable, smart `DropdownView` panel positioning. Closes [#123](https://github.com/ckeditor/ckeditor5-ui/issues/123). ([8094f19](https://github.com/ckeditor/ckeditor5-ui/commit/8094f19)) + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([ed88305](https://github.com/ckeditor/ckeditor5-ui/commit/ed88305)) +* Updated translations. ([2e409a9](https://github.com/ckeditor/ckeditor5-ui/commit/2e409a9)) ([611bd04](https://github.com/ckeditor/ckeditor5-ui/commit/611bd04)) ([c6689e4](https://github.com/ckeditor/ckeditor5-ui/commit/c6689e4)) ([07c4fdb](https://github.com/ckeditor/ckeditor5-ui/commit/07c4fdb)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.0.0...v11.1.0) (October 8, 2018) + +### Features + +* Allowed displaying an error message next to the `LabeledInputVIew` (see [ckeditor/ckeditor5-media-embed#1](https://github.com/ckeditor/ckeditor5-media-embed/issues/1)). ([81aaea4](https://github.com/ckeditor/ckeditor5-ui/commit/81aaea4)) + +### Bug fixes + +* Made the `Edit block` string translatable. Closes [#445](https://github.com/ckeditor/ckeditor5-ui/issues/445). ([1fa84e9](https://github.com/ckeditor/ckeditor5-ui/commit/1fa84e9)) + +### Other changes + +* Updated translations. ([baff3c9](https://github.com/ckeditor/ckeditor5-ui/commit/baff3c9)) +* Updated translations. ([e58bcbb](https://github.com/ckeditor/ckeditor5-ui/commit/e58bcbb)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.1.0...v11.0.0) (July 18, 2018) + +### Features + +* Implemented the `SwitchButtonView`. Closes [#402](https://github.com/ckeditor/ckeditor5-ui/issues/402). Closes [#403](https://github.com/ckeditor/ckeditor5-ui/issues/403). ([105fbea](https://github.com/ckeditor/ckeditor5-ui/commit/105fbea)) + + Also: + + * Simplified the `ListItemView` class, which is now just a container for `ButtonView` (and others), + * Moved `ListItemView#style` and `#class` to the `ButtonView` (as `#class` and `#labelStyle`), + * Enhanced the `addListToDropdown` utility with a better configuration (`ListDropdownItemDefinition`) and the support for buttons, switch buttons, and separators, + * `.ck-button` and `.ck-list` became `flex` containers; the first one to allow complex inner structures (like the toggle) and the later to take control of complex list items (like `.ck-switchbutton`). + +### Bug fixes + +* The `BalloonToolbar` should hide when the editable is blurred. Closes [#418](https://github.com/ckeditor/ckeditor5-ui/issues/418). ([f6a02d4](https://github.com/ckeditor/ckeditor5-ui/commit/f6a02d4)) +* The `BlockToolbar` should add elements to the `FocusTracker` only after `uiReady` is fired to avoid errors. Closes [#424](https://github.com/ckeditor/ckeditor5-ui/issues/424). ([ae9fa09](https://github.com/ckeditor/ckeditor5-ui/commit/ae9fa09)) +* The `BlockToolbar` should hide when the editor is blurred. Closes [#408](https://github.com/ckeditor/ckeditor5-ui/issues/408). ([e3bbccf](https://github.com/ckeditor/ckeditor5-ui/commit/e3bbccf)) + +### Other changes + +* Allowed list item's buttons to have an outer, visible box-shadow. Ensured the balloon panel's arrow does not cover panel's children. Closes [#394](https://github.com/ckeditor/ckeditor5-ui/issues/394). ([8a64ee2](https://github.com/ckeditor/ckeditor5-ui/commit/8a64ee2)) +* Updated translations. ([949585d](https://github.com/ckeditor/ckeditor5-ui/commit/949585d)) + +### BREAKING CHANGES + +* Most of the `ListItemView` functionality is now handled by the `ButtonView`, +* The API of the `addListToDropdown` has changed; see `ListDropdownItemDefinition` to learn more, +* The `.ck-button` and `.ck-list` classes are using `flex` which may have an impact on rendering. + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.0.0...v10.1.0) (June 21, 2018) + +### Features + +* Implemented list component separators (see [ckeditor/ckeditor5-table#24](https://github.com/ckeditor/ckeditor5-table/issues/24)). ([0808a8c](https://github.com/ckeditor/ckeditor5-ui/commit/0808a8c)) +* Introduced the `BlockToolbar` plugin. Closes [#391](https://github.com/ckeditor/ckeditor5-ui/issues/391). ([5868516](https://github.com/ckeditor/ckeditor5-ui/commit/5868516)) + +### Bug fixes + +* The action should be executed upon the first click on a tooltip-enabled UI in iOS. Closes [ckeditor/ckeditor5#920](https://github.com/ckeditor/ckeditor5/issues/920). ([6508ba2](https://github.com/ckeditor/ckeditor5-ui/commit/6508ba2)) +* The balloon toolbar should be attached correctly in case of a multi-range selection. Closes [#385](https://github.com/ckeditor/ckeditor5-ui/issues/385). ([714ef21](https://github.com/ckeditor/ckeditor5-ui/commit/714ef21)) +* The buttons in the editor should provide basic accessibility. Closes [ckeditor/ckeditor5#1013](https://github.com/ckeditor/ckeditor5/issues/1013). ([9e17d13](https://github.com/ckeditor/ckeditor5-ui/commit/9e17d13)) + +### Other changes + +* Disabling a `ListItemView` should be possible using the `isEnabled` property. Closes [#389](https://github.com/ckeditor/ckeditor5-ui/issues/389). ([76a4d47](https://github.com/ckeditor/ckeditor5-ui/commit/76a4d47)) +* Made the `ContextualBalloon` always use the position of the topmost view in the stack (see: [ckeditor/ckeditor5-table#28](https://github.com/ckeditor/ckeditor5-table/issues/28)). Closes [ckeditor/ckeditor5#900](https://github.com/ckeditor/ckeditor5/issues/900). ([a2ef073](https://github.com/ckeditor/ckeditor5-ui/commit/a2ef073)) +* Updated translations. ([084e8c6](https://github.com/ckeditor/ckeditor5-ui/commit/084e8c6)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([f1e5fbf](https://github.com/ckeditor/ckeditor5-ui/commit/f1e5fbf)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Other changes + +* Renamed plural method names to singular. See [ckeditor/ckeditor5#742](https://github.com/ckeditor/ckeditor5/issues/742). ([48cd53d](https://github.com/ckeditor/ckeditor5-ui/commit/48cd53d)) + +### BREAKING CHANGES + +* `View#registerChildren()` and `View#deregisterChildren()` have been renamed to `View#registerChild()` and `View#deregisterChild()`. + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Features + +* Implemented the `IconView#fillColor` observable which fills child `.ck-icon__fill` paths with the color (see [ckeditor/ckeditor5-theme-lark#148](https://github.com/ckeditor/ckeditor5-theme-lark/issues/148)). ([728a691](https://github.com/ckeditor/ckeditor5-ui/commit/728a691)) +* Initial implementation of the `ButtonDropdownView`. Closes [#333](https://github.com/ckeditor/ckeditor5-ui/issues/333). ([6e9c6e4](https://github.com/ckeditor/ckeditor5-ui/commit/6e9c6e4)) + + Also: + + * Allowed vertical layout of the `ToolbarView` thanks to the `#isVertical` attribute. + * Implemented `ToolbarView#className` attribute. + * Implemented `DropdownView#isEnabled` attribute along with the CSS class binding. +* Updated UI components to bring the support for the refreshed Lark theme (see [ckeditor/ckeditor5#645](https://github.com/ckeditor/ckeditor5/issues/645)). ([623d536](https://github.com/ckeditor/ckeditor5-ui/commit/623d536)) + +### Bug fixes + +* Button icon styles should not touch the dropdown's arrow. Closes [ckeditor/ckeditor5#831](https://github.com/ckeditor/ckeditor5/issues/831). ([507549f](https://github.com/ckeditor/ckeditor5-ui/commit/507549f)) + +### Other changes + +* Added a CSS class to the SplitButtonView when the arrow is on (see [ckeditor/ckeditor5-theme-lark#134](https://github.com/ckeditor/ckeditor5-theme-lark/issues/134)). ([d490d61](https://github.com/ckeditor/ckeditor5-ui/commit/d490d61)) +* Added the `.ck-content` CSS class to the `EditableUIView` in order to simplify styling the editor content. Closes [#176](https://github.com/ckeditor/ckeditor5-ui/issues/176). ([f38ae70](https://github.com/ckeditor/ckeditor5-ui/commit/f38ae70)) +* Align feature class naming to a new scheme. ([1c500f6](https://github.com/ckeditor/ckeditor5-ui/commit/1c500f6)) +* Aligned code to changes (`config.lang` to `config.languages`). Part of the Translation Service v2 ([ckeditor/ckeditor5#624](https://github.com/ckeditor/ckeditor5/issues/624)). ([876f681](https://github.com/ckeditor/ckeditor5-ui/commit/876f681)) +* ComponentFactory.names() will return original component names (instead of normalized names). Closes [#376](https://github.com/ckeditor/ckeditor5-ui/issues/376). ([b6b39d7](https://github.com/ckeditor/ckeditor5-ui/commit/b6b39d7)) +* CSS classes should be prefixed with `ck-` instead of `cke-`. Closes [#112](https://github.com/ckeditor/ckeditor5-ui/issues/112). ([7973f83](https://github.com/ckeditor/ckeditor5-ui/commit/7973f83)) +* Introduced `SplitButtonView` and new dropdown creation helpers (`createDropdown()`, `addListToDropdown()` and `addToolbarToDropdown()`) Closes [#344](https://github.com/ckeditor/ckeditor5-ui/issues/344). Closes [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). ([0f26ca8](https://github.com/ckeditor/ckeditor5-ui/commit/0f26ca8)) +* Migrated the package styles from SASS to PostCSS to bring theme support and avoid duplicates in some editor builds. Closes [#144](https://github.com/ckeditor/ckeditor5-ui/issues/144). Closes [ckeditor/ckeditor5#420](https://github.com/ckeditor/ckeditor5/issues/420). ([f152dfc](https://github.com/ckeditor/ckeditor5-ui/commit/f152dfc)) +* Moved ck-button-icon mixin from ckeditor5-theme-lark. ([8757d27](https://github.com/ckeditor/ckeditor5-ui/commit/8757d27)) +* Removed the `.ck-editor-toolbar` and `.ck-editor-toolbar-container` classes (see [ckeditor/ckeditor5-theme-lark#135](https://github.com/ckeditor/ckeditor5-theme-lark/issues/135)). ([352d056](https://github.com/ckeditor/ckeditor5-ui/commit/352d056)) +* Rename `ContextualToolbar` to `BalloonToolbar`. Closes [ckeditor/ckeditor5#550](https://github.com/ckeditor/ckeditor5/issues/550). ([28f59df](https://github.com/ckeditor/ckeditor5-ui/commit/28f59df)) +* The `closeDropdownOnBlur()` helper should use `clickOutsideHandler()`. Decorated the `View#render()` method. Closes [#311](https://github.com/ckeditor/ckeditor5-ui/issues/311). ([269e97b](https://github.com/ckeditor/ckeditor5-ui/commit/269e97b)) +* Updated translations. ([f657be2](https://github.com/ckeditor/ckeditor5-ui/commit/f657be2)) + +### BREAKING CHANGES + +* Renamed `contextual/contextualtoolbar~ContextualToolbar` to `balloon/balloontoolbar~BalloonToolbar`. +* Renamed `contextualToolbar` configuration option to `balloonToolbar`. +* Removed `DropdownModel` interface – you can use dropdown properties directly now. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* Removed `createButtonDropdown()` and `ButtonDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* Removed `createListDropdown()` and `ListDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* The DOM structure of the dropdown component has changed. Please refer to the documentation to find out more. +* Basic properties of the balloon panel component have changed (i.e. the location of the arrow, the default positions), which may have an impact on existing integrations. +* The styles are no longer developed in SASS which means the `.scss` files became unavailable. Please refer to the [Theme Customization](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/ui/theme-customization.html) guide to learn more about migration to PostCSS. + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Bug fixes + +* `Template#getViews()` generator should not traverse native HTML elements. Closes [#337](https://github.com/ckeditor/ckeditor5-ui/issues/337). Closes [ckeditor/ckeditor5#657](https://github.com/ckeditor/ckeditor5/issues/657). ([894bad0](https://github.com/ckeditor/ckeditor5-ui/commit/894bad0)) +* Improved binding of the `value` attribute in `InputTextView`. Closes [#335](https://github.com/ckeditor/ckeditor5-ui/issues/335). ([823120b](https://github.com/ckeditor/ckeditor5-ui/commit/823120b)) + +### Other changes + +* Implemented `View#render()` method which replaces rendering the `#element` upon the first access and incorporates the `#init()` method functionality. Closes [#262](https://github.com/ckeditor/ckeditor5-ui/issues/262). Closes [#302](https://github.com/ckeditor/ckeditor5-ui/issues/302). ([bf90ad5](https://github.com/ckeditor/ckeditor5-ui/commit/bf90ad5)) + + In other words – the `View#render()` method needs to be called to render a view and it sets the `View#element` itself. It can be called only once and it is done automatically if a view is added to some other view (as its child). If you need to add any additional logic to your component's initialization, then override the `render()` method (and remember to call `super.render()`). + + Additionally, from now on `View#setTemplate()` and `View#extendTemplate()` methods are recommended as a shorthand for `view.template = new Template( { ... } )` and `Template.extend( view.template )`. + + Please refer to the updated [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#ui-library) to learn more. +* Removed legacy `width` and `height` attributes from the `BoxedEditorUIView`. Closes [#25](https://github.com/ckeditor/ckeditor5-ui/issues/25). ([ffa419a](https://github.com/ckeditor/ckeditor5-ui/commit/ffa419a)) +* The `ComponentFactory` should be case-insensitive. Closes [#324](https://github.com/ckeditor/ckeditor5-ui/issues/324). ([94417e9](https://github.com/ckeditor/ckeditor5-ui/commit/94417e9)) +* Updated translations. ([186f365](https://github.com/ckeditor/ckeditor5-ui/commit/186f365)) + +### BREAKING CHANGES + +* The `View#init()` method in UI components has been renamed to `render()`. Please refer to the [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#UI-library) to learn more. +* The `View#element` is no longer a getter which renders an element when first referenced. Use the `View#render()` method instead. +* `Template#children` property became an `Array` (previously `ViewCollection`). +* `View#addChildren()` and `View#removeChildren()` methods became `#registerChildren()` and `#deregisterChildren()`. +* The DOM structure of the `StickyPanelView` has changed along with the class names. Please refer to the component documentation to learn more. + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.10.0...v1.0.0-alpha.1) (October 3, 2017) + +### Bug fixes + +* `ContextualBalloon` should remember position passed to `#updatePosition()`. Closes [#305](https://github.com/ckeditor/ckeditor5-ui/issues/305). Closes [ckeditor/ckeditor5-image#141](https://github.com/ckeditor/ckeditor5-image/issues/141). ([c787c0d](https://github.com/ckeditor/ckeditor5-ui/commit/c787c0d)) +* `ContextualToolbar` should not be positioned to a zero–width DOM rect when invoked for a multi-line forward selection. Closes [#308](https://github.com/ckeditor/ckeditor5-ui/issues/308). ([00b701b](https://github.com/ckeditor/ckeditor5-ui/commit/00b701b)) +* `ContextualToolbar` will accept the object format of `config.contextualToolbar`. Closes [#316](https://github.com/ckeditor/ckeditor5-ui/issues/316). ([d71cad8](https://github.com/ckeditor/ckeditor5-ui/commit/d71cad8)) +* Fixed sticky panel's `z-index` so it is correctly rendered above images (or other relatively positioned elements). Closes [#315](https://github.com/ckeditor/ckeditor5-ui/issues/315). ([00f2add](https://github.com/ckeditor/ckeditor5-ui/commit/00f2add)) +* The content of the `BalloonPanelView` should be selectable. Closes [#294](https://github.com/ckeditor/ckeditor5-ui/issues/294). Closes https://github.com/ckeditor/ckeditor5/issues/498. ([e5315df](https://github.com/ckeditor/ckeditor5-ui/commit/e5315df)) + +### Features + +* Implemented `View#removeChildren()`, the opposite of `View#addChildren()`. Closes [#303](https://github.com/ckeditor/ckeditor5-ui/issues/303). ([0f1ea5a](https://github.com/ckeditor/ckeditor5-ui/commit/0f1ea5a)) +* Replaced `StickyToolbarView` with a generic `StickyPanelView`. Closes [#297](https://github.com/ckeditor/ckeditor5-ui/issues/297). ([b10b43c](https://github.com/ckeditor/ckeditor5-ui/commit/b10b43c)) + +### Other changes + +* `ToolbarView#fillFromConfig()` will warn when the factory does not provide a component. Closes [#291](https://github.com/ckeditor/ckeditor5-ui/issues/291). Closes [ckeditor/ckeditor5#526](https://github.com/ckeditor/ckeditor5/issues/526). ([2e63e70](https://github.com/ckeditor/ckeditor5-ui/commit/2e63e70)) +* The `escPressHandler` function should be replaced by the `KeystrokeHandler`. Closes [#150](https://github.com/ckeditor/ckeditor5-ui/issues/150). ([b322744](https://github.com/ckeditor/ckeditor5-ui/commit/b322744)) + +### BREAKING CHANGES + +* `Toolbar#fillFromConfig()` cannot be now called with an `undefined`. Make sure to use `normalizeToolbarConfig()` to get a reliable object. +* The `escPressHandler` is no longer available. Please +refer to the `KeystrokeHandler` helper to learn more. +* The `StickyToolbarView` and corresponding CSS `.ck-sticky-panel` classes are no longer available. `StickyPanelView` + `ToolbarView` combo should be used instead. + + +## [0.10.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.9.0...v0.10.0) (September 3, 2017) + +### Bug fixes + +* `ContextualToolbar` should have proper editor toolbar styling. Closes [#230](https://github.com/ckeditor/ckeditor5-ui/issues/230). ([4e2ee36](https://github.com/ckeditor/ckeditor5-ui/commit/4e2ee36)) +* BalloonPanelView should prevent native #selectstart event. Closes [#243](https://github.com/ckeditor/ckeditor5-ui/issues/243). ([cba3fb1](https://github.com/ckeditor/ckeditor5-ui/commit/cba3fb1)) +* Button tooltip should not look blurry on low-DPI screens. Closes [#142](https://github.com/ckeditor/ckeditor5-ui/issues/142). Closes [#133](https://github.com/ckeditor/ckeditor5-ui/issues/133). ([a497aff](https://github.com/ckeditor/ckeditor5-ui/commit/a497aff)) +* Clicking and dragging in a dropdown panel should not break the selection. Closes [#228](https://github.com/ckeditor/ckeditor5-ui/issues/228). ([6066a09](https://github.com/ckeditor/ckeditor5-ui/commit/6066a09)) +* Contextual toolbar should re–position correctly on window scroll. Closes [#227](https://github.com/ckeditor/ckeditor5-ui/issues/227). ([e5ea25f](https://github.com/ckeditor/ckeditor5-ui/commit/e5ea25f)) +* `DropdownView` should open upon arrow down key press. Closes [#249](https://github.com/ckeditor/ckeditor5-ui/issues/249). ([c1e6afc](https://github.com/ckeditor/ckeditor5-ui/commit/c1e6afc)) +* List items should handle Enter and Space key press when focused. Closes [#153](https://github.com/ckeditor/ckeditor5-ui/issues/153). ([403b64a](https://github.com/ckeditor/ckeditor5-ui/commit/403b64a)) +* The `clickOutsideHandler` helper should use `mousedown` instead of `mouseup` event. Closes [#281](https://github.com/ckeditor/ckeditor5-ui/issues/281). ([6b980b6](https://github.com/ckeditor/ckeditor5-ui/commit/6b980b6)) +* The `Template` class should not throw an error when a child view in the definition has an `id` attribute set without a value. Closes [#289](https://github.com/ckeditor/ckeditor5-ui/issues/289). ([d7072ba](https://github.com/ckeditor/ckeditor5-ui/commit/d7072ba)) +* The `TooltipView` should hide when the `TooltipView#text` is empty. The `ButtonView's` ability to get a tooltip should not be restricted after `View` initialization. Closes [#283](https://github.com/ckeditor/ckeditor5-ui/issues/283). ([1588c82](https://github.com/ckeditor/ckeditor5-ui/commit/1588c82)) +* The dropdown menu should not open using the keyboard when disabled. Closes [#238](https://github.com/ckeditor/ckeditor5-ui/issues/238). ([fc524b8](https://github.com/ckeditor/ckeditor5-ui/commit/fc524b8)) + +### Features + +* `StickyToolbarView` now supports a configurable vertical offset from the top of the page. Closes [#277](https://github.com/ckeditor/ckeditor5-ui/issues/277). ([245f0fa](https://github.com/ckeditor/ckeditor5-ui/commit/245f0fa)) + + Also implemented the `normalizeToolbarConfig()` utility. +* Added `TextInputView#isReadOnly` and `LabeledInputView#isReadOnly` states. Closes [#266](https://github.com/ckeditor/ckeditor5-ui/issues/266). Closes [#268](https://github.com/ckeditor/ckeditor5-ui/issues/268). ([111a728](https://github.com/ckeditor/ckeditor5-ui/commit/111a728)) +* Added optional notification title. Closes [#241](https://github.com/ckeditor/ckeditor5-ui/issues/241). ([abbb68f](https://github.com/ckeditor/ckeditor5-ui/commit/abbb68f)) +* Allowed `BalloonPanelView` position limiter defined as a function. Made `ContextualBalloon` position limiter configurable via `#positionLimiter` property. Closes [#260](https://github.com/ckeditor/ckeditor5-ui/issues/260). ([322563e](https://github.com/ckeditor/ckeditor5-ui/commit/322563e)) +* Implemented placeholder in `InputTextView`. Closes [#220](https://github.com/ckeditor/ckeditor5-ui/issues/220). ([5d91d18](https://github.com/ckeditor/ckeditor5-ui/commit/5d91d18)) +* Introduced `CommandFactory#names()`. Closes [#287](https://github.com/ckeditor/ckeditor5-ui/issues/287). ([4038da2](https://github.com/ckeditor/ckeditor5-ui/commit/4038da2)) + +### Other changes + +* Add support for multiple context elements in the `clickOutsideHandler` helper. Closes [#261](https://github.com/ckeditor/ckeditor5-ui/issues/261). ([9da5bf7](https://github.com/ckeditor/ckeditor5-ui/commit/9da5bf7)) +* Added the `beforeShow` event to the `ContextualToolbar` plugin. Closes [#222](https://github.com/ckeditor/ckeditor5-ui/issues/222). ([835d0ac](https://github.com/ckeditor/ckeditor5-ui/commit/835d0ac)) +* Implemented public `show()` and `hide()` methods in the `ContextualToolbar` plugin. Closes [#263](https://github.com/ckeditor/ckeditor5-ui/issues/263). ([eb4caab](https://github.com/ckeditor/ckeditor5-ui/commit/eb4caab)) +* Improvements in the `BalloonPanelView`–based components for the balloon toolbar editor. Closes [#236](https://github.com/ckeditor/ckeditor5-ui/issues/236). Closes [#234](https://github.com/ckeditor/ckeditor5-ui/issues/234). Closes [#224](https://github.com/ckeditor/ckeditor5-ui/issues/224). ([737b55f](https://github.com/ckeditor/ckeditor5-ui/commit/737b55f)) +* Made the UI component initialization and destruction processes synchronous. Closes [#225](https://github.com/ckeditor/ckeditor5-ui/issues/225). ([07e1502](https://github.com/ckeditor/ckeditor5-ui/commit/07e1502)) +* Made the UI destruction a fail–safe, repeatable process. Closes [#248](https://github.com/ckeditor/ckeditor5-ui/issues/248). ([6f5ec0d](https://github.com/ckeditor/ckeditor5-ui/commit/6f5ec0d)) +* The `ContextualToolbar` should not show up when all child items are disabled. The `ContextualToolbar#beforeShow` event has been replaced by `ContextualToolbar#show`. Closes [#269](https://github.com/ckeditor/ckeditor5-ui/issues/269). Closes [#232](https://github.com/ckeditor/ckeditor5-ui/issues/232). ([d83d07d](https://github.com/ckeditor/ckeditor5-ui/commit/d83d07d)) + +### BREAKING CHANGES + +* `StickyToolbarView#limiterOffset` has been renamed to `StickyToolbarView#limiterBottomOffset`. +* `ContextualToolbar#beforeShow` is no longer available. Please refer to `ContextualToolbar#show` instead. +* The `clickOutsideHandler` helper's `contextElement` config option is now an `Array` named `contextElements`. +* `View#init()`, `View#destroy()` (also `ViewCollection#init()`, `ViewCollection#destroy()` and `ViewCollection#add()`) no longer return `Promise`. It may require updates in UI components which inherit from `View` and rely on the value returned by these methods. +* Various UI components switched to synchronous `init()` and `destroy()` (no longer returning `Promise`), which means that features using these components may need some updates to work properly. +* The position names in `BalloonPanelView.defaultPositions` and their results have changed. Please refer to the latest API documentation to learn more. + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.8.0...v0.9.0) (May 7, 2017) + +### Bug fixes + +* `BalloonPanelView` should not be focusable. Closes [#206](https://github.com/ckeditor/ckeditor5-ui/issues/206). ([f9e3bb7](https://github.com/ckeditor/ckeditor5-ui/commit/f9e3bb7)) + + T/206a: BalloonPanelView should not be focusable +* ContextualBalloon plugin should use BalloonPanelView#pin instead of #attachTo. Closes [#192](https://github.com/ckeditor/ckeditor5-ui/issues/192). ([28dd457](https://github.com/ckeditor/ckeditor5-ui/commit/28dd457)) +* ContextualBalloon.view#element should be registered in editor's focus tracker. Closes [#193](https://github.com/ckeditor/ckeditor5-ui/issues/193). ([cfbe329](https://github.com/ckeditor/ckeditor5-ui/commit/cfbe329)) +* FocusCycler should ignore invisible views. Closes [#209](https://github.com/ckeditor/ckeditor5-ui/issues/209). ([b8fbaf1](https://github.com/ckeditor/ckeditor5-ui/commit/b8fbaf1)) + + T/209: FocusCycler should not consider invisible views. +* ViewCollection#destroy should wait for all ViewCollection#add promises to resolve to avoid errors. Closes [#203](https://github.com/ckeditor/ckeditor5-ui/issues/203). ([a7e7c94](https://github.com/ckeditor/ckeditor5-ui/commit/a7e7c94)) + +### Features + +* Added keepAttachedTo() method to the BalloonPanelView. Closes [#170](https://github.com/ckeditor/ckeditor5-ui/issues/170). ([101b465](https://github.com/ckeditor/ckeditor5-ui/commit/101b465)) +* Introduced `ContextualToolbar` plugin. Closes [#182](https://github.com/ckeditor/ckeditor5-ui/issues/182). Closes [#187](https://github.com/ckeditor/ckeditor5-ui/issues/187). ([66a30b1](https://github.com/ckeditor/ckeditor5-ui/commit/66a30b1)) + + Introduced several new positions in `BalloonPanelView#defaultPositions`. Added `className` attribute to the `BalloonPanelView` interface. + + BREAKING CHANGE: Default positions of the `BalloonPanelView` have been renamed. + + BREAKING CHANGE: Class names controlling the arrow of the panel have been renamed. +* Introduced ContextualBalloon plugin for managing contextual balloons. Closes [#134](https://github.com/ckeditor/ckeditor5-ui/issues/134). ([3ceb6a6](https://github.com/ckeditor/ckeditor5-ui/commit/3ceb6a6)) +* Introduced notification plugin. Closes [#189](https://github.com/ckeditor/ckeditor5-ui/issues/189). ([f2dd63f](https://github.com/ckeditor/ckeditor5-ui/commit/f2dd63f)) + +### Other changes + +* Improved ContextualBalloon so it supports asynchronous Views. Closes [#200](https://github.com/ckeditor/ckeditor5-ui/issues/200). ([09067aa](https://github.com/ckeditor/ckeditor5-ui/commit/09067aa)) +* Merged `FloatingPanelView` into `BalloonPanelView`. Closes [#191](https://github.com/ckeditor/ckeditor5-ui/issues/191). ([4b90faa](https://github.com/ckeditor/ckeditor5-ui/commit/4b90faa)) + + BREAKING CHANGE: `FloatingPanelView` is no longer available. + BREAKING CHANGE: `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`. + BREAKING CHANGE: Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`. +* Updated translations. ([3455fe7](https://github.com/ckeditor/ckeditor5-ui/commit/3455fe7)) + +### BREAKING CHANGES + +* Default positions of the `BalloonPanelView` have been renamed. +* Class names controlling the arrow of the panel have been renamed. +* `FloatingPanelView` is no longer available. +* `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`. +* Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`. + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.1...v0.8.0) (April 5, 2017) + +### Features + +* Allowed marking ListItemView active using the #isActive attribute. Closes [#166](https://github.com/ckeditor/ckeditor5-ui/issues/166). ([a19d6c4](https://github.com/ckeditor/ckeditor5-ui/commit/a19d6c4)) +* Enabled styling via "class" attribute in ListItemView. Closes [#162](https://github.com/ckeditor/ckeditor5-ui/issues/162). ([672bf82](https://github.com/ckeditor/ckeditor5-ui/commit/672bf82)) +* Implemented features necessary for creating inline editors UI – `FloatingPanelView` class, `Template.revert()` method and `enableToolbarKeyboardFocus()` util. Closes [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152). ([cb606d7](https://github.com/ckeditor/ckeditor5-ui/commit/cb606d7)) + +### Other changes + +* `ComponentFactory` will throw an error when attempting to create a non-existent component. Closes [#174](https://github.com/ckeditor/ckeditor5-ui/issues/174). ([ef0a7f8](https://github.com/ckeditor/ckeditor5-ui/commit/ef0a7f8)) +* Imported "ck-hidden" CSS class from ckeditor5-theme-lark. Closes [#164](https://github.com/ckeditor/ckeditor5-ui/issues/164). ([486bb22](https://github.com/ckeditor/ckeditor5-ui/commit/486bb22)) +* Moved `ViewCollection#bindTo` method to `Collection` class in `ckeditor5-utils`. Closes [#168](https://github.com/ckeditor/ckeditor5-ui/issues/168). ([5b55987](https://github.com/ckeditor/ckeditor5-ui/commit/5b55987)) +* Updated translations. ([3b27e51](https://github.com/ckeditor/ckeditor5-ui/commit/3b27e51)) + +### BREAKING CHANGES + +* `ViewCollection#bindTo.as` is renamed to `Collection#bindTo.using` when mapping function is a parameter. See`Collection#bindTo` docs. +* The `ui/balloonpanel/balloonpanelview` module was renamed to `ui/panel/balloon/balloonpanelview`. See [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152). + + +## [0.7.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.0...v0.8.0) (March 6, 2017) + +### Bug fixes + +* Removed title from the editable element. Fixes [#121](https://github.com/ckeditor/ckeditor5/issues/121). ([71fb3eb](https://github.com/ckeditor/ckeditor5-ui/commit/71fb3eb)) + +### Features + +* Added support for toolbar item separators. Closes [#154](https://github.com/ckeditor/ckeditor5/issues/154). ([f3cb75d](https://github.com/ckeditor/ckeditor5-ui/commit/f3cb75d)) + +### Other changes + +* Uploaded translations. ([67ba32b](https://github.com/ckeditor/ckeditor5-ui/commit/67ba32b)) diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/LICENSE.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/LICENSE.md new file mode 100644 index 00000000..41a1615f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/LICENSE.md @@ -0,0 +1,21 @@ +Software License Agreement +========================== + +**CKEditor 5 UI framework** – https://github.com/ckeditor/ckeditor5-ui
    +Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): + +* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/README.md b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/README.md new file mode 100644 index 00000000..dc38c86a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/README.md @@ -0,0 +1,20 @@ +CKEditor 5 UI framework +=========================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ui.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements a simple UI framework and CKEditor 5's standard UI library. + +## Demo + +Check out the [editor toolbar demo](https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html#demo) and [block toolbar demo](https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/blocktoolbar.html#demo) in CKEditor 5 documentation. + +## Documentation + +See the [`@ckeditor/ckeditor5-ui` package](https://ckeditor.com/docs/ckeditor5/latest/api/ui.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json new file mode 100644 index 00000000..f68952bd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + { + "name": "Block toolbar", + "className": "BlockToolbar", + "description": "Provides an additional configurable toolbar on the left-hand side of the content area, next to the selected block element. It comes in handy when the main editor toolbar cannot be accessed.", + "docs": "features/toolbar/blocktoolbar.html", + "path": "src/toolbar/block/blocktoolbar.js" + } + ] +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/contexts.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/contexts.json new file mode 100644 index 00000000..8e16cdb3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/contexts.json @@ -0,0 +1,32 @@ +{ + "Rich Text Editor": "Title of the CKEditor5 editor.", + "Editor editing area: %0": "Accessible label of the specific editing area belonging to a container with an ARIA application role.", + "Edit block": "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Click to edit block": "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Drag to move": "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Next": "Label for a button showing the next thing (tab, page, etc.).", + "Previous": "Label for a button showing the previous thing (tab, page, etc.).", + "Editor toolbar": "Label used by assistive technologies describing a generic editor toolbar.", + "Dropdown toolbar": "Label used by assistive technologies describing a toolbar displayed inside a dropdown.", + "Black": "Label of a button that applies a black color in color pickers.", + "Dim grey": "Label of a button that applies a dim grey color in color pickers.", + "Grey": "Label of a button that applies a grey color in color pickers.", + "Light grey": "Label of a button that applies a light grey color in color pickers.", + "White": "Label of a button that applies a white color in color pickers.", + "Red": "Label of a button that applies a red color in color pickers.", + "Orange": "Label of a button that applies a orange color in color pickers.", + "Yellow": "Label of a button that applies a yellow color in color pickers.", + "Light green": "Label of a button that applies a light green color in color pickers.", + "Green": "Label of a button that applies a green color in color pickers.", + "Aquamarine": "Label of a button that applies a aquamarine color in color pickers.", + "Turquoise": "Label of a button that applies a turquoise color in color pickers.", + "Light blue": "Label of a button that applies a light blue color in color pickers.", + "Blue": "Label of a button that applies a blue color in color pickers.", + "Purple": "Label of a button that applies a purple color in color pickers.", + "Editor block content toolbar": "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs).", + "Editor contextual toolbar": "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret).", + "HEX": "Label of an input field for typing colors in the HEX color format.", + "Accept": "Label of the button closing the color picker and confirming the changes done in the color selector component.", + "No results found": "The main text of the message shown to the user when given query does not match any results.", + "No searchable items": "The main text of the message shown to the user when no results are available." +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ar.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ar.po new file mode 100644 index 00000000..3623e85f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ar.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "معالج نصوص" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "منطقة تحرير المحرر: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "كتلة التحرير" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "انقر لتحرير الوحدة التجميعية" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "اسحب للنقل" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "التالي" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "السابق" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "شريط أدوات المحرر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "شريط أدوات القائمة المنسدلة" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "أسود" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "رمادي خافت" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "رمادي" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "رمادي فاتح" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "أبيض" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "أحمر" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "برتقالي" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "أصفر" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "أخضر فاتح" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "أخضر" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "أخضر زبرجد" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فيروزي" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "أزرق فاتح" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "أزرق" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "أرجواني" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "شريط المحرر لأدوات كتلة المحتوى" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "شريط المحرر للأدوات السياقية" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "لون سداسي عشري" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "قبول" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "لم يتم العثور على نتائج" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "لا توجد عناصر قابلة للبحث متاحة" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ast.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ast.po new file mode 100644 index 00000000..2a550bcb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ast.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Asturian (https://app.transifex.com/ckeditor/teams/11143/ast/)\n" +"Language: ast\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de testu arriquecíu" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/az.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/az.po new file mode 100644 index 00000000..b8f60ebf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/az.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Redaktoru" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redaktə etmək bloku" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Növbəti" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Əvvəlki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktorun paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açılan paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Qara" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tünd boz" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Boz" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açıq boz" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ağ" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Qırmızı" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narıncı" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sarı" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açıq yaşıl" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yaşıl" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Firuzəyi" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açıq mavi" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mavi" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Bənövşəyi" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bg.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bg.po new file mode 100644 index 00000000..639cba78 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bg.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Богат текстов редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Зона за редактиране на редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редактирай блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Кликнете, за да редактирате блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Плъзнете за преместване" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следващ" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Предишен" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Лента за редакция" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Лента с падащо меню" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Черен" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Тъмно сив" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сив" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло сив" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Бял" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Червен" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Оранжев" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жълт" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Светло зелен" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелен" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамарин" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Тюркоазен" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Светло син" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Син" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Лилав" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Лента с инструменти за блокиране на съдържанието на редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстна лента с инструменти на редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "НЕХ" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Приемане" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Няма намерени резултати" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Няма елементи за търсене" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bn.po new file mode 100644 index 00000000..5b04d77a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/bn.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "রিচ টেক্সট এডিটর" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "সম্পাদক সম্পাদনার ক্ষেত্র: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "এডিট ব্লক" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "ব্লক এডিট করতে ক্লিক করুন" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "সরানোর জন্য টেনে আনুন" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "পরবর্তী" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "পূর্ববর্তী" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "সম্পাদক টুলবার" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "ড্রপডাউন টুলবার" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "কালো" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "আবছা ধূসর" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "ধূসর" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "হালকা ধূসর" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "সাদা" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "লাল" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "কমলা" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "হলুদ " + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "হালকা সবুজ" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "সবুজ" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "ফেকাশে সবুজবর্ণ" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "ফিরোজা" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "হালকা নীল" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "নীল " + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "বেগুনি" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "সম্পাদক ব্লক কন্টেন্ট টুলবার" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "সম্পাদক প্রাসঙ্গিক টুলবার" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "গ্রহণ করুন" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "কোন ফলাফল পাওয়া যায়নি" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "কোনো অনুসন্ধানযোগ্য আইটেম নেই" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ca.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ca.po new file mode 100644 index 00000000..5fbd8701 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ca.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de text enriquit" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Àrea d'edició d'editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Fes clic per editar el bloc" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrossega per moure" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Següent" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra d'eines de l'editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra d'eines desplegable" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negre" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris fosc" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris clar" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanc" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermell" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Taronja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Groc" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verd clar" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verd" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aiguamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Blau clar" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blau" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra d'eines de contingut del bloc de l'editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra d'eines contextual de l'editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accepta" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Sense resultats" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No hi ha elements de cerca" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/cs.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/cs.po new file mode 100644 index 00000000..fbd30f3e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/cs.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Textový editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editační oblast editoru: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Upravit blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknutím upravíte blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Přesuňte potažením" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Další" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Předchozí" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Panel nástrojů editoru" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rozbalovací panel nástrojů" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Černá" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tmavě šedá" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Šedá" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Světle šedá" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bílá" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Červená" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžová" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žlutá" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Světle zelená" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelená" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarínová" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tyrkysová" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Světle modrá" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modrá" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Fialová" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Panel nástrojů obsahu bloku editoru" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontextový panel nástrojů editoru" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Přijmout" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenalezeny žádné výsledky" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Žádné položky k vyhledání" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/da.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/da.po new file mode 100644 index 00000000..7c22bf6b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/da.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Wysiwyg editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redigeringsområde: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redigér blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik for at redigere blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Træk for at flytte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Næste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Forrige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor værktøjslinje" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown værktøjslinje" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Sort" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkel grå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lys grå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Hvid" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rød" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gyl" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lys grøn" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grøn" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Marineblå" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lys blå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redigeringskasse indholdsværktøjslinje" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstuel værktøjslinje til redigeringsprogram" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Hex" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accepter" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Ingen resultater blev fundet" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ingen søgbare artikler" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po new file mode 100644 index 00000000..8131f5ce --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich-Text-Edito" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de.po new file mode 100644 index 00000000..9331b564 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/de.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Bearbeitungsbereich des Editors: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Absatz bearbeiten" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Zum Bearbeiten des Blocks klicken" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Zum Verschieben ziehen" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nächste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "vorherige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor Werkzeugleiste" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown-Liste Werkzeugleiste" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Schwarz" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkelgrau" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grau" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Hellgrau" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Weiß" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rot" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gelb" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hellgrün" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grün" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarinblau" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Hellblau" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blau" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violett" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor Blockinhalt-Toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor kontextuelle Toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Akzeptieren" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Keine Ergebnisse gefunden" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Keine durchsuchbaren Elemente" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/el.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/el.po new file mode 100644 index 00000000..8221bc73 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/el.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Επεξεργαστής εμπλουτισμένου κειμένου" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Περιοχή επεξεργασίας προγράμματος επεξεργασίας: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Επεξεργασία τμήματος" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Κάντε κλικ για να επεξεργαστείτε το μπλοκ" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Σύρετε για μετακίνηση" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Επόμενο" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Προηγούμενο" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Γραμμή εργαλείων επεξεργαστή" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Γραμμή εργαλείων αναδυόμενου μενού" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Μαύρο" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Θολό γκρι" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Γκρι" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Φωτινό γκρι" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Λευκό" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Κόκκινο" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Πορτοκαλί" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Κίτρινο" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Φωτινό πράσινο" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Πράσινο" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Ακουαμαρίνα" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Τιρκουάζ" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Φωτινό μπλε" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Μπλε" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Πορφυρό" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Γραμμή εργαλείων επεξεργασίας περιεχομένου αποκλεισμού" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Γραμμή εργαλείων επεξεργασίας συμφραζομένων" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Δεκαεξαδική μορφή χρωμάτων" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Αποδοχή" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Δεν βρέθηκαν αποτελέσματα" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Δεν υπάρχει δυνατότητα αναζήτησης στοιχείων" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-au.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-au.po new file mode 100644 index 00000000..287429d9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-au.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editor editing area: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor block content toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor contextual toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po new file mode 100644 index 00000000..f7bf1b95 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en.po new file mode 100644 index 00000000..ea68cc1e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/en.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editor editing area: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Click to edit block" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Drag to move" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor block content toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor contextual toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accept" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "No results found" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No searchable items" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eo.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eo.po new file mode 100644 index 00000000..f3ee918e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eo.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Esperanto (https://app.transifex.com/ckeditor/teams/11143/eo/)\n" +"Language: eo\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Redaktilo de Riĉa Teksto" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/es.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/es.po new file mode 100644 index 00000000..baf38f4b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/es.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de Texto Enriquecido" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edición del editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Cuadro de edición" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Haz clic para editar el bloque" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastra para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Siguiente" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de herramientas de edición" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de herramientas desplegable" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negro" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris Oscuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris Claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rojo" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Anaranjado" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarillo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde Claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aguamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul Claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Morado" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de herramientas de contenido del bloque del editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de herramientas contextual del editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Aceptar" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "No se han encontrado resultados" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No hay elementos que buscar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/et.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/et.po new file mode 100644 index 00000000..cf7141a7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/et.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstiredaktor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktori redigeerimisala: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Muuda plokki" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Ploki muutmiseks klõpsa" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Liigutamiseks lohista" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Järgmine" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Eelmine" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktori tööriistariba" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Avatav tööriistariba" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Must" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tumehall" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Hall" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Helehall" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Valge" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Punane" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranž" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kollane" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Heleroheline" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Roheline" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamariin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkiis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Helesinine" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Sinine" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redigeerija ploki sisu tööriistariba" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redigeerija kontekstuaalne tööriistariba" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Nõustu" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tulemusi ei leitud" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tulemusi pole" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eu.po new file mode 100644 index 00000000..6fe1de95 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/eu.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Testu aberastuaren editorea" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fa.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fa.po new file mode 100644 index 00000000..8c479e1f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fa.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "ویرایشگر متن غنی" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ویرایش قطعه" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "بعدی" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "قبلی" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "نوارابزار ویرایشگر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "نوارابزار کشویی" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "سیاه" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "خاکستری تیره" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "خاکستری" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "خاکستری روشن" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سفید" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "قرمز" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "نارنجی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "زرد" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "سبز روشن" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سبز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "زمرد کبود" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فیروزه ای" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "آبی روشن" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "آبی" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "بنفش" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fi.po new file mode 100644 index 00000000..73d79c7c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fi.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rikas tekstieditori" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editorin muokkausalue: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Muokkaa lohkoa" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Muokkaa lohkoa klikkaamalla" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Siirrä raahamalla" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seuraava" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Edellinen" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editorin työkalupalkki" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Pudotusvalikon työkalupalkki" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Musta" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Vaaleanharmaa" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Harmaa" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Vaaleanharmaa" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Valkoinen" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Punainen" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranssi" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Keltainen" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Vaaleanvihreä" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Vihreä" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamariini" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkoosi" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Vaaleansininen" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Sininen" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purppura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editorin lohkon sisällön työkalupalkki" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editorin kontekstuaalinen työkalupalkki" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Hyväksy" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tuloksia ei löytynyt" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ei haettavia nimikkeitä" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fr.po new file mode 100644 index 00000000..55ee39ec --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/fr.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Éditeur de texte enrichi" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Zone d'édition de l'éditeur : %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Modifier le bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Cliquer pour modifier le bloc" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Faire glisser pour déplacer" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Suivant" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Précedent" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barre d'outils de l'éditeur" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barre d'outils dans un menu déroulant" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Noir" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris pâle" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris clair" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanc" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rouge" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Jaune" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Vert clair" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Vert" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Bleu vert" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Bleu clair" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Bleu" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violet" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barre d'outils du contenu du bloc éditeur" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barre d'outils contextuelle de l'éditeur" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accepter" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Aucun résultat trouvé" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Aucun élément consultable" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/gl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/gl.po new file mode 100644 index 00000000..7168bbea --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/gl.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de texto mellorado" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edición do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloque" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Prema para editar o bloque" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastre para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seguinte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de ferramentas do editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de ferramentas despregábel" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negro" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris fume" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermello" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranxa" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Augamariña" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Púrpura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de contido do bloque do editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual do editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Aceptar" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Non se atoparon resultados" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Non hai elementos que se poidan buscar" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/he.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/he.po new file mode 100644 index 00000000..25dffacd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/he.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "עורך טקסט עשיר" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "אזור עריכה של העורך: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "הגדרות בלוק" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "להקיש לעריכת בלוק" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "לגרור כדי להזיז" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "הבא" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "הקודם" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "סרגל הכלים" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "סרגל כלים נפתח" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "שחור" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "אפור עמום" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "אפור" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "אפור בהיר" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "לבן" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "אדום" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "כתום" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "צהוב" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ירוק בהיר" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "ירוק" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "ירוק-כחלחל" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "טורקיז" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "כחול בהיר" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "כחול" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "סגול" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "סרגל כלים של תוכן בלוק של העורך" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "סרגל כלים הקשרי של העורך" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "קבל" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "לא נמצאו תוצאות" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "אין פריטים ניתנים לחיפוש" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hi.po new file mode 100644 index 00000000..291030c9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hi.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "संपादक संपादन क्षेत्र: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "ब्लॉक एडिट करने के लिए क्लिक करें" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "मूव करने के लिए ड्रैग करें" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "एडीटर ब्लॉक कंटेंट टूलबार" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "एडीटर कॉन्टेक्स्टूअल टूलबार" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "स्वीकार करें" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "कोई रिजल्ट नहीं" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "कोई खोजने लायक आइटम नहीं" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hr.po new file mode 100644 index 00000000..37a8128d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hr.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Područje Editora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Uredi blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sljedeći" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Prethodni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Traka uređivača" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Traka padajućeg izbornika" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Crna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tamnosiva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svijetlosiva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bijela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Crvena" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narančasta" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žuta" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svijetlozelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svijetloplava" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Plava" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ljubičasta" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Alatna traka sadržaja uređivača blokova" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstualna alatna traka uređivača" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Prihvati" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hu.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hu.po new file mode 100644 index 00000000..39aa7b24 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/hu.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Bővített szövegszerkesztő" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Szerkesztő szerkesztési területe: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blokk szerkesztése" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kattintson a blokk szerkesztéséhez" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Húzza a mozgatáshoz" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Következő" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Előző" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Szerkesztő eszköztár" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Lenyíló eszköztár" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Fekete" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Halvány szürke" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Szürke" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Világosszürke" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Fehér" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Piros" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narancs" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sárga" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Világoszöld" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zöld" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Kékeszöld" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkiz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Világoskék" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Kék" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Szerkesztő - tartalomblokk eszköztár" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Szerkesztő - szövegre vonatkozó eszköztár" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX színkód" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Elfogad" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nincs találat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nincsenek kereshető elemek" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/id.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/id.po new file mode 100644 index 00000000..f1a8a573 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/id.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor Teks Kaya" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Area edit editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Sunting blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik untuk mengedit blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Seret untuk memindahkan" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Berikutnya" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Sebelumnya" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Alat editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Alat dropdown" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Hitam" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Kelabu gelap" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kelabu" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Kelabu terang" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Putih" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Merah" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Jingga" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kuning" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hijau terang" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Hijau" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Biru laut" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkish" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Biru terang" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Biru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ungu" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bilah alat konten blok editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bilah alat kontekstual editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Setuju" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Hasil tidak ditemukan" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tidak ada item yang dapat dicari" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/it.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/it.po new file mode 100644 index 00000000..f11878b6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/it.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor di testo formattato" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Area di modifica dell'editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Modifica blocco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clicca per modificare il blocco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Trascina per spostare" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Avanti" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Indietro" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra degli strumenti dell'editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra degli strumenti del menu a discesa" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Nero" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Grigio tenue" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grigio" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Grigio chiaro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bianco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rosso" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Arancio" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Giallo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde chiaro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turchese" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azzurro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blu" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Porpora" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra degli strumenti contestuale dell'editor del blocco" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra degli strumenti contestuale dell'editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accetta" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nessun risultato trovato" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nessun elemento ricercabile" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ja.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ja.po new file mode 100644 index 00000000..f2ac2301 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ja.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "リッチテキストエディター" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "エディタ編集エリア:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ブロックを編集" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "クリックしてブロックを編集する" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "ドラッグして動かす" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "次へ" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "前へ" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "エディタツールバー" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "ドロップダウンツールバー" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黒" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "暗い灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "明るい灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "赤" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "オレンジ" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黄" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "明るい緑" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "緑" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "薄い青緑" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "水色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "明るい青" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "青" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "エディター ブロック コンテンツ ツールバー" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "エディター コンテクスト ツールバー" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "同意します" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "結果は見つかりませんでした" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "検索可能なアイテムがありません" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/km.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/km.po new file mode 100644 index 00000000..50c5b4e0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/km.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/kn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/kn.po new file mode 100644 index 00000000..147a74d9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/kn.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍‍" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ko.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ko.po new file mode 100644 index 00000000..00f3dccc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ko.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "서식 있는 텍스트 편집기" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "편집기 편집 영역: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "편집 영역" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "클릭하여 블록 편집" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "드래그하여 이동" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "다음" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "이전" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "편집기 툴바" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "드롭다운 툴바" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "검은색" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "진한 회색" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "회색" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "밝은 회색" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "흰색" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "빨간색" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "주황색" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "노랑색" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "연한 초록색" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "초록색" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "연한 청록색" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "청록색" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "연한 파랑색" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "파랑색" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "보라색" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "편집기 영역 내용 툴바" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "편집기 문맥 툴바" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "수락" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "결과 찾을 수 없음" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "검색 가능한 항목 없음" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ku.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ku.po new file mode 100644 index 00000000..12df0546 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ku.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "سەرنوسەری دەقی بەپیت" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "دەستکاری بلۆک" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "دواتر" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "پێشتر" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "تووڵامرازی دەسکاریکەر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "تووڵامرازی لیستەیی" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "ڕەش" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "ڕەساسی تاریک" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "ڕەساسی" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ڕەساسی ڕووناک" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سپی" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "سور" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "پرتەقاڵی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "زەرد" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "سەوزی ڕووناک" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سەوز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "شینی دەریایی" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "شینی ئاسمانی" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "شینی ڕووناک" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "شین" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "مۆر" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lt.po new file mode 100644 index 00000000..0d91be76 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lt.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Raiškiojo teksto redaktorius" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktoriaus redagavimo sritis: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redaguoti bloką" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Spustelėkite norėdami redaguoti bloką" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Vilkite, kad perkeltumėte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Kitas" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Buvęs" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktoriaus įrankių juosta" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Įrankių juosta pasirenkamajame sąraše" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Juoda" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Pilkšva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Pilka" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Šviesiai pilka" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Balta" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Raudona" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžinė" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Geltona" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Šviesiai žalia" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Žalia" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkio" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Šviesiai mėlyna" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mėlyna" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violetinė" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redaktoriaus bloko turinio įrankių juosta" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redaktoriaus kontekstinė įrankių juosta" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Šešioliktainė reikšmė (angl. HEX)" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Priimti" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nieko nerasta" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nėra paieškos elementų" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lv.po new file mode 100644 index 00000000..4b737ae3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/lv.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Bagātinātais Teksta Redaktors" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktora rediģēšanas zona: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Labot bloku" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Noklikšķiniet, lai rediģētu sadaļu" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Velciet, lai pārvietotu" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nākamā" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Iepriekšējā" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktora rīkjosla" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Papildus izvēlnes rīkjosla" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Melns" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Blāvi pelēks" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Pelēks" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gaiši pelēks" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Balts" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Sarkans" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžs" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Dzeltens" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Gaiši zaļš" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zaļš" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarīns" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkīza" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Gaiši zils" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Zils" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violets" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Rediģēšanas bloka satura rīkjosla" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redaktora konteksta rīkjosla" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX Krāsu kods" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Apstiprināt" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nekas nav atrasts" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nav meklējamu vienumu" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ms.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ms.po new file mode 100644 index 00000000..aa97711a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ms.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Penyunting Teks Kaya" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Ruang suntingan editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Sunting blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik untuk menyunting sekatan" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Seret untuk menggerakkan" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seterusnya" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Sebelumnya" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Bar alat capaian suntingan" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Bar alat capaian tetingkap" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Hitam" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Kelabu malap" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kelabu" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Kelabu cerah" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Putih" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Merah" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oren" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kuning" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hijau cerah" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Hijau" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Firus" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Biru cerah" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Biru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ungu" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bar alat sekat kandungan editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bar alat kontekstual editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Terima" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tiada keputusan ditemui" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tiada item untuk dicari" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nb.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nb.po new file mode 100644 index 00000000..9c1a8b8f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nb.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rikteksteditor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ne.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ne.po new file mode 100644 index 00000000..1088da26 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ne.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "धनी पाठ सम्पादक" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ब्लक सम्पादन गर्न" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "अर्को" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "अघिल्लो" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "कालो" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "धमिलो खैरो" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "खैरो" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "हल्का खैरो" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "सेतो" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "रातो" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "सुन्तला रंग" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "पहेंलो" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "हल्का हरियो" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "हरियो" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "अव्कवामरिन" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "त्रकोइस" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "हल्का निलो" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "निलो" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "बैंगनी रंग" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nl.po new file mode 100644 index 00000000..41e8d757 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/nl.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstbewerker" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Bewerkingsgebied: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blok aanpassen" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik om blok te bewerken" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Sleep om te verplaatsen" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Volgende" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Vorige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor welkbalk" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Drop-down werkbalk" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Zwart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gedimd grijs" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grijs" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lichtgrijs" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Wit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rood" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranje" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Geel" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lichtgroen" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Groen" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarijn" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lichtblauw" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blauw" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Paars" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Inhoud werkbalk voor editorblok" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Contextuele werkbalk van editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Accepteren" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Geen zoekresultaten" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Geen zoekbare items" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/no.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/no.po new file mode 100644 index 00000000..d8141131 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/no.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstredigeringsverktøy for rik tekst" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redigeringsområde for redigeringsverktøyet: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Rediger blokk" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klikk for å redigere blokk" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Dra for å flytte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Neste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Forrige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Verktøylinje for redigeringsverktøy" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Verktøylinje for nedtrekksliste" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Svart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Svak grå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lysegrå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Hvit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rød" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oransje" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gul" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lysegrønn" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grønn" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lyseblå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Verktøylinje for blokkinnhold i redigeringsverktøy" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Verktøylinje for kontekst i redigeringsverktøy" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Godta" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Ingen resultater" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ingen søkbare elementer" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pl.po new file mode 100644 index 00000000..25cf8bb9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pl.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Edytor tekstu sformatowanego" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Obszar edycji edytora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edytuj blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknij, aby edytować blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Przeciągnij, aby przenieść" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Następny" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Poprzedni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Pasek narzędzi edytora" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rozwijany pasek narzędzi" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Czarny" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Ciemnoszary" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Szary" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Jasnoszary" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Biały" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Czerwony" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Pomarańczowy" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Żółty" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Jasnozielony" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zielony" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akwamaryna" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkusowy" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Jasnoniebieski" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Niebieski" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purpurowy" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Pasek zadań treści blokowej edytora" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstowy pasek zadań edytora" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "SZESNASTKOWY" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Zaakceptuj" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nie znaleziono wyników" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Brak elementów do wyszukania" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po new file mode 100644 index 00000000..ee588418 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de Formatação" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edição do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editor de bloco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clicar para editar o bloco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastar para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Próximo" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Ferramentas do Editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de Ferramentas da Lista Suspensa" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Preto" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Cinza escuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Cinza" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Cinza claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermelho" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Água-marinha" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Púrpura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de bloco do Editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual do Editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Hexadecimal" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Aceitar" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenhum resultado encontrado" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Sem itens pesquisáveis" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt.po new file mode 100644 index 00000000..8fb1eb17 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/pt.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de texto avançado" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edição do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clique para editar o bloco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arraste para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seguinte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de ferramentas do editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de ferramentas do dropdown" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Preto" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Cinzento-escuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Cinzento" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Cinzento-claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermelho" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde-claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Verde-azulado" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul-claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Roxo" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de edição do conteúdo de blocos" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual de edição" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Aceitar" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenhum resultado encontrado" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nenhum item pesquisável" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ro.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ro.po new file mode 100644 index 00000000..d4bc5bd0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ro.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de text" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Zonă editare editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editează bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Faceți clic pentru a edita întreg blocul" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Glisați pentru a muta" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Înainte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Înapoi" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Bară editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Bară listă opțiuni" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negru" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gri slab" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gri deschis" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Alb" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Roșu" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Portocaliu" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Galben" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde deschis" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Acvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turcoaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Albastru deschis" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Albastru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violet" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bară de instrumente editor pentru blocuri de conținut" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bară contextuală de instrumente editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Acceptă" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nu au fost găsite rezultate" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nu există elemente ce pot fi căutate" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ru.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ru.po new file mode 100644 index 00000000..b2e70fa9 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ru.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Область редактирования редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редактировать блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Нажмите, чтобы редактировать блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Перетащить" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следующий" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Предыдущий" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Панель инструментов редактора" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Выпадающая панель инструментов" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Чёрный" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Тёмно-серый" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Серый" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло-серый" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Белый" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Красный" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Оранжевый" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жёлтый" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Салатовый" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелёный" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамариновый" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Бирюзовый" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Голубой" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Синий" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Фиолетовый" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Панель инструментов редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстуальная панель инструментов редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Принять" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Результаты не найдены" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Нет элементов для поиска" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sk.po new file mode 100644 index 00000000..14c7f1dd --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sk.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor s formátovaním" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Oblasť úprav editora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Upraviť odsek" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Úprava bloku kliknutím" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Potiahnuť a presunúť" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Ďalšie" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Predchádzajúce" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Panel nástrojov editora" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Panel nástrojov roletového menu" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Čierna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tmavosivá" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Sivá" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Bledosivá" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Biela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Červená" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžová" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žltá" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Bledozelená" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelená" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarínová" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tyrkysová" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Bledomodrá" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modrá" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Fialová" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Panel s nástrojmi obsahu bloku editora" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontextový panel nástrojov editora" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Potvrdiť" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Neboli nájdené žiadne výsledky" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Žiadne vyhľadávateľné položky" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sl.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sl.po new file mode 100644 index 00000000..cf54da79 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sl.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Črna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Temno siva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svetlo siva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rdeča" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžna" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Rumena" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svetlo zelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svetlo modra" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modra" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Vijolična" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sq.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sq.po new file mode 100644 index 00000000..6e79de8a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sq.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Redaktues i Tekstit të Pasur" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redakto bllokun" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "E radhës" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Paraprake" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Kokështrirja e redaktuesit" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Zgjero kokështrirjen" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "E zezë" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Ngjyrë hiri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "E bardhë" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "E kuqe" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Ngjyrë portokalli" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "E verdhë" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "E gjelbër" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "E kaltër" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po new file mode 100644 index 00000000..c6b6a6ae --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Prošireni uređivač teksta" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Oblast za uređivanje urednika: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blok uređivač" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknite da biste uredili blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Prevucite da biste premestili" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sledeći" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Prethodni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Uređivač traka sa alatkama" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Padajuća traka sa alatkama" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Crna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Bledo siva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svetlo siva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Crvena" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narandžasta" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žuta" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svetlo zelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Zelenkastoplava" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svetloplava" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Plava" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ljubičasta" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Traka sa alatkama za blokiranje sadržaja uređivača" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstualna traka sa alatkama Editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Prihvati" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nije pronađen nijedan rezultat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nema stavki koje se mogu pretražiti" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr.po new file mode 100644 index 00000000..cf00f3fe --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sr.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Проширен уређивач текста" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Област за уређивање уредника: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Блок уређивач" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknite da biste uredili blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Prevucite da biste premestili" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следећи" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Претходни" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Уређивач трака са алаткама" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Падајућа трака са алаткама" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Црна" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Бледо сива" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сива" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло сива" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Бела" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Црвена" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Нараџаста" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жута" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Светлозелена" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелена" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Зеленкастоплава" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Тиркизна" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Светлоплава" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Плава" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Љубичаста" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Трака са алаткама за блокирање садржаја уређивача" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстуална трака са алаткама Едитор" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Prihvati" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nije pronađen nijedan rezultat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nema stavki koje se mogu pretražiti" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sv.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sv.po new file mode 100644 index 00000000..105cb842 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/sv.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text-editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Ordbehandlares redigeringsområde: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redigera block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klicka för att redigera blocket" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Dra för att flytta" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nästa" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Föregående" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redigeringsverktygsfält" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rullgardinsverktygsfält" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Svart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkelgrå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Ljusgrå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Vit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Röd" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gul" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Ljusgrön" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grön" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkos" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Ljusblå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Verktygsfält vid block av innehåll" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Ordbehandlarens kontextuella verktygsfält" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Acceptera" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Inga resultat hittades" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Inga sökbara objekt" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/th.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/th.po new file mode 100644 index 00000000..a691b542 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/th.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "โปรแกรมแก้ไข Rich Text" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "พื้นที่แก้ไขของตัวแก้ไข: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "แก้ไขบล็อก" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "คลิกเพื่อแก้ไขบล็อก" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "ลากเพื่อย้าย" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "ถัดไป" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "ก่อนหน้า" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "แถบเครื่องมือแก้ไข" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "แถบเครื่องมือแบบเลื่อนลง" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "สีดำ" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "สีเทาเข้ม" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "สีเทา" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "สีเทาอ่อน" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "สีขาว" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "สีแดง" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "สีส้ม" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "สีเหลือง" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "สีเขียวอ่อน" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "สีเขียว" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "พลอยสีฟ้า" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "สีเขียวขุ่น" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "สีฟ้า" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "สีน้ำเงิน" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "สีม่วง" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "แถบเครื่องมือแก้ไขบล็อกเนื้อหา" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "แถบเครื่องมือแก้ไขข้อความ" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "ยอมรับ" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "ไม่พบผลลัพธ์" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "ไม่มีรายการที่สามารถค้นหาได้" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tk.po new file mode 100644 index 00000000..fdacf261 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tk.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Baý Tekst Redaktory" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Bloky redaktirläň" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Indiki" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Öňki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktor gurallar paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açylýan gurallar paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Gara" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Goýy çal" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Çal" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açyk çal" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ak" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Gyzyl" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Mämişi" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sary" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açyk ýaşyl" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Ýaşyl" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açyk gök" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Gök" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Gyrmyzy" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tr.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tr.po new file mode 100644 index 00000000..6f71bd7b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tr.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Zengin İçerik Editörü" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editör düzenleme alanı: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Bloğu Düzenle" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Bloğu düzenlemek için tıkla" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Taşımak için sürükle" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sonraki" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Önceki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Düzenleme araç çubuğu" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açılır araç çubuğu" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Siyah" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Koyu Gri" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açık Gri" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Beyaz" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Kırmızı" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Turuncu" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sarı" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açık Yeşil" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yeşil" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Su Yeşili" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açık Mavi" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mavi" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Mor" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Düzenleyici engelleme içerik araç çubuğu" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Düzenleyici içeriksel araç çubuğu" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "ONALTILIK" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Kabul et" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Sonuç bulunamadı" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Aranabilir öge yok" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tt.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tt.po new file mode 100644 index 00000000..32697b5c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/tt.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n" +"Language: tt\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Кара" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Соры" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Ачык соры" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ак" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Кызыл" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Кызгылт" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Сары" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Ачык яшел" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Яшел" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамарин" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Фервоз" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Ачык зәңгәр" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Зәңгәр" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Шәмәхә" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ug.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ug.po new file mode 100644 index 00000000..1d692aa4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ug.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "تېكىست تەھرىرلىگۈچ" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "تەھرىرلىگۈچ تەھرىرلەش رايونى: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "بۆلەك تەھرىر" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "چېكىلسە بۆلەك تەھرىرلىنىدۇ" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "يۆتكەشتە سۆرىلىدۇ" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "كېيىنكى" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "ئالدىنقى" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "تەھرىرلىگۈچ قورال بالداق" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "سىرىلما قورال بالداق" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "قارا" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "سۇس كۈلرەڭ" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "كۈلرەڭ" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ئوچۇق كۈلرەڭ" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "ئاق" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "قىزىل" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "قىزغۇچ سېرىق" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "سېرىق" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ئوچۇق يېشىل" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "يېشىل" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "دېڭىز كۆكى" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "ئوچۇق كۆك" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "كۆك" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "بىنەپشە" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "تەھرىرلىگۈچ بۆلىكى مەزمۇن قورال بالداق" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "تەھرىرلىگۈچ مەزمۇن قورال بالداق" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "قوشۇل" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "ھېچقانداق نەتىجە تېپىلمىدى" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "ئىزدىگۈدەك تۈر يوق" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uk.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uk.po new file mode 100644 index 00000000..bcdd94e5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uk.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Розширений текстовий редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Область редагування редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редагувати блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Клацніть, щоб редагувати блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Потягніть, щоб перемістити" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Наступний" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Попередній" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Панель інструментів редактора" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Випадаюча панель інструментів" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Чорний" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Темно-сірий" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сірий" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Світло-сірий" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Білий" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Червоний" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Помаранчевий" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жовтий" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Світло-зелений" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелений" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамариновий" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Бірюзовий" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Світло-синій" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Синій" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Фіолетовий" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Панель інструментів вмісту блоку редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстна панель інструментів редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Шістнадцятковий" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Прийняти" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Нічого не знайдено" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Немає шуканих об'єктів" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ur.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ur.po new file mode 100644 index 00000000..b40f9e95 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/ur.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "خانۂ ترمیم" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "رقبہ خانۂ ترمیم: 0%" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "خانہ کی تدوین" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "اگلا" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "پچھلا" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "ایڈیٹر آلہ جات" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "آلہ جات برائے فہرست " + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "سیاہ" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "پھیکا سرمئی" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "سرمئی" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ہلکا سرمئی" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سفید" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "سرخ" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "نارنجی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "پیلا" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ہلکا سبز" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سبز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "نیلگوں بلور" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فیروزی" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "ہلکا نیلا" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "نیلا" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "ارغوانی" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uz.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uz.po new file mode 100644 index 00000000..e9bec625 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/uz.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tahrirlovchi" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blokni tahrirlash" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Keyingi" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Oldingi" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Tahrirlovchi asboblar paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Ochiladigan asboblar paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Qora" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "To'q kulrang" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kulrang" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Och kulrang" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Oq" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Qizil" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "To'q sariq" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sariq" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Och yashil" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yashil" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Moviy" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Ko'k" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Siyohrang" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/vi.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/vi.po new file mode 100644 index 00000000..3e759889 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/vi.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Trình soạn thảo văn bản" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Vùng chỉnh sửa của trình chỉnh sửa: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Chỉnh sửa đoạn" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Nhấp để sửa khối" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Kéo để di chuyển" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Tiếp theo" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Quay lại" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Thanh công cụ biên tập" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Thanh công cụ danh mục" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Đen" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Xám mờ" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Xám" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Xám nhạt" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Trắng" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Đỏ" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Cam" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Vàng" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Xanh lá nhạt" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Xanh lá" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Xanh ngọc biển" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Xanh ngọc bích" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Xanh dương" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Xanh biển" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Tím" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Thanh công cụ chỉnh sửa khối nội dung" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Thanh công cụ chỉnh sửa theo ngữ cảnh" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "Chấp nhận" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Không tìm thấy kết quả" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Không có mục nào tìm kiếm được" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po new file mode 100644 index 00000000..2fcc7827 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "富文本编辑器" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "编辑器编辑区域:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "编辑框" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "单击以编辑块" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "拖拽以移动" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "下一步" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "上一步" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "编辑器工具栏" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "下拉工具栏" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黑色" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "暗灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "浅灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白色" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "红色" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "橙色" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黄色" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "浅绿色" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "绿色" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "海蓝色" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "青色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "浅蓝色" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "蓝色" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫色" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "编辑器块内容工具栏" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "编辑器上下文工具栏" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "十六进制" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "接受" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "未找到结果" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "没有可搜索的项目" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh.po b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh.po new file mode 100644 index 00000000..0982581c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/lang/translations/zh.po @@ -0,0 +1,138 @@ +# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "富文本編輯器" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "編輯器編輯區:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "編輯區塊" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "點擊來編輯區塊" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "拖曳來移動" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "下一" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "上一" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "編輯器工具" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "下拉選單" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黑色" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "淡灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "亮灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白色" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "紅色" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "橘色" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黃色" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "亮綠色" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "綠色" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "淺綠色" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "藍綠色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "亮藍色" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "藍色" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫色" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "編輯器區塊內容工具列" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "編輯器關聯式工具列" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "十六進位" + +msgctxt "Label of the button closing the color picker and confirming the changes done in the color selector component." +msgid "Accept" +msgstr "接受" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "找不到結果" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "沒有可搜尋的項目" diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/package.json b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/package.json new file mode 100644 index 00000000..47ee7253 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/package.json @@ -0,0 +1,39 @@ +{ + "name": "@ckeditor/ckeditor5-ui", + "version": "40.2.0", + "description": "The UI framework and standard UI library of CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-lib", + "ckeditor5-dll" + ], + "main": "src/index.js", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "color-convert": "2.0.1", + "color-parse": "1.4.2", + "lodash-es": "4.17.21", + "vanilla-colorful": "0.7.2" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-ui" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts new file mode 100644 index 00000000..20ec3263 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts @@ -0,0 +1,94 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/arialiveannouncer + */ +import type { Editor } from '@ckeditor/ckeditor5-core'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from './viewcollection'; +import View from './view'; +import '../theme/components/arialiveannouncer/arialiveannouncer.css'; +/** + * The politeness level of an `aria-live` announcement. + * + * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#Politeness_levels + */ +export declare enum AriaLiveAnnouncerPoliteness { + POLITE = "polite", + ASSERTIVE = "assertive" +} +/** + * An accessibility helper that manages all ARIA live regions associated with an editor instance. ARIA live regions announce changes + * to the state of the editor features. + * + * These announcements are consumed and propagated by screen readers and give users a better understanding of the current + * state of the editor. + * + * To announce a state change to an editor feature named `'Some feature'`, use the {@link #announce} method: + * ```ts + * editor.ui.ariaLiveAnnouncer.announce( 'Some feature', 'Text of an announcement.' ); + * ``` + */ +export default class AriaLiveAnnouncer { + /** + * The editor instance. + */ + readonly editor: Editor; + /** + * The view that aggregates all `aria-live` regions. + */ + view?: AriaLiveAnnouncerView; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * Sets an announcement text to an aria region associated with a specific editor feature. The text is then + * announced by a screen reader to the user. + * + * If the aria region of a given name does not exist, it will be created and can be re-used later. The name of the region + * groups announcements originating from a specific editor feature and does not get announced by a screen reader. + * + * Using multiple regions allows for many announcements to be emitted in a short period of time. Changes to ARIA-live announcements + * are captured by a screen reader and read out in the order they were emitted. + * + * The default announcement politeness level is `'polite'`. + * + * ```ts + * // Most screen readers will queue announcements from multiple aria-live regions and read them out in the order they were emitted. + * editor.ui.ariaLiveAnnouncer.announce( 'image', 'Image uploaded.' ); + * editor.ui.ariaLiveAnnouncer.announce( 'network', 'Connection lost. Reconnecting.' ); + * ``` + */ + announce(regionName: string, announcementText: string, politeness?: AriaLiveAnnouncerPoliteness): void; +} +/** + * The view that aggregates all `aria-live` regions. + */ +export declare class AriaLiveAnnouncerView extends View { + /** + * A collection of all views that represent individual `aria-live` regions. + */ + readonly regionViews: ViewCollection; + constructor(locale: Locale); +} +/** + * The view that represents a single `aria-live` region (e.g. for a specific editor feature) and its text. + */ +export declare class AriaLiveAnnouncerRegionView extends View { + /** + * Current text of the region. + */ + text: string; + /** + * Current politeness level of the region. + */ + politeness: AriaLiveAnnouncerPoliteness; + /** + * A unique name of the region, usually associated with a specific editor feature or system. + */ + regionName: string; + constructor(locale: Locale); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js new file mode 100644 index 00000000..24e747e8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js @@ -0,0 +1,113 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import View from './view'; +import '../theme/components/arialiveannouncer/arialiveannouncer.css'; +/** + * The politeness level of an `aria-live` announcement. + * + * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#Politeness_levels + */ +export var AriaLiveAnnouncerPoliteness; +(function (AriaLiveAnnouncerPoliteness) { + AriaLiveAnnouncerPoliteness["POLITE"] = "polite"; + AriaLiveAnnouncerPoliteness["ASSERTIVE"] = "assertive"; +})(AriaLiveAnnouncerPoliteness || (AriaLiveAnnouncerPoliteness = {})); +/** + * An accessibility helper that manages all ARIA live regions associated with an editor instance. ARIA live regions announce changes + * to the state of the editor features. + * + * These announcements are consumed and propagated by screen readers and give users a better understanding of the current + * state of the editor. + * + * To announce a state change to an editor feature named `'Some feature'`, use the {@link #announce} method: + * ```ts + * editor.ui.ariaLiveAnnouncer.announce( 'Some feature', 'Text of an announcement.' ); + * ``` + */ +export default class AriaLiveAnnouncer { + /** + * @inheritDoc + */ + constructor(editor) { + this.editor = editor; + } + /** + * Sets an announcement text to an aria region associated with a specific editor feature. The text is then + * announced by a screen reader to the user. + * + * If the aria region of a given name does not exist, it will be created and can be re-used later. The name of the region + * groups announcements originating from a specific editor feature and does not get announced by a screen reader. + * + * Using multiple regions allows for many announcements to be emitted in a short period of time. Changes to ARIA-live announcements + * are captured by a screen reader and read out in the order they were emitted. + * + * The default announcement politeness level is `'polite'`. + * + * ```ts + * // Most screen readers will queue announcements from multiple aria-live regions and read them out in the order they were emitted. + * editor.ui.ariaLiveAnnouncer.announce( 'image', 'Image uploaded.' ); + * editor.ui.ariaLiveAnnouncer.announce( 'network', 'Connection lost. Reconnecting.' ); + * ``` + */ + announce(regionName, announcementText, politeness = AriaLiveAnnouncerPoliteness.POLITE) { + const editor = this.editor; + if (!this.view) { + this.view = new AriaLiveAnnouncerView(editor.locale); + editor.ui.view.body.add(this.view); + } + let regionView = this.view.regionViews.find(view => view.regionName === regionName); + if (!regionView) { + regionView = new AriaLiveAnnouncerRegionView(this.view.locale); + this.view.regionViews.add(regionView); + } + regionView.set({ + regionName, + text: announcementText, + politeness + }); + } +} +/** + * The view that aggregates all `aria-live` regions. + */ +export class AriaLiveAnnouncerView extends View { + constructor(locale) { + super(locale); + this.regionViews = this.createCollection(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-aria-live-announcer' + ] + }, + children: this.regionViews + }); + } +} +/** + * The view that represents a single `aria-live` region (e.g. for a specific editor feature) and its text. + */ +export class AriaLiveAnnouncerRegionView extends View { + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('regionName', ''); + this.set('text', ''); + this.set('politeness', AriaLiveAnnouncerPoliteness.POLITE); + this.setTemplate({ + tag: 'div', + attributes: { + role: 'region', + 'data-region': bind.to('regionName'), + 'aria-live': bind.to('politeness') + }, + children: [ + { text: bind.to('text') } + ] + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.d.ts new file mode 100644 index 00000000..314f13e0 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.d.ts @@ -0,0 +1,86 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification } from './index'; +import type { ToolbarConfig } from '@ckeditor/ckeditor5-core'; +declare module '@ckeditor/ckeditor5-core' { + interface EditorConfig { + /** + * Contextual toolbar configuration. Used by the {@link module:ui/toolbar/balloon/balloontoolbar~BalloonToolbar} + * feature. + * + * ## Configuring toolbar items + * + * ```ts + * const config = { + * balloonToolbar: [ 'bold', 'italic', 'undo', 'redo' ] + * }; + * ``` + * + * You can also use `'|'` to create a separator between groups of items: + * + * ```ts + * const config = { + * balloonToolbar: [ 'bold', 'italic', '|', 'undo', 'redo' ] + * }; + * ``` + * + * Read also about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}. + * + * ## Configuring items grouping + * + * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option: + * + * ```ts + * const config = { + * balloonToolbar: { + * items: [ 'bold', 'italic', 'undo', 'redo' ], + * shouldNotGroupWhenFull: true + * }, + * }; + * ``` + */ + balloonToolbar?: ToolbarConfig; + /** + * The block toolbar configuration. Used by the {@link module:ui/toolbar/block/blocktoolbar~BlockToolbar} + * feature. + * + * ```ts + * const config = { + * blockToolbar: [ 'paragraph', 'heading1', 'heading2', 'bulletedList', 'numberedList' ] + * }; + * ``` + * + * You can also use `'|'` to create a separator between groups of items: + * + * ```ts + * const config = { + * blockToolbar: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ] + * }; + * ``` + * + * ## Configuring items grouping + * + * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option: + * + * ```ts + * const config = { + * blockToolbar: { + * items: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ], + * shouldNotGroupWhenFull: true + * }, + * }; + * ``` + * + * Read more about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}. + */ + blockToolbar?: ToolbarConfig; + } + interface PluginsMap { + [BalloonToolbar.pluginName]: BalloonToolbar; + [BlockToolbar.pluginName]: BlockToolbar; + [ContextualBalloon.pluginName]: ContextualBalloon; + [Notification.pluginName]: Notification; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts new file mode 100644 index 00000000..03e78499 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/autocomplete/autocompleteview +*/ +import { type PositioningFunction, type Locale } from '@ckeditor/ckeditor5-utils'; +import SearchTextView, { type SearchTextViewConfig } from '../search/text/searchtextview'; +import type SearchResultsView from '../search/searchresultsview'; +import type InputBase from '../input/inputbase'; +import '../../theme/components/autocomplete/autocomplete.css'; +/** + * The autocomplete component's view class. It extends the {@link module:ui/search/text/searchtextview~SearchTextView} class + * with a floating {@link #resultsView} that shows up when the user starts typing and hides when they blur + * the component. + */ +export default class AutocompleteView> extends SearchTextView { + /** + * The configuration of the autocomplete view. + */ + protected _config: AutocompleteViewConfig; + resultsView: AutocompleteResultsView; + /** + * @inheritDoc + */ + constructor(locale: Locale, config: AutocompleteViewConfig); + /** + * Updates the position of the results view on demand. + */ + private _updateResultsViewWidthAndPosition; + /** + * Updates the visibility of the results view on demand. + */ + private _updateResultsVisibility; + /** + * Positions for the autocomplete results view. Two positions are defined by default: + * * `s` - below the search field, + * * `n` - above the search field. + */ + static defaultResultsPositions: Array; + /** + * A function used to calculate the optimal position for the dropdown panel. + */ + private static _getOptimalPosition; +} +/** + * An interface describing additional properties of the floating search results view used by the autocomplete plugin. + */ +export interface AutocompleteResultsView extends SearchResultsView { + /** + * Controls the visibility of the results view. + * + * @observable + */ + isVisible: boolean; + /** + * Controls the position (CSS class suffix) of the results view. + * + * @internal + */ + _position?: string; + /** + * The observable property determining the CSS width of the results view. + * + * @internal + */ + _width: number; +} +export interface AutocompleteViewConfig> extends SearchTextViewConfig { + /** + * When set `true`, the query view will be reset when the autocomplete view loses focus. + */ + resetOnBlur?: boolean; + /** + * Minimum number of characters that need to be typed before the search is performed. + * + * @default 0 + */ + queryMinChars?: number; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js new file mode 100644 index 00000000..b9bd6368 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js @@ -0,0 +1,153 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/autocomplete/autocompleteview +*/ +import { getOptimalPosition, global, toUnit, Rect } from '@ckeditor/ckeditor5-utils'; +import SearchTextView from '../search/text/searchtextview'; +import '../../theme/components/autocomplete/autocomplete.css'; +/** + * The autocomplete component's view class. It extends the {@link module:ui/search/text/searchtextview~SearchTextView} class + * with a floating {@link #resultsView} that shows up when the user starts typing and hides when they blur + * the component. + */ +export default class AutocompleteView extends SearchTextView { + /** + * @inheritDoc + */ + constructor(locale, config) { + super(locale, config); + this._config = config; + const toPx = toUnit('px'); + this.extendTemplate({ + attributes: { + class: ['ck-autocomplete'] + } + }); + const bindResultsView = this.resultsView.bindTemplate; + this.resultsView.set('isVisible', false); + this.resultsView.set('_position', 's'); + this.resultsView.set('_width', 0); + this.resultsView.extendTemplate({ + attributes: { + class: [ + bindResultsView.if('isVisible', 'ck-hidden', value => !value), + bindResultsView.to('_position', value => `ck-search__results_${value}`) + ], + style: { + width: bindResultsView.to('_width', toPx) + } + } + }); + // Update the visibility of the results view when the user focuses or blurs the component. + // This is also integration for the `resetOnBlur` configuration. + this.focusTracker.on('change:isFocused', (evt, name, isFocused) => { + this._updateResultsVisibility(); + if (isFocused) { + // Reset the scroll position of the results view whenever the autocomplete reopens. + this.resultsView.element.scrollTop = 0; + } + else if (config.resetOnBlur) { + this.queryView.reset(); + } + }); + // Update the visibility of the results view when the user types in the query field. + // This is an integration for `queryMinChars` configuration. + // This is an integration for search results changing length and the #resultsView requiring to be repositioned. + this.on('search', () => { + this._updateResultsVisibility(); + this._updateResultsViewWidthAndPosition(); + }); + // Hide the results view when the user presses the ESC key. + this.keystrokes.set('esc', (evt, cancel) => { + // Let the DOM event pass through if the focus is in the query view. + if (!this.resultsView.isVisible) { + return; + } + // Focus the query view first and only then close the results view. Otherwise, if the focus + // was in the results view, it will get lost. + this.queryView.focus(); + this.resultsView.isVisible = false; + cancel(); + }); + // Update the position of the results view when the user scrolls the page. + // TODO: This needs to be debounced down the road. + this.listenTo(global.document, 'scroll', () => { + this._updateResultsViewWidthAndPosition(); + }); + // Hide the results when the component becomes disabled. + this.on('change:isEnabled', () => { + this._updateResultsVisibility(); + }); + // Update the value of the query field when the user selects a result. + this.filteredView.on('execute', (evt, { value }) => { + // Focus the query view first to avoid losing the focus. + this.focus(); + // Resetting the view will ensure that the #queryView will update its empty state correctly. + // This prevents bugs related to dynamic labels or auto-grow when re-setting the same value + // to #queryView.fieldView.value (which does not trigger empty state change) to an + // #queryView.fieldView.element that has been changed by the user. + this.reset(); + // Update the value of the query field. + this.queryView.fieldView.value = this.queryView.fieldView.element.value = value; + // Finally, hide the results view. The focus has been moved earlier so this is safe. + this.resultsView.isVisible = false; + }); + // Update the position and width of the results view when it becomes visible. + this.resultsView.on('change:isVisible', () => { + this._updateResultsViewWidthAndPosition(); + }); + } + /** + * Updates the position of the results view on demand. + */ + _updateResultsViewWidthAndPosition() { + if (!this.resultsView.isVisible) { + return; + } + this.resultsView._width = new Rect(this.queryView.fieldView.element).width; + const optimalResultsPosition = AutocompleteView._getOptimalPosition({ + element: this.resultsView.element, + target: this.queryView.element, + fitInViewport: true, + positions: AutocompleteView.defaultResultsPositions + }); + // _getOptimalPosition will return null if there is no optimal position found (e.g. target is off the viewport). + this.resultsView._position = optimalResultsPosition ? optimalResultsPosition.name : 's'; + } + /** + * Updates the visibility of the results view on demand. + */ + _updateResultsVisibility() { + const queryMinChars = typeof this._config.queryMinChars === 'undefined' ? 0 : this._config.queryMinChars; + const queryLength = this.queryView.fieldView.element.value.length; + this.resultsView.isVisible = this.focusTracker.isFocused && this.isEnabled && queryLength >= queryMinChars; + } +} +/** + * Positions for the autocomplete results view. Two positions are defined by default: + * * `s` - below the search field, + * * `n` - above the search field. + */ +AutocompleteView.defaultResultsPositions = [ + (fieldRect => { + return { + top: fieldRect.bottom, + left: fieldRect.left, + name: 's' + }; + }), + ((fieldRect, resultsRect) => { + return { + top: fieldRect.top - resultsRect.height, + left: fieldRect.left, + name: 'n' + }; + }) +]; +/** + * A function used to calculate the optimal position for the dropdown panel. + */ +AutocompleteView._getOptimalPosition = getOptimalPosition; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts new file mode 100644 index 00000000..892e4aa7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/addkeyboardhandlingforgrid + */ +import type { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from '../viewcollection'; +/** + * A helper that adds a keyboard navigation support (arrow up/down/left/right) for grids. + * + * @param options Configuration options. + * @param options.keystrokeHandler Keystroke handler to register navigation with arrow keys. + * @param options.focusTracker A focus tracker for grid elements. + * @param options.gridItems A collection of grid items. + * @param options.numberOfColumns Number of columns in the grid. Can be specified as a function that returns + * the number (e.g. for responsive grids). + * @param options.uiLanguageDirection String of ui language direction. + */ +export default function addKeyboardHandlingForGrid({ keystrokeHandler, focusTracker, gridItems, numberOfColumns, uiLanguageDirection }: { + keystrokeHandler: KeystrokeHandler; + focusTracker: FocusTracker; + gridItems: ViewCollection; + numberOfColumns: number | (() => number); + uiLanguageDirection?: string; +}): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js new file mode 100644 index 00000000..7e2736a6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js @@ -0,0 +1,107 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A helper that adds a keyboard navigation support (arrow up/down/left/right) for grids. + * + * @param options Configuration options. + * @param options.keystrokeHandler Keystroke handler to register navigation with arrow keys. + * @param options.focusTracker A focus tracker for grid elements. + * @param options.gridItems A collection of grid items. + * @param options.numberOfColumns Number of columns in the grid. Can be specified as a function that returns + * the number (e.g. for responsive grids). + * @param options.uiLanguageDirection String of ui language direction. + */ +export default function addKeyboardHandlingForGrid({ keystrokeHandler, focusTracker, gridItems, numberOfColumns, uiLanguageDirection }) { + const getNumberOfColumns = typeof numberOfColumns === 'number' ? () => numberOfColumns : numberOfColumns; + keystrokeHandler.set('arrowright', getGridItemFocuser((focusedElementIndex, gridItems) => { + return uiLanguageDirection === 'rtl' ? + getLeftElementIndex(focusedElementIndex, gridItems.length) : + getRightElementIndex(focusedElementIndex, gridItems.length); + })); + keystrokeHandler.set('arrowleft', getGridItemFocuser((focusedElementIndex, gridItems) => { + return uiLanguageDirection === 'rtl' ? + getRightElementIndex(focusedElementIndex, gridItems.length) : + getLeftElementIndex(focusedElementIndex, gridItems.length); + })); + keystrokeHandler.set('arrowup', getGridItemFocuser((focusedElementIndex, gridItems) => { + let nextIndex = focusedElementIndex - getNumberOfColumns(); + if (nextIndex < 0) { + nextIndex = focusedElementIndex + getNumberOfColumns() * Math.floor(gridItems.length / getNumberOfColumns()); + if (nextIndex > gridItems.length - 1) { + nextIndex -= getNumberOfColumns(); + } + } + return nextIndex; + })); + keystrokeHandler.set('arrowdown', getGridItemFocuser((focusedElementIndex, gridItems) => { + let nextIndex = focusedElementIndex + getNumberOfColumns(); + if (nextIndex > gridItems.length - 1) { + nextIndex = focusedElementIndex % getNumberOfColumns(); + } + return nextIndex; + })); + function getGridItemFocuser(getIndexToFocus) { + return (evt) => { + const focusedElement = gridItems.find(item => item.element === focusTracker.focusedElement); + const focusedElementIndex = gridItems.getIndex(focusedElement); + const nextIndexToFocus = getIndexToFocus(focusedElementIndex, gridItems); + gridItems.get(nextIndexToFocus).focus(); + evt.stopPropagation(); + evt.preventDefault(); + }; + } + /** + * Function returning the next index. + * + * ``` + * before: [ ][x][ ] after: [ ][ ][x] + * index = 1 index = 2 + * ``` + * + * If current index is last, function returns first index. + * + * ``` + * before: [ ][ ][x] after: [x][ ][ ] + * index = 2 index = 0 + * ``` + * + * @param elementIndex Number of current index. + * @param collectionLength A count of collection items. + */ + function getRightElementIndex(elementIndex, collectionLength) { + if (elementIndex === collectionLength - 1) { + return 0; + } + else { + return elementIndex + 1; + } + } + /** + * Function returning the previous index. + * + * ``` + * before: [ ][x][ ] after: [x][ ][ ] + * index = 1 index = 0 + * ``` + * + * If current index is first, function returns last index. + * + * ``` + * before: [x][ ][ ] after: [ ][ ][x] + * index = 0 index = 2 + * ``` + * + * @param elementIndex Number of current index. + * @param collectionLength A count of collection items. + */ + function getLeftElementIndex(elementIndex, collectionLength) { + if (elementIndex === 0) { + return collectionLength - 1; + } + else { + return elementIndex - 1; + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts new file mode 100644 index 00000000..8cbf58ee --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts @@ -0,0 +1,28 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/clickoutsidehandler + */ +import type { DomEmitter } from '@ckeditor/ckeditor5-utils'; +/** + * Handles clicking **outside** of a specified set of elements, then fires an action. + * + * **Note**: Actually, the action is executed upon `mousedown`, not `click`. It prevents + * certain issues when the user keeps holding the mouse button and the UI cannot react + * properly. + * + * @param options Configuration options. + * @param options.emitter The emitter to which this behavior should be added. + * @param options.activator Function returning a `Boolean`, to determine whether the handler is active. + * @param options.contextElements Array of HTML elements or a callback returning an array of HTML elements + * that determine the scope of the handler. Clicking any of them or their descendants will **not** fire the callback. + * @param options.callback An action executed by the handler. + */ +export default function clickOutsideHandler({ emitter, activator, callback, contextElements }: { + emitter: DomEmitter; + activator: () => boolean; + contextElements: Array | (() => Array); + callback: () => void; +}): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js new file mode 100644 index 00000000..1e5c520e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js @@ -0,0 +1,36 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* global document */ +/** + * Handles clicking **outside** of a specified set of elements, then fires an action. + * + * **Note**: Actually, the action is executed upon `mousedown`, not `click`. It prevents + * certain issues when the user keeps holding the mouse button and the UI cannot react + * properly. + * + * @param options Configuration options. + * @param options.emitter The emitter to which this behavior should be added. + * @param options.activator Function returning a `Boolean`, to determine whether the handler is active. + * @param options.contextElements Array of HTML elements or a callback returning an array of HTML elements + * that determine the scope of the handler. Clicking any of them or their descendants will **not** fire the callback. + * @param options.callback An action executed by the handler. + */ +export default function clickOutsideHandler({ emitter, activator, callback, contextElements }) { + emitter.listenTo(document, 'mousedown', (evt, domEvt) => { + if (!activator()) { + return; + } + // Check if `composedPath` is `undefined` in case the browser does not support native shadow DOM. + // Can be removed when all supported browsers support native shadow DOM. + const path = typeof domEvt.composedPath == 'function' ? domEvt.composedPath() : []; + const contextElementsList = typeof contextElements == 'function' ? contextElements() : contextElements; + for (const contextElement of contextElementsList) { + if (contextElement.contains(domEvt.target) || path.includes(contextElement)) { + return; + } + } + callback(); + }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts new file mode 100644 index 00000000..055e28bb --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/csstransitiondisablermixin + */ +import type { Constructor, Mixed } from '@ckeditor/ckeditor5-utils'; +import type View from '../view'; +/** + * A mixin that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * The usage comes down to: + * + * ```ts + * const MyViewWithCssTransitionDisabler = CssTransitionDisablerMixin( MyView ); + * const view = new MyViewWithCssTransitionDisabler(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @param view View instance that should get this functionality. + */ +export default function CssTransitionDisablerMixin>(view: Base): Mixed; +export type ViewWithCssTransitionDisabler = View & { + disableCssTransitions(): void; + enableCssTransitions(): void; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js new file mode 100644 index 00000000..02681612 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js @@ -0,0 +1,55 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A mixin that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * The usage comes down to: + * + * ```ts + * const MyViewWithCssTransitionDisabler = CssTransitionDisablerMixin( MyView ); + * const view = new MyViewWithCssTransitionDisabler(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @param view View instance that should get this functionality. + */ +export default function CssTransitionDisablerMixin(view) { + class Mixin extends view { + disableCssTransitions() { + this._isCssTransitionsDisabled = true; + } + enableCssTransitions() { + this._isCssTransitionsDisabled = false; + } + constructor(...args) { + super(...args); + this.set('_isCssTransitionsDisabled', false); + this.initializeCssTransitionDisablerMixin(); + } + initializeCssTransitionDisablerMixin() { + this.extendTemplate({ + attributes: { + class: [ + this.bindTemplate.if('_isCssTransitionsDisabled', 'ck-transitions-disabled') + ] + } + }); + } + } + return Mixin; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts new file mode 100644 index 00000000..0624f407 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/injectcsstransitiondisabler + */ +import type View from '../view'; +/** + * A decorator that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * **Note**: This helper extends the {@link module:ui/view~View#template template} and must be used **after** + * {@link module:ui/view~View#setTemplate} is called: + * + * ```ts + * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler'; + * + * class MyView extends View { + * constructor() { + * super(); + * + * // ... + * + * this.setTemplate( { ... } ); + * + * // ... + * + * injectCssTransitionDisabler( this ); + * + * // ... + * } + * } + * ``` + * + * The usage comes down to: + * + * ```ts + * const view = new MyView(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @deprecated + * @see module:ui/bindings/csstransitiondisablermixin~CssTransitionDisablerMixin + * @param view View instance that should get this functionality. + */ +export default function injectCssTransitionDisabler(view: View): void; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js new file mode 100644 index 00000000..8f252a4d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js @@ -0,0 +1,71 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A decorator that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * **Note**: This helper extends the {@link module:ui/view~View#template template} and must be used **after** + * {@link module:ui/view~View#setTemplate} is called: + * + * ```ts + * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler'; + * + * class MyView extends View { + * constructor() { + * super(); + * + * // ... + * + * this.setTemplate( { ... } ); + * + * // ... + * + * injectCssTransitionDisabler( this ); + * + * // ... + * } + * } + * ``` + * + * The usage comes down to: + * + * ```ts + * const view = new MyView(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @deprecated + * @see module:ui/bindings/csstransitiondisablermixin~CssTransitionDisablerMixin + * @param view View instance that should get this functionality. + */ +export default function injectCssTransitionDisabler(view) { + const decorated = view; + decorated.set('_isCssTransitionsDisabled', false); + decorated.disableCssTransitions = () => { + decorated._isCssTransitionsDisabled = true; + }; + decorated.enableCssTransitions = () => { + decorated._isCssTransitionsDisabled = false; + }; + decorated.extendTemplate({ + attributes: { + class: [ + decorated.bindTemplate.if('_isCssTransitionsDisabled', 'ck-transitions-disabled') + ] + } + }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts new file mode 100644 index 00000000..f49322ce --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/preventdefault + */ +import type { ListenerBinding } from '../template'; +import type View from '../view'; +/** + * A helper which executes a native `Event.preventDefault()` if the target of an event equals the + * {@link module:ui/view~View#element element of the view}. It shortens the definition of a + * {@link module:ui/view~View#template template}. + * + * ```ts + * // In a class extending View. + * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault'; + * + * // ... + * + * this.setTemplate( { + * tag: 'div', + * + * on: { + * // Prevent the default mousedown action on this view. + * mousedown: preventDefault( this ) + * } + * } ); + * ``` + * + * @param view View instance that defines the template. + */ +export default function preventDefault(view: View): ListenerBinding; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js new file mode 100644 index 00000000..47254aa5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A helper which executes a native `Event.preventDefault()` if the target of an event equals the + * {@link module:ui/view~View#element element of the view}. It shortens the definition of a + * {@link module:ui/view~View#template template}. + * + * ```ts + * // In a class extending View. + * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault'; + * + * // ... + * + * this.setTemplate( { + * tag: 'div', + * + * on: { + * // Prevent the default mousedown action on this view. + * mousedown: preventDefault( this ) + * } + * } ); + * ``` + * + * @param view View instance that defines the template. + */ +export default function preventDefault(view) { + return view.bindTemplate.to(evt => { + if (evt.target === view.element) { + evt.preventDefault(); + } + }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts new file mode 100644 index 00000000..06608594 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/submithandler + */ +import type View from '../view'; +/** + * A handler useful for {@link module:ui/view~View views} working as HTML forms. It intercepts a native DOM + * `submit` event, prevents the default web browser behavior (navigation and page reload) and + * fires the `submit` event on a view instead. Such a custom event can be then used by any + * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data. + * + * ```ts + * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler'; + * + * // ... + * + * class AnyFormView extends View { + * constructor() { + * super(); + * + * // ... + * + * submitHandler( { + * view: this + * } ); + * } + * } + * + * // ... + * + * const view = new AnyFormView(); + * + * // A sample listener attached by an emitter working with the view. + * this.listenTo( view, 'submit', () => { + * saveTheFormData(); + * hideTheForm(); + * } ); + * ``` + * + * @param options Configuration options. + * @param options.view The view which DOM `submit` events should be handled. + */ +export default function submitHandler({ view }: { + view: View; +}): void; +/** + * Fired by {@link module:ui/bindings/submithandler~submitHandler} helper. + * + * @eventName module:ui/view~View#submit + */ +export type SubmitHandlerEvent = { + name: 'submit'; + args: []; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js new file mode 100644 index 00000000..9d7a7643 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A handler useful for {@link module:ui/view~View views} working as HTML forms. It intercepts a native DOM + * `submit` event, prevents the default web browser behavior (navigation and page reload) and + * fires the `submit` event on a view instead. Such a custom event can be then used by any + * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data. + * + * ```ts + * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler'; + * + * // ... + * + * class AnyFormView extends View { + * constructor() { + * super(); + * + * // ... + * + * submitHandler( { + * view: this + * } ); + * } + * } + * + * // ... + * + * const view = new AnyFormView(); + * + * // A sample listener attached by an emitter working with the view. + * this.listenTo( view, 'submit', () => { + * saveTheFormData(); + * hideTheForm(); + * } ); + * ``` + * + * @param options Configuration options. + * @param options.view The view which DOM `submit` events should be handled. + */ +export default function submitHandler({ view }) { + view.listenTo(view.element, 'submit', (evt, domEvt) => { + domEvt.preventDefault(); + view.fire('submit'); + }, { useCapture: true }); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.d.ts new file mode 100644 index 00000000..e7a137c6 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.d.ts @@ -0,0 +1,172 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/button + */ +/** + * The button interface. Implemented by, among others, {@link module:ui/button/buttonview~ButtonView}, + * {@link module:ui/dropdown/button/splitbuttonview~SplitButtonView} and + * {@link module:ui/dropdown/button/dropdownbuttonview~DropdownButtonView}. + */ +export default interface Button { + /** + * The label of the button view visible to the user when {@link #withText} is `true`. + * It can also be used to create a {@link #tooltip}. + * + * @observable + */ + label: string | undefined; + /** + * (Optional) The keystroke associated with the button, i.e. CTRL+B, + * in the string format compatible with {@link module:utils/keyboard}. + * + * **Note**: Use {@link module:ui/button/button~Button#withKeystroke} if you want to display + * the keystroke information next to the {@link module:ui/button/button~Button#label label}. + * + * @observable + */ + keystroke: string | undefined; + /** + * (Optional) Tooltip of the button, i.e. displayed when hovering the button with the mouse cursor. + * + * * If defined as a `Boolean` (e.g. `true`), then combination of `label` and `keystroke` will be set as a tooltip. + * * If defined as a `String`, tooltip will equal the exact text of that `String`. + * * If defined as a `Function`, `label` and `keystroke` will be passed to that function, which is to return + * a string with the tooltip text. + * + * ```ts + * const view = new ButtonView( locale ); + * view.tooltip = ( label, keystroke ) => `A tooltip for ${ label } and ${ keystroke }.` + * ``` + * + * @observable + * @default false + */ + tooltip: boolean | string | ((label: string, keystroke: string | undefined) => string); + /** + * (Optional) The position of the tooltip. See {@link module:ui/tooltipmanager~TooltipManager} + * to learn more about the tooltip system. + * + * **Note:** It makes sense only when the {@link #tooltip `tooltip` attribute} is defined. + * + * @observable + * @default 's' + */ + tooltipPosition: 's' | 'n' | 'e' | 'w' | 'sw' | 'se'; + /** + * The HTML type of the button. + * + * @observable + * @default 'button' + */ + type: 'button' | 'submit' | 'reset' | 'menu'; + /** + * Controls whether the button view is "on". It makes sense when a feature it represents + * is currently active, e.g. a bold button is "on" when the selection is in the bold text. + * + * To disable the button, use {@link #isEnabled} instead. + * + * @observable + * @default true + */ + isOn: boolean; + /** + * Controls whether the button view is enabled, i.e. it can be clicked and execute an action. + * + * To change the "on" state of the button, use {@link #isOn} instead. + * + * @observable + * @default true + */ + isEnabled: boolean; + /** + * Controls whether the button view is visible. Visible by default, buttons are hidden + * using a CSS class. + * + * @observable + * @default true + */ + isVisible: boolean; + /** + * Controls whether the button view is a toggle button (two–state) for assistive technologies. + * + * @observable + * @default false + */ + isToggleable: boolean; + /** + * (Optional) Controls whether the label of the button is hidden (e.g. an icon–only button). + * + * @observable + * @default false + */ + withText: boolean; + /** + * (Optional) Controls whether the keystroke of the button is displayed next to its + * {@link module:ui/button/button~Button#label label}. + * + * **Note**: This property requires a {@link module:ui/button/button~Button#keystroke keystroke} + * to be defined in the first place. + * + * @observable + * @default false + */ + withKeystroke: boolean; + /** + * (Optional) An XML {@link module:ui/icon/iconview~IconView#content content} of the icon. + * When defined, an `iconView` should be added to the button. + * + * @observable + */ + icon: string | undefined; + /** + * (Optional) Controls the `tabindex` HTML attribute of the button. By default, the button is focusable + * but does not included in the Tab order. + * + * @observable + * @default -1 + */ + tabindex: number; + /** + * (Optional) The additional CSS class set on the button. + * + * @observable + */ + class: string | undefined; + /** + * (Optional) The ARIA property reflected by the `aria-label` DOM attribute used by assistive technologies. + * + * @observable + */ + ariaLabel?: string | undefined; + /** + * (Optional) The ARIA property reflected by the `aria-ariaLabelledBy` DOM attribute used by assistive technologies. + * + * @observable + */ + ariaLabelledBy?: string | undefined; + /** + * (Optional) The property reflected by the `role` DOM attribute to be used by assistive technologies. + * + * @observable + */ + role?: string | undefined; + /** + * (Optional) The value of the `style` attribute of the label. + * + * @observable + */ + labelStyle: string | undefined; +} +/** + * Fired when the button view is clicked. It won't be fired when the button {@link module:ui/button/button~Button#isEnabled} + * is `false`. + * + * @eventName ~Button#execute + */ +export type ButtonExecuteEvent = { + name: 'execute'; + args: []; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/button.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts new file mode 100644 index 00000000..010a4ad1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabel +*/ +import type View from '../view'; +/** + * The button label interface. Implemented by the {@link module:ui/button/buttonlabelview~ButtonLabelView} + * and any label view that can be used with the {@link module:ui/button/buttonview~ButtonView}. + */ +export default interface ButtonLabel extends View { + /** + * The `id` attribute of the button label. It is used for accessibility purposes + * to describe the button. + * + * @observable + */ + id: string | undefined; + /** + * The `style` attribute of the button label. It allows customizing the presentation + * of the label. + * + * @observable + */ + style: string | undefined; + /** + * The human-readable text of the label. + * + * @observable + */ + text: string | undefined; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts new file mode 100644 index 00000000..b88b444a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts @@ -0,0 +1,31 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabelview + */ +import View from '../view'; +import type ButtonLabel from './buttonlabel'; +/** + * A default implementation of the button view's label. It comes with a dynamic text support + * via {@link module:ui/button/buttonlabelview~ButtonLabelView#text} property. + */ +export default class ButtonLabelView extends View implements ButtonLabel { + /** + * @inheritDoc + */ + id: string | undefined; + /** + * @inheritDoc + */ + style: string | undefined; + /** + * @inheritDoc + */ + text: string | undefined; + /** + * @inheritDoc + */ + constructor(); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js new file mode 100644 index 00000000..4877a638 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js @@ -0,0 +1,42 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabelview + */ +import View from '../view'; +/** + * A default implementation of the button view's label. It comes with a dynamic text support + * via {@link module:ui/button/buttonlabelview~ButtonLabelView#text} property. + */ +export default class ButtonLabelView extends View { + /** + * @inheritDoc + */ + constructor() { + super(); + this.set({ + style: undefined, + text: undefined, + id: undefined + }); + const bind = this.bindTemplate; + this.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__label' + ], + style: bind.to('style'), + id: bind.to('id') + }, + children: [ + { + text: bind.to('text') + } + ] + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts new file mode 100644 index 00000000..fbfe5dcc --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts @@ -0,0 +1,181 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonview + */ +import View from '../view'; +import IconView from '../icon/iconview'; +import type ViewCollection from '../viewcollection'; +import type { default as Button } from './button'; +import type ButtonLabel from './buttonlabel'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/button.css'; +/** + * The button view class. + * + * ```ts + * const view = new ButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true, + * withText: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class ButtonView extends View implements Button { + /** + * Collection of the child views inside of the button {@link #element}. + */ + readonly children: ViewCollection; + /** + * Label of the button view. Its text is configurable using the {@link #label label attribute}. + * + * If not configured otherwise in the `constructor()`, by default the label is an instance + * of {@link module:ui/button/buttonlabelview~ButtonLabelView}. + */ + readonly labelView: ButtonLabel; + /** + * The icon view of the button. Will be added to {@link #children} when the + * {@link #icon icon attribute} is defined. + */ + readonly iconView: IconView; + /** + * A view displaying the keystroke of the button next to the {@link #labelView label}. + * Added to {@link #children} when the {@link #withKeystroke `withKeystroke` attribute} + * is defined. + */ + readonly keystrokeView: View; + /** + * @inheritDoc + */ + class: string | undefined; + /** + * @inheritDoc + */ + labelStyle: string | undefined; + /** + * @inheritDoc + */ + icon: string | undefined; + /** + * @inheritDoc + */ + isEnabled: boolean; + /** + * @inheritDoc + */ + isOn: boolean; + /** + * @inheritDoc + */ + isVisible: boolean; + /** + * @inheritDoc + */ + isToggleable: boolean; + /** + * @inheritDoc + */ + keystroke: string | undefined; + /** + * @inheritDoc + */ + label: string | undefined; + /** + * @inheritDoc + */ + tabindex: number; + /** + * @inheritDoc + */ + tooltip: Button['tooltip']; + /** + * @inheritDoc + */ + tooltipPosition: Button['tooltipPosition']; + /** + * @inheritDoc + */ + type: Button['type']; + /** + * @inheritDoc + */ + withText: boolean; + /** + * @inheritDoc + */ + withKeystroke: boolean; + /** + * @inheritDoc + */ + role: string | undefined; + /** + * @inheritDoc + */ + ariaLabel?: string | undefined; + /** + * @inheritDoc + */ + ariaLabelledBy: string | undefined; + /** + * Tooltip of the button bound to the template. + * + * @see #tooltip + * @see module:ui/button/buttonview~ButtonView#_getTooltipString + * @internal + * @observable + */ + _tooltipString: string; + /** + * Delayed focus function for focus handling in Safari. + */ + private _focusDelayed; + /** + * Creates an instance of the button view class. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param labelView The instance of the button's label. If not provided, an instance of + * {@link module:ui/button/buttonlabelview~ButtonLabelView} is used. + */ + constructor(locale?: Locale, labelView?: ButtonLabel); + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the {@link #element} of the button. + */ + focus(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Binds the label view instance it with button attributes. + */ + private _setupLabelView; + /** + * Creates a view that displays a keystroke next to a {@link #labelView label } + * and binds it with button attributes. + */ + private _createKeystrokeView; + /** + * Gets the text for the tooltip from the combination of + * {@link #tooltip}, {@link #label} and {@link #keystroke} attributes. + * + * @see #tooltip + * @see #_tooltipString + * @param tooltip Button tooltip. + * @param label Button label. + * @param keystroke Button keystroke. + */ + private _getTooltipString; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.js new file mode 100644 index 00000000..1de03973 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/buttonview.js @@ -0,0 +1,217 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonview + */ +import View from '../view'; +import IconView from '../icon/iconview'; +import ButtonLabelView from './buttonlabelview'; +import { env, getEnvKeystrokeText, uid, delay } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/button.css'; +/** + * The button view class. + * + * ```ts + * const view = new ButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true, + * withText: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class ButtonView extends View { + /** + * Creates an instance of the button view class. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param labelView The instance of the button's label. If not provided, an instance of + * {@link module:ui/button/buttonlabelview~ButtonLabelView} is used. + */ + constructor(locale, labelView = new ButtonLabelView()) { + super(locale); + /** + * Delayed focus function for focus handling in Safari. + */ + this._focusDelayed = null; + const bind = this.bindTemplate; + const ariaLabelUid = uid(); + // Implement the Button interface. + this.set('ariaLabel', undefined); + this.set('ariaLabelledBy', `ck-editor__aria-label_${ariaLabelUid}`); + this.set('class', undefined); + this.set('labelStyle', undefined); + this.set('icon', undefined); + this.set('isEnabled', true); + this.set('isOn', false); + this.set('isVisible', true); + this.set('isToggleable', false); + this.set('keystroke', undefined); + this.set('label', undefined); + this.set('role', undefined); + this.set('tabindex', -1); + this.set('tooltip', false); + this.set('tooltipPosition', 's'); + this.set('type', 'button'); + this.set('withText', false); + this.set('withKeystroke', false); + this.children = this.createCollection(); + this.labelView = this._setupLabelView(labelView); + this.iconView = new IconView(); + this.iconView.extendTemplate({ + attributes: { + class: 'ck-button__icon' + } + }); + this.keystrokeView = this._createKeystrokeView(); + this.bind('_tooltipString').to(this, 'tooltip', this, 'label', this, 'keystroke', this._getTooltipString.bind(this)); + const template = { + tag: 'button', + attributes: { + class: [ + 'ck', + 'ck-button', + bind.to('class'), + bind.if('isEnabled', 'ck-disabled', value => !value), + bind.if('isVisible', 'ck-hidden', value => !value), + bind.to('isOn', value => value ? 'ck-on' : 'ck-off'), + bind.if('withText', 'ck-button_with-text'), + bind.if('withKeystroke', 'ck-button_with-keystroke') + ], + role: bind.to('role'), + type: bind.to('type', value => value ? value : 'button'), + tabindex: bind.to('tabindex'), + 'aria-label': bind.to('ariaLabel'), + 'aria-labelledby': bind.to('ariaLabelledBy'), + 'aria-disabled': bind.if('isEnabled', true, value => !value), + 'aria-pressed': bind.to('isOn', value => this.isToggleable ? String(!!value) : false), + 'data-cke-tooltip-text': bind.to('_tooltipString'), + 'data-cke-tooltip-position': bind.to('tooltipPosition') + }, + children: this.children, + on: { + click: bind.to(evt => { + // We can't make the button disabled using the disabled attribute, because it won't be focusable. + // Though, shouldn't this condition be moved to the button controller? + if (this.isEnabled) { + this.fire('execute'); + } + else { + // Prevent the default when button is disabled, to block e.g. + // automatic form submitting. See ckeditor/ckeditor5-link#74. + evt.preventDefault(); + } + }) + } + }; + // On Safari we have to force the focus on a button on click as it's the only browser + // that doesn't do that automatically. See #12115. + if (env.isSafari) { + if (!this._focusDelayed) { + this._focusDelayed = delay(() => this.focus(), 0); + } + template.on.mousedown = bind.to(() => { + this._focusDelayed(); + }); + template.on.mouseup = bind.to(() => { + this._focusDelayed.cancel(); + }); + } + this.setTemplate(template); + } + /** + * @inheritDoc + */ + render() { + super.render(); + if (this.icon) { + this.iconView.bind('content').to(this, 'icon'); + this.children.add(this.iconView); + } + this.children.add(this.labelView); + if (this.withKeystroke && this.keystroke) { + this.children.add(this.keystrokeView); + } + } + /** + * Focuses the {@link #element} of the button. + */ + focus() { + this.element.focus(); + } + /** + * @inheritDoc + */ + destroy() { + if (this._focusDelayed) { + this._focusDelayed.cancel(); + } + super.destroy(); + } + /** + * Binds the label view instance it with button attributes. + */ + _setupLabelView(labelView) { + labelView.bind('text', 'style', 'id').to(this, 'label', 'labelStyle', 'ariaLabelledBy'); + return labelView; + } + /** + * Creates a view that displays a keystroke next to a {@link #labelView label } + * and binds it with button attributes. + */ + _createKeystrokeView() { + const keystrokeView = new View(); + keystrokeView.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__keystroke' + ] + }, + children: [ + { + text: this.bindTemplate.to('keystroke', text => getEnvKeystrokeText(text)) + } + ] + }); + return keystrokeView; + } + /** + * Gets the text for the tooltip from the combination of + * {@link #tooltip}, {@link #label} and {@link #keystroke} attributes. + * + * @see #tooltip + * @see #_tooltipString + * @param tooltip Button tooltip. + * @param label Button label. + * @param keystroke Button keystroke. + */ + _getTooltipString(tooltip, label, keystroke) { + if (tooltip) { + if (typeof tooltip == 'string') { + return tooltip; + } + else { + if (keystroke) { + keystroke = getEnvKeystrokeText(keystroke); + } + if (tooltip instanceof Function) { + return tooltip(label, keystroke); + } + else { + return `${label}${keystroke ? ` (${keystroke})` : ''}`; + } + } + } + return ''; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts new file mode 100644 index 00000000..d387fb3d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts @@ -0,0 +1,45 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/switchbuttonview + */ +import View from '../view'; +import ButtonView from './buttonview'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/switchbutton.css'; +/** + * The switch button view class. + * + * ```ts + * const view = new SwitchButtonView(); + * + * view.set( { + * withText: true, + * label: 'Switch me!' + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class SwitchButtonView extends ButtonView { + /** + * The toggle switch of the button. + */ + readonly toggleSwitchView: View; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; + /** + * Creates a toggle child view. + */ + private _createToggleView; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js new file mode 100644 index 00000000..a049252a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js @@ -0,0 +1,75 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/switchbuttonview + */ +import View from '../view'; +import ButtonView from './buttonview'; +import '../../theme/components/button/switchbutton.css'; +/** + * The switch button view class. + * + * ```ts + * const view = new SwitchButtonView(); + * + * view.set( { + * withText: true, + * label: 'Switch me!' + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class SwitchButtonView extends ButtonView { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.isToggleable = true; + this.toggleSwitchView = this._createToggleView(); + this.extendTemplate({ + attributes: { + class: 'ck-switchbutton' + } + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this.toggleSwitchView); + } + /** + * Creates a toggle child view. + */ + _createToggleView() { + const toggleSwitchView = new View(); + toggleSwitchView.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__toggle' + ] + }, + children: [ + { + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__toggle__inner' + ] + } + } + ] + }); + return toggleSwitchView; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts new file mode 100644 index 00000000..d1b0a340 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts @@ -0,0 +1,69 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/collapsible/collapsibleview + */ +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import View from '../view'; +import ButtonView from '../button/buttonview'; +import type ViewCollection from '../viewcollection'; +import '../../theme/components/collapsible/collapsible.css'; +/** + * A collapsible UI component. Consists of a labeled button and a container which can be collapsed + * by clicking the button. The collapsible container can be a host to other UI views. + * + * @internal + */ +export default class CollapsibleView extends View { + /** + * `true` when the container with {@link #children} is collapsed. `false` otherwise. + * + * @observable + */ + isCollapsed: boolean; + /** + * The text label of the {@link #buttonView}. + * + * @observable + * @default 'Show more' + */ + label: string; + /** + * The ID of the label inside the {@link #buttonView} that describes the collapsible + * container for assistive technologies. Set after the button was {@link #render rendered}. + * + * @internal + * @readonly + * @observable + */ + _collapsibleAriaLabelUid: string | undefined; + /** + * The main button that, when clicked, collapses or expands the container with {@link #children}. + */ + readonly buttonView: ButtonView; + /** + * A collection of the child views that can be collapsed by clicking the {@link #buttonView}. + */ + readonly children: ViewCollection; + /** + * Creates an instance of the collapsible view. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param childViews An optional array of initial child views to be inserted into the collapsible. + */ + constructor(locale: Locale, childViews?: Array); + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the first focusable. + */ + focus(): void; + /** + * Creates the main {@link #buttonView} of the collapsible. + */ + private _createButtonView; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js new file mode 100644 index 00000000..e693604c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js @@ -0,0 +1,95 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import View from '../view'; +import ButtonView from '../button/buttonview'; +import dropdownArrowIcon from '../../theme/icons/dropdown-arrow.svg'; +import '../../theme/components/collapsible/collapsible.css'; +/** + * A collapsible UI component. Consists of a labeled button and a container which can be collapsed + * by clicking the button. The collapsible container can be a host to other UI views. + * + * @internal + */ +export default class CollapsibleView extends View { + /** + * Creates an instance of the collapsible view. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param childViews An optional array of initial child views to be inserted into the collapsible. + */ + constructor(locale, childViews) { + super(locale); + const bind = this.bindTemplate; + this.set('isCollapsed', false); + this.set('label', ''); + this.buttonView = this._createButtonView(); + this.children = this.createCollection(); + this.set('_collapsibleAriaLabelUid', undefined); + if (childViews) { + this.children.addMany(childViews); + } + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-collapsible', + bind.if('isCollapsed', 'ck-collapsible_collapsed') + ] + }, + children: [ + this.buttonView, + { + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-collapsible__children' + ], + role: 'region', + hidden: bind.if('isCollapsed', 'hidden'), + 'aria-labelledby': bind.to('_collapsibleAriaLabelUid') + }, + children: this.children + } + ] + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this._collapsibleAriaLabelUid = this.buttonView.labelView.element.id; + } + /** + * Focuses the first focusable. + */ + focus() { + this.buttonView.focus(); + } + /** + * Creates the main {@link #buttonView} of the collapsible. + */ + _createButtonView() { + const buttonView = new ButtonView(this.locale); + const bind = buttonView.bindTemplate; + buttonView.set({ + withText: true, + icon: dropdownArrowIcon + }); + buttonView.extendTemplate({ + attributes: { + 'aria-expanded': bind.to('isOn', value => String(value)) + } + }); + buttonView.bind('label').to(this); + buttonView.bind('isOn').to(this, 'isCollapsed', isCollapsed => !isCollapsed); + buttonView.on('execute', () => { + this.isCollapsed = !this.isCollapsed; + }); + return buttonView; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts new file mode 100644 index 00000000..f90c1d4f --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts @@ -0,0 +1,132 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colorgridview + */ +import View from '../view'; +import ColorTileView from './colortileview'; +import type DropdownPanelFocusable from '../dropdown/dropdownpanelfocusable'; +import type ViewCollection from '../viewcollection'; +import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/colorgrid/colorgrid.css'; +/** + * A grid of {@link module:ui/colorgrid/colortileview~ColorTileView color tiles}. + */ +export default class ColorGridView extends View implements DropdownPanelFocusable { + /** + * A number of columns for the tiles grid. + */ + readonly columns: number; + /** + * Collection of the child tile views. + */ + readonly items: ViewCollection; + /** + * Tracks information about DOM focus in the grid. + */ + readonly focusTracker: FocusTracker; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * The color of the currently selected color tile in {@link #items}. + * + * @observable + */ + selectedColor: string | undefined | null; + /** + * Creates an instance of a color grid containing {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * + * @fires execute + * @param locale The localization services instance. + * @param options Component configuration + * @param options.colorDefinitions Array with definitions + * required to create the {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * @param options.columns A number of columns to display the tiles. + */ + constructor(locale?: Locale, options?: { + colorDefinitions?: Array; + columns?: number; + }); + /** + * Focuses the first focusable in {@link #items}. + */ + focus(): void; + /** + * Focuses the last focusable in {@link #items}. + */ + focusLast(): void; + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; +} +/** + * A color definition used to create a {@link module:ui/colorgrid/colortileview~ColorTileView}. + * + * ```json + * { + * color: 'hsl(0, 0%, 75%)', + * label: 'Light Grey', + * options: { + * hasBorder: true + * } + * } + * ``` + */ +export interface ColorDefinition { + /** + * String representing a color. + * It is used as value of background-color style in {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + color: string; + /** + * String used as label for {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + label: string; + /** + * Additional options passed to create a {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + options: { + /** + * A flag that indicates if special a CSS class should be added + * to {@link module:ui/colorgrid/colortileview~ColorTileView}, which renders a border around it. + */ + hasBorder: boolean; + }; +} +/** + * Fired when the `ColorTileView` for the picked item is executed. + * + * @eventName ~ColorGridView#execute + * @param data Additional information about the event. +*/ +export type ColorGridViewExecuteEvent = { + name: 'execute'; + args: [data: ColorGridViewExecuteEventData]; +}; +/** + * The data of {@link ~ColorGridViewExecuteEvent execute event}. + */ +export interface ColorGridViewExecuteEventData { + /** + * The value of the selected color ({@link module:ui/colorgrid/colorgridview~ColorDefinition#color `color.color`}). + */ + value: string; + /** + * The `hasBorder` property of the selected color + * ({@link module:ui/colorgrid/colorgridview~ColorDefinition#options `color.options.hasBorder`}). + */ + hasBorder: boolean; + /** + * The label of the selected color ({@link module:ui/colorgrid/colorgridview~ColorDefinition#label `color.label`}) + */ + label: string; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js new file mode 100644 index 00000000..4e038eb3 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js @@ -0,0 +1,124 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colorgridview + */ +import View from '../view'; +import ColorTileView from './colortileview'; +import addKeyboardHandlingForGrid from '../bindings/addkeyboardhandlingforgrid'; +import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/colorgrid/colorgrid.css'; +/** + * A grid of {@link module:ui/colorgrid/colortileview~ColorTileView color tiles}. + */ +export default class ColorGridView extends View { + /** + * Creates an instance of a color grid containing {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * + * @fires execute + * @param locale The localization services instance. + * @param options Component configuration + * @param options.colorDefinitions Array with definitions + * required to create the {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * @param options.columns A number of columns to display the tiles. + */ + constructor(locale, options) { + super(locale); + const colorDefinitions = options && options.colorDefinitions ? options.colorDefinitions : []; + this.columns = options && options.columns ? options.columns : 5; + const viewStyleAttribute = { + gridTemplateColumns: `repeat( ${this.columns}, 1fr)` + }; + this.set('selectedColor', undefined); + this.items = this.createCollection(); + this.focusTracker = new FocusTracker(); + this.keystrokes = new KeystrokeHandler(); + this.items.on('add', (evt, colorTile) => { + colorTile.isOn = colorTile.color === this.selectedColor; + }); + colorDefinitions.forEach(color => { + const colorTile = new ColorTileView(); + colorTile.set({ + color: color.color, + label: color.label, + tooltip: true, + hasBorder: color.options.hasBorder + }); + colorTile.on('execute', () => { + this.fire('execute', { + value: color.color, + hasBorder: color.options.hasBorder, + label: color.label + }); + }); + this.items.add(colorTile); + }); + this.setTemplate({ + tag: 'div', + children: this.items, + attributes: { + class: [ + 'ck', + 'ck-color-grid' + ], + style: viewStyleAttribute + } + }); + this.on('change:selectedColor', (evt, name, selectedColor) => { + for (const item of this.items) { + item.isOn = item.color === selectedColor; + } + }); + } + /** + * Focuses the first focusable in {@link #items}. + */ + focus() { + if (this.items.length) { + this.items.first.focus(); + } + } + /** + * Focuses the last focusable in {@link #items}. + */ + focusLast() { + if (this.items.length) { + this.items.last.focus(); + } + } + /** + * @inheritDoc + */ + render() { + super.render(); + // Items added before rendering should be known to the #focusTracker. + for (const item of this.items) { + this.focusTracker.add(item.element); + } + this.items.on('add', (evt, item) => { + this.focusTracker.add(item.element); + }); + this.items.on('remove', (evt, item) => { + this.focusTracker.remove(item.element); + }); + // Start listening for the keystrokes coming from #element. + this.keystrokes.listenTo(this.element); + addKeyboardHandlingForGrid({ + keystrokeHandler: this.keystrokes, + focusTracker: this.focusTracker, + gridItems: this.items, + numberOfColumns: this.columns, + uiLanguageDirection: this.locale && this.locale.uiLanguageDirection + }); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts new file mode 100644 index 00000000..16b410f7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts @@ -0,0 +1,28 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colortileview + */ +import ButtonView from '../button/buttonview'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}. + */ +export default class ColorTileView extends ButtonView { + /** + * String representing a color shown as tile's background. + */ + color: string | undefined; + /** + * A flag that toggles a special CSS class responsible for displaying + * a border around the button. + */ + hasBorder: boolean; + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js new file mode 100644 index 00000000..afd2a206 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colortileview + */ +import ButtonView from '../button/buttonview'; +import checkIcon from '../../theme/icons/color-tile-check.svg'; +/** + * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}. + */ +export default class ColorTileView extends ButtonView { + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('color', undefined); + this.set('hasBorder', false); + this.icon = checkIcon; + this.extendTemplate({ + attributes: { + style: { + backgroundColor: bind.to('color') + }, + class: [ + 'ck', + 'ck-color-grid__tile', + bind.if('hasBorder', 'ck-color-selector__color-tile_bordered') + ] + } + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.iconView.fillColor = 'hsl(0, 0%, 100%)'; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts new file mode 100644 index 00000000..e5b08cf5 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/utils + */ +import type { Locale } from '@ckeditor/ckeditor5-utils'; +export type ColorOption = string | { + color: string; + label?: string; + hasBorder?: boolean; +}; +export interface NormalizedColorOption { + model: string; + label: string; + hasBorder: boolean; + view: { + name: string; + styles: { + color: string; + }; + }; +} +/** + * Returns color configuration options as defined in `editor.config.(fontColor|fontBackgroundColor).colors` or + * `editor.config.table.(tableProperties|tableCellProperties).(background|border).colors + * but processed to account for editor localization in the correct language. + * + * Note: The reason behind this method is that there is no way to use {@link module:utils/locale~Locale#t} + * when the user configuration is defined because the editor does not exist yet. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export declare function getLocalizedColorOptions(locale: Locale, options: Array): Array; +/** + * Creates a unified color definition object from color configuration options. + * The object contains the information necessary to both render the UI and initialize the conversion. + */ +export declare function normalizeColorOptions(options: Array): Array; +/** + * Creates a normalized color definition from the user-defined configuration. + * The "normalization" means it will create full + * {@link module:ui/colorgrid/colorgridview~ColorDefinition `ColorDefinition-like`} + * object for string values, and add a `view` property, for each definition. + */ +export declare function normalizeSingleColorDefinition(color: ColorOption): NormalizedColorOption; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js new file mode 100644 index 00000000..67f7586b --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js @@ -0,0 +1,84 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns color configuration options as defined in `editor.config.(fontColor|fontBackgroundColor).colors` or + * `editor.config.table.(tableProperties|tableCellProperties).(background|border).colors + * but processed to account for editor localization in the correct language. + * + * Note: The reason behind this method is that there is no way to use {@link module:utils/locale~Locale#t} + * when the user configuration is defined because the editor does not exist yet. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export function getLocalizedColorOptions(locale, options) { + const t = locale.t; + const localizedColorNames = { + 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 options.map(colorOption => { + const label = localizedColorNames[colorOption.label]; + if (label && label != colorOption.label) { + colorOption.label = label; + } + return colorOption; + }); +} +/** + * Creates a unified color definition object from color configuration options. + * The object contains the information necessary to both render the UI and initialize the conversion. + */ +export function normalizeColorOptions(options) { + return options + .map(normalizeSingleColorDefinition) + .filter(option => !!option); +} +/** + * Creates a normalized color definition from the user-defined configuration. + * The "normalization" means it will create full + * {@link module:ui/colorgrid/colorgridview~ColorDefinition `ColorDefinition-like`} + * object for string values, and add a `view` property, for each definition. + */ +export function normalizeSingleColorDefinition(color) { + if (typeof color === 'string') { + return { + model: color, + label: color, + hasBorder: false, + view: { + name: 'span', + styles: { + color + } + } + }; + } + else { + return { + model: color.color, + label: color.label || color.color, + hasBorder: color.hasBorder === undefined ? false : color.hasBorder, + view: { + name: 'span', + styles: { + color: `${color.color}` + } + } + }; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts new file mode 100644 index 00000000..8e158a43 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts @@ -0,0 +1,137 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/colorpickerview + */ +import { type ColorPickerViewConfig } from './utils'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import View from '../view'; +import type ViewCollection from '../viewcollection'; +import 'vanilla-colorful/hex-color-picker.js'; +import '../../theme/components/colorpicker/colorpicker.css'; +/** + * A class which represents a color picker with an input field for defining custom colors. + */ +export default class ColorPickerView extends View { + /** + * Element with saturation and hue sliders. + */ + picker: HTMLElement; + /** + * Container for a `#` sign prefix and an input for displaying and defining custom colors + * in HEX format. + */ + hexInputRow: ColorPickerInputRowView; + /** + * Current color selected in the color picker. It can be set by the component itself + * (through the palette or input) or from the outside (e.g. to reflect the current selection color). + */ + color: string; + /** + * List of slider views of the color picker. + */ + slidersView: ViewCollection; + /** + * An internal representation of a color. + * + * Since the picker uses a hex format, that's how we store it. + * + * Since this is unified color format it won't fire a change event if color is changed + * from `#f00` to `#ff0000` (same value, different format). + * + * @observable + * @private + */ + _hexColor: string; + /** + * Debounced function updating the `color` property in the component + * and firing the `ColorPickerColorSelectedEvent`. Executed whenever color in component + * is changed by the user interaction (through the palette or input). + * + * @private + */ + private _debounceColorPickerEvent; + /** + * A reference to the configuration of the color picker specified in the constructor. + * + * @private + */ + private _config; + /** + * Creates a view of color picker. + * + * @param locale + * @param config + */ + constructor(locale: Locale | undefined, config?: ColorPickerViewConfig); + /** + * Renders color picker in the view. + */ + render(): void; + /** + * Focuses the first pointer in color picker. + * + */ + focus(): void; + /** + * Creates collection of sliders in color picker. + * + * @private + */ + private _createSlidersView; + /** + * Creates input row for defining custom colors in color picker. + * + * @private + */ + private _createInputRow; + /** + * Creates the input where user can type or paste the color in hex format. + * + * @private + */ + private _createColorInput; +} +declare class SliderView extends View { + /** + * @param element HTML elemnt of slider in color picker. + */ + constructor(element: HTMLElement); + /** + * Focuses element. + */ + focus(): void; +} +declare class ColorPickerInputRowView extends View { + /** + * A collection of row items (buttons, dropdowns, etc.). + */ + readonly children: ViewCollection; + /** + * Creates an instance of the form row class. + * + * @param locale The locale instance. + */ + constructor(locale: Locale, children?: Array); +} +/** + * An event fired whenever the color was selected through the color picker palette + * or the color picker input. + * + * This even fires only when the user changes the color. It does not fire when the color + * is changed programmatically, e.g. via + * {@link module:ui/colorpicker/colorpickerview~ColorPickerView#color}. + * + * @eventName ~ColorPickerView#colorSelected + */ +export type ColorPickerColorSelectedEvent = { + name: 'colorSelected'; + args: [ + { + color: string; + } + ]; +}; +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js new file mode 100644 index 00000000..ae9c1c46 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js @@ -0,0 +1,270 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/colorpickerview + */ +import { convertColor, convertToHex } from './utils'; +import { global, env } from '@ckeditor/ckeditor5-utils'; +import { debounce } from 'lodash-es'; +import View from '../view'; +import LabeledFieldView from '../labeledfield/labeledfieldview'; +import { createLabeledInputText } from '../labeledfield/utils'; +import 'vanilla-colorful/hex-color-picker.js'; +import '../../theme/components/colorpicker/colorpicker.css'; +const waitingTime = 150; +/** + * A class which represents a color picker with an input field for defining custom colors. + */ +export default class ColorPickerView extends View { + /** + * Creates a view of color picker. + * + * @param locale + * @param config + */ + constructor(locale, config = {}) { + super(locale); + this.set({ + color: '', + _hexColor: '' + }); + this.hexInputRow = this._createInputRow(); + const children = this.createCollection(); + if (!config.hideInput) { + children.add(this.hexInputRow); + } + this.setTemplate({ + tag: 'div', + attributes: { + class: ['ck', 'ck-color-picker'], + tabindex: -1 + }, + children + }); + this._config = config; + this._debounceColorPickerEvent = debounce((color) => { + // At first, set the color internally in the component. It's converted to the configured output format. + this.set('color', color); + // Then let the outside world know that the user changed the color. + this.fire('colorSelected', { color: this.color }); + }, waitingTime, { + leading: true + }); + // The `color` property holds the color in the configured output format. + // Ensure it before actually setting the value. + this.on('set:color', (evt, propertyName, newValue) => { + evt.return = convertColor(newValue, this._config.format || 'hsl'); + }); + // The `_hexColor` property is bound to the `color` one, but requires conversion. + this.on('change:color', () => { + this._hexColor = convertColorToCommonHexFormat(this.color); + }); + this.on('change:_hexColor', () => { + // Update the selected color in the color picker palette when it's not focused. + // It means the user typed the color in the input. + if (document.activeElement !== this.picker) { + this.picker.setAttribute('color', this._hexColor); + } + // There has to be two way binding between properties. + // Extra precaution has to be taken to trigger change back only when the color really changes. + if (convertColorToCommonHexFormat(this.color) != convertColorToCommonHexFormat(this._hexColor)) { + this.color = this._hexColor; + } + }); + } + /** + * Renders color picker in the view. + */ + render() { + super.render(); + this.picker = global.document.createElement('hex-color-picker'); + this.picker.setAttribute('class', 'hex-color-picker'); + this.picker.setAttribute('tabindex', '-1'); + this._createSlidersView(); + if (this.element) { + if (this.hexInputRow.element) { + this.element.insertBefore(this.picker, this.hexInputRow.element); + } + else { + this.element.appendChild(this.picker); + } + // Create custom stylesheet with a look of focused pointer in color picker and append it into the color picker shadowDom + const styleSheetForFocusedColorPicker = document.createElement('style'); + styleSheetForFocusedColorPicker.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(styleSheetForFocusedColorPicker); + } + this.picker.addEventListener('color-changed', event => { + const customEvent = event; + const color = customEvent.detail.value; + this._debounceColorPickerEvent(color); + }); + } + /** + * Focuses the first pointer in color picker. + * + */ + focus() { + // In some browsers we need to move the focus to the input first. + // Otherwise, the color picker doesn't behave as expected. + // In FF, after selecting the color via slider, it instantly moves back to the previous color. + // In all iOS browsers and desktop Safari, once the saturation slider is moved for the first time, + // editor collapses the selection and doesn't apply the color change. + // See: https://github.com/cksource/ckeditor5-internal/issues/3245, https://github.com/ckeditor/ckeditor5/issues/14119, + // https://github.com/cksource/ckeditor5-internal/issues/3268. + /* istanbul ignore next -- @preserve */ + if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari)) { + const input = this.hexInputRow.children.get(1); + input.focus(); + } + const firstSlider = this.slidersView.first; + firstSlider.focus(); + } + /** + * Creates collection of sliders in color picker. + * + * @private + */ + _createSlidersView() { + const colorPickersChildren = [...this.picker.shadowRoot.children]; + const sliders = colorPickersChildren.filter(item => item.getAttribute('role') === 'slider'); + const slidersView = sliders.map(slider => { + const view = new SliderView(slider); + return view; + }); + this.slidersView = this.createCollection(); + slidersView.forEach(item => { + this.slidersView.add(item); + }); + } + /** + * Creates input row for defining custom colors in color picker. + * + * @private + */ + _createInputRow() { + const hashView = new HashView(); + const colorInput = this._createColorInput(); + return new ColorPickerInputRowView(this.locale, [hashView, colorInput]); + } + /** + * Creates the input where user can type or paste the color in hex format. + * + * @private + */ + _createColorInput() { + const labeledInput = new LabeledFieldView(this.locale, createLabeledInputText); + const { t } = this.locale; + labeledInput.set({ + label: t('HEX'), + class: 'color-picker-hex-input' + }); + labeledInput.fieldView.bind('value').to(this, '_hexColor', pickerColor => { + if (labeledInput.isFocused) { + // Text field shouldn't be updated with color change if the text field is focused. + // Imagine user typing hex code and getting the value of field changed. + return labeledInput.fieldView.value; + } + else { + return pickerColor.startsWith('#') ? pickerColor.substring(1) : pickerColor; + } + }); + // Only accept valid hex colors as input. + labeledInput.fieldView.on('input', () => { + const inputValue = labeledInput.fieldView.element.value; + if (inputValue) { + // Trim the whitespace. + const trimmedValue = inputValue.trim(); + // Drop the `#` from the beginning if present. + const hashlessInput = trimmedValue.startsWith('#') ? trimmedValue.substring(1) : trimmedValue; + // Check if it's a hex color (3,4,6 or 8 chars long and with proper characters). + const isValidHexColor = [3, 4, 6, 8].includes(hashlessInput.length) && + /(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})/.test(hashlessInput); + if (isValidHexColor) { + // If so, set the color. + // Otherwise, do nothing. + this._debounceColorPickerEvent('#' + hashlessInput); + } + } + }); + return labeledInput; + } +} +// Converts any color format to a unified hex format. +// +// @param inputColor +// @returns An unified hex string. +function convertColorToCommonHexFormat(inputColor) { + let ret = convertToHex(inputColor); + if (!ret) { + ret = '#000'; + } + if (ret.length === 4) { + // Unfold shortcut format. + ret = '#' + [ret[1], ret[1], ret[2], ret[2], ret[3], ret[3]].join(''); + } + return ret.toLowerCase(); +} +// View abstraction over pointer in color picker. +class SliderView extends View { + /** + * @param element HTML elemnt of slider in color picker. + */ + constructor(element) { + super(); + this.element = element; + } + /** + * Focuses element. + */ + focus() { + this.element.focus(); + } +} +// View abstraction over the `#` character before color input. +class HashView extends View { + constructor(locale) { + super(locale); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-picker__hash-view' + ] + }, + children: '#' + }); + } +} +// The class representing a row containing hex color input field. +// **Note**: For now this class is private. When more use cases appear (beyond `ckeditor5-table` and `ckeditor5-image`), +// it will become a component in `ckeditor5-ui`. +// +// @private +class ColorPickerInputRowView extends View { + /** + * Creates an instance of the form row class. + * + * @param locale The locale instance. + */ + constructor(locale, children) { + super(locale); + this.children = this.createCollection(children); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-picker__row' + ] + }, + children: this.children + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts new file mode 100644 index 00000000..0da809a4 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts @@ -0,0 +1,43 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Color formats handled by color converter. + */ +export type ColorPickerOutputFormat = 'hex' | 'rgb' | 'hsl' | 'hwb' | 'lab' | 'lch'; +/** + * Configuration of the color picker feature. + * + * It can be forced to apply colors in the editor in a particular format. + * + * @default `{ + * format: 'hsl' + * }` + */ +export type ColorPickerConfig = { + format?: ColorPickerOutputFormat; +}; +/** + * Configuration of the color picker view. + * + * It can be used to enforce a particular color format or hide the color input. + */ +export type ColorPickerViewConfig = ColorPickerConfig & { + hideInput?: boolean; +}; +/** + * Parses and converts the color string to requested format. Handles variety of color spaces + * like `hsl`, `hex` or `rgb`. + * + * @param color + * @returns A color string. + */ +export declare function convertColor(color: string, outputFormat: ColorPickerOutputFormat): string; +/** + * Converts a color string to hex format. + * + * @param color + * @returns A color string. + */ +export declare function convertToHex(color: string): string; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js new file mode 100644 index 00000000..0d0a2d13 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js @@ -0,0 +1,99 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/utils + */ +/* eslint-disable @typescript-eslint/ban-ts-comment */ +// There are no available types for 'color-parse' module. +// @ts-ignore +import { default as parse } from 'color-parse'; +import * as convert from 'color-convert'; +/** + * Parses and converts the color string to requested format. Handles variety of color spaces + * like `hsl`, `hex` or `rgb`. + * + * @param color + * @returns A color string. + */ +export function convertColor(color, outputFormat) { + if (!color) { + return ''; + } + const colorObject = parseColorString(color); + if (!colorObject) { + return ''; + } + if (colorObject.space === outputFormat) { + return color; + } + if (!canConvertParsedColor(colorObject)) { + return ''; + } + const fromColorSpace = convert[colorObject.space]; + const toColorSpace = fromColorSpace[outputFormat]; + if (!toColorSpace) { + return ''; + } + const convertedColorChannels = toColorSpace(colorObject.space === 'hex' ? colorObject.hexValue : colorObject.values); + return formatColorOutput(convertedColorChannels, outputFormat); +} +/** + * Converts a color string to hex format. + * + * @param color + * @returns A color string. + */ +export function convertToHex(color) { + if (!color) { + return ''; + } + const colorObject = parseColorString(color); + if (!colorObject) { + return '#000'; + } + if (colorObject.space === 'hex') { + return colorObject.hexValue; + } + return convertColor(color, 'hex'); +} +/** + * Formats the passed color channels according to the requested format. + * + * @param values + * @param format + * @returns A color string. + */ +function formatColorOutput(values, format) { + switch (format) { + case 'hex': return `#${values}`; + case 'rgb': return `rgb( ${values[0]}, ${values[1]}, ${values[2]} )`; + case 'hsl': return `hsl( ${values[0]}, ${values[1]}%, ${values[2]}% )`; + case 'hwb': return `hwb( ${values[0]}, ${values[1]}, ${values[2]} )`; + case 'lab': return `lab( ${values[0]}% ${values[1]} ${values[2]} )`; + case 'lch': return `lch( ${values[0]}% ${values[1]} ${values[2]} )`; + default: return ''; + } +} +function parseColorString(colorString) { + // Parser library treats `hex` format as belonging to `rgb` space | which messes up further conversion. + // Let's parse such strings on our own. + if (colorString.startsWith('#')) { + const parsedHex = parse(colorString); + return { + space: 'hex', + values: parsedHex.values, + hexValue: colorString, + alpha: parsedHex.alpha + }; + } + const parsed = parse(colorString); + if (!parsed.space) { + return null; + } + return parsed; +} +function canConvertParsedColor(parsedColor) { + return Object.keys(convert).includes(parsedColor.space); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts new file mode 100644 index 00000000..7547d56e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts @@ -0,0 +1,194 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorgridsfragmentview + */ +import View from '../view'; +import ButtonView from '../button/buttonview'; +import ColorGridView, { type ColorDefinition } from '../colorgrid/colorgridview'; +import DocumentColorCollection from './documentcolorcollection'; +import type { Model } from '@ckeditor/ckeditor5-engine'; +import type { FocusTracker, Locale } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from '../viewcollection'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It provides a UI that allows users to select colors from the a predefined set and from existing document colors. + * + * It consists of the following sub–components: + * + * * A "Remove color" button, + * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration, + * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document. + * * If color picker is configured, the "Color Picker" button is visible too. + */ +export default class ColorGridsFragmentView extends View { + /** + * A collection of the children of the table. + */ + readonly items: ViewCollection; + /** + * An array with objects representing colors to be displayed in the grid. + */ + colorDefinitions: Array; + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * The number of columns in the color grid. + */ + columns: number; + /** + * Preserves the reference to {@link module:ui/colorselector/documentcolorcollection~DocumentColorCollection} used to collect + * definitions that store the document colors. + * + * @readonly + */ + documentColors: DocumentColorCollection; + /** + * The maximum number of colors in the document colors section. + * If it equals 0, the document colors section is not added. + * + * @readonly + */ + documentColorsCount?: number; + /** + * Keeps the value of the command associated with the table for the current selection. + */ + selectedColor: string; + /** + * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create + * the default (static) color set. + * + * The property is loaded once the the parent dropdown is opened the first time. + * + * @readonly + */ + staticColorsGrid: ColorGridView | undefined; + /** + * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create + * the document colors. It remains undefined if the document colors feature is disabled. + * + * The property is loaded once the the parent dropdown is opened the first time. + * + * @readonly + */ + documentColorsGrid: ColorGridView | undefined; + /** + * The "Color picker" button view. + */ + colorPickerButtonView?: ButtonView; + /** + * The "Remove color" button view. + */ + removeColorButtonView: ButtonView; + /** + * The property which is responsible for is component visible or not. + */ + isVisible: boolean; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * Document color section's label. + * + * @readonly + */ + private _documentColorsLabel?; + /** + * The label of the button responsible for removing color attributes. + */ + private _removeButtonLabel; + /** + * The label of the button responsible for switching to the color picker component. + */ + private _colorPickerLabel; + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view. + */ + constructor(locale: Locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, focusTracker, focusables }: { + colors: Array; + columns: number; + removeButtonLabel: string; + colorPickerLabel: string; + documentColorsLabel?: string; + documentColorsCount?: number; + focusTracker: FocusTracker; + focusables: ViewCollection; + }); + /** + * Scans through the editor model and searches for text node attributes with the given attribute name. + * Found entries are set as document colors. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model: Model, attributeName: string): void; + /** + * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s + * available in the {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. It guarantees that the selection will + * occur only in one of them. + */ + updateSelectedColors(): void; + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the component. + */ + focus(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Handles displaying the color picker button (if it was previously created) and making it focusable. + */ + addColorPickerButton(): void; + /** + * Adds color selector elements to focus tracker. + */ + private _addColorSelectorElementsToFocusTracker; + /** + * Creates the button responsible for displaying the color picker component. + */ + private _createColorPickerButton; + /** + * Adds the remove color button as a child of the current view. + */ + private _createRemoveColorButton; + /** + * Creates a static color grid based on the editor configuration. + */ + private _createStaticColorsGrid; + /** + * Creates the document colors section view and binds it to {@link #documentColors}. + */ + private _createDocumentColorsGrid; + /** + * Adds a given color to the document colors list. If possible, the method will attempt to use + * data from the {@link #colorDefinitions} (label, color options). + * + * @param color A string that stores the value of the recently applied color. + */ + private _addColorToDocumentColors; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js new file mode 100644 index 00000000..09132816 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js @@ -0,0 +1,289 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorgridsfragmentview + */ +import View from '../view'; +import ButtonView from '../button/buttonview'; +import ColorGridView from '../colorgrid/colorgridview'; +import ColorTileView from '../colorgrid/colortileview'; +import LabelView from '../label/labelview'; +import Template from '../template'; +import DocumentColorCollection from './documentcolorcollection'; +import removeButtonIcon from '@ckeditor/ckeditor5-core/theme/icons/eraser.svg'; +import colorPaletteIcon from '../../theme/icons/color-palette.svg'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It provides a UI that allows users to select colors from the a predefined set and from existing document colors. + * + * It consists of the following sub–components: + * + * * A "Remove color" button, + * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration, + * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document. + * * If color picker is configured, the "Color Picker" button is visible too. + */ +export default class ColorGridsFragmentView extends View { + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view. + */ + constructor(locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, focusTracker, focusables }) { + super(locale); + const bind = this.bindTemplate; + this.set('isVisible', true); + this.focusTracker = focusTracker; + this.items = this.createCollection(); + this.colorDefinitions = colors; + this.columns = columns; + this.documentColors = new DocumentColorCollection(); + this.documentColorsCount = documentColorsCount; + this._focusables = focusables; + this._removeButtonLabel = removeButtonLabel; + this._colorPickerLabel = colorPickerLabel; + this._documentColorsLabel = documentColorsLabel; + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck-color-grids-fragment', + bind.if('isVisible', 'ck-hidden', value => !value) + ] + }, + children: this.items + }); + this.removeColorButtonView = this._createRemoveColorButton(); + this.items.add(this.removeColorButtonView); + } + /** + * Scans through the editor model and searches for text node attributes with the given attribute name. + * Found entries are set as document colors. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model, attributeName) { + const document = model.document; + const maxCount = this.documentColorsCount; + this.documentColors.clear(); + for (const root of document.getRoots()) { + const range = model.createRangeIn(root); + for (const node of range.getItems()) { + if (node.is('$textProxy') && node.hasAttribute(attributeName)) { + this._addColorToDocumentColors(node.getAttribute(attributeName)); + if (this.documentColors.length >= maxCount) { + return; + } + } + } + } + } + /** + * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s + * available in the {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. It guarantees that the selection will + * occur only in one of them. + */ + updateSelectedColors() { + const documentColorsGrid = this.documentColorsGrid; + const staticColorsGrid = this.staticColorsGrid; + const selectedColor = this.selectedColor; + staticColorsGrid.selectedColor = selectedColor; + if (documentColorsGrid) { + documentColorsGrid.selectedColor = selectedColor; + } + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.staticColorsGrid = this._createStaticColorsGrid(); + this.items.add(this.staticColorsGrid); + if (this.documentColorsCount) { + // Create a label for document colors. + const bind = Template.bind(this.documentColors, this.documentColors); + const label = new LabelView(this.locale); + label.text = this._documentColorsLabel; + label.extendTemplate({ + attributes: { + class: [ + 'ck', + 'ck-color-grid__label', + bind.if('isEmpty', 'ck-hidden') + ] + } + }); + this.items.add(label); + this.documentColorsGrid = this._createDocumentColorsGrid(); + this.items.add(this.documentColorsGrid); + } + this._createColorPickerButton(); + this._addColorSelectorElementsToFocusTracker(); + this.focus(); + } + /** + * Focuses the component. + */ + focus() { + this.removeColorButtonView.focus(); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + } + /** + * Handles displaying the color picker button (if it was previously created) and making it focusable. + */ + addColorPickerButton() { + if (this.colorPickerButtonView) { + this.items.add(this.colorPickerButtonView); + this.focusTracker.add(this.colorPickerButtonView.element); + this._focusables.add(this.colorPickerButtonView); + } + } + /** + * Adds color selector elements to focus tracker. + */ + _addColorSelectorElementsToFocusTracker() { + this.focusTracker.add(this.removeColorButtonView.element); + this._focusables.add(this.removeColorButtonView); + if (this.staticColorsGrid) { + this.focusTracker.add(this.staticColorsGrid.element); + this._focusables.add(this.staticColorsGrid); + } + if (this.documentColorsGrid) { + this.focusTracker.add(this.documentColorsGrid.element); + this._focusables.add(this.documentColorsGrid); + } + } + /** + * Creates the button responsible for displaying the color picker component. + */ + _createColorPickerButton() { + this.colorPickerButtonView = new ButtonView(); + this.colorPickerButtonView.set({ + label: this._colorPickerLabel, + withText: true, + icon: colorPaletteIcon, + class: 'ck-color-selector__color-picker' + }); + this.colorPickerButtonView.on('execute', () => { + this.fire('colorPicker:show'); + }); + } + /** + * Adds the remove color button as a child of the current view. + */ + _createRemoveColorButton() { + const buttonView = new ButtonView(); + buttonView.set({ + withText: true, + icon: removeButtonIcon, + label: this._removeButtonLabel + }); + buttonView.class = 'ck-color-selector__remove-color'; + buttonView.on('execute', () => { + this.fire('execute', { + value: null, + source: 'removeColorButton' + }); + }); + buttonView.render(); + return buttonView; + } + /** + * Creates a static color grid based on the editor configuration. + */ + _createStaticColorsGrid() { + const colorGrid = new ColorGridView(this.locale, { + colorDefinitions: this.colorDefinitions, + columns: this.columns + }); + colorGrid.on('execute', (evt, data) => { + this.fire('execute', { + value: data.value, + source: 'staticColorsGrid' + }); + }); + return colorGrid; + } + /** + * Creates the document colors section view and binds it to {@link #documentColors}. + */ + _createDocumentColorsGrid() { + const bind = Template.bind(this.documentColors, this.documentColors); + const documentColorsGrid = new ColorGridView(this.locale, { + columns: this.columns + }); + documentColorsGrid.extendTemplate({ + attributes: { + class: bind.if('isEmpty', 'ck-hidden') + } + }); + documentColorsGrid.items.bindTo(this.documentColors).using(colorObj => { + const colorTile = new ColorTileView(); + colorTile.set({ + color: colorObj.color, + hasBorder: colorObj.options && colorObj.options.hasBorder + }); + if (colorObj.label) { + colorTile.set({ + label: colorObj.label, + tooltip: true + }); + } + colorTile.on('execute', () => { + this.fire('execute', { + value: colorObj.color, + source: 'documentColorsGrid' + }); + }); + return colorTile; + }); + // Selected color should be cleared when document colors became empty. + this.documentColors.on('change:isEmpty', (evt, name, val) => { + if (val) { + documentColorsGrid.selectedColor = null; + } + }); + return documentColorsGrid; + } + /** + * Adds a given color to the document colors list. If possible, the method will attempt to use + * data from the {@link #colorDefinitions} (label, color options). + * + * @param color A string that stores the value of the recently applied color. + */ + _addColorToDocumentColors(color) { + const predefinedColor = this.colorDefinitions + .find(definition => definition.color === color); + if (!predefinedColor) { + this.documentColors.add({ + color, + label: color, + options: { + hasBorder: false + } + }); + } + else { + this.documentColors.add(Object.assign({}, predefinedColor)); + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts new file mode 100644 index 00000000..c3ca724e --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts @@ -0,0 +1,128 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorpickerfragmentview + */ +import View from '../view'; +import ButtonView from '../button/buttonview'; +import type ViewCollection from '../viewcollection'; +import { default as ColorPickerView } from '../colorpicker/colorpickerview'; +import type { FocusTracker, KeystrokeHandler, Locale } from '@ckeditor/ckeditor5-utils'; +import type { ColorPickerViewConfig } from '../colorpicker/utils'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It allows users to select a color from a color picker. + * + * It consists of the following sub–components: + * + * * A color picker saturation and hue sliders, + * * A text input accepting colors in HEX format, + * * "Save" and "Cancel" action buttons. + */ +export default class ColorPickerFragmentView extends View { + /** + * A collection of component's children. + */ + readonly items: ViewCollection; + /** + * A view with saturation and hue sliders and color input. + */ + colorPickerView?: ColorPickerView; + /** + * The "Save" button view. + */ + saveButtonView: ButtonView; + /** + * The "Cancel" button view. + */ + cancelButtonView: ButtonView; + /** + * The action bar where are "Save" button and "Cancel" button. + */ + actionBarView: View; + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * Indicates whether the component is visible or not. + */ + isVisible: boolean; + /** + * Keeps the value of the command associated with the component for the current selection. + */ + selectedColor?: string; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * A reference to the configuration of {@link #colorPickerView}. `false` when the view was + * configured without a color picker. + * + * @readonly + */ + private _colorPickerViewConfig; + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view.. + * @param keystrokes An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker + * will not be rendered. + */ + constructor(locale: Locale, { focusTracker, focusables, keystrokes, colorPickerViewConfig }: { + focusTracker: FocusTracker; + focusables: ViewCollection; + keystrokes: KeystrokeHandler; + colorPickerViewConfig: ColorPickerViewConfig | false; + }); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Focuses the color picker. + */ + focus(): void; + /** + * When color picker is focused and "enter" is pressed it executes command. + */ + private _executeOnEnterPress; + /** + * Removes default behavior of arrow keys in dropdown. + */ + private _stopPropagationOnArrowsKeys; + /** + * Adds color picker elements to focus tracker. + */ + private _addColorPickersElementsToFocusTracker; + /** + * Creates bar containing "Save" and "Cancel" buttons. + */ + private _createActionBarView; + /** + * Creates "Save" and "Cancel" buttons. + */ + private _createActionButtons; + /** + * Fires the `execute` event if color in color picker has been changed + * by the user. + */ + private _executeUponColorChange; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js new file mode 100644 index 00000000..0681111d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js @@ -0,0 +1,205 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorpickerfragmentview + */ +import View from '../view'; +import ButtonView from '../button/buttonview'; +import { default as ColorPickerView } from '../colorpicker/colorpickerview'; +import checkButtonIcon from '@ckeditor/ckeditor5-core/theme/icons/check.svg'; +import cancelButtonIcon from '@ckeditor/ckeditor5-core/theme/icons/cancel.svg'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It allows users to select a color from a color picker. + * + * It consists of the following sub–components: + * + * * A color picker saturation and hue sliders, + * * A text input accepting colors in HEX format, + * * "Save" and "Cancel" action buttons. + */ +export default class ColorPickerFragmentView extends View { + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view.. + * @param keystrokes An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker + * will not be rendered. + */ + constructor(locale, { focusTracker, focusables, keystrokes, colorPickerViewConfig }) { + super(locale); + this.items = this.createCollection(); + this.focusTracker = focusTracker; + this.keystrokes = keystrokes; + this.set('isVisible', false); + this.set('selectedColor', undefined); + this._focusables = focusables; + this._colorPickerViewConfig = colorPickerViewConfig; + const bind = this.bindTemplate; + const { saveButtonView, cancelButtonView } = this._createActionButtons(); + this.saveButtonView = saveButtonView; + this.cancelButtonView = cancelButtonView; + this.actionBarView = this._createActionBarView({ saveButtonView, cancelButtonView }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck-color-picker-fragment', + bind.if('isVisible', 'ck-hidden', value => !value) + ] + }, + children: this.items + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + const colorPickerView = new ColorPickerView(this.locale, { + ...this._colorPickerViewConfig + }); + this.colorPickerView = colorPickerView; + this.colorPickerView.render(); + if (this.selectedColor) { + colorPickerView.color = this.selectedColor; + } + this.listenTo(this, 'change:selectedColor', (evt, name, value) => { + colorPickerView.color = value; + }); + this.items.add(this.colorPickerView); + this.items.add(this.actionBarView); + this._addColorPickersElementsToFocusTracker(); + this._stopPropagationOnArrowsKeys(); + this._executeOnEnterPress(); + this._executeUponColorChange(); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + } + /** + * Focuses the color picker. + */ + focus() { + this.colorPickerView.focus(); + } + /** + * When color picker is focused and "enter" is pressed it executes command. + */ + _executeOnEnterPress() { + this.keystrokes.set('enter', evt => { + if (this.isVisible && this.focusTracker.focusedElement !== this.cancelButtonView.element) { + this.fire('execute', { + value: this.selectedColor + }); + evt.stopPropagation(); + evt.preventDefault(); + } + }); + } + /** + * Removes default behavior of arrow keys in dropdown. + */ + _stopPropagationOnArrowsKeys() { + const stopPropagation = (data) => data.stopPropagation(); + this.keystrokes.set('arrowright', stopPropagation); + this.keystrokes.set('arrowleft', stopPropagation); + this.keystrokes.set('arrowup', stopPropagation); + this.keystrokes.set('arrowdown', stopPropagation); + } + /** + * Adds color picker elements to focus tracker. + */ + _addColorPickersElementsToFocusTracker() { + for (const slider of this.colorPickerView.slidersView) { + this.focusTracker.add(slider.element); + this._focusables.add(slider); + } + const input = this.colorPickerView.hexInputRow.children.get(1); + if (input.element) { + this.focusTracker.add(input.element); + this._focusables.add(input); + } + this.focusTracker.add(this.saveButtonView.element); + this._focusables.add(this.saveButtonView); + this.focusTracker.add(this.cancelButtonView.element); + this._focusables.add(this.cancelButtonView); + } + /** + * Creates bar containing "Save" and "Cancel" buttons. + */ + _createActionBarView({ saveButtonView, cancelButtonView }) { + const actionBarRow = new View(); + const children = this.createCollection(); + children.add(saveButtonView); + children.add(cancelButtonView); + actionBarRow.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-selector_action-bar' + ] + }, + children + }); + return actionBarRow; + } + /** + * Creates "Save" and "Cancel" buttons. + */ + _createActionButtons() { + const locale = this.locale; + const t = locale.t; + const saveButtonView = new ButtonView(locale); + const cancelButtonView = new ButtonView(locale); + saveButtonView.set({ + icon: checkButtonIcon, + class: 'ck-button-save', + type: 'button', + withText: false, + label: t('Accept') + }); + cancelButtonView.set({ + icon: cancelButtonIcon, + class: 'ck-button-cancel', + type: 'button', + withText: false, + label: t('Cancel') + }); + saveButtonView.on('execute', () => { + this.fire('execute', { + source: 'colorPickerSaveButton', + value: this.selectedColor + }); + }); + cancelButtonView.on('execute', () => { + this.fire('colorPicker:cancel'); + }); + return { + saveButtonView, cancelButtonView + }; + } + /** + * Fires the `execute` event if color in color picker has been changed + * by the user. + */ + _executeUponColorChange() { + this.colorPickerView.on('colorSelected', (evt, data) => { + this.fire('execute', { + value: data.color, + source: 'colorPicker' + }); + this.set('selectedColor', data.color); + }); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts new file mode 100644 index 00000000..35a69bd8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts @@ -0,0 +1,242 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorselectorview + */ +import FocusCycler from '../focuscycler'; +import View from '../view'; +import ViewCollection from '../viewcollection'; +import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils'; +import type { ColorPickerViewConfig } from '../colorpicker/utils'; +import type { ColorDefinition } from '../colorgrid/colorgridview'; +import type { Model } from '@ckeditor/ckeditor5-engine'; +import ColorGridsFragmentView from './colorgridsfragmentview'; +import ColorPickerFragmentView from './colorpickerfragmentview'; +import '../../theme/components/colorselector/colorselector.css'; +/** + * The configurable color selector view class. It allows users to select colors from a predefined set of colors as well as from + * a color picker. + * + * This meta-view is is made of two components (fragments): + * + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorGridsFragmentView}, + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * ```ts + * const colorDefinitions = [ + * { color: '#000', label: 'Black', options: { hasBorder: false } }, + * { color: 'rgb(255, 255, 255)', label: 'White', options: { hasBorder: true } }, + * { color: 'red', label: 'Red', options: { hasBorder: false } } + * ]; + * + * const selectorView = new ColorSelectorView( locale, { + * colors: colorDefinitions, + * columns: 5, + * removeButtonLabel: 'Remove color', + * documentColorsLabel: 'Document colors', + * documentColorsCount: 4, + * colorPickerViewConfig: { + * format: 'hsl' + * } + * } ); + * + * selectorView.appendUI(); + * selectorView.selectedColor = 'red'; + * selectorView.updateSelectedColors(); + * + * selectorView.on( 'execute', ( evt, data ) => { + * console.log( 'Color changed', data.value, data.source ); + * } ); + * + * selectorView.on( 'colorPicker:show', ( evt ) => { + * console.log( 'Color picker showed up', evt ); + * } ); + * + * selectorView.on( 'colorPicker:cancel', ( evt ) => { + * console.log( 'Color picker cancel', evt ); + * } ); + * + * selectorView.render(); + * + * document.body.appendChild( selectorView.element ); + * ``` + */ +export default class ColorSelectorView extends View { + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A collection of components. + */ + readonly items: ViewCollection; + /** + * A fragment that allows users to select colors from the a predefined set and from existing document colors. + */ + readonly colorGridsFragmentView: ColorGridsFragmentView; + /** + * A fragment that allows users to select a color from a color picker. + */ + readonly colorPickerFragmentView: ColorPickerFragmentView; + /** + * Keeps the value of the command associated with the component for the current selection. + */ + selectedColor?: string; + /** + * Reflects the visibility state of the color grids fragment. + * + * @internal + */ + _isColorGridsFragmentVisible: boolean; + /** + * Reflects the visibility state of the color picker fragment. + * + * @internal + */ + _isColorPickerFragmentVisible: boolean; + /** + * Helps cycling over focusable {@link #items} in the list. + * + * @readonly + */ + protected _focusCycler: FocusCycler; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * The configuration of color picker sub-component. + */ + private _colorPickerViewConfig; + /** + * Creates a view to be inserted as a child of {@link module:ui/dropdown/dropdownview~DropdownView}. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker will be hidden. + */ + constructor(locale: Locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, colorPickerViewConfig }: { + colors: Array; + columns: number; + removeButtonLabel: string; + documentColorsLabel?: string; + documentColorsCount?: number; + colorPickerLabel: string; + colorPickerViewConfig: ColorPickerViewConfig | false; + }); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Renders the internals of the component on demand: + * * {@link #colorPickerFragmentView}, + * * {@link #colorGridsFragmentView}. + * + * It allows for deferring component initialization to improve the performance. + * + * See {@link #showColorPickerFragment}, {@link #showColorGridsFragment}. + */ + appendUI(): void; + /** + * Shows the {@link #colorPickerFragmentView} and hides the {@link #colorGridsFragmentView}. + * + * **Note**: It requires {@link #appendUI} to be called first. + * + * See {@link #showColorGridsFragment}, {@link ~ColorSelectorView#event:colorPicker:show}. + */ + showColorPickerFragment(): void; + /** + * Shows the {@link #colorGridsFragmentView} and hides the {@link #colorPickerFragmentView}. + * + * See {@link #showColorPickerFragment}. + * + * **Note**: It requires {@link #appendUI} to be called first. + */ + showColorGridsFragment(): void; + /** + * Focuses the first focusable element in {@link #items}. + */ + focus(): void; + /** + * Focuses the last focusable element in {@link #items}. + */ + focusLast(): void; + /** + * Scans through the editor model and searches for text node attributes with the given `attributeName`. + * Found entries are set as document colors in {@link #colorGridsFragmentView}. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model: Model, attributeName: string): void; + /** + * Refreshes the state of the selected color in one or both grids located in {@link #colorGridsFragmentView}. + * + * It guarantees that the selection will occur only in one of them. + */ + updateSelectedColors(): void; + /** + * Appends the view containing static and document color grid views. + */ + private _appendColorGridsFragment; + /** + * Appends the view with the color picker. + */ + private _appendColorPickerFragment; +} +/** + * Fired whenever the color was changed. There are multiple sources of this event and you can distinguish them + * using the `source` property passed along this event. + * + * @eventName ~ColorSelectorView#execute + */ +export type ColorSelectorExecuteEvent = { + name: 'execute'; + args: [ + { + value: string; + source: 'staticColorsGrid' | 'documentColorsGrid' | 'removeColorButton' | 'colorPicker' | 'colorPickerSaveButton'; + } + ]; +}; +/** + * Fired when the user pressed the "Cancel" button in the + * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * @eventName ~ColorSelectorView#colorPicker:cancel + */ +export type ColorSelectorColorPickerCancelEvent = { + name: 'colorPicker:cancel'; + args: []; +}; +/** + * Fired whenever {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView} is shown. + * + * See {@link ~ColorSelectorView#showColorPickerFragment}. + * + * @eventName ~ColorSelectorView#colorPicker:show + */ +export type ColorSelectorColorPickerShowEvent = { + name: 'colorPicker:show'; + args: []; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js new file mode 100644 index 00000000..71a5f3e8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js @@ -0,0 +1,256 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorselectorview + */ +import FocusCycler from '../focuscycler'; +import View from '../view'; +import ViewCollection from '../viewcollection'; +import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import ColorGridsFragmentView from './colorgridsfragmentview'; +import ColorPickerFragmentView from './colorpickerfragmentview'; +import '../../theme/components/colorselector/colorselector.css'; +/** + * The configurable color selector view class. It allows users to select colors from a predefined set of colors as well as from + * a color picker. + * + * This meta-view is is made of two components (fragments): + * + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorGridsFragmentView}, + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * ```ts + * const colorDefinitions = [ + * { color: '#000', label: 'Black', options: { hasBorder: false } }, + * { color: 'rgb(255, 255, 255)', label: 'White', options: { hasBorder: true } }, + * { color: 'red', label: 'Red', options: { hasBorder: false } } + * ]; + * + * const selectorView = new ColorSelectorView( locale, { + * colors: colorDefinitions, + * columns: 5, + * removeButtonLabel: 'Remove color', + * documentColorsLabel: 'Document colors', + * documentColorsCount: 4, + * colorPickerViewConfig: { + * format: 'hsl' + * } + * } ); + * + * selectorView.appendUI(); + * selectorView.selectedColor = 'red'; + * selectorView.updateSelectedColors(); + * + * selectorView.on( 'execute', ( evt, data ) => { + * console.log( 'Color changed', data.value, data.source ); + * } ); + * + * selectorView.on( 'colorPicker:show', ( evt ) => { + * console.log( 'Color picker showed up', evt ); + * } ); + * + * selectorView.on( 'colorPicker:cancel', ( evt ) => { + * console.log( 'Color picker cancel', evt ); + * } ); + * + * selectorView.render(); + * + * document.body.appendChild( selectorView.element ); + * ``` + */ +export default class ColorSelectorView extends View { + /** + * Creates a view to be inserted as a child of {@link module:ui/dropdown/dropdownview~DropdownView}. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker will be hidden. + */ + constructor(locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, colorPickerViewConfig }) { + super(locale); + this.items = this.createCollection(); + this.focusTracker = new FocusTracker(); + this.keystrokes = new KeystrokeHandler(); + this._focusables = new ViewCollection(); + this._colorPickerViewConfig = colorPickerViewConfig; + this._focusCycler = new FocusCycler({ + focusables: this._focusables, + focusTracker: this.focusTracker, + keystrokeHandler: this.keystrokes, + actions: { + // Navigate list items backwards using the Shift + Tab keystroke. + focusPrevious: 'shift + tab', + // Navigate list items forwards using the Tab key. + focusNext: 'tab' + } + }); + this.colorGridsFragmentView = new ColorGridsFragmentView(locale, { + colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, + focusTracker: this.focusTracker, + focusables: this._focusables + }); + this.colorPickerFragmentView = new ColorPickerFragmentView(locale, { + focusables: this._focusables, + focusTracker: this.focusTracker, + keystrokes: this.keystrokes, + colorPickerViewConfig + }); + this.set('_isColorGridsFragmentVisible', true); + this.set('_isColorPickerFragmentVisible', false); + this.set('selectedColor', undefined); + this.colorGridsFragmentView.bind('isVisible').to(this, '_isColorGridsFragmentVisible'); + this.colorPickerFragmentView.bind('isVisible').to(this, '_isColorPickerFragmentVisible'); + /** + * This is kind of bindings. Unfortunately we could not use this.bind() method because the same property + * can not be bound twice. So this is work around how to bind 'selectedColor' property between components. + */ + this.on('change:selectedColor', (evt, evtName, data) => { + this.colorGridsFragmentView.set('selectedColor', data); + this.colorPickerFragmentView.set('selectedColor', data); + }); + this.colorGridsFragmentView.on('change:selectedColor', (evt, evtName, data) => { + this.set('selectedColor', data); + }); + this.colorPickerFragmentView.on('change:selectedColor', (evt, evtName, data) => { + this.set('selectedColor', data); + }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-selector' + ] + }, + children: this.items + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + // Start listening for the keystrokes coming from #element. + this.keystrokes.listenTo(this.element); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } + /** + * Renders the internals of the component on demand: + * * {@link #colorPickerFragmentView}, + * * {@link #colorGridsFragmentView}. + * + * It allows for deferring component initialization to improve the performance. + * + * See {@link #showColorPickerFragment}, {@link #showColorGridsFragment}. + */ + appendUI() { + this._appendColorGridsFragment(); + if (this._colorPickerViewConfig) { + this._appendColorPickerFragment(); + } + } + /** + * Shows the {@link #colorPickerFragmentView} and hides the {@link #colorGridsFragmentView}. + * + * **Note**: It requires {@link #appendUI} to be called first. + * + * See {@link #showColorGridsFragment}, {@link ~ColorSelectorView#event:colorPicker:show}. + */ + showColorPickerFragment() { + if (!this.colorPickerFragmentView.colorPickerView || this._isColorPickerFragmentVisible) { + return; + } + this._isColorPickerFragmentVisible = true; + this.colorPickerFragmentView.focus(); + this._isColorGridsFragmentVisible = false; + } + /** + * Shows the {@link #colorGridsFragmentView} and hides the {@link #colorPickerFragmentView}. + * + * See {@link #showColorPickerFragment}. + * + * **Note**: It requires {@link #appendUI} to be called first. + */ + showColorGridsFragment() { + if (this._isColorGridsFragmentVisible) { + return; + } + this._isColorGridsFragmentVisible = true; + this.colorGridsFragmentView.focus(); + this._isColorPickerFragmentVisible = false; + } + /** + * Focuses the first focusable element in {@link #items}. + */ + focus() { + this._focusCycler.focusFirst(); + } + /** + * Focuses the last focusable element in {@link #items}. + */ + focusLast() { + this._focusCycler.focusLast(); + } + /** + * Scans through the editor model and searches for text node attributes with the given `attributeName`. + * Found entries are set as document colors in {@link #colorGridsFragmentView}. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model, attributeName) { + this.colorGridsFragmentView.updateDocumentColors(model, attributeName); + } + /** + * Refreshes the state of the selected color in one or both grids located in {@link #colorGridsFragmentView}. + * + * It guarantees that the selection will occur only in one of them. + */ + updateSelectedColors() { + this.colorGridsFragmentView.updateSelectedColors(); + } + /** + * Appends the view containing static and document color grid views. + */ + _appendColorGridsFragment() { + if (this.items.length) { + return; + } + this.items.add(this.colorGridsFragmentView); + this.colorGridsFragmentView.delegate('execute').to(this); + this.colorGridsFragmentView.delegate('colorPicker:show').to(this); + } + /** + * Appends the view with the color picker. + */ + _appendColorPickerFragment() { + if (this.items.length === 2) { + return; + } + this.items.add(this.colorPickerFragmentView); + if (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); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts new file mode 100644 index 00000000..ce8e761c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts @@ -0,0 +1,70 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/documentcolorcollection + */ +import type { ColorDefinition } from '../colorgrid/colorgridview'; +import { Collection, type CollectionAddEvent, type CollectionRemoveEvent, type CollectionChangeEvent } from '@ckeditor/ckeditor5-utils'; +declare const DocumentColorCollection_base: import("@ckeditor/ckeditor5-utils").Mixed<{ + new (options?: { + readonly idProperty?: string | undefined; + } | undefined): Collection; + new (initialItems: Iterable, options?: { + readonly idProperty?: string | undefined; + } | undefined): Collection; +}, import("@ckeditor/ckeditor5-utils").Observable>; +/** + * A collection to store document colors. It enforces colors to be unique. + */ +export default class DocumentColorCollection extends DocumentColorCollection_base { + /** + * Indicates whether the document color collection is empty. + * + * @observable + */ + readonly isEmpty: boolean; + constructor(options?: any); + /** + * Adds a color to the document color collection. + * + * This method ensures that no color duplicates are inserted (compared using + * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}). + * + * If the item does not have an ID, it will be automatically generated and set on the item. + * + * @param index The position of the item in the collection. The item is pushed to the collection when `index` is not specified. + * @fires add + * @fires change + */ + add(item: ColorDefinition, index?: number): this; + /** + * Checks if an object with given colors is present in the document color collection. + */ + hasColor(color: string): boolean; +} +/** + * Fired when the collection was changed due to adding or removing items. + * + * @eventName ~DocumentColorCollection#change + * @param data Changed items. + */ +export type DocumentColorCollectionChangeEvent = CollectionChangeEvent; +/** + * Fired when an item is added to the collection. + * + * @eventName ~DocumentColorCollection#add + * @param item The added item. + * @param index An index where the addition occurred. + */ +export type DocumentColorCollectionAddEvent = CollectionAddEvent; +/** + * Fired when an item is removed from the collection. + * + * @eventName ~DocumentColorCollection#remove + * @param item The removed item. + * @param index Index from which item was removed. + */ +export type DocumentColorCollectionRemoveEvent = CollectionRemoveEvent; +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js new file mode 100644 index 00000000..39e7eddf --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js @@ -0,0 +1,42 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Collection, ObservableMixin } from '@ckeditor/ckeditor5-utils'; +/** + * A collection to store document colors. It enforces colors to be unique. + */ +export default class DocumentColorCollection extends ObservableMixin((Collection)) { + constructor(options) { + super(options); + this.set('isEmpty', true); + this.on('change', () => { + this.set('isEmpty', this.length === 0); + }); + } + /** + * Adds a color to the document color collection. + * + * This method ensures that no color duplicates are inserted (compared using + * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}). + * + * If the item does not have an ID, it will be automatically generated and set on the item. + * + * @param index The position of the item in the collection. The item is pushed to the collection when `index` is not specified. + * @fires add + * @fires change + */ + add(item, index) { + if (this.find(element => element.color === item.color)) { + // No duplicates are allowed. + return this; + } + return super.add(item, index); + } + /** + * Checks if an object with given colors is present in the document color collection. + */ + hasColor(color) { + return !!this.find(item => item.color === color); + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts new file mode 100644 index 00000000..db598b09 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/componentfactory + */ +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import type { Editor } from '@ckeditor/ckeditor5-core'; +import type View from './view'; +/** + * A helper class implementing the UI component ({@link module:ui/view~View view}) factory. + * + * It allows functions producing specific UI components to be registered under their unique names + * in the factory. A registered component can be then instantiated by providing its name. + * Note that the names are case insensitive. + * + * ```ts + * // The editor provides localization tools for the factory. + * const factory = new ComponentFactory( editor ); + * + * factory.add( 'foo', locale => new FooView( locale ) ); + * factory.add( 'bar', locale => new BarView( locale ) ); + * + * // An instance of FooView. + * const fooInstance = factory.create( 'foo' ); + * + * // Names are case insensitive so this is also allowed: + * const barInstance = factory.create( 'Bar' ); + * ``` + * + * The {@link module:core/editor/editor~Editor#locale editor locale} is passed to the factory + * function when {@link module:ui/componentfactory~ComponentFactory#create} is called. + */ +export default class ComponentFactory { + /** + * The editor instance that the factory belongs to. + */ + readonly editor: Editor; + /** + * Registered component factories. + */ + private readonly _components; + /** + * Creates an instance of the factory. + * + * @param editor The editor instance. + */ + constructor(editor: Editor); + /** + * Returns an iterator of registered component names. Names are returned in lower case. + */ + names(): IterableIterator; + /** + * Registers a component factory function that will be used by the + * {@link #create create} method and called with the + * {@link module:core/editor/editor~Editor#locale editor locale} as an argument, + * allowing localization of the {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @param callback The callback that returns the component. + */ + add(name: string, callback: (locale: Locale) => View): void; + /** + * Creates an instance of a component registered in the factory under a specific name. + * + * When called, the {@link module:core/editor/editor~Editor#locale editor locale} is passed to + * the previously {@link #add added} factory function, allowing localization of the + * {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @returns The instantiated component view. + */ + create(name: string): View; + /** + * Checks if a component of a given name is registered in the factory. + * + * @param name The name of the component. + */ + has(name: string): boolean; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.js new file mode 100644 index 00000000..a3f719a1 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/componentfactory.js @@ -0,0 +1,104 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/componentfactory + */ +import { CKEditorError } from '@ckeditor/ckeditor5-utils'; +/** + * A helper class implementing the UI component ({@link module:ui/view~View view}) factory. + * + * It allows functions producing specific UI components to be registered under their unique names + * in the factory. A registered component can be then instantiated by providing its name. + * Note that the names are case insensitive. + * + * ```ts + * // The editor provides localization tools for the factory. + * const factory = new ComponentFactory( editor ); + * + * factory.add( 'foo', locale => new FooView( locale ) ); + * factory.add( 'bar', locale => new BarView( locale ) ); + * + * // An instance of FooView. + * const fooInstance = factory.create( 'foo' ); + * + * // Names are case insensitive so this is also allowed: + * const barInstance = factory.create( 'Bar' ); + * ``` + * + * The {@link module:core/editor/editor~Editor#locale editor locale} is passed to the factory + * function when {@link module:ui/componentfactory~ComponentFactory#create} is called. + */ +export default class ComponentFactory { + /** + * Creates an instance of the factory. + * + * @param editor The editor instance. + */ + constructor(editor) { + /** + * Registered component factories. + */ + this._components = new Map(); + this.editor = editor; + } + /** + * Returns an iterator of registered component names. Names are returned in lower case. + */ + *names() { + for (const value of this._components.values()) { + yield value.originalName; + } + } + /** + * Registers a component factory function that will be used by the + * {@link #create create} method and called with the + * {@link module:core/editor/editor~Editor#locale editor locale} as an argument, + * allowing localization of the {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @param callback The callback that returns the component. + */ + add(name, callback) { + this._components.set(getNormalized(name), { callback, originalName: name }); + } + /** + * Creates an instance of a component registered in the factory under a specific name. + * + * When called, the {@link module:core/editor/editor~Editor#locale editor locale} is passed to + * the previously {@link #add added} factory function, allowing localization of the + * {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @returns The instantiated component view. + */ + create(name) { + if (!this.has(name)) { + /** + * The required component is not registered in the component factory. Please make sure + * the provided name is correct and the component has been correctly + * {@link module:ui/componentfactory~ComponentFactory#add added} to the factory. + * + * @error componentfactory-item-missing + * @param name The name of the missing component. + */ + throw new CKEditorError('componentfactory-item-missing', this, { name }); + } + return this._components.get(getNormalized(name)).callback(this.editor.locale); + } + /** + * Checks if a component of a given name is registered in the factory. + * + * @param name The name of the component. + */ + has(name) { + return this._components.has(getNormalized(name)); + } +} +/** + * Ensures that the component name used as the key in the internal map is in lower case. + */ +function getNormalized(name) { + return String(name).toLowerCase(); +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts new file mode 100644 index 00000000..961c2180 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts @@ -0,0 +1,25 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbutton + */ +import type Button from '../../button/button'; +import type ViewCollection from '../../viewcollection'; +/** + * The dropdown button interface. + */ +export default interface DropdownButton extends Button { + children: ViewCollection; +} +/** + * Fired when the dropdown should be opened. + * It will not be fired when the button {@link module:ui/dropdown/button/dropdownbutton~DropdownButton#isEnabled is disabled}. + * + * @eventName ~DropdownButton#open + */ +export type DropdownButtonOpenEvent = { + name: 'open'; + args: []; +}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts new file mode 100644 index 00000000..7872ecc7 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbuttonview + */ +import ButtonView from '../../button/buttonview'; +import type DropdownButton from './dropdownbutton'; +import IconView from '../../icon/iconview'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * The default dropdown button view class. + * + * ```ts + * const view = new DropdownButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class DropdownButtonView extends ButtonView implements DropdownButton { + /** + * An icon that displays arrow to indicate a dropdown button. + */ + readonly arrowView: IconView; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; + /** + * Creates a {@link module:ui/icon/iconview~IconView} instance as {@link #arrowView}. + */ + private _createArrowView; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js new file mode 100644 index 00000000..dba23d99 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js @@ -0,0 +1,66 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbuttonview + */ +import ButtonView from '../../button/buttonview'; +import IconView from '../../icon/iconview'; +import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg'; +/** + * The default dropdown button view class. + * + * ```ts + * const view = new DropdownButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class DropdownButtonView extends ButtonView { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.arrowView = this._createArrowView(); + this.extendTemplate({ + attributes: { + 'aria-haspopup': true, + 'aria-expanded': this.bindTemplate.to('isOn', value => String(value)) + } + }); + // The DropdownButton interface expects the open event upon which will open the dropdown. + this.delegate('execute').to(this, 'open'); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this.arrowView); + } + /** + * Creates a {@link module:ui/icon/iconview~IconView} instance as {@link #arrowView}. + */ + _createArrowView() { + const arrowView = new IconView(); + arrowView.content = dropdownArrowIcon; + arrowView.extendTemplate({ + attributes: { + class: 'ck-dropdown__arrow' + } + }); + return arrowView; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts new file mode 100644 index 00000000..0960ca22 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts @@ -0,0 +1,162 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/splitbuttonview + */ +import View from '../../view'; +import ButtonView from '../../button/buttonview'; +import type ViewCollection from '../../viewcollection'; +import type Button from '../../button/button'; +import type DropdownButton from './dropdownbutton'; +import type { FocusableView } from '../../focuscycler'; +import { KeystrokeHandler, FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../../theme/components/dropdown/splitbutton.css'; +/** + * The split button view class. + * + * ```ts + * const view = new SplitButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class SplitButtonView extends View implements DropdownButton { + /** + * Collection of the child views inside of the split button {@link #element}. + */ + readonly children: ViewCollection; + /** + * A main button of split button. + */ + readonly actionView: ButtonView; + /** + * A secondary button of split button that opens dropdown. + */ + readonly arrowView: ButtonView; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. It manages + * keystrokes of the split button: + * + * * moves focus to arrow view when action view is focused, + * * moves focus to action view when arrow view is focused. + */ + readonly keystrokes: KeystrokeHandler; + /** + * Tracks information about DOM focus in the dropdown. + */ + readonly focusTracker: FocusTracker; + /** + * @inheritDoc + */ + label: string | undefined; + /** + * @inheritDoc + */ + keystroke: string | undefined; + /** + * @inheritDoc + */ + tooltip: Button['tooltip']; + /** + * @inheritDoc + */ + tooltipPosition: Button['tooltipPosition']; + /** + * @inheritDoc + */ + type: Button['type']; + /** + * @inheritDoc + */ + isOn: boolean; + /** + * @inheritDoc + */ + isEnabled: boolean; + /** + * @inheritDoc + */ + isVisible: boolean; + /** + * @inheritDoc + */ + isToggleable: boolean; + /** + * @inheritDoc + */ + withText: boolean; + /** + * @inheritDoc + */ + withKeystroke: boolean; + /** + * @inheritDoc + */ + icon: string | undefined; + /** + * @inheritDoc + */ + tabindex: number; + /** + * @inheritDoc + */ + class: string | undefined; + /** + * @inheritDoc + */ + labelStyle: string | undefined; + /** + * @inheritDoc + */ + role: string | undefined; + /** + * @inheritDoc + */ + ariaChecked: boolean | undefined; + /** + * @inheritDoc + */ + ariaLabel?: string | undefined; + /** + * @inheritDoc + */ + ariaLabelledBy: string | undefined; + /** + * @inheritDoc + */ + constructor(locale?: Locale, actionButton?: ButtonView & FocusableView); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Focuses the {@link module:ui/button/buttonview~ButtonView#element} of the action part of split button. + */ + focus(): void; + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #actionView} and binds it with main split button + * attributes. + */ + private _createActionView; + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #arrowView} and binds it with main split button + * attributes. + */ + private _createArrowView; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js new file mode 100644 index 00000000..f23dd2ca --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js @@ -0,0 +1,154 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/splitbuttonview + */ +import View from '../../view'; +import ButtonView from '../../button/buttonview'; +import { KeystrokeHandler, FocusTracker } from '@ckeditor/ckeditor5-utils'; +import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg'; +import '../../../theme/components/dropdown/splitbutton.css'; +/** + * The split button view class. + * + * ```ts + * const view = new SplitButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class SplitButtonView extends View { + /** + * @inheritDoc + */ + constructor(locale, actionButton) { + super(locale); + const bind = this.bindTemplate; + // Implement the Button interface. + this.set('class', undefined); + this.set('labelStyle', undefined); + this.set('icon', undefined); + this.set('isEnabled', true); + this.set('isOn', false); + this.set('isToggleable', false); + this.set('isVisible', true); + this.set('keystroke', undefined); + this.set('withKeystroke', false); + this.set('label', undefined); + this.set('tabindex', -1); + this.set('tooltip', false); + this.set('tooltipPosition', 's'); + this.set('type', 'button'); + this.set('withText', false); + this.children = this.createCollection(); + this.actionView = this._createActionView(actionButton); + this.arrowView = this._createArrowView(); + this.keystrokes = new KeystrokeHandler(); + this.focusTracker = new FocusTracker(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-splitbutton', + bind.to('class'), + bind.if('isVisible', 'ck-hidden', value => !value), + this.arrowView.bindTemplate.if('isOn', 'ck-splitbutton_open') + ] + }, + children: this.children + }); + } + /** + * @inheritDoc + */ + 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); + // Overrides toolbar focus cycling behavior. + this.keystrokes.set('arrowright', (evt, cancel) => { + if (this.focusTracker.focusedElement === this.actionView.element) { + this.arrowView.focus(); + cancel(); + } + }); + // Overrides toolbar focus cycling behavior. + this.keystrokes.set('arrowleft', (evt, cancel) => { + if (this.focusTracker.focusedElement === this.arrowView.element) { + this.actionView.focus(); + cancel(); + } + }); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } + /** + * Focuses the {@link module:ui/button/buttonview~ButtonView#element} of the action part of split button. + */ + focus() { + this.actionView.focus(); + } + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #actionView} and binds it with main split button + * attributes. + */ + _createActionView(actionButton) { + const actionView = actionButton || new ButtonView(); + if (!actionButton) { + actionView.bind('icon', 'isEnabled', 'isOn', 'isToggleable', 'keystroke', 'label', 'tabindex', 'tooltip', 'tooltipPosition', 'type', 'withText').to(this); + } + actionView.extendTemplate({ + attributes: { + class: 'ck-splitbutton__action' + } + }); + actionView.delegate('execute').to(this); + return actionView; + } + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #arrowView} and binds it with main split button + * attributes. + */ + _createArrowView() { + const arrowView = new ButtonView(); + const bind = arrowView.bindTemplate; + arrowView.icon = dropdownArrowIcon; + arrowView.extendTemplate({ + attributes: { + class: [ + 'ck-splitbutton__arrow' + ], + 'data-cke-tooltip-disabled': bind.to('isOn'), + 'aria-haspopup': true, + 'aria-expanded': bind.to('isOn', value => String(value)) + } + }); + arrowView.bind('isEnabled').to(this); + arrowView.bind('label').to(this); + arrowView.bind('tooltip').to(this); + arrowView.delegate('execute').to(this, 'open'); + return arrowView; + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts new file mode 100644 index 00000000..696c143d --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelfocusable + */ +/** + * The dropdown panel interface for focusable contents. It provides two methods for managing focus of the contents + * of dropdown's panel. + */ +export default interface DropdownPanelFocusable { + /** + * Focuses the view element or first item in view collection on opening dropdown's panel. + */ + focus(): void; + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + */ + focusLast(): void; +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js new file mode 100644 index 00000000..52f0f122 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts new file mode 100644 index 00000000..741a042a --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts @@ -0,0 +1,62 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelview + */ +import View from '../view'; +import type ViewCollection from '../viewcollection'; +import type DropdownPanelFocusable from './dropdownpanelfocusable'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +/** + * The dropdown panel view class. + * + * See {@link module:ui/dropdown/dropdownview~DropdownView} to learn about the common usage. + */ +export default class DropdownPanelView extends View implements DropdownPanelFocusable { + /** + * Collection of the child views in this panel. + * + * A common child type is the {@link module:ui/list/listview~ListView} and {@link module:ui/toolbar/toolbarview~ToolbarView}. + * See {@link module:ui/dropdown/utils~addListToDropdown} and + * {@link module:ui/dropdown/utils~addToolbarToDropdown} to learn more about child views of dropdowns. + */ + readonly children: ViewCollection; + /** + * Controls whether the panel is visible. + * + * @observable + */ + isVisible: boolean; + /** + * The position of the panel, relative to the parent. + * + * This property is reflected in the CSS class set to {@link #element} that controls + * the position of the panel. + * + * @observable + * @default 'se' + */ + position: PanelPosition; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * Focuses the first view in the {@link #children} collection. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focus(): void; + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focusLast(): void; +} +/** + * The position of the panel, relative to the parent. + */ +export type PanelPosition = 's' | 'se' | 'sw' | 'sme' | 'smw' | 'n' | 'ne' | 'nw' | 'nme' | 'nmw'; diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js new file mode 100644 index 00000000..d14c2e3c --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js @@ -0,0 +1,97 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelview + */ +import View from '../view'; +import { logWarning } from '@ckeditor/ckeditor5-utils'; +/** + * The dropdown panel view class. + * + * See {@link module:ui/dropdown/dropdownview~DropdownView} to learn about the common usage. + */ +export default class DropdownPanelView extends View { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('isVisible', false); + this.set('position', 'se'); + this.children = this.createCollection(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-reset', + 'ck-dropdown__panel', + bind.to('position', value => `ck-dropdown__panel_${value}`), + bind.if('isVisible', 'ck-dropdown__panel-visible') + ], + tabindex: '-1' + }, + children: this.children, + on: { + // Drag and drop in the panel should not break the selection in the editor. + // https://github.com/ckeditor/ckeditor5-ui/issues/228 + selectstart: bind.to(evt => { + if (evt.target.tagName.toLocaleLowerCase() === 'input') { + return; + } + evt.preventDefault(); + }) + } + }); + } + /** + * Focuses the first view in the {@link #children} collection. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focus() { + if (this.children.length) { + const firstChild = this.children.first; + if (typeof firstChild.focus === 'function') { + firstChild.focus(); + } + else { + /** + * The child view of a dropdown could not be focused because it is missing the `focus()` method. + * + * This warning appears when a dropdown {@link module:ui/dropdown/dropdownview~DropdownView#isOpen gets open} and it + * attempts to focus the {@link module:ui/dropdown/dropdownpanelview~DropdownPanelView#children first child} of its panel + * but the child does not implement the + * {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable focusable interface}. + * + * Focusing the content of a dropdown on open greatly improves the accessibility. Please make sure the view instance + * provides the `focus()` method for the best user experience. + * + * @error ui-dropdown-panel-focus-child-missing-focus + * @param childView + * @param dropdownPanel + */ + logWarning('ui-dropdown-panel-focus-child-missing-focus', { childView: this.children.first, dropdownPanel: this }); + } + } + } + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focusLast() { + if (this.children.length) { + const lastChild = this.children.last; + if (typeof lastChild.focusLast === 'function') { + lastChild.focusLast(); + } + else { + lastChild.focus(); + } + } + } +} diff --git a/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts new file mode 100644 index 00000000..43f6cad8 --- /dev/null +++ b/src/bundle/Resources/public/vendors/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts @@ -0,0 +1,315 @@ +/** + * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownview + */ +import View from '../view'; +import type { default as DropdownButton } from './button/dropdownbutton'; +import type { default as DropdownPanelView, PanelPosition } from './dropdownpanelview'; +import type { FocusableView } from '../focuscycler'; +import type ListView from '../list/listview'; +import type ToolbarView from '../toolbar/toolbarview'; +import { KeystrokeHandler, FocusTracker, type Locale, type PositioningFunction } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/dropdown/dropdown.css'; +/** + * The dropdown view class. It manages the dropdown button and dropdown panel. + * + * In most cases, the easiest way to create a dropdown is by using the {@link module:ui/dropdown/utils~createDropdown} + * util: + * + * ```ts + * const dropdown = createDropdown( locale ); + * + * // Configure dropdown's button properties: + * dropdown.buttonView.set( { + * label: 'A dropdown', + * withText: true + * } ); + * + * dropdown.render(); + * + * dropdown.panelView.element.textContent = 'Content of the panel'; + * + * // Will render a dropdown with a panel containing a "Content of the panel" text. + * document.body.appendChild( dropdown.element ); + * ``` + * + * If you want to add a richer content to the dropdown panel, you can use the {@link module:ui/dropdown/utils~addListToDropdown} + * and {@link module:ui/dropdown/utils~addToolbarToDropdown} helpers. See more examples in + * {@link module:ui/dropdown/utils~createDropdown} documentation. + * + * If you want to create a completely custom dropdown, then you can compose it manually: + * + * ```ts + * const button = new DropdownButtonView( locale ); + * const panel = new DropdownPanelView( locale ); + * const dropdown = new DropdownView( locale, button, panel ); + * + * button.set( { + * label: 'A dropdown', + * withText: true + * } ); + * + * dropdown.render(); + * + * panel.element.textContent = 'Content of the panel'; + * + * // Will render a dropdown with a panel containing a "Content of the panel" text. + * document.body.appendChild( dropdown.element ); + * ``` + * + * However, dropdown created this way will contain little behavior. You will need to implement handlers for actions + * such as {@link module:ui/bindings/clickoutsidehandler~clickOutsideHandler clicking outside an open dropdown} + * (which should close it) and support for arrow keys inside the panel. Therefore, unless you really know what + * you do and you really need to do it, it is recommended to use the {@link module:ui/dropdown/utils~createDropdown} helper. + */ +export default class DropdownView extends View { + /** + * Button of the dropdown view. Clicking the button opens the {@link #panelView}. + */ + readonly buttonView: DropdownButton & FocusableView; + /** + * Panel of the dropdown. It opens when the {@link #buttonView} is + * {@link module:ui/button/button~Button#event:execute executed} (i.e. clicked). + * + * Child views can be added to the panel's `children` collection: + * + * ```ts + * dropdown.panelView.children.add( childView ); + * ``` + * + * See {@link module:ui/dropdown/dropdownpanelview~DropdownPanelView#children} and + * {@link module:ui/viewcollection~ViewCollection#add}. + */ + readonly panelView: DropdownPanelView; + /** + * Tracks information about the DOM focus in the dropdown. + */ + readonly focusTracker: FocusTracker; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. It manages + * keystrokes of the dropdown: + * + * * opens the dropdown, + * * and Esc closes the dropdown. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A child {@link module:ui/list/listview~ListView list view} of the dropdown located + * in its {@link module:ui/dropdown/dropdownview~DropdownView#panelView panel}. + * + * **Note**: Only supported when dropdown has list view added using {@link module:ui/dropdown/utils~addListToDropdown}. + */ + listView?: ListView; + /** + * A child toolbar of the dropdown located in the + * {@link module:ui/dropdown/dropdownview~DropdownView#panelView panel}. + * + * **Note**: Only supported when dropdown has list view added using {@link module:ui/dropdown/utils~addToolbarToDropdown}. + */ + toolbarView?: ToolbarView; + /** + * Controls whether the dropdown view is open, i.e. shows or hides the {@link #panelView panel}. + * + * **Note**: When the dropdown gets open, it will attempt to call `focus()` on the first child of its {@link #panelView}. + * See {@link module:ui/dropdown/utils~addToolbarToDropdown}, {@link module:ui/dropdown/utils~addListToDropdown}, and + * {@link module:ui/dropdown/utils~focusChildOnDropdownOpen} to learn more about focus management in dropdowns. + * + * @observable + */ + isOpen: boolean; + /** + * Controls whether the dropdown is enabled, i.e. it can be clicked and execute an action. + * + * See {@link module:ui/button/buttonview~ButtonView#isEnabled}. + * + * @observable + */ + isEnabled: boolean; + /** + * (Optional) The additional CSS class set on the dropdown {@link #element}. + * + * @observable + */ + class: string | undefined; + /** + * (Optional) The `id` attribute of the dropdown (i.e. to pair with a `