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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x37f27d,Editor as _0x5483eb,Plugin as _0x1f67da}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x2ed40a,Collection as _0x449024,FocusTracker as _0x33a34f,KeystrokeHandler as _0x149e7e,first as _0x5819e4,toArray as _0x24b44d,uid as _0x294bfc}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x16dd91,DropdownButtonView as _0x354691,FocusCycler as _0x13b8a3,IconView as _0x351170,View as _0x56c67c,isViewWithFocusCycler as _0x1488d5}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0xdfa83c,IconCheck as _0x361f60,IconNotification as _0xc55f5b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x221e2c,toWidget as _0x1819c4}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x1acb75}from'luxon';import{AttributeOperation as _0x81dec2,InsertOperation as _0x3c448e,MarkerOperation as _0x23d8eb,MergeOperation as _0x5288f2,ModelPosition as _0x224efa,ModelRange as _0x5e9b44,ModelText as _0x272f0e,ModelTreeWalker as _0x384a2d,MoveOperation as _0x16d21e,RenameOperation as _0x118b44,SplitOperation as _0x338267}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x563a26}from'diff';var B=class extends _0x37f27d{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x5306ef,_0x5959d6){let _0x44fda4;if(_0x5959d6||(_0x5959d6=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5959d6?_0x44fda4=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x44fda4=this['context']['editors']['find'](_0x3771c2=>_0x3771c2['config']['get']('collaboration.channelId')==_0x5959d6)),!_0x44fda4)throw new _0x2ed40a('permissions-set-permissions-invalid-channel-id',null);const _0x4d4524=_0x44fda4['plugins'],_0x27e024=_0x4d4524['has']('CommentsRepository')?_0x4d4524['get']('CommentsRepository'):void 0x0,_0xdc07ca=_0x4d4524['has']('CommentsOnly')&&_0x4d4524['get']('CommentsOnly'),_0x296c52=_0x5306ef['includes']('document:write'),_0x936dbe=_0x5306ef['includes']('comment:modify_all'),_0x35d11e=_0x5306ef['includes']('comment:admin'),_0xc9c9f6=_0x5306ef['includes']('comment:write'),_0x110b50=_0xc9c9f6||_0x35d11e,_0xf5790=_0x110b50||_0x936dbe,_0x426195=_0x296c52||_0x110b50;if(_0xdc07ca&&(_0xdc07ca['isEnabled']=!_0x296c52&&_0xf5790),_0x44fda4 instanceof _0x5483eb&&(_0x296c52||_0xf5790&&_0x27e024?_0x44fda4['disableReadOnlyMode']('no-permissions'):_0x44fda4['enableReadOnlyMode']('no-permissions')),_0x27e024){_0x27e024['setPermissions']({'admin':_0x35d11e,'modifyAll':_0x936dbe,'write':_0xc9c9f6,'resolve':_0x426195},_0x5959d6);const _0x17b5b5=_0x44fda4 instanceof _0x5483eb&&_0x44fda4['commands']['get']('addCommentThread');_0x17b5b5&&(_0x110b50?_0x17b5b5['clearForceDisabled']('noPermissions'):_0x17b5b5['forceDisabled']('noPermissions'));}}};function D(_0x541a12,_0x2cde9b){const t=_0x541a12['t'];switch(_0x2cde9b){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 _0x37f27d{['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(_0xd69a6){super(_0xd69a6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x449024(),this['_locale']=_0xd69a6['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:_0x5be2bd,name:_0x19ad5f,..._0x938732}){if(!_0x5be2bd||'string'!=typeof _0x5be2bd)throw new _0x2ed40a('users-add-invalid-id');if(this['users']['has'](_0x5be2bd))throw new _0x2ed40a('users-add-duplicated-id',null,{'id':_0x5be2bd});const _0x1acbc2=this['context']['config']['get']('users.getInitialsCallback'),_0x3562a0={..._0x938732,'id':_0x5be2bd,'name':R(this['_locale'],_0x19ad5f),'color':this['_getNextColor']()};_0x3562a0['name']=R(this['_locale'],_0x3562a0['name']);const _0x477b80=new L(_0x3562a0,_0x1acbc2);return this['users']['add'](_0x477b80),_0x477b80;}getUser(_0x5b9b87){return this['users']['get'](_0x5b9b87);}['useAnonymousUser'](){const _0x5091de=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5091de);}['defineMe'](_0x5ee635){if(this['_myId'])throw new _0x2ed40a('users-me-already-defined',null);const _0x41f221=this['getUser'](_0x5ee635);if(!_0x41f221)throw new _0x2ed40a('users-me-missing-user',null);this['_myId']=_0x5ee635,_0x41f221['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x3c5ce2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3c5ce2&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5bf1f5=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5bf1f5,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x5eb017,_0x5f516f){this['id']=_0x5eb017['id'],this['color']=_0x5eb017['color'],this['name']=_0x5eb017['name'],this['initials']=_0x5f516f?_0x5f516f(this['name']):this['_computeInitials'](),this['avatar']=_0x5eb017['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x549a60=this['name']['split']('\x20')['filter'](_0x25ea91=>/^[\p{Letter}]/u['test'](_0x25ea91));return 0x1===_0x549a60['length']?this['_getInitial'](_0x549a60[0x0]):0x0===_0x549a60['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x549a60[0x0])+this['_getInitial'](_0x549a60[_0x549a60['length']-0x1]);}_getInitial(_0x29ff5a){return String['fromCodePoint'](_0x29ff5a['codePointAt'](0x0))['toUpperCase']();}};function R(_0xb57067,_0x258412=''){return''==(_0x258412=_0x258412['trim']())?D(_0xb57067,'Anonymous'):_0x258412;}var F=class{['_id'];constructor(_0x5ee3b5){this['_id']=_0x5ee3b5;}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 _0x56c67c{['name'];notificationView;constructor(_0x5ef2fc,_0x246ad2,_0x178ca1,_0x2f777c){super(_0x5ef2fc),this['name']=_0x246ad2['name'],this['notificationView']=null;const _0x527618=['ck','ck-user'],_0x1b2ba4=['ck','ck-user__img'];_0x246ad2['isAnonymous']&&_0x1b2ba4['push']('ck-user__anonymous'),!_0x246ad2['isAnonymous']&&_0x246ad2['isMe']&&_0x527618['push']('ck-user_me'),(_0x246ad2['avatar']||_0x2f777c)&&_0x1b2ba4['push']('ck-user__avatar');let _0x192c25=null;if(_0x2f777c&&(_0x192c25=new _0x351170(),_0x192c25['content']=_0x2f777c,_0x192c25['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x178ca1){const _0x68dfa9=new _0x351170();_0x68dfa9['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x68dfa9['content']=_0xc55f5b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x178ca1},'children':[_0x68dfa9]};}const _0x1e036e=[{'tag':'div','attributes':{'class':_0x1b2ba4,'style':{'background-image':_0x246ad2['avatar']&&!_0x2f777c?'url(\x27'+_0x246ad2['avatar']+'\x27)':''}},'children':_0x192c25?[_0x192c25]:[]},{'tag':'div','attributes':{'class':_0x246ad2['avatar']||_0x2f777c?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x246ad2['name']},'children':[{'text':_0x246ad2['initials']}]}];this['notificationView']&&_0x1e036e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x527618,'data-user-id':_0x246ad2['id']},'children':_0x1e036e});}},U=class extends _0x56c67c{['children'];['iconView'];['labelView'];constructor(_0x15f00e){super(_0x15f00e);const _0x3b6712=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',_0x3b6712['to']('class'),_0x3b6712['to']('iconPosition',_0x3e2839=>'right'===_0x3e2839?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x3b6712['to']('tooltip'),'data-cke-tooltip-position':_0x3b6712['to']('tooltipPosition'),'data-cke-tooltip-class':_0x3b6712['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x413161,_0x16fd4a,_0x2a307b,_0x504bd1)=>{_0x2a307b&&!_0x504bd1?this['children']['add'](this['iconView'],0x0):!_0x2a307b&&_0x504bd1&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x457249=new _0x351170();return _0x457249['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x457249['bind']('content')['to'](this,'icon'),_0x457249;}_createLabelView(){const _0x2b1d37=new _0x56c67c(this['locale']),_0x1d74c6=this['bindTemplate'];return _0x2b1d37['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x1d74c6['to']('label')}]}),_0x2b1d37;}},z=class extends _0x56c67c{['id'];constructor(_0x4521ee,_0x36e5b8){super(_0x4521ee),this['id']='ck-aria-description-'+_0x294bfc(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x36e5b8}]});}},W=class extends _0x16dd91{['render'](){super['render'](),j(this);}},Y=class extends _0x354691{['render'](){super['render'](),j(this);}};function j(_0x27e78c){_0x27e78c['listenTo'](_0x27e78c['element'],'mousedown',(_0x4e28cd,_0x3585e3)=>{_0x3585e3['stopPropagation'](),_0x3585e3['preventDefault']();}),_0x27e78c['listenTo'](_0x27e78c['element'],'mouseup',()=>{_0x27e78c['element']['focus']();});}function J(_0xdaf1dd){const _0x53341c=_0xdaf1dd['split'](':');return{'group':_0x53341c[0x0],'type':_0x53341c[0x1],'subType':_0x53341c['length']>=0x5?_0x53341c[0x2]:null,'id':_0x53341c['length']<0x5?_0x53341c[0x2]:_0x53341c[0x3],'authorId':_0x53341c['length']<0x5?_0x53341c[0x3]:_0x53341c[0x4],'markerCount':0x6==_0x53341c['length']?_0x53341c[0x5]:null};}function G(_0x5a4dc0,_0x4f9f89){const _0xf2ed16=_0x5a4dc0['end']['nodeBefore'];if(_0xf2ed16&&_0xf2ed16['is']('element')&&_0x4f9f89['schema']['isBlock'](_0xf2ed16)&&!_0x4f9f89['schema']['isObject'](_0xf2ed16)){const _0x5dc191=_0x4f9f89['createPositionAt'](_0xf2ed16,'end');return _0x4f9f89['createRange'](_0x5a4dc0['start'],_0x5dc191);}return _0x5a4dc0;}var K=class extends _0x1f67da{afterInit(){const _0xebcefe=this['editor'];_0xebcefe['plugins']['has']('AlignmentEditing')&&_0xebcefe['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x1f67da{afterInit(){const _0x5aad26=this['editor'],_0x1bafa9=_0x5aad26['plugins']['get']('SuggestionsConversion');for(const _0x37189d of q){if(!_0x5aad26['plugins']['has'](_0x37189d))continue;const _0x3dd2af=_0x37189d['slice'](0x0,-0x7)['toLowerCase']();_0x1bafa9['registerInlineAttribute'](_0x3dd2af);}}},Q=class extends _0x1f67da{afterInit(){const _0x64ac80=this['editor'],_0x59db58=_0x64ac80['plugins']['get']('SuggestionsConversion');_0x64ac80['plugins']['has']('BookmarkEditing')&&_0x59db58['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x1f67da{afterInit(){const _0x14afa9=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5a7f52,commandName:_0xf2ee23}of X)this['editor']['plugins']['has'](_0x5a7f52)&&_0x14afa9['registerInlineAttribute'](_0xf2ee23);}},et=class extends _0x1f67da{afterInit(){const {editor:_0x4f75e8}=this;if(!_0x4f75e8['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x232352=_0x4f75e8['plugins']['get']('SuggestionsConversion');_0x232352['registerBlockAttribute']('footnotesListStyle'),_0x232352['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x1f67da{afterInit(){const _0x468b9e=this['editor'];if(!_0x468b9e['plugins']['has']('GeneralHtmlSupport')||!_0x468b9e['plugins']['has']('DataSchema'))return;const _0x56f490=_0x468b9e['plugins']['get']('SuggestionsConversion'),_0x3f5f93=_0x468b9e['plugins']['get']('GeneralHtmlSupport'),_0x198f58=_0x468b9e['plugins']['get']('DataSchema');for(const _0x1e4301 of _0x198f58['getDefinitionsForView'](/.*/,!0x1)){const _0x4f43c1=_0x3f5f93['getGhsAttributeNameForElement'](_0x1e4301['view']);!_0x1e4301['isInline']||_0x1e4301['isObject']||'appliesToBlock'in _0x1e4301&&_0x1e4301['appliesToBlock']?_0x56f490['registerBlockAttribute'](_0x4f43c1):_0x56f490['registerInlineAttribute'](_0x4f43c1);}}},it=class extends _0x1f67da{afterInit(){const _0x50dd02=this['editor'];_0x50dd02['plugins']['has']('HighlightEditing')&&_0x50dd02['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x1f67da{afterInit(){const _0x25d0ec=this['editor'];_0x25d0ec['plugins']['has']('HtmlEmbed')&&_0x25d0ec['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x1f67da{afterInit(){const _0x111f34=this['editor'];if(!_0x111f34['plugins']['has']('ImageEditing'))return;const _0x51b2cb=_0x111f34['plugins']['get']('SuggestionsConversion');_0x51b2cb['registerBlockAttribute']('src'),_0x111f34['plugins']['has']('ImageResize')&&_0x51b2cb['registerBlockAttribute']('resizedWidth'),_0x111f34['plugins']['has']('ImageTextAlternativeEditing')&&_0x51b2cb['registerBlockAttribute']('alt'),_0x111f34['plugins']['has']('PictureEditing')&&_0x51b2cb['registerBlockAttribute']('sources'),_0x111f34['plugins']['has']('ImageSizeAttributes')&&(_0x51b2cb['registerBlockAttribute']('width'),_0x51b2cb['registerBlockAttribute']('height'));}},rt=class extends _0x1f67da{afterInit(){const _0x1f11d7=this['editor'],_0x598305=_0x1f11d7['plugins']['get']('SuggestionsConversion');_0x1f11d7['plugins']['has']('IndentBlock')&&(_0x598305['registerBlockAttribute']('blockIndent'),_0x1f11d7['plugins']['has']('ListEditing')&&(_0x598305['registerBlockAttribute']('blockIndentList'),_0x598305['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x1f67da{afterInit(){const _0xf7f05b=this['editor'];_0xf7f05b['plugins']['has']('LineHeight')&&_0xf7f05b['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x1f67da{afterInit(){const _0x2e2faa=this['editor'];if(!_0x2e2faa['plugins']['has']('LinkEditing'))return;const _0x4e13a0=_0x2e2faa['plugins']['get']('SuggestionsConversion'),_0x539b45=_0x2e2faa['commands']['get']('link');_0x4e13a0['registerInlineAttribute']('linkHref');for(const _0x402cb0 of _0x539b45['manualDecorators'])_0x4e13a0['registerInlineAttribute'](_0x402cb0['id']);}},lt=class extends _0x1f67da{afterInit(){const _0x5224d3=this['editor'];if(!_0x5224d3['plugins']['has']('ListEditing'))return;const _0x380a67=_0x5224d3['plugins']['get']('SuggestionsConversion'),_0x48c5e6=_0x5224d3['plugins']['has']('TodoListEditing');_0x380a67['registerBlockAttribute']('listItemId'),_0x380a67['registerBlockAttribute']('listType'),_0x380a67['registerBlockAttribute']('listIndent'),_0x48c5e6&&_0x380a67['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x1f67da{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3c658a=this['editor']['config']['get']('list.properties'),_0x1c2a1b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3c658a['styles']&&_0x1c2a1b['registerBlockAttribute']('listStyle'),_0x3c658a['reversed']&&_0x1c2a1b['registerBlockAttribute']('listReversed'),_0x3c658a['startIndex']&&_0x1c2a1b['registerBlockAttribute']('listStart');}},ut=class extends _0x1f67da{afterInit(){const _0x381fc6=this['editor'],_0x4c4c6c=_0x381fc6['plugins']['get']('SuggestionsConversion');_0x381fc6['plugins']['has']('MultiLevelList')&&_0x4c4c6c['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x1f67da{afterInit(){const _0x474cdc=this['editor'];if(!_0x474cdc['plugins']['has']('TableEditing'))return;const _0x1c450b=_0x474cdc['plugins']['get']('SuggestionsConversion');_0x1c450b['registerBlockAttribute']('headingRows'),_0x1c450b['registerBlockAttribute']('headingColumns');}},gt=class extends _0x1f67da{afterInit(){const {plugins:_0x3ba645}=this['editor'];if(!_0x3ba645['has']('TablePropertiesEditing'))return;const _0x30a0cb=_0x3ba645['get']('SuggestionsConversion');for(const _0x357031 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30a0cb['registerBlockAttribute'](_0x357031);}},ft=class extends _0x1f67da{afterInit(){const _0x31cddd=this['editor'],_0x36f2e7=_0x31cddd['plugins']['get']('SuggestionsConversion');_0x31cddd['plugins']['has']('TableLayout')&&_0x36f2e7['registerBlockAttribute']('tableType');}},mt=class extends _0x1f67da{afterInit(){const _0x226e2a=this['editor'],_0x117410=this['editor']['plugins']['get']('SuggestionsConversion');_0x226e2a['plugins']['has']('Uploadcare')&&_0x226e2a['plugins']['has']('UploadcareImageEdit')&&_0x117410['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x1f67da{afterInit(){const _0x149f5a=this['editor'];if(!_0x149f5a['plugins']['has']('ShiftEnter'))return;const _0x1e2a93=_0x149f5a['plugins']['get']('SuggestionsConversion'),_0x51c4e7=(_0x4132ec,_0x1ac69d,_0xfeb23,_0x169de8)=>{if(_0x169de8&&!_0xfeb23['options']['showSuggestionHighlights'])return;if(!_0xfeb23['consumable']['test'](_0x1ac69d['markerRange'],_0x4132ec['name']))return;const _0x2a4a3b=_0x149f5a['model'];for(const _0x277185 of _0x1ac69d['markerRange']['getItems']()){if(!_0x277185['is']('element','softBreak'))continue;const _0x1a9abb='deletion'==_0x1ac69d['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x970275,authorId:_0x11b9ee}=J(_0x1ac69d['markerName']),_0x427c10=_0xfeb23['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1a9abb,'data-suggestion':_0x970275,'data-author-id':_0x11b9ee}),_0xdc0ecc=_0xfeb23['mapper']['toViewPosition'](_0x2a4a3b['createPositionBefore'](_0x277185));!_0x169de8&&_0x1e2a93['_activeMarkers']['includes'](_0x1ac69d['markerName'])&&_0xfeb23['writer']['addClass']('ck-suggestion-marker--active',_0x427c10),_0xfeb23['writer']['insert'](_0xdc0ecc,_0x427c10),_0xfeb23['mapper']['bindElementToMarker'](_0x427c10,_0x1ac69d['markerName']);}};_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x49d3ff,_0x18f749,_0x4a2e9d)=>{_0x51c4e7(_0x49d3ff,_0x18f749,_0x4a2e9d,!0x1);},{'priority':'high'}),_0x149f5a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4cbbea,_0x593e07,_0x23eb93)=>{_0x51c4e7(_0x4cbbea,_0x593e07,_0x23eb93,!0x1);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x154aea,_0x538e1e,_0x918624)=>{_0x51c4e7(_0x154aea,_0x538e1e,_0x918624,!0x0);},{'priority':'high'}),_0x149f5a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14565f,_0x1b1013,_0x1f8582)=>{_0x51c4e7(_0x14565f,_0x1b1013,_0x1f8582,!0x0);},{'priority':'high'});}},kt=class extends _0x1f67da{afterInit(){const _0x4209c9=this['editor'];if(!_0x4209c9['plugins']['has']('MediaEmbedEditing'))return;const _0x11b3f3=_0x4209c9['plugins']['get']('SuggestionsConversion');_0x4209c9['plugins']['has']('MediaEmbedResizeEditing')&&_0x11b3f3['registerBlockAttribute']('resizedWidth'),_0x4209c9['plugins']['has']('MediaEmbedStyleEditing')&&_0x11b3f3['registerBlockAttribute']('mediaStyle'),_0x4209c9['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4ead8b,{writer:_0x36710a,options:_0x46d995})=>{if(_0x46d995['showSuggestionHighlights'])return _0x36710a['createEmptyElement']('div');},'converterPriority':'high'}),_0x4209c9['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3bbbad,_0x1c8f9e,_0x1a3e26)=>{_0x1a3e26['options']['showSuggestionHighlights']&&_0x3bbbad['stop']();},{'priority':'high'});}},yt=class extends _0x1f67da{afterInit(){const _0x1f1a9c=this['editor'];if(!_0x1f1a9c['plugins']['has']('Table'))return;_0x1f1a9c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4e6496,_0x246306,_0x4a7ba9)=>{((_0x25d55a,_0x19c5b8,_0x4a3b69)=>{if(!_0x4a3b69['options']['showSuggestionHighlights'])return;const _0x4cbd09=_0x19c5b8['item'];if(!_0x4cbd09||!_0x4cbd09['is']('element','tableCell'))return;const _0x212e85=_0x4a3b69['mapper']['toViewElement'](_0x4cbd09);if(_0x212e85){const {id:_0x579b2f,authorId:_0x29a0c5}=J(_0x19c5b8['markerName']);_0x221e2c(_0x212e85,_0x4a3b69['writer'],(_0x4f83da,_0x1a36a6,_0x24208c)=>{_0x24208c['addClass'](_0x24b44d(_0x1a36a6['classes']),_0x4f83da),_0x24208c['setAttribute']('data-suggestion',_0x579b2f,_0x4f83da),_0x24208c['setAttribute']('data-author-id',_0x29a0c5,_0x4f83da);});}})(0x0,_0x246306,_0x4a7ba9);},{'priority':'highest'});}},bt=class extends _0x1f67da{afterInit(){const _0x7d88c=this['editor'];_0x7d88c['plugins']['has']('HorizontalLineEditing')&&_0x7d88c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3c945e,{writer:_0x670dd7,options:_0x10ff40})=>{if(!_0x10ff40['showSuggestionHighlights'])return null;const _0x47f911=_0x670dd7['createContainerElement']('div'),_0x39e6af=_0x670dd7['createEmptyElement']('hr');return _0x670dd7['addClass']('ck-horizontal-line',_0x47f911),_0x670dd7['insert'](_0x670dd7['createPositionAt'](_0x47f911,0x0),_0x39e6af),_0x47f911;},'converterPriority':'high'});}},wt=class extends _0x1f67da{afterInit(){const {plugins:_0x21a408,model:_0x4612e1}=this['editor'];if(!_0x21a408['has']('TableCellPropertiesEditing'))return;const _0x14232d=_0x21a408['get']('SuggestionsConversion');for(const _0x651f8 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x14232d['registerBlockAttribute'](_0x651f8);_0x4612e1['schema']['checkAttribute']('tableCell','tableCellType')&&_0x14232d['registerBlockAttribute']('tableCellType');}},vt=class extends _0x1f67da{afterInit(){const _0x4ee9ed=this['editor'];_0x4ee9ed['plugins']['has']('TableEditing')&&_0x4ee9ed['config']['get']('table.enableFooters')&&_0x4ee9ed['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x1f67da{_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 _0x14420b=this['editor'],_0xc1029e=(_0x57f0a2,_0x41ac97,_0x1a7b6c)=>{const {id:_0x2afd0d,authorId:_0x17a3da,type:_0x40ec2d,subType:_0x16cf02}=J(_0x57f0a2['markerName']),_0x12bbc1=['ck-suggestion-marker',this['_getClassName'](_0x40ec2d,_0x16cf02)];let _0x4d9b5a=0xbb8;return _0x1a7b6c||this['_activeMarkers']['includes'](_0x57f0a2['markerName'])&&(_0x12bbc1['push']('ck-suggestion-marker--active'),_0x4d9b5a=0xbc2),'deletion'==_0x40ec2d&&(_0x4d9b5a+=0x5),{'classes':_0x12bbc1,'attributes':{'data-suggestion':_0x2afd0d,'data-author-id':_0x17a3da},'priority':_0x4d9b5a};};_0x14420b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x64a3a1,_0x39e952)=>_0xc1029e(_0x64a3a1,0x0,!0x1)}),_0x14420b['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x134a29,_0x212573)=>_0xc1029e(_0x134a29,0x0,!0x0)}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x7a79dc=>{_0x7a79dc['on']('addMarker:suggestion',(_0x3b0446,_0x56906e,_0x43179c)=>{if(!_0x43179c['options']['showSuggestionHighlights'])return;const _0x2fa475=_0x56906e['item'];if(!_0x2fa475)return;const _0x2c2693=_0x43179c['mapper']['toViewElement'](_0x2fa475);_0x14420b['model']['schema']['isObject'](_0x2fa475)&&_0x2c2693&&!_0x2c2693['getCustomProperty']('widget')&&_0x2c2693['is']('containerElement')&&_0x1819c4(_0x2c2693,_0x43179c['writer']);},{'priority':'high'});});const _0x4c9f77=(_0x26e6dc,_0x17a261,_0x26081f,_0x4b7ebf,_0x4160ed)=>{if(_0x4b7ebf&&!_0x26081f['options']['showSuggestionHighlights'])return;if(!_0x17a261['item'])return;const {id:_0x5d41bb,authorId:_0x1ab743,subType:_0xdb95fb}=J(_0x17a261['markerName']);if(_0x4160ed){const _0x3d0916=_0xdb95fb['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3d0916))return;}if(_0x17a261['item']['is']('selection'))return void _0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);const _0x18dc75=_0x26081f['mapper']['toViewElement'](_0x17a261['item']);if(_0x17a261['item']['is']('element')&&_0x14420b['model']['schema']['isBlock'](_0x17a261['item'])&&!_0x18dc75['getCustomProperty']('addHighlight')){_0x26081f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x18dc75),_0x26081f['writer']['setAttribute']('data-suggestion',_0x5d41bb,_0x18dc75),_0x26081f['writer']['setAttribute']('data-author-id',_0x1ab743,_0x18dc75),_0x26081f['mapper']['bindElementToMarker'](_0x18dc75,_0x17a261['markerName']),_0x4b7ebf||(this['_activeMarkers']['includes'](_0x17a261['markerName'])?_0x26081f['writer']['addClass']('ck-suggestion-marker--active',_0x18dc75):_0x26081f['writer']['removeClass']('ck-suggestion-marker--active',_0x18dc75));for(const _0x235240 of _0x14420b['model']['createRangeIn'](_0x17a261['item'])['getItems']())_0x26081f['consumable']['consume'](_0x235240,_0x26e6dc['name']);_0x26081f['consumable']['consume'](_0x17a261['item'],_0x26e6dc['name']);}},_0x386bd2=(_0x1af7b3,_0x23d788,_0x1c4f76,_0x3f9163)=>{const _0x21838a=_0x1c4f76['mapper']['markerNameToElements'](_0x23d788['markerName']);if(_0x21838a){if(_0x3f9163){const {subType:_0x5cf474}=J(_0x23d788['markerName']),_0x253cfa=_0x5cf474['split']('|')[0x0];if(!this['isBlockAttribute'](_0x253cfa))return;}for(const _0x56d434 of _0x21838a)_0x56d434['getCustomProperty']('addHighlight')||(_0x1c4f76['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-suggestion',_0x56d434),_0x1c4f76['writer']['removeAttribute']('data-author-id',_0x56d434),_0x1c4f76['mapper']['unbindElementFromMarkerName'](_0x56d434,_0x23d788['markerName']));}};_0x14420b['conversion']['for']('editingDowncast')['add'](_0xbb01a0=>{_0xbb01a0['on']('addMarker:suggestion:formatBlock',(_0x383e2f,_0x3c3dfd,_0x38b7aa)=>{_0x4c9f77(_0x383e2f,_0x3c3dfd,_0x38b7aa,!0x1,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x158987=>{_0x158987['on']('addMarker:suggestion:attribute',(_0x4da807,_0x27ccc7,_0x2653a6)=>{_0x4c9f77(_0x4da807,_0x27ccc7,_0x2653a6,!0x1,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x5ca9d6=>{_0x5ca9d6['on']('removeMarker:suggestion:formatBlock',(_0x2f4d2d,_0x19877b,_0x30cf91)=>{_0x386bd2(0x0,_0x19877b,_0x30cf91,!0x1);},{'priority':'high'});}),_0x14420b['conversion']['for']('editingDowncast')['add'](_0x30a2d1=>{_0x30a2d1['on']('removeMarker:suggestion:attribute',(_0x313411,_0x562165,_0x3c989c)=>{_0x386bd2(0x0,_0x562165,_0x3c989c,!0x0);},{'priority':'high'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x311900=>{_0x311900['on']('addMarker:suggestion:formatBlock',(_0x33fbff,_0x329627,_0x27cdf9)=>{_0x4c9f77(_0x33fbff,_0x329627,_0x27cdf9,!0x0,!0x1);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['add'](_0x528e79=>{_0x528e79['on']('addMarker:suggestion:attribute',(_0x3ab256,_0x5497e6,_0x1a732e)=>{_0x4c9f77(_0x3ab256,_0x5497e6,_0x1a732e,!0x0,!0x0);},{'priority':'highest'});}),_0x14420b['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x32ed9a,_0x5736b5)=>_0x5736b5['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x32ed9a['substr'](0xb)}});const _0x1400b5=(_0x3c7a81,_0x1a37a2,_0x343745,_0x27bad7,_0x401abd)=>{if(_0x27bad7&&!_0x343745['options']['showSuggestionHighlights'])return;if(!_0x343745['consumable']['test'](_0x1a37a2['markerRange'],_0x3c7a81['name']))return;const _0x3ef5ea=this['_activeMarkers'],_0x257890=_0x1a37a2['markerRange']['getWalker'](),_0x109f82=_0x1a37a2['markerRange']['start'],_0x50f85b=_0x14420b['model']['schema'];let _0x481b9b=null,_0x2d841e=null,_0x5ccfc8=!0x1,_0x3681b4=!0x1;for(const _0x5205e4 of _0x257890){const _0x5a0275=_0x5205e4['item'];_0x5ccfc8=_0x5ccfc8||_0x50f85b['isContent'](_0x5a0275);const _0x9b18a8=_0x343745['mapper']['toViewElement'](_0x5a0275);if(_0x9b18a8&&_0x9b18a8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5205e4['type']&&(_0x50f85b['isBlock'](_0x5a0275)&&!_0x50f85b['isLimit'](_0x5a0275)&&(_0x5a0275['nextSibling']||_0x109f82['isAtEnd']?_0x481b9b&&_0x481b9b['parent']==_0x5a0275||(_0x481b9b=_0x5a0275,_0x53feeb(_0x5205e4['previousPosition']),_0x3681b4=!0x0):_0x2d841e=_0x2d841e||_0x5205e4['previousPosition']));}function _0x53feeb(_0x2c64d6){const {id:_0x2fad08,authorId:_0x45488f}=J(_0x1a37a2['markerName']),_0x504df2=_0x343745['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x401abd,'data-suggestion':_0x2fad08,'data-author-id':_0x45488f}),_0x2f0c7c=_0x343745['mapper']['toViewPosition'](_0x2c64d6);!_0x27bad7&&_0x3ef5ea['includes'](_0x1a37a2['markerName'])&&_0x343745['writer']['addClass']('ck-suggestion-marker--active',_0x504df2),_0x343745['writer']['insert'](_0x2f0c7c,_0x504df2),_0x343745['mapper']['bindElementToMarker'](_0x504df2,_0x1a37a2['markerName']);}_0x5ccfc8||_0x3681b4||!_0x2d841e||_0x53feeb(_0x2d841e);};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x236eba,_0x57b0a4,_0x9a8fbd)=>{_0x1400b5(_0x236eba,_0x57b0a4,_0x9a8fbd,!0x1,'merge');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2a831e,_0x7ef3f9,_0x491c76)=>{_0x1400b5(_0x2a831e,_0x7ef3f9,_0x491c76,!0x0,'merge');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x20bac2,_0x3197bf,_0x44243a)=>{_0x1400b5(_0x20bac2,_0x3197bf,_0x44243a,!0x1,'split');},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1514d0,_0x47e477,_0x36a4b7)=>{_0x1400b5(_0x1514d0,_0x47e477,_0x36a4b7,!0x0,'split');},{'priority':'high'}),_0x14420b['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xb980e9,_0x228cf2,_0x2eebdb)=>{((_0x5869a2,_0x2ab208,_0x36ca36)=>{const _0x2e4888=_0x36ca36['mapper']['markerNameToElements'](_0x2ab208['markerName']);if(_0x2e4888){for(const _0x459c17 of _0x2e4888)(_0x459c17['hasClass']('ck-suggestion-marker-split')||_0x459c17['hasClass']('ck-suggestion-marker-merge'))&&(_0x36ca36['mapper']['unbindElementFromMarkerName'](_0x459c17,_0x2ab208['markerName']),_0x36ca36['writer']['remove'](_0x459c17));}})(0x0,_0x228cf2,_0x2eebdb);},{'priority':'high'});const _0x4a82a3=(_0x16ba4e,_0x57e303,_0x58ab30,_0x16ed50)=>{if(_0x16ed50&&!_0x58ab30['options']['showSuggestionHighlights'])return;const _0x5e6511=_0x57e303['markerRange']['start'],_0x8c9a60=_0x57e303['markerRange']['end'],_0x3fc956=_0x14420b['model']['schema'];if(!_0x5e6511['isTouching'](_0x8c9a60)||!_0x5e6511['nodeAfter'])return;const _0x3e0b69=_0x5e6511['nodeAfter'];if(_0x3fc956['isBlock'](_0x3e0b69)&&!_0x3fc956['isLimit'](_0x3e0b69)&&_0x3fc956['checkChild'](_0x3e0b69,'$text')){if(!_0x58ab30['consumable']['consume'](_0x57e303['markerRange'],_0x16ba4e['name']))return;const {id:_0x53b01c,authorId:_0x46ea78}=J(_0x57e303['markerName']),_0x514702=_0x58ab30['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x53b01c,'data-author-id':_0x46ea78}),_0x433591=_0x58ab30['mapper']['toViewPosition'](_0x8c9a60);!_0x16ed50&&this['_activeMarkers']['includes'](_0x57e303['markerName'])&&_0x58ab30['writer']['addClass']('ck-suggestion-marker--active',_0x514702),_0x58ab30['writer']['insert'](_0x433591,_0x514702),_0x58ab30['mapper']['bindElementToMarker'](_0x514702,_0x57e303['markerName']);}};_0x14420b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x52fd15,_0x938bf7,_0x374f89)=>{_0x4a82a3(_0x52fd15,_0x938bf7,_0x374f89,!0x1);},{'priority':'high'}),_0x14420b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1ea14a,_0x406d98,_0x3811ce)=>{_0x4a82a3(_0x1ea14a,_0x406d98,_0x3811ce,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4ade74,_0x30041b,_0x2c6228)=>{this['_activeMarkers']=_0x2c6228['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x5e2f48){this['_blockAttributeKeys']['add'](_0x5e2f48);}registerInlineAttribute(_0x563a23){this['_inlineAttributeKeys']['add'](_0x563a23);}isBlockAttribute(_0x4303b3){return this['_blockAttributeKeys']['has'](_0x4303b3);}isInlineAttribute(_0x122e3b){return this['_inlineAttributeKeys']['has'](_0x122e3b);}isRegisteredAttribute(_0x473a20){return this['isInlineAttribute'](_0x473a20)||this['isBlockAttribute'](_0x473a20);}_getClassName(_0x50951d,_0x44aaad){if('attribute'!=_0x50951d)return'ck-suggestion-marker-'+_0x50951d;const _0x22bf2d=_0x44aaad['split']('|')[0x0];return this['isBlockAttribute'](_0x22bf2d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x12d08a={},_0x22a68f){if(void 0x0!==_0x12d08a['dateTimeFormat']&&'function'!=typeof _0x12d08a['dateTimeFormat'])throw new _0x2ed40a('invalid-date-time-format');return _0x5dd2da=>{const _0x2b8104='string'==typeof _0x5dd2da?_0x1acb75['fromISO'](_0x5dd2da):_0x1acb75['fromJSDate'](_0x5dd2da),_0x411a28=_0x1acb75['now'](),_0x507ad1=Math['floor'](_0x411a28['diff'](_0x2b8104,'days')['days']);return _0x12d08a['dateTimeFormat']?_0x12d08a['dateTimeFormat'](_0x2b8104['toJSDate'](),_0x22a68f&&_0x22a68f['t']?_0x22a68f['t']:void 0x0):0x0===_0x507ad1?_0x22a68f?D(_0x22a68f,'Today')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x507ad1?_0x22a68f?D(_0x22a68f,'Yesterday')+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x507ad1<0x7?_0x22a68f?D(_0x22a68f,'Last')+'\x20'+D(_0x22a68f,_0x2b8104['toFormat']('EEEE'))+'\x20'+_0x2b8104['toFormat']('hh:mma'):_0x2b8104['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2b8104['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x22c372,_0x160e6e){const _0x560618=_0x22c372['mapper']['markerNameToElements'](_0x160e6e['name']);if(!_0x560618)return null;const _0x59d57d=_0x5819e4(_0x560618['values']());return _0x22c372['view']['domConverter']['mapViewToDom'](_0x59d57d)||null;}function It(_0x54d419,_0x76bf78){if(0x0===_0x76bf78['length'])return null;const _0x4893b1=[],_0xc40b=_0x54d419['view']['domConverter'];for(const _0x57d88d of _0x76bf78){const _0x5bdcbf=_0x54d419['mapper']['markerNameToElements'](_0x57d88d['name']);if(!_0x5bdcbf)continue;const _0x17b236=Array['from'](_0x5bdcbf)['map'](_0x232c11=>_0xc40b['mapViewToDom'](_0x232c11))['filter'](_0x4b0ef2=>!!_0x4b0ef2);_0x4893b1['push'](..._0x17b236);}if(0x0===_0x4893b1['length'])return null;const _0x3fbcfa=[];for(const _0x5c695e of _0x4893b1){const _0x4ab3b7=_0x5c695e['getClientRects']()['item'](0x0);_0x4ab3b7&&_0x3fbcfa['push']({'x':_0x4ab3b7['x'],'y':_0x4ab3b7['y'],'domElement':_0x5c695e});}return 0x0===_0x3fbcfa['length']?null:(_0x3fbcfa['sort']((_0x27272c,_0x56282d)=>_0x27272c['y']-_0x56282d['y']||_0x27272c['x']-_0x56282d['x']),_0x3fbcfa['map'](_0x56c659=>_0x56c659['domElement']));}function St(_0x324617,{limit:_0x26bcdc,suffix:_0xdb49ce='...'}){const _0x403773=[];let _0x581ff3=0x0;const _0x116fd1=_0x324617['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1a4ae4=0x0;_0x1a4ae4<_0x116fd1['length'];_0x1a4ae4++){let _0x552ab3=_0x116fd1[_0x1a4ae4];const _0x550939=Et(_0x552ab3);if(_0x552ab3['startsWith']('<')){if(_0x581ff3>=_0x26bcdc){const _0x33729e=_0x552ab3['match'](/[a-zA-Z]+/);if(!_0x33729e){_0x116fd1[_0x1a4ae4]='';continue;}const _0x46c487=_0x33729e[0x0];_0x552ab3['startsWith']('</')?(_0x403773['length']&&(_0x552ab3=''),_0x403773['pop']()):(_0x403773['push'](_0x46c487),_0x552ab3='');}}else{if(_0x581ff3>=_0x26bcdc)_0x552ab3='';else{if(_0x581ff3+_0x550939['length']>=_0x26bcdc){let _0x172663=_0x26bcdc-_0x581ff3;if('\x20'===_0x550939[_0x172663-0x1])_0x172663--;else{const _0xe55781=_0x550939['slice'](_0x172663)['indexOf']('\x20');-0x1!==_0xe55781?_0x172663+=_0xe55781:_0x172663=_0x552ab3['length'];}_0x552ab3=_0x550939['slice'](0x0,_0x172663)['join']('')+_0xdb49ce,_0x581ff3=_0x26bcdc;}else _0x581ff3+=_0x550939['length'];}}_0x116fd1[_0x1a4ae4]=_0x552ab3;}return _0x116fd1['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x223ab2){const _0x507c72=[];for(let _0x3fbb92=0x0;_0x3fbb92<_0x223ab2['length'];_0x3fbb92++){const _0x453457=_0x223ab2['substring'](_0x3fbb92)['match'](/^&[a-z0-9#]+;/);if(_0x453457){const _0x54761a=_0x453457[0x0];_0x507c72['push'](_0x54761a),_0x3fbb92+=_0x54761a['length']-0x1;}else _0x507c72['push'](_0x223ab2[_0x3fbb92]);}return _0x507c72;}var Mt=class extends _0x56c67c{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x59403c){super(_0x59403c);const _0x11e6a0=this['bindTemplate'];this['set']('message',D(_0x59403c,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'Yes'),_0x361f60,'submit'),this['cancelView']=this['_createButtonView'](_0x59403c,D(_0x59403c,'No'),_0xdfa83c,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x33a34f(),this['keystrokes']=new _0x149e7e(),this['focusCycler']=new _0x13b8a3({'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':_0x11e6a0['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(_0x21c2a3,_0x5556c2,_0x2304d9,_0x4d4d1c){const _0x3e813b=new _0x16dd91(_0x21c2a3);return _0x3e813b['label']=_0x5556c2,_0x3e813b['icon']=_0x2304d9,_0x3e813b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4d4d1c}}),_0x3e813b['on']('execute',()=>this['fire'](_0x4d4d1c)),_0x3e813b;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x406713=>{this['keystrokes']['listenTo'](_0x406713['element']),this['focusTracker']['add'](_0x406713['element']);}),this['keystrokes']['set']('esc',(_0x5b12f0,_0x4b8fdd)=>{this['fire']('cancel'),_0x4b8fdd();});}};function At(_0x374f15){return class _0x3db009 extends _0x374f15{['showConfirm'](_0x873a4c,_0x15fb23){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x873a4c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x15fb23['appendChild'](this['confirmView']['element']),_0x15fb23['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x24655c,_0x9a4a46,_0x11fe0d)=>{_0x11fe0d||_0x15fb23['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x6a4f1c=>this['confirmView']['on']('submit',_0x6a4f1c));}['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(_0x3ac43a){let _0x5ec816=0x0,_0x47e1c7=0x0;for(const _0x41c697 of Nt(_0x3ac43a))_0x5ec816=(_0x5ec816<<0x5)-_0x5ec816+_0x41c697,_0x5ec816&=_0x5ec816,[_0x5ec816,_0x47e1c7]=[_0x47e1c7,_0x5ec816];return Bt(_0x5ec816)+Bt(_0x47e1c7);}function*Pt(_0x595fd8){null==_0x595fd8||null==_0x595fd8?yield 0x12b9b0a1:0x0===_0x595fd8||!0x1===_0x595fd8?yield 0x0:0x1===_0x595fd8||0x1==_0x595fd8?yield 0x1:Array['isArray'](_0x595fd8)?yield*function*(_0x4d0b57){for(const _0x1ecfc2 of _0x4d0b57)yield*Pt(_0x1ecfc2);}(_0x595fd8):'object'==typeof _0x595fd8?yield*Nt(_0x595fd8):'string'==typeof _0x595fd8?yield*Vt(_0x595fd8):'number'==typeof _0x595fd8&&(yield _0x595fd8);}function*Nt(_0x2bec2c){if(yield Ot('{'),_0x2bec2c){const _0x3f4dd9=Object['keys'](_0x2bec2c)['sort']();for(const _0x2da4f3 of _0x3f4dd9){yield*Vt(_0x2da4f3),yield Ot(':');const _0x3335ff=_0x2bec2c[_0x2da4f3];yield*Pt(_0x3335ff);}}yield Ot('}');}function*Vt(_0x5ce9ae){yield Ot('\x22');for(const _0x2bd7a1 of _0x5ce9ae)yield Ot(_0x2bd7a1);yield Ot('\x22');}function Ot(_0x2c3b61){return _0x2c3b61['charCodeAt'](0x0);}function Bt(_0x5cab94){return(_0x5cab94*=Math['sign'](_0x5cab94))['toString'](0x24);}function Dt(_0xc55b72){if('addAttribute'!=_0xc55b72['type']&&'removeAttribute'!=_0xc55b72['type']&&'changeAttribute'!=_0xc55b72['type'])return!0x1;try{return _0xc55b72['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x462998,_0x26dc94,_0x19e268,_0x193cff=[]){const _0x22d3fd='string'==typeof _0x462998?_0x19e268['get'](_0x462998)['constructor']:_0x462998['prototype']['constructor'];if(_0x26dc94['has'](_0x22d3fd))return _0x26dc94['get'](_0x22d3fd);_0x26dc94['set'](_0x22d3fd,!0x0);const _0x3b667e=[...Lt,..._0x193cff]['map'](_0x10325a=>{if(_0x19e268['has'](_0x10325a))return _0x19e268['get'](_0x10325a)['constructor'];})['filter'](_0x44048e=>_0x44048e);if(_0x22d3fd&&_0x3b667e['includes'](_0x22d3fd))return _0x26dc94['set'](_0x22d3fd,!0x1),!0x1;if(!_0x22d3fd['requires'])return _0x26dc94['set'](_0x22d3fd,!0x0),!0x0;const _0x574144=_0x22d3fd['requires']['every'](_0x5b53c4=>Rt(_0x5b53c4,_0x26dc94,_0x19e268,_0x193cff));return _0x26dc94['set'](_0x22d3fd,_0x574144),_0x574144;}function Ft(_0xe5221e,_0x28f8d6){const _0x5ad827={};for(const _0x5216c3 of _0xe5221e['config']['names']())$t['includes'](_0x5216c3)||(_0x5ad827[_0x5216c3]=_0xe5221e['config']['get'](_0x5216c3));const _0x1452f5=_0x5ad827['plugins']||[],_0x43c32a=_0xe5221e['constructor']['builtinPlugins']||[],_0x38173f=_0x1452f5['length']?_0x1452f5:_0x43c32a,_0x777b99=_0x5ad827['extraPlugins']||[];delete _0x5ad827['extraPlugins'];const _0xa88489=_0x5ad827['removePlugins']||[];delete _0x5ad827['removePlugins'];const _0x539427=_0xe5221e['_context']['config']['get']('plugins')||[],_0x38caac=_0x38173f['concat'](_0x777b99)['concat'](_0x539427)['map'](_0x1ae56a=>'string'==typeof _0x1ae56a?_0x43c32a['find'](_0x104e20=>_0x104e20['pluginName']==_0x1ae56a):_0x1ae56a)['filter'](_0xc9afbb=>!_0xa88489['includes'](_0xc9afbb)&&!_0xa88489['includes'](_0xc9afbb['pluginName'])),_0x2c924a=Array['from'](new Set(_0x38caac)),_0x37c226=new Map();return _0x5ad827['plugins']=_0x2c924a['filter'](_0x3bc85b=>Rt(_0x3bc85b,_0x37c226,_0xe5221e['plugins'],_0x28f8d6)),_0x5ad827;}function Ht(_0x193c28,_0x1b9373){const _0x26366d=[];_0x193c28['document']['selection']['on']('change:range',()=>{const _0x37219f=function(_0x2e900c,_0x302fcd){const _0x4ac8ba=[];for(const _0x251656 of _0x2e900c['markers']){const _0x386de5=_0x251656['getRange']();(_0x386de5['containsPosition'](_0x302fcd)||_0x386de5['start']['isEqual'](_0x302fcd)||_0x386de5['end']['isEqual'](_0x302fcd))&&_0x4ac8ba['push'](_0x251656);}return _0x4ac8ba;}(_0x193c28,_0x193c28['document']['selection']['focus']),_0x409980=[],_0x188525=[],_0xcb8afb=[];for(const _0xae7b46 of _0x26366d)_0x37219f['includes'](_0xae7b46)||_0x409980['push'](_0xae7b46);for(const _0x3049d5 of _0x37219f)_0x26366d['includes'](_0x3049d5)||_0x188525['push'](_0x3049d5),_0xcb8afb['push'](_0x3049d5);(_0x409980['length']||_0x188525['length'])&&_0x1b9373({'left':_0x409980,'entered':_0x188525}),_0x26366d['length']=0x0,_0x26366d['push'](..._0xcb8afb);});}const Ut='Ctrl+Shift+E';function zt(_0x4737a4,_0x45b3ba){const _0x3b4db0=_0x4737a4['element'];_0x4737a4['keystrokes']['listenTo'](_0x3b4db0);for(const _0x2cb095 of _0x45b3ba)Wt(_0x4737a4,_0x2cb095);_0x45b3ba['on']('change',(_0x4cabaa,_0xc226e8)=>{for(const _0x3ccfaa of _0xc226e8['removed'])Yt(_0x4737a4,_0x3ccfaa);for(const _0x15f9dc of Array['from'](_0xc226e8['added'])['reverse']())Wt(_0x4737a4,_0x15f9dc);}),_0x4737a4['keystrokes']['set']('enter',(_0x164ebf,_0x2ffa28)=>{_0x3b4db0===_0x164ebf['target']&&(_0x4737a4['focusCycler']['focusFirst'](),_0x2ffa28());},{'filter':_0x4e851b=>_0x4e851b['target']===_0x3b4db0}),_0x4737a4['keystrokes']['set']('esc',(_0x466429,_0x26a021)=>{_0x3b4db0!==_0x466429['target']?_0x4737a4['focus']():_0x4737a4['fire']('escape'),_0x26a021();}),_0x4737a4['keystrokes']['set']('arrowdown',(_0x5b295b,_0x268471)=>{_0x3b4db0===_0x5b295b['target']&&(_0x4737a4['fire']('arrowdown'),_0x268471());}),_0x4737a4['keystrokes']['set']('arrowup',(_0x96551d,_0x54b117)=>{_0x3b4db0===_0x96551d['target']&&(_0x4737a4['fire']('arrowup'),_0x54b117());});}function Wt(_0x59c8e9,_0x57e4d0){_0x57e4d0['isRendered']&&(_0x59c8e9['focusTracker']['add'](_0x57e4d0['element']),_0x59c8e9['keystrokes']['listenTo'](_0x57e4d0['element']),_0x1488d5(_0x57e4d0)&&function(_0x3c6866,_0x17615a){const _0x142297=_0x3c6866['actions'],_0x37b496=_0x17615a['actions'];for(const _0x2194a0 of Object['keys'](_0x142297))if(_0x2194a0 in _0x37b496&&_0x142297[_0x2194a0]!==_0x37b496[_0x2194a0])return!0x1;return!0x0;}(_0x59c8e9['focusCycler'],_0x57e4d0['focusCycler'])&&_0x59c8e9['focusCycler']['chain'](_0x57e4d0['focusCycler']));}function Yt(_0xf17e87,_0x413efd){_0xf17e87['focusTracker']['remove'](_0x413efd['element']),_0xf17e87['keystrokes']['stopListening'](_0x413efd['element']),_0x1488d5(_0x413efd)&&_0xf17e87['focusCycler']['unchain'](_0x413efd['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x37f27d{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x5483eb?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4ee93d,_0x413354)=>{_0x413354['on']('ready',()=>{this['_integrateEditor'](_0x413354);});});}get editor(){if(this['context']instanceof _0x5483eb)return this['context'];{const _0x5b3585=this['context']['editors']['first'];if(!_0x5b3585)throw new _0x2ed40a('documentcompare-no-editor',this);return _0x5b3585;}}getDiff(_0x2823fb,_0x366303,_0x3eebcd={'anchor':'main','markDeletions':!0x1}){const _0x48c190=_0x3eebcd['targetEditor']||this['editor'],_0x1ba249=_0x3eebcd['anchor']??'main';let _0x473af2,_0x1f9185;if('string'==typeof _0x1ba249){const _0x2573f3=_0x48c190['model']['document']['getRoot'](_0x1ba249);if(!_0x2573f3)throw new _0x2ed40a('documentcompare-compare-no-root',this,{'anchor':_0x1ba249});_0x473af2=_0x2573f3,_0x1f9185=_0x48c190['model']['createPositionAt'](_0x2573f3,0x0);}else _0x473af2=_0x1ba249['clone'](),_0x1f9185=_0x1ba249['clone']();const _0x2bbd10=_0x48c190['data']['parse'](_0x2823fb,_0x473af2),_0x43ffa9=_0x48c190['data']['parse'](_0x366303,_0x473af2);return new Kt({'editor':_0x48c190,'before':_0x2bbd10,'after':_0x43ffa9,'options':{'anchor':_0x1f9185,'markDeletions':_0x3eebcd['markDeletions']}});}isMarkedRemoveOperation(_0x179306){return'marker'==_0x179306['type']&&_0x179306['name']['startsWith']('$markedRemove');}applyOperations(_0x1c8eb7,_0xa82eda){const _0x2ed2bf=_0x1c8eb7['model'];for(const _0x4e81a4 of _0xa82eda)Dt(_0x4e81a4)||(_0x4e81a4 instanceof _0x16d21e?_0x1c8eb7['_addOperationForAffectedMarkers']('move',_0x5e9b44['_createFromPositionAndShift'](_0x4e81a4['sourcePosition'],_0x4e81a4['howMany'])):_0x4e81a4 instanceof _0x5288f2?_0x1c8eb7['_addOperationForAffectedMarkers']('merge',_0x4e81a4['deletionPosition']):_0x4e81a4 instanceof _0x23d8eb&&this['_fixMarkerOperationOldRange'](_0x2ed2bf,_0x4e81a4),_0x4e81a4['baseVersion']=_0x2ed2bf['document']['version'],_0x1c8eb7['batch']['addOperation'](_0x4e81a4),_0x2ed2bf['applyOperation'](_0x4e81a4));}_fixMarkerOperationOldRange(_0x138e24,_0xe6aaa0){const _0x1c41c0=_0x138e24['markers']['get'](_0xe6aaa0['name']);_0x1c41c0&&(_0xe6aaa0['oldRange']=_0x1c41c0['getRange']());}_integrateEditor(_0x4593cc){_0x4593cc['conversion']['for']('upcast')['add'](_0x2a93c3=>{_0x2a93c3['on']('element',(_0x2178ca,_0x2ca096,_0xb7646f)=>{if(_0x2ca096['modelRange']&&_0xb7646f['consumable']['consume'](_0x2ca096['viewItem'],{'attributes':'data-id'}))for(const _0x3abd89 of _0x2ca096['modelRange']['getItems']({'shallow':!0x0})){if(_0x3abd89['is']('$textProxy'))continue;const _0x16a8ca=_0x2ca096['viewItem']['getAttribute'](Jt);_0x16a8ca&&_0xb7646f['writer']['setAttribute'](jt,_0x16a8ca,_0x3abd89);}},{'priority':'low'});}),_0x4593cc['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x12e994,before:_0x4ac06c,after:_0x15e496,options:_0x348387}){this['_editor']=_0x12e994,this['_markDeletions']=!!_0x348387['markDeletions'],this['_anchor']=_0x348387['anchor'];const _0x4ea806=this['_tokenizeModel'](_0x4ac06c),_0x10b1ec=this['_tokenizeModel'](_0x15e496);this['_diffItems']=this['_diffModelTokens'](_0x4ea806,_0x10b1ec),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4ac06c['markers'],_0x15e496['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x16a0c8=this['_editor']['model']['document'],_0x441f39=[];let _0x19d0df=_0x16a0c8['version'];for(const _0x806d1c of this['_operationsData'])switch(_0x806d1c['type']){case'attribute':{const _0x20eb25=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1c865c=new _0x5e9b44(_0x20eb25,_0x20eb25['getShiftedBy'](_0x806d1c['howMany'])),_0x4f64ed=JSON['parse'](_0x806d1c['oldValue']),_0x4624b3=JSON['parse'](_0x806d1c['newValue']);_0x441f39['push'](new _0x81dec2(_0x1c865c,_0x806d1c['key'],_0x4f64ed,_0x4624b3,_0x19d0df++));break;}case'insert':{const _0x307ac3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x1b315a=this['_makeModelFromTokens'](_0x806d1c['tokens']);_0x441f39['push'](new _0x3c448e(_0x307ac3,_0x1b315a,_0x19d0df++));break;}case'remove':{const _0x21512c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x52157e=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x21512c,_0x806d1c['howMany'],_0x52157e,_0x19d0df++));break;}case'rename':{const _0x535aa6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']);_0x441f39['push'](new _0x118b44(_0x535aa6,_0x806d1c['oldName'],_0x806d1c['newName'],_0x19d0df++));break;}case'split':{const _0x2a7850=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']),_0x4fbeaa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['path']['slice'](0x0,-0x1));_0x4fbeaa['offset']++,_0x441f39['push'](new _0x338267(_0x2a7850,Number['NEGATIVE_INFINITY'],_0x4fbeaa,null,_0x19d0df++));break;}case'merge':{const _0x468244=_0x806d1c['path']['slice'](),_0x2ed1b3=_0x468244['slice'](0x0,-0x1);_0x2ed1b3[_0x2ed1b3['length']-0x1]++,_0x2ed1b3['push'](0x0);const _0x2a8b66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ed1b3),_0x584675=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x468244),_0xc630ff=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x5288f2(_0x2a8b66,Number['NEGATIVE_INFINITY'],_0x584675,_0xc630ff,_0x19d0df++));break;}case'marker':case'markedRemove':{let _0x3ca5c4=null;_0x806d1c['range']&&(_0x3ca5c4=new _0x5e9b44(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end'])));const _0x1ea992='marker'==_0x806d1c['type']?_0x806d1c['name']:'$markedRemove:'+_0x294bfc();_0x441f39['push'](new _0x23d8eb(_0x1ea992,null,_0x3ca5c4,_0x16a0c8['model']['markers'],!0x0,_0x19d0df++));break;}case'unwrap':{const _0x4fb6e5=_0x806d1c['path']['slice']();_0x4fb6e5['push'](0x0);const _0x4614dd=_0x806d1c['path']['slice'](),_0x5e0742=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4fb6e5),_0x3a28e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4614dd),_0x54fe52=new _0x224efa(_0x16a0c8['graveyard'],[0x0]);_0x441f39['push'](new _0x16d21e(_0x5e0742,_0x806d1c['howMany'],_0x3a28e2,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3a28e2['getShiftedBy'](_0x806d1c['howMany']),0x1,_0x54fe52,_0x19d0df++));break;}case'wrap':{const _0x3e39e2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['start']),_0x5f38a9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x806d1c['range']['end']),_0x542252=_0x806d1c['token']['element']['_clone'](!0x1);_0x542252['_removeAttribute'](jt);const _0x4755b1=_0x806d1c['range']['end']['slice']();_0x4755b1['push'](0x0);const _0x34e7fa=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4755b1);_0x441f39['push'](new _0x3c448e(_0x5f38a9,_0x542252,_0x19d0df++)),_0x441f39['push'](new _0x16d21e(_0x3e39e2,_0x5f38a9['offset']-_0x3e39e2['offset'],_0x34e7fa,_0x19d0df++));break;}}return _0x441f39;}_tokenizeModel(_0x4eb54a){const _0x2e6e79=[],_0x46610a=new _0x384a2d({'boundaries':_0x5e9b44['_createIn'](_0x4eb54a)});let _0x3a4edf='',_0x3c59e7=null;const _0x25f0a1=[''],_0x4a5f1c=new Map();for(const _0x175dfc of _0x46610a)if('elementStart'==_0x175dfc['type']||'elementEnd'==_0x175dfc['type']){let _0x3ebffb=_0x25f0a1[0x0];''!==_0x3a4edf&&(_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x3ebffb)),_0x3a4edf='');const _0x20f06b=_0x175dfc['item'];let _0x43c9a9;_0x20f06b['getAttribute']('$elementId')?_0x43c9a9=_0x20f06b['getAttribute'](jt):'elementStart'==_0x175dfc['type']?(_0x43c9a9=Zt(_0x20f06b),_0x4a5f1c['set'](_0x20f06b,_0x43c9a9)):_0x43c9a9=_0x4a5f1c['get'](_0x20f06b);const _0x38b10c=this['_getElementCategory'](_0x20f06b);'solid'==_0x38b10c&&('elementStart'==_0x175dfc['type']?(_0x3ebffb=_0x43c9a9,_0x25f0a1['unshift'](_0x3ebffb)):_0x25f0a1['shift']());const _0x4495ca={'type':'element','element':_0x20f06b,'elementId':_0x43c9a9,'category':_0x38b10c,'isStart':'elementStart'==_0x175dfc['type'],'limitId':_0x3ebffb};_0x2e6e79['push'](_0x4495ca);}else''==_0x3a4edf&&(_0x3c59e7=_0x175dfc['previousPosition']['clone']()),_0x3a4edf+=_0x175dfc['item']['data'];return''!==_0x3a4edf&&_0x2e6e79['push'](...this['_makeTokensFromTextByWords'](_0x3a4edf,_0x3c59e7,_0x25f0a1[0x0])),_0x2e6e79;}_makeTokensFromTextByWords(_0x10f2a5,_0x47a5ee,_0x2825af){const _0xd820a0=_0x10f2a5['matchAll'](/(\s)/g),_0x515207=Array['from'](_0xd820a0)['map'](_0x12ea27=>_0x12ea27['index']);_0x515207['push'](_0x10f2a5['length']),0x0==_0x515207[0x0]&&_0x515207['shift']();const _0x3cada7=[],_0x58b6e0=_0x47a5ee['parent'];let _0x3fc046=0x0,_0x29e50e=_0x47a5ee['offset'];for(let _0x589b96=0x0;_0x589b96<_0x515207['length'];_0x589b96++)_0x3cada7['push']({'type':'text','data':_0x10f2a5['slice'](_0x3fc046,_0x515207[_0x589b96]),'parent':_0x58b6e0,'offset':_0x29e50e,'limitId':_0x2825af}),_0x3fc046=_0x515207[_0x589b96],_0x29e50e=_0x47a5ee['offset']+_0x515207[_0x589b96];return _0x3cada7;}_getElementCategory(_0x57a0eb){const _0x351d61=this['_editor']['model']['schema'];return _0x351d61['isLimit'](_0x57a0eb)||_0x351d61['isContent'](_0x57a0eb)||_0x351d61['isInline'](_0x57a0eb)?'solid':_0x351d61['isBlock'](_0x57a0eb)?'block':function(_0x3b6bc3,_0x1cfb67){const _0x7ea1b8=_0x3b6bc3['parent'];if(!_0x7ea1b8||_0x7ea1b8['is']('documentFragment'))return!0x1;if(_0x1cfb67['checkChild'](_0x7ea1b8,'$text'))return!0x1;for(const _0x251ec1 of _0x3b6bc3['getChildren']())if(_0x251ec1['is']('$text'))return!0x0;return!0x1;}(_0x57a0eb,_0x351d61)?'solid':'container';}['_diffModelTokens'](_0x5295be,_0x5f2735){const _0x3dcff3=_0x563a26(_0x5295be,_0x5f2735,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3dcff3);const _0x2a17ec=_0x3dcff3['flatMap'](_0x1ebb7f=>{const _0x59efd5=_0x1ebb7f['added']?'added':_0x1ebb7f['removed']?'removed':'unchanged';return _0x1ebb7f['value']['map'](_0x3aae95=>({'token':_0x3aae95,'change':_0x59efd5}));});let _0x801155=0x0;for(const _0x437f1b of _0x2a17ec)'added'!=_0x437f1b['change']&&('unchanged'==_0x437f1b['change']&&(_0x437f1b['before']=_0x5295be[_0x801155]),_0x801155++);return _0x2a17ec;}['_handleUnclosedBlockOpeningTags'](_0x2acbf6){for(let _0x117167=0x0;_0x117167<_0x2acbf6['length']-0x1;_0x117167++)if(_0x2acbf6[_0x117167]['removed']&&_0x2acbf6[_0x117167+0x1]['added']){const _0x3deda9=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167]['value']);if(null!==_0x3deda9){const _0x3ac27b=this['_findUnclosedBlockOpeningToken'](_0x2acbf6[_0x117167+0x1]['value']),_0x3896cc=_0x2acbf6[_0x117167]['value']['splice'](_0x3deda9),_0x27a7b4=_0x2acbf6[_0x117167+0x1]['value']['splice'](_0x3ac27b),_0x555bdd=[_0x27a7b4['shift']()];_0x3896cc['shift']();const _0x35c14b={'value':_0x3896cc,'removed':!0x0},_0xbcbdf6={'value':_0x27a7b4,'added':!0x0},_0x4888ca={'value':_0x555bdd};_0x2acbf6['splice'](_0x117167+0x2,0x0,_0x4888ca,_0x35c14b,_0xbcbdf6);}}}['_findUnclosedBlockOpeningToken'](_0x1e8132){let _0x402b10=0x0,_0x4bd5b4=-0x1;for(let _0x6305e5=0x0;_0x6305e5<_0x1e8132['length'];_0x6305e5++){const _0x4bc600=_0x1e8132[_0x6305e5];'element'==_0x4bc600['type']&&'block'==_0x4bc600['category']&&(_0x402b10+=_0x4bc600['isStart']?0x1:-0x1,_0x4bc600['isStart']&&(_0x4bd5b4=_0x6305e5));}return 0x0===_0x402b10?null:_0x4bd5b4;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5df9e2=0x0;_0x5df9e2<this['_diffItems']['length'];_0x5df9e2++){const _0x37ab91=this['_diffItems'][_0x5df9e2]['change'],_0x15edd4=[];_0x15edd4['push'](this['_diffItems'][_0x5df9e2]);let _0x56c65e=_0x5df9e2+0x1;for(;this['_diffItems'][_0x56c65e]&&this['_diffItems'][_0x56c65e]['change']==_0x37ab91;)_0x15edd4['push'](this['_diffItems'][_0x56c65e]),_0x56c65e++,_0x5df9e2++;const _0x3bac3e=_0x15edd4['map'](_0x2ae725=>_0x2ae725['token']);if('unchanged'==_0x37ab91)_0x15edd4['map'](_0x37a0ef=>_0x37a0ef['before'])['forEach'](_0x41993b=>this['_traverseOverItem'](_0x41993b));else{if('removed'==_0x37ab91){if(this['_markDeletions']){const _0x41c38e=this['_path']['slice']();_0x3bac3e['forEach'](_0x4faa9f=>this['_traverseOverItem'](_0x4faa9f));const _0xb434b4=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x41c38e,'end':_0xb434b4}});}else this['_handleChanged'](_0x3bac3e,!0x0,this['_path']['slice']());}else{const _0x5a187c=_0x3bac3e['filter'](_0x2b634d=>'element'!=_0x2b634d['type']||'container'!=_0x2b634d['category']);this['_handleChanged'](_0x5a187c,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x102b65=0x0;_0x102b65<this['_diffItems']['length'];_0x102b65++){const _0x5e1db8=this['_diffItems'][_0x102b65]['change'],_0x169e09=[];_0x169e09['push'](this['_diffItems'][_0x102b65]);let _0x101be4=_0x102b65+0x1;for(;this['_diffItems'][_0x101be4]&&this['_diffItems'][_0x101be4]['change']==_0x5e1db8;)_0x169e09['push'](this['_diffItems'][_0x101be4]),_0x101be4++,_0x102b65++;const _0x592cd4=_0x169e09['map'](_0x218e43=>_0x218e43['token']);if('unchanged'==_0x5e1db8){const _0x10f9a4=_0x169e09['map'](_0x45f9f2=>_0x45f9f2['before']);this['_handleUnchanged'](_0x10f9a4,_0x592cd4);}else('added'==_0x5e1db8||this['_markDeletions'])&&_0x592cd4['forEach'](_0x508945=>{'element'==_0x508945['type']&&_0x508945['isStart']&&this['_splitPostponedData']['has'](_0x508945['element'])&&this['_handleSplitPostponedData'](_0x508945['element'],this['_path']),this['_traverseOverItem'](_0x508945);});}}_handleSplitPostponedData(_0x2de1b5,_0x177336){const _0x327c0f=this['_splitPostponedData']['get'](_0x2de1b5);for(const _0x8495f8 of _0x327c0f)'rename'==_0x8495f8['type']?this['_operationsData']['push']({'type':'rename','path':_0x177336['slice'](),'oldName':_0x8495f8['oldValue'],'newName':_0x2de1b5['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x177336['slice'](),'howMany':0x1,'key':_0x8495f8['key'],'oldValue':_0x8495f8['oldValue'],'newValue':JSON['stringify'](_0x2de1b5['getAttribute'](_0x8495f8['key'])??null)});}_calculateMarkersOperationsData(_0x22d626,_0x565703){const _0x3a3c8d={};for(const [_0x182a64]of _0x22d626)_0x3a3c8d[_0x182a64]=null;for(const [_0x1c8448,_0x5a3628]of _0x565703)_0x3a3c8d[_0x1c8448]=_0x5a3628;const _0x2e490d=Object['entries'](_0x3a3c8d)['map'](([_0x3a8ad9,_0x10f3e3])=>({'type':'marker','name':_0x3a8ad9,'range':_0x10f3e3?{'start':_0x10f3e3['start']['path']['slice'](),'end':_0x10f3e3['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2e490d);}['_handleUnwraps'](){const _0x13dd19=new Map(),_0x2e64a9=[],_0x2f711a=[0x0];let _0x16f813=this['_diffItems']['length']+0x1;for(let _0x34cb69=this['_diffItems']['length']-0x1;_0x34cb69>=0x0;_0x34cb69--){const {token:_0x31a667,before:_0x4aa5e9,change:_0x226ff4}=this['_diffItems'][_0x34cb69];if('removed'!=_0x226ff4&&(_0x16f813=_0x34cb69),'element'!=_0x31a667['type']||'container'!=_0x31a667['category']||'added'==_0x226ff4)continue;const _0x1f4191=_0x4aa5e9?_0x4aa5e9['element']:_0x31a667['element'];if(_0x31a667['isStart']){const _0x2b32b3=_0x13dd19['get'](_0x1f4191),_0x199f5f=this['_diffItems'][_0x2b32b3];('removed'==_0x226ff4||'removed'==_0x199f5f['change'])&&_0x16f813<_0x2b32b3&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1f4191['getPath'](),'howMany':_0x1f4191['maxOffset']+_0x2f711a[0x0]}),_0x2f711a['shift'](),_0x2f711a[0x0]+=_0x1f4191['maxOffset']-0x1,_0x2e64a9['push'](_0x34cb69),_0x2e64a9['push'](_0x2b32b3));}else _0x13dd19['set'](_0x1f4191,_0x34cb69),_0x2f711a['unshift'](0x0);}_0x2e64a9['sort']((_0x485ef4,_0x21a72c)=>_0x21a72c-_0x485ef4),_0x2e64a9['forEach'](_0x5b04f6=>{const _0x3da12a=this['_diffItems'][_0x5b04f6];'removed'==_0x3da12a['change']?this['_diffItems']['splice'](_0x5b04f6,0x1):(_0x3da12a['change']='added',delete _0x3da12a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x28076b=[];for(let _0x126acf=0x0;_0x126acf<this['_diffItems']['length'];_0x126acf++){const {change:_0x43aeb8,token:_0x465017}=this['_diffItems'][_0x126acf];if('added'==_0x43aeb8&&'element'==_0x465017['type']&&'container'==_0x465017['category']){if(_0x465017['isStart'])_0x28076b['push'](this['_path']['slice']());else{if(!_0x465017['isStart']){const _0x20dd91=_0x28076b['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x20dd91,'end':this['_path']['slice']()},'token':_0x465017}),this['_path'][this['_path']['length']-0x1]=_0x20dd91[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x43aeb8||this['_markDeletions'])&&this['_traverseOverItem'](_0x465017);}}['_handleUnchanged'](_0x1b9540,_0x1c7a4a){for(let _0x5d6021=0x0;_0x5d6021<_0x1b9540['length'];_0x5d6021++){const _0x414a45=_0x1b9540[_0x5d6021];if('element'==_0x414a45['type']&&_0x414a45['isStart']){const _0x3112f8=_0x1c7a4a[_0x5d6021];'block'==_0x414a45['category']&&this['_handleElementRename'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_handleElementAttributeChanges'](_0x414a45['element'],_0x3112f8['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3112f8);}else{if('element'!=_0x414a45['type']||_0x414a45['isStart']){if('text'==_0x414a45['type']){const _0x46de69=this['_path']['slice'](),_0x41d9cb=[],_0x3f5890=[];for(;_0x1b9540[_0x5d6021]&&'text'==_0x1b9540[_0x5d6021]['type'];)_0x41d9cb['push'](_0x1b9540[_0x5d6021]),_0x3f5890['push'](_0x1c7a4a[_0x5d6021]),this['_path'][this['_path']['length']-0x1]+=_0x1b9540[_0x5d6021]['data']['length'],_0x5d6021++;_0x5d6021--,this['_handleTextAttributeChanges'](_0x41d9cb,_0x3f5890,_0x46de69);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x19bf0a,_0x265f45,_0x3aa7c3){const _0x561e4f=[],_0x2ff438=[],_0x36fae8=_0x3aa7c3['slice']();let _0x3c04bd=this['_parents']['length']-0x1;for(let _0x2ce306=0x0;_0x2ce306<_0x19bf0a['length'];_0x2ce306++){const _0x299580=_0x19bf0a[_0x2ce306],_0x5d85f5=_0x3aa7c3['slice']();'element'!=_0x299580['type']||_0x299580['isStart']?'element'==_0x299580['type']&&_0x299580['isStart']?(_0x3aa7c3['push'](0x0),_0x3c04bd++,_0x2ff438['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306})):_0x3aa7c3[_0x3aa7c3['length']-0x1]+=_0x299580['data']['length']:(_0x3aa7c3['pop'](),_0x3aa7c3[_0x3aa7c3['length']-0x1]++,_0x3c04bd--,_0x2ff438['length']?_0x2ff438['pop']():_0x561e4f['push']({'before':_0x5d85f5,'after':_0x3aa7c3['slice'](),'index':_0x2ce306}));}if(_0x2ff438['length']!==_0x561e4f['length'])throw new _0x2ed40a('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x19bf0a,'isRemove':_0x265f45});const _0x4e4f6a=[{'after':_0x36fae8['slice'](),'index':-0x1},..._0x561e4f,..._0x2ff438,{'before':_0x3aa7c3['slice'](),'index':_0x19bf0a['length']}];if(_0x265f45){for(let _0x4cc4a9=_0x4e4f6a['length']-0x1;_0x4cc4a9>=0x1;_0x4cc4a9--){const _0xef103b=_0x4e4f6a[_0x4cc4a9-0x1]['after'],_0x13c18a=_0x4e4f6a[_0x4cc4a9]['before'],_0x3e8f0a=_0x13c18a[_0x13c18a['length']-0x1]-_0xef103b[_0xef103b['length']-0x1];_0x3e8f0a&&(this['_operationsData']['push']({'type':'remove','path':_0xef103b,'howMany':_0x3e8f0a}),_0x13c18a[_0x13c18a['length']-0x1]-=_0x3e8f0a);}for(const {before:_0x319af2}of _0x561e4f)this['_operationsData']['push']({'type':'merge','path':_0x319af2});}else for(let _0x36f47f=0x0;_0x36f47f<_0x4e4f6a['length']-0x1;_0x36f47f++){const _0x1b2d6b=_0x4e4f6a[_0x36f47f]['after'],_0x379c05=_0x4e4f6a[_0x36f47f+0x1]['before'],_0x390ede=_0x4e4f6a[_0x36f47f]['index']+0x1,_0x96a7ec=_0x4e4f6a[_0x36f47f+0x1]['index'];if(_0x390ede!==_0x96a7ec&&this['_operationsData']['push']({'type':'insert','path':_0x1b2d6b,'tokens':_0x19bf0a['slice'](_0x390ede,_0x96a7ec)}),_0x36f47f<_0x561e4f['length']){this['_operationsData']['push']({'type':'split','path':_0x379c05});const _0x274c52=_0x19bf0a[_0x2ff438[_0x2ff438['length']-0x1-_0x36f47f]['index']],_0x550db8=this['_parents'][_0x3c04bd]['element'];_0x550db8['name']!=_0x274c52['element']['name']&&this['_addSplitPostponedData'](_0x274c52['element'],{'type':'rename','oldValue':_0x550db8['name']});const _0x46fb15=this['_getAttributeChanges'](_0x550db8['getAttributes'](),_0x274c52['element']['getAttributes']());for(const _0x446fa5 in _0x46fb15){const _0x34016d=_0x46fb15[_0x446fa5]['oldValue'];this['_addSplitPostponedData'](_0x274c52['element'],{'type':'attribute','key':_0x446fa5,'oldValue':_0x34016d});}}}}_addSplitPostponedData(_0x4afc22,_0x58f903){const _0x1bb7ff=this['_splitPostponedData']['get'](_0x4afc22)||[];_0x1bb7ff['push'](_0x58f903),this['_splitPostponedData']['set'](_0x4afc22,_0x1bb7ff);}_traverseOverItem(_0x5cc104){'element'==_0x5cc104['type']&&_0x5cc104['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5cc104)):'element'!=_0x5cc104['type']||_0x5cc104['isStart']?'text'==_0x5cc104['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5cc104['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x577d02,_0x4e9f96,_0x4475aa){_0x577d02['name']!=_0x4e9f96['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4475aa['slice'](),'oldName':_0x577d02['name'],'newName':_0x4e9f96['name']});}_handleElementAttributeChanges(_0x48d7ba,_0x4da0cf,_0x1c4c1b){const _0x2ec762=this['_getAttributeChanges'](_0x48d7ba['getAttributes'](),_0x4da0cf['getAttributes']());for(const _0x79148f in _0x2ec762){const {oldValue:_0x35b1d9,newValue:_0x34ae32}=_0x2ec762[_0x79148f];this['_operationsData']['push']({'type':'attribute','path':_0x1c4c1b['slice'](),'howMany':0x1,'key':_0x79148f,'oldValue':_0x35b1d9,'newValue':_0x34ae32});}}_handleTextAttributeChanges(_0x464961,_0x1c9f3a,_0x343c91){const _0x207c94=this['_operationsData'],_0x1d48ae=_0x464961[0x0]['parent'],_0x4797e9=_0x464961[0x0]['offset'],_0x5ac429=_0x1c9f3a[0x0]['parent'],_0x354cb4=_0x1c9f3a[0x0]['offset'],_0x35a98b=_0x464961['reduce']((_0x1dd0a1,_0x20783b)=>_0x1dd0a1+_0x20783b['data']['length'],0x0),_0x45e832=this['_getAttrsForOffsets'](_0x1d48ae,_0x4797e9,_0x35a98b),_0x220905=this['_getAttrsForOffsets'](_0x5ac429,_0x354cb4,_0x35a98b),_0x351f57={};for(let _0x2efd72=0x0;_0x2efd72<_0x35a98b;_0x2efd72++){const _0x5d8b5d=_0x45e832[_0x4797e9+_0x2efd72],_0x2070d5=_0x220905[_0x354cb4+_0x2efd72],_0x2177cf=this['_getAttributeChanges'](_0x5d8b5d,_0x2070d5);for(const _0x5d02be in _0x351f57)_0x2177cf[_0x5d02be]||_0xc16c85(_0x5d02be);for(const _0x69c761 in _0x2177cf){const {oldValue:_0x50d89c,newValue:_0x2f8a3a}=_0x2177cf[_0x69c761],_0x4f1cb2=_0x351f57[_0x69c761];_0x4f1cb2?_0x4f1cb2['oldValue']==_0x50d89c&&_0x4f1cb2['newValue']==_0x2f8a3a?_0x4f1cb2['length']++:(_0xc16c85(_0x69c761),_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1}):_0x351f57[_0x69c761]={'oldValue':_0x50d89c,'newValue':_0x2f8a3a,'start':_0x2efd72,'length':0x1};}}for(const _0x3ce481 in _0x351f57)_0xc16c85(_0x3ce481);function _0xc16c85(_0x48d3b7){const _0x808b00=_0x351f57[_0x48d3b7],_0x375dcb=_0x343c91['slice']();_0x375dcb[_0x375dcb['length']-0x1]+=_0x808b00['start'],_0x207c94['push']({'type':'attribute','path':_0x375dcb,'howMany':_0x808b00['length'],'key':_0x48d3b7,'oldValue':_0x808b00['oldValue'],'newValue':_0x808b00['newValue']}),delete _0x351f57[_0x48d3b7];}}_getAttributeChanges(_0x56c42e,_0x28cb48){const _0x3d96e8={};for(const [_0x3a3f87,_0x300541]of _0x56c42e)_0x3d96e8[_0x3a3f87]={'oldValue':JSON['stringify'](_0x300541),'newValue':'null'};for(const [_0x293103,_0x4e1418]of _0x28cb48){const _0x31acdf=JSON['stringify'](_0x4e1418);_0x3d96e8[_0x293103]?_0x3d96e8[_0x293103]['oldValue']==_0x31acdf?delete _0x3d96e8[_0x293103]:_0x3d96e8[_0x293103]['newValue']=_0x31acdf:_0x3d96e8[_0x293103]={'oldValue':'null','newValue':_0x31acdf};}return delete _0x3d96e8[jt],_0x3d96e8;}_getAttrsForOffsets(_0x42bda4,_0x278a6d,_0x4460af){const _0x315a2c=new Array(_0x278a6d+_0x4460af);let _0x8e8038=_0x42bda4['getChildAtOffset'](_0x278a6d),_0x2902d1=_0x8e8038['startOffset'];for(;_0x8e8038&&_0x2902d1<_0x278a6d+_0x4460af;){const _0x445e36=Array['from'](_0x8e8038['getAttributes']());_0x315a2c['fill'](_0x445e36,_0x2902d1,_0x2902d1+_0x8e8038['offsetSize']),_0x2902d1+=_0x8e8038['offsetSize'],_0x8e8038=_0x8e8038['nextSibling'];}return _0x315a2c;}_getPositionFromAnchorAndPath(_0x9e03d7,_0x48a047){const _0x261d7=[..._0x9e03d7['path']['slice'](0x0,-0x1),_0x9e03d7['offset']+_0x48a047[0x0],..._0x48a047['slice'](0x1)];return new _0x224efa(_0x9e03d7['root'],_0x261d7);}['_makeModelFromTokens'](_0x5a8ea5){const _0x247c42=[];let _0x31d012=null;for(const _0x41903e of _0x5a8ea5)if('element'!=_0x41903e['type']||_0x41903e['isStart']||_0x31d012!=_0x41903e['element']){if(!_0x31d012){if('text'==_0x41903e['type']){const _0x16b3e9=_0x224efa['_createAt'](_0x41903e['parent'],_0x41903e['offset']),_0xe8c5cf=_0x5e9b44['_createFromPositionAndShift'](_0x16b3e9,_0x41903e['data']['length']),_0x44aeb8=Array['from'](_0xe8c5cf['getItems']())['map'](_0x2f8892=>new _0x272f0e(_0x2f8892['data'],_0x2f8892['getAttributes']()));_0x247c42['push'](..._0x44aeb8);}else{_0x31d012=_0x41903e['element'];const _0x28d444=_0x41903e['element']['_clone'](!0x0);_0x28d444['_removeAttribute'](jt);for(const _0x1696e5 of this['_editor']['model']['createRangeIn'](_0x28d444)['getItems']())_0x1696e5['is']('element')&&_0x1696e5['_removeAttribute'](jt);_0x247c42['push'](_0x28d444);}}}else _0x31d012=null;return _0x247c42;}};function qt(_0x43e1c6,_0x576f21){return _0x43e1c6['type']===_0x576f21['type']&&(_0x43e1c6['limitId']===_0x576f21['limitId']&&('text'==_0x43e1c6['type']?_0x43e1c6['data']==_0x576f21['data']:function(_0xcc0ab,_0x44223a){if(_0xcc0ab['isStart']!=_0x44223a['isStart'])return!0x1;if(_0xcc0ab['isStart']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;if(_0xcc0ab['category']!=_0x44223a['category'])return!0x1;if('block'==_0xcc0ab['category'])return!0x0;if('container'==_0xcc0ab['category']&&_0xcc0ab['elementId']!=_0x44223a['elementId'])return!0x1;return _0xcc0ab['element']['name']==_0x44223a['element']['name'];}(_0x43e1c6,_0x576f21)));}function Zt(_0x346a0f){return Tt({'name':_0x346a0f['name'],...Object['fromEntries'](_0x346a0f['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 _0x17753e,Editor as _0x2b57ec,Plugin as _0x2e71a2}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x7e1653,Collection as _0x10b02e,FocusTracker as _0x2666aa,KeystrokeHandler as _0x1dfb02,first as _0xdce8ac,toArray as _0x256936,uid as _0x1cc595}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2d1b78,DropdownButtonView as _0x449042,FocusCycler as _0x480748,IconView as _0x78300d,View as _0x5343b7,isViewWithFocusCycler as _0x3c969d}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x302715,IconCheck as _0x41ca5f,IconNotification as _0x1a2528}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x949d9b,toWidget as _0x47029e}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x2e54a4}from'luxon';import{AttributeOperation as _0x23b62b,InsertOperation as _0x3946bf,MarkerOperation as _0x55fe48,MergeOperation as _0x537b36,ModelPosition as _0x290017,ModelRange as _0x15cb62,ModelText as _0x379bcb,ModelTreeWalker as _0x462cb8,MoveOperation as _0x2fc107,RenameOperation as _0xd0cd8,SplitOperation as _0x43e936}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x50b789}from'diff';var B=class extends _0x17753e{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x1ca32e,_0x40c5c8){let _0x767da8;if(_0x40c5c8||(_0x40c5c8=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x40c5c8?_0x767da8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x767da8=this['context']['editors']['find'](_0x234b07=>_0x234b07['config']['get']('collaboration.channelId')==_0x40c5c8)),!_0x767da8)throw new _0x7e1653('permissions-set-permissions-invalid-channel-id',null);const _0x15c490=_0x767da8['plugins'],_0x3df924=_0x15c490['has']('CommentsRepository')?_0x15c490['get']('CommentsRepository'):void 0x0,_0x2f741f=_0x15c490['has']('CommentsOnly')&&_0x15c490['get']('CommentsOnly'),_0x5f4528=_0x1ca32e['includes']('document:write'),_0x157d9f=_0x1ca32e['includes']('comment:modify_all'),_0x417131=_0x1ca32e['includes']('comment:admin'),_0x3a5e3b=_0x1ca32e['includes']('comment:write'),_0x25ad00=_0x3a5e3b||_0x417131,_0x365a0c=_0x25ad00||_0x157d9f,_0x4a766e=_0x5f4528||_0x25ad00;if(_0x2f741f&&(_0x2f741f['isEnabled']=!_0x5f4528&&_0x365a0c),_0x767da8 instanceof _0x2b57ec&&(_0x5f4528||_0x365a0c&&_0x3df924?_0x767da8['disableReadOnlyMode']('no-permissions'):_0x767da8['enableReadOnlyMode']('no-permissions')),_0x3df924){_0x3df924['setPermissions']({'admin':_0x417131,'modifyAll':_0x157d9f,'write':_0x3a5e3b,'resolve':_0x4a766e},_0x40c5c8);const _0x100720=_0x767da8 instanceof _0x2b57ec&&_0x767da8['commands']['get']('addCommentThread');_0x100720&&(_0x25ad00?_0x100720['clearForceDisabled']('noPermissions'):_0x100720['forceDisabled']('noPermissions'));}}};function D(_0x23c077,_0x3e6a25){const t=_0x23c077['t'];switch(_0x3e6a25){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var $=class extends _0x17753e{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0x2d7bd9){super(_0x2d7bd9),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x10b02e(),this['_locale']=_0x2d7bd9['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}init(){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2e386b,name:_0x3774ce,..._0x26a4ce}){if(!_0x2e386b||'string'!=typeof _0x2e386b)throw new _0x7e1653('users-add-invalid-id');if(this['users']['has'](_0x2e386b))throw new _0x7e1653('users-add-duplicated-id',null,{'id':_0x2e386b});const _0x2f46a0=this['context']['config']['get']('users.getInitialsCallback'),_0x2e935b={..._0x26a4ce,'id':_0x2e386b,'name':R(this['_locale'],_0x3774ce),'color':this['_getNextColor']()};_0x2e935b['name']=R(this['_locale'],_0x2e935b['name']);const _0x36f562=new L(_0x2e935b,_0x2f46a0);return this['users']['add'](_0x36f562),_0x36f562;}getUser(_0x2824ca){return this['users']['get'](_0x2824ca);}['useAnonymousUser'](){const _0xe6d4f8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xe6d4f8);}['defineMe'](_0x5ec098){if(this['_myId'])throw new _0x7e1653('users-me-already-defined',null);const _0xd3672b=this['getUser'](_0x5ec098);if(!_0xd3672b)throw new _0x7e1653('users-me-missing-user',null);this['_myId']=_0x5ec098,_0xd3672b['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x1a1c98=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x1a1c98&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4750ba=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4750ba,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x2d763c,_0x34042d){this['id']=_0x2d763c['id'],this['color']=_0x2d763c['color'],this['name']=_0x2d763c['name'],this['initials']=_0x34042d?_0x34042d(this['name']):this['_computeInitials'](),this['avatar']=_0x2d763c['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x5ec162=this['name']['split']('\x20')['filter'](_0x4fa299=>/^[\p{Letter}]/u['test'](_0x4fa299));return 0x1===_0x5ec162['length']?this['_getInitial'](_0x5ec162[0x0]):0x0===_0x5ec162['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5ec162[0x0])+this['_getInitial'](_0x5ec162[_0x5ec162['length']-0x1]);}_getInitial(_0x23a0e1){return String['fromCodePoint'](_0x23a0e1['codePointAt'](0x0))['toUpperCase']();}};function R(_0x3476c2,_0x2c07f1=''){return''==(_0x2c07f1=_0x2c07f1['trim']())?D(_0x3476c2,'Anonymous'):_0x2c07f1;}var F=class{['_id'];constructor(_0x972316){this['_id']=_0x972316;}get['id'](){return this['_id'];}getBackgroundColorClass(){return'ck-user__bg-color--'+this['id'];}getSelectionClass(){return'ck-user__selection--'+this['id'];}getMarkerClass(){return'ck-user__marker--'+this['id'];}getColorVariable(){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}getColorAlphaVariable(){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x5343b7{['name'];notificationView;constructor(_0x38db89,_0x5b55a2,_0x498df2,_0x56c74a){super(_0x38db89),this['name']=_0x5b55a2['name'],this['notificationView']=null;const _0x1a9749=['ck','ck-user'],_0xfc3b9b=['ck','ck-user__img'];_0x5b55a2['isAnonymous']&&_0xfc3b9b['push']('ck-user__anonymous'),!_0x5b55a2['isAnonymous']&&_0x5b55a2['isMe']&&_0x1a9749['push']('ck-user_me'),(_0x5b55a2['avatar']||_0x56c74a)&&_0xfc3b9b['push']('ck-user__avatar');let _0x2205c3=null;if(_0x56c74a&&(_0x2205c3=new _0x78300d(),_0x2205c3['content']=_0x56c74a,_0x2205c3['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x498df2){const _0x12caa0=new _0x78300d();_0x12caa0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x12caa0['content']=_0x1a2528,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x498df2},'children':[_0x12caa0]};}const _0x423f80=[{'tag':'div','attributes':{'class':_0xfc3b9b,'style':{'background-image':_0x5b55a2['avatar']&&!_0x56c74a?'url(\x27'+_0x5b55a2['avatar']+'\x27)':''}},'children':_0x2205c3?[_0x2205c3]:[]},{'tag':'div','attributes':{'class':_0x5b55a2['avatar']||_0x56c74a?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5b55a2['name']},'children':[{'text':_0x5b55a2['initials']}]}];this['notificationView']&&_0x423f80['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1a9749,'data-user-id':_0x5b55a2['id']},'children':_0x423f80});}},U=class extends _0x5343b7{['children'];['iconView'];['labelView'];constructor(_0x4e00a1){super(_0x4e00a1);const _0x285d17=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x285d17['to']('class'),_0x285d17['to']('iconPosition',_0x312b49=>'right'===_0x312b49?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x285d17['to']('tooltip'),'data-cke-tooltip-position':_0x285d17['to']('tooltipPosition'),'data-cke-tooltip-class':_0x285d17['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x139ae6,_0x60f542,_0x1ad3da,_0x3beb0f)=>{_0x1ad3da&&!_0x3beb0f?this['children']['add'](this['iconView'],0x0):!_0x1ad3da&&_0x3beb0f&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x13916c=new _0x78300d();return _0x13916c['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x13916c['bind']('content')['to'](this,'icon'),_0x13916c;}_createLabelView(){const _0x1b9645=new _0x5343b7(this['locale']),_0x383aa4=this['bindTemplate'];return _0x1b9645['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x383aa4['to']('label')}]}),_0x1b9645;}},z=class extends _0x5343b7{['id'];constructor(_0x98cab0,_0x583583){super(_0x98cab0),this['id']='ck-aria-description-'+_0x1cc595(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x583583}]});}},W=class extends _0x2d1b78{['render'](){super['render'](),j(this);}},Y=class extends _0x449042{['render'](){super['render'](),j(this);}};function j(_0x88641d){_0x88641d['listenTo'](_0x88641d['element'],'mousedown',(_0x105cb0,_0x4d1a94)=>{_0x4d1a94['stopPropagation'](),_0x4d1a94['preventDefault']();}),_0x88641d['listenTo'](_0x88641d['element'],'mouseup',()=>{_0x88641d['element']['focus']();});}function J(_0x501fda){const _0x581db1=_0x501fda['split'](':');return{'group':_0x581db1[0x0],'type':_0x581db1[0x1],'subType':_0x581db1['length']>=0x5?_0x581db1[0x2]:null,'id':_0x581db1['length']<0x5?_0x581db1[0x2]:_0x581db1[0x3],'authorId':_0x581db1['length']<0x5?_0x581db1[0x3]:_0x581db1[0x4],'markerCount':0x6==_0x581db1['length']?_0x581db1[0x5]:null};}function G(_0x54cba5,_0x2a0563){const _0xdc9177=_0x54cba5['end']['nodeBefore'];if(_0xdc9177&&_0xdc9177['is']('element')&&_0x2a0563['schema']['isBlock'](_0xdc9177)&&!_0x2a0563['schema']['isObject'](_0xdc9177)){const _0x1dda00=_0x2a0563['createPositionAt'](_0xdc9177,'end');return _0x2a0563['createRange'](_0x54cba5['start'],_0x1dda00);}return _0x54cba5;}var K=class extends _0x2e71a2{afterInit(){const _0x380686=this['editor'];_0x380686['plugins']['has']('AlignmentEditing')&&_0x380686['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x2e71a2{afterInit(){const _0x412a84=this['editor'],_0x45deea=_0x412a84['plugins']['get']('SuggestionsConversion');for(const _0x4c69f0 of q){if(!_0x412a84['plugins']['has'](_0x4c69f0))continue;const _0x1ca787=_0x4c69f0['slice'](0x0,-0x7)['toLowerCase']();_0x45deea['registerInlineAttribute'](_0x1ca787);}}},Q=class extends _0x2e71a2{afterInit(){const _0x4bc4d2=this['editor'],_0x335934=_0x4bc4d2['plugins']['get']('SuggestionsConversion');_0x4bc4d2['plugins']['has']('BookmarkEditing')&&_0x335934['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x2e71a2{afterInit(){const _0x307163=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x487254,commandName:_0x53a3a0}of X)this['editor']['plugins']['has'](_0x487254)&&_0x307163['registerInlineAttribute'](_0x53a3a0);}},et=class extends _0x2e71a2{afterInit(){const {editor:_0x5b2144}=this;if(!_0x5b2144['plugins']['has']('FootnotesPropertiesEditing'))return;const _0xf217f3=_0x5b2144['plugins']['get']('SuggestionsConversion');_0xf217f3['registerBlockAttribute']('footnotesListStyle'),_0xf217f3['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x2e71a2{afterInit(){const _0x4d063b=this['editor'];if(!_0x4d063b['plugins']['has']('GeneralHtmlSupport')||!_0x4d063b['plugins']['has']('DataSchema'))return;const _0x3c0ca7=_0x4d063b['plugins']['get']('SuggestionsConversion'),_0x5719c9=_0x4d063b['plugins']['get']('GeneralHtmlSupport'),_0x550da3=_0x4d063b['plugins']['get']('DataSchema');for(const _0x5beef8 of _0x550da3['getDefinitionsForView'](/.*/,!0x1)){const _0x2ed411=_0x5719c9['getGhsAttributeNameForElement'](_0x5beef8['view']);!_0x5beef8['isInline']||_0x5beef8['isObject']||'appliesToBlock'in _0x5beef8&&_0x5beef8['appliesToBlock']?_0x3c0ca7['registerBlockAttribute'](_0x2ed411):_0x3c0ca7['registerInlineAttribute'](_0x2ed411);}}},it=class extends _0x2e71a2{afterInit(){const _0x9193d0=this['editor'];_0x9193d0['plugins']['has']('HighlightEditing')&&_0x9193d0['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x2e71a2{afterInit(){const _0x4a5abf=this['editor'];_0x4a5abf['plugins']['has']('HtmlEmbed')&&_0x4a5abf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x2e71a2{afterInit(){const _0x9c4eb2=this['editor'];if(!_0x9c4eb2['plugins']['has']('ImageEditing'))return;const _0x130b1e=_0x9c4eb2['plugins']['get']('SuggestionsConversion');_0x130b1e['registerBlockAttribute']('src'),_0x9c4eb2['plugins']['has']('ImageResize')&&_0x130b1e['registerBlockAttribute']('resizedWidth'),_0x9c4eb2['plugins']['has']('ImageTextAlternativeEditing')&&_0x130b1e['registerBlockAttribute']('alt'),_0x9c4eb2['plugins']['has']('PictureEditing')&&_0x130b1e['registerBlockAttribute']('sources'),_0x9c4eb2['plugins']['has']('ImageSizeAttributes')&&(_0x130b1e['registerBlockAttribute']('width'),_0x130b1e['registerBlockAttribute']('height'));}},rt=class extends _0x2e71a2{afterInit(){const _0x193d4e=this['editor'],_0x16e58b=_0x193d4e['plugins']['get']('SuggestionsConversion');_0x193d4e['plugins']['has']('IndentBlock')&&(_0x16e58b['registerBlockAttribute']('blockIndent'),_0x193d4e['plugins']['has']('ListEditing')&&(_0x16e58b['registerBlockAttribute']('blockIndentList'),_0x16e58b['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x2e71a2{afterInit(){const _0x43140a=this['editor'];_0x43140a['plugins']['has']('LineHeight')&&_0x43140a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x2e71a2{afterInit(){const _0x2823de=this['editor'];if(!_0x2823de['plugins']['has']('LinkEditing'))return;const _0x103007=_0x2823de['plugins']['get']('SuggestionsConversion'),_0x5ba17d=_0x2823de['commands']['get']('link');_0x103007['registerInlineAttribute']('linkHref');for(const _0x423df5 of _0x5ba17d['manualDecorators'])_0x103007['registerInlineAttribute'](_0x423df5['id']);}},lt=class extends _0x2e71a2{afterInit(){const _0x3acf99=this['editor'];if(!_0x3acf99['plugins']['has']('ListEditing'))return;const _0x1f0cb6=_0x3acf99['plugins']['get']('SuggestionsConversion'),_0x5b3633=_0x3acf99['plugins']['has']('TodoListEditing');_0x1f0cb6['registerBlockAttribute']('listItemId'),_0x1f0cb6['registerBlockAttribute']('listType'),_0x1f0cb6['registerBlockAttribute']('listIndent'),_0x5b3633&&_0x1f0cb6['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x2e71a2{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2fe6db=this['editor']['config']['get']('list.properties'),_0x311e3f=this['editor']['plugins']['get']('SuggestionsConversion');_0x2fe6db['styles']&&_0x311e3f['registerBlockAttribute']('listStyle'),_0x2fe6db['reversed']&&_0x311e3f['registerBlockAttribute']('listReversed'),_0x2fe6db['startIndex']&&_0x311e3f['registerBlockAttribute']('listStart');}},ut=class extends _0x2e71a2{afterInit(){const _0x104824=this['editor'],_0x7084e8=_0x104824['plugins']['get']('SuggestionsConversion');_0x104824['plugins']['has']('MultiLevelList')&&_0x7084e8['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x2e71a2{afterInit(){const _0x558f50=this['editor'];if(!_0x558f50['plugins']['has']('TableEditing'))return;const _0x4a3c74=_0x558f50['plugins']['get']('SuggestionsConversion');_0x4a3c74['registerBlockAttribute']('headingRows'),_0x4a3c74['registerBlockAttribute']('headingColumns');}},gt=class extends _0x2e71a2{afterInit(){const {plugins:_0x3aa339}=this['editor'];if(!_0x3aa339['has']('TablePropertiesEditing'))return;const _0x459692=_0x3aa339['get']('SuggestionsConversion');for(const _0x231144 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x459692['registerBlockAttribute'](_0x231144);}},ft=class extends _0x2e71a2{afterInit(){const _0x2c34bc=this['editor'],_0x19c368=_0x2c34bc['plugins']['get']('SuggestionsConversion');_0x2c34bc['plugins']['has']('TableLayout')&&_0x19c368['registerBlockAttribute']('tableType');}},mt=class extends _0x2e71a2{afterInit(){const _0x42a8a0=this['editor'],_0x1dbfcf=this['editor']['plugins']['get']('SuggestionsConversion');_0x42a8a0['plugins']['has']('Uploadcare')&&_0x42a8a0['plugins']['has']('UploadcareImageEdit')&&_0x1dbfcf['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x2e71a2{afterInit(){const _0x59d8b6=this['editor'];if(!_0x59d8b6['plugins']['has']('ShiftEnter'))return;const _0x22b04a=_0x59d8b6['plugins']['get']('SuggestionsConversion'),_0x4f0887=(_0x226d68,_0x394540,_0x26b17e,_0x5541d7)=>{if(_0x5541d7&&!_0x26b17e['options']['showSuggestionHighlights'])return;if(!_0x26b17e['consumable']['test'](_0x394540['markerRange'],_0x226d68['name']))return;const _0x260d92=_0x59d8b6['model'];for(const _0x38d574 of _0x394540['markerRange']['getItems']()){if(!_0x38d574['is']('element','softBreak'))continue;const _0x491c52='deletion'==_0x394540['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xc2fd3e,authorId:_0x494c0d}=J(_0x394540['markerName']),_0x1bd509=_0x26b17e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x491c52,'data-suggestion':_0xc2fd3e,'data-author-id':_0x494c0d}),_0x144ea4=_0x26b17e['mapper']['toViewPosition'](_0x260d92['createPositionBefore'](_0x38d574));!_0x5541d7&&_0x22b04a['_activeMarkers']['includes'](_0x394540['markerName'])&&_0x26b17e['writer']['addClass']('ck-suggestion-marker--active',_0x1bd509),_0x26b17e['writer']['insert'](_0x144ea4,_0x1bd509),_0x26b17e['mapper']['bindElementToMarker'](_0x1bd509,_0x394540['markerName']);}};_0x59d8b6['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x46df9c,_0x5bd299,_0x4e2c89)=>{_0x4f0887(_0x46df9c,_0x5bd299,_0x4e2c89,!0x1);},{'priority':'high'}),_0x59d8b6['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x59fa6b,_0x3ca5a4,_0x148df1)=>{_0x4f0887(_0x59fa6b,_0x3ca5a4,_0x148df1,!0x1);},{'priority':'high'}),_0x59d8b6['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x48cf09,_0x4cc58d,_0x4d1dc7)=>{_0x4f0887(_0x48cf09,_0x4cc58d,_0x4d1dc7,!0x0);},{'priority':'high'}),_0x59d8b6['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3d4190,_0x2a9ca1,_0x1f9530)=>{_0x4f0887(_0x3d4190,_0x2a9ca1,_0x1f9530,!0x0);},{'priority':'high'});}},kt=class extends _0x2e71a2{afterInit(){const _0x2b6f71=this['editor'];if(!_0x2b6f71['plugins']['has']('MediaEmbedEditing'))return;const _0x43cee9=_0x2b6f71['plugins']['get']('SuggestionsConversion');_0x2b6f71['plugins']['has']('MediaEmbedResizeEditing')&&_0x43cee9['registerBlockAttribute']('resizedWidth'),_0x2b6f71['plugins']['has']('MediaEmbedStyleEditing')&&_0x43cee9['registerBlockAttribute']('mediaStyle'),_0x2b6f71['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1c1392,{writer:_0x128394,options:_0xac3499})=>{if(_0xac3499['showSuggestionHighlights'])return _0x128394['createEmptyElement']('div');},'converterPriority':'high'}),_0x2b6f71['data']['downcastDispatcher']['on']('attribute:url:media',(_0x47fb1b,_0x523884,_0x218b73)=>{_0x218b73['options']['showSuggestionHighlights']&&_0x47fb1b['stop']();},{'priority':'high'});}},yt=class extends _0x2e71a2{afterInit(){const _0x24d551=this['editor'];if(!_0x24d551['plugins']['has']('Table'))return;_0x24d551['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x18d4ac,_0x1f02d5,_0x21097c)=>{((_0x3be062,_0x1e8848,_0x3f16dd)=>{if(!_0x3f16dd['options']['showSuggestionHighlights'])return;const _0x4ce376=_0x1e8848['item'];if(!_0x4ce376||!_0x4ce376['is']('element','tableCell'))return;const _0x366de8=_0x3f16dd['mapper']['toViewElement'](_0x4ce376);if(_0x366de8){const {id:_0x24a3a9,authorId:_0x124c58}=J(_0x1e8848['markerName']);_0x949d9b(_0x366de8,_0x3f16dd['writer'],(_0x181bb9,_0x2e40ec,_0x41eec7)=>{_0x41eec7['addClass'](_0x256936(_0x2e40ec['classes']),_0x181bb9),_0x41eec7['setAttribute']('data-suggestion',_0x24a3a9,_0x181bb9),_0x41eec7['setAttribute']('data-author-id',_0x124c58,_0x181bb9);});}})(0x0,_0x1f02d5,_0x21097c);},{'priority':'highest'});}},bt=class extends _0x2e71a2{afterInit(){const _0x4c49ae=this['editor'];_0x4c49ae['plugins']['has']('HorizontalLineEditing')&&_0x4c49ae['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x241b39,{writer:_0x461dbe,options:_0x5b8d53})=>{if(!_0x5b8d53['showSuggestionHighlights'])return null;const _0x2d2f46=_0x461dbe['createContainerElement']('div'),_0x5ec172=_0x461dbe['createEmptyElement']('hr');return _0x461dbe['addClass']('ck-horizontal-line',_0x2d2f46),_0x461dbe['insert'](_0x461dbe['createPositionAt'](_0x2d2f46,0x0),_0x5ec172),_0x2d2f46;},'converterPriority':'high'});}},wt=class extends _0x2e71a2{afterInit(){const {plugins:_0x581402,model:_0x8da8a6}=this['editor'];if(!_0x581402['has']('TableCellPropertiesEditing'))return;const _0x48ee6c=_0x581402['get']('SuggestionsConversion');for(const _0x25e99b of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x48ee6c['registerBlockAttribute'](_0x25e99b);_0x8da8a6['schema']['checkAttribute']('tableCell','tableCellType')&&_0x48ee6c['registerBlockAttribute']('tableCellType');}},vt=class extends _0x2e71a2{afterInit(){const _0x432166=this['editor'];_0x432166['plugins']['has']('TableEditing')&&_0x432166['config']['get']('table.enableFooters')&&_0x432166['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x2e71a2{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x12cf14=this['editor'],_0x264cd0=(_0x1529aa,_0x191705,_0x21023c)=>{const {id:_0x5b31e8,authorId:_0x4fa8f5,type:_0x52c6c2,subType:_0x3db4e2}=J(_0x1529aa['markerName']),_0x48e7a1=['ck-suggestion-marker',this['_getClassName'](_0x52c6c2,_0x3db4e2)];let _0x76cb=0xbb8;return _0x21023c||this['_activeMarkers']['includes'](_0x1529aa['markerName'])&&(_0x48e7a1['push']('ck-suggestion-marker--active'),_0x76cb=0xbc2),'deletion'==_0x52c6c2&&(_0x76cb+=0x5),{'classes':_0x48e7a1,'attributes':{'data-suggestion':_0x5b31e8,'data-author-id':_0x4fa8f5},'priority':_0x76cb};};_0x12cf14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x40457d,_0x26df36)=>_0x264cd0(_0x40457d,0x0,!0x1)}),_0x12cf14['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2bb0cd,_0x19622b)=>_0x264cd0(_0x2bb0cd,0x0,!0x0)}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x21b5a7=>{_0x21b5a7['on']('addMarker:suggestion',(_0x5d809f,_0x883f22,_0xf2aed0)=>{if(!_0xf2aed0['options']['showSuggestionHighlights'])return;const _0x10c111=_0x883f22['item'];if(!_0x10c111)return;const _0x2867f1=_0xf2aed0['mapper']['toViewElement'](_0x10c111);_0x12cf14['model']['schema']['isObject'](_0x10c111)&&_0x2867f1&&!_0x2867f1['getCustomProperty']('widget')&&_0x2867f1['is']('containerElement')&&_0x47029e(_0x2867f1,_0xf2aed0['writer']);},{'priority':'high'});});const _0x38d328=(_0x5cdca4,_0x5af958,_0x34303c,_0x21eba1,_0x23f6ac)=>{if(_0x21eba1&&!_0x34303c['options']['showSuggestionHighlights'])return;if(!_0x5af958['item'])return;const {id:_0x3d6ae8,authorId:_0x2c88c8,subType:_0xd67d5a}=J(_0x5af958['markerName']);if(_0x23f6ac){const _0x533fa5=_0xd67d5a['split']('|')[0x0];if(!this['isBlockAttribute'](_0x533fa5))return;}if(_0x5af958['item']['is']('selection'))return void _0x34303c['consumable']['consume'](_0x5af958['item'],_0x5cdca4['name']);const _0x50fe14=_0x34303c['mapper']['toViewElement'](_0x5af958['item']);if(_0x5af958['item']['is']('element')&&_0x12cf14['model']['schema']['isBlock'](_0x5af958['item'])&&!_0x50fe14['getCustomProperty']('addHighlight')){_0x34303c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x50fe14),_0x34303c['writer']['setAttribute']('data-suggestion',_0x3d6ae8,_0x50fe14),_0x34303c['writer']['setAttribute']('data-author-id',_0x2c88c8,_0x50fe14),_0x34303c['mapper']['bindElementToMarker'](_0x50fe14,_0x5af958['markerName']),_0x21eba1||(this['_activeMarkers']['includes'](_0x5af958['markerName'])?_0x34303c['writer']['addClass']('ck-suggestion-marker--active',_0x50fe14):_0x34303c['writer']['removeClass']('ck-suggestion-marker--active',_0x50fe14));for(const _0x4283c1 of _0x12cf14['model']['createRangeIn'](_0x5af958['item'])['getItems']())_0x34303c['consumable']['consume'](_0x4283c1,_0x5cdca4['name']);_0x34303c['consumable']['consume'](_0x5af958['item'],_0x5cdca4['name']);}},_0x455f37=(_0x3cf861,_0x24d9eb,_0x2b525a,_0x16e0c4)=>{const _0x42c62d=_0x2b525a['mapper']['markerNameToElements'](_0x24d9eb['markerName']);if(_0x42c62d){if(_0x16e0c4){const {subType:_0x28dc09}=J(_0x24d9eb['markerName']),_0x17f0c6=_0x28dc09['split']('|')[0x0];if(!this['isBlockAttribute'](_0x17f0c6))return;}for(const _0x51bff4 of _0x42c62d)_0x51bff4['getCustomProperty']('addHighlight')||(_0x2b525a['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x51bff4),_0x2b525a['writer']['removeAttribute']('data-suggestion',_0x51bff4),_0x2b525a['writer']['removeAttribute']('data-author-id',_0x51bff4),_0x2b525a['mapper']['unbindElementFromMarkerName'](_0x51bff4,_0x24d9eb['markerName']));}};_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x470304=>{_0x470304['on']('addMarker:suggestion:formatBlock',(_0x4bb089,_0x3ef063,_0x8dda3f)=>{_0x38d328(_0x4bb089,_0x3ef063,_0x8dda3f,!0x1,!0x1);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x1c7e54=>{_0x1c7e54['on']('addMarker:suggestion:attribute',(_0x3e2d84,_0x33c681,_0x59bc17)=>{_0x38d328(_0x3e2d84,_0x33c681,_0x59bc17,!0x1,!0x0);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0x4bc4a3=>{_0x4bc4a3['on']('removeMarker:suggestion:formatBlock',(_0x49b190,_0x26d354,_0xd646a2)=>{_0x455f37(0x0,_0x26d354,_0xd646a2,!0x1);},{'priority':'high'});}),_0x12cf14['conversion']['for']('editingDowncast')['add'](_0xffea00=>{_0xffea00['on']('removeMarker:suggestion:attribute',(_0x5496a8,_0x1eea2d,_0x116ee6)=>{_0x455f37(0x0,_0x1eea2d,_0x116ee6,!0x0);},{'priority':'high'});}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x29ba8a=>{_0x29ba8a['on']('addMarker:suggestion:formatBlock',(_0x317f58,_0x31bcf7,_0x27809f)=>{_0x38d328(_0x317f58,_0x31bcf7,_0x27809f,!0x0,!0x1);},{'priority':'highest'});}),_0x12cf14['conversion']['for']('dataDowncast')['add'](_0x532883=>{_0x532883['on']('addMarker:suggestion:attribute',(_0x494afe,_0x9382da,_0x28bf12)=>{_0x38d328(_0x494afe,_0x9382da,_0x28bf12,!0x0,!0x0);},{'priority':'highest'});}),_0x12cf14['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x188c6d,_0x5b474c)=>_0x5b474c['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x188c6d['substr'](0xb)}});const _0x31c2bd=(_0x264ac5,_0x4296d7,_0x36a1dd,_0x29a181,_0x4b5f42)=>{if(_0x29a181&&!_0x36a1dd['options']['showSuggestionHighlights'])return;if(!_0x36a1dd['consumable']['test'](_0x4296d7['markerRange'],_0x264ac5['name']))return;const _0x1e9f3d=this['_activeMarkers'],_0xcb2433=_0x4296d7['markerRange']['getWalker'](),_0x488d87=_0x4296d7['markerRange']['start'],_0x20a58a=_0x12cf14['model']['schema'];let _0x311655=null,_0x2792f1=null,_0x554305=!0x1,_0x5509a0=!0x1;for(const _0x7fb06 of _0xcb2433){const _0x44b811=_0x7fb06['item'];_0x554305=_0x554305||_0x20a58a['isContent'](_0x44b811);const _0x54e5a0=_0x36a1dd['mapper']['toViewElement'](_0x44b811);if(_0x54e5a0&&_0x54e5a0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x7fb06['type']&&(_0x20a58a['isBlock'](_0x44b811)&&!_0x20a58a['isLimit'](_0x44b811)&&(_0x44b811['nextSibling']||_0x488d87['isAtEnd']?_0x311655&&_0x311655['parent']==_0x44b811||(_0x311655=_0x44b811,_0x16f72c(_0x7fb06['previousPosition']),_0x5509a0=!0x0):_0x2792f1=_0x2792f1||_0x7fb06['previousPosition']));}function _0x16f72c(_0x49fa8a){const {id:_0x1b53ad,authorId:_0x4ab595}=J(_0x4296d7['markerName']),_0x390274=_0x36a1dd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4b5f42,'data-suggestion':_0x1b53ad,'data-author-id':_0x4ab595}),_0xad02d=_0x36a1dd['mapper']['toViewPosition'](_0x49fa8a);!_0x29a181&&_0x1e9f3d['includes'](_0x4296d7['markerName'])&&_0x36a1dd['writer']['addClass']('ck-suggestion-marker--active',_0x390274),_0x36a1dd['writer']['insert'](_0xad02d,_0x390274),_0x36a1dd['mapper']['bindElementToMarker'](_0x390274,_0x4296d7['markerName']);}_0x554305||_0x5509a0||!_0x2792f1||_0x16f72c(_0x2792f1);};_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x38da4c,_0x34e8f9,_0x2b9168)=>{_0x31c2bd(_0x38da4c,_0x34e8f9,_0x2b9168,!0x1,'merge');},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4fa6bb,_0xad53b6,_0x85c979)=>{_0x31c2bd(_0x4fa6bb,_0xad53b6,_0x85c979,!0x0,'merge');},{'priority':'high'}),_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x53fbf5,_0x3f9ae9,_0x44fd31)=>{_0x31c2bd(_0x53fbf5,_0x3f9ae9,_0x44fd31,!0x1,'split');},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x69dbb8,_0xa2b5ae,_0x4e8797)=>{_0x31c2bd(_0x69dbb8,_0xa2b5ae,_0x4e8797,!0x0,'split');},{'priority':'high'}),_0x12cf14['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x277b21,_0x192244,_0x594d83)=>{((_0x485147,_0x2bc87c,_0x2af347)=>{const _0x4cb719=_0x2af347['mapper']['markerNameToElements'](_0x2bc87c['markerName']);if(_0x4cb719){for(const _0x6eb68c of _0x4cb719)(_0x6eb68c['hasClass']('ck-suggestion-marker-split')||_0x6eb68c['hasClass']('ck-suggestion-marker-merge'))&&(_0x2af347['mapper']['unbindElementFromMarkerName'](_0x6eb68c,_0x2bc87c['markerName']),_0x2af347['writer']['remove'](_0x6eb68c));}})(0x0,_0x192244,_0x594d83);},{'priority':'high'});const _0x28a9c2=(_0x133766,_0x5b8c11,_0x437602,_0x1bec6a)=>{if(_0x1bec6a&&!_0x437602['options']['showSuggestionHighlights'])return;const _0x5ad1b0=_0x5b8c11['markerRange']['start'],_0xca22d8=_0x5b8c11['markerRange']['end'],_0x528301=_0x12cf14['model']['schema'];if(!_0x5ad1b0['isTouching'](_0xca22d8)||!_0x5ad1b0['nodeAfter'])return;const _0x52e595=_0x5ad1b0['nodeAfter'];if(_0x528301['isBlock'](_0x52e595)&&!_0x528301['isLimit'](_0x52e595)&&_0x528301['checkChild'](_0x52e595,'$text')){if(!_0x437602['consumable']['consume'](_0x5b8c11['markerRange'],_0x133766['name']))return;const {id:_0x335da8,authorId:_0x23586e}=J(_0x5b8c11['markerName']),_0x33d4f4=_0x437602['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x335da8,'data-author-id':_0x23586e}),_0x56c4df=_0x437602['mapper']['toViewPosition'](_0xca22d8);!_0x1bec6a&&this['_activeMarkers']['includes'](_0x5b8c11['markerName'])&&_0x437602['writer']['addClass']('ck-suggestion-marker--active',_0x33d4f4),_0x437602['writer']['insert'](_0x56c4df,_0x33d4f4),_0x437602['mapper']['bindElementToMarker'](_0x33d4f4,_0x5b8c11['markerName']);}};_0x12cf14['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x6b6073,_0x42aa3a,_0x5acc8b)=>{_0x28a9c2(_0x6b6073,_0x42aa3a,_0x5acc8b,!0x1);},{'priority':'high'}),_0x12cf14['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x56ae05,_0x59db22,_0xddd5a0)=>{_0x28a9c2(_0x56ae05,_0x59db22,_0xddd5a0,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4a38cf,_0x460a22,_0xef1705)=>{this['_activeMarkers']=_0xef1705['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x51c87a){this['_blockAttributeKeys']['add'](_0x51c87a);}registerInlineAttribute(_0x2a3a36){this['_inlineAttributeKeys']['add'](_0x2a3a36);}isBlockAttribute(_0x1beb43){return this['_blockAttributeKeys']['has'](_0x1beb43);}isInlineAttribute(_0x4cd0a0){return this['_inlineAttributeKeys']['has'](_0x4cd0a0);}isRegisteredAttribute(_0x23df63){return this['isInlineAttribute'](_0x23df63)||this['isBlockAttribute'](_0x23df63);}_getClassName(_0x5f895f,_0x1e6d3a){if('attribute'!=_0x5f895f)return'ck-suggestion-marker-'+_0x5f895f;const _0x5347e6=_0x1e6d3a['split']('|')[0x0];return this['isBlockAttribute'](_0x5347e6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x5397ca={},_0x455dc8){if(void 0x0!==_0x5397ca['dateTimeFormat']&&'function'!=typeof _0x5397ca['dateTimeFormat'])throw new _0x7e1653('invalid-date-time-format');return _0x446160=>{const _0x209da2='string'==typeof _0x446160?_0x2e54a4['fromISO'](_0x446160):_0x2e54a4['fromJSDate'](_0x446160),_0x19671b=_0x2e54a4['now'](),_0x2bedc9=Math['floor'](_0x19671b['diff'](_0x209da2,'days')['days']);return _0x5397ca['dateTimeFormat']?_0x5397ca['dateTimeFormat'](_0x209da2['toJSDate'](),_0x455dc8&&_0x455dc8['t']?_0x455dc8['t']:void 0x0):0x0===_0x2bedc9?_0x455dc8?D(_0x455dc8,'Today')+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x2bedc9?_0x455dc8?D(_0x455dc8,'Yesterday')+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x2bedc9<0x7?_0x455dc8?D(_0x455dc8,'Last')+'\x20'+D(_0x455dc8,_0x209da2['toFormat']('EEEE'))+'\x20'+_0x209da2['toFormat']('hh:mma'):_0x209da2['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x209da2['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x57a181,_0x16778b){const _0x171da7=_0x57a181['mapper']['markerNameToElements'](_0x16778b['name']);if(!_0x171da7)return null;const _0x29a200=_0xdce8ac(_0x171da7['values']());return _0x57a181['view']['domConverter']['mapViewToDom'](_0x29a200)||null;}function It(_0x462599,_0xf04a52){if(0x0===_0xf04a52['length'])return null;const _0x3ed67e=[],_0x2ea172=_0x462599['view']['domConverter'];for(const _0x4cb333 of _0xf04a52){const _0x2598dc=_0x462599['mapper']['markerNameToElements'](_0x4cb333['name']);if(!_0x2598dc)continue;const _0x4ebc29=Array['from'](_0x2598dc)['map'](_0x12b0fd=>_0x2ea172['mapViewToDom'](_0x12b0fd))['filter'](_0x5897b9=>!!_0x5897b9);_0x3ed67e['push'](..._0x4ebc29);}if(0x0===_0x3ed67e['length'])return null;const _0x235b36=[];for(const _0x4885b3 of _0x3ed67e){const _0x70180=_0x4885b3['getClientRects']()['item'](0x0);_0x70180&&_0x235b36['push']({'x':_0x70180['x'],'y':_0x70180['y'],'domElement':_0x4885b3});}return 0x0===_0x235b36['length']?null:(_0x235b36['sort']((_0x2a6010,_0x5afdd2)=>_0x2a6010['y']-_0x5afdd2['y']||_0x2a6010['x']-_0x5afdd2['x']),_0x235b36['map'](_0x91643=>_0x91643['domElement']));}function St(_0x17caa0,{limit:_0x1e1a9c,suffix:_0x14bfe0='...'}){const _0x594740=[];let _0x4af075=0x0;const _0x450027=_0x17caa0['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x519973=0x0;_0x519973<_0x450027['length'];_0x519973++){let _0x332394=_0x450027[_0x519973];const _0x2fa8c2=Et(_0x332394);if(_0x332394['startsWith']('<')){if(_0x4af075>=_0x1e1a9c){const _0x38485c=_0x332394['match'](/[a-zA-Z]+/);if(!_0x38485c){_0x450027[_0x519973]='';continue;}const _0x5e9676=_0x38485c[0x0];_0x332394['startsWith']('</')?(_0x594740['length']&&(_0x332394=''),_0x594740['pop']()):(_0x594740['push'](_0x5e9676),_0x332394='');}}else{if(_0x4af075>=_0x1e1a9c)_0x332394='';else{if(_0x4af075+_0x2fa8c2['length']>=_0x1e1a9c){let _0x28c171=_0x1e1a9c-_0x4af075;if('\x20'===_0x2fa8c2[_0x28c171-0x1])_0x28c171--;else{const _0x43827c=_0x2fa8c2['slice'](_0x28c171)['indexOf']('\x20');-0x1!==_0x43827c?_0x28c171+=_0x43827c:_0x28c171=_0x332394['length'];}_0x332394=_0x2fa8c2['slice'](0x0,_0x28c171)['join']('')+_0x14bfe0,_0x4af075=_0x1e1a9c;}else _0x4af075+=_0x2fa8c2['length'];}}_0x450027[_0x519973]=_0x332394;}return _0x450027['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x2189ba){const _0x51b033=[];for(let _0x3b5847=0x0;_0x3b5847<_0x2189ba['length'];_0x3b5847++){const _0x186b54=_0x2189ba['substring'](_0x3b5847)['match'](/^&[a-z0-9#]+;/);if(_0x186b54){const _0x5eb897=_0x186b54[0x0];_0x51b033['push'](_0x5eb897),_0x3b5847+=_0x5eb897['length']-0x1;}else _0x51b033['push'](_0x2189ba[_0x3b5847]);}return _0x51b033;}var Mt=class extends _0x5343b7{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x5bcb5b){super(_0x5bcb5b);const _0xdfb8ae=this['bindTemplate'];this['set']('message',D(_0x5bcb5b,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5bcb5b,D(_0x5bcb5b,'Yes'),_0x41ca5f,'submit'),this['cancelView']=this['_createButtonView'](_0x5bcb5b,D(_0x5bcb5b,'No'),_0x302715,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2666aa(),this['keystrokes']=new _0x1dfb02(),this['focusCycler']=new _0x480748({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0xdfb8ae['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}_createButtonView(_0x4905e3,_0x4e3663,_0x573408,_0x18805f){const _0x2cad4a=new _0x2d1b78(_0x4905e3);return _0x2cad4a['label']=_0x4e3663,_0x2cad4a['icon']=_0x573408,_0x2cad4a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x18805f}}),_0x2cad4a['on']('execute',()=>this['fire'](_0x18805f)),_0x2cad4a;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0xeccffe=>{this['keystrokes']['listenTo'](_0xeccffe['element']),this['focusTracker']['add'](_0xeccffe['element']);}),this['keystrokes']['set']('esc',(_0x34696a,_0x24df29)=>{this['fire']('cancel'),_0x24df29();});}};function At(_0x3591a2){return class _0x18af50 extends _0x3591a2{['showConfirm'](_0x445bfa,_0x3747c6){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x445bfa,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3747c6['appendChild'](this['confirmView']['element']),_0x3747c6['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x268fac,_0x2084f9,_0x5c2d1e)=>{_0x5c2d1e||_0x3747c6['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3e22a8=>this['confirmView']['on']('submit',_0x3e22a8));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function Tt(_0x4d3ef6){let _0x3eedb0=0x0,_0x16d3f9=0x0;for(const _0x545af3 of Nt(_0x4d3ef6))_0x3eedb0=(_0x3eedb0<<0x5)-_0x3eedb0+_0x545af3,_0x3eedb0&=_0x3eedb0,[_0x3eedb0,_0x16d3f9]=[_0x16d3f9,_0x3eedb0];return Bt(_0x3eedb0)+Bt(_0x16d3f9);}function*Pt(_0x354aa){null==_0x354aa||null==_0x354aa?yield 0x12b9b0a1:0x0===_0x354aa||!0x1===_0x354aa?yield 0x0:0x1===_0x354aa||0x1==_0x354aa?yield 0x1:Array['isArray'](_0x354aa)?yield*function*(_0x3c3539){for(const _0x4e886e of _0x3c3539)yield*Pt(_0x4e886e);}(_0x354aa):'object'==typeof _0x354aa?yield*Nt(_0x354aa):'string'==typeof _0x354aa?yield*Vt(_0x354aa):'number'==typeof _0x354aa&&(yield _0x354aa);}function*Nt(_0x17ab8b){if(yield Ot('{'),_0x17ab8b){const _0x4554aa=Object['keys'](_0x17ab8b)['sort']();for(const _0x52bf0e of _0x4554aa){yield*Vt(_0x52bf0e),yield Ot(':');const _0x2ba678=_0x17ab8b[_0x52bf0e];yield*Pt(_0x2ba678);}}yield Ot('}');}function*Vt(_0x2089db){yield Ot('\x22');for(const _0x2768ab of _0x2089db)yield Ot(_0x2768ab);yield Ot('\x22');}function Ot(_0x44b141){return _0x44b141['charCodeAt'](0x0);}function Bt(_0x12c41f){return(_0x12c41f*=Math['sign'](_0x12c41f))['toString'](0x24);}function Dt(_0x422158){if('addAttribute'!=_0x422158['type']&&'removeAttribute'!=_0x422158['type']&&'changeAttribute'!=_0x422158['type'])return!0x1;try{return _0x422158['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x450f8b,_0x2a1ac8,_0x3fcaf7,_0x5eba8b=[]){const _0x4195f0='string'==typeof _0x450f8b?_0x3fcaf7['get'](_0x450f8b)['constructor']:_0x450f8b['prototype']['constructor'];if(_0x2a1ac8['has'](_0x4195f0))return _0x2a1ac8['get'](_0x4195f0);_0x2a1ac8['set'](_0x4195f0,!0x0);const _0x2a8ede=[...Lt,..._0x5eba8b]['map'](_0x50efe2=>{if(_0x3fcaf7['has'](_0x50efe2))return _0x3fcaf7['get'](_0x50efe2)['constructor'];})['filter'](_0x55bd29=>_0x55bd29);if(_0x4195f0&&_0x2a8ede['includes'](_0x4195f0))return _0x2a1ac8['set'](_0x4195f0,!0x1),!0x1;if(!_0x4195f0['requires'])return _0x2a1ac8['set'](_0x4195f0,!0x0),!0x0;const _0x1ffb45=_0x4195f0['requires']['every'](_0x4cda68=>Rt(_0x4cda68,_0x2a1ac8,_0x3fcaf7,_0x5eba8b));return _0x2a1ac8['set'](_0x4195f0,_0x1ffb45),_0x1ffb45;}function Ft(_0x487131,_0x2a87bf){const _0x5662f8={};for(const _0x368afc of _0x487131['config']['names']())$t['includes'](_0x368afc)||(_0x5662f8[_0x368afc]=_0x487131['config']['get'](_0x368afc));const _0x1f14d0=_0x5662f8['plugins']||[],_0x5ebd1f=_0x487131['constructor']['builtinPlugins']||[],_0x3fa0fe=_0x1f14d0['length']?_0x1f14d0:_0x5ebd1f,_0x4477a0=_0x5662f8['extraPlugins']||[];delete _0x5662f8['extraPlugins'];const _0x30b736=_0x5662f8['removePlugins']||[];delete _0x5662f8['removePlugins'];const _0x5fdebc=_0x487131['_context']['config']['get']('plugins')||[],_0x740d82=_0x3fa0fe['concat'](_0x4477a0)['concat'](_0x5fdebc)['map'](_0x3821ac=>'string'==typeof _0x3821ac?_0x5ebd1f['find'](_0x1b94c1=>_0x1b94c1['pluginName']==_0x3821ac):_0x3821ac)['filter'](_0x10f74c=>!_0x30b736['includes'](_0x10f74c)&&!_0x30b736['includes'](_0x10f74c['pluginName'])),_0x214679=Array['from'](new Set(_0x740d82)),_0x56cd72=new Map();return _0x5662f8['plugins']=_0x214679['filter'](_0x10ccc2=>Rt(_0x10ccc2,_0x56cd72,_0x487131['plugins'],_0x2a87bf)),_0x5662f8;}function Ht(_0x1fa482,_0x540a06){const _0x3d46f6=[];_0x1fa482['document']['selection']['on']('change:range',()=>{const _0x4faaba=function(_0x1c9b00,_0x2b994c){const _0x3b16bc=[];for(const _0x53d2b1 of _0x1c9b00['markers']){const _0x1f32f5=_0x53d2b1['getRange']();(_0x1f32f5['containsPosition'](_0x2b994c)||_0x1f32f5['start']['isEqual'](_0x2b994c)||_0x1f32f5['end']['isEqual'](_0x2b994c))&&_0x3b16bc['push'](_0x53d2b1);}return _0x3b16bc;}(_0x1fa482,_0x1fa482['document']['selection']['focus']),_0x304364=[],_0x52be9c=[],_0x10ccf6=[];for(const _0xfe151a of _0x3d46f6)_0x4faaba['includes'](_0xfe151a)||_0x304364['push'](_0xfe151a);for(const _0x475b2f of _0x4faaba)_0x3d46f6['includes'](_0x475b2f)||_0x52be9c['push'](_0x475b2f),_0x10ccf6['push'](_0x475b2f);(_0x304364['length']||_0x52be9c['length'])&&_0x540a06({'left':_0x304364,'entered':_0x52be9c}),_0x3d46f6['length']=0x0,_0x3d46f6['push'](..._0x10ccf6);});}const Ut='Ctrl+Shift+E';function zt(_0x2a6ec1,_0x5d463a){const _0x154735=_0x2a6ec1['element'];_0x2a6ec1['keystrokes']['listenTo'](_0x154735);for(const _0x2386e0 of _0x5d463a)Wt(_0x2a6ec1,_0x2386e0);_0x5d463a['on']('change',(_0x57032f,_0x3bfcfe)=>{for(const _0x52ed1d of _0x3bfcfe['removed'])Yt(_0x2a6ec1,_0x52ed1d);for(const _0x5b7beb of Array['from'](_0x3bfcfe['added'])['reverse']())Wt(_0x2a6ec1,_0x5b7beb);}),_0x2a6ec1['keystrokes']['set']('enter',(_0x1316b3,_0x1e7fc5)=>{_0x154735===_0x1316b3['target']&&(_0x2a6ec1['focusCycler']['focusFirst'](),_0x1e7fc5());},{'filter':_0x2b5c34=>_0x2b5c34['target']===_0x154735}),_0x2a6ec1['keystrokes']['set']('esc',(_0x17e209,_0x392601)=>{_0x154735!==_0x17e209['target']?_0x2a6ec1['focus']():_0x2a6ec1['fire']('escape'),_0x392601();}),_0x2a6ec1['keystrokes']['set']('arrowdown',(_0x4c687c,_0x26fa3f)=>{_0x154735===_0x4c687c['target']&&(_0x2a6ec1['fire']('arrowdown'),_0x26fa3f());}),_0x2a6ec1['keystrokes']['set']('arrowup',(_0x1bad1c,_0x5977ca)=>{_0x154735===_0x1bad1c['target']&&(_0x2a6ec1['fire']('arrowup'),_0x5977ca());});}function Wt(_0xca7566,_0x43535d){_0x43535d['isRendered']&&(_0xca7566['focusTracker']['add'](_0x43535d['element']),_0xca7566['keystrokes']['listenTo'](_0x43535d['element']),_0x3c969d(_0x43535d)&&function(_0x5a5e8f,_0x395a15){const _0x25a629=_0x5a5e8f['actions'],_0x535a6e=_0x395a15['actions'];for(const _0x221c13 of Object['keys'](_0x25a629))if(_0x221c13 in _0x535a6e&&_0x25a629[_0x221c13]!==_0x535a6e[_0x221c13])return!0x1;return!0x0;}(_0xca7566['focusCycler'],_0x43535d['focusCycler'])&&_0xca7566['focusCycler']['chain'](_0x43535d['focusCycler']));}function Yt(_0x46bbe5,_0x543dab){_0x46bbe5['focusTracker']['remove'](_0x543dab['element']),_0x46bbe5['keystrokes']['stopListening'](_0x543dab['element']),_0x3c969d(_0x543dab)&&_0x46bbe5['focusCycler']['unchain'](_0x543dab['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x17753e{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x2b57ec?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x11d5eb,_0xea7734)=>{_0xea7734['on']('ready',()=>{this['_integrateEditor'](_0xea7734);});});}get editor(){if(this['context']instanceof _0x2b57ec)return this['context'];{const _0x4f33a5=this['context']['editors']['first'];if(!_0x4f33a5)throw new _0x7e1653('documentcompare-no-editor',this);return _0x4f33a5;}}getDiff(_0x578100,_0x4f4f40,_0x3d068b={'anchor':'main','markDeletions':!0x1}){const _0x27de1c=_0x3d068b['targetEditor']||this['editor'],_0x4354e=_0x3d068b['anchor']??'main';let _0x5c93f7,_0x26cf33;if('string'==typeof _0x4354e){const _0x1eef90=_0x27de1c['model']['document']['getRoot'](_0x4354e);if(!_0x1eef90)throw new _0x7e1653('documentcompare-compare-no-root',this,{'anchor':_0x4354e});_0x5c93f7=_0x1eef90,_0x26cf33=_0x27de1c['model']['createPositionAt'](_0x1eef90,0x0);}else _0x5c93f7=_0x4354e['clone'](),_0x26cf33=_0x4354e['clone']();const _0x496a9e=_0x27de1c['data']['parse'](_0x578100,_0x5c93f7),_0x2136a7=_0x27de1c['data']['parse'](_0x4f4f40,_0x5c93f7);return new Kt({'editor':_0x27de1c,'before':_0x496a9e,'after':_0x2136a7,'options':{'anchor':_0x26cf33,'markDeletions':_0x3d068b['markDeletions']}});}isMarkedRemoveOperation(_0x149f1b){return'marker'==_0x149f1b['type']&&_0x149f1b['name']['startsWith']('$markedRemove');}applyOperations(_0x3acd84,_0x3f3b5b){const _0x2b2b3b=_0x3acd84['model'];for(const _0x4df69c of _0x3f3b5b)Dt(_0x4df69c)||(_0x4df69c instanceof _0x2fc107?_0x3acd84['_addOperationForAffectedMarkers']('move',_0x15cb62['_createFromPositionAndShift'](_0x4df69c['sourcePosition'],_0x4df69c['howMany'])):_0x4df69c instanceof _0x537b36?_0x3acd84['_addOperationForAffectedMarkers']('merge',_0x4df69c['deletionPosition']):_0x4df69c instanceof _0x55fe48&&this['_fixMarkerOperationOldRange'](_0x2b2b3b,_0x4df69c),_0x4df69c['baseVersion']=_0x2b2b3b['document']['version'],_0x3acd84['batch']['addOperation'](_0x4df69c),_0x2b2b3b['applyOperation'](_0x4df69c));}_fixMarkerOperationOldRange(_0x2f79d1,_0x5a3d77){const _0x22cf1b=_0x2f79d1['markers']['get'](_0x5a3d77['name']);_0x22cf1b&&(_0x5a3d77['oldRange']=_0x22cf1b['getRange']());}_integrateEditor(_0x2aa992){_0x2aa992['conversion']['for']('upcast')['add'](_0x3a8401=>{_0x3a8401['on']('element',(_0xad8d96,_0x366ea6,_0x58ff0d)=>{if(_0x366ea6['modelRange']&&_0x58ff0d['consumable']['consume'](_0x366ea6['viewItem'],{'attributes':'data-id'}))for(const _0x1095c1 of _0x366ea6['modelRange']['getItems']({'shallow':!0x0})){if(_0x1095c1['is']('$textProxy'))continue;const _0x3a2f36=_0x366ea6['viewItem']['getAttribute'](Jt);_0x3a2f36&&_0x58ff0d['writer']['setAttribute'](jt,_0x3a2f36,_0x1095c1);}},{'priority':'low'});}),_0x2aa992['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x323b5f,before:_0x2c6fe0,after:_0x44479e,options:_0x58c70c}){this['_editor']=_0x323b5f,this['_markDeletions']=!!_0x58c70c['markDeletions'],this['_anchor']=_0x58c70c['anchor'];const _0x22b594=this['_tokenizeModel'](_0x2c6fe0),_0x26cd8d=this['_tokenizeModel'](_0x44479e);this['_diffItems']=this['_diffModelTokens'](_0x22b594,_0x26cd8d),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2c6fe0['markers'],_0x44479e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x315462=this['_editor']['model']['document'],_0x386163=[];let _0x54de0d=_0x315462['version'];for(const _0x192d9d of this['_operationsData'])switch(_0x192d9d['type']){case'attribute':{const _0x390542=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x1c0a1c=new _0x15cb62(_0x390542,_0x390542['getShiftedBy'](_0x192d9d['howMany'])),_0x3574e2=JSON['parse'](_0x192d9d['oldValue']),_0x368aec=JSON['parse'](_0x192d9d['newValue']);_0x386163['push'](new _0x23b62b(_0x1c0a1c,_0x192d9d['key'],_0x3574e2,_0x368aec,_0x54de0d++));break;}case'insert':{const _0xd56f1f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x541a55=this['_makeModelFromTokens'](_0x192d9d['tokens']);_0x386163['push'](new _0x3946bf(_0xd56f1f,_0x541a55,_0x54de0d++));break;}case'remove':{const _0x27297e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x412836=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x2fc107(_0x27297e,_0x192d9d['howMany'],_0x412836,_0x54de0d++));break;}case'rename':{const _0x4ded02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']);_0x386163['push'](new _0xd0cd8(_0x4ded02,_0x192d9d['oldName'],_0x192d9d['newName'],_0x54de0d++));break;}case'split':{const _0x5d5d66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']),_0x1b84a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['path']['slice'](0x0,-0x1));_0x1b84a8['offset']++,_0x386163['push'](new _0x43e936(_0x5d5d66,Number['NEGATIVE_INFINITY'],_0x1b84a8,null,_0x54de0d++));break;}case'merge':{const _0x7c8714=_0x192d9d['path']['slice'](),_0x5e57a9=_0x7c8714['slice'](0x0,-0x1);_0x5e57a9[_0x5e57a9['length']-0x1]++,_0x5e57a9['push'](0x0);const _0xc180bf=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5e57a9),_0x46dea1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x7c8714),_0x1ac035=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x537b36(_0xc180bf,Number['NEGATIVE_INFINITY'],_0x46dea1,_0x1ac035,_0x54de0d++));break;}case'marker':case'markedRemove':{let _0xd4f6d8=null;_0x192d9d['range']&&(_0xd4f6d8=new _0x15cb62(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['end'])));const _0x396550='marker'==_0x192d9d['type']?_0x192d9d['name']:'$markedRemove:'+_0x1cc595();_0x386163['push'](new _0x55fe48(_0x396550,null,_0xd4f6d8,_0x315462['model']['markers'],!0x0,_0x54de0d++));break;}case'unwrap':{const _0x50e035=_0x192d9d['path']['slice']();_0x50e035['push'](0x0);const _0x437cf1=_0x192d9d['path']['slice'](),_0x290064=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x50e035),_0x42a4e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x437cf1),_0x21523a=new _0x290017(_0x315462['graveyard'],[0x0]);_0x386163['push'](new _0x2fc107(_0x290064,_0x192d9d['howMany'],_0x42a4e7,_0x54de0d++)),_0x386163['push'](new _0x2fc107(_0x42a4e7['getShiftedBy'](_0x192d9d['howMany']),0x1,_0x21523a,_0x54de0d++));break;}case'wrap':{const _0x4e9672=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['start']),_0x4045a3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x192d9d['range']['end']),_0x1d40a8=_0x192d9d['token']['element']['_clone'](!0x1);_0x1d40a8['_removeAttribute'](jt);const _0xb27e6f=_0x192d9d['range']['end']['slice']();_0xb27e6f['push'](0x0);const _0x5958c8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb27e6f);_0x386163['push'](new _0x3946bf(_0x4045a3,_0x1d40a8,_0x54de0d++)),_0x386163['push'](new _0x2fc107(_0x4e9672,_0x4045a3['offset']-_0x4e9672['offset'],_0x5958c8,_0x54de0d++));break;}}return _0x386163;}_tokenizeModel(_0x3b5a21){const _0x4966e4=[],_0x3dc4f0=new _0x462cb8({'boundaries':_0x15cb62['_createIn'](_0x3b5a21)});let _0x43443e='',_0x431ed9=null;const _0x163139=[''],_0x5c81fe=new Map();for(const _0x24cdcb of _0x3dc4f0)if('elementStart'==_0x24cdcb['type']||'elementEnd'==_0x24cdcb['type']){let _0x26ace1=_0x163139[0x0];''!==_0x43443e&&(_0x4966e4['push'](...this['_makeTokensFromTextByWords'](_0x43443e,_0x431ed9,_0x26ace1)),_0x43443e='');const _0x2af570=_0x24cdcb['item'];let _0x134dc0;_0x2af570['getAttribute']('$elementId')?_0x134dc0=_0x2af570['getAttribute'](jt):'elementStart'==_0x24cdcb['type']?(_0x134dc0=Zt(_0x2af570),_0x5c81fe['set'](_0x2af570,_0x134dc0)):_0x134dc0=_0x5c81fe['get'](_0x2af570);const _0x1a90a5=this['_getElementCategory'](_0x2af570);'solid'==_0x1a90a5&&('elementStart'==_0x24cdcb['type']?(_0x26ace1=_0x134dc0,_0x163139['unshift'](_0x26ace1)):_0x163139['shift']());const _0x175a90={'type':'element','element':_0x2af570,'elementId':_0x134dc0,'category':_0x1a90a5,'isStart':'elementStart'==_0x24cdcb['type'],'limitId':_0x26ace1};_0x4966e4['push'](_0x175a90);}else''==_0x43443e&&(_0x431ed9=_0x24cdcb['previousPosition']['clone']()),_0x43443e+=_0x24cdcb['item']['data'];return''!==_0x43443e&&_0x4966e4['push'](...this['_makeTokensFromTextByWords'](_0x43443e,_0x431ed9,_0x163139[0x0])),_0x4966e4;}_makeTokensFromTextByWords(_0x38a94e,_0x143d5c,_0x30b56f){const _0x5c1ff8=_0x38a94e['matchAll'](/(\s)/g),_0x5c5827=Array['from'](_0x5c1ff8)['map'](_0x4a753a=>_0x4a753a['index']);_0x5c5827['push'](_0x38a94e['length']),0x0==_0x5c5827[0x0]&&_0x5c5827['shift']();const _0x132635=[],_0x682b49=_0x143d5c['parent'];let _0x2cf28d=0x0,_0x5bdac1=_0x143d5c['offset'];for(let _0x5206ac=0x0;_0x5206ac<_0x5c5827['length'];_0x5206ac++)_0x132635['push']({'type':'text','data':_0x38a94e['slice'](_0x2cf28d,_0x5c5827[_0x5206ac]),'parent':_0x682b49,'offset':_0x5bdac1,'limitId':_0x30b56f}),_0x2cf28d=_0x5c5827[_0x5206ac],_0x5bdac1=_0x143d5c['offset']+_0x5c5827[_0x5206ac];return _0x132635;}_getElementCategory(_0x4f5db9){const _0x499e82=this['_editor']['model']['schema'];return _0x499e82['isLimit'](_0x4f5db9)||_0x499e82['isContent'](_0x4f5db9)||_0x499e82['isInline'](_0x4f5db9)?'solid':_0x499e82['isBlock'](_0x4f5db9)?'block':function(_0x30bf41,_0x66f9e7){const _0x5eb161=_0x30bf41['parent'];if(!_0x5eb161||_0x5eb161['is']('documentFragment'))return!0x1;if(_0x66f9e7['checkChild'](_0x5eb161,'$text'))return!0x1;for(const _0x3df8af of _0x30bf41['getChildren']())if(_0x3df8af['is']('$text'))return!0x0;return!0x1;}(_0x4f5db9,_0x499e82)?'solid':'container';}['_diffModelTokens'](_0x14461a,_0x598117){const _0x3d8b60=_0x50b789(_0x14461a,_0x598117,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3d8b60);const _0x1487c9=_0x3d8b60['flatMap'](_0x214da6=>{const _0x7d6a8=_0x214da6['added']?'added':_0x214da6['removed']?'removed':'unchanged';return _0x214da6['value']['map'](_0x2e0163=>({'token':_0x2e0163,'change':_0x7d6a8}));});let _0x9136d9=0x0;for(const _0x23248e of _0x1487c9)'added'!=_0x23248e['change']&&('unchanged'==_0x23248e['change']&&(_0x23248e['before']=_0x14461a[_0x9136d9]),_0x9136d9++);return _0x1487c9;}['_handleUnclosedBlockOpeningTags'](_0x2ef245){for(let _0x3aa99b=0x0;_0x3aa99b<_0x2ef245['length']-0x1;_0x3aa99b++)if(_0x2ef245[_0x3aa99b]['removed']&&_0x2ef245[_0x3aa99b+0x1]['added']){const _0x259504=this['_findUnclosedBlockOpeningToken'](_0x2ef245[_0x3aa99b]['value']);if(null!==_0x259504){const _0x305f6c=this['_findUnclosedBlockOpeningToken'](_0x2ef245[_0x3aa99b+0x1]['value']),_0x2f31bb=_0x2ef245[_0x3aa99b]['value']['splice'](_0x259504),_0x14c410=_0x2ef245[_0x3aa99b+0x1]['value']['splice'](_0x305f6c),_0x5d6556=[_0x14c410['shift']()];_0x2f31bb['shift']();const _0xc2abe3={'value':_0x2f31bb,'removed':!0x0},_0xf02415={'value':_0x14c410,'added':!0x0},_0x4afa3d={'value':_0x5d6556};_0x2ef245['splice'](_0x3aa99b+0x2,0x0,_0x4afa3d,_0xc2abe3,_0xf02415);}}}['_findUnclosedBlockOpeningToken'](_0x1b9176){let _0x2084ee=0x0,_0x1dfa84=-0x1;for(let _0x26d112=0x0;_0x26d112<_0x1b9176['length'];_0x26d112++){const _0x56a3b5=_0x1b9176[_0x26d112];'element'==_0x56a3b5['type']&&'block'==_0x56a3b5['category']&&(_0x2084ee+=_0x56a3b5['isStart']?0x1:-0x1,_0x56a3b5['isStart']&&(_0x1dfa84=_0x26d112));}return 0x0===_0x2084ee?null:_0x1dfa84;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x15d21e=0x0;_0x15d21e<this['_diffItems']['length'];_0x15d21e++){const _0x3fd822=this['_diffItems'][_0x15d21e]['change'],_0x206079=[];_0x206079['push'](this['_diffItems'][_0x15d21e]);let _0x3b1f2c=_0x15d21e+0x1;for(;this['_diffItems'][_0x3b1f2c]&&this['_diffItems'][_0x3b1f2c]['change']==_0x3fd822;)_0x206079['push'](this['_diffItems'][_0x3b1f2c]),_0x3b1f2c++,_0x15d21e++;const _0x507576=_0x206079['map'](_0x491dc5=>_0x491dc5['token']);if('unchanged'==_0x3fd822)_0x206079['map'](_0x144ab8=>_0x144ab8['before'])['forEach'](_0x2e7705=>this['_traverseOverItem'](_0x2e7705));else{if('removed'==_0x3fd822){if(this['_markDeletions']){const _0x592b05=this['_path']['slice']();_0x507576['forEach'](_0x20313d=>this['_traverseOverItem'](_0x20313d));const _0x92c4ab=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x592b05,'end':_0x92c4ab}});}else this['_handleChanged'](_0x507576,!0x0,this['_path']['slice']());}else{const _0x5a02ad=_0x507576['filter'](_0x526403=>'element'!=_0x526403['type']||'container'!=_0x526403['category']);this['_handleChanged'](_0x5a02ad,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xd0d97=0x0;_0xd0d97<this['_diffItems']['length'];_0xd0d97++){const _0x17c4a8=this['_diffItems'][_0xd0d97]['change'],_0x4dac7f=[];_0x4dac7f['push'](this['_diffItems'][_0xd0d97]);let _0x27805f=_0xd0d97+0x1;for(;this['_diffItems'][_0x27805f]&&this['_diffItems'][_0x27805f]['change']==_0x17c4a8;)_0x4dac7f['push'](this['_diffItems'][_0x27805f]),_0x27805f++,_0xd0d97++;const _0xe36de9=_0x4dac7f['map'](_0x31f116=>_0x31f116['token']);if('unchanged'==_0x17c4a8){const _0x1974d8=_0x4dac7f['map'](_0x419355=>_0x419355['before']);this['_handleUnchanged'](_0x1974d8,_0xe36de9);}else('added'==_0x17c4a8||this['_markDeletions'])&&_0xe36de9['forEach'](_0x53179f=>{'element'==_0x53179f['type']&&_0x53179f['isStart']&&this['_splitPostponedData']['has'](_0x53179f['element'])&&this['_handleSplitPostponedData'](_0x53179f['element'],this['_path']),this['_traverseOverItem'](_0x53179f);});}}_handleSplitPostponedData(_0x4a527b,_0x3422b7){const _0x56c3b8=this['_splitPostponedData']['get'](_0x4a527b);for(const _0x3bd364 of _0x56c3b8)'rename'==_0x3bd364['type']?this['_operationsData']['push']({'type':'rename','path':_0x3422b7['slice'](),'oldName':_0x3bd364['oldValue'],'newName':_0x4a527b['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x3422b7['slice'](),'howMany':0x1,'key':_0x3bd364['key'],'oldValue':_0x3bd364['oldValue'],'newValue':JSON['stringify'](_0x4a527b['getAttribute'](_0x3bd364['key'])??null)});}_calculateMarkersOperationsData(_0x3e0197,_0x35ffbc){const _0x448a93={};for(const [_0x103af3]of _0x3e0197)_0x448a93[_0x103af3]=null;for(const [_0x534693,_0x825d77]of _0x35ffbc)_0x448a93[_0x534693]=_0x825d77;const _0x21d0a0=Object['entries'](_0x448a93)['map'](([_0x222b58,_0x506151])=>({'type':'marker','name':_0x222b58,'range':_0x506151?{'start':_0x506151['start']['path']['slice'](),'end':_0x506151['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x21d0a0);}['_handleUnwraps'](){const _0x3218a9=new Map(),_0x4fd11d=[],_0x1e3e26=[0x0];let _0x12a2e8=this['_diffItems']['length']+0x1;for(let _0x516493=this['_diffItems']['length']-0x1;_0x516493>=0x0;_0x516493--){const {token:_0x433828,before:_0x2e0e00,change:_0xda2be3}=this['_diffItems'][_0x516493];if('removed'!=_0xda2be3&&(_0x12a2e8=_0x516493),'element'!=_0x433828['type']||'container'!=_0x433828['category']||'added'==_0xda2be3)continue;const _0x5ed67d=_0x2e0e00?_0x2e0e00['element']:_0x433828['element'];if(_0x433828['isStart']){const _0x5015f5=_0x3218a9['get'](_0x5ed67d),_0x254234=this['_diffItems'][_0x5015f5];('removed'==_0xda2be3||'removed'==_0x254234['change'])&&_0x12a2e8<_0x5015f5&&(this['_operationsData']['push']({'type':'unwrap','path':_0x5ed67d['getPath'](),'howMany':_0x5ed67d['maxOffset']+_0x1e3e26[0x0]}),_0x1e3e26['shift'](),_0x1e3e26[0x0]+=_0x5ed67d['maxOffset']-0x1,_0x4fd11d['push'](_0x516493),_0x4fd11d['push'](_0x5015f5));}else _0x3218a9['set'](_0x5ed67d,_0x516493),_0x1e3e26['unshift'](0x0);}_0x4fd11d['sort']((_0x304b15,_0x5ed399)=>_0x5ed399-_0x304b15),_0x4fd11d['forEach'](_0x5ef3b8=>{const _0x93b2a3=this['_diffItems'][_0x5ef3b8];'removed'==_0x93b2a3['change']?this['_diffItems']['splice'](_0x5ef3b8,0x1):(_0x93b2a3['change']='added',delete _0x93b2a3['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x31dfe9=[];for(let _0x4d187c=0x0;_0x4d187c<this['_diffItems']['length'];_0x4d187c++){const {change:_0x2fb184,token:_0x150730}=this['_diffItems'][_0x4d187c];if('added'==_0x2fb184&&'element'==_0x150730['type']&&'container'==_0x150730['category']){if(_0x150730['isStart'])_0x31dfe9['push'](this['_path']['slice']());else{if(!_0x150730['isStart']){const _0x3dcab1=_0x31dfe9['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3dcab1,'end':this['_path']['slice']()},'token':_0x150730}),this['_path'][this['_path']['length']-0x1]=_0x3dcab1[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2fb184||this['_markDeletions'])&&this['_traverseOverItem'](_0x150730);}}['_handleUnchanged'](_0x41efbd,_0xf43df2){for(let _0x926fc3=0x0;_0x926fc3<_0x41efbd['length'];_0x926fc3++){const _0x318974=_0x41efbd[_0x926fc3];if('element'==_0x318974['type']&&_0x318974['isStart']){const _0x3750af=_0xf43df2[_0x926fc3];'block'==_0x318974['category']&&this['_handleElementRename'](_0x318974['element'],_0x3750af['element'],this['_path']),this['_handleElementAttributeChanges'](_0x318974['element'],_0x3750af['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3750af);}else{if('element'!=_0x318974['type']||_0x318974['isStart']){if('text'==_0x318974['type']){const _0x4e5b24=this['_path']['slice'](),_0x414f44=[],_0x2df040=[];for(;_0x41efbd[_0x926fc3]&&'text'==_0x41efbd[_0x926fc3]['type'];)_0x414f44['push'](_0x41efbd[_0x926fc3]),_0x2df040['push'](_0xf43df2[_0x926fc3]),this['_path'][this['_path']['length']-0x1]+=_0x41efbd[_0x926fc3]['data']['length'],_0x926fc3++;_0x926fc3--,this['_handleTextAttributeChanges'](_0x414f44,_0x2df040,_0x4e5b24);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4ca397,_0x39a7d7,_0x500042){const _0x11eaa9=[],_0x4a0b3c=[],_0x10eb27=_0x500042['slice']();let _0x18e428=this['_parents']['length']-0x1;for(let _0x272e29=0x0;_0x272e29<_0x4ca397['length'];_0x272e29++){const _0x70c763=_0x4ca397[_0x272e29],_0x36ce63=_0x500042['slice']();'element'!=_0x70c763['type']||_0x70c763['isStart']?'element'==_0x70c763['type']&&_0x70c763['isStart']?(_0x500042['push'](0x0),_0x18e428++,_0x4a0b3c['push']({'before':_0x36ce63,'after':_0x500042['slice'](),'index':_0x272e29})):_0x500042[_0x500042['length']-0x1]+=_0x70c763['data']['length']:(_0x500042['pop'](),_0x500042[_0x500042['length']-0x1]++,_0x18e428--,_0x4a0b3c['length']?_0x4a0b3c['pop']():_0x11eaa9['push']({'before':_0x36ce63,'after':_0x500042['slice'](),'index':_0x272e29}));}if(_0x4a0b3c['length']!==_0x11eaa9['length'])throw new _0x7e1653('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4ca397,'isRemove':_0x39a7d7});const _0x5383ec=[{'after':_0x10eb27['slice'](),'index':-0x1},..._0x11eaa9,..._0x4a0b3c,{'before':_0x500042['slice'](),'index':_0x4ca397['length']}];if(_0x39a7d7){for(let _0x49bcd8=_0x5383ec['length']-0x1;_0x49bcd8>=0x1;_0x49bcd8--){const _0x1f4a67=_0x5383ec[_0x49bcd8-0x1]['after'],_0x989cbb=_0x5383ec[_0x49bcd8]['before'],_0x3a9737=_0x989cbb[_0x989cbb['length']-0x1]-_0x1f4a67[_0x1f4a67['length']-0x1];_0x3a9737&&(this['_operationsData']['push']({'type':'remove','path':_0x1f4a67,'howMany':_0x3a9737}),_0x989cbb[_0x989cbb['length']-0x1]-=_0x3a9737);}for(const {before:_0x238e40}of _0x11eaa9)this['_operationsData']['push']({'type':'merge','path':_0x238e40});}else for(let _0x52540a=0x0;_0x52540a<_0x5383ec['length']-0x1;_0x52540a++){const _0x3e6ca6=_0x5383ec[_0x52540a]['after'],_0x2c841d=_0x5383ec[_0x52540a+0x1]['before'],_0x419329=_0x5383ec[_0x52540a]['index']+0x1,_0x3ee07b=_0x5383ec[_0x52540a+0x1]['index'];if(_0x419329!==_0x3ee07b&&this['_operationsData']['push']({'type':'insert','path':_0x3e6ca6,'tokens':_0x4ca397['slice'](_0x419329,_0x3ee07b)}),_0x52540a<_0x11eaa9['length']){this['_operationsData']['push']({'type':'split','path':_0x2c841d});const _0x1c74af=_0x4ca397[_0x4a0b3c[_0x4a0b3c['length']-0x1-_0x52540a]['index']],_0x2a0632=this['_parents'][_0x18e428]['element'];_0x2a0632['name']!=_0x1c74af['element']['name']&&this['_addSplitPostponedData'](_0x1c74af['element'],{'type':'rename','oldValue':_0x2a0632['name']});const _0x16c53b=this['_getAttributeChanges'](_0x2a0632['getAttributes'](),_0x1c74af['element']['getAttributes']());for(const _0x1145b2 in _0x16c53b){const _0x325635=_0x16c53b[_0x1145b2]['oldValue'];this['_addSplitPostponedData'](_0x1c74af['element'],{'type':'attribute','key':_0x1145b2,'oldValue':_0x325635});}}}}_addSplitPostponedData(_0x28393e,_0x78c591){const _0xda9b4f=this['_splitPostponedData']['get'](_0x28393e)||[];_0xda9b4f['push'](_0x78c591),this['_splitPostponedData']['set'](_0x28393e,_0xda9b4f);}_traverseOverItem(_0xd98784){'element'==_0xd98784['type']&&_0xd98784['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0xd98784)):'element'!=_0xd98784['type']||_0xd98784['isStart']?'text'==_0xd98784['type']&&(this['_path'][this['_path']['length']-0x1]+=_0xd98784['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x1fbbfa,_0x4083bf,_0x2f5746){_0x1fbbfa['name']!=_0x4083bf['name']&&this['_operationsData']['push']({'type':'rename','path':_0x2f5746['slice'](),'oldName':_0x1fbbfa['name'],'newName':_0x4083bf['name']});}_handleElementAttributeChanges(_0x19e6a5,_0x193eff,_0x3ed591){const _0x35eddf=this['_getAttributeChanges'](_0x19e6a5['getAttributes'](),_0x193eff['getAttributes']());for(const _0x49f51d in _0x35eddf){const {oldValue:_0x5135d6,newValue:_0x1592d0}=_0x35eddf[_0x49f51d];this['_operationsData']['push']({'type':'attribute','path':_0x3ed591['slice'](),'howMany':0x1,'key':_0x49f51d,'oldValue':_0x5135d6,'newValue':_0x1592d0});}}_handleTextAttributeChanges(_0x25c6f6,_0x42fb13,_0x50e069){const _0x2f15bd=this['_operationsData'],_0x59a5ef=_0x25c6f6[0x0]['parent'],_0x376124=_0x25c6f6[0x0]['offset'],_0x5241c3=_0x42fb13[0x0]['parent'],_0x53daad=_0x42fb13[0x0]['offset'],_0x3e156a=_0x25c6f6['reduce']((_0x149fc6,_0x22885c)=>_0x149fc6+_0x22885c['data']['length'],0x0),_0x2aea67=this['_getAttrsForOffsets'](_0x59a5ef,_0x376124,_0x3e156a),_0x384221=this['_getAttrsForOffsets'](_0x5241c3,_0x53daad,_0x3e156a),_0x3463f2={};for(let _0x209109=0x0;_0x209109<_0x3e156a;_0x209109++){const _0x23649c=_0x2aea67[_0x376124+_0x209109],_0x1b8739=_0x384221[_0x53daad+_0x209109],_0x3d76ea=this['_getAttributeChanges'](_0x23649c,_0x1b8739);for(const _0x132c6e in _0x3463f2)_0x3d76ea[_0x132c6e]||_0x4c50f4(_0x132c6e);for(const _0x366db2 in _0x3d76ea){const {oldValue:_0xfc1c32,newValue:_0x51bf0e}=_0x3d76ea[_0x366db2],_0x19cd0c=_0x3463f2[_0x366db2];_0x19cd0c?_0x19cd0c['oldValue']==_0xfc1c32&&_0x19cd0c['newValue']==_0x51bf0e?_0x19cd0c['length']++:(_0x4c50f4(_0x366db2),_0x3463f2[_0x366db2]={'oldValue':_0xfc1c32,'newValue':_0x51bf0e,'start':_0x209109,'length':0x1}):_0x3463f2[_0x366db2]={'oldValue':_0xfc1c32,'newValue':_0x51bf0e,'start':_0x209109,'length':0x1};}}for(const _0x1dedf7 in _0x3463f2)_0x4c50f4(_0x1dedf7);function _0x4c50f4(_0x28209e){const _0x3b24e1=_0x3463f2[_0x28209e],_0x1e4bed=_0x50e069['slice']();_0x1e4bed[_0x1e4bed['length']-0x1]+=_0x3b24e1['start'],_0x2f15bd['push']({'type':'attribute','path':_0x1e4bed,'howMany':_0x3b24e1['length'],'key':_0x28209e,'oldValue':_0x3b24e1['oldValue'],'newValue':_0x3b24e1['newValue']}),delete _0x3463f2[_0x28209e];}}_getAttributeChanges(_0x44f0fe,_0x21ba86){const _0x34d3a8={};for(const [_0xc57c0d,_0xa596ec]of _0x44f0fe)_0x34d3a8[_0xc57c0d]={'oldValue':JSON['stringify'](_0xa596ec),'newValue':'null'};for(const [_0x2de3cd,_0xd51a66]of _0x21ba86){const _0x29a2cf=JSON['stringify'](_0xd51a66);_0x34d3a8[_0x2de3cd]?_0x34d3a8[_0x2de3cd]['oldValue']==_0x29a2cf?delete _0x34d3a8[_0x2de3cd]:_0x34d3a8[_0x2de3cd]['newValue']=_0x29a2cf:_0x34d3a8[_0x2de3cd]={'oldValue':'null','newValue':_0x29a2cf};}return delete _0x34d3a8[jt],_0x34d3a8;}_getAttrsForOffsets(_0x31bd59,_0x28c101,_0x388cb8){const _0x59904e=new Array(_0x28c101+_0x388cb8);let _0x41b990=_0x31bd59['getChildAtOffset'](_0x28c101),_0x35adee=_0x41b990['startOffset'];for(;_0x41b990&&_0x35adee<_0x28c101+_0x388cb8;){const _0x16d52e=Array['from'](_0x41b990['getAttributes']());_0x59904e['fill'](_0x16d52e,_0x35adee,_0x35adee+_0x41b990['offsetSize']),_0x35adee+=_0x41b990['offsetSize'],_0x41b990=_0x41b990['nextSibling'];}return _0x59904e;}_getPositionFromAnchorAndPath(_0x38613b,_0x21379c){const _0x38f009=[..._0x38613b['path']['slice'](0x0,-0x1),_0x38613b['offset']+_0x21379c[0x0],..._0x21379c['slice'](0x1)];return new _0x290017(_0x38613b['root'],_0x38f009);}['_makeModelFromTokens'](_0x308453){const _0x44ee5c=[];let _0x49dac6=null;for(const _0x124521 of _0x308453)if('element'!=_0x124521['type']||_0x124521['isStart']||_0x49dac6!=_0x124521['element']){if(!_0x49dac6){if('text'==_0x124521['type']){const _0xdce99f=_0x290017['_createAt'](_0x124521['parent'],_0x124521['offset']),_0x23a82d=_0x15cb62['_createFromPositionAndShift'](_0xdce99f,_0x124521['data']['length']),_0x495132=Array['from'](_0x23a82d['getItems']())['map'](_0x165bf3=>new _0x379bcb(_0x165bf3['data'],_0x165bf3['getAttributes']()));_0x44ee5c['push'](..._0x495132);}else{_0x49dac6=_0x124521['element'];const _0x22dac1=_0x124521['element']['_clone'](!0x0);_0x22dac1['_removeAttribute'](jt);for(const _0x569ec1 of this['_editor']['model']['createRangeIn'](_0x22dac1)['getItems']())_0x569ec1['is']('element')&&_0x569ec1['_removeAttribute'](jt);_0x44ee5c['push'](_0x22dac1);}}}else _0x49dac6=null;return _0x44ee5c;}};function qt(_0x37bcc4,_0x247564){return _0x37bcc4['type']===_0x247564['type']&&(_0x37bcc4['limitId']===_0x247564['limitId']&&('text'==_0x37bcc4['type']?_0x37bcc4['data']==_0x247564['data']:function(_0x3ead6d,_0x55f311){if(_0x3ead6d['isStart']!=_0x55f311['isStart'])return!0x1;if(_0x3ead6d['isStart']&&_0x3ead6d['elementId']!=_0x55f311['elementId'])return!0x1;if(_0x3ead6d['category']!=_0x55f311['category'])return!0x1;if('block'==_0x3ead6d['category'])return!0x0;if('container'==_0x3ead6d['category']&&_0x3ead6d['elementId']!=_0x55f311['elementId'])return!0x1;return _0x3ead6d['element']['name']==_0x55f311['element']['name'];}(_0x37bcc4,_0x247564)));}function Zt(_0xc25442){return Tt({'name':_0xc25442['name'],...Object['fromEntries'](_0xc25442['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St as trimHtml};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5b989d=>0x1!=_0x5b989d}};
23
+ export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x2e2589=>0x1!=_0x2e2589}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b158f=>{const {af:{dictionary:_0x2bc7a0,getPluralForm:_0x259cd0}}={'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':_0x565f09=>0x1!=_0x565f09}};_0x3b158f['af']||={'dictionary':{},'getPluralForm':null},_0x3b158f['af']['dictionary']=Object['assign'](_0x3b158f['af']['dictionary'],_0x2bc7a0),_0x3b158f['af']['getPluralForm']=_0x259cd0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x188d09=>{const {af:{dictionary:_0xfc1857,getPluralForm:_0x39f694}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4e3e75=>0x1!=_0x4e3e75}};_0x188d09['af']||={'dictionary':{},'getPluralForm':null},_0x188d09['af']['dictionary']=Object['assign'](_0x188d09['af']['dictionary'],_0xfc1857),_0x188d09['af']['getPluralForm']=_0x39f694;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x10eb30=>0x0==_0x10eb30?0x0:0x1==_0x10eb30?0x1:0x2==_0x10eb30?0x2:_0x10eb30%0x64>=0x3&&_0x10eb30%0x64<=0xa?0x3:_0x10eb30%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x7712e4=>0x0==_0x7712e4?0x0:0x1==_0x7712e4?0x1:0x2==_0x7712e4?0x2:_0x7712e4%0x64>=0x3&&_0x7712e4%0x64<=0xa?0x3:_0x7712e4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x165014=>{const {ar:{dictionary:_0x72f53b,getPluralForm:_0x5a22f1}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x54b3ca=>0x0==_0x54b3ca?0x0:0x1==_0x54b3ca?0x1:0x2==_0x54b3ca?0x2:_0x54b3ca%0x64>=0x3&&_0x54b3ca%0x64<=0xa?0x3:_0x54b3ca%0x64>=0xb?0x4:0x5}};_0x165014['ar']||={'dictionary':{},'getPluralForm':null},_0x165014['ar']['dictionary']=Object['assign'](_0x165014['ar']['dictionary'],_0x72f53b),_0x165014['ar']['getPluralForm']=_0x5a22f1;})(window['CKEDITOR_TRANSLATIONS']||={});
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']||={});
@@ -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':_0x3e3a29=>0x1!=_0x3e3a29}};
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}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28659c=>{const {ast:{dictionary:_0x5b571b,getPluralForm:_0xa34022}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x16f33f=>0x1!=_0x16f33f}};_0x28659c['ast']||={'dictionary':{},'getPluralForm':null},_0x28659c['ast']['dictionary']=Object['assign'](_0x28659c['ast']['dictionary'],_0x5b571b),_0x28659c['ast']['getPluralForm']=_0xa34022;})(window['CKEDITOR_TRANSLATIONS']||={});
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']||={});
@@ -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':_0x50f477=>0x1!=_0x50f477}};
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}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x43e28a=>{const {az:{dictionary:_0x2fd318,getPluralForm:_0x21f0b9}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x153477=>0x1!=_0x153477}};_0x43e28a['az']||={'dictionary':{},'getPluralForm':null},_0x43e28a['az']['dictionary']=Object['assign'](_0x43e28a['az']['dictionary'],_0x2fd318),_0x43e28a['az']['getPluralForm']=_0x21f0b9;})(window['CKEDITOR_TRANSLATIONS']||={});
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']||={});
@@ -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':_0x1f2672=>_0x1f2672%0xa==0x1&&_0x1f2672%0x64!=0xb?0x0:_0x1f2672%0xa>=0x2&&_0x1f2672%0xa<=0x4&&(_0x1f2672%0x64<0xa||_0x1f2672%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':_0x3cd585=>_0x3cd585%0xa==0x1&&_0x3cd585%0x64!=0xb?0x0:_0x3cd585%0xa>=0x2&&_0x3cd585%0xa<=0x4&&(_0x3cd585%0x64<0xa||_0x3cd585%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24feea=>{const {be:{dictionary:_0xbbcec4,getPluralForm:_0x5321ba}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x14f07d=>_0x14f07d%0xa==0x1&&_0x14f07d%0x64!=0xb?0x0:_0x14f07d%0xa>=0x2&&_0x14f07d%0xa<=0x4&&(_0x14f07d%0x64<0xa||_0x14f07d%0x64>=0x14)?0x1:0x2}};_0x24feea['be']||={'dictionary':{},'getPluralForm':null},_0x24feea['be']['dictionary']=Object['assign'](_0x24feea['be']['dictionary'],_0xbbcec4),_0x24feea['be']['getPluralForm']=_0x5321ba;})(window['CKEDITOR_TRANSLATIONS']||={});
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']||={});
@@ -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':_0x2d0321=>0x1!=_0x2d0321}};
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}};