@ckeditor/ckeditor5-collaboration-core 47.7.0-alpha.3 → 47.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x48658f,Editor as _0xfd27a3,Plugin as _0x5b9864}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3a4944,Collection as _0x456ce3,uid as _0x20b13b,toArray as rt,first as _0x534f32,FocusTracker as _0x105693,KeystrokeHandler as _0x523adf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xe7353f,IconView as st,ButtonView as ts,DropdownButtonView as _0x33ad50,FocusCycler as _0x362368,isViewWithFocusCycler as _0x40fbf3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0xa42e04,IconCancel as _0x540837}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x2977e1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0xd1b70,MoveOperation as _0x9af5fd,ModelPosition as _0x215bb7,ModelRange as _0xce3873,MarkerOperation as _0x3055f8,MergeOperation as _0x1c5119,SplitOperation as _0x2d8e5b,RenameOperation as _0x28010f,AttributeOperation as _0xe7a38b,ModelTreeWalker as _0x4c48a,ModelText as _0x44e0ab}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x4905fb}from'diff';class C extends _0x48658f{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x4d6421,_0x242b26){let _0x21f7a2;if(_0x242b26||(_0x242b26=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x242b26?_0x21f7a2=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x21f7a2=this['context']['editors']['find'](_0x3fc549=>_0x3fc549['config']['get']('collaboration.channelId')==_0x242b26)),!_0x21f7a2)throw new _0x3a4944('permissions-set-permissions-invalid-channel-id',null);const _0x1db422=_0x21f7a2['plugins'],_0x1f2661=_0x1db422['has']('CommentsRepository')?_0x1db422['get']('CommentsRepository'):void 0x0,_0x3d2bab=_0x1db422['has']('CommentsOnly')&&_0x1db422['get']('CommentsOnly'),_0x35975a=_0x4d6421['includes']('document:write'),_0x4e602a=_0x4d6421['includes']('comment:modify_all'),_0x523f45=_0x4d6421['includes']('comment:admin'),_0x2ab6fd=_0x4d6421['includes']('comment:write'),_0x2ecd81=_0x2ab6fd||_0x523f45,_0x5d012e=_0x2ecd81||_0x4e602a,_0x40df0a=_0x35975a||_0x2ecd81;(_0x3d2bab&&(_0x3d2bab['isEnabled']=!_0x35975a&&_0x5d012e),_0x21f7a2 instanceof _0xfd27a3)&&(!(_0x35975a||_0x5d012e&&_0x1f2661)?_0x21f7a2['enableReadOnlyMode']('no-permissions'):_0x21f7a2['disableReadOnlyMode']('no-permissions'));if(_0x1f2661){_0x1f2661['setPermissions']({'admin':_0x523f45,'modifyAll':_0x4e602a,'write':_0x2ab6fd,'resolve':_0x40df0a},_0x242b26);const _0x16b112=_0x21f7a2 instanceof _0xfd27a3&&_0x21f7a2['commands']['get']('addCommentThread');_0x16b112&&(_0x2ecd81?_0x16b112['clearForceDisabled']('noPermissions'):_0x16b112['forceDisabled']('noPermissions'));}}}function U(_0x151252,_0x5d6555){const t=_0x151252['t'];switch(_0x5d6555){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 _0x48658f{['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(_0x42abb4){super(_0x42abb4),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x456ce3(),this['_locale']=_0x42abb4['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:_0x10f01b,name:_0x143773,..._0x2d8d70}){if(!_0x10f01b||'string'!=typeof _0x10f01b)throw new _0x3a4944('users-add-invalid-id');if(this['users']['has'](_0x10f01b))throw new _0x3a4944('users-add-duplicated-id',null,{'id':_0x10f01b});const _0x16db26=this['context']['config']['get']('users.getInitialsCallback'),_0x3d63d0={..._0x2d8d70,'id':_0x10f01b,'name':A(this['_locale'],_0x143773),'color':this['_getNextColor']()};_0x3d63d0['name']=A(this['_locale'],_0x3d63d0['name']);const _0x475f5c=new lt(_0x3d63d0,_0x16db26);return this['users']['add'](_0x475f5c),_0x475f5c;}['getUser'](_0x33cc9c){return this['users']['get'](_0x33cc9c);}['useAnonymousUser'](){const _0x5c7bf8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5c7bf8);}['defineMe'](_0x3d9733){if(this['_myId'])throw new _0x3a4944('users-me-already-defined',null);const _0x1230dd=this['getUser'](_0x3d9733);if(!_0x1230dd)throw new _0x3a4944('users-me-missing-user',null);this['_myId']=_0x3d9733,_0x1230dd['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2fa063=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2fa063&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1f5009=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1f5009,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4b9c55,_0x158156){this['id']=_0x4b9c55['id'],this['color']=_0x4b9c55['color'],this['name']=_0x4b9c55['name'],this['initials']=_0x158156?_0x158156(this['name']):this['_computeInitials'](),this['avatar']=_0x4b9c55['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x5566f2=this['name']['split']('\x20')['filter'](_0x7c8d31=>/^[\p{Letter}]/u['test'](_0x7c8d31));return 0x1===_0x5566f2['length']?this['_getInitial'](_0x5566f2[0x0]):0x0===_0x5566f2['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x5566f2[0x0])+this['_getInitial'](_0x5566f2[_0x5566f2['length']-0x1]);}['_getInitial'](_0x45908e){return String['fromCodePoint'](_0x45908e['codePointAt'](0x0))['toUpperCase']();}}function A(_0x78f7b,_0x40b3f0=''){return''==(_0x40b3f0=_0x40b3f0['trim']())?U(_0x78f7b,'Anonymous'):_0x40b3f0;}class ut{['_id'];constructor(_0x2af456){this['_id']=_0x2af456;}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 _0xe7353f{['name'];['notificationView'];constructor(_0xa253b4,_0x53ba8b,_0x4b5e29){super(_0xa253b4),this['name']=_0x53ba8b['name'],this['notificationView']=null;const _0x280cfe=['ck','ck-user'],_0x491886=['ck','ck-user__img'];if(_0x53ba8b['isAnonymous']&&_0x491886['push']('ck-user__anonymous'),!_0x53ba8b['isAnonymous']&&_0x53ba8b['isMe']&&_0x280cfe['push']('ck-user_me'),_0x53ba8b['avatar']&&_0x491886['push']('ck-user__avatar'),_0x4b5e29){const _0x1c499=new st();_0x1c499['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1c499['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4b5e29},'children':[_0x1c499]};}const _0x5a2775=[{'tag':'div','attributes':{'class':_0x491886,'style':{'background-image':_0x53ba8b['avatar']?'url(\x27'+_0x53ba8b['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x53ba8b['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x53ba8b['name']},'children':[{'text':_0x53ba8b['initials']}]}];this['notificationView']&&_0x5a2775['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x280cfe,'data-user-id':_0x53ba8b['id']},'children':_0x5a2775});}}class dt extends _0xe7353f{['id'];constructor(_0x8e46e6,_0x355601){super(_0x8e46e6),this['id']='ck-aria-description-'+_0x20b13b(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x355601}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x33ad50{['render'](){super['render'](),re(this);}}function re(_0x1f3d6f){_0x1f3d6f['listenTo'](_0x1f3d6f['element'],'mousedown',(_0x242b16,_0x44055d)=>{_0x44055d['stopPropagation'](),_0x44055d['preventDefault']();}),_0x1f3d6f['listenTo'](_0x1f3d6f['element'],'mouseup',()=>{_0x1f3d6f['element']['focus']();});}function v(_0x2e96d9){const _0x1a1356=_0x2e96d9['split'](':');return{'group':_0x1a1356[0x0],'type':_0x1a1356[0x1],'subType':_0x1a1356['length']>=0x5?_0x1a1356[0x2]:null,'id':_0x1a1356['length']<0x5?_0x1a1356[0x2]:_0x1a1356[0x3],'authorId':_0x1a1356['length']<0x5?_0x1a1356[0x3]:_0x1a1356[0x4],'markerCount':0x6==_0x1a1356['length']?_0x1a1356[0x5]:null};}function mt(_0x4d1d3a,_0x32830f){const _0x5cf93f=_0x4d1d3a['end']['nodeBefore'];if(_0x5cf93f&&_0x5cf93f['is']('element')&&_0x32830f['schema']['isBlock'](_0x5cf93f)&&!_0x32830f['schema']['isObject'](_0x5cf93f)){const _0xce0461=_0x32830f['createPositionAt'](_0x5cf93f,'end');return _0x32830f['createRange'](_0x4d1d3a['start'],_0xce0461);}return _0x4d1d3a;}class M extends _0x5b9864{['afterInit'](){const _0x5e0d41=this['editor'];if(!_0x5e0d41['plugins']['has']('AlignmentEditing'))return;_0x5e0d41['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x5b9864{['afterInit'](){const _0xfc6297=this['editor'],_0x48a426=_0xfc6297['plugins']['get']('SuggestionsConversion');for(const _0x24c933 of ii){if(!_0xfc6297['plugins']['has'](_0x24c933))continue;const _0x221638=_0x24c933['slice'](0x0,-0x7)['toLowerCase']();_0x48a426['registerInlineAttribute'](_0x221638);}}}class I extends _0x5b9864{['afterInit'](){const _0x4bb445=this['editor'],_0x2ca514=_0x4bb445['plugins']['get']('SuggestionsConversion');_0x4bb445['plugins']['has']('BookmarkEditing')&&_0x2ca514['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x5b9864{['afterInit'](){const _0x51b070=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5bb3ee,commandName:_0x4738c9}of no)this['editor']['plugins']['has'](_0x5bb3ee)&&_0x51b070['registerInlineAttribute'](_0x4738c9);}}class T extends _0x5b9864{['afterInit'](){const {editor:_0x537764}=this;if(!_0x537764['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x34359f=_0x537764['plugins']['get']('SuggestionsConversion');_0x34359f['registerBlockAttribute']('footnotesListStyle'),_0x34359f['registerBlockAttribute']('footnotesListStart');}}class E extends _0x5b9864{['afterInit'](){const _0x24f361=this['editor'];if(!_0x24f361['plugins']['has']('HighlightEditing'))return;_0x24f361['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x5b9864{['afterInit'](){const _0x538c15=this['editor'];if(!_0x538c15['plugins']['has']('HtmlEmbed'))return;_0x538c15['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x5b9864{['afterInit'](){const _0x5d7a18=this['editor'];if(!_0x5d7a18['plugins']['has']('ImageEditing'))return;const _0x48624d=_0x5d7a18['plugins']['get']('SuggestionsConversion');_0x48624d['registerBlockAttribute']('src'),_0x5d7a18['plugins']['has']('ImageResize')&&_0x48624d['registerBlockAttribute']('resizedWidth'),_0x5d7a18['plugins']['has']('ImageTextAlternativeEditing')&&_0x48624d['registerBlockAttribute']('alt'),_0x5d7a18['plugins']['has']('PictureEditing')&&_0x48624d['registerBlockAttribute']('sources'),_0x5d7a18['plugins']['has']('ImageSizeAttributes')&&(_0x48624d['registerBlockAttribute']('width'),_0x48624d['registerBlockAttribute']('height'));}}class x extends _0x5b9864{['afterInit'](){const _0x4bcb9a=this['editor'],_0x1a5c12=_0x4bcb9a['plugins']['get']('SuggestionsConversion');_0x4bcb9a['plugins']['has']('IndentBlock')&&(_0x1a5c12['registerBlockAttribute']('blockIndent'),_0x4bcb9a['plugins']['has']('ListEditing')&&(_0x1a5c12['registerBlockAttribute']('blockIndentList'),_0x1a5c12['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x5b9864{['afterInit'](){const _0x1288e1=this['editor'];if(!_0x1288e1['plugins']['has']('LineHeight'))return;_0x1288e1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x5b9864{['afterInit'](){const _0x285265=this['editor'];if(!_0x285265['plugins']['has']('LinkEditing'))return;const _0x323047=_0x285265['plugins']['get']('SuggestionsConversion'),_0x3af24c=_0x285265['commands']['get']('link');_0x323047['registerInlineAttribute']('linkHref');for(const _0x2c28d5 of _0x3af24c['manualDecorators'])_0x323047['registerInlineAttribute'](_0x2c28d5['id']);}}class P extends _0x5b9864{['afterInit'](){const _0x3ab926=this['editor'];if(!_0x3ab926['plugins']['has']('ListEditing'))return;const _0x4578fb=_0x3ab926['plugins']['get']('SuggestionsConversion'),_0x26a8bd=_0x3ab926['plugins']['has']('TodoListEditing');_0x4578fb['registerBlockAttribute']('listItemId'),_0x4578fb['registerBlockAttribute']('listType'),_0x4578fb['registerBlockAttribute']('listIndent'),_0x26a8bd&&_0x4578fb['registerBlockAttribute']('todoListChecked');}}class K extends _0x5b9864{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x54824e=this['editor']['config']['get']('list.properties'),_0x51a5b7=this['editor']['plugins']['get']('SuggestionsConversion');_0x54824e['styles']&&_0x51a5b7['registerBlockAttribute']('listStyle'),_0x54824e['reversed']&&_0x51a5b7['registerBlockAttribute']('listReversed'),_0x54824e['startIndex']&&_0x51a5b7['registerBlockAttribute']('listStart');}}class q extends _0x5b9864{['afterInit'](){const _0x1e14ad=this['editor'],_0x377248=_0x1e14ad['plugins']['get']('SuggestionsConversion');_0x1e14ad['plugins']['has']('MultiLevelList')&&_0x377248['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x5b9864{['afterInit'](){const _0x376538=this['editor'];if(!_0x376538['plugins']['has']('Style')||!_0x376538['plugins']['has']('DataSchema')||!_0x376538['config']['get']('style.definitions'))return;const _0x4ee09a=_0x376538['plugins']['get']('SuggestionsConversion'),_0x316528=_0x376538['config']['get']('style.definitions'),_0x38d081=_0x376538['plugins']['get']('GeneralHtmlSupport'),_0x5d93c3=_0x376538['plugins']['get']('StyleUtils')['normalizeConfig'](_0x376538['plugins']['get']('DataSchema'),_0x316528),_0x106e59=new Set();for(const _0x33b876 of _0x5d93c3['block']){const _0xc9692d=_0x38d081['getGhsAttributeNameForElement'](_0x33b876['element']);_0x106e59['add'](_0xc9692d);}const _0xa845fa=new Set();for(const _0x3b6eb1 of _0x5d93c3['inline']){const _0x4ee5c8=_0x38d081['getGhsAttributeNameForElement'](_0x3b6eb1['element']);_0xa845fa['add'](_0x4ee5c8);for(const _0x35eec4 of _0x3b6eb1['ghsAttributes'])_0xa845fa['add'](_0x35eec4);}for(const _0x4b40a1 of _0x106e59)_0x4ee09a['registerBlockAttribute'](_0x4b40a1);for(const _0x557a50 of _0xa845fa)_0x4ee09a['registerInlineAttribute'](_0x557a50);}}class O extends _0x5b9864{['afterInit'](){const _0x3bb602=this['editor'];if(!_0x3bb602['plugins']['has']('TableEditing'))return;const _0x136c10=_0x3bb602['plugins']['get']('SuggestionsConversion');_0x136c10['registerBlockAttribute']('headingRows'),_0x136c10['registerBlockAttribute']('headingColumns');}}class R extends _0x5b9864{['afterInit'](){const {plugins:_0x4b8b84}=this['editor'];if(!_0x4b8b84['has']('TablePropertiesEditing'))return;const _0x9191e6=_0x4b8b84['get']('SuggestionsConversion'),_0x27efe0=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x1be6b7 of _0x27efe0)_0x9191e6['registerBlockAttribute'](_0x1be6b7);}}class F extends _0x5b9864{['afterInit'](){const _0x5d2970=this['editor'],_0x2b5c29=_0x5d2970['plugins']['get']('SuggestionsConversion');_0x5d2970['plugins']['has']('TableLayout')&&_0x2b5c29['registerBlockAttribute']('tableType');}}class G extends _0x5b9864{['afterInit'](){const _0x5ec632=this['editor'],_0x497deb=this['editor']['plugins']['get']('SuggestionsConversion');_0x5ec632['plugins']['has']('Uploadcare')&&_0x5ec632['plugins']['has']('UploadcareImageEdit')&&_0x497deb['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x5b9864{['afterInit'](){const _0x42f8b2=this['editor'];if(!_0x42f8b2['plugins']['has']('ShiftEnter'))return;const _0xbd583c=_0x42f8b2['plugins']['get']('SuggestionsConversion'),_0x4d2bf9=(_0x50680b,_0x1186ec,_0x19ee98,_0x1b4766)=>{if(_0x1b4766&&!_0x19ee98['options']['showSuggestionHighlights'])return;if(!_0x19ee98['consumable']['test'](_0x1186ec['markerRange'],_0x50680b['name']))return;const _0x13130d=_0x42f8b2['model'];for(const _0x5dea07 of _0x1186ec['markerRange']['getItems']()){if(!_0x5dea07['is']('element','softBreak'))continue;const _0x300e4f='deletion'==_0x1186ec['markerName']['split'](':')[0x1]?'merge':'split',{id:_0xc2edb,authorId:_0x4e9996}=v(_0x1186ec['markerName']),_0x41fe34=_0x19ee98['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x300e4f,'data-suggestion':_0xc2edb,'data-author-id':_0x4e9996}),_0x31f1e3=_0x19ee98['mapper']['toViewPosition'](_0x13130d['createPositionBefore'](_0x5dea07));!_0x1b4766&&_0xbd583c['_activeMarkers']['includes'](_0x1186ec['markerName'])&&_0x19ee98['writer']['addClass']('ck-suggestion-marker--active',_0x41fe34),_0x19ee98['writer']['insert'](_0x31f1e3,_0x41fe34),_0x19ee98['mapper']['bindElementToMarker'](_0x41fe34,_0x1186ec['markerName']);}};_0x42f8b2['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x26736b,_0x1153d3,_0x348fb8)=>{_0x4d2bf9(_0x26736b,_0x1153d3,_0x348fb8,!0x1);},{'priority':'high'}),_0x42f8b2['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x64ebc1,_0x5e89a9,_0x31cf45)=>{_0x4d2bf9(_0x64ebc1,_0x5e89a9,_0x31cf45,!0x0);},{'priority':'high'});}}class L extends _0x5b9864{['afterInit'](){const _0x2af74a=this['editor'];_0x2af74a['plugins']['has']('MediaEmbedEditing')&&(_0x2af74a['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x44e8f5,{writer:_0x3460a1,options:_0x637b38})=>{if(_0x637b38['showSuggestionHighlights'])return _0x3460a1['createEmptyElement']('div');},'converterPriority':'high'}),_0x2af74a['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3c16f4,_0x370d2f,_0x5105cc)=>{_0x5105cc['options']['showSuggestionHighlights']&&_0x3c16f4['stop']();},{'priority':'high'}));}}class Q extends _0x5b9864{['afterInit'](){const _0x55c8a8=this['editor'];if(!_0x55c8a8['plugins']['has']('Table'))return;_0x55c8a8['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x110bc7,_0x26fd31,_0x3d39d2)=>{((_0x2d1e16,_0x835426,_0x26cde7)=>{if(!_0x26cde7['options']['showSuggestionHighlights'])return;const _0xc631af=_0x835426['item'];if(!_0xc631af||!_0xc631af['is']('element','tableCell'))return;const _0x49992a=_0x26cde7['mapper']['toViewElement'](_0xc631af);if(_0x49992a){const {id:_0xc681f,authorId:_0x23861c}=v(_0x835426['markerName']);at(_0x49992a,_0x26cde7['writer'],(_0x1b3492,_0x2c8461,_0xecc4e2)=>{_0xecc4e2['addClass'](rt(_0x2c8461['classes']),_0x1b3492),_0xecc4e2['setAttribute']('data-suggestion-id',_0xc681f,_0x1b3492),_0xecc4e2['setAttribute']('data-author-id',_0x23861c,_0x1b3492);});}})(0x0,_0x26fd31,_0x3d39d2);},{'priority':'highest'});}}class V extends _0x5b9864{['afterInit'](){const _0x8e93d5=this['editor'];_0x8e93d5['plugins']['has']('HorizontalLineEditing')&&_0x8e93d5['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x19976c,{writer:_0x338b4b,options:_0xbf0e2d})=>{if(!_0xbf0e2d['showSuggestionHighlights'])return null;const _0x5e1599=_0x338b4b['createContainerElement']('div'),_0x2c9cfb=_0x338b4b['createEmptyElement']('hr');return _0x338b4b['addClass']('ck-horizontal-line',_0x5e1599),_0x338b4b['insert'](_0x338b4b['createPositionAt'](_0x5e1599,0x0),_0x2c9cfb),_0x5e1599;},'converterPriority':'high'});}}class W extends _0x5b9864{['afterInit'](){const {plugins:_0x1e5dae,model:_0x739d61}=this['editor'];if(!_0x1e5dae['has']('TableCellPropertiesEditing'))return;const _0x270689=_0x1e5dae['get']('SuggestionsConversion'),_0x29aa51=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x2bd929 of _0x29aa51)_0x270689['registerBlockAttribute'](_0x2bd929);_0x739d61['schema']['checkAttribute']('tableCell','tableCellType')&&_0x270689['registerBlockAttribute']('tableCellType');}}class kt extends _0x5b9864{['_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 _0x5b9e20=this['editor'],_0x1bb9f3=(_0x5df3cb,_0x46ed5a,_0x1fa5ba)=>{const {id:_0xd7506,authorId:_0x3218c0,type:_0x15b7c1,subType:_0x268438}=v(_0x5df3cb['markerName']),_0x55c974=['ck-suggestion-marker',this['_getClassName'](_0x15b7c1,_0x268438)];let _0xbaf0b2=0xbb8;return!_0x1fa5ba&&(this['_activeMarkers']['includes'](_0x5df3cb['markerName'])&&(_0x55c974['push']('ck-suggestion-marker--active'),_0xbaf0b2=0xbc2)),('deletion'==_0x15b7c1&&(_0xbaf0b2+=0x5),{'classes':_0x55c974,'attributes':{'data-suggestion':_0xd7506,'data-author-id':_0x3218c0},'priority':_0xbaf0b2});};_0x5b9e20['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3ee5a0,_0x1b9d78)=>_0x1bb9f3(_0x3ee5a0,0x0,!0x1)}),_0x5b9e20['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xa51308,_0x48754a)=>_0x1bb9f3(_0xa51308,0x0,!0x0)}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x9cd977=>{_0x9cd977['on']('addMarker:suggestion',(_0x90d733,_0x306769,_0x3aec95)=>{if(!_0x3aec95['options']['showSuggestionHighlights'])return;const _0x249747=_0x306769['item'];if(!_0x249747)return;const _0x271267=_0x3aec95['mapper']['toViewElement'](_0x249747);_0x5b9e20['model']['schema']['isObject'](_0x249747)&&_0x271267&&!_0x271267['getCustomProperty']('widget')&&_0x271267['is']('containerElement')&&_0x2977e1(_0x271267,_0x3aec95['writer']);},{'priority':'high'});});const _0x438e08=(_0x93adcb,_0x57aa5d,_0x2b745e,_0x2ac8de,_0x25f607)=>{if(_0x2ac8de&&!_0x2b745e['options']['showSuggestionHighlights'])return;if(!_0x57aa5d['item'])return;const {id:_0x502725,authorId:_0x2a5ec2,subType:_0x378472}=v(_0x57aa5d['markerName']);if(_0x25f607){const _0x3f51a9=_0x378472['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3f51a9))return;}if(_0x57aa5d['item']['is']('selection'))return void _0x2b745e['consumable']['consume'](_0x57aa5d['item'],_0x93adcb['name']);const _0x4b5836=_0x2b745e['mapper']['toViewElement'](_0x57aa5d['item']);if(_0x57aa5d['item']['is']('element')&&_0x5b9e20['model']['schema']['isBlock'](_0x57aa5d['item'])&&!_0x4b5836['getCustomProperty']('addHighlight')){_0x2b745e['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x4b5836),_0x2b745e['writer']['setAttribute']('data-suggestion',_0x502725,_0x4b5836),_0x2b745e['writer']['setAttribute']('data-author-id',_0x2a5ec2,_0x4b5836),_0x2b745e['mapper']['bindElementToMarker'](_0x4b5836,_0x57aa5d['markerName']),_0x2ac8de||(this['_activeMarkers']['includes'](_0x57aa5d['markerName'])?_0x2b745e['writer']['addClass']('ck-suggestion-marker--active',_0x4b5836):_0x2b745e['writer']['removeClass']('ck-suggestion-marker--active',_0x4b5836));for(const _0x5563dc of _0x5b9e20['model']['createRangeIn'](_0x57aa5d['item'])['getItems']())_0x2b745e['consumable']['consume'](_0x5563dc,_0x93adcb['name']);_0x2b745e['consumable']['consume'](_0x57aa5d['item'],_0x93adcb['name']);}},_0x1a1a4a=(_0x3912fa,_0x2def24,_0x506ed1,_0xcdeb76)=>{const _0x5f8d60=_0x506ed1['mapper']['markerNameToElements'](_0x2def24['markerName']);if(_0x5f8d60){if(_0xcdeb76){const {subType:_0x31e7a4}=v(_0x2def24['markerName']),_0x3af72c=_0x31e7a4['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3af72c))return;}for(const _0x2b67d1 of _0x5f8d60)_0x2b67d1['getCustomProperty']('addHighlight')||(_0x506ed1['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2b67d1),_0x506ed1['writer']['removeAttribute']('data-suggestion',_0x2b67d1),_0x506ed1['writer']['removeAttribute']('data-author-id',_0x2b67d1),_0x506ed1['mapper']['unbindElementFromMarkerName'](_0x2b67d1,_0x2def24['markerName']));}};_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x436748=>{_0x436748['on']('addMarker:suggestion:formatBlock',(_0x52f181,_0x4fc764,_0x3faf10)=>{_0x438e08(_0x52f181,_0x4fc764,_0x3faf10,!0x1,!0x1);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x1e205b=>{_0x1e205b['on']('addMarker:suggestion:attribute',(_0x2e8c87,_0x2b6469,_0x12625c)=>{_0x438e08(_0x2e8c87,_0x2b6469,_0x12625c,!0x1,!0x0);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0x1d4c39=>{_0x1d4c39['on']('removeMarker:suggestion:formatBlock',(_0x57dc6c,_0x282265,_0x5be8f0)=>{_0x1a1a4a(0x0,_0x282265,_0x5be8f0,!0x1);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('editingDowncast')['add'](_0xe4424a=>{_0xe4424a['on']('removeMarker:suggestion:attribute',(_0x2e0d62,_0x59b6f0,_0x440187)=>{_0x1a1a4a(0x0,_0x59b6f0,_0x440187,!0x0);},{'priority':'high'});}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x3e72e2=>{_0x3e72e2['on']('addMarker:suggestion:formatBlock',(_0x1b113b,_0x42cd7f,_0x3abdde)=>{_0x438e08(_0x1b113b,_0x42cd7f,_0x3abdde,!0x0,!0x1);},{'priority':'highest'});}),_0x5b9e20['conversion']['for']('dataDowncast')['add'](_0x623092=>{_0x623092['on']('addMarker:suggestion:attribute',(_0x28cc12,_0x3cf5c6,_0x49bef8)=>{_0x438e08(_0x28cc12,_0x3cf5c6,_0x49bef8,!0x0,!0x0);},{'priority':'highest'});}),_0x5b9e20['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2468bd,_0x31dbb6)=>{if(_0x31dbb6['options']['showSuggestionHighlights']){const {id:_0x521314,authorId:_0x28f519}=v(_0x2468bd);return _0x2468bd['includes'](':split')||_0x2468bd['includes'](':merge')?{'group':'suggestion','name':_0x2468bd['substr'](0xb),'attributes':{'data-suggestion':_0x521314,'data-author-id':_0x28f519}}:null;}return{'group':'suggestion','name':_0x2468bd['substr'](0xb)};}});const _0x57e584=(_0x40969d,_0x416c14,_0x16b074,_0x17e793,_0x35cd6a)=>{if(_0x17e793&&!_0x16b074['options']['showSuggestionHighlights'])return;if(!_0x16b074['consumable']['test'](_0x416c14['markerRange'],_0x40969d['name']))return;const _0x364d83=this['_activeMarkers'],_0x5fda9a=_0x416c14['markerRange']['getWalker'](),_0x3a5b23=_0x416c14['markerRange']['start'],_0x1a40b2=_0x5b9e20['model']['schema'];let _0x2e286e=null,_0x3f65ce=null,_0x1302a8=!0x1,_0x1008aa=!0x1;for(const _0x3e9f83 of _0x5fda9a){const _0x4dd8d3=_0x3e9f83['item'];_0x1302a8=_0x1302a8||_0x1a40b2['isContent'](_0x4dd8d3);const _0x1a9131=_0x16b074['mapper']['toViewElement'](_0x4dd8d3);if(_0x1a9131&&_0x1a9131['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3e9f83['type']&&(_0x1a40b2['isBlock'](_0x4dd8d3)&&!_0x1a40b2['isLimit'](_0x4dd8d3)&&(_0x4dd8d3['nextSibling']||_0x3a5b23['isAtEnd']?_0x2e286e&&_0x2e286e['parent']==_0x4dd8d3||(_0x2e286e=_0x4dd8d3,_0x3397c4(_0x3e9f83['previousPosition']),_0x1008aa=!0x0):_0x3f65ce=_0x3f65ce||_0x3e9f83['previousPosition']));}function _0x3397c4(_0xa6c67c){const {id:_0x208bb3,authorId:_0x35866f}=v(_0x416c14['markerName']),_0x1caae5=_0x16b074['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x35cd6a,'data-suggestion':_0x208bb3,'data-author-id':_0x35866f}),_0x2207f0=_0x16b074['mapper']['toViewPosition'](_0xa6c67c);!_0x17e793&&_0x364d83['includes'](_0x416c14['markerName'])&&_0x16b074['writer']['addClass']('ck-suggestion-marker--active',_0x1caae5),_0x16b074['writer']['insert'](_0x2207f0,_0x1caae5),_0x16b074['mapper']['bindElementToMarker'](_0x1caae5,_0x416c14['markerName']);}_0x1302a8||_0x1008aa||!_0x3f65ce||_0x3397c4(_0x3f65ce);};_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4fbb4b,_0x23ae0b,_0x4acd1d)=>{_0x57e584(_0x4fbb4b,_0x23ae0b,_0x4acd1d,!0x1,'merge');},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x27620c,_0x3f7337,_0x30b25b)=>{_0x57e584(_0x27620c,_0x3f7337,_0x30b25b,!0x0,'merge');},{'priority':'high'}),_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x467554,_0x4e2c24,_0x2f285e)=>{_0x57e584(_0x467554,_0x4e2c24,_0x2f285e,!0x1,'split');},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12e5a7,_0xc345b0,_0x5b200f)=>{_0x57e584(_0x12e5a7,_0xc345b0,_0x5b200f,!0x0,'split');},{'priority':'high'}),_0x5b9e20['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x590c6b,_0x348577,_0x2c3ee0)=>{((_0x3f74e8,_0x242c54,_0x44596)=>{const _0x4dc4a7=_0x44596['mapper']['markerNameToElements'](_0x242c54['markerName']);if(_0x4dc4a7){for(const _0x437491 of _0x4dc4a7)(_0x437491['hasClass']('ck-suggestion-marker-split')||_0x437491['hasClass']('ck-suggestion-marker-merge'))&&(_0x44596['mapper']['unbindElementFromMarkerName'](_0x437491,_0x242c54['markerName']),_0x44596['writer']['remove'](_0x437491));}})(0x0,_0x348577,_0x2c3ee0);},{'priority':'high'});const _0x2131cc=(_0x4bc538,_0x5eb0e1,_0x4c81b8,_0x14850f)=>{if(_0x14850f&&!_0x4c81b8['options']['showSuggestionHighlights'])return;const _0x4a2929=_0x5eb0e1['markerRange']['start'],_0x3c443f=_0x5eb0e1['markerRange']['end'],_0x4531a0=_0x5b9e20['model']['schema'];if(!_0x4a2929['isTouching'](_0x3c443f)||!_0x4a2929['nodeAfter'])return;const _0x5501de=_0x4a2929['nodeAfter'];if(_0x4531a0['isBlock'](_0x5501de)&&!_0x4531a0['isLimit'](_0x5501de)&&_0x4531a0['checkChild'](_0x5501de,'$text')){if(!_0x4c81b8['consumable']['consume'](_0x5eb0e1['markerRange'],_0x4bc538['name']))return;const {id:_0x1754d2,authorId:_0x449a37}=v(_0x5eb0e1['markerName']),_0x5048b1=_0x4c81b8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x1754d2,'data-author-id':_0x449a37}),_0x4fe82e=_0x4c81b8['mapper']['toViewPosition'](_0x3c443f);!_0x14850f&&this['_activeMarkers']['includes'](_0x5eb0e1['markerName'])&&_0x4c81b8['writer']['addClass']('ck-suggestion-marker--active',_0x5048b1),_0x4c81b8['writer']['insert'](_0x4fe82e,_0x5048b1),_0x4c81b8['mapper']['bindElementToMarker'](_0x5048b1,_0x5eb0e1['markerName']);}};_0x5b9e20['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x433db6,_0xf4db29,_0x7523cc)=>{_0x2131cc(_0x433db6,_0xf4db29,_0x7523cc,!0x1);},{'priority':'high'}),_0x5b9e20['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4c869d,_0x44bb9e,_0x4b2c73)=>{_0x2131cc(_0x4c869d,_0x44bb9e,_0x4b2c73,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x1698c7,_0x47a0d9,_0x2e03c5)=>{this['_activeMarkers']=_0x2e03c5['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x216b5f){this['_blockAttributeKeys']['add'](_0x216b5f);}['registerInlineAttribute'](_0x4b2c04){this['_inlineAttributeKeys']['add'](_0x4b2c04);}['isBlockAttribute'](_0x42fc8f){return this['_blockAttributeKeys']['has'](_0x42fc8f);}['isInlineAttribute'](_0x323ec0){return this['_inlineAttributeKeys']['has'](_0x323ec0);}['isRegisteredAttribute'](_0x58b7dd){return this['isInlineAttribute'](_0x58b7dd)||this['isBlockAttribute'](_0x58b7dd);}['_getClassName'](_0x1b311f,_0x1f5dff){if('attribute'!=_0x1b311f)return'ck-suggestion-marker-'+_0x1b311f;const _0x348390=_0x1f5dff['split']('|')[0x0];return this['isBlockAttribute'](_0x348390)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x1fe442={},_0x28031d){if(void 0x0!==_0x1fe442['dateTimeFormat']&&'function'!=typeof _0x1fe442['dateTimeFormat'])throw new _0x3a4944('invalid-date-time-format');return _0x23c7cc=>{const _0x1c3986='string'==typeof _0x23c7cc?tt['fromISO'](_0x23c7cc):tt['fromJSDate'](_0x23c7cc),_0x1c73a7=tt['now'](),_0x158424=Math['floor'](_0x1c73a7['diff'](_0x1c3986,'days')['days']);return _0x1fe442['dateTimeFormat']?_0x1fe442['dateTimeFormat'](_0x1c3986['toJSDate'](),_0x28031d&&_0x28031d['t']?_0x28031d['t']:void 0x0):0x0===_0x158424?_0x28031d?U(_0x28031d,'Today')+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x158424?_0x28031d?U(_0x28031d,'Yesterday')+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x158424<0x7?_0x28031d?U(_0x28031d,'Last')+'\x20'+U(_0x28031d,_0x1c3986['toFormat']('EEEE'))+'\x20'+_0x1c3986['toFormat']('hh:mma'):_0x1c3986['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x1c3986['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x14525f,_0x3c5755){const _0x4f587d=_0x14525f['mapper']['markerNameToElements'](_0x3c5755['name']);if(!_0x4f587d)return null;const _0x30f6d8=_0x534f32(_0x4f587d['values']());return _0x14525f['view']['domConverter']['mapViewToDom'](_0x30f6d8)||null;}function wt(_0x2272cb,_0x40b99b){if(0x0===_0x40b99b['length'])return null;const _0x1bc3b5=[],_0x9ecb70=_0x2272cb['view']['domConverter'];for(const _0x25086b of _0x40b99b){const _0x2a5368=_0x2272cb['mapper']['markerNameToElements'](_0x25086b['name']);if(!_0x2a5368)continue;const _0x15f493=Array['from'](_0x2a5368)['map'](_0x3670c1=>_0x9ecb70['mapViewToDom'](_0x3670c1))['filter'](_0x552ae0=>!!_0x552ae0);_0x1bc3b5['push'](..._0x15f493);}if(0x0===_0x1bc3b5['length'])return null;const _0x1e5571=[];for(const _0x20cc38 of _0x1bc3b5){const _0x562349=_0x20cc38['getClientRects']()['item'](0x0);_0x562349&&_0x1e5571['push']({'x':_0x562349['x'],'y':_0x562349['y'],'domElement':_0x20cc38});}return 0x0===_0x1e5571['length']?null:(_0x1e5571['sort']((_0x18101a,_0x3e7307)=>_0x18101a['y']-_0x3e7307['y']||_0x18101a['x']-_0x3e7307['x']),_0x1e5571['map'](_0x340f1a=>_0x340f1a['domElement']));}function bt(_0x33d1f5,{limit:_0x396a31,suffix:_0x291e09='...'}){const _0x5e9486=[];let _0x10287f=0x0;const _0x39d2de=_0x33d1f5['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x30a214=0x0;_0x30a214<_0x39d2de['length'];_0x30a214++){let _0x11ead3=_0x39d2de[_0x30a214];const _0x5405de=tn(_0x11ead3);if(_0x11ead3['startsWith']('<')){if(_0x10287f>=_0x396a31){const _0x14e25f=_0x11ead3['match'](/[a-zA-Z]+/);if(!_0x14e25f){_0x39d2de[_0x30a214]='';continue;}const _0xfaa7d6=_0x14e25f[0x0];_0x11ead3['startsWith']('</')?(_0x5e9486['length']&&(_0x11ead3=''),_0x5e9486['pop']()):(_0x5e9486['push'](_0xfaa7d6),_0x11ead3='');}}else{if(_0x10287f>=_0x396a31)_0x11ead3='';else{if(_0x10287f+_0x5405de['length']>=_0x396a31){let _0x2caece=_0x396a31-_0x10287f;if('\x20'===_0x5405de[_0x2caece-0x1])_0x2caece--;else{const _0x408d13=_0x5405de['slice'](_0x2caece)['indexOf']('\x20');-0x1!==_0x408d13?_0x2caece+=_0x408d13:_0x2caece=_0x11ead3['length'];}_0x11ead3=_0x5405de['slice'](0x0,_0x2caece)['join']('')+_0x291e09,_0x10287f=_0x396a31;}else _0x10287f+=_0x5405de['length'];}}_0x39d2de[_0x30a214]=_0x11ead3;}return _0x39d2de['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x42d21d){const _0x23aed0=[];for(let _0x42cd08=0x0;_0x42cd08<_0x42d21d['length'];_0x42cd08++){const _0x3fb3a0=_0x42d21d['substring'](_0x42cd08)['match'](/^&[a-z0-9#]+;/);if(_0x3fb3a0){const _0x3587c8=_0x3fb3a0[0x0];_0x23aed0['push'](_0x3587c8),_0x42cd08+=_0x3587c8['length']-0x1;}else _0x23aed0['push'](_0x42d21d[_0x42cd08]);}return _0x23aed0;}class X extends _0xe7353f{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x4cfbb7){super(_0x4cfbb7);const _0x93c8a0=this['bindTemplate'];this['set']('message',U(_0x4cfbb7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x4cfbb7,U(_0x4cfbb7,'Yes'),_0xa42e04,'submit'),this['cancelView']=this['_createButtonView'](_0x4cfbb7,U(_0x4cfbb7,'No'),_0x540837,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x105693(),this['keystrokes']=new _0x523adf(),this['focusCycler']=new _0x362368({'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':_0x93c8a0['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'](_0x229fc0,_0x1b6809,_0x116a2b,_0xace43e){const _0xdce833=new ts(_0x229fc0);return _0xdce833['label']=_0x1b6809,_0xdce833['icon']=_0x116a2b,_0xdce833['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xace43e}}),_0xdce833['on']('execute',()=>this['fire'](_0xace43e)),_0xdce833;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x25a9fd=>{this['keystrokes']['listenTo'](_0x25a9fd['element']),this['focusTracker']['add'](_0x25a9fd['element']);}),this['keystrokes']['set']('esc',(_0x2071bc,_0x32f7ed)=>{this['fire']('cancel'),_0x32f7ed();});}}function vt(_0x25920a){return class extends _0x25920a{['showConfirm'](_0x10bc09,_0x28571d){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x10bc09,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x28571d['appendChild'](this['confirmView']['element']),_0x28571d['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xc90770,_0x272fba,_0x30a43a)=>{_0x30a43a||_0x28571d['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1a17a5=>this['confirmView']['on']('submit',_0x1a17a5));}['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(_0x45ec01){let _0x1b9c41=0x0,_0x46b440=0x0;for(const _0x5a64cd of ne(_0x45ec01))_0x1b9c41=(_0x1b9c41<<0x5)-_0x1b9c41+_0x5a64cd,_0x1b9c41&=_0x1b9c41,[_0x1b9c41,_0x46b440]=[_0x46b440,_0x1b9c41];return ie(_0x1b9c41)+ie(_0x46b440);}function*ee(_0x79b4fa){null==_0x79b4fa||null==_0x79b4fa?yield 0x12b9b0a1:0x0===_0x79b4fa||!0x1===_0x79b4fa?yield 0x0:0x1===_0x79b4fa||0x1==_0x79b4fa?yield 0x1:Array['isArray'](_0x79b4fa)?yield*function*(_0x571808){for(const _0x27e868 of _0x571808)yield*ee(_0x27e868);}(_0x79b4fa):'object'==typeof _0x79b4fa?yield*ne(_0x79b4fa):'string'==typeof _0x79b4fa?yield*oe(_0x79b4fa):'number'==typeof _0x79b4fa&&(yield _0x79b4fa);}function*ne(_0x518346){if(yield te('{'),_0x518346){const _0x1884fd=Object['keys'](_0x518346)['sort']();for(const _0x179557 of _0x1884fd){yield*oe(_0x179557),yield te(':');const _0x44f104=_0x518346[_0x179557];yield*ee(_0x44f104);}}yield te('}');}function*oe(_0x24df9f){yield te('\x22');for(const _0x432ba9 of _0x24df9f)yield te(_0x432ba9);yield te('\x22');}function te(_0x28dc6d){return _0x28dc6d['charCodeAt'](0x0);}function ie(_0x59cd78){return(_0x59cd78*=Math['sign'](_0x59cd78))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x5a4169,_0x3be377,_0x4625c1,_0x515f14=[]){const _0x3e0c09='string'==typeof _0x5a4169?_0x4625c1['get'](_0x5a4169)['constructor']:_0x5a4169['prototype']['constructor'];if(_0x3be377['has'](_0x3e0c09))return _0x3be377['get'](_0x3e0c09);_0x3be377['set'](_0x3e0c09,!0x0);const _0x58c33c=[...et,..._0x515f14]['map'](_0x162b6a=>{if(_0x4625c1['has'](_0x162b6a))return _0x4625c1['get'](_0x162b6a)['constructor'];})['filter'](_0x76c780=>_0x76c780);if(_0x3e0c09&&_0x58c33c['includes'](_0x3e0c09))return _0x3be377['set'](_0x3e0c09,!0x1),!0x1;if(!_0x3e0c09['requires'])return _0x3be377['set'](_0x3e0c09,!0x0),!0x0;const _0x22b2b4=_0x3e0c09['requires']['every'](_0x23389e=>ot(_0x23389e,_0x3be377,_0x4625c1,_0x515f14));return _0x3be377['set'](_0x3e0c09,_0x22b2b4),_0x22b2b4;}function Ct(_0x189fbf,_0x30a31c){const _0x42eff0={};for(const _0x1fa2b6 of _0x189fbf['config']['names']())nt['includes'](_0x1fa2b6)||(_0x42eff0[_0x1fa2b6]=_0x189fbf['config']['get'](_0x1fa2b6));const _0x242168=_0x42eff0['plugins']||[],_0x2fa817=_0x189fbf['constructor']['builtinPlugins']||[],_0x3290f5=_0x242168['length']?_0x242168:_0x2fa817,_0x32dbd4=_0x42eff0['extraPlugins']||[];delete _0x42eff0['extraPlugins'];const _0x5a273b=_0x42eff0['removePlugins']||[];delete _0x42eff0['removePlugins'];const _0x372165=_0x189fbf['_context']['config']['get']('plugins')||[],_0x4ba0a8=_0x3290f5['concat'](_0x32dbd4)['concat'](_0x372165)['map'](_0x26aea1=>'string'==typeof _0x26aea1?_0x2fa817['find'](_0x1c10e3=>_0x1c10e3['pluginName']==_0x26aea1):_0x26aea1)['filter'](_0x291ee8=>!_0x5a273b['includes'](_0x291ee8)&&!_0x5a273b['includes'](_0x291ee8['pluginName'])),_0x206230=Array['from'](new Set(_0x4ba0a8)),_0xf25c27=new Map();return _0x42eff0['plugins']=_0x206230['filter'](_0x4861d8=>ot(_0x4861d8,_0xf25c27,_0x189fbf['plugins'],_0x30a31c)),_0x42eff0;}function xt(_0x86875b,_0x2e3804){const _0x1d25df=[];_0x86875b['document']['selection']['on']('change:range',()=>{const _0x2e5d7b=function(_0x424bb3,_0x1191a7){const _0xd88158=[];for(const _0x1f69f3 of _0x424bb3['markers']){const _0x42f17c=_0x1f69f3['getRange']();(_0x42f17c['containsPosition'](_0x1191a7)||_0x42f17c['start']['isEqual'](_0x1191a7)||_0x42f17c['end']['isEqual'](_0x1191a7))&&_0xd88158['push'](_0x1f69f3);}return _0xd88158;}(_0x86875b,_0x86875b['document']['selection']['focus']),_0x3a3911=[],_0x123eab=[],_0x4f5ac2=[];for(const _0x641081 of _0x1d25df)_0x2e5d7b['includes'](_0x641081)||_0x3a3911['push'](_0x641081);for(const _0x507446 of _0x2e5d7b)_0x1d25df['includes'](_0x507446)||_0x123eab['push'](_0x507446),_0x4f5ac2['push'](_0x507446);(_0x3a3911['length']||_0x123eab['length'])&&_0x2e3804({'left':_0x3a3911,'entered':_0x123eab}),_0x1d25df['length']=0x0,_0x1d25df['push'](..._0x4f5ac2);});}const It='Ctrl+Shift+E';function _t(_0x22ec2a,_0x2d4e7d){const _0x20524c=_0x22ec2a['element'];_0x22ec2a['keystrokes']['listenTo'](_0x20524c);for(const _0x1f6372 of _0x2d4e7d)ro(_0x22ec2a,_0x1f6372);_0x2d4e7d['on']('change',(_0x3a2e76,_0x45f4f1)=>{for(const _0x95bbbd of _0x45f4f1['removed'])to(_0x22ec2a,_0x95bbbd);for(const _0x1e277c of Array['from'](_0x45f4f1['added'])['reverse']())ro(_0x22ec2a,_0x1e277c);}),_0x22ec2a['keystrokes']['set']('enter',(_0x1ecd10,_0x3d72b0)=>{_0x20524c===_0x1ecd10['target']&&(_0x22ec2a['focusCycler']['focusFirst'](),_0x3d72b0());},{'filter':_0x144a0a=>_0x144a0a['target']===_0x20524c}),_0x22ec2a['keystrokes']['set']('esc',(_0x3aca4f,_0x234753)=>{_0x20524c!==_0x3aca4f['target']?_0x22ec2a['focus']():_0x22ec2a['fire']('escape'),_0x234753();}),_0x22ec2a['keystrokes']['set']('arrowdown',(_0x16e0c9,_0x34f566)=>{_0x20524c===_0x16e0c9['target']&&(_0x22ec2a['fire']('arrowdown'),_0x34f566());}),_0x22ec2a['keystrokes']['set']('arrowup',(_0x4baf47,_0x4c1ddc)=>{_0x20524c===_0x4baf47['target']&&(_0x22ec2a['fire']('arrowup'),_0x4c1ddc());});}function ro(_0x47f552,_0x352763){_0x352763['isRendered']&&(_0x47f552['focusTracker']['add'](_0x352763['element']),_0x47f552['keystrokes']['listenTo'](_0x352763['element']),_0x40fbf3(_0x352763)&&function(_0x4e5e6c,_0x3e904f){const _0x4b5db4=_0x4e5e6c['actions'],_0x144b96=_0x3e904f['actions'];for(const _0x5886dc of Object['keys'](_0x4b5db4))if(_0x5886dc in _0x144b96&&_0x4b5db4[_0x5886dc]!==_0x144b96[_0x5886dc])return!0x1;return!0x0;}(_0x47f552['focusCycler'],_0x352763['focusCycler'])&&_0x47f552['focusCycler']['chain'](_0x352763['focusCycler']));}function to(_0xb93c1c,_0x244d02){_0xb93c1c['focusTracker']['remove'](_0x244d02['element']),_0xb93c1c['keystrokes']['stopListening'](_0x244d02['element']),_0x40fbf3(_0x244d02)&&_0xb93c1c['focusCycler']['unchain'](_0x244d02['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x48658f{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xfd27a3?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5cc78b,_0x232f1d)=>{_0x232f1d['on']('ready',()=>{this['_integrateEditor'](_0x232f1d);});});}get['editor'](){if(this['context']instanceof _0xfd27a3)return this['context'];{const _0x47b8d9=this['context']['editors']['first'];if(!_0x47b8d9)throw new _0x3a4944('documentcompare-no-editor',this);return _0x47b8d9;}}['getDiff'](_0x49f6ba,_0x58fc28,_0x48fc81={'anchor':'main','markDeletions':!0x1}){let _0x190845,_0x4bbd44;const _0x4806a4=this['editor'];if('string'==typeof _0x48fc81['anchor']){const _0x293003=_0x4806a4['model']['document']['getRoot'](_0x48fc81['anchor']);if(!_0x293003)throw new _0x3a4944('documentcompare-compare-no-root',this,{'anchor':_0x48fc81['anchor']});_0x190845=_0x293003,_0x4bbd44=_0x4806a4['model']['createPositionAt'](_0x293003,0x0);}else _0x190845=_0x48fc81['anchor']['clone'](),_0x4bbd44=_0x48fc81['anchor']['clone']();const _0x43fbd5=_0x4806a4['data']['parse'](_0x49f6ba,_0x190845),_0x1a3b53=_0x4806a4['data']['parse'](_0x58fc28,_0x190845);return new Mt(_0x43fbd5,_0x1a3b53,_0x4806a4,{'anchor':_0x4bbd44,'markDeletions':_0x48fc81['markDeletions']});}['isMarkedRemoveOperation'](_0x33ceb4){return'marker'==_0x33ceb4['type']&&_0x33ceb4['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x497a51){_0x497a51['conversion']['for']('upcast')['add'](_0x276329=>{_0x276329['on']('element',(_0x5f5042,_0x180086,_0x4fc20a)=>{if(_0x180086['modelRange'])for(const _0x55b557 of _0x180086['modelRange']['getItems']({'shallow':!0x0})){if(_0x55b557['is']('$textProxy'))continue;const _0x1be4ab=_0x180086['viewItem']['getAttribute'](Et);_0x1be4ab&&_0x4fc20a['writer']['setAttribute'](St,_0x1be4ab,_0x55b557);}},{'priority':'lowest'});}),_0x497a51['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x571c6f,_0x568ee8,_0x324ddb,_0x35a3cb){this['_editor']=_0x324ddb,this['_markDeletions']=!!_0x35a3cb['markDeletions'],this['_anchor']=_0x35a3cb['anchor'];const _0x218980=this['_tokenizeModel'](_0x571c6f),_0x55e74c=this['_tokenizeModel'](_0x568ee8);this['_diffItems']=this['_diffModelTokens'](_0x218980,_0x55e74c),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x571c6f['markers'],_0x568ee8['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x327e0e=this['_editor']['model']['document'],_0x5b4660=[];let _0x210b82=_0x327e0e['version'];for(const _0x5a9257 of this['_operationsData'])switch(_0x5a9257['type']){case'attribute':{const _0x4ebb35=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x156bf5=_0x4ebb35['getShiftedBy'](_0x5a9257['howMany']),_0x36401e=new _0xce3873(_0x4ebb35,_0x156bf5),_0x4aab6b=JSON['parse'](_0x5a9257['oldValue']),_0x32a85=JSON['parse'](_0x5a9257['newValue']);_0x5b4660['push'](new _0xe7a38b(_0x36401e,_0x5a9257['key'],_0x4aab6b,_0x32a85,_0x210b82++));break;}case'insert':{const _0x3452a7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x3738bc=this['_makeModelFromTokens'](_0x5a9257['tokens']);_0x5b4660['push'](new _0xd1b70(_0x3452a7,_0x3738bc,_0x210b82++));break;}case'remove':{const _0x2c6046=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x3f3c47=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x9af5fd(_0x2c6046,_0x5a9257['howMany'],_0x3f3c47,_0x210b82++));break;}case'rename':{const _0xf30b13=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']);_0x5b4660['push'](new _0x28010f(_0xf30b13,_0x5a9257['oldName'],_0x5a9257['newName'],_0x210b82++));break;}case'split':{const _0x2386e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']),_0x2dc0e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['path']['slice'](0x0,-0x1));_0x2dc0e4['offset']++,_0x5b4660['push'](new _0x2d8e5b(_0x2386e4,Number['NEGATIVE_INFINITY'],_0x2dc0e4,null,_0x210b82++));break;}case'merge':{const _0x5afafa=_0x5a9257['path']['slice'](),_0x4fd974=_0x5afafa['slice'](0x0,-0x1);_0x4fd974[_0x4fd974['length']-0x1]++,_0x4fd974['push'](0x0);const _0x1c9c02=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4fd974),_0x3b055f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5afafa),_0x4625a6=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x1c5119(_0x1c9c02,Number['NEGATIVE_INFINITY'],_0x3b055f,_0x4625a6,_0x210b82++));break;}case'marker':case'markedRemove':{let _0x2c0279=null;if(_0x5a9257['range']){const _0x5d6d1e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['start']),_0x5f1770=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['end']);_0x2c0279=new _0xce3873(_0x5d6d1e,_0x5f1770);}const _0xf8f477='marker'==_0x5a9257['type']?_0x5a9257['name']:'$markedRemove:'+_0x20b13b();_0x5b4660['push'](new _0x3055f8(_0xf8f477,null,_0x2c0279,_0x327e0e['model']['markers'],!0x0,_0x210b82++));break;}case'unwrap':{const _0x325113=_0x5a9257['path']['slice']();_0x325113['push'](0x0);const _0x1085b5=_0x5a9257['path']['slice'](),_0x8a5ed8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x325113),_0x186a40=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1085b5),_0x28487d=new _0x215bb7(_0x327e0e['graveyard'],[0x0]);_0x5b4660['push'](new _0x9af5fd(_0x8a5ed8,_0x5a9257['howMany'],_0x186a40,_0x210b82++)),_0x5b4660['push'](new _0x9af5fd(_0x186a40['getShiftedBy'](_0x5a9257['howMany']),0x1,_0x28487d,_0x210b82++));break;}case'wrap':{const _0x491e1d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['start']),_0x2b13b7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a9257['range']['end']),_0x124500=_0x5a9257['token']['element']['_clone'](!0x1),_0x515b59=_0x5a9257['range']['end']['slice']();_0x515b59['push'](0x0);const _0x39245e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x515b59);_0x5b4660['push'](new _0xd1b70(_0x2b13b7,_0x124500,_0x210b82++)),_0x5b4660['push'](new _0x9af5fd(_0x491e1d,_0x2b13b7['offset']-_0x491e1d['offset'],_0x39245e,_0x210b82++));break;}}return _0x5b4660;}['_tokenizeModel'](_0x26a275){const _0x413a6f=[],_0x16c76d=_0xce3873['_createIn'](_0x26a275),_0x45387a=new _0x4c48a({'boundaries':_0x16c76d});let _0x11d652='',_0x404ab4=null;const _0x3b6fb2=[''],_0x2e4b16=new Map();for(const _0xbab17e of _0x45387a)if('elementStart'==_0xbab17e['type']||'elementEnd'==_0xbab17e['type']){let _0x26384a=_0x3b6fb2[0x0];''!==_0x11d652&&(_0x413a6f['push'](...this['_makeTokensFromTextByWords'](_0x11d652,_0x404ab4,_0x26384a)),_0x11d652='');const _0x58834e=_0xbab17e['item'];let _0x33a683;_0x58834e['getAttribute'](St)?_0x33a683=_0x58834e['getAttribute'](St):'elementStart'==_0xbab17e['type']?(_0x33a683=_(_0x58834e),_0x2e4b16['set'](_0x58834e,_0x33a683)):_0x33a683=_0x2e4b16['get'](_0x58834e);const _0x3dc19f=this['_getElementCategory'](_0x58834e);'solid'==_0x3dc19f&&('elementStart'==_0xbab17e['type']?(_0x26384a=_0x33a683,_0x3b6fb2['unshift'](_0x26384a)):_0x3b6fb2['shift']());const _0x23e4f7={'type':'element','element':_0x58834e,'elementId':_0x33a683,'category':_0x3dc19f,'isStart':'elementStart'==_0xbab17e['type'],'limitId':_0x26384a};_0x413a6f['push'](_0x23e4f7);}else''==_0x11d652&&(_0x404ab4=_0xbab17e['previousPosition']['clone']()),_0x11d652+=_0xbab17e['item']['data'];return''!==_0x11d652&&_0x413a6f['push'](...this['_makeTokensFromTextByWords'](_0x11d652,_0x404ab4,_0x3b6fb2[0x0])),_0x413a6f;}['_makeTokensFromTextByWords'](_0x3a0d7e,_0x1897a5,_0x3b59a6){const _0x20c591=_0x3a0d7e['matchAll'](/(\s)/g),_0x3dc0d1=Array['from'](_0x20c591)['map'](_0x135c45=>_0x135c45['index']);_0x3dc0d1['push'](_0x3a0d7e['length']),0x0==_0x3dc0d1[0x0]&&_0x3dc0d1['shift']();const _0x1accee=[],_0x3a6ec6=_0x1897a5['parent'];let _0x4cd2e4=0x0,_0xe92e4=_0x1897a5['offset'];for(let _0x154a0e=0x0;_0x154a0e<_0x3dc0d1['length'];_0x154a0e++)_0x1accee['push']({'type':'text','data':_0x3a0d7e['slice'](_0x4cd2e4,_0x3dc0d1[_0x154a0e]),'parent':_0x3a6ec6,'offset':_0xe92e4,'limitId':_0x3b59a6}),_0x4cd2e4=_0x3dc0d1[_0x154a0e],_0xe92e4=_0x1897a5['offset']+_0x3dc0d1[_0x154a0e];return _0x1accee;}['_getElementCategory'](_0x54b653){const _0xad73a5=this['_editor']['model']['schema'];return _0xad73a5['isLimit'](_0x54b653)||_0xad73a5['isContent'](_0x54b653)||_0xad73a5['isInline'](_0x54b653)?'solid':_0xad73a5['isBlock'](_0x54b653)?'block':'container';}['_diffModelTokens'](_0x30b90b,_0x1ad3e2){const _0x4a375a=_0x4905fb(_0x30b90b,_0x1ad3e2,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x4a375a);const _0xe8ad59=_0x4a375a['flatMap'](_0x5d0447=>{const _0x13039c=_0x5d0447['added']?'added':_0x5d0447['removed']?'removed':'unchanged';return _0x5d0447['value']['map'](_0x536c4b=>({'token':_0x536c4b,'change':_0x13039c}));});let _0x406192=0x0;for(const _0x20fa39 of _0xe8ad59)'added'!=_0x20fa39['change']&&('unchanged'==_0x20fa39['change']&&(_0x20fa39['before']=_0x30b90b[_0x406192]),_0x406192++);return _0xe8ad59;}['_handleUnclosedBlockOpeningTags'](_0x255a58){for(let _0x150ef0=0x0;_0x150ef0<_0x255a58['length']-0x1;_0x150ef0++)if(_0x255a58[_0x150ef0]['removed']&&_0x255a58[_0x150ef0+0x1]['added']){const _0x447c4a=this['_findUnclosedBlockOpeningToken'](_0x255a58[_0x150ef0]['value']);if(null!==_0x447c4a){const _0x1995b9=this['_findUnclosedBlockOpeningToken'](_0x255a58[_0x150ef0+0x1]['value']),_0x1908ed=_0x255a58[_0x150ef0]['value']['splice'](_0x447c4a),_0x2015fe=_0x255a58[_0x150ef0+0x1]['value']['splice'](_0x1995b9),_0x3dc3fb=[_0x2015fe['shift']()];_0x1908ed['shift']();const _0x31f92f={'value':_0x1908ed,'removed':!0x0},_0x5f1463={'value':_0x2015fe,'added':!0x0},_0x582980={'value':_0x3dc3fb};_0x255a58['splice'](_0x150ef0+0x2,0x0,_0x582980,_0x31f92f,_0x5f1463);}}}['_findUnclosedBlockOpeningToken'](_0x5a2d22){let _0x132bc3=0x0,_0x36bc45=-0x1;for(let _0x541f42=0x0;_0x541f42<_0x5a2d22['length'];_0x541f42++){const _0x1467dd=_0x5a2d22[_0x541f42];'element'==_0x1467dd['type']&&'block'==_0x1467dd['category']&&(_0x132bc3+=_0x1467dd['isStart']?0x1:-0x1,_0x1467dd['isStart']&&(_0x36bc45=_0x541f42));}return 0x0===_0x132bc3?null:_0x36bc45;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x162401=0x0;_0x162401<this['_diffItems']['length'];_0x162401++){const _0x3906c8=this['_diffItems'][_0x162401]['change'],_0x32fc59=[];_0x32fc59['push'](this['_diffItems'][_0x162401]);let _0x11a855=_0x162401+0x1;for(;this['_diffItems'][_0x11a855]&&this['_diffItems'][_0x11a855]['change']==_0x3906c8;)_0x32fc59['push'](this['_diffItems'][_0x11a855]),_0x11a855++,_0x162401++;const _0x2e57b8=_0x32fc59['map'](_0x4ab3f8=>_0x4ab3f8['token']);if('unchanged'==_0x3906c8)_0x32fc59['map'](_0x31b2aa=>_0x31b2aa['before'])['forEach'](_0x35fc8a=>this['_traverseOverItem'](_0x35fc8a));else{if('removed'==_0x3906c8){if(this['_markDeletions']){const _0x37cf45=this['_path']['slice']();_0x2e57b8['forEach'](_0xdf760b=>this['_traverseOverItem'](_0xdf760b));const _0xcd4d1=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x37cf45,'end':_0xcd4d1}});}else this['_handleChanged'](_0x2e57b8,!0x0,this['_path']['slice']());}else{const _0x26b414=_0x2e57b8['filter'](_0x516a42=>'element'!=_0x516a42['type']||'container'!=_0x516a42['category']);this['_handleChanged'](_0x26b414,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x48e92c=0x0;_0x48e92c<this['_diffItems']['length'];_0x48e92c++){const _0x440d5a=this['_diffItems'][_0x48e92c]['change'],_0x45c530=[];_0x45c530['push'](this['_diffItems'][_0x48e92c]);let _0x17bf49=_0x48e92c+0x1;for(;this['_diffItems'][_0x17bf49]&&this['_diffItems'][_0x17bf49]['change']==_0x440d5a;)_0x45c530['push'](this['_diffItems'][_0x17bf49]),_0x17bf49++,_0x48e92c++;const _0x353d6d=_0x45c530['map'](_0x156fe4=>_0x156fe4['token']);if('unchanged'==_0x440d5a){const _0xb1cc39=_0x45c530['map'](_0x42ef07=>_0x42ef07['before']);this['_handleUnchanged'](_0xb1cc39,_0x353d6d);}else('removed'!=_0x440d5a||this['_markDeletions'])&&_0x353d6d['forEach'](_0x9999d4=>{this['_traverseOverItem'](_0x9999d4);});}}['_calculateMarkersOperationsData'](_0x543046,_0x5348d7){const _0x30aaf7={};for(const [_0x2af796]of _0x543046)_0x30aaf7[_0x2af796]=null;for(const [_0xdaa85,_0x4bd709]of _0x5348d7)_0x30aaf7[_0xdaa85]=_0x4bd709;const _0xa2c434=Object['entries'](_0x30aaf7)['map'](([_0x3eb491,_0x4d27b9])=>({'type':'marker','name':_0x3eb491,'range':_0x4d27b9?{'start':_0x4d27b9['start']['path']['slice'](),'end':_0x4d27b9['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0xa2c434);}['_handleUnwraps'](){const _0x413078=new Map(),_0x3fc203=[],_0x358a84=[0x0];let _0x34aff9=this['_diffItems']['length']+0x1;for(let _0x4427da=this['_diffItems']['length']-0x1;_0x4427da>=0x0;_0x4427da--){const {token:_0xa8ef92,before:_0x1d1dd8,change:_0x52f7b7}=this['_diffItems'][_0x4427da];if('removed'!=_0x52f7b7&&(_0x34aff9=_0x4427da),'element'!=_0xa8ef92['type']||'container'!=_0xa8ef92['category']||'added'==_0x52f7b7)continue;const _0x43a62c=_0x1d1dd8?_0x1d1dd8['element']:_0xa8ef92['element'];if(_0xa8ef92['isStart']){const _0x496d61=_0x413078['get'](_0x43a62c),_0x1c0038=this['_diffItems'][_0x496d61];('removed'==_0x52f7b7||'removed'==_0x1c0038['change'])&&_0x34aff9<_0x496d61&&(this['_operationsData']['push']({'type':'unwrap','path':_0x43a62c['getPath'](),'howMany':_0x43a62c['maxOffset']+_0x358a84[0x0]}),_0x358a84['shift'](),_0x358a84[0x0]+=_0x43a62c['maxOffset']-0x1,_0x3fc203['push'](_0x4427da),_0x3fc203['push'](_0x496d61));}else _0x413078['set'](_0x43a62c,_0x4427da),_0x358a84['unshift'](0x0);}_0x3fc203['sort']((_0x8e66b5,_0x120a1b)=>_0x120a1b-_0x8e66b5),_0x3fc203['forEach'](_0x2b7ec2=>{const _0x383f30=this['_diffItems'][_0x2b7ec2];'removed'==_0x383f30['change']?this['_diffItems']['splice'](_0x2b7ec2,0x1):(_0x383f30['change']='added',delete _0x383f30['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x1df48a=[];for(let _0x2c4ef3=0x0;_0x2c4ef3<this['_diffItems']['length'];_0x2c4ef3++){const {change:_0x40398c,token:_0x347763}=this['_diffItems'][_0x2c4ef3];if('added'==_0x40398c&&'element'==_0x347763['type']&&'container'==_0x347763['category']){if(_0x347763['isStart'])_0x1df48a['push'](this['_path']['slice']());else{if(!_0x347763['isStart']){const _0x16cdf0=_0x1df48a['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x16cdf0,'end':this['_path']['slice']()},'token':_0x347763}),this['_path'][this['_path']['length']-0x1]=_0x16cdf0[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x40398c||this['_markDeletions'])&&this['_traverseOverItem'](_0x347763);}}['_handleUnchanged'](_0x560f4e,_0x3c14fb){for(let _0x4884f8=0x0;_0x4884f8<_0x560f4e['length'];_0x4884f8++){const _0x240e93=_0x560f4e[_0x4884f8];if('element'==_0x240e93['type']&&_0x240e93['isStart']){const _0x419700=_0x3c14fb[_0x4884f8];'block'==_0x240e93['category']&&this['_handleElementRename'](_0x240e93['element'],_0x419700['element'],this['_path']),this['_handleElementAttributeChanges'](_0x240e93['element'],_0x419700['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x419700);}else{if('element'!=_0x240e93['type']||_0x240e93['isStart']){if('text'==_0x240e93['type']){const _0x33e880=this['_path']['slice'](),_0x8fae0d=[],_0x31085c=[];for(;_0x560f4e[_0x4884f8]&&'text'==_0x560f4e[_0x4884f8]['type'];)_0x8fae0d['push'](_0x560f4e[_0x4884f8]),_0x31085c['push'](_0x3c14fb[_0x4884f8]),this['_path'][this['_path']['length']-0x1]+=_0x560f4e[_0x4884f8]['data']['length'],_0x4884f8++;_0x4884f8--,this['_handleTextAttributeChanges'](_0x8fae0d,_0x31085c,_0x33e880);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0xb5bfc0,_0x1d78bb,_0x9725df){const _0x5a7893=[],_0xc44eda=[],_0x43da8e=_0x9725df['slice']();for(let _0x29f3e3=0x0;_0x29f3e3<_0xb5bfc0['length'];_0x29f3e3++){const _0x46e54d=_0xb5bfc0[_0x29f3e3],_0x214433=_0x9725df['slice']();if('element'!=_0x46e54d['type']||_0x46e54d['isStart'])'element'==_0x46e54d['type']&&_0x46e54d['isStart']?(_0x9725df['push'](0x0),_0x1d78bb||this['_parents']['push'](_0x46e54d),_0xc44eda['push']({'before':_0x214433,'after':_0x9725df['slice'](),'index':_0x29f3e3})):_0x9725df[_0x9725df['length']-0x1]+=_0x46e54d['data']['length'];else{let _0x2155ca;_0x9725df['pop'](),_0x9725df[_0x9725df['length']-0x1]++,_0x2155ca=_0x1d78bb?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0xc44eda['length']?_0xc44eda['pop']():_0x5a7893['push']({'before':_0x214433,'after':_0x9725df['slice'](),'index':_0x29f3e3,'related':_0x2155ca});}}if(_0xc44eda['length']!==_0x5a7893['length'])throw new _0x3a4944('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0xb5bfc0,'isRemove':_0x1d78bb});const _0x393079=[{'after':_0x43da8e['slice'](),'index':-0x1},..._0x5a7893,..._0xc44eda,{'before':_0x9725df['slice'](),'index':_0xb5bfc0['length']}];if(_0x1d78bb){for(let _0x1fa147=_0x393079['length']-0x1;_0x1fa147>=0x1;_0x1fa147--){const _0x145548=_0x393079[_0x1fa147-0x1]['after'],_0x30a273=_0x393079[_0x1fa147]['before'],_0x16c11f=_0x30a273[_0x30a273['length']-0x1]-_0x145548[_0x145548['length']-0x1];_0x16c11f&&(this['_operationsData']['push']({'type':'remove','path':_0x145548,'howMany':_0x16c11f}),_0x30a273[_0x30a273['length']-0x1]-=_0x16c11f);}for(const {before:_0x1267be}of _0x5a7893)this['_operationsData']['push']({'type':'merge','path':_0x1267be});}else for(let _0x131504=0x0;_0x131504<_0x393079['length']-0x1;_0x131504++){const _0x1db06d=_0x393079[_0x131504]['after'],_0x24474d=_0x393079[_0x131504+0x1]['before'],_0x53040d=_0x393079[_0x131504]['index']+0x1,_0x5ce32d=_0x393079[_0x131504+0x1]['index'];if(_0x53040d!==_0x5ce32d&&this['_operationsData']['push']({'type':'insert','path':_0x1db06d,'tokens':_0xb5bfc0['slice'](_0x53040d,_0x5ce32d)}),_0x131504<_0x5a7893['length']){this['_operationsData']['push']({'type':'split','path':_0x24474d});const _0x2ee561=_0xb5bfc0[_0xc44eda[_0xc44eda['length']-0x1-_0x131504]['index']],_0x371571=_0x5a7893[_0x131504]['after'],_0x3db1ef=_0x5a7893[_0x131504]['related']['element'];this['_handleElementRename'](_0x3db1ef,_0x2ee561['element'],_0x371571),this['_handleElementAttributeChanges'](_0x3db1ef,_0x2ee561['element'],_0x371571);}}}['_traverseOverItem'](_0x1e112e){'element'==_0x1e112e['type']&&_0x1e112e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1e112e)):'element'!=_0x1e112e['type']||_0x1e112e['isStart']?'text'==_0x1e112e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1e112e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x49ea16,_0x91bccf,_0x3abfbe){_0x49ea16['name']!=_0x91bccf['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3abfbe['slice'](),'oldName':_0x49ea16['name'],'newName':_0x91bccf['name']});}['_handleElementAttributeChanges'](_0x3d7098,_0x3779a2,_0x597bb9){const _0x33d152=this['_getAttributeChanges'](_0x3d7098['getAttributes'](),_0x3779a2['getAttributes']());for(const _0xa3624c in _0x33d152){const {oldValue:_0x21f32c,newValue:_0x1ea751}=_0x33d152[_0xa3624c];this['_operationsData']['push']({'type':'attribute','path':_0x597bb9['slice'](),'howMany':0x1,'key':_0xa3624c,'oldValue':_0x21f32c,'newValue':_0x1ea751});}}['_handleTextAttributeChanges'](_0x361bcb,_0x5505ce,_0x32da85){const _0x2e9088=this['_operationsData'],_0x59c557=_0x361bcb[0x0]['parent'],_0x211684=_0x361bcb[0x0]['offset'],_0x319e52=_0x5505ce[0x0]['parent'],_0x1798c5=_0x5505ce[0x0]['offset'],_0x18ec66=_0x361bcb['reduce']((_0xb2a553,_0x5e0eae)=>_0xb2a553+_0x5e0eae['data']['length'],0x0),_0x3d3886=this['_getAttrsForOffsets'](_0x59c557,_0x211684,_0x18ec66),_0x5543cb=this['_getAttrsForOffsets'](_0x319e52,_0x1798c5,_0x18ec66),_0x4795f4={};for(let _0x24760e=0x0;_0x24760e<_0x18ec66;_0x24760e++){const _0x1e7cd6=_0x3d3886[_0x211684+_0x24760e],_0x1dbe9d=_0x5543cb[_0x1798c5+_0x24760e],_0x5b2196=this['_getAttributeChanges'](_0x1e7cd6,_0x1dbe9d);for(const _0x51a7ab in _0x4795f4)_0x5b2196[_0x51a7ab]||_0x459af9(_0x51a7ab);for(const _0x4d5d84 in _0x5b2196){const {oldValue:_0x55d409,newValue:_0x462435}=_0x5b2196[_0x4d5d84],_0x8530a3=_0x4795f4[_0x4d5d84];_0x8530a3?_0x8530a3['oldValue']==_0x55d409&&_0x8530a3['newValue']==_0x462435?_0x8530a3['length']++:(_0x459af9(_0x4d5d84),_0x4795f4[_0x4d5d84]={'oldValue':_0x55d409,'newValue':_0x462435,'start':_0x24760e,'length':0x1}):_0x4795f4[_0x4d5d84]={'oldValue':_0x55d409,'newValue':_0x462435,'start':_0x24760e,'length':0x1};}}for(const _0x540db2 in _0x4795f4)_0x459af9(_0x540db2);function _0x459af9(_0x4b1e7f){const _0xc30931=_0x4795f4[_0x4b1e7f],_0x38b4cd=_0x32da85['slice']();_0x38b4cd[_0x38b4cd['length']-0x1]+=_0xc30931['start'],_0x2e9088['push']({'type':'attribute','path':_0x38b4cd,'howMany':_0xc30931['length'],'key':_0x4b1e7f,'oldValue':_0xc30931['oldValue'],'newValue':_0xc30931['newValue']}),delete _0x4795f4[_0x4b1e7f];}}['_getAttributeChanges'](_0x3532e3,_0x26c7dd){const _0x474109={};for(const [_0x4cf219,_0x1783c6]of _0x3532e3)_0x474109[_0x4cf219]={'oldValue':JSON['stringify'](_0x1783c6),'newValue':'null'};for(const [_0x2ad231,_0x4bcba4]of _0x26c7dd){const _0x206430=JSON['stringify'](_0x4bcba4);_0x474109[_0x2ad231]?_0x474109[_0x2ad231]['oldValue']==_0x206430?delete _0x474109[_0x2ad231]:_0x474109[_0x2ad231]['newValue']=_0x206430:_0x474109[_0x2ad231]={'oldValue':'null','newValue':_0x206430};}return delete _0x474109[St],_0x474109;}['_getAttrsForOffsets'](_0x2cf801,_0x4fbc6f,_0x1e9c45){const _0x3f36e5=new Array(_0x4fbc6f+_0x1e9c45);let _0x17be91=_0x2cf801['getChildAtOffset'](_0x4fbc6f),_0x2c0c0c=_0x17be91['startOffset'];for(;_0x17be91&&_0x2c0c0c<_0x4fbc6f+_0x1e9c45;){const _0x4123ea=Array['from'](_0x17be91['getAttributes']());_0x3f36e5['fill'](_0x4123ea,_0x2c0c0c,_0x2c0c0c+_0x17be91['offsetSize']),_0x2c0c0c+=_0x17be91['offsetSize'],_0x17be91=_0x17be91['nextSibling'];}return _0x3f36e5;}['_getPositionFromAnchorAndPath'](_0x21e7fb,_0x55ee00){const _0x2659bc=[..._0x21e7fb['path']['slice'](0x0,-0x1),_0x21e7fb['offset']+_0x55ee00[0x0],..._0x55ee00['slice'](0x1)];return new _0x215bb7(_0x21e7fb['root'],_0x2659bc);}['_makeModelFromTokens'](_0x58ecca){const _0x390636=[];let _0x3c4efe=null;for(const _0x2305f9 of _0x58ecca)if('element'!=_0x2305f9['type']||_0x2305f9['isStart']||_0x3c4efe!=_0x2305f9['element']){if(!_0x3c4efe){if('text'==_0x2305f9['type']){const _0x31cfe3=_0x215bb7['_createAt'](_0x2305f9['parent'],_0x2305f9['offset']),_0x3af52f=_0xce3873['_createFromPositionAndShift'](_0x31cfe3,_0x2305f9['data']['length']),_0x4f0d73=Array['from'](_0x3af52f['getItems']())['map'](_0x3b3c4f=>new _0x44e0ab(_0x3b3c4f['data'],_0x3b3c4f['getAttributes']()));_0x390636['push'](..._0x4f0d73);}else{_0x3c4efe=_0x2305f9['element'];const _0x3bbf67=_0x2305f9['element']['_clone'](!0x0);_0x3bbf67['_removeAttribute'](St);for(const _0x565a44 of this['_editor']['model']['createRangeIn'](_0x3bbf67)['getItems']())_0x565a44['is']('element')&&_0x565a44['_removeAttribute'](St);_0x390636['push'](_0x3bbf67);}}}else _0x3c4efe=null;return _0x390636;}}function g(_0xd50bf1,_0x807ec1){return _0xd50bf1['type']===_0x807ec1['type']&&(_0xd50bf1['limitId']===_0x807ec1['limitId']&&('text'==_0xd50bf1['type']?_0xd50bf1['data']==_0x807ec1['data']:function(_0x4bcfad,_0x59c075){if(_0x4bcfad['isStart']!=_0x59c075['isStart'])return!0x1;if(_0x4bcfad['isStart']&&_0x4bcfad['elementId']!=_0x59c075['elementId'])return!0x1;if(_0x4bcfad['category']!=_0x59c075['category'])return!0x1;if('block'==_0x4bcfad['category'])return!0x0;if('container'==_0x4bcfad['category']&&_0x4bcfad['elementId']!=_0x59c075['elementId'])return!0x1;return _0x4bcfad['element']['name']==_0x59c075['element']['name'];}(_0xd50bf1,_0x807ec1)));}function _(_0x52c43c){return k({'name':_0x52c43c['name'],...Object['fromEntries'](_0x52c43c['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 _0x3a2c57,Editor as _0x3d807a,Plugin as _0x5f500f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x311461,Collection as _0xf479d0,uid as _0x9a0de,toArray as rt,first as _0x4a9616,FocusTracker as _0x4ba58b,KeystrokeHandler as _0x39f765}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x34d822,IconView as st,ButtonView as ts,DropdownButtonView as _0x4434d6,FocusCycler as _0x48be7c,isViewWithFocusCycler as _0x1dadb7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as it,IconCheck as _0x44d5ba,IconCancel as _0x2dae3e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as at,toWidget as _0x42cd0a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x151ae0,MoveOperation as _0x1188fc,ModelPosition as _0x48c5ad,ModelRange as _0x4c10b6,MarkerOperation as _0x566b7f,MergeOperation as _0x802d8,SplitOperation as _0x544b68,RenameOperation as _0x1f89c9,AttributeOperation as _0x8aaff2,ModelTreeWalker as _0x55e72a,ModelText as _0x3c8891}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x256f2e}from'diff';class C extends _0x3a2c57{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x180c62,_0x29c9e4){let _0x47c4e9;if(_0x29c9e4||(_0x29c9e4=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x29c9e4?_0x47c4e9=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x47c4e9=this['context']['editors']['find'](_0x3d8c1b=>_0x3d8c1b['config']['get']('collaboration.channelId')==_0x29c9e4)),!_0x47c4e9)throw new _0x311461('permissions-set-permissions-invalid-channel-id',null);const _0x463a13=_0x47c4e9['plugins'],_0x66aef=_0x463a13['has']('CommentsRepository')?_0x463a13['get']('CommentsRepository'):void 0x0,_0x463abd=_0x463a13['has']('CommentsOnly')&&_0x463a13['get']('CommentsOnly'),_0x193057=_0x180c62['includes']('document:write'),_0x25be13=_0x180c62['includes']('comment:modify_all'),_0x5b60fc=_0x180c62['includes']('comment:admin'),_0x618053=_0x180c62['includes']('comment:write'),_0x49cbd4=_0x618053||_0x5b60fc,_0x173db3=_0x49cbd4||_0x25be13,_0x4d9ec3=_0x193057||_0x49cbd4;(_0x463abd&&(_0x463abd['isEnabled']=!_0x193057&&_0x173db3),_0x47c4e9 instanceof _0x3d807a)&&(!(_0x193057||_0x173db3&&_0x66aef)?_0x47c4e9['enableReadOnlyMode']('no-permissions'):_0x47c4e9['disableReadOnlyMode']('no-permissions'));if(_0x66aef){_0x66aef['setPermissions']({'admin':_0x5b60fc,'modifyAll':_0x25be13,'write':_0x618053,'resolve':_0x4d9ec3},_0x29c9e4);const _0x575a70=_0x47c4e9 instanceof _0x3d807a&&_0x47c4e9['commands']['get']('addCommentThread');_0x575a70&&(_0x49cbd4?_0x575a70['clearForceDisabled']('noPermissions'):_0x575a70['forceDisabled']('noPermissions'));}}}function U(_0x53e7d7,_0x1e4c35){const t=_0x53e7d7['t'];switch(_0x1e4c35){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 _0x3a2c57{['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(_0x526085){super(_0x526085),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0xf479d0(),this['_locale']=_0x526085['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:_0x1e10d5,name:_0x33608d,..._0x22e9b3}){if(!_0x1e10d5||'string'!=typeof _0x1e10d5)throw new _0x311461('users-add-invalid-id');if(this['users']['has'](_0x1e10d5))throw new _0x311461('users-add-duplicated-id',null,{'id':_0x1e10d5});const _0x44d077=this['context']['config']['get']('users.getInitialsCallback'),_0x3f208e={..._0x22e9b3,'id':_0x1e10d5,'name':A(this['_locale'],_0x33608d),'color':this['_getNextColor']()};_0x3f208e['name']=A(this['_locale'],_0x3f208e['name']);const _0xeca101=new lt(_0x3f208e,_0x44d077);return this['users']['add'](_0xeca101),_0xeca101;}['getUser'](_0x31d81d){return this['users']['get'](_0x31d81d);}['useAnonymousUser'](){const _0x4fe842=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4fe842);}['defineMe'](_0x5b2d34){if(this['_myId'])throw new _0x311461('users-me-already-defined',null);const _0x3719b5=this['getUser'](_0x5b2d34);if(!_0x3719b5)throw new _0x311461('users-me-missing-user',null);this['_myId']=_0x5b2d34,_0x3719b5['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x43e596=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x43e596&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x874441=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x874441,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x558374,_0x102a67){this['id']=_0x558374['id'],this['color']=_0x558374['color'],this['name']=_0x558374['name'],this['initials']=_0x102a67?_0x102a67(this['name']):this['_computeInitials'](),this['avatar']=_0x558374['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x35e2e6=this['name']['split']('\x20')['filter'](_0x54b407=>/^[\p{Letter}]/u['test'](_0x54b407));return 0x1===_0x35e2e6['length']?this['_getInitial'](_0x35e2e6[0x0]):0x0===_0x35e2e6['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x35e2e6[0x0])+this['_getInitial'](_0x35e2e6[_0x35e2e6['length']-0x1]);}['_getInitial'](_0x3e2d63){return String['fromCodePoint'](_0x3e2d63['codePointAt'](0x0))['toUpperCase']();}}function A(_0x2e665d,_0x431bf8=''){return''==(_0x431bf8=_0x431bf8['trim']())?U(_0x2e665d,'Anonymous'):_0x431bf8;}class ut{['_id'];constructor(_0x2ba8c2){this['_id']=_0x2ba8c2;}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 _0x34d822{['name'];['notificationView'];constructor(_0x12feae,_0x32ecc4,_0x21267c){super(_0x12feae),this['name']=_0x32ecc4['name'],this['notificationView']=null;const _0x1e767b=['ck','ck-user'],_0x1df749=['ck','ck-user__img'];if(_0x32ecc4['isAnonymous']&&_0x1df749['push']('ck-user__anonymous'),!_0x32ecc4['isAnonymous']&&_0x32ecc4['isMe']&&_0x1e767b['push']('ck-user_me'),_0x32ecc4['avatar']&&_0x1df749['push']('ck-user__avatar'),_0x21267c){const _0x1208da=new st();_0x1208da['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1208da['content']=it,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x21267c},'children':[_0x1208da]};}const _0x145f5e=[{'tag':'div','attributes':{'class':_0x1df749,'style':{'background-image':_0x32ecc4['avatar']?'url(\x27'+_0x32ecc4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x32ecc4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x32ecc4['name']},'children':[{'text':_0x32ecc4['initials']}]}];this['notificationView']&&_0x145f5e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1e767b,'data-user-id':_0x32ecc4['id']},'children':_0x145f5e});}}class dt extends _0x34d822{['id'];constructor(_0x593537,_0x23b925){super(_0x593537),this['id']='ck-aria-description-'+_0x9a0de(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x23b925}]});}}class ft extends ts{['render'](){super['render'](),re(this);}}class gt extends _0x4434d6{['render'](){super['render'](),re(this);}}function re(_0x1cfec5){_0x1cfec5['listenTo'](_0x1cfec5['element'],'mousedown',(_0x1c5b7a,_0x2e2d4f)=>{_0x2e2d4f['stopPropagation'](),_0x2e2d4f['preventDefault']();}),_0x1cfec5['listenTo'](_0x1cfec5['element'],'mouseup',()=>{_0x1cfec5['element']['focus']();});}function v(_0x47c8f2){const _0x2fbb75=_0x47c8f2['split'](':');return{'group':_0x2fbb75[0x0],'type':_0x2fbb75[0x1],'subType':_0x2fbb75['length']>=0x5?_0x2fbb75[0x2]:null,'id':_0x2fbb75['length']<0x5?_0x2fbb75[0x2]:_0x2fbb75[0x3],'authorId':_0x2fbb75['length']<0x5?_0x2fbb75[0x3]:_0x2fbb75[0x4],'markerCount':0x6==_0x2fbb75['length']?_0x2fbb75[0x5]:null};}function mt(_0xd2e3cd,_0x33f51e){const _0x2608d5=_0xd2e3cd['end']['nodeBefore'];if(_0x2608d5&&_0x2608d5['is']('element')&&_0x33f51e['schema']['isBlock'](_0x2608d5)&&!_0x33f51e['schema']['isObject'](_0x2608d5)){const _0x189134=_0x33f51e['createPositionAt'](_0x2608d5,'end');return _0x33f51e['createRange'](_0xd2e3cd['start'],_0x189134);}return _0xd2e3cd;}class M extends _0x5f500f{['afterInit'](){const _0xeeb3d1=this['editor'];if(!_0xeeb3d1['plugins']['has']('AlignmentEditing'))return;_0xeeb3d1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x5f500f{['afterInit'](){const _0x54e0aa=this['editor'],_0x524219=_0x54e0aa['plugins']['get']('SuggestionsConversion');for(const _0x2a68c5 of ii){if(!_0x54e0aa['plugins']['has'](_0x2a68c5))continue;const _0x3eb6cc=_0x2a68c5['slice'](0x0,-0x7)['toLowerCase']();_0x524219['registerInlineAttribute'](_0x3eb6cc);}}}class I extends _0x5f500f{['afterInit'](){const _0x55aa5f=this['editor'],_0x35e846=_0x55aa5f['plugins']['get']('SuggestionsConversion');_0x55aa5f['plugins']['has']('BookmarkEditing')&&_0x35e846['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x5f500f{['afterInit'](){const _0x1a2b0c=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x4661c5,commandName:_0x259f28}of no)this['editor']['plugins']['has'](_0x4661c5)&&_0x1a2b0c['registerInlineAttribute'](_0x259f28);}}class T extends _0x5f500f{['afterInit'](){const {editor:_0x271b73}=this;if(!_0x271b73['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x21db76=_0x271b73['plugins']['get']('SuggestionsConversion');_0x21db76['registerBlockAttribute']('footnotesListStyle'),_0x21db76['registerBlockAttribute']('footnotesListStart');}}class E extends _0x5f500f{['afterInit'](){const _0x190918=this['editor'];if(!_0x190918['plugins']['has']('HighlightEditing'))return;_0x190918['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class S extends _0x5f500f{['afterInit'](){const _0x56290a=this['editor'];if(!_0x56290a['plugins']['has']('HtmlEmbed'))return;_0x56290a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class $ extends _0x5f500f{['afterInit'](){const _0x71d184=this['editor'];if(!_0x71d184['plugins']['has']('ImageEditing'))return;const _0x1ff6f=_0x71d184['plugins']['get']('SuggestionsConversion');_0x1ff6f['registerBlockAttribute']('src'),_0x71d184['plugins']['has']('ImageResize')&&_0x1ff6f['registerBlockAttribute']('resizedWidth'),_0x71d184['plugins']['has']('ImageTextAlternativeEditing')&&_0x1ff6f['registerBlockAttribute']('alt'),_0x71d184['plugins']['has']('PictureEditing')&&_0x1ff6f['registerBlockAttribute']('sources'),_0x71d184['plugins']['has']('ImageSizeAttributes')&&(_0x1ff6f['registerBlockAttribute']('width'),_0x1ff6f['registerBlockAttribute']('height'));}}class x extends _0x5f500f{['afterInit'](){const _0x4a941a=this['editor'],_0x49ff60=_0x4a941a['plugins']['get']('SuggestionsConversion');_0x4a941a['plugins']['has']('IndentBlock')&&(_0x49ff60['registerBlockAttribute']('blockIndent'),_0x4a941a['plugins']['has']('ListEditing')&&(_0x49ff60['registerBlockAttribute']('blockIndentList'),_0x49ff60['registerBlockAttribute']('blockIndentListItem')));}}class H extends _0x5f500f{['afterInit'](){const _0x2db237=this['editor'];if(!_0x2db237['plugins']['has']('LineHeight'))return;_0x2db237['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class N extends _0x5f500f{['afterInit'](){const _0x9fa20f=this['editor'];if(!_0x9fa20f['plugins']['has']('LinkEditing'))return;const _0xc5e2d6=_0x9fa20f['plugins']['get']('SuggestionsConversion'),_0x190a21=_0x9fa20f['commands']['get']('link');_0xc5e2d6['registerInlineAttribute']('linkHref');for(const _0x2306e6 of _0x190a21['manualDecorators'])_0xc5e2d6['registerInlineAttribute'](_0x2306e6['id']);}}class P extends _0x5f500f{['afterInit'](){const _0x3fb3bc=this['editor'];if(!_0x3fb3bc['plugins']['has']('ListEditing'))return;const _0x3a3f5e=_0x3fb3bc['plugins']['get']('SuggestionsConversion'),_0x46a20e=_0x3fb3bc['plugins']['has']('TodoListEditing');_0x3a3f5e['registerBlockAttribute']('listItemId'),_0x3a3f5e['registerBlockAttribute']('listType'),_0x3a3f5e['registerBlockAttribute']('listIndent'),_0x46a20e&&_0x3a3f5e['registerBlockAttribute']('todoListChecked');}}class K extends _0x5f500f{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3b45cc=this['editor']['config']['get']('list.properties'),_0x35f5c6=this['editor']['plugins']['get']('SuggestionsConversion');_0x3b45cc['styles']&&_0x35f5c6['registerBlockAttribute']('listStyle'),_0x3b45cc['reversed']&&_0x35f5c6['registerBlockAttribute']('listReversed'),_0x3b45cc['startIndex']&&_0x35f5c6['registerBlockAttribute']('listStart');}}class q extends _0x5f500f{['afterInit'](){const _0x301126=this['editor'],_0x58c311=_0x301126['plugins']['get']('SuggestionsConversion');_0x301126['plugins']['has']('MultiLevelList')&&_0x58c311['registerBlockAttribute']('listMarkerStyle');}}class z extends _0x5f500f{['afterInit'](){const _0x354b13=this['editor'];if(!_0x354b13['plugins']['has']('Style')||!_0x354b13['plugins']['has']('DataSchema')||!_0x354b13['config']['get']('style.definitions'))return;const _0x5d9ff4=_0x354b13['plugins']['get']('SuggestionsConversion'),_0x2bf27c=_0x354b13['config']['get']('style.definitions'),_0x5dc5a5=_0x354b13['plugins']['get']('GeneralHtmlSupport'),_0x3dd7dc=_0x354b13['plugins']['get']('StyleUtils')['normalizeConfig'](_0x354b13['plugins']['get']('DataSchema'),_0x2bf27c),_0x4ba211=new Set();for(const _0x4c33ee of _0x3dd7dc['block']){const _0x3cf65a=_0x5dc5a5['getGhsAttributeNameForElement'](_0x4c33ee['element']);_0x4ba211['add'](_0x3cf65a);}const _0x5efa47=new Set();for(const _0x5ae2ba of _0x3dd7dc['inline']){const _0xfc3912=_0x5dc5a5['getGhsAttributeNameForElement'](_0x5ae2ba['element']);_0x5efa47['add'](_0xfc3912);for(const _0x34752e of _0x5ae2ba['ghsAttributes'])_0x5efa47['add'](_0x34752e);}for(const _0x3af3f2 of _0x4ba211)_0x5d9ff4['registerBlockAttribute'](_0x3af3f2);for(const _0x3c5d67 of _0x5efa47)_0x5d9ff4['registerInlineAttribute'](_0x3c5d67);}}class O extends _0x5f500f{['afterInit'](){const _0x4bbc78=this['editor'];if(!_0x4bbc78['plugins']['has']('TableEditing'))return;const _0x3eb3f6=_0x4bbc78['plugins']['get']('SuggestionsConversion');_0x3eb3f6['registerBlockAttribute']('headingRows'),_0x3eb3f6['registerBlockAttribute']('headingColumns');}}class R extends _0x5f500f{['afterInit'](){const {plugins:_0x47607d}=this['editor'];if(!_0x47607d['has']('TablePropertiesEditing'))return;const _0x2114f7=_0x47607d['get']('SuggestionsConversion'),_0x3367dd=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x4f59f5 of _0x3367dd)_0x2114f7['registerBlockAttribute'](_0x4f59f5);}}class F extends _0x5f500f{['afterInit'](){const _0x397c86=this['editor'],_0x27746c=_0x397c86['plugins']['get']('SuggestionsConversion');_0x397c86['plugins']['has']('TableLayout')&&_0x27746c['registerBlockAttribute']('tableType');}}class G extends _0x5f500f{['afterInit'](){const _0x19a2e9=this['editor'],_0x3981e0=this['editor']['plugins']['get']('SuggestionsConversion');_0x19a2e9['plugins']['has']('Uploadcare')&&_0x19a2e9['plugins']['has']('UploadcareImageEdit')&&_0x3981e0['registerBlockAttribute']('uploadcareImageId');}}class J extends _0x5f500f{['afterInit'](){const _0x2ed81b=this['editor'];if(!_0x2ed81b['plugins']['has']('ShiftEnter'))return;const _0x2c8946=_0x2ed81b['plugins']['get']('SuggestionsConversion'),_0x5a0539=(_0x1ff8b6,_0x41aa29,_0x23e9b2,_0x1e3964)=>{if(_0x1e3964&&!_0x23e9b2['options']['showSuggestionHighlights'])return;if(!_0x23e9b2['consumable']['test'](_0x41aa29['markerRange'],_0x1ff8b6['name']))return;const _0x2a91c5=_0x2ed81b['model'];for(const _0x4fa7a4 of _0x41aa29['markerRange']['getItems']()){if(!_0x4fa7a4['is']('element','softBreak'))continue;const _0x48422e='deletion'==_0x41aa29['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x2f6837,authorId:_0x5c0ad8}=v(_0x41aa29['markerName']),_0x2ec4e0=_0x23e9b2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x48422e,'data-suggestion':_0x2f6837,'data-author-id':_0x5c0ad8}),_0x379e7e=_0x23e9b2['mapper']['toViewPosition'](_0x2a91c5['createPositionBefore'](_0x4fa7a4));!_0x1e3964&&_0x2c8946['_activeMarkers']['includes'](_0x41aa29['markerName'])&&_0x23e9b2['writer']['addClass']('ck-suggestion-marker--active',_0x2ec4e0),_0x23e9b2['writer']['insert'](_0x379e7e,_0x2ec4e0),_0x23e9b2['mapper']['bindElementToMarker'](_0x2ec4e0,_0x41aa29['markerName']);}};_0x2ed81b['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x33c7d7,_0x1e6c55,_0x22d89e)=>{_0x5a0539(_0x33c7d7,_0x1e6c55,_0x22d89e,!0x1);},{'priority':'high'}),_0x2ed81b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x59a969,_0x4cf319,_0x390787)=>{_0x5a0539(_0x59a969,_0x4cf319,_0x390787,!0x0);},{'priority':'high'});}}class L extends _0x5f500f{['afterInit'](){const _0x32277d=this['editor'];_0x32277d['plugins']['has']('MediaEmbedEditing')&&(_0x32277d['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x36d2ad,{writer:_0x5a122b,options:_0x35961b})=>{if(_0x35961b['showSuggestionHighlights'])return _0x5a122b['createEmptyElement']('div');},'converterPriority':'high'}),_0x32277d['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3baa0f,_0x48e9a0,_0x2619dc)=>{_0x2619dc['options']['showSuggestionHighlights']&&_0x3baa0f['stop']();},{'priority':'high'}));}}class Q extends _0x5f500f{['afterInit'](){const _0x4b0643=this['editor'];if(!_0x4b0643['plugins']['has']('Table'))return;_0x4b0643['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0xdfdb2e,_0x49c974,_0x4a3d96)=>{((_0x258d47,_0x5623a5,_0x22117b)=>{if(!_0x22117b['options']['showSuggestionHighlights'])return;const _0x307caa=_0x5623a5['item'];if(!_0x307caa||!_0x307caa['is']('element','tableCell'))return;const _0x494693=_0x22117b['mapper']['toViewElement'](_0x307caa);if(_0x494693){const {id:_0x535cf7,authorId:_0x590d97}=v(_0x5623a5['markerName']);at(_0x494693,_0x22117b['writer'],(_0x399c3d,_0x1a0289,_0x15f2e6)=>{_0x15f2e6['addClass'](rt(_0x1a0289['classes']),_0x399c3d),_0x15f2e6['setAttribute']('data-suggestion-id',_0x535cf7,_0x399c3d),_0x15f2e6['setAttribute']('data-author-id',_0x590d97,_0x399c3d);});}})(0x0,_0x49c974,_0x4a3d96);},{'priority':'highest'});}}class V extends _0x5f500f{['afterInit'](){const _0x5245a1=this['editor'];_0x5245a1['plugins']['has']('HorizontalLineEditing')&&_0x5245a1['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3c8d4a,{writer:_0x264207,options:_0x3f6e7d})=>{if(!_0x3f6e7d['showSuggestionHighlights'])return null;const _0x3ae4df=_0x264207['createContainerElement']('div'),_0x1e4cf8=_0x264207['createEmptyElement']('hr');return _0x264207['addClass']('ck-horizontal-line',_0x3ae4df),_0x264207['insert'](_0x264207['createPositionAt'](_0x3ae4df,0x0),_0x1e4cf8),_0x3ae4df;},'converterPriority':'high'});}}class W extends _0x5f500f{['afterInit'](){const {plugins:_0x59a040,model:_0x5c62c1}=this['editor'];if(!_0x59a040['has']('TableCellPropertiesEditing'))return;const _0x321bd1=_0x59a040['get']('SuggestionsConversion'),_0x3bbc53=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x35a817 of _0x3bbc53)_0x321bd1['registerBlockAttribute'](_0x35a817);_0x5c62c1['schema']['checkAttribute']('tableCell','tableCellType')&&_0x321bd1['registerBlockAttribute']('tableCellType');}}class kt extends _0x5f500f{['_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 _0x4dcd6a=this['editor'],_0x4ac4e0=(_0x4151de,_0x1712b1,_0x5d4a1d)=>{const {id:_0x16ce4f,authorId:_0x58d28f,type:_0x211289,subType:_0x36bcae}=v(_0x4151de['markerName']),_0x446cd4=['ck-suggestion-marker',this['_getClassName'](_0x211289,_0x36bcae)];let _0xcf4e0=0xbb8;return!_0x5d4a1d&&(this['_activeMarkers']['includes'](_0x4151de['markerName'])&&(_0x446cd4['push']('ck-suggestion-marker--active'),_0xcf4e0=0xbc2)),('deletion'==_0x211289&&(_0xcf4e0+=0x5),{'classes':_0x446cd4,'attributes':{'data-suggestion':_0x16ce4f,'data-author-id':_0x58d28f},'priority':_0xcf4e0});};_0x4dcd6a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1c5598,_0x41d1bf)=>_0x4ac4e0(_0x1c5598,0x0,!0x1)}),_0x4dcd6a['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1d2120,_0x119c84)=>_0x4ac4e0(_0x1d2120,0x0,!0x0)}),_0x4dcd6a['conversion']['for']('dataDowncast')['add'](_0x406969=>{_0x406969['on']('addMarker:suggestion',(_0x338879,_0x3facd2,_0x22c79c)=>{if(!_0x22c79c['options']['showSuggestionHighlights'])return;const _0x51bbae=_0x3facd2['item'];if(!_0x51bbae)return;const _0x4d64a4=_0x22c79c['mapper']['toViewElement'](_0x51bbae);_0x4dcd6a['model']['schema']['isObject'](_0x51bbae)&&_0x4d64a4&&!_0x4d64a4['getCustomProperty']('widget')&&_0x4d64a4['is']('containerElement')&&_0x42cd0a(_0x4d64a4,_0x22c79c['writer']);},{'priority':'high'});});const _0x4720d9=(_0x1623bb,_0x36de63,_0x84511c,_0x315f34,_0x3b8bf5)=>{if(_0x315f34&&!_0x84511c['options']['showSuggestionHighlights'])return;if(!_0x36de63['item'])return;const {id:_0x5149dc,authorId:_0x13cecf,subType:_0x58a53e}=v(_0x36de63['markerName']);if(_0x3b8bf5){const _0x5b7913=_0x58a53e['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5b7913))return;}if(_0x36de63['item']['is']('selection'))return void _0x84511c['consumable']['consume'](_0x36de63['item'],_0x1623bb['name']);const _0x1f9dd4=_0x84511c['mapper']['toViewElement'](_0x36de63['item']);if(_0x36de63['item']['is']('element')&&_0x4dcd6a['model']['schema']['isBlock'](_0x36de63['item'])&&!_0x1f9dd4['getCustomProperty']('addHighlight')){_0x84511c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x1f9dd4),_0x84511c['writer']['setAttribute']('data-suggestion',_0x5149dc,_0x1f9dd4),_0x84511c['writer']['setAttribute']('data-author-id',_0x13cecf,_0x1f9dd4),_0x84511c['mapper']['bindElementToMarker'](_0x1f9dd4,_0x36de63['markerName']),_0x315f34||(this['_activeMarkers']['includes'](_0x36de63['markerName'])?_0x84511c['writer']['addClass']('ck-suggestion-marker--active',_0x1f9dd4):_0x84511c['writer']['removeClass']('ck-suggestion-marker--active',_0x1f9dd4));for(const _0x52db16 of _0x4dcd6a['model']['createRangeIn'](_0x36de63['item'])['getItems']())_0x84511c['consumable']['consume'](_0x52db16,_0x1623bb['name']);_0x84511c['consumable']['consume'](_0x36de63['item'],_0x1623bb['name']);}},_0x5b37c3=(_0x3b241c,_0x556007,_0x2957a1,_0x124cba)=>{const _0x11de4a=_0x2957a1['mapper']['markerNameToElements'](_0x556007['markerName']);if(_0x11de4a){if(_0x124cba){const {subType:_0x22db8f}=v(_0x556007['markerName']),_0x36a068=_0x22db8f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x36a068))return;}for(const _0x18ac48 of _0x11de4a)_0x18ac48['getCustomProperty']('addHighlight')||(_0x2957a1['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x18ac48),_0x2957a1['writer']['removeAttribute']('data-suggestion',_0x18ac48),_0x2957a1['writer']['removeAttribute']('data-author-id',_0x18ac48),_0x2957a1['mapper']['unbindElementFromMarkerName'](_0x18ac48,_0x556007['markerName']));}};_0x4dcd6a['conversion']['for']('editingDowncast')['add'](_0x1d083d=>{_0x1d083d['on']('addMarker:suggestion:formatBlock',(_0x358bb6,_0x48f7de,_0x2ac3b9)=>{_0x4720d9(_0x358bb6,_0x48f7de,_0x2ac3b9,!0x1,!0x1);},{'priority':'high'});}),_0x4dcd6a['conversion']['for']('editingDowncast')['add'](_0x1e2232=>{_0x1e2232['on']('addMarker:suggestion:attribute',(_0x571275,_0x4e3746,_0x1951b6)=>{_0x4720d9(_0x571275,_0x4e3746,_0x1951b6,!0x1,!0x0);},{'priority':'high'});}),_0x4dcd6a['conversion']['for']('editingDowncast')['add'](_0x27863b=>{_0x27863b['on']('removeMarker:suggestion:formatBlock',(_0x588e30,_0x2e8721,_0x4f05ce)=>{_0x5b37c3(0x0,_0x2e8721,_0x4f05ce,!0x1);},{'priority':'high'});}),_0x4dcd6a['conversion']['for']('editingDowncast')['add'](_0x2a63a7=>{_0x2a63a7['on']('removeMarker:suggestion:attribute',(_0x14214e,_0x34ee9f,_0x43daec)=>{_0x5b37c3(0x0,_0x34ee9f,_0x43daec,!0x0);},{'priority':'high'});}),_0x4dcd6a['conversion']['for']('dataDowncast')['add'](_0x1a4115=>{_0x1a4115['on']('addMarker:suggestion:formatBlock',(_0x469f25,_0x503f9c,_0x41c57f)=>{_0x4720d9(_0x469f25,_0x503f9c,_0x41c57f,!0x0,!0x1);},{'priority':'highest'});}),_0x4dcd6a['conversion']['for']('dataDowncast')['add'](_0x4f63bb=>{_0x4f63bb['on']('addMarker:suggestion:attribute',(_0x4a69eb,_0x59f64e,_0xcd1787)=>{_0x4720d9(_0x4a69eb,_0x59f64e,_0xcd1787,!0x0,!0x0);},{'priority':'highest'});}),_0x4dcd6a['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2d6732,_0x59dbca)=>{if(_0x59dbca['options']['showSuggestionHighlights']){const {id:_0xd51d45,authorId:_0x374203}=v(_0x2d6732);return _0x2d6732['includes'](':split')||_0x2d6732['includes'](':merge')?{'group':'suggestion','name':_0x2d6732['substr'](0xb),'attributes':{'data-suggestion':_0xd51d45,'data-author-id':_0x374203}}:null;}return{'group':'suggestion','name':_0x2d6732['substr'](0xb)};}});const _0x175696=(_0x510d5e,_0xacc1b2,_0x3acfb8,_0x4e6664,_0x192db6)=>{if(_0x4e6664&&!_0x3acfb8['options']['showSuggestionHighlights'])return;if(!_0x3acfb8['consumable']['test'](_0xacc1b2['markerRange'],_0x510d5e['name']))return;const _0x1e677d=this['_activeMarkers'],_0xcef99e=_0xacc1b2['markerRange']['getWalker'](),_0x4dceb1=_0xacc1b2['markerRange']['start'],_0x84decf=_0x4dcd6a['model']['schema'];let _0x57b57d=null,_0x5d2ff7=null,_0x38b9a7=!0x1,_0x17235a=!0x1;for(const _0x5c6087 of _0xcef99e){const _0x3b636d=_0x5c6087['item'];_0x38b9a7=_0x38b9a7||_0x84decf['isContent'](_0x3b636d);const _0x2c9bd4=_0x3acfb8['mapper']['toViewElement'](_0x3b636d);if(_0x2c9bd4&&_0x2c9bd4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5c6087['type']&&(_0x84decf['isBlock'](_0x3b636d)&&!_0x84decf['isLimit'](_0x3b636d)&&(_0x3b636d['nextSibling']||_0x4dceb1['isAtEnd']?_0x57b57d&&_0x57b57d['parent']==_0x3b636d||(_0x57b57d=_0x3b636d,_0x3780c6(_0x5c6087['previousPosition']),_0x17235a=!0x0):_0x5d2ff7=_0x5d2ff7||_0x5c6087['previousPosition']));}function _0x3780c6(_0x326586){const {id:_0x496096,authorId:_0x45a878}=v(_0xacc1b2['markerName']),_0x3f6c5e=_0x3acfb8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x192db6,'data-suggestion':_0x496096,'data-author-id':_0x45a878}),_0x27eb8e=_0x3acfb8['mapper']['toViewPosition'](_0x326586);!_0x4e6664&&_0x1e677d['includes'](_0xacc1b2['markerName'])&&_0x3acfb8['writer']['addClass']('ck-suggestion-marker--active',_0x3f6c5e),_0x3acfb8['writer']['insert'](_0x27eb8e,_0x3f6c5e),_0x3acfb8['mapper']['bindElementToMarker'](_0x3f6c5e,_0xacc1b2['markerName']);}_0x38b9a7||_0x17235a||!_0x5d2ff7||_0x3780c6(_0x5d2ff7);};_0x4dcd6a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x192dbb,_0x1211cf,_0x485041)=>{_0x175696(_0x192dbb,_0x1211cf,_0x485041,!0x1,'merge');},{'priority':'high'}),_0x4dcd6a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x14c761,_0x550605,_0x3f2776)=>{_0x175696(_0x14c761,_0x550605,_0x3f2776,!0x0,'merge');},{'priority':'high'}),_0x4dcd6a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xd4ed32,_0x5cfdf7,_0x3546c8)=>{_0x175696(_0xd4ed32,_0x5cfdf7,_0x3546c8,!0x1,'split');},{'priority':'high'}),_0x4dcd6a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x316f20,_0xf04222,_0x322737)=>{_0x175696(_0x316f20,_0xf04222,_0x322737,!0x0,'split');},{'priority':'high'}),_0x4dcd6a['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x25322f,_0x56c138,_0x4950d5)=>{((_0x480174,_0x2876d7,_0x2d4163)=>{const _0x29ad5d=_0x2d4163['mapper']['markerNameToElements'](_0x2876d7['markerName']);if(_0x29ad5d){for(const _0x25047d of _0x29ad5d)(_0x25047d['hasClass']('ck-suggestion-marker-split')||_0x25047d['hasClass']('ck-suggestion-marker-merge'))&&(_0x2d4163['mapper']['unbindElementFromMarkerName'](_0x25047d,_0x2876d7['markerName']),_0x2d4163['writer']['remove'](_0x25047d));}})(0x0,_0x56c138,_0x4950d5);},{'priority':'high'});const _0xb84db8=(_0x45ce5c,_0x31ff42,_0x1fe566,_0x349848)=>{if(_0x349848&&!_0x1fe566['options']['showSuggestionHighlights'])return;const _0x28fc86=_0x31ff42['markerRange']['start'],_0x1af77=_0x31ff42['markerRange']['end'],_0x45192b=_0x4dcd6a['model']['schema'];if(!_0x28fc86['isTouching'](_0x1af77)||!_0x28fc86['nodeAfter'])return;const _0x2c2cb6=_0x28fc86['nodeAfter'];if(_0x45192b['isBlock'](_0x2c2cb6)&&!_0x45192b['isLimit'](_0x2c2cb6)&&_0x45192b['checkChild'](_0x2c2cb6,'$text')){if(!_0x1fe566['consumable']['consume'](_0x31ff42['markerRange'],_0x45ce5c['name']))return;const {id:_0x39da5d,authorId:_0x4bee97}=v(_0x31ff42['markerName']),_0x557a66=_0x1fe566['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x39da5d,'data-author-id':_0x4bee97}),_0x280b04=_0x1fe566['mapper']['toViewPosition'](_0x1af77);!_0x349848&&this['_activeMarkers']['includes'](_0x31ff42['markerName'])&&_0x1fe566['writer']['addClass']('ck-suggestion-marker--active',_0x557a66),_0x1fe566['writer']['insert'](_0x280b04,_0x557a66),_0x1fe566['mapper']['bindElementToMarker'](_0x557a66,_0x31ff42['markerName']);}};_0x4dcd6a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x518da2,_0xe6d3de,_0x369cd2)=>{_0xb84db8(_0x518da2,_0xe6d3de,_0x369cd2,!0x1);},{'priority':'high'}),_0x4dcd6a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x412790,_0x31eea3,_0x443b38)=>{_0xb84db8(_0x412790,_0x31eea3,_0x443b38,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3aa3f7,_0x243c3b,_0x37e855)=>{this['_activeMarkers']=_0x37e855['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x5c53d8){this['_blockAttributeKeys']['add'](_0x5c53d8);}['registerInlineAttribute'](_0x53741b){this['_inlineAttributeKeys']['add'](_0x53741b);}['isBlockAttribute'](_0x386843){return this['_blockAttributeKeys']['has'](_0x386843);}['isInlineAttribute'](_0x55026b){return this['_inlineAttributeKeys']['has'](_0x55026b);}['isRegisteredAttribute'](_0x23f371){return this['isInlineAttribute'](_0x23f371)||this['isBlockAttribute'](_0x23f371);}['_getClassName'](_0x28fe5e,_0x4c755c){if('attribute'!=_0x28fe5e)return'ck-suggestion-marker-'+_0x28fe5e;const _0x36f944=_0x4c755c['split']('|')[0x0];return this['isBlockAttribute'](_0x36f944)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x1240c4={},_0x55987e){if(void 0x0!==_0x1240c4['dateTimeFormat']&&'function'!=typeof _0x1240c4['dateTimeFormat'])throw new _0x311461('invalid-date-time-format');return _0x1cf89d=>{const _0x2938a3='string'==typeof _0x1cf89d?tt['fromISO'](_0x1cf89d):tt['fromJSDate'](_0x1cf89d),_0x1c8fd0=tt['now'](),_0x236a5d=Math['floor'](_0x1c8fd0['diff'](_0x2938a3,'days')['days']);return _0x1240c4['dateTimeFormat']?_0x1240c4['dateTimeFormat'](_0x2938a3['toJSDate'](),_0x55987e&&_0x55987e['t']?_0x55987e['t']:void 0x0):0x0===_0x236a5d?_0x55987e?U(_0x55987e,'Today')+'\x20'+_0x2938a3['toFormat']('hh:mma'):_0x2938a3['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x236a5d?_0x55987e?U(_0x55987e,'Yesterday')+'\x20'+_0x2938a3['toFormat']('hh:mma'):_0x2938a3['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x236a5d<0x7?_0x55987e?U(_0x55987e,'Last')+'\x20'+U(_0x55987e,_0x2938a3['toFormat']('EEEE'))+'\x20'+_0x2938a3['toFormat']('hh:mma'):_0x2938a3['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2938a3['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x4a7ff9,_0x13e73f){const _0x33ca20=_0x4a7ff9['mapper']['markerNameToElements'](_0x13e73f['name']);if(!_0x33ca20)return null;const _0x207ce8=_0x4a9616(_0x33ca20['values']());return _0x4a7ff9['view']['domConverter']['mapViewToDom'](_0x207ce8)||null;}function wt(_0xd8d135,_0x2a41dd){if(0x0===_0x2a41dd['length'])return null;const _0x520cc3=[],_0xd0e34b=_0xd8d135['view']['domConverter'];for(const _0x3cbf41 of _0x2a41dd){const _0x2a913a=_0xd8d135['mapper']['markerNameToElements'](_0x3cbf41['name']);if(!_0x2a913a)continue;const _0x59944c=Array['from'](_0x2a913a)['map'](_0x49d797=>_0xd0e34b['mapViewToDom'](_0x49d797))['filter'](_0x4b68a3=>!!_0x4b68a3);_0x520cc3['push'](..._0x59944c);}if(0x0===_0x520cc3['length'])return null;const _0xb1bb37=[];for(const _0x179b93 of _0x520cc3){const _0x326c28=_0x179b93['getClientRects']()['item'](0x0);_0x326c28&&_0xb1bb37['push']({'x':_0x326c28['x'],'y':_0x326c28['y'],'domElement':_0x179b93});}return 0x0===_0xb1bb37['length']?null:(_0xb1bb37['sort']((_0xffcc38,_0x2ef7a1)=>_0xffcc38['y']-_0x2ef7a1['y']||_0xffcc38['x']-_0x2ef7a1['x']),_0xb1bb37['map'](_0x2c5adf=>_0x2c5adf['domElement']));}function bt(_0x288c3e,{limit:_0x2ae68d,suffix:_0x128751='...'}){const _0x1e8682=[];let _0x1d61d7=0x0;const _0x3d2e99=_0x288c3e['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3477af=0x0;_0x3477af<_0x3d2e99['length'];_0x3477af++){let _0xabcb2b=_0x3d2e99[_0x3477af];const _0x35866a=tn(_0xabcb2b);if(_0xabcb2b['startsWith']('<')){if(_0x1d61d7>=_0x2ae68d){const _0x12e80d=_0xabcb2b['match'](/[a-zA-Z]+/);if(!_0x12e80d){_0x3d2e99[_0x3477af]='';continue;}const _0x4d9288=_0x12e80d[0x0];_0xabcb2b['startsWith']('</')?(_0x1e8682['length']&&(_0xabcb2b=''),_0x1e8682['pop']()):(_0x1e8682['push'](_0x4d9288),_0xabcb2b='');}}else{if(_0x1d61d7>=_0x2ae68d)_0xabcb2b='';else{if(_0x1d61d7+_0x35866a['length']>=_0x2ae68d){let _0x163083=_0x2ae68d-_0x1d61d7;if('\x20'===_0x35866a[_0x163083-0x1])_0x163083--;else{const _0x1502d2=_0x35866a['slice'](_0x163083)['indexOf']('\x20');-0x1!==_0x1502d2?_0x163083+=_0x1502d2:_0x163083=_0xabcb2b['length'];}_0xabcb2b=_0x35866a['slice'](0x0,_0x163083)['join']('')+_0x128751,_0x1d61d7=_0x2ae68d;}else _0x1d61d7+=_0x35866a['length'];}}_0x3d2e99[_0x3477af]=_0xabcb2b;}return _0x3d2e99['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x29960c){const _0x5ce04e=[];for(let _0x2381df=0x0;_0x2381df<_0x29960c['length'];_0x2381df++){const _0x1ac3cb=_0x29960c['substring'](_0x2381df)['match'](/^&[a-z0-9#]+;/);if(_0x1ac3cb){const _0x16a098=_0x1ac3cb[0x0];_0x5ce04e['push'](_0x16a098),_0x2381df+=_0x16a098['length']-0x1;}else _0x5ce04e['push'](_0x29960c[_0x2381df]);}return _0x5ce04e;}class X extends _0x34d822{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x57960a){super(_0x57960a);const _0x575060=this['bindTemplate'];this['set']('message',U(_0x57960a,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x57960a,U(_0x57960a,'Yes'),_0x44d5ba,'submit'),this['cancelView']=this['_createButtonView'](_0x57960a,U(_0x57960a,'No'),_0x2dae3e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x4ba58b(),this['keystrokes']=new _0x39f765(),this['focusCycler']=new _0x48be7c({'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':_0x575060['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'](_0x3062d4,_0x15e1e5,_0x4a4d31,_0x311239){const _0x1c9954=new ts(_0x3062d4);return _0x1c9954['label']=_0x15e1e5,_0x1c9954['icon']=_0x4a4d31,_0x1c9954['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x311239}}),_0x1c9954['on']('execute',()=>this['fire'](_0x311239)),_0x1c9954;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x1408c2=>{this['keystrokes']['listenTo'](_0x1408c2['element']),this['focusTracker']['add'](_0x1408c2['element']);}),this['keystrokes']['set']('esc',(_0x10ee23,_0x33c1d8)=>{this['fire']('cancel'),_0x33c1d8();});}}function vt(_0x1f1511){return class extends _0x1f1511{['showConfirm'](_0x352d8f,_0x44b536){return this['confirmView']=new X(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x352d8f,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x44b536['appendChild'](this['confirmView']['element']),_0x44b536['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x325086,_0x319492,_0x15cfd2)=>{_0x15cfd2||_0x44b536['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x382bdd=>this['confirmView']['on']('submit',_0x382bdd));}['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(_0x62e9ed){let _0xd55670=0x0,_0x5638a3=0x0;for(const _0x52ddec of ne(_0x62e9ed))_0xd55670=(_0xd55670<<0x5)-_0xd55670+_0x52ddec,_0xd55670&=_0xd55670,[_0xd55670,_0x5638a3]=[_0x5638a3,_0xd55670];return ie(_0xd55670)+ie(_0x5638a3);}function*ee(_0x57ee80){null==_0x57ee80||null==_0x57ee80?yield 0x12b9b0a1:0x0===_0x57ee80||!0x1===_0x57ee80?yield 0x0:0x1===_0x57ee80||0x1==_0x57ee80?yield 0x1:Array['isArray'](_0x57ee80)?yield*function*(_0x2da126){for(const _0x2bea93 of _0x2da126)yield*ee(_0x2bea93);}(_0x57ee80):'object'==typeof _0x57ee80?yield*ne(_0x57ee80):'string'==typeof _0x57ee80?yield*oe(_0x57ee80):'number'==typeof _0x57ee80&&(yield _0x57ee80);}function*ne(_0x16ef3e){if(yield te('{'),_0x16ef3e){const _0x296beb=Object['keys'](_0x16ef3e)['sort']();for(const _0x291881 of _0x296beb){yield*oe(_0x291881),yield te(':');const _0x587546=_0x16ef3e[_0x291881];yield*ee(_0x587546);}}yield te('}');}function*oe(_0x428b83){yield te('\x22');for(const _0x4dd715 of _0x428b83)yield te(_0x4dd715);yield te('\x22');}function te(_0x9b2df4){return _0x9b2df4['charCodeAt'](0x0);}function ie(_0x215d34){return(_0x215d34*=Math['sign'](_0x215d34))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x5a709a,_0x505202,_0x99b077,_0x17c41f=[]){const _0x1e8887='string'==typeof _0x5a709a?_0x99b077['get'](_0x5a709a)['constructor']:_0x5a709a['prototype']['constructor'];if(_0x505202['has'](_0x1e8887))return _0x505202['get'](_0x1e8887);_0x505202['set'](_0x1e8887,!0x0);const _0x1942b9=[...et,..._0x17c41f]['map'](_0x33fb0f=>{if(_0x99b077['has'](_0x33fb0f))return _0x99b077['get'](_0x33fb0f)['constructor'];})['filter'](_0x2875b2=>_0x2875b2);if(_0x1e8887&&_0x1942b9['includes'](_0x1e8887))return _0x505202['set'](_0x1e8887,!0x1),!0x1;if(!_0x1e8887['requires'])return _0x505202['set'](_0x1e8887,!0x0),!0x0;const _0x13a8ba=_0x1e8887['requires']['every'](_0x3890d5=>ot(_0x3890d5,_0x505202,_0x99b077,_0x17c41f));return _0x505202['set'](_0x1e8887,_0x13a8ba),_0x13a8ba;}function Ct(_0x6dc675,_0x3c29b3){const _0x2cdf88={};for(const _0x273d99 of _0x6dc675['config']['names']())nt['includes'](_0x273d99)||(_0x2cdf88[_0x273d99]=_0x6dc675['config']['get'](_0x273d99));const _0x5a45f3=_0x2cdf88['plugins']||[],_0x4f42b3=_0x6dc675['constructor']['builtinPlugins']||[],_0x405a22=_0x5a45f3['length']?_0x5a45f3:_0x4f42b3,_0x259450=_0x2cdf88['extraPlugins']||[];delete _0x2cdf88['extraPlugins'];const _0x8884b4=_0x2cdf88['removePlugins']||[];delete _0x2cdf88['removePlugins'];const _0x7805ea=_0x6dc675['_context']['config']['get']('plugins')||[],_0x1e44c8=_0x405a22['concat'](_0x259450)['concat'](_0x7805ea)['map'](_0x2acfbc=>'string'==typeof _0x2acfbc?_0x4f42b3['find'](_0x2e904d=>_0x2e904d['pluginName']==_0x2acfbc):_0x2acfbc)['filter'](_0x24f844=>!_0x8884b4['includes'](_0x24f844)&&!_0x8884b4['includes'](_0x24f844['pluginName'])),_0x248aa7=Array['from'](new Set(_0x1e44c8)),_0x416e1c=new Map();return _0x2cdf88['plugins']=_0x248aa7['filter'](_0x27e380=>ot(_0x27e380,_0x416e1c,_0x6dc675['plugins'],_0x3c29b3)),_0x2cdf88;}function xt(_0x427f0f,_0x24fe63){const _0x3b0380=[];_0x427f0f['document']['selection']['on']('change:range',()=>{const _0x4dce43=function(_0x46a4dc,_0x1881e0){const _0x3434a8=[];for(const _0x10bedb of _0x46a4dc['markers']){const _0x3bf357=_0x10bedb['getRange']();(_0x3bf357['containsPosition'](_0x1881e0)||_0x3bf357['start']['isEqual'](_0x1881e0)||_0x3bf357['end']['isEqual'](_0x1881e0))&&_0x3434a8['push'](_0x10bedb);}return _0x3434a8;}(_0x427f0f,_0x427f0f['document']['selection']['focus']),_0xc94f25=[],_0x5e9fca=[],_0x5de1ba=[];for(const _0x1e7416 of _0x3b0380)_0x4dce43['includes'](_0x1e7416)||_0xc94f25['push'](_0x1e7416);for(const _0x54a63f of _0x4dce43)_0x3b0380['includes'](_0x54a63f)||_0x5e9fca['push'](_0x54a63f),_0x5de1ba['push'](_0x54a63f);(_0xc94f25['length']||_0x5e9fca['length'])&&_0x24fe63({'left':_0xc94f25,'entered':_0x5e9fca}),_0x3b0380['length']=0x0,_0x3b0380['push'](..._0x5de1ba);});}const It='Ctrl+Shift+E';function _t(_0x5d1068,_0x28c17c){const _0x24371a=_0x5d1068['element'];_0x5d1068['keystrokes']['listenTo'](_0x24371a);for(const _0x1b071c of _0x28c17c)ro(_0x5d1068,_0x1b071c);_0x28c17c['on']('change',(_0x255bb7,_0x22874e)=>{for(const _0x35bd6b of _0x22874e['removed'])to(_0x5d1068,_0x35bd6b);for(const _0x5c3fcf of Array['from'](_0x22874e['added'])['reverse']())ro(_0x5d1068,_0x5c3fcf);}),_0x5d1068['keystrokes']['set']('enter',(_0x1dd46a,_0x28484a)=>{_0x24371a===_0x1dd46a['target']&&(_0x5d1068['focusCycler']['focusFirst'](),_0x28484a());},{'filter':_0x46b328=>_0x46b328['target']===_0x24371a}),_0x5d1068['keystrokes']['set']('esc',(_0x1a46cc,_0x3c626d)=>{_0x24371a!==_0x1a46cc['target']?_0x5d1068['focus']():_0x5d1068['fire']('escape'),_0x3c626d();}),_0x5d1068['keystrokes']['set']('arrowdown',(_0x438da5,_0x4842ca)=>{_0x24371a===_0x438da5['target']&&(_0x5d1068['fire']('arrowdown'),_0x4842ca());}),_0x5d1068['keystrokes']['set']('arrowup',(_0x5cc4b1,_0x21bb85)=>{_0x24371a===_0x5cc4b1['target']&&(_0x5d1068['fire']('arrowup'),_0x21bb85());});}function ro(_0x1b8726,_0x5584c3){_0x5584c3['isRendered']&&(_0x1b8726['focusTracker']['add'](_0x5584c3['element']),_0x1b8726['keystrokes']['listenTo'](_0x5584c3['element']),_0x1dadb7(_0x5584c3)&&function(_0x36cdde,_0x29ec13){const _0x18780b=_0x36cdde['actions'],_0x52061e=_0x29ec13['actions'];for(const _0x484c5f of Object['keys'](_0x18780b))if(_0x484c5f in _0x52061e&&_0x18780b[_0x484c5f]!==_0x52061e[_0x484c5f])return!0x1;return!0x0;}(_0x1b8726['focusCycler'],_0x5584c3['focusCycler'])&&_0x1b8726['focusCycler']['chain'](_0x5584c3['focusCycler']));}function to(_0x11e7be,_0x49ba19){_0x11e7be['focusTracker']['remove'](_0x49ba19['element']),_0x11e7be['keystrokes']['stopListening'](_0x49ba19['element']),_0x1dadb7(_0x49ba19)&&_0x11e7be['focusCycler']['unchain'](_0x49ba19['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x3a2c57{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x3d807a?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x311a8f,_0x18059b)=>{_0x18059b['on']('ready',()=>{this['_integrateEditor'](_0x18059b);});});}get['editor'](){if(this['context']instanceof _0x3d807a)return this['context'];{const _0x4d5215=this['context']['editors']['first'];if(!_0x4d5215)throw new _0x311461('documentcompare-no-editor',this);return _0x4d5215;}}['getDiff'](_0x101a91,_0x306f83,_0x1c91fa={'anchor':'main','markDeletions':!0x1}){let _0xb56721,_0x4e5748;const _0x334a12=this['editor'];if('string'==typeof _0x1c91fa['anchor']){const _0x26223b=_0x334a12['model']['document']['getRoot'](_0x1c91fa['anchor']);if(!_0x26223b)throw new _0x311461('documentcompare-compare-no-root',this,{'anchor':_0x1c91fa['anchor']});_0xb56721=_0x26223b,_0x4e5748=_0x334a12['model']['createPositionAt'](_0x26223b,0x0);}else _0xb56721=_0x1c91fa['anchor']['clone'](),_0x4e5748=_0x1c91fa['anchor']['clone']();const _0x2b0bc7=_0x334a12['data']['parse'](_0x101a91,_0xb56721),_0x16a7bc=_0x334a12['data']['parse'](_0x306f83,_0xb56721);return new Mt(_0x2b0bc7,_0x16a7bc,_0x334a12,{'anchor':_0x4e5748,'markDeletions':_0x1c91fa['markDeletions']});}['isMarkedRemoveOperation'](_0x3157c0){return'marker'==_0x3157c0['type']&&_0x3157c0['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x216ddc){_0x216ddc['conversion']['for']('upcast')['add'](_0x30579b=>{_0x30579b['on']('element',(_0x1d4cce,_0x3d0f79,_0x434588)=>{if(_0x3d0f79['modelRange'])for(const _0x3bed0a of _0x3d0f79['modelRange']['getItems']({'shallow':!0x0})){if(_0x3bed0a['is']('$textProxy'))continue;const _0x1bd2eb=_0x3d0f79['viewItem']['getAttribute'](Et);_0x1bd2eb&&_0x434588['writer']['setAttribute'](St,_0x1bd2eb,_0x3bed0a);}},{'priority':'lowest'});}),_0x216ddc['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x18e000,_0x521b9d,_0x4c71d6,_0x25dc2d){this['_editor']=_0x4c71d6,this['_markDeletions']=!!_0x25dc2d['markDeletions'],this['_anchor']=_0x25dc2d['anchor'];const _0x509f43=this['_tokenizeModel'](_0x18e000),_0x55bdc9=this['_tokenizeModel'](_0x521b9d);this['_diffItems']=this['_diffModelTokens'](_0x509f43,_0x55bdc9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x18e000['markers'],_0x521b9d['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x48e015=this['_editor']['model']['document'],_0xc1f762=[];let _0x46ad02=_0x48e015['version'];for(const _0x461c6b of this['_operationsData'])switch(_0x461c6b['type']){case'attribute':{const _0x418348=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']),_0x26968c=_0x418348['getShiftedBy'](_0x461c6b['howMany']),_0x26c8bf=new _0x4c10b6(_0x418348,_0x26968c),_0x3ad112=JSON['parse'](_0x461c6b['oldValue']),_0x101b0b=JSON['parse'](_0x461c6b['newValue']);_0xc1f762['push'](new _0x8aaff2(_0x26c8bf,_0x461c6b['key'],_0x3ad112,_0x101b0b,_0x46ad02++));break;}case'insert':{const _0x5f4817=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']),_0x59df03=this['_makeModelFromTokens'](_0x461c6b['tokens']);_0xc1f762['push'](new _0x151ae0(_0x5f4817,_0x59df03,_0x46ad02++));break;}case'remove':{const _0x1f911d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']),_0x54583c=new _0x48c5ad(_0x48e015['graveyard'],[0x0]);_0xc1f762['push'](new _0x1188fc(_0x1f911d,_0x461c6b['howMany'],_0x54583c,_0x46ad02++));break;}case'rename':{const _0x46b743=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']);_0xc1f762['push'](new _0x1f89c9(_0x46b743,_0x461c6b['oldName'],_0x461c6b['newName'],_0x46ad02++));break;}case'split':{const _0x5ac930=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']),_0xa62ef0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['path']['slice'](0x0,-0x1));_0xa62ef0['offset']++,_0xc1f762['push'](new _0x544b68(_0x5ac930,Number['NEGATIVE_INFINITY'],_0xa62ef0,null,_0x46ad02++));break;}case'merge':{const _0x50a49c=_0x461c6b['path']['slice'](),_0x5cdde7=_0x50a49c['slice'](0x0,-0x1);_0x5cdde7[_0x5cdde7['length']-0x1]++,_0x5cdde7['push'](0x0);const _0xeee805=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5cdde7),_0x5a5b7d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x50a49c),_0x248226=new _0x48c5ad(_0x48e015['graveyard'],[0x0]);_0xc1f762['push'](new _0x802d8(_0xeee805,Number['NEGATIVE_INFINITY'],_0x5a5b7d,_0x248226,_0x46ad02++));break;}case'marker':case'markedRemove':{let _0x46ab66=null;if(_0x461c6b['range']){const _0x44a46d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['range']['start']),_0x5c6e9a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['range']['end']);_0x46ab66=new _0x4c10b6(_0x44a46d,_0x5c6e9a);}const _0x1879f9='marker'==_0x461c6b['type']?_0x461c6b['name']:'$markedRemove:'+_0x9a0de();_0xc1f762['push'](new _0x566b7f(_0x1879f9,null,_0x46ab66,_0x48e015['model']['markers'],!0x0,_0x46ad02++));break;}case'unwrap':{const _0x49588e=_0x461c6b['path']['slice']();_0x49588e['push'](0x0);const _0x2a1f71=_0x461c6b['path']['slice'](),_0x1a0703=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x49588e),_0x2f7bb1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2a1f71),_0x32dba0=new _0x48c5ad(_0x48e015['graveyard'],[0x0]);_0xc1f762['push'](new _0x1188fc(_0x1a0703,_0x461c6b['howMany'],_0x2f7bb1,_0x46ad02++)),_0xc1f762['push'](new _0x1188fc(_0x2f7bb1['getShiftedBy'](_0x461c6b['howMany']),0x1,_0x32dba0,_0x46ad02++));break;}case'wrap':{const _0x5638e6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['range']['start']),_0x1a21b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x461c6b['range']['end']),_0x2fcc6a=_0x461c6b['token']['element']['_clone'](!0x1),_0x57b8f8=_0x461c6b['range']['end']['slice']();_0x57b8f8['push'](0x0);const _0x54f8a7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x57b8f8);_0xc1f762['push'](new _0x151ae0(_0x1a21b3,_0x2fcc6a,_0x46ad02++)),_0xc1f762['push'](new _0x1188fc(_0x5638e6,_0x1a21b3['offset']-_0x5638e6['offset'],_0x54f8a7,_0x46ad02++));break;}}return _0xc1f762;}['_tokenizeModel'](_0x183df6){const _0x7644b9=[],_0x4b99d0=_0x4c10b6['_createIn'](_0x183df6),_0x34c56e=new _0x55e72a({'boundaries':_0x4b99d0});let _0xe2c0e8='',_0x1b5953=null;const _0x5ef8b0=[''],_0x5788e5=new Map();for(const _0x4621a6 of _0x34c56e)if('elementStart'==_0x4621a6['type']||'elementEnd'==_0x4621a6['type']){let _0x5a3394=_0x5ef8b0[0x0];''!==_0xe2c0e8&&(_0x7644b9['push'](...this['_makeTokensFromTextByWords'](_0xe2c0e8,_0x1b5953,_0x5a3394)),_0xe2c0e8='');const _0x57fd3a=_0x4621a6['item'];let _0x4a5622;_0x57fd3a['getAttribute'](St)?_0x4a5622=_0x57fd3a['getAttribute'](St):'elementStart'==_0x4621a6['type']?(_0x4a5622=_(_0x57fd3a),_0x5788e5['set'](_0x57fd3a,_0x4a5622)):_0x4a5622=_0x5788e5['get'](_0x57fd3a);const _0x268b25=this['_getElementCategory'](_0x57fd3a);'solid'==_0x268b25&&('elementStart'==_0x4621a6['type']?(_0x5a3394=_0x4a5622,_0x5ef8b0['unshift'](_0x5a3394)):_0x5ef8b0['shift']());const _0x5cc2b2={'type':'element','element':_0x57fd3a,'elementId':_0x4a5622,'category':_0x268b25,'isStart':'elementStart'==_0x4621a6['type'],'limitId':_0x5a3394};_0x7644b9['push'](_0x5cc2b2);}else''==_0xe2c0e8&&(_0x1b5953=_0x4621a6['previousPosition']['clone']()),_0xe2c0e8+=_0x4621a6['item']['data'];return''!==_0xe2c0e8&&_0x7644b9['push'](...this['_makeTokensFromTextByWords'](_0xe2c0e8,_0x1b5953,_0x5ef8b0[0x0])),_0x7644b9;}['_makeTokensFromTextByWords'](_0x22782c,_0x965fdc,_0x1cf4b6){const _0x120c37=_0x22782c['matchAll'](/(\s)/g),_0x1c4442=Array['from'](_0x120c37)['map'](_0x5aaee0=>_0x5aaee0['index']);_0x1c4442['push'](_0x22782c['length']),0x0==_0x1c4442[0x0]&&_0x1c4442['shift']();const _0x576ab9=[],_0xd03a25=_0x965fdc['parent'];let _0x280fbd=0x0,_0x4b2565=_0x965fdc['offset'];for(let _0xba1b03=0x0;_0xba1b03<_0x1c4442['length'];_0xba1b03++)_0x576ab9['push']({'type':'text','data':_0x22782c['slice'](_0x280fbd,_0x1c4442[_0xba1b03]),'parent':_0xd03a25,'offset':_0x4b2565,'limitId':_0x1cf4b6}),_0x280fbd=_0x1c4442[_0xba1b03],_0x4b2565=_0x965fdc['offset']+_0x1c4442[_0xba1b03];return _0x576ab9;}['_getElementCategory'](_0xde8331){const _0x44696c=this['_editor']['model']['schema'];return _0x44696c['isLimit'](_0xde8331)||_0x44696c['isContent'](_0xde8331)||_0x44696c['isInline'](_0xde8331)?'solid':_0x44696c['isBlock'](_0xde8331)?'block':'container';}['_diffModelTokens'](_0x97b090,_0x42d069){const _0xae99bf=_0x256f2e(_0x97b090,_0x42d069,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0xae99bf);const _0x4ca719=_0xae99bf['flatMap'](_0x93b76a=>{const _0x27a168=_0x93b76a['added']?'added':_0x93b76a['removed']?'removed':'unchanged';return _0x93b76a['value']['map'](_0x35ac62=>({'token':_0x35ac62,'change':_0x27a168}));});let _0x3b13c2=0x0;for(const _0x239b9d of _0x4ca719)'added'!=_0x239b9d['change']&&('unchanged'==_0x239b9d['change']&&(_0x239b9d['before']=_0x97b090[_0x3b13c2]),_0x3b13c2++);return _0x4ca719;}['_handleUnclosedBlockOpeningTags'](_0x3b9575){for(let _0x5de17f=0x0;_0x5de17f<_0x3b9575['length']-0x1;_0x5de17f++)if(_0x3b9575[_0x5de17f]['removed']&&_0x3b9575[_0x5de17f+0x1]['added']){const _0x31af36=this['_findUnclosedBlockOpeningToken'](_0x3b9575[_0x5de17f]['value']);if(null!==_0x31af36){const _0x49fcd5=this['_findUnclosedBlockOpeningToken'](_0x3b9575[_0x5de17f+0x1]['value']),_0x33e822=_0x3b9575[_0x5de17f]['value']['splice'](_0x31af36),_0x5af7a7=_0x3b9575[_0x5de17f+0x1]['value']['splice'](_0x49fcd5),_0x1d2f4b=[_0x5af7a7['shift']()];_0x33e822['shift']();const _0x120d87={'value':_0x33e822,'removed':!0x0},_0x1229ef={'value':_0x5af7a7,'added':!0x0},_0x35177e={'value':_0x1d2f4b};_0x3b9575['splice'](_0x5de17f+0x2,0x0,_0x35177e,_0x120d87,_0x1229ef);}}}['_findUnclosedBlockOpeningToken'](_0x127ce1){let _0x4c5a52=0x0,_0x209ab2=-0x1;for(let _0x461acb=0x0;_0x461acb<_0x127ce1['length'];_0x461acb++){const _0x39e5aa=_0x127ce1[_0x461acb];'element'==_0x39e5aa['type']&&'block'==_0x39e5aa['category']&&(_0x4c5a52+=_0x39e5aa['isStart']?0x1:-0x1,_0x39e5aa['isStart']&&(_0x209ab2=_0x461acb));}return 0x0===_0x4c5a52?null:_0x209ab2;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x208ed0=0x0;_0x208ed0<this['_diffItems']['length'];_0x208ed0++){const _0xe99477=this['_diffItems'][_0x208ed0]['change'],_0x45ce11=[];_0x45ce11['push'](this['_diffItems'][_0x208ed0]);let _0x184837=_0x208ed0+0x1;for(;this['_diffItems'][_0x184837]&&this['_diffItems'][_0x184837]['change']==_0xe99477;)_0x45ce11['push'](this['_diffItems'][_0x184837]),_0x184837++,_0x208ed0++;const _0x352e22=_0x45ce11['map'](_0x3fb4b2=>_0x3fb4b2['token']);if('unchanged'==_0xe99477)_0x45ce11['map'](_0x173d4c=>_0x173d4c['before'])['forEach'](_0x5d7ba7=>this['_traverseOverItem'](_0x5d7ba7));else{if('removed'==_0xe99477){if(this['_markDeletions']){const _0x683530=this['_path']['slice']();_0x352e22['forEach'](_0x4e687f=>this['_traverseOverItem'](_0x4e687f));const _0x2cf513=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x683530,'end':_0x2cf513}});}else this['_handleChanged'](_0x352e22,!0x0,this['_path']['slice']());}else{const _0x26abd4=_0x352e22['filter'](_0x206640=>'element'!=_0x206640['type']||'container'!=_0x206640['category']);this['_handleChanged'](_0x26abd4,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x39dda4=0x0;_0x39dda4<this['_diffItems']['length'];_0x39dda4++){const _0x45b9ff=this['_diffItems'][_0x39dda4]['change'],_0x84c5d3=[];_0x84c5d3['push'](this['_diffItems'][_0x39dda4]);let _0x278898=_0x39dda4+0x1;for(;this['_diffItems'][_0x278898]&&this['_diffItems'][_0x278898]['change']==_0x45b9ff;)_0x84c5d3['push'](this['_diffItems'][_0x278898]),_0x278898++,_0x39dda4++;const _0x499dda=_0x84c5d3['map'](_0x158481=>_0x158481['token']);if('unchanged'==_0x45b9ff){const _0x1dcceb=_0x84c5d3['map'](_0x255ba9=>_0x255ba9['before']);this['_handleUnchanged'](_0x1dcceb,_0x499dda);}else('removed'!=_0x45b9ff||this['_markDeletions'])&&_0x499dda['forEach'](_0x1e1a4e=>{this['_traverseOverItem'](_0x1e1a4e);});}}['_calculateMarkersOperationsData'](_0x575e38,_0x1648c9){const _0x352e55={};for(const [_0xaa7750]of _0x575e38)_0x352e55[_0xaa7750]=null;for(const [_0x250f34,_0x3c7c83]of _0x1648c9)_0x352e55[_0x250f34]=_0x3c7c83;const _0x4f3f8e=Object['entries'](_0x352e55)['map'](([_0x2b7c85,_0x5b6af0])=>({'type':'marker','name':_0x2b7c85,'range':_0x5b6af0?{'start':_0x5b6af0['start']['path']['slice'](),'end':_0x5b6af0['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4f3f8e);}['_handleUnwraps'](){const _0x5e8f9a=new Map(),_0x5a39af=[],_0x52d834=[0x0];let _0x2bb9c8=this['_diffItems']['length']+0x1;for(let _0x2b0c21=this['_diffItems']['length']-0x1;_0x2b0c21>=0x0;_0x2b0c21--){const {token:_0x567b1e,before:_0x12ea4d,change:_0x1c60d8}=this['_diffItems'][_0x2b0c21];if('removed'!=_0x1c60d8&&(_0x2bb9c8=_0x2b0c21),'element'!=_0x567b1e['type']||'container'!=_0x567b1e['category']||'added'==_0x1c60d8)continue;const _0x293617=_0x12ea4d?_0x12ea4d['element']:_0x567b1e['element'];if(_0x567b1e['isStart']){const _0x55e33e=_0x5e8f9a['get'](_0x293617),_0x1dbab3=this['_diffItems'][_0x55e33e];('removed'==_0x1c60d8||'removed'==_0x1dbab3['change'])&&_0x2bb9c8<_0x55e33e&&(this['_operationsData']['push']({'type':'unwrap','path':_0x293617['getPath'](),'howMany':_0x293617['maxOffset']+_0x52d834[0x0]}),_0x52d834['shift'](),_0x52d834[0x0]+=_0x293617['maxOffset']-0x1,_0x5a39af['push'](_0x2b0c21),_0x5a39af['push'](_0x55e33e));}else _0x5e8f9a['set'](_0x293617,_0x2b0c21),_0x52d834['unshift'](0x0);}_0x5a39af['sort']((_0x312bad,_0x1d2318)=>_0x1d2318-_0x312bad),_0x5a39af['forEach'](_0x4e151d=>{const _0x323fa7=this['_diffItems'][_0x4e151d];'removed'==_0x323fa7['change']?this['_diffItems']['splice'](_0x4e151d,0x1):(_0x323fa7['change']='added',delete _0x323fa7['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x566930=[];for(let _0x371857=0x0;_0x371857<this['_diffItems']['length'];_0x371857++){const {change:_0x261505,token:_0x4ec498}=this['_diffItems'][_0x371857];if('added'==_0x261505&&'element'==_0x4ec498['type']&&'container'==_0x4ec498['category']){if(_0x4ec498['isStart'])_0x566930['push'](this['_path']['slice']());else{if(!_0x4ec498['isStart']){const _0x919900=_0x566930['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x919900,'end':this['_path']['slice']()},'token':_0x4ec498}),this['_path'][this['_path']['length']-0x1]=_0x919900[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x261505||this['_markDeletions'])&&this['_traverseOverItem'](_0x4ec498);}}['_handleUnchanged'](_0x427249,_0x5b77a9){for(let _0x9f995=0x0;_0x9f995<_0x427249['length'];_0x9f995++){const _0x4988a6=_0x427249[_0x9f995];if('element'==_0x4988a6['type']&&_0x4988a6['isStart']){const _0xa29b29=_0x5b77a9[_0x9f995];'block'==_0x4988a6['category']&&this['_handleElementRename'](_0x4988a6['element'],_0xa29b29['element'],this['_path']),this['_handleElementAttributeChanges'](_0x4988a6['element'],_0xa29b29['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0xa29b29);}else{if('element'!=_0x4988a6['type']||_0x4988a6['isStart']){if('text'==_0x4988a6['type']){const _0x2bcd5e=this['_path']['slice'](),_0x279b76=[],_0x4f2f23=[];for(;_0x427249[_0x9f995]&&'text'==_0x427249[_0x9f995]['type'];)_0x279b76['push'](_0x427249[_0x9f995]),_0x4f2f23['push'](_0x5b77a9[_0x9f995]),this['_path'][this['_path']['length']-0x1]+=_0x427249[_0x9f995]['data']['length'],_0x9f995++;_0x9f995--,this['_handleTextAttributeChanges'](_0x279b76,_0x4f2f23,_0x2bcd5e);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x2df5de,_0x30c402,_0x1d41d4){const _0x26c6bb=[],_0x425bda=[],_0x48e228=_0x1d41d4['slice']();for(let _0x18a459=0x0;_0x18a459<_0x2df5de['length'];_0x18a459++){const _0x5c5d1a=_0x2df5de[_0x18a459],_0x165613=_0x1d41d4['slice']();if('element'!=_0x5c5d1a['type']||_0x5c5d1a['isStart'])'element'==_0x5c5d1a['type']&&_0x5c5d1a['isStart']?(_0x1d41d4['push'](0x0),_0x30c402||this['_parents']['push'](_0x5c5d1a),_0x425bda['push']({'before':_0x165613,'after':_0x1d41d4['slice'](),'index':_0x18a459})):_0x1d41d4[_0x1d41d4['length']-0x1]+=_0x5c5d1a['data']['length'];else{let _0xac52d9;_0x1d41d4['pop'](),_0x1d41d4[_0x1d41d4['length']-0x1]++,_0xac52d9=_0x30c402?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x425bda['length']?_0x425bda['pop']():_0x26c6bb['push']({'before':_0x165613,'after':_0x1d41d4['slice'](),'index':_0x18a459,'related':_0xac52d9});}}if(_0x425bda['length']!==_0x26c6bb['length'])throw new _0x311461('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x2df5de,'isRemove':_0x30c402});const _0x1c1aa7=[{'after':_0x48e228['slice'](),'index':-0x1},..._0x26c6bb,..._0x425bda,{'before':_0x1d41d4['slice'](),'index':_0x2df5de['length']}];if(_0x30c402){for(let _0x478851=_0x1c1aa7['length']-0x1;_0x478851>=0x1;_0x478851--){const _0xb5d678=_0x1c1aa7[_0x478851-0x1]['after'],_0xee15ac=_0x1c1aa7[_0x478851]['before'],_0x4bd7ae=_0xee15ac[_0xee15ac['length']-0x1]-_0xb5d678[_0xb5d678['length']-0x1];_0x4bd7ae&&(this['_operationsData']['push']({'type':'remove','path':_0xb5d678,'howMany':_0x4bd7ae}),_0xee15ac[_0xee15ac['length']-0x1]-=_0x4bd7ae);}for(const {before:_0x4cc4e3}of _0x26c6bb)this['_operationsData']['push']({'type':'merge','path':_0x4cc4e3});}else for(let _0x10372c=0x0;_0x10372c<_0x1c1aa7['length']-0x1;_0x10372c++){const _0xb4df49=_0x1c1aa7[_0x10372c]['after'],_0x2a1892=_0x1c1aa7[_0x10372c+0x1]['before'],_0x11b37e=_0x1c1aa7[_0x10372c]['index']+0x1,_0x262617=_0x1c1aa7[_0x10372c+0x1]['index'];if(_0x11b37e!==_0x262617&&this['_operationsData']['push']({'type':'insert','path':_0xb4df49,'tokens':_0x2df5de['slice'](_0x11b37e,_0x262617)}),_0x10372c<_0x26c6bb['length']){this['_operationsData']['push']({'type':'split','path':_0x2a1892});const _0x4da489=_0x2df5de[_0x425bda[_0x425bda['length']-0x1-_0x10372c]['index']],_0x2723cc=_0x26c6bb[_0x10372c]['after'],_0x42ed9b=_0x26c6bb[_0x10372c]['related']['element'];this['_handleElementRename'](_0x42ed9b,_0x4da489['element'],_0x2723cc),this['_handleElementAttributeChanges'](_0x42ed9b,_0x4da489['element'],_0x2723cc);}}}['_traverseOverItem'](_0x2d13ed){'element'==_0x2d13ed['type']&&_0x2d13ed['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2d13ed)):'element'!=_0x2d13ed['type']||_0x2d13ed['isStart']?'text'==_0x2d13ed['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2d13ed['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x289089,_0x5e69a1,_0x261bf6){_0x289089['name']!=_0x5e69a1['name']&&this['_operationsData']['push']({'type':'rename','path':_0x261bf6['slice'](),'oldName':_0x289089['name'],'newName':_0x5e69a1['name']});}['_handleElementAttributeChanges'](_0x287501,_0x591346,_0x134210){const _0x4a0088=this['_getAttributeChanges'](_0x287501['getAttributes'](),_0x591346['getAttributes']());for(const _0x509a0a in _0x4a0088){const {oldValue:_0x599908,newValue:_0x12ded6}=_0x4a0088[_0x509a0a];this['_operationsData']['push']({'type':'attribute','path':_0x134210['slice'](),'howMany':0x1,'key':_0x509a0a,'oldValue':_0x599908,'newValue':_0x12ded6});}}['_handleTextAttributeChanges'](_0x905af3,_0x22059e,_0x524777){const _0x5d6e05=this['_operationsData'],_0x1f2e0f=_0x905af3[0x0]['parent'],_0x5dbfec=_0x905af3[0x0]['offset'],_0x4ccc04=_0x22059e[0x0]['parent'],_0x3ca5de=_0x22059e[0x0]['offset'],_0x137ef6=_0x905af3['reduce']((_0x1c0557,_0x5196ec)=>_0x1c0557+_0x5196ec['data']['length'],0x0),_0xfe9f43=this['_getAttrsForOffsets'](_0x1f2e0f,_0x5dbfec,_0x137ef6),_0x3df6c8=this['_getAttrsForOffsets'](_0x4ccc04,_0x3ca5de,_0x137ef6),_0x3f09dc={};for(let _0x5bd780=0x0;_0x5bd780<_0x137ef6;_0x5bd780++){const _0x16d42e=_0xfe9f43[_0x5dbfec+_0x5bd780],_0x8a8c93=_0x3df6c8[_0x3ca5de+_0x5bd780],_0x2fe682=this['_getAttributeChanges'](_0x16d42e,_0x8a8c93);for(const _0x3eadae in _0x3f09dc)_0x2fe682[_0x3eadae]||_0x1550ea(_0x3eadae);for(const _0x4b948c in _0x2fe682){const {oldValue:_0x279525,newValue:_0x1a37b9}=_0x2fe682[_0x4b948c],_0x237d0f=_0x3f09dc[_0x4b948c];_0x237d0f?_0x237d0f['oldValue']==_0x279525&&_0x237d0f['newValue']==_0x1a37b9?_0x237d0f['length']++:(_0x1550ea(_0x4b948c),_0x3f09dc[_0x4b948c]={'oldValue':_0x279525,'newValue':_0x1a37b9,'start':_0x5bd780,'length':0x1}):_0x3f09dc[_0x4b948c]={'oldValue':_0x279525,'newValue':_0x1a37b9,'start':_0x5bd780,'length':0x1};}}for(const _0x453cbc in _0x3f09dc)_0x1550ea(_0x453cbc);function _0x1550ea(_0x2d7998){const _0x12dcb8=_0x3f09dc[_0x2d7998],_0x173ae9=_0x524777['slice']();_0x173ae9[_0x173ae9['length']-0x1]+=_0x12dcb8['start'],_0x5d6e05['push']({'type':'attribute','path':_0x173ae9,'howMany':_0x12dcb8['length'],'key':_0x2d7998,'oldValue':_0x12dcb8['oldValue'],'newValue':_0x12dcb8['newValue']}),delete _0x3f09dc[_0x2d7998];}}['_getAttributeChanges'](_0x15a085,_0xae7cdc){const _0x13e782={};for(const [_0x1b4f72,_0x16539c]of _0x15a085)_0x13e782[_0x1b4f72]={'oldValue':JSON['stringify'](_0x16539c),'newValue':'null'};for(const [_0x3f7cb7,_0x1c0667]of _0xae7cdc){const _0x1453a=JSON['stringify'](_0x1c0667);_0x13e782[_0x3f7cb7]?_0x13e782[_0x3f7cb7]['oldValue']==_0x1453a?delete _0x13e782[_0x3f7cb7]:_0x13e782[_0x3f7cb7]['newValue']=_0x1453a:_0x13e782[_0x3f7cb7]={'oldValue':'null','newValue':_0x1453a};}return delete _0x13e782[St],_0x13e782;}['_getAttrsForOffsets'](_0x370c8e,_0x3d43cb,_0x14571e){const _0x2fff29=new Array(_0x3d43cb+_0x14571e);let _0x308053=_0x370c8e['getChildAtOffset'](_0x3d43cb),_0x234425=_0x308053['startOffset'];for(;_0x308053&&_0x234425<_0x3d43cb+_0x14571e;){const _0x13376a=Array['from'](_0x308053['getAttributes']());_0x2fff29['fill'](_0x13376a,_0x234425,_0x234425+_0x308053['offsetSize']),_0x234425+=_0x308053['offsetSize'],_0x308053=_0x308053['nextSibling'];}return _0x2fff29;}['_getPositionFromAnchorAndPath'](_0x2cdb96,_0x2cb0e8){const _0x3601d5=[..._0x2cdb96['path']['slice'](0x0,-0x1),_0x2cdb96['offset']+_0x2cb0e8[0x0],..._0x2cb0e8['slice'](0x1)];return new _0x48c5ad(_0x2cdb96['root'],_0x3601d5);}['_makeModelFromTokens'](_0x5cdd12){const _0x32c9cb=[];let _0x230cdf=null;for(const _0x217e5c of _0x5cdd12)if('element'!=_0x217e5c['type']||_0x217e5c['isStart']||_0x230cdf!=_0x217e5c['element']){if(!_0x230cdf){if('text'==_0x217e5c['type']){const _0x1a588b=_0x48c5ad['_createAt'](_0x217e5c['parent'],_0x217e5c['offset']),_0x278e98=_0x4c10b6['_createFromPositionAndShift'](_0x1a588b,_0x217e5c['data']['length']),_0x52ec49=Array['from'](_0x278e98['getItems']())['map'](_0x194f08=>new _0x3c8891(_0x194f08['data'],_0x194f08['getAttributes']()));_0x32c9cb['push'](..._0x52ec49);}else{_0x230cdf=_0x217e5c['element'];const _0x1b480a=_0x217e5c['element']['_clone'](!0x0);_0x1b480a['_removeAttribute'](St);for(const _0x59a45b of this['_editor']['model']['createRangeIn'](_0x1b480a)['getItems']())_0x59a45b['is']('element')&&_0x59a45b['_removeAttribute'](St);_0x32c9cb['push'](_0x1b480a);}}}else _0x230cdf=null;return _0x32c9cb;}}function g(_0x17aa33,_0x8cbdbe){return _0x17aa33['type']===_0x8cbdbe['type']&&(_0x17aa33['limitId']===_0x8cbdbe['limitId']&&('text'==_0x17aa33['type']?_0x17aa33['data']==_0x8cbdbe['data']:function(_0x2dca84,_0x3999f0){if(_0x2dca84['isStart']!=_0x3999f0['isStart'])return!0x1;if(_0x2dca84['isStart']&&_0x2dca84['elementId']!=_0x3999f0['elementId'])return!0x1;if(_0x2dca84['category']!=_0x3999f0['category'])return!0x1;if('block'==_0x2dca84['category'])return!0x0;if('container'==_0x2dca84['category']&&_0x2dca84['elementId']!=_0x3999f0['elementId'])return!0x1;return _0x2dca84['element']['name']==_0x3999f0['element']['name'];}(_0x17aa33,_0x8cbdbe)));}function _(_0xd8c217){return k({'name':_0xd8c217['name'],...Object['fromEntries'](_0xd8c217['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};
|
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':_0x52171d=>0x1!=_0x52171d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1396a4=>{const {af:{dictionary:_0x72b500,getPluralForm:_0x3ffe10}}={'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':_0x3a9534=>0x1!=_0x3a9534}};_0x1396a4['af']||={'dictionary':{},'getPluralForm':null},_0x1396a4['af']['dictionary']=Object['assign'](_0x1396a4['af']['dictionary'],_0x72b500),_0x1396a4['af']['getPluralForm']=_0x3ffe10;})(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':_0x874781=>0x0==_0x874781?0x0:0x1==_0x874781?0x1:0x2==_0x874781?0x2:_0x874781%0x64>=0x3&&_0x874781%0x64<=0xa?0x3:_0x874781%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cec9d=>{const {ar:{dictionary:_0x5cd0a9,getPluralForm:_0x293880}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x2082ec=>0x0==_0x2082ec?0x0:0x1==_0x2082ec?0x1:0x2==_0x2082ec?0x2:_0x2082ec%0x64>=0x3&&_0x2082ec%0x64<=0xa?0x3:_0x2082ec%0x64>=0xb?0x4:0x5}};_0x3cec9d['ar']||={'dictionary':{},'getPluralForm':null},_0x3cec9d['ar']['dictionary']=Object['assign'](_0x3cec9d['ar']['dictionary'],_0x5cd0a9),_0x3cec9d['ar']['getPluralForm']=_0x293880;})(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':_0x3c3aab=>0x1!=_0x3c3aab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f7ea4=>{const {ast:{dictionary:_0x9e665b,getPluralForm:_0x29a415}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x41a4ce=>0x1!=_0x41a4ce}};_0x4f7ea4['ast']||={'dictionary':{},'getPluralForm':null},_0x4f7ea4['ast']['dictionary']=Object['assign'](_0x4f7ea4['ast']['dictionary'],_0x9e665b),_0x4f7ea4['ast']['getPluralForm']=_0x29a415;})(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':_0x3e90e6=>0x1!=_0x3e90e6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e3b80=>{const {az:{dictionary:_0x548af0,getPluralForm:_0x59df9c}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x3f3e8a=>0x1!=_0x3f3e8a}};_0x3e3b80['az']||={'dictionary':{},'getPluralForm':null},_0x3e3b80['az']['dictionary']=Object['assign'](_0x3e3b80['az']['dictionary'],_0x548af0),_0x3e3b80['az']['getPluralForm']=_0x59df9c;})(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':_0x4818cd=>_0x4818cd%0xa==0x1&&_0x4818cd%0x64!=0xb?0x0:_0x4818cd%0xa>=0x2&&_0x4818cd%0xa<=0x4&&(_0x4818cd%0x64<0xa||_0x4818cd%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc6452=>{const {be:{dictionary:_0x254e0b,getPluralForm:_0xd46cb6}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4a374d=>_0x4a374d%0xa==0x1&&_0x4a374d%0x64!=0xb?0x0:_0x4a374d%0xa>=0x2&&_0x4a374d%0xa<=0x4&&(_0x4a374d%0x64<0xa||_0x4a374d%0x64>=0x14)?0x1:0x2}};_0xc6452['be']||={'dictionary':{},'getPluralForm':null},_0xc6452['be']['dictionary']=Object['assign'](_0xc6452['be']['dictionary'],_0x254e0b),_0xc6452['be']['getPluralForm']=_0xd46cb6;})(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':_0x5a6a9c=>0x1!=_0x5a6a9c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bb2ed=>{const {bg:{dictionary:_0x2dee46,getPluralForm:_0x2d8a7d}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?','Today':'Днес','Yesterday':'Вчера','Last':'Последни','Monday':'Понеделник','Tuesday':'Вторник','Wednesday':'Сряда','Thursday':'Четвъртък','Friday':'Петък','Saturday':'Събота','Sunday':'Неделя'},'getPluralForm':_0x2eaee6=>0x1!=_0x2eaee6}};_0x4bb2ed['bg']||={'dictionary':{},'getPluralForm':null},_0x4bb2ed['bg']['dictionary']=Object['assign'](_0x4bb2ed['bg']['dictionary'],_0x2dee46),_0x4bb2ed['bg']['getPluralForm']=_0x2d8a7d;})(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':_0x4b1382=>0x1!=_0x4b1382}};
|