ckeditor5-collaboration 45.1.0-alpha.6 → 45.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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:()=>j,ConfirmMixin:()=>Gs,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:()=>Bs});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},B={hour:z,minute:z},J={hour:z,minute:z,second:z},K={hour:z,minute:z,second:z,timeZoneName:Z},G={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||Be.defaultLocale,i=n||(o?"en-US":Se||(Se=(new Intl.DateTimeFormat).resolvedOptions().locale,Se)),a=t||Be.defaultNumberingSystem,c=r||Be.defaultOutputCalendar,u=bt(s)||Be.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,Jt,(()=>{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 Be{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 Je{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ke=[0,31,59,90,120,151,181,212,243,273,304,334],Ge=[0,31,60,91,121,152,182,213,244,274,305,335];function Qe(e,t){return new Je("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)?Ge:Ke)[t-1]}function tt(e,t){const r=xt(e)?Ge:Ke,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>Be.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"],Bt=["B","A"];function Jt(e){switch(e){case"narrow":return[...Bt];case"short":return[...Ht];case"long":return[...Yt];default:return null}}function Kt(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Gt={D:U,DD:q,DDD:Y,DDDD:H,t:B,tt:J,ttt:K,tttt:G,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 Gt[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 Jt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Kt(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 Kt(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 Br(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 Gr(s)}function Jr(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 Kr(e,t){const r=Jr(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 Gr{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 Gr.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 Gr({values:At(e,Gr.normalizeUnit),loc:Me.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(dt(e))return Gr.fromMillis(e);if(Gr.isDuration(e))return e;if("object"==typeof e)return Gr.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?Gr.fromObject(r,t):Gr.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?Gr.fromObject(r,t):Gr.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 Je?e:new Je(e,t);if(Be.throwOnInvalid)throw new V(r);return new Gr({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?Jr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Gr.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 Br(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Gr.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 Br(this,{values:t},!0)}get(e){return this[Gr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Br(this,{values:{...this.values,...At(e,Gr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Br(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 Kr(this.matrix,e),Br(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Br(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=>Gr.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 Kr(this.matrix,t),Br(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 Br(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 Je?e:new Je(e,t);if(Be.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=Gr.fromDurationLike(t),s=qs(e);return Xr.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Gr.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=Gr.fromISO(s,t);if(r.isValid)return Xr.after(e,r)}else if(i){const e=Gr.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=Gr.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):Gr.invalid(this.invalidReason)}mapEndpoints(e){return Xr.fromDateTimes(e(this.s),e(this.e))}}class es{static hasDST(e=Be.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,Be.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(Gr.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=Gr.fromObject(n,s);return u.length>0?Gr.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 Je("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=Gr.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 Je("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,Be.defaultZone);if(!r.isValid)return Us.invalid(ps(r));const s=Me.fromObject(t);let o,n;if(lt(e.year))o=Be.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=Be.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||Be.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Je("invalid input"):null)||(t.isValid?null:ps(t));this.ts=lt(e.ts)?Be.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 Je("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,Be.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,Be.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,Be.defaultZone),loc:Me.fromObject(t)});throw new W("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=Ae(t.zone,Be.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=Be.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 Je?e:new Je(e,t);if(Be.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(Be.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=Ae(e,Be.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,Gr.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return _s(this,Os(this,Gr.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Gr.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 Gr.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(Gr.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 B}static get TIME_WITH_SECONDS(){return J}static get TIME_WITH_SHORT_OFFSET(){return K}static get TIME_WITH_LONG_OFFSET(){return G}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 Bs(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=Js(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 Js(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 Ks 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 Gs(e){return class extends e{showConfirm(e,t){return this.confirmView=new Ks(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(){var e=["3573911nKyqJa","130866RtxsNC","401607MKjmTp","80IeBFRA","106001rRTAwt","215622Bkarwz","20SyphEc","3JpkIeu","223064PpFeUk","5ZsiMtz","139692bLWdeh"];return(Ao=function(){return e})()}function Vo(e,t){var r=Ao();return(Vo=function(e,t){return r[e-=231]})(e,t)}!function(e){for(var t=Vo,r=e();;)try{if(102545===parseInt(t(240))/1+parseInt(t(236))/2*(-parseInt(t(235))/3)+parseInt(t(238))/4+parseInt(t(237))/5*(-parseInt(t(233))/6)+parseInt(t(232))/7*(-parseInt(t(231))/8)+-parseInt(t(241))/9*(parseInt(t(234))/10)+parseInt(t(239))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ao)},"?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);
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:()=>M,LateFocusDropdownButtonView:()=>I,Permissions:()=>n,UserView:()=>N,Users:()=>p,getAllMarkersDomElementsSorted:()=>Hs,getDateTimeFormatter:()=>Ys,getMarkerDomElement:()=>Rs,hashObject:()=>Qs,sanitizeEditorConfig:()=>ao,setupThreadKeyboardNavigation:()=>lo,surroundingMarkersDetector:()=>co,trimHtml:()=>Bs});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 M extends S.ButtonView{render(){super.render(),C(this)}}class I 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 L extends E{}class W extends E{constructor(){super("Zone is an abstract class")}}const Z="numeric",z="short",P="long",q={year:Z,month:Z,day:Z},U={year:Z,month:z,day:Z},Y={year:Z,month:z,day:Z,weekday:z},R={year:Z,month:P,day:Z},H={year:Z,month:P,day:Z,weekday:P},B={hour:Z,minute:Z},J={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 W}get name(){throw new W}get ianaName(){return this.name}get isUniversal(){throw new W}offsetName(e,t){throw new W}formatOffset(e,t){throw new W}offset(e){throw new W}equals(e){throw new W}get isValid(){throw new W}}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 Me={firstDay:1,minimalDays:4,weekend:[6,7]};class Ie{static fromOpts(e){return Ie.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||Be.defaultLocale,i=n||(o?"en-US":Se||(Se=(new Intl.DateTimeFormat).resolvedOptions().locale,Se)),a=t||Be.defaultNumberingSystem,c=r||Be.defaultOutputCalendar,u=bt(s)||Be.defaultWeekSettings;return new Ie(i,a,c,u,n)}static resetCache(){Se=null,pe={},we={},_e={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return Ie.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?Ie.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=qs.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,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=qs.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,(()=>Yt),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[qs.utc(2016,11,13,9),qs.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Te(this,e,Jt,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[qs.utc(-40,1,1),qs.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):Me}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 Le={};function We({numberingSystem:e},t=""){const r=e||"latn";return Le[r]||(Le[r]={}),Le[r][t]||(Le[r][t]=new RegExp(`${Ve[r]}${t}`)),Le[r][t]}let Ze,ze=()=>Date.now(),Pe="system",qe=null,Ue=null,Ye=null,Re=60,He=null;class Be{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 qe}static set defaultLocale(e){qe=e}static get defaultNumberingSystem(){return Ue}static set defaultNumberingSystem(e){Ue=e}static get defaultOutputCalendar(){return Ye}static set defaultOutputCalendar(e){Ye=e}static get defaultWeekSettings(){return He}static set defaultWeekSettings(e){He=bt(e)}static get twoDigitCutoffYear(){return Re}static set twoDigitCutoffYear(e){Re=e%100}static get throwOnInvalid(){return Ze}static set throwOnInvalid(e){Ze=e}static resetCaches(){Ie.resetCache(),be.resetCache(),qs.resetCache(),Le={}}}class Je{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 Je("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=Mt(c,t,r)):u>Mt(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 L("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 L("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 Mt(e,t=4,r=1){const s=jt(e,t,r),o=jt(e+1,t,r);return(Tt(e)-s+o)/7}function It(e){return e>99?e:e>Be.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 L(`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"],Lt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zt(e){switch(e){case"narrow":return[...Wt];case"short":return[...Lt];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"],qt=["M","T","W","T","F","S","S"];function Ut(e){switch(e){case"narrow":return[...qt];case"short":return[...Pt];case"long":return[...zt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Yt=["AM","PM"],Rt=["Before Christ","Anno Domini"],Ht=["BC","AD"],Bt=["B","A"];function Jt(e){switch(e){case"narrow":return[...Bt];case"short":return[...Ht];case"long":return[...Rt];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:q,DD:U,DDD:R,DDDD:H,t:B,tt:J,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 Yt[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 Ut(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 Jt(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?It(vt(t)):vt(t),month:Lt.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),Mr=er(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ar),Ir=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),Lr=er(lr),Wr=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},qr=365.2425,Ur=30.436875,Yr={years:{quarters:4,months:12,weeks:52.1775,days:qr,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},Rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Hr=Rr.slice(0).reverse();function Br(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 Jr(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=Jr(e,t)<0?-1:1;Rr.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),Rr.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?Yr:Pr;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Ie.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 L("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Kr({values:At(e,Kr.normalizeUnit),loc:Ie.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 L(`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 L("need to specify a reason the Duration is invalid");const r=e instanceof Je?e:new Je(e,t);if(Be.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=Rr.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 qs.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?Jr(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 Rr)(ft(t.values,e)||ft(this.values,e))&&(r[e]=t.get(e)+this.get(e));return Br(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 Br(this,{values:t},!0)}get(e){return this[Kr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Br(this,{values:{...this.values,...At(e,Kr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Br(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),Br(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Br(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 Rr)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),Br(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 Br(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 Rr)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 L("need to specify a reason the Interval is invalid");const r=e instanceof Je?e:new Je(e,t);if(Be.throwOnInvalid)throw new A(r);return new Xr({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?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=Us(e);return Xr.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Kr.fromDurationLike(t),s=Us(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=qs.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=qs.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(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(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=q,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=Be.defaultZone){const t=qs.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,Be.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Ie.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Ie.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Ie.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ie.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ie.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ie.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ie.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Ie.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=We(t),s=We(t,"{2}"),o=We(t,"{3}"),n=We(t,"{4}"),i=We(t,"{6}"),a=We(t,"{1,2}"),c=We(t,"{1,3}"),u=We(t,"{1,6}"),l=We(t,"{1,9}"),d=We(t,"{2,4}"),m=We(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,It);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=qs.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 Je("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 qs({...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=qs.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return qs.invalid(new Je("unparsable",`the input "${o}" can't be parsed as ${s}`))}function js(e,t,r=!0){return e.isValid?Qt.create(Ie.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Ms(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 Is(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 Ls(e,t){const r=Ae(t.zone,Be.defaultZone);if(!r.isValid)return qs.invalid(ps(r));const s=Ie.fromObject(t);let o,n;if(lt(e.year))o=Be.now();else{for(const t of As)lt(e[t])&&(e[t]=Cs[t]);const t=ct(e)||ut(e);if(t)return qs.invalid(t);const s=function(e){return Ps[e]||(void 0===zs&&(zs=Be.now()),Ps[e]=e.offset(zs)),Ps[e]}(r);[o,n]=Ts(e,s,r)}return new qs({ts:o,zone:r,loc:s,o:n})}function Ws(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 qs{constructor(e){const t=e.zone||Be.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Je("invalid input"):null)||(t.isValid?null:ps(t));this.ts=lt(e.ts)?Be.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 Je("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||Ie.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new qs({})}static local(){const[e,t]=Zs(arguments),[r,s,o,n,i,a,c]=t;return Ls({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,Ls({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 qs.invalid("invalid input");const o=Ae(t.zone,Be.defaultZone);return o.isValid?new qs({ts:r,zone:o,loc:Ie.fromObject(t)}):qs.invalid(ps(o))}static fromMillis(e,t={}){if(dt(e))return e<-ys||e>ys?qs.invalid("Timestamp out of range"):new qs({ts:e,zone:Ae(t.zone,Be.defaultZone),loc:Ie.fromObject(t)});throw new L(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(dt(e))return new qs({ts:1e3*e,zone:Ae(t.zone,Be.defaultZone),loc:Ie.fromObject(t)});throw new L("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=Ae(t.zone,Be.defaultZone);if(!r.isValid)return qs.invalid(ps(r));const s=Ie.fromObject(t),o=At(e,$s),{minDaysInFirstWeek:n,startOfWeek:i}=at(o,s),a=Be.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,Mt(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 qs.invalid(v);const w=g?ot(o,n,i):u?it(o):o,[_,S]=Ts(w,c,r),x=new qs({ts:_,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?qs.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:qs.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return rr(e,[jr,Er],[Mr,Dr],[Ir,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 L("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=Ie.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?qs.invalid(u):Ns(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return qs.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return rr(e,[$r,Er],[Lr,Wr])}(e);return Ns(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new L("need to specify a reason the DateTime is invalid");const r=e instanceof Je?e:new Je(e,t);if(Be.throwOnInvalid)throw new D(r);return new qs({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=fs(e,Ie.fromObject(t));return r?r.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return ks(Qt.parseFormat(e),Ie.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?Mt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Mt(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(Be.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=Ae(e,Be.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 qs.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=q,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=Ms(this,n);return i+="T",i+=Is(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?Ms(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":"")+Is(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?Ms(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(qs.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||qs.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),Ws(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?Ws(e.base||qs.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(qs.isDateTime))throw new L("min requires all arguments be DateTimes");return ht(e,(e=>e.valueOf()),Math.min)}static max(...e){if(!e.every(qs.isDateTime))throw new L("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(Ie.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return qs.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=Ie.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new gs(o,e)}static fromFormatParser(e,t,r={}){if(lt(e)||lt(t))throw new L("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=Ie.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new L(`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?qs.invalid(u):Ns(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return q}static get DATE_MED(){return U}static get DATE_MED_WITH_WEEKDAY(){return Y}static get DATE_FULL(){return R}static get DATE_HUGE(){return H}static get TIME_SIMPLE(){return B}static get TIME_WITH_SECONDS(){return J}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 Us(e){if(qs.isDateTime(e))return e;if(e&&e.valueOf&&dt(e.valueOf()))return qs.fromJSDate(e);if(e&&"object"==typeof e)return qs.fromObject(e);throw new L(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Ys(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?qs.fromISO(r):qs.fromJSDate(r),o=qs.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 Rs(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 Bs(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=Js(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 Js(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&=t,[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"),Mo={attributes:{"data-cke":!0}};Mo.setAttributes=g(),Mo.insert=m().bind(null,"head"),Mo.domAPI=l(),Mo.insertStyleElement=f();c()(jo.A,Mo);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/table.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=g(),Co.insert=m().bind(null,"head"),Co.domAPI=l(),Co.insertStyleElement=f();c()(Io.A,Co);Io.A&&Io.A.locals&&Io.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-=392]})(e,t)}function Vo(){var e=["42JMrLNY","873996GMcGqn","5LlScYV","7130440qaoegv","698110PNEyaw","55xkxVOo","2297852oEYALZ","2740620UBTukx","3337605VpjqXY","3jSqGVJ","2089202sRQGCE"];return(Vo=function(){return e})()}!function(e){for(var t=Ao,r=e();;)try{if(590216===-parseInt(t(399))/1+parseInt(t(394))/2*(-parseInt(t(393))/3)+-parseInt(t(401))/4*(-parseInt(t(397))/5)+parseInt(t(396))/6*(-parseInt(t(395))/7)+parseInt(t(398))/8+parseInt(t(392))/9+-parseInt(t(402))/10*(-parseInt(t(400))/11))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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ckeditor5-collaboration",
3
- "version": "45.1.0-alpha.6",
3
+ "version": "45.1.0",
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,7 +29,7 @@
29
29
  "type": "module",
30
30
  "main": "src/index.js",
31
31
  "dependencies": {
32
- "@ckeditor/ckeditor5-collaboration-core": "45.1.0-alpha.6"
32
+ "@ckeditor/ckeditor5-collaboration-core": "45.1.0"
33
33
  },
34
34
  "files": [
35
35
  "build",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3f0cfe,_0x49ca92){var _0x5c3f2e=_0x8a42,_0x11493c=_0x3f0cfe();while(!![]){try{var _0x396278=parseInt(_0x5c3f2e(0xf0))/0x1+parseInt(_0x5c3f2e(0xec))/0x2*(-parseInt(_0x5c3f2e(0xeb))/0x3)+parseInt(_0x5c3f2e(0xee))/0x4+parseInt(_0x5c3f2e(0xed))/0x5*(-parseInt(_0x5c3f2e(0xe9))/0x6)+parseInt(_0x5c3f2e(0xe8))/0x7*(-parseInt(_0x5c3f2e(0xe7))/0x8)+-parseInt(_0x5c3f2e(0xf1))/0x9*(parseInt(_0x5c3f2e(0xea))/0xa)+parseInt(_0x5c3f2e(0xef))/0xb;if(_0x396278===_0x49ca92)break;else _0x11493c['push'](_0x11493c['shift']());}catch(_0x569be8){_0x11493c['push'](_0x11493c['shift']());}}}(_0x3cf5,0x19091));function _0x3cf5(){var _0x46f8aa=['3573911nKyqJa','130866RtxsNC','401607MKjmTp','80IeBFRA','106001rRTAwt','215622Bkarwz','20SyphEc','3JpkIeu','223064PpFeUk','5ZsiMtz','139692bLWdeh'];_0x3cf5=function(){return _0x46f8aa;};return _0x3cf5();}function _0x8a42(_0xbf9642,_0x5bac01){var _0x3cf5e7=_0x3cf5();return _0x8a42=function(_0x8a4204,_0xc23e80){_0x8a4204=_0x8a4204-0xe7;var _0x5aa252=_0x3cf5e7[_0x8a4204];return _0x5aa252;},_0x8a42(_0xbf9642,_0x5bac01);}export*from'@ckeditor/ckeditor5-collaboration-core';
23
+ function _0x3d90(_0x10fcbe,_0x4df732){var _0xd70861=_0xd708();return _0x3d90=function(_0x3d90e9,_0x1040ea){_0x3d90e9=_0x3d90e9-0x188;var _0x5d573f=_0xd70861[_0x3d90e9];return _0x5d573f;},_0x3d90(_0x10fcbe,_0x4df732);}(function(_0x5d1abc,_0x1b23d4){var _0x8c79c=_0x3d90,_0x5522a4=_0x5d1abc();while(!![]){try{var _0x5b96f4=-parseInt(_0x8c79c(0x18f))/0x1+parseInt(_0x8c79c(0x18a))/0x2*(-parseInt(_0x8c79c(0x189))/0x3)+-parseInt(_0x8c79c(0x191))/0x4*(-parseInt(_0x8c79c(0x18d))/0x5)+parseInt(_0x8c79c(0x18c))/0x6*(-parseInt(_0x8c79c(0x18b))/0x7)+parseInt(_0x8c79c(0x18e))/0x8+parseInt(_0x8c79c(0x188))/0x9+-parseInt(_0x8c79c(0x192))/0xa*(-parseInt(_0x8c79c(0x190))/0xb);if(_0x5b96f4===_0x1b23d4)break;else _0x5522a4['push'](_0x5522a4['shift']());}catch(_0x598c6a){_0x5522a4['push'](_0x5522a4['shift']());}}}(_0xd708,0x90188));function _0xd708(){var _0x46dc13=['42JMrLNY','873996GMcGqn','5LlScYV','7130440qaoegv','698110PNEyaw','55xkxVOo','2297852oEYALZ','2740620UBTukx','3337605VpjqXY','3jSqGVJ','2089202sRQGCE'];_0xd708=function(){return _0x46dc13;};return _0xd708();}export*from'@ckeditor/ckeditor5-collaboration-core';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x375a15,_0x22e330){var _0x36fd7a=_0x5523,_0xa4be98=_0x375a15();while(!![]){try{var _0x58d55e=-parseInt(_0x36fd7a(0x159))/0x1+-parseInt(_0x36fd7a(0x155))/0x2*(parseInt(_0x36fd7a(0x153))/0x3)+-parseInt(_0x36fd7a(0x15b))/0x4+parseInt(_0x36fd7a(0x158))/0x5*(parseInt(_0x36fd7a(0x156))/0x6)+parseInt(_0x36fd7a(0x15a))/0x7+parseInt(_0x36fd7a(0x152))/0x8*(-parseInt(_0x36fd7a(0x154))/0x9)+parseInt(_0x36fd7a(0x15c))/0xa*(parseInt(_0x36fd7a(0x157))/0xb);if(_0x58d55e===_0x22e330)break;else _0xa4be98['push'](_0xa4be98['shift']());}catch(_0x2300ea){_0xa4be98['push'](_0xa4be98['shift']());}}}(_0x5583,0x8cce4));function _0x5523(_0x5db94e,_0xfc9dd1){var _0x558377=_0x5583();return _0x5523=function(_0x552362,_0x3a374d){_0x552362=_0x552362-0x152;var _0x339aed=_0x558377[_0x552362];return _0x339aed;},_0x5523(_0x5db94e,_0xfc9dd1);}export*from'./collaboration-core.js';function _0x5583(){var _0x51e5a3=['426bjqFvN','1566521HKAPAU','70455ZBSRYs','885686SwexbF','2412984fQVurJ','805840XwWGWl','70iMoAFg','1626448LyZZtA','54pmuMRt','9psLRhv','52762lhgIrm'];_0x5583=function(){return _0x51e5a3;};return _0x5583();}
23
+ (function(_0x177a8a,_0x55fe15){var _0x219324=_0x33ff,_0x21c83d=_0x177a8a();while(!![]){try{var _0x5f3119=parseInt(_0x219324(0x1d7))/0x1*(parseInt(_0x219324(0x1d3))/0x2)+parseInt(_0x219324(0x1d8))/0x3+-parseInt(_0x219324(0x1d2))/0x4*(-parseInt(_0x219324(0x1d1))/0x5)+parseInt(_0x219324(0x1d6))/0x6*(-parseInt(_0x219324(0x1d5))/0x7)+parseInt(_0x219324(0x1d9))/0x8+-parseInt(_0x219324(0x1d4))/0x9+parseInt(_0x219324(0x1d0))/0xa;if(_0x5f3119===_0x55fe15)break;else _0x21c83d['push'](_0x21c83d['shift']());}catch(_0x36a7be){_0x21c83d['push'](_0x21c83d['shift']());}}}(_0x245a,0x4c670));function _0x33ff(_0x4138d1,_0x315b6d){var _0x245a60=_0x245a();return _0x33ff=function(_0x33ff51,_0x3e95b0){_0x33ff51=_0x33ff51-0x1d0;var _0x30ac31=_0x245a60[_0x33ff51];return _0x30ac31;},_0x33ff(_0x4138d1,_0x315b6d);}function _0x245a(){var _0x4f38ec=['6zFCnSI','1NbOcvs','671607rcdVcU','1691528DxLTPf','182430XyfxYK','2045QWpXDF','5116smYwKD','588166zuxtBH','3777948wqTSes','3766217nGMUOY'];_0x245a=function(){return _0x4f38ec;};return _0x245a();}export*from'./collaboration-core.js';