@ckeditor/ckeditor5-link 47.6.1-alpha.1 → 48.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +6 -6
- package/{src → dist}/autolink.d.ts +2 -2
- package/dist/index-editor.css +181 -105
- package/dist/index.css +169 -151
- package/dist/index.css.map +1 -1
- package/{src → dist}/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/{src → dist}/link.d.ts +1 -1
- package/{src → dist}/linkcommand.d.ts +2 -2
- package/{src → dist}/linkconfig.d.ts +1 -1
- package/{src → dist}/linkediting.d.ts +3 -3
- package/{src → dist}/linkimage.d.ts +1 -1
- package/{src → dist}/linkimageediting.d.ts +3 -2
- package/{src → dist}/linkimageui.d.ts +3 -2
- package/{src → dist}/linkui.d.ts +2 -2
- package/{src → dist}/ui/linkbuttonview.d.ts +2 -2
- package/{src → dist}/ui/linkformview.d.ts +2 -4
- package/{src → dist}/ui/linkpreviewbuttonview.d.ts +2 -2
- package/{src → dist}/ui/linkpropertiesview.d.ts +2 -2
- package/{src → dist}/ui/linkprovideritemsview.d.ts +2 -2
- package/{src → dist}/unlinkcommand.d.ts +1 -1
- package/{src → dist}/utils/automaticdecorators.d.ts +2 -2
- package/{src → dist}/utils/manualdecorator.d.ts +4 -4
- package/{src → dist}/utils.d.ts +2 -2
- package/package.json +29 -52
- package/build/link.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -16
- package/lang/translations/af.po +0 -68
- package/lang/translations/ar.po +0 -68
- package/lang/translations/ast.po +0 -68
- package/lang/translations/az.po +0 -68
- package/lang/translations/be.po +0 -68
- package/lang/translations/bg.po +0 -68
- package/lang/translations/bn.po +0 -70
- package/lang/translations/bs.po +0 -68
- package/lang/translations/ca.po +0 -68
- package/lang/translations/cs.po +0 -68
- package/lang/translations/da.po +0 -68
- package/lang/translations/de-ch.po +0 -68
- package/lang/translations/de.po +0 -68
- package/lang/translations/el.po +0 -68
- package/lang/translations/en-au.po +0 -68
- package/lang/translations/en-gb.po +0 -68
- package/lang/translations/en.po +0 -68
- package/lang/translations/eo.po +0 -68
- package/lang/translations/es-co.po +0 -68
- package/lang/translations/es.po +0 -68
- package/lang/translations/et.po +0 -68
- package/lang/translations/eu.po +0 -68
- package/lang/translations/fa.po +0 -68
- package/lang/translations/fi.po +0 -68
- package/lang/translations/fr.po +0 -68
- package/lang/translations/gl.po +0 -68
- package/lang/translations/gu.po +0 -68
- package/lang/translations/he.po +0 -68
- package/lang/translations/hi.po +0 -68
- package/lang/translations/hr.po +0 -68
- package/lang/translations/hu.po +0 -68
- package/lang/translations/hy.po +0 -68
- package/lang/translations/id.po +0 -68
- package/lang/translations/it.po +0 -68
- package/lang/translations/ja.po +0 -68
- package/lang/translations/jv.po +0 -68
- package/lang/translations/kk.po +0 -68
- package/lang/translations/km.po +0 -68
- package/lang/translations/kn.po +0 -68
- package/lang/translations/ko.po +0 -68
- package/lang/translations/ku.po +0 -68
- package/lang/translations/lt.po +0 -68
- package/lang/translations/lv.po +0 -68
- package/lang/translations/ms.po +0 -68
- package/lang/translations/nb.po +0 -68
- package/lang/translations/ne.po +0 -68
- package/lang/translations/nl.po +0 -68
- package/lang/translations/no.po +0 -68
- package/lang/translations/oc.po +0 -68
- package/lang/translations/pl.po +0 -68
- package/lang/translations/pt-br.po +0 -68
- package/lang/translations/pt.po +0 -68
- package/lang/translations/ro.po +0 -68
- package/lang/translations/ru.po +0 -68
- package/lang/translations/si.po +0 -68
- package/lang/translations/sk.po +0 -68
- package/lang/translations/sl.po +0 -68
- package/lang/translations/sq.po +0 -68
- package/lang/translations/sr-latn.po +0 -68
- package/lang/translations/sr.po +0 -68
- package/lang/translations/sv.po +0 -68
- package/lang/translations/th.po +0 -68
- package/lang/translations/ti.po +0 -68
- package/lang/translations/tk.po +0 -68
- package/lang/translations/tr.po +0 -68
- package/lang/translations/tt.po +0 -68
- package/lang/translations/ug.po +0 -68
- package/lang/translations/uk.po +0 -68
- package/lang/translations/ur.po +0 -68
- package/lang/translations/uz.po +0 -68
- package/lang/translations/vi.po +0 -68
- package/lang/translations/zh-cn.po +0 -68
- package/lang/translations/zh.po +0 -68
- package/src/augmentation.js +0 -5
- package/src/autolink.js +0 -307
- package/src/index.js +0 -25
- package/src/link.js +0 -37
- package/src/linkcommand.js +0 -431
- package/src/linkconfig.js +0 -5
- package/src/linkediting.js +0 -402
- package/src/linkimage.js +0 -37
- package/src/linkimageediting.js +0 -264
- package/src/linkimageui.js +0 -102
- package/src/linkui.js +0 -1072
- package/src/ui/linkbuttonview.js +0 -54
- package/src/ui/linkformview.js +0 -302
- package/src/ui/linkpreviewbuttonview.js +0 -43
- package/src/ui/linkpropertiesview.js +0 -170
- package/src/ui/linkprovideritemsview.js +0 -207
- package/src/unlinkcommand.js +0 -66
- package/src/utils/automaticdecorators.js +0 -181
- package/src/utils/conflictingdecorators.js +0 -80
- package/src/utils/manualdecorator.js +0 -69
- package/src/utils.js +0 -157
- package/theme/link.css +0 -10
- package/theme/linkform.css +0 -24
- package/theme/linkimage.css +0 -16
- package/theme/linkproperties.css +0 -4
- package/theme/linkprovideritems.css +0 -18
- package/theme/linktoolbar.css +0 -12
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/utils/conflictingdecorators.d.ts +0 -0
package/{src → dist}/link.d.ts
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/link
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { LinkEditing } from './linkediting.js';
|
|
10
10
|
import { LinkUI } from './linkui.js';
|
|
11
11
|
import { AutoLink } from './autolink.js';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/linkcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
9
|
-
import { Collection } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { Collection } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { AutomaticLinkDecorators } from './utils/automaticdecorators.js';
|
|
11
11
|
import { type LinkManualDecorator } from './utils/manualdecorator.js';
|
|
12
12
|
/**
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/linkediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5
|
|
9
|
-
import { Input, TwoStepCaretMovement } from 'ckeditor5
|
|
10
|
-
import { ClipboardPipeline } from 'ckeditor5
|
|
8
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { Input, TwoStepCaretMovement } from '@ckeditor/ckeditor5-typing';
|
|
10
|
+
import { ClipboardPipeline } from '@ckeditor/ckeditor5-clipboard';
|
|
11
11
|
import '../theme/link.css';
|
|
12
12
|
/**
|
|
13
13
|
* The link engine feature.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/linkimage
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { LinkImageEditing } from './linkimageediting.js';
|
|
10
10
|
import { LinkImageUI } from './linkimageui.js';
|
|
11
11
|
import '../theme/linkimage.css';
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/linkimageediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { LinkEditing } from './linkediting.js';
|
|
10
|
+
import { ImageEditing, ImageUtils } from '@ckeditor/ckeditor5-image';
|
|
10
11
|
/**
|
|
11
12
|
* The link image engine feature.
|
|
12
13
|
*
|
|
@@ -17,7 +18,7 @@ export declare class LinkImageEditing extends Plugin {
|
|
|
17
18
|
/**
|
|
18
19
|
* @inheritDoc
|
|
19
20
|
*/
|
|
20
|
-
static get requires(): readonly [
|
|
21
|
+
static get requires(): readonly [typeof ImageEditing, typeof ImageUtils, typeof LinkEditing];
|
|
21
22
|
/**
|
|
22
23
|
* @inheritDoc
|
|
23
24
|
*/
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
|
+
import { ImageBlockEditing } from '@ckeditor/ckeditor5-image';
|
|
6
7
|
import { LinkUI } from './linkui.js';
|
|
7
8
|
import { LinkEditing } from './linkediting.js';
|
|
8
9
|
/**
|
|
@@ -15,7 +16,7 @@ export declare class LinkImageUI extends Plugin {
|
|
|
15
16
|
/**
|
|
16
17
|
* @inheritDoc
|
|
17
18
|
*/
|
|
18
|
-
static get requires(): readonly [typeof LinkEditing, typeof LinkUI,
|
|
19
|
+
static get requires(): readonly [typeof LinkEditing, typeof LinkUI, typeof ImageBlockEditing];
|
|
19
20
|
/**
|
|
20
21
|
* @inheritDoc
|
|
21
22
|
*/
|
package/{src → dist}/linkui.d.ts
RENAMED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/linkui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
9
|
-
import { ContextualBalloon, ToolbarView, type ViewWithCssTransitionDisabler } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { ContextualBalloon, ToolbarView, type ViewWithCssTransitionDisabler } from '@ckeditor/ckeditor5-ui';
|
|
10
10
|
import { LinkEditing } from './linkediting.js';
|
|
11
11
|
import { LinkFormView } from './ui/linkformview.js';
|
|
12
12
|
import { LinkProviderItemsView } from './ui/linkprovideritemsview.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { ButtonView, IconView } from 'ckeditor5
|
|
6
|
-
import type { Locale } from 'ckeditor5
|
|
5
|
+
import { ButtonView, IconView } from '@ckeditor/ckeditor5-ui';
|
|
6
|
+
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
7
7
|
/**
|
|
8
8
|
* Represents a view for a dropdown menu button.
|
|
9
9
|
*/
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/ui/linkformview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, LabeledFieldView, View, ViewCollection, type InputTextView } from 'ckeditor5
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5
|
|
10
|
-
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
11
|
-
import '@ckeditor/ckeditor5-ui/theme/components/form/form.css';
|
|
8
|
+
import { ButtonView, LabeledFieldView, View, ViewCollection, type InputTextView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
12
10
|
import '../../theme/linkform.css';
|
|
13
11
|
/**
|
|
14
12
|
* The link form view.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/ui/linkpreviewbuttonview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView } from 'ckeditor5
|
|
9
|
-
import type { Locale } from 'ckeditor5
|
|
8
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* The link button class. Rendered as an `<a>` tag with link opening in a new tab.
|
|
12
12
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/ui/linkpropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, View, ViewCollection, type SwitchButtonView } from 'ckeditor5
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5
|
|
8
|
+
import { ButtonView, View, ViewCollection, type SwitchButtonView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import '../../theme/linkproperties.css';
|
|
11
11
|
/**
|
|
12
12
|
* The link properties view controller class.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/ui/linkprovideritemsview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, View, ListView, ViewCollection } from 'ckeditor5
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5
|
|
8
|
+
import { ButtonView, View, ListView, ViewCollection } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import '../../theme/linkprovideritems.css';
|
|
11
11
|
/**
|
|
12
12
|
* The link provider items view.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/utils/automaticdecorators
|
|
7
7
|
*/
|
|
8
|
-
import { type ArrayOrItem } from 'ckeditor5
|
|
9
|
-
import type { DowncastDispatcher,
|
|
8
|
+
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import type { DowncastDispatcher, ModelDocumentSelection, ModelItem, ModelSelection } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
import type { NormalizedLinkDecoratorAutomaticDefinition } from '../utils.js';
|
|
11
11
|
/**
|
|
12
12
|
* Helper class that ties together all {@link module:link/linkconfig~LinkDecoratorAutomaticDefinition} and provides
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/utils/manualdecorator
|
|
7
7
|
*/
|
|
8
|
-
import { type ArrayOrItem } from 'ckeditor5
|
|
9
|
-
import type { MatcherObjectPattern } from 'ckeditor5
|
|
8
|
+
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
9
|
+
import type { MatcherObjectPattern } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
import type { NormalizedLinkDecoratorManualDefinition } from '../utils.js';
|
|
11
11
|
declare const LinkManualDecorator_base: {
|
|
12
|
-
new (): import("ckeditor5
|
|
13
|
-
prototype: import("ckeditor5
|
|
12
|
+
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
13
|
+
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* Helper class that stores manual decorators with observable {@link module:link/utils/manualdecorator~LinkManualDecorator#value}
|
package/{src → dist}/utils.d.ts
RENAMED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module link/utils
|
|
7
7
|
*/
|
|
8
|
-
import type { DowncastConversionApi, ModelElement, ModelSchema, ViewAttributeElement, ViewNode, ViewDocumentFragment, ModelRange } from 'ckeditor5
|
|
9
|
-
import type { LocaleTranslate } from 'ckeditor5
|
|
8
|
+
import type { DowncastConversionApi, ModelElement, ModelSchema, ViewAttributeElement, ViewNode, ViewDocumentFragment, ModelRange } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import type { LocaleTranslate } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import type { LinkDecoratorAutomaticDefinition, LinkDecoratorDefinition, LinkDecoratorManualDefinition } from './linkconfig.js';
|
|
11
11
|
/**
|
|
12
12
|
* A keystroke used by the {@link module:link/linkui~LinkUI link UI feature}.
|
package/package.json
CHANGED
|
@@ -1,70 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-link",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "48.0.0-alpha.0",
|
|
4
4
|
"description": "Link feature for CKEditor 5.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
+
"author": "CKSource (http://cksource.com/)",
|
|
7
|
+
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
8
|
+
"bugs": "https://github.com/ckeditor/ckeditor5/issues",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/ckeditor/ckeditor5.git",
|
|
12
|
+
"directory": "packages/ckeditor5-link"
|
|
13
|
+
},
|
|
5
14
|
"keywords": [
|
|
6
15
|
"ckeditor",
|
|
7
16
|
"ckeditor5",
|
|
8
17
|
"ckeditor 5",
|
|
9
18
|
"ckeditor5-feature",
|
|
10
|
-
"ckeditor5-plugin"
|
|
11
|
-
"ckeditor5-dll"
|
|
19
|
+
"ckeditor5-plugin"
|
|
12
20
|
],
|
|
13
21
|
"type": "module",
|
|
14
|
-
"main": "
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.6.1-alpha.1",
|
|
20
|
-
"@ckeditor/ckeditor5-image": "47.6.1-alpha.1",
|
|
21
|
-
"@ckeditor/ckeditor5-typing": "47.6.1-alpha.1",
|
|
22
|
-
"@ckeditor/ckeditor5-ui": "47.6.1-alpha.1",
|
|
23
|
-
"@ckeditor/ckeditor5-utils": "47.6.1-alpha.1",
|
|
24
|
-
"@ckeditor/ckeditor5-widget": "47.6.1-alpha.1",
|
|
25
|
-
"ckeditor5": "47.6.1-alpha.1",
|
|
26
|
-
"es-toolkit": "1.39.5"
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": "./dist/index.js",
|
|
25
|
+
"./dist/*": "./dist/*",
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.0",
|
|
30
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.0",
|
|
31
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.0",
|
|
32
|
+
"@ckeditor/ckeditor5-enter": "48.0.0-alpha.0",
|
|
33
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.0",
|
|
34
|
+
"@ckeditor/ckeditor5-image": "48.0.0-alpha.0",
|
|
35
|
+
"@ckeditor/ckeditor5-typing": "48.0.0-alpha.0",
|
|
36
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.0",
|
|
37
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.0",
|
|
38
|
+
"@ckeditor/ckeditor5-widget": "48.0.0-alpha.0",
|
|
39
|
+
"es-toolkit": "1.45.1"
|
|
36
40
|
},
|
|
37
41
|
"files": [
|
|
38
42
|
"dist",
|
|
39
|
-
"lang",
|
|
40
|
-
"src/**/*.js",
|
|
41
|
-
"src/**/*.d.ts",
|
|
42
|
-
"theme",
|
|
43
|
-
"build",
|
|
44
43
|
"ckeditor5-metadata.json",
|
|
45
44
|
"CHANGELOG.md"
|
|
46
45
|
],
|
|
47
|
-
"types": "
|
|
48
|
-
"exports": {
|
|
49
|
-
".": {
|
|
50
|
-
"types": "./src/index.d.ts",
|
|
51
|
-
"import": "./src/index.js",
|
|
52
|
-
"default": "./src/index.js"
|
|
53
|
-
},
|
|
54
|
-
"./dist/*": {
|
|
55
|
-
"types": "./src/index.d.ts",
|
|
56
|
-
"import": "./dist/*",
|
|
57
|
-
"default": "./dist/*"
|
|
58
|
-
},
|
|
59
|
-
"./src/*": {
|
|
60
|
-
"types": "./src/*.d.ts",
|
|
61
|
-
"import": "./src/*",
|
|
62
|
-
"default": "./src/*"
|
|
63
|
-
},
|
|
64
|
-
"./build/*": "./build/*",
|
|
65
|
-
"./lang/*": "./lang/*",
|
|
66
|
-
"./theme/*": "./theme/*",
|
|
67
|
-
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
68
|
-
"./package.json": "./package.json"
|
|
69
|
-
}
|
|
46
|
+
"types": "./dist/index.d.ts"
|
|
70
47
|
}
|
package/build/link.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Create link":"Create link","Displayed text":"Displayed text",Downloadable:"Downloadable","Edit link":"Edit link",Link:"Link","Link image":"Link image","Link properties":"Link properties","Link URL":"Link URL","Link URL must not be empty.":"Link URL must not be empty.","Move out of a link":"Move out of a link","No links available":"No links available","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Unlink:"Unlink"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
|
-
/*!
|
|
3
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
|
-
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={29:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.id,":root{--ck-form-default-width:340px}.ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form.ck-form_default-width{width:var(--ck-form-default-width)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-number,.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%}@media screen and (max-width:600px){.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit{align-items:stretch;flex-direction:column;padding:0}.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit>.ck{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text{justify-content:center}.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding{padding-bottom:var(--ck-spacing-large)}}[dir=ltr] .ck.ck-form.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-form.ck-responsive-form>:not(:last-child){margin-left:0}",""]);const a=o},163:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},196:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.id,":root{--ck-link-properties-width:340px}@media screen and (max-width:600px){:root{--ck-link-properties-width:300px}}.ck.ck-link-properties{width:var(--ck-link-properties-width)}",""]);const a=o},220:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.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-number,.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)}}',""]);const a=o},237:e=>{"use strict";e.exports=CKEditor5.dll},244:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var n=i(792),r=i.n(n),s=i(305),o=i.n(s),a=i(252),l=i.n(a),c=new URL(i(401),i.b),d=o()(r()),u=l()(c);d.push([e.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(${u});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))}`,""]);const h=d},252:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},305:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,s){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(o[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&o[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},331:(e,t,i)=>{e.exports=i(237)("./src/clipboard.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},401:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzUuNzUgMCAwIDEtLjIxNy4yMDYgNS4yNTEgNS4yNTEgMCAwIDEtOC41MDMtNS45NTUuNy43IDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NHptNS40OTQtNS4zMzVhLjc1Ljc1IDAgMCAxLS4xMi4yNzRsLTEuMTQ3IDEuNjM5YS43NS43NSAwIDEgMS0xLjIyOC0uODZsLjg2LTEuMjNhMy43NSAzLjc1IDAgMCAwLTYuMTQ0LTQuMzAxbC0uODYgMS4yMjlhLjc1Ljc1IDAgMCAxLTEuMjI5LS44NmwxLjE0OC0xLjY0YS43NS43NSAwIDAgMSAuMjE3LS4yMDYgNS4yNTEgNS4yNTEgMCAwIDEgOC41MDMgNS45NTVtLTQuNTYzLTIuNTMyYS43NS43NSAwIDAgMSAuMTg0IDEuMDQ1bC0zLjE1NSA0LjUwNWEuNzUuNzUgMCAxIDEtMS4yMjktLjg2bDMuMTU1LTQuNTA2YS43NS43NSAwIDAgMSAxLjA0NS0uMTg0Ii8+PC9zdmc+"},424:e=>{"use strict";var t={};e.exports=function(e,i){var n=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(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},482:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.id,".ck.ck-link-providers>.ck-link-providers__list{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.ck.ck-link-providers>.ck-link-providers__list .ck-button>.ck-icon{flex-shrink:0}:root{--ck-link-providers-width:340px;--ck-link-list-view-max-height:240px;--ck-link-list-view-icon-size:calc(var(--ck-icon-size)*0.8)}@media screen and (max-width:600px){:root{--ck-link-providers-width:300px}}.ck.ck-link-providers{width:var(--ck-link-providers-width)}.ck.ck-link-providers .ck-form__header__label{overflow:hidden;text-overflow:ellipsis}.ck.ck-link-providers>.ck-link-providers__list{max-height:min(var(--ck-link-list-view-max-height),40vh)}.ck.ck-link-providers>.ck-link-providers__list .ck-button>.ck-icon{height:var(--ck-link-list-view-icon-size);width:var(--ck-link-list-view-icon-size)}.ck.ck-link-providers>.ck-link-providers__list .ck-button>.ck-button__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-link-providers .ck-link__empty-list-info{font-style:italic;padding:calc(var(--ck-spacing-large)*2) var(--ck-spacing-medium);text-align:center}",""]);const a=o},517:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}},571:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.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)}",""]);const a=o},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},662:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.id,".ck.ck-link-toolbar__preview{display:inline-block}.ck.ck-link-toolbar__preview .ck-button__label{overflow:hidden}:root{--ck-link-bookmark-icon-size:calc(var(--ck-icon-size)*0.7)}.ck.ck-toolbar.ck-link-toolbar>.ck-toolbar__items{flex-wrap:nowrap}a.ck.ck-button.ck-link-toolbar__preview{color:var(--ck-color-link-default);cursor:pointer;justify-content:center;padding:0 var(--ck-spacing-medium)}a.ck.ck-button.ck-link-toolbar__preview .ck.ck-button__label{max-width:var(--ck-input-width);text-overflow:ellipsis}a.ck.ck-button.ck-link-toolbar__preview,a.ck.ck-button.ck-link-toolbar__preview:active,a.ck.ck-button.ck-link-toolbar__preview:focus,a.ck.ck-button.ck-link-toolbar__preview:hover{background:none}a.ck.ck-button.ck-link-toolbar__preview:active{box-shadow:none}a.ck.ck-button.ck-link-toolbar__preview:focus,a.ck.ck-button.ck-link-toolbar__preview:hover{text-decoration:underline}a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon{height:var(--ck-link-bookmark-icon-size);width:var(--ck-link-bookmark-icon-size)}[dir=ltr] a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-tiny)}[dir=rtl] a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon{margin-left:var(--ck-spacing-tiny);margin-right:var(--ck-spacing-small)}a.ck.ck-button.ck-link-toolbar__preview:has(.ck-icon){padding-left:var(--ck-spacing-extra-tiny )}",""]);const a=o},719:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var s={},o=[],a=0;a<e.length;a++){var l=e[a],c=n.base?l[0]+n.base:l[0],d=s[c]||0,u="".concat(c," ").concat(d);s[c]=d+1;var h=i(u),k={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)t[h].references++,t[h].updater(k);else{var m=r(k,n);n.byIndex=a,t.splice(a,0,{identifier:u,updater:m,references:1})}o.push(u)}return o}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var s=n(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<s.length;o++){var a=i(s[o]);t[a].references--}for(var l=n(e,r),c=0;c<s.length;c++){var d=i(s[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}s=l}}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},783:(e,t,i)=>{e.exports=i(237)("./src/engine.js")},792:e=>{"use strict";e.exports=function(e){return e[1]}},834:(e,t,i)=>{e.exports=i(237)("./src/typing.js")},863:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,s);else{var a=document.createTextNode(s),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(a,l[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},898:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([e.id,".ck.ck-link-form .ck-link-form__providers-list{display:flex;flex-direction:column}.ck.ck-link-form .ck-link-form__providers-list .ck-link__button>.ck-button__label{flex-grow:1}.ck.ck-link-form .ck-link__items:empty{display:none}:root{--ck-link-panel-width:340px;--ck-link-provider-list-item-text-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));--ck-link-provider-list-item-height:calc(var(--ck-link-provider-list-item-text-height) + var(--ck-spacing-small) + var(--ck-spacing-small))}@media screen and (max-width:600px){:root{--ck-link-panel-width:300px}}.ck.ck-form.ck-link-form{padding-bottom:0;width:var(--ck-link-panel-width)}@media screen and (max-width:600px){.ck.ck-form.ck-link-form.ck-responsive-form .ck-labeled-field-view{margin:0}}.ck.ck-form.ck-link-form .ck-link-form__providers-list{border-top:1px solid var(--ck-color-base-border)}.ck.ck-form.ck-link-form .ck-link-form__providers-list:has(.ck-list__item:nth-child(n+5)){max-height:calc(var(--ck-link-provider-list-item-height)*4 + var(--ck-spacing-large) + 1px);overflow:auto}.ck.ck-form.ck-link-form .ck-link-form__providers-list .ck-link__button{border-radius:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-form.ck-link-form .ck-link-form__providers-list .ck-link__button>.ck-button__label{overflow:hidden;text-overflow:ellipsis}",""]);const a=o},901:(e,t,i)=>{e.exports=i(237)("./src/widget.js")}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.m=e,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.b="undefined"!=typeof document&&document.baseURI||self.location.href;var n={};(()=>{"use strict";i.r(n),i.d(n,{AutoLink:()=>we,AutomaticLinkDecorators:()=>a,Link:()=>_e,LinkCommand:()=>P,LinkEditing:()=>Y,LinkFormView:()=>re,LinkImage:()=>Te,LinkImageEditing:()=>Ve,LinkImageUI:()=>Le,LinkManualDecorator:()=>E,LinkPropertiesView:()=>ue,LinkProviderItemsView:()=>le,LinkUI:()=>pe,UnlinkCommand:()=>C,_LINK_KEYSTROKE:()=>f,_LinkButtonView:()=>he,_LinkPreviewButtonView:()=>G,_createLinkElement:()=>g,_ensureSafeLinkUrl:()=>b,_extractTextFromLinkRange:()=>A,_getLocalizedLinkDecorators:()=>w,_hasLinkProtocol:()=>x,_isEmailLink:()=>V,_normalizeLinkDecorators:()=>v,_openLink:()=>L,addLinkProtocolIfApplicable:()=>y,ensureSafeUrl:()=>b,isLinkElement:()=>p,isLinkableElement:()=>_});var e=i(782),t=i(834),r=i(331),s=i(584),o=i(783);class a{_definitions=new Set;_conflictChecker;get length(){return this._definitions.size}setConflictChecker(e){this._conflictChecker=e}add(e){Array.isArray(e)?e.forEach(e=>this._definitions.add(e)):this._definitions.add(e)}getDispatcher(){return e=>{const t=(e,t)=>{const i=t.createAttributeElement("a",e.attributes,{priority:5});e.classes&&t.addClass(e.classes,i);for(const n in e.styles)t.setStyle(n,e.styles[n],i);return t.setCustomProperty("link",!0,i),i},i=e=>(i,n,r)=>{if(n.attributeKey.startsWith("link")&&("linkHref"!=n.attributeKey||r.consumable.test(n.item,"attribute:linkHref"))&&(n.item.is("selection")||r.schema.isInline(n.item)))for(const i of this._definitions)i.callback(n.item.getAttribute("linkHref"))&&!this._conflictChecker?.(i,n.item)&&e?n.item.is("selection")?r.writer.wrap(r.writer.document.selection.getFirstRange(),t(i,r.writer)):r.writer.wrap(r.mapper.toViewRange(n.range),t(i,r.writer)):r.writer.unwrap(r.mapper.toViewRange(n.range),t(i,r.writer))};e.on("attribute",i(!1),{priority:s.priorities.high-1}),e.on("attribute",i(!0),{priority:s.priorities.high-2})}}getDispatcherForLinkedImage(){return e=>{const t=e=>(t,i,{writer:n,mapper:r})=>{if(!i.item.is("element","imageBlock")||!i.attributeKey.startsWith("link"))return;const o=r.toViewElement(i.item),a=Array.from(o.getChildren()).find(e=>e.is("element","a"));if(a)for(const t of this._definitions){const r=(0,s.toMap)(t.attributes);if(t.callback(i.item.getAttribute("linkHref"))&&!this._conflictChecker?.(t,i.item)&&e){for(const[e,t]of r)"class"===e?n.addClass(t,a):n.setAttribute(e,t,!1,a);t.classes&&n.addClass(t.classes,a);for(const e in t.styles)n.setStyle(e,t.styles[e],a)}else{for(const[e,t]of r)"class"===e?n.removeClass(t,a):n.removeAttribute(e,t,a);t.classes&&n.removeClass(t.classes,a);for(const e in t.styles)n.removeStyle(e,a)}}};e.on("attribute",t(!1),{priority:s.priorities.high-1}),e.on("attribute",t(!0),{priority:s.priorities.high-2})}}}function l(e){if(null==e)return"";if("string"==typeof e)return e;if(Array.isArray(e))return e.map(l).join(",");const t=String(e);return"0"===t&&Object.is(Number(e),-0)?"-0":t}function c(e){return function(e){return e.substring(0,1).toUpperCase()+e.substring(1)}(l(e))}const d=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,u="^(?:(?:<protocols>):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))",h=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,k=/^((\w+:(\/{2,})?)|(\W))/i,m=["https?","ftps?","mailto"],f="Ctrl+K";function p(e){return e.is("attributeElement")&&!!e.getCustomProperty("link")}function g(e,{writer:t}){const i=t.createAttributeElement("a",{href:e},{priority:5});return t.setCustomProperty("link",!0,i),i}function b(e,t=m){const i=String(e),n=t.join("|");return function(e,t){const i=e.replace(d,"");return!!i.match(t)}(i,new RegExp(`${u.replace("<protocols>",n)}`,"i"))?i:"#"}function w(e,t){const i={"Open in a new tab":e("Open in a new tab"),Downloadable:e("Downloadable")};return t.forEach(e=>("label"in e&&i[e.label]&&(e.label=i[e.label]),e)),t}function v(e){const t=[];if(e)for(const[i,n]of Object.entries(e)){const e=Object.assign({},n,{id:`link${c(i)}`});t.push(e)}return t}function _(e,t){return!!e&&t.checkAttribute(e.name,"linkHref")}function V(e){return h.test(e)}function y(e,t){const i=V(e)?"mailto:":t,n=!!i&&!x(e);return e&&n?i+e:e}function x(e){return k.test(e)}function L(e){window.open(e,"_blank","noopener")}function A(e){let t="";for(const i of e.getItems()){if(!i.is("$text")&&!i.is("$textProxy"))return;t+=i.data}return t}function I(e,t){if(e.attributes&&t.attributes){if(Object.keys(e.attributes).some(e=>!function(e){return"class"===e||"style"===e||"rel"===e}(e)&&e in t.attributes))return!0}if(e.styles&&t.styles){if(Object.keys(e.styles).some(e=>e in t.styles))return!0}return!1}function T(e,t){const i=t.find(t=>t.id===e);return i?t.filter(t=>t.id!==e&&I(i,t)).map(e=>e.id):[]}class P extends e.Command{manualDecorators=new s.Collection;automaticDecorators=new a;restoreManualDecoratorStates(){for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement()||(0,s.first)(t.getSelectedBlocks());_(i,e.schema)?(this.value=i.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttribute(i,"linkHref")):(this.value=t.getAttribute("linkHref"),this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref"));for(const e of this.manualDecorators)e.value=this._getDecoratorStateFromModel(e.id)}execute(e,i={},n){const r=this.editor.model,a=r.document.selection,l=function({decoratorStates:e,allDecorators:t}){const i={...e};for(const r in e)if(e[r]&&n(r)){const e=T(r,t);for(const t of e)i[t]=!1}function n(e){return t.some(t=>t.id===e&&!t.value)}return i}({allDecorators:Array.from(this.manualDecorators),decoratorStates:i}),c=[],d=[];for(const e in l)l[e]?c.push(e):d.push(e);r.change(i=>{const l=t=>{i.setAttribute("linkHref",e,t),c.forEach(e=>i.setAttribute(e,!0,t)),d.forEach(e=>i.removeAttribute(e,t))},u=(t,o)=>{const a=A(t);if(!a)return t;let c=n;if(c||(c=o&&o==a?e:a),c!=a){const e=i.createDocumentFragment();for(const n of t.getItems()){const t=n;i.append(i.createText(t.data,t.getAttributes()),e)}const n=i.createRangeIn(e),o=function(e,t){const i=(0,s.diff)(e,t),n={equal:0,insert:0,delete:0},r=[];let o="",a="";for(const s of[...i,null])"insert"==s?a+=t[n.equal+n.insert]:"delete"==s?o+=e[n.equal+n.delete]:(o.length||a.length)&&(r.push({offset:n.equal,actual:o,expected:a}),o="",a=""),s&&n[s]++;return r}(a,c);let d=0;for(const{offset:e,actual:t,expected:s}of o){const o=e+d,a=i.createRange(n.start.getShiftedBy(o),n.start.getShiftedBy(o+t.length)),c=S(a,n).getAttributes(),u=Array.from(c).filter(([e])=>r.schema.getAttributeProperties(e).isFormatting),h=i.createText(s,u);l(h),i.remove(a),i.insert(h,a.start),d+=s.length}return r.insertContent(e,t),i.createRange(t.start,t.start.getShiftedBy(c.length))}},h=e=>{const{plugins:t}=this.editor;if(i.setSelection(e.end),t.has("TwoStepCaretMovement"))t.get("TwoStepCaretMovement")._handleForwardMovement();else for(const e of["linkHref",...c,...d])i.removeSelectionAttribute(e)};if(a.isCollapsed){const o=a.getFirstPosition();if(a.hasAttribute("linkHref")){const e=a.getAttribute("linkHref"),i=(0,t.findAttributeRange)(o,"linkHref",e,r),n=u(i,e);l(n||i),n&&h(n)}else if(""!==e){const t=(0,s.toMap)(a.getAttributes());t.set("linkHref",e),c.forEach(e=>{t.set(e,!0)});h(r.insertContent(i.createText(n||e,t),o))}}else{const e=Array.from(a.getRanges()),t=r.schema.getValidRanges(e,"linkHref"),n=[];for(const e of a.getSelectedBlocks())r.schema.checkAttribute(e,"linkHref")&&n.push(i.createRangeOn(e));const s=n.slice();for(const e of t)this._isRangeToUpdate(e,n)&&s.push(e);const c=e.map(e=>({start:o.ModelLivePosition.fromPosition(e.start,"toPrevious"),end:o.ModelLivePosition.fromPosition(e.end,"toNext")}));for(let e of s){e=u(e,(e.start.textNode||e.start.nodeAfter).getAttribute("linkHref"))||e,l(e)}i.setSelection(c.map(e=>{const t=e.start.toPosition(),i=e.end.toPosition();return e.start.detach(),e.end.detach(),r.createRange(t,i)}))}}),this.restoreManualDecoratorStates()}_getDecoratorStateFromModel(e){const t=this.editor.model,i=t.document.selection,n=i.getSelectedElement();return _(n,t.schema)?n.getAttribute(e):i.getAttribute(e)}_isRangeToUpdate(e,t){for(const i of t)if(i.containsRange(e))return!1;return!0}}function S(e,t){if(!e.isCollapsed)return(0,s.first)(e.getItems());const i=e.start;return i.textNode?i.textNode:!i.nodeBefore||i.isEqual(t.start)?i.nodeAfter:i.nodeBefore}class C extends e.Command{refresh(){const e=this.editor.model,t=e.document.selection,i=t.getSelectedElement();_(i,e.schema)?this.isEnabled=e.schema.checkAttribute(i,"linkHref"):this.isEnabled=e.schema.checkAttributeInSelection(t,"linkHref")}execute(){const e=this.editor,i=this.editor.model,n=i.document.selection,r=e.commands.get("link");i.change(e=>{const s=n.isCollapsed?[(0,t.findAttributeRange)(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),i)]:i.schema.getValidRanges(n.getRanges(),"linkHref");for(const t of s)if(e.removeAttribute("linkHref",t),r)for(const i of r.manualDecorators)e.removeAttribute(i.id,t)})}}class E extends((0,s.ObservableMixin)()){id;defaultValue;label;attributes;classes;styles;constructor({id:e,label:t,attributes:i,classes:n,styles:r,defaultValue:s}){super(),this.id=e,this.set("value",void 0),this.defaultValue=s,this.label=t,this.attributes=i,this.classes=n,this.styles=r}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var D=i(719),B=i.n(D),M=i(863),N=i.n(M),F=i(424),H=i.n(F),O=i(517),R=i.n(O),U=i(163),j=i.n(U),z=i(571),K={attributes:{"data-cke":!0}};K.setAttributes=R(),K.insert=H().bind(null,"head"),K.domAPI=N(),K.insertStyleElement=j();B()(z.A,K);z.A&&z.A.locals&&z.A.locals;const q="automatic",$=/^(https?:)?\/\//;class Y extends e.Plugin{_linkOpeners=[];static get pluginName(){return"LinkEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[t.TwoStepCaretMovement,t.Input,r.ClipboardPipeline]}constructor(e){super(e),e.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1,toolbar:["linkPreview","|","editLink","linkProperties","unlink"]})}init(){const e=this.editor,i=this.editor.config.get("link.allowedProtocols");e.model.schema.extend("$text",{allowAttributes:"linkHref"}),e.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:g}),e.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(e,t)=>g(b(e,i),t)}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:e=>e.getAttribute("href")}}),e.commands.add("link",new P(e)),e.commands.add("unlink",new C(e));const n=w(e.t,v(e.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter(e=>e.mode===q)),this._enableManualDecorators(n.filter(e=>"manual"===e.mode));e.plugins.get(t.TwoStepCaretMovement).registerAttribute("linkHref"),(0,t.inlineHighlight)(e,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration(),this._enableDecoratorConflictPostfixer()}_registerLinkOpener(e){this._linkOpeners.push(e)}_enableAutomaticDecorators(e){const t=this.editor,i=t.commands.get("link"),n=i.automaticDecorators;t.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:q,callback:e=>!!e&&$.test(e),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(e),n.setConflictChecker((e,t)=>{for(const n of i.manualDecorators)if(t.hasAttribute(n.id)&&I(e,n))return!0}),n.length&&t.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(e){if(!e.length)return;const t=this.editor,i=t.commands.get("link").manualDecorators;e.forEach(e=>{t.model.schema.extend("$text",{allowAttributes:e.id});const n=new E(e);i.add(n),t.conversion.for("downcast").add(e=>{const t=e=>{const t=e.createAttributeElement("a",n.attributes,{priority:5});n.classes&&e.addClass(n.classes,t);for(const i in n.styles)e.setStyle(i,n.styles[i],t);return e.setCustomProperty("link",!0,t),t},i=e=>(i,n,r)=>{if(n.item.is("selection")||r.schema.isInline(n.item)){if(!e&&n.attributeOldValue){if(!r.consumable.test(n.item,i.name))return;r.writer.unwrap(r.mapper.toViewRange(n.range),t(r.writer))}if(e&&n.attributeNewValue){if(!r.consumable.consume(n.item,i.name))return;n.item.is("selection")?r.writer.wrap(r.writer.document.selection.getFirstRange(),t(r.writer)):r.writer.wrap(r.mapper.toViewRange(n.range),t(r.writer))}}};e.on(`attribute:${n.id}`,i(!1),{priority:s.priorities.high-1}),e.on(`attribute:${n.id}`,i(!0),{priority:s.priorities.high-2})}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",...n._createPattern()},model:{key:n.id}})})}_enableLinkOpen(){const e=this.editor,t=e.editing.view.document,i=e=>{this._linkOpeners.some(t=>t(e))||L(e)};this.listenTo(t,"click",(e,t)=>{if(!(s.env.isMac?t.domEvent.metaKey:t.domEvent.ctrlKey))return;let n=t.domTarget;if("a"!=n.tagName.toLowerCase()&&(n=n.closest("a")),!n)return;const r=n.getAttribute("href");r&&(e.stop(),t.preventDefault(),i(r))},{context:"$capture"}),this.listenTo(t,"keydown",(t,n)=>{const r=e.commands.get("link").value;!!r&&n.keyCode===s.keyCodes.enter&&n.altKey&&(t.stop(),i(r))})}_enableSelectionAttributesFixer(){const e=this.editor.model,t=e.document.selection;this.listenTo(t,"change:attribute",(i,{attributeKeys:n})=>{n.includes("linkHref")&&!t.hasAttribute("linkHref")&&e.change(t=>{var i;!function(e,t){e.removeSelectionAttribute("linkHref");for(const i of t)e.removeSelectionAttribute(i)}(t,(i=e.schema,i.getDefinition("$text").allowAttributes.filter(e=>e.startsWith("link"))))})})}_enableClipboardIntegration(){const e=this.editor,t=e.model,i=this.editor.config.get("link.defaultProtocol");i&&this.listenTo(e.plugins.get("ClipboardPipeline"),"contentInsertion",(e,n)=>{t.change(e=>{const t=e.createRangeIn(n.content);for(const n of t.getItems())if(n.hasAttribute("linkHref")){const t=y(n.getAttribute("linkHref"),i);e.setAttribute("linkHref",t,n)}})})}_enableDecoratorConflictPostfixer(){const e=this.editor,t=e.model,i=e.commands.get("link");t.document.registerPostFixer(e=>{let n=!1;const r=t.document.differ.getChanges(),s=new Set,o=new Set(i.manualDecorators.map(e=>e.id));for(const e of r){if("attribute"===e.type){if("linkHref"!==e.attributeKey&&!o.has(e.attributeKey))continue;for(const t of e.range.getItems())t.hasAttribute("linkHref")&&s.add(t)}"insert"===e.type&&e.attributes.has("linkHref")&&e.position.nodeAfter&&s.add(e.position.nodeAfter)}for(const t of s){const r=[];for(const s of i.manualDecorators)if(t.hasAttribute(s.id)){for(let i=r.length-1;i>=0;i--){const o=r[i];I(o,s)&&(e.removeAttribute(o.id,t),r.splice(i,1),n=!0)}r.push(s)}}return n})}}var Q=i(355),W=i(311),Z=i(901);class G extends W.ButtonView{constructor(e){super(e);const t=this.bindTemplate;this.set({href:void 0,withText:!0}),this.extendTemplate({attributes:{class:["ck-link-toolbar__preview"],href:t.to("href"),target:"_blank",rel:"noopener noreferrer"},on:{click:t.to(e=>{if(this.href){const t=()=>e.preventDefault();this.fire("navigate",this.href,t)}})}}),this.template.tag="a"}}var J=i(220),X={attributes:{"data-cke":!0}};X.setAttributes=R(),X.insert=H().bind(null,"head"),X.domAPI=N(),X.insertStyleElement=j();B()(J.A,X);J.A&&J.A.locals&&J.A.locals;var ee=i(29),te={attributes:{"data-cke":!0}};te.setAttributes=R(),te.insert=H().bind(null,"head"),te.domAPI=N(),te.insertStyleElement=j();B()(ee.A,te);ee.A&&ee.A.locals&&ee.A.locals;var ie=i(898),ne={attributes:{"data-cke":!0}};ne.setAttributes=R(),ne.insert=H().bind(null,"head"),ne.domAPI=N(),ne.insertStyleElement=j();B()(ie.A,ne);ie.A&&ie.A.locals&&ie.A.locals;class re extends W.View{focusTracker=new s.FocusTracker;keystrokes=new s.KeystrokeHandler;backButtonView;saveButtonView;displayedTextInputView;urlInputView;children;providersListChildren;_validators;_focusables=new W.ViewCollection;_focusCycler;constructor(e,t){super(e),this._validators=t,this.backButtonView=this._createBackButton(),this.saveButtonView=this._createSaveButton(),this.displayedTextInputView=this._createDisplayedTextInput(),this.urlInputView=this._createUrlInput(),this.providersListChildren=this.createCollection(),this.children=this.createCollection([this._createHeaderView()]),this._createFormChildren(),this.listenTo(this.providersListChildren,"add",()=>{this.stopListening(this.providersListChildren,"add"),this.children.add(this._createProvidersListView())}),this._focusCycler=new W.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-form","ck-link-form","ck-responsive-form"],tabindex:"-1"},children:this.children})}render(){super.render(),(0,W.submitHandler)({view:this});[this.urlInputView,this.saveButtonView,...this.providersListChildren,this.backButtonView,this.displayedTextInputView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}isValid(){this.resetFormStatus();for(const e of this._validators){const t=e(this);if(t)return this.urlInputView.errorText=t,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null}_createBackButton(){const e=this.locale.t,t=new W.ButtonView(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:Q.IconPreviousArrow,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createSaveButton(){const e=this.locale.t,t=new W.ButtonView(this.locale);return t.set({label:e("Insert"),tooltip:!1,withText:!0,type:"submit",class:"ck-button-action ck-button-bold"}),t}_createHeaderView(){const e=this.locale.t,t=new W.FormHeaderView(this.locale,{label:e("Link")});return t.children.add(this.backButtonView,0),t}_createProvidersListView(){const e=new W.ListView(this.locale);return e.extendTemplate({attributes:{class:["ck-link-form__providers-list"]}}),e.items.bindTo(this.providersListChildren).using(e=>{const t=new W.ListItemView(this.locale);return t.children.add(e),t}),e}_createDisplayedTextInput(){const e=this.locale.t,t=new W.LabeledFieldView(this.locale,W.createLabeledInputText);return t.label=e("Displayed text"),t.class="ck-labeled-field-view_full-width",t}_createUrlInput(){const e=this.locale.t,t=new W.LabeledFieldView(this.locale,W.createLabeledInputText);return t.fieldView.inputMode="url",t.label=e("Link URL"),t.class="ck-labeled-field-view_full-width",t}_createFormChildren(){this.children.add(new W.FormRowView(this.locale,{children:[this.displayedTextInputView],class:["ck-form__row_large-top-padding"]})),this.children.add(new W.FormRowView(this.locale,{children:[this.urlInputView,this.saveButtonView],class:["ck-form__row_with-submit","ck-form__row_large-top-padding","ck-form__row_large-bottom-padding"]}))}get url(){const{element:e}=this.urlInputView.fieldView;return e?e.value.trim():null}}const se='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>';var oe=i(482),ae={attributes:{"data-cke":!0}};ae.setAttributes=R(),ae.insert=H().bind(null,"head"),ae.domAPI=N(),ae.insertStyleElement=j();B()(oe.A,ae);oe.A&&oe.A.locals&&oe.A.locals;class le extends W.View{focusTracker=new s.FocusTracker;keystrokes=new s.KeystrokeHandler;backButtonView;listView;listChildren;emptyListInformation;children;_focusables=new W.ViewCollection;_focusCycler;constructor(e){super(e),this.listChildren=this.createCollection(),this.backButtonView=this._createBackButton(),this.listView=this._createListView(),this.emptyListInformation=this._createEmptyLinksListItemView(),this.children=this.createCollection([this._createHeaderView(),this.emptyListInformation]),this.set("title",""),this.set("emptyListPlaceholder",""),this.set("hasItems",!1),this.listenTo(this.listChildren,"change",()=>{this.hasItems=this.listChildren.length>0}),this.on("change:hasItems",(e,t,i)=>{i?(this.children.remove(this.emptyListInformation),this.children.add(this.listView)):(this.children.remove(this.listView),this.children.add(this.emptyListInformation))}),this.keystrokes.set("Esc",(e,t)=>{this.fire("cancel"),t()}),this._focusCycler=new W.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-providers"],tabindex:"-1"},children:this.children})}render(){super.render();[this.listView,this.backButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createListView(){const e=new W.ListView(this.locale);return e.extendTemplate({attributes:{class:["ck-link-providers__list"]}}),e.items.bindTo(this.listChildren).using(e=>{const t=new W.ListItemView(this.locale);return t.children.add(e),t}),e}_createBackButton(){const e=this.locale.t,t=new W.ButtonView(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:se,tooltip:!0}),t.delegate("execute").to(this,"cancel"),t}_createHeaderView(){const e=new W.FormHeaderView(this.locale);return e.bind("label").to(this,"title"),e.children.add(this.backButtonView,0),e}_createEmptyLinksListItemView(){const e=new W.View(this.locale);return e.setTemplate({tag:"p",attributes:{class:["ck","ck-link__empty-list-info"]},children:[{text:this.bindTemplate.to("emptyListPlaceholder")}]}),e}}var ce=i(196),de={attributes:{"data-cke":!0}};de.setAttributes=R(),de.insert=H().bind(null,"head"),de.domAPI=N(),de.insertStyleElement=j();B()(ce.A,de);ce.A&&ce.A.locals&&ce.A.locals;class ue extends W.View{focusTracker=new s.FocusTracker;keystrokes=new s.KeystrokeHandler;backButtonView;children;listChildren;_focusables=new W.ViewCollection;_focusCycler;constructor(e){super(e),this.backButtonView=this._createBackButton(),this.listChildren=this.createCollection(),this.children=this.createCollection([this._createHeaderView(),this._createListView()]),this._focusCycler=new W.FocusCycler({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-properties"],tabindex:"-1"},children:this.children}),this.keystrokes.set("Esc",(e,t)=>{this.fire("back"),t()})}render(){super.render();[...this.listChildren,this.backButtonView].forEach(e=>{this._focusables.add(e),this.focusTracker.add(e.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createBackButton(){const e=this.locale.t,t=new W.ButtonView(this.locale);return t.set({class:"ck-button-back",label:e("Back"),icon:se,tooltip:!0}),t.delegate("execute").to(this,"back"),t}_createHeaderView(){const e=this.locale.t,t=new W.FormHeaderView(this.locale,{label:e("Link properties")});return t.children.add(this.backButtonView,0),t}_createListView(){const e=new W.ListView(this.locale);return e.extendTemplate({attributes:{class:["ck-link__list"]}}),e.items.bindTo(this.listChildren).using(e=>{const t=new W.ListItemView(this.locale);return t.children.add(e),t}),e}}class he extends W.ButtonView{arrowView;constructor(e){super(e),this.set({withText:!0}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-link__button"]}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const e=new W.IconView;return e.content='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382z"/></svg>',e}}var ke=i(662),me={attributes:{"data-cke":!0}};me.setAttributes=R(),me.insert=H().bind(null,"head"),me.domAPI=N(),me.insertStyleElement=j();B()(ke.A,me);ke.A&&ke.A.locals&&ke.A.locals;const fe="link-ui";class pe extends e.Plugin{toolbarView=null;formView=null;linkProviderItemsView=null;propertiesView=null;_balloon;_linksProviders=new s.Collection;static get requires(){return[W.ContextualBalloon,Y]}static get pluginName(){return"LinkUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=this.editor.t;this.set("selectedLinkableText",void 0),e.editing.view.addObserver(o.ClickObserver),this._balloon=e.plugins.get(W.ContextualBalloon),this._registerComponents(),this._registerEditingOpeners(),this._enableBalloonActivators(),e.conversion.for("editingDowncast").markerToHighlight({model:fe,view:{classes:["ck-fake-link-selection"]}}),e.conversion.for("editingDowncast").markerToElement({model:fe,view:(e,{writer:t})=>{if(!e.markerRange.isCollapsed)return null;const i=t.createUIElement("span");return t.addClass(["ck-fake-link-selection","ck-fake-link-selection_collapsed"],i),i}}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Create link"),keystroke:f},{label:t("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.propertiesView&&this.propertiesView.destroy(),this.formView&&this.formView.destroy(),this.toolbarView&&this.toolbarView.destroy(),this.linkProviderItemsView&&this.linkProviderItemsView.destroy()}registerLinksListProvider(e){const t=this._linksProviders.filter(t=>(t.order||0)<=(e.order||0)).length;this._linksProviders.add(e,t)}_createViews(){const e=this.editor.commands.get("link");this.toolbarView=this._createToolbarView(),this.formView=this._createFormView(),e.manualDecorators.length&&(this.propertiesView=this._createPropertiesView()),this._enableUserBalloonInteractions()}_createToolbarView(){const e=this.editor,t=new W.ToolbarView(e.locale),i=e.commands.get("link");t.class="ck-link-toolbar";let n=e.config.get("link.toolbar");return i.manualDecorators.length||(n=n.filter(e=>"linkProperties"!==e)),t.fillFromConfig(n,e.ui.componentFactory),t.keystrokes.set("Esc",(e,t)=>{this._hideUI(),t()}),t.keystrokes.set(f,(e,t)=>{this._addFormView(),t()}),e.ui.addToolbar(t,{isContextual:!0,beforeFocus:()=>{this._getSelectedLinkElement()&&!this._isToolbarVisible&&this._showUI(!0)},afterBlur:()=>{this._hideUI(!1)}}),t}_createFormView(){const e=this.editor,t=e.locale.t,i=e.commands.get("link"),n=e.config.get("link.defaultProtocol"),r=new((0,W.CssTransitionDisablerMixin)(re))(e.locale,function(e){const t=e.t,i=e.config.get("link.allowCreatingEmptyLinks");return[e=>{if(!i&&!e.url.length)return t("Link URL must not be empty.")}]}(e));return r.displayedTextInputView.bind("isEnabled").to(this,"selectedLinkableText",e=>void 0!==e),r.urlInputView.bind("isEnabled").to(i,"isEnabled"),r.saveButtonView.bind("isEnabled").to(i,"isEnabled"),r.saveButtonView.bind("label").to(i,"value",e=>t(e?"Update":"Insert")),this.listenTo(r,"submit",()=>{if(r.isValid()){const t=y(r.urlInputView.fieldView.element.value,n),i=r.displayedTextInputView.fieldView.element.value;e.execute("link",t,this._getDecoratorSwitchesState(),i!==this.selectedLinkableText?i:void 0),this._closeFormView()}}),this.listenTo(r.urlInputView,"change:errorText",()=>{e.ui.update()}),this.listenTo(r,"cancel",()=>{this._closeFormView()}),r.keystrokes.set("Esc",(e,t)=>{this._closeFormView(),t()}),r.providersListChildren.bindTo(this._linksProviders).using(e=>this._createLinksListProviderButton(e)),r}_createLinkProviderListView(e){return e.getListItems().map(({href:e,label:t,icon:i})=>{const n=new W.ButtonView;return n.set({label:t,icon:i,tooltip:!1,withText:!0}),n.on("execute",()=>{this.formView.resetFormStatus(),this.formView.urlInputView.fieldView.value=e,this.editor.editing.view.focus(),this._removeLinksProviderView(),this.formView.focus()}),n})}_createLinkProviderItemsView(e){const t=this.editor,i=t.locale.t,n=new le(t.locale),{emptyListPlaceholder:r,label:s}=e;return n.emptyListPlaceholder=r||i("No links available"),n.title=s,this.listenTo(n,"cancel",()=>{t.editing.view.focus(),this._removeLinksProviderView(),this.formView.focus()}),n}_createPropertiesView(){const e=this.editor,t=this.editor.commands.get("link"),i=new((0,W.CssTransitionDisablerMixin)(ue))(e.locale);return this.listenTo(i,"back",()=>{e.editing.view.focus(),this._removePropertiesView()}),i.listChildren.bindTo(t.manualDecorators).using(i=>{const n=new W.SwitchButtonView(e.locale);return n.set({label:i.label,withText:!0}),n.bind("isOn").toMany([i,t],"value",(e,t)=>void 0===t&&void 0===e?!!i.defaultValue:!!e),n.on("execute",()=>{e.execute("link",t.value,{...this._getDecoratorSwitchesState(),[i.id]:!n.isOn})}),n}),i}_getDecoratorSwitchesState(){const e=this.editor.commands.get("link");return Array.from(e.manualDecorators).reduce((t,i)=>{const n=void 0===e.value&&void 0===i.value?i.defaultValue:i.value;return{...t,[i.id]:!!n}},{})}_registerEditingOpeners(){this.editor.plugins.get(Y)._registerLinkOpener(e=>{const t=this._getLinkProviderLinkByHref(e);if(!t)return!1;const{item:i,provider:n}=t;return!!n.navigate&&n.navigate(i)})}_registerComponents(){const e=this.editor;e.ui.componentFactory.add("link",()=>{const e=this._createButton(W.ButtonView);return e.set({tooltip:!0}),e}),e.ui.componentFactory.add("menuBar:link",()=>{const e=this._createButton(W.MenuBarMenuListItemButtonView);return e.set({role:"menuitemcheckbox"}),e}),e.ui.componentFactory.add("linkPreview",t=>{const i=new G(t),n=e.config.get("link.allowedProtocols"),r=e.commands.get("link"),s=t.t;i.bind("isEnabled").to(r,"value",e=>!!e),i.bind("href").to(r,"value",e=>e&&b(e,n));const o=e=>{if(!e)return i.label=void 0,i.icon=void 0,void(i.tooltip=s("Open link in new tab"));const t=this._getLinkProviderLinkByHref(e);if(t){const{label:e,tooltip:n,icon:r}=t.item;i.label=e,i.tooltip=n||!1,i.icon=r}else i.label=e,i.icon=void 0,i.tooltip=s("Open link in new tab")};return o(r.value),this.listenTo(r,"change:value",(e,t,i)=>{o(i)}),this.listenTo(i,"navigate",(e,t,i)=>{const n=this._getLinkProviderLinkByHref(t);if(!n)return;const{provider:r,item:s}=n,{navigate:o}=r;o&&o(s)&&(e.stop(),i())}),i}),e.ui.componentFactory.add("unlink",t=>{const i=e.commands.get("unlink"),n=new W.ButtonView(t),r=t.t;return n.set({label:r("Unlink"),icon:Q.IconUnlink,tooltip:!0}),n.bind("isEnabled").to(i),this.listenTo(n,"execute",()=>{e.execute("unlink"),this._hideUI()}),n}),e.ui.componentFactory.add("editLink",t=>{const i=e.commands.get("link"),n=new W.ButtonView(t),r=t.t;return n.set({label:r("Edit link"),icon:Q.IconPencil,tooltip:!0}),n.bind("isEnabled").to(i),this.listenTo(n,"execute",()=>{this._addFormView()}),n}),e.ui.componentFactory.add("linkProperties",t=>{const i=e.commands.get("link"),n=new W.ButtonView(t),r=t.t;return n.set({label:r("Link properties"),icon:Q.IconSettings,tooltip:!0}),n.bind("isEnabled").to(i,"isEnabled",i,"value",i,"manualDecorators",(e,t,i)=>e&&!!t&&i.length>0),this.listenTo(n,"execute",()=>{this._addPropertiesView()}),n})}_createLinksListProviderButton(e){const t=this.editor.locale,i=new he(t);return i.set({label:e.label}),this.listenTo(i,"execute",()=>{this._showLinksProviderView(e)}),i}_createButton(e){const t=this.editor,i=t.locale,n=t.commands.get("link"),r=new e(t.locale),s=i.t;return r.set({label:s("Link"),icon:Q.IconLink,keystroke:f,isToggleable:!0}),r.bind("isEnabled").to(n,"isEnabled"),r.bind("isOn").to(n,"value",e=>!!e),this.listenTo(r,"execute",()=>{t.editing.view.scrollToTheSelection(),this._showUI(!0),this._getSelectedLinkElement()&&this._addFormView()}),r}_enableBalloonActivators(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),e.keystrokes.set(f,(t,i)=>{i(),e.commands.get("link").isEnabled&&(e.editing.view.scrollToTheSelection(),this._showUI(!0))})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(e,t)=>{this._isToolbarVisible&&!this.toolbarView.focusTracker.isFocused&&(this.toolbarView.focus(),t())},{priority:"high"}),this.editor.keystrokes.set("Esc",(e,t)=>{this._isUIVisible&&(this._hideUI(),t())}),(0,W.clickOutsideHandler)({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>{this._hideUI(!1)}})}_addToolbarView(){this.toolbarView||this._createViews(),this._isToolbarInPanel||this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const e=this.editor.commands.get("link");this.formView.disableCssTransitions(),this.formView.resetFormStatus(),this.formView.backButtonView.isVisible=e.isEnabled&&!!e.value,this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.selectedLinkableText=this._getSelectedLinkableText(),this.formView.displayedTextInputView.fieldView.value=this.selectedLinkableText||"",this.formView.urlInputView.fieldView.value=e.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_addPropertiesView(){this.propertiesView||this._createViews(),this._arePropertiesInPanel||(this.propertiesView.disableCssTransitions(),this._balloon.add({view:this.propertiesView,position:this._getBalloonPositionData()}),this.propertiesView.enableCssTransitions(),this.propertiesView.focus())}_showLinksProviderView(e){this.linkProviderItemsView&&this._removeLinksProviderView(),this.linkProviderItemsView=this._createLinkProviderItemsView(e),this._addLinkProviderItemsView(e)}_addLinkProviderItemsView(e){this.linkProviderItemsView.listChildren.clear(),this.linkProviderItemsView.listChildren.addMany(this._createLinkProviderListView(e)),this._balloon.add({view:this.linkProviderItemsView,position:this._getBalloonPositionData()}),this.linkProviderItemsView.focus()}_closeFormView(){const e=this.editor.commands.get("link");this.selectedLinkableText=void 0,void 0!==e.value?this._removeFormView():this._hideUI()}_removePropertiesView(){this._arePropertiesInPanel&&this._balloon.remove(this.propertiesView)}_removeLinksProviderView(){this._isLinksListInPanel&&this._balloon.remove(this.linkProviderItemsView)}_removeFormView(e=!0){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.displayedTextInputView.fieldView.reset(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),e&&this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(e=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._isToolbarVisible?this._addFormView():this._addToolbarView(),e&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addToolbarView(),e&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(e=!0){const t=this.editor;this._isUIInPanel&&(this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),e&&t.editing.view.focus(),this._removeLinksProviderView(),this._removePropertiesView(),this._removeFormView(e),this._isToolbarInPanel&&this._balloon.remove(this.toolbarView),this._hideFakeVisualSelection())}_startUpdatingUI(){const e=this.editor,t=e.editing.view.document;let i=this._getSelectedLinkElement(),n=s();const r=()=>{const e=this._getSelectedLinkElement(),t=s();i&&!e||!i&&t!==n?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),i=e,n=t};function s(){return t.selection.focus.getAncestors().reverse().find(e=>e.is("element"))}this.listenTo(e.ui,"update",r),this.listenTo(this._balloon,"change:visibleView",r)}get _arePropertiesInPanel(){return!!this.propertiesView&&this._balloon.hasView(this.propertiesView)}get _isLinksListInPanel(){return!!this.linkProviderItemsView&&this._balloon.hasView(this.linkProviderItemsView)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _isToolbarInPanel(){return!!this.toolbarView&&this._balloon.hasView(this.toolbarView)}get _isPropertiesVisible(){return!!this.propertiesView&&this._balloon.visibleView===this.propertiesView}get _isFormVisible(){return!!this.formView&&this._balloon.visibleView==this.formView}get _isToolbarVisible(){return!!this.toolbarView&&this._balloon.visibleView===this.toolbarView}get _isUIInPanel(){return this._arePropertiesInPanel||this._isLinksListInPanel||this._isFormInPanel||this._isToolbarInPanel}get _isUIVisible(){return this._isPropertiesVisible||this._isLinksListInPanel||this._isFormVisible||this._isToolbarVisible}_getBalloonPositionData(){const e=this.editor.editing.view,t=e.document;if(this.editor.model.markers.has(fe)){const t=this.editor.editing.mapper.markerNameToElements(fe);if(t){const i=Array.from(t),n=e.createRange(e.createPositionBefore(i[0]),e.createPositionAfter(i[i.length-1]));return{target:e.domConverter.viewRangeToDom(n)}}}return{target:()=>{const i=this._getSelectedLinkElement();return i?e.domConverter.mapViewToDom(i):e.domConverter.viewRangeToDom(t.selection.getFirstRange())}}}_getSelectedLinkElement(){const e=this.editor.editing.view,t=e.document.selection,i=t.getSelectedElement();if(t.isCollapsed||i&&(0,Z.isWidget)(i))return ge(t.getFirstPosition());{const i=t.getFirstRange().getTrimmed(),n=ge(i.start),r=ge(i.end);return n&&n==r&&e.createRangeIn(n).getTrimmed().isEqual(i)?n:null}}_getSelectedLinkableText(){const e=this.editor.model,t=this.editor.editing,i=this._getSelectedLinkElement();if(!i)return A(e.document.selection.getFirstRange());const n=t.view.createRangeOn(i);return A(t.mapper.toModelRange(n))}_getLinkProviderLinkByHref(e){if(!e)return null;for(const t of this._linksProviders){const i=t.getItem?t.getItem(e):t.getListItems().find(t=>t.href===e);if(i)return{provider:t,item:i}}return null}_showFakeVisualSelection(){const e=this.editor.model;e.change(t=>{const i=e.document.selection.getFirstRange();if(e.markers.has(fe))t.updateMarker(fe,{range:i});else if(i.start.isAtEnd){const n=i.start.getLastMatchingPosition(({item:t})=>!e.schema.isContent(t),{boundaries:i});t.addMarker(fe,{usingOperation:!1,affectsData:!1,range:t.createRange(n,i.end)})}else t.addMarker(fe,{usingOperation:!1,affectsData:!1,range:i})})}_hideFakeVisualSelection(){const e=this.editor.model;e.markers.has(fe)&&e.change(e=>{e.removeMarker(fe)})}}function ge(e){return e.getAncestors().find(e=>p(e))||null}const be=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63}))|localhost)(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class we extends e.Plugin{static get requires(){return[t.Delete,Y]}static get pluginName(){return"AutoLink"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.model.document.selection;e.on("change:range",()=>{this.isEnabled=!e.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(e,i){return i.textNode&&i.textNode.hasAttribute("linkHref")?(0,t.findAttributeRange)(i,"linkHref",i.textNode.getAttribute("linkHref"),e):null}_selectEntireLinks(e,t){const i=this.editor.model,n=i.document.selection,r=n.getFirstPosition(),s=n.getLastPosition();let o=t.getJoined(this._expandLinkRange(i,r)||t);o&&(o=o.getJoined(this._expandLinkRange(i,s)||t)),o&&(o.start.isBefore(r)||o.end.isAfter(s))&&e.setSelection(o)}_enablePasteLinking(){const e=this.editor,t=e.model,i=t.document.selection,n=e.plugins.get("ClipboardPipeline"),r=e.commands.get("link");n.on("inputTransformation",(e,n)=>{if(!this.isEnabled||!r.isEnabled||i.isCollapsed||"paste"!==n.method)return;if(i.rangeCount>1)return;const s=i.getFirstRange(),o=n.dataTransfer.getData("text/plain");if(!o)return;const a=o.match(be);a&&a[2]===o&&(t.change(e=>{this._selectEntireLinks(e,s),r.execute(o)}),e.stop())},{priority:"high"})}_enableTypingHandling(){const e=this.editor,i=new t.TextWatcher(e.model,e=>{let t=e;if(!function(e){return e.length>4&&" "===e[e.length-1]&&" "!==e[e.length-2]}(t))return;t=t.slice(0,-1),"!.:,;?".includes(t[t.length-1])&&(t=t.slice(0,-1));const i=ve(t);return i?{url:i,removedTrailingCharacters:e.length-t.length}:void 0});i.on("matched:data",(t,i)=>{const{batch:n,range:r,url:s,removedTrailingCharacters:o}=i;if(!n.isTyping)return;const a=r.end.getShiftedBy(-o),l=a.getShiftedBy(-s.length),c=e.model.createRange(l,a);this._applyAutoLink(s,c)}),i.bind("isEnabled").to(this)}_enableEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("enter");i&&i.on("execute",()=>{const e=t.document.selection.getFirstPosition();let i;i=e.parent.previousSibling?.is("element")?t.createRangeIn(e.parent.previousSibling):t.createRange(t.createPositionAt(e.parent,0),e),this._checkAndApplyAutoLinkOnRange(i)})}_enableShiftEnterHandling(){const e=this.editor,t=e.model,i=e.commands.get("shiftEnter");i&&i.on("execute",()=>{const e=t.document.selection.getFirstPosition(),i=t.createRange(t.createPositionAt(e.parent,0),e.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(i)})}_checkAndApplyAutoLinkOnRange(e){const i=this.editor.model,{text:n,range:r}=(0,t.getLastTextLine)(e,i),s=ve(n);if(s){const e=i.createRange(r.end.getShiftedBy(-s.length),r.end);this._applyAutoLink(s,e)}}_applyAutoLink(e,t){const i=this.editor.model,n=y(e,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(e,t){return t.schema.checkAttributeInSelection(t.createSelection(e),"linkHref")}(t,i)&&x(n)&&!function(e){const t=e.start.nodeAfter;return!!t&&t.hasAttribute("linkHref")}(t)&&this._persistAutoLink(n,t)}_persistAutoLink(e,t){const i=this.editor.model,n=this.editor.plugins.get("Delete");i.enqueueChange(r=>{r.setAttribute("linkHref",e,t),i.enqueueChange(()=>{n.requestUndoOnBackspace()})})}}function ve(e){const t=be.exec(e);return t?t[2]:null}class _e extends e.Plugin{static get requires(){return[Y,pe,we]}static get pluginName(){return"Link"}static get isOfficialPlugin(){return!0}}class Ve extends e.Plugin{static get requires(){return["ImageEditing","ImageUtils",Y]}static get pluginName(){return"LinkImageEditing"}static get isOfficialPlugin(){return!0}afterInit(){const e=this.editor,t=e.model.schema;e.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["linkHref"]}),e.conversion.for("upcast").add(function(e){const t=e.plugins.has("ImageInlineEditing"),i=e.plugins.get("ImageUtils");return e=>{e.on("element:a",(e,n,r)=>{const s=n.viewItem,o=i.findViewImgElement(s);if(!o)return;const a=o.findAncestor(e=>i.isBlockImageView(e));if(t&&!a)return;const l={attributes:["href"]};if(!r.consumable.test(s,l))return;const c=s.getAttribute("href"),d=n.modelCursor.parent;d.is("element","imageBlock")&&(r.writer.setAttribute("linkHref",c,d),r.consumable.consume(s,l))},{priority:"high"})}}(e)),e.conversion.for("downcast").add(function(e){const t=e.plugins.get("ImageUtils");return e=>{e.on("attribute:linkHref:imageBlock",(e,i,n)=>{if(!n.consumable.consume(i.item,e.name))return;const r=n.mapper.toViewElement(i.item),s=n.writer,o=Array.from(r.getChildren()).find(e=>e.is("element","a")),a=t.findViewImgElement(r),l=a.parent.is("element","picture")?a.parent:a;if(o)i.attributeNewValue?s.setAttribute("href",i.attributeNewValue,o):(s.move(s.createRangeOn(l),s.createPositionAt(r,0)),s.remove(o));else{const e=s.createContainerElement("a",{href:i.attributeNewValue});s.insert(s.createPositionAt(r,0),e),s.move(s.createRangeOn(l),s.createPositionAt(e,0))}},{priority:"high"})}}(e)),this._enableAutomaticDecorators(),this._enableManualDecorators()}_enableAutomaticDecorators(){const e=this.editor,t=e.commands.get("link").automaticDecorators;t.length&&e.conversion.for("downcast").add(t.getDispatcherForLinkedImage())}_enableManualDecorators(){const e=this.editor,t=e.commands.get("link");for(const i of t.manualDecorators)e.plugins.has("ImageBlockEditing")&&e.model.schema.extend("imageBlock",{allowAttributes:i.id}),e.plugins.has("ImageInlineEditing")&&e.model.schema.extend("imageInline",{allowAttributes:i.id}),e.conversion.for("downcast").add(ye(i)),e.conversion.for("upcast").add(xe(e,i))}}function ye(e){return t=>{const i=t=>(i,n,r)=>{const o=r.mapper.toViewElement(n.item),a=Array.from(o.getChildren()).find(e=>e.is("element","a"));if(a){if(!t&&n.attributeOldValue){for(const[t,i]of(0,s.toMap)(e.attributes))r.writer.removeAttribute(t,i,a);e.classes&&r.writer.removeClass(e.classes,a);for(const t in e.styles)r.writer.removeStyle(t,a)}if(t&&n.attributeNewValue){for(const[t,i]of(0,s.toMap)(e.attributes))r.writer.setAttribute(t,i,!1,a);e.classes&&r.writer.addClass(e.classes,a);for(const t in e.styles)r.writer.setStyle(t,e.styles[t],a)}}};t.on(`attribute:${e.id}:imageBlock`,i(!1),{priority:s.priorities.high-1}),t.on(`attribute:${e.id}:imageBlock`,i(!0),{priority:s.priorities.high-2})}}function xe(e,t){const i=e.plugins.has("ImageInlineEditing"),n=e.plugins.get("ImageUtils");return e=>{e.on("element:a",(e,r,s)=>{const a=r.viewItem,l=n.findViewImgElement(a);if(!l)return;const c=l.findAncestor(e=>n.isBlockImageView(e));if(i&&!c)return;const d=new o.Matcher(t._createPattern()).match(a);if(!d)return;if(!s.consumable.test(a,d.match))return;const u=r.modelCursor.parent;u?.is("element","imageBlock")&&(s.writer.setAttribute(t.id,!0,u),s.consumable.consume(a,d.match))},{priority:"high"})}}class Le extends e.Plugin{static get requires(){return[Y,pe,"ImageBlockEditing"]}static get pluginName(){return"LinkImageUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view.document;this.listenTo(t,"click",(t,i)=>{this._isSelectedLinkedImage(e.model.document.selection)&&(i.preventDefault(),t.stop())},{priority:"high"}),this._createToolbarLinkImageButton()}_createToolbarLinkImageButton(){const e=this.editor,t=e.t;e.ui.componentFactory.add("linkImage",i=>{const n=new W.ButtonView(i),r=e.plugins.get("LinkUI"),s=e.commands.get("link");return n.set({isEnabled:!0,label:t("Link image"),icon:Q.IconLink,keystroke:f,tooltip:!0,isToggleable:!0}),n.bind("isEnabled").to(s,"isEnabled"),n.bind("isOn").to(s,"value",e=>!!e),this.listenTo(n,"execute",()=>{this._isSelectedLinkedImage(e.model.document.selection)?r._addToolbarView():r._showUI(!0)}),n})}_isSelectedLinkedImage(e){const t=e.getSelectedElement();return this.editor.plugins.get("ImageUtils").isImage(t)&&t.hasAttribute("linkHref")}}var Ae=i(244),Ie={attributes:{"data-cke":!0}};Ie.setAttributes=R(),Ie.insert=H().bind(null,"head"),Ie.domAPI=N(),Ie.insertStyleElement=j();B()(Ae.A,Ie);Ae.A&&Ae.A.locals&&Ae.A.locals;class Te extends e.Plugin{static get requires(){return[Ve,Le]}static get pluginName(){return"LinkImage"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).link=n})();
|
package/build/translations/af.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.af=n.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"","Link image":"","Link properties":"","Link URL":"","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ar.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.ar=n.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"قمْ بإنشاء رابط","Displayed text":"النص المعروض",Downloadable:"يمكن تنزيله","Edit link":"تحرير الرابط",Link:"رابط","Link image":"ربط الصورة","Link properties":"خصائص الرابط","Link URL":"رابط عنوان","Link URL must not be empty.":"يجب ألا يكون عنوان الرابط فارغاً.","Move out of a link":"ابتعدْ عن الرابط","No links available":"لا توجد روابط متاحة","Open in a new tab":"فتح في تبويب جديد","Open link in new tab":"فتح الرابط في تبويب جديد",Unlink:"إلغاء الرابط"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.ast=n.ast||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"Enllazar","Link image":"","Link properties":"","Link URL":"URL del enllaz","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:"Desenllazar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/az.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(i){const n=i.az=i.az||{};n.dictionary=Object.assign(n.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"Yüklənə bilər","Edit link":"Linki redaktə et",Link:"Əlaqələndir","Link image":"","Link properties":"","Link URL":"Linkin URL","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"Yeni pəncərədə aç","Open link in new tab":"Linki yeni pəncərədə aç",Unlink:"Linki sil"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/be.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.be=n.be||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"Стварыць спасылку","Displayed text":"",Downloadable:"Даступны для спампоўкі","Edit link":"Рэдагаваць спасылку",Link:"Спасылка","Link image":"Спасылка на відарыс","Link properties":"","Link URL":"Спасылка URL","Link URL must not be empty.":"URL-адрас спасылкі не павінен быць пустым.","Move out of a link":"Выйсці з спасылкі","No links available":"","Open in a new tab":"Адкрыць ў новай укладцы","Open link in new tab":"Адкрыць спасылку ў новай укладцы",Unlink:"Выдаліць спасылку"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/bg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.bg=n.bg||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"Създаване на линк","Displayed text":"Показан текст",Downloadable:"Изтегляне","Edit link":"Редакция на линк",Link:"Линк","Link image":"Свържи изображение","Link properties":"Свойства на връзката","Link URL":"Уеб адрес на линка","Link URL must not be empty.":"URL препратката не трябва да е празна.","Move out of a link":"Излизане от линк","No links available":"Няма налични връзки","Open in a new tab":"Отваряне в нов раздел","Open link in new tab":"Отваряне на линк в нов раздел",Unlink:"Премахване на линка"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/bn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"লিঙ্ক তৈরি করুন","Displayed text":"প্রদর্শিত টেক্সট",Downloadable:"ডাউনলোডযোগ্য","Edit link":"\t\nলিঙ্ক এডিট করুন",Link:"লিঙ্ক","Link image":"লিঙ্ক চিত্র","Link properties":"লিঙ্কের বৈশিষ্ট্যসমূহ","Link URL":"লিঙ্ক URL","Link URL must not be empty.":"লিঙ্ক URL খালি রাখা যাবে না।","Move out of a link":"কোনো লিঙ্কের বাইরে সরান","No links available":"কোনো লিঙ্ক উপলব্ধ নেই","Open in a new tab":"একটি নতুন ট্যাবে খুলুন","Open link in new tab":"লিঙ্কটি নতুন ট্যাবে খুলুন",Unlink:"লিঙ্কমুক্ত করুন"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/bs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.bs=n.bs||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"","Link image":"","Link properties":"","Link URL":"","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ca.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const a=n.ca=n.ca||{};a.dictionary=Object.assign(a.dictionary||{},{"Create link":"Crea un enllaç","Displayed text":"Text que es mostra",Downloadable:"Es pot descarregar","Edit link":"Editar enllaç",Link:"Enllaç","Link image":"Enllaçar imatge","Link properties":"Propietats de l'enllaç","Link URL":"Enllaçar URL","Link URL must not be empty.":"L'URL de l'enllaç no pot estar buit.","Move out of a link":"Surt d'un enllaç","No links available":"No hi ha cap enllaç disponible","Open in a new tab":"Obrir en una pestanya nova","Open link in new tab":"Obrir l'enllaç en una pestanya nova",Unlink:"Desenllaçar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/cs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const t=n.cs=n.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Create link":"Vytvořit odkaz","Displayed text":"Zobrazený text",Downloadable:"Ke stažení","Edit link":"Upravit odkaz",Link:"Odkaz","Link image":"Adresa obrázku","Link properties":"Vlastnosti odkazu","Link URL":"URL odkazu","Link URL must not be empty.":"Adresa URL odkazu nesmí být prázdná.","Move out of a link":"Odejít z odkazu","No links available":"Žádné dostupné odkazy","Open in a new tab":"Otevřít v nové kartě","Open link in new tab":"Otevřít odkaz v nové kartě",Unlink:"Odstranit odkaz"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/da.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.da=n.da||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"Opret link","Displayed text":"Vist tekst",Downloadable:"Kan downloades","Edit link":"Redigér link",Link:"Link","Link image":"Link-billede","Link properties":"Linkegenskaber","Link URL":"Link URL","Link URL must not be empty.":"Link-URL må ikke være tom.","Move out of a link":"Flyt ud af et link","No links available":"Ingen links tilgængelige","Open in a new tab":"Åben i ny fane","Open link in new tab":"Åben link i ny fane",Unlink:"Fjern link"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const e=n["de-ch"]=n["de-ch"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"Herunterladbar","Edit link":"Link bearbeiten",Link:"Link","Link image":"Bild verlinken","Link properties":"","Link URL":"Link Adresse","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link in neuem Tab öffnen",Unlink:"Link entfernen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/de.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const e=n.de=n.de||{};e.dictionary=Object.assign(e.dictionary||{},{"Create link":"Link erstellen","Displayed text":"Angezeigter Text",Downloadable:"Herunterladbar","Edit link":"Link bearbeiten",Link:"Link","Link image":"Bild verlinken","Link properties":"Linkeigenschaften","Link URL":"Linkadresse","Link URL must not be empty.":"Die Link-URL darf nicht leer sein.","Move out of a link":"Linkauswahl aufheben","No links available":"Keine Links verfügbar","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link im neuen Tab öffnen",Unlink:"Link entfernen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/el.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.el=n.el||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"Δημιουργία συνδέσμου","Displayed text":"Εμφανιζόμενο κείμενο",Downloadable:"Με δυνατότητα λήψης","Edit link":"Επεξεργασία συνδέσμου",Link:"Σύνδεσμος","Link image":"Εικόνα συνδέσμου","Link properties":"Ιδιότητες συνδέσμου","Link URL":"Διεύθυνση συνδέσμου","Link URL must not be empty.":"Η διεύθυνση URL του συνδέσμου δεν πρέπει να είναι κενή.","Move out of a link":"Μετακίνηση από έναν σύνδεσμο","No links available":"Δεν υπάρχουν διαθέσιμοι σύνδεσμοι","Open in a new tab":"Άνοιγμα σε νέα καρτέλα","Open link in new tab":"Άνοιγμα συνδέσμου σε νέα καρτέλα",Unlink:"Αφαίρεση συνδέσμου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n["en-au"]=n["en-au"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"Displayed text",Downloadable:"Downloadable","Edit link":"Edit link",Link:"Link","Link image":"Link image","Link properties":"Link properties","Link URL":"Link URL","Link URL must not be empty.":"","Move out of a link":"","No links available":"No links available","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Unlink:"Unlink"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n["en-gb"]=n["en-gb"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"Displayed text",Downloadable:"Downloadable","Edit link":"Edit link",Link:"Link","Link image":"","Link properties":"Link properties","Link URL":"Link URL","Link URL must not be empty.":"","Move out of a link":"","No links available":"No links available","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Unlink:"Unlink"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/eo.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(i){const n=i.eo=i.eo||{};n.dictionary=Object.assign(n.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"Ligilo","Link image":"","Link properties":"","Link URL":"URL de la ligilo","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:"Malligi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n["es-co"]=n["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"","Link image":"","Link properties":"","Link URL":"","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/es.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e){const n=e.es=e.es||{};n.dictionary=Object.assign(n.dictionary||{},{"Create link":"Crea un enlace","Displayed text":"Texto mostrado",Downloadable:"Descargable","Edit link":"Editar enlace",Link:"Enlace","Link image":"URL de la imagen","Link properties":"Propiedades del enlace","Link URL":"URL del enlace","Link URL must not be empty.":"La URL del enlace no puede estar vacía.","Move out of a link":"Sale de un enlace","No links available":"No hay enlaces disponibles","Open in a new tab":"Abrir en una pestaña nueva ","Open link in new tab":"Abrir enlace en una pestaña nueva",Unlink:"Quitar enlace"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/et.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(i){const n=i.et=i.et||{};n.dictionary=Object.assign(n.dictionary||{},{"Create link":"Loo link","Displayed text":"Kuvatud tekst",Downloadable:"Allalaaditav","Edit link":"Muuda linki",Link:"Link","Link image":"Lingi pilt","Link properties":"Lingi omadused","Link URL":"Lingi URL","Link URL must not be empty.":"Lingi URL peab olema sisestatud.","Move out of a link":"Välju lingist","No links available":"Ühtegi linki pole saadaval","Open in a new tab":"Ava uuel kaardil","Open link in new tab":"Ava link uuel vahekaardil",Unlink:"Eemalda link"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/eu.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.eu=n.eu||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"","Edit link":"",Link:"Esteka","Link image":"","Link properties":"","Link URL":"Estekaren URLa","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"","Open link in new tab":"",Unlink:"Desestekatu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/fa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n){const i=n.fa=n.fa||{};i.dictionary=Object.assign(i.dictionary||{},{"Create link":"","Displayed text":"",Downloadable:"قابل بارگیری","Edit link":"ویرایش پیوند",Link:"پیوند","Link image":"اتصال پیوند به تصویر","Link properties":"","Link URL":"نشانی اینترنتی پیوند","Link URL must not be empty.":"","Move out of a link":"","No links available":"","Open in a new tab":"بازکردن در برگه جدید","Open link in new tab":"باز کردن پیوند در برگه جدید",Unlink:"لغو پیوند"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|