ckeditor5-editor-classic-floating 40.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,206 @@
1
+ Changelog
2
+ =========
3
+
4
+ All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
+
6
+ Changes for the past releases are available below.
7
+
8
+ ## [19.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v18.0.0...v19.0.0) (2020-04-29)
9
+
10
+ Internal changes only (updated dependencies, documentation, etc.).
11
+
12
+
13
+ ## [18.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v17.0.0...v18.0.0) (2020-03-19)
14
+
15
+ Internal changes only (updated dependencies, documentation, etc.).
16
+
17
+
18
+ ## [17.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v16.0.0...v17.0.0) (2020-02-19)
19
+
20
+ Internal changes only (updated dependencies, documentation, etc.).
21
+
22
+ ## [16.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v15.0.0...v16.0.0) (2019-12-04)
23
+
24
+ ### Features
25
+
26
+ * The main editor toolbar should respect the `config.toolbar.shouldNotGroupWhenFull` configuration (see [ckeditor/ckeditor5#5692](https://github.com/ckeditor/ckeditor5/issues/5692)). ([9a57e63](https://github.com/ckeditor/ckeditor5-editor-classic/commit/9a57e63))
27
+
28
+
29
+ ## [15.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.1.4...v15.0.0) (2019-10-23)
30
+
31
+ ### Features
32
+
33
+ * Enabled automatic items grouping in the main editor toolbar when there is not enough space to display them in a single row (see [ckeditor/ckeditor5#416](https://github.com/ckeditor/ckeditor5/issues/416)). ([4d20b70](https://github.com/ckeditor/ckeditor5-editor-classic/commit/4d20b70))
34
+
35
+
36
+ ## [12.1.4](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.1.3...v12.1.4) (2019-08-26)
37
+
38
+ ### Other changes
39
+
40
+ * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([84ec68f](https://github.com/ckeditor/ckeditor5-editor-classic/commit/84ec68f))
41
+
42
+
43
+ ## [12.1.3](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.1.2...v12.1.3) (2019-07-10)
44
+
45
+ Internal changes only (updated dependencies, documentation, etc.).
46
+
47
+
48
+ ## [12.1.2](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.1.1...v12.1.2) (2019-07-04)
49
+
50
+ Internal changes only (updated dependencies, documentation, etc.).
51
+
52
+
53
+ ## [12.1.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.1.0...v12.1.1) (2019-06-05)
54
+
55
+ Internal changes only (updated dependencies, documentation, etc.).
56
+
57
+
58
+ ## [12.1.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v12.0.0...v12.1.0) (2019-04-10)
59
+
60
+ ### Features
61
+
62
+ * Introduced `EditorConfig#initialData`. ([fce3edc](https://github.com/ckeditor/ckeditor5-editor-classic/commit/fce3edc))
63
+
64
+
65
+ ## [12.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v11.0.2...v12.0.0) (2019-02-28)
66
+
67
+ ### Features
68
+
69
+ * Added support for the `config.placeholder` option which allows configuring the empty editor content placeholder (see [ckeditor/ckeditor5#479](https://github.com/ckeditor/ckeditor5/issues/479)). ([3450c23](https://github.com/ckeditor/ckeditor5-editor-classic/commit/3450c23))
70
+
71
+ ### Bug fixes
72
+
73
+ * Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([a3c5c82](https://github.com/ckeditor/ckeditor5-editor-classic/commit/a3c5c82))
74
+
75
+ ### Other changes
76
+
77
+ * Adjustments to new editor initialization events. See breaking changes. ([61ccab0](https://github.com/ckeditor/ckeditor5-editor-classic/commit/61ccab0))
78
+ * Editor UI classes API refactoring. See breaking changes. ([74e27ae](https://github.com/ckeditor/ckeditor5-editor-classic/commit/74e27ae))
79
+
80
+ ### BREAKING CHANGES
81
+
82
+ * Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
83
+ * The `editor#dataReady` event was removed. The `editor.data#ready` event has been introduced and should be used instead.
84
+ * The `editor#pluginsReady` event was removed. Use plugin `afterInit()` method instead.
85
+ * Removed `ClassicEditor#element` property. The `ClassicEditorUI#element` property should be used instead.
86
+ * Removed `ClassicEditorUIView#editableElement`. Instead `ClassicEditorUI#getEditableElement()` method should be used.
87
+
88
+
89
+ ## [11.0.2](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v11.0.1...v11.0.2) (2018-12-05)
90
+
91
+ Internal changes only (updated dependencies, documentation, etc.).
92
+
93
+
94
+ ## [11.0.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v11.0.0...v11.0.1) (2018-10-08)
95
+
96
+ Internal changes only (updated dependencies, documentation, etc.).
97
+
98
+
99
+ ## [11.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v10.0.1...v11.0.0) (2018-07-18)
100
+
101
+ ### Features
102
+
103
+ * Editor can now be created with initial data passed to the `create()` method. Closes [#72](https://github.com/ckeditor/ckeditor5-editor-classic/issues/72). ([09cebc6](https://github.com/ckeditor/ckeditor5-editor-classic/commit/09cebc6))
104
+
105
+ ### Other changes
106
+
107
+ * Used the `EditorUI` as a parent class for the `ClassicEditorUI` (see [ckeditor/ckeditor5-core#130](https://github.com/ckeditor/ckeditor5-core/issues/130)). ([ae98cfd](https://github.com/ckeditor/ckeditor5-editor-classic/commit/ae98cfd))
108
+
109
+ ### BREAKING CHANGES
110
+
111
+ * The `ClassicEditor#element` property was renamed to `ClassicEditor#sourceElement` and `ClassicEditor#updateElement()` method to `ClassicEditor#updateSourceElement()`. See [ckeditor/ckeditor5-core#64](https://github.com/ckeditor/ckeditor5-core/issues/64).
112
+
113
+
114
+ ## [10.0.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v10.0.0...v10.0.1) (2018-06-21)
115
+
116
+ Internal changes only (updated dependencies, documentation, etc.).
117
+
118
+
119
+ ## [10.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
120
+
121
+ ### Other changes
122
+
123
+ * Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([95fe4c1](https://github.com/ckeditor/ckeditor5-editor-classic/commit/95fe4c1))
124
+
125
+ ### BREAKING CHANGES
126
+
127
+ * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
128
+
129
+
130
+ ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
131
+
132
+ Internal changes only (updated dependencies, documentation, etc.).
133
+
134
+
135
+ ## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
136
+
137
+ ### Other changes
138
+
139
+ * Increased the specificity of CSS rules. Introduced the `.ck` class for editor UI components (see: [ckeditor/ckeditor5#494](https://github.com/ckeditor/ckeditor5/issues/494)). ([e548bd0](https://github.com/ckeditor/ckeditor5-editor-classic/commit/e548bd0))
140
+
141
+
142
+ ## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
143
+
144
+ ### Other changes
145
+
146
+ * Migrated the editor styles to PostCSS. Moved visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([f24f97d](https://github.com/ckeditor/ckeditor5-editor-classic/commit/f24f97d))
147
+ * Removed the `.ck-editor-toolbar` class from the toolbar (see [ckeditor/ckeditor5-theme-lark#135](https://github.com/ckeditor/ckeditor5-theme-lark/issues/135)). ([6b4670c](https://github.com/ckeditor/ckeditor5-editor-classic/commit/6b4670c))
148
+
149
+
150
+ ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
151
+
152
+ ### Other changes
153
+
154
+ * Aligned UI library usage to the [changes in the UI framework](https://github.com/ckeditor/ckeditor5-ui/pull/332).
155
+
156
+
157
+ ## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v0.8.0...v1.0.0-alpha.1) (2017-10-03)
158
+
159
+ ### Features
160
+
161
+ * The `StickyToolbarView` has been replaced by the `StickyPanelView` with a child `ToolbarView` (see [ckeditor/ckeditor5-ui#297](https://github.com/ckeditor/ckeditor5-ui/issues/297)). ([e4f591f](https://github.com/ckeditor/ckeditor5-editor-classic/commit/e4f591f))
162
+
163
+ ### BREAKING CHANGES
164
+
165
+ * The former attributes controlling the position of the toolbar provided by the `StickyToolbarView` are now available under `ClassicEditorUIView#stickyPanel` (`editor.ui.view.stickyPanel`).
166
+
167
+
168
+ ## [0.8.0](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v0.7.3...v0.8.0) (2017-09-03)
169
+
170
+ ### Bug fixes
171
+
172
+ * The toolbar should never hide underneath the edited content. Closes [#62](https://github.com/ckeditor/ckeditor5-editor-classic/issues/62). Closes ckeditor/ckeditor5-upload[#33](https://github.com/ckeditor/ckeditor5-editor-classic/issues/33). ([511d28f](https://github.com/ckeditor/ckeditor5-editor-classic/commit/511d28f))
173
+
174
+ ### Features
175
+
176
+ * The toolbar should support a vertical offset from the top of the web page. Closes [#60](https://github.com/ckeditor/ckeditor5-editor-classic/issues/60). ([6739afc](https://github.com/ckeditor/ckeditor5-editor-classic/commit/6739afc))
177
+
178
+ ### Other changes
179
+
180
+ * Renamed the `classic.js` file to `classiceditor.js` to match the naming convention. Closes [#41](https://github.com/ckeditor/ckeditor5-editor-classic/issues/41). ([c5714ba](https://github.com/ckeditor/ckeditor5-editor-classic/commit/c5714ba))
181
+
182
+ ### BREAKING CHANGES
183
+
184
+ * The `classic.js` file containing `ClassicEditor` class has been renamed to `classiceditor.js`.
185
+
186
+
187
+ ## [0.7.3](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v0.7.2...v0.7.3) (2017-05-07)
188
+
189
+ Internal changes only (updated dependencies, documentation, etc.).
190
+
191
+ ## [0.7.2](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v0.7.1...v0.7.2) (2017-04-05)
192
+
193
+ ### Bug fixes
194
+
195
+ * It should be possible to use `ClassicEditor.create()` in its child classes. Closes [#53](https://github.com/ckeditor/ckeditor5-editor-classic/issues/53). ([95798ba](https://github.com/ckeditor/ckeditor5-editor-classic/commit/95798ba))
196
+
197
+ ### Other changes
198
+
199
+ * Code refactoring to share API with `ckeditor5-editor-inline`. Closes [#48](https://github.com/ckeditor/ckeditor5-editor-classic/issues/48). ([2bb1e4e](https://github.com/ckeditor/ckeditor5-editor-classic/commit/2bb1e4e))
200
+
201
+
202
+ ## [0.7.1](https://github.com/ckeditor/ckeditor5-editor-classic/compare/v0.7.0...v0.7.1) (2017-03-06)
203
+
204
+ ### Other changes
205
+
206
+ * Used `ToolbarView#etItemsFromConfig()` to bootstrap the toolbar in `ClassicEditorUI`. Closes [#51](https://github.com/ckeditor/ckeditor5/issues/51). ([53d58d9](https://github.com/ckeditor/ckeditor5-editor-classic/commit/53d58d9))
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ Software License Agreement
2
+ ==========================
3
+
4
+ **Classic editor implementation** – https://github.com/ckeditor/ckeditor5-editor-classic <br>
5
+ Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
+
7
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
+
9
+ Sources of Intellectual Property Included in CKEditor
10
+ -----------------------------------------------------
11
+
12
+ Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
13
+
14
+ The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
15
+
16
+ * Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
17
+
18
+ Trademarks
19
+ ----------
20
+
21
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ CKEditor&nbsp;5 classic editor implementation
2
+ ========================================
3
+
4
+ [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-editor-classic.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
+
8
+ The classic floating editor implementation for CKEditor&nbsp;5.
9
+
10
+ This package contains the [`ClassicFloatingEditor`](https://ckeditor.com/docs/ckeditor5/latest/api/module_editor-classic_classiceditor-ClassicEditor.html) class. Follow there to learn more about this type of editor and how to initialize it.
11
+
12
+ This package contains the source version of the classic floating editor. This kind of editor implementation is also available as a ready-to-use [classic build](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-classic). Read more about [CKEditor&nbsp;5 predefined builds](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/predefined-builds.html) in the CKEditor&nbsp;5 documentation.
13
+
14
+ ## Documentation
15
+
16
+ See the [`@ckeditor/ckeditor5-editor-classic-floating` package](https://ckeditor.com/docs/ckeditor5/latest/api/editor-classic.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
17
+
18
+ ## License
19
+
20
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md.
4
+ */(()=>{var t={176:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}",""]);const i=r},452:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}",""]);const i=r},647:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-modal) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}",""]);const i=r},609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=t(e);return e[2]?"@media ".concat(e[2]," {").concat(o,"}"):o})).join("")},e.i=function(t,o,n){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(r[s]=!0)}for(var c=0;c<t.length;c++){var a=[].concat(t[c]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),e.push(a))}},e}},62:(t,e,o)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var t={};return function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}t[e]=o}return t[e]}}(),s=[];function c(t){for(var e=-1,o=0;o<s.length;o++)if(s[o].identifier===t){e=o;break}return e}function a(t,e){for(var o={},n=[],r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],l=o[a]||0,u="".concat(a," ").concat(l);o[a]=l+1;var d=c(u),h={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:u,updater:g(h,e),references:1}),n.push(u)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function h(t,e,o,n){var r=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function f(t,e,o){var n=o.css,r=o.media,i=o.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var p=null,b=0;function g(t,e){var o,n,r;if(e.singleton){var i=b++;o=p||(p=l(e)),n=h.bind(null,o,i,!1),r=h.bind(null,o,i,!0)}else o=l(e),n=f.bind(null,o,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(o)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var o=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<o.length;n++){var r=c(o[n]);s[r].references--}for(var i=a(t,e),l=0;l<o.length;l++){var u=c(o[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}o=i}}}},704:(t,e,o)=>{t.exports=o(79)("./src/core.js")},492:(t,e,o)=>{t.exports=o(79)("./src/engine.js")},273:(t,e,o)=>{t.exports=o(79)("./src/ui.js")},209:(t,e,o)=>{t.exports=o(79)("./src/utils.js")},434:(t,e,o)=>{t.exports=o(79)("./src/watchdog.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(n){var r=e[n];if(void 0!==r)return r.exports;var i=e[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{ClassicFloatingEditor:()=>br});var t=o(273),e=o(492),r=o(209);class i extends t.EditorUI{constructor(e,o){super(e),this.view=o,this._toolbarConfig=(0,t.normalizeToolbarConfig)(e.config.get("toolbar")),this._elementReplacer=new r.ElementReplacer,this.listenTo(e.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(t){const e=this.editor,o=this.view,n=e.editing.view,r=o.editable,i=n.document.getRoot();r.name=i.rootName,o.render();const s=r.element;this.setEditableElement(r.name,s),o.editable.bind("isFocused").to(this.focusTracker),n.attachDomRoot(s),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.view;t.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),t.stickyPanel.limiterElement=t.element,t.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),t.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(t.toolbar)}_initPlaceholder(){const t=this.editor,o=t.editing.view,n=o.document.getRoot(),r=t.sourceElement;let i;const s=t.config.get("placeholder");s&&(i="string"==typeof s?s:s[this.view.editable.name]),!i&&r&&"textarea"===r.tagName.toLowerCase()&&(i=r.getAttribute("placeholder")),i&&(n.placeholder=i),(0,e.enablePlaceholder)({view:o,element:n,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(t,e,o){const n=this.view.stickyPanel;if(n.isSticky){const t=new r.Rect(n.element).height;e.viewportOffset.top+=t}else{const t=()=>{this.editor.editing.view.scrollToTheSelection(o)};this.listenTo(n,"change:isSticky",t),setTimeout((()=>{this.stopListening(n,"change:isSticky",t)}),20)}}}const s=function(){try{return navigator.userAgent.toLowerCase()}catch(t){return""}}();a(s),c=s,c.indexOf("windows"),function(t){t.match(/gecko\/\d+/)}(s),function(t){t.indexOf(" applewebkit/")>-1&&t.indexOf("chrome")}(s),function(t){!!t.match(/iphone|ipad/i)||a(t)&&navigator.maxTouchPoints}(s),function(t){t.indexOf("android")}(s),function(t){t.indexOf("chrome/")>-1&&t.indexOf("edge/")}(s),function(){let t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}}();var c;function a(t){return t.indexOf("macintosh")>-1}const l=function(){return function t(){t.called=!0}};class u{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=l(),this.off=l()}}const d=new Array(256).fill("").map(((t,e)=>("0"+e.toString(16)).slice(-2)));function h(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0;return"e"+d[t>>0&255]+d[t>>8&255]+d[t>>16&255]+d[t>>24&255]+d[e>>0&255]+d[e>>8&255]+d[e>>16&255]+d[e>>24&255]+d[o>>0&255]+d[o>>8&255]+d[o>>16&255]+d[o>>24&255]+d[n>>0&255]+d[n>>8&255]+d[n>>16&255]+d[n>>24&255]}const f={get(t="normal"){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function p(t,e){const o=f.get(e.priority);for(let n=0;n<t.length;n++)if(f.get(t[n].priority)<o)return void t.splice(n,0,e);t.push(e)}const b="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class g extends Error{constructor(t,e,o){super(function(t,e){const o=new WeakSet,n=(t,e)=>{if("object"==typeof e&&null!==e){if(o.has(e))return`[object ${e.constructor.name}]`;o.add(e)}return e},r=e?` ${JSON.stringify(e,n)}`:"",i=m(t);return t+r+i}(t,o)),this.name="CKEditorError",this.context=e,this.data=o}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const o=new g(t.message,e);throw o.stack=t.stack,o}}function m(t){return`\nRead more: ${b}#error-${t}`}const v="40.1.0";new Date(2023,10,15);if(globalThis.CKEDITOR_VERSION)throw new g("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=v;const k=Symbol("listeningTo"),_=Symbol("emitterId"),y=Symbol("delegations"),w=x(Object);function x(t){if(!t)return w;return class extends t{on(t,e,o){this.listenTo(this,t,e,o)}once(t,e,o){let n=!1;this.listenTo(this,t,((t,...o)=>{n||(n=!0,t.off(),e.call(this,t,...o))}),o)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,o,n={}){let r,i;this[k]||(this[k]={});const s=this[k];j(t)||E(t);const c=j(t);(r=s[c])||(r=s[c]={emitter:t,callbacks:{}}),(i=r.callbacks[e])||(i=r.callbacks[e]=[]),i.push(o),function(t,e,o,n,r){e._addEventListener?e._addEventListener(o,n,r):t._addEventListener.call(e,o,n,r)}(this,t,e,o,n)}stopListening(t,e,o){const n=this[k];let r=t&&j(t);const i=n&&r?n[r]:void 0,s=i&&e?i.callbacks[e]:void 0;if(!(!n||t&&!i||e&&!s))if(o){C(this,t,e,o);-1!==s.indexOf(o)&&(1===s.length?delete i.callbacks[e]:C(this,t,e,o))}else if(s){for(;o=s.pop();)C(this,t,e,o);delete i.callbacks[e]}else if(i){for(e in i.callbacks)this.stopListening(t,e);delete n[r]}else{for(r in n)this.stopListening(n[r].emitter);delete this[k]}}fire(t,...e){try{const o=t instanceof u?t:new u(this,t),n=o.name;let r=S(this,n);if(o.path.push(this),r){const t=[o,...e];r=Array.from(r);for(let e=0;e<r.length&&(r[e].callback.apply(this,t),o.off.called&&(delete o.off.called,this._removeEventListener(n,r[e].callback)),!o.stop.called);e++);}const i=this[y];if(i){const t=i.get(n),r=i.get("*");t&&A(t,o,e),r&&A(r,o,e)}return o.return}catch(t){g.rethrowUnexpectedError(t,this)}}delegate(...t){return{to:(e,o)=>{this[y]||(this[y]=new Map),t.forEach((t=>{const n=this[y].get(t);n?n.set(e,o):this[y].set(t,new Map([[e,o]]))}))}}}stopDelegating(t,e){if(this[y])if(t)if(e){const o=this[y].get(t);o&&o.delete(e)}else this[y].delete(t);else this[y].clear()}_addEventListener(t,e,o){!function(t,e){const o=T(t);if(o[e])return;let n=e,r=null;const i=[];for(;""!==n&&!o[n];)o[n]={callbacks:[],childEvents:[]},i.push(o[n]),r&&o[n].childEvents.push(r),r=n,n=n.substr(0,n.lastIndexOf(":"));if(""!==n){for(const t of i)t.callbacks=o[n].callbacks.slice();o[n].childEvents.push(r)}}(this,t);const n=O(this,t),r={callback:e,priority:f.get(o.priority)};for(const t of n)p(t,r)}_removeEventListener(t,e){const o=O(this,t);for(const t of o)for(let o=0;o<t.length;o++)t[o].callback==e&&(t.splice(o,1),o--)}}}function E(t,e){t[_]||(t[_]=e||h())}function j(t){return t[_]}function T(t){return t._events||Object.defineProperty(t,"_events",{value:{}}),t._events}function O(t,e){const o=T(t)[e];if(!o)return[];let n=[o.callbacks];for(let e=0;e<o.childEvents.length;e++){const r=O(t,o.childEvents[e]);n=n.concat(r)}return n}function S(t,e){let o;return t._events&&(o=t._events[e])&&o.callbacks.length?o.callbacks:e.indexOf(":")>-1?S(t,e.substr(0,e.lastIndexOf(":"))):null}function A(t,e,o){for(let[n,r]of t){r?"function"==typeof r&&(r=r(e.name)):r=e.name;const t=new u(e.source,r);t.path=[...e.path],n.fire(t,...o)}}function C(t,e,o,n){e._removeEventListener?e._removeEventListener(o,n):t._removeEventListener.call(e,o,n)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{x[t]=w.prototype[t]}));const I=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},L=Symbol("observableProperties"),P=Symbol("boundObservables"),M=Symbol("boundProperties"),F=Symbol("decoratedMethods"),N=Symbol("decoratedOriginal"),R=B(x());function B(t){if(!t)return R;return class extends t{set(t,e){if(I(t))return void Object.keys(t).forEach((e=>{this.set(e,t[e])}),this);D(this);const o=this[L];if(t in this&&!o.has(t))throw new g("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>o.get(t),set(e){const n=o.get(t);let r=this.fire(`set:${t}`,t,e,n);void 0===r&&(r=e),n===r&&o.has(t)||(o.set(t,r),this.fire(`change:${t}`,t,r,n))}}),this[t]=e}bind(...t){if(!t.length||!U(t))throw new g("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new g("observable-bind-duplicate-properties",this);D(this);const e=this[M];t.forEach((t=>{if(e.has(t))throw new g("observable-bind-rebind",this)}));const o=new Map;return t.forEach((t=>{const n={property:t,to:[]};e.set(t,n),o.set(t,n)})),{to:z,toMany:V,_observable:this,_bindProperties:t,_to:[],_bindings:o}}unbind(...t){if(!this[L])return;const e=this[M],o=this[P];if(t.length){if(!U(t))throw new g("observable-unbind-wrong-properties",this);t.forEach((t=>{const n=e.get(t);n&&(n.to.forEach((([t,e])=>{const r=o.get(t),i=r[e];i.delete(n),i.size||delete r[e],Object.keys(r).length||(o.delete(t),this.stopListening(t,"change"))})),e.delete(t))}))}else o.forEach(((t,e)=>{this.stopListening(e,"change")})),o.clear(),e.clear()}decorate(t){D(this);const e=this[t];if(!e)throw new g("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,((t,o)=>{t.return=e.apply(this,o)})),this[t]=function(...e){return this.fire(t,e)},this[t][N]=e,this[F]||(this[F]=[]),this[F].push(t)}stopListening(t,e,o){if(!t&&this[F]){for(const t of this[F])this[t]=this[t][N];delete this[F]}super.stopListening(t,e,o)}}}function D(t){t[L]||(Object.defineProperty(t,L,{value:new Map}),Object.defineProperty(t,P,{value:new Map}),Object.defineProperty(t,M,{value:new Map}))}function z(...t){const e=function(...t){if(!t.length)throw new g("observable-bind-to-parse-error",null);const e={to:[]};let o;"function"==typeof t[t.length-1]&&(e.callback=t.pop());return t.forEach((t=>{if("string"==typeof t)o.properties.push(t);else{if("object"!=typeof t)throw new g("observable-bind-to-parse-error",null);o={observable:t,properties:[]},e.to.push(o)}})),e}(...t),o=Array.from(this._bindings.keys()),n=o.length;if(!e.callback&&e.to.length>1)throw new g("observable-bind-to-no-callback",this);if(n>1&&e.callback)throw new g("observable-bind-to-extra-callback",this);var r;e.to.forEach((t=>{if(t.properties.length&&t.properties.length!==n)throw new g("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)})),this._to=e.to,e.callback&&(this._bindings.get(o[0]).callback=e.callback),r=this._observable,this._to.forEach((t=>{const e=r[P];let o;e.get(t.observable)||r.listenTo(t.observable,"change",((n,i)=>{o=e.get(t.observable)[i],o&&o.forEach((t=>{W(r,t.property)}))}))})),function(t){let e;t._bindings.forEach(((o,n)=>{t._to.forEach((r=>{e=r.properties[o.callback?0:t._bindProperties.indexOf(n)],o.to.push([r.observable,e]),function(t,e,o,n){const r=t[P],i=r.get(o),s=i||{};s[n]||(s[n]=new Set);s[n].add(e),i||r.set(o,s)}(t._observable,o,r.observable,e)}))}))}(this),this._bindProperties.forEach((t=>{W(this._observable,t)}))}function V(t,e,o){if(this._bindings.size>1)throw new g("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const o=t.map((t=>[t,e]));return Array.prototype.concat.apply([],o)}(t,e),o)}function U(t){return t.every((t=>"string"==typeof t))}function W(t,e){const o=t[M].get(e);let n;o.callback?n=o.callback.apply(t,o.to.map((t=>t[0][t[1]]))):(n=o.to[0],n=n[0][n[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=n:t.set(e,n)}function $(t){return!(!t||!t[Symbol.iterator])}function H(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}function K(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{B[t]=R.prototype[t]}));const G=Z(x());function Z(t){if(!t)return G;return class extends t{listenTo(t,e,o,n={}){if(H(t)||K(t)){const r={capture:!!n.useCapture,passive:!!n.usePassive},i=this._getProxyEmitter(t,r)||new q(t,r);this.listenTo(i,e,o,n)}else super.listenTo(t,e,o,n)}stopListening(t,e,o){if(H(t)||K(t)){const n=this._getAllProxyEmitters(t);for(const t of n)this.stopListening(t,e,o)}else super.stopListening(t,e,o)}_getProxyEmitter(t,e){return function(t,e){const o=t[k];return o&&o[e]?o[e].emitter:null}(this,Y(t,e))}_getAllProxyEmitters(t){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((e=>this._getProxyEmitter(t,e))).filter((t=>!!t))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{Z[t]=G.prototype[t]}));class q extends(x()){constructor(t,e){super(),E(this,Y(t,e)),this._domNode=t,this._options=e}attach(t){if(this._domListeners&&this._domListeners[t])return;const e=this._createDomListener(t);this._domNode.addEventListener(t,e,this._options),this._domListeners||(this._domListeners={}),this._domListeners[t]=e}detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()}_addEventListener(t,e,o){this.attach(t),x().prototype._addEventListener.call(this,t,e,o)}_removeEventListener(t,e){x().prototype._removeEventListener.call(this,t,e),this.detach(t)}_createDomListener(t){const e=e=>{this.fire(t,e)};return e.removeListener=()=>{this._domNode.removeEventListener(t,e,this._options),delete this._domListeners[t]},e}}function Y(t,e){let o=function(t){return t["data-ck-expando"]||(t["data-ck-expando"]=h())}(t);for(const t of Object.keys(e).sort())e[t]&&(o+="-"+t);return o}let X;try{X={window,document}}catch(t){X={window:{},document:{}}}const J=X;function Q(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}const tt=["top","right","bottom","left","width","height"];class et{constructor(t){const e=(o=t,"[object Range]"==Object.prototype.toString.apply(o));var o;if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),rt(t)||e)if(e){const e=et.getDomRangeRects(t);ot(this,et.getBoundingRect(e))}else ot(this,t.getBoundingClientRect());else if(K(t)){const{innerWidth:e,innerHeight:o}=t;ot(this,{top:0,right:e,bottom:o,left:0,width:e,height:o})}else ot(this,t)}clone(){return new et(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left),width:0,height:0};if(e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0)return null;{const t=new et(e);return t._source=this._source,t}}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(nt(t))return e;let o,n=t,r=t.parentNode||t.commonAncestorContainer;for(;r&&!nt(r);){const t="visible"===((i=r)instanceof HTMLElement?i.ownerDocument.defaultView.getComputedStyle(i).overflow:"visible");n instanceof HTMLElement&&"absolute"===it(n)&&(o=n);const s=it(r);if(t||o&&("relative"===s&&t||"relative"!==s)){n=r,r=r.parentNode;continue}const c=new et(r),a=e.getIntersection(c);if(!a)return null;a.getArea()<e.getArea()&&(e=a),n=r,r=r.parentNode}var i;return e}isEqual(t){for(const e of tt)if(this[e]!==t[e])return!1;return!0}contains(t){const e=this.getIntersection(t);return!(!e||!e.isEqual(t))}toAbsoluteRect(){const{scrollX:t,scrollY:e}=J.window,o=this.clone().moveBy(t,e);if(rt(o._source)){const t=(n=o._source)&&n.parentNode?n.offsetParent===J.document.body?null:n.offsetParent:null;t&&function(t,e){const o=new et(e),n=Q(e);let r=0,i=0;r-=o.left,i-=o.top,r+=e.scrollLeft,i+=e.scrollTop,r-=n.left,i-=n.top,t.moveBy(r,i)}(o,t)}var n;return o}excludeScrollbarsAndBorders(){const t=this._source;let e,o,n;if(K(t))e=t.innerWidth-t.document.documentElement.clientWidth,o=t.innerHeight-t.document.documentElement.clientHeight,n=t.getComputedStyle(t.document.documentElement).direction;else{const r=Q(t);e=t.offsetWidth-t.clientWidth-r.left-r.right,o=t.offsetHeight-t.clientHeight-r.top-r.bottom,n=t.ownerDocument.defaultView.getComputedStyle(t).direction,this.left+=r.left,this.top+=r.top,this.right-=r.right,this.bottom-=r.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=e,"ltr"===n?this.right-=e:this.left+=e,this.height-=o,this.bottom-=o,this}static getDomRangeRects(t){const e=[],o=Array.from(t.getClientRects());if(o.length)for(const t of o)e.push(new et(t));else{let o=t.startContainer;n=o,"[object Text]"==Object.prototype.toString.call(n)&&(o=o.parentNode);const r=new et(o.getBoundingClientRect());r.right=r.left,r.width=0,e.push(r)}var n;return e}static getBoundingRect(t){const e={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let o=0;for(const n of t)o++,e.left=Math.min(e.left,n.left),e.top=Math.min(e.top,n.top),e.right=Math.max(e.right,n.right),e.bottom=Math.max(e.bottom,n.bottom);return 0==o?null:(e.width=e.right-e.left,e.height=e.bottom-e.top,new et(e))}}function ot(t,e){for(const o of tt)t[o]=e[o]}function nt(t){return!!rt(t)&&t===t.ownerDocument.body}function rt(t){return null!==t&&"object"==typeof t&&1===t.nodeType&&"function"==typeof t.getBoundingClientRect}function it(t){return t instanceof HTMLElement?t.ownerDocument.defaultView.getComputedStyle(t).position:"static"}const st=class{constructor(t,e){st._observerInstance||st._createObserver(),this._element=t,this._callback=e,st._addElementCallback(t,e),st._observerInstance.observe(t)}get element(){return this._element}destroy(){st._deleteElementCallback(this._element,this._callback)}static _addElementCallback(t,e){st._elementCallbacks||(st._elementCallbacks=new Map);let o=st._elementCallbacks.get(t);o||(o=new Set,st._elementCallbacks.set(t,o)),o.add(e)}static _deleteElementCallback(t,e){const o=st._getElementCallbacks(t);o&&(o.delete(e),o.size||(st._elementCallbacks.delete(t),st._observerInstance.unobserve(t))),st._elementCallbacks&&!st._elementCallbacks.size&&(st._observerInstance=null,st._elementCallbacks=null)}static _getElementCallbacks(t){return st._elementCallbacks?st._elementCallbacks.get(t):null}static _createObserver(){st._observerInstance=new J.window.ResizeObserver((t=>{for(const e of t){const t=st._getElementCallbacks(e.target);if(t)for(const o of t)o(e)}}))}};let ct=st;ct._observerInstance=null,ct._elementCallbacks=null;Math.pow;const at=function(){const t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){t[String.fromCharCode(e).toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;for(const e of"`-=[];',./\\")t[e]=e.charCodeAt(0);return t}();Object.fromEntries(Object.entries(at).map((([t,e])=>[e,t.charAt(0).toUpperCase()+t.slice(1)])));J.window.CKEDITOR_TRANSLATIONS||(J.window.CKEDITOR_TRANSLATIONS={});class lt extends(x()){constructor(t={},e={}){super();const o=$(t);if(o||(e=t),this._items=[],this._itemMap=new Map,this._idProperty=e.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],o)for(const e of t)this._items.push(e),this._itemMap.set(this._getItemIdBeforeAdding(e),e)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(t,e){return this.addMany([t],e)}addMany(t,e){if(void 0===e)e=this._items.length;else if(e>this._items.length||e<0)throw new g("collection-add-item-invalid-index",this);let o=0;for(const n of t){const t=this._getItemIdBeforeAdding(n),r=e+o;this._items.splice(r,0,n),this._itemMap.set(t,n),this.fire("add",n,r),o++}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new g("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return e&&this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,e?this._items.indexOf(e):-1}remove(t){const[e,o]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:o}),e}map(t,e){return this._items.map(t,e)}forEach(t,e){this._items.forEach(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new g("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding((e=>new t(e)))},using:t=>{"function"==typeof t?this._setUpBindToBinding(t):this._setUpBindToBinding((e=>e[t]))}}}_setUpBindToBinding(t){const e=this._bindToCollection,o=(o,n,r)=>{const i=e._bindToCollection==this,s=e._bindToInternalToExternalMap.get(n);if(i&&s)this._bindToExternalToInternalMap.set(n,s),this._bindToInternalToExternalMap.set(s,n);else{const o=t(n);if(!o)return void this._skippedIndexesFromExternal.push(r);let i=r;for(const t of this._skippedIndexesFromExternal)r>t&&i--;for(const t of e._skippedIndexesFromExternal)i>=t&&i++;this._bindToExternalToInternalMap.set(n,o),this._bindToInternalToExternalMap.set(o,n),this.add(o,i);for(let t=0;t<e._skippedIndexesFromExternal.length;t++)i<=e._skippedIndexesFromExternal[t]&&e._skippedIndexesFromExternal[t]++}};for(const t of e)o(0,t,e.getIndex(t));this.listenTo(e,"add",o),this.listenTo(e,"remove",((t,e,o)=>{const n=this._bindToExternalToInternalMap.get(e);n&&this.remove(n),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((t,e)=>(o<e&&t.push(e-1),o>e&&t.push(e),t)),[])}))}_getItemIdBeforeAdding(t){const e=this._idProperty;let o;if(e in t){if(o=t[e],"string"!=typeof o)throw new g("collection-add-invalid-id",this);if(this.get(o))throw new g("collection-add-item-already-exists",this)}else t[e]=o=h();return o}_remove(t){let e,o,n,r=!1;const i=this._idProperty;if("string"==typeof t?(o=t,n=this._itemMap.get(o),r=!n,n&&(e=this._items.indexOf(n))):"number"==typeof t?(e=t,n=this._items[e],r=!n,n&&(o=n[i])):(n=t,o=n[i],e=this._items.indexOf(n),r=-1==e||!this._itemMap.get(o)),r)throw new g("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(o);const s=this._bindToInternalToExternalMap.get(n);return this._bindToInternalToExternalMap.delete(n),this._bindToExternalToInternalMap.delete(s),this.fire("remove",n,e),[n,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}Z(B());function ut(t){return Array.isArray(t)?t:[t]}!function(){const t=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],e=new RegExp("\\p{Regional_Indicator}{2}","u").source,o="(?:"+t.map((t=>t.source)).join("|")+")";new RegExp(`${e}|${o}(?:‍${o})*`,"ug")}();class dt extends lt{constructor(t=[]){super(t,{idProperty:"viewUid"}),this.on("add",((t,e,o)=>{this._renderViewIntoCollectionParent(e,o)})),this.on("remove",((t,e)=>{e.element&&this._parentElement&&e.element.remove()})),this._parentElement=null}destroy(){this.map((t=>t.destroy()))}setParent(t){this._parentElement=t;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...t){if(!t.length||!t.every((t=>"string"==typeof t)))throw new g("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const o of this)for(const n of t)o.delegate(n).to(e);this.on("add",((o,n)=>{for(const o of t)n.delegate(o).to(e)})),this.on("remove",((o,n)=>{for(const o of t)n.stopDelegating(o,e)}))}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}remove(t){return super.remove(t)}}const ht=function(){this.__data__=[],this.size=0};const ft=function(t,e){return t===e||t!=t&&e!=e};const pt=function(t,e){for(var o=t.length;o--;)if(ft(t[o][0],e))return o;return-1};var bt=Array.prototype.splice;const gt=function(t){var e=this.__data__,o=pt(e,t);return!(o<0)&&(o==e.length-1?e.pop():bt.call(e,o,1),--this.size,!0)};const mt=function(t){var e=this.__data__,o=pt(e,t);return o<0?void 0:e[o][1]};const vt=function(t){return pt(this.__data__,t)>-1};const kt=function(t,e){var o=this.__data__,n=pt(o,t);return n<0?(++this.size,o.push([t,e])):o[n][1]=e,this};function _t(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=ht,_t.prototype.delete=gt,_t.prototype.get=mt,_t.prototype.has=vt,_t.prototype.set=kt;const yt=_t;const wt=function(){this.__data__=new yt,this.size=0};const xt=function(t){var e=this.__data__,o=e.delete(t);return this.size=e.size,o};const Et=function(t){return this.__data__.get(t)};const jt=function(t){return this.__data__.has(t)};const Tt="object"==typeof global&&global&&global.Object===Object&&global;var Ot="object"==typeof self&&self&&self.Object===Object&&self;const St=Tt||Ot||Function("return this")();const At=St.Symbol;var Ct=Object.prototype,It=Ct.hasOwnProperty,Lt=Ct.toString,Pt=At?At.toStringTag:void 0;const Mt=function(t){var e=It.call(t,Pt),o=t[Pt];try{t[Pt]=void 0;var n=!0}catch(t){}var r=Lt.call(t);return n&&(e?t[Pt]=o:delete t[Pt]),r};var Ft=Object.prototype.toString;const Nt=function(t){return Ft.call(t)};var Rt=At?At.toStringTag:void 0;const Bt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Rt&&Rt in Object(t)?Mt(t):Nt(t)};const Dt=function(t){if(!I(t))return!1;var e=Bt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const zt=St["__core-js_shared__"];var Vt=function(){var t=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();const Ut=function(t){return!!Vt&&Vt in t};var Wt=Function.prototype.toString;const $t=function(t){if(null!=t){try{return Wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var Ht=/^\[object .+?Constructor\]$/,Kt=Function.prototype,Gt=Object.prototype,Zt=Kt.toString,qt=Gt.hasOwnProperty,Yt=RegExp("^"+Zt.call(qt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Xt=function(t){return!(!I(t)||Ut(t))&&(Dt(t)?Yt:Ht).test($t(t))};const Jt=function(t,e){return null==t?void 0:t[e]};const Qt=function(t,e){var o=Jt(t,e);return Xt(o)?o:void 0};const te=Qt(St,"Map");const ee=Qt(Object,"create");const oe=function(){this.__data__=ee?ee(null):{},this.size=0};const ne=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var re=Object.prototype.hasOwnProperty;const ie=function(t){var e=this.__data__;if(ee){var o=e[t];return"__lodash_hash_undefined__"===o?void 0:o}return re.call(e,t)?e[t]:void 0};var se=Object.prototype.hasOwnProperty;const ce=function(t){var e=this.__data__;return ee?void 0!==e[t]:se.call(e,t)};const ae=function(t,e){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=ee&&void 0===e?"__lodash_hash_undefined__":e,this};function le(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}le.prototype.clear=oe,le.prototype.delete=ne,le.prototype.get=ie,le.prototype.has=ce,le.prototype.set=ae;const ue=le;const de=function(){this.size=0,this.__data__={hash:new ue,map:new(te||yt),string:new ue}};const he=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const fe=function(t,e){var o=t.__data__;return he(e)?o["string"==typeof e?"string":"hash"]:o.map};const pe=function(t){var e=fe(this,t).delete(t);return this.size-=e?1:0,e};const be=function(t){return fe(this,t).get(t)};const ge=function(t){return fe(this,t).has(t)};const me=function(t,e){var o=fe(this,t),n=o.size;return o.set(t,e),this.size+=o.size==n?0:1,this};function ve(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}ve.prototype.clear=de,ve.prototype.delete=pe,ve.prototype.get=be,ve.prototype.has=ge,ve.prototype.set=me;const ke=ve;const _e=function(t,e){var o=this.__data__;if(o instanceof yt){var n=o.__data__;if(!te||n.length<199)return n.push([t,e]),this.size=++o.size,this;o=this.__data__=new ke(n)}return o.set(t,e),this.size=o.size,this};function ye(t){var e=this.__data__=new yt(t);this.size=e.size}ye.prototype.clear=wt,ye.prototype.delete=xt,ye.prototype.get=Et,ye.prototype.has=jt,ye.prototype.set=_e;const we=ye;const xe=function(t,e){for(var o=-1,n=null==t?0:t.length;++o<n&&!1!==e(t[o],o,t););return t};const Ee=function(){try{var t=Qt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const je=function(t,e,o){"__proto__"==e&&Ee?Ee(t,e,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[e]=o};var Te=Object.prototype.hasOwnProperty;const Oe=function(t,e,o){var n=t[e];Te.call(t,e)&&ft(n,o)&&(void 0!==o||e in t)||je(t,e,o)};const Se=function(t,e,o,n){var r=!o;o||(o={});for(var i=-1,s=e.length;++i<s;){var c=e[i],a=n?n(o[c],t[c],c,o,t):void 0;void 0===a&&(a=t[c]),r?je(o,c,a):Oe(o,c,a)}return o};const Ae=function(t,e){for(var o=-1,n=Array(t);++o<t;)n[o]=e(o);return n};const Ce=function(t){return null!=t&&"object"==typeof t};const Ie=function(t){return Ce(t)&&"[object Arguments]"==Bt(t)};var Le=Object.prototype,Pe=Le.hasOwnProperty,Me=Le.propertyIsEnumerable;const Fe=Ie(function(){return arguments}())?Ie:function(t){return Ce(t)&&Pe.call(t,"callee")&&!Me.call(t,"callee")};const Ne=Array.isArray;const Re=function(){return!1};var Be="object"==typeof exports&&exports&&!exports.nodeType&&exports,De=Be&&"object"==typeof module&&module&&!module.nodeType&&module,ze=De&&De.exports===Be?St.Buffer:void 0;const Ve=(ze?ze.isBuffer:void 0)||Re;var Ue=/^(?:0|[1-9]\d*)$/;const We=function(t,e){var o=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==o||"symbol"!=o&&Ue.test(t))&&t>-1&&t%1==0&&t<e};const $e=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var He={};He["[object Float32Array]"]=He["[object Float64Array]"]=He["[object Int8Array]"]=He["[object Int16Array]"]=He["[object Int32Array]"]=He["[object Uint8Array]"]=He["[object Uint8ClampedArray]"]=He["[object Uint16Array]"]=He["[object Uint32Array]"]=!0,He["[object Arguments]"]=He["[object Array]"]=He["[object ArrayBuffer]"]=He["[object Boolean]"]=He["[object DataView]"]=He["[object Date]"]=He["[object Error]"]=He["[object Function]"]=He["[object Map]"]=He["[object Number]"]=He["[object Object]"]=He["[object RegExp]"]=He["[object Set]"]=He["[object String]"]=He["[object WeakMap]"]=!1;const Ke=function(t){return Ce(t)&&$e(t.length)&&!!He[Bt(t)]};const Ge=function(t){return function(e){return t(e)}};var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,qe=Ze&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=qe&&qe.exports===Ze&&Tt.process;const Xe=function(){try{var t=qe&&qe.require&&qe.require("util").types;return t||Ye&&Ye.binding&&Ye.binding("util")}catch(t){}}();var Je=Xe&&Xe.isTypedArray;const Qe=Je?Ge(Je):Ke;var to=Object.prototype.hasOwnProperty;const eo=function(t,e){var o=Ne(t),n=!o&&Fe(t),r=!o&&!n&&Ve(t),i=!o&&!n&&!r&&Qe(t),s=o||n||r||i,c=s?Ae(t.length,String):[],a=c.length;for(var l in t)!e&&!to.call(t,l)||s&&("length"==l||r&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||We(l,a))||c.push(l);return c};var oo=Object.prototype;const no=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oo)};const ro=function(t,e){return function(o){return t(e(o))}};const io=ro(Object.keys,Object);var so=Object.prototype.hasOwnProperty;const co=function(t){if(!no(t))return io(t);var e=[];for(var o in Object(t))so.call(t,o)&&"constructor"!=o&&e.push(o);return e};const ao=function(t){return null!=t&&$e(t.length)&&!Dt(t)};const lo=function(t){return ao(t)?eo(t):co(t)};const uo=function(t,e){return t&&Se(e,lo(e),t)};const ho=function(t){var e=[];if(null!=t)for(var o in Object(t))e.push(o);return e};var fo=Object.prototype.hasOwnProperty;const po=function(t){if(!I(t))return ho(t);var e=no(t),o=[];for(var n in t)("constructor"!=n||!e&&fo.call(t,n))&&o.push(n);return o};const bo=function(t){return ao(t)?eo(t,!0):po(t)};const go=function(t,e){return t&&Se(e,bo(e),t)};var mo="object"==typeof exports&&exports&&!exports.nodeType&&exports,vo=mo&&"object"==typeof module&&module&&!module.nodeType&&module,ko=vo&&vo.exports===mo?St.Buffer:void 0,_o=ko?ko.allocUnsafe:void 0;const yo=function(t,e){if(e)return t.slice();var o=t.length,n=_o?_o(o):new t.constructor(o);return t.copy(n),n};const wo=function(t,e){var o=-1,n=t.length;for(e||(e=Array(n));++o<n;)e[o]=t[o];return e};const xo=function(t,e){for(var o=-1,n=null==t?0:t.length,r=0,i=[];++o<n;){var s=t[o];e(s,o,t)&&(i[r++]=s)}return i};const Eo=function(){return[]};var jo=Object.prototype.propertyIsEnumerable,To=Object.getOwnPropertySymbols;const Oo=To?function(t){return null==t?[]:(t=Object(t),xo(To(t),(function(e){return jo.call(t,e)})))}:Eo;const So=function(t,e){return Se(t,Oo(t),e)};const Ao=function(t,e){for(var o=-1,n=e.length,r=t.length;++o<n;)t[r+o]=e[o];return t};const Co=ro(Object.getPrototypeOf,Object);const Io=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ao(e,Oo(t)),t=Co(t);return e}:Eo;const Lo=function(t,e){return Se(t,Io(t),e)};const Po=function(t,e,o){var n=e(t);return Ne(t)?n:Ao(n,o(t))};const Mo=function(t){return Po(t,lo,Oo)};const Fo=function(t){return Po(t,bo,Io)};const No=Qt(St,"DataView");const Ro=Qt(St,"Promise");const Bo=Qt(St,"Set");const Do=Qt(St,"WeakMap");var zo="[object Map]",Vo="[object Promise]",Uo="[object Set]",Wo="[object WeakMap]",$o="[object DataView]",Ho=$t(No),Ko=$t(te),Go=$t(Ro),Zo=$t(Bo),qo=$t(Do),Yo=Bt;(No&&Yo(new No(new ArrayBuffer(1)))!=$o||te&&Yo(new te)!=zo||Ro&&Yo(Ro.resolve())!=Vo||Bo&&Yo(new Bo)!=Uo||Do&&Yo(new Do)!=Wo)&&(Yo=function(t){var e=Bt(t),o="[object Object]"==e?t.constructor:void 0,n=o?$t(o):"";if(n)switch(n){case Ho:return $o;case Ko:return zo;case Go:return Vo;case Zo:return Uo;case qo:return Wo}return e});const Xo=Yo;var Jo=Object.prototype.hasOwnProperty;const Qo=function(t){var e=t.length,o=new t.constructor(e);return e&&"string"==typeof t[0]&&Jo.call(t,"index")&&(o.index=t.index,o.input=t.input),o};const tn=St.Uint8Array;const en=function(t){var e=new t.constructor(t.byteLength);return new tn(e).set(new tn(t)),e};const on=function(t,e){var o=e?en(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)};var nn=/\w*$/;const rn=function(t){var e=new t.constructor(t.source,nn.exec(t));return e.lastIndex=t.lastIndex,e};var sn=At?At.prototype:void 0,cn=sn?sn.valueOf:void 0;const an=function(t){return cn?Object(cn.call(t)):{}};const ln=function(t,e){var o=e?en(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)};const un=function(t,e,o){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return en(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return on(t,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ln(t,o);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return rn(t);case"[object Symbol]":return an(t)}};var dn=Object.create;const hn=function(){function t(){}return function(e){if(!I(e))return{};if(dn)return dn(e);t.prototype=e;var o=new t;return t.prototype=void 0,o}}();const fn=function(t){return"function"!=typeof t.constructor||no(t)?{}:hn(Co(t))};const pn=function(t){return Ce(t)&&"[object Map]"==Xo(t)};var bn=Xe&&Xe.isMap;const gn=bn?Ge(bn):pn;const mn=function(t){return Ce(t)&&"[object Set]"==Xo(t)};var vn=Xe&&Xe.isSet;const kn=vn?Ge(vn):mn;var _n="[object Arguments]",yn="[object Function]",wn="[object Object]",xn={};xn[_n]=xn["[object Array]"]=xn["[object ArrayBuffer]"]=xn["[object DataView]"]=xn["[object Boolean]"]=xn["[object Date]"]=xn["[object Float32Array]"]=xn["[object Float64Array]"]=xn["[object Int8Array]"]=xn["[object Int16Array]"]=xn["[object Int32Array]"]=xn["[object Map]"]=xn["[object Number]"]=xn[wn]=xn["[object RegExp]"]=xn["[object Set]"]=xn["[object String]"]=xn["[object Symbol]"]=xn["[object Uint8Array]"]=xn["[object Uint8ClampedArray]"]=xn["[object Uint16Array]"]=xn["[object Uint32Array]"]=!0,xn["[object Error]"]=xn[yn]=xn["[object WeakMap]"]=!1;const En=function t(e,o,n,r,i,s){var c,a=1&o,l=2&o,u=4&o;if(n&&(c=i?n(e,r,i,s):n(e)),void 0!==c)return c;if(!I(e))return e;var d=Ne(e);if(d){if(c=Qo(e),!a)return wo(e,c)}else{var h=Xo(e),f=h==yn||"[object GeneratorFunction]"==h;if(Ve(e))return yo(e,a);if(h==wn||h==_n||f&&!i){if(c=l||f?{}:fn(e),!a)return l?Lo(e,go(c,e)):So(e,uo(c,e))}else{if(!xn[h])return i?e:{};c=un(e,h,a)}}s||(s=new we);var p=s.get(e);if(p)return p;s.set(e,c),kn(e)?e.forEach((function(r){c.add(t(r,o,n,r,e,s))})):gn(e)&&e.forEach((function(r,i){c.set(i,t(r,o,n,i,e,s))}));var b=d?void 0:(u?l?Fo:Mo:l?bo:lo)(e);return xe(b||e,(function(r,i){b&&(r=e[i=r]),Oe(c,i,t(r,o,n,i,e,s))})),c};const jn=function(t,e){return En(t,5,e="function"==typeof e?e:void 0)};class Tn extends(x()){constructor(t){super(),Object.assign(this,Nn(Fn(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,intoFragment:!1,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new g("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const o of e.children)Un(o)?yield o:Wn(o)&&(yield*t(o))}(this)}static bind(t,e){return{to:(o,n)=>new Sn({eventNameOrFunction:o,attribute:o,observable:t,emitter:e,callback:n}),if:(o,n,r)=>new An({observable:t,emitter:e,attribute:o,valueIfTrue:n,callback:r})}}static extend(t,e){if(t._isRendered)throw new g("template-extend-render",[this,t]);zn(t,Nn(Fn(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new g("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Cn(this.text)?this._bindToObservable({schema:this.text,updater:Ln(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){if(!this.attributes)return;const e=t.node,o=t.revertData;for(const n in this.attributes){const r=e.getAttribute(n),i=this.attributes[n];o&&(o.attributes[n]=r);const s=Hn(i)?i[0].ns:null;if(Cn(i)){const c=Hn(i)?i[0].value:i;o&&Kn(n)&&c.unshift(r),this._bindToObservable({schema:c,updater:Pn(e,n,s),data:t})}else if("style"==n&&"string"!=typeof i[0])this._renderStyleAttribute(i[0],t);else{o&&r&&Kn(n)&&i.unshift(r);const t=i.map((t=>t&&t.value||t)).reduce(((t,e)=>t.concat(e)),[]).reduce(Bn,"");Vn(t)||e.setAttributeNS(s,n,t)}}}_renderStyleAttribute(t,e){const o=e.node;for(const n in t){const r=t[n];Cn(r)?this._bindToObservable({schema:[r],updater:Mn(o,n),data:e}):o.style[n]=r}}_renderElementChildren(t){const e=t.node,o=t.intoFragment?document.createDocumentFragment():e,n=t.isApplying;let r=0;for(const i of this.children)if($n(i)){if(!n){i.setParent(e);for(const t of i)o.appendChild(t.element)}}else if(Un(i))n||(i.isRendered||i.render(),o.appendChild(i.element));else if(H(i))o.appendChild(i);else if(n){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),i._renderNode({intoFragment:!1,node:o.childNodes[r++],isApplying:!0,revertData:e})}else o.appendChild(i.render());t.intoFragment&&e.appendChild(o)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const o=this.eventListeners[e].map((o=>{const[n,r]=e.split("@");return o.activateDomEventListener(n,r,t)}));t.revertData&&t.revertData.bindings.push(o)}}_bindToObservable({schema:t,updater:e,data:o}){const n=o.revertData;In(t,e,o);const r=t.filter((t=>!Vn(t))).filter((t=>t.observable)).map((n=>n.activateAttributeListener(t,e,o)));n&&n.bindings.push(r)}_revertTemplateFromNode(t,e){for(const t of e.bindings)for(const e of t)e();if(e.text)return void(t.textContent=e.text);const o=t;for(const t in e.attributes){const n=e.attributes[t];null===n?o.removeAttribute(t):o.setAttribute(t,n)}for(let t=0;t<e.children.length;++t)this._revertTemplateFromNode(o.childNodes[t],e.children[t])}}class On{constructor(t){this.attribute=t.attribute,this.observable=t.observable,this.emitter=t.emitter,this.callback=t.callback}getValue(t){const e=this.observable[this.attribute];return this.callback?this.callback(e,t):e}activateAttributeListener(t,e,o){const n=()=>In(t,e,o);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,n),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,n)}}}class Sn extends On{constructor(t){super(t),this.eventNameOrFunction=t.eventNameOrFunction}activateDomEventListener(t,e,o){const n=(t,o)=>{e&&!o.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(o):this.observable.fire(this.eventNameOrFunction,o))};return this.emitter.listenTo(o.node,t,n),()=>{this.emitter.stopListening(o.node,t,n)}}}class An extends On{constructor(t){super(t),this.valueIfTrue=t.valueIfTrue}getValue(t){return!Vn(super.getValue(t))&&(this.valueIfTrue||!0)}}function Cn(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Cn):t instanceof On)}function In(t,e,{node:o}){const n=function(t,e){return t.map((t=>t instanceof On?t.getValue(e):t))}(t,o);let r;r=1==t.length&&t[0]instanceof An?n[0]:n.reduce(Bn,""),Vn(r)?e.remove():e.set(r)}function Ln(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function Pn(t,e,o){return{set(n){t.setAttributeNS(o,e,n)},remove(){t.removeAttributeNS(o,e)}}}function Mn(t,e){return{set(o){t.style[e]=o},remove(){t.style[e]=null}}}function Fn(t){return jn(t,(t=>{if(t&&(t instanceof On||Wn(t)||Un(t)||$n(t)))return t}))}function Nn(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=ut(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)Rn(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=ut(t[e].value)),Rn(t,e)}(t.attributes);const e=[];if(t.children)if($n(t.children))e.push(t.children);else for(const o of t.children)Wn(o)||Un(o)||H(o)?e.push(o):e.push(new Tn(o));t.children=e}return t}function Rn(t,e){t[e]=ut(t[e])}function Bn(t,e){return Vn(e)?t:Vn(t)?e:`${t} ${e}`}function Dn(t,e){for(const o in e)t[o]?t[o].push(...e[o]):t[o]=e[o]}function zn(t,e){if(e.attributes&&(t.attributes||(t.attributes={}),Dn(t.attributes,e.attributes)),e.eventListeners&&(t.eventListeners||(t.eventListeners={}),Dn(t.eventListeners,e.eventListeners)),e.text&&t.text.push(...e.text),e.children&&e.children.length){if(t.children.length!=e.children.length)throw new g("ui-template-extend-children-mismatch",t);let o=0;for(const n of e.children)zn(t.children[o++],n)}}function Vn(t){return!t&&0!==t}function Un(t){return t instanceof Xn}function Wn(t){return t instanceof Tn}function $n(t){return t instanceof dt}function Hn(t){return I(t[0])&&t[0].ns}function Kn(t){return"class"==t||"style"==t}var Gn=o(62),Zn=o.n(Gn),qn=o(647),Yn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(qn.Z,Yn);qn.Z.locals;class Xn extends(Z(B())){constructor(t){super(),this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new lt,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((e,o)=>{o.locale=t,o.t=t&&t.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Tn.bind(this,this)}createCollection(t){const e=new dt(t);return this._viewCollections.add(e),e}registerChild(t){$(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){$(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Tn(t)}extendTemplate(t){Tn.extend(this.template,t)}render(){if(this.isRendered)throw new g("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((t=>t.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}var Jn=o(452),Qn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(Jn.Z,Qn);Jn.Z.locals;const tr=(er="px",t=>t+er);var er;class or extends Xn{constructor(t,e,o=!1){super(t);const n=this.bindTemplate;this.containerElement=e||J.window,this.panelAbsolute=o,this.set("position",null),this.set("panel_height",0),this.set("panel_width",0),this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new Tn({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:n.to("isSticky",(t=>t?"block":"none")),height:n.to("panel_height",(t=>tr(t))),width:n.to("panel_width",(t=>tr(t)))}}}).render(),this._contentPanel=new Tn({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",n.if("isSticky","ck-sticky-panel__content_sticky"),n.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{position:n.to("position",(t=>t)),width:n.to("isSticky",(t=>t?tr(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:n.to("_stickyTopOffset",(t=>t?tr(t):t)),bottom:n.to("_stickyBottomOffset",(t=>t?tr(t):t)),marginLeft:n.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(this.containerElement,"scroll",(()=>{this.checkIfShouldBeSticky()}),{useCapture:!0}),this.listenTo(this,"change:isActive",(()=>{this.checkIfShouldBeSticky()}))}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();this.panel_height=this._contentPanelRect.height,this.panel_width=this._contentPanelRect.width;const t=new et(this.limiterElement);let e=t.getVisible();if(e){const o=new et(this.containerElement);t.top-=o.top,t.bottom-=o.top,o.top+=this.viewportTopOffset,o.height-=this.viewportTopOffset,e=e.getIntersection(o)}if(e&&t.top<e.top){const o=e.top;if(o+this._contentPanelRect.height+this.limiterBottomOffset>e.bottom){const o=Math.max(t.bottom-e.bottom,0)+this.limiterBottomOffset;t.bottom-o>t.top+this._contentPanelRect.height?this.panelAbsolute||this._stickToBottomOfLimiter(o):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset<t.height?this.panelAbsolute?t.top<0&&-t.top<t.height-this.limiterBottomOffset?this._stickToTopOfAncestors(-t.top,"absolute"):this._unstick():this._stickToTopOfAncestors(o,null):this._unstick()}else this._unstick()}_stickToTopOfAncestors(t,e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!1,this._stickyBottomOffset=null,this._stickyTopOffset=t,this._marginLeft=tr(-J.window.scrollX),this.position=e}_stickToBottomOfLimiter(t){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!0,this._stickyTopOffset=null,this._stickyBottomOffset=t,this._marginLeft=tr(-J.window.scrollX),this.position=null}_unstick(){this.isSticky=!1,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=null,this._stickyBottomOffset=null,this._marginLeft=null,this.position=null}get _contentPanelRect(){return new et(this._contentPanel)}}var nr=o(176),rr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(nr.Z,rr);nr.Z.locals;class ir extends t.BoxedEditorUIView{constructor(e,o,n={}){super(e),this.stickyPanel=new or(e,n.containerElement,n.panelAbsolute),this.toolbar=new t.ToolbarView(e,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull}),this.editable=new t.InlineEditableUIView(e,o)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var sr=o(704),cr=o(434),ar=Function.prototype,lr=Object.prototype,ur=ar.toString,dr=lr.hasOwnProperty,hr=ur.call(Object);const fr=function(t){if(!Ce(t)||"[object Object]"!=Bt(t))return!1;var e=Co(t);if(null===e)return!0;var o=dr.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&ur.call(o)==hr};const pr=function(t){return Ce(t)&&1===t.nodeType&&!fr(t)};class br extends((0,sr.DataApiMixin)((0,sr.ElementApiMixin)(sr.Editor))){constructor(t,e={}){if(!gr(t)&&void 0!==e.initialData)throw new r.CKEditorError("editor-create-initial-data",null);super(e),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return gr(t)?(0,r.getDataFromElement)(t):t}(t)),gr(t)&&(this.sourceElement=t),this.model.document.createRoot();const o=!this.config.get("toolbar.shouldNotGroupWhenFull"),n=new ir(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:o,containerElement:e.containerElement,panelAbsolute:e.panelAbsolute});this.ui=new i(this,n),(0,sr.attachToForm)(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise((o=>{const n=new this(t,e);o(n.initPlugins().then((()=>n.ui.init(gr(t)?t:null))).then((()=>n.data.init(n.config.get("initialData")))).then((()=>n.fire("ready"))).then((()=>n)))}))}}function gr(t){return pr(t)}br.Context=sr.Context,br.EditorWatchdog=cr.EditorWatchdog,br.ContextWatchdog=cr.ContextWatchdog})(),(window.CKEditor5=window.CKEditor5||{}).ckeditor5EditorClassicFloating=n})();
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md.
4
+ */(()=>{var t={176:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}",""]);const i=r},452:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}",""]);const i=r},647:(t,e,o)=>{"use strict";o.d(e,{Z:()=>i});var n=o(609),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-modal) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}",""]);const i=r},609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=t(e);return e[2]?"@media ".concat(e[2]," {").concat(o,"}"):o})).join("")},e.i=function(t,o,n){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(r[s]=!0)}for(var c=0;c<t.length;c++){var a=[].concat(t[c]);n&&r[a[0]]||(o&&(a[2]?a[2]="".concat(o," and ").concat(a[2]):a[2]=o),e.push(a))}},e}},62:(t,e,o)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var t={};return function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}t[e]=o}return t[e]}}(),s=[];function c(t){for(var e=-1,o=0;o<s.length;o++)if(s[o].identifier===t){e=o;break}return e}function a(t,e){for(var o={},n=[],r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],l=o[a]||0,u="".concat(a," ").concat(l);o[a]=l+1;var d=c(u),h={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:u,updater:g(h,e),references:1}),n.push(u)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function h(t,e,o,n){var r=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var i=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function f(t,e,o){var n=o.css,r=o.media,i=o.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var p=null,b=0;function g(t,e){var o,n,r;if(e.singleton){var i=b++;o=p||(p=l(e)),n=h.bind(null,o,i,!1),r=h.bind(null,o,i,!0)}else o=l(e),n=f.bind(null,o,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(o)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var o=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<o.length;n++){var r=c(o[n]);s[r].references--}for(var i=a(t,e),l=0;l<o.length;l++){var u=c(o[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}o=i}}}},704:(t,e,o)=>{t.exports=o(79)("./src/core.js")},492:(t,e,o)=>{t.exports=o(79)("./src/engine.js")},273:(t,e,o)=>{t.exports=o(79)("./src/ui.js")},209:(t,e,o)=>{t.exports=o(79)("./src/utils.js")},434:(t,e,o)=>{t.exports=o(79)("./src/watchdog.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(n){var r=e[n];if(void 0!==r)return r.exports;var i=e[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{ClassicFloatingEditor:()=>br});var t=o(273),e=o(492),r=o(209);class i extends t.EditorUI{constructor(e,o){super(e),this.view=o,this._toolbarConfig=(0,t.normalizeToolbarConfig)(e.config.get("toolbar")),this._elementReplacer=new r.ElementReplacer,this.listenTo(e.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(t){const e=this.editor,o=this.view,n=e.editing.view,r=o.editable,i=n.document.getRoot();r.name=i.rootName,o.render();const s=r.element;this.setEditableElement(r.name,s),o.editable.bind("isFocused").to(this.focusTracker),n.attachDomRoot(s),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.view;t.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),t.stickyPanel.limiterElement=t.element,t.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),t.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(t.toolbar)}_initPlaceholder(){const t=this.editor,o=t.editing.view,n=o.document.getRoot(),r=t.sourceElement;let i;const s=t.config.get("placeholder");s&&(i="string"==typeof s?s:s[this.view.editable.name]),!i&&r&&"textarea"===r.tagName.toLowerCase()&&(i=r.getAttribute("placeholder")),i&&(n.placeholder=i),(0,e.enablePlaceholder)({view:o,element:n,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(t,e,o){const n=this.view.stickyPanel;if(n.isSticky){const t=new r.Rect(n.element).height;e.viewportOffset.top+=t}else{const t=()=>{this.editor.editing.view.scrollToTheSelection(o)};this.listenTo(n,"change:isSticky",t),setTimeout((()=>{this.stopListening(n,"change:isSticky",t)}),20)}}}const s=function(){try{return navigator.userAgent.toLowerCase()}catch(t){return""}}();a(s),c=s,c.indexOf("windows"),function(t){t.match(/gecko\/\d+/)}(s),function(t){t.indexOf(" applewebkit/")>-1&&t.indexOf("chrome")}(s),function(t){!!t.match(/iphone|ipad/i)||a(t)&&navigator.maxTouchPoints}(s),function(t){t.indexOf("android")}(s),function(t){t.indexOf("chrome/")>-1&&t.indexOf("edge/")}(s),function(){let t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}}();var c;function a(t){return t.indexOf("macintosh")>-1}const l=function(){return function t(){t.called=!0}};class u{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=l(),this.off=l()}}const d=new Array(256).fill("").map(((t,e)=>("0"+e.toString(16)).slice(-2)));function h(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0;return"e"+d[t>>0&255]+d[t>>8&255]+d[t>>16&255]+d[t>>24&255]+d[e>>0&255]+d[e>>8&255]+d[e>>16&255]+d[e>>24&255]+d[o>>0&255]+d[o>>8&255]+d[o>>16&255]+d[o>>24&255]+d[n>>0&255]+d[n>>8&255]+d[n>>16&255]+d[n>>24&255]}const f={get(t="normal"){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function p(t,e){const o=f.get(e.priority);for(let n=0;n<t.length;n++)if(f.get(t[n].priority)<o)return void t.splice(n,0,e);t.push(e)}const b="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class g extends Error{constructor(t,e,o){super(function(t,e){const o=new WeakSet,n=(t,e)=>{if("object"==typeof e&&null!==e){if(o.has(e))return`[object ${e.constructor.name}]`;o.add(e)}return e},r=e?` ${JSON.stringify(e,n)}`:"",i=m(t);return t+r+i}(t,o)),this.name="CKEditorError",this.context=e,this.data=o}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const o=new g(t.message,e);throw o.stack=t.stack,o}}function m(t){return`\nRead more: ${b}#error-${t}`}const v="40.1.0";new Date(2023,10,15);if(globalThis.CKEDITOR_VERSION)throw new g("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=v;const k=Symbol("listeningTo"),_=Symbol("emitterId"),y=Symbol("delegations"),w=x(Object);function x(t){if(!t)return w;return class extends t{on(t,e,o){this.listenTo(this,t,e,o)}once(t,e,o){let n=!1;this.listenTo(this,t,((t,...o)=>{n||(n=!0,t.off(),e.call(this,t,...o))}),o)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,o,n={}){let r,i;this[k]||(this[k]={});const s=this[k];j(t)||E(t);const c=j(t);(r=s[c])||(r=s[c]={emitter:t,callbacks:{}}),(i=r.callbacks[e])||(i=r.callbacks[e]=[]),i.push(o),function(t,e,o,n,r){e._addEventListener?e._addEventListener(o,n,r):t._addEventListener.call(e,o,n,r)}(this,t,e,o,n)}stopListening(t,e,o){const n=this[k];let r=t&&j(t);const i=n&&r?n[r]:void 0,s=i&&e?i.callbacks[e]:void 0;if(!(!n||t&&!i||e&&!s))if(o){C(this,t,e,o);-1!==s.indexOf(o)&&(1===s.length?delete i.callbacks[e]:C(this,t,e,o))}else if(s){for(;o=s.pop();)C(this,t,e,o);delete i.callbacks[e]}else if(i){for(e in i.callbacks)this.stopListening(t,e);delete n[r]}else{for(r in n)this.stopListening(n[r].emitter);delete this[k]}}fire(t,...e){try{const o=t instanceof u?t:new u(this,t),n=o.name;let r=S(this,n);if(o.path.push(this),r){const t=[o,...e];r=Array.from(r);for(let e=0;e<r.length&&(r[e].callback.apply(this,t),o.off.called&&(delete o.off.called,this._removeEventListener(n,r[e].callback)),!o.stop.called);e++);}const i=this[y];if(i){const t=i.get(n),r=i.get("*");t&&A(t,o,e),r&&A(r,o,e)}return o.return}catch(t){g.rethrowUnexpectedError(t,this)}}delegate(...t){return{to:(e,o)=>{this[y]||(this[y]=new Map),t.forEach((t=>{const n=this[y].get(t);n?n.set(e,o):this[y].set(t,new Map([[e,o]]))}))}}}stopDelegating(t,e){if(this[y])if(t)if(e){const o=this[y].get(t);o&&o.delete(e)}else this[y].delete(t);else this[y].clear()}_addEventListener(t,e,o){!function(t,e){const o=T(t);if(o[e])return;let n=e,r=null;const i=[];for(;""!==n&&!o[n];)o[n]={callbacks:[],childEvents:[]},i.push(o[n]),r&&o[n].childEvents.push(r),r=n,n=n.substr(0,n.lastIndexOf(":"));if(""!==n){for(const t of i)t.callbacks=o[n].callbacks.slice();o[n].childEvents.push(r)}}(this,t);const n=O(this,t),r={callback:e,priority:f.get(o.priority)};for(const t of n)p(t,r)}_removeEventListener(t,e){const o=O(this,t);for(const t of o)for(let o=0;o<t.length;o++)t[o].callback==e&&(t.splice(o,1),o--)}}}function E(t,e){t[_]||(t[_]=e||h())}function j(t){return t[_]}function T(t){return t._events||Object.defineProperty(t,"_events",{value:{}}),t._events}function O(t,e){const o=T(t)[e];if(!o)return[];let n=[o.callbacks];for(let e=0;e<o.childEvents.length;e++){const r=O(t,o.childEvents[e]);n=n.concat(r)}return n}function S(t,e){let o;return t._events&&(o=t._events[e])&&o.callbacks.length?o.callbacks:e.indexOf(":")>-1?S(t,e.substr(0,e.lastIndexOf(":"))):null}function A(t,e,o){for(let[n,r]of t){r?"function"==typeof r&&(r=r(e.name)):r=e.name;const t=new u(e.source,r);t.path=[...e.path],n.fire(t,...o)}}function C(t,e,o,n){e._removeEventListener?e._removeEventListener(o,n):t._removeEventListener.call(e,o,n)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{x[t]=w.prototype[t]}));const I=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},L=Symbol("observableProperties"),P=Symbol("boundObservables"),M=Symbol("boundProperties"),F=Symbol("decoratedMethods"),N=Symbol("decoratedOriginal"),R=B(x());function B(t){if(!t)return R;return class extends t{set(t,e){if(I(t))return void Object.keys(t).forEach((e=>{this.set(e,t[e])}),this);D(this);const o=this[L];if(t in this&&!o.has(t))throw new g("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>o.get(t),set(e){const n=o.get(t);let r=this.fire(`set:${t}`,t,e,n);void 0===r&&(r=e),n===r&&o.has(t)||(o.set(t,r),this.fire(`change:${t}`,t,r,n))}}),this[t]=e}bind(...t){if(!t.length||!U(t))throw new g("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new g("observable-bind-duplicate-properties",this);D(this);const e=this[M];t.forEach((t=>{if(e.has(t))throw new g("observable-bind-rebind",this)}));const o=new Map;return t.forEach((t=>{const n={property:t,to:[]};e.set(t,n),o.set(t,n)})),{to:z,toMany:V,_observable:this,_bindProperties:t,_to:[],_bindings:o}}unbind(...t){if(!this[L])return;const e=this[M],o=this[P];if(t.length){if(!U(t))throw new g("observable-unbind-wrong-properties",this);t.forEach((t=>{const n=e.get(t);n&&(n.to.forEach((([t,e])=>{const r=o.get(t),i=r[e];i.delete(n),i.size||delete r[e],Object.keys(r).length||(o.delete(t),this.stopListening(t,"change"))})),e.delete(t))}))}else o.forEach(((t,e)=>{this.stopListening(e,"change")})),o.clear(),e.clear()}decorate(t){D(this);const e=this[t];if(!e)throw new g("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,((t,o)=>{t.return=e.apply(this,o)})),this[t]=function(...e){return this.fire(t,e)},this[t][N]=e,this[F]||(this[F]=[]),this[F].push(t)}stopListening(t,e,o){if(!t&&this[F]){for(const t of this[F])this[t]=this[t][N];delete this[F]}super.stopListening(t,e,o)}}}function D(t){t[L]||(Object.defineProperty(t,L,{value:new Map}),Object.defineProperty(t,P,{value:new Map}),Object.defineProperty(t,M,{value:new Map}))}function z(...t){const e=function(...t){if(!t.length)throw new g("observable-bind-to-parse-error",null);const e={to:[]};let o;"function"==typeof t[t.length-1]&&(e.callback=t.pop());return t.forEach((t=>{if("string"==typeof t)o.properties.push(t);else{if("object"!=typeof t)throw new g("observable-bind-to-parse-error",null);o={observable:t,properties:[]},e.to.push(o)}})),e}(...t),o=Array.from(this._bindings.keys()),n=o.length;if(!e.callback&&e.to.length>1)throw new g("observable-bind-to-no-callback",this);if(n>1&&e.callback)throw new g("observable-bind-to-extra-callback",this);var r;e.to.forEach((t=>{if(t.properties.length&&t.properties.length!==n)throw new g("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)})),this._to=e.to,e.callback&&(this._bindings.get(o[0]).callback=e.callback),r=this._observable,this._to.forEach((t=>{const e=r[P];let o;e.get(t.observable)||r.listenTo(t.observable,"change",((n,i)=>{o=e.get(t.observable)[i],o&&o.forEach((t=>{W(r,t.property)}))}))})),function(t){let e;t._bindings.forEach(((o,n)=>{t._to.forEach((r=>{e=r.properties[o.callback?0:t._bindProperties.indexOf(n)],o.to.push([r.observable,e]),function(t,e,o,n){const r=t[P],i=r.get(o),s=i||{};s[n]||(s[n]=new Set);s[n].add(e),i||r.set(o,s)}(t._observable,o,r.observable,e)}))}))}(this),this._bindProperties.forEach((t=>{W(this._observable,t)}))}function V(t,e,o){if(this._bindings.size>1)throw new g("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const o=t.map((t=>[t,e]));return Array.prototype.concat.apply([],o)}(t,e),o)}function U(t){return t.every((t=>"string"==typeof t))}function W(t,e){const o=t[M].get(e);let n;o.callback?n=o.callback.apply(t,o.to.map((t=>t[0][t[1]]))):(n=o.to[0],n=n[0][n[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=n:t.set(e,n)}function $(t){return!(!t||!t[Symbol.iterator])}function H(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}function K(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{B[t]=R.prototype[t]}));const G=Z(x());function Z(t){if(!t)return G;return class extends t{listenTo(t,e,o,n={}){if(H(t)||K(t)){const r={capture:!!n.useCapture,passive:!!n.usePassive},i=this._getProxyEmitter(t,r)||new q(t,r);this.listenTo(i,e,o,n)}else super.listenTo(t,e,o,n)}stopListening(t,e,o){if(H(t)||K(t)){const n=this._getAllProxyEmitters(t);for(const t of n)this.stopListening(t,e,o)}else super.stopListening(t,e,o)}_getProxyEmitter(t,e){return function(t,e){const o=t[k];return o&&o[e]?o[e].emitter:null}(this,Y(t,e))}_getAllProxyEmitters(t){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((e=>this._getProxyEmitter(t,e))).filter((t=>!!t))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{Z[t]=G.prototype[t]}));class q extends(x()){constructor(t,e){super(),E(this,Y(t,e)),this._domNode=t,this._options=e}attach(t){if(this._domListeners&&this._domListeners[t])return;const e=this._createDomListener(t);this._domNode.addEventListener(t,e,this._options),this._domListeners||(this._domListeners={}),this._domListeners[t]=e}detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()}_addEventListener(t,e,o){this.attach(t),x().prototype._addEventListener.call(this,t,e,o)}_removeEventListener(t,e){x().prototype._removeEventListener.call(this,t,e),this.detach(t)}_createDomListener(t){const e=e=>{this.fire(t,e)};return e.removeListener=()=>{this._domNode.removeEventListener(t,e,this._options),delete this._domListeners[t]},e}}function Y(t,e){let o=function(t){return t["data-ck-expando"]||(t["data-ck-expando"]=h())}(t);for(const t of Object.keys(e).sort())e[t]&&(o+="-"+t);return o}let X;try{X={window,document}}catch(t){X={window:{},document:{}}}const J=X;function Q(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}const tt=["top","right","bottom","left","width","height"];class et{constructor(t){const e=(o=t,"[object Range]"==Object.prototype.toString.apply(o));var o;if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),rt(t)||e)if(e){const e=et.getDomRangeRects(t);ot(this,et.getBoundingRect(e))}else ot(this,t.getBoundingClientRect());else if(K(t)){const{innerWidth:e,innerHeight:o}=t;ot(this,{top:0,right:e,bottom:o,left:0,width:e,height:o})}else ot(this,t)}clone(){return new et(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left),width:0,height:0};if(e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0)return null;{const t=new et(e);return t._source=this._source,t}}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(nt(t))return e;let o,n=t,r=t.parentNode||t.commonAncestorContainer;for(;r&&!nt(r);){const t="visible"===((i=r)instanceof HTMLElement?i.ownerDocument.defaultView.getComputedStyle(i).overflow:"visible");n instanceof HTMLElement&&"absolute"===it(n)&&(o=n);const s=it(r);if(t||o&&("relative"===s&&t||"relative"!==s)){n=r,r=r.parentNode;continue}const c=new et(r),a=e.getIntersection(c);if(!a)return null;a.getArea()<e.getArea()&&(e=a),n=r,r=r.parentNode}var i;return e}isEqual(t){for(const e of tt)if(this[e]!==t[e])return!1;return!0}contains(t){const e=this.getIntersection(t);return!(!e||!e.isEqual(t))}toAbsoluteRect(){const{scrollX:t,scrollY:e}=J.window,o=this.clone().moveBy(t,e);if(rt(o._source)){const t=(n=o._source)&&n.parentNode?n.offsetParent===J.document.body?null:n.offsetParent:null;t&&function(t,e){const o=new et(e),n=Q(e);let r=0,i=0;r-=o.left,i-=o.top,r+=e.scrollLeft,i+=e.scrollTop,r-=n.left,i-=n.top,t.moveBy(r,i)}(o,t)}var n;return o}excludeScrollbarsAndBorders(){const t=this._source;let e,o,n;if(K(t))e=t.innerWidth-t.document.documentElement.clientWidth,o=t.innerHeight-t.document.documentElement.clientHeight,n=t.getComputedStyle(t.document.documentElement).direction;else{const r=Q(t);e=t.offsetWidth-t.clientWidth-r.left-r.right,o=t.offsetHeight-t.clientHeight-r.top-r.bottom,n=t.ownerDocument.defaultView.getComputedStyle(t).direction,this.left+=r.left,this.top+=r.top,this.right-=r.right,this.bottom-=r.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=e,"ltr"===n?this.right-=e:this.left+=e,this.height-=o,this.bottom-=o,this}static getDomRangeRects(t){const e=[],o=Array.from(t.getClientRects());if(o.length)for(const t of o)e.push(new et(t));else{let o=t.startContainer;n=o,"[object Text]"==Object.prototype.toString.call(n)&&(o=o.parentNode);const r=new et(o.getBoundingClientRect());r.right=r.left,r.width=0,e.push(r)}var n;return e}static getBoundingRect(t){const e={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let o=0;for(const n of t)o++,e.left=Math.min(e.left,n.left),e.top=Math.min(e.top,n.top),e.right=Math.max(e.right,n.right),e.bottom=Math.max(e.bottom,n.bottom);return 0==o?null:(e.width=e.right-e.left,e.height=e.bottom-e.top,new et(e))}}function ot(t,e){for(const o of tt)t[o]=e[o]}function nt(t){return!!rt(t)&&t===t.ownerDocument.body}function rt(t){return null!==t&&"object"==typeof t&&1===t.nodeType&&"function"==typeof t.getBoundingClientRect}function it(t){return t instanceof HTMLElement?t.ownerDocument.defaultView.getComputedStyle(t).position:"static"}const st=class{constructor(t,e){st._observerInstance||st._createObserver(),this._element=t,this._callback=e,st._addElementCallback(t,e),st._observerInstance.observe(t)}get element(){return this._element}destroy(){st._deleteElementCallback(this._element,this._callback)}static _addElementCallback(t,e){st._elementCallbacks||(st._elementCallbacks=new Map);let o=st._elementCallbacks.get(t);o||(o=new Set,st._elementCallbacks.set(t,o)),o.add(e)}static _deleteElementCallback(t,e){const o=st._getElementCallbacks(t);o&&(o.delete(e),o.size||(st._elementCallbacks.delete(t),st._observerInstance.unobserve(t))),st._elementCallbacks&&!st._elementCallbacks.size&&(st._observerInstance=null,st._elementCallbacks=null)}static _getElementCallbacks(t){return st._elementCallbacks?st._elementCallbacks.get(t):null}static _createObserver(){st._observerInstance=new J.window.ResizeObserver((t=>{for(const e of t){const t=st._getElementCallbacks(e.target);if(t)for(const o of t)o(e)}}))}};let ct=st;ct._observerInstance=null,ct._elementCallbacks=null;Math.pow;const at=function(){const t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){t[String.fromCharCode(e).toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;for(const e of"`-=[];',./\\")t[e]=e.charCodeAt(0);return t}();Object.fromEntries(Object.entries(at).map((([t,e])=>[e,t.charAt(0).toUpperCase()+t.slice(1)])));J.window.CKEDITOR_TRANSLATIONS||(J.window.CKEDITOR_TRANSLATIONS={});class lt extends(x()){constructor(t={},e={}){super();const o=$(t);if(o||(e=t),this._items=[],this._itemMap=new Map,this._idProperty=e.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],o)for(const e of t)this._items.push(e),this._itemMap.set(this._getItemIdBeforeAdding(e),e)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(t,e){return this.addMany([t],e)}addMany(t,e){if(void 0===e)e=this._items.length;else if(e>this._items.length||e<0)throw new g("collection-add-item-invalid-index",this);let o=0;for(const n of t){const t=this._getItemIdBeforeAdding(n),r=e+o;this._items.splice(r,0,n),this._itemMap.set(t,n),this.fire("add",n,r),o++}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new g("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return e&&this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,e?this._items.indexOf(e):-1}remove(t){const[e,o]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:o}),e}map(t,e){return this._items.map(t,e)}forEach(t,e){this._items.forEach(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new g("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding((e=>new t(e)))},using:t=>{"function"==typeof t?this._setUpBindToBinding(t):this._setUpBindToBinding((e=>e[t]))}}}_setUpBindToBinding(t){const e=this._bindToCollection,o=(o,n,r)=>{const i=e._bindToCollection==this,s=e._bindToInternalToExternalMap.get(n);if(i&&s)this._bindToExternalToInternalMap.set(n,s),this._bindToInternalToExternalMap.set(s,n);else{const o=t(n);if(!o)return void this._skippedIndexesFromExternal.push(r);let i=r;for(const t of this._skippedIndexesFromExternal)r>t&&i--;for(const t of e._skippedIndexesFromExternal)i>=t&&i++;this._bindToExternalToInternalMap.set(n,o),this._bindToInternalToExternalMap.set(o,n),this.add(o,i);for(let t=0;t<e._skippedIndexesFromExternal.length;t++)i<=e._skippedIndexesFromExternal[t]&&e._skippedIndexesFromExternal[t]++}};for(const t of e)o(0,t,e.getIndex(t));this.listenTo(e,"add",o),this.listenTo(e,"remove",((t,e,o)=>{const n=this._bindToExternalToInternalMap.get(e);n&&this.remove(n),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((t,e)=>(o<e&&t.push(e-1),o>e&&t.push(e),t)),[])}))}_getItemIdBeforeAdding(t){const e=this._idProperty;let o;if(e in t){if(o=t[e],"string"!=typeof o)throw new g("collection-add-invalid-id",this);if(this.get(o))throw new g("collection-add-item-already-exists",this)}else t[e]=o=h();return o}_remove(t){let e,o,n,r=!1;const i=this._idProperty;if("string"==typeof t?(o=t,n=this._itemMap.get(o),r=!n,n&&(e=this._items.indexOf(n))):"number"==typeof t?(e=t,n=this._items[e],r=!n,n&&(o=n[i])):(n=t,o=n[i],e=this._items.indexOf(n),r=-1==e||!this._itemMap.get(o)),r)throw new g("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(o);const s=this._bindToInternalToExternalMap.get(n);return this._bindToInternalToExternalMap.delete(n),this._bindToExternalToInternalMap.delete(s),this.fire("remove",n,e),[n,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}Z(B());function ut(t){return Array.isArray(t)?t:[t]}!function(){const t=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],e=new RegExp("\\p{Regional_Indicator}{2}","u").source,o="(?:"+t.map((t=>t.source)).join("|")+")";new RegExp(`${e}|${o}(?:‍${o})*`,"ug")}();class dt extends lt{constructor(t=[]){super(t,{idProperty:"viewUid"}),this.on("add",((t,e,o)=>{this._renderViewIntoCollectionParent(e,o)})),this.on("remove",((t,e)=>{e.element&&this._parentElement&&e.element.remove()})),this._parentElement=null}destroy(){this.map((t=>t.destroy()))}setParent(t){this._parentElement=t;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...t){if(!t.length||!t.every((t=>"string"==typeof t)))throw new g("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const o of this)for(const n of t)o.delegate(n).to(e);this.on("add",((o,n)=>{for(const o of t)n.delegate(o).to(e)})),this.on("remove",((o,n)=>{for(const o of t)n.stopDelegating(o,e)}))}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}remove(t){return super.remove(t)}}const ht=function(){this.__data__=[],this.size=0};const ft=function(t,e){return t===e||t!=t&&e!=e};const pt=function(t,e){for(var o=t.length;o--;)if(ft(t[o][0],e))return o;return-1};var bt=Array.prototype.splice;const gt=function(t){var e=this.__data__,o=pt(e,t);return!(o<0)&&(o==e.length-1?e.pop():bt.call(e,o,1),--this.size,!0)};const mt=function(t){var e=this.__data__,o=pt(e,t);return o<0?void 0:e[o][1]};const vt=function(t){return pt(this.__data__,t)>-1};const kt=function(t,e){var o=this.__data__,n=pt(o,t);return n<0?(++this.size,o.push([t,e])):o[n][1]=e,this};function _t(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=ht,_t.prototype.delete=gt,_t.prototype.get=mt,_t.prototype.has=vt,_t.prototype.set=kt;const yt=_t;const wt=function(){this.__data__=new yt,this.size=0};const xt=function(t){var e=this.__data__,o=e.delete(t);return this.size=e.size,o};const Et=function(t){return this.__data__.get(t)};const jt=function(t){return this.__data__.has(t)};const Tt="object"==typeof global&&global&&global.Object===Object&&global;var Ot="object"==typeof self&&self&&self.Object===Object&&self;const St=Tt||Ot||Function("return this")();const At=St.Symbol;var Ct=Object.prototype,It=Ct.hasOwnProperty,Lt=Ct.toString,Pt=At?At.toStringTag:void 0;const Mt=function(t){var e=It.call(t,Pt),o=t[Pt];try{t[Pt]=void 0;var n=!0}catch(t){}var r=Lt.call(t);return n&&(e?t[Pt]=o:delete t[Pt]),r};var Ft=Object.prototype.toString;const Nt=function(t){return Ft.call(t)};var Rt=At?At.toStringTag:void 0;const Bt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Rt&&Rt in Object(t)?Mt(t):Nt(t)};const Dt=function(t){if(!I(t))return!1;var e=Bt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const zt=St["__core-js_shared__"];var Vt=function(){var t=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();const Ut=function(t){return!!Vt&&Vt in t};var Wt=Function.prototype.toString;const $t=function(t){if(null!=t){try{return Wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var Ht=/^\[object .+?Constructor\]$/,Kt=Function.prototype,Gt=Object.prototype,Zt=Kt.toString,qt=Gt.hasOwnProperty,Yt=RegExp("^"+Zt.call(qt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Xt=function(t){return!(!I(t)||Ut(t))&&(Dt(t)?Yt:Ht).test($t(t))};const Jt=function(t,e){return null==t?void 0:t[e]};const Qt=function(t,e){var o=Jt(t,e);return Xt(o)?o:void 0};const te=Qt(St,"Map");const ee=Qt(Object,"create");const oe=function(){this.__data__=ee?ee(null):{},this.size=0};const ne=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var re=Object.prototype.hasOwnProperty;const ie=function(t){var e=this.__data__;if(ee){var o=e[t];return"__lodash_hash_undefined__"===o?void 0:o}return re.call(e,t)?e[t]:void 0};var se=Object.prototype.hasOwnProperty;const ce=function(t){var e=this.__data__;return ee?void 0!==e[t]:se.call(e,t)};const ae=function(t,e){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=ee&&void 0===e?"__lodash_hash_undefined__":e,this};function le(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}le.prototype.clear=oe,le.prototype.delete=ne,le.prototype.get=ie,le.prototype.has=ce,le.prototype.set=ae;const ue=le;const de=function(){this.size=0,this.__data__={hash:new ue,map:new(te||yt),string:new ue}};const he=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const fe=function(t,e){var o=t.__data__;return he(e)?o["string"==typeof e?"string":"hash"]:o.map};const pe=function(t){var e=fe(this,t).delete(t);return this.size-=e?1:0,e};const be=function(t){return fe(this,t).get(t)};const ge=function(t){return fe(this,t).has(t)};const me=function(t,e){var o=fe(this,t),n=o.size;return o.set(t,e),this.size+=o.size==n?0:1,this};function ve(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var n=t[e];this.set(n[0],n[1])}}ve.prototype.clear=de,ve.prototype.delete=pe,ve.prototype.get=be,ve.prototype.has=ge,ve.prototype.set=me;const ke=ve;const _e=function(t,e){var o=this.__data__;if(o instanceof yt){var n=o.__data__;if(!te||n.length<199)return n.push([t,e]),this.size=++o.size,this;o=this.__data__=new ke(n)}return o.set(t,e),this.size=o.size,this};function ye(t){var e=this.__data__=new yt(t);this.size=e.size}ye.prototype.clear=wt,ye.prototype.delete=xt,ye.prototype.get=Et,ye.prototype.has=jt,ye.prototype.set=_e;const we=ye;const xe=function(t,e){for(var o=-1,n=null==t?0:t.length;++o<n&&!1!==e(t[o],o,t););return t};const Ee=function(){try{var t=Qt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const je=function(t,e,o){"__proto__"==e&&Ee?Ee(t,e,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[e]=o};var Te=Object.prototype.hasOwnProperty;const Oe=function(t,e,o){var n=t[e];Te.call(t,e)&&ft(n,o)&&(void 0!==o||e in t)||je(t,e,o)};const Se=function(t,e,o,n){var r=!o;o||(o={});for(var i=-1,s=e.length;++i<s;){var c=e[i],a=n?n(o[c],t[c],c,o,t):void 0;void 0===a&&(a=t[c]),r?je(o,c,a):Oe(o,c,a)}return o};const Ae=function(t,e){for(var o=-1,n=Array(t);++o<t;)n[o]=e(o);return n};const Ce=function(t){return null!=t&&"object"==typeof t};const Ie=function(t){return Ce(t)&&"[object Arguments]"==Bt(t)};var Le=Object.prototype,Pe=Le.hasOwnProperty,Me=Le.propertyIsEnumerable;const Fe=Ie(function(){return arguments}())?Ie:function(t){return Ce(t)&&Pe.call(t,"callee")&&!Me.call(t,"callee")};const Ne=Array.isArray;const Re=function(){return!1};var Be="object"==typeof exports&&exports&&!exports.nodeType&&exports,De=Be&&"object"==typeof module&&module&&!module.nodeType&&module,ze=De&&De.exports===Be?St.Buffer:void 0;const Ve=(ze?ze.isBuffer:void 0)||Re;var Ue=/^(?:0|[1-9]\d*)$/;const We=function(t,e){var o=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==o||"symbol"!=o&&Ue.test(t))&&t>-1&&t%1==0&&t<e};const $e=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var He={};He["[object Float32Array]"]=He["[object Float64Array]"]=He["[object Int8Array]"]=He["[object Int16Array]"]=He["[object Int32Array]"]=He["[object Uint8Array]"]=He["[object Uint8ClampedArray]"]=He["[object Uint16Array]"]=He["[object Uint32Array]"]=!0,He["[object Arguments]"]=He["[object Array]"]=He["[object ArrayBuffer]"]=He["[object Boolean]"]=He["[object DataView]"]=He["[object Date]"]=He["[object Error]"]=He["[object Function]"]=He["[object Map]"]=He["[object Number]"]=He["[object Object]"]=He["[object RegExp]"]=He["[object Set]"]=He["[object String]"]=He["[object WeakMap]"]=!1;const Ke=function(t){return Ce(t)&&$e(t.length)&&!!He[Bt(t)]};const Ge=function(t){return function(e){return t(e)}};var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,qe=Ze&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=qe&&qe.exports===Ze&&Tt.process;const Xe=function(){try{var t=qe&&qe.require&&qe.require("util").types;return t||Ye&&Ye.binding&&Ye.binding("util")}catch(t){}}();var Je=Xe&&Xe.isTypedArray;const Qe=Je?Ge(Je):Ke;var to=Object.prototype.hasOwnProperty;const eo=function(t,e){var o=Ne(t),n=!o&&Fe(t),r=!o&&!n&&Ve(t),i=!o&&!n&&!r&&Qe(t),s=o||n||r||i,c=s?Ae(t.length,String):[],a=c.length;for(var l in t)!e&&!to.call(t,l)||s&&("length"==l||r&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||We(l,a))||c.push(l);return c};var oo=Object.prototype;const no=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oo)};const ro=function(t,e){return function(o){return t(e(o))}};const io=ro(Object.keys,Object);var so=Object.prototype.hasOwnProperty;const co=function(t){if(!no(t))return io(t);var e=[];for(var o in Object(t))so.call(t,o)&&"constructor"!=o&&e.push(o);return e};const ao=function(t){return null!=t&&$e(t.length)&&!Dt(t)};const lo=function(t){return ao(t)?eo(t):co(t)};const uo=function(t,e){return t&&Se(e,lo(e),t)};const ho=function(t){var e=[];if(null!=t)for(var o in Object(t))e.push(o);return e};var fo=Object.prototype.hasOwnProperty;const po=function(t){if(!I(t))return ho(t);var e=no(t),o=[];for(var n in t)("constructor"!=n||!e&&fo.call(t,n))&&o.push(n);return o};const bo=function(t){return ao(t)?eo(t,!0):po(t)};const go=function(t,e){return t&&Se(e,bo(e),t)};var mo="object"==typeof exports&&exports&&!exports.nodeType&&exports,vo=mo&&"object"==typeof module&&module&&!module.nodeType&&module,ko=vo&&vo.exports===mo?St.Buffer:void 0,_o=ko?ko.allocUnsafe:void 0;const yo=function(t,e){if(e)return t.slice();var o=t.length,n=_o?_o(o):new t.constructor(o);return t.copy(n),n};const wo=function(t,e){var o=-1,n=t.length;for(e||(e=Array(n));++o<n;)e[o]=t[o];return e};const xo=function(t,e){for(var o=-1,n=null==t?0:t.length,r=0,i=[];++o<n;){var s=t[o];e(s,o,t)&&(i[r++]=s)}return i};const Eo=function(){return[]};var jo=Object.prototype.propertyIsEnumerable,To=Object.getOwnPropertySymbols;const Oo=To?function(t){return null==t?[]:(t=Object(t),xo(To(t),(function(e){return jo.call(t,e)})))}:Eo;const So=function(t,e){return Se(t,Oo(t),e)};const Ao=function(t,e){for(var o=-1,n=e.length,r=t.length;++o<n;)t[r+o]=e[o];return t};const Co=ro(Object.getPrototypeOf,Object);const Io=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ao(e,Oo(t)),t=Co(t);return e}:Eo;const Lo=function(t,e){return Se(t,Io(t),e)};const Po=function(t,e,o){var n=e(t);return Ne(t)?n:Ao(n,o(t))};const Mo=function(t){return Po(t,lo,Oo)};const Fo=function(t){return Po(t,bo,Io)};const No=Qt(St,"DataView");const Ro=Qt(St,"Promise");const Bo=Qt(St,"Set");const Do=Qt(St,"WeakMap");var zo="[object Map]",Vo="[object Promise]",Uo="[object Set]",Wo="[object WeakMap]",$o="[object DataView]",Ho=$t(No),Ko=$t(te),Go=$t(Ro),Zo=$t(Bo),qo=$t(Do),Yo=Bt;(No&&Yo(new No(new ArrayBuffer(1)))!=$o||te&&Yo(new te)!=zo||Ro&&Yo(Ro.resolve())!=Vo||Bo&&Yo(new Bo)!=Uo||Do&&Yo(new Do)!=Wo)&&(Yo=function(t){var e=Bt(t),o="[object Object]"==e?t.constructor:void 0,n=o?$t(o):"";if(n)switch(n){case Ho:return $o;case Ko:return zo;case Go:return Vo;case Zo:return Uo;case qo:return Wo}return e});const Xo=Yo;var Jo=Object.prototype.hasOwnProperty;const Qo=function(t){var e=t.length,o=new t.constructor(e);return e&&"string"==typeof t[0]&&Jo.call(t,"index")&&(o.index=t.index,o.input=t.input),o};const tn=St.Uint8Array;const en=function(t){var e=new t.constructor(t.byteLength);return new tn(e).set(new tn(t)),e};const on=function(t,e){var o=e?en(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)};var nn=/\w*$/;const rn=function(t){var e=new t.constructor(t.source,nn.exec(t));return e.lastIndex=t.lastIndex,e};var sn=At?At.prototype:void 0,cn=sn?sn.valueOf:void 0;const an=function(t){return cn?Object(cn.call(t)):{}};const ln=function(t,e){var o=e?en(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)};const un=function(t,e,o){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return en(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return on(t,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ln(t,o);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return rn(t);case"[object Symbol]":return an(t)}};var dn=Object.create;const hn=function(){function t(){}return function(e){if(!I(e))return{};if(dn)return dn(e);t.prototype=e;var o=new t;return t.prototype=void 0,o}}();const fn=function(t){return"function"!=typeof t.constructor||no(t)?{}:hn(Co(t))};const pn=function(t){return Ce(t)&&"[object Map]"==Xo(t)};var bn=Xe&&Xe.isMap;const gn=bn?Ge(bn):pn;const mn=function(t){return Ce(t)&&"[object Set]"==Xo(t)};var vn=Xe&&Xe.isSet;const kn=vn?Ge(vn):mn;var _n="[object Arguments]",yn="[object Function]",wn="[object Object]",xn={};xn[_n]=xn["[object Array]"]=xn["[object ArrayBuffer]"]=xn["[object DataView]"]=xn["[object Boolean]"]=xn["[object Date]"]=xn["[object Float32Array]"]=xn["[object Float64Array]"]=xn["[object Int8Array]"]=xn["[object Int16Array]"]=xn["[object Int32Array]"]=xn["[object Map]"]=xn["[object Number]"]=xn[wn]=xn["[object RegExp]"]=xn["[object Set]"]=xn["[object String]"]=xn["[object Symbol]"]=xn["[object Uint8Array]"]=xn["[object Uint8ClampedArray]"]=xn["[object Uint16Array]"]=xn["[object Uint32Array]"]=!0,xn["[object Error]"]=xn[yn]=xn["[object WeakMap]"]=!1;const En=function t(e,o,n,r,i,s){var c,a=1&o,l=2&o,u=4&o;if(n&&(c=i?n(e,r,i,s):n(e)),void 0!==c)return c;if(!I(e))return e;var d=Ne(e);if(d){if(c=Qo(e),!a)return wo(e,c)}else{var h=Xo(e),f=h==yn||"[object GeneratorFunction]"==h;if(Ve(e))return yo(e,a);if(h==wn||h==_n||f&&!i){if(c=l||f?{}:fn(e),!a)return l?Lo(e,go(c,e)):So(e,uo(c,e))}else{if(!xn[h])return i?e:{};c=un(e,h,a)}}s||(s=new we);var p=s.get(e);if(p)return p;s.set(e,c),kn(e)?e.forEach((function(r){c.add(t(r,o,n,r,e,s))})):gn(e)&&e.forEach((function(r,i){c.set(i,t(r,o,n,i,e,s))}));var b=d?void 0:(u?l?Fo:Mo:l?bo:lo)(e);return xe(b||e,(function(r,i){b&&(r=e[i=r]),Oe(c,i,t(r,o,n,i,e,s))})),c};const jn=function(t,e){return En(t,5,e="function"==typeof e?e:void 0)};class Tn extends(x()){constructor(t){super(),Object.assign(this,Nn(Fn(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,intoFragment:!1,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new g("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const o of e.children)Un(o)?yield o:Wn(o)&&(yield*t(o))}(this)}static bind(t,e){return{to:(o,n)=>new Sn({eventNameOrFunction:o,attribute:o,observable:t,emitter:e,callback:n}),if:(o,n,r)=>new An({observable:t,emitter:e,attribute:o,valueIfTrue:n,callback:r})}}static extend(t,e){if(t._isRendered)throw new g("template-extend-render",[this,t]);zn(t,Nn(Fn(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new g("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Cn(this.text)?this._bindToObservable({schema:this.text,updater:Ln(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){if(!this.attributes)return;const e=t.node,o=t.revertData;for(const n in this.attributes){const r=e.getAttribute(n),i=this.attributes[n];o&&(o.attributes[n]=r);const s=Hn(i)?i[0].ns:null;if(Cn(i)){const c=Hn(i)?i[0].value:i;o&&Kn(n)&&c.unshift(r),this._bindToObservable({schema:c,updater:Pn(e,n,s),data:t})}else if("style"==n&&"string"!=typeof i[0])this._renderStyleAttribute(i[0],t);else{o&&r&&Kn(n)&&i.unshift(r);const t=i.map((t=>t&&t.value||t)).reduce(((t,e)=>t.concat(e)),[]).reduce(Bn,"");Vn(t)||e.setAttributeNS(s,n,t)}}}_renderStyleAttribute(t,e){const o=e.node;for(const n in t){const r=t[n];Cn(r)?this._bindToObservable({schema:[r],updater:Mn(o,n),data:e}):o.style[n]=r}}_renderElementChildren(t){const e=t.node,o=t.intoFragment?document.createDocumentFragment():e,n=t.isApplying;let r=0;for(const i of this.children)if($n(i)){if(!n){i.setParent(e);for(const t of i)o.appendChild(t.element)}}else if(Un(i))n||(i.isRendered||i.render(),o.appendChild(i.element));else if(H(i))o.appendChild(i);else if(n){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),i._renderNode({intoFragment:!1,node:o.childNodes[r++],isApplying:!0,revertData:e})}else o.appendChild(i.render());t.intoFragment&&e.appendChild(o)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const o=this.eventListeners[e].map((o=>{const[n,r]=e.split("@");return o.activateDomEventListener(n,r,t)}));t.revertData&&t.revertData.bindings.push(o)}}_bindToObservable({schema:t,updater:e,data:o}){const n=o.revertData;In(t,e,o);const r=t.filter((t=>!Vn(t))).filter((t=>t.observable)).map((n=>n.activateAttributeListener(t,e,o)));n&&n.bindings.push(r)}_revertTemplateFromNode(t,e){for(const t of e.bindings)for(const e of t)e();if(e.text)return void(t.textContent=e.text);const o=t;for(const t in e.attributes){const n=e.attributes[t];null===n?o.removeAttribute(t):o.setAttribute(t,n)}for(let t=0;t<e.children.length;++t)this._revertTemplateFromNode(o.childNodes[t],e.children[t])}}class On{constructor(t){this.attribute=t.attribute,this.observable=t.observable,this.emitter=t.emitter,this.callback=t.callback}getValue(t){const e=this.observable[this.attribute];return this.callback?this.callback(e,t):e}activateAttributeListener(t,e,o){const n=()=>In(t,e,o);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,n),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,n)}}}class Sn extends On{constructor(t){super(t),this.eventNameOrFunction=t.eventNameOrFunction}activateDomEventListener(t,e,o){const n=(t,o)=>{e&&!o.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(o):this.observable.fire(this.eventNameOrFunction,o))};return this.emitter.listenTo(o.node,t,n),()=>{this.emitter.stopListening(o.node,t,n)}}}class An extends On{constructor(t){super(t),this.valueIfTrue=t.valueIfTrue}getValue(t){return!Vn(super.getValue(t))&&(this.valueIfTrue||!0)}}function Cn(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Cn):t instanceof On)}function In(t,e,{node:o}){const n=function(t,e){return t.map((t=>t instanceof On?t.getValue(e):t))}(t,o);let r;r=1==t.length&&t[0]instanceof An?n[0]:n.reduce(Bn,""),Vn(r)?e.remove():e.set(r)}function Ln(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function Pn(t,e,o){return{set(n){t.setAttributeNS(o,e,n)},remove(){t.removeAttributeNS(o,e)}}}function Mn(t,e){return{set(o){t.style[e]=o},remove(){t.style[e]=null}}}function Fn(t){return jn(t,(t=>{if(t&&(t instanceof On||Wn(t)||Un(t)||$n(t)))return t}))}function Nn(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=ut(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)Rn(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=ut(t[e].value)),Rn(t,e)}(t.attributes);const e=[];if(t.children)if($n(t.children))e.push(t.children);else for(const o of t.children)Wn(o)||Un(o)||H(o)?e.push(o):e.push(new Tn(o));t.children=e}return t}function Rn(t,e){t[e]=ut(t[e])}function Bn(t,e){return Vn(e)?t:Vn(t)?e:`${t} ${e}`}function Dn(t,e){for(const o in e)t[o]?t[o].push(...e[o]):t[o]=e[o]}function zn(t,e){if(e.attributes&&(t.attributes||(t.attributes={}),Dn(t.attributes,e.attributes)),e.eventListeners&&(t.eventListeners||(t.eventListeners={}),Dn(t.eventListeners,e.eventListeners)),e.text&&t.text.push(...e.text),e.children&&e.children.length){if(t.children.length!=e.children.length)throw new g("ui-template-extend-children-mismatch",t);let o=0;for(const n of e.children)zn(t.children[o++],n)}}function Vn(t){return!t&&0!==t}function Un(t){return t instanceof Xn}function Wn(t){return t instanceof Tn}function $n(t){return t instanceof dt}function Hn(t){return I(t[0])&&t[0].ns}function Kn(t){return"class"==t||"style"==t}var Gn=o(62),Zn=o.n(Gn),qn=o(647),Yn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(qn.Z,Yn);qn.Z.locals;class Xn extends(Z(B())){constructor(t){super(),this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new lt,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((e,o)=>{o.locale=t,o.t=t&&t.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Tn.bind(this,this)}createCollection(t){const e=new dt(t);return this._viewCollections.add(e),e}registerChild(t){$(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){$(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Tn(t)}extendTemplate(t){Tn.extend(this.template,t)}render(){if(this.isRendered)throw new g("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((t=>t.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}var Jn=o(452),Qn={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(Jn.Z,Qn);Jn.Z.locals;const tr=(er="px",t=>t+er);var er;class or extends Xn{constructor(t,e,o=!1){super(t);const n=this.bindTemplate;this.containerElement=e||J.window,this.panelAbsolute=o,this.set("position",null),this.set("panel_height",0),this.set("panel_width",0),this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new Tn({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:n.to("isSticky",(t=>t?"block":"none")),height:n.to("panel_height",(t=>tr(t))),width:n.to("panel_width",(t=>tr(t)))}}}).render(),this._contentPanel=new Tn({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",n.if("isSticky","ck-sticky-panel__content_sticky"),n.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{position:n.to("position",(t=>t)),width:n.to("isSticky",(t=>t?tr(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:n.to("_stickyTopOffset",(t=>t?tr(t):t)),bottom:n.to("_stickyBottomOffset",(t=>t?tr(t):t)),marginLeft:n.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(this.containerElement,"scroll",(()=>{this.checkIfShouldBeSticky()}),{useCapture:!0}),this.listenTo(this,"change:isActive",(()=>{this.checkIfShouldBeSticky()}))}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();this.panel_height=this._contentPanelRect.height,this.panel_width=this._contentPanelRect.width;const t=new et(this.limiterElement);let e=t.getVisible();if(e){const o=new et(this.containerElement);t.top-=o.top,t.bottom-=o.top,o.top+=this.viewportTopOffset,o.height-=this.viewportTopOffset,e=e.getIntersection(o)}if(e&&t.top<e.top){const o=e.top;if(o+this._contentPanelRect.height+this.limiterBottomOffset>e.bottom){const o=Math.max(t.bottom-e.bottom,0)+this.limiterBottomOffset;t.bottom-o>t.top+this._contentPanelRect.height?this.panelAbsolute||this._stickToBottomOfLimiter(o):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset<t.height?this.panelAbsolute?t.top<0&&-t.top<t.height-this.limiterBottomOffset?this._stickToTopOfAncestors(-t.top,"absolute"):this._unstick():this._stickToTopOfAncestors(o,null):this._unstick()}else this._unstick()}_stickToTopOfAncestors(t,e){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!1,this._stickyBottomOffset=null,this._stickyTopOffset=t,this._marginLeft=tr(-J.window.scrollX),this.position=e}_stickToBottomOfLimiter(t){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!0,this._stickyTopOffset=null,this._stickyBottomOffset=t,this._marginLeft=tr(-J.window.scrollX),this.position=null}_unstick(){this.isSticky=!1,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=null,this._stickyBottomOffset=null,this._marginLeft=null,this.position=null}get _contentPanelRect(){return new et(this._contentPanel)}}var nr=o(176),rr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};Zn()(nr.Z,rr);nr.Z.locals;class ir extends t.BoxedEditorUIView{constructor(e,o,n={}){super(e),this.stickyPanel=new or(e,n.containerElement,n.panelAbsolute),this.toolbar=new t.ToolbarView(e,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull}),this.editable=new t.InlineEditableUIView(e,o)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}var sr=o(704),cr=o(434),ar=Function.prototype,lr=Object.prototype,ur=ar.toString,dr=lr.hasOwnProperty,hr=ur.call(Object);const fr=function(t){if(!Ce(t)||"[object Object]"!=Bt(t))return!1;var e=Co(t);if(null===e)return!0;var o=dr.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&ur.call(o)==hr};const pr=function(t){return Ce(t)&&1===t.nodeType&&!fr(t)};class br extends((0,sr.DataApiMixin)((0,sr.ElementApiMixin)(sr.Editor))){constructor(t,e={}){if(!gr(t)&&void 0!==e.initialData)throw new r.CKEditorError("editor-create-initial-data",null);super(e),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return gr(t)?(0,r.getDataFromElement)(t):t}(t)),gr(t)&&(this.sourceElement=t),this.model.document.createRoot();const o=!this.config.get("toolbar.shouldNotGroupWhenFull"),n=new ir(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:o,containerElement:e.containerElement,panelAbsolute:e.panelAbsolute});this.ui=new i(this,n),(0,sr.attachToForm)(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise((o=>{const n=new this(t,e);o(n.initPlugins().then((()=>n.ui.init(gr(t)?t:null))).then((()=>n.data.init(n.config.get("initialData")))).then((()=>n.fire("ready"))).then((()=>n)))}))}}function gr(t){return pr(t)}br.Context=sr.Context,br.EditorWatchdog=cr.EditorWatchdog,br.ContextWatchdog=cr.ContextWatchdog})(),(window.CKEditor5=window.CKEditor5||{}).editorClassicFloating=n})();