ckeditor5-collaboration 44.3.0 → 45.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -14,7 +14,7 @@ Where not otherwise indicated, all CKEditor 5 Collaboration features conten
14
14
 
15
15
  The following libraries are included in CKEditor 5 Collaboration features under the [MIT license](https://opensource.org/licenses/MIT):
16
16
 
17
- * 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
+ * es-toolkit - Copyright (c) 2024 Viva Republica, Inc.
18
18
 
19
19
  Trademarks
20
20
  ----------
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var e={"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-aria-description{display:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0;overflow:hidden}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../../../node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),u=new URL(r("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"),r.b),l=i()(o()),d=c()(u);l.push([e.id,`:root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(${d});display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}`,""]);const m=l},"../../../../node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",s=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),s&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),s&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,s,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);s&&i[l[0]]||(void 0!==n&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=n),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},"../../../../node_modules/css-loader/dist/runtime/getUrl.js":e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":e=>{"use strict";var t=[];function r(e){for(var r=-1,s=0;s<t.length;s++)if(t[s].identifier===e){r=s;break}return r}function s(e,s){for(var n={},i=[],a=0;a<e.length;a++){var c=e[a],u=s.base?c[0]+s.base:c[0],l=n[u]||0,d="".concat(u," ").concat(l);n[u]=l+1;var m=r(d),k={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(k);else{var g=o(k,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:g,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var n=s(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<n.length;i++){var a=r(n[i]);t[a].references--}for(var c=s(e,o),u=0;u<n.length;u++){var l=r(n[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}n=c}}},"../../../../node_modules/style-loader/dist/runtime/insertBySelector.js":e=>{"use strict";var t={};e.exports=function(e,r){var s=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);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(r)}},"../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js":e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js":e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}},"../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js":e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function s(e,t,s,o){var n;if(s)n="";else{n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,i&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,n);else{var a=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,r=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){s(r,t,!1,e)},remove:function(e){s(r,t,!0,e)}}}},"./src/collaboration-core.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{AriaDescriptionView:()=>M,ConfirmMixin:()=>Ks,FOCUS_ANNOTATION_KEYSTROKE:()=>co,LateFocusButtonView:()=>N,LateFocusDropdownButtonView:()=>j,Permissions:()=>n,UserView:()=>O,Users:()=>y,getAllMarkersDomElementsSorted:()=>Rs,getDateTimeFormatter:()=>Hs,getMarkerDomElement:()=>qs,hashObject:()=>Gs,icons:()=>Ao,sanitizeEditorConfig:()=>io,setupThreadKeyboardNavigation:()=>uo,surroundingMarkersDetector:()=>ao,trimHtml:()=>Ys});var s=r("ckeditor5/src/core.js"),o=r("ckeditor5/src/utils.js");class n extends s.ContextPlugin{static get pluginName(){return"Permissions"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}setPermissions(e,t){let r;if(t||(t=this.context.config.get("collaboration.channelId")),this.context.config.get("collaboration.channelId")==t?r=this.context:"editors"in this.context&&this.context.editors&&(r=this.context.editors.find((e=>e.config.get("collaboration.channelId")==t))),!r)throw new o.CKEditorError("permissions-set-permissions-invalid-channel-id",null);const n=r.plugins,i=n.has("CommentsRepository")?n.get("CommentsRepository"):void 0,a=n.has("CommentsOnly")&&n.get("CommentsOnly"),c=e.includes("document:write"),u=e.includes("comment:modify_all"),l=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||l,k=m||u,g=c||m;if(a&&(a.isEnabled=!c&&k),r instanceof s.Editor){!(c||k&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:l,modifyAll:u,write:d,resolve:g},t);const e=r instanceof s.Editor&&r.commands.get("addCommentThread");e&&(m?e.clearForceDisabled("noPermissions"):e.forceDisabled("noPermissions"))}}}function i(e,t){const r=e.t;switch(t){case"Anonymous":return r("Anonymous");case"Yes":return r("Yes");case"No":return r("No");case"Are you sure?":return r("Are you sure?");default:return""}}var a=r("../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),u=r("../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),l=r.n(u),d=r("../../../../node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),k=r("../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),g=r.n(k),h=r("../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(h),b=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),p={attributes:{"data-cke":!0}};p.setAttributes=g(),p.insert=m().bind(null,"head"),p.domAPI=l(),p.insertStyleElement=f();c()(b.A,p);b.A&&b.A.locals&&b.A.locals;class y extends s.ContextPlugin{static get pluginName(){return"Users"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}static get requires(){return[n]}constructor(e){super(e),this.context.config.define("users.anonymousUserId","anonymous-user"),this.context.config.define("users.colorsCount",8),this.users=new o.Collection,this._locale=e.locale,this._lastColor=0,this._myId=null,this.decorate("getOperationAuthor")}init(){this._addAnonymousUser()}get me(){return null==this._myId?null:this.getUser(this._myId)}addUser({id:e,name:t,...r}){if(!e||"string"!=typeof e)throw new o.CKEditorError("users-add-invalid-id");if(this.users.has(e))throw new o.CKEditorError("users-add-duplicated-id",null,{id:e});const s=this.context.config.get("users.getInitialsCallback"),n={...r,id:e,name:w(this._locale,t),color:this._getNextColor()};n.name=w(this._locale,n.name);const i=new v(n,s);return this.users.add(i),i}getUser(e){return this.users.get(e)}useAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this._myId||this.defineMe(e)}defineMe(e){if(this._myId)throw new o.CKEditorError("users-me-already-defined",null);const t=this.getUser(e);if(!t)throw new o.CKEditorError("users-me-missing-user",null);this._myId=e,t._isMe=!0}getOperationAuthor(){return this.me}_getNextColor(){const e=this.context.config.get("users.colorsCount");return this._lastColor>=e&&(this._lastColor=0),new _(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class v{constructor(e,t){this.id=e.id,this.color=e.color,this.name=e.name,this.initials=t?t(this.name):this._computeInitials(),this.avatar=e.avatar,this._isAnonymous=!1,this._isMe=!1}get isAnonymous(){return this._isAnonymous}get isMe(){return this._isMe}_computeInitials(){const e=this.name.split(" ").filter((e=>/^[\p{Letter}]/u.test(e)));return 1===e.length?this._getInitial(e[0]):0===e.length?this._getInitial(this.name):this._getInitial(e[0])+this._getInitial(e[e.length-1])}_getInitial(e){return String.fromCodePoint(e.codePointAt(0)).toUpperCase()}}function w(e,t=""){return""==(t=t.trim())?i(e,"Anonymous"):t}class _{constructor(e){this._id=e}getBackgroundColorClass(){return`ck-user__bg-color--${this._id}`}getSelectionClass(){return`ck-user__selection--${this._id}`}getMarkerClass(){return`ck-user__marker--${this._id}`}}var x=r("ckeditor5/src/ui.js");var S=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),T={attributes:{"data-cke":!0}};T.setAttributes=g(),T.insert=m().bind(null,"head"),T.domAPI=l(),T.insertStyleElement=f();c()(S.A,T);S.A&&S.A.locals&&S.A.locals;class O extends x.View{constructor(e,t,r){super(e),this.name=t.name,this.notificationView=null;const s=["ck","ck-user"],o=["ck","ck-user__img"];if(t.isAnonymous&&o.push("ck-user__anonymous"),!t.isAnonymous&&t.isMe&&s.push("ck-user_me"),t.avatar&&o.push("ck-user__avatar"),r){const e=new x.IconView;e.extendTemplate({attributes:{class:["ck-user__icon"]}}),e.content='\x3c!--\n\n What you\'re currently looking at is the source code of a legally protected, proprietary software.\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\n\n Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 15H9v-2h2v2zm0-4H9V5h2v6z"/></svg>\n',this.notificationView={tag:"div",attributes:{class:["ck","ck-user__notification"],"data-cke-tooltip-position":"n","data-cke-tooltip-text":r},children:[e]}}const n=[{tag:"div",attributes:{class:o,style:{"background-image":t.avatar?`url('${t.avatar}')`:""}}},{tag:"div",attributes:{class:t.avatar?"ck ck-user__name ck-user__name--hidden":"ck ck-user__name","aria-label":t.name},children:[{text:t.initials}]}];this.notificationView&&n.push(this.notificationView),this.setTemplate({tag:"div",attributes:{class:s,"data-user-id":t.id},children:n})}}class M extends x.View{constructor(e,t){super(e),this.id=`ck-aria-description-${(0,o.uid)()}`,this.setTemplate({tag:"span",attributes:{class:["ck","ck-aria-description"],id:this.id},children:[{text:t}]})}}class N extends x.ButtonView{render(){super.render(),C(this)}}class j extends x.DropdownButtonView{render(){super.render(),C(this)}}function C(e){e.listenTo(e.element,"mousedown",((e,t)=>{t.stopPropagation(),t.preventDefault()})),e.listenTo(e.element,"mouseup",(()=>{e.element.focus()}))}class I extends Error{}class E extends I{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class D extends I{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class V extends I{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class A extends I{}class F extends I{constructor(e){super(`Invalid unit ${e}`)}}class Z extends I{}class $ extends I{constructor(){super("Zone is an abstract class")}}const W="numeric",z="short",L="long",P={year:W,month:W,day:W},U={year:W,month:z,day:W},H={year:W,month:z,day:W,weekday:z},q={year:W,month:L,day:W},R={year:W,month:L,day:W,weekday:L},Y={hour:W,minute:W},B={hour:W,minute:W,second:W},J={hour:W,minute:W,second:W,timeZoneName:z},K={hour:W,minute:W,second:W,timeZoneName:L},G={hour:W,minute:W,hourCycle:"h23"},Q={hour:W,minute:W,second:W,hourCycle:"h23"},X={hour:W,minute:W,second:W,hourCycle:"h23",timeZoneName:z},ee={hour:W,minute:W,second:W,hourCycle:"h23",timeZoneName:L},te={year:W,month:W,day:W,hour:W,minute:W},re={year:W,month:W,day:W,hour:W,minute:W,second:W},se={year:W,month:z,day:W,hour:W,minute:W},oe={year:W,month:z,day:W,hour:W,minute:W,second:W},ne={year:W,month:z,day:W,weekday:z,hour:W,minute:W},ie={year:W,month:L,day:W,hour:W,minute:W,timeZoneName:z},ae={year:W,month:L,day:W,hour:W,minute:W,second:W,timeZoneName:z},ce={year:W,month:L,day:W,weekday:L,hour:W,minute:W,timeZoneName:L},ue={year:W,month:L,day:W,weekday:L,hour:W,minute:W,second:W,timeZoneName:L};class le{get type(){throw new $}get name(){throw new $}get ianaName(){return this.name}get isUniversal(){throw new $}offsetName(e,t){throw new $}formatOffset(e,t){throw new $}offset(e){throw new $}equals(e){throw new $}get isValid(){throw new $}}let de=null;class me extends le{static get instance(){return null===de&&(de=new me),de}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Ct(e,t,r)}formatOffset(e,t){return Vt(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let ke={};const ge={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let he={};class fe extends le{static create(e){return he[e]||(he[e]=new fe(e)),he[e]}static resetCache(){he={},ke={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=fe.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Ct(e,t,r,this.name)}formatOffset(e,t){return Vt(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const r=(s=this.name,ke[s]||(ke[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ke[s]);var s;let[o,n,i,a,c,u,l]=r.formatToParts?function(e,t){const r=e.formatToParts(t),s=[];for(let e=0;e<r.length;e++){const{type:t,value:o}=r[e],n=ge[t];"era"===t?s[n]=o:ut(n)||(s[n]=parseInt(o,10))}return s}(r,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,n,i,a,c,u,l]=s;return[i,o,n,a,c,u,l]}(r,t);"BC"===a&&(o=1-Math.abs(o));let d=+t;const m=d%1e3;return d-=m>=0?m:1e3+m,(Ot({year:o,month:n,day:i,hour:24===c?0:c,minute:u,second:l,millisecond:0})-d)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let be={};let pe={};function ye(e,t={}){const r=JSON.stringify([e,t]);let s=pe[r];return s||(s=new Intl.DateTimeFormat(e,t),pe[r]=s),s}let ve={};let we={};let _e=null;let xe={};function Se(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class Te{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...n}=r;if(!t||Object.keys(n).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){const r=JSON.stringify([e,t]);let s=ve[r];return s||(s=new Intl.NumberFormat(e,t),ve[r]=s),s}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return pt(this.floor?Math.floor(e):_t(e,3),this.padTo)}}class Oe{constructor(e,t,r){let s;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&fe.create(r).valid?(s=r,this.dt=e):(s="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=ye(t,o)}format(){return this.originalZone?this.formatToParts().map((({value:e})=>e)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map((e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e})):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Me{constructor(e,t,r){this.opts={style:"long",...r},!t&&mt()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=we[o];return n||(n=new Intl.RelativeTimeFormat(e,t),we[o]=n),n}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",s=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},n=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&n){const r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${o[e][0]}`;case-1:return r?"yesterday":`last ${o[e][0]}`;case 0:return r?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),c=1===a,u=o[e],l=s?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return i?`${a} ${l} ago`:`in ${a} ${l}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Ne={firstDay:1,minimalDays:4,weekend:[6,7]};class je{static fromOpts(e){return je.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||Ye.defaultLocale,i=n||(o?"en-US":_e||(_e=(new Intl.DateTimeFormat).resolvedOptions().locale,_e)),a=t||Ye.defaultNumberingSystem,c=r||Ye.defaultOutputCalendar,u=ft(s)||Ye.defaultWeekSettings;return new je(i,a,c,u,n)}static resetCache(){_e=null,pe={},ve={},we={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return je.create(e,t,r,s)}constructor(e,t,r,s,o){const[n,i,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(-1===r)return[e];{let t,s;try{t=ye(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=ye(n).resolvedOptions(),s=n}const{numberingSystem:o,calendar:n}=t;return[s,o,n]}}(e);this.locale=n,this.numberingSystem=t||i||null,this.outputCalendar=r||a||null,this.weekSettings=s,this.intl=function(e,t,r){return r||t?(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?je.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,ft(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Se(this,e,Wt,(()=>{const r=t?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=function(e){const t=[];for(let r=1;r<=12;r++){const s=Ps.utc(2009,r,1);t.push(e(s))}return t}((e=>this.extract(e,r,"month")))),this.monthsCache[s][e]}))}weekdays(e,t=!1){return Se(this,e,Ut,(()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=function(e){const t=[];for(let r=1;r<=7;r++){const s=Ps.utc(2016,11,13+r);t.push(e(s))}return t}((e=>this.extract(e,r,"weekday")))),this.weekdaysCache[s][e]}))}meridiems(){return Se(this,void 0,(()=>Ht),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ps.utc(2016,11,13,9),Ps.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Se(this,e,Bt,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Ps.utc(-40,1,1),Ps.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,r){const s=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===r));return s?s.value:null}numberFormatter(e={}){return new Te(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Oe(e,this.intl,t)}relFormatter(e={}){return new Me(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=be[r];return s||(s=new Intl.ListFormat(e,t),be[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:kt()?function(e){let t=xe[e];if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,xe[e]=t}return t}(this.locale):Ne}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ce=null;class Ie extends le{static get utcInstance(){return null===Ce&&(Ce=new Ie(0)),Ce}static instance(e){return 0===e?Ie.utcInstance:new Ie(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Ie(It(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Vt(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Vt(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return Vt(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class Ee extends le{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function De(e,t){if(ut(e)||null===e)return t;if(e instanceof le)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?me.instance:"utc"===r||"gmt"===r?Ie.utcInstance:Ie.parseSpecifier(r)||fe.create(e)}return lt(e)?Ie.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new Ee(e)}const Ve={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ae={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Fe=Ve.hanidec.replace(/[\[|\]]/g,"").split("");let Ze={};function $e({numberingSystem:e},t=""){const r=e||"latn";return Ze[r]||(Ze[r]={}),Ze[r][t]||(Ze[r][t]=new RegExp(`${Ve[r]}${t}`)),Ze[r][t]}let We,ze=()=>Date.now(),Le="system",Pe=null,Ue=null,He=null,qe=60,Re=null;class Ye{static get now(){return ze}static set now(e){ze=e}static set defaultZone(e){Le=e}static get defaultZone(){return De(Le,me.instance)}static get defaultLocale(){return Pe}static set defaultLocale(e){Pe=e}static get defaultNumberingSystem(){return Ue}static set defaultNumberingSystem(e){Ue=e}static get defaultOutputCalendar(){return He}static set defaultOutputCalendar(e){He=e}static get defaultWeekSettings(){return Re}static set defaultWeekSettings(e){Re=ft(e)}static get twoDigitCutoffYear(){return qe}static set twoDigitCutoffYear(e){qe=e%100}static get throwOnInvalid(){return We}static set throwOnInvalid(e){We=e}static resetCaches(){je.resetCache(),fe.resetCache(),Ps.resetCache(),Ze={}}}class Be{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Je=[0,31,59,90,120,151,181,212,243,273,304,334],Ke=[0,31,60,91,121,152,182,213,244,274,305,335];function Ge(e,t){return new Be("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Qe(e,t,r){const s=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return 0===o?7:o}function Xe(e,t,r){return r+(xt(e)?Ke:Je)[t-1]}function et(e,t){const r=xt(e)?Ke:Je,s=r.findIndex((e=>e<t));return{month:s+1,day:t-r[s]}}function tt(e,t){return(e-t+7)%7+1}function rt(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=Xe(s,o,n),a=tt(Qe(s,o,n),r);let c,u=Math.floor((i-a+14-t)/7);return u<1?(c=s-1,u=Nt(c,t,r)):u>Nt(s,t,r)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...At(e)}}function st(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=tt(Qe(s,1,t),r),a=St(s);let c,u=7*o+n-i-7+t;u<1?(c=s-1,u+=St(c)):u>a?(c=s+1,u-=St(s)):c=s;const{month:l,day:d}=et(c,u);return{year:c,month:l,day:d,...At(e)}}function ot(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:Xe(t,r,s),...At(e)}}function nt(e){const{year:t,ordinal:r}=e,{month:s,day:o}=et(t,r);return{year:t,month:s,day:o,...At(e)}}function it(e,t){if(!ut(e.localWeekday)||!ut(e.localWeekNumber)||!ut(e.localWeekYear)){if(!ut(e.weekday)||!ut(e.weekNumber)||!ut(e.weekYear))throw new A("Cannot mix locale-based week fields with ISO-based week fields");return ut(e.localWeekday)||(e.weekday=e.localWeekday),ut(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),ut(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function at(e){const t=dt(e.year),r=bt(e.month,1,12),s=bt(e.day,1,Tt(e.year,e.month));return t?r?!s&&Ge("day",e.day):Ge("month",e.month):Ge("year",e.year)}function ct(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=bt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=bt(r,0,59),a=bt(s,0,59),c=bt(o,0,999);return n?i?a?!c&&Ge("millisecond",o):Ge("second",s):Ge("minute",r):Ge("hour",t)}function ut(e){return void 0===e}function lt(e){return"number"==typeof e}function dt(e){return"number"==typeof e&&e%1==0}function mt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function kt(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function gt(e,t,r){if(0!==e.length)return e.reduce(((e,s)=>{const o=[t(s),s];return e&&r(e[0],o[0])===e[0]?e:o}),null)[1]}function ht(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ft(e){if(null==e)return null;if("object"!=typeof e)throw new Z("Week settings must be an object");if(!bt(e.firstDay,1,7)||!bt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!bt(e,1,7))))throw new Z("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function bt(e,t,r){return dt(e)&&e>=t&&e<=r}function pt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function yt(e){return ut(e)||null===e||""===e?void 0:parseInt(e,10)}function vt(e){return ut(e)||null===e||""===e?void 0:parseFloat(e)}function wt(e){if(!ut(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function _t(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function xt(e){return e%4==0&&(e%100!=0||e%400==0)}function St(e){return xt(e)?366:365}function Tt(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?xt(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Ot(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Mt(e,t,r){return-tt(Qe(e,1,t),r)+t-1}function Nt(e,t=4,r=1){const s=Mt(e,t,r),o=Mt(e+1,t,r);return(St(e)-s+o)/7}function jt(e){return e>99?e:e>Ye.twoDigitCutoffYear?1900+e:2e3+e}function Ct(e,t,r,s=null){const o=new Date(e),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(n.timeZone=s);const i={timeZoneName:t,...n},a=new Intl.DateTimeFormat(r,i).formatToParts(o).find((e=>"timezonename"===e.type.toLowerCase()));return a?a.value:null}function It(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const s=parseInt(t,10)||0;return 60*r+(r<0||Object.is(r,-0)?-s:s)}function Et(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new Z(`Invalid unit value ${e}`);return t}function Dt(e,t){const r={};for(const s in e)if(ht(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=Et(o)}return r}function Vt(e,t){const r=Math.trunc(Math.abs(e/60)),s=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${pt(r,2)}:${pt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${pt(r,2)}${pt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function At(e){return function(e,t){return t.reduce(((t,r)=>(t[r]=e[r],t)),{})}(e,["hour","minute","second","millisecond"])}const Ft=["January","February","March","April","May","June","July","August","September","October","November","December"],Zt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],$t=["J","F","M","A","M","J","J","A","S","O","N","D"];function Wt(e){switch(e){case"narrow":return[...$t];case"short":return[...Zt];case"long":return[...Ft];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const zt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Lt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Pt=["M","T","W","T","F","S","S"];function Ut(e){switch(e){case"narrow":return[...Pt];case"short":return[...Lt];case"long":return[...zt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ht=["AM","PM"],qt=["Before Christ","Anno Domini"],Rt=["BC","AD"],Yt=["B","A"];function Bt(e){switch(e){case"narrow":return[...Yt];case"short":return[...Rt];case"long":return[...qt];default:return null}}function Jt(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Kt={D:P,DD:U,DDD:q,DDDD:R,t:Y,tt:B,ttt:J,tttt:K,T:G,TT:Q,TTT:X,TTTT:ee,f:te,ff:se,fff:ie,ffff:ce,F:re,FF:oe,FFF:ae,FFFF:ue};class Gt{static create(e,t={}){return new Gt(e,t)}static parseFormat(e){let t=null,r="",s=!1;const o=[];for(let n=0;n<e.length;n++){const i=e.charAt(n);"'"===i?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),t=null,r="",s=!s):s||i===t?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(e){return Kt[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return pt(e,t);const r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,r)=>this.loc.extract(e,t,r),n=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",i=()=>r?function(e){return Ht[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return Wt(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return Ut(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const r=Gt.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},l=t=>r?function(e,t){return Bt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Jt(Gt.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return i();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}}))}formatDurationFromString(e,t){const r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Gt.parseFormat(t),o=s.reduce(((e,{literal:t,val:r})=>t?e:e.concat(r)),[]);return Jt(s,(e=>t=>{const s=r(t);return s?this.num(e.get(s),t.length):t})(e.shiftTo(...o.map(r).filter((e=>e)))))}}const Qt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xt(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function er(...e){return t=>e.reduce((([e,r,s],o)=>{const[n,i,a]=o(t,s);return[{...e,...n},i||r,a]}),[{},null,1]).slice(0,2)}function tr(e,...t){if(null==e)return[null,null];for(const[r,s]of t){const t=r.exec(e);if(t)return s(t)}return[null,null]}function rr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=yt(t[r+o]);return[s,null,r+o]}}const sr=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,or=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,nr=RegExp(`${or.source}${`(?:${sr.source}?(?:\\[(${Qt.source})\\])?)?`}`),ir=RegExp(`(?:T${nr.source})?`),ar=rr("weekYear","weekNumber","weekDay"),cr=rr("year","ordinal"),ur=RegExp(`${or.source} ?(?:${sr.source}|(${Qt.source}))?`),lr=RegExp(`(?: ${ur.source})?`);function dr(e,t,r){const s=e[t];return ut(s)?r:yt(s)}function mr(e,t){return[{hours:dr(e,t,0),minutes:dr(e,t+1,0),seconds:dr(e,t+2,0),milliseconds:wt(e[t+3])},null,t+4]}function kr(e,t){const r=!e[t]&&!e[t+1],s=It(e[t+1],e[t+2]);return[{},r?null:Ie.instance(s),t+3]}function gr(e,t){return[{},e[t]?fe.create(e[t]):null,t+1]}const hr=RegExp(`^T?${or.source}$`),fr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function br(e){const[t,r,s,o,n,i,a,c,u]=e,l="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&l)?-e:e;return[{years:m(vt(r)),months:m(vt(s)),weeks:m(vt(o)),days:m(vt(n)),hours:m(vt(i)),minutes:m(vt(a)),seconds:m(vt(c),"-0"===c),milliseconds:m(wt(u),d)}]}const pr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yr(e,t,r,s,o,n,i){const a={year:2===t.length?jt(yt(t)):yt(t),month:Zt.indexOf(r)+1,day:yt(s),hour:yt(o),minute:yt(n)};return i&&(a.second=yt(i)),e&&(a.weekday=e.length>3?zt.indexOf(e)+1:Lt.indexOf(e)+1),a}const vr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function wr(e){const[,t,r,s,o,n,i,a,c,u,l,d]=e,m=yr(t,o,s,r,n,i,a);let k;return k=c?pr[c]:u?0:It(l,d),[m,new Ie(k)]}const _r=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,xr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Sr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Tr(e){const[,t,r,s,o,n,i,a]=e;return[yr(t,o,s,r,n,i,a),Ie.utcInstance]}function Or(e){const[,t,r,s,o,n,i,a]=e;return[yr(t,a,r,s,o,n,i),Ie.utcInstance]}const Mr=Xt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ir),Nr=Xt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ir),jr=Xt(/(\d{4})-?(\d{3})/,ir),Cr=Xt(nr),Ir=er((function(e,t){return[{year:dr(e,t),month:dr(e,t+1,1),day:dr(e,t+2,1)},null,t+3]}),mr,kr,gr),Er=er(ar,mr,kr,gr),Dr=er(cr,mr,kr,gr),Vr=er(mr,kr,gr);const Ar=er(mr);const Fr=Xt(/(\d{4})-(\d\d)-(\d\d)/,lr),Zr=Xt(ur),$r=er(mr,kr,gr);const Wr="Invalid Duration",zr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Lr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...zr},Pr=365.2425,Ur=30.436875,Hr={years:{quarters:4,months:12,weeks:52.1775,days:Pr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:Ur,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...zr},qr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Rr=qr.slice(0).reverse();function Yr(e,t,r=!1){const s={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Kr(s)}function Br(e,t){let r=t.milliseconds??0;for(const s of Rr.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function Jr(e,t){const r=Br(e,t)<0?-1:1;qr.reduceRight(((s,o)=>{if(ut(t[o]))return s;if(s){const n=t[s]*r,i=e[o][s],a=Math.floor(n/i);t[o]+=a*r,t[s]-=a*i*r}return o}),null),qr.reduce(((r,s)=>{if(ut(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s}),null)}class Kr{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?Hr:Lr;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||je.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Kr.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new Z("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Kr({values:Dt(e,Kr.normalizeUnit),loc:je.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(lt(e))return Kr.fromMillis(e);if(Kr.isDuration(e))return e;if("object"==typeof e)return Kr.fromObject(e);throw new Z(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return tr(e,[fr,br])}(e);return r?Kr.fromObject(r,t):Kr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return tr(e,[hr,Ar])}(e);return r?Kr.fromObject(r,t):Kr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new Z("need to specify a reason the Duration is invalid");const r=e instanceof Be?e:new Be(e,t);if(Ye.throwOnInvalid)throw new V(r);return new Kr({invalid:r})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new F(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Gt.create(this.loc,r).formatDurationFromString(this,e):Wr}toHuman(e={}){if(!this.isValid)return Wr;const t=qr.map((t=>{const r=this.values[t];return ut(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=_t(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Ps.fromMillis(t,{zone:"UTC"}).toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Br(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Kr.fromDurationLike(e),r={};for(const e of qr)(ht(t.values,e)||ht(this.values,e))&&(r[e]=t.get(e)+this.get(e));return Yr(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Kr.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Et(e(this.values[r],r));return Yr(this,{values:t},!0)}get(e){return this[Kr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Yr(this,{values:{...this.values,...Dt(e,Kr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Yr(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Jr(this.matrix,e),Yr(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Yr(this,{values:function(e){const t={};for(const[r,s]of Object.entries(e))0!==s&&(t[r]=s);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>Kr.normalizeUnit(e)));const t={},r={},s=this.toObject();let o;for(const n of qr)if(e.indexOf(n)>=0){o=n;let e=0;for(const t in r)e+=this.matrix[t][n]*r[t],r[t]=0;lt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else lt(s[n])&&(r[n]=s[n]);for(const e in r)0!==r[e]&&(t[o]+=e===o?r[e]:r[e]/this.matrix[o][e]);return Jr(this.matrix,t),Yr(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return Yr(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const s of qr)if(t=this.values[s],r=e.values[s],!(void 0===t||0===t?void 0===r||0===r:t===r))return!1;var t,r;return!0}}const Gr="Invalid Interval";class Qr{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new Z("need to specify a reason the Interval is invalid");const r=e instanceof Be?e:new Be(e,t);if(Ye.throwOnInvalid)throw new D(r);return new Qr({invalid:r})}static fromDateTimes(e,t){const r=Us(e),s=Us(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Qr.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:Qr.invalid("missing or invalid end"):Qr.invalid("missing or invalid start")}(r,s);return null==o?new Qr({start:r,end:s}):o}static after(e,t){const r=Kr.fromDurationLike(t),s=Us(e);return Qr.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Kr.fromDurationLike(t),s=Us(e);return Qr.fromDateTimes(s.minus(r),s)}static fromISO(e,t){const[r,s]=(e||"").split("/",2);if(r&&s){let e,o,n,i;try{e=Ps.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=Ps.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return Qr.fromDateTimes(e,n);if(o){const r=Kr.fromISO(s,t);if(r.isValid)return Qr.after(e,r)}else if(i){const e=Kr.fromISO(r,t);if(e.isValid)return Qr.before(n,e)}}return Qr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const r=this.start.startOf(e,t);let s;return s=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end,s=s.startOf(e,t),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?Qr.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Us).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),r=[];let{s}=this,o=0;for(;s<this.e;){const e=t[o]||this.e,n=+e>+this.e?this.e:e;r.push(Qr.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Kr.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let r,{s}=this,o=1;const n=[];for(;s<this.e;){const e=this.start.plus(t.mapUnits((e=>e*o)));r=+e>+this.e?this.e:e,n.push(Qr.fromDateTimes(s,r)),s=r,o+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:Qr.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return Qr.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r]),[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],o=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),n=Array.prototype.concat(...o).sort(((e,t)=>e.time-t.time));for(const e of n)r+="s"===e.type?1:-1,1===r?t=e.time:(t&&+t!=+e.time&&s.push(Qr.fromDateTimes(t,e.time)),t=null);return Qr.merge(s)}difference(...e){return Qr.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Gr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=P,t={}){return this.isValid?Gt.create(this.s.loc.clone(t),e).formatInterval(this):Gr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Gr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Gr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Gr}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Gr}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Kr.invalid(this.invalidReason)}mapEndpoints(e){return Qr.fromDateTimes(e(this.s),e(this.e))}}class Xr{static hasDST(e=Ye.defaultZone){const t=Ps.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return fe.isValidZone(e)}static normalizeZone(e){return De(e,Ye.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||je.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||je.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||je.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||je.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return je.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return je.create(t,null,"gregory").eras(e)}static features(){return{relative:mt(),localeWeek:kt()}}}function es(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Kr.fromMillis(s).as("days"))}function ts(e,t,r,s){let[o,n,i,a]=function(e,t,r){const s=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const r=es(e,t);return(r-r%7)/7}],["days",es]],o={},n=e;let i,a;for(const[c,u]of s)r.indexOf(c)>=0&&(i=c,o[c]=u(e,t),a=n.plus(o),a>t?(o[c]--,(e=n.plus(o))>t&&(a=e,o[c]--,e=n.plus(o))):e=a);return[e,o,a,i]}(e,t,r);const c=t-o,u=r.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===u.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const l=Kr.fromObject(n,s);return u.length>0?Kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function rs(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);if(-1!==e[r].search(Ve.hanidec))t+=Fe.indexOf(e[r]);else for(const e in Ae){const[r,o]=Ae[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const ss=`[ ${String.fromCharCode(160)}]`,os=new RegExp(ss,"g");function ns(e){return e.replace(/\./g,"\\.?").replace(os,ss)}function is(e){return e.replace(/\./g,"").replace(os," ").toLowerCase()}function as(e,t){return null===e?null:{regex:RegExp(e.map(ns).join("|")),deser:([r])=>e.findIndex((e=>is(r)===is(e)))+t}}function cs(e,t){return{regex:e,deser:([,e,t])=>It(e,t),groups:t}}function us(e){return{regex:e,deser:([e])=>e}}const ls={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ds=null;function ms(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const r=hs(Gt.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t))))}class ks{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=ms(Gt.parseFormat(t),e),this.units=this.tokens.map((t=>function(e,t){const r=$e(t),s=$e(t,"{2}"),o=$e(t,"{3}"),n=$e(t,"{4}"),i=$e(t,"{6}"),a=$e(t,"{1,2}"),c=$e(t,"{1,3}"),u=$e(t,"{1,6}"),l=$e(t,"{1,9}"),d=$e(t,"{2,4}"),m=$e(t,"{4,6}"),k=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},g=(g=>{if(e.literal)return k(g);switch(g.val){case"G":return as(t.eras("short"),0);case"GG":return as(t.eras("long"),0);case"y":return rs(u);case"yy":case"kk":return rs(d,jt);case"yyyy":case"kkkk":return rs(n);case"yyyyy":return rs(m);case"yyyyyy":return rs(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return rs(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return rs(s);case"MMM":return as(t.months("short",!0),1);case"MMMM":return as(t.months("long",!0),1);case"LLL":return as(t.months("short",!1),1);case"LLLL":return as(t.months("long",!1),1);case"o":case"S":return rs(c);case"ooo":case"SSS":return rs(o);case"u":return us(l);case"uu":return us(a);case"uuu":case"E":case"c":return rs(r);case"a":return as(t.meridiems(),0);case"EEE":return as(t.weekdays("short",!1),1);case"EEEE":return as(t.weekdays("long",!1),1);case"ccc":return as(t.weekdays("short",!0),1);case"cccc":return as(t.weekdays("long",!0),1);case"Z":case"ZZ":return cs(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return cs(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return us(/[a-z_+-/]{1,256}?/i);case" ":return us(/[^\S\n\r]/);default:return k(g)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return g.token=e,g}(t,e))),this.disqualifyingUnit=this.units.find((e=>e.invalidReason)),!this.disqualifyingUnit){const[e,t]=[`^${(r=this.units).map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"")}$`,r];this.regex=RegExp(e,"i"),this.handlers=t}var r}explainFromTokens(e){if(this.isValid){const[t,r]=function(e,t,r){const s=e.match(t);if(s){const e={};let t=1;for(const o in r)if(ht(r,o)){const n=r[o],i=n.groups?n.groups+1:1;!n.literal&&n.token&&(e[n.token.val[0]]=n.deser(s.slice(t,t+i))),t+=i}return[s,e]}return[s,{}]}(e,this.regex,this.handlers),[s,o,n]=r?function(e){let t,r=null;return ut(e.z)||(r=fe.create(e.z)),ut(e.Z)||(r||(r=new Ie(e.Z)),t=e.Z),ut(e.q)||(e.M=3*(e.q-1)+1),ut(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),ut(e.u)||(e.S=wt(e.u)),[Object.keys(e).reduce(((t,r)=>{const s=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(r);return s&&(t[s]=e[r]),t}),{}),r,t]}(r):[null,null,void 0];if(ht(r,"a")&&ht(r,"H"))throw new A("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:s,zone:o,specificOffset:n}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function gs(e,t,r){return new ks(e,r).explainFromTokens(t)}function hs(e,t){if(!e)return null;const r=Gt.create(t,e).dtFormatter((ds||(ds=Ps.fromMillis(1555555555555)),ds)),s=r.formatToParts(),o=r.resolvedOptions();return s.map((t=>function(e,t,r){const{type:s,value:o}=e;if("literal"===s){const e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}const n=t[s];let i=s;"hour"===s&&(i=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let a=ls[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o)))}const fs="Invalid DateTime",bs=864e13;function ps(e){return new Be("unsupported zone",`the zone "${e.name}" is not supported`)}function ys(e){return null===e.weekData&&(e.weekData=rt(e.c)),e.weekData}function vs(e){return null===e.localWeekData&&(e.localWeekData=rt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ws(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ps({...r,...t,old:r})}function _s(e,t,r){let s=e-60*t*1e3;const o=r.offset(s);if(t===o)return[s,t];s-=60*(o-t)*1e3;const n=r.offset(s);return o===n?[s,o]:[e-60*Math.min(o,n)*1e3,Math.max(o,n)]}function xs(e,t){const r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Ss(e,t,r){return _s(Ot(e),t,r)}function Ts(e,t){const r=e.o,s=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),n={...e.c,year:s,month:o,day:Math.min(e.c.day,Tt(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Kr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Ot(n);let[c,u]=_s(a,r,e.zone);return 0!==i&&(c+=i,u=e.zone.offset(c)),{ts:c,o:u}}function Os(e,t,r,s,o,n){const{setZone:i,zone:a}=r;if(e&&0!==Object.keys(e).length||t){const s=t||a,o=Ps.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return Ps.invalid(new Be("unparsable",`the input "${o}" can't be parsed as ${s}`))}function Ms(e,t,r=!0){return e.isValid?Gt.create(je.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Ns(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=pt(e.c.year,r?6:4),t?(s+="-",s+=pt(e.c.month),s+="-",s+=pt(e.c.day)):(s+=pt(e.c.month),s+=pt(e.c.day)),s}function js(e,t,r,s,o,n){let i=pt(e.c.hour);return t?(i+=":",i+=pt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=pt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=pt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=pt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=pt(Math.trunc(-e.o/60)),i+=":",i+=pt(Math.trunc(-e.o%60))):(i+="+",i+=pt(Math.trunc(e.o/60)),i+=":",i+=pt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const Cs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Is={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Es={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Ds=["year","month","day","hour","minute","second","millisecond"],Vs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],As=["year","ordinal","hour","minute","second","millisecond"];function Fs(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new F(e);return t}(e)}}function Zs(e,t){const r=De(t.zone,Ye.defaultZone);if(!r.isValid)return Ps.invalid(ps(r));const s=je.fromObject(t);let o,n;if(ut(e.year))o=Ye.now();else{for(const t of Ds)ut(e[t])&&(e[t]=Cs[t]);const t=at(e)||ct(e);if(t)return Ps.invalid(t);const s=function(e){return Ls[e]||(void 0===zs&&(zs=Ye.now()),Ls[e]=e.offset(zs)),Ls[e]}(r);[o,n]=Ss(e,s,r)}return new Ps({ts:o,zone:r,loc:s,o:n})}function $s(e,t,r){const s=!!ut(r.round)||r.round,o=(e,o)=>{e=_t(e,s||r.calendary?0:2,!0);return t.loc.clone(r).relFormatter(r).format(e,o)},n=s=>r.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(r.unit)return o(n(r.unit),r.unit);for(const e of r.units){const t=n(e);if(Math.abs(t)>=1)return o(t,e)}return o(e>t?-0:0,r.units[r.units.length-1])}function Ws(e){let t,r={};return e.length>0&&"object"==typeof e[e.length-1]?(r=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[r,t]}let zs,Ls={};class Ps{constructor(e){const t=e.zone||Ye.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Be("invalid input"):null)||(t.isValid?null:ps(t));this.ts=ut(e.ts)?Ye.now():e.ts;let s=null,o=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,o]=[e.old.c,e.old.o];else{const n=lt(e.o)&&!e.old?e.o:t.offset(this.ts);s=xs(this.ts,n),r=Number.isNaN(s.year)?new Be("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||je.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Ps({})}static local(){const[e,t]=Ws(arguments),[r,s,o,n,i,a,c]=t;return Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=Ws(arguments),[r,s,o,n,i,a,c]=t;return e.zone=Ie.utcInstance,Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static fromJSDate(e,t={}){const r=(s=e,"[object Date]"===Object.prototype.toString.call(s)?e.valueOf():NaN);var s;if(Number.isNaN(r))return Ps.invalid("invalid input");const o=De(t.zone,Ye.defaultZone);return o.isValid?new Ps({ts:r,zone:o,loc:je.fromObject(t)}):Ps.invalid(ps(o))}static fromMillis(e,t={}){if(lt(e))return e<-bs||e>bs?Ps.invalid("Timestamp out of range"):new Ps({ts:e,zone:De(t.zone,Ye.defaultZone),loc:je.fromObject(t)});throw new Z(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(lt(e))return new Ps({ts:1e3*e,zone:De(t.zone,Ye.defaultZone),loc:je.fromObject(t)});throw new Z("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=De(t.zone,Ye.defaultZone);if(!r.isValid)return Ps.invalid(ps(r));const s=je.fromObject(t),o=Dt(e,Fs),{minDaysInFirstWeek:n,startOfWeek:i}=it(o,s),a=Ye.now(),c=ut(t.specificOffset)?r.offset(a):t.specificOffset,u=!ut(o.ordinal),l=!ut(o.year),d=!ut(o.month)||!ut(o.day),m=l||d,k=o.weekYear||o.weekNumber;if((m||u)&&k)throw new A("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&u)throw new A("Can't mix ordinal dates with month/day");const g=k||o.weekday&&!m;let h,f,b=xs(a,c);g?(h=Vs,f=Is,b=rt(b,n,i)):u?(h=As,f=Es,b=ot(b)):(h=Ds,f=Cs);let p=!1;for(const e of h){ut(o[e])?o[e]=p?f[e]:b[e]:p=!0}const y=g?function(e,t=4,r=1){const s=dt(e.weekYear),o=bt(e.weekNumber,1,Nt(e.weekYear,t,r)),n=bt(e.weekday,1,7);return s?o?!n&&Ge("weekday",e.weekday):Ge("week",e.weekNumber):Ge("weekYear",e.weekYear)}(o,n,i):u?function(e){const t=dt(e.year),r=bt(e.ordinal,1,St(e.year));return t?!r&&Ge("ordinal",e.ordinal):Ge("year",e.year)}(o):at(o),v=y||ct(o);if(v)return Ps.invalid(v);const w=g?st(o,n,i):u?nt(o):o,[_,x]=Ss(w,c,r),S=new Ps({ts:_,zone:r,o:x,loc:s});return o.weekday&&m&&e.weekday!==S.weekday?Ps.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${S.toISO()}`):S.isValid?S:Ps.invalid(S.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return tr(e,[Mr,Ir],[Nr,Er],[jr,Dr],[Cr,Vr])}(e);return Os(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return tr(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[vr,wr])}(e);return Os(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return tr(e,[_r,Tr],[xr,Tr],[Sr,Or])}(e);return Os(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(ut(e)||ut(t))throw new Z("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=je.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,u]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=gs(e,t,r);return[s,o,n,i]}(n,e,t);return u?Ps.invalid(u):Os(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return Ps.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return tr(e,[Fr,Ir],[Zr,$r])}(e);return Os(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new Z("need to specify a reason the DateTime is invalid");const r=e instanceof Be?e:new Be(e,t);if(Ye.throwOnInvalid)throw new E(r);return new Ps({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=hs(e,je.fromObject(t));return r?r.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return ms(Gt.parseFormat(e),je.fromObject(t)).map((e=>e.val)).join("")}static resetCache(){zs=void 0,Ls={}}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?ys(this).weekYear:NaN}get weekNumber(){return this.isValid?ys(this).weekNumber:NaN}get weekday(){return this.isValid?ys(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?vs(this).weekday:NaN}get localWeekNumber(){return this.isValid?vs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?vs(this).weekYear:NaN}get ordinal(){return this.isValid?ot(this.c).ordinal:NaN}get monthShort(){return this.isValid?Xr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Xr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Xr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Xr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,r=Ot(this.c),s=this.zone.offset(r-e),o=this.zone.offset(r+e),n=this.zone.offset(r-s*t),i=this.zone.offset(r-o*t);if(n===i)return[this];const a=r-n*t,c=r-i*t,u=xs(a,n),l=xs(c,i);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[ws(this,{ts:a}),ws(this,{ts:c})]:[this]}get isInLeapYear(){return xt(this.year)}get daysInMonth(){return Tt(this.year,this.month)}get daysInYear(){return this.isValid?St(this.year):NaN}get weeksInWeekYear(){return this.isValid?Nt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Nt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=Gt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Ie.instance(e),t)}toLocal(){return this.setZone(Ye.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=De(e,Ye.defaultZone)).equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const t=e.offset(this.ts),r=this.toObject();[s]=Ss(r,t,e)}return ws(this,{ts:s,zone:e})}return Ps.invalid(ps(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return ws(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Dt(e,Fs),{minDaysInFirstWeek:r,startOfWeek:s}=it(t,this.loc),o=!ut(t.weekYear)||!ut(t.weekNumber)||!ut(t.weekday),n=!ut(t.ordinal),i=!ut(t.year),a=!ut(t.month)||!ut(t.day),c=i||a,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new A("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new A("Can't mix ordinal dates with month/day");let l;o?l=st({...rt(this.c,r,s),...t},r,s):ut(t.ordinal)?(l={...this.toObject(),...t},ut(t.day)&&(l.day=Math.min(Tt(l.year,l.month),l.day))):l=nt({...ot(this.c),...t});const[d,m]=Ss(l,this.o,this.zone);return ws(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return ws(this,Ts(this,Kr.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return ws(this,Ts(this,Kr.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Kr.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===s)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;if("quarters"===s){const e=Math.ceil(this.month/3);r.month=3*(e-1)+1}return this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Gt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):fs}toLocaleString(e=P,t={}){return this.isValid?Gt.create(this.loc.clone(t),e).formatDateTime(this):fs}toLocaleParts(e={}){return this.isValid?Gt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const n="extended"===e;let i=Ns(this,n);return i+="T",i+=js(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?Ns(this,"extended"===e):null}toISOWeekDate(){return Ms(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:n="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+js(this,"extended"===n,t,e,r,o)}toRFC2822(){return Ms(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ms(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ns(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(r&&(s+=" "),t?s+="z":e&&(s+="ZZ")),Ms(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():fs}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return Kr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=(a=t,Array.isArray(a)?a:[a]).map(Kr.normalizeUnit),n=e.valueOf()>this.valueOf(),i=ts(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(Ps.now(),e,t)}until(e){return this.isValid?Qr.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,r)<=s&&s<=o.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Ps.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),$s(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?$s(e.base||Ps.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Ps.isDateTime))throw new Z("min requires all arguments be DateTimes");return gt(e,(e=>e.valueOf()),Math.min)}static max(...e){if(!e.every(Ps.isDateTime))throw new Z("max requires all arguments be DateTimes");return gt(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return gs(je.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return Ps.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=je.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new ks(o,e)}static fromFormatParser(e,t,r={}){if(ut(e)||ut(t))throw new Z("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=je.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new Z(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?Ps.invalid(u):Os(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return P}static get DATE_MED(){return U}static get DATE_MED_WITH_WEEKDAY(){return H}static get DATE_FULL(){return q}static get DATE_HUGE(){return R}static get TIME_SIMPLE(){return Y}static get TIME_WITH_SECONDS(){return B}static get TIME_WITH_SHORT_OFFSET(){return J}static get TIME_WITH_LONG_OFFSET(){return K}static get TIME_24_SIMPLE(){return G}static get TIME_24_WITH_SECONDS(){return Q}static get TIME_24_WITH_SHORT_OFFSET(){return X}static get TIME_24_WITH_LONG_OFFSET(){return ee}static get DATETIME_SHORT(){return te}static get DATETIME_SHORT_WITH_SECONDS(){return re}static get DATETIME_MED(){return se}static get DATETIME_MED_WITH_SECONDS(){return oe}static get DATETIME_MED_WITH_WEEKDAY(){return ne}static get DATETIME_FULL(){return ie}static get DATETIME_FULL_WITH_SECONDS(){return ae}static get DATETIME_HUGE(){return ce}static get DATETIME_HUGE_WITH_SECONDS(){return ue}}function Us(e){if(Ps.isDateTime(e))return e;if(e&&e.valueOf&&lt(e.valueOf()))return Ps.fromJSDate(e);if(e&&"object"==typeof e)return Ps.fromObject(e);throw new Z(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Hs(e={}){if(void 0!==e.dateTimeFormat&&"function"!=typeof e.dateTimeFormat)throw new o.CKEditorError("invalid-date-time-format");return t=>{const r="string"==typeof t?Ps.fromISO(t):Ps.fromJSDate(t),s=Ps.now(),o=Math.floor(s.diff(r,"days").days);return e.dateTimeFormat?e.dateTimeFormat(r.toJSDate()):0===o?r.toFormat("'Today' hh:mma"):1===o?r.toFormat("'Yesterday' hh:mma"):o<7?r.toFormat("'Last' EEEE hh:mma"):r.toFormat("LL-dd-yyyy hh:mma")}}function qs(e,t){const r=e.mapper.markerNameToElements(t.name);if(!r)return null;const s=(0,o.first)(r.values());return e.view.domConverter.mapViewToDom(s)||null}function Rs(e,t){if(0===t.length)return null;const r=[],s=e.view.domConverter;for(const o of t){const t=e.mapper.markerNameToElements(o.name);if(!t)continue;const n=Array.from(t).map((e=>s.mapViewToDom(e))).filter((e=>!!e));r.push(...n)}if(0===r.length)return null;const o=[];for(const e of r){const t=e.getClientRects().item(0);t&&o.push({x:t.x,y:t.y,domElement:e})}return 0===o.length?null:(o.sort(((e,t)=>e.y-t.y||e.x-t.x)),o.map((e=>e.domElement)))}function Ys(e,{limit:t,suffix:r="..."}){const s=[];let o=0;const n=e.replace(/</g,"\n<").replace(/>/g,">\n").replace(/^\n/g,"").replace(/\n$/g,"").split("\n");for(let e=0;e<n.length;e++){let i=n[e];const a=Bs(i);if(i.startsWith("<")){if(o>=t){const t=i.match(/[a-zA-Z]+/);if(!t){n[e]="";continue}const r=t[0];i.startsWith("</")?(s.length&&(i=""),s.pop()):(s.push(r),i="")}}else if(o>=t)i="";else if(o+a.length>=t){let e=t-o;if(" "===a[e-1])e--;else{const t=a.slice(e).indexOf(" ");-1!==t?e+=t:e=i.length}i=a.slice(0,e).join("")+r,o=t}else o+=a.length;n[e]=i}return n.join("\n").replace(/\n/g,"")}function Bs(e){const t=[];for(let r=0;r<e.length;r++){const s=e.substring(r).match(/^&[a-z0-9#]+;/);if(s){const e=s[0];t.push(e),r+=e.length-1}else t.push(e[r])}return t}class Js extends x.View{constructor(e){super(e);const t=this.bindTemplate;this.set("message",i(e,"Are you sure?")),this.submitView=this._createButtonView(e,i(e,"Yes"),s.icons.check,"submit"),this.cancelView=this._createButtonView(e,i(e,"No"),s.icons.cancel,"cancel"),this.focusables=this.createCollection([this.submitView,this.cancelView]),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.focusCycler=new x.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift+tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-thread__remove-confirm"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-thread__remove-confirm-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-thread__remove-confirm-actions"},children:[this.submitView,this.cancelView]}]}]})}render(){super.render(),this._setupKeyboardNavigation()}focus(){this.cancelView.element.focus({preventScroll:!0})}_createButtonView(e,t,r,s){const o=new x.ButtonView(e);return o.label=t,o.icon=r,o.extendTemplate({attributes:{class:`ck-thread__remove-confirm-${s}`}}),o.on("execute",(()=>this.fire(s))),o}_setupKeyboardNavigation(){this.focusables.forEach((e=>{this.keystrokes.listenTo(e.element),this.focusTracker.add(e.element)})),this.keystrokes.set("esc",((e,t)=>{this.fire("cancel"),t()}))}}function Ks(e){return class extends e{showConfirm(e,t){return this.confirmView=new Js(this.locale),this.confirmView.render(),this.confirmView.message=e,this.confirmView.once("cancel",(()=>{this._removeConfirm()})),this.confirmView.once("submit",(()=>{this._removeConfirm()})),t.appendChild(this.confirmView.element),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),new Promise((e=>this.confirmView.on("submit",e)))}cancelConfirm(){this.isConfirm&&this.confirmView.fire("cancel")}_removeConfirm(){this.element&&this.confirmView&&this.confirmView.element&&(this.element.focus(),this.confirmView.element.remove(),this.deregisterChild(this.confirmView),this.isConfirm=!1,this.fire("removeConfirm"),this.confirmView.destroy(),this.confirmView=void 0)}}}function Gs(e){let t=0,r=0;for(const s of Xs(e))t=(t<<5)-t+s,t|=0,[t,r]=[r,t];return ro(t)+ro(r)}function*Qs(e){null==e||null==e?yield 314159265:0===e||!1===e?yield 0:1===e||1==e?yield 1:Array.isArray(e)?yield*function*(e){for(const t of e)yield*Qs(t)}(e):"object"==typeof e?yield*Xs(e):"string"==typeof e?yield*eo(e):"number"==typeof e&&(yield e)}function*Xs(e){if(yield to("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*eo(r),yield to(":");const t=e[r];yield*Qs(t)}}yield to("}")}function*eo(e){yield to('"');for(const t of e)yield to(t);yield to('"')}function to(e){return e.charCodeAt(0)}function ro(e){return(e*=Math.sign(e)).toString(36)}const so=["initialData","context","toolbar","rootsAttributes"],oo=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function no(e,t,r,s=[]){const o="string"==typeof e?r.get(e).constructor:e.prototype.constructor;if(t.has(o))return t.get(o);t.set(o,!0);const n=[...oo,...s].map((e=>{if(r.has(e))return r.get(e).constructor})).filter((e=>e));if(o&&n.includes(o))return t.set(o,!1),!1;if(!o.requires)return t.set(o,!0),!0;const i=o.requires.every((e=>no(e,t,r,s)));return t.set(o,i),i}function io(e,t){const r={};for(const t of e.config.names())so.includes(t)||(r[t]=e.config.get(t));const s=r.plugins||[],o=e.constructor.builtinPlugins||[],n=s.length?s:o,i=r.extraPlugins||[];delete r.extraPlugins;const a=r.removePlugins||[];delete r.removePlugins;const c=e._context.config.get("plugins")||[],u=n.concat(i).concat(c).map((e=>"string"==typeof e?o.find((t=>t.pluginName==e)):e)).filter((e=>!a.includes(e)&&!a.includes(e.pluginName))),l=Array.from(new Set(u)),d=new Map;return r.plugins=l.filter((r=>no(r,d,e.plugins,t))),r}function ao(e,t){const r=[];e.document.selection.on("change:range",(()=>{const s=function(e,t){const r=[];for(const s of e.markers){const e=s.getRange();(e.containsPosition(t)||e.start.isEqual(t)||e.end.isEqual(t))&&r.push(s)}return r}(e,e.document.selection.focus),o=[],n=[],i=[];for(const e of r)s.includes(e)||o.push(e);for(const e of s)r.includes(e)||n.push(e),i.push(e);(o.length||n.length)&&t({left:o,entered:n}),r.length=0,r.push(...i)}))}const co="Ctrl+Shift+E";function uo(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)lo(e,r);t.on("change",((t,r)=>{for(const t of r.removed)mo(e,t);for(const t of Array.from(r.added).reverse())lo(e,t)})),e.keystrokes.set("enter",((t,s)=>{r===t.target&&(e.focusCycler.focusFirst(),s())}),{filter:e=>e.target===r}),e.keystrokes.set("esc",((t,s)=>{r!==t.target?e.focus():e.fire("escape"),s()})),e.keystrokes.set("arrowdown",((t,s)=>{r===t.target&&(e.fire("arrowdown"),s())})),e.keystrokes.set("arrowup",((t,s)=>{r===t.target&&(e.fire("arrowup"),s())}))}function lo(e,t){t.isRendered&&(e.focusTracker.add(t.element),e.keystrokes.listenTo(t.element),(0,x.isViewWithFocusCycler)(t)&&function(e,t){const r=e.actions,s=t.actions;for(const e of Object.keys(r))if(e in s&&r[e]!==s[e])return!1;return!0}(e.focusCycler,t.focusCycler)&&e.focusCycler.chain(t.focusCycler))}function mo(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,x.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var ko=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),go={attributes:{"data-cke":!0}};go.setAttributes=g(),go.insert=m().bind(null,"head"),go.domAPI=l(),go.insertStyleElement=f();c()(ko.A,go);ko.A&&ko.A.locals&&ko.A.locals;var ho=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),fo={attributes:{"data-cke":!0}};fo.setAttributes=g(),fo.insert=m().bind(null,"head"),fo.domAPI=l(),fo.insertStyleElement=f();c()(ho.A,fo);ho.A&&ho.A.locals&&ho.A.locals;var bo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),po={attributes:{"data-cke":!0}};po.setAttributes=g(),po.insert=m().bind(null,"head"),po.domAPI=l(),po.insertStyleElement=f();c()(bo.A,po);bo.A&&bo.A.locals&&bo.A.locals;var yo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),vo={attributes:{"data-cke":!0}};vo.setAttributes=g(),vo.insert=m().bind(null,"head"),vo.domAPI=l(),vo.insertStyleElement=f();c()(yo.A,vo);yo.A&&yo.A.locals&&yo.A.locals;var wo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),_o={attributes:{"data-cke":!0}};_o.setAttributes=g(),_o.insert=m().bind(null,"head"),_o.domAPI=l(),_o.insertStyleElement=f();c()(wo.A,_o);wo.A&&wo.A.locals&&wo.A.locals;var xo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),So={attributes:{"data-cke":!0}};So.setAttributes=g(),So.insert=m().bind(null,"head"),So.domAPI=l(),So.insertStyleElement=f();c()(xo.A,So);xo.A&&xo.A.locals&&xo.A.locals;var To=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=g(),Oo.insert=m().bind(null,"head"),Oo.domAPI=l(),Oo.insertStyleElement=f();c()(To.A,Oo);To.A&&To.A.locals&&To.A.locals;var Mo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),No={attributes:{"data-cke":!0}};No.setAttributes=g(),No.insert=m().bind(null,"head"),No.domAPI=l(),No.insertStyleElement=f();c()(Mo.A,No);Mo.A&&Mo.A.locals&&Mo.A.locals;var jo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=g(),Co.insert=m().bind(null,"head"),Co.domAPI=l(),Co.insertStyleElement=f();c()(jo.A,Co);jo.A&&jo.A.locals&&jo.A.locals;var Io=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),Eo={attributes:{"data-cke":!0}};Eo.setAttributes=g(),Eo.insert=m().bind(null,"head"),Eo.domAPI=l(),Eo.insertStyleElement=f();c()(Io.A,Eo);Io.A&&Io.A.locals&&Io.A.locals;function Do(){const e=["5625599fuexOa","4nBdIxI","941163bvFZyJ","2666430tCdjhp","6zQBmJC","2RQSDge","3670KzOrMg","15160986RHFjPe","90178GlznHu","396861fCJKFA","5064640EPeyjM"];return(Do=function(){return e})()}function Vo(e,t){const r=Do();return(Vo=function(e,t){return r[e-=301]})(e,t)}!function(e){const t=Vo,r=e();for(;;)try{if(878263===parseInt(t(309))/1*(-parseInt(t(305))/2)+-parseInt(t(302))/3*(-parseInt(t(301))/4)+-parseInt(t(303))/5+-parseInt(t(304))/6*(-parseInt(t(311))/7)+-parseInt(t(310))/8+-parseInt(t(307))/9+-parseInt(t(306))/10*(-parseInt(t(308))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Do);const Ao={paintRoller:'<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3Z"/><path d="M16 3.25a1.5 1.5 0 0 1 1.5 1.5v1.7a2.25 2.25 0 0 1-1.932 2.226l-4.424.632a.75.75 0 0 0-.644.743V11a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-.95a2.25 2.25 0 0 1 1.932-2.226l4.424-.632A.75.75 0 0 0 16 6.449V3.25Z"/></svg>\n',robotPencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.61 2.66a1.406 1.406 0 1 0-1.407 0v.891H3.28a2.11 2.11 0 0 0-2.11 2.11v10.312a2.11 2.11 0 0 0 2.11 2.109h5.684l-.054-1.157.18-.25H3.28a.703.703 0 0 1-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388 0 .703.315.703.704v2.484l.358-.497a2.492 2.492 0 0 1 1.048-.84V5.66a2.11 2.11 0 0 0-2.11-2.11H9.61v-.89Z"/><path d="M5.625 10.817c.518 0 .937-.63.937-1.407 0-.776-.42-1.406-.937-1.406-.518 0-.938.63-.938 1.406 0 .777.42 1.407.938 1.407Z"/><path d="M13.125 9.41c0 .777-.42 1.407-.938 1.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518 0 .938.63.938 1.406Z"/><path d="M.937 8.004A.937.937 0 0 0 0 8.942v1.875c0 .517.42.937.937.937v-3.75Z"/><path d="M6.128 12.51a.782.782 0 0 1 1.085.216c.272.408.907.707 1.693.707s1.421-.3 1.693-.707a.782.782 0 0 1 1.302.868c-.666 1-1.906 1.403-2.995 1.403-1.089 0-2.329-.404-2.995-1.403a.782.782 0 0 1 .217-1.085Z"/><path d="m16.987 8.91-.622.864 2.879 2.074.622-.864a.71.71 0 0 0-.161-.99l-1.728-1.245a.71.71 0 0 0-.99.161Z"/><path d="M11.635 19.951a.355.355 0 0 1-.449-.31l-.214-2.38 4.978-6.911 2.88 2.074-4.978 6.91-2.217.617Z"/></svg>',tableOfContents:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n',template:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 0H3a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM2.5 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V2Z"/><path clip-rule="evenodd" d="M13 0h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5h-5Z"/><path clip-rule="evenodd" d="M13 10h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"/></svg>',caseChange:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.789 3 0 17h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664 3H5.79Zm.938 1.758 2.777 6.715H3.949l2.778-6.715Z"/><path d="M15.956 7.5c-1.584-.02-3.226.824-3.843 2.882l1.495.106c.904-2.082 4.594-2.13 4.375.534-3.245 1.024-4.838.117-6.082 2.62-.208.418-.17 1.57.54 2.397.71.826 2.014 1.149 3.409.85 1.395-.299 2.24-1.386 2.24-1.386L18.205 17h1.493l-.059-1.72-.056-5.274C19.51 8.612 17.75 7.524 15.956 7.5Zm2.027 4.696s.641 2.453-1.528 3.27c-3.376 1.269-4.188-2.141-1.775-2.638 1.704-.352 1.873-.25 3.303-.632Z"/></svg>'}},"?7cdd":(e,t,r)=>{e.exports=r},"ckeditor5/src/core.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/core.js")},"ckeditor5/src/ui.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/ui.js")},"ckeditor5/src/utils.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/utils.js")},"data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E":e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"},"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,r),n.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.b=document.baseURI||self.location.href;var s=r("?7cdd");(window.CKEditor5=window.CKEditor5||{}).collaborationDll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["collaboration-core"];for(const r of t){const t=r.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()));e.CKEditor5[t]=e.CKEditor5.collaborationDll(`./src/${r}.js`)}}(window);
5
+ */(()=>{var e={"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-aria-description{display:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0;overflow:hidden}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../../../node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),u=new URL(r("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"),r.b),l=i()(o()),d=c()(u);l.push([e.id,`:root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(${d});display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}`,""]);const m=l},"../../../../node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",s=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),s&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),s&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,s,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);s&&i[l[0]]||(void 0!==n&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=n),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},"../../../../node_modules/css-loader/dist/runtime/getUrl.js":e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":e=>{"use strict";var t=[];function r(e){for(var r=-1,s=0;s<t.length;s++)if(t[s].identifier===e){r=s;break}return r}function s(e,s){for(var n={},i=[],a=0;a<e.length;a++){var c=e[a],u=s.base?c[0]+s.base:c[0],l=n[u]||0,d="".concat(u," ").concat(l);n[u]=l+1;var m=r(d),k={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(k);else{var g=o(k,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:g,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var n=s(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<n.length;i++){var a=r(n[i]);t[a].references--}for(var c=s(e,o),u=0;u<n.length;u++){var l=r(n[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}n=c}}},"../../../../node_modules/style-loader/dist/runtime/insertBySelector.js":e=>{"use strict";var t={};e.exports=function(e,r){var s=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);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(r)}},"../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js":e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js":e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}},"../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js":e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function s(e,t,s,o){var n;if(s)n="";else{n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,i&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,n);else{var a=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,r=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){s(r,t,!1,e)},remove:function(e){s(r,t,!0,e)}}}},"./src/collaboration-core.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{AriaDescriptionView:()=>j,ConfirmMixin:()=>Ks,FOCUS_ANNOTATION_KEYSTROKE:()=>uo,LateFocusButtonView:()=>I,LateFocusDropdownButtonView:()=>M,Permissions:()=>n,UserView:()=>N,Users:()=>p,getAllMarkersDomElementsSorted:()=>Hs,getDateTimeFormatter:()=>Rs,getMarkerDomElement:()=>Ys,hashObject:()=>Qs,sanitizeEditorConfig:()=>ao,setupThreadKeyboardNavigation:()=>lo,surroundingMarkersDetector:()=>co,trimHtml:()=>Js});var s=r("ckeditor5/src/core.js"),o=r("ckeditor5/src/utils.js");class n extends s.ContextPlugin{static get pluginName(){return"Permissions"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}setPermissions(e,t){let r;if(t||(t=this.context.config.get("collaboration.channelId")),this.context.config.get("collaboration.channelId")==t?r=this.context:"editors"in this.context&&this.context.editors&&(r=this.context.editors.find((e=>e.config.get("collaboration.channelId")==t))),!r)throw new o.CKEditorError("permissions-set-permissions-invalid-channel-id",null);const n=r.plugins,i=n.has("CommentsRepository")?n.get("CommentsRepository"):void 0,a=n.has("CommentsOnly")&&n.get("CommentsOnly"),c=e.includes("document:write"),u=e.includes("comment:modify_all"),l=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||l,k=m||u,g=c||m;if(a&&(a.isEnabled=!c&&k),r instanceof s.Editor){!(c||k&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:l,modifyAll:u,write:d,resolve:g},t);const e=r instanceof s.Editor&&r.commands.get("addCommentThread");e&&(m?e.clearForceDisabled("noPermissions"):e.forceDisabled("noPermissions"))}}}function i(e,t){const r=e.t;switch(t){case"Anonymous":return r("Anonymous");case"Yes":return r("Yes");case"No":return r("No");case"Are you sure?":return r("Are you sure?");case"Today":return r("Today");case"Yesterday":return r("Yesterday");case"Last":return r("Last");case"Monday":return r("Monday");case"Tuesday":return r("Tuesday");case"Wednesday":return r("Wednesday");case"Thursday":return r("Thursday");case"Friday":return r("Friday");case"Saturday":return r("Saturday");case"Sunday":return r("Sunday");default:return""}}var a=r("../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),u=r("../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),l=r.n(u),d=r("../../../../node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),k=r("../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),g=r.n(k),h=r("../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(h),b=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),y={attributes:{"data-cke":!0}};y.setAttributes=g(),y.insert=m().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=f();c()(b.A,y);b.A&&b.A.locals&&b.A.locals;class p extends s.ContextPlugin{users;_lastColor;_myId;_locale;static get pluginName(){return"Users"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}static get requires(){return[n]}constructor(e){super(e),this.context.config.define("users.anonymousUserId","anonymous-user"),this.context.config.define("users.colorsCount",8),this.users=new o.Collection,this._locale=e.locale,this._lastColor=0,this._myId=null,this.decorate("getOperationAuthor")}init(){this._addAnonymousUser()}get me(){return null==this._myId?null:this.getUser(this._myId)}addUser({id:e,name:t,...r}){if(!e||"string"!=typeof e)throw new o.CKEditorError("users-add-invalid-id");if(this.users.has(e))throw new o.CKEditorError("users-add-duplicated-id",null,{id:e});const s=this.context.config.get("users.getInitialsCallback"),n={...r,id:e,name:w(this._locale,t),color:this._getNextColor()};n.name=w(this._locale,n.name);const i=new v(n,s);return this.users.add(i),i}getUser(e){return this.users.get(e)}useAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this._myId||this.defineMe(e)}defineMe(e){if(this._myId)throw new o.CKEditorError("users-me-already-defined",null);const t=this.getUser(e);if(!t)throw new o.CKEditorError("users-me-missing-user",null);this._myId=e,t._isMe=!0}getOperationAuthor(){return this.me}_getNextColor(){const e=this.context.config.get("users.colorsCount");return this._lastColor>=e&&(this._lastColor=0),new _(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class v{id;color;name;initials;avatar;_isMe;_isAnonymous;constructor(e,t){this.id=e.id,this.color=e.color,this.name=e.name,this.initials=t?t(this.name):this._computeInitials(),this.avatar=e.avatar,this._isAnonymous=!1,this._isMe=!1}get isAnonymous(){return this._isAnonymous}get isMe(){return this._isMe}_computeInitials(){const e=this.name.split(" ").filter((e=>/^[\p{Letter}]/u.test(e)));return 1===e.length?this._getInitial(e[0]):0===e.length?this._getInitial(this.name):this._getInitial(e[0])+this._getInitial(e[e.length-1])}_getInitial(e){return String.fromCodePoint(e.codePointAt(0)).toUpperCase()}}function w(e,t=""){return""==(t=t.trim())?i(e,"Anonymous"):t}class _{_id;constructor(e){this._id=e}getBackgroundColorClass(){return`ck-user__bg-color--${this._id}`}getSelectionClass(){return`ck-user__selection--${this._id}`}getMarkerClass(){return`ck-user__marker--${this._id}`}}var S=r("ckeditor5/src/ui.js"),x=r("ckeditor5/src/icons.js"),T=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),O={attributes:{"data-cke":!0}};O.setAttributes=g(),O.insert=m().bind(null,"head"),O.domAPI=l(),O.insertStyleElement=f();c()(T.A,O);T.A&&T.A.locals&&T.A.locals;class N extends S.View{name;notificationView;constructor(e,t,r){super(e),this.name=t.name,this.notificationView=null;const s=["ck","ck-user"],o=["ck","ck-user__img"];if(t.isAnonymous&&o.push("ck-user__anonymous"),!t.isAnonymous&&t.isMe&&s.push("ck-user_me"),t.avatar&&o.push("ck-user__avatar"),r){const e=new S.IconView;e.extendTemplate({attributes:{class:["ck-user__icon"]}}),e.content=x.IconNotification,this.notificationView={tag:"div",attributes:{class:["ck","ck-user__notification"],"data-cke-tooltip-position":"n","data-cke-tooltip-text":r},children:[e]}}const n=[{tag:"div",attributes:{class:o,style:{"background-image":t.avatar?`url('${t.avatar}')`:""}}},{tag:"div",attributes:{class:t.avatar?"ck ck-user__name ck-user__name--hidden":"ck ck-user__name","aria-label":t.name},children:[{text:t.initials}]}];this.notificationView&&n.push(this.notificationView),this.setTemplate({tag:"div",attributes:{class:s,"data-user-id":t.id},children:n})}}class j extends S.View{id;constructor(e,t){super(e),this.id=`ck-aria-description-${(0,o.uid)()}`,this.setTemplate({tag:"span",attributes:{class:["ck","ck-aria-description"],id:this.id},children:[{text:t}]})}}class I extends S.ButtonView{render(){super.render(),C(this)}}class M extends S.DropdownButtonView{render(){super.render(),C(this)}}function C(e){e.listenTo(e.element,"mousedown",((e,t)=>{t.stopPropagation(),t.preventDefault()})),e.listenTo(e.element,"mouseup",(()=>{e.element.focus()}))}class E extends Error{}class D extends E{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class A extends E{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class V extends E{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class F extends E{}class $ extends E{constructor(e){super(`Invalid unit ${e}`)}}class W extends E{}class L extends E{constructor(){super("Zone is an abstract class")}}const Z="numeric",z="short",P="long",U={year:Z,month:Z,day:Z},q={year:Z,month:z,day:Z},R={year:Z,month:z,day:Z,weekday:z},Y={year:Z,month:P,day:Z},H={year:Z,month:P,day:Z,weekday:P},J={hour:Z,minute:Z},B={hour:Z,minute:Z,second:Z},G={hour:Z,minute:Z,second:Z,timeZoneName:z},K={hour:Z,minute:Z,second:Z,timeZoneName:P},Q={hour:Z,minute:Z,hourCycle:"h23"},X={hour:Z,minute:Z,second:Z,hourCycle:"h23"},ee={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:z},te={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:P},re={year:Z,month:Z,day:Z,hour:Z,minute:Z},se={year:Z,month:Z,day:Z,hour:Z,minute:Z,second:Z},oe={year:Z,month:z,day:Z,hour:Z,minute:Z},ne={year:Z,month:z,day:Z,hour:Z,minute:Z,second:Z},ie={year:Z,month:z,day:Z,weekday:z,hour:Z,minute:Z},ae={year:Z,month:P,day:Z,hour:Z,minute:Z,timeZoneName:z},ce={year:Z,month:P,day:Z,hour:Z,minute:Z,second:Z,timeZoneName:z},ue={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,timeZoneName:P},le={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,second:Z,timeZoneName:P};class de{get type(){throw new L}get name(){throw new L}get ianaName(){return this.name}get isUniversal(){throw new L}offsetName(e,t){throw new L}formatOffset(e,t){throw new L}offset(e){throw new L}equals(e){throw new L}get isValid(){throw new L}}let me=null;class ke extends de{static get instance(){return null===me&&(me=new ke),me}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Ct(e,t,r)}formatOffset(e,t){return Vt(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let ge={};const he={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let fe={};class be extends de{static create(e){return fe[e]||(fe[e]=new be(e)),fe[e]}static resetCache(){fe={},ge={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=be.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Ct(e,t,r,this.name)}formatOffset(e,t){return Vt(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const r=(s=this.name,ge[s]||(ge[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ge[s]);var s;let[o,n,i,a,c,u,l]=r.formatToParts?function(e,t){const r=e.formatToParts(t),s=[];for(let e=0;e<r.length;e++){const{type:t,value:o}=r[e],n=he[t];"era"===t?s[n]=o:lt(n)||(s[n]=parseInt(o,10))}return s}(r,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,n,i,a,c,u,l]=s;return[i,o,n,a,c,u,l]}(r,t);"BC"===a&&(o=1-Math.abs(o));let d=+t;const m=d%1e3;return d-=m>=0?m:1e3+m,(Nt({year:o,month:n,day:i,hour:24===c?0:c,minute:u,second:l,millisecond:0})-d)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let ye={};let pe={};function ve(e,t={}){const r=JSON.stringify([e,t]);let s=pe[r];return s||(s=new Intl.DateTimeFormat(e,t),pe[r]=s),s}let we={};let _e={};let Se=null;let xe={};function Te(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class Oe{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...n}=r;if(!t||Object.keys(n).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){const r=JSON.stringify([e,t]);let s=we[r];return s||(s=new Intl.NumberFormat(e,t),we[r]=s),s}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return pt(this.floor?Math.floor(e):St(e,3),this.padTo)}}class Ne{constructor(e,t,r){let s;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&be.create(r).valid?(s=r,this.dt=e):(s="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=ve(t,o)}format(){return this.originalZone?this.formatToParts().map((({value:e})=>e)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map((e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e})):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class je{constructor(e,t,r){this.opts={style:"long",...r},!t&&kt()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=_e[o];return n||(n=new Intl.RelativeTimeFormat(e,t),_e[o]=n),n}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",s=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},n=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&n){const r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${o[e][0]}`;case-1:return r?"yesterday":`last ${o[e][0]}`;case 0:return r?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),c=1===a,u=o[e],l=s?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return i?`${a} ${l} ago`:`in ${a} ${l}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Ie={firstDay:1,minimalDays:4,weekend:[6,7]};class Me{static fromOpts(e){return Me.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||Je.defaultLocale,i=n||(o?"en-US":Se||(Se=(new Intl.DateTimeFormat).resolvedOptions().locale,Se)),a=t||Je.defaultNumberingSystem,c=r||Je.defaultOutputCalendar,u=bt(s)||Je.defaultWeekSettings;return new Me(i,a,c,u,n)}static resetCache(){Se=null,pe={},we={},_e={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return Me.create(e,t,r,s)}constructor(e,t,r,s,o){const[n,i,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(-1===r)return[e];{let t,s;try{t=ve(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=ve(n).resolvedOptions(),s=n}const{numberingSystem:o,calendar:n}=t;return[s,o,n]}}(e);this.locale=n,this.numberingSystem=t||i||null,this.outputCalendar=r||a||null,this.weekSettings=s,this.intl=function(e,t,r){return r||t?(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Me.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,bt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Te(this,e,Zt,(()=>{const r=t?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=function(e){const t=[];for(let r=1;r<=12;r++){const s=Us.utc(2009,r,1);t.push(e(s))}return t}((e=>this.extract(e,r,"month")))),this.monthsCache[s][e]}))}weekdays(e,t=!1){return Te(this,e,qt,(()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=function(e){const t=[];for(let r=1;r<=7;r++){const s=Us.utc(2016,11,13+r);t.push(e(s))}return t}((e=>this.extract(e,r,"weekday")))),this.weekdaysCache[s][e]}))}meridiems(){return Te(this,void 0,(()=>Rt),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Us.utc(2016,11,13,9),Us.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Te(this,e,Bt,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Us.utc(-40,1,1),Us.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,r){const s=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===r));return s?s.value:null}numberFormatter(e={}){return new Oe(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Ne(e,this.intl,t)}relFormatter(e={}){return new je(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=ye[r];return s||(s=new Intl.ListFormat(e,t),ye[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:gt()?function(e){let t=xe[e];if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,xe[e]=t}return t}(this.locale):Ie}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ce=null;class Ee extends de{static get utcInstance(){return null===Ce&&(Ce=new Ee(0)),Ce}static instance(e){return 0===e?Ee.utcInstance:new Ee(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Ee(Et(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Vt(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Vt(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return Vt(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class De extends de{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Ae(e,t){if(lt(e)||null===e)return t;if(e instanceof de)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?ke.instance:"utc"===r||"gmt"===r?Ee.utcInstance:Ee.parseSpecifier(r)||be.create(e)}return dt(e)?Ee.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new De(e)}const Ve={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Fe={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},$e=Ve.hanidec.replace(/[\[|\]]/g,"").split("");let We={};function Le({numberingSystem:e},t=""){const r=e||"latn";return We[r]||(We[r]={}),We[r][t]||(We[r][t]=new RegExp(`${Ve[r]}${t}`)),We[r][t]}let Ze,ze=()=>Date.now(),Pe="system",Ue=null,qe=null,Re=null,Ye=60,He=null;class Je{static get now(){return ze}static set now(e){ze=e}static set defaultZone(e){Pe=e}static get defaultZone(){return Ae(Pe,ke.instance)}static get defaultLocale(){return Ue}static set defaultLocale(e){Ue=e}static get defaultNumberingSystem(){return qe}static set defaultNumberingSystem(e){qe=e}static get defaultOutputCalendar(){return Re}static set defaultOutputCalendar(e){Re=e}static get defaultWeekSettings(){return He}static set defaultWeekSettings(e){He=bt(e)}static get twoDigitCutoffYear(){return Ye}static set twoDigitCutoffYear(e){Ye=e%100}static get throwOnInvalid(){return Ze}static set throwOnInvalid(e){Ze=e}static resetCaches(){Me.resetCache(),be.resetCache(),Us.resetCache(),We={}}}class Be{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ge=[0,31,59,90,120,151,181,212,243,273,304,334],Ke=[0,31,60,91,121,152,182,213,244,274,305,335];function Qe(e,t){return new Be("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Xe(e,t,r){const s=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return 0===o?7:o}function et(e,t,r){return r+(xt(e)?Ke:Ge)[t-1]}function tt(e,t){const r=xt(e)?Ke:Ge,s=r.findIndex((e=>e<t));return{month:s+1,day:t-r[s]}}function rt(e,t){return(e-t+7)%7+1}function st(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=et(s,o,n),a=rt(Xe(s,o,n),r);let c,u=Math.floor((i-a+14-t)/7);return u<1?(c=s-1,u=It(c,t,r)):u>It(s,t,r)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ft(e)}}function ot(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=rt(Xe(s,1,t),r),a=Tt(s);let c,u=7*o+n-i-7+t;u<1?(c=s-1,u+=Tt(c)):u>a?(c=s+1,u-=Tt(s)):c=s;const{month:l,day:d}=tt(c,u);return{year:c,month:l,day:d,...Ft(e)}}function nt(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:et(t,r,s),...Ft(e)}}function it(e){const{year:t,ordinal:r}=e,{month:s,day:o}=tt(t,r);return{year:t,month:s,day:o,...Ft(e)}}function at(e,t){if(!lt(e.localWeekday)||!lt(e.localWeekNumber)||!lt(e.localWeekYear)){if(!lt(e.weekday)||!lt(e.weekNumber)||!lt(e.weekYear))throw new F("Cannot mix locale-based week fields with ISO-based week fields");return lt(e.localWeekday)||(e.weekday=e.localWeekday),lt(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),lt(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ct(e){const t=mt(e.year),r=yt(e.month,1,12),s=yt(e.day,1,Ot(e.year,e.month));return t?r?!s&&Qe("day",e.day):Qe("month",e.month):Qe("year",e.year)}function ut(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=yt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=yt(r,0,59),a=yt(s,0,59),c=yt(o,0,999);return n?i?a?!c&&Qe("millisecond",o):Qe("second",s):Qe("minute",r):Qe("hour",t)}function lt(e){return void 0===e}function dt(e){return"number"==typeof e}function mt(e){return"number"==typeof e&&e%1==0}function kt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function gt(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function ht(e,t,r){if(0!==e.length)return e.reduce(((e,s)=>{const o=[t(s),s];return e&&r(e[0],o[0])===e[0]?e:o}),null)[1]}function ft(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bt(e){if(null==e)return null;if("object"!=typeof e)throw new W("Week settings must be an object");if(!yt(e.firstDay,1,7)||!yt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!yt(e,1,7))))throw new W("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function yt(e,t,r){return mt(e)&&e>=t&&e<=r}function pt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function vt(e){return lt(e)||null===e||""===e?void 0:parseInt(e,10)}function wt(e){return lt(e)||null===e||""===e?void 0:parseFloat(e)}function _t(e){if(!lt(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function St(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function xt(e){return e%4==0&&(e%100!=0||e%400==0)}function Tt(e){return xt(e)?366:365}function Ot(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?xt(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Nt(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function jt(e,t,r){return-rt(Xe(e,1,t),r)+t-1}function It(e,t=4,r=1){const s=jt(e,t,r),o=jt(e+1,t,r);return(Tt(e)-s+o)/7}function Mt(e){return e>99?e:e>Je.twoDigitCutoffYear?1900+e:2e3+e}function Ct(e,t,r,s=null){const o=new Date(e),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(n.timeZone=s);const i={timeZoneName:t,...n},a=new Intl.DateTimeFormat(r,i).formatToParts(o).find((e=>"timezonename"===e.type.toLowerCase()));return a?a.value:null}function Et(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const s=parseInt(t,10)||0;return 60*r+(r<0||Object.is(r,-0)?-s:s)}function Dt(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new W(`Invalid unit value ${e}`);return t}function At(e,t){const r={};for(const s in e)if(ft(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=Dt(o)}return r}function Vt(e,t){const r=Math.trunc(Math.abs(e/60)),s=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${pt(r,2)}:${pt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${pt(r,2)}${pt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Ft(e){return function(e,t){return t.reduce(((t,r)=>(t[r]=e[r],t)),{})}(e,["hour","minute","second","millisecond"])}const $t=["January","February","March","April","May","June","July","August","September","October","November","December"],Wt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Lt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zt(e){switch(e){case"narrow":return[...Lt];case"short":return[...Wt];case"long":return[...$t];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const zt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Pt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ut=["M","T","W","T","F","S","S"];function qt(e){switch(e){case"narrow":return[...Ut];case"short":return[...Pt];case"long":return[...zt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Rt=["AM","PM"],Yt=["Before Christ","Anno Domini"],Ht=["BC","AD"],Jt=["B","A"];function Bt(e){switch(e){case"narrow":return[...Jt];case"short":return[...Ht];case"long":return[...Yt];default:return null}}function Gt(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Kt={D:U,DD:q,DDD:Y,DDDD:H,t:J,tt:B,ttt:G,tttt:K,T:Q,TT:X,TTT:ee,TTTT:te,f:re,ff:oe,fff:ae,ffff:ue,F:se,FF:ne,FFF:ce,FFFF:le};class Qt{static create(e,t={}){return new Qt(e,t)}static parseFormat(e){let t=null,r="",s=!1;const o=[];for(let n=0;n<e.length;n++){const i=e.charAt(n);"'"===i?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),t=null,r="",s=!s):s||i===t?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(e){return Kt[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return pt(e,t);const r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,r)=>this.loc.extract(e,t,r),n=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",i=()=>r?function(e){return Rt[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return Zt(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return qt(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const r=Qt.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},l=t=>r?function(e,t){return Bt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Gt(Qt.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return i();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}}))}formatDurationFromString(e,t){const r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Qt.parseFormat(t),o=s.reduce(((e,{literal:t,val:r})=>t?e:e.concat(r)),[]);return Gt(s,(e=>t=>{const s=r(t);return s?this.num(e.get(s),t.length):t})(e.shiftTo(...o.map(r).filter((e=>e)))))}}const Xt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function er(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function tr(...e){return t=>e.reduce((([e,r,s],o)=>{const[n,i,a]=o(t,s);return[{...e,...n},i||r,a]}),[{},null,1]).slice(0,2)}function rr(e,...t){if(null==e)return[null,null];for(const[r,s]of t){const t=r.exec(e);if(t)return s(t)}return[null,null]}function sr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=vt(t[r+o]);return[s,null,r+o]}}const or=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,nr=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ir=RegExp(`${nr.source}${`(?:${or.source}?(?:\\[(${Xt.source})\\])?)?`}`),ar=RegExp(`(?:T${ir.source})?`),cr=sr("weekYear","weekNumber","weekDay"),ur=sr("year","ordinal"),lr=RegExp(`${nr.source} ?(?:${or.source}|(${Xt.source}))?`),dr=RegExp(`(?: ${lr.source})?`);function mr(e,t,r){const s=e[t];return lt(s)?r:vt(s)}function kr(e,t){return[{hours:mr(e,t,0),minutes:mr(e,t+1,0),seconds:mr(e,t+2,0),milliseconds:_t(e[t+3])},null,t+4]}function gr(e,t){const r=!e[t]&&!e[t+1],s=Et(e[t+1],e[t+2]);return[{},r?null:Ee.instance(s),t+3]}function hr(e,t){return[{},e[t]?be.create(e[t]):null,t+1]}const fr=RegExp(`^T?${nr.source}$`),br=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function yr(e){const[t,r,s,o,n,i,a,c,u]=e,l="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&l)?-e:e;return[{years:m(wt(r)),months:m(wt(s)),weeks:m(wt(o)),days:m(wt(n)),hours:m(wt(i)),minutes:m(wt(a)),seconds:m(wt(c),"-0"===c),milliseconds:m(_t(u),d)}]}const pr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vr(e,t,r,s,o,n,i){const a={year:2===t.length?Mt(vt(t)):vt(t),month:Wt.indexOf(r)+1,day:vt(s),hour:vt(o),minute:vt(n)};return i&&(a.second=vt(i)),e&&(a.weekday=e.length>3?zt.indexOf(e)+1:Pt.indexOf(e)+1),a}const wr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function _r(e){const[,t,r,s,o,n,i,a,c,u,l,d]=e,m=vr(t,o,s,r,n,i,a);let k;return k=c?pr[c]:u?0:Et(l,d),[m,new Ee(k)]}const Sr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,xr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Tr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Or(e){const[,t,r,s,o,n,i,a]=e;return[vr(t,o,s,r,n,i,a),Ee.utcInstance]}function Nr(e){const[,t,r,s,o,n,i,a]=e;return[vr(t,a,r,s,o,n,i),Ee.utcInstance]}const jr=er(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ar),Ir=er(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ar),Mr=er(/(\d{4})-?(\d{3})/,ar),Cr=er(ir),Er=tr((function(e,t){return[{year:mr(e,t),month:mr(e,t+1,1),day:mr(e,t+2,1)},null,t+3]}),kr,gr,hr),Dr=tr(cr,kr,gr,hr),Ar=tr(ur,kr,gr,hr),Vr=tr(kr,gr,hr);const Fr=tr(kr);const $r=er(/(\d{4})-(\d\d)-(\d\d)/,dr),Wr=er(lr),Lr=tr(kr,gr,hr);const Zr="Invalid Duration",zr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Pr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...zr},Ur=365.2425,qr=30.436875,Rr={years:{quarters:4,months:12,weeks:52.1775,days:Ur,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:qr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...zr},Yr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Hr=Yr.slice(0).reverse();function Jr(e,t,r=!1){const s={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Kr(s)}function Br(e,t){let r=t.milliseconds??0;for(const s of Hr.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function Gr(e,t){const r=Br(e,t)<0?-1:1;Yr.reduceRight(((s,o)=>{if(lt(t[o]))return s;if(s){const n=t[s]*r,i=e[o][s],a=Math.floor(n/i);t[o]+=a*r,t[s]-=a*i*r}return o}),null),Yr.reduce(((r,s)=>{if(lt(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s}),null)}class Kr{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?Rr:Pr;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Me.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Kr.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new W("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Kr({values:At(e,Kr.normalizeUnit),loc:Me.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(dt(e))return Kr.fromMillis(e);if(Kr.isDuration(e))return e;if("object"==typeof e)return Kr.fromObject(e);throw new W(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return rr(e,[br,yr])}(e);return r?Kr.fromObject(r,t):Kr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return rr(e,[fr,Fr])}(e);return r?Kr.fromObject(r,t):Kr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Duration is invalid");const r=e instanceof Be?e:new Be(e,t);if(Je.throwOnInvalid)throw new V(r);return new Kr({invalid:r})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new $(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Qt.create(this.loc,r).formatDurationFromString(this,e):Zr}toHuman(e={}){if(!this.isValid)return Zr;const t=Yr.map((t=>{const r=this.values[t];return lt(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=St(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Us.fromMillis(t,{zone:"UTC"}).toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Br(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Kr.fromDurationLike(e),r={};for(const e of Yr)(ft(t.values,e)||ft(this.values,e))&&(r[e]=t.get(e)+this.get(e));return Jr(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Kr.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Dt(e(this.values[r],r));return Jr(this,{values:t},!0)}get(e){return this[Kr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Jr(this,{values:{...this.values,...At(e,Kr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Jr(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Gr(this.matrix,e),Jr(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Jr(this,{values:function(e){const t={};for(const[r,s]of Object.entries(e))0!==s&&(t[r]=s);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>Kr.normalizeUnit(e)));const t={},r={},s=this.toObject();let o;for(const n of Yr)if(e.indexOf(n)>=0){o=n;let e=0;for(const t in r)e+=this.matrix[t][n]*r[t],r[t]=0;dt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else dt(s[n])&&(r[n]=s[n]);for(const e in r)0!==r[e]&&(t[o]+=e===o?r[e]:r[e]/this.matrix[o][e]);return Gr(this.matrix,t),Jr(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return Jr(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const s of Yr)if(t=this.values[s],r=e.values[s],!(void 0===t||0===t?void 0===r||0===r:t===r))return!1;var t,r;return!0}}const Qr="Invalid Interval";class Xr{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Interval is invalid");const r=e instanceof Be?e:new Be(e,t);if(Je.throwOnInvalid)throw new A(r);return new Xr({invalid:r})}static fromDateTimes(e,t){const r=qs(e),s=qs(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Xr.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:Xr.invalid("missing or invalid end"):Xr.invalid("missing or invalid start")}(r,s);return null==o?new Xr({start:r,end:s}):o}static after(e,t){const r=Kr.fromDurationLike(t),s=qs(e);return Xr.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Kr.fromDurationLike(t),s=qs(e);return Xr.fromDateTimes(s.minus(r),s)}static fromISO(e,t){const[r,s]=(e||"").split("/",2);if(r&&s){let e,o,n,i;try{e=Us.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=Us.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return Xr.fromDateTimes(e,n);if(o){const r=Kr.fromISO(s,t);if(r.isValid)return Xr.after(e,r)}else if(i){const e=Kr.fromISO(r,t);if(e.isValid)return Xr.before(n,e)}}return Xr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const r=this.start.startOf(e,t);let s;return s=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end,s=s.startOf(e,t),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?Xr.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(qs).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),r=[];let{s}=this,o=0;for(;s<this.e;){const e=t[o]||this.e,n=+e>+this.e?this.e:e;r.push(Xr.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Kr.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let r,{s}=this,o=1;const n=[];for(;s<this.e;){const e=this.start.plus(t.mapUnits((e=>e*o)));r=+e>+this.e?this.e:e,n.push(Xr.fromDateTimes(s,r)),s=r,o+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:Xr.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return Xr.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r]),[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],o=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),n=Array.prototype.concat(...o).sort(((e,t)=>e.time-t.time));for(const e of n)r+="s"===e.type?1:-1,1===r?t=e.time:(t&&+t!=+e.time&&s.push(Xr.fromDateTimes(t,e.time)),t=null);return Xr.merge(s)}difference(...e){return Xr.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Qr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=U,t={}){return this.isValid?Qt.create(this.s.loc.clone(t),e).formatInterval(this):Qr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Qr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Qr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Qr}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Qr}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Kr.invalid(this.invalidReason)}mapEndpoints(e){return Xr.fromDateTimes(e(this.s),e(this.e))}}class es{static hasDST(e=Je.defaultZone){const t=Us.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return be.isValidZone(e)}static normalizeZone(e){return Ae(e,Je.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Me.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Me.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Me.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Me.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Me.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Me.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Me.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Me.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Me.create(t,null,"gregory").eras(e)}static features(){return{relative:kt(),localeWeek:gt()}}}function ts(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Kr.fromMillis(s).as("days"))}function rs(e,t,r,s){let[o,n,i,a]=function(e,t,r){const s=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const r=ts(e,t);return(r-r%7)/7}],["days",ts]],o={},n=e;let i,a;for(const[c,u]of s)r.indexOf(c)>=0&&(i=c,o[c]=u(e,t),a=n.plus(o),a>t?(o[c]--,(e=n.plus(o))>t&&(a=e,o[c]--,e=n.plus(o))):e=a);return[e,o,a,i]}(e,t,r);const c=t-o,u=r.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===u.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const l=Kr.fromObject(n,s);return u.length>0?Kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function ss(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);if(-1!==e[r].search(Ve.hanidec))t+=$e.indexOf(e[r]);else for(const e in Fe){const[r,o]=Fe[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const os=`[ ${String.fromCharCode(160)}]`,ns=new RegExp(os,"g");function is(e){return e.replace(/\./g,"\\.?").replace(ns,os)}function as(e){return e.replace(/\./g,"").replace(ns," ").toLowerCase()}function cs(e,t){return null===e?null:{regex:RegExp(e.map(is).join("|")),deser:([r])=>e.findIndex((e=>as(r)===as(e)))+t}}function us(e,t){return{regex:e,deser:([,e,t])=>Et(e,t),groups:t}}function ls(e){return{regex:e,deser:([e])=>e}}const ds={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ms=null;function ks(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const r=fs(Qt.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t))))}class gs{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=ks(Qt.parseFormat(t),e),this.units=this.tokens.map((t=>function(e,t){const r=Le(t),s=Le(t,"{2}"),o=Le(t,"{3}"),n=Le(t,"{4}"),i=Le(t,"{6}"),a=Le(t,"{1,2}"),c=Le(t,"{1,3}"),u=Le(t,"{1,6}"),l=Le(t,"{1,9}"),d=Le(t,"{2,4}"),m=Le(t,"{4,6}"),k=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},g=(g=>{if(e.literal)return k(g);switch(g.val){case"G":return cs(t.eras("short"),0);case"GG":return cs(t.eras("long"),0);case"y":return ss(u);case"yy":case"kk":return ss(d,Mt);case"yyyy":case"kkkk":return ss(n);case"yyyyy":return ss(m);case"yyyyyy":return ss(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ss(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ss(s);case"MMM":return cs(t.months("short",!0),1);case"MMMM":return cs(t.months("long",!0),1);case"LLL":return cs(t.months("short",!1),1);case"LLLL":return cs(t.months("long",!1),1);case"o":case"S":return ss(c);case"ooo":case"SSS":return ss(o);case"u":return ls(l);case"uu":return ls(a);case"uuu":case"E":case"c":return ss(r);case"a":return cs(t.meridiems(),0);case"EEE":return cs(t.weekdays("short",!1),1);case"EEEE":return cs(t.weekdays("long",!1),1);case"ccc":return cs(t.weekdays("short",!0),1);case"cccc":return cs(t.weekdays("long",!0),1);case"Z":case"ZZ":return us(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return us(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return ls(/[a-z_+-/]{1,256}?/i);case" ":return ls(/[^\S\n\r]/);default:return k(g)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return g.token=e,g}(t,e))),this.disqualifyingUnit=this.units.find((e=>e.invalidReason)),!this.disqualifyingUnit){const[e,t]=[`^${(r=this.units).map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"")}$`,r];this.regex=RegExp(e,"i"),this.handlers=t}var r}explainFromTokens(e){if(this.isValid){const[t,r]=function(e,t,r){const s=e.match(t);if(s){const e={};let t=1;for(const o in r)if(ft(r,o)){const n=r[o],i=n.groups?n.groups+1:1;!n.literal&&n.token&&(e[n.token.val[0]]=n.deser(s.slice(t,t+i))),t+=i}return[s,e]}return[s,{}]}(e,this.regex,this.handlers),[s,o,n]=r?function(e){let t,r=null;return lt(e.z)||(r=be.create(e.z)),lt(e.Z)||(r||(r=new Ee(e.Z)),t=e.Z),lt(e.q)||(e.M=3*(e.q-1)+1),lt(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),lt(e.u)||(e.S=_t(e.u)),[Object.keys(e).reduce(((t,r)=>{const s=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(r);return s&&(t[s]=e[r]),t}),{}),r,t]}(r):[null,null,void 0];if(ft(r,"a")&&ft(r,"H"))throw new F("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:s,zone:o,specificOffset:n}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function hs(e,t,r){return new gs(e,r).explainFromTokens(t)}function fs(e,t){if(!e)return null;const r=Qt.create(t,e).dtFormatter((ms||(ms=Us.fromMillis(1555555555555)),ms)),s=r.formatToParts(),o=r.resolvedOptions();return s.map((t=>function(e,t,r){const{type:s,value:o}=e;if("literal"===s){const e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}const n=t[s];let i=s;"hour"===s&&(i=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let a=ds[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o)))}const bs="Invalid DateTime",ys=864e13;function ps(e){return new Be("unsupported zone",`the zone "${e.name}" is not supported`)}function vs(e){return null===e.weekData&&(e.weekData=st(e.c)),e.weekData}function ws(e){return null===e.localWeekData&&(e.localWeekData=st(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function _s(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Us({...r,...t,old:r})}function Ss(e,t,r){let s=e-60*t*1e3;const o=r.offset(s);if(t===o)return[s,t];s-=60*(o-t)*1e3;const n=r.offset(s);return o===n?[s,o]:[e-60*Math.min(o,n)*1e3,Math.max(o,n)]}function xs(e,t){const r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Ts(e,t,r){return Ss(Nt(e),t,r)}function Os(e,t){const r=e.o,s=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),n={...e.c,year:s,month:o,day:Math.min(e.c.day,Ot(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Kr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Nt(n);let[c,u]=Ss(a,r,e.zone);return 0!==i&&(c+=i,u=e.zone.offset(c)),{ts:c,o:u}}function Ns(e,t,r,s,o,n){const{setZone:i,zone:a}=r;if(e&&0!==Object.keys(e).length||t){const s=t||a,o=Us.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return Us.invalid(new Be("unparsable",`the input "${o}" can't be parsed as ${s}`))}function js(e,t,r=!0){return e.isValid?Qt.create(Me.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Is(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=pt(e.c.year,r?6:4),t?(s+="-",s+=pt(e.c.month),s+="-",s+=pt(e.c.day)):(s+=pt(e.c.month),s+=pt(e.c.day)),s}function Ms(e,t,r,s,o,n){let i=pt(e.c.hour);return t?(i+=":",i+=pt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=pt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=pt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=pt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=pt(Math.trunc(-e.o/60)),i+=":",i+=pt(Math.trunc(-e.o%60))):(i+="+",i+=pt(Math.trunc(e.o/60)),i+=":",i+=pt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const Cs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Es={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ds={ordinal:1,hour:0,minute:0,second:0,millisecond:0},As=["year","month","day","hour","minute","second","millisecond"],Vs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Fs=["year","ordinal","hour","minute","second","millisecond"];function $s(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new $(e);return t}(e)}}function Ws(e,t){const r=Ae(t.zone,Je.defaultZone);if(!r.isValid)return Us.invalid(ps(r));const s=Me.fromObject(t);let o,n;if(lt(e.year))o=Je.now();else{for(const t of As)lt(e[t])&&(e[t]=Cs[t]);const t=ct(e)||ut(e);if(t)return Us.invalid(t);const s=function(e){return Ps[e]||(void 0===zs&&(zs=Je.now()),Ps[e]=e.offset(zs)),Ps[e]}(r);[o,n]=Ts(e,s,r)}return new Us({ts:o,zone:r,loc:s,o:n})}function Ls(e,t,r){const s=!!lt(r.round)||r.round,o=(e,o)=>{e=St(e,s||r.calendary?0:2,!0);return t.loc.clone(r).relFormatter(r).format(e,o)},n=s=>r.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(r.unit)return o(n(r.unit),r.unit);for(const e of r.units){const t=n(e);if(Math.abs(t)>=1)return o(t,e)}return o(e>t?-0:0,r.units[r.units.length-1])}function Zs(e){let t,r={};return e.length>0&&"object"==typeof e[e.length-1]?(r=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[r,t]}let zs,Ps={};class Us{constructor(e){const t=e.zone||Je.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Be("invalid input"):null)||(t.isValid?null:ps(t));this.ts=lt(e.ts)?Je.now():e.ts;let s=null,o=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,o]=[e.old.c,e.old.o];else{const n=dt(e.o)&&!e.old?e.o:t.offset(this.ts);s=xs(this.ts,n),r=Number.isNaN(s.year)?new Be("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||Me.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Us({})}static local(){const[e,t]=Zs(arguments),[r,s,o,n,i,a,c]=t;return Ws({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=Zs(arguments),[r,s,o,n,i,a,c]=t;return e.zone=Ee.utcInstance,Ws({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static fromJSDate(e,t={}){const r=(s=e,"[object Date]"===Object.prototype.toString.call(s)?e.valueOf():NaN);var s;if(Number.isNaN(r))return Us.invalid("invalid input");const o=Ae(t.zone,Je.defaultZone);return o.isValid?new Us({ts:r,zone:o,loc:Me.fromObject(t)}):Us.invalid(ps(o))}static fromMillis(e,t={}){if(dt(e))return e<-ys||e>ys?Us.invalid("Timestamp out of range"):new Us({ts:e,zone:Ae(t.zone,Je.defaultZone),loc:Me.fromObject(t)});throw new W(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(dt(e))return new Us({ts:1e3*e,zone:Ae(t.zone,Je.defaultZone),loc:Me.fromObject(t)});throw new W("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=Ae(t.zone,Je.defaultZone);if(!r.isValid)return Us.invalid(ps(r));const s=Me.fromObject(t),o=At(e,$s),{minDaysInFirstWeek:n,startOfWeek:i}=at(o,s),a=Je.now(),c=lt(t.specificOffset)?r.offset(a):t.specificOffset,u=!lt(o.ordinal),l=!lt(o.year),d=!lt(o.month)||!lt(o.day),m=l||d,k=o.weekYear||o.weekNumber;if((m||u)&&k)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&u)throw new F("Can't mix ordinal dates with month/day");const g=k||o.weekday&&!m;let h,f,b=xs(a,c);g?(h=Vs,f=Es,b=st(b,n,i)):u?(h=Fs,f=Ds,b=nt(b)):(h=As,f=Cs);let y=!1;for(const e of h){lt(o[e])?o[e]=y?f[e]:b[e]:y=!0}const p=g?function(e,t=4,r=1){const s=mt(e.weekYear),o=yt(e.weekNumber,1,It(e.weekYear,t,r)),n=yt(e.weekday,1,7);return s?o?!n&&Qe("weekday",e.weekday):Qe("week",e.weekNumber):Qe("weekYear",e.weekYear)}(o,n,i):u?function(e){const t=mt(e.year),r=yt(e.ordinal,1,Tt(e.year));return t?!r&&Qe("ordinal",e.ordinal):Qe("year",e.year)}(o):ct(o),v=p||ut(o);if(v)return Us.invalid(v);const w=g?ot(o,n,i):u?it(o):o,[_,S]=Ts(w,c,r),x=new Us({ts:_,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?Us.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:Us.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return rr(e,[jr,Er],[Ir,Dr],[Mr,Ar],[Cr,Vr])}(e);return Ns(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return rr(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[wr,_r])}(e);return Ns(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return rr(e,[Sr,Or],[xr,Or],[Tr,Nr])}(e);return Ns(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(lt(e)||lt(t))throw new W("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=Me.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,u]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=hs(e,t,r);return[s,o,n,i]}(n,e,t);return u?Us.invalid(u):Ns(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return Us.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return rr(e,[$r,Er],[Wr,Lr])}(e);return Ns(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the DateTime is invalid");const r=e instanceof Be?e:new Be(e,t);if(Je.throwOnInvalid)throw new D(r);return new Us({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=fs(e,Me.fromObject(t));return r?r.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return ks(Qt.parseFormat(e),Me.fromObject(t)).map((e=>e.val)).join("")}static resetCache(){zs=void 0,Ps={}}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?vs(this).weekYear:NaN}get weekNumber(){return this.isValid?vs(this).weekNumber:NaN}get weekday(){return this.isValid?vs(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ws(this).weekday:NaN}get localWeekNumber(){return this.isValid?ws(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ws(this).weekYear:NaN}get ordinal(){return this.isValid?nt(this.c).ordinal:NaN}get monthShort(){return this.isValid?es.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?es.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?es.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?es.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,r=Nt(this.c),s=this.zone.offset(r-e),o=this.zone.offset(r+e),n=this.zone.offset(r-s*t),i=this.zone.offset(r-o*t);if(n===i)return[this];const a=r-n*t,c=r-i*t,u=xs(a,n),l=xs(c,i);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[_s(this,{ts:a}),_s(this,{ts:c})]:[this]}get isInLeapYear(){return xt(this.year)}get daysInMonth(){return Ot(this.year,this.month)}get daysInYear(){return this.isValid?Tt(this.year):NaN}get weeksInWeekYear(){return this.isValid?It(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?It(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=Qt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Ee.instance(e),t)}toLocal(){return this.setZone(Je.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=Ae(e,Je.defaultZone)).equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const t=e.offset(this.ts),r=this.toObject();[s]=Ts(r,t,e)}return _s(this,{ts:s,zone:e})}return Us.invalid(ps(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return _s(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=At(e,$s),{minDaysInFirstWeek:r,startOfWeek:s}=at(t,this.loc),o=!lt(t.weekYear)||!lt(t.weekNumber)||!lt(t.weekday),n=!lt(t.ordinal),i=!lt(t.year),a=!lt(t.month)||!lt(t.day),c=i||a,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new F("Can't mix ordinal dates with month/day");let l;o?l=ot({...st(this.c,r,s),...t},r,s):lt(t.ordinal)?(l={...this.toObject(),...t},lt(t.day)&&(l.day=Math.min(Ot(l.year,l.month),l.day))):l=it({...nt(this.c),...t});const[d,m]=Ts(l,this.o,this.zone);return _s(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return _s(this,Os(this,Kr.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return _s(this,Os(this,Kr.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Kr.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===s)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;if("quarters"===s){const e=Math.ceil(this.month/3);r.month=3*(e-1)+1}return this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Qt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):bs}toLocaleString(e=U,t={}){return this.isValid?Qt.create(this.loc.clone(t),e).formatDateTime(this):bs}toLocaleParts(e={}){return this.isValid?Qt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const n="extended"===e;let i=Is(this,n);return i+="T",i+=Ms(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?Is(this,"extended"===e):null}toISOWeekDate(){return js(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:n="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ms(this,"extended"===n,t,e,r,o)}toRFC2822(){return js(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return js(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Is(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(r&&(s+=" "),t?s+="z":e&&(s+="ZZ")),js(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():bs}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return Kr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=(a=t,Array.isArray(a)?a:[a]).map(Kr.normalizeUnit),n=e.valueOf()>this.valueOf(),i=rs(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(Us.now(),e,t)}until(e){return this.isValid?Xr.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,r)<=s&&s<=o.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Us.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),Ls(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?Ls(e.base||Us.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Us.isDateTime))throw new W("min requires all arguments be DateTimes");return ht(e,(e=>e.valueOf()),Math.min)}static max(...e){if(!e.every(Us.isDateTime))throw new W("max requires all arguments be DateTimes");return ht(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return hs(Me.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return Us.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=Me.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new gs(o,e)}static fromFormatParser(e,t,r={}){if(lt(e)||lt(t))throw new W("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=Me.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new W(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?Us.invalid(u):Ns(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return U}static get DATE_MED(){return q}static get DATE_MED_WITH_WEEKDAY(){return R}static get DATE_FULL(){return Y}static get DATE_HUGE(){return H}static get TIME_SIMPLE(){return J}static get TIME_WITH_SECONDS(){return B}static get TIME_WITH_SHORT_OFFSET(){return G}static get TIME_WITH_LONG_OFFSET(){return K}static get TIME_24_SIMPLE(){return Q}static get TIME_24_WITH_SECONDS(){return X}static get TIME_24_WITH_SHORT_OFFSET(){return ee}static get TIME_24_WITH_LONG_OFFSET(){return te}static get DATETIME_SHORT(){return re}static get DATETIME_SHORT_WITH_SECONDS(){return se}static get DATETIME_MED(){return oe}static get DATETIME_MED_WITH_SECONDS(){return ne}static get DATETIME_MED_WITH_WEEKDAY(){return ie}static get DATETIME_FULL(){return ae}static get DATETIME_FULL_WITH_SECONDS(){return ce}static get DATETIME_HUGE(){return ue}static get DATETIME_HUGE_WITH_SECONDS(){return le}}function qs(e){if(Us.isDateTime(e))return e;if(e&&e.valueOf&&dt(e.valueOf()))return Us.fromJSDate(e);if(e&&"object"==typeof e)return Us.fromObject(e);throw new W(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Rs(e={},t){if(void 0!==e.dateTimeFormat&&"function"!=typeof e.dateTimeFormat)throw new o.CKEditorError("invalid-date-time-format");return r=>{const s="string"==typeof r?Us.fromISO(r):Us.fromJSDate(r),o=Us.now(),n=Math.floor(o.diff(s,"days").days);return e.dateTimeFormat?e.dateTimeFormat(s.toJSDate(),t&&t.t?t.t:void 0):0===n?t?`${i(t,"Today")} ${s.toFormat("hh:mma")}`:s.toFormat("'Today' hh:mma"):1===n?t?`${i(t,"Yesterday")} ${s.toFormat("hh:mma")}`:s.toFormat("'Yesterday' hh:mma"):n<7?t?`${i(t,"Last")} ${i(t,s.toFormat("EEEE"))} ${s.toFormat("hh:mma")}`:s.toFormat("'Last' EEEE hh:mma"):s.toFormat("LL-dd-yyyy hh:mma")}}function Ys(e,t){const r=e.mapper.markerNameToElements(t.name);if(!r)return null;const s=(0,o.first)(r.values());return e.view.domConverter.mapViewToDom(s)||null}function Hs(e,t){if(0===t.length)return null;const r=[],s=e.view.domConverter;for(const o of t){const t=e.mapper.markerNameToElements(o.name);if(!t)continue;const n=Array.from(t).map((e=>s.mapViewToDom(e))).filter((e=>!!e));r.push(...n)}if(0===r.length)return null;const o=[];for(const e of r){const t=e.getClientRects().item(0);t&&o.push({x:t.x,y:t.y,domElement:e})}return 0===o.length?null:(o.sort(((e,t)=>e.y-t.y||e.x-t.x)),o.map((e=>e.domElement)))}function Js(e,{limit:t,suffix:r="..."}){const s=[];let o=0;const n=e.replace(/</g,"\n<").replace(/>/g,">\n").replace(/^\n/g,"").replace(/\n$/g,"").split("\n");for(let e=0;e<n.length;e++){let i=n[e];const a=Bs(i);if(i.startsWith("<")){if(o>=t){const t=i.match(/[a-zA-Z]+/);if(!t){n[e]="";continue}const r=t[0];i.startsWith("</")?(s.length&&(i=""),s.pop()):(s.push(r),i="")}}else if(o>=t)i="";else if(o+a.length>=t){let e=t-o;if(" "===a[e-1])e--;else{const t=a.slice(e).indexOf(" ");-1!==t?e+=t:e=i.length}i=a.slice(0,e).join("")+r,o=t}else o+=a.length;n[e]=i}return n.join("\n").replace(/\n/g,"")}function Bs(e){const t=[];for(let r=0;r<e.length;r++){const s=e.substring(r).match(/^&[a-z0-9#]+;/);if(s){const e=s[0];t.push(e),r+=e.length-1}else t.push(e[r])}return t}class Gs extends S.View{submitView;cancelView;focusTracker;keystrokes;focusCycler;focusables;constructor(e){super(e);const t=this.bindTemplate;this.set("message",i(e,"Are you sure?")),this.submitView=this._createButtonView(e,i(e,"Yes"),x.IconCheck,"submit"),this.cancelView=this._createButtonView(e,i(e,"No"),x.IconCancel,"cancel"),this.focusables=this.createCollection([this.submitView,this.cancelView]),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.focusCycler=new S.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift+tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-thread__remove-confirm"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-thread__remove-confirm-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-thread__remove-confirm-actions"},children:[this.submitView,this.cancelView]}]}]})}render(){super.render(),this._setupKeyboardNavigation()}focus(){this.cancelView.element.focus({preventScroll:!0})}_createButtonView(e,t,r,s){const o=new S.ButtonView(e);return o.label=t,o.icon=r,o.extendTemplate({attributes:{class:`ck-thread__remove-confirm-${s}`}}),o.on("execute",(()=>this.fire(s))),o}_setupKeyboardNavigation(){this.focusables.forEach((e=>{this.keystrokes.listenTo(e.element),this.focusTracker.add(e.element)})),this.keystrokes.set("esc",((e,t)=>{this.fire("cancel"),t()}))}}function Ks(e){return class extends e{showConfirm(e,t){return this.confirmView=new Gs(this.locale),this.confirmView.render(),this.confirmView.message=e,this.confirmView.once("cancel",(()=>{this._removeConfirm()})),this.confirmView.once("submit",(()=>{this._removeConfirm()})),t.appendChild(this.confirmView.element),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),new Promise((e=>this.confirmView.on("submit",e)))}cancelConfirm(){this.isConfirm&&this.confirmView.fire("cancel")}_removeConfirm(){this.element&&this.confirmView&&this.confirmView.element&&(this.element.focus(),this.confirmView.element.remove(),this.deregisterChild(this.confirmView),this.isConfirm=!1,this.fire("removeConfirm"),this.confirmView.destroy(),this.confirmView=void 0)}}}function Qs(e){let t=0,r=0;for(const s of eo(e))t=(t<<5)-t+s,t|=0,[t,r]=[r,t];return so(t)+so(r)}function*Xs(e){null==e||null==e?yield 314159265:0===e||!1===e?yield 0:1===e||1==e?yield 1:Array.isArray(e)?yield*function*(e){for(const t of e)yield*Xs(t)}(e):"object"==typeof e?yield*eo(e):"string"==typeof e?yield*to(e):"number"==typeof e&&(yield e)}function*eo(e){if(yield ro("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*to(r),yield ro(":");const t=e[r];yield*Xs(t)}}yield ro("}")}function*to(e){yield ro('"');for(const t of e)yield ro(t);yield ro('"')}function ro(e){return e.charCodeAt(0)}function so(e){return(e*=Math.sign(e)).toString(36)}const oo=["initialData","context","toolbar","rootsAttributes"],no=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function io(e,t,r,s=[]){const o="string"==typeof e?r.get(e).constructor:e.prototype.constructor;if(t.has(o))return t.get(o);t.set(o,!0);const n=[...no,...s].map((e=>{if(r.has(e))return r.get(e).constructor})).filter((e=>e));if(o&&n.includes(o))return t.set(o,!1),!1;if(!o.requires)return t.set(o,!0),!0;const i=o.requires.every((e=>io(e,t,r,s)));return t.set(o,i),i}function ao(e,t){const r={};for(const t of e.config.names())oo.includes(t)||(r[t]=e.config.get(t));const s=r.plugins||[],o=e.constructor.builtinPlugins||[],n=s.length?s:o,i=r.extraPlugins||[];delete r.extraPlugins;const a=r.removePlugins||[];delete r.removePlugins;const c=e._context.config.get("plugins")||[],u=n.concat(i).concat(c).map((e=>"string"==typeof e?o.find((t=>t.pluginName==e)):e)).filter((e=>!a.includes(e)&&!a.includes(e.pluginName))),l=Array.from(new Set(u)),d=new Map;return r.plugins=l.filter((r=>io(r,d,e.plugins,t))),r}function co(e,t){const r=[];e.document.selection.on("change:range",(()=>{const s=function(e,t){const r=[];for(const s of e.markers){const e=s.getRange();(e.containsPosition(t)||e.start.isEqual(t)||e.end.isEqual(t))&&r.push(s)}return r}(e,e.document.selection.focus),o=[],n=[],i=[];for(const e of r)s.includes(e)||o.push(e);for(const e of s)r.includes(e)||n.push(e),i.push(e);(o.length||n.length)&&t({left:o,entered:n}),r.length=0,r.push(...i)}))}const uo="Ctrl+Shift+E";function lo(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)mo(e,r);t.on("change",((t,r)=>{for(const t of r.removed)ko(e,t);for(const t of Array.from(r.added).reverse())mo(e,t)})),e.keystrokes.set("enter",((t,s)=>{r===t.target&&(e.focusCycler.focusFirst(),s())}),{filter:e=>e.target===r}),e.keystrokes.set("esc",((t,s)=>{r!==t.target?e.focus():e.fire("escape"),s()})),e.keystrokes.set("arrowdown",((t,s)=>{r===t.target&&(e.fire("arrowdown"),s())})),e.keystrokes.set("arrowup",((t,s)=>{r===t.target&&(e.fire("arrowup"),s())}))}function mo(e,t){t.isRendered&&(e.focusTracker.add(t.element),e.keystrokes.listenTo(t.element),(0,S.isViewWithFocusCycler)(t)&&function(e,t){const r=e.actions,s=t.actions;for(const e of Object.keys(r))if(e in s&&r[e]!==s[e])return!1;return!0}(e.focusCycler,t.focusCycler)&&e.focusCycler.chain(t.focusCycler))}function ko(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,S.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var go=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),ho={attributes:{"data-cke":!0}};ho.setAttributes=g(),ho.insert=m().bind(null,"head"),ho.domAPI=l(),ho.insertStyleElement=f();c()(go.A,ho);go.A&&go.A.locals&&go.A.locals;var fo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),bo={attributes:{"data-cke":!0}};bo.setAttributes=g(),bo.insert=m().bind(null,"head"),bo.domAPI=l(),bo.insertStyleElement=f();c()(fo.A,bo);fo.A&&fo.A.locals&&fo.A.locals;var yo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),po={attributes:{"data-cke":!0}};po.setAttributes=g(),po.insert=m().bind(null,"head"),po.domAPI=l(),po.insertStyleElement=f();c()(yo.A,po);yo.A&&yo.A.locals&&yo.A.locals;var vo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),wo={attributes:{"data-cke":!0}};wo.setAttributes=g(),wo.insert=m().bind(null,"head"),wo.domAPI=l(),wo.insertStyleElement=f();c()(vo.A,wo);vo.A&&vo.A.locals&&vo.A.locals;var _o=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),So={attributes:{"data-cke":!0}};So.setAttributes=g(),So.insert=m().bind(null,"head"),So.domAPI=l(),So.insertStyleElement=f();c()(_o.A,So);_o.A&&_o.A.locals&&_o.A.locals;var xo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),To={attributes:{"data-cke":!0}};To.setAttributes=g(),To.insert=m().bind(null,"head"),To.domAPI=l(),To.insertStyleElement=f();c()(xo.A,To);xo.A&&xo.A.locals&&xo.A.locals;var Oo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),No={attributes:{"data-cke":!0}};No.setAttributes=g(),No.insert=m().bind(null,"head"),No.domAPI=l(),No.insertStyleElement=f();c()(Oo.A,No);Oo.A&&Oo.A.locals&&Oo.A.locals;var jo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),Io={attributes:{"data-cke":!0}};Io.setAttributes=g(),Io.insert=m().bind(null,"head"),Io.domAPI=l(),Io.insertStyleElement=f();c()(jo.A,Io);jo.A&&jo.A.locals&&jo.A.locals;var Mo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=g(),Co.insert=m().bind(null,"head"),Co.domAPI=l(),Co.insertStyleElement=f();c()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Eo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),Do={attributes:{"data-cke":!0}};Do.setAttributes=g(),Do.insert=m().bind(null,"head"),Do.domAPI=l(),Do.insertStyleElement=f();c()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;function Ao(e,t){var r=Vo();return(Ao=function(e,t){return r[e-=386]})(e,t)}function Vo(){var e=["3848PHwcOs","124466ZhxZCm","16562PCQJIV","957590ukgyDc","42nfAnCb","15423620jqZaBJ","9iphRyG","8325ExxTbu","184648rybiEX","1032064wrJNtt"];return(Vo=function(){return e})()}!function(e){for(var t=Ao,r=e();;)try{if(229903===-parseInt(t(395))/1+parseInt(t(392))/2*(-parseInt(t(390))/3)+-parseInt(t(393))/4+-parseInt(t(387))/5+-parseInt(t(388))/6*(parseInt(t(386))/7)+-parseInt(t(394))/8*(parseInt(t(391))/9)+parseInt(t(389))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Vo)},"?7cdd":(e,t,r)=>{e.exports=r},"ckeditor5/src/core.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/core.js")},"ckeditor5/src/icons.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/icons.js")},"ckeditor5/src/ui.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/ui.js")},"ckeditor5/src/utils.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/utils.js")},"data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E":e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23FFF%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"},"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,r),n.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.b=document.baseURI||self.location.href;var s=r("?7cdd");(window.CKEditor5=window.CKEditor5||{}).collaborationDll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["collaboration-core"];for(const r of t){const t=r.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()));e.CKEditor5[t]=e.CKEditor5.collaborationDll(`./src/${r}.js`)}}(window);
@@ -20,7 +20,6 @@
20
20
  "getDateTimeFormatter",
21
21
  "getMarkerDomElement",
22
22
  "hashObject",
23
- "icons",
24
23
  "sanitizeEditorConfig",
25
24
  "setupThreadKeyboardNavigation",
26
25
  "surroundingMarkersDetector",
@@ -0,0 +1 @@
1
+ !function(n){const o=n.be=n.be||{};o.dictionary=Object.assign(o.dictionary||{},{Anonymous:"","Are you sure?":"",No:"",Yes:""}),o.getPluralForm=function(n){return n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export*from'@ckeditor/ckeditor5-collaboration-core/dist/index.js';const a={'paintRoller':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M3\x203a1\x201\x200\x200\x201\x201-1h10a1\x201\x200\x200\x201\x201\x201v2a1\x201\x200\x200\x201-1\x201H4a1\x201\x200\x200\x201-1-1V3Z\x22/><path\x20d=\x22M16\x203.25a1.5\x201.5\x200\x200\x201\x201.5\x201.5v1.7a2.25\x202.25\x200\x200\x201-1.932\x202.226l-4.424.632a.75.75\x200\x200\x200-.644.743V11a1\x201\x200\x200\x201\x201\x201v5a1\x201\x200\x200\x201-1\x201H9a1\x201\x200\x200\x201-1-1v-5a1\x201\x200\x200\x201\x201-1v-.95a2.25\x202.25\x200\x200\x201\x201.932-2.226l4.424-.632A.75.75\x200\x200\x200\x2016\x206.449V3.25Z\x22/></svg>\x0a','robotPencil':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M9.61\x202.66a1.406\x201.406\x200\x201\x200-1.407\x200v.891H3.28a2.11\x202.11\x200\x200\x200-2.11\x202.11v10.312a2.11\x202.11\x200\x200\x200\x202.11\x202.109h5.684l-.054-1.157.18-.25H3.28a.703.703\x200\x200\x201-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388\x200\x20.703.315.703.704v2.484l.358-.497a2.492\x202.492\x200\x200\x201\x201.048-.84V5.66a2.11\x202.11\x200\x200\x200-2.11-2.11H9.61v-.89Z\x22/><path\x20d=\x22M5.625\x2010.817c.518\x200\x20.937-.63.937-1.407\x200-.776-.42-1.406-.937-1.406-.518\x200-.938.63-.938\x201.406\x200\x20.777.42\x201.407.938\x201.407Z\x22/><path\x20d=\x22M13.125\x209.41c0\x20.777-.42\x201.407-.938\x201.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518\x200\x20.938.63.938\x201.406Z\x22/><path\x20d=\x22M.937\x208.004A.937.937\x200\x200\x200\x200\x208.942v1.875c0\x20.517.42.937.937.937v-3.75Z\x22/><path\x20d=\x22M6.128\x2012.51a.782.782\x200\x200\x201\x201.085.216c.272.408.907.707\x201.693.707s1.421-.3\x201.693-.707a.782.782\x200\x200\x201\x201.302.868c-.666\x201-1.906\x201.403-2.995\x201.403-1.089\x200-2.329-.404-2.995-1.403a.782.782\x200\x200\x201\x20.217-1.085Z\x22/><path\x20d=\x22m16.987\x208.91-.622.864\x202.879\x202.074.622-.864a.71.71\x200\x200\x200-.161-.99l-1.728-1.245a.71.71\x200\x200\x200-.99.161Z\x22/><path\x20d=\x22M11.635\x2019.951a.355.355\x200\x200\x201-.449-.31l-.214-2.38\x204.978-6.911\x202.88\x202.074-4.978\x206.91-2.217.617Z\x22/></svg>','tableOfContents':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M3\x2019a2\x202\x200\x200\x201-2-2V2a2\x202\x200\x200\x201\x202-2h14a2\x202\x200\x200\x201\x202\x202v8.022a6.47\x206.47\x200\x200\x200-1.5-.709V2a.5.5\x200\x200\x200-.5-.5H3a.5.5\x200\x200\x200-.5.5v15a.5.5\x200\x200\x200\x20.5.5h6.313c.173.534.412\x201.037.709\x201.5H3Z\x22/><path\x20d=\x22M9.174\x2014a6.489\x206.489\x200\x200\x200-.155\x201H6v-1h3.174Z\x22/><path\x20d=\x22M10.022\x2012c-.202.316-.378.65-.524\x201H4v-1h6.022Z\x22/><path\x20d=\x22M12.034\x2010c-.448.283-.86.62-1.224\x201H6v-1h6.034Z\x22/><path\x20d=\x22M12\x204v1H4V4h8Z\x22/><path\x20d=\x22M14\x207V6H6v1h8Z\x22/><path\x20d=\x22M15\x209V8H7v1h8Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M20\x2015.5a4.5\x204.5\x200\x201\x201-9\x200\x204.5\x204.5\x200\x200\x201\x209\x200ZM15.5\x2013a.5.5\x200\x200\x200-.5.5V15h-1.5a.5.5\x200\x200\x200\x200\x201H15v1.5a.5.5\x200\x200\x200\x201\x200V16h1.5a.5.5\x200\x200\x200\x200-1H16v-1.5a.5.5\x200\x200\x200-.5-.5Z\x22/></svg>\x0a','template':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M8\x200H3a2\x202\x200\x200\x200-2\x202v15a2\x202\x200\x200\x200\x202\x202h5a2\x202\x200\x200\x200\x202-2V2a2\x202\x200\x200\x200-2-2ZM2.5\x202a.5.5\x200\x200\x201\x20.5-.5h5a.5.5\x200\x200\x201\x20.5.5v15a.5.5\x200\x200\x201-.5.5H3a.5.5\x200\x200\x201-.5-.5V2Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M13\x200h5a2\x202\x200\x200\x201\x202\x202v5a2\x202\x200\x200\x201-2\x202h-5a2\x202\x200\x200\x201-2-2V2a2\x202\x200\x200\x201\x202-2Zm0\x201.5a.5.5\x200\x200\x200-.5.5v5a.5.5\x200\x200\x200\x20.5.5h5a.5.5\x200\x200\x200\x20.5-.5V2a.5.5\x200\x200\x200-.5-.5h-5Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M13\x2010h5a2\x202\x200\x200\x201\x202\x202v5a2\x202\x200\x200\x201-2\x202h-5a2\x202\x200\x200\x201-2-2v-5a2\x202\x200\x200\x201\x202-2Zm0\x201.5a.5.5\x200\x200\x200-.5.5v5a.5.5\x200\x200\x200\x20.5.5h5a.5.5\x200\x200\x200\x20.5-.5v-5a.5.5\x200\x200\x200-.5-.5h-5Z\x22/></svg>','caseChange':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.789\x203\x200\x2017h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664\x203H5.79Zm.938\x201.758\x202.777\x206.715H3.949l2.778-6.715Z\x22/><path\x20d=\x22M15.956\x207.5c-1.584-.02-3.226.824-3.843\x202.882l1.495.106c.904-2.082\x204.594-2.13\x204.375.534-3.245\x201.024-4.838.117-6.082\x202.62-.208.418-.17\x201.57.54\x202.397.71.826\x202.014\x201.149\x203.409.85\x201.395-.299\x202.24-1.386\x202.24-1.386L18.205\x2017h1.493l-.059-1.72-.056-5.274C19.51\x208.612\x2017.75\x207.524\x2015.956\x207.5Zm2.027\x204.696s.641\x202.453-1.528\x203.27c-3.376\x201.269-4.188-2.141-1.775-2.638\x201.704-.352\x201.873-.25\x203.303-.632Z\x22/></svg>'};export{a as icons};
23
+ export*from'@ckeditor/ckeditor5-collaboration-core/dist/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ckeditor5-collaboration",
3
- "version": "44.3.0",
3
+ "version": "45.0.0-alpha.1",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -29,14 +29,13 @@
29
29
  "type": "module",
30
30
  "main": "src/index.js",
31
31
  "dependencies": {
32
- "@ckeditor/ckeditor5-collaboration-core": "44.3.0"
32
+ "@ckeditor/ckeditor5-collaboration-core": "45.0.0-alpha.1"
33
33
  },
34
34
  "files": [
35
35
  "build",
36
36
  "dist",
37
37
  "src/**/*.js",
38
38
  "src/**/*.d.ts",
39
- "theme",
40
39
  "CHANGELOG.md"
41
40
  ],
42
41
  "bugs": {
@@ -60,7 +59,6 @@
60
59
  "default": "./src/*"
61
60
  },
62
61
  "./build/*": "./build/*",
63
- "./theme/*": "./theme/*",
64
62
  "./package.json": "./package.json"
65
63
  },
66
64
  "obfuscated": true
@@ -3,10 +3,3 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  export * from '@ckeditor/ckeditor5-collaboration-core';
6
- export declare const icons: {
7
- paintRoller: string;
8
- robotPencil: string;
9
- tableOfContents: string;
10
- template: string;
11
- caseChange: string;
12
- };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x45d727,_0x31d42d){const _0x3bb58c=_0x66ee,_0xffded5=_0x45d727();while(!![]){try{const _0x5c6322=parseInt(_0x3bb58c(0x135))/0x1*(-parseInt(_0x3bb58c(0x131))/0x2)+-parseInt(_0x3bb58c(0x12e))/0x3*(-parseInt(_0x3bb58c(0x12d))/0x4)+-parseInt(_0x3bb58c(0x12f))/0x5+-parseInt(_0x3bb58c(0x130))/0x6*(-parseInt(_0x3bb58c(0x137))/0x7)+-parseInt(_0x3bb58c(0x136))/0x8+-parseInt(_0x3bb58c(0x133))/0x9+-parseInt(_0x3bb58c(0x132))/0xa*(-parseInt(_0x3bb58c(0x134))/0xb);if(_0x5c6322===_0x31d42d)break;else _0xffded5['push'](_0xffded5['shift']());}catch(_0x5c1554){_0xffded5['push'](_0xffded5['shift']());}}}(_0x5452,0xd66b7));export*from'@ckeditor/ckeditor5-collaboration-core';function _0x5452(){const _0x2771ad=['5625599fuexOa','4nBdIxI','941163bvFZyJ','2666430tCdjhp','6zQBmJC','2RQSDge','3670KzOrMg','15160986RHFjPe','90178GlznHu','396861fCJKFA','5064640EPeyjM'];_0x5452=function(){return _0x2771ad;};return _0x5452();}import _0x3e9eb0 from'../theme/icons/paint-roller.svg';import _0x4c55aa from'../theme/icons/robot-pencil.svg';function _0x66ee(_0x44f9ed,_0x2c4ab7){const _0x545231=_0x5452();return _0x66ee=function(_0x66ee0f,_0x28b7ea){_0x66ee0f=_0x66ee0f-0x12d;let _0x3035d9=_0x545231[_0x66ee0f];return _0x3035d9;},_0x66ee(_0x44f9ed,_0x2c4ab7);}import _0xde0663 from'../theme/icons/table-of-contents.svg';import _0x5216a1 from'./../theme/icons/template.svg';import _0x50d82a from'./../theme/icons/case-change.svg';export const icons={'paintRoller':_0x3e9eb0,'robotPencil':_0x4c55aa,'tableOfContents':_0xde0663,'template':_0x5216a1,'caseChange':_0x50d82a};
23
+ function _0x588d(_0x96bbac,_0x534166){var _0x282c5c=_0x282c();return _0x588d=function(_0x588d42,_0x5888c0){_0x588d42=_0x588d42-0x182;var _0x39b6ad=_0x282c5c[_0x588d42];return _0x39b6ad;},_0x588d(_0x96bbac,_0x534166);}(function(_0x110cad,_0x116c2e){var _0x9b7290=_0x588d,_0x20777a=_0x110cad();while(!![]){try{var _0x3c78eb=-parseInt(_0x9b7290(0x18b))/0x1+parseInt(_0x9b7290(0x188))/0x2*(-parseInt(_0x9b7290(0x186))/0x3)+-parseInt(_0x9b7290(0x189))/0x4+-parseInt(_0x9b7290(0x183))/0x5+-parseInt(_0x9b7290(0x184))/0x6*(parseInt(_0x9b7290(0x182))/0x7)+-parseInt(_0x9b7290(0x18a))/0x8*(parseInt(_0x9b7290(0x187))/0x9)+parseInt(_0x9b7290(0x185))/0xa;if(_0x3c78eb===_0x116c2e)break;else _0x20777a['push'](_0x20777a['shift']());}catch(_0x4a5310){_0x20777a['push'](_0x20777a['shift']());}}}(_0x282c,0x3820f));function _0x282c(){var _0x528e03=['3848PHwcOs','124466ZhxZCm','16562PCQJIV','957590ukgyDc','42nfAnCb','15423620jqZaBJ','9iphRyG','8325ExxTbu','184648rybiEX','1032064wrJNtt'];_0x282c=function(){return _0x528e03;};return _0x282c();}export*from'@ckeditor/ckeditor5-collaboration-core';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x320d(){var _0x2dd143=['252478RWeMNg','34owGnUW','136605wZMGOB','84150HEfZIZ','1650069OqxlOE','18xzrRGI','1530046awDptG','889124DfJaZQ','4297192tRRWKd','70AUTFcW'];_0x320d=function(){return _0x2dd143;};return _0x320d();}(function(_0x1149ef,_0x2e7bd1){var _0x7c62c4=_0x6df2,_0x26289f=_0x1149ef();while(!![]){try{var _0x409a6b=parseInt(_0x7c62c4(0x165))/0x1+parseInt(_0x7c62c4(0x166))/0x2*(parseInt(_0x7c62c4(0x15e))/0x3)+parseInt(_0x7c62c4(0x162))/0x4+-parseInt(_0x7c62c4(0x15d))/0x5*(parseInt(_0x7c62c4(0x160))/0x6)+parseInt(_0x7c62c4(0x161))/0x7+parseInt(_0x7c62c4(0x163))/0x8+parseInt(_0x7c62c4(0x15f))/0x9*(-parseInt(_0x7c62c4(0x164))/0xa);if(_0x409a6b===_0x2e7bd1)break;else _0x26289f['push'](_0x26289f['shift']());}catch(_0x3650bb){_0x26289f['push'](_0x26289f['shift']());}}}(_0x320d,0x537e2));function _0x6df2(_0x38521b,_0x536973){var _0x320d82=_0x320d();return _0x6df2=function(_0x6df278,_0x253d60){_0x6df278=_0x6df278-0x15d;var _0x74bc67=_0x320d82[_0x6df278];return _0x74bc67;},_0x6df2(_0x38521b,_0x536973);}export*from'./collaboration-core.js';
23
+ (function(_0x3d2db4,_0x1d1fd5){var _0x38a91b=_0x80f3,_0x499954=_0x3d2db4();while(!![]){try{var _0x129a7b=-parseInt(_0x38a91b(0xfb))/0x1*(-parseInt(_0x38a91b(0xfc))/0x2)+parseInt(_0x38a91b(0x104))/0x3+-parseInt(_0x38a91b(0x100))/0x4+parseInt(_0x38a91b(0x101))/0x5+parseInt(_0x38a91b(0xff))/0x6*(parseInt(_0x38a91b(0x103))/0x7)+parseInt(_0x38a91b(0x102))/0x8+parseInt(_0x38a91b(0xfd))/0x9*(-parseInt(_0x38a91b(0xfe))/0xa);if(_0x129a7b===_0x1d1fd5)break;else _0x499954['push'](_0x499954['shift']());}catch(_0x2551a2){_0x499954['push'](_0x499954['shift']());}}}(_0x27c6,0xd182e));function _0x80f3(_0x1973e2,_0x9864c4){var _0x27c6f3=_0x27c6();return _0x80f3=function(_0x80f3f,_0x1363d2){_0x80f3f=_0x80f3f-0xfb;var _0x2d1e0f=_0x27c6f3[_0x80f3f];return _0x2d1e0f;},_0x80f3(_0x1973e2,_0x9864c4);}function _0x27c6(){var _0x2c9156=['5713696cIdFUK','4910865HDepuj','3600208QhHrGa','21STsNkq','4847895DGldaj','78114tlBVWz','12vIxXZu','963xVDdEP','129970iGXxmP','320826nQrlsn'];_0x27c6=function(){return _0x2c9156;};return _0x27c6();}export*from'./collaboration-core.js';
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.789 3 0 17h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664 3H5.79Zm.938 1.758 2.777 6.715H3.949l2.778-6.715Z"/><path d="M15.956 7.5c-1.584-.02-3.226.824-3.843 2.882l1.495.106c.904-2.082 4.594-2.13 4.375.534-3.245 1.024-4.838.117-6.082 2.62-.208.418-.17 1.57.54 2.397.71.826 2.014 1.149 3.409.85 1.395-.299 2.24-1.386 2.24-1.386L18.205 17h1.493l-.059-1.72-.056-5.274C19.51 8.612 17.75 7.524 15.956 7.5Zm2.027 4.696s.641 2.453-1.528 3.27c-3.376 1.269-4.188-2.141-1.775-2.638 1.704-.352 1.873-.25 3.303-.632Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3Z"/><path d="M16 3.25a1.5 1.5 0 0 1 1.5 1.5v1.7a2.25 2.25 0 0 1-1.932 2.226l-4.424.632a.75.75 0 0 0-.644.743V11a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-.95a2.25 2.25 0 0 1 1.932-2.226l4.424-.632A.75.75 0 0 0 16 6.449V3.25Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.61 2.66a1.406 1.406 0 1 0-1.407 0v.891H3.28a2.11 2.11 0 0 0-2.11 2.11v10.312a2.11 2.11 0 0 0 2.11 2.109h5.684l-.054-1.157.18-.25H3.28a.703.703 0 0 1-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388 0 .703.315.703.704v2.484l.358-.497a2.492 2.492 0 0 1 1.048-.84V5.66a2.11 2.11 0 0 0-2.11-2.11H9.61v-.89Z"/><path d="M5.625 10.817c.518 0 .937-.63.937-1.407 0-.776-.42-1.406-.937-1.406-.518 0-.938.63-.938 1.406 0 .777.42 1.407.938 1.407Z"/><path d="M13.125 9.41c0 .777-.42 1.407-.938 1.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518 0 .938.63.938 1.406Z"/><path d="M.937 8.004A.937.937 0 0 0 0 8.942v1.875c0 .517.42.937.937.937v-3.75Z"/><path d="M6.128 12.51a.782.782 0 0 1 1.085.216c.272.408.907.707 1.693.707s1.421-.3 1.693-.707a.782.782 0 0 1 1.302.868c-.666 1-1.906 1.403-2.995 1.403-1.089 0-2.329-.404-2.995-1.403a.782.782 0 0 1 .217-1.085Z"/><path d="m16.987 8.91-.622.864 2.879 2.074.622-.864a.71.71 0 0 0-.161-.99l-1.728-1.245a.71.71 0 0 0-.99.161Z"/><path d="M11.635 19.951a.355.355 0 0 1-.449-.31l-.214-2.38 4.978-6.911 2.88 2.074-4.978 6.91-2.217.617Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 0H3a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM2.5 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V2Z"/><path clip-rule="evenodd" d="M13 0h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5h-5Z"/><path clip-rule="evenodd" d="M13 10h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"/></svg>