@ckeditor/ckeditor5-collaboration-core 48.3.1 → 48.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/index-content.css +267 -270
  2. package/dist/index-editor.css +256 -274
  3. package/dist/index.css +18 -12
  4. package/dist/index.d.ts +3 -1
  5. package/dist/index.js +1 -1
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/dist/ui/pillview.d.ts +0 -1
  153. package/dist/users/view/userview.d.ts +0 -1
  154. package/dist/users.d.ts +0 -1
  155. package/dist/utils/confirmview.d.ts +0 -1
  156. package/dist/utils/isinvalidattributeoperation.d.ts +14 -0
  157. package/package.json +12 -12
  158. package/dist/suggestionstyles.d.ts +0 -19
package/dist/index.css CHANGED
@@ -39,7 +39,11 @@
39
39
  background-color: #0000;
40
40
  }
41
41
 
42
- :is(:is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot), :is(:is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot)::selection {
42
+ :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot {
43
+ background-color: var(--ck-user-color, var(--ck-user-colors--0));
44
+ }
45
+
46
+ :is(:is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]), :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-tooltip, :is(.ck [class^="ck-user__marker--"], .ck [class*=" ck-user__marker--"]) .ck-user__marker-dot)::selection {
43
47
  background-color: var(--ck-user-color, var(--ck-user-colors--0));
44
48
  }
45
49
 
@@ -239,6 +243,11 @@
239
243
  --ck-color-suggestion-ai-accent: #743ccd;
240
244
  --ck-color-suggestion-ai-accent-background: #f2ebff;
241
245
  --ck-suggestion-ai-author-icon-size: 18px;
246
+ --ck-color-suggestion-marker-insertion-border: #1eae3159;
247
+ --ck-color-suggestion-marker-insertion-border-active: #126d1f80;
248
+ --ck-color-suggestion-marker-deletion-border: #ae1e4259;
249
+ --ck-color-suggestion-marker-deletion-border-active: #6d122980;
250
+ --ck-color-suggestion-widget-insertion-background: #66e5770d;
242
251
  }
243
252
 
244
253
  .ck .ck-suggestion {
@@ -351,6 +360,10 @@
351
360
  display: flex;
352
361
  }
353
362
 
363
+ .ck.ck-aria-description {
364
+ display: none;
365
+ }
366
+
354
367
  :root {
355
368
  --ck-color-suggestion-marker-insertion-border: #1eae3159;
356
369
  --ck-color-suggestion-marker-insertion-border-active: #126d1f80;
@@ -369,6 +382,10 @@
369
382
  --ck-color-suggestion-widget-deletion-background-active: #c4214a12;
370
383
  --ck-color-suggestion-widget-format-background: #0aa0c217;
371
384
  --ck-color-suggestion-widget-format-background-active: #0aa0c229;
385
+ --ck-color-suggestion-widget-th-insertion-background: #66e5771f;
386
+ --ck-color-suggestion-widget-th-insertion-background-active: #25da3d24;
387
+ --ck-color-suggestion-widget-th-deletion-background: #e5668624;
388
+ --ck-color-suggestion-widget-th-deletion-background-active: #c4214a29;
372
389
  }
373
390
 
374
391
  .ck-content .ck-suggestion-marker-insertion {
@@ -480,10 +497,6 @@
480
497
  box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
481
498
  }
482
499
 
483
- .ck.ck-aria-description {
484
- display: none;
485
- }
486
-
487
500
  .ck-content .ck-widget.image > figcaption.ck-suggestion-marker-deletion {
488
501
  background-color: var(--ck-color-suggestion-widget-deletion-background);
489
502
  border: none;
@@ -637,13 +650,6 @@
637
650
  background-color: var(--ck-color-suggestion-widget-insertion-background-active);
638
651
  }
639
652
 
640
- :root {
641
- --ck-color-suggestion-widget-th-insertion-background: #66e5771f;
642
- --ck-color-suggestion-widget-th-insertion-background-active: #25da3d24;
643
- --ck-color-suggestion-widget-th-deletion-background: #e5668624;
644
- --ck-color-suggestion-widget-th-deletion-background-active: #c4214a29;
645
- }
646
-
647
653
  .ck-content figure.table .ck-suggestion-marker-formatBlock {
648
654
  box-shadow: -3px 0 0 0 var(--ck-color-suggestion-marker-format-border);
649
655
  }
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { getMarkerDomElement, getAllMarkersDomElementsSorted } from "./utils/get
17
17
  export { trimHtml } from "./utils/trim-html.js";
18
18
  export { ConfirmMixin, type ConfirmApi, type ConfirmMixinConstructor, type RemoveConfirmEvent } from "./utils/confirmmixin.js";
19
19
  export { hashObject } from "./utils/hashobject.js";
20
+ export { isInvalidAttributeOperation } from "./utils/isinvalidattributeoperation.js";
20
21
  export { sanitizeEditorConfig } from "./utils/sanitizeeditorconfig.js";
21
22
  export { surroundingMarkersDetector } from "./utils/surroundingmarkersdetector.js";
22
23
  export { setupThreadKeyboardNavigation, FOCUS_ANNOTATION_KEYSTROKE, type ThreadEscapeEvent, type ThreadArrowUpEvent, type ThreadArrowDownEvent } from "./utils/setupthreadkeyboardnavigation.js";
@@ -25,5 +26,6 @@ export { DocumentCompare, DATA_ID_MODEL_ATTRIBUTE, DATA_ID_VIEW_ATTRIBUTE, type
25
26
  export type { CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from "./collaborationoperation.js";
26
27
  export type { CollaborationHistory } from "./collaborationhistory.js";
27
28
  export type { LocaleConfig, RealTimeCollaborationConfig, CollaborationUsersConfig } from "./config.js";
28
- import "./suggestionstyles.js";
29
+ import "../theme/index-editor.css";
30
+ import "../theme/index-content.css";
29
31
  import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ContextPlugin as _0x1055f5,Editor as _0x1ab7ed,Plugin as _0x55f00f}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x53c10c,Collection as _0x3389d5,FocusTracker as _0x3b21dc,KeystrokeHandler as _0x56353a,first as _0x17f563,toArray as _0x1af04b,uid as _0x3b108b}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x147358,DropdownButtonView as _0x52aca2,FocusCycler as _0x4eab07,IconView as _0x538188,View as _0x4a300f,isViewWithFocusCycler as _0x5069ce}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x3f9185,IconCheck as _0xcb7e48,IconNotification as _0x6b588e}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x57922c,toWidget as _0x29d85b}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x1dec02}from'luxon';import{AttributeOperation as _0x23c8a0,InsertOperation as _0x5dd876,MarkerOperation as _0xc9d81f,MergeOperation as _0x19aa9e,ModelPosition as _0x4bebeb,ModelRange as _0x2761a1,ModelText as _0x48c726,ModelTreeWalker as _0x37addd,MoveOperation as _0x229231,RenameOperation as _0x1af684,SplitOperation as _0x5c12e9}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x43d7fd}from'diff';var B=class extends _0x1055f5{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x515179,_0x1e250a){let _0x2506f1;if(_0x1e250a||(_0x1e250a=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1e250a?_0x2506f1=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2506f1=this['context']['editors']['find'](_0x2c1d20=>_0x2c1d20['config']['get']('collaboration.channelId')==_0x1e250a)),!_0x2506f1)throw new _0x53c10c('permissions-set-permissions-invalid-channel-id',null);const _0x9ff3e2=_0x2506f1['plugins'],_0x311edd=_0x9ff3e2['has']('CommentsRepository')?_0x9ff3e2['get']('CommentsRepository'):void 0x0,_0x1396ee=_0x9ff3e2['has']('CommentsOnly')&&_0x9ff3e2['get']('CommentsOnly'),_0x153d0=_0x515179['includes']('document:write'),_0x9215e1=_0x515179['includes']('comment:modify_all'),_0x8fd6f9=_0x515179['includes']('comment:admin'),_0x1c76bf=_0x515179['includes']('comment:write'),_0x4ee1ac=_0x1c76bf||_0x8fd6f9,_0x14c19c=_0x4ee1ac||_0x9215e1,_0x42d8a8=_0x153d0||_0x4ee1ac;if(_0x1396ee&&(_0x1396ee['isEnabled']=!_0x153d0&&_0x14c19c),_0x2506f1 instanceof _0x1ab7ed&&(_0x153d0||_0x14c19c&&_0x311edd?_0x2506f1['disableReadOnlyMode']('no-permissions'):_0x2506f1['enableReadOnlyMode']('no-permissions')),_0x311edd){_0x311edd['setPermissions']({'admin':_0x8fd6f9,'modifyAll':_0x9215e1,'write':_0x1c76bf,'resolve':_0x42d8a8},_0x1e250a);const _0x12d097=_0x2506f1 instanceof _0x1ab7ed&&_0x2506f1['commands']['get']('addCommentThread');_0x12d097&&(_0x4ee1ac?_0x12d097['clearForceDisabled']('noPermissions'):_0x12d097['forceDisabled']('noPermissions'));}}};function D(_0x46eb7e,_0x53fa32){const t=_0x46eb7e['t'];switch(_0x53fa32){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var $=class extends _0x1055f5{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[B];}constructor(_0x2d3bfe){super(_0x2d3bfe),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3389d5(),this['_locale']=_0x2d3bfe['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x26dba0,name:_0x3d93ba,..._0x585333}){if(!_0x26dba0||'string'!=typeof _0x26dba0)throw new _0x53c10c('users-add-invalid-id');if(this['users']['has'](_0x26dba0))throw new _0x53c10c('users-add-duplicated-id',null,{'id':_0x26dba0});const _0x833461=this['context']['config']['get']('users.getInitialsCallback'),_0x4636f4={..._0x585333,'id':_0x26dba0,'name':R(this['_locale'],_0x3d93ba),'color':this['_getNextColor']()};_0x4636f4['name']=R(this['_locale'],_0x4636f4['name']);const _0x496879=new L(_0x4636f4,_0x833461);return this['users']['add'](_0x496879),_0x496879;}['getUser'](_0xbfb161){return this['users']['get'](_0xbfb161);}['useAnonymousUser'](){const _0x2bd30f=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x2bd30f);}['defineMe'](_0x3fb9b0){if(this['_myId'])throw new _0x53c10c('users-me-already-defined',null);const _0x23b849=this['getUser'](_0x3fb9b0);if(!_0x23b849)throw new _0x53c10c('users-me-missing-user',null);this['_myId']=_0x3fb9b0,_0x23b849['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x320c7f=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x320c7f&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3956d3=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3956d3,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x5c893b,_0x795618){this['id']=_0x5c893b['id'],this['color']=_0x5c893b['color'],this['name']=_0x5c893b['name'],this['initials']=_0x795618?_0x795618(this['name']):this['_computeInitials'](),this['avatar']=_0x5c893b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x13058d=this['name']['split']('\x20')['filter'](_0x531829=>/^[\p{Letter}]/u['test'](_0x531829));return 0x1===_0x13058d['length']?this['_getInitial'](_0x13058d[0x0]):0x0===_0x13058d['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x13058d[0x0])+this['_getInitial'](_0x13058d[_0x13058d['length']-0x1]);}['_getInitial'](_0x1d077d){return String['fromCodePoint'](_0x1d077d['codePointAt'](0x0))['toUpperCase']();}};function R(_0x140a91,_0x52d39d=''){return''==(_0x52d39d=_0x52d39d['trim']())?D(_0x140a91,'Anonymous'):_0x52d39d;}var F=class{['_id'];constructor(_0x49c72a){this['_id']=_0x49c72a;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x4a300f{['name'];['notificationView'];constructor(_0x19a76c,_0x5a3905,_0xfc0516,_0x11a855){super(_0x19a76c),this['name']=_0x5a3905['name'],this['notificationView']=null;const _0x5ab0f5=['ck','ck-user'],_0x2657fe=['ck','ck-user__img'];_0x5a3905['isAnonymous']&&_0x2657fe['push']('ck-user__anonymous'),!_0x5a3905['isAnonymous']&&_0x5a3905['isMe']&&_0x5ab0f5['push']('ck-user_me'),(_0x5a3905['avatar']||_0x11a855)&&_0x2657fe['push']('ck-user__avatar');let _0x1b1001=null;if(_0x11a855&&(_0x1b1001=new _0x538188(),_0x1b1001['content']=_0x11a855,_0x1b1001['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0xfc0516){const _0x43d515=new _0x538188();_0x43d515['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x43d515['content']=_0x6b588e,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0xfc0516},'children':[_0x43d515]};}const _0x6c8c44=[{'tag':'div','attributes':{'class':_0x2657fe,'style':{'background-image':_0x5a3905['avatar']&&!_0x11a855?'url(\x27'+_0x5a3905['avatar']+'\x27)':''}},'children':_0x1b1001?[_0x1b1001]:[]},{'tag':'div','attributes':{'class':_0x5a3905['avatar']||_0x11a855?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5a3905['name']},'children':[{'text':_0x5a3905['initials']}]}];this['notificationView']&&_0x6c8c44['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5ab0f5,'data-user-id':_0x5a3905['id']},'children':_0x6c8c44});}},U=class extends _0x4a300f{['children'];['iconView'];['labelView'];constructor(_0x41b201){super(_0x41b201);const _0x56a5e8=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x56a5e8['to']('class'),_0x56a5e8['to']('iconPosition',_0x36e5a8=>'right'===_0x36e5a8?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x56a5e8['to']('tooltip'),'data-cke-tooltip-position':_0x56a5e8['to']('tooltipPosition'),'data-cke-tooltip-class':_0x56a5e8['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x27966d,_0x20f6db,_0xeedaa0,_0x16021e)=>{_0xeedaa0&&!_0x16021e?this['children']['add'](this['iconView'],0x0):!_0xeedaa0&&_0x16021e&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x147926=new _0x538188();return _0x147926['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x147926['bind']('content')['to'](this,'icon'),_0x147926;}['_createLabelView'](){const _0x205de0=new _0x4a300f(this['locale']),_0x4794af=this['bindTemplate'];return _0x205de0['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x4794af['to']('label')}]}),_0x205de0;}},z=class extends _0x4a300f{['id'];constructor(_0x830711,_0x5d8b8d){super(_0x830711),this['id']='ck-aria-description-'+_0x3b108b(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5d8b8d}]});}},W=class extends _0x147358{['render'](){super['render'](),j(this);}},Y=class extends _0x52aca2{['render'](){super['render'](),j(this);}};function j(_0xde5694){_0xde5694['listenTo'](_0xde5694['element'],'mousedown',(_0x1cabea,_0x2b259e)=>{_0x2b259e['stopPropagation'](),_0x2b259e['preventDefault']();}),_0xde5694['listenTo'](_0xde5694['element'],'mouseup',()=>{_0xde5694['element']['focus']();});}function J(_0x434566){const _0x14035c=_0x434566['split'](':');return{'group':_0x14035c[0x0],'type':_0x14035c[0x1],'subType':_0x14035c['length']>=0x5?_0x14035c[0x2]:null,'id':_0x14035c['length']<0x5?_0x14035c[0x2]:_0x14035c[0x3],'authorId':_0x14035c['length']<0x5?_0x14035c[0x3]:_0x14035c[0x4],'markerCount':0x6==_0x14035c['length']?_0x14035c[0x5]:null};}function G(_0x19b680,_0x1aac44){const _0x134d18=_0x19b680['end']['nodeBefore'];if(_0x134d18&&_0x134d18['is']('element')&&_0x1aac44['schema']['isBlock'](_0x134d18)&&!_0x1aac44['schema']['isObject'](_0x134d18)){const _0x32befc=_0x1aac44['createPositionAt'](_0x134d18,'end');return _0x1aac44['createRange'](_0x19b680['start'],_0x32befc);}return _0x19b680;}var K=class extends _0x55f00f{['afterInit'](){const _0xd348ef=this['editor'];_0xd348ef['plugins']['has']('AlignmentEditing')&&_0xd348ef['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x55f00f{['afterInit'](){const _0x4c6c52=this['editor'],_0x1474b2=_0x4c6c52['plugins']['get']('SuggestionsConversion');for(const _0x43c7b0 of q){if(!_0x4c6c52['plugins']['has'](_0x43c7b0))continue;const _0x5802f5=_0x43c7b0['slice'](0x0,-0x7)['toLowerCase']();_0x1474b2['registerInlineAttribute'](_0x5802f5);}}},Q=class extends _0x55f00f{['afterInit'](){const _0x73c249=this['editor'],_0x53006b=_0x73c249['plugins']['get']('SuggestionsConversion');_0x73c249['plugins']['has']('BookmarkEditing')&&_0x53006b['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x55f00f{['afterInit'](){const _0x41c792=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x23fc5b,commandName:_0xe5a128}of X)this['editor']['plugins']['has'](_0x23fc5b)&&_0x41c792['registerInlineAttribute'](_0xe5a128);}},et=class extends _0x55f00f{['afterInit'](){const {editor:_0x2a5375}=this;if(!_0x2a5375['plugins']['has']('FootnotesPropertiesEditing'))return;const _0xf84212=_0x2a5375['plugins']['get']('SuggestionsConversion');_0xf84212['registerBlockAttribute']('footnotesListStyle'),_0xf84212['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x55f00f{['afterInit'](){const _0x2b0de8=this['editor'];if(!_0x2b0de8['plugins']['has']('GeneralHtmlSupport')||!_0x2b0de8['plugins']['has']('DataSchema'))return;const _0x144164=_0x2b0de8['plugins']['get']('SuggestionsConversion'),_0x381927=_0x2b0de8['plugins']['get']('GeneralHtmlSupport'),_0x46bd15=_0x2b0de8['plugins']['get']('DataSchema');for(const _0x40ec4a of _0x46bd15['getDefinitionsForView'](/.*/,!0x1)){const _0x50a630=_0x381927['getGhsAttributeNameForElement'](_0x40ec4a['view']);!_0x40ec4a['isInline']||_0x40ec4a['isObject']||'appliesToBlock'in _0x40ec4a&&_0x40ec4a['appliesToBlock']?_0x144164['registerBlockAttribute'](_0x50a630):_0x144164['registerInlineAttribute'](_0x50a630);}}},it=class extends _0x55f00f{['afterInit'](){const _0x5e930f=this['editor'];_0x5e930f['plugins']['has']('HighlightEditing')&&_0x5e930f['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x55f00f{['afterInit'](){const _0xb9bd60=this['editor'];_0xb9bd60['plugins']['has']('HtmlEmbed')&&_0xb9bd60['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x55f00f{['afterInit'](){const _0x4cc6e6=this['editor'];if(!_0x4cc6e6['plugins']['has']('ImageEditing'))return;const _0x2181db=_0x4cc6e6['plugins']['get']('SuggestionsConversion');_0x2181db['registerBlockAttribute']('src'),_0x4cc6e6['plugins']['has']('ImageResize')&&_0x2181db['registerBlockAttribute']('resizedWidth'),_0x4cc6e6['plugins']['has']('ImageTextAlternativeEditing')&&_0x2181db['registerBlockAttribute']('alt'),_0x4cc6e6['plugins']['has']('PictureEditing')&&_0x2181db['registerBlockAttribute']('sources'),_0x4cc6e6['plugins']['has']('ImageSizeAttributes')&&(_0x2181db['registerBlockAttribute']('width'),_0x2181db['registerBlockAttribute']('height'));}},rt=class extends _0x55f00f{['afterInit'](){const _0x116a45=this['editor'],_0x992c17=_0x116a45['plugins']['get']('SuggestionsConversion');_0x116a45['plugins']['has']('IndentBlock')&&(_0x992c17['registerBlockAttribute']('blockIndent'),_0x116a45['plugins']['has']('ListEditing')&&(_0x992c17['registerBlockAttribute']('blockIndentList'),_0x992c17['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x55f00f{['afterInit'](){const _0x12e6cc=this['editor'];_0x12e6cc['plugins']['has']('LineHeight')&&_0x12e6cc['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x55f00f{['afterInit'](){const _0x3cc73f=this['editor'];if(!_0x3cc73f['plugins']['has']('LinkEditing'))return;const _0x2a8dc8=_0x3cc73f['plugins']['get']('SuggestionsConversion'),_0x1bd47d=_0x3cc73f['commands']['get']('link');_0x2a8dc8['registerInlineAttribute']('linkHref');for(const _0x4bf449 of _0x1bd47d['manualDecorators'])_0x2a8dc8['registerInlineAttribute'](_0x4bf449['id']);}},lt=class extends _0x55f00f{['afterInit'](){const _0x29845e=this['editor'];if(!_0x29845e['plugins']['has']('ListEditing'))return;const _0x3365aa=_0x29845e['plugins']['get']('SuggestionsConversion'),_0x4828ac=_0x29845e['plugins']['has']('TodoListEditing');_0x3365aa['registerBlockAttribute']('listItemId'),_0x3365aa['registerBlockAttribute']('listType'),_0x3365aa['registerBlockAttribute']('listIndent'),_0x4828ac&&_0x3365aa['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x55f00f{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4c473b=this['editor']['config']['get']('list.properties'),_0x6df3bf=this['editor']['plugins']['get']('SuggestionsConversion');_0x4c473b['styles']&&_0x6df3bf['registerBlockAttribute']('listStyle'),_0x4c473b['reversed']&&_0x6df3bf['registerBlockAttribute']('listReversed'),_0x4c473b['startIndex']&&_0x6df3bf['registerBlockAttribute']('listStart');}},ut=class extends _0x55f00f{['afterInit'](){const _0x47753e=this['editor'],_0xa24f7a=_0x47753e['plugins']['get']('SuggestionsConversion');_0x47753e['plugins']['has']('MultiLevelList')&&_0xa24f7a['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x55f00f{['afterInit'](){const _0x26185f=this['editor'];if(!_0x26185f['plugins']['has']('TableEditing'))return;const _0x170924=_0x26185f['plugins']['get']('SuggestionsConversion');_0x170924['registerBlockAttribute']('headingRows'),_0x170924['registerBlockAttribute']('headingColumns');}},gt=class extends _0x55f00f{['afterInit'](){const {plugins:_0x5be81a}=this['editor'];if(!_0x5be81a['has']('TablePropertiesEditing'))return;const _0x168216=_0x5be81a['get']('SuggestionsConversion');for(const _0x32aa32 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x168216['registerBlockAttribute'](_0x32aa32);}},ft=class extends _0x55f00f{['afterInit'](){const _0x35b3eb=this['editor'],_0xa07118=_0x35b3eb['plugins']['get']('SuggestionsConversion');_0x35b3eb['plugins']['has']('TableLayout')&&_0xa07118['registerBlockAttribute']('tableType');}},mt=class extends _0x55f00f{['afterInit'](){const _0x3f2ad9=this['editor'],_0x59a617=this['editor']['plugins']['get']('SuggestionsConversion');_0x3f2ad9['plugins']['has']('Uploadcare')&&_0x3f2ad9['plugins']['has']('UploadcareImageEdit')&&_0x59a617['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x55f00f{['afterInit'](){const _0x57a0f3=this['editor'];if(!_0x57a0f3['plugins']['has']('ShiftEnter'))return;const _0x5d4c6e=_0x57a0f3['plugins']['get']('SuggestionsConversion'),_0x14c530=(_0x372951,_0x4502f7,_0x12bfd0,_0x46de5c)=>{if(_0x46de5c&&!_0x12bfd0['options']['showSuggestionHighlights'])return;if(!_0x12bfd0['consumable']['test'](_0x4502f7['markerRange'],_0x372951['name']))return;const _0xe64260=_0x57a0f3['model'];for(const _0x4b49ef of _0x4502f7['markerRange']['getItems']()){if(!_0x4b49ef['is']('element','softBreak'))continue;const _0x1f913c='deletion'==_0x4502f7['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x524dd4,authorId:_0x196e21}=J(_0x4502f7['markerName']),_0x282ce7=_0x12bfd0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1f913c,'data-suggestion':_0x524dd4,'data-author-id':_0x196e21}),_0x49b712=_0x12bfd0['mapper']['toViewPosition'](_0xe64260['createPositionBefore'](_0x4b49ef));!_0x46de5c&&_0x5d4c6e['_activeMarkers']['includes'](_0x4502f7['markerName'])&&_0x12bfd0['writer']['addClass']('ck-suggestion-marker--active',_0x282ce7),_0x12bfd0['writer']['insert'](_0x49b712,_0x282ce7),_0x12bfd0['mapper']['bindElementToMarker'](_0x282ce7,_0x4502f7['markerName']);}};_0x57a0f3['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x40c61a,_0x4c318a,_0x4ee421)=>{_0x14c530(_0x40c61a,_0x4c318a,_0x4ee421,!0x1);},{'priority':'high'}),_0x57a0f3['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3461c1,_0x1d38e6,_0x394674)=>{_0x14c530(_0x3461c1,_0x1d38e6,_0x394674,!0x1);},{'priority':'high'}),_0x57a0f3['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2e08b8,_0x282c5a,_0x5edb5b)=>{_0x14c530(_0x2e08b8,_0x282c5a,_0x5edb5b,!0x0);},{'priority':'high'}),_0x57a0f3['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1d4d84,_0x4aaec9,_0x449038)=>{_0x14c530(_0x1d4d84,_0x4aaec9,_0x449038,!0x0);},{'priority':'high'});}},kt=class extends _0x55f00f{['afterInit'](){const _0x2d92e1=this['editor'];if(!_0x2d92e1['plugins']['has']('MediaEmbedEditing'))return;const _0x27a0be=_0x2d92e1['plugins']['get']('SuggestionsConversion');_0x2d92e1['plugins']['has']('MediaEmbedResizeEditing')&&_0x27a0be['registerBlockAttribute']('resizedWidth'),_0x2d92e1['plugins']['has']('MediaEmbedStyleEditing')&&_0x27a0be['registerBlockAttribute']('mediaStyle'),_0x2d92e1['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x499fcc,{writer:_0x3bed90,options:_0x66dda4})=>{if(_0x66dda4['showSuggestionHighlights'])return _0x3bed90['createEmptyElement']('div');},'converterPriority':'high'}),_0x2d92e1['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2ff263,_0x33a345,_0x4d5ce4)=>{_0x4d5ce4['options']['showSuggestionHighlights']&&_0x2ff263['stop']();},{'priority':'high'});}},yt=class extends _0x55f00f{['afterInit'](){const _0x3324bc=this['editor'];if(!_0x3324bc['plugins']['has']('Table'))return;_0x3324bc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x46a12d,_0x406762,_0x215a68)=>{((_0x3d654d,_0x493400,_0x33dc61)=>{if(!_0x33dc61['options']['showSuggestionHighlights'])return;const _0x18b2d4=_0x493400['item'];if(!_0x18b2d4||!_0x18b2d4['is']('element','tableCell'))return;const _0x36d601=_0x33dc61['mapper']['toViewElement'](_0x18b2d4);if(_0x36d601){const {id:_0x2a5368,authorId:_0x3500ea}=J(_0x493400['markerName']);_0x57922c(_0x36d601,_0x33dc61['writer'],(_0x5338f5,_0x3ded9a,_0xc18f05)=>{_0xc18f05['addClass'](_0x1af04b(_0x3ded9a['classes']),_0x5338f5),_0xc18f05['setAttribute']('data-suggestion',_0x2a5368,_0x5338f5),_0xc18f05['setAttribute']('data-author-id',_0x3500ea,_0x5338f5);});}})(0x0,_0x406762,_0x215a68);},{'priority':'highest'});}},bt=class extends _0x55f00f{['afterInit'](){const _0xf50a61=this['editor'];_0xf50a61['plugins']['has']('HorizontalLineEditing')&&_0xf50a61['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x27a6b4,{writer:_0x3b9da9,options:_0x1d8765})=>{if(!_0x1d8765['showSuggestionHighlights'])return null;const _0x93f089=_0x3b9da9['createContainerElement']('div'),_0x21bb53=_0x3b9da9['createEmptyElement']('hr');return _0x3b9da9['addClass']('ck-horizontal-line',_0x93f089),_0x3b9da9['insert'](_0x3b9da9['createPositionAt'](_0x93f089,0x0),_0x21bb53),_0x93f089;},'converterPriority':'high'});}},wt=class extends _0x55f00f{['afterInit'](){const {plugins:_0x36e7d5,model:_0x165565}=this['editor'];if(!_0x36e7d5['has']('TableCellPropertiesEditing'))return;const _0x1e9f97=_0x36e7d5['get']('SuggestionsConversion');for(const _0x3284cc of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x1e9f97['registerBlockAttribute'](_0x3284cc);_0x165565['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1e9f97['registerBlockAttribute']('tableCellType');}},vt=class extends _0x55f00f{['afterInit'](){const _0x999348=this['editor'];_0x999348['plugins']['has']('TableEditing')&&_0x999348['config']['get']('table.enableFooters')&&_0x999348['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x55f00f{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc83a10=this['editor'],_0x2d70be=(_0x13f44d,_0x2de9f4,_0x36d143)=>{const {id:_0x3e1d5b,authorId:_0x29e44d,type:_0x24ce0d,subType:_0x3a5133}=J(_0x13f44d['markerName']),_0x4e420c=['ck-suggestion-marker',this['_getClassName'](_0x24ce0d,_0x3a5133)];let _0x3da2a3=0xbb8;return _0x36d143||this['_activeMarkers']['includes'](_0x13f44d['markerName'])&&(_0x4e420c['push']('ck-suggestion-marker--active'),_0x3da2a3=0xbc2),'deletion'==_0x24ce0d&&(_0x3da2a3+=0x5),{'classes':_0x4e420c,'attributes':{'data-suggestion':_0x3e1d5b,'data-author-id':_0x29e44d},'priority':_0x3da2a3};};_0xc83a10['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5219c9,_0x1b1246)=>_0x2d70be(_0x5219c9,0x0,!0x1)}),_0xc83a10['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3d5075,_0x670328)=>_0x2d70be(_0x3d5075,0x0,!0x0)}),_0xc83a10['conversion']['for']('dataDowncast')['add'](_0x3c213c=>{_0x3c213c['on']('addMarker:suggestion',(_0x5a4889,_0x1f81c0,_0x59f5ff)=>{if(!_0x59f5ff['options']['showSuggestionHighlights'])return;const _0x66f728=_0x1f81c0['item'];if(!_0x66f728)return;const _0x1ad0d8=_0x59f5ff['mapper']['toViewElement'](_0x66f728);_0xc83a10['model']['schema']['isObject'](_0x66f728)&&_0x1ad0d8&&!_0x1ad0d8['getCustomProperty']('widget')&&_0x1ad0d8['is']('containerElement')&&_0x29d85b(_0x1ad0d8,_0x59f5ff['writer']);},{'priority':'high'});});const _0x18dcb5=(_0x4a4b26,_0x13c83a,_0xc68dda,_0x43ab5f,_0x378725)=>{if(_0x43ab5f&&!_0xc68dda['options']['showSuggestionHighlights'])return;if(!_0x13c83a['item'])return;const {id:_0x4ef53e,authorId:_0xb13ea8,subType:_0x4e5992}=J(_0x13c83a['markerName']);if(_0x378725){const _0x1fa510=_0x4e5992['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1fa510))return;}if(_0x13c83a['item']['is']('selection'))return void _0xc68dda['consumable']['consume'](_0x13c83a['item'],_0x4a4b26['name']);const _0x34a895=_0xc68dda['mapper']['toViewElement'](_0x13c83a['item']);if(_0x13c83a['item']['is']('element')&&_0xc83a10['model']['schema']['isBlock'](_0x13c83a['item'])&&!_0x34a895['getCustomProperty']('addHighlight')){_0xc68dda['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x34a895),_0xc68dda['writer']['setAttribute']('data-suggestion',_0x4ef53e,_0x34a895),_0xc68dda['writer']['setAttribute']('data-author-id',_0xb13ea8,_0x34a895),_0xc68dda['mapper']['bindElementToMarker'](_0x34a895,_0x13c83a['markerName']),_0x43ab5f||(this['_activeMarkers']['includes'](_0x13c83a['markerName'])?_0xc68dda['writer']['addClass']('ck-suggestion-marker--active',_0x34a895):_0xc68dda['writer']['removeClass']('ck-suggestion-marker--active',_0x34a895));for(const _0x107490 of _0xc83a10['model']['createRangeIn'](_0x13c83a['item'])['getItems']())_0xc68dda['consumable']['consume'](_0x107490,_0x4a4b26['name']);_0xc68dda['consumable']['consume'](_0x13c83a['item'],_0x4a4b26['name']);}},_0x89cfef=(_0x232605,_0x3e39be,_0x4d20fd,_0x19ec65)=>{const _0x81ffbd=_0x4d20fd['mapper']['markerNameToElements'](_0x3e39be['markerName']);if(_0x81ffbd){if(_0x19ec65){const {subType:_0x104a6d}=J(_0x3e39be['markerName']),_0x177b84=_0x104a6d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x177b84))return;}for(const _0x270a17 of _0x81ffbd)_0x270a17['getCustomProperty']('addHighlight')||(_0x4d20fd['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x270a17),_0x4d20fd['writer']['removeAttribute']('data-suggestion',_0x270a17),_0x4d20fd['writer']['removeAttribute']('data-author-id',_0x270a17),_0x4d20fd['mapper']['unbindElementFromMarkerName'](_0x270a17,_0x3e39be['markerName']));}};_0xc83a10['conversion']['for']('editingDowncast')['add'](_0x2d53cd=>{_0x2d53cd['on']('addMarker:suggestion:formatBlock',(_0x4405cb,_0x4c3282,_0x1beaeb)=>{_0x18dcb5(_0x4405cb,_0x4c3282,_0x1beaeb,!0x1,!0x1);},{'priority':'high'});}),_0xc83a10['conversion']['for']('editingDowncast')['add'](_0x544e97=>{_0x544e97['on']('addMarker:suggestion:attribute',(_0x1463d6,_0x24f089,_0x1fee42)=>{_0x18dcb5(_0x1463d6,_0x24f089,_0x1fee42,!0x1,!0x0);},{'priority':'high'});}),_0xc83a10['conversion']['for']('editingDowncast')['add'](_0x3c238f=>{_0x3c238f['on']('removeMarker:suggestion:formatBlock',(_0x4d0481,_0x49710f,_0x46e7a5)=>{_0x89cfef(0x0,_0x49710f,_0x46e7a5,!0x1);},{'priority':'high'});}),_0xc83a10['conversion']['for']('editingDowncast')['add'](_0x1304b8=>{_0x1304b8['on']('removeMarker:suggestion:attribute',(_0x217fc0,_0x876186,_0x553026)=>{_0x89cfef(0x0,_0x876186,_0x553026,!0x0);},{'priority':'high'});}),_0xc83a10['conversion']['for']('dataDowncast')['add'](_0x554ae3=>{_0x554ae3['on']('addMarker:suggestion:formatBlock',(_0x220ad8,_0x557a09,_0x5aaae7)=>{_0x18dcb5(_0x220ad8,_0x557a09,_0x5aaae7,!0x0,!0x1);},{'priority':'highest'});}),_0xc83a10['conversion']['for']('dataDowncast')['add'](_0x5cc61a=>{_0x5cc61a['on']('addMarker:suggestion:attribute',(_0x27918f,_0x3cf85d,_0x370e)=>{_0x18dcb5(_0x27918f,_0x3cf85d,_0x370e,!0x0,!0x0);},{'priority':'highest'});}),_0xc83a10['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x31510e,_0x1c7a66)=>_0x1c7a66['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x31510e['substr'](0xb)}});const _0x5c6ffa=(_0x243d3d,_0x389e2f,_0x559ac8,_0x399099,_0x29451c)=>{if(_0x399099&&!_0x559ac8['options']['showSuggestionHighlights'])return;if(!_0x559ac8['consumable']['test'](_0x389e2f['markerRange'],_0x243d3d['name']))return;const _0x2bd27a=this['_activeMarkers'],_0x1e3155=_0x389e2f['markerRange']['getWalker'](),_0x2185a2=_0x389e2f['markerRange']['start'],_0x4b5ea7=_0xc83a10['model']['schema'];let _0x1229fb=null,_0x4d52e4=null,_0x5c2e2f=!0x1,_0x3f530b=!0x1;for(const _0x5082da of _0x1e3155){const _0xc64805=_0x5082da['item'];_0x5c2e2f=_0x5c2e2f||_0x4b5ea7['isContent'](_0xc64805);const _0x40ab12=_0x559ac8['mapper']['toViewElement'](_0xc64805);if(_0x40ab12&&_0x40ab12['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5082da['type']&&(_0x4b5ea7['isBlock'](_0xc64805)&&!_0x4b5ea7['isLimit'](_0xc64805)&&(_0xc64805['nextSibling']||_0x2185a2['isAtEnd']?_0x1229fb&&_0x1229fb['parent']==_0xc64805||(_0x1229fb=_0xc64805,_0x47db76(_0x5082da['previousPosition']),_0x3f530b=!0x0):_0x4d52e4=_0x4d52e4||_0x5082da['previousPosition']));}function _0x47db76(_0x3c05c5){const {id:_0x20de21,authorId:_0x3e8bd8}=J(_0x389e2f['markerName']),_0x149d41=_0x559ac8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x29451c,'data-suggestion':_0x20de21,'data-author-id':_0x3e8bd8}),_0x373307=_0x559ac8['mapper']['toViewPosition'](_0x3c05c5);!_0x399099&&_0x2bd27a['includes'](_0x389e2f['markerName'])&&_0x559ac8['writer']['addClass']('ck-suggestion-marker--active',_0x149d41),_0x559ac8['writer']['insert'](_0x373307,_0x149d41),_0x559ac8['mapper']['bindElementToMarker'](_0x149d41,_0x389e2f['markerName']);}_0x5c2e2f||_0x3f530b||!_0x4d52e4||_0x47db76(_0x4d52e4);};_0xc83a10['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1f0a95,_0x4a73fd,_0x204e28)=>{_0x5c6ffa(_0x1f0a95,_0x4a73fd,_0x204e28,!0x1,'merge');},{'priority':'high'}),_0xc83a10['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x13adb5,_0x7b6b5d,_0x368c0c)=>{_0x5c6ffa(_0x13adb5,_0x7b6b5d,_0x368c0c,!0x0,'merge');},{'priority':'high'}),_0xc83a10['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4fba84,_0x179546,_0x4a303f)=>{_0x5c6ffa(_0x4fba84,_0x179546,_0x4a303f,!0x1,'split');},{'priority':'high'}),_0xc83a10['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4664a5,_0x2fb1ed,_0x27c5a1)=>{_0x5c6ffa(_0x4664a5,_0x2fb1ed,_0x27c5a1,!0x0,'split');},{'priority':'high'}),_0xc83a10['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x494598,_0x4f5e54,_0x39c9a2)=>{((_0xb6aedb,_0x59e792,_0x4dad55)=>{const _0x2adc3f=_0x4dad55['mapper']['markerNameToElements'](_0x59e792['markerName']);if(_0x2adc3f){for(const _0x422fbd of _0x2adc3f)(_0x422fbd['hasClass']('ck-suggestion-marker-split')||_0x422fbd['hasClass']('ck-suggestion-marker-merge'))&&(_0x4dad55['mapper']['unbindElementFromMarkerName'](_0x422fbd,_0x59e792['markerName']),_0x4dad55['writer']['remove'](_0x422fbd));}})(0x0,_0x4f5e54,_0x39c9a2);},{'priority':'high'});const _0x2ac287=(_0x198b67,_0x568d46,_0x5f5987,_0x59bdc7)=>{if(_0x59bdc7&&!_0x5f5987['options']['showSuggestionHighlights'])return;const _0x3a2387=_0x568d46['markerRange']['start'],_0x4022d6=_0x568d46['markerRange']['end'],_0x581a9a=_0xc83a10['model']['schema'];if(!_0x3a2387['isTouching'](_0x4022d6)||!_0x3a2387['nodeAfter'])return;const _0x5ceb58=_0x3a2387['nodeAfter'];if(_0x581a9a['isBlock'](_0x5ceb58)&&!_0x581a9a['isLimit'](_0x5ceb58)&&_0x581a9a['checkChild'](_0x5ceb58,'$text')){if(!_0x5f5987['consumable']['consume'](_0x568d46['markerRange'],_0x198b67['name']))return;const {id:_0x40dfcb,authorId:_0x1ca23b}=J(_0x568d46['markerName']),_0x3eedae=_0x5f5987['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x40dfcb,'data-author-id':_0x1ca23b}),_0x33de1b=_0x5f5987['mapper']['toViewPosition'](_0x4022d6);!_0x59bdc7&&this['_activeMarkers']['includes'](_0x568d46['markerName'])&&_0x5f5987['writer']['addClass']('ck-suggestion-marker--active',_0x3eedae),_0x5f5987['writer']['insert'](_0x33de1b,_0x3eedae),_0x5f5987['mapper']['bindElementToMarker'](_0x3eedae,_0x568d46['markerName']);}};_0xc83a10['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x41264c,_0x305c5b,_0x1c2e7a)=>{_0x2ac287(_0x41264c,_0x305c5b,_0x1c2e7a,!0x1);},{'priority':'high'}),_0xc83a10['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x252577,_0x449563,_0x119762)=>{_0x2ac287(_0x252577,_0x449563,_0x119762,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x46433a,_0x1d54a7,_0x480902)=>{this['_activeMarkers']=_0x480902['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x1e01ac){this['_blockAttributeKeys']['add'](_0x1e01ac);}['registerInlineAttribute'](_0x2765ae){this['_inlineAttributeKeys']['add'](_0x2765ae);}['isBlockAttribute'](_0x3e86ff){return this['_blockAttributeKeys']['has'](_0x3e86ff);}['isInlineAttribute'](_0x30a11f){return this['_inlineAttributeKeys']['has'](_0x30a11f);}['isRegisteredAttribute'](_0x23e625){return this['isInlineAttribute'](_0x23e625)||this['isBlockAttribute'](_0x23e625);}['_getClassName'](_0x25110a,_0x361ed4){if('attribute'!=_0x25110a)return'ck-suggestion-marker-'+_0x25110a;const _0x52b337=_0x361ed4['split']('|')[0x0];return this['isBlockAttribute'](_0x52b337)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x4c8b33={},_0x49f8a6){if(void 0x0!==_0x4c8b33['dateTimeFormat']&&'function'!=typeof _0x4c8b33['dateTimeFormat'])throw new _0x53c10c('invalid-date-time-format');return _0x292a30=>{const _0x35468e='string'==typeof _0x292a30?_0x1dec02['fromISO'](_0x292a30):_0x1dec02['fromJSDate'](_0x292a30),_0x4235a3=_0x1dec02['now'](),_0x1973ef=Math['floor'](_0x4235a3['diff'](_0x35468e,'days')['days']);return _0x4c8b33['dateTimeFormat']?_0x4c8b33['dateTimeFormat'](_0x35468e['toJSDate'](),_0x49f8a6&&_0x49f8a6['t']?_0x49f8a6['t']:void 0x0):0x0===_0x1973ef?_0x49f8a6?D(_0x49f8a6,'Today')+'\x20'+_0x35468e['toFormat']('hh:mma'):_0x35468e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x1973ef?_0x49f8a6?D(_0x49f8a6,'Yesterday')+'\x20'+_0x35468e['toFormat']('hh:mma'):_0x35468e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x1973ef<0x7?_0x49f8a6?D(_0x49f8a6,'Last')+'\x20'+D(_0x49f8a6,_0x35468e['toFormat']('EEEE'))+'\x20'+_0x35468e['toFormat']('hh:mma'):_0x35468e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x35468e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x233ff5,_0x285d64){const _0x484462=_0x233ff5['mapper']['markerNameToElements'](_0x285d64['name']);if(!_0x484462)return null;const _0x49ce12=_0x17f563(_0x484462['values']());return _0x233ff5['view']['domConverter']['mapViewToDom'](_0x49ce12)||null;}function It(_0x367348,_0x34c1d8){if(0x0===_0x34c1d8['length'])return null;const _0x2e1450=[],_0x30a9af=_0x367348['view']['domConverter'];for(const _0x23c11b of _0x34c1d8){const _0x3a2529=_0x367348['mapper']['markerNameToElements'](_0x23c11b['name']);if(!_0x3a2529)continue;const _0x3f1994=Array['from'](_0x3a2529)['map'](_0xe6d1eb=>_0x30a9af['mapViewToDom'](_0xe6d1eb))['filter'](_0x3b4b58=>!!_0x3b4b58);_0x2e1450['push'](..._0x3f1994);}if(0x0===_0x2e1450['length'])return null;const _0x3c22ab=[];for(const _0x3bdb81 of _0x2e1450){const _0x5eb4de=_0x3bdb81['getClientRects']()['item'](0x0);_0x5eb4de&&_0x3c22ab['push']({'x':_0x5eb4de['x'],'y':_0x5eb4de['y'],'domElement':_0x3bdb81});}return 0x0===_0x3c22ab['length']?null:(_0x3c22ab['sort']((_0x563368,_0x6e744e)=>_0x563368['y']-_0x6e744e['y']||_0x563368['x']-_0x6e744e['x']),_0x3c22ab['map'](_0x3bb62e=>_0x3bb62e['domElement']));}function St(_0x1e16e7,{limit:_0x5447e3,suffix:_0x5ab886='...'}){const _0x1573f5=[];let _0x5caa46=0x0;const _0x5d6d40=_0x1e16e7['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x22b37b=0x0;_0x22b37b<_0x5d6d40['length'];_0x22b37b++){let _0x365fa3=_0x5d6d40[_0x22b37b];const _0x2fc49b=Et(_0x365fa3);if(_0x365fa3['startsWith']('<')){if(_0x5caa46>=_0x5447e3){const _0x17a97c=_0x365fa3['match'](/[a-zA-Z]+/);if(!_0x17a97c){_0x5d6d40[_0x22b37b]='';continue;}const _0x2d7dec=_0x17a97c[0x0];_0x365fa3['startsWith']('</')?(_0x1573f5['length']&&(_0x365fa3=''),_0x1573f5['pop']()):(_0x1573f5['push'](_0x2d7dec),_0x365fa3='');}}else{if(_0x5caa46>=_0x5447e3)_0x365fa3='';else{if(_0x5caa46+_0x2fc49b['length']>=_0x5447e3){let _0x55f0a0=_0x5447e3-_0x5caa46;if('\x20'===_0x2fc49b[_0x55f0a0-0x1])_0x55f0a0--;else{const _0x4b6a46=_0x2fc49b['slice'](_0x55f0a0)['indexOf']('\x20');-0x1!==_0x4b6a46?_0x55f0a0+=_0x4b6a46:_0x55f0a0=_0x365fa3['length'];}_0x365fa3=_0x2fc49b['slice'](0x0,_0x55f0a0)['join']('')+_0x5ab886,_0x5caa46=_0x5447e3;}else _0x5caa46+=_0x2fc49b['length'];}}_0x5d6d40[_0x22b37b]=_0x365fa3;}return _0x5d6d40['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x1568f5){const _0x37ddd1=[];for(let _0x24b3e7=0x0;_0x24b3e7<_0x1568f5['length'];_0x24b3e7++){const _0x39944d=_0x1568f5['substring'](_0x24b3e7)['match'](/^&[a-z0-9#]+;/);if(_0x39944d){const _0x1e00a1=_0x39944d[0x0];_0x37ddd1['push'](_0x1e00a1),_0x24b3e7+=_0x1e00a1['length']-0x1;}else _0x37ddd1['push'](_0x1568f5[_0x24b3e7]);}return _0x37ddd1;}var Mt=class extends _0x4a300f{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x34b240){super(_0x34b240);const _0x583fc4=this['bindTemplate'];this['set']('message',D(_0x34b240,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x34b240,D(_0x34b240,'Yes'),_0xcb7e48,'submit'),this['cancelView']=this['_createButtonView'](_0x34b240,D(_0x34b240,'No'),_0x3f9185,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3b21dc(),this['keystrokes']=new _0x56353a(),this['focusCycler']=new _0x4eab07({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x583fc4['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x143822,_0x1a9d1f,_0x28c852,_0x4b0028){const _0x44e2b8=new _0x147358(_0x143822);return _0x44e2b8['label']=_0x1a9d1f,_0x44e2b8['icon']=_0x28c852,_0x44e2b8['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4b0028}}),_0x44e2b8['on']('execute',()=>this['fire'](_0x4b0028)),_0x44e2b8;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x300489=>{this['keystrokes']['listenTo'](_0x300489['element']),this['focusTracker']['add'](_0x300489['element']);}),this['keystrokes']['set']('esc',(_0x56d1a8,_0x2e5449)=>{this['fire']('cancel'),_0x2e5449();});}};function At(_0x49e4b3){return class _0x38acc3 extends _0x49e4b3{['showConfirm'](_0x3e2b76,_0x4a4c87){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3e2b76,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4a4c87['appendChild'](this['confirmView']['element']),_0x4a4c87['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x408b46,_0x18891a,_0x55f5fe)=>{_0x55f5fe||_0x4a4c87['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x22b7a8=>this['confirmView']['on']('submit',_0x22b7a8));}['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']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function Tt(_0x3c0116){let _0x455b35=0x0,_0x379108=0x0;for(const _0x15bd0e of Nt(_0x3c0116))_0x455b35=(_0x455b35<<0x5)-_0x455b35+_0x15bd0e,_0x455b35&=_0x455b35,[_0x455b35,_0x379108]=[_0x379108,_0x455b35];return Bt(_0x455b35)+Bt(_0x379108);}function*Pt(_0x3dfb41){null==_0x3dfb41||null==_0x3dfb41?yield 0x12b9b0a1:0x0===_0x3dfb41||!0x1===_0x3dfb41?yield 0x0:0x1===_0x3dfb41||0x1==_0x3dfb41?yield 0x1:Array['isArray'](_0x3dfb41)?yield*function*(_0x3f8917){for(const _0x628b85 of _0x3f8917)yield*Pt(_0x628b85);}(_0x3dfb41):'object'==typeof _0x3dfb41?yield*Nt(_0x3dfb41):'string'==typeof _0x3dfb41?yield*Vt(_0x3dfb41):'number'==typeof _0x3dfb41&&(yield _0x3dfb41);}function*Nt(_0x7fb127){if(yield Ot('{'),_0x7fb127){const _0x2a6869=Object['keys'](_0x7fb127)['sort']();for(const _0x315a09 of _0x2a6869){yield*Vt(_0x315a09),yield Ot(':');const _0xe71f99=_0x7fb127[_0x315a09];yield*Pt(_0xe71f99);}}yield Ot('}');}function*Vt(_0x25bcb2){yield Ot('\x22');for(const _0x4045f2 of _0x25bcb2)yield Ot(_0x4045f2);yield Ot('\x22');}function Ot(_0x5b5a9e){return _0x5b5a9e['charCodeAt'](0x0);}function Bt(_0x1cdc00){return(_0x1cdc00*=Math['sign'](_0x1cdc00))['toString'](0x24);}const Dt=['root','roots','initialData','context','toolbar','rootsAttributes'],$t=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x1c9f42,_0x528974,_0x2babfd,_0x46d4ee=[]){const _0x16770b='string'==typeof _0x1c9f42?_0x2babfd['get'](_0x1c9f42)['constructor']:_0x1c9f42['prototype']['constructor'];if(_0x528974['has'](_0x16770b))return _0x528974['get'](_0x16770b);_0x528974['set'](_0x16770b,!0x0);const _0x527328=[...$t,..._0x46d4ee]['map'](_0xb2a2e1=>{if(_0x2babfd['has'](_0xb2a2e1))return _0x2babfd['get'](_0xb2a2e1)['constructor'];})['filter'](_0x277adb=>_0x277adb);if(_0x16770b&&_0x527328['includes'](_0x16770b))return _0x528974['set'](_0x16770b,!0x1),!0x1;if(!_0x16770b['requires'])return _0x528974['set'](_0x16770b,!0x0),!0x0;const _0x3392b6=_0x16770b['requires']['every'](_0x283df3=>Lt(_0x283df3,_0x528974,_0x2babfd,_0x46d4ee));return _0x528974['set'](_0x16770b,_0x3392b6),_0x3392b6;}function Rt(_0x8feca7,_0x3f51df){const _0x1ac79f={};for(const _0x120ffa of _0x8feca7['config']['names']())Dt['includes'](_0x120ffa)||(_0x1ac79f[_0x120ffa]=_0x8feca7['config']['get'](_0x120ffa));const _0x5bdc5e=_0x1ac79f['plugins']||[],_0x146a87=_0x8feca7['constructor']['builtinPlugins']||[],_0x4dbc18=_0x5bdc5e['length']?_0x5bdc5e:_0x146a87,_0xeb5f9c=_0x1ac79f['extraPlugins']||[];delete _0x1ac79f['extraPlugins'];const _0xa42ee5=_0x1ac79f['removePlugins']||[];delete _0x1ac79f['removePlugins'];const _0x5df666=_0x8feca7['_context']['config']['get']('plugins')||[],_0x11d851=_0x4dbc18['concat'](_0xeb5f9c)['concat'](_0x5df666)['map'](_0x27a97f=>'string'==typeof _0x27a97f?_0x146a87['find'](_0x148866=>_0x148866['pluginName']==_0x27a97f):_0x27a97f)['filter'](_0x136409=>!_0xa42ee5['includes'](_0x136409)&&!_0xa42ee5['includes'](_0x136409['pluginName'])),_0x9cc251=Array['from'](new Set(_0x11d851)),_0x176507=new Map();return _0x1ac79f['plugins']=_0x9cc251['filter'](_0x439d16=>Lt(_0x439d16,_0x176507,_0x8feca7['plugins'],_0x3f51df)),_0x1ac79f;}function Ft(_0x5d0bd3,_0x52ad2e){const _0xc239bb=[];_0x5d0bd3['document']['selection']['on']('change:range',()=>{const _0x246ed0=function(_0x33241e,_0x1133fb){const _0x290592=[];for(const _0xfec0a2 of _0x33241e['markers']){const _0x30fe33=_0xfec0a2['getRange']();(_0x30fe33['containsPosition'](_0x1133fb)||_0x30fe33['start']['isEqual'](_0x1133fb)||_0x30fe33['end']['isEqual'](_0x1133fb))&&_0x290592['push'](_0xfec0a2);}return _0x290592;}(_0x5d0bd3,_0x5d0bd3['document']['selection']['focus']),_0x3a6e8a=[],_0x122835=[],_0x277b22=[];for(const _0x98440a of _0xc239bb)_0x246ed0['includes'](_0x98440a)||_0x3a6e8a['push'](_0x98440a);for(const _0x22b2c9 of _0x246ed0)_0xc239bb['includes'](_0x22b2c9)||_0x122835['push'](_0x22b2c9),_0x277b22['push'](_0x22b2c9);(_0x3a6e8a['length']||_0x122835['length'])&&_0x52ad2e({'left':_0x3a6e8a,'entered':_0x122835}),_0xc239bb['length']=0x0,_0xc239bb['push'](..._0x277b22);});}const Ht='Ctrl+Shift+E';function Ut(_0x1245f2,_0x205eee){const _0x47cbb5=_0x1245f2['element'];_0x1245f2['keystrokes']['listenTo'](_0x47cbb5);for(const _0x504829 of _0x205eee)zt(_0x1245f2,_0x504829);_0x205eee['on']('change',(_0x58be25,_0x532560)=>{for(const _0x4aa9d1 of _0x532560['removed'])Wt(_0x1245f2,_0x4aa9d1);for(const _0x2f6ae8 of Array['from'](_0x532560['added'])['reverse']())zt(_0x1245f2,_0x2f6ae8);}),_0x1245f2['keystrokes']['set']('enter',(_0x1ddc89,_0x59c816)=>{_0x47cbb5===_0x1ddc89['target']&&(_0x1245f2['focusCycler']['focusFirst'](),_0x59c816());},{'filter':_0x4501f6=>_0x4501f6['target']===_0x47cbb5}),_0x1245f2['keystrokes']['set']('esc',(_0x4dcadc,_0x54db97)=>{_0x47cbb5!==_0x4dcadc['target']?_0x1245f2['focus']():_0x1245f2['fire']('escape'),_0x54db97();}),_0x1245f2['keystrokes']['set']('arrowdown',(_0x380651,_0x515ca9)=>{_0x47cbb5===_0x380651['target']&&(_0x1245f2['fire']('arrowdown'),_0x515ca9());}),_0x1245f2['keystrokes']['set']('arrowup',(_0x4560d8,_0x4d7305)=>{_0x47cbb5===_0x4560d8['target']&&(_0x1245f2['fire']('arrowup'),_0x4d7305());});}function zt(_0x198e19,_0x2e0ad2){_0x2e0ad2['isRendered']&&(_0x198e19['focusTracker']['add'](_0x2e0ad2['element']),_0x198e19['keystrokes']['listenTo'](_0x2e0ad2['element']),_0x5069ce(_0x2e0ad2)&&function(_0x1bcd55,_0x29a179){const _0x58c067=_0x1bcd55['actions'],_0x54cba0=_0x29a179['actions'];for(const _0x3f4ad2 of Object['keys'](_0x58c067))if(_0x3f4ad2 in _0x54cba0&&_0x58c067[_0x3f4ad2]!==_0x54cba0[_0x3f4ad2])return!0x1;return!0x0;}(_0x198e19['focusCycler'],_0x2e0ad2['focusCycler'])&&_0x198e19['focusCycler']['chain'](_0x2e0ad2['focusCycler']));}function Wt(_0x131629,_0x1341f2){_0x131629['focusTracker']['remove'](_0x1341f2['element']),_0x131629['keystrokes']['stopListening'](_0x1341f2['element']),_0x5069ce(_0x1341f2)&&_0x131629['focusCycler']['unchain'](_0x1341f2['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x1055f5{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x1ab7ed?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x40b573,_0x5ee8c0)=>{_0x5ee8c0['on']('ready',()=>{this['_integrateEditor'](_0x5ee8c0);});});}get['editor'](){if(this['context']instanceof _0x1ab7ed)return this['context'];{const _0x2a95fe=this['context']['editors']['first'];if(!_0x2a95fe)throw new _0x53c10c('documentcompare-no-editor',this);return _0x2a95fe;}}['getDiff'](_0x4ea987,_0x39078d,_0x1041f7={'anchor':'main','markDeletions':!0x1}){const _0x37e38d=_0x1041f7['targetEditor']||this['editor'],_0x27f5a4=_0x1041f7['anchor']??'main';let _0x3cc7d6,_0x5d9ad6;if('string'==typeof _0x27f5a4){const _0x2cab16=_0x37e38d['model']['document']['getRoot'](_0x27f5a4);if(!_0x2cab16)throw new _0x53c10c('documentcompare-compare-no-root',this,{'anchor':_0x27f5a4});_0x3cc7d6=_0x2cab16,_0x5d9ad6=_0x37e38d['model']['createPositionAt'](_0x2cab16,0x0);}else _0x3cc7d6=_0x27f5a4['clone'](),_0x5d9ad6=_0x27f5a4['clone']();return new Gt({'editor':_0x37e38d,'before':_0x37e38d['data']['parse'](_0x4ea987,_0x3cc7d6),'after':_0x37e38d['data']['parse'](_0x39078d,_0x3cc7d6),'options':{'anchor':_0x5d9ad6,'markDeletions':_0x1041f7['markDeletions']}});}['isMarkedRemoveOperation'](_0x1254d3){return'marker'==_0x1254d3['type']&&_0x1254d3['name']['startsWith']('$markedRemove');}['applyOperations'](_0x4f10d1,_0x23e7d9){const _0x48ea2f=_0x4f10d1['model'];for(const _0x11bb69 of _0x23e7d9)_0x11bb69 instanceof _0x229231?_0x4f10d1['_addOperationForAffectedMarkers']('move',_0x2761a1['_createFromPositionAndShift'](_0x11bb69['sourcePosition'],_0x11bb69['howMany'])):_0x11bb69 instanceof _0x19aa9e?_0x4f10d1['_addOperationForAffectedMarkers']('merge',_0x11bb69['deletionPosition']):_0x11bb69 instanceof _0xc9d81f&&this['_fixMarkerOperationOldRange'](_0x48ea2f,_0x11bb69),_0x11bb69['baseVersion']=_0x48ea2f['document']['version'],_0x4f10d1['batch']['addOperation'](_0x11bb69),_0x48ea2f['applyOperation'](_0x11bb69);}['_fixMarkerOperationOldRange'](_0x5ae46d,_0x25f84b){const _0x8ae013=_0x5ae46d['markers']['get'](_0x25f84b['name']);_0x8ae013&&(_0x25f84b['oldRange']=_0x8ae013['getRange']());}['_integrateEditor'](_0x6110bb){_0x6110bb['conversion']['for']('upcast')['add'](_0x184aa5=>{_0x184aa5['on']('element',(_0x3f488c,_0x5aae86,_0x172731)=>{if(_0x5aae86['modelRange']&&_0x172731['consumable']['consume'](_0x5aae86['viewItem'],{'attributes':'data-id'}))for(const _0x596fb7 of _0x5aae86['modelRange']['getItems']({'shallow':!0x0})){if(_0x596fb7['is']('$textProxy'))continue;const _0x32bc57=_0x5aae86['viewItem']['getAttribute'](jt);_0x32bc57&&_0x172731['writer']['setAttribute'](Yt,_0x32bc57,_0x596fb7);}},{'priority':'low'});}),_0x6110bb['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x575e18,before:_0x1dc83b,after:_0xfc088f,options:_0x29b79e}){this['_editor']=_0x575e18,this['_markDeletions']=!!_0x29b79e['markDeletions'],this['_anchor']=_0x29b79e['anchor'];const _0x620636=this['_tokenizeModel'](_0x1dc83b),_0x553b92=this['_tokenizeModel'](_0xfc088f);this['_diffItems']=this['_diffModelTokens'](_0x620636,_0x553b92),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x1dc83b['markers'],_0xfc088f['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x47a8f3=this['_editor']['model']['document'],_0x6b4f5e=[];let _0x2d3370=_0x47a8f3['version'];for(const _0x27d331 of this['_operationsData'])switch(_0x27d331['type']){case'attribute':{const _0x11f158=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']),_0xa0d2c8=new _0x2761a1(_0x11f158,_0x11f158['getShiftedBy'](_0x27d331['howMany'])),_0x3f9cc1=JSON['parse'](_0x27d331['oldValue']),_0x58fdad=JSON['parse'](_0x27d331['newValue']);_0x6b4f5e['push'](new _0x23c8a0(_0xa0d2c8,_0x27d331['key'],_0x3f9cc1,_0x58fdad,_0x2d3370++));break;}case'insert':{const _0x24ff80=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']),_0x2516f1=this['_makeModelFromTokens'](_0x27d331['tokens']);_0x6b4f5e['push'](new _0x5dd876(_0x24ff80,_0x2516f1,_0x2d3370++));break;}case'remove':{const _0x977026=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']),_0xe526d7=new _0x4bebeb(_0x47a8f3['graveyard'],[0x0]);_0x6b4f5e['push'](new _0x229231(_0x977026,_0x27d331['howMany'],_0xe526d7,_0x2d3370++));break;}case'rename':{const _0x40124a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']);_0x6b4f5e['push'](new _0x1af684(_0x40124a,_0x27d331['oldName'],_0x27d331['newName'],_0x2d3370++));break;}case'split':{const _0x60b726=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']),_0x245d04=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['path']['slice'](0x0,-0x1));_0x245d04['offset']++,_0x6b4f5e['push'](new _0x5c12e9(_0x60b726,Number['NEGATIVE_INFINITY'],_0x245d04,null,_0x2d3370++));break;}case'merge':{const _0x49050f=_0x27d331['path']['slice'](),_0x5d2677=_0x49050f['slice'](0x0,-0x1);_0x5d2677[_0x5d2677['length']-0x1]++,_0x5d2677['push'](0x0);const _0x2653b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5d2677),_0x367dff=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x49050f),_0x39e615=new _0x4bebeb(_0x47a8f3['graveyard'],[0x0]);_0x6b4f5e['push'](new _0x19aa9e(_0x2653b3,Number['NEGATIVE_INFINITY'],_0x367dff,_0x39e615,_0x2d3370++));break;}case'marker':case'markedRemove':{let _0x5aa3e3=null;_0x27d331['range']&&(_0x5aa3e3=new _0x2761a1(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['range']['end'])));const _0x3a9087='marker'==_0x27d331['type']?_0x27d331['name']:'$markedRemove:'+_0x3b108b();_0x6b4f5e['push'](new _0xc9d81f(_0x3a9087,null,_0x5aa3e3,_0x47a8f3['model']['markers'],!0x0,_0x2d3370++));break;}case'unwrap':{const _0xca6c4b=_0x27d331['path']['slice']();_0xca6c4b['push'](0x0);const _0x37891c=_0x27d331['path']['slice'](),_0x4b28b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xca6c4b),_0x402177=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37891c),_0x47f872=new _0x4bebeb(_0x47a8f3['graveyard'],[0x0]);_0x6b4f5e['push'](new _0x229231(_0x4b28b7,_0x27d331['howMany'],_0x402177,_0x2d3370++)),_0x6b4f5e['push'](new _0x229231(_0x402177['getShiftedBy'](_0x27d331['howMany']),0x1,_0x47f872,_0x2d3370++));break;}case'wrap':{const _0x15eefd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['range']['start']),_0x3375b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x27d331['range']['end']),_0x2792e4=_0x27d331['token']['element']['_clone'](!0x1);_0x2792e4['_removeAttribute'](Yt);const _0x3baa16=_0x27d331['range']['end']['slice']();_0x3baa16['push'](0x0);const _0x7320a4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3baa16);_0x6b4f5e['push'](new _0x5dd876(_0x3375b3,_0x2792e4,_0x2d3370++)),_0x6b4f5e['push'](new _0x229231(_0x15eefd,_0x3375b3['offset']-_0x15eefd['offset'],_0x7320a4,_0x2d3370++));break;}}return _0x6b4f5e;}['_tokenizeModel'](_0x1ac66e){const _0x163bb1=[],_0x364634=new _0x37addd({'boundaries':_0x2761a1['_createIn'](_0x1ac66e)});let _0x104d8b='',_0x234ecd=null;const _0x12ac36=[''],_0x2f97ec=new Map();for(const _0x24eb7f of _0x364634)if('elementStart'==_0x24eb7f['type']||'elementEnd'==_0x24eb7f['type']){let _0x4305e9=_0x12ac36[0x0];''!==_0x104d8b&&(_0x163bb1['push'](...this['_makeTokensFromTextByWords'](_0x104d8b,_0x234ecd,_0x4305e9)),_0x104d8b='');const _0x469c47=_0x24eb7f['item'];let _0x46cf31;_0x469c47['getAttribute']('$elementId')?_0x46cf31=_0x469c47['getAttribute'](Yt):'elementStart'==_0x24eb7f['type']?(_0x46cf31=qt(_0x469c47),_0x2f97ec['set'](_0x469c47,_0x46cf31)):_0x46cf31=_0x2f97ec['get'](_0x469c47);const _0x3ae0ff=this['_getElementCategory'](_0x469c47);'solid'==_0x3ae0ff&&('elementStart'==_0x24eb7f['type']?(_0x4305e9=_0x46cf31,_0x12ac36['unshift'](_0x4305e9)):_0x12ac36['shift']());const _0x410d90={'type':'element','element':_0x469c47,'elementId':_0x46cf31,'category':_0x3ae0ff,'isStart':'elementStart'==_0x24eb7f['type'],'limitId':_0x4305e9};_0x163bb1['push'](_0x410d90);}else''==_0x104d8b&&(_0x234ecd=_0x24eb7f['previousPosition']['clone']()),_0x104d8b+=_0x24eb7f['item']['data'];return''!==_0x104d8b&&_0x163bb1['push'](...this['_makeTokensFromTextByWords'](_0x104d8b,_0x234ecd,_0x12ac36[0x0])),_0x163bb1;}['_makeTokensFromTextByWords'](_0x26a534,_0x1d6fcf,_0x327ef9){const _0x58fcf7=_0x26a534['matchAll'](/(\s)/g),_0x3343a2=Array['from'](_0x58fcf7)['map'](_0x2932df=>_0x2932df['index']);_0x3343a2['push'](_0x26a534['length']),0x0==_0x3343a2[0x0]&&_0x3343a2['shift']();const _0x328526=[],_0xb74071=_0x1d6fcf['parent'];let _0x4813fe=0x0,_0x1976df=_0x1d6fcf['offset'];for(let _0x349eb4=0x0;_0x349eb4<_0x3343a2['length'];_0x349eb4++)_0x328526['push']({'type':'text','data':_0x26a534['slice'](_0x4813fe,_0x3343a2[_0x349eb4]),'parent':_0xb74071,'offset':_0x1976df,'limitId':_0x327ef9}),_0x4813fe=_0x3343a2[_0x349eb4],_0x1976df=_0x1d6fcf['offset']+_0x3343a2[_0x349eb4];return _0x328526;}['_getElementCategory'](_0xced9ff){const _0x3a20ae=this['_editor']['model']['schema'];return _0x3a20ae['isLimit'](_0xced9ff)||_0x3a20ae['isContent'](_0xced9ff)||_0x3a20ae['isInline'](_0xced9ff)?'solid':_0x3a20ae['isBlock'](_0xced9ff)?'block':function(_0x379865,_0x382ad0){const _0x5a4bba=_0x379865['parent'];if(!_0x5a4bba||_0x5a4bba['is']('documentFragment'))return!0x1;if(_0x382ad0['checkChild'](_0x5a4bba,'$text'))return!0x1;for(const _0x40cd91 of _0x379865['getChildren']())if(_0x40cd91['is']('$text'))return!0x0;return!0x1;}(_0xced9ff,_0x3a20ae)?'solid':'container';}['_diffModelTokens'](_0x107894,_0x13cafc){const _0x23672e=_0x43d7fd(_0x107894,_0x13cafc,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x23672e);const _0x16adf9=_0x23672e['flatMap'](_0x3265d5=>{const _0x22b8d8=_0x3265d5['added']?'added':_0x3265d5['removed']?'removed':'unchanged';return _0x3265d5['value']['map'](_0x463872=>({'token':_0x463872,'change':_0x22b8d8}));});let _0x2df355=0x0;for(const _0x2910ff of _0x16adf9)'added'!=_0x2910ff['change']&&('unchanged'==_0x2910ff['change']&&(_0x2910ff['before']=_0x107894[_0x2df355]),_0x2df355++);return _0x16adf9;}['_handleUnclosedBlockOpeningTags'](_0xb57ac){for(let _0x49e6b4=0x0;_0x49e6b4<_0xb57ac['length']-0x1;_0x49e6b4++)if(_0xb57ac[_0x49e6b4]['removed']&&_0xb57ac[_0x49e6b4+0x1]['added']){const _0xaa89df=this['_findUnclosedBlockOpeningToken'](_0xb57ac[_0x49e6b4]['value']);if(null!==_0xaa89df){const _0x17e0a9=this['_findUnclosedBlockOpeningToken'](_0xb57ac[_0x49e6b4+0x1]['value']),_0x5c48d=_0xb57ac[_0x49e6b4]['value']['splice'](_0xaa89df),_0x25de99=_0xb57ac[_0x49e6b4+0x1]['value']['splice'](_0x17e0a9),_0x342fc0=[_0x25de99['shift']()];_0x5c48d['shift']();const _0x318101={'value':_0x5c48d,'removed':!0x0},_0x3cb0e4={'value':_0x25de99,'added':!0x0},_0x4de195={'value':_0x342fc0};_0xb57ac['splice'](_0x49e6b4+0x2,0x0,_0x4de195,_0x318101,_0x3cb0e4);}}}['_findUnclosedBlockOpeningToken'](_0x4150ff){let _0x45d8d9=0x0,_0x271df7=-0x1;for(let _0x1e28ca=0x0;_0x1e28ca<_0x4150ff['length'];_0x1e28ca++){const _0x48ba6b=_0x4150ff[_0x1e28ca];'element'==_0x48ba6b['type']&&'block'==_0x48ba6b['category']&&(_0x45d8d9+=_0x48ba6b['isStart']?0x1:-0x1,_0x48ba6b['isStart']&&(_0x271df7=_0x1e28ca));}return 0x0===_0x45d8d9?null:_0x271df7;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x48fdab=0x0;_0x48fdab<this['_diffItems']['length'];_0x48fdab++){const _0x199c17=this['_diffItems'][_0x48fdab]['change'],_0x417a48=[];_0x417a48['push'](this['_diffItems'][_0x48fdab]);let _0x39320c=_0x48fdab+0x1;for(;this['_diffItems'][_0x39320c]&&this['_diffItems'][_0x39320c]['change']==_0x199c17;)_0x417a48['push'](this['_diffItems'][_0x39320c]),_0x39320c++,_0x48fdab++;const _0x658358=_0x417a48['map'](_0x30647c=>_0x30647c['token']);if('unchanged'==_0x199c17)_0x417a48['map'](_0x480c04=>_0x480c04['before'])['forEach'](_0x8e9419=>this['_traverseOverItem'](_0x8e9419));else{if('removed'==_0x199c17){if(this['_markDeletions']){const _0x376fc8=this['_path']['slice']();_0x658358['forEach'](_0x2ccadd=>this['_traverseOverItem'](_0x2ccadd));const _0x15e79c=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x376fc8,'end':_0x15e79c}});}else this['_handleChanged'](_0x658358,!0x0,this['_path']['slice']());}else{const _0x564361=_0x658358['filter'](_0xeba8b7=>'element'!=_0xeba8b7['type']||'container'!=_0xeba8b7['category']);this['_handleChanged'](_0x564361,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xe942e0=0x0;_0xe942e0<this['_diffItems']['length'];_0xe942e0++){const _0x42ae79=this['_diffItems'][_0xe942e0]['change'],_0x37cf1c=[];_0x37cf1c['push'](this['_diffItems'][_0xe942e0]);let _0x165b7b=_0xe942e0+0x1;for(;this['_diffItems'][_0x165b7b]&&this['_diffItems'][_0x165b7b]['change']==_0x42ae79;)_0x37cf1c['push'](this['_diffItems'][_0x165b7b]),_0x165b7b++,_0xe942e0++;const _0x13c280=_0x37cf1c['map'](_0x383572=>_0x383572['token']);if('unchanged'==_0x42ae79){const _0x2f2d32=_0x37cf1c['map'](_0x33a032=>_0x33a032['before']);this['_handleUnchanged'](_0x2f2d32,_0x13c280);}else('added'==_0x42ae79||this['_markDeletions'])&&_0x13c280['forEach'](_0x555b31=>{'element'==_0x555b31['type']&&_0x555b31['isStart']&&this['_splitPostponedData']['has'](_0x555b31['element'])&&this['_handleSplitPostponedData'](_0x555b31['element'],this['_path']),this['_traverseOverItem'](_0x555b31);});}}['_handleSplitPostponedData'](_0x17f07e,_0x189d5e){const _0x8f714f=this['_splitPostponedData']['get'](_0x17f07e);for(const _0xfac8e5 of _0x8f714f)'rename'==_0xfac8e5['type']?this['_operationsData']['push']({'type':'rename','path':_0x189d5e['slice'](),'oldName':_0xfac8e5['oldValue'],'newName':_0x17f07e['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x189d5e['slice'](),'howMany':0x1,'key':_0xfac8e5['key'],'oldValue':_0xfac8e5['oldValue'],'newValue':JSON['stringify'](_0x17f07e['getAttribute'](_0xfac8e5['key'])??null)});}['_calculateMarkersOperationsData'](_0x5d573d,_0x59fd0d){const _0x125c5e={};for(const [_0x120a9c]of _0x5d573d)_0x125c5e[_0x120a9c]=null;for(const [_0x1939ce,_0x144cd9]of _0x59fd0d)_0x125c5e[_0x1939ce]=_0x144cd9;const _0x44dc3=Object['entries'](_0x125c5e)['map'](([_0x31d41a,_0x155198])=>({'type':'marker','name':_0x31d41a,'range':_0x155198?{'start':_0x155198['start']['path']['slice'](),'end':_0x155198['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x44dc3);}['_handleUnwraps'](){const _0x154913=new Map(),_0x2a9db2=[],_0x47a1a7=[0x0];let _0x161ccf=this['_diffItems']['length']+0x1;for(let _0x50e205=this['_diffItems']['length']-0x1;_0x50e205>=0x0;_0x50e205--){const {token:_0x3c7ccd,before:_0x302be7,change:_0x37312a}=this['_diffItems'][_0x50e205];if('removed'!=_0x37312a&&(_0x161ccf=_0x50e205),'element'!=_0x3c7ccd['type']||'container'!=_0x3c7ccd['category']||'added'==_0x37312a)continue;const _0x3df37f=_0x302be7?_0x302be7['element']:_0x3c7ccd['element'];if(_0x3c7ccd['isStart']){const _0x3f483e=_0x154913['get'](_0x3df37f),_0x3f3553=this['_diffItems'][_0x3f483e];('removed'==_0x37312a||'removed'==_0x3f3553['change'])&&_0x161ccf<_0x3f483e&&(this['_operationsData']['push']({'type':'unwrap','path':_0x3df37f['getPath'](),'howMany':_0x3df37f['maxOffset']+_0x47a1a7[0x0]}),_0x47a1a7['shift'](),_0x47a1a7[0x0]+=_0x3df37f['maxOffset']-0x1,_0x2a9db2['push'](_0x50e205),_0x2a9db2['push'](_0x3f483e));}else _0x154913['set'](_0x3df37f,_0x50e205),_0x47a1a7['unshift'](0x0);}_0x2a9db2['sort']((_0x4c6ced,_0x51bf75)=>_0x51bf75-_0x4c6ced),_0x2a9db2['forEach'](_0x307b80=>{const _0x4e4794=this['_diffItems'][_0x307b80];'removed'==_0x4e4794['change']?this['_diffItems']['splice'](_0x307b80,0x1):(_0x4e4794['change']='added',delete _0x4e4794['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x1e584d=[];for(let _0x3eafe3=0x0;_0x3eafe3<this['_diffItems']['length'];_0x3eafe3++){const {change:_0x35b10b,token:_0x303f4c}=this['_diffItems'][_0x3eafe3];if('added'==_0x35b10b&&'element'==_0x303f4c['type']&&'container'==_0x303f4c['category']){if(_0x303f4c['isStart'])_0x1e584d['push'](this['_path']['slice']());else{if(!_0x303f4c['isStart']){const _0x385f3b=_0x1e584d['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x385f3b,'end':this['_path']['slice']()},'token':_0x303f4c}),this['_path'][this['_path']['length']-0x1]=_0x385f3b[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x35b10b||this['_markDeletions'])&&this['_traverseOverItem'](_0x303f4c);}}['_handleUnchanged'](_0x5379bd,_0x30c0d7){for(let _0x3c5d1d=0x0;_0x3c5d1d<_0x5379bd['length'];_0x3c5d1d++){const _0x465d91=_0x5379bd[_0x3c5d1d];if('element'==_0x465d91['type']&&_0x465d91['isStart']){const _0x47324f=_0x30c0d7[_0x3c5d1d];'block'==_0x465d91['category']&&this['_handleElementRename'](_0x465d91['element'],_0x47324f['element'],this['_path']),this['_handleElementAttributeChanges'](_0x465d91['element'],_0x47324f['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x47324f);}else{if('element'!=_0x465d91['type']||_0x465d91['isStart']){if('text'==_0x465d91['type']){const _0x475fab=this['_path']['slice'](),_0x24800f=[],_0x4d4426=[];for(;_0x5379bd[_0x3c5d1d]&&'text'==_0x5379bd[_0x3c5d1d]['type'];)_0x24800f['push'](_0x5379bd[_0x3c5d1d]),_0x4d4426['push'](_0x30c0d7[_0x3c5d1d]),this['_path'][this['_path']['length']-0x1]+=_0x5379bd[_0x3c5d1d]['data']['length'],_0x3c5d1d++;_0x3c5d1d--,this['_handleTextAttributeChanges'](_0x24800f,_0x4d4426,_0x475fab);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x34bcc4,_0x3ce913,_0x11fbe6){const _0xb5682=[],_0x4155f6=[],_0x55b146=_0x11fbe6['slice']();let _0x1c2bd0=this['_parents']['length']-0x1;for(let _0x442e1a=0x0;_0x442e1a<_0x34bcc4['length'];_0x442e1a++){const _0x3aa6b3=_0x34bcc4[_0x442e1a],_0x2eed12=_0x11fbe6['slice']();'element'!=_0x3aa6b3['type']||_0x3aa6b3['isStart']?'element'==_0x3aa6b3['type']&&_0x3aa6b3['isStart']?(_0x11fbe6['push'](0x0),_0x1c2bd0++,_0x4155f6['push']({'before':_0x2eed12,'after':_0x11fbe6['slice'](),'index':_0x442e1a})):_0x11fbe6[_0x11fbe6['length']-0x1]+=_0x3aa6b3['data']['length']:(_0x11fbe6['pop'](),_0x11fbe6[_0x11fbe6['length']-0x1]++,_0x1c2bd0--,_0x4155f6['length']?_0x4155f6['pop']():_0xb5682['push']({'before':_0x2eed12,'after':_0x11fbe6['slice'](),'index':_0x442e1a}));}if(_0x4155f6['length']!==_0xb5682['length'])throw new _0x53c10c('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x34bcc4,'isRemove':_0x3ce913});const _0x58633b=[{'after':_0x55b146['slice'](),'index':-0x1},..._0xb5682,..._0x4155f6,{'before':_0x11fbe6['slice'](),'index':_0x34bcc4['length']}];if(_0x3ce913){for(let _0x33cb6f=_0x58633b['length']-0x1;_0x33cb6f>=0x1;_0x33cb6f--){const _0x1e75bd=_0x58633b[_0x33cb6f-0x1]['after'],_0x413f67=_0x58633b[_0x33cb6f]['before'],_0x1bf514=_0x413f67[_0x413f67['length']-0x1]-_0x1e75bd[_0x1e75bd['length']-0x1];_0x1bf514&&(this['_operationsData']['push']({'type':'remove','path':_0x1e75bd,'howMany':_0x1bf514}),_0x413f67[_0x413f67['length']-0x1]-=_0x1bf514);}for(const {before:_0x119238}of _0xb5682)this['_operationsData']['push']({'type':'merge','path':_0x119238});}else for(let _0x1c50bd=0x0;_0x1c50bd<_0x58633b['length']-0x1;_0x1c50bd++){const _0x3cb214=_0x58633b[_0x1c50bd]['after'],_0x28e1a2=_0x58633b[_0x1c50bd+0x1]['before'],_0x5085f=_0x58633b[_0x1c50bd]['index']+0x1,_0x1dde81=_0x58633b[_0x1c50bd+0x1]['index'];if(_0x5085f!==_0x1dde81&&this['_operationsData']['push']({'type':'insert','path':_0x3cb214,'tokens':_0x34bcc4['slice'](_0x5085f,_0x1dde81)}),_0x1c50bd<_0xb5682['length']){this['_operationsData']['push']({'type':'split','path':_0x28e1a2});const _0x3287c2=_0x34bcc4[_0x4155f6[_0x4155f6['length']-0x1-_0x1c50bd]['index']],_0x2f681e=this['_parents'][_0x1c2bd0]['element'];_0x2f681e['name']!=_0x3287c2['element']['name']&&this['_addSplitPostponedData'](_0x3287c2['element'],{'type':'rename','oldValue':_0x2f681e['name']});const _0x3c9660=this['_getAttributeChanges'](_0x2f681e['getAttributes'](),_0x3287c2['element']['getAttributes']());for(const _0x29b312 in _0x3c9660){const _0x24a778=_0x3c9660[_0x29b312]['oldValue'];this['_addSplitPostponedData'](_0x3287c2['element'],{'type':'attribute','key':_0x29b312,'oldValue':_0x24a778});}}}}['_addSplitPostponedData'](_0x4cc259,_0x15b56b){const _0x1f5385=this['_splitPostponedData']['get'](_0x4cc259)||[];_0x1f5385['push'](_0x15b56b),this['_splitPostponedData']['set'](_0x4cc259,_0x1f5385);}['_traverseOverItem'](_0x337fb7){'element'==_0x337fb7['type']&&_0x337fb7['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x337fb7)):'element'!=_0x337fb7['type']||_0x337fb7['isStart']?'text'==_0x337fb7['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x337fb7['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x36686a,_0x328ad5,_0x10043b){_0x36686a['name']!=_0x328ad5['name']&&this['_operationsData']['push']({'type':'rename','path':_0x10043b['slice'](),'oldName':_0x36686a['name'],'newName':_0x328ad5['name']});}['_handleElementAttributeChanges'](_0x519312,_0x3ab4bc,_0x8633e2){const _0x763ed8=this['_getAttributeChanges'](_0x519312['getAttributes'](),_0x3ab4bc['getAttributes']());for(const _0x5da524 in _0x763ed8){const {oldValue:_0x2064e2,newValue:_0xc8d4e0}=_0x763ed8[_0x5da524];this['_operationsData']['push']({'type':'attribute','path':_0x8633e2['slice'](),'howMany':0x1,'key':_0x5da524,'oldValue':_0x2064e2,'newValue':_0xc8d4e0});}}['_handleTextAttributeChanges'](_0x3bbc9f,_0x8d8c0d,_0x50c82d){const _0x522442=this['_operationsData'],_0x3c5529=_0x3bbc9f[0x0]['parent'],_0x594b2d=_0x3bbc9f[0x0]['offset'],_0x510688=_0x8d8c0d[0x0]['parent'],_0x9b0bf0=_0x8d8c0d[0x0]['offset'],_0x5067df=_0x3bbc9f['reduce']((_0x3ce412,_0xf97020)=>_0x3ce412+_0xf97020['data']['length'],0x0),_0x19f7cc=this['_getAttrsForOffsets'](_0x3c5529,_0x594b2d,_0x5067df),_0x3172d5=this['_getAttrsForOffsets'](_0x510688,_0x9b0bf0,_0x5067df),_0x5caefe={};for(let _0x4b4d17=0x0;_0x4b4d17<_0x5067df;_0x4b4d17++){const _0x319459=_0x19f7cc[_0x594b2d+_0x4b4d17],_0x2a8d78=_0x3172d5[_0x9b0bf0+_0x4b4d17],_0x5452ea=this['_getAttributeChanges'](_0x319459,_0x2a8d78);for(const _0x307c09 in _0x5caefe)_0x5452ea[_0x307c09]||_0x26cb56(_0x307c09);for(const _0xedc5c0 in _0x5452ea){const {oldValue:_0x55e323,newValue:_0x27bbbb}=_0x5452ea[_0xedc5c0],_0x3b40e9=_0x5caefe[_0xedc5c0];_0x3b40e9?_0x3b40e9['oldValue']==_0x55e323&&_0x3b40e9['newValue']==_0x27bbbb?_0x3b40e9['length']++:(_0x26cb56(_0xedc5c0),_0x5caefe[_0xedc5c0]={'oldValue':_0x55e323,'newValue':_0x27bbbb,'start':_0x4b4d17,'length':0x1}):_0x5caefe[_0xedc5c0]={'oldValue':_0x55e323,'newValue':_0x27bbbb,'start':_0x4b4d17,'length':0x1};}}for(const _0x50826c in _0x5caefe)_0x26cb56(_0x50826c);function _0x26cb56(_0x470ad4){const _0x5df66e=_0x5caefe[_0x470ad4],_0x34445d=_0x50c82d['slice']();_0x34445d[_0x34445d['length']-0x1]+=_0x5df66e['start'],_0x522442['push']({'type':'attribute','path':_0x34445d,'howMany':_0x5df66e['length'],'key':_0x470ad4,'oldValue':_0x5df66e['oldValue'],'newValue':_0x5df66e['newValue']}),delete _0x5caefe[_0x470ad4];}}['_getAttributeChanges'](_0x277b91,_0x1b84d8){const _0x3c51df={};for(const [_0xf6bf24,_0x32895e]of _0x277b91)_0x3c51df[_0xf6bf24]={'oldValue':JSON['stringify'](_0x32895e),'newValue':'null'};for(const [_0x196e27,_0x1ea086]of _0x1b84d8){const _0x6b857e=JSON['stringify'](_0x1ea086);_0x3c51df[_0x196e27]?_0x3c51df[_0x196e27]['oldValue']==_0x6b857e?delete _0x3c51df[_0x196e27]:_0x3c51df[_0x196e27]['newValue']=_0x6b857e:_0x3c51df[_0x196e27]={'oldValue':'null','newValue':_0x6b857e};}return delete _0x3c51df[Yt],_0x3c51df;}['_getAttrsForOffsets'](_0x2898fd,_0x4eca37,_0x3a336b){const _0x3bd0a1=new Array(_0x4eca37+_0x3a336b);let _0x39dfca=_0x2898fd['getChildAtOffset'](_0x4eca37),_0x482d7e=_0x39dfca['startOffset'];for(;_0x39dfca&&_0x482d7e<_0x4eca37+_0x3a336b;){const _0x1fdc66=Array['from'](_0x39dfca['getAttributes']());_0x3bd0a1['fill'](_0x1fdc66,_0x482d7e,_0x482d7e+_0x39dfca['offsetSize']),_0x482d7e+=_0x39dfca['offsetSize'],_0x39dfca=_0x39dfca['nextSibling'];}return _0x3bd0a1;}['_getPositionFromAnchorAndPath'](_0x22a4f8,_0x460a55){const _0x477112=[..._0x22a4f8['path']['slice'](0x0,-0x1),_0x22a4f8['offset']+_0x460a55[0x0],..._0x460a55['slice'](0x1)];return new _0x4bebeb(_0x22a4f8['root'],_0x477112);}['_makeModelFromTokens'](_0x6788db){const _0x5b72b0=[];let _0x4d67b2=null;for(const _0x2fe2ce of _0x6788db)if('element'!=_0x2fe2ce['type']||_0x2fe2ce['isStart']||_0x4d67b2!=_0x2fe2ce['element']){if(!_0x4d67b2){if('text'==_0x2fe2ce['type']){const _0x117a8c=_0x4bebeb['_createAt'](_0x2fe2ce['parent'],_0x2fe2ce['offset']),_0x1c4702=_0x2761a1['_createFromPositionAndShift'](_0x117a8c,_0x2fe2ce['data']['length']),_0x96f056=Array['from'](_0x1c4702['getItems']())['map'](_0x35eb5f=>new _0x48c726(_0x35eb5f['data'],_0x35eb5f['getAttributes']()));_0x5b72b0['push'](..._0x96f056);}else{_0x4d67b2=_0x2fe2ce['element'];const _0x2bdc25=_0x2fe2ce['element']['_clone'](!0x0);_0x2bdc25['_removeAttribute'](Yt);for(const _0x53b119 of this['_editor']['model']['createRangeIn'](_0x2bdc25)['getItems']())_0x53b119['is']('element')&&_0x53b119['_removeAttribute'](Yt);_0x5b72b0['push'](_0x2bdc25);}}}else _0x4d67b2=null;return _0x5b72b0;}};function Kt(_0xf7fd96,_0x1199a5){return _0xf7fd96['type']===_0x1199a5['type']&&(_0xf7fd96['limitId']===_0x1199a5['limitId']&&('text'==_0xf7fd96['type']?_0xf7fd96['data']==_0x1199a5['data']:function(_0x4f22d9,_0x5f53af){if(_0x4f22d9['isStart']!=_0x5f53af['isStart'])return!0x1;if(_0x4f22d9['isStart']&&_0x4f22d9['elementId']!=_0x5f53af['elementId'])return!0x1;if(_0x4f22d9['category']!=_0x5f53af['category'])return!0x1;if('block'==_0x4f22d9['category'])return!0x0;if('container'==_0x4f22d9['category']&&_0x4f22d9['elementId']!=_0x5f53af['elementId'])return!0x1;return _0x4f22d9['element']['name']==_0x5f53af['element']['name'];}(_0xf7fd96,_0x1199a5)));}function qt(_0x150e6b){return Tt({'name':_0x150e6b['name'],...Object['fromEntries'](_0x150e6b['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,Yt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Jt as DocumentCompare,Gt as DocumentDiff,Ht as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Rt as sanitizeEditorConfig,Ut as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ft as surroundingMarkersDetector,St as trimHtml};
23
+ import{ContextPlugin as _0x17753e,Editor as _0x2b57ec,Plugin as _0x2e71a2}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x7e1653,Collection as _0x10b02e,FocusTracker as _0x2666aa,KeystrokeHandler as _0x1dfb02,first as _0xdce8ac,toArray as _0x256936,uid as _0x1cc595}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2d1b78,DropdownButtonView as _0x449042,FocusCycler as _0x480748,IconView as _0x78300d,View as _0x5343b7,isViewWithFocusCycler as _0x3c969d}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x302715,IconCheck as _0x41ca5f,IconNotification as _0x1a2528}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x949d9b,toWidget as _0x47029e}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x2e54a4}from'luxon';import{AttributeOperation as _0x23b62b,InsertOperation as _0x3946bf,MarkerOperation as _0x55fe48,MergeOperation as _0x537b36,ModelPosition as _0x290017,ModelRange as _0x15cb62,ModelText as _0x379bcb,ModelTreeWalker as _0x462cb8,MoveOperation as _0x2fc107,RenameOperation as _0xd0cd8,SplitOperation as _0x43e936}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x50b789}from'diff';var B=class extends _0x17753e{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x1ca32e,_0x40c5c8){let _0x767da8;if(_0x40c5c8||(_0x40c5c8=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x40c5c8?_0x767da8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x767da8=this['context']['editors']['find'](_0x234b07=>_0x234b07['config']['get']('collaboration.channelId')==_0x40c5c8)),!_0x767da8)throw new _0x7e1653('permissions-set-permissions-invalid-channel-id',null);const _0x15c490=_0x767da8['plugins'],_0x3df924=_0x15c490['has']('CommentsRepository')?_0x15c490['get']('CommentsRepository'):void 0x0,_0x2f741f=_0x15c490['has']('CommentsOnly')&&_0x15c490['get']('CommentsOnly'),_0x5f4528=_0x1ca32e['includes']('document:write'),_0x157d9f=_0x1ca32e['includes']('comment:modify_all'),_0x417131=_0x1ca32e['includes']('comment:admin'),_0x3a5e3b=_0x1ca32e['includes']('comment:write'),_0x25ad00=_0x3a5e3b||_0x417131,_0x365a0c=_0x25ad00||_0x157d9f,_0x4a766e=_0x5f4528||_0x25ad00;if(_0x2f741f&&(_0x2f741f['isEnabled']=!_0x5f4528&&_0x365a0c),_0x767da8 instanceof _0x2b57ec&&(_0x5f4528||_0x365a0c&&_0x3df924?_0x767da8['disableReadOnlyMode']('no-permissions'):_0x767da8['enableReadOnlyMode']('no-permissions')),_0x3df924){_0x3df924['setPermissions']({'admin':_0x417131,'modifyAll':_0x157d9f,'write':_0x3a5e3b,'resolve':_0x4a766e},_0x40c5c8);const _0x100720=_0x767da8 instanceof _0x2b57ec&&_0x767da8['commands']['get']('addCommentThread');_0x100720&&(_0x25ad00?_0x100720['clearForceDisabled']('noPermissions'):_0x100720['forceDisabled']('noPermissions'));}}};function D(_0x23c077,_0x3e6a25){const t=_0x23c077['t'];switch(_0x3e6a25){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var $=class extends _0x17753e{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0x2d7bd9){super(_0x2d7bd9),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x10b02e(),this['_locale']=_0x2d7bd9['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}init(){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2e386b,name:_0x3774ce,..._0x26a4ce}){if(!_0x2e386b||'string'!=typeof _0x2e386b)throw new _0x7e1653('users-add-invalid-id');if(this['users']['has'](_0x2e386b))throw new _0x7e1653('users-add-duplicated-id',null,{'id':_0x2e386b});const _0x2f46a0=this['context']['config']['get']('users.getInitialsCallback'),_0x2e935b={..._0x26a4ce,'id':_0x2e386b,'name':R(this['_locale'],_0x3774ce),'color':this['_getNextColor']()};_0x2e935b['name']=R(this['_locale'],_0x2e935b['name']);const _0x36f562=new L(_0x2e935b,_0x2f46a0);return this['users']['add'](_0x36f562),_0x36f562;}getUser(_0x2824ca){return this['users']['get'](_0x2824ca);}['useAnonymousUser'](){const _0xe6d4f8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xe6d4f8);}['defineMe'](_0x5ec098){if(this['_myId'])throw new _0x7e1653('users-me-already-defined',null);const _0xd3672b=this['getUser'](_0x5ec098);if(!_0xd3672b)throw new _0x7e1653('users-me-missing-user',null);this['_myId']=_0x5ec098,_0xd3672b['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x1a1c98=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x1a1c98&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4750ba=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4750ba,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x2d763c,_0x34042d){this['id']=_0x2d763c['id'],this['color']=_0x2d763c['color'],this['name']=_0x2d763c['name'],this['initials']=_0x34042d?_0x34042d(this['name']):this['_computeInitials'](),this['avatar']=_0x2d763c['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x5ec162=this['name']['split']('\x20')['filter'](_0x4fa299=>/^[\p{Letter}]/u['test'](_0x4fa299));return 0x1===_0x5ec162['length']?this['_getInitial'](_0x5ec162[0x0]):0x0===_0x5ec162['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5ec162[0x0])+this['_getInitial'](_0x5ec162[_0x5ec162['length']-0x1]);}_getInitial(_0x23a0e1){return String['fromCodePoint'](_0x23a0e1['codePointAt'](0x0))['toUpperCase']();}};function R(_0x3476c2,_0x2c07f1=''){return''==(_0x2c07f1=_0x2c07f1['trim']())?D(_0x3476c2,'Anonymous'):_0x2c07f1;}var F=class{['_id'];constructor(_0x972316){this['_id']=_0x972316;}get['id'](){return this['_id'];}getBackgroundColorClass(){return'ck-user__bg-color--'+this['id'];}getSelectionClass(){return'ck-user__selection--'+this['id'];}getMarkerClass(){return'ck-user__marker--'+this['id'];}getColorVariable(){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}getColorAlphaVariable(){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x5343b7{['name'];notificationView;constructor(_0x38db89,_0x5b55a2,_0x498df2,_0x56c74a){super(_0x38db89),this['name']=_0x5b55a2['name'],this['notificationView']=null;const _0x1a9749=['ck','ck-user'],_0xfc3b9b=['ck','ck-user__img'];_0x5b55a2['isAnonymous']&&_0xfc3b9b['push']('ck-user__anonymous'),!_0x5b55a2['isAnonymous']&&_0x5b55a2['isMe']&&_0x1a9749['push']('ck-user_me'),(_0x5b55a2['avatar']||_0x56c74a)&&_0xfc3b9b['push']('ck-user__avatar');let _0x2205c3=null;if(_0x56c74a&&(_0x2205c3=new _0x78300d(),_0x2205c3['content']=_0x56c74a,_0x2205c3['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x498df2){const _0x12caa0=new _0x78300d();_0x12caa0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x12caa0['content']=_0x1a2528,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x498df2},'children':[_0x12caa0]};}const _0x423f80=[{'tag':'div','attributes':{'class':_0xfc3b9b,'style':{'background-image':_0x5b55a2['avatar']&&!_0x56c74a?'url(\x27'+_0x5b55a2['avatar']+'\x27)':''}},'children':_0x2205c3?[_0x2205c3]:[]},{'tag':'div','attributes':{'class':_0x5b55a2['avatar']||_0x56c74a?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5b55a2['name']},'children':[{'text':_0x5b55a2['initials']}]}];this['notificationView']&&_0x423f80['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1a9749,'data-user-id':_0x5b55a2['id']},'children':_0x423f80});}},U=class extends _0x5343b7{['children'];['iconView'];['labelView'];constructor(_0x4e00a1){super(_0x4e00a1);const _0x285d17=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x285d17['to']('class'),_0x285d17['to']('iconPosition',_0x312b49=>'right'===_0x312b49?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x285d17['to']('tooltip'),'data-cke-tooltip-position':_0x285d17['to']('tooltipPosition'),'data-cke-tooltip-class':_0x285d17['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x139ae6,_0x60f542,_0x1ad3da,_0x3beb0f)=>{_0x1ad3da&&!_0x3beb0f?this['children']['add'](this['iconView'],0x0):!_0x1ad3da&&_0x3beb0f&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x13916c=new _0x78300d();return _0x13916c['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x13916c['bind']('content')['to'](this,'icon'),_0x13916c;}_createLabelView(){const _0x1b9645=new _0x5343b7(this['locale']),_0x383aa4=this['bindTemplate'];return _0x1b9645['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x383aa4['to']('label')}]}),_0x1b9645;}},z=class extends _0x5343b7{['id'];constructor(_0x98cab0,_0x583583){super(_0x98cab0),this['id']='ck-aria-description-'+_0x1cc595(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x583583}]});}},W=class extends _0x2d1b78{['render'](){super['render'](),j(this);}},Y=class extends _0x449042{['render'](){super['render'](),j(this);}};function j(_0x88641d){_0x88641d['listenTo'](_0x88641d['element'],'mousedown',(_0x105cb0,_0x4d1a94)=>{_0x4d1a94['stopPropagation'](),_0x4d1a94['preventDefault']();}),_0x88641d['listenTo'](_0x88641d['element'],'mouseup',()=>{_0x88641d['element']['focus']();});}function J(_0x501fda){const _0x581db1=_0x501fda['split'](':');return{'group':_0x581db1[0x0],'type':_0x581db1[0x1],'subType':_0x581db1['length']>=0x5?_0x581db1[0x2]:null,'id':_0x581db1['length']<0x5?_0x581db1[0x2]:_0x581db1[0x3],'authorId':_0x581db1['length']<0x5?_0x581db1[0x3]:_0x581db1[0x4],'markerCount':0x6==_0x581db1['length']?_0x581db1[0x5]:null};}function G(_0x54cba5,_0x2a0563){const _0xdc9177=_0x54cba5['end']['nodeBefore'];if(_0xdc9177&&_0xdc9177['is']('element')&&_0x2a0563['schema']['isBlock'](_0xdc9177)&&!_0x2a0563['schema']['isObject'](_0xdc9177)){const _0x1dda00=_0x2a0563['createPositionAt'](_0xdc9177,'end');return _0x2a0563['createRange'](_0x54cba5['start'],_0x1dda00);}return _0x54cba5;}var K=class extends _0x2e71a2{afterInit(){const _0x380686=this['editor'];_0x380686['plugins']['has']('AlignmentEditing')&&_0x380686['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x2e71a2{afterInit(){const _0x412a84=this['editor'],_0x45deea=_0x412a84['plugins']['get']('SuggestionsConversion');for(const _0x4c69f0 of q){if(!_0x412a84['plugins']['has'](_0x4c69f0))continue;const _0x1ca787=_0x4c69f0['slice'](0x0,-0x7)['toLowerCase']();_0x45deea['registerInlineAttribute'](_0x1ca787);}}},Q=class extends _0x2e71a2{afterInit(){const _0x4bc4d2=this['editor'],_0x335934=_0x4bc4d2['plugins']['get']('SuggestionsConversion');_0x4bc4d2['plugins']['has']('BookmarkEditing')&&_0x335934['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x2e71a2{afterInit(){const _0x307163=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x487254,commandName:_0x53a3a0}of X)this['editor']['plugins']['has'](_0x487254)&&_0x307163['registerInlineAttribute'](_0x53a3a0);}},et=class extends _0x2e71a2{afterInit(){const {editor:_0x5b2144}=this;if(!_0x5b2144['plugins']['has']('FootnotesPropertiesEditing'))return;const _0xf217f3=_0x5b2144['plugins']['get']('SuggestionsConversion');_0xf217f3['registerBlockAttribute']('footnotesListStyle'),_0xf217f3['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x2e71a2{afterInit(){const _0x4d063b=this['editor'];if(!_0x4d063b['plugins']['has']('GeneralHtmlSupport')||!_0x4d063b['plugins']['has']('DataSchema'))return;const _0x3c0ca7=_0x4d063b['plugins']['get']('SuggestionsConversion'),_0x5719c9=_0x4d063b['plugins']['get']('GeneralHtmlSupport'),_0x550da3=_0x4d063b['plugins']['get']('DataSchema');for(const _0x5beef8 of _0x550da3['getDefinitionsForView'](/.*/,!0x1)){const _0x2ed411=_0x5719c9['getGhsAttributeNameForElement'](_0x5beef8['view']);!_0x5beef8['isInline']||_0x5beef8['isObject']||'appliesToBlock'in _0x5beef8&&_0x5beef8['appliesToBlock']?_0x3c0ca7['registerBlockAttribute'](_0x2ed411):_0x3c0ca7['registerInlineAttribute'](_0x2ed411);}}},it=class extends _0x2e71a2{afterInit(){const _0x9193d0=this['editor'];_0x9193d0['plugins']['has']('HighlightEditing')&&_0x9193d0['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x2e71a2{afterInit(){const _0x4a5abf=this['editor'];_0x4a5abf['plugins']['has']('HtmlEmbed')&&_0x4a5abf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x2e71a2{afterInit(){const _0x9c4eb2=this['editor'];if(!_0x9c4eb2['plugins']['has']('ImageEditing'))return;const _0x130b1e=_0x9c4eb2['plugins']['get']('SuggestionsConversion');_0x130b1e['registerBlockAttribute']('src'),_0x9c4eb2['plugins']['has']('ImageResize')&&_0x130b1e['registerBlockAttribute']('resizedWidth'),_0x9c4eb2['plugins']['has']('ImageTextAlternativeEditing')&&_0x130b1e['registerBlockAttribute']('alt'),_0x9c4eb2['plugins']['has']('PictureEditing')&&_0x130b1e['registerBlockAttribute']('sources'),_0x9c4eb2['plugins']['has']('ImageSizeAttributes')&&(_0x130b1e['registerBlockAttribute']('width'),_0x130b1e['registerBlockAttribute']('height'));}},rt=class extends _0x2e71a2{afterInit(){const _0x193d4e=this['editor'],_0x16e58b=_0x193d4e['plugins']['get']('SuggestionsConversion');_0x193d4e['plugins']['has']('IndentBlock')&&(_0x16e58b['registerBlockAttribute']('blockIndent'),_0x193d4e['plugins']['has']('ListEditing')&&(_0x16e58b['registerBlockAttribute']('blockIndentList'),_0x16e58b['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x2e71a2{afterInit(){const _0x43140a=this['editor'];_0x43140a['plugins']['has']('LineHeight')&&_0x43140a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x2e71a2{afterInit(){const _0x2823de=this['editor'];if(!_0x2823de['plugins']['has']('LinkEditing'))return;const _0x103007=_0x2823de['plugins']['get']('SuggestionsConversion'),_0x5ba17d=_0x2823de['commands']['get']('link');_0x103007['registerInlineAttribute']('linkHref');for(const _0x423df5 of _0x5ba17d['manualDecorators'])_0x103007['registerInlineAttribute'](_0x423df5['id']);}},lt=class extends _0x2e71a2{afterInit(){const _0x3acf99=this['editor'];if(!_0x3acf99['plugins']['has']('ListEditing'))return;const _0x1f0cb6=_0x3acf99['plugins']['get']('SuggestionsConversion'),_0x5b3633=_0x3acf99['plugins']['has']('TodoListEditing');_0x1f0cb6['registerBlockAttribute']('listItemId'),_0x1f0cb6['registerBlockAttribute']('listType'),_0x1f0cb6['registerBlockAttribute']('listIndent'),_0x5b3633&&_0x1f0cb6['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x2e71a2{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2fe6db=this['editor']['config']['get']('list.properties'),_0x311e3f=this['editor']['plugins']['get']('SuggestionsConversion');_0x2fe6db['styles']&&_0x311e3f['registerBlockAttribute']('listStyle'),_0x2fe6db['reversed']&&_0x311e3f['registerBlockAttribute']('listReversed'),_0x2fe6db['startIndex']&&_0x311e3f['registerBlockAttribute']('listStart');}},ut=class extends _0x2e71a2{afterInit(){const _0x104824=this['editor'],_0x7084e8=_0x104824['plugins']['get']('SuggestionsConversion');_0x104824['plugins']['has']('MultiLevelList')&&_0x7084e8['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x2e71a2{afterInit(){const _0x558f50=this['editor'];if(!_0x558f50['plugins']['has']('TableEditing'))return;const _0x4a3c74=_0x558f50['plugins']['get']('SuggestionsConversion');_0x4a3c74['registerBlockAttribute']('headingRows'),_0x4a3c74['registerBlockAttribute']('headingColumns');}},gt=class extends _0x2e71a2{afterInit(){const {plugins:_0x3aa339}=this['editor'];if(!_0x3aa339['has']('TablePropertiesEditing'))return;const _0x459692=_0x3aa339['get']('SuggestionsConversion');for(const _0x231144 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x459692['registerBlockAttribute'](_0x231144);}},ft=class extends _0x2e71a2{afterInit(){const _0x2c34bc=this['editor'],_0x19c368=_0x2c34bc['plugins']['get']('SuggestionsConversion');_0x2c34bc['plugins']['has']('TableLayout')&&_0x19c368['registerBlockAttribute']('tableType');}},mt=class extends _0x2e71a2{afterInit(){const _0x42a8a0=this['editor'],_0x1dbfcf=this['editor']['plugins']['get']('SuggestionsConversion');_0x42a8a0['plugins']['has']('Uploadcare')&&_0x42a8a0['plugins']['has']('UploadcareImageEdit')&&_0x1dbfcf['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x2e71a2{afterInit(){const _0x59d8b6=this['editor'];if(!_0x59d8b6['plugins']['has']('ShiftEnter'))return;const _0x22b04a=_0x59d8b6['plugins']['get']('SuggestionsConversion'),_0x4f0887=(_0x226d68,_0x394540,_0x26b17e,_0x5541d7)=>{if(_0x5541d7&&!_0x26b17e['options']['showSuggestionHighlights'])return;if(!_0x26b17e['consumable']['test'](_0x394540['markerRange'],_0x226d68['name']))return;const _0x260d92=_0x59d8b6['model'];for(const _0x38d574 of _0x394540['markerRange']['getItems']()){if(!_0x38d574['is']('element','softBreak'))continue;const _0x491c52='deletion'==_0x394540['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xc2fd3e,authorId:_0x494c0d}=J(_0x394540['markerName']),_0x1bd509=_0x26b17e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x491c52,'data-suggestion':_0xc2fd3e,'data-author-id':_0x494c0d}),_0x144ea4=_0x26b17e['mapper']['toViewPosition'](_0x260d92['createPositionBefore'](_0x38d574));!_0x5541d7&&_0x22b04a['_activeMarkers']['includes'](_0x394540['markerName'])&&_0x26b17e['writer']['addClass']('ck-suggestion-marker--active',_0x1bd509),_0x26b17e['writer']['insert'](_0x144ea4,_0x1bd509),_0x26b17e['mapper']['bindElementToMarker'](_0x1bd509,_0x394540['markerName']);}};_0x59d8b6['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x46df9c,_0x5bd299,_0x4e2c89)=>{_0x4f0887(_0x46df9c,_0x5bd299,_0x4e2c89,!0x1);},{'priority':'high'}),_0x59d8b6['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x59fa6b,_0x3ca5a4,_0x148df1)=>{_0x4f0887(_0x59fa6b,_0x3ca5a4,_0x148df1,!0x1);},{'priority':'high'}),_0x59d8b6['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x48cf09,_0x4cc58d,_0x4d1dc7)=>{_0x4f0887(_0x48cf09,_0x4cc58d,_0x4d1dc7,!0x0);},{'priority':'high'}),_0x59d8b6['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3d4190,_0x2a9ca1,_0x1f9530)=>{_0x4f0887(_0x3d4190,_0x2a9ca1,_0x1f9530,!0x0);},{'priority':'high'});}},kt=class extends _0x2e71a2{afterInit(){const _0x2b6f71=this['editor'];if(!_0x2b6f71['plugins']['has']('MediaEmbedEditing'))return;const _0x43cee9=_0x2b6f71['plugins']['get']('SuggestionsConversion');_0x2b6f71['plugins']['has']('MediaEmbedResizeEditing')&&_0x43cee9['registerBlockAttribute']('resizedWidth'),_0x2b6f71['plugins']['has']('MediaEmbedStyleEditing')&&_0x43cee9['registerBlockAttribute']('mediaStyle'),_0x2b6f71['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1c1392,{writer:_0x128394,options:_0xac3499})=>{if(_0xac3499['showSuggestionHighlights'])return _0x128394['createEmptyElement']('div');},'converterPriority':'high'}),_0x2b6f71['data']['downcastDispatcher']['on']('attribute:url:media',(_0x47fb1b,_0x523884,_0x218b73)=>{_0x218b73['options']['showSuggestionHighlights']&&_0x47fb1b['stop']();},{'priority':'high'});}},yt=class extends _0x2e71a2{afterInit(){const _0x24d551=this['editor'];if(!_0x24d551['plugins']['has']('Table'))return;_0x24d551['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x18d4ac,_0x1f02d5,_0x21097c)=>{((_0x3be062,_0x1e8848,_0x3f16dd)=>{if(!_0x3f16dd['options']['showSuggestionHighlights'])return;const _0x4ce376=_0x1e8848['item'];if(!_0x4ce376||!_0x4ce376['is']('element','tableCell'))return;const _0x366de8=_0x3f16dd['mapper']['toViewElement'](_0x4ce376);if(_0x366de8){const {id:_0x24a3a9,authorId:_0x124c58}=J(_0x1e8848['markerName']);_0x949d9b(_0x366de8,_0x3f16dd['writer'],(_0x181bb9,_0x2e40ec,_0x41eec7)=>{_0x41eec7['addClass'](_0x256936(_0x2e40ec['classes']),_0x181bb9),_0x41eec7['setAttribute']('data-suggestion',_0x24a3a9,_0x181bb9),_0x41eec7['setAttribute']('data-author-id',_0x124c58,_0x181bb9);});}})(0x0,_0x1f02d5,_0x21097c);},{'priority':'highest'});}},bt=class extends _0x2e71a2{afterInit(){const _0x4c49ae=this['editor'];_0x4c49ae['plugins']['has']('HorizontalLineEditing')&&_0x4c49ae['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x241b39,{writer:_0x461dbe,options:_0x5b8d53})=>{if(!_0x5b8d53['showSuggestionHighlights'])return null;const _0x2d2f46=_0x461dbe['createContainerElement']('div'),_0x5ec172=_0x461dbe['createEmptyElement']('hr');return _0x461dbe['addClass']('ck-horizontal-line',_0x2d2f46),_0x461dbe['insert'](_0x461dbe['createPositionAt'](_0x2d2f46,0x0),_0x5ec172),_0x2d2f46;},'converterPriority':'high'});}},wt=class extends _0x2e71a2{afterInit(){const {plugins:_0x581402,model:_0x8da8a6}=this['editor'];if(!_0x581402['has']('TableCellPropertiesEditing'))return;const _0x48ee6c=_0x581402['get']('SuggestionsConversion');for(const _0x25e99b of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x48ee6c['registerBlockAttribute'](_0x25e99b);_0x8da8a6['schema']['checkAttribute']('tableCell','tableCellType')&&_0x48ee6c['registerBlockAttribute']('tableCellType');}},vt=class extends _0x2e71a2{afterInit(){const _0x432166=this['editor'];_0x432166['plugins']['has']('TableEditing')&&_0x432166['config']['get']('table.enableFooters')&&_0x432166['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x2e71a2{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x12cf14=this['editor'],_0x264cd0=(_0x1529aa,_0x191705,_0x21023c)=>{const {id:_0x5b31e8,authorId:_0x4fa8f5,type:_0x52c6c2,subType:_0x3db4e2}=J(_0x1529aa['markerName']),_0x48e7a1=['ck-suggestion-marker',this['_getClassName'](_0x52c6c2,_0x3db4e2)];let _0x76cb=0xbb8;return _0x21023c||this['_activeMarkers']['includes'](_0x1529aa['markerName'])&&(_0x48e7a1['push']('ck-suggestion-marker--active'),_0x76cb=0xbc2),'deletion'==_0x52c6c2&&(_0x76cb+=0x5),{'classes':_0x48e7a1,'attributes':{'data-suggestion':_0x5b31e8,'data-author-id':_0x4fa8f5},'priority':_0x76cb};};_0x12cf14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x40457d,_0x26df36)=>_0x264cd0(_0x40457d,0x0,!0x1)}),_0x12cf14['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2bb0cd,_0x19622b)=>_0x264cd0(_0x2bb0cd,0x0,!0x0)}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x21b5a7=>{_0x21b5a7['on']('addMarker:suggestion',(_0x5d809f,_0x883f22,_0xf2aed0)=>{if(!_0xf2aed0['options']['showSuggestionHighlights'])return;const _0x10c111=_0x883f22['item'];if(!_0x10c111)return;const _0x2867f1=_0xf2aed0['mapper']['toViewElement'](_0x10c111);_0x12cf14['model']['schema']['isObject'](_0x10c111)&&_0x2867f1&&!_0x2867f1['getCustomProperty']('widget')&&_0x2867f1['is']('containerElement')&&_0x47029e(_0x2867f1,_0xf2aed0['writer']);},{'priority':'high'});});const _0x38d328=(_0x5cdca4,_0x5af958,_0x34303c,_0x21eba1,_0x23f6ac)=>{if(_0x21eba1&&!_0x34303c['options']['showSuggestionHighlights'])return;if(!_0x5af958['item'])return;const {id:_0x3d6ae8,authorId:_0x2c88c8,subType:_0xd67d5a}=J(_0x5af958['markerName']);if(_0x23f6ac){const _0x533fa5=_0xd67d5a['split']('|')[0x0];if(!this['isBlockAttribute'](_0x533fa5))return;}if(_0x5af958['item']['is']('selection'))return void _0x34303c['consumable']['consume'](_0x5af958['item'],_0x5cdca4['name']);const _0x50fe14=_0x34303c['mapper']['toViewElement'](_0x5af958['item']);if(_0x5af958['item']['is']('element')&&_0x12cf14['model']['schema']['isBlock'](_0x5af958['item'])&&!_0x50fe14['getCustomProperty']('addHighlight')){_0x34303c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x50fe14),_0x34303c['writer']['setAttribute']('data-suggestion',_0x3d6ae8,_0x50fe14),_0x34303c['writer']['setAttribute']('data-author-id',_0x2c88c8,_0x50fe14),_0x34303c['mapper']['bindElementToMarker'](_0x50fe14,_0x5af958['markerName']),_0x21eba1||(this['_activeMarkers']['includes'](_0x5af958['markerName'])?_0x34303c['writer']['addClass']('ck-suggestion-marker--active',_0x50fe14):_0x34303c['writer']['removeClass']('ck-suggestion-marker--active',_0x50fe14));for(const _0x4283c1 of _0x12cf14['model']['createRangeIn'](_0x5af958['item'])['getItems']())_0x34303c['consumable']['consume'](_0x4283c1,_0x5cdca4['name']);_0x34303c['consumable']['consume'](_0x5af958['item'],_0x5cdca4['name']);}},_0x455f37=(_0x3cf861,_0x24d9eb,_0x2b525a,_0x16e0c4)=>{const _0x42c62d=_0x2b525a['mapper']['markerNameToElements'](_0x24d9eb['markerName']);if(_0x42c62d){if(_0x16e0c4){const {subType:_0x28dc09}=J(_0x24d9eb['markerName']),_0x17f0c6=_0x28dc09['split']('|')[0x0];if(!this['isBlockAttribute'](_0x17f0c6))return;}for(const _0x51bff4 of _0x42c62d)_0x51bff4['getCustomProperty']('addHighlight')||(_0x2b525a['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x51bff4),_0x2b525a['writer']['removeAttribute']('data-suggestion',_0x51bff4),_0x2b525a['writer']['removeAttribute']('data-author-id',_0x51bff4),_0x2b525a['mapper']['unbindElementFromMarkerName'](_0x51bff4,_0x24d9eb['markerName']));}};_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x470304=>{_0x470304['on']('addMarker:suggestion:formatBlock',(_0x4bb089,_0x3ef063,_0x8dda3f)=>{_0x38d328(_0x4bb089,_0x3ef063,_0x8dda3f,!0x1,!0x1);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x1c7e54=>{_0x1c7e54['on']('addMarker:suggestion:attribute',(_0x3e2d84,_0x33c681,_0x59bc17)=>{_0x38d328(_0x3e2d84,_0x33c681,_0x59bc17,!0x1,!0x0);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x4bc4a3=>{_0x4bc4a3['on']('removeMarker:suggestion:formatBlock',(_0x49b190,_0x26d354,_0xd646a2)=>{_0x455f37(0x0,_0x26d354,_0xd646a2,!0x1);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0xffea00=>{_0xffea00['on']('removeMarker:suggestion:attribute',(_0x5496a8,_0x1eea2d,_0x116ee6)=>{_0x455f37(0x0,_0x1eea2d,_0x116ee6,!0x0);},{'priority':'high'});}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x29ba8a=>{_0x29ba8a['on']('addMarker:suggestion:formatBlock',(_0x317f58,_0x31bcf7,_0x27809f)=>{_0x38d328(_0x317f58,_0x31bcf7,_0x27809f,!0x0,!0x1);},{'priority':'highest'});}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x532883=>{_0x532883['on']('addMarker:suggestion:attribute',(_0x494afe,_0x9382da,_0x28bf12)=>{_0x38d328(_0x494afe,_0x9382da,_0x28bf12,!0x0,!0x0);},{'priority':'highest'});}),_0x12cf14['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x188c6d,_0x5b474c)=>_0x5b474c['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x188c6d['substr'](0xb)}});const _0x31c2bd=(_0x264ac5,_0x4296d7,_0x36a1dd,_0x29a181,_0x4b5f42)=>{if(_0x29a181&&!_0x36a1dd['options']['showSuggestionHighlights'])return;if(!_0x36a1dd['consumable']['test'](_0x4296d7['markerRange'],_0x264ac5['name']))return;const _0x1e9f3d=this['_activeMarkers'],_0xcb2433=_0x4296d7['markerRange']['getWalker'](),_0x488d87=_0x4296d7['markerRange']['start'],_0x20a58a=_0x12cf14['model']['schema'];let _0x311655=null,_0x2792f1=null,_0x554305=!0x1,_0x5509a0=!0x1;for(const _0x7fb06 of _0xcb2433){const _0x44b811=_0x7fb06['item'];_0x554305=_0x554305||_0x20a58a['isContent'](_0x44b811);const _0x54e5a0=_0x36a1dd['mapper']['toViewElement'](_0x44b811);if(_0x54e5a0&&_0x54e5a0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x7fb06['type']&&(_0x20a58a['isBlock'](_0x44b811)&&!_0x20a58a['isLimit'](_0x44b811)&&(_0x44b811['nextSibling']||_0x488d87['isAtEnd']?_0x311655&&_0x311655['parent']==_0x44b811||(_0x311655=_0x44b811,_0x16f72c(_0x7fb06['previousPosition']),_0x5509a0=!0x0):_0x2792f1=_0x2792f1||_0x7fb06['previousPosition']));}function _0x16f72c(_0x49fa8a){const {id:_0x1b53ad,authorId:_0x4ab595}=J(_0x4296d7['markerName']),_0x390274=_0x36a1dd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b5f42,'data-suggestion':_0x1b53ad,'data-author-id':_0x4ab595}),_0xad02d=_0x36a1dd['mapper']['toViewPosition'](_0x49fa8a);!_0x29a181&&_0x1e9f3d['includes'](_0x4296d7['markerName'])&&_0x36a1dd['writer']['addClass']('ck-suggestion-marker--active',_0x390274),_0x36a1dd['writer']['insert'](_0xad02d,_0x390274),_0x36a1dd['mapper']['bindElementToMarker'](_0x390274,_0x4296d7['markerName']);}_0x554305||_0x5509a0||!_0x2792f1||_0x16f72c(_0x2792f1);};_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x38da4c,_0x34e8f9,_0x2b9168)=>{_0x31c2bd(_0x38da4c,_0x34e8f9,_0x2b9168,!0x1,'merge');},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4fa6bb,_0xad53b6,_0x85c979)=>{_0x31c2bd(_0x4fa6bb,_0xad53b6,_0x85c979,!0x0,'merge');},{'priority':'high'}),_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x53fbf5,_0x3f9ae9,_0x44fd31)=>{_0x31c2bd(_0x53fbf5,_0x3f9ae9,_0x44fd31,!0x1,'split');},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x69dbb8,_0xa2b5ae,_0x4e8797)=>{_0x31c2bd(_0x69dbb8,_0xa2b5ae,_0x4e8797,!0x0,'split');},{'priority':'high'}),_0x12cf14['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x277b21,_0x192244,_0x594d83)=>{((_0x485147,_0x2bc87c,_0x2af347)=>{const _0x4cb719=_0x2af347['mapper']['markerNameToElements'](_0x2bc87c['markerName']);if(_0x4cb719){for(const _0x6eb68c of _0x4cb719)(_0x6eb68c['hasClass']('ck-suggestion-marker-split')||_0x6eb68c['hasClass']('ck-suggestion-marker-merge'))&&(_0x2af347['mapper']['unbindElementFromMarkerName'](_0x6eb68c,_0x2bc87c['markerName']),_0x2af347['writer']['remove'](_0x6eb68c));}})(0x0,_0x192244,_0x594d83);},{'priority':'high'});const _0x28a9c2=(_0x133766,_0x5b8c11,_0x437602,_0x1bec6a)=>{if(_0x1bec6a&&!_0x437602['options']['showSuggestionHighlights'])return;const _0x5ad1b0=_0x5b8c11['markerRange']['start'],_0xca22d8=_0x5b8c11['markerRange']['end'],_0x528301=_0x12cf14['model']['schema'];if(!_0x5ad1b0['isTouching'](_0xca22d8)||!_0x5ad1b0['nodeAfter'])return;const _0x52e595=_0x5ad1b0['nodeAfter'];if(_0x528301['isBlock'](_0x52e595)&&!_0x528301['isLimit'](_0x52e595)&&_0x528301['checkChild'](_0x52e595,'$text')){if(!_0x437602['consumable']['consume'](_0x5b8c11['markerRange'],_0x133766['name']))return;const {id:_0x335da8,authorId:_0x23586e}=J(_0x5b8c11['markerName']),_0x33d4f4=_0x437602['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x335da8,'data-author-id':_0x23586e}),_0x56c4df=_0x437602['mapper']['toViewPosition'](_0xca22d8);!_0x1bec6a&&this['_activeMarkers']['includes'](_0x5b8c11['markerName'])&&_0x437602['writer']['addClass']('ck-suggestion-marker--active',_0x33d4f4),_0x437602['writer']['insert'](_0x56c4df,_0x33d4f4),_0x437602['mapper']['bindElementToMarker'](_0x33d4f4,_0x5b8c11['markerName']);}};_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x6b6073,_0x42aa3a,_0x5acc8b)=>{_0x28a9c2(_0x6b6073,_0x42aa3a,_0x5acc8b,!0x1);},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x56ae05,_0x59db22,_0xddd5a0)=>{_0x28a9c2(_0x56ae05,_0x59db22,_0xddd5a0,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4a38cf,_0x460a22,_0xef1705)=>{this['_activeMarkers']=_0xef1705['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x51c87a){this['_blockAttributeKeys']['add'](_0x51c87a);}registerInlineAttribute(_0x2a3a36){this['_inlineAttributeKeys']['add'](_0x2a3a36);}isBlockAttribute(_0x1beb43){return this['_blockAttributeKeys']['has'](_0x1beb43);}isInlineAttribute(_0x4cd0a0){return this['_inlineAttributeKeys']['has'](_0x4cd0a0);}isRegisteredAttribute(_0x23df63){return this['isInlineAttribute'](_0x23df63)||this['isBlockAttribute'](_0x23df63);}_getClassName(_0x5f895f,_0x1e6d3a){if('attribute'!=_0x5f895f)return'ck-suggestion-marker-'+_0x5f895f;const _0x5347e6=_0x1e6d3a['split']('|')[0x0];return this['isBlockAttribute'](_0x5347e6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x5397ca={},_0x455dc8){if(void 0x0!==_0x5397ca['dateTimeFormat']&&'function'!=typeof _0x5397ca['dateTimeFormat'])throw new _0x7e1653('invalid-date-time-format');return _0x446160=>{const _0x209da2='string'==typeof _0x446160?_0x2e54a4['fromISO'](_0x446160):_0x2e54a4['fromJSDate'](_0x446160),_0x19671b=_0x2e54a4['now'](),_0x2bedc9=Math['floor'](_0x19671b['diff'](_0x209da2,'days')['days']);return _0x5397ca['dateTimeFormat']?_0x5397ca['dateTimeFormat'](_0x209da2['toJSDate'](),_0x455dc8&&_0x455dc8['t']?_0x455dc8['t']:void 0x0):0x0===_0x2bedc9?_0x455dc8?D(_0x455dc8,'Today')+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2bedc9?_0x455dc8?D(_0x455dc8,'Yesterday')+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2bedc9<0x7?_0x455dc8?D(_0x455dc8,'Last')+'\x20'+D(_0x455dc8,_0x209da2['toFormat']('EEEE'))+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x209da2['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x57a181,_0x16778b){const _0x171da7=_0x57a181['mapper']['markerNameToElements'](_0x16778b['name']);if(!_0x171da7)return null;const _0x29a200=_0xdce8ac(_0x171da7['values']());return _0x57a181['view']['domConverter']['mapViewToDom'](_0x29a200)||null;}function It(_0x462599,_0xf04a52){if(0x0===_0xf04a52['length'])return null;const _0x3ed67e=[],_0x2ea172=_0x462599['view']['domConverter'];for(const _0x4cb333 of _0xf04a52){const _0x2598dc=_0x462599['mapper']['markerNameToElements'](_0x4cb333['name']);if(!_0x2598dc)continue;const _0x4ebc29=Array['from'](_0x2598dc)['map'](_0x12b0fd=>_0x2ea172['mapViewToDom'](_0x12b0fd))['filter'](_0x5897b9=>!!_0x5897b9);_0x3ed67e['push'](..._0x4ebc29);}if(0x0===_0x3ed67e['length'])return null;const _0x235b36=[];for(const _0x4885b3 of _0x3ed67e){const _0x70180=_0x4885b3['getClientRects']()['item'](0x0);_0x70180&&_0x235b36['push']({'x':_0x70180['x'],'y':_0x70180['y'],'domElement':_0x4885b3});}return 0x0===_0x235b36['length']?null:(_0x235b36['sort']((_0x2a6010,_0x5afdd2)=>_0x2a6010['y']-_0x5afdd2['y']||_0x2a6010['x']-_0x5afdd2['x']),_0x235b36['map'](_0x91643=>_0x91643['domElement']));}function St(_0x17caa0,{limit:_0x1e1a9c,suffix:_0x14bfe0='...'}){const _0x594740=[];let _0x4af075=0x0;const _0x450027=_0x17caa0['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x519973=0x0;_0x519973<_0x450027['length'];_0x519973++){let _0x332394=_0x450027[_0x519973];const _0x2fa8c2=Et(_0x332394);if(_0x332394['startsWith']('<')){if(_0x4af075>=_0x1e1a9c){const _0x38485c=_0x332394['match'](/[a-zA-Z]+/);if(!_0x38485c){_0x450027[_0x519973]='';continue;}const _0x5e9676=_0x38485c[0x0];_0x332394['startsWith']('</')?(_0x594740['length']&&(_0x332394=''),_0x594740['pop']()):(_0x594740['push'](_0x5e9676),_0x332394='');}}else{if(_0x4af075>=_0x1e1a9c)_0x332394='';else{if(_0x4af075+_0x2fa8c2['length']>=_0x1e1a9c){let _0x28c171=_0x1e1a9c-_0x4af075;if('\x20'===_0x2fa8c2[_0x28c171-0x1])_0x28c171--;else{const _0x43827c=_0x2fa8c2['slice'](_0x28c171)['indexOf']('\x20');-0x1!==_0x43827c?_0x28c171+=_0x43827c:_0x28c171=_0x332394['length'];}_0x332394=_0x2fa8c2['slice'](0x0,_0x28c171)['join']('')+_0x14bfe0,_0x4af075=_0x1e1a9c;}else _0x4af075+=_0x2fa8c2['length'];}}_0x450027[_0x519973]=_0x332394;}return _0x450027['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x2189ba){const _0x51b033=[];for(let _0x3b5847=0x0;_0x3b5847<_0x2189ba['length'];_0x3b5847++){const _0x186b54=_0x2189ba['substring'](_0x3b5847)['match'](/^&[a-z0-9#]+;/);if(_0x186b54){const _0x5eb897=_0x186b54[0x0];_0x51b033['push'](_0x5eb897),_0x3b5847+=_0x5eb897['length']-0x1;}else _0x51b033['push'](_0x2189ba[_0x3b5847]);}return _0x51b033;}var Mt=class extends _0x5343b7{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x5bcb5b){super(_0x5bcb5b);const _0xdfb8ae=this['bindTemplate'];this['set']('message',D(_0x5bcb5b,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5bcb5b,D(_0x5bcb5b,'Yes'),_0x41ca5f,'submit'),this['cancelView']=this['_createButtonView'](_0x5bcb5b,D(_0x5bcb5b,'No'),_0x302715,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2666aa(),this['keystrokes']=new _0x1dfb02(),this['focusCycler']=new _0x480748({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0xdfb8ae['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}_createButtonView(_0x4905e3,_0x4e3663,_0x573408,_0x18805f){const _0x2cad4a=new _0x2d1b78(_0x4905e3);return _0x2cad4a['label']=_0x4e3663,_0x2cad4a['icon']=_0x573408,_0x2cad4a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x18805f}}),_0x2cad4a['on']('execute',()=>this['fire'](_0x18805f)),_0x2cad4a;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0xeccffe=>{this['keystrokes']['listenTo'](_0xeccffe['element']),this['focusTracker']['add'](_0xeccffe['element']);}),this['keystrokes']['set']('esc',(_0x34696a,_0x24df29)=>{this['fire']('cancel'),_0x24df29();});}};function At(_0x3591a2){return class _0x18af50 extends _0x3591a2{['showConfirm'](_0x445bfa,_0x3747c6){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x445bfa,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3747c6['appendChild'](this['confirmView']['element']),_0x3747c6['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x268fac,_0x2084f9,_0x5c2d1e)=>{_0x5c2d1e||_0x3747c6['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3e22a8=>this['confirmView']['on']('submit',_0x3e22a8));}['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']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function Tt(_0x4d3ef6){let _0x3eedb0=0x0,_0x16d3f9=0x0;for(const _0x545af3 of Nt(_0x4d3ef6))_0x3eedb0=(_0x3eedb0<<0x5)-_0x3eedb0+_0x545af3,_0x3eedb0&=_0x3eedb0,[_0x3eedb0,_0x16d3f9]=[_0x16d3f9,_0x3eedb0];return Bt(_0x3eedb0)+Bt(_0x16d3f9);}function*Pt(_0x354aa){null==_0x354aa||null==_0x354aa?yield 0x12b9b0a1:0x0===_0x354aa||!0x1===_0x354aa?yield 0x0:0x1===_0x354aa||0x1==_0x354aa?yield 0x1:Array['isArray'](_0x354aa)?yield*function*(_0x3c3539){for(const _0x4e886e of _0x3c3539)yield*Pt(_0x4e886e);}(_0x354aa):'object'==typeof _0x354aa?yield*Nt(_0x354aa):'string'==typeof _0x354aa?yield*Vt(_0x354aa):'number'==typeof _0x354aa&&(yield _0x354aa);}function*Nt(_0x17ab8b){if(yield Ot('{'),_0x17ab8b){const _0x4554aa=Object['keys'](_0x17ab8b)['sort']();for(const _0x52bf0e of _0x4554aa){yield*Vt(_0x52bf0e),yield Ot(':');const _0x2ba678=_0x17ab8b[_0x52bf0e];yield*Pt(_0x2ba678);}}yield Ot('}');}function*Vt(_0x2089db){yield Ot('\x22');for(const _0x2768ab of _0x2089db)yield Ot(_0x2768ab);yield Ot('\x22');}function Ot(_0x44b141){return _0x44b141['charCodeAt'](0x0);}function Bt(_0x12c41f){return(_0x12c41f*=Math['sign'](_0x12c41f))['toString'](0x24);}function Dt(_0x422158){if('addAttribute'!=_0x422158['type']&&'removeAttribute'!=_0x422158['type']&&'changeAttribute'!=_0x422158['type'])return!0x1;try{return _0x422158['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x450f8b,_0x2a1ac8,_0x3fcaf7,_0x5eba8b=[]){const _0x4195f0='string'==typeof _0x450f8b?_0x3fcaf7['get'](_0x450f8b)['constructor']:_0x450f8b['prototype']['constructor'];if(_0x2a1ac8['has'](_0x4195f0))return _0x2a1ac8['get'](_0x4195f0);_0x2a1ac8['set'](_0x4195f0,!0x0);const _0x2a8ede=[...Lt,..._0x5eba8b]['map'](_0x50efe2=>{if(_0x3fcaf7['has'](_0x50efe2))return _0x3fcaf7['get'](_0x50efe2)['constructor'];})['filter'](_0x55bd29=>_0x55bd29);if(_0x4195f0&&_0x2a8ede['includes'](_0x4195f0))return _0x2a1ac8['set'](_0x4195f0,!0x1),!0x1;if(!_0x4195f0['requires'])return _0x2a1ac8['set'](_0x4195f0,!0x0),!0x0;const _0x1ffb45=_0x4195f0['requires']['every'](_0x4cda68=>Rt(_0x4cda68,_0x2a1ac8,_0x3fcaf7,_0x5eba8b));return _0x2a1ac8['set'](_0x4195f0,_0x1ffb45),_0x1ffb45;}function Ft(_0x487131,_0x2a87bf){const _0x5662f8={};for(const _0x368afc of _0x487131['config']['names']())$t['includes'](_0x368afc)||(_0x5662f8[_0x368afc]=_0x487131['config']['get'](_0x368afc));const _0x1f14d0=_0x5662f8['plugins']||[],_0x5ebd1f=_0x487131['constructor']['builtinPlugins']||[],_0x3fa0fe=_0x1f14d0['length']?_0x1f14d0:_0x5ebd1f,_0x4477a0=_0x5662f8['extraPlugins']||[];delete _0x5662f8['extraPlugins'];const _0x30b736=_0x5662f8['removePlugins']||[];delete _0x5662f8['removePlugins'];const _0x5fdebc=_0x487131['_context']['config']['get']('plugins')||[],_0x740d82=_0x3fa0fe['concat'](_0x4477a0)['concat'](_0x5fdebc)['map'](_0x3821ac=>'string'==typeof _0x3821ac?_0x5ebd1f['find'](_0x1b94c1=>_0x1b94c1['pluginName']==_0x3821ac):_0x3821ac)['filter'](_0x10f74c=>!_0x30b736['includes'](_0x10f74c)&&!_0x30b736['includes'](_0x10f74c['pluginName'])),_0x214679=Array['from'](new Set(_0x740d82)),_0x56cd72=new Map();return _0x5662f8['plugins']=_0x214679['filter'](_0x10ccc2=>Rt(_0x10ccc2,_0x56cd72,_0x487131['plugins'],_0x2a87bf)),_0x5662f8;}function Ht(_0x1fa482,_0x540a06){const _0x3d46f6=[];_0x1fa482['document']['selection']['on']('change:range',()=>{const _0x4faaba=function(_0x1c9b00,_0x2b994c){const _0x3b16bc=[];for(const _0x53d2b1 of _0x1c9b00['markers']){const _0x1f32f5=_0x53d2b1['getRange']();(_0x1f32f5['containsPosition'](_0x2b994c)||_0x1f32f5['start']['isEqual'](_0x2b994c)||_0x1f32f5['end']['isEqual'](_0x2b994c))&&_0x3b16bc['push'](_0x53d2b1);}return _0x3b16bc;}(_0x1fa482,_0x1fa482['document']['selection']['focus']),_0x304364=[],_0x52be9c=[],_0x10ccf6=[];for(const _0xfe151a of _0x3d46f6)_0x4faaba['includes'](_0xfe151a)||_0x304364['push'](_0xfe151a);for(const _0x475b2f of _0x4faaba)_0x3d46f6['includes'](_0x475b2f)||_0x52be9c['push'](_0x475b2f),_0x10ccf6['push'](_0x475b2f);(_0x304364['length']||_0x52be9c['length'])&&_0x540a06({'left':_0x304364,'entered':_0x52be9c}),_0x3d46f6['length']=0x0,_0x3d46f6['push'](..._0x10ccf6);});}const Ut='Ctrl+Shift+E';function zt(_0x2a6ec1,_0x5d463a){const _0x154735=_0x2a6ec1['element'];_0x2a6ec1['keystrokes']['listenTo'](_0x154735);for(const _0x2386e0 of _0x5d463a)Wt(_0x2a6ec1,_0x2386e0);_0x5d463a['on']('change',(_0x57032f,_0x3bfcfe)=>{for(const _0x52ed1d of _0x3bfcfe['removed'])Yt(_0x2a6ec1,_0x52ed1d);for(const _0x5b7beb of Array['from'](_0x3bfcfe['added'])['reverse']())Wt(_0x2a6ec1,_0x5b7beb);}),_0x2a6ec1['keystrokes']['set']('enter',(_0x1316b3,_0x1e7fc5)=>{_0x154735===_0x1316b3['target']&&(_0x2a6ec1['focusCycler']['focusFirst'](),_0x1e7fc5());},{'filter':_0x2b5c34=>_0x2b5c34['target']===_0x154735}),_0x2a6ec1['keystrokes']['set']('esc',(_0x17e209,_0x392601)=>{_0x154735!==_0x17e209['target']?_0x2a6ec1['focus']():_0x2a6ec1['fire']('escape'),_0x392601();}),_0x2a6ec1['keystrokes']['set']('arrowdown',(_0x4c687c,_0x26fa3f)=>{_0x154735===_0x4c687c['target']&&(_0x2a6ec1['fire']('arrowdown'),_0x26fa3f());}),_0x2a6ec1['keystrokes']['set']('arrowup',(_0x1bad1c,_0x5977ca)=>{_0x154735===_0x1bad1c['target']&&(_0x2a6ec1['fire']('arrowup'),_0x5977ca());});}function Wt(_0xca7566,_0x43535d){_0x43535d['isRendered']&&(_0xca7566['focusTracker']['add'](_0x43535d['element']),_0xca7566['keystrokes']['listenTo'](_0x43535d['element']),_0x3c969d(_0x43535d)&&function(_0x5a5e8f,_0x395a15){const _0x25a629=_0x5a5e8f['actions'],_0x535a6e=_0x395a15['actions'];for(const _0x221c13 of Object['keys'](_0x25a629))if(_0x221c13 in _0x535a6e&&_0x25a629[_0x221c13]!==_0x535a6e[_0x221c13])return!0x1;return!0x0;}(_0xca7566['focusCycler'],_0x43535d['focusCycler'])&&_0xca7566['focusCycler']['chain'](_0x43535d['focusCycler']));}function Yt(_0x46bbe5,_0x543dab){_0x46bbe5['focusTracker']['remove'](_0x543dab['element']),_0x46bbe5['keystrokes']['stopListening'](_0x543dab['element']),_0x3c969d(_0x543dab)&&_0x46bbe5['focusCycler']['unchain'](_0x543dab['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x17753e{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x2b57ec?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x11d5eb,_0xea7734)=>{_0xea7734['on']('ready',()=>{this['_integrateEditor'](_0xea7734);});});}get editor(){if(this['context']instanceof _0x2b57ec)return this['context'];{const _0x4f33a5=this['context']['editors']['first'];if(!_0x4f33a5)throw new _0x7e1653('documentcompare-no-editor',this);return _0x4f33a5;}}getDiff(_0x578100,_0x4f4f40,_0x3d068b={'anchor':'main','markDeletions':!0x1}){const _0x27de1c=_0x3d068b['targetEditor']||this['editor'],_0x4354e=_0x3d068b['anchor']??'main';let _0x5c93f7,_0x26cf33;if('string'==typeof _0x4354e){const _0x1eef90=_0x27de1c['model']['document']['getRoot'](_0x4354e);if(!_0x1eef90)throw new _0x7e1653('documentcompare-compare-no-root',this,{'anchor':_0x4354e});_0x5c93f7=_0x1eef90,_0x26cf33=_0x27de1c['model']['createPositionAt'](_0x1eef90,0x0);}else _0x5c93f7=_0x4354e['clone'](),_0x26cf33=_0x4354e['clone']();const _0x496a9e=_0x27de1c['data']['parse'](_0x578100,_0x5c93f7),_0x2136a7=_0x27de1c['data']['parse'](_0x4f4f40,_0x5c93f7);return new Kt({'editor':_0x27de1c,'before':_0x496a9e,'after':_0x2136a7,'options':{'anchor':_0x26cf33,'markDeletions':_0x3d068b['markDeletions']}});}isMarkedRemoveOperation(_0x149f1b){return'marker'==_0x149f1b['type']&&_0x149f1b['name']['startsWith']('$markedRemove');}applyOperations(_0x3acd84,_0x3f3b5b){const _0x2b2b3b=_0x3acd84['model'];for(const _0x4df69c of _0x3f3b5b)Dt(_0x4df69c)||(_0x4df69c instanceof _0x2fc107?_0x3acd84['_addOperationForAffectedMarkers']('move',_0x15cb62['_createFromPositionAndShift'](_0x4df69c['sourcePosition'],_0x4df69c['howMany'])):_0x4df69c instanceof _0x537b36?_0x3acd84['_addOperationForAffectedMarkers']('merge',_0x4df69c['deletionPosition']):_0x4df69c instanceof _0x55fe48&&this['_fixMarkerOperationOldRange'](_0x2b2b3b,_0x4df69c),_0x4df69c['baseVersion']=_0x2b2b3b['document']['version'],_0x3acd84['batch']['addOperation'](_0x4df69c),_0x2b2b3b['applyOperation'](_0x4df69c));}_fixMarkerOperationOldRange(_0x2f79d1,_0x5a3d77){const _0x22cf1b=_0x2f79d1['markers']['get'](_0x5a3d77['name']);_0x22cf1b&&(_0x5a3d77['oldRange']=_0x22cf1b['getRange']());}_integrateEditor(_0x2aa992){_0x2aa992['conversion']['for']('upcast')['add'](_0x3a8401=>{_0x3a8401['on']('element',(_0xad8d96,_0x366ea6,_0x58ff0d)=>{if(_0x366ea6['modelRange']&&_0x58ff0d['consumable']['consume'](_0x366ea6['viewItem'],{'attributes':'data-id'}))for(const _0x1095c1 of _0x366ea6['modelRange']['getItems']({'shallow':!0x0})){if(_0x1095c1['is']('$textProxy'))continue;const _0x3a2f36=_0x366ea6['viewItem']['getAttribute'](Jt);_0x3a2f36&&_0x58ff0d['writer']['setAttribute'](jt,_0x3a2f36,_0x1095c1);}},{'priority':'low'});}),_0x2aa992['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x323b5f,before:_0x2c6fe0,after:_0x44479e,options:_0x58c70c}){this['_editor']=_0x323b5f,this['_markDeletions']=!!_0x58c70c['markDeletions'],this['_anchor']=_0x58c70c['anchor'];const _0x22b594=this['_tokenizeModel'](_0x2c6fe0),_0x26cd8d=this['_tokenizeModel'](_0x44479e);this['_diffItems']=this['_diffModelTokens'](_0x22b594,_0x26cd8d),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2c6fe0['markers'],_0x44479e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x315462=this['_editor']['model']['document'],_0x386163=[];let _0x54de0d=_0x315462['version'];for(const _0x192d9d of this['_operationsData'])switch(_0x192d9d['type']){case'attribute':{const _0x390542=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x1c0a1c=new _0x15cb62(_0x390542,_0x390542['getShiftedBy'](_0x192d9d['howMany'])),_0x3574e2=JSON['parse'](_0x192d9d['oldValue']),_0x368aec=JSON['parse'](_0x192d9d['newValue']);_0x386163['push'](new _0x23b62b(_0x1c0a1c,_0x192d9d['key'],_0x3574e2,_0x368aec,_0x54de0d++));break;}case'insert':{const _0xd56f1f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x541a55=this['_makeModelFromTokens'](_0x192d9d['tokens']);_0x386163['push'](new _0x3946bf(_0xd56f1f,_0x541a55,_0x54de0d++));break;}case'remove':{const _0x27297e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x412836=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x2fc107(_0x27297e,_0x192d9d['howMany'],_0x412836,_0x54de0d++));break;}case'rename':{const _0x4ded02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']);_0x386163['push'](new _0xd0cd8(_0x4ded02,_0x192d9d['oldName'],_0x192d9d['newName'],_0x54de0d++));break;}case'split':{const _0x5d5d66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x1b84a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']['slice'](0x0,-0x1));_0x1b84a8['offset']++,_0x386163['push'](new _0x43e936(_0x5d5d66,Number['NEGATIVE_INFINITY'],_0x1b84a8,null,_0x54de0d++));break;}case'merge':{const _0x7c8714=_0x192d9d['path']['slice'](),_0x5e57a9=_0x7c8714['slice'](0x0,-0x1);_0x5e57a9[_0x5e57a9['length']-0x1]++,_0x5e57a9['push'](0x0);const _0xc180bf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5e57a9),_0x46dea1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x7c8714),_0x1ac035=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x537b36(_0xc180bf,Number['NEGATIVE_INFINITY'],_0x46dea1,_0x1ac035,_0x54de0d++));break;}case'marker':case'markedRemove':{let _0xd4f6d8=null;_0x192d9d['range']&&(_0xd4f6d8=new _0x15cb62(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['end'])));const _0x396550='marker'==_0x192d9d['type']?_0x192d9d['name']:'$markedRemove:'+_0x1cc595();_0x386163['push'](new _0x55fe48(_0x396550,null,_0xd4f6d8,_0x315462['model']['markers'],!0x0,_0x54de0d++));break;}case'unwrap':{const _0x50e035=_0x192d9d['path']['slice']();_0x50e035['push'](0x0);const _0x437cf1=_0x192d9d['path']['slice'](),_0x290064=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x50e035),_0x42a4e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x437cf1),_0x21523a=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x2fc107(_0x290064,_0x192d9d['howMany'],_0x42a4e7,_0x54de0d++)),_0x386163['push'](new _0x2fc107(_0x42a4e7['getShiftedBy'](_0x192d9d['howMany']),0x1,_0x21523a,_0x54de0d++));break;}case'wrap':{const _0x4e9672=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['start']),_0x4045a3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['end']),_0x1d40a8=_0x192d9d['token']['element']['_clone'](!0x1);_0x1d40a8['_removeAttribute'](jt);const _0xb27e6f=_0x192d9d['range']['end']['slice']();_0xb27e6f['push'](0x0);const _0x5958c8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb27e6f);_0x386163['push'](new _0x3946bf(_0x4045a3,_0x1d40a8,_0x54de0d++)),_0x386163['push'](new _0x2fc107(_0x4e9672,_0x4045a3['offset']-_0x4e9672['offset'],_0x5958c8,_0x54de0d++));break;}}return _0x386163;}_tokenizeModel(_0x3b5a21){const _0x4966e4=[],_0x3dc4f0=new _0x462cb8({'boundaries':_0x15cb62['_createIn'](_0x3b5a21)});let _0x43443e='',_0x431ed9=null;const _0x163139=[''],_0x5c81fe=new Map();for(const _0x24cdcb of _0x3dc4f0)if('elementStart'==_0x24cdcb['type']||'elementEnd'==_0x24cdcb['type']){let _0x26ace1=_0x163139[0x0];''!==_0x43443e&&(_0x4966e4['push'](...this['_makeTokensFromTextByWords'](_0x43443e,_0x431ed9,_0x26ace1)),_0x43443e='');const _0x2af570=_0x24cdcb['item'];let _0x134dc0;_0x2af570['getAttribute']('$elementId')?_0x134dc0=_0x2af570['getAttribute'](jt):'elementStart'==_0x24cdcb['type']?(_0x134dc0=Zt(_0x2af570),_0x5c81fe['set'](_0x2af570,_0x134dc0)):_0x134dc0=_0x5c81fe['get'](_0x2af570);const _0x1a90a5=this['_getElementCategory'](_0x2af570);'solid'==_0x1a90a5&&('elementStart'==_0x24cdcb['type']?(_0x26ace1=_0x134dc0,_0x163139['unshift'](_0x26ace1)):_0x163139['shift']());const _0x175a90={'type':'element','element':_0x2af570,'elementId':_0x134dc0,'category':_0x1a90a5,'isStart':'elementStart'==_0x24cdcb['type'],'limitId':_0x26ace1};_0x4966e4['push'](_0x175a90);}else''==_0x43443e&&(_0x431ed9=_0x24cdcb['previousPosition']['clone']()),_0x43443e+=_0x24cdcb['item']['data'];return''!==_0x43443e&&_0x4966e4['push'](...this['_makeTokensFromTextByWords'](_0x43443e,_0x431ed9,_0x163139[0x0])),_0x4966e4;}_makeTokensFromTextByWords(_0x38a94e,_0x143d5c,_0x30b56f){const _0x5c1ff8=_0x38a94e['matchAll'](/(\s)/g),_0x5c5827=Array['from'](_0x5c1ff8)['map'](_0x4a753a=>_0x4a753a['index']);_0x5c5827['push'](_0x38a94e['length']),0x0==_0x5c5827[0x0]&&_0x5c5827['shift']();const _0x132635=[],_0x682b49=_0x143d5c['parent'];let _0x2cf28d=0x0,_0x5bdac1=_0x143d5c['offset'];for(let _0x5206ac=0x0;_0x5206ac<_0x5c5827['length'];_0x5206ac++)_0x132635['push']({'type':'text','data':_0x38a94e['slice'](_0x2cf28d,_0x5c5827[_0x5206ac]),'parent':_0x682b49,'offset':_0x5bdac1,'limitId':_0x30b56f}),_0x2cf28d=_0x5c5827[_0x5206ac],_0x5bdac1=_0x143d5c['offset']+_0x5c5827[_0x5206ac];return _0x132635;}_getElementCategory(_0x4f5db9){const _0x499e82=this['_editor']['model']['schema'];return _0x499e82['isLimit'](_0x4f5db9)||_0x499e82['isContent'](_0x4f5db9)||_0x499e82['isInline'](_0x4f5db9)?'solid':_0x499e82['isBlock'](_0x4f5db9)?'block':function(_0x30bf41,_0x66f9e7){const _0x5eb161=_0x30bf41['parent'];if(!_0x5eb161||_0x5eb161['is']('documentFragment'))return!0x1;if(_0x66f9e7['checkChild'](_0x5eb161,'$text'))return!0x1;for(const _0x3df8af of _0x30bf41['getChildren']())if(_0x3df8af['is']('$text'))return!0x0;return!0x1;}(_0x4f5db9,_0x499e82)?'solid':'container';}['_diffModelTokens'](_0x14461a,_0x598117){const _0x3d8b60=_0x50b789(_0x14461a,_0x598117,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3d8b60);const _0x1487c9=_0x3d8b60['flatMap'](_0x214da6=>{const _0x7d6a8=_0x214da6['added']?'added':_0x214da6['removed']?'removed':'unchanged';return _0x214da6['value']['map'](_0x2e0163=>({'token':_0x2e0163,'change':_0x7d6a8}));});let _0x9136d9=0x0;for(const _0x23248e of _0x1487c9)'added'!=_0x23248e['change']&&('unchanged'==_0x23248e['change']&&(_0x23248e['before']=_0x14461a[_0x9136d9]),_0x9136d9++);return _0x1487c9;}['_handleUnclosedBlockOpeningTags'](_0x2ef245){for(let _0x3aa99b=0x0;_0x3aa99b<_0x2ef245['length']-0x1;_0x3aa99b++)if(_0x2ef245[_0x3aa99b]['removed']&&_0x2ef245[_0x3aa99b+0x1]['added']){const _0x259504=this['_findUnclosedBlockOpeningToken'](_0x2ef245[_0x3aa99b]['value']);if(null!==_0x259504){const _0x305f6c=this['_findUnclosedBlockOpeningToken'](_0x2ef245[_0x3aa99b+0x1]['value']),_0x2f31bb=_0x2ef245[_0x3aa99b]['value']['splice'](_0x259504),_0x14c410=_0x2ef245[_0x3aa99b+0x1]['value']['splice'](_0x305f6c),_0x5d6556=[_0x14c410['shift']()];_0x2f31bb['shift']();const _0xc2abe3={'value':_0x2f31bb,'removed':!0x0},_0xf02415={'value':_0x14c410,'added':!0x0},_0x4afa3d={'value':_0x5d6556};_0x2ef245['splice'](_0x3aa99b+0x2,0x0,_0x4afa3d,_0xc2abe3,_0xf02415);}}}['_findUnclosedBlockOpeningToken'](_0x1b9176){let _0x2084ee=0x0,_0x1dfa84=-0x1;for(let _0x26d112=0x0;_0x26d112<_0x1b9176['length'];_0x26d112++){const _0x56a3b5=_0x1b9176[_0x26d112];'element'==_0x56a3b5['type']&&'block'==_0x56a3b5['category']&&(_0x2084ee+=_0x56a3b5['isStart']?0x1:-0x1,_0x56a3b5['isStart']&&(_0x1dfa84=_0x26d112));}return 0x0===_0x2084ee?null:_0x1dfa84;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x15d21e=0x0;_0x15d21e<this['_diffItems']['length'];_0x15d21e++){const _0x3fd822=this['_diffItems'][_0x15d21e]['change'],_0x206079=[];_0x206079['push'](this['_diffItems'][_0x15d21e]);let _0x3b1f2c=_0x15d21e+0x1;for(;this['_diffItems'][_0x3b1f2c]&&this['_diffItems'][_0x3b1f2c]['change']==_0x3fd822;)_0x206079['push'](this['_diffItems'][_0x3b1f2c]),_0x3b1f2c++,_0x15d21e++;const _0x507576=_0x206079['map'](_0x491dc5=>_0x491dc5['token']);if('unchanged'==_0x3fd822)_0x206079['map'](_0x144ab8=>_0x144ab8['before'])['forEach'](_0x2e7705=>this['_traverseOverItem'](_0x2e7705));else{if('removed'==_0x3fd822){if(this['_markDeletions']){const _0x592b05=this['_path']['slice']();_0x507576['forEach'](_0x20313d=>this['_traverseOverItem'](_0x20313d));const _0x92c4ab=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x592b05,'end':_0x92c4ab}});}else this['_handleChanged'](_0x507576,!0x0,this['_path']['slice']());}else{const _0x5a02ad=_0x507576['filter'](_0x526403=>'element'!=_0x526403['type']||'container'!=_0x526403['category']);this['_handleChanged'](_0x5a02ad,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xd0d97=0x0;_0xd0d97<this['_diffItems']['length'];_0xd0d97++){const _0x17c4a8=this['_diffItems'][_0xd0d97]['change'],_0x4dac7f=[];_0x4dac7f['push'](this['_diffItems'][_0xd0d97]);let _0x27805f=_0xd0d97+0x1;for(;this['_diffItems'][_0x27805f]&&this['_diffItems'][_0x27805f]['change']==_0x17c4a8;)_0x4dac7f['push'](this['_diffItems'][_0x27805f]),_0x27805f++,_0xd0d97++;const _0xe36de9=_0x4dac7f['map'](_0x31f116=>_0x31f116['token']);if('unchanged'==_0x17c4a8){const _0x1974d8=_0x4dac7f['map'](_0x419355=>_0x419355['before']);this['_handleUnchanged'](_0x1974d8,_0xe36de9);}else('added'==_0x17c4a8||this['_markDeletions'])&&_0xe36de9['forEach'](_0x53179f=>{'element'==_0x53179f['type']&&_0x53179f['isStart']&&this['_splitPostponedData']['has'](_0x53179f['element'])&&this['_handleSplitPostponedData'](_0x53179f['element'],this['_path']),this['_traverseOverItem'](_0x53179f);});}}_handleSplitPostponedData(_0x4a527b,_0x3422b7){const _0x56c3b8=this['_splitPostponedData']['get'](_0x4a527b);for(const _0x3bd364 of _0x56c3b8)'rename'==_0x3bd364['type']?this['_operationsData']['push']({'type':'rename','path':_0x3422b7['slice'](),'oldName':_0x3bd364['oldValue'],'newName':_0x4a527b['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x3422b7['slice'](),'howMany':0x1,'key':_0x3bd364['key'],'oldValue':_0x3bd364['oldValue'],'newValue':JSON['stringify'](_0x4a527b['getAttribute'](_0x3bd364['key'])??null)});}_calculateMarkersOperationsData(_0x3e0197,_0x35ffbc){const _0x448a93={};for(const [_0x103af3]of _0x3e0197)_0x448a93[_0x103af3]=null;for(const [_0x534693,_0x825d77]of _0x35ffbc)_0x448a93[_0x534693]=_0x825d77;const _0x21d0a0=Object['entries'](_0x448a93)['map'](([_0x222b58,_0x506151])=>({'type':'marker','name':_0x222b58,'range':_0x506151?{'start':_0x506151['start']['path']['slice'](),'end':_0x506151['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x21d0a0);}['_handleUnwraps'](){const _0x3218a9=new Map(),_0x4fd11d=[],_0x1e3e26=[0x0];let _0x12a2e8=this['_diffItems']['length']+0x1;for(let _0x516493=this['_diffItems']['length']-0x1;_0x516493>=0x0;_0x516493--){const {token:_0x433828,before:_0x2e0e00,change:_0xda2be3}=this['_diffItems'][_0x516493];if('removed'!=_0xda2be3&&(_0x12a2e8=_0x516493),'element'!=_0x433828['type']||'container'!=_0x433828['category']||'added'==_0xda2be3)continue;const _0x5ed67d=_0x2e0e00?_0x2e0e00['element']:_0x433828['element'];if(_0x433828['isStart']){const _0x5015f5=_0x3218a9['get'](_0x5ed67d),_0x254234=this['_diffItems'][_0x5015f5];('removed'==_0xda2be3||'removed'==_0x254234['change'])&&_0x12a2e8<_0x5015f5&&(this['_operationsData']['push']({'type':'unwrap','path':_0x5ed67d['getPath'](),'howMany':_0x5ed67d['maxOffset']+_0x1e3e26[0x0]}),_0x1e3e26['shift'](),_0x1e3e26[0x0]+=_0x5ed67d['maxOffset']-0x1,_0x4fd11d['push'](_0x516493),_0x4fd11d['push'](_0x5015f5));}else _0x3218a9['set'](_0x5ed67d,_0x516493),_0x1e3e26['unshift'](0x0);}_0x4fd11d['sort']((_0x304b15,_0x5ed399)=>_0x5ed399-_0x304b15),_0x4fd11d['forEach'](_0x5ef3b8=>{const _0x93b2a3=this['_diffItems'][_0x5ef3b8];'removed'==_0x93b2a3['change']?this['_diffItems']['splice'](_0x5ef3b8,0x1):(_0x93b2a3['change']='added',delete _0x93b2a3['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x31dfe9=[];for(let _0x4d187c=0x0;_0x4d187c<this['_diffItems']['length'];_0x4d187c++){const {change:_0x2fb184,token:_0x150730}=this['_diffItems'][_0x4d187c];if('added'==_0x2fb184&&'element'==_0x150730['type']&&'container'==_0x150730['category']){if(_0x150730['isStart'])_0x31dfe9['push'](this['_path']['slice']());else{if(!_0x150730['isStart']){const _0x3dcab1=_0x31dfe9['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3dcab1,'end':this['_path']['slice']()},'token':_0x150730}),this['_path'][this['_path']['length']-0x1]=_0x3dcab1[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2fb184||this['_markDeletions'])&&this['_traverseOverItem'](_0x150730);}}['_handleUnchanged'](_0x41efbd,_0xf43df2){for(let _0x926fc3=0x0;_0x926fc3<_0x41efbd['length'];_0x926fc3++){const _0x318974=_0x41efbd[_0x926fc3];if('element'==_0x318974['type']&&_0x318974['isStart']){const _0x3750af=_0xf43df2[_0x926fc3];'block'==_0x318974['category']&&this['_handleElementRename'](_0x318974['element'],_0x3750af['element'],this['_path']),this['_handleElementAttributeChanges'](_0x318974['element'],_0x3750af['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3750af);}else{if('element'!=_0x318974['type']||_0x318974['isStart']){if('text'==_0x318974['type']){const _0x4e5b24=this['_path']['slice'](),_0x414f44=[],_0x2df040=[];for(;_0x41efbd[_0x926fc3]&&'text'==_0x41efbd[_0x926fc3]['type'];)_0x414f44['push'](_0x41efbd[_0x926fc3]),_0x2df040['push'](_0xf43df2[_0x926fc3]),this['_path'][this['_path']['length']-0x1]+=_0x41efbd[_0x926fc3]['data']['length'],_0x926fc3++;_0x926fc3--,this['_handleTextAttributeChanges'](_0x414f44,_0x2df040,_0x4e5b24);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4ca397,_0x39a7d7,_0x500042){const _0x11eaa9=[],_0x4a0b3c=[],_0x10eb27=_0x500042['slice']();let _0x18e428=this['_parents']['length']-0x1;for(let _0x272e29=0x0;_0x272e29<_0x4ca397['length'];_0x272e29++){const _0x70c763=_0x4ca397[_0x272e29],_0x36ce63=_0x500042['slice']();'element'!=_0x70c763['type']||_0x70c763['isStart']?'element'==_0x70c763['type']&&_0x70c763['isStart']?(_0x500042['push'](0x0),_0x18e428++,_0x4a0b3c['push']({'before':_0x36ce63,'after':_0x500042['slice'](),'index':_0x272e29})):_0x500042[_0x500042['length']-0x1]+=_0x70c763['data']['length']:(_0x500042['pop'](),_0x500042[_0x500042['length']-0x1]++,_0x18e428--,_0x4a0b3c['length']?_0x4a0b3c['pop']():_0x11eaa9['push']({'before':_0x36ce63,'after':_0x500042['slice'](),'index':_0x272e29}));}if(_0x4a0b3c['length']!==_0x11eaa9['length'])throw new _0x7e1653('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4ca397,'isRemove':_0x39a7d7});const _0x5383ec=[{'after':_0x10eb27['slice'](),'index':-0x1},..._0x11eaa9,..._0x4a0b3c,{'before':_0x500042['slice'](),'index':_0x4ca397['length']}];if(_0x39a7d7){for(let _0x49bcd8=_0x5383ec['length']-0x1;_0x49bcd8>=0x1;_0x49bcd8--){const _0x1f4a67=_0x5383ec[_0x49bcd8-0x1]['after'],_0x989cbb=_0x5383ec[_0x49bcd8]['before'],_0x3a9737=_0x989cbb[_0x989cbb['length']-0x1]-_0x1f4a67[_0x1f4a67['length']-0x1];_0x3a9737&&(this['_operationsData']['push']({'type':'remove','path':_0x1f4a67,'howMany':_0x3a9737}),_0x989cbb[_0x989cbb['length']-0x1]-=_0x3a9737);}for(const {before:_0x238e40}of _0x11eaa9)this['_operationsData']['push']({'type':'merge','path':_0x238e40});}else for(let _0x52540a=0x0;_0x52540a<_0x5383ec['length']-0x1;_0x52540a++){const _0x3e6ca6=_0x5383ec[_0x52540a]['after'],_0x2c841d=_0x5383ec[_0x52540a+0x1]['before'],_0x419329=_0x5383ec[_0x52540a]['index']+0x1,_0x3ee07b=_0x5383ec[_0x52540a+0x1]['index'];if(_0x419329!==_0x3ee07b&&this['_operationsData']['push']({'type':'insert','path':_0x3e6ca6,'tokens':_0x4ca397['slice'](_0x419329,_0x3ee07b)}),_0x52540a<_0x11eaa9['length']){this['_operationsData']['push']({'type':'split','path':_0x2c841d});const _0x1c74af=_0x4ca397[_0x4a0b3c[_0x4a0b3c['length']-0x1-_0x52540a]['index']],_0x2a0632=this['_parents'][_0x18e428]['element'];_0x2a0632['name']!=_0x1c74af['element']['name']&&this['_addSplitPostponedData'](_0x1c74af['element'],{'type':'rename','oldValue':_0x2a0632['name']});const _0x16c53b=this['_getAttributeChanges'](_0x2a0632['getAttributes'](),_0x1c74af['element']['getAttributes']());for(const _0x1145b2 in _0x16c53b){const _0x325635=_0x16c53b[_0x1145b2]['oldValue'];this['_addSplitPostponedData'](_0x1c74af['element'],{'type':'attribute','key':_0x1145b2,'oldValue':_0x325635});}}}}_addSplitPostponedData(_0x28393e,_0x78c591){const _0xda9b4f=this['_splitPostponedData']['get'](_0x28393e)||[];_0xda9b4f['push'](_0x78c591),this['_splitPostponedData']['set'](_0x28393e,_0xda9b4f);}_traverseOverItem(_0xd98784){'element'==_0xd98784['type']&&_0xd98784['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0xd98784)):'element'!=_0xd98784['type']||_0xd98784['isStart']?'text'==_0xd98784['type']&&(this['_path'][this['_path']['length']-0x1]+=_0xd98784['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x1fbbfa,_0x4083bf,_0x2f5746){_0x1fbbfa['name']!=_0x4083bf['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2f5746['slice'](),'oldName':_0x1fbbfa['name'],'newName':_0x4083bf['name']});}_handleElementAttributeChanges(_0x19e6a5,_0x193eff,_0x3ed591){const _0x35eddf=this['_getAttributeChanges'](_0x19e6a5['getAttributes'](),_0x193eff['getAttributes']());for(const _0x49f51d in _0x35eddf){const {oldValue:_0x5135d6,newValue:_0x1592d0}=_0x35eddf[_0x49f51d];this['_operationsData']['push']({'type':'attribute','path':_0x3ed591['slice'](),'howMany':0x1,'key':_0x49f51d,'oldValue':_0x5135d6,'newValue':_0x1592d0});}}_handleTextAttributeChanges(_0x25c6f6,_0x42fb13,_0x50e069){const _0x2f15bd=this['_operationsData'],_0x59a5ef=_0x25c6f6[0x0]['parent'],_0x376124=_0x25c6f6[0x0]['offset'],_0x5241c3=_0x42fb13[0x0]['parent'],_0x53daad=_0x42fb13[0x0]['offset'],_0x3e156a=_0x25c6f6['reduce']((_0x149fc6,_0x22885c)=>_0x149fc6+_0x22885c['data']['length'],0x0),_0x2aea67=this['_getAttrsForOffsets'](_0x59a5ef,_0x376124,_0x3e156a),_0x384221=this['_getAttrsForOffsets'](_0x5241c3,_0x53daad,_0x3e156a),_0x3463f2={};for(let _0x209109=0x0;_0x209109<_0x3e156a;_0x209109++){const _0x23649c=_0x2aea67[_0x376124+_0x209109],_0x1b8739=_0x384221[_0x53daad+_0x209109],_0x3d76ea=this['_getAttributeChanges'](_0x23649c,_0x1b8739);for(const _0x132c6e in _0x3463f2)_0x3d76ea[_0x132c6e]||_0x4c50f4(_0x132c6e);for(const _0x366db2 in _0x3d76ea){const {oldValue:_0xfc1c32,newValue:_0x51bf0e}=_0x3d76ea[_0x366db2],_0x19cd0c=_0x3463f2[_0x366db2];_0x19cd0c?_0x19cd0c['oldValue']==_0xfc1c32&&_0x19cd0c['newValue']==_0x51bf0e?_0x19cd0c['length']++:(_0x4c50f4(_0x366db2),_0x3463f2[_0x366db2]={'oldValue':_0xfc1c32,'newValue':_0x51bf0e,'start':_0x209109,'length':0x1}):_0x3463f2[_0x366db2]={'oldValue':_0xfc1c32,'newValue':_0x51bf0e,'start':_0x209109,'length':0x1};}}for(const _0x1dedf7 in _0x3463f2)_0x4c50f4(_0x1dedf7);function _0x4c50f4(_0x28209e){const _0x3b24e1=_0x3463f2[_0x28209e],_0x1e4bed=_0x50e069['slice']();_0x1e4bed[_0x1e4bed['length']-0x1]+=_0x3b24e1['start'],_0x2f15bd['push']({'type':'attribute','path':_0x1e4bed,'howMany':_0x3b24e1['length'],'key':_0x28209e,'oldValue':_0x3b24e1['oldValue'],'newValue':_0x3b24e1['newValue']}),delete _0x3463f2[_0x28209e];}}_getAttributeChanges(_0x44f0fe,_0x21ba86){const _0x34d3a8={};for(const [_0xc57c0d,_0xa596ec]of _0x44f0fe)_0x34d3a8[_0xc57c0d]={'oldValue':JSON['stringify'](_0xa596ec),'newValue':'null'};for(const [_0x2de3cd,_0xd51a66]of _0x21ba86){const _0x29a2cf=JSON['stringify'](_0xd51a66);_0x34d3a8[_0x2de3cd]?_0x34d3a8[_0x2de3cd]['oldValue']==_0x29a2cf?delete _0x34d3a8[_0x2de3cd]:_0x34d3a8[_0x2de3cd]['newValue']=_0x29a2cf:_0x34d3a8[_0x2de3cd]={'oldValue':'null','newValue':_0x29a2cf};}return delete _0x34d3a8[jt],_0x34d3a8;}_getAttrsForOffsets(_0x31bd59,_0x28c101,_0x388cb8){const _0x59904e=new Array(_0x28c101+_0x388cb8);let _0x41b990=_0x31bd59['getChildAtOffset'](_0x28c101),_0x35adee=_0x41b990['startOffset'];for(;_0x41b990&&_0x35adee<_0x28c101+_0x388cb8;){const _0x16d52e=Array['from'](_0x41b990['getAttributes']());_0x59904e['fill'](_0x16d52e,_0x35adee,_0x35adee+_0x41b990['offsetSize']),_0x35adee+=_0x41b990['offsetSize'],_0x41b990=_0x41b990['nextSibling'];}return _0x59904e;}_getPositionFromAnchorAndPath(_0x38613b,_0x21379c){const _0x38f009=[..._0x38613b['path']['slice'](0x0,-0x1),_0x38613b['offset']+_0x21379c[0x0],..._0x21379c['slice'](0x1)];return new _0x290017(_0x38613b['root'],_0x38f009);}['_makeModelFromTokens'](_0x308453){const _0x44ee5c=[];let _0x49dac6=null;for(const _0x124521 of _0x308453)if('element'!=_0x124521['type']||_0x124521['isStart']||_0x49dac6!=_0x124521['element']){if(!_0x49dac6){if('text'==_0x124521['type']){const _0xdce99f=_0x290017['_createAt'](_0x124521['parent'],_0x124521['offset']),_0x23a82d=_0x15cb62['_createFromPositionAndShift'](_0xdce99f,_0x124521['data']['length']),_0x495132=Array['from'](_0x23a82d['getItems']())['map'](_0x165bf3=>new _0x379bcb(_0x165bf3['data'],_0x165bf3['getAttributes']()));_0x44ee5c['push'](..._0x495132);}else{_0x49dac6=_0x124521['element'];const _0x22dac1=_0x124521['element']['_clone'](!0x0);_0x22dac1['_removeAttribute'](jt);for(const _0x569ec1 of this['_editor']['model']['createRangeIn'](_0x22dac1)['getItems']())_0x569ec1['is']('element')&&_0x569ec1['_removeAttribute'](jt);_0x44ee5c['push'](_0x22dac1);}}}else _0x49dac6=null;return _0x44ee5c;}};function qt(_0x37bcc4,_0x247564){return _0x37bcc4['type']===_0x247564['type']&&(_0x37bcc4['limitId']===_0x247564['limitId']&&('text'==_0x37bcc4['type']?_0x37bcc4['data']==_0x247564['data']:function(_0x3ead6d,_0x55f311){if(_0x3ead6d['isStart']!=_0x55f311['isStart'])return!0x1;if(_0x3ead6d['isStart']&&_0x3ead6d['elementId']!=_0x55f311['elementId'])return!0x1;if(_0x3ead6d['category']!=_0x55f311['category'])return!0x1;if('block'==_0x3ead6d['category'])return!0x0;if('container'==_0x3ead6d['category']&&_0x3ead6d['elementId']!=_0x55f311['elementId'])return!0x1;return _0x3ead6d['element']['name']==_0x55f311['element']['name'];}(_0x37bcc4,_0x247564)));}function Zt(_0xc25442){return Tt({'name':_0xc25442['name'],...Object['fromEntries'](_0xc25442['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St as trimHtml};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x6e3667=>0x1!=_0x6e3667}};
23
+ export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2e2589=>0x1!=_0x2e2589}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2792f0=>{const {af:{dictionary:_0x22087f,getPluralForm:_0x295661}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1d5160=>0x1!=_0x1d5160}};_0x2792f0['af']||={'dictionary':{},'getPluralForm':null},_0x2792f0['af']['dictionary']=Object['assign'](_0x2792f0['af']['dictionary'],_0x22087f),_0x2792f0['af']['getPluralForm']=_0x295661;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x188d09=>{const {af:{dictionary:_0xfc1857,getPluralForm:_0x39f694}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4e3e75=>0x1!=_0x4e3e75}};_0x188d09['af']||={'dictionary':{},'getPluralForm':null},_0x188d09['af']['dictionary']=Object['assign'](_0x188d09['af']['dictionary'],_0xfc1857),_0x188d09['af']['getPluralForm']=_0x39f694;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x54c1fc=>0x0==_0x54c1fc?0x0:0x1==_0x54c1fc?0x1:0x2==_0x54c1fc?0x2:_0x54c1fc%0x64>=0x3&&_0x54c1fc%0x64<=0xa?0x3:_0x54c1fc%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x7712e4=>0x0==_0x7712e4?0x0:0x1==_0x7712e4?0x1:0x2==_0x7712e4?0x2:_0x7712e4%0x64>=0x3&&_0x7712e4%0x64<=0xa?0x3:_0x7712e4%0x64>=0xb?0x4:0x5}};