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

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 (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};
23
+ import{ContextPlugin as _0x1c6a95,Editor as _0x27fa3e,Plugin as _0x5e14a4}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x9e3258,Collection as _0x15a4b4,FocusTracker as _0x28ca57,KeystrokeHandler as _0x4c3665,first as _0x2320e1,toArray as _0x33438b,uid as _0x268c42}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4bbe2f,DropdownButtonView as _0x57bd55,FocusCycler as _0x108e75,IconView as _0x5f2985,View as _0x2d8650,isViewWithFocusCycler as _0x4039fc}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x12aa15,IconCheck as _0x4500d8,IconNotification as _0x2f927b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x3c5a3a,toWidget as _0x233b65}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x33762a}from'luxon';import{AttributeOperation as _0x597333,InsertOperation as _0x32923b,MarkerOperation as _0x31e822,MergeOperation as _0x3a3066,ModelPosition as _0x44c66f,ModelRange as _0x1f7020,ModelText as _0x96df45,ModelTreeWalker as _0x542f34,MoveOperation as _0x1fba41,RenameOperation as _0x2a8fa9,SplitOperation as _0x2a9d67}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x1b337b}from'diff';var B=class extends _0x1c6a95{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x4fc50b,_0x39eb48){let _0xdb86f8;if(_0x39eb48||(_0x39eb48=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x39eb48?_0xdb86f8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xdb86f8=this['context']['editors']['find'](_0x3710ea=>_0x3710ea['config']['get']('collaboration.channelId')==_0x39eb48)),!_0xdb86f8)throw new _0x9e3258('permissions-set-permissions-invalid-channel-id',null);const _0x4193b7=_0xdb86f8['plugins'],_0x26b004=_0x4193b7['has']('CommentsRepository')?_0x4193b7['get']('CommentsRepository'):void 0x0,_0x4df292=_0x4193b7['has']('CommentsOnly')&&_0x4193b7['get']('CommentsOnly'),_0x4aa301=_0x4fc50b['includes']('document:write'),_0x5bce31=_0x4fc50b['includes']('comment:modify_all'),_0x5ec469=_0x4fc50b['includes']('comment:admin'),_0x5339cf=_0x4fc50b['includes']('comment:write'),_0x4e918a=_0x5339cf||_0x5ec469,_0x301ff9=_0x4e918a||_0x5bce31,_0x1cc64f=_0x4aa301||_0x4e918a;if(_0x4df292&&(_0x4df292['isEnabled']=!_0x4aa301&&_0x301ff9),_0xdb86f8 instanceof _0x27fa3e&&(_0x4aa301||_0x301ff9&&_0x26b004?_0xdb86f8['disableReadOnlyMode']('no-permissions'):_0xdb86f8['enableReadOnlyMode']('no-permissions')),_0x26b004){_0x26b004['setPermissions']({'admin':_0x5ec469,'modifyAll':_0x5bce31,'write':_0x5339cf,'resolve':_0x1cc64f},_0x39eb48);const _0x3d181b=_0xdb86f8 instanceof _0x27fa3e&&_0xdb86f8['commands']['get']('addCommentThread');_0x3d181b&&(_0x4e918a?_0x3d181b['clearForceDisabled']('noPermissions'):_0x3d181b['forceDisabled']('noPermissions'));}}};function D(_0x23cb72,_0x594cc8){const t=_0x23cb72['t'];switch(_0x594cc8){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 _0x1c6a95{['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(_0x471a01){super(_0x471a01),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x15a4b4(),this['_locale']=_0x471a01['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:_0x24ff61,name:_0x5bc532,..._0xe294b8}){if(!_0x24ff61||'string'!=typeof _0x24ff61)throw new _0x9e3258('users-add-invalid-id');if(this['users']['has'](_0x24ff61))throw new _0x9e3258('users-add-duplicated-id',null,{'id':_0x24ff61});const _0x288d90=this['context']['config']['get']('users.getInitialsCallback'),_0x7bf976={..._0xe294b8,'id':_0x24ff61,'name':R(this['_locale'],_0x5bc532),'color':this['_getNextColor']()};_0x7bf976['name']=R(this['_locale'],_0x7bf976['name']);const _0x283c8b=new L(_0x7bf976,_0x288d90);return this['users']['add'](_0x283c8b),_0x283c8b;}getUser(_0x2f3498){return this['users']['get'](_0x2f3498);}['useAnonymousUser'](){const _0x57f295=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x57f295);}['defineMe'](_0x238bd7){if(this['_myId'])throw new _0x9e3258('users-me-already-defined',null);const _0x3fce2e=this['getUser'](_0x238bd7);if(!_0x3fce2e)throw new _0x9e3258('users-me-missing-user',null);this['_myId']=_0x238bd7,_0x3fce2e['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x2cc660=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2cc660&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a132d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a132d,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x48c14b,_0x37f240){this['id']=_0x48c14b['id'],this['color']=_0x48c14b['color'],this['name']=_0x48c14b['name'],this['initials']=_0x37f240?_0x37f240(this['name']):this['_computeInitials'](),this['avatar']=_0x48c14b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x58a8e7=this['name']['split']('\x20')['filter'](_0x44e5d1=>/^[\p{Letter}]/u['test'](_0x44e5d1));return 0x1===_0x58a8e7['length']?this['_getInitial'](_0x58a8e7[0x0]):0x0===_0x58a8e7['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x58a8e7[0x0])+this['_getInitial'](_0x58a8e7[_0x58a8e7['length']-0x1]);}_getInitial(_0x2e56c7){return String['fromCodePoint'](_0x2e56c7['codePointAt'](0x0))['toUpperCase']();}};function R(_0x46d409,_0x3f1324=''){return''==(_0x3f1324=_0x3f1324['trim']())?D(_0x46d409,'Anonymous'):_0x3f1324;}var F=class{['_id'];constructor(_0x3e7d28){this['_id']=_0x3e7d28;}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 _0x2d8650{['name'];notificationView;constructor(_0x14cd8c,_0x47c6a4,_0x18845d,_0x502b8a){super(_0x14cd8c),this['name']=_0x47c6a4['name'],this['notificationView']=null;const _0x5d6b2a=['ck','ck-user'],_0x40a238=['ck','ck-user__img'];_0x47c6a4['isAnonymous']&&_0x40a238['push']('ck-user__anonymous'),!_0x47c6a4['isAnonymous']&&_0x47c6a4['isMe']&&_0x5d6b2a['push']('ck-user_me'),(_0x47c6a4['avatar']||_0x502b8a)&&_0x40a238['push']('ck-user__avatar');let _0x6011af=null;if(_0x502b8a&&(_0x6011af=new _0x5f2985(),_0x6011af['content']=_0x502b8a,_0x6011af['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x18845d){const _0x3464c0=new _0x5f2985();_0x3464c0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3464c0['content']=_0x2f927b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x18845d},'children':[_0x3464c0]};}const _0x16f9fe=[{'tag':'div','attributes':{'class':_0x40a238,'style':{'background-image':_0x47c6a4['avatar']&&!_0x502b8a?'url(\x27'+_0x47c6a4['avatar']+'\x27)':''}},'children':_0x6011af?[_0x6011af]:[]},{'tag':'div','attributes':{'class':_0x47c6a4['avatar']||_0x502b8a?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x47c6a4['name']},'children':[{'text':_0x47c6a4['initials']}]}];this['notificationView']&&_0x16f9fe['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5d6b2a,'data-user-id':_0x47c6a4['id']},'children':_0x16f9fe});}},U=class extends _0x2d8650{['children'];['iconView'];['labelView'];constructor(_0x5b1e92){super(_0x5b1e92);const _0x132e63=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',_0x132e63['to']('class'),_0x132e63['to']('iconPosition',_0x4b7ffe=>'right'===_0x4b7ffe?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x132e63['to']('tooltip'),'data-cke-tooltip-position':_0x132e63['to']('tooltipPosition'),'data-cke-tooltip-class':_0x132e63['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x2b6176,_0x29b011,_0x540879,_0x300598)=>{_0x540879&&!_0x300598?this['children']['add'](this['iconView'],0x0):!_0x540879&&_0x300598&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x5ab0f5=new _0x5f2985();return _0x5ab0f5['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5ab0f5['bind']('content')['to'](this,'icon'),_0x5ab0f5;}_createLabelView(){const _0x24fd3b=new _0x2d8650(this['locale']),_0x371c4f=this['bindTemplate'];return _0x24fd3b['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x371c4f['to']('label')}]}),_0x24fd3b;}},z=class extends _0x2d8650{['id'];constructor(_0xfe74dd,_0x19a5a8){super(_0xfe74dd),this['id']='ck-aria-description-'+_0x268c42(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x19a5a8}]});}},W=class extends _0x4bbe2f{['render'](){super['render'](),j(this);}},Y=class extends _0x57bd55{['render'](){super['render'](),j(this);}};function j(_0xae825b){_0xae825b['listenTo'](_0xae825b['element'],'mousedown',(_0x2bc2b2,_0x45508a)=>{_0x45508a['stopPropagation'](),_0x45508a['preventDefault']();}),_0xae825b['listenTo'](_0xae825b['element'],'mouseup',()=>{_0xae825b['element']['focus']();});}function J(_0x322cdc){const _0x260e4a=_0x322cdc['split'](':');return{'group':_0x260e4a[0x0],'type':_0x260e4a[0x1],'subType':_0x260e4a['length']>=0x5?_0x260e4a[0x2]:null,'id':_0x260e4a['length']<0x5?_0x260e4a[0x2]:_0x260e4a[0x3],'authorId':_0x260e4a['length']<0x5?_0x260e4a[0x3]:_0x260e4a[0x4],'markerCount':0x6==_0x260e4a['length']?_0x260e4a[0x5]:null};}function G(_0x4600bc,_0x3c896c){const _0x25285c=_0x4600bc['end']['nodeBefore'];if(_0x25285c&&_0x25285c['is']('element')&&_0x3c896c['schema']['isBlock'](_0x25285c)&&!_0x3c896c['schema']['isObject'](_0x25285c)){const _0x407017=_0x3c896c['createPositionAt'](_0x25285c,'end');return _0x3c896c['createRange'](_0x4600bc['start'],_0x407017);}return _0x4600bc;}var K=class extends _0x5e14a4{afterInit(){const _0x2c36b3=this['editor'];_0x2c36b3['plugins']['has']('AlignmentEditing')&&_0x2c36b3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x5e14a4{afterInit(){const _0xdaa1fd=this['editor'],_0x16f326=_0xdaa1fd['plugins']['get']('SuggestionsConversion');for(const _0x5daffe of q){if(!_0xdaa1fd['plugins']['has'](_0x5daffe))continue;const _0x1107b8=_0x5daffe['slice'](0x0,-0x7)['toLowerCase']();_0x16f326['registerInlineAttribute'](_0x1107b8);}}},Q=class extends _0x5e14a4{afterInit(){const _0x3befe4=this['editor'],_0x4d796f=_0x3befe4['plugins']['get']('SuggestionsConversion');_0x3befe4['plugins']['has']('BookmarkEditing')&&_0x4d796f['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x5e14a4{afterInit(){const _0x3bbfc2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1acc36,commandName:_0x52ade2}of X)this['editor']['plugins']['has'](_0x1acc36)&&_0x3bbfc2['registerInlineAttribute'](_0x52ade2);}},et=class extends _0x5e14a4{afterInit(){const {editor:_0x57f85e}=this;if(!_0x57f85e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x3956cd=_0x57f85e['plugins']['get']('SuggestionsConversion');_0x3956cd['registerBlockAttribute']('footnotesListStyle'),_0x3956cd['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x5e14a4{afterInit(){const _0x60442f=this['editor'];if(!_0x60442f['plugins']['has']('GeneralHtmlSupport')||!_0x60442f['plugins']['has']('DataSchema'))return;const _0x417df6=_0x60442f['plugins']['get']('SuggestionsConversion'),_0x58a5fd=_0x60442f['plugins']['get']('GeneralHtmlSupport'),_0x4e0f27=_0x60442f['plugins']['get']('DataSchema');for(const _0x34e882 of _0x4e0f27['getDefinitionsForView'](/.*/,!0x1)){const _0x347a71=_0x58a5fd['getGhsAttributeNameForElement'](_0x34e882['view']);!_0x34e882['isInline']||_0x34e882['isObject']||'appliesToBlock'in _0x34e882&&_0x34e882['appliesToBlock']?_0x417df6['registerBlockAttribute'](_0x347a71):_0x417df6['registerInlineAttribute'](_0x347a71);}}},it=class extends _0x5e14a4{afterInit(){const _0x4620c4=this['editor'];_0x4620c4['plugins']['has']('HighlightEditing')&&_0x4620c4['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x5e14a4{afterInit(){const _0x2ef8f5=this['editor'];_0x2ef8f5['plugins']['has']('HtmlEmbed')&&_0x2ef8f5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x5e14a4{afterInit(){const _0x1a2995=this['editor'];if(!_0x1a2995['plugins']['has']('ImageEditing'))return;const _0x3148c9=_0x1a2995['plugins']['get']('SuggestionsConversion');_0x3148c9['registerBlockAttribute']('src'),_0x1a2995['plugins']['has']('ImageResize')&&_0x3148c9['registerBlockAttribute']('resizedWidth'),_0x1a2995['plugins']['has']('ImageTextAlternativeEditing')&&_0x3148c9['registerBlockAttribute']('alt'),_0x1a2995['plugins']['has']('PictureEditing')&&_0x3148c9['registerBlockAttribute']('sources'),_0x1a2995['plugins']['has']('ImageSizeAttributes')&&(_0x3148c9['registerBlockAttribute']('width'),_0x3148c9['registerBlockAttribute']('height'));}},rt=class extends _0x5e14a4{afterInit(){const _0x1bc0b3=this['editor'],_0x533448=_0x1bc0b3['plugins']['get']('SuggestionsConversion');_0x1bc0b3['plugins']['has']('IndentBlock')&&(_0x533448['registerBlockAttribute']('blockIndent'),_0x1bc0b3['plugins']['has']('ListEditing')&&(_0x533448['registerBlockAttribute']('blockIndentList'),_0x533448['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x5e14a4{afterInit(){const _0x6598a0=this['editor'];_0x6598a0['plugins']['has']('LineHeight')&&_0x6598a0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x5e14a4{afterInit(){const _0x13da50=this['editor'];if(!_0x13da50['plugins']['has']('LinkEditing'))return;const _0x4b1654=_0x13da50['plugins']['get']('SuggestionsConversion'),_0x2a3a83=_0x13da50['commands']['get']('link');_0x4b1654['registerInlineAttribute']('linkHref');for(const _0x412eb5 of _0x2a3a83['manualDecorators'])_0x4b1654['registerInlineAttribute'](_0x412eb5['id']);}},lt=class extends _0x5e14a4{afterInit(){const _0x3646a1=this['editor'];if(!_0x3646a1['plugins']['has']('ListEditing'))return;const _0x18655a=_0x3646a1['plugins']['get']('SuggestionsConversion'),_0x158821=_0x3646a1['plugins']['has']('TodoListEditing');_0x18655a['registerBlockAttribute']('listItemId'),_0x18655a['registerBlockAttribute']('listType'),_0x18655a['registerBlockAttribute']('listIndent'),_0x158821&&_0x18655a['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x5e14a4{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4e4f94=this['editor']['config']['get']('list.properties'),_0x29b910=this['editor']['plugins']['get']('SuggestionsConversion');_0x4e4f94['styles']&&_0x29b910['registerBlockAttribute']('listStyle'),_0x4e4f94['reversed']&&_0x29b910['registerBlockAttribute']('listReversed'),_0x4e4f94['startIndex']&&_0x29b910['registerBlockAttribute']('listStart');}},ut=class extends _0x5e14a4{afterInit(){const _0x2f8e79=this['editor'],_0x22bdbc=_0x2f8e79['plugins']['get']('SuggestionsConversion');_0x2f8e79['plugins']['has']('MultiLevelList')&&_0x22bdbc['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x5e14a4{afterInit(){const _0x1e0c21=this['editor'];if(!_0x1e0c21['plugins']['has']('TableEditing'))return;const _0x3aa5cb=_0x1e0c21['plugins']['get']('SuggestionsConversion');_0x3aa5cb['registerBlockAttribute']('headingRows'),_0x3aa5cb['registerBlockAttribute']('headingColumns');}},gt=class extends _0x5e14a4{afterInit(){const {plugins:_0x22aafb}=this['editor'];if(!_0x22aafb['has']('TablePropertiesEditing'))return;const _0x30932f=_0x22aafb['get']('SuggestionsConversion');for(const _0x972bed of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30932f['registerBlockAttribute'](_0x972bed);}},ft=class extends _0x5e14a4{afterInit(){const _0x38d0a0=this['editor'],_0x5a15c6=_0x38d0a0['plugins']['get']('SuggestionsConversion');_0x38d0a0['plugins']['has']('TableLayout')&&_0x5a15c6['registerBlockAttribute']('tableType');}},mt=class extends _0x5e14a4{afterInit(){const _0x4f03d9=this['editor'],_0x158206=this['editor']['plugins']['get']('SuggestionsConversion');_0x4f03d9['plugins']['has']('Uploadcare')&&_0x4f03d9['plugins']['has']('UploadcareImageEdit')&&_0x158206['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x5e14a4{afterInit(){const _0x1457c5=this['editor'];if(!_0x1457c5['plugins']['has']('ShiftEnter'))return;const _0x16fea7=_0x1457c5['plugins']['get']('SuggestionsConversion'),_0x5e1c32=(_0x1cc4e8,_0x1150ed,_0x46c732,_0x2cb722)=>{if(_0x2cb722&&!_0x46c732['options']['showSuggestionHighlights'])return;if(!_0x46c732['consumable']['test'](_0x1150ed['markerRange'],_0x1cc4e8['name']))return;const _0x14670e=_0x1457c5['model'];for(const _0x368f73 of _0x1150ed['markerRange']['getItems']()){if(!_0x368f73['is']('element','softBreak'))continue;const _0xeccfb3='deletion'==_0x1150ed['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4708ba,authorId:_0x469d1e}=J(_0x1150ed['markerName']),_0x347473=_0x46c732['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xeccfb3,'data-suggestion':_0x4708ba,'data-author-id':_0x469d1e}),_0x53e4d1=_0x46c732['mapper']['toViewPosition'](_0x14670e['createPositionBefore'](_0x368f73));!_0x2cb722&&_0x16fea7['_activeMarkers']['includes'](_0x1150ed['markerName'])&&_0x46c732['writer']['addClass']('ck-suggestion-marker--active',_0x347473),_0x46c732['writer']['insert'](_0x53e4d1,_0x347473),_0x46c732['mapper']['bindElementToMarker'](_0x347473,_0x1150ed['markerName']);}};_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2bf4da,_0x1a2a86,_0x3be815)=>{_0x5e1c32(_0x2bf4da,_0x1a2a86,_0x3be815,!0x1);},{'priority':'high'}),_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x8a72a0,_0x25f9d6,_0x198fac)=>{_0x5e1c32(_0x8a72a0,_0x25f9d6,_0x198fac,!0x1);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xdcfd61,_0xc9d4aa,_0x47947a)=>{_0x5e1c32(_0xdcfd61,_0xc9d4aa,_0x47947a,!0x0);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x282fad,_0x151d58,_0x17b625)=>{_0x5e1c32(_0x282fad,_0x151d58,_0x17b625,!0x0);},{'priority':'high'});}},kt=class extends _0x5e14a4{afterInit(){const _0x3d62b2=this['editor'];if(!_0x3d62b2['plugins']['has']('MediaEmbedEditing'))return;const _0x118aff=_0x3d62b2['plugins']['get']('SuggestionsConversion');_0x3d62b2['plugins']['has']('MediaEmbedResizeEditing')&&_0x118aff['registerBlockAttribute']('resizedWidth'),_0x3d62b2['plugins']['has']('MediaEmbedStyleEditing')&&_0x118aff['registerBlockAttribute']('mediaStyle'),_0x3d62b2['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0xe9fbd9,{writer:_0x5e6cd9,options:_0xfd4c6d})=>{if(_0xfd4c6d['showSuggestionHighlights'])return _0x5e6cd9['createEmptyElement']('div');},'converterPriority':'high'}),_0x3d62b2['data']['downcastDispatcher']['on']('attribute:url:media',(_0x46b89e,_0x261a45,_0x1f50dc)=>{_0x1f50dc['options']['showSuggestionHighlights']&&_0x46b89e['stop']();},{'priority':'high'});}},yt=class extends _0x5e14a4{afterInit(){const _0x125fc9=this['editor'];if(!_0x125fc9['plugins']['has']('Table'))return;_0x125fc9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x134939,_0x4155de,_0x1af962)=>{((_0x453e79,_0x44d168,_0x3cd94d)=>{if(!_0x3cd94d['options']['showSuggestionHighlights'])return;const _0x2d4749=_0x44d168['item'];if(!_0x2d4749||!_0x2d4749['is']('element','tableCell'))return;const _0x55cd6e=_0x3cd94d['mapper']['toViewElement'](_0x2d4749);if(_0x55cd6e){const {id:_0x1288e3,authorId:_0x37d8da}=J(_0x44d168['markerName']);_0x3c5a3a(_0x55cd6e,_0x3cd94d['writer'],(_0x26ff64,_0x944b35,_0x25067b)=>{_0x25067b['addClass'](_0x33438b(_0x944b35['classes']),_0x26ff64),_0x25067b['setAttribute']('data-suggestion',_0x1288e3,_0x26ff64),_0x25067b['setAttribute']('data-author-id',_0x37d8da,_0x26ff64);});}})(0x0,_0x4155de,_0x1af962);},{'priority':'highest'});}},bt=class extends _0x5e14a4{afterInit(){const _0x4a3071=this['editor'];_0x4a3071['plugins']['has']('HorizontalLineEditing')&&_0x4a3071['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x53b3c3,{writer:_0x2e01d8,options:_0x3d2b86})=>{if(!_0x3d2b86['showSuggestionHighlights'])return null;const _0x1b5292=_0x2e01d8['createContainerElement']('div'),_0x1381d3=_0x2e01d8['createEmptyElement']('hr');return _0x2e01d8['addClass']('ck-horizontal-line',_0x1b5292),_0x2e01d8['insert'](_0x2e01d8['createPositionAt'](_0x1b5292,0x0),_0x1381d3),_0x1b5292;},'converterPriority':'high'});}},wt=class extends _0x5e14a4{afterInit(){const {plugins:_0x122a9e,model:_0x41e6ed}=this['editor'];if(!_0x122a9e['has']('TableCellPropertiesEditing'))return;const _0x22efad=_0x122a9e['get']('SuggestionsConversion');for(const _0x4ccb5d of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x22efad['registerBlockAttribute'](_0x4ccb5d);_0x41e6ed['schema']['checkAttribute']('tableCell','tableCellType')&&_0x22efad['registerBlockAttribute']('tableCellType');}},vt=class extends _0x5e14a4{afterInit(){const _0x2b5355=this['editor'];_0x2b5355['plugins']['has']('TableEditing')&&_0x2b5355['config']['get']('table.enableFooters')&&_0x2b5355['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x5e14a4{_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 _0x4ee326=this['editor'],_0x2b1dec=(_0x545941,_0x3bf89c,_0x352af5)=>{const {id:_0x58fbe0,authorId:_0x3cad68,type:_0x3c41aa,subType:_0x182111}=J(_0x545941['markerName']),_0x4445d4=['ck-suggestion-marker',this['_getClassName'](_0x3c41aa,_0x182111)];let _0x1cfb02=0xbb8;return _0x352af5||this['_activeMarkers']['includes'](_0x545941['markerName'])&&(_0x4445d4['push']('ck-suggestion-marker--active'),_0x1cfb02=0xbc2),'deletion'==_0x3c41aa&&(_0x1cfb02+=0x5),{'classes':_0x4445d4,'attributes':{'data-suggestion':_0x58fbe0,'data-author-id':_0x3cad68},'priority':_0x1cfb02};};_0x4ee326['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x468e53,_0x16c4a7)=>_0x2b1dec(_0x468e53,0x0,!0x1)}),_0x4ee326['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x15f15d,_0x3d4c2d)=>_0x2b1dec(_0x15f15d,0x0,!0x0)}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x5cb625=>{_0x5cb625['on']('addMarker:suggestion',(_0x151cf2,_0x3458ad,_0x1f6933)=>{if(!_0x1f6933['options']['showSuggestionHighlights'])return;const _0x4e4acb=_0x3458ad['item'];if(!_0x4e4acb)return;const _0x246e4b=_0x1f6933['mapper']['toViewElement'](_0x4e4acb);_0x4ee326['model']['schema']['isObject'](_0x4e4acb)&&_0x246e4b&&!_0x246e4b['getCustomProperty']('widget')&&_0x246e4b['is']('containerElement')&&_0x233b65(_0x246e4b,_0x1f6933['writer']);},{'priority':'high'});});const _0x36126d=(_0x4f49dd,_0x5df77c,_0x404aee,_0x4afa56,_0x34aa41)=>{if(_0x4afa56&&!_0x404aee['options']['showSuggestionHighlights'])return;if(!_0x5df77c['item'])return;const {id:_0x5b6e0e,authorId:_0x3970ac,subType:_0x1e5e7c}=J(_0x5df77c['markerName']);if(_0x34aa41){const _0x3624b7=_0x1e5e7c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3624b7))return;}if(_0x5df77c['item']['is']('selection'))return void _0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);const _0x29873d=_0x404aee['mapper']['toViewElement'](_0x5df77c['item']);if(_0x5df77c['item']['is']('element')&&_0x4ee326['model']['schema']['isBlock'](_0x5df77c['item'])&&!_0x29873d['getCustomProperty']('addHighlight')){_0x404aee['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x29873d),_0x404aee['writer']['setAttribute']('data-suggestion',_0x5b6e0e,_0x29873d),_0x404aee['writer']['setAttribute']('data-author-id',_0x3970ac,_0x29873d),_0x404aee['mapper']['bindElementToMarker'](_0x29873d,_0x5df77c['markerName']),_0x4afa56||(this['_activeMarkers']['includes'](_0x5df77c['markerName'])?_0x404aee['writer']['addClass']('ck-suggestion-marker--active',_0x29873d):_0x404aee['writer']['removeClass']('ck-suggestion-marker--active',_0x29873d));for(const _0x229540 of _0x4ee326['model']['createRangeIn'](_0x5df77c['item'])['getItems']())_0x404aee['consumable']['consume'](_0x229540,_0x4f49dd['name']);_0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);}},_0x2804a3=(_0x1b7e73,_0x47ace9,_0x4b178c,_0xe2a197)=>{const _0x338022=_0x4b178c['mapper']['markerNameToElements'](_0x47ace9['markerName']);if(_0x338022){if(_0xe2a197){const {subType:_0x41d107}=J(_0x47ace9['markerName']),_0x4daaed=_0x41d107['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4daaed))return;}for(const _0x5bbd32 of _0x338022)_0x5bbd32['getCustomProperty']('addHighlight')||(_0x4b178c['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-suggestion',_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-author-id',_0x5bbd32),_0x4b178c['mapper']['unbindElementFromMarkerName'](_0x5bbd32,_0x47ace9['markerName']));}};_0x4ee326['conversion']['for']('editingDowncast')['add'](_0xa1e1f7=>{_0xa1e1f7['on']('addMarker:suggestion:formatBlock',(_0x3c7b8f,_0xf02323,_0x29b7da)=>{_0x36126d(_0x3c7b8f,_0xf02323,_0x29b7da,!0x1,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x32e773=>{_0x32e773['on']('addMarker:suggestion:attribute',(_0x1356c6,_0x4d22f7,_0x1c896a)=>{_0x36126d(_0x1356c6,_0x4d22f7,_0x1c896a,!0x1,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x37ffc3=>{_0x37ffc3['on']('removeMarker:suggestion:formatBlock',(_0x4ccaa2,_0x2b8261,_0x4dddec)=>{_0x2804a3(0x0,_0x2b8261,_0x4dddec,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x23ad66=>{_0x23ad66['on']('removeMarker:suggestion:attribute',(_0x3c34a2,_0xc62b,_0x3e1fb2)=>{_0x2804a3(0x0,_0xc62b,_0x3e1fb2,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x4aec79=>{_0x4aec79['on']('addMarker:suggestion:formatBlock',(_0x26ec40,_0x22f155,_0x281c62)=>{_0x36126d(_0x26ec40,_0x22f155,_0x281c62,!0x0,!0x1);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x3739ee=>{_0x3739ee['on']('addMarker:suggestion:attribute',(_0xeece8d,_0x1a1c2e,_0x302b95)=>{_0x36126d(_0xeece8d,_0x1a1c2e,_0x302b95,!0x0,!0x0);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4fa582,_0x3f142b)=>_0x3f142b['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4fa582['substr'](0xb)}});const _0x1fa364=(_0x5a3160,_0x49ccf7,_0x109827,_0x139d51,_0x5cc3b8)=>{if(_0x139d51&&!_0x109827['options']['showSuggestionHighlights'])return;if(!_0x109827['consumable']['test'](_0x49ccf7['markerRange'],_0x5a3160['name']))return;const _0x4b6e9d=this['_activeMarkers'],_0x331d45=_0x49ccf7['markerRange']['getWalker'](),_0x57a742=_0x49ccf7['markerRange']['start'],_0x3a0e33=_0x4ee326['model']['schema'];let _0x50cc8a=null,_0x25bd81=null,_0x1ca8a2=!0x1,_0x2d4004=!0x1;for(const _0x1c8add of _0x331d45){const _0x2edb15=_0x1c8add['item'];_0x1ca8a2=_0x1ca8a2||_0x3a0e33['isContent'](_0x2edb15);const _0x58855b=_0x109827['mapper']['toViewElement'](_0x2edb15);if(_0x58855b&&_0x58855b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1c8add['type']&&(_0x3a0e33['isBlock'](_0x2edb15)&&!_0x3a0e33['isLimit'](_0x2edb15)&&(_0x2edb15['nextSibling']||_0x57a742['isAtEnd']?_0x50cc8a&&_0x50cc8a['parent']==_0x2edb15||(_0x50cc8a=_0x2edb15,_0x5a1c2b(_0x1c8add['previousPosition']),_0x2d4004=!0x0):_0x25bd81=_0x25bd81||_0x1c8add['previousPosition']));}function _0x5a1c2b(_0x41afea){const {id:_0x373545,authorId:_0x305dc6}=J(_0x49ccf7['markerName']),_0x7d26ef=_0x109827['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5cc3b8,'data-suggestion':_0x373545,'data-author-id':_0x305dc6}),_0xb12fb5=_0x109827['mapper']['toViewPosition'](_0x41afea);!_0x139d51&&_0x4b6e9d['includes'](_0x49ccf7['markerName'])&&_0x109827['writer']['addClass']('ck-suggestion-marker--active',_0x7d26ef),_0x109827['writer']['insert'](_0xb12fb5,_0x7d26ef),_0x109827['mapper']['bindElementToMarker'](_0x7d26ef,_0x49ccf7['markerName']);}_0x1ca8a2||_0x2d4004||!_0x25bd81||_0x5a1c2b(_0x25bd81);};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3d8fa0,_0x44fef8,_0xc18491)=>{_0x1fa364(_0x3d8fa0,_0x44fef8,_0xc18491,!0x1,'merge');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x57adfd,_0x2178cd,_0x450d0f)=>{_0x1fa364(_0x57adfd,_0x2178cd,_0x450d0f,!0x0,'merge');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xf4ffbb,_0x216964,_0x547dff)=>{_0x1fa364(_0xf4ffbb,_0x216964,_0x547dff,!0x1,'split');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x379aa0,_0x492581,_0x8b6307)=>{_0x1fa364(_0x379aa0,_0x492581,_0x8b6307,!0x0,'split');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3351b7,_0x140a3f,_0x24b560)=>{((_0x4d6595,_0x599715,_0x175a7d)=>{const _0x332b02=_0x175a7d['mapper']['markerNameToElements'](_0x599715['markerName']);if(_0x332b02){for(const _0x48b532 of _0x332b02)(_0x48b532['hasClass']('ck-suggestion-marker-split')||_0x48b532['hasClass']('ck-suggestion-marker-merge'))&&(_0x175a7d['mapper']['unbindElementFromMarkerName'](_0x48b532,_0x599715['markerName']),_0x175a7d['writer']['remove'](_0x48b532));}})(0x0,_0x140a3f,_0x24b560);},{'priority':'high'});const _0x4616ab=(_0x3192de,_0x2c199e,_0x599c43,_0x13ca3f)=>{if(_0x13ca3f&&!_0x599c43['options']['showSuggestionHighlights'])return;const _0x2041ea=_0x2c199e['markerRange']['start'],_0x6235b8=_0x2c199e['markerRange']['end'],_0x4d11ae=_0x4ee326['model']['schema'];if(!_0x2041ea['isTouching'](_0x6235b8)||!_0x2041ea['nodeAfter'])return;const _0x413fca=_0x2041ea['nodeAfter'];if(_0x4d11ae['isBlock'](_0x413fca)&&!_0x4d11ae['isLimit'](_0x413fca)&&_0x4d11ae['checkChild'](_0x413fca,'$text')){if(!_0x599c43['consumable']['consume'](_0x2c199e['markerRange'],_0x3192de['name']))return;const {id:_0x42f61c,authorId:_0x21ca5e}=J(_0x2c199e['markerName']),_0x4a584d=_0x599c43['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x42f61c,'data-author-id':_0x21ca5e}),_0x49b59b=_0x599c43['mapper']['toViewPosition'](_0x6235b8);!_0x13ca3f&&this['_activeMarkers']['includes'](_0x2c199e['markerName'])&&_0x599c43['writer']['addClass']('ck-suggestion-marker--active',_0x4a584d),_0x599c43['writer']['insert'](_0x49b59b,_0x4a584d),_0x599c43['mapper']['bindElementToMarker'](_0x4a584d,_0x2c199e['markerName']);}};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x554798,_0x5bc59d,_0x5e144f)=>{_0x4616ab(_0x554798,_0x5bc59d,_0x5e144f,!0x1);},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5135ba,_0x512b87,_0x49f4f3)=>{_0x4616ab(_0x5135ba,_0x512b87,_0x49f4f3,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x2ed77c,_0x9acc72,_0x4059ca)=>{this['_activeMarkers']=_0x4059ca['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x1c7c3b){this['_blockAttributeKeys']['add'](_0x1c7c3b);}registerInlineAttribute(_0x379757){this['_inlineAttributeKeys']['add'](_0x379757);}isBlockAttribute(_0x5f2ed5){return this['_blockAttributeKeys']['has'](_0x5f2ed5);}isInlineAttribute(_0x1d2904){return this['_inlineAttributeKeys']['has'](_0x1d2904);}isRegisteredAttribute(_0x505a80){return this['isInlineAttribute'](_0x505a80)||this['isBlockAttribute'](_0x505a80);}_getClassName(_0x4aa3ff,_0x478799){if('attribute'!=_0x4aa3ff)return'ck-suggestion-marker-'+_0x4aa3ff;const _0x3bd5aa=_0x478799['split']('|')[0x0];return this['isBlockAttribute'](_0x3bd5aa)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x36e3d8={},_0x259343){if(void 0x0!==_0x36e3d8['dateTimeFormat']&&'function'!=typeof _0x36e3d8['dateTimeFormat'])throw new _0x9e3258('invalid-date-time-format');return _0x4cf5a8=>{const _0x41466e='string'==typeof _0x4cf5a8?_0x33762a['fromISO'](_0x4cf5a8):_0x33762a['fromJSDate'](_0x4cf5a8),_0x254dec=_0x33762a['now'](),_0x177104=Math['floor'](_0x254dec['diff'](_0x41466e,'days')['days']);return _0x36e3d8['dateTimeFormat']?_0x36e3d8['dateTimeFormat'](_0x41466e['toJSDate'](),_0x259343&&_0x259343['t']?_0x259343['t']:void 0x0):0x0===_0x177104?_0x259343?D(_0x259343,'Today')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x177104?_0x259343?D(_0x259343,'Yesterday')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x177104<0x7?_0x259343?D(_0x259343,'Last')+'\x20'+D(_0x259343,_0x41466e['toFormat']('EEEE'))+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x41466e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x20fa3c,_0xcb87e9){const _0x808ace=_0x20fa3c['mapper']['markerNameToElements'](_0xcb87e9['name']);if(!_0x808ace)return null;const _0x44435e=_0x2320e1(_0x808ace['values']());return _0x20fa3c['view']['domConverter']['mapViewToDom'](_0x44435e)||null;}function It(_0x23aace,_0x156e26){if(0x0===_0x156e26['length'])return null;const _0x239453=[],_0x5b1d67=_0x23aace['view']['domConverter'];for(const _0x48647e of _0x156e26){const _0x4f8932=_0x23aace['mapper']['markerNameToElements'](_0x48647e['name']);if(!_0x4f8932)continue;const _0x26acb8=Array['from'](_0x4f8932)['map'](_0x268013=>_0x5b1d67['mapViewToDom'](_0x268013))['filter'](_0x5e0d57=>!!_0x5e0d57);_0x239453['push'](..._0x26acb8);}if(0x0===_0x239453['length'])return null;const _0x101c2c=[];for(const _0x2b5f9c of _0x239453){const _0x461d7b=_0x2b5f9c['getClientRects']()['item'](0x0);_0x461d7b&&_0x101c2c['push']({'x':_0x461d7b['x'],'y':_0x461d7b['y'],'domElement':_0x2b5f9c});}return 0x0===_0x101c2c['length']?null:(_0x101c2c['sort']((_0x4ecbc1,_0x419077)=>_0x4ecbc1['y']-_0x419077['y']||_0x4ecbc1['x']-_0x419077['x']),_0x101c2c['map'](_0x4a8e68=>_0x4a8e68['domElement']));}function St(_0x1a1814,{limit:_0x4b9f52,suffix:_0x2cc3ec='...'}){const _0x2daf6b=[];let _0x30007c=0x0;const _0x34d8d9=_0x1a1814['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xc7f113=0x0;_0xc7f113<_0x34d8d9['length'];_0xc7f113++){let _0x5bcf5c=_0x34d8d9[_0xc7f113];const _0x4df6bc=Et(_0x5bcf5c);if(_0x5bcf5c['startsWith']('<')){if(_0x30007c>=_0x4b9f52){const _0x5c88d1=_0x5bcf5c['match'](/[a-zA-Z]+/);if(!_0x5c88d1){_0x34d8d9[_0xc7f113]='';continue;}const _0x58ad59=_0x5c88d1[0x0];_0x5bcf5c['startsWith']('</')?(_0x2daf6b['length']&&(_0x5bcf5c=''),_0x2daf6b['pop']()):(_0x2daf6b['push'](_0x58ad59),_0x5bcf5c='');}}else{if(_0x30007c>=_0x4b9f52)_0x5bcf5c='';else{if(_0x30007c+_0x4df6bc['length']>=_0x4b9f52){let _0x17e22a=_0x4b9f52-_0x30007c;if('\x20'===_0x4df6bc[_0x17e22a-0x1])_0x17e22a--;else{const _0x22354d=_0x4df6bc['slice'](_0x17e22a)['indexOf']('\x20');-0x1!==_0x22354d?_0x17e22a+=_0x22354d:_0x17e22a=_0x5bcf5c['length'];}_0x5bcf5c=_0x4df6bc['slice'](0x0,_0x17e22a)['join']('')+_0x2cc3ec,_0x30007c=_0x4b9f52;}else _0x30007c+=_0x4df6bc['length'];}}_0x34d8d9[_0xc7f113]=_0x5bcf5c;}return _0x34d8d9['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x4727f2){const _0xfafd0d=[];for(let _0x33a97d=0x0;_0x33a97d<_0x4727f2['length'];_0x33a97d++){const _0xae2e34=_0x4727f2['substring'](_0x33a97d)['match'](/^&[a-z0-9#]+;/);if(_0xae2e34){const _0x480a9e=_0xae2e34[0x0];_0xfafd0d['push'](_0x480a9e),_0x33a97d+=_0x480a9e['length']-0x1;}else _0xfafd0d['push'](_0x4727f2[_0x33a97d]);}return _0xfafd0d;}var Mt=class extends _0x2d8650{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x5140f0){super(_0x5140f0);const _0x3d777e=this['bindTemplate'];this['set']('message',D(_0x5140f0,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'Yes'),_0x4500d8,'submit'),this['cancelView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'No'),_0x12aa15,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x28ca57(),this['keystrokes']=new _0x4c3665(),this['focusCycler']=new _0x108e75({'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':_0x3d777e['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(_0x210f69,_0x47ee3c,_0x23f0a8,_0xa54200){const _0x454d04=new _0x4bbe2f(_0x210f69);return _0x454d04['label']=_0x47ee3c,_0x454d04['icon']=_0x23f0a8,_0x454d04['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xa54200}}),_0x454d04['on']('execute',()=>this['fire'](_0xa54200)),_0x454d04;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x4840cb=>{this['keystrokes']['listenTo'](_0x4840cb['element']),this['focusTracker']['add'](_0x4840cb['element']);}),this['keystrokes']['set']('esc',(_0xab4676,_0x501cc7)=>{this['fire']('cancel'),_0x501cc7();});}};function At(_0x1a058f){return class _0x181926 extends _0x1a058f{['showConfirm'](_0x524b1c,_0x2748df){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x524b1c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2748df['appendChild'](this['confirmView']['element']),_0x2748df['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x98c301,_0x18d082,_0x4c3600)=>{_0x4c3600||_0x2748df['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5eb4ac=>this['confirmView']['on']('submit',_0x5eb4ac));}['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(_0x27a08f){let _0x500987=0x0,_0x373c9e=0x0;for(const _0x3c1885 of Nt(_0x27a08f))_0x500987=(_0x500987<<0x5)-_0x500987+_0x3c1885,_0x500987&=_0x500987,[_0x500987,_0x373c9e]=[_0x373c9e,_0x500987];return Bt(_0x500987)+Bt(_0x373c9e);}function*Pt(_0x3b1996){null==_0x3b1996||null==_0x3b1996?yield 0x12b9b0a1:0x0===_0x3b1996||!0x1===_0x3b1996?yield 0x0:0x1===_0x3b1996||0x1==_0x3b1996?yield 0x1:Array['isArray'](_0x3b1996)?yield*function*(_0xf902b){for(const _0x52c14b of _0xf902b)yield*Pt(_0x52c14b);}(_0x3b1996):'object'==typeof _0x3b1996?yield*Nt(_0x3b1996):'string'==typeof _0x3b1996?yield*Vt(_0x3b1996):'number'==typeof _0x3b1996&&(yield _0x3b1996);}function*Nt(_0x3cd24e){if(yield Ot('{'),_0x3cd24e){const _0xb32b5f=Object['keys'](_0x3cd24e)['sort']();for(const _0x26f6df of _0xb32b5f){yield*Vt(_0x26f6df),yield Ot(':');const _0x4bcb7b=_0x3cd24e[_0x26f6df];yield*Pt(_0x4bcb7b);}}yield Ot('}');}function*Vt(_0x1a906d){yield Ot('\x22');for(const _0x26e03f of _0x1a906d)yield Ot(_0x26e03f);yield Ot('\x22');}function Ot(_0x9de681){return _0x9de681['charCodeAt'](0x0);}function Bt(_0x59e843){return(_0x59e843*=Math['sign'](_0x59e843))['toString'](0x24);}function Dt(_0x5e38c7){if('addAttribute'!=_0x5e38c7['type']&&'removeAttribute'!=_0x5e38c7['type']&&'changeAttribute'!=_0x5e38c7['type'])return!0x1;try{return _0x5e38c7['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x1dcea3,_0x401269,_0x42eaf9,_0x3d5d6b=[]){const _0x4e33a8='string'==typeof _0x1dcea3?_0x42eaf9['get'](_0x1dcea3)['constructor']:_0x1dcea3['prototype']['constructor'];if(_0x401269['has'](_0x4e33a8))return _0x401269['get'](_0x4e33a8);_0x401269['set'](_0x4e33a8,!0x0);const _0x1de695=[...Lt,..._0x3d5d6b]['map'](_0x4e4973=>{if(_0x42eaf9['has'](_0x4e4973))return _0x42eaf9['get'](_0x4e4973)['constructor'];})['filter'](_0x172787=>_0x172787);if(_0x4e33a8&&_0x1de695['includes'](_0x4e33a8))return _0x401269['set'](_0x4e33a8,!0x1),!0x1;if(!_0x4e33a8['requires'])return _0x401269['set'](_0x4e33a8,!0x0),!0x0;const _0x2310a0=_0x4e33a8['requires']['every'](_0x5321d4=>Rt(_0x5321d4,_0x401269,_0x42eaf9,_0x3d5d6b));return _0x401269['set'](_0x4e33a8,_0x2310a0),_0x2310a0;}function Ft(_0x6f0f49,_0x43e9e9){const _0x14d31f={};for(const _0x131542 of _0x6f0f49['config']['names']())$t['includes'](_0x131542)||(_0x14d31f[_0x131542]=_0x6f0f49['config']['get'](_0x131542));const _0x2c8476=_0x14d31f['plugins']||[],_0x511c2a=_0x6f0f49['constructor']['builtinPlugins']||[],_0x39c7af=_0x2c8476['length']?_0x2c8476:_0x511c2a,_0x43f2e6=_0x14d31f['extraPlugins']||[];delete _0x14d31f['extraPlugins'];const _0x1daaf3=_0x14d31f['removePlugins']||[];delete _0x14d31f['removePlugins'];const _0xb24ad7=_0x6f0f49['_context']['config']['get']('plugins')||[],_0x4cd593=_0x39c7af['concat'](_0x43f2e6)['concat'](_0xb24ad7)['map'](_0x5d9113=>'string'==typeof _0x5d9113?_0x511c2a['find'](_0x75b2c0=>_0x75b2c0['pluginName']==_0x5d9113):_0x5d9113)['filter'](_0x557c8e=>!_0x1daaf3['includes'](_0x557c8e)&&!_0x1daaf3['includes'](_0x557c8e['pluginName'])),_0x11fa32=Array['from'](new Set(_0x4cd593)),_0x32afb7=new Map();return _0x14d31f['plugins']=_0x11fa32['filter'](_0x1b160b=>Rt(_0x1b160b,_0x32afb7,_0x6f0f49['plugins'],_0x43e9e9)),_0x14d31f;}function Ht(_0x2bbab7,_0x30935b){const _0x5cb627=[];_0x2bbab7['document']['selection']['on']('change:range',()=>{const _0x456457=function(_0x55d1e3,_0x528fb2){const _0x3bee39=[];for(const _0x203d4a of _0x55d1e3['markers']){const _0x443bf7=_0x203d4a['getRange']();(_0x443bf7['containsPosition'](_0x528fb2)||_0x443bf7['start']['isEqual'](_0x528fb2)||_0x443bf7['end']['isEqual'](_0x528fb2))&&_0x3bee39['push'](_0x203d4a);}return _0x3bee39;}(_0x2bbab7,_0x2bbab7['document']['selection']['focus']),_0x5ba1b1=[],_0x336fdc=[],_0x5cea29=[];for(const _0x3acdd3 of _0x5cb627)_0x456457['includes'](_0x3acdd3)||_0x5ba1b1['push'](_0x3acdd3);for(const _0x30a30d of _0x456457)_0x5cb627['includes'](_0x30a30d)||_0x336fdc['push'](_0x30a30d),_0x5cea29['push'](_0x30a30d);(_0x5ba1b1['length']||_0x336fdc['length'])&&_0x30935b({'left':_0x5ba1b1,'entered':_0x336fdc}),_0x5cb627['length']=0x0,_0x5cb627['push'](..._0x5cea29);});}const Ut='Ctrl+Shift+E';function zt(_0x5a899b,_0x2bb5d8){const _0x3268af=_0x5a899b['element'];_0x5a899b['keystrokes']['listenTo'](_0x3268af);for(const _0x1eaa10 of _0x2bb5d8)Wt(_0x5a899b,_0x1eaa10);_0x2bb5d8['on']('change',(_0x3040f5,_0x51eff5)=>{for(const _0x1f97d0 of _0x51eff5['removed'])Yt(_0x5a899b,_0x1f97d0);for(const _0x27fa8c of Array['from'](_0x51eff5['added'])['reverse']())Wt(_0x5a899b,_0x27fa8c);}),_0x5a899b['keystrokes']['set']('enter',(_0x36e9f9,_0x580e8e)=>{_0x3268af===_0x36e9f9['target']&&(_0x5a899b['focusCycler']['focusFirst'](),_0x580e8e());},{'filter':_0x337cb7=>_0x337cb7['target']===_0x3268af}),_0x5a899b['keystrokes']['set']('esc',(_0x5c51c1,_0x4c4742)=>{_0x3268af!==_0x5c51c1['target']?_0x5a899b['focus']():_0x5a899b['fire']('escape'),_0x4c4742();}),_0x5a899b['keystrokes']['set']('arrowdown',(_0x1d8969,_0x45572a)=>{_0x3268af===_0x1d8969['target']&&(_0x5a899b['fire']('arrowdown'),_0x45572a());}),_0x5a899b['keystrokes']['set']('arrowup',(_0xfe4f0c,_0x5734df)=>{_0x3268af===_0xfe4f0c['target']&&(_0x5a899b['fire']('arrowup'),_0x5734df());});}function Wt(_0x5a7bd7,_0x29e1f3){_0x29e1f3['isRendered']&&(_0x5a7bd7['focusTracker']['add'](_0x29e1f3['element']),_0x5a7bd7['keystrokes']['listenTo'](_0x29e1f3['element']),_0x4039fc(_0x29e1f3)&&function(_0xb32dfc,_0x26a8ee){const _0x28cda7=_0xb32dfc['actions'],_0x5039da=_0x26a8ee['actions'];for(const _0x52290c of Object['keys'](_0x28cda7))if(_0x52290c in _0x5039da&&_0x28cda7[_0x52290c]!==_0x5039da[_0x52290c])return!0x1;return!0x0;}(_0x5a7bd7['focusCycler'],_0x29e1f3['focusCycler'])&&_0x5a7bd7['focusCycler']['chain'](_0x29e1f3['focusCycler']));}function Yt(_0x27c407,_0x5aea45){_0x27c407['focusTracker']['remove'](_0x5aea45['element']),_0x27c407['keystrokes']['stopListening'](_0x5aea45['element']),_0x4039fc(_0x5aea45)&&_0x27c407['focusCycler']['unchain'](_0x5aea45['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x1c6a95{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x27fa3e?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1fb3b2,_0x2a24ef)=>{_0x2a24ef['on']('ready',()=>{this['_integrateEditor'](_0x2a24ef);});});}get editor(){if(this['context']instanceof _0x27fa3e)return this['context'];{const _0x5f3b96=this['context']['editors']['first'];if(!_0x5f3b96)throw new _0x9e3258('documentcompare-no-editor',this);return _0x5f3b96;}}getDiff(_0x440f08,_0x579893,_0x4e923d={'anchor':'main','markDeletions':!0x1}){const _0x3f5765=_0x4e923d['targetEditor']||this['editor'],_0x174530=_0x4e923d['anchor']??'main';let _0x4e7b91,_0x2a6b9c;if('string'==typeof _0x174530){const _0x87e7b1=_0x3f5765['model']['document']['getRoot'](_0x174530);if(!_0x87e7b1)throw new _0x9e3258('documentcompare-compare-no-root',this,{'anchor':_0x174530});_0x4e7b91=_0x87e7b1,_0x2a6b9c=_0x3f5765['model']['createPositionAt'](_0x87e7b1,0x0);}else _0x4e7b91=_0x174530['clone'](),_0x2a6b9c=_0x174530['clone']();const _0xf94652=_0x3f5765['data']['parse'](_0x440f08,_0x4e7b91),_0x36a872=_0x3f5765['data']['parse'](_0x579893,_0x4e7b91);return new Kt({'editor':_0x3f5765,'before':_0xf94652,'after':_0x36a872,'options':{'anchor':_0x2a6b9c,'markDeletions':_0x4e923d['markDeletions']}});}isMarkedRemoveOperation(_0x383557){return'marker'==_0x383557['type']&&_0x383557['name']['startsWith']('$markedRemove');}applyOperations(_0x325582,_0x2e1c15){const _0xb0d684=_0x325582['model'];for(const _0x30b8c7 of _0x2e1c15)Dt(_0x30b8c7)||(_0x30b8c7 instanceof _0x1fba41?_0x325582['_addOperationForAffectedMarkers']('move',_0x1f7020['_createFromPositionAndShift'](_0x30b8c7['sourcePosition'],_0x30b8c7['howMany'])):_0x30b8c7 instanceof _0x3a3066?_0x325582['_addOperationForAffectedMarkers']('merge',_0x30b8c7['deletionPosition']):_0x30b8c7 instanceof _0x31e822&&this['_fixMarkerOperationOldRange'](_0xb0d684,_0x30b8c7),_0x30b8c7['baseVersion']=_0xb0d684['document']['version'],_0x325582['batch']['addOperation'](_0x30b8c7),_0xb0d684['applyOperation'](_0x30b8c7));}_fixMarkerOperationOldRange(_0x16e10f,_0x4e622c){const _0x7b72f=_0x16e10f['markers']['get'](_0x4e622c['name']);_0x7b72f&&(_0x4e622c['oldRange']=_0x7b72f['getRange']());}_integrateEditor(_0xad6027){_0xad6027['conversion']['for']('upcast')['add'](_0x521fce=>{_0x521fce['on']('element',(_0x138f43,_0x82a1b9,_0x419f3e)=>{if(_0x82a1b9['modelRange']&&_0x419f3e['consumable']['consume'](_0x82a1b9['viewItem'],{'attributes':'data-id'}))for(const _0x21a3a1 of _0x82a1b9['modelRange']['getItems']({'shallow':!0x0})){if(_0x21a3a1['is']('$textProxy'))continue;const _0x4d51ae=_0x82a1b9['viewItem']['getAttribute'](Jt);_0x4d51ae&&_0x419f3e['writer']['setAttribute'](jt,_0x4d51ae,_0x21a3a1);}},{'priority':'low'});}),_0xad6027['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x5efc62,before:_0x4f6ccc,after:_0x35bd3e,options:_0x5b1874}){this['_editor']=_0x5efc62,this['_markDeletions']=!!_0x5b1874['markDeletions'],this['_anchor']=_0x5b1874['anchor'];const _0x1dba47=this['_tokenizeModel'](_0x4f6ccc),_0x1711d4=this['_tokenizeModel'](_0x35bd3e);this['_diffItems']=this['_diffModelTokens'](_0x1dba47,_0x1711d4),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4f6ccc['markers'],_0x35bd3e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x600820=this['_editor']['model']['document'],_0x29e983=[];let _0x4244c3=_0x600820['version'];for(const _0x5352fd of this['_operationsData'])switch(_0x5352fd['type']){case'attribute':{const _0x52e666=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x31d108=new _0x1f7020(_0x52e666,_0x52e666['getShiftedBy'](_0x5352fd['howMany'])),_0x21c4db=JSON['parse'](_0x5352fd['oldValue']),_0x1a7054=JSON['parse'](_0x5352fd['newValue']);_0x29e983['push'](new _0x597333(_0x31d108,_0x5352fd['key'],_0x21c4db,_0x1a7054,_0x4244c3++));break;}case'insert':{const _0x2314cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5b563f=this['_makeModelFromTokens'](_0x5352fd['tokens']);_0x29e983['push'](new _0x32923b(_0x2314cb,_0x5b563f,_0x4244c3++));break;}case'remove':{const _0x5dff49=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x2380ac=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0x5dff49,_0x5352fd['howMany'],_0x2380ac,_0x4244c3++));break;}case'rename':{const _0x83de8e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']);_0x29e983['push'](new _0x2a8fa9(_0x83de8e,_0x5352fd['oldName'],_0x5352fd['newName'],_0x4244c3++));break;}case'split':{const _0x387be9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5c9aa1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']['slice'](0x0,-0x1));_0x5c9aa1['offset']++,_0x29e983['push'](new _0x2a9d67(_0x387be9,Number['NEGATIVE_INFINITY'],_0x5c9aa1,null,_0x4244c3++));break;}case'merge':{const _0x19fc18=_0x5352fd['path']['slice'](),_0x1ae179=_0x19fc18['slice'](0x0,-0x1);_0x1ae179[_0x1ae179['length']-0x1]++,_0x1ae179['push'](0x0);const _0x4e466d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ae179),_0x534b03=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19fc18),_0x12a9ed=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x3a3066(_0x4e466d,Number['NEGATIVE_INFINITY'],_0x534b03,_0x12a9ed,_0x4244c3++));break;}case'marker':case'markedRemove':{let _0x4d6715=null;_0x5352fd['range']&&(_0x4d6715=new _0x1f7020(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end'])));const _0x610e61='marker'==_0x5352fd['type']?_0x5352fd['name']:'$markedRemove:'+_0x268c42();_0x29e983['push'](new _0x31e822(_0x610e61,null,_0x4d6715,_0x600820['model']['markers'],!0x0,_0x4244c3++));break;}case'unwrap':{const _0x1e48c=_0x5352fd['path']['slice']();_0x1e48c['push'](0x0);const _0x450529=_0x5352fd['path']['slice'](),_0xb00343=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1e48c),_0x34293e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x450529),_0x20bbb1=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0xb00343,_0x5352fd['howMany'],_0x34293e,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x34293e['getShiftedBy'](_0x5352fd['howMany']),0x1,_0x20bbb1,_0x4244c3++));break;}case'wrap':{const _0x194bcb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),_0x299d6d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end']),_0x1bc05f=_0x5352fd['token']['element']['_clone'](!0x1);_0x1bc05f['_removeAttribute'](jt);const _0x56ac27=_0x5352fd['range']['end']['slice']();_0x56ac27['push'](0x0);const _0x40d34f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56ac27);_0x29e983['push'](new _0x32923b(_0x299d6d,_0x1bc05f,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x194bcb,_0x299d6d['offset']-_0x194bcb['offset'],_0x40d34f,_0x4244c3++));break;}}return _0x29e983;}_tokenizeModel(_0x4898f0){const _0x577be2=[],_0x3607ac=new _0x542f34({'boundaries':_0x1f7020['_createIn'](_0x4898f0)});let _0x4ede42='',_0x49a3a6=null;const _0x2ee558=[''],_0x36d80d=new Map();for(const _0x51d1b0 of _0x3607ac)if('elementStart'==_0x51d1b0['type']||'elementEnd'==_0x51d1b0['type']){let _0x72e901=_0x2ee558[0x0];''!==_0x4ede42&&(_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x72e901)),_0x4ede42='');const _0x1a404e=_0x51d1b0['item'];let _0x2b448a;_0x1a404e['getAttribute']('$elementId')?_0x2b448a=_0x1a404e['getAttribute'](jt):'elementStart'==_0x51d1b0['type']?(_0x2b448a=Zt(_0x1a404e),_0x36d80d['set'](_0x1a404e,_0x2b448a)):_0x2b448a=_0x36d80d['get'](_0x1a404e);const _0x279ba1=this['_getElementCategory'](_0x1a404e);'solid'==_0x279ba1&&('elementStart'==_0x51d1b0['type']?(_0x72e901=_0x2b448a,_0x2ee558['unshift'](_0x72e901)):_0x2ee558['shift']());const _0x456866={'type':'element','element':_0x1a404e,'elementId':_0x2b448a,'category':_0x279ba1,'isStart':'elementStart'==_0x51d1b0['type'],'limitId':_0x72e901};_0x577be2['push'](_0x456866);}else''==_0x4ede42&&(_0x49a3a6=_0x51d1b0['previousPosition']['clone']()),_0x4ede42+=_0x51d1b0['item']['data'];return''!==_0x4ede42&&_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x2ee558[0x0])),_0x577be2;}_makeTokensFromTextByWords(_0xcbdb1d,_0x555a0c,_0x2ea187){const _0x334232=_0xcbdb1d['matchAll'](/(\s)/g),_0x313d55=Array['from'](_0x334232)['map'](_0xc9a4e2=>_0xc9a4e2['index']);_0x313d55['push'](_0xcbdb1d['length']),0x0==_0x313d55[0x0]&&_0x313d55['shift']();const _0x434584=[],_0x439b43=_0x555a0c['parent'];let _0x10aa72=0x0,_0x20e2c0=_0x555a0c['offset'];for(let _0x4cfe65=0x0;_0x4cfe65<_0x313d55['length'];_0x4cfe65++)_0x434584['push']({'type':'text','data':_0xcbdb1d['slice'](_0x10aa72,_0x313d55[_0x4cfe65]),'parent':_0x439b43,'offset':_0x20e2c0,'limitId':_0x2ea187}),_0x10aa72=_0x313d55[_0x4cfe65],_0x20e2c0=_0x555a0c['offset']+_0x313d55[_0x4cfe65];return _0x434584;}_getElementCategory(_0x25698f){const _0x1eb472=this['_editor']['model']['schema'];return _0x1eb472['isLimit'](_0x25698f)||_0x1eb472['isContent'](_0x25698f)||_0x1eb472['isInline'](_0x25698f)?'solid':_0x1eb472['isBlock'](_0x25698f)?'block':function(_0x5a806c,_0x4e325e){const _0x100e7e=_0x5a806c['parent'];if(!_0x100e7e||_0x100e7e['is']('documentFragment'))return!0x1;if(_0x4e325e['checkChild'](_0x100e7e,'$text'))return!0x1;for(const _0x189894 of _0x5a806c['getChildren']())if(_0x189894['is']('$text'))return!0x0;return!0x1;}(_0x25698f,_0x1eb472)?'solid':'container';}['_diffModelTokens'](_0x3bd57c,_0x54734c){const _0x3b1434=_0x1b337b(_0x3bd57c,_0x54734c,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3b1434);const _0x566727=_0x3b1434['flatMap'](_0x9f2a14=>{const _0x3bf59c=_0x9f2a14['added']?'added':_0x9f2a14['removed']?'removed':'unchanged';return _0x9f2a14['value']['map'](_0x53d37b=>({'token':_0x53d37b,'change':_0x3bf59c}));});let _0x64dda=0x0;for(const _0x181808 of _0x566727)'added'!=_0x181808['change']&&('unchanged'==_0x181808['change']&&(_0x181808['before']=_0x3bd57c[_0x64dda]),_0x64dda++);return _0x566727;}['_handleUnclosedBlockOpeningTags'](_0x4c58c1){for(let _0x544e34=0x0;_0x544e34<_0x4c58c1['length']-0x1;_0x544e34++)if(_0x4c58c1[_0x544e34]['removed']&&_0x4c58c1[_0x544e34+0x1]['added']){const _0x478300=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34]['value']);if(null!==_0x478300){const _0x1d0da4=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34+0x1]['value']),_0x555c8d=_0x4c58c1[_0x544e34]['value']['splice'](_0x478300),_0xbab4f5=_0x4c58c1[_0x544e34+0x1]['value']['splice'](_0x1d0da4),_0x4fee63=[_0xbab4f5['shift']()];_0x555c8d['shift']();const _0x107577={'value':_0x555c8d,'removed':!0x0},_0x54cf4d={'value':_0xbab4f5,'added':!0x0},_0xc578d2={'value':_0x4fee63};_0x4c58c1['splice'](_0x544e34+0x2,0x0,_0xc578d2,_0x107577,_0x54cf4d);}}}['_findUnclosedBlockOpeningToken'](_0x2e8f9a){let _0x4cd400=0x0,_0x2843b7=-0x1;for(let _0xb0cc17=0x0;_0xb0cc17<_0x2e8f9a['length'];_0xb0cc17++){const _0x453648=_0x2e8f9a[_0xb0cc17];'element'==_0x453648['type']&&'block'==_0x453648['category']&&(_0x4cd400+=_0x453648['isStart']?0x1:-0x1,_0x453648['isStart']&&(_0x2843b7=_0xb0cc17));}return 0x0===_0x4cd400?null:_0x2843b7;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5a4d0b=0x0;_0x5a4d0b<this['_diffItems']['length'];_0x5a4d0b++){const _0x3f6424=this['_diffItems'][_0x5a4d0b]['change'],_0x7662d2=[];_0x7662d2['push'](this['_diffItems'][_0x5a4d0b]);let _0x7d2901=_0x5a4d0b+0x1;for(;this['_diffItems'][_0x7d2901]&&this['_diffItems'][_0x7d2901]['change']==_0x3f6424;)_0x7662d2['push'](this['_diffItems'][_0x7d2901]),_0x7d2901++,_0x5a4d0b++;const _0x832d16=_0x7662d2['map'](_0x4fbe8f=>_0x4fbe8f['token']);if('unchanged'==_0x3f6424)_0x7662d2['map'](_0x36e66e=>_0x36e66e['before'])['forEach'](_0xe648cb=>this['_traverseOverItem'](_0xe648cb));else{if('removed'==_0x3f6424){if(this['_markDeletions']){const _0x314f25=this['_path']['slice']();_0x832d16['forEach'](_0x1c7b02=>this['_traverseOverItem'](_0x1c7b02));const _0x2dfc99=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x314f25,'end':_0x2dfc99}});}else this['_handleChanged'](_0x832d16,!0x0,this['_path']['slice']());}else{const _0x268476=_0x832d16['filter'](_0x4ae6d2=>'element'!=_0x4ae6d2['type']||'container'!=_0x4ae6d2['category']);this['_handleChanged'](_0x268476,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x115e20=0x0;_0x115e20<this['_diffItems']['length'];_0x115e20++){const _0xb9ca1a=this['_diffItems'][_0x115e20]['change'],_0x42a22d=[];_0x42a22d['push'](this['_diffItems'][_0x115e20]);let _0xbd78ca=_0x115e20+0x1;for(;this['_diffItems'][_0xbd78ca]&&this['_diffItems'][_0xbd78ca]['change']==_0xb9ca1a;)_0x42a22d['push'](this['_diffItems'][_0xbd78ca]),_0xbd78ca++,_0x115e20++;const _0x1fa678=_0x42a22d['map'](_0x192ab2=>_0x192ab2['token']);if('unchanged'==_0xb9ca1a){const _0x41a3c7=_0x42a22d['map'](_0x10b373=>_0x10b373['before']);this['_handleUnchanged'](_0x41a3c7,_0x1fa678);}else('added'==_0xb9ca1a||this['_markDeletions'])&&_0x1fa678['forEach'](_0x4bb9eb=>{'element'==_0x4bb9eb['type']&&_0x4bb9eb['isStart']&&this['_splitPostponedData']['has'](_0x4bb9eb['element'])&&this['_handleSplitPostponedData'](_0x4bb9eb['element'],this['_path']),this['_traverseOverItem'](_0x4bb9eb);});}}_handleSplitPostponedData(_0x2d3a13,_0x509a15){const _0x31c67f=this['_splitPostponedData']['get'](_0x2d3a13);for(const _0x180c0b of _0x31c67f)'rename'==_0x180c0b['type']?this['_operationsData']['push']({'type':'rename','path':_0x509a15['slice'](),'oldName':_0x180c0b['oldValue'],'newName':_0x2d3a13['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x509a15['slice'](),'howMany':0x1,'key':_0x180c0b['key'],'oldValue':_0x180c0b['oldValue'],'newValue':JSON['stringify'](_0x2d3a13['getAttribute'](_0x180c0b['key'])??null)});}_calculateMarkersOperationsData(_0x266868,_0x56a882){const _0x5a008b={};for(const [_0x21eb06]of _0x266868)_0x5a008b[_0x21eb06]=null;for(const [_0xd17ae7,_0x68b943]of _0x56a882)_0x5a008b[_0xd17ae7]=_0x68b943;const _0x4d46af=Object['entries'](_0x5a008b)['map'](([_0x41f0af,_0xea83d2])=>({'type':'marker','name':_0x41f0af,'range':_0xea83d2?{'start':_0xea83d2['start']['path']['slice'](),'end':_0xea83d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4d46af);}['_handleUnwraps'](){const _0x5bd07c=new Map(),_0x3c53bf=[],_0x2d1428=[0x0];let _0xf29240=this['_diffItems']['length']+0x1;for(let _0x5e4b93=this['_diffItems']['length']-0x1;_0x5e4b93>=0x0;_0x5e4b93--){const {token:_0x2f7507,before:_0x2781e3,change:_0x328046}=this['_diffItems'][_0x5e4b93];if('removed'!=_0x328046&&(_0xf29240=_0x5e4b93),'element'!=_0x2f7507['type']||'container'!=_0x2f7507['category']||'added'==_0x328046)continue;const _0x440d40=_0x2781e3?_0x2781e3['element']:_0x2f7507['element'];if(_0x2f7507['isStart']){const _0x225d4f=_0x5bd07c['get'](_0x440d40),_0x297fd0=this['_diffItems'][_0x225d4f];('removed'==_0x328046||'removed'==_0x297fd0['change'])&&_0xf29240<_0x225d4f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x440d40['getPath'](),'howMany':_0x440d40['maxOffset']+_0x2d1428[0x0]}),_0x2d1428['shift'](),_0x2d1428[0x0]+=_0x440d40['maxOffset']-0x1,_0x3c53bf['push'](_0x5e4b93),_0x3c53bf['push'](_0x225d4f));}else _0x5bd07c['set'](_0x440d40,_0x5e4b93),_0x2d1428['unshift'](0x0);}_0x3c53bf['sort']((_0xfa28ef,_0x24edd2)=>_0x24edd2-_0xfa28ef),_0x3c53bf['forEach'](_0x17430d=>{const _0x51636f=this['_diffItems'][_0x17430d];'removed'==_0x51636f['change']?this['_diffItems']['splice'](_0x17430d,0x1):(_0x51636f['change']='added',delete _0x51636f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x42e79f=[];for(let _0x57021c=0x0;_0x57021c<this['_diffItems']['length'];_0x57021c++){const {change:_0x8c8db8,token:_0x344417}=this['_diffItems'][_0x57021c];if('added'==_0x8c8db8&&'element'==_0x344417['type']&&'container'==_0x344417['category']){if(_0x344417['isStart'])_0x42e79f['push'](this['_path']['slice']());else{if(!_0x344417['isStart']){const _0x3c535f=_0x42e79f['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3c535f,'end':this['_path']['slice']()},'token':_0x344417}),this['_path'][this['_path']['length']-0x1]=_0x3c535f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x8c8db8||this['_markDeletions'])&&this['_traverseOverItem'](_0x344417);}}['_handleUnchanged'](_0x4fe2d6,_0xa96046){for(let _0x4e7969=0x0;_0x4e7969<_0x4fe2d6['length'];_0x4e7969++){const _0x5f3878=_0x4fe2d6[_0x4e7969];if('element'==_0x5f3878['type']&&_0x5f3878['isStart']){const _0x359bad=_0xa96046[_0x4e7969];'block'==_0x5f3878['category']&&this['_handleElementRename'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x359bad);}else{if('element'!=_0x5f3878['type']||_0x5f3878['isStart']){if('text'==_0x5f3878['type']){const _0x52a4bf=this['_path']['slice'](),_0x3f8d32=[],_0x4b71e8=[];for(;_0x4fe2d6[_0x4e7969]&&'text'==_0x4fe2d6[_0x4e7969]['type'];)_0x3f8d32['push'](_0x4fe2d6[_0x4e7969]),_0x4b71e8['push'](_0xa96046[_0x4e7969]),this['_path'][this['_path']['length']-0x1]+=_0x4fe2d6[_0x4e7969]['data']['length'],_0x4e7969++;_0x4e7969--,this['_handleTextAttributeChanges'](_0x3f8d32,_0x4b71e8,_0x52a4bf);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1783e5,_0xbbba68,_0x756ad9){const _0x2582dd=[],_0x2f3e38=[],_0x4b0b9c=_0x756ad9['slice']();let _0x2f38e7=this['_parents']['length']-0x1;for(let _0x3e0500=0x0;_0x3e0500<_0x1783e5['length'];_0x3e0500++){const _0x34261c=_0x1783e5[_0x3e0500],_0x4df7c7=_0x756ad9['slice']();'element'!=_0x34261c['type']||_0x34261c['isStart']?'element'==_0x34261c['type']&&_0x34261c['isStart']?(_0x756ad9['push'](0x0),_0x2f38e7++,_0x2f3e38['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500})):_0x756ad9[_0x756ad9['length']-0x1]+=_0x34261c['data']['length']:(_0x756ad9['pop'](),_0x756ad9[_0x756ad9['length']-0x1]++,_0x2f38e7--,_0x2f3e38['length']?_0x2f3e38['pop']():_0x2582dd['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500}));}if(_0x2f3e38['length']!==_0x2582dd['length'])throw new _0x9e3258('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1783e5,'isRemove':_0xbbba68});const _0x231204=[{'after':_0x4b0b9c['slice'](),'index':-0x1},..._0x2582dd,..._0x2f3e38,{'before':_0x756ad9['slice'](),'index':_0x1783e5['length']}];if(_0xbbba68){for(let _0x3f1171=_0x231204['length']-0x1;_0x3f1171>=0x1;_0x3f1171--){const _0x48a7b4=_0x231204[_0x3f1171-0x1]['after'],_0x1502fb=_0x231204[_0x3f1171]['before'],_0x118bfb=_0x1502fb[_0x1502fb['length']-0x1]-_0x48a7b4[_0x48a7b4['length']-0x1];_0x118bfb&&(this['_operationsData']['push']({'type':'remove','path':_0x48a7b4,'howMany':_0x118bfb}),_0x1502fb[_0x1502fb['length']-0x1]-=_0x118bfb);}for(const {before:_0x54ba69}of _0x2582dd)this['_operationsData']['push']({'type':'merge','path':_0x54ba69});}else for(let _0x44199=0x0;_0x44199<_0x231204['length']-0x1;_0x44199++){const _0x45a3f0=_0x231204[_0x44199]['after'],_0x3adba4=_0x231204[_0x44199+0x1]['before'],_0x524adb=_0x231204[_0x44199]['index']+0x1,_0x48fb99=_0x231204[_0x44199+0x1]['index'];if(_0x524adb!==_0x48fb99&&this['_operationsData']['push']({'type':'insert','path':_0x45a3f0,'tokens':_0x1783e5['slice'](_0x524adb,_0x48fb99)}),_0x44199<_0x2582dd['length']){this['_operationsData']['push']({'type':'split','path':_0x3adba4});const _0x25f416=_0x1783e5[_0x2f3e38[_0x2f3e38['length']-0x1-_0x44199]['index']],_0x616bf1=this['_parents'][_0x2f38e7]['element'];_0x616bf1['name']!=_0x25f416['element']['name']&&this['_addSplitPostponedData'](_0x25f416['element'],{'type':'rename','oldValue':_0x616bf1['name']});const _0x52a43f=this['_getAttributeChanges'](_0x616bf1['getAttributes'](),_0x25f416['element']['getAttributes']());for(const _0x25309d in _0x52a43f){const _0xc08d2d=_0x52a43f[_0x25309d]['oldValue'];this['_addSplitPostponedData'](_0x25f416['element'],{'type':'attribute','key':_0x25309d,'oldValue':_0xc08d2d});}}}}_addSplitPostponedData(_0xcc194b,_0x1d84d3){const _0x5e05a4=this['_splitPostponedData']['get'](_0xcc194b)||[];_0x5e05a4['push'](_0x1d84d3),this['_splitPostponedData']['set'](_0xcc194b,_0x5e05a4);}_traverseOverItem(_0x4e794b){'element'==_0x4e794b['type']&&_0x4e794b['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4e794b)):'element'!=_0x4e794b['type']||_0x4e794b['isStart']?'text'==_0x4e794b['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4e794b['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x82f6b7,_0x15fbbe,_0x382b21){_0x82f6b7['name']!=_0x15fbbe['name']&&this['_operationsData']['push']({'type':'rename','path':_0x382b21['slice'](),'oldName':_0x82f6b7['name'],'newName':_0x15fbbe['name']});}_handleElementAttributeChanges(_0x4c976f,_0x5ea542,_0xc98748){const _0xac0f79=this['_getAttributeChanges'](_0x4c976f['getAttributes'](),_0x5ea542['getAttributes']());for(const _0x17f641 in _0xac0f79){const {oldValue:_0x261027,newValue:_0x5d5b30}=_0xac0f79[_0x17f641];this['_operationsData']['push']({'type':'attribute','path':_0xc98748['slice'](),'howMany':0x1,'key':_0x17f641,'oldValue':_0x261027,'newValue':_0x5d5b30});}}_handleTextAttributeChanges(_0x242f99,_0xb3340a,_0x2736f7){const _0x194cbe=this['_operationsData'],_0x5b002a=_0x242f99[0x0]['parent'],_0x29c554=_0x242f99[0x0]['offset'],_0x3c287d=_0xb3340a[0x0]['parent'],_0x1e5e01=_0xb3340a[0x0]['offset'],_0x26f012=_0x242f99['reduce']((_0x411ffd,_0x5a519b)=>_0x411ffd+_0x5a519b['data']['length'],0x0),_0x13be26=this['_getAttrsForOffsets'](_0x5b002a,_0x29c554,_0x26f012),_0x2231f0=this['_getAttrsForOffsets'](_0x3c287d,_0x1e5e01,_0x26f012),_0x352d12={};for(let _0x52c686=0x0;_0x52c686<_0x26f012;_0x52c686++){const _0x3fbc3b=_0x13be26[_0x29c554+_0x52c686],_0x28d15d=_0x2231f0[_0x1e5e01+_0x52c686],_0x46e118=this['_getAttributeChanges'](_0x3fbc3b,_0x28d15d);for(const _0x46c8eb in _0x352d12)_0x46e118[_0x46c8eb]||_0x43277e(_0x46c8eb);for(const _0xddabe4 in _0x46e118){const {oldValue:_0x156fd3,newValue:_0x238cd3}=_0x46e118[_0xddabe4],_0x1c85d6=_0x352d12[_0xddabe4];_0x1c85d6?_0x1c85d6['oldValue']==_0x156fd3&&_0x1c85d6['newValue']==_0x238cd3?_0x1c85d6['length']++:(_0x43277e(_0xddabe4),_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1}):_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1};}}for(const _0x46356a in _0x352d12)_0x43277e(_0x46356a);function _0x43277e(_0x51513c){const _0x3b62b2=_0x352d12[_0x51513c],_0xa3e5bd=_0x2736f7['slice']();_0xa3e5bd[_0xa3e5bd['length']-0x1]+=_0x3b62b2['start'],_0x194cbe['push']({'type':'attribute','path':_0xa3e5bd,'howMany':_0x3b62b2['length'],'key':_0x51513c,'oldValue':_0x3b62b2['oldValue'],'newValue':_0x3b62b2['newValue']}),delete _0x352d12[_0x51513c];}}_getAttributeChanges(_0x3631c7,_0x5b3e2d){const _0x59d2e1={};for(const [_0x58bde1,_0x357fec]of _0x3631c7)_0x59d2e1[_0x58bde1]={'oldValue':JSON['stringify'](_0x357fec),'newValue':'null'};for(const [_0x531a86,_0x19526d]of _0x5b3e2d){const _0x4fcd7e=JSON['stringify'](_0x19526d);_0x59d2e1[_0x531a86]?_0x59d2e1[_0x531a86]['oldValue']==_0x4fcd7e?delete _0x59d2e1[_0x531a86]:_0x59d2e1[_0x531a86]['newValue']=_0x4fcd7e:_0x59d2e1[_0x531a86]={'oldValue':'null','newValue':_0x4fcd7e};}return delete _0x59d2e1[jt],_0x59d2e1;}_getAttrsForOffsets(_0x4f8774,_0x42b42e,_0xeebf7b){const _0x3b0a41=new Array(_0x42b42e+_0xeebf7b);let _0x16923b=_0x4f8774['getChildAtOffset'](_0x42b42e),_0x2e6d07=_0x16923b['startOffset'];for(;_0x16923b&&_0x2e6d07<_0x42b42e+_0xeebf7b;){const _0x4400b3=Array['from'](_0x16923b['getAttributes']());_0x3b0a41['fill'](_0x4400b3,_0x2e6d07,_0x2e6d07+_0x16923b['offsetSize']),_0x2e6d07+=_0x16923b['offsetSize'],_0x16923b=_0x16923b['nextSibling'];}return _0x3b0a41;}_getPositionFromAnchorAndPath(_0x2dcab0,_0x1fb586){const _0x42b1e8=[..._0x2dcab0['path']['slice'](0x0,-0x1),_0x2dcab0['offset']+_0x1fb586[0x0],..._0x1fb586['slice'](0x1)];return new _0x44c66f(_0x2dcab0['root'],_0x42b1e8);}['_makeModelFromTokens'](_0x1d2202){const _0x5c21ed=[];let _0x218154=null;for(const _0x182d56 of _0x1d2202)if('element'!=_0x182d56['type']||_0x182d56['isStart']||_0x218154!=_0x182d56['element']){if(!_0x218154){if('text'==_0x182d56['type']){const _0x52b528=_0x44c66f['_createAt'](_0x182d56['parent'],_0x182d56['offset']),_0x5410e5=_0x1f7020['_createFromPositionAndShift'](_0x52b528,_0x182d56['data']['length']),_0x10d907=Array['from'](_0x5410e5['getItems']())['map'](_0xb8644d=>new _0x96df45(_0xb8644d['data'],_0xb8644d['getAttributes']()));_0x5c21ed['push'](..._0x10d907);}else{_0x218154=_0x182d56['element'];const _0x1005b8=_0x182d56['element']['_clone'](!0x0);_0x1005b8['_removeAttribute'](jt);for(const _0x34462d of this['_editor']['model']['createRangeIn'](_0x1005b8)['getItems']())_0x34462d['is']('element')&&_0x34462d['_removeAttribute'](jt);_0x5c21ed['push'](_0x1005b8);}}}else _0x218154=null;return _0x5c21ed;}};function qt(_0x2c4bb8,_0x278fbc){return _0x2c4bb8['type']===_0x278fbc['type']&&(_0x2c4bb8['limitId']===_0x278fbc['limitId']&&('text'==_0x2c4bb8['type']?_0x2c4bb8['data']==_0x278fbc['data']:function(_0x5ed2e0,_0x24a831){if(_0x5ed2e0['isStart']!=_0x24a831['isStart'])return!0x1;if(_0x5ed2e0['isStart']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;if(_0x5ed2e0['category']!=_0x24a831['category'])return!0x1;if('block'==_0x5ed2e0['category'])return!0x0;if('container'==_0x5ed2e0['category']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;return _0x5ed2e0['element']['name']==_0x24a831['element']['name'];}(_0x2c4bb8,_0x278fbc)));}function Zt(_0x380d68){return Tt({'name':_0x380d68['name'],...Object['fromEntries'](_0x380d68['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':_0x2e2589=>0x1!=_0x2e2589}};
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':_0x49b332=>0x1!=_0x49b332}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x3540b1=>{const {af:{dictionary:_0x5f0970,getPluralForm:_0x4f79d3}}={'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':_0x849fa5=>0x1!=_0x849fa5}};_0x3540b1['af']||={'dictionary':{},'getPluralForm':null},_0x3540b1['af']['dictionary']=Object['assign'](_0x3540b1['af']['dictionary'],_0x5f0970),_0x3540b1['af']['getPluralForm']=_0x4f79d3;})(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':_0x7712e4=>0x0==_0x7712e4?0x0:0x1==_0x7712e4?0x1:0x2==_0x7712e4?0x2:_0x7712e4%0x64>=0x3&&_0x7712e4%0x64<=0xa?0x3:_0x7712e4%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':_0x14d779=>0x0==_0x14d779?0x0:0x1==_0x14d779?0x1:0x2==_0x14d779?0x2:_0x14d779%0x64>=0x3&&_0x14d779%0x64<=0xa?0x3:_0x14d779%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x513ee1=>{const {ar:{dictionary:_0x355bb2,getPluralForm:_0x4455e4}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x36803d=>0x0==_0x36803d?0x0:0x1==_0x36803d?0x1:0x2==_0x36803d?0x2:_0x36803d%0x64>=0x3&&_0x36803d%0x64<=0xa?0x3:_0x36803d%0x64>=0xb?0x4:0x5}};_0x513ee1['ar']||={'dictionary':{},'getPluralForm':null},_0x513ee1['ar']['dictionary']=Object['assign'](_0x513ee1['ar']['dictionary'],_0x355bb2),_0x513ee1['ar']['getPluralForm']=_0x4455e4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4477ee=>{const {ar:{dictionary:_0x55c48f,getPluralForm:_0x3839c2}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x15043b=>0x0==_0x15043b?0x0:0x1==_0x15043b?0x1:0x2==_0x15043b?0x2:_0x15043b%0x64>=0x3&&_0x15043b%0x64<=0xa?0x3:_0x15043b%0x64>=0xb?0x4:0x5}};_0x4477ee['ar']||={'dictionary':{},'getPluralForm':null},_0x4477ee['ar']['dictionary']=Object['assign'](_0x4477ee['ar']['dictionary'],_0x55c48f),_0x4477ee['ar']['getPluralForm']=_0x3839c2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1b8e4b=>0x1!=_0x1b8e4b}};
23
+ export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x52d1e3=>0x1!=_0x52d1e3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13f9af=>{const {ast:{dictionary:_0x434a6c,getPluralForm:_0x494488}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x32832d=>0x1!=_0x32832d}};_0x13f9af['ast']||={'dictionary':{},'getPluralForm':null},_0x13f9af['ast']['dictionary']=Object['assign'](_0x13f9af['ast']['dictionary'],_0x434a6c),_0x13f9af['ast']['getPluralForm']=_0x494488;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x301208=>{const {ast:{dictionary:_0x36a3ce,getPluralForm:_0x3816a2}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1adee2=>0x1!=_0x1adee2}};_0x301208['ast']||={'dictionary':{},'getPluralForm':null},_0x301208['ast']['dictionary']=Object['assign'](_0x301208['ast']['dictionary'],_0x36a3ce),_0x301208['ast']['getPluralForm']=_0x3816a2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x306ecf=>0x1!=_0x306ecf}};
23
+ export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1d7e33=>0x1!=_0x1d7e33}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x532322=>{const {az:{dictionary:_0x2a4d15,getPluralForm:_0x1516f6}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1cf5a4=>0x1!=_0x1cf5a4}};_0x532322['az']||={'dictionary':{},'getPluralForm':null},_0x532322['az']['dictionary']=Object['assign'](_0x532322['az']['dictionary'],_0x2a4d15),_0x532322['az']['getPluralForm']=_0x1516f6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x305fdc=>{const {az:{dictionary:_0x1665f4,getPluralForm:_0x58fbd7}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x7ade1b=>0x1!=_0x7ade1b}};_0x305fdc['az']||={'dictionary':{},'getPluralForm':null},_0x305fdc['az']['dictionary']=Object['assign'](_0x305fdc['az']['dictionary'],_0x1665f4),_0x305fdc['az']['getPluralForm']=_0x58fbd7;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3cd585=>_0x3cd585%0xa==0x1&&_0x3cd585%0x64!=0xb?0x0:_0x3cd585%0xa>=0x2&&_0x3cd585%0xa<=0x4&&(_0x3cd585%0x64<0xa||_0x3cd585%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3e17d0=>_0x3e17d0%0xa==0x1&&_0x3e17d0%0x64!=0xb?0x0:_0x3e17d0%0xa>=0x2&&_0x3e17d0%0xa<=0x4&&(_0x3e17d0%0x64<0xa||_0x3e17d0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b9411=>{const {be:{dictionary:_0x56ab22,getPluralForm:_0x5c6ac4}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5e53b2=>_0x5e53b2%0xa==0x1&&_0x5e53b2%0x64!=0xb?0x0:_0x5e53b2%0xa>=0x2&&_0x5e53b2%0xa<=0x4&&(_0x5e53b2%0x64<0xa||_0x5e53b2%0x64>=0x14)?0x1:0x2}};_0x3b9411['be']||={'dictionary':{},'getPluralForm':null},_0x3b9411['be']['dictionary']=Object['assign'](_0x3b9411['be']['dictionary'],_0x56ab22),_0x3b9411['be']['getPluralForm']=_0x5c6ac4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4afa06=>{const {be:{dictionary:_0xa9e062,getPluralForm:_0x4c70b2}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3c4d5e=>_0x3c4d5e%0xa==0x1&&_0x3c4d5e%0x64!=0xb?0x0:_0x3c4d5e%0xa>=0x2&&_0x3c4d5e%0xa<=0x4&&(_0x3c4d5e%0x64<0xa||_0x3c4d5e%0x64>=0x14)?0x1:0x2}};_0x4afa06['be']||={'dictionary':{},'getPluralForm':null},_0x4afa06['be']['dictionary']=Object['assign'](_0x4afa06['be']['dictionary'],_0xa9e062),_0x4afa06['be']['getPluralForm']=_0x4c70b2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0xb7d065=>0x1!=_0xb7d065}};
23
+ export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x2c3bcf=>0x1!=_0x2c3bcf}};