@ckeditor/ckeditor5-collaboration-core 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +13 -13
- package/src/documentcompare.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/footnotes.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tablecellproperties.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/suggestionmarkerutils.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0xcb6340,Editor as _0x4e7b23,Plugin as _0x3ac0a8}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5cae3f,Collection as _0x6e186b,uid as _0xc93f74,toArray as rt,first as _0x500adf,FocusTracker as _0x3ff66a,KeystrokeHandler as _0x131aca}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x196cb3,IconView as st,ButtonView as ts,DropdownButtonView as _0x5777f5,FocusCycler as _0x4c369c,isViewWithFocusCycler as _0xeb5e78}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x29009b,IconCancel as _0x55f512}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0xd960e8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x27bf54,MoveOperation as _0x56ac0d,ModelPosition as _0x256c0b,ModelRange as _0x27409f,MarkerOperation as _0x391a4a,MergeOperation as _0x278a1c,SplitOperation as _0x1f3ae3,RenameOperation as _0x161aec,AttributeOperation as _0x4d877e,ModelTreeWalker as _0x141a91,ModelText as _0x53a7ee}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x1c121c}from'diff';class C extends _0xcb6340{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2fade1,_0xc4e1f4){let _0x1acb41;if(_0xc4e1f4||(_0xc4e1f4=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xc4e1f4?_0x1acb41=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x1acb41=this['context']['editors']['find'](_0x1a0cf4=>_0x1a0cf4['config']['get']('collaboration.channelId')==_0xc4e1f4)),!_0x1acb41)throw new _0x5cae3f('permissions-set-permissions-invalid-channel-id',null);const _0x28fb58=_0x1acb41['plugins'],_0x51a293=_0x28fb58['has']('CommentsRepository')?_0x28fb58['get']('CommentsRepository'):void 0x0,_0xd2b2f7=_0x28fb58['has']('CommentsOnly')&&_0x28fb58['get']('CommentsOnly'),_0x2f41eb=_0x2fade1['includes']('document:write'),_0x5ee33e=_0x2fade1['includes']('comment:modify_all'),_0x15c20a=_0x2fade1['includes']('comment:admin'),_0x1f93c4=_0x2fade1['includes']('comment:write'),_0x3ecf2d=_0x1f93c4||_0x15c20a,_0x2d62ca=_0x3ecf2d||_0x5ee33e,_0x1d77fd=_0x2f41eb||_0x3ecf2d;(_0xd2b2f7&&(_0xd2b2f7['isEnabled']=!_0x2f41eb&&_0x2d62ca),_0x1acb41 instanceof _0x4e7b23)&&(!(_0x2f41eb||_0x2d62ca&&_0x51a293)?_0x1acb41['enableReadOnlyMode']('no-permissions'):_0x1acb41['disableReadOnlyMode']('no-permissions'));if(_0x51a293){_0x51a293['setPermissions']({'admin':_0x15c20a,'modifyAll':_0x5ee33e,'write':_0x1f93c4,'resolve':_0x1d77fd},_0xc4e1f4);const _0x58cabf=_0x1acb41 instanceof _0x4e7b23&&_0x1acb41['commands']['get']('addCommentThread');_0x58cabf&&(_0x3ecf2d?_0x58cabf['clearForceDisabled']('noPermissions'):_0x58cabf['forceDisabled']('noPermissions'));}}}function U(_0x46135d,_0x566253){const t=_0x46135d['t'];switch(_0x566253){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'';}}class ct extends _0xcb6340{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x53f77d){super(_0x53f77d),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x6e186b(),this['_locale']=_0x53f77d['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:_0x324ef7,name:_0x17212f,..._0x462335}){if(!_0x324ef7||'string'!=typeof _0x324ef7)throw new _0x5cae3f('users-add-invalid-id');if(this['users']['has'](_0x324ef7))throw new _0x5cae3f('users-add-duplicated-id',null,{'id':_0x324ef7});const _0x105824=this['context']['config']['get']('users.getInitialsCallback'),_0x1a57f3={..._0x462335,'id':_0x324ef7,'name':A(this['_locale'],_0x17212f),'color':this['_getNextColor']()};_0x1a57f3['name']=A(this['_locale'],_0x1a57f3['name']);const _0x2e559d=new lt(_0x1a57f3,_0x105824);return this['users']['add'](_0x2e559d),_0x2e559d;}['getUser'](_0x4fd6f0){return this['users']['get'](_0x4fd6f0);}['useAnonymousUser'](){const _0x20e500=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x20e500);}['defineMe'](_0x104ac1){if(this['_myId'])throw new _0x5cae3f('users-me-already-defined',null);const _0xebc416=this['getUser'](_0x104ac1);if(!_0xebc416)throw new _0x5cae3f('users-me-missing-user',null);this['_myId']=_0x104ac1,_0xebc416['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x1856d6=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x1856d6&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1016c9=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1016c9,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x489138,_0x7bb397){this['id']=_0x489138['id'],this['color']=_0x489138['color'],this['name']=_0x489138['name'],this['initials']=_0x7bb397?_0x7bb397(this['name']):this['_computeInitials'](),this['avatar']=_0x489138['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x211053=this['name']['split']('\x20')['filter'](_0x536777=>/^[\p{Letter}]/u['test'](_0x536777));return 0x1===_0x211053['length']?this['_getInitial'](_0x211053[0x0]):0x0===_0x211053['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x211053[0x0])+this['_getInitial'](_0x211053[_0x211053['length']-0x1]);}['_getInitial'](_0x52350a){return String['fromCodePoint'](_0x52350a['codePointAt'](0x0))['toUpperCase']();}}function A(_0x5e8007,_0x3d4346=''){return''==(_0x3d4346=_0x3d4346['trim']())?U(_0x5e8007,'Anonymous'):_0x3d4346;}class ut{['_id'];constructor(_0x4dfa11){this['_id']=_0x4dfa11;}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'];}}class ht extends _0x196cb3{['name'];['notificationView'];constructor(_0x10fef6,_0x23e859,_0x2942cc){super(_0x10fef6),this['name']=_0x23e859['name'],this['notificationView']=null;const _0x24d94e=['ck','ck-user'],_0x3506d2=['ck','ck-user__img'];if(_0x23e859['isAnonymous']&&_0x3506d2['push']('ck-user__anonymous'),!_0x23e859['isAnonymous']&&_0x23e859['isMe']&&_0x24d94e['push']('ck-user_me'),_0x23e859['avatar']&&_0x3506d2['push']('ck-user__avatar'),_0x2942cc){const _0x4c96fb=new st();_0x4c96fb['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4c96fb['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2942cc},'children':[_0x4c96fb]};}const _0x4e849d=[{'tag':'div','attributes':{'class':_0x3506d2,'style':{'background-image':_0x23e859['avatar']?'url(\x27'+_0x23e859['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x23e859['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x23e859['name']},'children':[{'text':_0x23e859['initials']}]}];this['notificationView']&&_0x4e849d['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x24d94e,'data-user-id':_0x23e859['id']},'children':_0x4e849d});}}class dt extends _0x196cb3{['id'];constructor(_0xcc0e8c,_0x273902){super(_0xcc0e8c),this['id']='ck-aria-description-'+_0xc93f74(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x273902}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x5777f5{['render'](){super['render'](),re(this);}}function re(_0x11c4ca){_0x11c4ca['listenTo'](_0x11c4ca['element'],'mousedown',(_0x279791,_0x2bc648)=>{_0x2bc648['stopPropagation'](),_0x2bc648['preventDefault']();}),_0x11c4ca['listenTo'](_0x11c4ca['element'],'mouseup',()=>{_0x11c4ca['element']['focus']();});}function v(_0x1ae547){const _0xfd20d0=_0x1ae547['split'](':');return{'group':_0xfd20d0[0x0],'type':_0xfd20d0[0x1],'subType':_0xfd20d0['length']>=0x5?_0xfd20d0[0x2]:null,'id':_0xfd20d0['length']<0x5?_0xfd20d0[0x2]:_0xfd20d0[0x3],'authorId':_0xfd20d0['length']<0x5?_0xfd20d0[0x3]:_0xfd20d0[0x4],'markerCount':0x6==_0xfd20d0['length']?_0xfd20d0[0x5]:null};}function mt(_0x354513,_0x2e9ea8){const _0xd619b4=_0x354513['end']['nodeBefore'];if(_0xd619b4&&_0xd619b4['is']('element')&&_0x2e9ea8['schema']['isBlock'](_0xd619b4)&&!_0x2e9ea8['schema']['isObject'](_0xd619b4)){const _0x1edaa3=_0x2e9ea8['createPositionAt'](_0xd619b4,'end');return _0x2e9ea8['createRange'](_0x354513['start'],_0x1edaa3);}return _0x354513;}class M extends _0x3ac0a8{['afterInit'](){const _0xe028ba=this['editor'];if(!_0xe028ba['plugins']['has']('AlignmentEditing'))return;_0xe028ba['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x3ac0a8{['afterInit'](){const _0xdc33b1=this['editor'],_0x6368c3=_0xdc33b1['plugins']['get']('SuggestionsConversion');for(const _0x2a9c38 of ii){if(!_0xdc33b1['plugins']['has'](_0x2a9c38))continue;const _0x49a7b8=_0x2a9c38['slice'](0x0,-0x7)['toLowerCase']();_0x6368c3['registerInlineAttribute'](_0x49a7b8);}}}class I extends _0x3ac0a8{['afterInit'](){const _0x5df8a1=this['editor'],_0x40435b=_0x5df8a1['plugins']['get']('SuggestionsConversion');_0x5df8a1['plugins']['has']('BookmarkEditing')&&_0x40435b['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x3ac0a8{['afterInit'](){const _0x5ada95=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1251dc,commandName:_0x2e4b08}of no)this['editor']['plugins']['has'](_0x1251dc)&&_0x5ada95['registerInlineAttribute'](_0x2e4b08);}}class T extends _0x3ac0a8{['afterInit'](){const {editor:_0x217621}=this;if(!_0x217621['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x2fb618=_0x217621['plugins']['get']('SuggestionsConversion');_0x2fb618['registerBlockAttribute']('footnotesListStyle'),_0x2fb618['registerBlockAttribute']('footnotesListStart');}}class E extends _0x3ac0a8{['afterInit'](){const _0x58728d=this['editor'];if(!_0x58728d['plugins']['has']('HighlightEditing'))return;_0x58728d['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x3ac0a8{['afterInit'](){const _0x396a37=this['editor'];if(!_0x396a37['plugins']['has']('HtmlEmbed'))return;_0x396a37['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x3ac0a8{['afterInit'](){const _0x5a2bc3=this['editor'];if(!_0x5a2bc3['plugins']['has']('ImageEditing'))return;const _0x217a96=_0x5a2bc3['plugins']['get']('SuggestionsConversion');_0x217a96['registerBlockAttribute']('src'),_0x5a2bc3['plugins']['has']('ImageResize')&&_0x217a96['registerBlockAttribute']('resizedWidth'),_0x5a2bc3['plugins']['has']('ImageTextAlternativeEditing')&&_0x217a96['registerBlockAttribute']('alt'),_0x5a2bc3['plugins']['has']('PictureEditing')&&_0x217a96['registerBlockAttribute']('sources'),_0x5a2bc3['plugins']['has']('ImageSizeAttributes')&&(_0x217a96['registerBlockAttribute']('width'),_0x217a96['registerBlockAttribute']('height'));}}class x extends _0x3ac0a8{['afterInit'](){const _0x50247f=this['editor'],_0x2be554=_0x50247f['plugins']['get']('SuggestionsConversion');_0x50247f['plugins']['has']('IndentBlock')&&(_0x2be554['registerBlockAttribute']('blockIndent'),_0x50247f['plugins']['has']('ListEditing')&&(_0x2be554['registerBlockAttribute']('blockIndentList'),_0x2be554['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x3ac0a8{['afterInit'](){const _0x34cc25=this['editor'];if(!_0x34cc25['plugins']['has']('LineHeight'))return;_0x34cc25['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x3ac0a8{['afterInit'](){const _0x26818f=this['editor'];if(!_0x26818f['plugins']['has']('LinkEditing'))return;const _0x53d977=_0x26818f['plugins']['get']('SuggestionsConversion'),_0x466345=_0x26818f['commands']['get']('link');_0x53d977['registerInlineAttribute']('linkHref');for(const _0x5aa0c9 of _0x466345['manualDecorators'])_0x53d977['registerInlineAttribute'](_0x5aa0c9['id']);}}class P extends _0x3ac0a8{['afterInit'](){const _0x3e606e=this['editor'];if(!_0x3e606e['plugins']['has']('ListEditing'))return;const _0x2b2edf=_0x3e606e['plugins']['get']('SuggestionsConversion'),_0x3c8601=_0x3e606e['plugins']['has']('TodoListEditing');_0x2b2edf['registerBlockAttribute']('listItemId'),_0x2b2edf['registerBlockAttribute']('listType'),_0x2b2edf['registerBlockAttribute']('listIndent'),_0x3c8601&&_0x2b2edf['registerBlockAttribute']('todoListChecked');}}class K extends _0x3ac0a8{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x23e043=this['editor']['config']['get']('list.properties'),_0x1ea8fa=this['editor']['plugins']['get']('SuggestionsConversion');_0x23e043['styles']&&_0x1ea8fa['registerBlockAttribute']('listStyle'),_0x23e043['reversed']&&_0x1ea8fa['registerBlockAttribute']('listReversed'),_0x23e043['startIndex']&&_0x1ea8fa['registerBlockAttribute']('listStart');}}class q extends _0x3ac0a8{['afterInit'](){const _0x5aa56f=this['editor'],_0x360df1=_0x5aa56f['plugins']['get']('SuggestionsConversion');_0x5aa56f['plugins']['has']('MultiLevelList')&&_0x360df1['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x3ac0a8{['afterInit'](){const _0xe3c78d=this['editor'];if(!_0xe3c78d['plugins']['has']('Style')||!_0xe3c78d['plugins']['has']('DataSchema')||!_0xe3c78d['config']['get']('style.definitions'))return;const _0x3bb724=_0xe3c78d['plugins']['get']('SuggestionsConversion'),_0xaeb9f5=_0xe3c78d['config']['get']('style.definitions'),_0x28ebf1=_0xe3c78d['plugins']['get']('GeneralHtmlSupport'),_0x1eaed4=_0xe3c78d['plugins']['get']('StyleUtils')['normalizeConfig'](_0xe3c78d['plugins']['get']('DataSchema'),_0xaeb9f5),_0x2d4d40=new Set();for(const _0x527234 of _0x1eaed4['block']){const _0x50854f=_0x28ebf1['getGhsAttributeNameForElement'](_0x527234['element']);_0x2d4d40['add'](_0x50854f);}const _0x22f85e=new Set();for(const _0x5a5da8 of _0x1eaed4['inline']){const _0xa91e76=_0x28ebf1['getGhsAttributeNameForElement'](_0x5a5da8['element']);_0x22f85e['add'](_0xa91e76);for(const _0x256f3a of _0x5a5da8['ghsAttributes'])_0x22f85e['add'](_0x256f3a);}for(const _0x53c3f6 of _0x2d4d40)_0x3bb724['registerBlockAttribute'](_0x53c3f6);for(const _0x3a8912 of _0x22f85e)_0x3bb724['registerInlineAttribute'](_0x3a8912);}}class O extends _0x3ac0a8{['afterInit'](){const _0x3bf0ea=this['editor'];if(!_0x3bf0ea['plugins']['has']('TableEditing'))return;const _0x4f3419=_0x3bf0ea['plugins']['get']('SuggestionsConversion');_0x4f3419['registerBlockAttribute']('headingRows'),_0x4f3419['registerBlockAttribute']('headingColumns');}}class R extends _0x3ac0a8{['afterInit'](){const {plugins:_0x135b42}=this['editor'];if(!_0x135b42['has']('TablePropertiesEditing'))return;const _0x30576c=_0x135b42['get']('SuggestionsConversion'),_0x5b2514=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x4ca56d of _0x5b2514)_0x30576c['registerBlockAttribute'](_0x4ca56d);}}class F extends _0x3ac0a8{['afterInit'](){const _0x505865=this['editor'],_0x4e3cfd=_0x505865['plugins']['get']('SuggestionsConversion');_0x505865['plugins']['has']('TableLayout')&&_0x4e3cfd['registerBlockAttribute']('tableType');}}class G extends _0x3ac0a8{['afterInit'](){const _0x14c739=this['editor'],_0x26c7ac=this['editor']['plugins']['get']('SuggestionsConversion');_0x14c739['plugins']['has']('Uploadcare')&&_0x14c739['plugins']['has']('UploadcareImageEdit')&&_0x26c7ac['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x3ac0a8{['afterInit'](){const _0x308b78=this['editor'];if(!_0x308b78['plugins']['has']('ShiftEnter'))return;const _0x1782a8=_0x308b78['plugins']['get']('SuggestionsConversion'),_0x2c4d38=(_0x4145a6,_0x2f8852,_0x3a71ea,_0x153d86)=>{if(_0x153d86&&!_0x3a71ea['options']['showSuggestionHighlights'])return;if(!_0x3a71ea['consumable']['test'](_0x2f8852['markerRange'],_0x4145a6['name']))return;const _0x223a1a=_0x308b78['model'];for(const _0x4ff367 of _0x2f8852['markerRange']['getItems']()){if(!_0x4ff367['is']('element','softBreak'))continue;const _0x83165f='deletion'==_0x2f8852['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x5147a8,authorId:_0x44d991}=v(_0x2f8852['markerName']),_0x5ec1a5=_0x3a71ea['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x83165f,'data-suggestion':_0x5147a8,'data-author-id':_0x44d991}),_0x514bac=_0x3a71ea['mapper']['toViewPosition'](_0x223a1a['createPositionBefore'](_0x4ff367));!_0x153d86&&_0x1782a8['_activeMarkers']['includes'](_0x2f8852['markerName'])&&_0x3a71ea['writer']['addClass']('ck-suggestion-marker--active',_0x5ec1a5),_0x3a71ea['writer']['insert'](_0x514bac,_0x5ec1a5),_0x3a71ea['mapper']['bindElementToMarker'](_0x5ec1a5,_0x2f8852['markerName']);}};_0x308b78['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x12b2f1,_0x203f10,_0x30fbc5)=>{_0x2c4d38(_0x12b2f1,_0x203f10,_0x30fbc5,!0x1);},{'priority':'high'}),_0x308b78['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x7aa2c0,_0x4aa638,_0x417604)=>{_0x2c4d38(_0x7aa2c0,_0x4aa638,_0x417604,!0x0);},{'priority':'high'});}}class L extends _0x3ac0a8{['afterInit'](){const _0xe39214=this['editor'];_0xe39214['plugins']['has']('MediaEmbedEditing')&&(_0xe39214['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1e557b,{writer:_0x34d015,options:_0x4ad178})=>{if(_0x4ad178['showSuggestionHighlights'])return _0x34d015['createEmptyElement']('div');},'converterPriority':'high'}),_0xe39214['data']['downcastDispatcher']['on']('attribute:url:media',(_0x17d3b9,_0x480c7a,_0x1c9436)=>{_0x1c9436['options']['showSuggestionHighlights']&&_0x17d3b9['stop']();},{'priority':'high'}));}}class Q extends _0x3ac0a8{['afterInit'](){const _0x906c52=this['editor'];if(!_0x906c52['plugins']['has']('Table'))return;_0x906c52['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5b2278,_0x36f33f,_0x1cecbc)=>{((_0x3a9e11,_0x5377f7,_0x3bde0e)=>{if(!_0x3bde0e['options']['showSuggestionHighlights'])return;const _0x16edd7=_0x5377f7['item'];if(!_0x16edd7||!_0x16edd7['is']('element','tableCell'))return;const _0x54f0dc=_0x3bde0e['mapper']['toViewElement'](_0x16edd7);if(_0x54f0dc){const {id:_0x358472,authorId:_0x50a339}=v(_0x5377f7['markerName']);at(_0x54f0dc,_0x3bde0e['writer'],(_0x17ab5a,_0x1b09f9,_0x5b337e)=>{_0x5b337e['addClass'](rt(_0x1b09f9['classes']),_0x17ab5a),_0x5b337e['setAttribute']('data-suggestion-id',_0x358472,_0x17ab5a),_0x5b337e['setAttribute']('data-author-id',_0x50a339,_0x17ab5a);});}})(0x0,_0x36f33f,_0x1cecbc);},{'priority':'highest'});}}class V extends _0x3ac0a8{['afterInit'](){const _0x22798c=this['editor'];_0x22798c['plugins']['has']('HorizontalLineEditing')&&_0x22798c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x24bdaf,{writer:_0x434f5b,options:_0x418d43})=>{if(!_0x418d43['showSuggestionHighlights'])return null;const _0x252184=_0x434f5b['createContainerElement']('div'),_0x3ce316=_0x434f5b['createEmptyElement']('hr');return _0x434f5b['addClass']('ck-horizontal-line',_0x252184),_0x434f5b['insert'](_0x434f5b['createPositionAt'](_0x252184,0x0),_0x3ce316),_0x252184;},'converterPriority':'high'});}}class W extends _0x3ac0a8{['afterInit'](){const {plugins:_0x444acd,model:_0x21b36c}=this['editor'];if(!_0x444acd['has']('TableCellPropertiesEditing'))return;const _0x81b372=_0x444acd['get']('SuggestionsConversion'),_0x38c00d=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x177fc9 of _0x38c00d)_0x81b372['registerBlockAttribute'](_0x177fc9);_0x21b36c['schema']['checkAttribute']('tableCell','tableCellType')&&_0x81b372['registerBlockAttribute']('tableCellType');}}class kt extends _0x3ac0a8{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e8874=this['editor'],_0x540a5e=(_0x2a5ef3,_0x3797cc,_0x7c8042)=>{const {id:_0x4bd90e,authorId:_0x24272b,type:_0x171d34,subType:_0x282444}=v(_0x2a5ef3['markerName']),_0x204201=['ck-suggestion-marker',this['_getClassName'](_0x171d34,_0x282444)];let _0x1a6dba=0xbb8;return!_0x7c8042&&(this['_activeMarkers']['includes'](_0x2a5ef3['markerName'])&&(_0x204201['push']('ck-suggestion-marker--active'),_0x1a6dba=0xbc2)),('deletion'==_0x171d34&&(_0x1a6dba+=0x5),{'classes':_0x204201,'attributes':{'data-suggestion':_0x4bd90e,'data-author-id':_0x24272b},'priority':_0x1a6dba});};_0x2e8874['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2858eb,_0x80e655)=>_0x540a5e(_0x2858eb,0x0,!0x1)}),_0x2e8874['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x330768,_0x3594c7)=>_0x540a5e(_0x330768,0x0,!0x0)}),_0x2e8874['conversion']['for']('dataDowncast')['add'](_0x441827=>{_0x441827['on']('addMarker:suggestion',(_0x3aad00,_0x390311,_0x5d882c)=>{if(!_0x5d882c['options']['showSuggestionHighlights'])return;const _0x2bc6fa=_0x390311['item'];if(!_0x2bc6fa)return;const _0x5588d2=_0x5d882c['mapper']['toViewElement'](_0x2bc6fa);_0x2e8874['model']['schema']['isObject'](_0x2bc6fa)&&_0x5588d2&&!_0x5588d2['getCustomProperty']('widget')&&_0x5588d2['is']('containerElement')&&_0xd960e8(_0x5588d2,_0x5d882c['writer']);},{'priority':'high'});});const _0x330956=(_0x703f89,_0x21b2af,_0x14f90d,_0x548c97,_0x5da115)=>{if(_0x548c97&&!_0x14f90d['options']['showSuggestionHighlights'])return;if(!_0x21b2af['item'])return;const {id:_0x1641e1,authorId:_0x2db1e2,subType:_0xfda449}=v(_0x21b2af['markerName']);if(_0x5da115){const _0x1ab8a3=_0xfda449['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1ab8a3))return;}if(_0x21b2af['item']['is']('selection'))return void _0x14f90d['consumable']['consume'](_0x21b2af['item'],_0x703f89['name']);const _0x3db129=_0x14f90d['mapper']['toViewElement'](_0x21b2af['item']);if(_0x21b2af['item']['is']('element')&&_0x2e8874['model']['schema']['isBlock'](_0x21b2af['item'])&&!_0x3db129['getCustomProperty']('addHighlight')){_0x14f90d['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3db129),_0x14f90d['writer']['setAttribute']('data-suggestion',_0x1641e1,_0x3db129),_0x14f90d['writer']['setAttribute']('data-author-id',_0x2db1e2,_0x3db129),_0x14f90d['mapper']['bindElementToMarker'](_0x3db129,_0x21b2af['markerName']),_0x548c97||(this['_activeMarkers']['includes'](_0x21b2af['markerName'])?_0x14f90d['writer']['addClass']('ck-suggestion-marker--active',_0x3db129):_0x14f90d['writer']['removeClass']('ck-suggestion-marker--active',_0x3db129));for(const _0xb3f7f2 of _0x2e8874['model']['createRangeIn'](_0x21b2af['item'])['getItems']())_0x14f90d['consumable']['consume'](_0xb3f7f2,_0x703f89['name']);_0x14f90d['consumable']['consume'](_0x21b2af['item'],_0x703f89['name']);}},_0x3078fc=(_0x5ad34e,_0x4c2959,_0x563de8,_0x198087)=>{const _0x123bc9=_0x563de8['mapper']['markerNameToElements'](_0x4c2959['markerName']);if(_0x123bc9){if(_0x198087){const {subType:_0x5a49df}=v(_0x4c2959['markerName']),_0x163498=_0x5a49df['split']('|')[0x0];if(!this['isBlockAttribute'](_0x163498))return;}for(const _0x5232e7 of _0x123bc9)_0x5232e7['getCustomProperty']('addHighlight')||(_0x563de8['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5232e7),_0x563de8['writer']['removeAttribute']('data-suggestion',_0x5232e7),_0x563de8['writer']['removeAttribute']('data-author-id',_0x5232e7),_0x563de8['mapper']['unbindElementFromMarkerName'](_0x5232e7,_0x4c2959['markerName']));}};_0x2e8874['conversion']['for']('editingDowncast')['add'](_0x4025fd=>{_0x4025fd['on']('addMarker:suggestion:formatBlock',(_0x29cff4,_0x56b38a,_0x55729f)=>{_0x330956(_0x29cff4,_0x56b38a,_0x55729f,!0x1,!0x1);},{'priority':'high'});}),_0x2e8874['conversion']['for']('editingDowncast')['add'](_0x1a79b7=>{_0x1a79b7['on']('addMarker:suggestion:attribute',(_0x4dcc64,_0x554512,_0x5644a2)=>{_0x330956(_0x4dcc64,_0x554512,_0x5644a2,!0x1,!0x0);},{'priority':'high'});}),_0x2e8874['conversion']['for']('editingDowncast')['add'](_0x3970bd=>{_0x3970bd['on']('removeMarker:suggestion:formatBlock',(_0x3f6ed1,_0x1aa860,_0x35296d)=>{_0x3078fc(0x0,_0x1aa860,_0x35296d,!0x1);},{'priority':'high'});}),_0x2e8874['conversion']['for']('editingDowncast')['add'](_0x485d70=>{_0x485d70['on']('removeMarker:suggestion:attribute',(_0x5db00a,_0xe86ec9,_0x3614ec)=>{_0x3078fc(0x0,_0xe86ec9,_0x3614ec,!0x0);},{'priority':'high'});}),_0x2e8874['conversion']['for']('dataDowncast')['add'](_0x193e29=>{_0x193e29['on']('addMarker:suggestion:formatBlock',(_0x460381,_0x11d5c6,_0x151d14)=>{_0x330956(_0x460381,_0x11d5c6,_0x151d14,!0x0,!0x1);},{'priority':'highest'});}),_0x2e8874['conversion']['for']('dataDowncast')['add'](_0xadaab8=>{_0xadaab8['on']('addMarker:suggestion:attribute',(_0x2f2be2,_0x27d8d5,_0x113aef)=>{_0x330956(_0x2f2be2,_0x27d8d5,_0x113aef,!0x0,!0x0);},{'priority':'highest'});}),_0x2e8874['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x55f4b7,_0x3be0cc)=>{if(_0x3be0cc['options']['showSuggestionHighlights']){const {id:_0x45bbbd,authorId:_0x3dfde1}=v(_0x55f4b7);return _0x55f4b7['includes'](':split')||_0x55f4b7['includes'](':merge')?{'group':'suggestion','name':_0x55f4b7['substr'](0xb),'attributes':{'data-suggestion':_0x45bbbd,'data-author-id':_0x3dfde1}}:null;}return{'group':'suggestion','name':_0x55f4b7['substr'](0xb)};}});const _0x8c17a8=(_0x8c36e4,_0xe0efee,_0x1d2cab,_0x4d20ec,_0xf5a96)=>{if(_0x4d20ec&&!_0x1d2cab['options']['showSuggestionHighlights'])return;if(!_0x1d2cab['consumable']['test'](_0xe0efee['markerRange'],_0x8c36e4['name']))return;const _0x22a877=this['_activeMarkers'],_0x194196=_0xe0efee['markerRange']['getWalker'](),_0x3456ca=_0xe0efee['markerRange']['start'],_0x391a05=_0x2e8874['model']['schema'];let _0x3a802a=null,_0x260ddd=null,_0x8475f8=!0x1,_0x55e4b7=!0x1;for(const _0x54d119 of _0x194196){const _0x138ad2=_0x54d119['item'];_0x8475f8=_0x8475f8||_0x391a05['isContent'](_0x138ad2);const _0x2639fe=_0x1d2cab['mapper']['toViewElement'](_0x138ad2);if(_0x2639fe&&_0x2639fe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x54d119['type']&&(_0x391a05['isBlock'](_0x138ad2)&&!_0x391a05['isLimit'](_0x138ad2)&&(_0x138ad2['nextSibling']||_0x3456ca['isAtEnd']?_0x3a802a&&_0x3a802a['parent']==_0x138ad2||(_0x3a802a=_0x138ad2,_0x1c7060(_0x54d119['previousPosition']),_0x55e4b7=!0x0):_0x260ddd=_0x260ddd||_0x54d119['previousPosition']));}function _0x1c7060(_0x166524){const {id:_0x382625,authorId:_0x56b053}=v(_0xe0efee['markerName']),_0x253ac6=_0x1d2cab['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xf5a96,'data-suggestion':_0x382625,'data-author-id':_0x56b053}),_0x4ed451=_0x1d2cab['mapper']['toViewPosition'](_0x166524);!_0x4d20ec&&_0x22a877['includes'](_0xe0efee['markerName'])&&_0x1d2cab['writer']['addClass']('ck-suggestion-marker--active',_0x253ac6),_0x1d2cab['writer']['insert'](_0x4ed451,_0x253ac6),_0x1d2cab['mapper']['bindElementToMarker'](_0x253ac6,_0xe0efee['markerName']);}_0x8475f8||_0x55e4b7||!_0x260ddd||_0x1c7060(_0x260ddd);};_0x2e8874['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x30b042,_0x239e9a,_0x4b292b)=>{_0x8c17a8(_0x30b042,_0x239e9a,_0x4b292b,!0x1,'merge');},{'priority':'high'}),_0x2e8874['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x2ee2d7,_0x29c316,_0x4a16be)=>{_0x8c17a8(_0x2ee2d7,_0x29c316,_0x4a16be,!0x0,'merge');},{'priority':'high'}),_0x2e8874['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x308e6d,_0x4d3db8,_0x3cec76)=>{_0x8c17a8(_0x308e6d,_0x4d3db8,_0x3cec76,!0x1,'split');},{'priority':'high'}),_0x2e8874['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4f7173,_0x28b34c,_0x46301f)=>{_0x8c17a8(_0x4f7173,_0x28b34c,_0x46301f,!0x0,'split');},{'priority':'high'}),_0x2e8874['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x973d99,_0x4f4c3b,_0x2cbbb5)=>{((_0x42e31d,_0x1ed290,_0x49131c)=>{const _0x4e31d0=_0x49131c['mapper']['markerNameToElements'](_0x1ed290['markerName']);if(_0x4e31d0){for(const _0x3fb4c7 of _0x4e31d0)(_0x3fb4c7['hasClass']('ck-suggestion-marker-split')||_0x3fb4c7['hasClass']('ck-suggestion-marker-merge'))&&(_0x49131c['mapper']['unbindElementFromMarkerName'](_0x3fb4c7,_0x1ed290['markerName']),_0x49131c['writer']['remove'](_0x3fb4c7));}})(0x0,_0x4f4c3b,_0x2cbbb5);},{'priority':'high'});const _0xb1716f=(_0x1e4d57,_0x498259,_0x25ae96,_0x49b8f3)=>{if(_0x49b8f3&&!_0x25ae96['options']['showSuggestionHighlights'])return;const _0x2e9223=_0x498259['markerRange']['start'],_0x15ff99=_0x498259['markerRange']['end'],_0x5d2379=_0x2e8874['model']['schema'];if(!_0x2e9223['isTouching'](_0x15ff99)||!_0x2e9223['nodeAfter'])return;const _0x5e8a72=_0x2e9223['nodeAfter'];if(_0x5d2379['isBlock'](_0x5e8a72)&&!_0x5d2379['isLimit'](_0x5e8a72)&&_0x5d2379['checkChild'](_0x5e8a72,'$text')){if(!_0x25ae96['consumable']['consume'](_0x498259['markerRange'],_0x1e4d57['name']))return;const {id:_0x2ddecb,authorId:_0x320f6b}=v(_0x498259['markerName']),_0x1927c0=_0x25ae96['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2ddecb,'data-author-id':_0x320f6b}),_0x58ed12=_0x25ae96['mapper']['toViewPosition'](_0x15ff99);!_0x49b8f3&&this['_activeMarkers']['includes'](_0x498259['markerName'])&&_0x25ae96['writer']['addClass']('ck-suggestion-marker--active',_0x1927c0),_0x25ae96['writer']['insert'](_0x58ed12,_0x1927c0),_0x25ae96['mapper']['bindElementToMarker'](_0x1927c0,_0x498259['markerName']);}};_0x2e8874['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xcd682e,_0x4fb5eb,_0x4d1ec9)=>{_0xb1716f(_0xcd682e,_0x4fb5eb,_0x4d1ec9,!0x1);},{'priority':'high'}),_0x2e8874['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1bb29f,_0x37ebd5,_0x212c6a)=>{_0xb1716f(_0x1bb29f,_0x37ebd5,_0x212c6a,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x16eb50,_0x96b324,_0x2d093d)=>{this['_activeMarkers']=_0x2d093d['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x567448){this['_blockAttributeKeys']['add'](_0x567448);}['registerInlineAttribute'](_0x2e1352){this['_inlineAttributeKeys']['add'](_0x2e1352);}['isBlockAttribute'](_0x55cb3f){return this['_blockAttributeKeys']['has'](_0x55cb3f);}['isInlineAttribute'](_0x56bd0a){return this['_inlineAttributeKeys']['has'](_0x56bd0a);}['isRegisteredAttribute'](_0x35392f){return this['isInlineAttribute'](_0x35392f)||this['isBlockAttribute'](_0x35392f);}['_getClassName'](_0x4e03fe,_0x3996a0){if('attribute'!=_0x4e03fe)return'ck-suggestion-marker-'+_0x4e03fe;const _0x2c85e1=_0x3996a0['split']('|')[0x0];return this['isBlockAttribute'](_0x2c85e1)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x89b12a={},_0x2bdfe2){if(void 0x0!==_0x89b12a['dateTimeFormat']&&'function'!=typeof _0x89b12a['dateTimeFormat'])throw new _0x5cae3f('invalid-date-time-format');return _0x220980=>{const _0x1f4d60='string'==typeof _0x220980?tt['fromISO'](_0x220980):tt['fromJSDate'](_0x220980),_0x57463f=tt['now'](),_0x5422c2=Math['floor'](_0x57463f['diff'](_0x1f4d60,'days')['days']);return _0x89b12a['dateTimeFormat']?_0x89b12a['dateTimeFormat'](_0x1f4d60['toJSDate'](),_0x2bdfe2&&_0x2bdfe2['t']?_0x2bdfe2['t']:void 0x0):0x0===_0x5422c2?_0x2bdfe2?U(_0x2bdfe2,'Today')+'\x20'+_0x1f4d60['toFormat']('hh:mma'):_0x1f4d60['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5422c2?_0x2bdfe2?U(_0x2bdfe2,'Yesterday')+'\x20'+_0x1f4d60['toFormat']('hh:mma'):_0x1f4d60['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5422c2<0x7?_0x2bdfe2?U(_0x2bdfe2,'Last')+'\x20'+U(_0x2bdfe2,_0x1f4d60['toFormat']('EEEE'))+'\x20'+_0x1f4d60['toFormat']('hh:mma'):_0x1f4d60['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1f4d60['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x31c298,_0x2a718e){const _0x2cd833=_0x31c298['mapper']['markerNameToElements'](_0x2a718e['name']);if(!_0x2cd833)return null;const _0x2f558c=_0x500adf(_0x2cd833['values']());return _0x31c298['view']['domConverter']['mapViewToDom'](_0x2f558c)||null;}function wt(_0x46c56a,_0x41df34){if(0x0===_0x41df34['length'])return null;const _0x577dd4=[],_0x46c4d7=_0x46c56a['view']['domConverter'];for(const _0x45c75f of _0x41df34){const _0x49970b=_0x46c56a['mapper']['markerNameToElements'](_0x45c75f['name']);if(!_0x49970b)continue;const _0x44863a=Array['from'](_0x49970b)['map'](_0x1d4a6d=>_0x46c4d7['mapViewToDom'](_0x1d4a6d))['filter'](_0x3acaa1=>!!_0x3acaa1);_0x577dd4['push'](..._0x44863a);}if(0x0===_0x577dd4['length'])return null;const _0x354448=[];for(const _0x58b683 of _0x577dd4){const _0x4ca33c=_0x58b683['getClientRects']()['item'](0x0);_0x4ca33c&&_0x354448['push']({'x':_0x4ca33c['x'],'y':_0x4ca33c['y'],'domElement':_0x58b683});}return 0x0===_0x354448['length']?null:(_0x354448['sort']((_0x12e772,_0x1cbe30)=>_0x12e772['y']-_0x1cbe30['y']||_0x12e772['x']-_0x1cbe30['x']),_0x354448['map'](_0x245b94=>_0x245b94['domElement']));}function bt(_0x4d926e,{limit:_0x25ca4c,suffix:_0x2e2a5c='...'}){const _0x39e9ce=[];let _0x28f718=0x0;const _0x59854a=_0x4d926e['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x487145=0x0;_0x487145<_0x59854a['length'];_0x487145++){let _0x18e6b3=_0x59854a[_0x487145];const _0x2a8118=tn(_0x18e6b3);if(_0x18e6b3['startsWith']('<')){if(_0x28f718>=_0x25ca4c){const _0x2f956f=_0x18e6b3['match'](/[a-zA-Z]+/);if(!_0x2f956f){_0x59854a[_0x487145]='';continue;}const _0x3bc471=_0x2f956f[0x0];_0x18e6b3['startsWith']('</')?(_0x39e9ce['length']&&(_0x18e6b3=''),_0x39e9ce['pop']()):(_0x39e9ce['push'](_0x3bc471),_0x18e6b3='');}}else{if(_0x28f718>=_0x25ca4c)_0x18e6b3='';else{if(_0x28f718+_0x2a8118['length']>=_0x25ca4c){let _0x505079=_0x25ca4c-_0x28f718;if('\x20'===_0x2a8118[_0x505079-0x1])_0x505079--;else{const _0x55a0dc=_0x2a8118['slice'](_0x505079)['indexOf']('\x20');-0x1!==_0x55a0dc?_0x505079+=_0x55a0dc:_0x505079=_0x18e6b3['length'];}_0x18e6b3=_0x2a8118['slice'](0x0,_0x505079)['join']('')+_0x2e2a5c,_0x28f718=_0x25ca4c;}else _0x28f718+=_0x2a8118['length'];}}_0x59854a[_0x487145]=_0x18e6b3;}return _0x59854a['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x4bc953){const _0xfdf04=[];for(let _0x32c4b2=0x0;_0x32c4b2<_0x4bc953['length'];_0x32c4b2++){const _0x34d8b1=_0x4bc953['substring'](_0x32c4b2)['match'](/^&[a-z0-9#]+;/);if(_0x34d8b1){const _0x38d980=_0x34d8b1[0x0];_0xfdf04['push'](_0x38d980),_0x32c4b2+=_0x38d980['length']-0x1;}else _0xfdf04['push'](_0x4bc953[_0x32c4b2]);}return _0xfdf04;}class X extends _0x196cb3{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x3e2e17){super(_0x3e2e17);const _0x58aa46=this['bindTemplate'];this['set']('message',U(_0x3e2e17,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x3e2e17,U(_0x3e2e17,'Yes'),_0x29009b,'submit'),this['cancelView']=this['_createButtonView'](_0x3e2e17,U(_0x3e2e17,'No'),_0x55f512,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3ff66a(),this['keystrokes']=new _0x131aca(),this['focusCycler']=new _0x4c369c({'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':_0x58aa46['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'](_0x3e0bbf,_0x220ba2,_0x5eb196,_0x3adce6){const _0x1bfd36=new ts(_0x3e0bbf);return _0x1bfd36['label']=_0x220ba2,_0x1bfd36['icon']=_0x5eb196,_0x1bfd36['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x3adce6}}),_0x1bfd36['on']('execute',()=>this['fire'](_0x3adce6)),_0x1bfd36;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x405c74=>{this['keystrokes']['listenTo'](_0x405c74['element']),this['focusTracker']['add'](_0x405c74['element']);}),this['keystrokes']['set']('esc',(_0x2e9d8b,_0x202450)=>{this['fire']('cancel'),_0x202450();});}}function vt(_0x175e88){return class extends _0x175e88{['showConfirm'](_0x49aa35,_0x3881d8){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x49aa35,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3881d8['appendChild'](this['confirmView']['element']),_0x3881d8['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x10141d,_0x2ee283,_0x177965)=>{_0x177965||_0x3881d8['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x57d75a=>this['confirmView']['on']('submit',_0x57d75a));}['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 k(_0x215ccb){let _0x1e8762=0x0,_0xed6ae6=0x0;for(const _0x23b31e of ne(_0x215ccb))_0x1e8762=(_0x1e8762<<0x5)-_0x1e8762+_0x23b31e,_0x1e8762&=_0x1e8762,[_0x1e8762,_0xed6ae6]=[_0xed6ae6,_0x1e8762];return ie(_0x1e8762)+ie(_0xed6ae6);}function*ee(_0x228650){null==_0x228650||null==_0x228650?yield 0x12b9b0a1:0x0===_0x228650||!0x1===_0x228650?yield 0x0:0x1===_0x228650||0x1==_0x228650?yield 0x1:Array['isArray'](_0x228650)?yield*function*(_0x3eae95){for(const _0x268a95 of _0x3eae95)yield*ee(_0x268a95);}(_0x228650):'object'==typeof _0x228650?yield*ne(_0x228650):'string'==typeof _0x228650?yield*oe(_0x228650):'number'==typeof _0x228650&&(yield _0x228650);}function*ne(_0x353ccc){if(yield te('{'),_0x353ccc){const _0x487bb7=Object['keys'](_0x353ccc)['sort']();for(const _0x11d8de of _0x487bb7){yield*oe(_0x11d8de),yield te(':');const _0xec6811=_0x353ccc[_0x11d8de];yield*ee(_0xec6811);}}yield te('}');}function*oe(_0x2450ba){yield te('\x22');for(const _0x5622e5 of _0x2450ba)yield te(_0x5622e5);yield te('\x22');}function te(_0x2ff57a){return _0x2ff57a['charCodeAt'](0x0);}function ie(_0x2f6c14){return(_0x2f6c14*=Math['sign'](_0x2f6c14))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x1fe3b5,_0x187447,_0x45a2dd,_0x3a5246=[]){const _0x17d02b='string'==typeof _0x1fe3b5?_0x45a2dd['get'](_0x1fe3b5)['constructor']:_0x1fe3b5['prototype']['constructor'];if(_0x187447['has'](_0x17d02b))return _0x187447['get'](_0x17d02b);_0x187447['set'](_0x17d02b,!0x0);const _0x145a86=[...et,..._0x3a5246]['map'](_0x5285d3=>{if(_0x45a2dd['has'](_0x5285d3))return _0x45a2dd['get'](_0x5285d3)['constructor'];})['filter'](_0x2bb549=>_0x2bb549);if(_0x17d02b&&_0x145a86['includes'](_0x17d02b))return _0x187447['set'](_0x17d02b,!0x1),!0x1;if(!_0x17d02b['requires'])return _0x187447['set'](_0x17d02b,!0x0),!0x0;const _0x3ddba3=_0x17d02b['requires']['every'](_0x2fe129=>ot(_0x2fe129,_0x187447,_0x45a2dd,_0x3a5246));return _0x187447['set'](_0x17d02b,_0x3ddba3),_0x3ddba3;}function Ct(_0x54e269,_0x4e0c2d){const _0x181360={};for(const _0x212da1 of _0x54e269['config']['names']())nt['includes'](_0x212da1)||(_0x181360[_0x212da1]=_0x54e269['config']['get'](_0x212da1));const _0x135b1d=_0x181360['plugins']||[],_0x1961e7=_0x54e269['constructor']['builtinPlugins']||[],_0xd0fbbb=_0x135b1d['length']?_0x135b1d:_0x1961e7,_0x599e15=_0x181360['extraPlugins']||[];delete _0x181360['extraPlugins'];const _0x34aa94=_0x181360['removePlugins']||[];delete _0x181360['removePlugins'];const _0x10682c=_0x54e269['_context']['config']['get']('plugins')||[],_0x462885=_0xd0fbbb['concat'](_0x599e15)['concat'](_0x10682c)['map'](_0x4c6bad=>'string'==typeof _0x4c6bad?_0x1961e7['find'](_0x24ebdc=>_0x24ebdc['pluginName']==_0x4c6bad):_0x4c6bad)['filter'](_0x4bec5e=>!_0x34aa94['includes'](_0x4bec5e)&&!_0x34aa94['includes'](_0x4bec5e['pluginName'])),_0x1557f1=Array['from'](new Set(_0x462885)),_0x207c45=new Map();return _0x181360['plugins']=_0x1557f1['filter'](_0x4e2363=>ot(_0x4e2363,_0x207c45,_0x54e269['plugins'],_0x4e0c2d)),_0x181360;}function xt(_0x57bd94,_0x602970){const _0x4d79b8=[];_0x57bd94['document']['selection']['on']('change:range',()=>{const _0x5cbf19=function(_0x1d1d24,_0x5e754f){const _0x3f722b=[];for(const _0x1c3426 of _0x1d1d24['markers']){const _0x4a0406=_0x1c3426['getRange']();(_0x4a0406['containsPosition'](_0x5e754f)||_0x4a0406['start']['isEqual'](_0x5e754f)||_0x4a0406['end']['isEqual'](_0x5e754f))&&_0x3f722b['push'](_0x1c3426);}return _0x3f722b;}(_0x57bd94,_0x57bd94['document']['selection']['focus']),_0x3cc7b6=[],_0x5da936=[],_0x5a812c=[];for(const _0x199399 of _0x4d79b8)_0x5cbf19['includes'](_0x199399)||_0x3cc7b6['push'](_0x199399);for(const _0x4f00c5 of _0x5cbf19)_0x4d79b8['includes'](_0x4f00c5)||_0x5da936['push'](_0x4f00c5),_0x5a812c['push'](_0x4f00c5);(_0x3cc7b6['length']||_0x5da936['length'])&&_0x602970({'left':_0x3cc7b6,'entered':_0x5da936}),_0x4d79b8['length']=0x0,_0x4d79b8['push'](..._0x5a812c);});}const It='Ctrl+Shift+E';function _t(_0x3869b5,_0x576701){const _0x5dbd7e=_0x3869b5['element'];_0x3869b5['keystrokes']['listenTo'](_0x5dbd7e);for(const _0x20ea28 of _0x576701)ro(_0x3869b5,_0x20ea28);_0x576701['on']('change',(_0x488cd1,_0x53cc0b)=>{for(const _0x577922 of _0x53cc0b['removed'])to(_0x3869b5,_0x577922);for(const _0x595c82 of Array['from'](_0x53cc0b['added'])['reverse']())ro(_0x3869b5,_0x595c82);}),_0x3869b5['keystrokes']['set']('enter',(_0x255d36,_0x33d713)=>{_0x5dbd7e===_0x255d36['target']&&(_0x3869b5['focusCycler']['focusFirst'](),_0x33d713());},{'filter':_0x4e9181=>_0x4e9181['target']===_0x5dbd7e}),_0x3869b5['keystrokes']['set']('esc',(_0x3a3bd6,_0x3510b5)=>{_0x5dbd7e!==_0x3a3bd6['target']?_0x3869b5['focus']():_0x3869b5['fire']('escape'),_0x3510b5();}),_0x3869b5['keystrokes']['set']('arrowdown',(_0x4dee04,_0x476223)=>{_0x5dbd7e===_0x4dee04['target']&&(_0x3869b5['fire']('arrowdown'),_0x476223());}),_0x3869b5['keystrokes']['set']('arrowup',(_0x69afa6,_0x58c4b0)=>{_0x5dbd7e===_0x69afa6['target']&&(_0x3869b5['fire']('arrowup'),_0x58c4b0());});}function ro(_0x1c5947,_0xba9076){_0xba9076['isRendered']&&(_0x1c5947['focusTracker']['add'](_0xba9076['element']),_0x1c5947['keystrokes']['listenTo'](_0xba9076['element']),_0xeb5e78(_0xba9076)&&function(_0x4ceef7,_0x51128a){const _0x48172d=_0x4ceef7['actions'],_0x34f589=_0x51128a['actions'];for(const _0x25f081 of Object['keys'](_0x48172d))if(_0x25f081 in _0x34f589&&_0x48172d[_0x25f081]!==_0x34f589[_0x25f081])return!0x1;return!0x0;}(_0x1c5947['focusCycler'],_0xba9076['focusCycler'])&&_0x1c5947['focusCycler']['chain'](_0xba9076['focusCycler']));}function to(_0x2a32d1,_0x1a41ff){_0x2a32d1['focusTracker']['remove'](_0x1a41ff['element']),_0x2a32d1['keystrokes']['stopListening'](_0x1a41ff['element']),_0xeb5e78(_0x1a41ff)&&_0x2a32d1['focusCycler']['unchain'](_0x1a41ff['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0xcb6340{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x4e7b23?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x15582c,_0x6ecaab)=>{_0x6ecaab['on']('ready',()=>{this['_integrateEditor'](_0x6ecaab);});});}get['editor'](){if(this['context']instanceof _0x4e7b23)return this['context'];{const _0x3925ef=this['context']['editors']['first'];if(!_0x3925ef)throw new _0x5cae3f('documentcompare-no-editor',this);return _0x3925ef;}}['getDiff'](_0x5ab46b,_0xad83f2,_0x2f184d={'anchor':'main','markDeletions':!0x1}){let _0x4b8462,_0xc99a39;const _0x1d5593=this['editor'];if('string'==typeof _0x2f184d['anchor']){const _0x4a6492=_0x1d5593['model']['document']['getRoot'](_0x2f184d['anchor']);if(!_0x4a6492)throw new _0x5cae3f('documentcompare-compare-no-root',this,{'anchor':_0x2f184d['anchor']});_0x4b8462=_0x4a6492,_0xc99a39=_0x1d5593['model']['createPositionAt'](_0x4a6492,0x0);}else _0x4b8462=_0x2f184d['anchor']['clone'](),_0xc99a39=_0x2f184d['anchor']['clone']();const _0x1c86dd=_0x1d5593['data']['parse'](_0x5ab46b,_0x4b8462),_0x7526b3=_0x1d5593['data']['parse'](_0xad83f2,_0x4b8462);return new Mt(_0x1c86dd,_0x7526b3,_0x1d5593,{'anchor':_0xc99a39,'markDeletions':_0x2f184d['markDeletions']});}['isMarkedRemoveOperation'](_0x24c8ff){return'marker'==_0x24c8ff['type']&&_0x24c8ff['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x363569){_0x363569['conversion']['for']('upcast')['add'](_0x1ff62b=>{_0x1ff62b['on']('element',(_0x8b631,_0x4b3cb9,_0x4473b3)=>{if(_0x4b3cb9['modelRange'])for(const _0x5ebb20 of _0x4b3cb9['modelRange']['getItems']({'shallow':!0x0})){if(_0x5ebb20['is']('$textProxy'))continue;const _0xeca81e=_0x4b3cb9['viewItem']['getAttribute'](Et);_0xeca81e&&_0x4473b3['writer']['setAttribute'](St,_0xeca81e,_0x5ebb20);}},{'priority':'lowest'});}),_0x363569['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x44bb85,_0x485263,_0x475001,_0x8d9e67){this['_editor']=_0x475001,this['_markDeletions']=!!_0x8d9e67['markDeletions'],this['_anchor']=_0x8d9e67['anchor'];const _0x44f2e6=this['_tokenizeModel'](_0x44bb85),_0x313979=this['_tokenizeModel'](_0x485263);this['_diffItems']=this['_diffModelTokens'](_0x44f2e6,_0x313979),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x44bb85['markers'],_0x485263['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x24770e=this['_editor']['model']['document'],_0x9306e4=[];let _0x14e8ce=_0x24770e['version'];for(const _0x30b617 of this['_operationsData'])switch(_0x30b617['type']){case'attribute':{const _0x38fd84=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']),_0x319bc6=_0x38fd84['getShiftedBy'](_0x30b617['howMany']),_0x24189e=new _0x27409f(_0x38fd84,_0x319bc6),_0x5177e9=JSON['parse'](_0x30b617['oldValue']),_0x2daafe=JSON['parse'](_0x30b617['newValue']);_0x9306e4['push'](new _0x4d877e(_0x24189e,_0x30b617['key'],_0x5177e9,_0x2daafe,_0x14e8ce++));break;}case'insert':{const _0x4bad44=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']),_0x2826d9=this['_makeModelFromTokens'](_0x30b617['tokens']);_0x9306e4['push'](new _0x27bf54(_0x4bad44,_0x2826d9,_0x14e8ce++));break;}case'remove':{const _0x4329f9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']),_0x4b62cb=new _0x256c0b(_0x24770e['graveyard'],[0x0]);_0x9306e4['push'](new _0x56ac0d(_0x4329f9,_0x30b617['howMany'],_0x4b62cb,_0x14e8ce++));break;}case'rename':{const _0x4d7659=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']);_0x9306e4['push'](new _0x161aec(_0x4d7659,_0x30b617['oldName'],_0x30b617['newName'],_0x14e8ce++));break;}case'split':{const _0x1cb869=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']),_0xab5c00=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['path']['slice'](0x0,-0x1));_0xab5c00['offset']++,_0x9306e4['push'](new _0x1f3ae3(_0x1cb869,Number['NEGATIVE_INFINITY'],_0xab5c00,null,_0x14e8ce++));break;}case'merge':{const _0x1ae3df=_0x30b617['path']['slice'](),_0x5323ea=_0x1ae3df['slice'](0x0,-0x1);_0x5323ea[_0x5323ea['length']-0x1]++,_0x5323ea['push'](0x0);const _0x47fe90=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5323ea),_0xdc45e1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ae3df),_0x45ac87=new _0x256c0b(_0x24770e['graveyard'],[0x0]);_0x9306e4['push'](new _0x278a1c(_0x47fe90,Number['NEGATIVE_INFINITY'],_0xdc45e1,_0x45ac87,_0x14e8ce++));break;}case'marker':case'markedRemove':{let _0x4e5120=null;if(_0x30b617['range']){const _0xc70fac=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['range']['start']),_0x3d277e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['range']['end']);_0x4e5120=new _0x27409f(_0xc70fac,_0x3d277e);}const _0x49c69a='marker'==_0x30b617['type']?_0x30b617['name']:'$markedRemove:'+_0xc93f74();_0x9306e4['push'](new _0x391a4a(_0x49c69a,null,_0x4e5120,_0x24770e['model']['markers'],!0x0,_0x14e8ce++));break;}case'unwrap':{const _0x4609d4=_0x30b617['path']['slice']();_0x4609d4['push'](0x0);const _0x4b2b9e=_0x30b617['path']['slice'](),_0x2121f1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4609d4),_0x4e08ca=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4b2b9e),_0x4f0999=new _0x256c0b(_0x24770e['graveyard'],[0x0]);_0x9306e4['push'](new _0x56ac0d(_0x2121f1,_0x30b617['howMany'],_0x4e08ca,_0x14e8ce++)),_0x9306e4['push'](new _0x56ac0d(_0x4e08ca['getShiftedBy'](_0x30b617['howMany']),0x1,_0x4f0999,_0x14e8ce++));break;}case'wrap':{const _0x2a608b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['range']['start']),_0x57d61a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30b617['range']['end']),_0x49b748=_0x30b617['token']['element']['_clone'](!0x1),_0x1e8caf=_0x30b617['range']['end']['slice']();_0x1e8caf['push'](0x0);const _0x2cbf20=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1e8caf);_0x9306e4['push'](new _0x27bf54(_0x57d61a,_0x49b748,_0x14e8ce++)),_0x9306e4['push'](new _0x56ac0d(_0x2a608b,_0x57d61a['offset']-_0x2a608b['offset'],_0x2cbf20,_0x14e8ce++));break;}}return _0x9306e4;}['_tokenizeModel'](_0x3a2639){const _0x34943d=[],_0x31ae6f=_0x27409f['_createIn'](_0x3a2639),_0x20d132=new _0x141a91({'boundaries':_0x31ae6f});let _0x510983='',_0x27a6cd=null;const _0x576716=[''],_0x3c9cfe=new Map();for(const _0x4747ee of _0x20d132)if('elementStart'==_0x4747ee['type']||'elementEnd'==_0x4747ee['type']){let _0x1dbe16=_0x576716[0x0];''!==_0x510983&&(_0x34943d['push'](...this['_makeTokensFromTextByWords'](_0x510983,_0x27a6cd,_0x1dbe16)),_0x510983='');const _0x55fe89=_0x4747ee['item'];let _0x61692c;_0x55fe89['getAttribute'](St)?_0x61692c=_0x55fe89['getAttribute'](St):'elementStart'==_0x4747ee['type']?(_0x61692c=_(_0x55fe89),_0x3c9cfe['set'](_0x55fe89,_0x61692c)):_0x61692c=_0x3c9cfe['get'](_0x55fe89);const _0x2b5b6a=this['_getElementCategory'](_0x55fe89);'solid'==_0x2b5b6a&&('elementStart'==_0x4747ee['type']?(_0x1dbe16=_0x61692c,_0x576716['unshift'](_0x1dbe16)):_0x576716['shift']());const _0x5aef9f={'type':'element','element':_0x55fe89,'elementId':_0x61692c,'category':_0x2b5b6a,'isStart':'elementStart'==_0x4747ee['type'],'limitId':_0x1dbe16};_0x34943d['push'](_0x5aef9f);}else''==_0x510983&&(_0x27a6cd=_0x4747ee['previousPosition']['clone']()),_0x510983+=_0x4747ee['item']['data'];return''!==_0x510983&&_0x34943d['push'](...this['_makeTokensFromTextByWords'](_0x510983,_0x27a6cd,_0x576716[0x0])),_0x34943d;}['_makeTokensFromTextByWords'](_0x218bb2,_0x5481c8,_0x166c4d){const _0x56daf7=_0x218bb2['matchAll'](/(\s)/g),_0x32cda9=Array['from'](_0x56daf7)['map'](_0x3e63c6=>_0x3e63c6['index']);_0x32cda9['push'](_0x218bb2['length']),0x0==_0x32cda9[0x0]&&_0x32cda9['shift']();const _0x399824=[],_0x14b775=_0x5481c8['parent'];let _0x3e5d44=0x0,_0x1a6806=_0x5481c8['offset'];for(let _0x58f980=0x0;_0x58f980<_0x32cda9['length'];_0x58f980++)_0x399824['push']({'type':'text','data':_0x218bb2['slice'](_0x3e5d44,_0x32cda9[_0x58f980]),'parent':_0x14b775,'offset':_0x1a6806,'limitId':_0x166c4d}),_0x3e5d44=_0x32cda9[_0x58f980],_0x1a6806=_0x5481c8['offset']+_0x32cda9[_0x58f980];return _0x399824;}['_getElementCategory'](_0x3510c9){const _0x15ba14=this['_editor']['model']['schema'];return _0x15ba14['isLimit'](_0x3510c9)||_0x15ba14['isContent'](_0x3510c9)||_0x15ba14['isInline'](_0x3510c9)?'solid':_0x15ba14['isBlock'](_0x3510c9)?'block':'container';}['_diffModelTokens'](_0x11e35c,_0x559fad){const _0x2980ec=_0x1c121c(_0x11e35c,_0x559fad,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x2980ec);const _0x591583=_0x2980ec['flatMap'](_0x316e5c=>{const _0x5b989d=_0x316e5c['added']?'added':_0x316e5c['removed']?'removed':'unchanged';return _0x316e5c['value']['map'](_0x43016a=>({'token':_0x43016a,'change':_0x5b989d}));});let _0x53bca7=0x0;for(const _0x1a391f of _0x591583)'added'!=_0x1a391f['change']&&('unchanged'==_0x1a391f['change']&&(_0x1a391f['before']=_0x11e35c[_0x53bca7]),_0x53bca7++);return _0x591583;}['_handleUnclosedBlockOpeningTags'](_0x3d5fe5){for(let _0x59b6cc=0x0;_0x59b6cc<_0x3d5fe5['length']-0x1;_0x59b6cc++)if(_0x3d5fe5[_0x59b6cc]['removed']&&_0x3d5fe5[_0x59b6cc+0x1]['added']){const _0x4d74df=this['_findUnclosedBlockOpeningToken'](_0x3d5fe5[_0x59b6cc]['value']);if(null!==_0x4d74df){const _0x1ad080=this['_findUnclosedBlockOpeningToken'](_0x3d5fe5[_0x59b6cc+0x1]['value']),_0x93784b=_0x3d5fe5[_0x59b6cc]['value']['splice'](_0x4d74df),_0x49442a=_0x3d5fe5[_0x59b6cc+0x1]['value']['splice'](_0x1ad080),_0x3f85b4=[_0x49442a['shift']()];_0x93784b['shift']();const _0x3200a8={'value':_0x93784b,'removed':!0x0},_0x400e04={'value':_0x49442a,'added':!0x0},_0x52aeaf={'value':_0x3f85b4};_0x3d5fe5['splice'](_0x59b6cc+0x2,0x0,_0x52aeaf,_0x3200a8,_0x400e04);}}}['_findUnclosedBlockOpeningToken'](_0x597c40){let _0x391a68=0x0,_0x50dd1d=-0x1;for(let _0x9f63e5=0x0;_0x9f63e5<_0x597c40['length'];_0x9f63e5++){const _0x8acc1c=_0x597c40[_0x9f63e5];'element'==_0x8acc1c['type']&&'block'==_0x8acc1c['category']&&(_0x391a68+=_0x8acc1c['isStart']?0x1:-0x1,_0x8acc1c['isStart']&&(_0x50dd1d=_0x9f63e5));}return 0x0===_0x391a68?null:_0x50dd1d;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xcbb678=0x0;_0xcbb678<this['_diffItems']['length'];_0xcbb678++){const _0x5680be=this['_diffItems'][_0xcbb678]['change'],_0x5f045f=[];_0x5f045f['push'](this['_diffItems'][_0xcbb678]);let _0x5a2544=_0xcbb678+0x1;for(;this['_diffItems'][_0x5a2544]&&this['_diffItems'][_0x5a2544]['change']==_0x5680be;)_0x5f045f['push'](this['_diffItems'][_0x5a2544]),_0x5a2544++,_0xcbb678++;const _0x35851a=_0x5f045f['map'](_0x1d604a=>_0x1d604a['token']);if('unchanged'==_0x5680be)_0x5f045f['map'](_0x4ada09=>_0x4ada09['before'])['forEach'](_0x104944=>this['_traverseOverItem'](_0x104944));else{if('removed'==_0x5680be){if(this['_markDeletions']){const _0x4680be=this['_path']['slice']();_0x35851a['forEach'](_0xf5031e=>this['_traverseOverItem'](_0xf5031e));const _0x160a26=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x4680be,'end':_0x160a26}});}else this['_handleChanged'](_0x35851a,!0x0,this['_path']['slice']());}else{const _0x63298b=_0x35851a['filter'](_0x93cd80=>'element'!=_0x93cd80['type']||'container'!=_0x93cd80['category']);this['_handleChanged'](_0x63298b,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4349bf=0x0;_0x4349bf<this['_diffItems']['length'];_0x4349bf++){const _0x56a09d=this['_diffItems'][_0x4349bf]['change'],_0x42cb89=[];_0x42cb89['push'](this['_diffItems'][_0x4349bf]);let _0x3957b1=_0x4349bf+0x1;for(;this['_diffItems'][_0x3957b1]&&this['_diffItems'][_0x3957b1]['change']==_0x56a09d;)_0x42cb89['push'](this['_diffItems'][_0x3957b1]),_0x3957b1++,_0x4349bf++;const _0x41e602=_0x42cb89['map'](_0x1e6890=>_0x1e6890['token']);if('unchanged'==_0x56a09d){const _0x414b8e=_0x42cb89['map'](_0x5006a7=>_0x5006a7['before']);this['_handleUnchanged'](_0x414b8e,_0x41e602);}else('removed'!=_0x56a09d||this['_markDeletions'])&&_0x41e602['forEach'](_0x179b89=>{this['_traverseOverItem'](_0x179b89);});}}['_calculateMarkersOperationsData'](_0x13c83e,_0x588e9a){const _0x412af6={};for(const [_0x5ba8e2]of _0x13c83e)_0x412af6[_0x5ba8e2]=null;for(const [_0x317b44,_0x3edbff]of _0x588e9a)_0x412af6[_0x317b44]=_0x3edbff;const _0x507965=Object['entries'](_0x412af6)['map'](([_0x104c2a,_0x266bc8])=>({'type':'marker','name':_0x104c2a,'range':_0x266bc8?{'start':_0x266bc8['start']['path']['slice'](),'end':_0x266bc8['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x507965);}['_handleUnwraps'](){const _0x212c51=new Map(),_0x324606=[],_0x279570=[0x0];let _0x2a76c4=this['_diffItems']['length']+0x1;for(let _0x28b68d=this['_diffItems']['length']-0x1;_0x28b68d>=0x0;_0x28b68d--){const {token:_0x5ad0a4,before:_0x16b156,change:_0x5f0cc3}=this['_diffItems'][_0x28b68d];if('removed'!=_0x5f0cc3&&(_0x2a76c4=_0x28b68d),'element'!=_0x5ad0a4['type']||'container'!=_0x5ad0a4['category']||'added'==_0x5f0cc3)continue;const _0x27117e=_0x16b156?_0x16b156['element']:_0x5ad0a4['element'];if(_0x5ad0a4['isStart']){const _0x3ba339=_0x212c51['get'](_0x27117e),_0x3da140=this['_diffItems'][_0x3ba339];('removed'==_0x5f0cc3||'removed'==_0x3da140['change'])&&_0x2a76c4<_0x3ba339&&(this['_operationsData']['push']({'type':'unwrap','path':_0x27117e['getPath'](),'howMany':_0x27117e['maxOffset']+_0x279570[0x0]}),_0x279570['shift'](),_0x279570[0x0]+=_0x27117e['maxOffset']-0x1,_0x324606['push'](_0x28b68d),_0x324606['push'](_0x3ba339));}else _0x212c51['set'](_0x27117e,_0x28b68d),_0x279570['unshift'](0x0);}_0x324606['sort']((_0x2f2fbd,_0x4ac500)=>_0x4ac500-_0x2f2fbd),_0x324606['forEach'](_0x1f63fd=>{const _0x72bcc6=this['_diffItems'][_0x1f63fd];'removed'==_0x72bcc6['change']?this['_diffItems']['splice'](_0x1f63fd,0x1):(_0x72bcc6['change']='added',delete _0x72bcc6['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x2d9fcf=[];for(let _0x14667d=0x0;_0x14667d<this['_diffItems']['length'];_0x14667d++){const {change:_0x37c7ff,token:_0x550c6a}=this['_diffItems'][_0x14667d];if('added'==_0x37c7ff&&'element'==_0x550c6a['type']&&'container'==_0x550c6a['category']){if(_0x550c6a['isStart'])_0x2d9fcf['push'](this['_path']['slice']());else{if(!_0x550c6a['isStart']){const _0x11d52f=_0x2d9fcf['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x11d52f,'end':this['_path']['slice']()},'token':_0x550c6a}),this['_path'][this['_path']['length']-0x1]=_0x11d52f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x37c7ff||this['_markDeletions'])&&this['_traverseOverItem'](_0x550c6a);}}['_handleUnchanged'](_0x305145,_0x1174c4){for(let _0x3d1449=0x0;_0x3d1449<_0x305145['length'];_0x3d1449++){const _0x49b145=_0x305145[_0x3d1449];if('element'==_0x49b145['type']&&_0x49b145['isStart']){const _0x55a45d=_0x1174c4[_0x3d1449];'block'==_0x49b145['category']&&this['_handleElementRename'](_0x49b145['element'],_0x55a45d['element'],this['_path']),this['_handleElementAttributeChanges'](_0x49b145['element'],_0x55a45d['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x55a45d);}else{if('element'!=_0x49b145['type']||_0x49b145['isStart']){if('text'==_0x49b145['type']){const _0x9c2528=this['_path']['slice'](),_0x562e21=[],_0x5e7adc=[];for(;_0x305145[_0x3d1449]&&'text'==_0x305145[_0x3d1449]['type'];)_0x562e21['push'](_0x305145[_0x3d1449]),_0x5e7adc['push'](_0x1174c4[_0x3d1449]),this['_path'][this['_path']['length']-0x1]+=_0x305145[_0x3d1449]['data']['length'],_0x3d1449++;_0x3d1449--,this['_handleTextAttributeChanges'](_0x562e21,_0x5e7adc,_0x9c2528);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3042ff,_0x53f039,_0x506e24){const _0x392d7c=[],_0x479a45=[],_0x141841=_0x506e24['slice']();for(let _0x507c3a=0x0;_0x507c3a<_0x3042ff['length'];_0x507c3a++){const _0x3f90af=_0x3042ff[_0x507c3a],_0x99cf5d=_0x506e24['slice']();if('element'!=_0x3f90af['type']||_0x3f90af['isStart'])'element'==_0x3f90af['type']&&_0x3f90af['isStart']?(_0x506e24['push'](0x0),_0x53f039||this['_parents']['push'](_0x3f90af),_0x479a45['push']({'before':_0x99cf5d,'after':_0x506e24['slice'](),'index':_0x507c3a})):_0x506e24[_0x506e24['length']-0x1]+=_0x3f90af['data']['length'];else{let _0x526639;_0x506e24['pop'](),_0x506e24[_0x506e24['length']-0x1]++,_0x526639=_0x53f039?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x479a45['length']?_0x479a45['pop']():_0x392d7c['push']({'before':_0x99cf5d,'after':_0x506e24['slice'](),'index':_0x507c3a,'related':_0x526639});}}if(_0x479a45['length']!==_0x392d7c['length'])throw new _0x5cae3f('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3042ff,'isRemove':_0x53f039});const _0x462eec=[{'after':_0x141841['slice'](),'index':-0x1},..._0x392d7c,..._0x479a45,{'before':_0x506e24['slice'](),'index':_0x3042ff['length']}];if(_0x53f039){for(let _0x9e15d=_0x462eec['length']-0x1;_0x9e15d>=0x1;_0x9e15d--){const _0x26932a=_0x462eec[_0x9e15d-0x1]['after'],_0x2c7f1f=_0x462eec[_0x9e15d]['before'],_0x219138=_0x2c7f1f[_0x2c7f1f['length']-0x1]-_0x26932a[_0x26932a['length']-0x1];_0x219138&&(this['_operationsData']['push']({'type':'remove','path':_0x26932a,'howMany':_0x219138}),_0x2c7f1f[_0x2c7f1f['length']-0x1]-=_0x219138);}for(const {before:_0x525c47}of _0x392d7c)this['_operationsData']['push']({'type':'merge','path':_0x525c47});}else for(let _0x35f3e8=0x0;_0x35f3e8<_0x462eec['length']-0x1;_0x35f3e8++){const _0x482d5b=_0x462eec[_0x35f3e8]['after'],_0x5c00cb=_0x462eec[_0x35f3e8+0x1]['before'],_0x421ee3=_0x462eec[_0x35f3e8]['index']+0x1,_0x4b60ee=_0x462eec[_0x35f3e8+0x1]['index'];if(_0x421ee3!==_0x4b60ee&&this['_operationsData']['push']({'type':'insert','path':_0x482d5b,'tokens':_0x3042ff['slice'](_0x421ee3,_0x4b60ee)}),_0x35f3e8<_0x392d7c['length']){this['_operationsData']['push']({'type':'split','path':_0x5c00cb});const _0x366aa6=_0x3042ff[_0x479a45[_0x479a45['length']-0x1-_0x35f3e8]['index']],_0x3a74c0=_0x392d7c[_0x35f3e8]['after'],_0x405f27=_0x392d7c[_0x35f3e8]['related']['element'];this['_handleElementRename'](_0x405f27,_0x366aa6['element'],_0x3a74c0),this['_handleElementAttributeChanges'](_0x405f27,_0x366aa6['element'],_0x3a74c0);}}}['_traverseOverItem'](_0x5eb0b2){'element'==_0x5eb0b2['type']&&_0x5eb0b2['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x5eb0b2)):'element'!=_0x5eb0b2['type']||_0x5eb0b2['isStart']?'text'==_0x5eb0b2['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x5eb0b2['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x152b98,_0x3eea1c,_0x5509be){_0x152b98['name']!=_0x3eea1c['name']&&this['_operationsData']['push']({'type':'rename','path':_0x5509be['slice'](),'oldName':_0x152b98['name'],'newName':_0x3eea1c['name']});}['_handleElementAttributeChanges'](_0x34e36a,_0x92ad2c,_0x4b78cf){const _0x1dace7=this['_getAttributeChanges'](_0x34e36a['getAttributes'](),_0x92ad2c['getAttributes']());for(const _0x418947 in _0x1dace7){const {oldValue:_0x522911,newValue:_0x3c9f3e}=_0x1dace7[_0x418947];this['_operationsData']['push']({'type':'attribute','path':_0x4b78cf['slice'](),'howMany':0x1,'key':_0x418947,'oldValue':_0x522911,'newValue':_0x3c9f3e});}}['_handleTextAttributeChanges'](_0x34b142,_0x402654,_0x328adf){const _0x1a5641=this['_operationsData'],_0x21bc37=_0x34b142[0x0]['parent'],_0x407087=_0x34b142[0x0]['offset'],_0x2e6041=_0x402654[0x0]['parent'],_0x3b6695=_0x402654[0x0]['offset'],_0x49b01c=_0x34b142['reduce']((_0x3b4201,_0x1c8fb7)=>_0x3b4201+_0x1c8fb7['data']['length'],0x0),_0x111558=this['_getAttrsForOffsets'](_0x21bc37,_0x407087,_0x49b01c),_0x556d92=this['_getAttrsForOffsets'](_0x2e6041,_0x3b6695,_0x49b01c),_0x373bdb={};for(let _0x34c3b7=0x0;_0x34c3b7<_0x49b01c;_0x34c3b7++){const _0x349b53=_0x111558[_0x407087+_0x34c3b7],_0x3b2b93=_0x556d92[_0x3b6695+_0x34c3b7],_0x1efc91=this['_getAttributeChanges'](_0x349b53,_0x3b2b93);for(const _0x1341bd in _0x373bdb)_0x1efc91[_0x1341bd]||_0x4a5fe7(_0x1341bd);for(const _0x48e1b3 in _0x1efc91){const {oldValue:_0x1bf81f,newValue:_0x503bbb}=_0x1efc91[_0x48e1b3],_0x7c5f66=_0x373bdb[_0x48e1b3];_0x7c5f66?_0x7c5f66['oldValue']==_0x1bf81f&&_0x7c5f66['newValue']==_0x503bbb?_0x7c5f66['length']++:(_0x4a5fe7(_0x48e1b3),_0x373bdb[_0x48e1b3]={'oldValue':_0x1bf81f,'newValue':_0x503bbb,'start':_0x34c3b7,'length':0x1}):_0x373bdb[_0x48e1b3]={'oldValue':_0x1bf81f,'newValue':_0x503bbb,'start':_0x34c3b7,'length':0x1};}}for(const _0x29b4e6 in _0x373bdb)_0x4a5fe7(_0x29b4e6);function _0x4a5fe7(_0x304626){const _0x473c02=_0x373bdb[_0x304626],_0x45d318=_0x328adf['slice']();_0x45d318[_0x45d318['length']-0x1]+=_0x473c02['start'],_0x1a5641['push']({'type':'attribute','path':_0x45d318,'howMany':_0x473c02['length'],'key':_0x304626,'oldValue':_0x473c02['oldValue'],'newValue':_0x473c02['newValue']}),delete _0x373bdb[_0x304626];}}['_getAttributeChanges'](_0x84b839,_0x1e751f){const _0x55d604={};for(const [_0x45cb55,_0x5ec7a5]of _0x84b839)_0x55d604[_0x45cb55]={'oldValue':JSON['stringify'](_0x5ec7a5),'newValue':'null'};for(const [_0x371ba2,_0x37ffce]of _0x1e751f){const _0x452bd1=JSON['stringify'](_0x37ffce);_0x55d604[_0x371ba2]?_0x55d604[_0x371ba2]['oldValue']==_0x452bd1?delete _0x55d604[_0x371ba2]:_0x55d604[_0x371ba2]['newValue']=_0x452bd1:_0x55d604[_0x371ba2]={'oldValue':'null','newValue':_0x452bd1};}return delete _0x55d604[St],_0x55d604;}['_getAttrsForOffsets'](_0x75812,_0x4e71f1,_0x194d14){const _0x441104=new Array(_0x4e71f1+_0x194d14);let _0x2419eb=_0x75812['getChildAtOffset'](_0x4e71f1),_0x496586=_0x2419eb['startOffset'];for(;_0x2419eb&&_0x496586<_0x4e71f1+_0x194d14;){const _0x1351d0=Array['from'](_0x2419eb['getAttributes']());_0x441104['fill'](_0x1351d0,_0x496586,_0x496586+_0x2419eb['offsetSize']),_0x496586+=_0x2419eb['offsetSize'],_0x2419eb=_0x2419eb['nextSibling'];}return _0x441104;}['_getPositionFromAnchorAndPath'](_0x4926ec,_0x443cf6){const _0xd9d4c4=[..._0x4926ec['path']['slice'](0x0,-0x1),_0x4926ec['offset']+_0x443cf6[0x0],..._0x443cf6['slice'](0x1)];return new _0x256c0b(_0x4926ec['root'],_0xd9d4c4);}['_makeModelFromTokens'](_0xbc7e98){const _0x90930a=[];let _0x13c0e6=null;for(const _0x1ed1eb of _0xbc7e98)if('element'!=_0x1ed1eb['type']||_0x1ed1eb['isStart']||_0x13c0e6!=_0x1ed1eb['element']){if(!_0x13c0e6){if('text'==_0x1ed1eb['type']){const _0x3c686e=_0x256c0b['_createAt'](_0x1ed1eb['parent'],_0x1ed1eb['offset']),_0x4df69a=_0x27409f['_createFromPositionAndShift'](_0x3c686e,_0x1ed1eb['data']['length']),_0x5037e9=Array['from'](_0x4df69a['getItems']())['map'](_0x4fc5b9=>new _0x53a7ee(_0x4fc5b9['data'],_0x4fc5b9['getAttributes']()));_0x90930a['push'](..._0x5037e9);}else{_0x13c0e6=_0x1ed1eb['element'];const _0x1909e5=_0x1ed1eb['element']['_clone'](!0x0);_0x1909e5['_removeAttribute'](St);for(const _0x114748 of this['_editor']['model']['createRangeIn'](_0x1909e5)['getItems']())_0x114748['is']('element')&&_0x114748['_removeAttribute'](St);_0x90930a['push'](_0x1909e5);}}}else _0x13c0e6=null;return _0x90930a;}}function g(_0x589b38,_0x185c63){return _0x589b38['type']===_0x185c63['type']&&(_0x589b38['limitId']===_0x185c63['limitId']&&('text'==_0x589b38['type']?_0x589b38['data']==_0x185c63['data']:function(_0x41da0c,_0x939fc){if(_0x41da0c['isStart']!=_0x939fc['isStart'])return!0x1;if(_0x41da0c['isStart']&&_0x41da0c['elementId']!=_0x939fc['elementId'])return!0x1;if(_0x41da0c['category']!=_0x939fc['category'])return!0x1;if('block'==_0x41da0c['category'])return!0x0;if('container'==_0x41da0c['category']&&_0x41da0c['elementId']!=_0x939fc['elementId'])return!0x1;return _0x41da0c['element']['name']==_0x939fc['element']['name'];}(_0x589b38,_0x185c63)));}function _(_0x325240){return k({'name':_0x325240['name'],...Object['fromEntries'](_0x325240['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,ct as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x584d58,Editor as _0x1ff8f8,Plugin as _0x430a3d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x51b3b7,Collection as _0x7435,uid as _0x51a914,toArray as rt,first as _0x4548c6,FocusTracker as _0x3af44a,KeystrokeHandler as _0x24b12c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x404a6e,IconView as st,ButtonView as ts,DropdownButtonView as _0x449dc8,FocusCycler as _0x29e5e7,isViewWithFocusCycler as _0x175030}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0x18b136,IconCancel as _0x359509}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0x993940}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x417fe6,MoveOperation as _0x4f3a20,ModelPosition as _0x59bcba,ModelRange as _0xcecd8c,MarkerOperation as _0x4f5ce1,MergeOperation as _0x589486,SplitOperation as _0x26eccd,RenameOperation as _0x59ca5e,AttributeOperation as _0x520c03,ModelTreeWalker as _0x295b0e,ModelText as _0x1d2191}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x454c94}from'diff';class C extends _0x584d58{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x2ffa69,_0x38d69c){let _0x138ed9;if(_0x38d69c||(_0x38d69c=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x38d69c?_0x138ed9=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x138ed9=this['context']['editors']['find'](_0x2efba1=>_0x2efba1['config']['get']('collaboration.channelId')==_0x38d69c)),!_0x138ed9)throw new _0x51b3b7('permissions-set-permissions-invalid-channel-id',null);const _0x428cfb=_0x138ed9['plugins'],_0x745c99=_0x428cfb['has']('CommentsRepository')?_0x428cfb['get']('CommentsRepository'):void 0x0,_0x9a1084=_0x428cfb['has']('CommentsOnly')&&_0x428cfb['get']('CommentsOnly'),_0x2bfae4=_0x2ffa69['includes']('document:write'),_0x4eb61e=_0x2ffa69['includes']('comment:modify_all'),_0x101613=_0x2ffa69['includes']('comment:admin'),_0x13e920=_0x2ffa69['includes']('comment:write'),_0x28ace8=_0x13e920||_0x101613,_0x1482fe=_0x28ace8||_0x4eb61e,_0x32ffb6=_0x2bfae4||_0x28ace8;(_0x9a1084&&(_0x9a1084['isEnabled']=!_0x2bfae4&&_0x1482fe),_0x138ed9 instanceof _0x1ff8f8)&&(!(_0x2bfae4||_0x1482fe&&_0x745c99)?_0x138ed9['enableReadOnlyMode']('no-permissions'):_0x138ed9['disableReadOnlyMode']('no-permissions'));if(_0x745c99){_0x745c99['setPermissions']({'admin':_0x101613,'modifyAll':_0x4eb61e,'write':_0x13e920,'resolve':_0x32ffb6},_0x38d69c);const _0x1474fc=_0x138ed9 instanceof _0x1ff8f8&&_0x138ed9['commands']['get']('addCommentThread');_0x1474fc&&(_0x28ace8?_0x1474fc['clearForceDisabled']('noPermissions'):_0x1474fc['forceDisabled']('noPermissions'));}}}function U(_0x2894ac,_0x426f50){const t=_0x2894ac['t'];switch(_0x426f50){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'';}}class at extends _0x584d58{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x40d14b){super(_0x40d14b),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x7435(),this['_locale']=_0x40d14b['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:_0x1a2601,name:_0x14832c,..._0x144229}){if(!_0x1a2601||'string'!=typeof _0x1a2601)throw new _0x51b3b7('users-add-invalid-id');if(this['users']['has'](_0x1a2601))throw new _0x51b3b7('users-add-duplicated-id',null,{'id':_0x1a2601});const _0x5f3a48=this['context']['config']['get']('users.getInitialsCallback'),_0x1d565d={..._0x144229,'id':_0x1a2601,'name':A(this['_locale'],_0x14832c),'color':this['_getNextColor']()};_0x1d565d['name']=A(this['_locale'],_0x1d565d['name']);const _0x3cd86f=new lt(_0x1d565d,_0x5f3a48);return this['users']['add'](_0x3cd86f),_0x3cd86f;}['getUser'](_0x5d4f05){return this['users']['get'](_0x5d4f05);}['useAnonymousUser'](){const _0x1f27bd=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1f27bd);}['defineMe'](_0x3c41ca){if(this['_myId'])throw new _0x51b3b7('users-me-already-defined',null);const _0x56a01a=this['getUser'](_0x3c41ca);if(!_0x56a01a)throw new _0x51b3b7('users-me-missing-user',null);this['_myId']=_0x3c41ca,_0x56a01a['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x102cd7=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x102cd7&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x45e7b6=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x45e7b6,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x552ce2,_0x438cf8){this['id']=_0x552ce2['id'],this['color']=_0x552ce2['color'],this['name']=_0x552ce2['name'],this['initials']=_0x438cf8?_0x438cf8(this['name']):this['_computeInitials'](),this['avatar']=_0x552ce2['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5ece55=this['name']['split']('\x20')['filter'](_0x47f69a=>/^[\p{Letter}]/u['test'](_0x47f69a));return 0x1===_0x5ece55['length']?this['_getInitial'](_0x5ece55[0x0]):0x0===_0x5ece55['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5ece55[0x0])+this['_getInitial'](_0x5ece55[_0x5ece55['length']-0x1]);}['_getInitial'](_0x5006a9){return String['fromCodePoint'](_0x5006a9['codePointAt'](0x0))['toUpperCase']();}}function A(_0x4521a5,_0x902eca=''){return''==(_0x902eca=_0x902eca['trim']())?U(_0x4521a5,'Anonymous'):_0x902eca;}class ut{['_id'];constructor(_0x170759){this['_id']=_0x170759;}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'];}}class ht extends _0x404a6e{['name'];['notificationView'];constructor(_0x3780f3,_0x563458,_0x124128){super(_0x3780f3),this['name']=_0x563458['name'],this['notificationView']=null;const _0x37dfee=['ck','ck-user'],_0xe16433=['ck','ck-user__img'];if(_0x563458['isAnonymous']&&_0xe16433['push']('ck-user__anonymous'),!_0x563458['isAnonymous']&&_0x563458['isMe']&&_0x37dfee['push']('ck-user_me'),_0x563458['avatar']&&_0xe16433['push']('ck-user__avatar'),_0x124128){const _0x1ca391=new st();_0x1ca391['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1ca391['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x124128},'children':[_0x1ca391]};}const _0x27d86a=[{'tag':'div','attributes':{'class':_0xe16433,'style':{'background-image':_0x563458['avatar']?'url(\x27'+_0x563458['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x563458['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x563458['name']},'children':[{'text':_0x563458['initials']}]}];this['notificationView']&&_0x27d86a['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x37dfee,'data-user-id':_0x563458['id']},'children':_0x27d86a});}}class dt extends _0x404a6e{['id'];constructor(_0xc8ef2,_0x2ca1a1){super(_0xc8ef2),this['id']='ck-aria-description-'+_0x51a914(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x2ca1a1}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x449dc8{['render'](){super['render'](),re(this);}}function re(_0x334f28){_0x334f28['listenTo'](_0x334f28['element'],'mousedown',(_0x5775e8,_0x3c4964)=>{_0x3c4964['stopPropagation'](),_0x3c4964['preventDefault']();}),_0x334f28['listenTo'](_0x334f28['element'],'mouseup',()=>{_0x334f28['element']['focus']();});}function v(_0x3d8be6){const _0x1af686=_0x3d8be6['split'](':');return{'group':_0x1af686[0x0],'type':_0x1af686[0x1],'subType':_0x1af686['length']>=0x5?_0x1af686[0x2]:null,'id':_0x1af686['length']<0x5?_0x1af686[0x2]:_0x1af686[0x3],'authorId':_0x1af686['length']<0x5?_0x1af686[0x3]:_0x1af686[0x4],'markerCount':0x6==_0x1af686['length']?_0x1af686[0x5]:null};}function mt(_0x3845c5,_0x438993){const _0xa05231=_0x3845c5['end']['nodeBefore'];if(_0xa05231&&_0xa05231['is']('element')&&_0x438993['schema']['isBlock'](_0xa05231)&&!_0x438993['schema']['isObject'](_0xa05231)){const _0x182be7=_0x438993['createPositionAt'](_0xa05231,'end');return _0x438993['createRange'](_0x3845c5['start'],_0x182be7);}return _0x3845c5;}class M extends _0x430a3d{['afterInit'](){const _0x110899=this['editor'];if(!_0x110899['plugins']['has']('AlignmentEditing'))return;_0x110899['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x430a3d{['afterInit'](){const _0x22b6f9=this['editor'],_0x6f84f4=_0x22b6f9['plugins']['get']('SuggestionsConversion');for(const _0x902c63 of ii){if(!_0x22b6f9['plugins']['has'](_0x902c63))continue;const _0x370eaa=_0x902c63['slice'](0x0,-0x7)['toLowerCase']();_0x6f84f4['registerInlineAttribute'](_0x370eaa);}}}class I extends _0x430a3d{['afterInit'](){const _0xe6059b=this['editor'],_0x4a0f42=_0xe6059b['plugins']['get']('SuggestionsConversion');_0xe6059b['plugins']['has']('BookmarkEditing')&&_0x4a0f42['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x430a3d{['afterInit'](){const _0x5b077c=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1f0a0f,commandName:_0x13e558}of no)this['editor']['plugins']['has'](_0x1f0a0f)&&_0x5b077c['registerInlineAttribute'](_0x13e558);}}class T extends _0x430a3d{['afterInit'](){const {editor:_0x1f966e}=this;if(!_0x1f966e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0xcd81ed=_0x1f966e['plugins']['get']('SuggestionsConversion');_0xcd81ed['registerBlockAttribute']('footnotesListStyle'),_0xcd81ed['registerBlockAttribute']('footnotesListStart');}}class E extends _0x430a3d{['afterInit'](){const _0x3caaa1=this['editor'];if(!_0x3caaa1['plugins']['has']('HighlightEditing'))return;_0x3caaa1['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x430a3d{['afterInit'](){const _0x4ede64=this['editor'];if(!_0x4ede64['plugins']['has']('HtmlEmbed'))return;_0x4ede64['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x430a3d{['afterInit'](){const _0x4bfc9e=this['editor'];if(!_0x4bfc9e['plugins']['has']('ImageEditing'))return;const _0x469bd0=_0x4bfc9e['plugins']['get']('SuggestionsConversion');_0x469bd0['registerBlockAttribute']('src'),_0x4bfc9e['plugins']['has']('ImageResize')&&_0x469bd0['registerBlockAttribute']('resizedWidth'),_0x4bfc9e['plugins']['has']('ImageTextAlternativeEditing')&&_0x469bd0['registerBlockAttribute']('alt'),_0x4bfc9e['plugins']['has']('PictureEditing')&&_0x469bd0['registerBlockAttribute']('sources'),_0x4bfc9e['plugins']['has']('ImageSizeAttributes')&&(_0x469bd0['registerBlockAttribute']('width'),_0x469bd0['registerBlockAttribute']('height'));}}class x extends _0x430a3d{['afterInit'](){const _0x22fbda=this['editor'],_0x136d90=_0x22fbda['plugins']['get']('SuggestionsConversion');_0x22fbda['plugins']['has']('IndentBlock')&&(_0x136d90['registerBlockAttribute']('blockIndent'),_0x22fbda['plugins']['has']('ListEditing')&&(_0x136d90['registerBlockAttribute']('blockIndentList'),_0x136d90['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x430a3d{['afterInit'](){const _0x52aa39=this['editor'];if(!_0x52aa39['plugins']['has']('LineHeight'))return;_0x52aa39['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x430a3d{['afterInit'](){const _0x7bf6bc=this['editor'];if(!_0x7bf6bc['plugins']['has']('LinkEditing'))return;const _0xfd337f=_0x7bf6bc['plugins']['get']('SuggestionsConversion'),_0x19a473=_0x7bf6bc['commands']['get']('link');_0xfd337f['registerInlineAttribute']('linkHref');for(const _0x516898 of _0x19a473['manualDecorators'])_0xfd337f['registerInlineAttribute'](_0x516898['id']);}}class P extends _0x430a3d{['afterInit'](){const _0xa6fb91=this['editor'];if(!_0xa6fb91['plugins']['has']('ListEditing'))return;const _0x183e8f=_0xa6fb91['plugins']['get']('SuggestionsConversion'),_0x22d6df=_0xa6fb91['plugins']['has']('TodoListEditing');_0x183e8f['registerBlockAttribute']('listItemId'),_0x183e8f['registerBlockAttribute']('listType'),_0x183e8f['registerBlockAttribute']('listIndent'),_0x22d6df&&_0x183e8f['registerBlockAttribute']('todoListChecked');}}class K extends _0x430a3d{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3362c0=this['editor']['config']['get']('list.properties'),_0x499321=this['editor']['plugins']['get']('SuggestionsConversion');_0x3362c0['styles']&&_0x499321['registerBlockAttribute']('listStyle'),_0x3362c0['reversed']&&_0x499321['registerBlockAttribute']('listReversed'),_0x3362c0['startIndex']&&_0x499321['registerBlockAttribute']('listStart');}}class q extends _0x430a3d{['afterInit'](){const _0x410eaf=this['editor'],_0x4fdfbb=_0x410eaf['plugins']['get']('SuggestionsConversion');_0x410eaf['plugins']['has']('MultiLevelList')&&_0x4fdfbb['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x430a3d{['afterInit'](){const _0x19d16e=this['editor'];if(!_0x19d16e['plugins']['has']('Style')||!_0x19d16e['plugins']['has']('DataSchema')||!_0x19d16e['config']['get']('style.definitions'))return;const _0x9e8c3b=_0x19d16e['plugins']['get']('SuggestionsConversion'),_0x30c0a8=_0x19d16e['config']['get']('style.definitions'),_0x27679a=_0x19d16e['plugins']['get']('GeneralHtmlSupport'),_0x4a2ecf=_0x19d16e['plugins']['get']('StyleUtils')['normalizeConfig'](_0x19d16e['plugins']['get']('DataSchema'),_0x30c0a8),_0xd4202c=new Set();for(const _0x3947de of _0x4a2ecf['block']){const _0x605377=_0x27679a['getGhsAttributeNameForElement'](_0x3947de['element']);_0xd4202c['add'](_0x605377);}const _0x36dbf7=new Set();for(const _0x2f6fab of _0x4a2ecf['inline']){const _0x4fbf24=_0x27679a['getGhsAttributeNameForElement'](_0x2f6fab['element']);_0x36dbf7['add'](_0x4fbf24);for(const _0x5de7eb of _0x2f6fab['ghsAttributes'])_0x36dbf7['add'](_0x5de7eb);}for(const _0x4aea56 of _0xd4202c)_0x9e8c3b['registerBlockAttribute'](_0x4aea56);for(const _0x444bef of _0x36dbf7)_0x9e8c3b['registerInlineAttribute'](_0x444bef);}}class O extends _0x430a3d{['afterInit'](){const _0x2eae45=this['editor'];if(!_0x2eae45['plugins']['has']('TableEditing'))return;const _0x132848=_0x2eae45['plugins']['get']('SuggestionsConversion');_0x132848['registerBlockAttribute']('headingRows'),_0x132848['registerBlockAttribute']('headingColumns');}}class R extends _0x430a3d{['afterInit'](){const {plugins:_0x53143c}=this['editor'];if(!_0x53143c['has']('TablePropertiesEditing'))return;const _0x30e3b=_0x53143c['get']('SuggestionsConversion'),_0x545c26=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0xdb90eb of _0x545c26)_0x30e3b['registerBlockAttribute'](_0xdb90eb);}}class F extends _0x430a3d{['afterInit'](){const _0x10598a=this['editor'],_0x1c7196=_0x10598a['plugins']['get']('SuggestionsConversion');_0x10598a['plugins']['has']('TableLayout')&&_0x1c7196['registerBlockAttribute']('tableType');}}class G extends _0x430a3d{['afterInit'](){const _0x5e5d9d=this['editor'],_0x278cff=this['editor']['plugins']['get']('SuggestionsConversion');_0x5e5d9d['plugins']['has']('Uploadcare')&&_0x5e5d9d['plugins']['has']('UploadcareImageEdit')&&_0x278cff['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x430a3d{['afterInit'](){const _0x15de15=this['editor'];if(!_0x15de15['plugins']['has']('ShiftEnter'))return;const _0x5e644e=_0x15de15['plugins']['get']('SuggestionsConversion'),_0x48c962=(_0x10d6bd,_0x5154e7,_0x333e27,_0x10ad90)=>{if(_0x10ad90&&!_0x333e27['options']['showSuggestionHighlights'])return;if(!_0x333e27['consumable']['test'](_0x5154e7['markerRange'],_0x10d6bd['name']))return;const _0x5b558e=_0x15de15['model'];for(const _0x5693ee of _0x5154e7['markerRange']['getItems']()){if(!_0x5693ee['is']('element','softBreak'))continue;const _0x1c7d24='deletion'==_0x5154e7['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xabddd8,authorId:_0x419a76}=v(_0x5154e7['markerName']),_0x562b00=_0x333e27['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c7d24,'data-suggestion':_0xabddd8,'data-author-id':_0x419a76}),_0x2e0386=_0x333e27['mapper']['toViewPosition'](_0x5b558e['createPositionBefore'](_0x5693ee));!_0x10ad90&&_0x5e644e['_activeMarkers']['includes'](_0x5154e7['markerName'])&&_0x333e27['writer']['addClass']('ck-suggestion-marker--active',_0x562b00),_0x333e27['writer']['insert'](_0x2e0386,_0x562b00),_0x333e27['mapper']['bindElementToMarker'](_0x562b00,_0x5154e7['markerName']);}};_0x15de15['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1da049,_0x1ebec0,_0x481bb4)=>{_0x48c962(_0x1da049,_0x1ebec0,_0x481bb4,!0x1);},{'priority':'high'}),_0x15de15['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x817e6a,_0x40d2c2,_0x2295ac)=>{_0x48c962(_0x817e6a,_0x40d2c2,_0x2295ac,!0x0);},{'priority':'high'});}}class L extends _0x430a3d{['afterInit'](){const _0x17f7f4=this['editor'];_0x17f7f4['plugins']['has']('MediaEmbedEditing')&&(_0x17f7f4['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3000d0,{writer:_0x10d024,options:_0x7f2a85})=>{if(_0x7f2a85['showSuggestionHighlights'])return _0x10d024['createEmptyElement']('div');},'converterPriority':'high'}),_0x17f7f4['data']['downcastDispatcher']['on']('attribute:url:media',(_0x18f5fd,_0x1e0302,_0x2dbe6c)=>{_0x2dbe6c['options']['showSuggestionHighlights']&&_0x18f5fd['stop']();},{'priority':'high'}));}}class Q extends _0x430a3d{['afterInit'](){const _0x3023e9=this['editor'];if(!_0x3023e9['plugins']['has']('Table'))return;_0x3023e9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2164f6,_0x2e7681,_0x2bf715)=>{((_0x42691d,_0x455c9a,_0xf229e6)=>{if(!_0xf229e6['options']['showSuggestionHighlights'])return;const _0x297f53=_0x455c9a['item'];if(!_0x297f53||!_0x297f53['is']('element','tableCell'))return;const _0x47fb84=_0xf229e6['mapper']['toViewElement'](_0x297f53);if(_0x47fb84){const {id:_0xc4ba1f,authorId:_0x596c5e}=v(_0x455c9a['markerName']);it(_0x47fb84,_0xf229e6['writer'],(_0x212ae0,_0x76fe09,_0x1601a9)=>{_0x1601a9['addClass'](rt(_0x76fe09['classes']),_0x212ae0),_0x1601a9['setAttribute']('data-suggestion-id',_0xc4ba1f,_0x212ae0),_0x1601a9['setAttribute']('data-author-id',_0x596c5e,_0x212ae0);});}})(0x0,_0x2e7681,_0x2bf715);},{'priority':'highest'});}}class V extends _0x430a3d{['afterInit'](){const _0x5cd86c=this['editor'];_0x5cd86c['plugins']['has']('HorizontalLineEditing')&&_0x5cd86c['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4153d8,{writer:_0x54fee8,options:_0x474946})=>{if(!_0x474946['showSuggestionHighlights'])return null;const _0x1db145=_0x54fee8['createContainerElement']('div'),_0xa8fd12=_0x54fee8['createEmptyElement']('hr');return _0x54fee8['addClass']('ck-horizontal-line',_0x1db145),_0x54fee8['insert'](_0x54fee8['createPositionAt'](_0x1db145,0x0),_0xa8fd12),_0x1db145;},'converterPriority':'high'});}}class W extends _0x430a3d{['afterInit'](){const {plugins:_0x34c9d5,model:_0x31770a}=this['editor'];if(!_0x34c9d5['has']('TableCellPropertiesEditing'))return;const _0x3e2660=_0x34c9d5['get']('SuggestionsConversion'),_0x4e43f8=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x751df3 of _0x4e43f8)_0x3e2660['registerBlockAttribute'](_0x751df3);_0x31770a['schema']['checkAttribute']('tableCell','tableCellType')&&_0x3e2660['registerBlockAttribute']('tableCellType');}}class kt extends _0x430a3d{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,E,V,S,$,x,H,N,P,K,L,q,J,z,Q,O,F,W,R,G];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b19cd=this['editor'],_0x15337a=(_0x41ac76,_0x1d7d61,_0x3372e3)=>{const {id:_0x110459,authorId:_0x1ec7c5,type:_0x57f3dd,subType:_0x15146e}=v(_0x41ac76['markerName']),_0x5dd37f=['ck-suggestion-marker',this['_getClassName'](_0x57f3dd,_0x15146e)];let _0x33cd44=0xbb8;return!_0x3372e3&&(this['_activeMarkers']['includes'](_0x41ac76['markerName'])&&(_0x5dd37f['push']('ck-suggestion-marker--active'),_0x33cd44=0xbc2)),('deletion'==_0x57f3dd&&(_0x33cd44+=0x5),{'classes':_0x5dd37f,'attributes':{'data-suggestion':_0x110459,'data-author-id':_0x1ec7c5},'priority':_0x33cd44});};_0x3b19cd['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5d0724,_0x13e746)=>_0x15337a(_0x5d0724,0x0,!0x1)}),_0x3b19cd['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x22a86b,_0x536564)=>_0x15337a(_0x22a86b,0x0,!0x0)}),_0x3b19cd['conversion']['for']('dataDowncast')['add'](_0x526c1e=>{_0x526c1e['on']('addMarker:suggestion',(_0x46ebec,_0x5f25cf,_0x3b18a3)=>{if(!_0x3b18a3['options']['showSuggestionHighlights'])return;const _0x5078f1=_0x5f25cf['item'];if(!_0x5078f1)return;const _0x47974c=_0x3b18a3['mapper']['toViewElement'](_0x5078f1);_0x3b19cd['model']['schema']['isObject'](_0x5078f1)&&_0x47974c&&!_0x47974c['getCustomProperty']('widget')&&_0x47974c['is']('containerElement')&&_0x993940(_0x47974c,_0x3b18a3['writer']);},{'priority':'high'});});const _0x45423c=(_0x328a0a,_0x5ba1d1,_0x4a4e7e,_0x31b5fe,_0x514535)=>{if(_0x31b5fe&&!_0x4a4e7e['options']['showSuggestionHighlights'])return;if(!_0x5ba1d1['item'])return;const {id:_0x1c9975,authorId:_0x2d0c1d,subType:_0x12167c}=v(_0x5ba1d1['markerName']);if(_0x514535){const _0x5f02c6=_0x12167c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5f02c6))return;}if(_0x5ba1d1['item']['is']('selection'))return void _0x4a4e7e['consumable']['consume'](_0x5ba1d1['item'],_0x328a0a['name']);const _0x5ea713=_0x4a4e7e['mapper']['toViewElement'](_0x5ba1d1['item']);if(_0x5ba1d1['item']['is']('element')&&_0x3b19cd['model']['schema']['isBlock'](_0x5ba1d1['item'])&&!_0x5ea713['getCustomProperty']('addHighlight')){_0x4a4e7e['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x5ea713),_0x4a4e7e['writer']['setAttribute']('data-suggestion',_0x1c9975,_0x5ea713),_0x4a4e7e['writer']['setAttribute']('data-author-id',_0x2d0c1d,_0x5ea713),_0x4a4e7e['mapper']['bindElementToMarker'](_0x5ea713,_0x5ba1d1['markerName']),_0x31b5fe||(this['_activeMarkers']['includes'](_0x5ba1d1['markerName'])?_0x4a4e7e['writer']['addClass']('ck-suggestion-marker--active',_0x5ea713):_0x4a4e7e['writer']['removeClass']('ck-suggestion-marker--active',_0x5ea713));for(const _0x4f72bd of _0x3b19cd['model']['createRangeIn'](_0x5ba1d1['item'])['getItems']())_0x4a4e7e['consumable']['consume'](_0x4f72bd,_0x328a0a['name']);_0x4a4e7e['consumable']['consume'](_0x5ba1d1['item'],_0x328a0a['name']);}},_0x456adc=(_0x3d28e3,_0x104e10,_0x2c0695,_0x1145e7)=>{const _0xdfb0f=_0x2c0695['mapper']['markerNameToElements'](_0x104e10['markerName']);if(_0xdfb0f){if(_0x1145e7){const {subType:_0x463000}=v(_0x104e10['markerName']),_0x238d18=_0x463000['split']('|')[0x0];if(!this['isBlockAttribute'](_0x238d18))return;}for(const _0x56fc9e of _0xdfb0f)_0x56fc9e['getCustomProperty']('addHighlight')||(_0x2c0695['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x56fc9e),_0x2c0695['writer']['removeAttribute']('data-suggestion',_0x56fc9e),_0x2c0695['writer']['removeAttribute']('data-author-id',_0x56fc9e),_0x2c0695['mapper']['unbindElementFromMarkerName'](_0x56fc9e,_0x104e10['markerName']));}};_0x3b19cd['conversion']['for']('editingDowncast')['add'](_0xefca4f=>{_0xefca4f['on']('addMarker:suggestion:formatBlock',(_0x43de3b,_0x1c7d4f,_0x64d67e)=>{_0x45423c(_0x43de3b,_0x1c7d4f,_0x64d67e,!0x1,!0x1);},{'priority':'high'});}),_0x3b19cd['conversion']['for']('editingDowncast')['add'](_0x4b04e7=>{_0x4b04e7['on']('addMarker:suggestion:attribute',(_0x194a62,_0x5c167b,_0xaeb986)=>{_0x45423c(_0x194a62,_0x5c167b,_0xaeb986,!0x1,!0x0);},{'priority':'high'});}),_0x3b19cd['conversion']['for']('editingDowncast')['add'](_0x14eb06=>{_0x14eb06['on']('removeMarker:suggestion:formatBlock',(_0x5718b8,_0x438773,_0x15665f)=>{_0x456adc(0x0,_0x438773,_0x15665f,!0x1);},{'priority':'high'});}),_0x3b19cd['conversion']['for']('editingDowncast')['add'](_0x1700b8=>{_0x1700b8['on']('removeMarker:suggestion:attribute',(_0x44d387,_0x2e9b11,_0x169e16)=>{_0x456adc(0x0,_0x2e9b11,_0x169e16,!0x0);},{'priority':'high'});}),_0x3b19cd['conversion']['for']('dataDowncast')['add'](_0x2f5a8d=>{_0x2f5a8d['on']('addMarker:suggestion:formatBlock',(_0x56a262,_0x5056d4,_0xa92627)=>{_0x45423c(_0x56a262,_0x5056d4,_0xa92627,!0x0,!0x1);},{'priority':'highest'});}),_0x3b19cd['conversion']['for']('dataDowncast')['add'](_0x36668d=>{_0x36668d['on']('addMarker:suggestion:attribute',(_0x5ac748,_0x2bc709,_0x40ccd2)=>{_0x45423c(_0x5ac748,_0x2bc709,_0x40ccd2,!0x0,!0x0);},{'priority':'highest'});}),_0x3b19cd['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x453d80,_0x13d0ce)=>{if(_0x13d0ce['options']['showSuggestionHighlights']){const {id:_0x4ba170,authorId:_0x269370}=v(_0x453d80);return _0x453d80['includes'](':split')||_0x453d80['includes'](':merge')?{'group':'suggestion','name':_0x453d80['substr'](0xb),'attributes':{'data-suggestion':_0x4ba170,'data-author-id':_0x269370}}:null;}return{'group':'suggestion','name':_0x453d80['substr'](0xb)};}});const _0x3b00e6=(_0x492880,_0x3fc61c,_0x411616,_0x10fdd,_0x34941c)=>{if(_0x10fdd&&!_0x411616['options']['showSuggestionHighlights'])return;if(!_0x411616['consumable']['test'](_0x3fc61c['markerRange'],_0x492880['name']))return;const _0x2cf6af=this['_activeMarkers'],_0x473584=_0x3fc61c['markerRange']['getWalker'](),_0x369f85=_0x3fc61c['markerRange']['start'],_0x6807bd=_0x3b19cd['model']['schema'];let _0x5c50aa=null,_0x28bb0a=null,_0x1969ed=!0x1,_0x172fef=!0x1;for(const _0x276b3d of _0x473584){const _0x106172=_0x276b3d['item'];_0x1969ed=_0x1969ed||_0x6807bd['isContent'](_0x106172);const _0x6305c9=_0x411616['mapper']['toViewElement'](_0x106172);if(_0x6305c9&&_0x6305c9['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x276b3d['type']&&(_0x6807bd['isBlock'](_0x106172)&&!_0x6807bd['isLimit'](_0x106172)&&(_0x106172['nextSibling']||_0x369f85['isAtEnd']?_0x5c50aa&&_0x5c50aa['parent']==_0x106172||(_0x5c50aa=_0x106172,_0x5db0f4(_0x276b3d['previousPosition']),_0x172fef=!0x0):_0x28bb0a=_0x28bb0a||_0x276b3d['previousPosition']));}function _0x5db0f4(_0x39579d){const {id:_0x5cdcc6,authorId:_0x189742}=v(_0x3fc61c['markerName']),_0x4910e9=_0x411616['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x34941c,'data-suggestion':_0x5cdcc6,'data-author-id':_0x189742}),_0x347e36=_0x411616['mapper']['toViewPosition'](_0x39579d);!_0x10fdd&&_0x2cf6af['includes'](_0x3fc61c['markerName'])&&_0x411616['writer']['addClass']('ck-suggestion-marker--active',_0x4910e9),_0x411616['writer']['insert'](_0x347e36,_0x4910e9),_0x411616['mapper']['bindElementToMarker'](_0x4910e9,_0x3fc61c['markerName']);}_0x1969ed||_0x172fef||!_0x28bb0a||_0x5db0f4(_0x28bb0a);};_0x3b19cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x59534a,_0x1fd8df,_0x7a29e6)=>{_0x3b00e6(_0x59534a,_0x1fd8df,_0x7a29e6,!0x1,'merge');},{'priority':'high'}),_0x3b19cd['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xf7319b,_0x50f42d,_0x1c28b7)=>{_0x3b00e6(_0xf7319b,_0x50f42d,_0x1c28b7,!0x0,'merge');},{'priority':'high'}),_0x3b19cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1a5f44,_0x3c7678,_0x39bcb0)=>{_0x3b00e6(_0x1a5f44,_0x3c7678,_0x39bcb0,!0x1,'split');},{'priority':'high'}),_0x3b19cd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x19317b,_0x247f29,_0x20be24)=>{_0x3b00e6(_0x19317b,_0x247f29,_0x20be24,!0x0,'split');},{'priority':'high'}),_0x3b19cd['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x20406c,_0x39db2a,_0x4fbe6e)=>{((_0x58d21,_0x5d3133,_0x2716e1)=>{const _0x117f68=_0x2716e1['mapper']['markerNameToElements'](_0x5d3133['markerName']);if(_0x117f68){for(const _0x55d687 of _0x117f68)(_0x55d687['hasClass']('ck-suggestion-marker-split')||_0x55d687['hasClass']('ck-suggestion-marker-merge'))&&(_0x2716e1['mapper']['unbindElementFromMarkerName'](_0x55d687,_0x5d3133['markerName']),_0x2716e1['writer']['remove'](_0x55d687));}})(0x0,_0x39db2a,_0x4fbe6e);},{'priority':'high'});const _0x2c2a86=(_0x4287e3,_0x3b27c4,_0x4ed7c8,_0x54bfd3)=>{if(_0x54bfd3&&!_0x4ed7c8['options']['showSuggestionHighlights'])return;const _0x541c57=_0x3b27c4['markerRange']['start'],_0x3b06b5=_0x3b27c4['markerRange']['end'],_0xf484c7=_0x3b19cd['model']['schema'];if(!_0x541c57['isTouching'](_0x3b06b5)||!_0x541c57['nodeAfter'])return;const _0x2c4733=_0x541c57['nodeAfter'];if(_0xf484c7['isBlock'](_0x2c4733)&&!_0xf484c7['isLimit'](_0x2c4733)&&_0xf484c7['checkChild'](_0x2c4733,'$text')){if(!_0x4ed7c8['consumable']['consume'](_0x3b27c4['markerRange'],_0x4287e3['name']))return;const {id:_0x570785,authorId:_0x2715d2}=v(_0x3b27c4['markerName']),_0x34dc2d=_0x4ed7c8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x570785,'data-author-id':_0x2715d2}),_0x9e61ad=_0x4ed7c8['mapper']['toViewPosition'](_0x3b06b5);!_0x54bfd3&&this['_activeMarkers']['includes'](_0x3b27c4['markerName'])&&_0x4ed7c8['writer']['addClass']('ck-suggestion-marker--active',_0x34dc2d),_0x4ed7c8['writer']['insert'](_0x9e61ad,_0x34dc2d),_0x4ed7c8['mapper']['bindElementToMarker'](_0x34dc2d,_0x3b27c4['markerName']);}};_0x3b19cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3c0663,_0x17d9a6,_0x3bac1c)=>{_0x2c2a86(_0x3c0663,_0x17d9a6,_0x3bac1c,!0x1);},{'priority':'high'}),_0x3b19cd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x532223,_0x168137,_0x5ad4ff)=>{_0x2c2a86(_0x532223,_0x168137,_0x5ad4ff,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4e2ed7,_0x3b06cc,_0x4720e9)=>{this['_activeMarkers']=_0x4720e9['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x408edf){this['_blockAttributeKeys']['add'](_0x408edf);}['registerInlineAttribute'](_0x398538){this['_inlineAttributeKeys']['add'](_0x398538);}['isBlockAttribute'](_0x5373b3){return this['_blockAttributeKeys']['has'](_0x5373b3);}['isInlineAttribute'](_0x557365){return this['_inlineAttributeKeys']['has'](_0x557365);}['isRegisteredAttribute'](_0x385325){return this['isInlineAttribute'](_0x385325)||this['isBlockAttribute'](_0x385325);}['_getClassName'](_0x42ca7e,_0x1a7128){if('attribute'!=_0x42ca7e)return'ck-suggestion-marker-'+_0x42ca7e;const _0x3d92ef=_0x1a7128['split']('|')[0x0];return this['isBlockAttribute'](_0x3d92ef)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x186697={},_0x2a96be){if(void 0x0!==_0x186697['dateTimeFormat']&&'function'!=typeof _0x186697['dateTimeFormat'])throw new _0x51b3b7('invalid-date-time-format');return _0x2a577e=>{const _0x562bef='string'==typeof _0x2a577e?tt['fromISO'](_0x2a577e):tt['fromJSDate'](_0x2a577e),_0x238cc2=tt['now'](),_0x5eaf26=Math['floor'](_0x238cc2['diff'](_0x562bef,'days')['days']);return _0x186697['dateTimeFormat']?_0x186697['dateTimeFormat'](_0x562bef['toJSDate'](),_0x2a96be&&_0x2a96be['t']?_0x2a96be['t']:void 0x0):0x0===_0x5eaf26?_0x2a96be?U(_0x2a96be,'Today')+'\x20'+_0x562bef['toFormat']('hh:mma'):_0x562bef['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5eaf26?_0x2a96be?U(_0x2a96be,'Yesterday')+'\x20'+_0x562bef['toFormat']('hh:mma'):_0x562bef['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5eaf26<0x7?_0x2a96be?U(_0x2a96be,'Last')+'\x20'+U(_0x2a96be,_0x562bef['toFormat']('EEEE'))+'\x20'+_0x562bef['toFormat']('hh:mma'):_0x562bef['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x562bef['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x37622c,_0x505eeb){const _0x5a88ca=_0x37622c['mapper']['markerNameToElements'](_0x505eeb['name']);if(!_0x5a88ca)return null;const _0x30e711=_0x4548c6(_0x5a88ca['values']());return _0x37622c['view']['domConverter']['mapViewToDom'](_0x30e711)||null;}function wt(_0x31f0a1,_0x484d81){if(0x0===_0x484d81['length'])return null;const _0x46f8e6=[],_0x58a466=_0x31f0a1['view']['domConverter'];for(const _0x392706 of _0x484d81){const _0x35a91c=_0x31f0a1['mapper']['markerNameToElements'](_0x392706['name']);if(!_0x35a91c)continue;const _0x33ba61=Array['from'](_0x35a91c)['map'](_0xef594c=>_0x58a466['mapViewToDom'](_0xef594c))['filter'](_0x1d7880=>!!_0x1d7880);_0x46f8e6['push'](..._0x33ba61);}if(0x0===_0x46f8e6['length'])return null;const _0x1f568f=[];for(const _0x1091b6 of _0x46f8e6){const _0x1838d8=_0x1091b6['getClientRects']()['item'](0x0);_0x1838d8&&_0x1f568f['push']({'x':_0x1838d8['x'],'y':_0x1838d8['y'],'domElement':_0x1091b6});}return 0x0===_0x1f568f['length']?null:(_0x1f568f['sort']((_0x472cc6,_0x190e90)=>_0x472cc6['y']-_0x190e90['y']||_0x472cc6['x']-_0x190e90['x']),_0x1f568f['map'](_0x1b3a5a=>_0x1b3a5a['domElement']));}function bt(_0x27ddda,{limit:_0x471047,suffix:_0x1876d1='...'}){const _0x4afed0=[];let _0x5342a1=0x0;const _0x1c8c8b=_0x27ddda['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x21ba0b=0x0;_0x21ba0b<_0x1c8c8b['length'];_0x21ba0b++){let _0x3feaf4=_0x1c8c8b[_0x21ba0b];const _0x2ea0f3=tn(_0x3feaf4);if(_0x3feaf4['startsWith']('<')){if(_0x5342a1>=_0x471047){const _0x2fde42=_0x3feaf4['match'](/[a-zA-Z]+/);if(!_0x2fde42){_0x1c8c8b[_0x21ba0b]='';continue;}const _0x1f1ccc=_0x2fde42[0x0];_0x3feaf4['startsWith']('</')?(_0x4afed0['length']&&(_0x3feaf4=''),_0x4afed0['pop']()):(_0x4afed0['push'](_0x1f1ccc),_0x3feaf4='');}}else{if(_0x5342a1>=_0x471047)_0x3feaf4='';else{if(_0x5342a1+_0x2ea0f3['length']>=_0x471047){let _0xa0b9d2=_0x471047-_0x5342a1;if('\x20'===_0x2ea0f3[_0xa0b9d2-0x1])_0xa0b9d2--;else{const _0x5f0140=_0x2ea0f3['slice'](_0xa0b9d2)['indexOf']('\x20');-0x1!==_0x5f0140?_0xa0b9d2+=_0x5f0140:_0xa0b9d2=_0x3feaf4['length'];}_0x3feaf4=_0x2ea0f3['slice'](0x0,_0xa0b9d2)['join']('')+_0x1876d1,_0x5342a1=_0x471047;}else _0x5342a1+=_0x2ea0f3['length'];}}_0x1c8c8b[_0x21ba0b]=_0x3feaf4;}return _0x1c8c8b['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x3280b7){const _0x28df8f=[];for(let _0x213e77=0x0;_0x213e77<_0x3280b7['length'];_0x213e77++){const _0x5193ed=_0x3280b7['substring'](_0x213e77)['match'](/^&[a-z0-9#]+;/);if(_0x5193ed){const _0x554a24=_0x5193ed[0x0];_0x28df8f['push'](_0x554a24),_0x213e77+=_0x554a24['length']-0x1;}else _0x28df8f['push'](_0x3280b7[_0x213e77]);}return _0x28df8f;}class X extends _0x404a6e{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x166e14){super(_0x166e14);const _0x49cea6=this['bindTemplate'];this['set']('message',U(_0x166e14,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x166e14,U(_0x166e14,'Yes'),_0x18b136,'submit'),this['cancelView']=this['_createButtonView'](_0x166e14,U(_0x166e14,'No'),_0x359509,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x3af44a(),this['keystrokes']=new _0x24b12c(),this['focusCycler']=new _0x29e5e7({'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':_0x49cea6['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'](_0x39f06b,_0x2b99e4,_0x39c246,_0x538748){const _0x3db240=new ts(_0x39f06b);return _0x3db240['label']=_0x2b99e4,_0x3db240['icon']=_0x39c246,_0x3db240['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x538748}}),_0x3db240['on']('execute',()=>this['fire'](_0x538748)),_0x3db240;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x180a20=>{this['keystrokes']['listenTo'](_0x180a20['element']),this['focusTracker']['add'](_0x180a20['element']);}),this['keystrokes']['set']('esc',(_0x2126ae,_0x2cba27)=>{this['fire']('cancel'),_0x2cba27();});}}function vt(_0x51e5f8){return class extends _0x51e5f8{['showConfirm'](_0x39b8d2,_0x1b3045){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x39b8d2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x1b3045['appendChild'](this['confirmView']['element']),_0x1b3045['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x4f09e0,_0xcdf88b,_0x3c1f1e)=>{_0x3c1f1e||_0x1b3045['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x23d78f=>this['confirmView']['on']('submit',_0x23d78f));}['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 k(_0x5ff1d4){let _0x26415e=0x0,_0x4f2b74=0x0;for(const _0x1c5151 of ne(_0x5ff1d4))_0x26415e=(_0x26415e<<0x5)-_0x26415e+_0x1c5151,_0x26415e&=_0x26415e,[_0x26415e,_0x4f2b74]=[_0x4f2b74,_0x26415e];return ie(_0x26415e)+ie(_0x4f2b74);}function*ee(_0xac936c){null==_0xac936c||null==_0xac936c?yield 0x12b9b0a1:0x0===_0xac936c||!0x1===_0xac936c?yield 0x0:0x1===_0xac936c||0x1==_0xac936c?yield 0x1:Array['isArray'](_0xac936c)?yield*function*(_0x58b462){for(const _0xc08946 of _0x58b462)yield*ee(_0xc08946);}(_0xac936c):'object'==typeof _0xac936c?yield*ne(_0xac936c):'string'==typeof _0xac936c?yield*oe(_0xac936c):'number'==typeof _0xac936c&&(yield _0xac936c);}function*ne(_0x554d8d){if(yield te('{'),_0x554d8d){const _0x1c65c3=Object['keys'](_0x554d8d)['sort']();for(const _0x43c3e1 of _0x1c65c3){yield*oe(_0x43c3e1),yield te(':');const _0x23acd8=_0x554d8d[_0x43c3e1];yield*ee(_0x23acd8);}}yield te('}');}function*oe(_0x15e63e){yield te('\x22');for(const _0x5d209b of _0x15e63e)yield te(_0x5d209b);yield te('\x22');}function te(_0x2e0654){return _0x2e0654['charCodeAt'](0x0);}function ie(_0x3fe64d){return(_0x3fe64d*=Math['sign'](_0x3fe64d))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x4c57f4,_0x580037,_0xc92510,_0x554279=[]){const _0x1d65ae='string'==typeof _0x4c57f4?_0xc92510['get'](_0x4c57f4)['constructor']:_0x4c57f4['prototype']['constructor'];if(_0x580037['has'](_0x1d65ae))return _0x580037['get'](_0x1d65ae);_0x580037['set'](_0x1d65ae,!0x0);const _0x4f57eb=[...et,..._0x554279]['map'](_0x24a162=>{if(_0xc92510['has'](_0x24a162))return _0xc92510['get'](_0x24a162)['constructor'];})['filter'](_0x37344e=>_0x37344e);if(_0x1d65ae&&_0x4f57eb['includes'](_0x1d65ae))return _0x580037['set'](_0x1d65ae,!0x1),!0x1;if(!_0x1d65ae['requires'])return _0x580037['set'](_0x1d65ae,!0x0),!0x0;const _0x4a1aad=_0x1d65ae['requires']['every'](_0x3417b3=>ot(_0x3417b3,_0x580037,_0xc92510,_0x554279));return _0x580037['set'](_0x1d65ae,_0x4a1aad),_0x4a1aad;}function Ct(_0x1287f0,_0x1c4d79){const _0x1876cd={};for(const _0x350470 of _0x1287f0['config']['names']())nt['includes'](_0x350470)||(_0x1876cd[_0x350470]=_0x1287f0['config']['get'](_0x350470));const _0x1bf584=_0x1876cd['plugins']||[],_0x89b18a=_0x1287f0['constructor']['builtinPlugins']||[],_0x26c13d=_0x1bf584['length']?_0x1bf584:_0x89b18a,_0x22dbfa=_0x1876cd['extraPlugins']||[];delete _0x1876cd['extraPlugins'];const _0x315240=_0x1876cd['removePlugins']||[];delete _0x1876cd['removePlugins'];const _0x369d4e=_0x1287f0['_context']['config']['get']('plugins')||[],_0x221627=_0x26c13d['concat'](_0x22dbfa)['concat'](_0x369d4e)['map'](_0x355bf3=>'string'==typeof _0x355bf3?_0x89b18a['find'](_0x19d6a8=>_0x19d6a8['pluginName']==_0x355bf3):_0x355bf3)['filter'](_0x5ad68c=>!_0x315240['includes'](_0x5ad68c)&&!_0x315240['includes'](_0x5ad68c['pluginName'])),_0x3f78bb=Array['from'](new Set(_0x221627)),_0x43751f=new Map();return _0x1876cd['plugins']=_0x3f78bb['filter'](_0xea3a72=>ot(_0xea3a72,_0x43751f,_0x1287f0['plugins'],_0x1c4d79)),_0x1876cd;}function xt(_0x31d6e9,_0x2c9132){const _0x3b231f=[];_0x31d6e9['document']['selection']['on']('change:range',()=>{const _0x44865c=function(_0x37ead5,_0x4b6b50){const _0x1cb9d0=[];for(const _0x47b9fc of _0x37ead5['markers']){const _0x3227d9=_0x47b9fc['getRange']();(_0x3227d9['containsPosition'](_0x4b6b50)||_0x3227d9['start']['isEqual'](_0x4b6b50)||_0x3227d9['end']['isEqual'](_0x4b6b50))&&_0x1cb9d0['push'](_0x47b9fc);}return _0x1cb9d0;}(_0x31d6e9,_0x31d6e9['document']['selection']['focus']),_0x35ea1f=[],_0x1fc680=[],_0x1bf6e5=[];for(const _0x22654b of _0x3b231f)_0x44865c['includes'](_0x22654b)||_0x35ea1f['push'](_0x22654b);for(const _0x5e0f04 of _0x44865c)_0x3b231f['includes'](_0x5e0f04)||_0x1fc680['push'](_0x5e0f04),_0x1bf6e5['push'](_0x5e0f04);(_0x35ea1f['length']||_0x1fc680['length'])&&_0x2c9132({'left':_0x35ea1f,'entered':_0x1fc680}),_0x3b231f['length']=0x0,_0x3b231f['push'](..._0x1bf6e5);});}const It='Ctrl+Shift+E';function _t(_0x3bee18,_0x854dde){const _0x4148c2=_0x3bee18['element'];_0x3bee18['keystrokes']['listenTo'](_0x4148c2);for(const _0x254194 of _0x854dde)ro(_0x3bee18,_0x254194);_0x854dde['on']('change',(_0x1eda7b,_0x4a6d9d)=>{for(const _0x14b384 of _0x4a6d9d['removed'])to(_0x3bee18,_0x14b384);for(const _0x25f464 of Array['from'](_0x4a6d9d['added'])['reverse']())ro(_0x3bee18,_0x25f464);}),_0x3bee18['keystrokes']['set']('enter',(_0x1307f9,_0x55cff1)=>{_0x4148c2===_0x1307f9['target']&&(_0x3bee18['focusCycler']['focusFirst'](),_0x55cff1());},{'filter':_0x265ef6=>_0x265ef6['target']===_0x4148c2}),_0x3bee18['keystrokes']['set']('esc',(_0x5c70a9,_0x35c84c)=>{_0x4148c2!==_0x5c70a9['target']?_0x3bee18['focus']():_0x3bee18['fire']('escape'),_0x35c84c();}),_0x3bee18['keystrokes']['set']('arrowdown',(_0x57a3a4,_0x170e62)=>{_0x4148c2===_0x57a3a4['target']&&(_0x3bee18['fire']('arrowdown'),_0x170e62());}),_0x3bee18['keystrokes']['set']('arrowup',(_0x35b870,_0x4dd8e0)=>{_0x4148c2===_0x35b870['target']&&(_0x3bee18['fire']('arrowup'),_0x4dd8e0());});}function ro(_0x5e3fa3,_0x47e679){_0x47e679['isRendered']&&(_0x5e3fa3['focusTracker']['add'](_0x47e679['element']),_0x5e3fa3['keystrokes']['listenTo'](_0x47e679['element']),_0x175030(_0x47e679)&&function(_0x148503,_0x21f964){const _0x5285b7=_0x148503['actions'],_0x29beef=_0x21f964['actions'];for(const _0x2608ff of Object['keys'](_0x5285b7))if(_0x2608ff in _0x29beef&&_0x5285b7[_0x2608ff]!==_0x29beef[_0x2608ff])return!0x1;return!0x0;}(_0x5e3fa3['focusCycler'],_0x47e679['focusCycler'])&&_0x5e3fa3['focusCycler']['chain'](_0x47e679['focusCycler']));}function to(_0x5f0e5a,_0x395c62){_0x5f0e5a['focusTracker']['remove'](_0x395c62['element']),_0x5f0e5a['keystrokes']['stopListening'](_0x395c62['element']),_0x175030(_0x395c62)&&_0x5f0e5a['focusCycler']['unchain'](_0x395c62['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x584d58{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x1ff8f8?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x33a3e5,_0x4cc22c)=>{_0x4cc22c['on']('ready',()=>{this['_integrateEditor'](_0x4cc22c);});});}get['editor'](){if(this['context']instanceof _0x1ff8f8)return this['context'];{const _0x5b2f7a=this['context']['editors']['first'];if(!_0x5b2f7a)throw new _0x51b3b7('documentcompare-no-editor',this);return _0x5b2f7a;}}['getDiff'](_0x4e6115,_0x40f329,_0x5a34f0={'anchor':'main','markDeletions':!0x1}){let _0xbfb628,_0x3ce55e;const _0x4f146e=this['editor'];if('string'==typeof _0x5a34f0['anchor']){const _0x55bbf4=_0x4f146e['model']['document']['getRoot'](_0x5a34f0['anchor']);if(!_0x55bbf4)throw new _0x51b3b7('documentcompare-compare-no-root',this,{'anchor':_0x5a34f0['anchor']});_0xbfb628=_0x55bbf4,_0x3ce55e=_0x4f146e['model']['createPositionAt'](_0x55bbf4,0x0);}else _0xbfb628=_0x5a34f0['anchor']['clone'](),_0x3ce55e=_0x5a34f0['anchor']['clone']();const _0x49aa19=_0x4f146e['data']['parse'](_0x4e6115,_0xbfb628),_0x424445=_0x4f146e['data']['parse'](_0x40f329,_0xbfb628);return new Mt(_0x49aa19,_0x424445,_0x4f146e,{'anchor':_0x3ce55e,'markDeletions':_0x5a34f0['markDeletions']});}['isMarkedRemoveOperation'](_0x2506e2){return'marker'==_0x2506e2['type']&&_0x2506e2['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x568cca){_0x568cca['conversion']['for']('upcast')['add'](_0x57154a=>{_0x57154a['on']('element',(_0x4734eb,_0x142b01,_0x9799f7)=>{if(_0x142b01['modelRange'])for(const _0x5ca008 of _0x142b01['modelRange']['getItems']({'shallow':!0x0})){if(_0x5ca008['is']('$textProxy'))continue;const _0x3a742d=_0x142b01['viewItem']['getAttribute'](Et);_0x3a742d&&_0x9799f7['writer']['setAttribute'](St,_0x3a742d,_0x5ca008);}},{'priority':'lowest'});}),_0x568cca['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x1e3acc,_0x439e0b,_0x365a42,_0x33a0ce){this['_editor']=_0x365a42,this['_markDeletions']=!!_0x33a0ce['markDeletions'],this['_anchor']=_0x33a0ce['anchor'];const _0x19e97a=this['_tokenizeModel'](_0x1e3acc),_0xd10abb=this['_tokenizeModel'](_0x439e0b);this['_diffItems']=this['_diffModelTokens'](_0x19e97a,_0xd10abb),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x1e3acc['markers'],_0x439e0b['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x224cf3=this['_editor']['model']['document'],_0x5d7390=[];let _0x2443cc=_0x224cf3['version'];for(const _0x30a7ce of this['_operationsData'])switch(_0x30a7ce['type']){case'attribute':{const _0xadbe01=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']),_0x42c86e=_0xadbe01['getShiftedBy'](_0x30a7ce['howMany']),_0x34e477=new _0xcecd8c(_0xadbe01,_0x42c86e),_0x8f966f=JSON['parse'](_0x30a7ce['oldValue']),_0x39394b=JSON['parse'](_0x30a7ce['newValue']);_0x5d7390['push'](new _0x520c03(_0x34e477,_0x30a7ce['key'],_0x8f966f,_0x39394b,_0x2443cc++));break;}case'insert':{const _0x4ca482=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']),_0x534d6a=this['_makeModelFromTokens'](_0x30a7ce['tokens']);_0x5d7390['push'](new _0x417fe6(_0x4ca482,_0x534d6a,_0x2443cc++));break;}case'remove':{const _0x46f08e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']),_0x3bd2fb=new _0x59bcba(_0x224cf3['graveyard'],[0x0]);_0x5d7390['push'](new _0x4f3a20(_0x46f08e,_0x30a7ce['howMany'],_0x3bd2fb,_0x2443cc++));break;}case'rename':{const _0x5027c9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']);_0x5d7390['push'](new _0x59ca5e(_0x5027c9,_0x30a7ce['oldName'],_0x30a7ce['newName'],_0x2443cc++));break;}case'split':{const _0x27f4ba=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']),_0x3b2356=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['path']['slice'](0x0,-0x1));_0x3b2356['offset']++,_0x5d7390['push'](new _0x26eccd(_0x27f4ba,Number['NEGATIVE_INFINITY'],_0x3b2356,null,_0x2443cc++));break;}case'merge':{const _0x30ff7f=_0x30a7ce['path']['slice'](),_0x2099f1=_0x30ff7f['slice'](0x0,-0x1);_0x2099f1[_0x2099f1['length']-0x1]++,_0x2099f1['push'](0x0);const _0x7e65bc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2099f1),_0x565a11=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30ff7f),_0x3d37af=new _0x59bcba(_0x224cf3['graveyard'],[0x0]);_0x5d7390['push'](new _0x589486(_0x7e65bc,Number['NEGATIVE_INFINITY'],_0x565a11,_0x3d37af,_0x2443cc++));break;}case'marker':case'markedRemove':{let _0x3cc899=null;if(_0x30a7ce['range']){const _0x17af87=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['range']['start']),_0x1d8f47=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['range']['end']);_0x3cc899=new _0xcecd8c(_0x17af87,_0x1d8f47);}const _0x41f823='marker'==_0x30a7ce['type']?_0x30a7ce['name']:'$markedRemove:'+_0x51a914();_0x5d7390['push'](new _0x4f5ce1(_0x41f823,null,_0x3cc899,_0x224cf3['model']['markers'],!0x0,_0x2443cc++));break;}case'unwrap':{const _0x8c9052=_0x30a7ce['path']['slice']();_0x8c9052['push'](0x0);const _0x2a54f6=_0x30a7ce['path']['slice'](),_0x3ff91c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x8c9052),_0x3c6c4f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a54f6),_0x2a67c5=new _0x59bcba(_0x224cf3['graveyard'],[0x0]);_0x5d7390['push'](new _0x4f3a20(_0x3ff91c,_0x30a7ce['howMany'],_0x3c6c4f,_0x2443cc++)),_0x5d7390['push'](new _0x4f3a20(_0x3c6c4f['getShiftedBy'](_0x30a7ce['howMany']),0x1,_0x2a67c5,_0x2443cc++));break;}case'wrap':{const _0x4e2eb9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['range']['start']),_0x1be6b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30a7ce['range']['end']),_0x42dba1=_0x30a7ce['token']['element']['_clone'](!0x1),_0x1ba6f5=_0x30a7ce['range']['end']['slice']();_0x1ba6f5['push'](0x0);const _0x48e2d0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ba6f5);_0x5d7390['push'](new _0x417fe6(_0x1be6b3,_0x42dba1,_0x2443cc++)),_0x5d7390['push'](new _0x4f3a20(_0x4e2eb9,_0x1be6b3['offset']-_0x4e2eb9['offset'],_0x48e2d0,_0x2443cc++));break;}}return _0x5d7390;}['_tokenizeModel'](_0x58a257){const _0x57d0c2=[],_0x582a7b=_0xcecd8c['_createIn'](_0x58a257),_0x2857c1=new _0x295b0e({'boundaries':_0x582a7b});let _0x37cb2e='',_0x4f57d5=null;const _0x37fdc2=[''],_0x22ae34=new Map();for(const _0x1dcc38 of _0x2857c1)if('elementStart'==_0x1dcc38['type']||'elementEnd'==_0x1dcc38['type']){let _0x41cf13=_0x37fdc2[0x0];''!==_0x37cb2e&&(_0x57d0c2['push'](...this['_makeTokensFromTextByWords'](_0x37cb2e,_0x4f57d5,_0x41cf13)),_0x37cb2e='');const _0xab6d9e=_0x1dcc38['item'];let _0x5998fb;_0xab6d9e['getAttribute'](St)?_0x5998fb=_0xab6d9e['getAttribute'](St):'elementStart'==_0x1dcc38['type']?(_0x5998fb=_(_0xab6d9e),_0x22ae34['set'](_0xab6d9e,_0x5998fb)):_0x5998fb=_0x22ae34['get'](_0xab6d9e);const _0x359107=this['_getElementCategory'](_0xab6d9e);'solid'==_0x359107&&('elementStart'==_0x1dcc38['type']?(_0x41cf13=_0x5998fb,_0x37fdc2['unshift'](_0x41cf13)):_0x37fdc2['shift']());const _0x41a7e2={'type':'element','element':_0xab6d9e,'elementId':_0x5998fb,'category':_0x359107,'isStart':'elementStart'==_0x1dcc38['type'],'limitId':_0x41cf13};_0x57d0c2['push'](_0x41a7e2);}else''==_0x37cb2e&&(_0x4f57d5=_0x1dcc38['previousPosition']['clone']()),_0x37cb2e+=_0x1dcc38['item']['data'];return''!==_0x37cb2e&&_0x57d0c2['push'](...this['_makeTokensFromTextByWords'](_0x37cb2e,_0x4f57d5,_0x37fdc2[0x0])),_0x57d0c2;}['_makeTokensFromTextByWords'](_0x2a63e8,_0x8acd63,_0x4edd59){const _0x4c134a=_0x2a63e8['matchAll'](/(\s)/g),_0x53c7c1=Array['from'](_0x4c134a)['map'](_0x5c8957=>_0x5c8957['index']);_0x53c7c1['push'](_0x2a63e8['length']),0x0==_0x53c7c1[0x0]&&_0x53c7c1['shift']();const _0xb0221e=[],_0x486e62=_0x8acd63['parent'];let _0x1fb2be=0x0,_0x4d5e64=_0x8acd63['offset'];for(let _0x1fa4cf=0x0;_0x1fa4cf<_0x53c7c1['length'];_0x1fa4cf++)_0xb0221e['push']({'type':'text','data':_0x2a63e8['slice'](_0x1fb2be,_0x53c7c1[_0x1fa4cf]),'parent':_0x486e62,'offset':_0x4d5e64,'limitId':_0x4edd59}),_0x1fb2be=_0x53c7c1[_0x1fa4cf],_0x4d5e64=_0x8acd63['offset']+_0x53c7c1[_0x1fa4cf];return _0xb0221e;}['_getElementCategory'](_0x3aa746){const _0x52339d=this['_editor']['model']['schema'];return _0x52339d['isLimit'](_0x3aa746)||_0x52339d['isContent'](_0x3aa746)||_0x52339d['isInline'](_0x3aa746)?'solid':_0x52339d['isBlock'](_0x3aa746)?'block':'container';}['_diffModelTokens'](_0x1c0103,_0x564003){const _0x282c3a=_0x454c94(_0x1c0103,_0x564003,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x282c3a);const _0xf52912=_0x282c3a['flatMap'](_0xbda18=>{const _0x3336b2=_0xbda18['added']?'added':_0xbda18['removed']?'removed':'unchanged';return _0xbda18['value']['map'](_0x3a26fa=>({'token':_0x3a26fa,'change':_0x3336b2}));});let _0x3cd9de=0x0;for(const _0x36c9a0 of _0xf52912)'added'!=_0x36c9a0['change']&&('unchanged'==_0x36c9a0['change']&&(_0x36c9a0['before']=_0x1c0103[_0x3cd9de]),_0x3cd9de++);return _0xf52912;}['_handleUnclosedBlockOpeningTags'](_0xa90eca){for(let _0x16ca65=0x0;_0x16ca65<_0xa90eca['length']-0x1;_0x16ca65++)if(_0xa90eca[_0x16ca65]['removed']&&_0xa90eca[_0x16ca65+0x1]['added']){const _0x8f42b4=this['_findUnclosedBlockOpeningToken'](_0xa90eca[_0x16ca65]['value']);if(null!==_0x8f42b4){const _0x99c7c9=this['_findUnclosedBlockOpeningToken'](_0xa90eca[_0x16ca65+0x1]['value']),_0x5c1df4=_0xa90eca[_0x16ca65]['value']['splice'](_0x8f42b4),_0x24b4af=_0xa90eca[_0x16ca65+0x1]['value']['splice'](_0x99c7c9),_0xd085d1=[_0x24b4af['shift']()];_0x5c1df4['shift']();const _0x12d930={'value':_0x5c1df4,'removed':!0x0},_0x5e58={'value':_0x24b4af,'added':!0x0},_0x2c4fe0={'value':_0xd085d1};_0xa90eca['splice'](_0x16ca65+0x2,0x0,_0x2c4fe0,_0x12d930,_0x5e58);}}}['_findUnclosedBlockOpeningToken'](_0x3fd9cb){let _0x1e4bd6=0x0,_0x37d686=-0x1;for(let _0x31872f=0x0;_0x31872f<_0x3fd9cb['length'];_0x31872f++){const _0x1c80d3=_0x3fd9cb[_0x31872f];'element'==_0x1c80d3['type']&&'block'==_0x1c80d3['category']&&(_0x1e4bd6+=_0x1c80d3['isStart']?0x1:-0x1,_0x1c80d3['isStart']&&(_0x37d686=_0x31872f));}return 0x0===_0x1e4bd6?null:_0x37d686;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3208c6=0x0;_0x3208c6<this['_diffItems']['length'];_0x3208c6++){const _0x247724=this['_diffItems'][_0x3208c6]['change'],_0xac54d=[];_0xac54d['push'](this['_diffItems'][_0x3208c6]);let _0x2f374c=_0x3208c6+0x1;for(;this['_diffItems'][_0x2f374c]&&this['_diffItems'][_0x2f374c]['change']==_0x247724;)_0xac54d['push'](this['_diffItems'][_0x2f374c]),_0x2f374c++,_0x3208c6++;const _0x35dff9=_0xac54d['map'](_0x1b5f62=>_0x1b5f62['token']);if('unchanged'==_0x247724)_0xac54d['map'](_0xfdb405=>_0xfdb405['before'])['forEach'](_0x711ee8=>this['_traverseOverItem'](_0x711ee8));else{if('removed'==_0x247724){if(this['_markDeletions']){const _0x38911c=this['_path']['slice']();_0x35dff9['forEach'](_0x2b1563=>this['_traverseOverItem'](_0x2b1563));const _0x5db745=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x38911c,'end':_0x5db745}});}else this['_handleChanged'](_0x35dff9,!0x0,this['_path']['slice']());}else{const _0x5aedf2=_0x35dff9['filter'](_0x1aaf5c=>'element'!=_0x1aaf5c['type']||'container'!=_0x1aaf5c['category']);this['_handleChanged'](_0x5aedf2,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x53ad73=0x0;_0x53ad73<this['_diffItems']['length'];_0x53ad73++){const _0x443ae9=this['_diffItems'][_0x53ad73]['change'],_0x59fdb8=[];_0x59fdb8['push'](this['_diffItems'][_0x53ad73]);let _0xdafece=_0x53ad73+0x1;for(;this['_diffItems'][_0xdafece]&&this['_diffItems'][_0xdafece]['change']==_0x443ae9;)_0x59fdb8['push'](this['_diffItems'][_0xdafece]),_0xdafece++,_0x53ad73++;const _0x48fe00=_0x59fdb8['map'](_0x27dfb7=>_0x27dfb7['token']);if('unchanged'==_0x443ae9){const _0x1cb560=_0x59fdb8['map'](_0x7b0d55=>_0x7b0d55['before']);this['_handleUnchanged'](_0x1cb560,_0x48fe00);}else('removed'!=_0x443ae9||this['_markDeletions'])&&_0x48fe00['forEach'](_0x786e88=>{this['_traverseOverItem'](_0x786e88);});}}['_calculateMarkersOperationsData'](_0x58addd,_0x2be745){const _0x10339b={};for(const [_0x2a3c4e]of _0x58addd)_0x10339b[_0x2a3c4e]=null;for(const [_0x287af3,_0x4c6312]of _0x2be745)_0x10339b[_0x287af3]=_0x4c6312;const _0x28fe29=Object['entries'](_0x10339b)['map'](([_0x47d5df,_0x37948b])=>({'type':'marker','name':_0x47d5df,'range':_0x37948b?{'start':_0x37948b['start']['path']['slice'](),'end':_0x37948b['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x28fe29);}['_handleUnwraps'](){const _0x5d1681=new Map(),_0x4a1444=[],_0x5285cc=[0x0];let _0x378ee5=this['_diffItems']['length']+0x1;for(let _0x4d0485=this['_diffItems']['length']-0x1;_0x4d0485>=0x0;_0x4d0485--){const {token:_0x8190a7,before:_0x36e424,change:_0x549652}=this['_diffItems'][_0x4d0485];if('removed'!=_0x549652&&(_0x378ee5=_0x4d0485),'element'!=_0x8190a7['type']||'container'!=_0x8190a7['category']||'added'==_0x549652)continue;const _0x1e0317=_0x36e424?_0x36e424['element']:_0x8190a7['element'];if(_0x8190a7['isStart']){const _0x4abe12=_0x5d1681['get'](_0x1e0317),_0x1b729a=this['_diffItems'][_0x4abe12];('removed'==_0x549652||'removed'==_0x1b729a['change'])&&_0x378ee5<_0x4abe12&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1e0317['getPath'](),'howMany':_0x1e0317['maxOffset']+_0x5285cc[0x0]}),_0x5285cc['shift'](),_0x5285cc[0x0]+=_0x1e0317['maxOffset']-0x1,_0x4a1444['push'](_0x4d0485),_0x4a1444['push'](_0x4abe12));}else _0x5d1681['set'](_0x1e0317,_0x4d0485),_0x5285cc['unshift'](0x0);}_0x4a1444['sort']((_0x43cbe7,_0x598784)=>_0x598784-_0x43cbe7),_0x4a1444['forEach'](_0x359469=>{const _0x1f0a9f=this['_diffItems'][_0x359469];'removed'==_0x1f0a9f['change']?this['_diffItems']['splice'](_0x359469,0x1):(_0x1f0a9f['change']='added',delete _0x1f0a9f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x26bdf8=[];for(let _0x4140cb=0x0;_0x4140cb<this['_diffItems']['length'];_0x4140cb++){const {change:_0x4b58ad,token:_0x531901}=this['_diffItems'][_0x4140cb];if('added'==_0x4b58ad&&'element'==_0x531901['type']&&'container'==_0x531901['category']){if(_0x531901['isStart'])_0x26bdf8['push'](this['_path']['slice']());else{if(!_0x531901['isStart']){const _0x45ea81=_0x26bdf8['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x45ea81,'end':this['_path']['slice']()},'token':_0x531901}),this['_path'][this['_path']['length']-0x1]=_0x45ea81[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4b58ad||this['_markDeletions'])&&this['_traverseOverItem'](_0x531901);}}['_handleUnchanged'](_0x3fe6db,_0x3fc271){for(let _0x345c65=0x0;_0x345c65<_0x3fe6db['length'];_0x345c65++){const _0x5e0c07=_0x3fe6db[_0x345c65];if('element'==_0x5e0c07['type']&&_0x5e0c07['isStart']){const _0x441a8e=_0x3fc271[_0x345c65];'block'==_0x5e0c07['category']&&this['_handleElementRename'](_0x5e0c07['element'],_0x441a8e['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5e0c07['element'],_0x441a8e['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x441a8e);}else{if('element'!=_0x5e0c07['type']||_0x5e0c07['isStart']){if('text'==_0x5e0c07['type']){const _0x238fdc=this['_path']['slice'](),_0x1a4b33=[],_0x3f5307=[];for(;_0x3fe6db[_0x345c65]&&'text'==_0x3fe6db[_0x345c65]['type'];)_0x1a4b33['push'](_0x3fe6db[_0x345c65]),_0x3f5307['push'](_0x3fc271[_0x345c65]),this['_path'][this['_path']['length']-0x1]+=_0x3fe6db[_0x345c65]['data']['length'],_0x345c65++;_0x345c65--,this['_handleTextAttributeChanges'](_0x1a4b33,_0x3f5307,_0x238fdc);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1b23f4,_0x18e96c,_0x17d867){const _0x568634=[],_0x3afdee=[],_0x4211a4=_0x17d867['slice']();for(let _0x6cda9=0x0;_0x6cda9<_0x1b23f4['length'];_0x6cda9++){const _0x143bee=_0x1b23f4[_0x6cda9],_0x588165=_0x17d867['slice']();if('element'!=_0x143bee['type']||_0x143bee['isStart'])'element'==_0x143bee['type']&&_0x143bee['isStart']?(_0x17d867['push'](0x0),_0x18e96c||this['_parents']['push'](_0x143bee),_0x3afdee['push']({'before':_0x588165,'after':_0x17d867['slice'](),'index':_0x6cda9})):_0x17d867[_0x17d867['length']-0x1]+=_0x143bee['data']['length'];else{let _0x1b1f12;_0x17d867['pop'](),_0x17d867[_0x17d867['length']-0x1]++,_0x1b1f12=_0x18e96c?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x3afdee['length']?_0x3afdee['pop']():_0x568634['push']({'before':_0x588165,'after':_0x17d867['slice'](),'index':_0x6cda9,'related':_0x1b1f12});}}if(_0x3afdee['length']!==_0x568634['length'])throw new _0x51b3b7('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1b23f4,'isRemove':_0x18e96c});const _0x134d4f=[{'after':_0x4211a4['slice'](),'index':-0x1},..._0x568634,..._0x3afdee,{'before':_0x17d867['slice'](),'index':_0x1b23f4['length']}];if(_0x18e96c){for(let _0x1d422d=_0x134d4f['length']-0x1;_0x1d422d>=0x1;_0x1d422d--){const _0xae0916=_0x134d4f[_0x1d422d-0x1]['after'],_0xb1ff9b=_0x134d4f[_0x1d422d]['before'],_0x2d559c=_0xb1ff9b[_0xb1ff9b['length']-0x1]-_0xae0916[_0xae0916['length']-0x1];_0x2d559c&&(this['_operationsData']['push']({'type':'remove','path':_0xae0916,'howMany':_0x2d559c}),_0xb1ff9b[_0xb1ff9b['length']-0x1]-=_0x2d559c);}for(const {before:_0x1e7f6b}of _0x568634)this['_operationsData']['push']({'type':'merge','path':_0x1e7f6b});}else for(let _0x288809=0x0;_0x288809<_0x134d4f['length']-0x1;_0x288809++){const _0x4fbafa=_0x134d4f[_0x288809]['after'],_0x32d809=_0x134d4f[_0x288809+0x1]['before'],_0x5a4e26=_0x134d4f[_0x288809]['index']+0x1,_0x54692b=_0x134d4f[_0x288809+0x1]['index'];if(_0x5a4e26!==_0x54692b&&this['_operationsData']['push']({'type':'insert','path':_0x4fbafa,'tokens':_0x1b23f4['slice'](_0x5a4e26,_0x54692b)}),_0x288809<_0x568634['length']){this['_operationsData']['push']({'type':'split','path':_0x32d809});const _0x3431d9=_0x1b23f4[_0x3afdee[_0x3afdee['length']-0x1-_0x288809]['index']],_0x568702=_0x568634[_0x288809]['after'],_0x48ae93=_0x568634[_0x288809]['related']['element'];this['_handleElementRename'](_0x48ae93,_0x3431d9['element'],_0x568702),this['_handleElementAttributeChanges'](_0x48ae93,_0x3431d9['element'],_0x568702);}}}['_traverseOverItem'](_0x3b88e8){'element'==_0x3b88e8['type']&&_0x3b88e8['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3b88e8)):'element'!=_0x3b88e8['type']||_0x3b88e8['isStart']?'text'==_0x3b88e8['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3b88e8['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x1e0354,_0x47a2d5,_0xa3ef19){_0x1e0354['name']!=_0x47a2d5['name']&&this['_operationsData']['push']({'type':'rename','path':_0xa3ef19['slice'](),'oldName':_0x1e0354['name'],'newName':_0x47a2d5['name']});}['_handleElementAttributeChanges'](_0x1dbe4c,_0x341155,_0xcffd42){const _0x200d1c=this['_getAttributeChanges'](_0x1dbe4c['getAttributes'](),_0x341155['getAttributes']());for(const _0x1c2449 in _0x200d1c){const {oldValue:_0x28b43c,newValue:_0x2ad6bf}=_0x200d1c[_0x1c2449];this['_operationsData']['push']({'type':'attribute','path':_0xcffd42['slice'](),'howMany':0x1,'key':_0x1c2449,'oldValue':_0x28b43c,'newValue':_0x2ad6bf});}}['_handleTextAttributeChanges'](_0x4b5db3,_0xe1104f,_0x115537){const _0x5ea14a=this['_operationsData'],_0x2e73ad=_0x4b5db3[0x0]['parent'],_0x36f11a=_0x4b5db3[0x0]['offset'],_0x512146=_0xe1104f[0x0]['parent'],_0x45f8d1=_0xe1104f[0x0]['offset'],_0x3ae7bc=_0x4b5db3['reduce']((_0x5229dd,_0x16a7a7)=>_0x5229dd+_0x16a7a7['data']['length'],0x0),_0x5cd382=this['_getAttrsForOffsets'](_0x2e73ad,_0x36f11a,_0x3ae7bc),_0x5052ef=this['_getAttrsForOffsets'](_0x512146,_0x45f8d1,_0x3ae7bc),_0x1b1f05={};for(let _0x2c455c=0x0;_0x2c455c<_0x3ae7bc;_0x2c455c++){const _0x2dcfe0=_0x5cd382[_0x36f11a+_0x2c455c],_0x1bb2a7=_0x5052ef[_0x45f8d1+_0x2c455c],_0x89a78f=this['_getAttributeChanges'](_0x2dcfe0,_0x1bb2a7);for(const _0x360eed in _0x1b1f05)_0x89a78f[_0x360eed]||_0x29b728(_0x360eed);for(const _0x4f5eb0 in _0x89a78f){const {oldValue:_0x874a93,newValue:_0x4386ef}=_0x89a78f[_0x4f5eb0],_0xeb8db3=_0x1b1f05[_0x4f5eb0];_0xeb8db3?_0xeb8db3['oldValue']==_0x874a93&&_0xeb8db3['newValue']==_0x4386ef?_0xeb8db3['length']++:(_0x29b728(_0x4f5eb0),_0x1b1f05[_0x4f5eb0]={'oldValue':_0x874a93,'newValue':_0x4386ef,'start':_0x2c455c,'length':0x1}):_0x1b1f05[_0x4f5eb0]={'oldValue':_0x874a93,'newValue':_0x4386ef,'start':_0x2c455c,'length':0x1};}}for(const _0x7dd72a in _0x1b1f05)_0x29b728(_0x7dd72a);function _0x29b728(_0x1801e5){const _0x572f1a=_0x1b1f05[_0x1801e5],_0x5df261=_0x115537['slice']();_0x5df261[_0x5df261['length']-0x1]+=_0x572f1a['start'],_0x5ea14a['push']({'type':'attribute','path':_0x5df261,'howMany':_0x572f1a['length'],'key':_0x1801e5,'oldValue':_0x572f1a['oldValue'],'newValue':_0x572f1a['newValue']}),delete _0x1b1f05[_0x1801e5];}}['_getAttributeChanges'](_0x29083c,_0x561ec2){const _0x44b5b3={};for(const [_0x4eea2b,_0x2e0ccd]of _0x29083c)_0x44b5b3[_0x4eea2b]={'oldValue':JSON['stringify'](_0x2e0ccd),'newValue':'null'};for(const [_0x275e99,_0xf010da]of _0x561ec2){const _0x5f2606=JSON['stringify'](_0xf010da);_0x44b5b3[_0x275e99]?_0x44b5b3[_0x275e99]['oldValue']==_0x5f2606?delete _0x44b5b3[_0x275e99]:_0x44b5b3[_0x275e99]['newValue']=_0x5f2606:_0x44b5b3[_0x275e99]={'oldValue':'null','newValue':_0x5f2606};}return delete _0x44b5b3[St],_0x44b5b3;}['_getAttrsForOffsets'](_0x2e9f35,_0x2372e7,_0x7bad68){const _0x578ce9=new Array(_0x2372e7+_0x7bad68);let _0x52bde0=_0x2e9f35['getChildAtOffset'](_0x2372e7),_0x5a3c96=_0x52bde0['startOffset'];for(;_0x52bde0&&_0x5a3c96<_0x2372e7+_0x7bad68;){const _0x28fb6a=Array['from'](_0x52bde0['getAttributes']());_0x578ce9['fill'](_0x28fb6a,_0x5a3c96,_0x5a3c96+_0x52bde0['offsetSize']),_0x5a3c96+=_0x52bde0['offsetSize'],_0x52bde0=_0x52bde0['nextSibling'];}return _0x578ce9;}['_getPositionFromAnchorAndPath'](_0x492e86,_0x37fe99){const _0x72456b=[..._0x492e86['path']['slice'](0x0,-0x1),_0x492e86['offset']+_0x37fe99[0x0],..._0x37fe99['slice'](0x1)];return new _0x59bcba(_0x492e86['root'],_0x72456b);}['_makeModelFromTokens'](_0x42d354){const _0x568c47=[];let _0x477937=null;for(const _0x253dec of _0x42d354)if('element'!=_0x253dec['type']||_0x253dec['isStart']||_0x477937!=_0x253dec['element']){if(!_0x477937){if('text'==_0x253dec['type']){const _0x15c3e6=_0x59bcba['_createAt'](_0x253dec['parent'],_0x253dec['offset']),_0x5cfcf9=_0xcecd8c['_createFromPositionAndShift'](_0x15c3e6,_0x253dec['data']['length']),_0x462f70=Array['from'](_0x5cfcf9['getItems']())['map'](_0x1abfdb=>new _0x1d2191(_0x1abfdb['data'],_0x1abfdb['getAttributes']()));_0x568c47['push'](..._0x462f70);}else{_0x477937=_0x253dec['element'];const _0xd762df=_0x253dec['element']['_clone'](!0x0);_0xd762df['_removeAttribute'](St);for(const _0x114d08 of this['_editor']['model']['createRangeIn'](_0xd762df)['getItems']())_0x114d08['is']('element')&&_0x114d08['_removeAttribute'](St);_0x568c47['push'](_0xd762df);}}}else _0x477937=null;return _0x568c47;}}function g(_0x3be054,_0xf50b31){return _0x3be054['type']===_0xf50b31['type']&&(_0x3be054['limitId']===_0xf50b31['limitId']&&('text'==_0x3be054['type']?_0x3be054['data']==_0xf50b31['data']:function(_0x8e2c9b,_0x1d544){if(_0x8e2c9b['isStart']!=_0x1d544['isStart'])return!0x1;if(_0x8e2c9b['isStart']&&_0x8e2c9b['elementId']!=_0x1d544['elementId'])return!0x1;if(_0x8e2c9b['category']!=_0x1d544['category'])return!0x1;if('block'==_0x8e2c9b['category'])return!0x0;if('container'==_0x8e2c9b['category']&&_0x8e2c9b['elementId']!=_0x1d544['elementId'])return!0x1;return _0x8e2c9b['element']['name']==_0x1d544['element']['name'];}(_0x3be054,_0xf50b31)));}function _(_0x4570dd){return k({'name':_0x4570dd['name'],...Object['fromEntries'](_0x4570dd['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,It as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,at as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,_t as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,xt as surroundingMarkersDetector,bt as trimHtml};
|
package/dist/translations/af.js
CHANGED
|
@@ -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':
|
|
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':_0x4ff94c=>0x1!=_0x4ff94c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc68050=>{const {af:{dictionary:_0x2c08dd,getPluralForm:_0x3fcb1c}}={'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':_0x4eeaac=>0x1!=_0x4eeaac}};_0xc68050['af']||={'dictionary':{},'getPluralForm':null},_0xc68050['af']['dictionary']=Object['assign'](_0xc68050['af']['dictionary'],_0x2c08dd),_0xc68050['af']['getPluralForm']=_0x3fcb1c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -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':
|
|
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':_0xfb8e3=>0x0==_0xfb8e3?0x0:0x1==_0xfb8e3?0x1:0x2==_0xfb8e3?0x2:_0xfb8e3%0x64>=0x3&&_0xfb8e3%0x64<=0xa?0x3:_0xfb8e3%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x449a22=>{const {ar:{dictionary:_0x559a14,getPluralForm:_0x41ce7e}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x536770=>0x0==_0x536770?0x0:0x1==_0x536770?0x1:0x2==_0x536770?0x2:_0x536770%0x64>=0x3&&_0x536770%0x64<=0xa?0x3:_0x536770%0x64>=0xb?0x4:0x5}};_0x449a22['ar']||={'dictionary':{},'getPluralForm':null},_0x449a22['ar']['dictionary']=Object['assign'](_0x449a22['ar']['dictionary'],_0x559a14),_0x449a22['ar']['getPluralForm']=_0x41ce7e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x100c92=>0x1!=_0x100c92}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15ecf8=>{const {ast:{dictionary:_0x155c77,getPluralForm:_0x54c3a0}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x59c0a2=>0x1!=_0x59c0a2}};_0x15ecf8['ast']||={'dictionary':{},'getPluralForm':null},_0x15ecf8['ast']['dictionary']=Object['assign'](_0x15ecf8['ast']['dictionary'],_0x155c77),_0x15ecf8['ast']['getPluralForm']=_0x54c3a0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1706e9=>0x1!=_0x1706e9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x513260=>{const {az:{dictionary:_0x12ade6,getPluralForm:_0x2c9f0b}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x299699=>0x1!=_0x299699}};_0x513260['az']||={'dictionary':{},'getPluralForm':null},_0x513260['az']['dictionary']=Object['assign'](_0x513260['az']['dictionary'],_0x12ade6),_0x513260['az']['getPluralForm']=_0x2c9f0b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5d932b=>_0x5d932b%0xa==0x1&&_0x5d932b%0x64!=0xb?0x0:_0x5d932b%0xa>=0x2&&_0x5d932b%0xa<=0x4&&(_0x5d932b%0x64<0xa||_0x5d932b%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x460134=>{const {be:{dictionary:_0x219e96,getPluralForm:_0x31d253}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x14ebfa=>_0x14ebfa%0xa==0x1&&_0x14ebfa%0x64!=0xb?0x0:_0x14ebfa%0xa>=0x2&&_0x14ebfa%0xa<=0x4&&(_0x14ebfa%0x64<0xa||_0x14ebfa%0x64>=0x14)?0x1:0x2}};_0x460134['be']||={'dictionary':{},'getPluralForm':null},_0x460134['be']['dictionary']=Object['assign'](_0x460134['be']['dictionary'],_0x219e96),_0x460134['be']['getPluralForm']=_0x31d253;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -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':
|
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x2454d7=>0x1!=_0x2454d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48d5d6=>{const {bg:{dictionary:_0x590d61,getPluralForm:_0x3a35f0}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x44d68f=>0x1!=_0x44d68f}};_0x48d5d6['bg']||={'dictionary':{},'getPluralForm':null},_0x48d5d6['bg']['dictionary']=Object['assign'](_0x48d5d6['bg']['dictionary'],_0x590d61),_0x48d5d6['bg']['getPluralForm']=_0x3a35f0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?','Today':'আজ','Yesterday':'গতকাল','Last':'সর্বশেষ','Monday':'সোমবার','Tuesday':'মঙ্গলবার','Wednesday':'বুধবার','Thursday':'বৃহস্পতিবার','Friday':'শুক্রবার','Saturday':'শনিবার','Sunday':'রবিবার'},'getPluralForm':_0x25c096=>0x1!=_0x25c096}};
|