@ckeditor/ckeditor5-collaboration-core 48.4.0-alpha.2 → 48.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ContextPlugin as _0x1c6a95,Editor as _0x27fa3e,Plugin as _0x5e14a4}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x9e3258,Collection as _0x15a4b4,FocusTracker as _0x28ca57,KeystrokeHandler as _0x4c3665,first as _0x2320e1,toArray as _0x33438b,uid as _0x268c42}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4bbe2f,DropdownButtonView as _0x57bd55,FocusCycler as _0x108e75,IconView as _0x5f2985,View as _0x2d8650,isViewWithFocusCycler as _0x4039fc}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x12aa15,IconCheck as _0x4500d8,IconNotification as _0x2f927b}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x3c5a3a,toWidget as _0x233b65}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x33762a}from'luxon';import{AttributeOperation as _0x597333,InsertOperation as _0x32923b,MarkerOperation as _0x31e822,MergeOperation as _0x3a3066,ModelPosition as _0x44c66f,ModelRange as _0x1f7020,ModelText as _0x96df45,ModelTreeWalker as _0x542f34,MoveOperation as _0x1fba41,RenameOperation as _0x2a8fa9,SplitOperation as _0x2a9d67}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x1b337b}from'diff';var B=class extends _0x1c6a95{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x4fc50b,_0x39eb48){let _0xdb86f8;if(_0x39eb48||(_0x39eb48=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x39eb48?_0xdb86f8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xdb86f8=this['context']['editors']['find'](_0x3710ea=>_0x3710ea['config']['get']('collaboration.channelId')==_0x39eb48)),!_0xdb86f8)throw new _0x9e3258('permissions-set-permissions-invalid-channel-id',null);const _0x4193b7=_0xdb86f8['plugins'],_0x26b004=_0x4193b7['has']('CommentsRepository')?_0x4193b7['get']('CommentsRepository'):void 0x0,_0x4df292=_0x4193b7['has']('CommentsOnly')&&_0x4193b7['get']('CommentsOnly'),_0x4aa301=_0x4fc50b['includes']('document:write'),_0x5bce31=_0x4fc50b['includes']('comment:modify_all'),_0x5ec469=_0x4fc50b['includes']('comment:admin'),_0x5339cf=_0x4fc50b['includes']('comment:write'),_0x4e918a=_0x5339cf||_0x5ec469,_0x301ff9=_0x4e918a||_0x5bce31,_0x1cc64f=_0x4aa301||_0x4e918a;if(_0x4df292&&(_0x4df292['isEnabled']=!_0x4aa301&&_0x301ff9),_0xdb86f8 instanceof _0x27fa3e&&(_0x4aa301||_0x301ff9&&_0x26b004?_0xdb86f8['disableReadOnlyMode']('no-permissions'):_0xdb86f8['enableReadOnlyMode']('no-permissions')),_0x26b004){_0x26b004['setPermissions']({'admin':_0x5ec469,'modifyAll':_0x5bce31,'write':_0x5339cf,'resolve':_0x1cc64f},_0x39eb48);const _0x3d181b=_0xdb86f8 instanceof _0x27fa3e&&_0xdb86f8['commands']['get']('addCommentThread');_0x3d181b&&(_0x4e918a?_0x3d181b['clearForceDisabled']('noPermissions'):_0x3d181b['forceDisabled']('noPermissions'));}}};function D(_0x23cb72,_0x594cc8){const t=_0x23cb72['t'];switch(_0x594cc8){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var $=class extends _0x1c6a95{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0x471a01){super(_0x471a01),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x15a4b4(),this['_locale']=_0x471a01['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}init(){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x24ff61,name:_0x5bc532,..._0xe294b8}){if(!_0x24ff61||'string'!=typeof _0x24ff61)throw new _0x9e3258('users-add-invalid-id');if(this['users']['has'](_0x24ff61))throw new _0x9e3258('users-add-duplicated-id',null,{'id':_0x24ff61});const _0x288d90=this['context']['config']['get']('users.getInitialsCallback'),_0x7bf976={..._0xe294b8,'id':_0x24ff61,'name':R(this['_locale'],_0x5bc532),'color':this['_getNextColor']()};_0x7bf976['name']=R(this['_locale'],_0x7bf976['name']);const _0x283c8b=new L(_0x7bf976,_0x288d90);return this['users']['add'](_0x283c8b),_0x283c8b;}getUser(_0x2f3498){return this['users']['get'](_0x2f3498);}['useAnonymousUser'](){const _0x57f295=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x57f295);}['defineMe'](_0x238bd7){if(this['_myId'])throw new _0x9e3258('users-me-already-defined',null);const _0x3fce2e=this['getUser'](_0x238bd7);if(!_0x3fce2e)throw new _0x9e3258('users-me-missing-user',null);this['_myId']=_0x238bd7,_0x3fce2e['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x2cc660=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2cc660&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a132d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a132d,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x48c14b,_0x37f240){this['id']=_0x48c14b['id'],this['color']=_0x48c14b['color'],this['name']=_0x48c14b['name'],this['initials']=_0x37f240?_0x37f240(this['name']):this['_computeInitials'](),this['avatar']=_0x48c14b['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x58a8e7=this['name']['split']('\x20')['filter'](_0x44e5d1=>/^[\p{Letter}]/u['test'](_0x44e5d1));return 0x1===_0x58a8e7['length']?this['_getInitial'](_0x58a8e7[0x0]):0x0===_0x58a8e7['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x58a8e7[0x0])+this['_getInitial'](_0x58a8e7[_0x58a8e7['length']-0x1]);}_getInitial(_0x2e56c7){return String['fromCodePoint'](_0x2e56c7['codePointAt'](0x0))['toUpperCase']();}};function R(_0x46d409,_0x3f1324=''){return''==(_0x3f1324=_0x3f1324['trim']())?D(_0x46d409,'Anonymous'):_0x3f1324;}var F=class{['_id'];constructor(_0x3e7d28){this['_id']=_0x3e7d28;}get['id'](){return this['_id'];}getBackgroundColorClass(){return'ck-user__bg-color--'+this['id'];}getSelectionClass(){return'ck-user__selection--'+this['id'];}getMarkerClass(){return'ck-user__marker--'+this['id'];}getColorVariable(){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}getColorAlphaVariable(){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x2d8650{['name'];notificationView;constructor(_0x14cd8c,_0x47c6a4,_0x18845d,_0x502b8a){super(_0x14cd8c),this['name']=_0x47c6a4['name'],this['notificationView']=null;const _0x5d6b2a=['ck','ck-user'],_0x40a238=['ck','ck-user__img'];_0x47c6a4['isAnonymous']&&_0x40a238['push']('ck-user__anonymous'),!_0x47c6a4['isAnonymous']&&_0x47c6a4['isMe']&&_0x5d6b2a['push']('ck-user_me'),(_0x47c6a4['avatar']||_0x502b8a)&&_0x40a238['push']('ck-user__avatar');let _0x6011af=null;if(_0x502b8a&&(_0x6011af=new _0x5f2985(),_0x6011af['content']=_0x502b8a,_0x6011af['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x18845d){const _0x3464c0=new _0x5f2985();_0x3464c0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3464c0['content']=_0x2f927b,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x18845d},'children':[_0x3464c0]};}const _0x16f9fe=[{'tag':'div','attributes':{'class':_0x40a238,'style':{'background-image':_0x47c6a4['avatar']&&!_0x502b8a?'url(\x27'+_0x47c6a4['avatar']+'\x27)':''}},'children':_0x6011af?[_0x6011af]:[]},{'tag':'div','attributes':{'class':_0x47c6a4['avatar']||_0x502b8a?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x47c6a4['name']},'children':[{'text':_0x47c6a4['initials']}]}];this['notificationView']&&_0x16f9fe['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5d6b2a,'data-user-id':_0x47c6a4['id']},'children':_0x16f9fe});}},U=class extends _0x2d8650{['children'];['iconView'];['labelView'];constructor(_0x5b1e92){super(_0x5b1e92);const _0x132e63=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x132e63['to']('class'),_0x132e63['to']('iconPosition',_0x4b7ffe=>'right'===_0x4b7ffe?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x132e63['to']('tooltip'),'data-cke-tooltip-position':_0x132e63['to']('tooltipPosition'),'data-cke-tooltip-class':_0x132e63['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x2b6176,_0x29b011,_0x540879,_0x300598)=>{_0x540879&&!_0x300598?this['children']['add'](this['iconView'],0x0):!_0x540879&&_0x300598&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x5ab0f5=new _0x5f2985();return _0x5ab0f5['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5ab0f5['bind']('content')['to'](this,'icon'),_0x5ab0f5;}_createLabelView(){const _0x24fd3b=new _0x2d8650(this['locale']),_0x371c4f=this['bindTemplate'];return _0x24fd3b['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x371c4f['to']('label')}]}),_0x24fd3b;}},z=class extends _0x2d8650{['id'];constructor(_0xfe74dd,_0x19a5a8){super(_0xfe74dd),this['id']='ck-aria-description-'+_0x268c42(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x19a5a8}]});}},W=class extends _0x4bbe2f{['render'](){super['render'](),j(this);}},Y=class extends _0x57bd55{['render'](){super['render'](),j(this);}};function j(_0xae825b){_0xae825b['listenTo'](_0xae825b['element'],'mousedown',(_0x2bc2b2,_0x45508a)=>{_0x45508a['stopPropagation'](),_0x45508a['preventDefault']();}),_0xae825b['listenTo'](_0xae825b['element'],'mouseup',()=>{_0xae825b['element']['focus']();});}function J(_0x322cdc){const _0x260e4a=_0x322cdc['split'](':');return{'group':_0x260e4a[0x0],'type':_0x260e4a[0x1],'subType':_0x260e4a['length']>=0x5?_0x260e4a[0x2]:null,'id':_0x260e4a['length']<0x5?_0x260e4a[0x2]:_0x260e4a[0x3],'authorId':_0x260e4a['length']<0x5?_0x260e4a[0x3]:_0x260e4a[0x4],'markerCount':0x6==_0x260e4a['length']?_0x260e4a[0x5]:null};}function G(_0x4600bc,_0x3c896c){const _0x25285c=_0x4600bc['end']['nodeBefore'];if(_0x25285c&&_0x25285c['is']('element')&&_0x3c896c['schema']['isBlock'](_0x25285c)&&!_0x3c896c['schema']['isObject'](_0x25285c)){const _0x407017=_0x3c896c['createPositionAt'](_0x25285c,'end');return _0x3c896c['createRange'](_0x4600bc['start'],_0x407017);}return _0x4600bc;}var K=class extends _0x5e14a4{afterInit(){const _0x2c36b3=this['editor'];_0x2c36b3['plugins']['has']('AlignmentEditing')&&_0x2c36b3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x5e14a4{afterInit(){const _0xdaa1fd=this['editor'],_0x16f326=_0xdaa1fd['plugins']['get']('SuggestionsConversion');for(const _0x5daffe of q){if(!_0xdaa1fd['plugins']['has'](_0x5daffe))continue;const _0x1107b8=_0x5daffe['slice'](0x0,-0x7)['toLowerCase']();_0x16f326['registerInlineAttribute'](_0x1107b8);}}},Q=class extends _0x5e14a4{afterInit(){const _0x3befe4=this['editor'],_0x4d796f=_0x3befe4['plugins']['get']('SuggestionsConversion');_0x3befe4['plugins']['has']('BookmarkEditing')&&_0x4d796f['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x5e14a4{afterInit(){const _0x3bbfc2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x1acc36,commandName:_0x52ade2}of X)this['editor']['plugins']['has'](_0x1acc36)&&_0x3bbfc2['registerInlineAttribute'](_0x52ade2);}},et=class extends _0x5e14a4{afterInit(){const {editor:_0x57f85e}=this;if(!_0x57f85e['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x3956cd=_0x57f85e['plugins']['get']('SuggestionsConversion');_0x3956cd['registerBlockAttribute']('footnotesListStyle'),_0x3956cd['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x5e14a4{afterInit(){const _0x60442f=this['editor'];if(!_0x60442f['plugins']['has']('GeneralHtmlSupport')||!_0x60442f['plugins']['has']('DataSchema'))return;const _0x417df6=_0x60442f['plugins']['get']('SuggestionsConversion'),_0x58a5fd=_0x60442f['plugins']['get']('GeneralHtmlSupport'),_0x4e0f27=_0x60442f['plugins']['get']('DataSchema');for(const _0x34e882 of _0x4e0f27['getDefinitionsForView'](/.*/,!0x1)){const _0x347a71=_0x58a5fd['getGhsAttributeNameForElement'](_0x34e882['view']);!_0x34e882['isInline']||_0x34e882['isObject']||'appliesToBlock'in _0x34e882&&_0x34e882['appliesToBlock']?_0x417df6['registerBlockAttribute'](_0x347a71):_0x417df6['registerInlineAttribute'](_0x347a71);}}},it=class extends _0x5e14a4{afterInit(){const _0x4620c4=this['editor'];_0x4620c4['plugins']['has']('HighlightEditing')&&_0x4620c4['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x5e14a4{afterInit(){const _0x2ef8f5=this['editor'];_0x2ef8f5['plugins']['has']('HtmlEmbed')&&_0x2ef8f5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x5e14a4{afterInit(){const _0x1a2995=this['editor'];if(!_0x1a2995['plugins']['has']('ImageEditing'))return;const _0x3148c9=_0x1a2995['plugins']['get']('SuggestionsConversion');_0x3148c9['registerBlockAttribute']('src'),_0x1a2995['plugins']['has']('ImageResize')&&_0x3148c9['registerBlockAttribute']('resizedWidth'),_0x1a2995['plugins']['has']('ImageTextAlternativeEditing')&&_0x3148c9['registerBlockAttribute']('alt'),_0x1a2995['plugins']['has']('PictureEditing')&&_0x3148c9['registerBlockAttribute']('sources'),_0x1a2995['plugins']['has']('ImageSizeAttributes')&&(_0x3148c9['registerBlockAttribute']('width'),_0x3148c9['registerBlockAttribute']('height'));}},rt=class extends _0x5e14a4{afterInit(){const _0x1bc0b3=this['editor'],_0x533448=_0x1bc0b3['plugins']['get']('SuggestionsConversion');_0x1bc0b3['plugins']['has']('IndentBlock')&&(_0x533448['registerBlockAttribute']('blockIndent'),_0x1bc0b3['plugins']['has']('ListEditing')&&(_0x533448['registerBlockAttribute']('blockIndentList'),_0x533448['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x5e14a4{afterInit(){const _0x6598a0=this['editor'];_0x6598a0['plugins']['has']('LineHeight')&&_0x6598a0['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x5e14a4{afterInit(){const _0x13da50=this['editor'];if(!_0x13da50['plugins']['has']('LinkEditing'))return;const _0x4b1654=_0x13da50['plugins']['get']('SuggestionsConversion'),_0x2a3a83=_0x13da50['commands']['get']('link');_0x4b1654['registerInlineAttribute']('linkHref');for(const _0x412eb5 of _0x2a3a83['manualDecorators'])_0x4b1654['registerInlineAttribute'](_0x412eb5['id']);}},lt=class extends _0x5e14a4{afterInit(){const _0x3646a1=this['editor'];if(!_0x3646a1['plugins']['has']('ListEditing'))return;const _0x18655a=_0x3646a1['plugins']['get']('SuggestionsConversion'),_0x158821=_0x3646a1['plugins']['has']('TodoListEditing');_0x18655a['registerBlockAttribute']('listItemId'),_0x18655a['registerBlockAttribute']('listType'),_0x18655a['registerBlockAttribute']('listIndent'),_0x158821&&_0x18655a['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x5e14a4{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4e4f94=this['editor']['config']['get']('list.properties'),_0x29b910=this['editor']['plugins']['get']('SuggestionsConversion');_0x4e4f94['styles']&&_0x29b910['registerBlockAttribute']('listStyle'),_0x4e4f94['reversed']&&_0x29b910['registerBlockAttribute']('listReversed'),_0x4e4f94['startIndex']&&_0x29b910['registerBlockAttribute']('listStart');}},ut=class extends _0x5e14a4{afterInit(){const _0x2f8e79=this['editor'],_0x22bdbc=_0x2f8e79['plugins']['get']('SuggestionsConversion');_0x2f8e79['plugins']['has']('MultiLevelList')&&_0x22bdbc['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x5e14a4{afterInit(){const _0x1e0c21=this['editor'];if(!_0x1e0c21['plugins']['has']('TableEditing'))return;const _0x3aa5cb=_0x1e0c21['plugins']['get']('SuggestionsConversion');_0x3aa5cb['registerBlockAttribute']('headingRows'),_0x3aa5cb['registerBlockAttribute']('headingColumns');}},gt=class extends _0x5e14a4{afterInit(){const {plugins:_0x22aafb}=this['editor'];if(!_0x22aafb['has']('TablePropertiesEditing'))return;const _0x30932f=_0x22aafb['get']('SuggestionsConversion');for(const _0x972bed of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x30932f['registerBlockAttribute'](_0x972bed);}},ft=class extends _0x5e14a4{afterInit(){const _0x38d0a0=this['editor'],_0x5a15c6=_0x38d0a0['plugins']['get']('SuggestionsConversion');_0x38d0a0['plugins']['has']('TableLayout')&&_0x5a15c6['registerBlockAttribute']('tableType');}},mt=class extends _0x5e14a4{afterInit(){const _0x4f03d9=this['editor'],_0x158206=this['editor']['plugins']['get']('SuggestionsConversion');_0x4f03d9['plugins']['has']('Uploadcare')&&_0x4f03d9['plugins']['has']('UploadcareImageEdit')&&_0x158206['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x5e14a4{afterInit(){const _0x1457c5=this['editor'];if(!_0x1457c5['plugins']['has']('ShiftEnter'))return;const _0x16fea7=_0x1457c5['plugins']['get']('SuggestionsConversion'),_0x5e1c32=(_0x1cc4e8,_0x1150ed,_0x46c732,_0x2cb722)=>{if(_0x2cb722&&!_0x46c732['options']['showSuggestionHighlights'])return;if(!_0x46c732['consumable']['test'](_0x1150ed['markerRange'],_0x1cc4e8['name']))return;const _0x14670e=_0x1457c5['model'];for(const _0x368f73 of _0x1150ed['markerRange']['getItems']()){if(!_0x368f73['is']('element','softBreak'))continue;const _0xeccfb3='deletion'==_0x1150ed['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4708ba,authorId:_0x469d1e}=J(_0x1150ed['markerName']),_0x347473=_0x46c732['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xeccfb3,'data-suggestion':_0x4708ba,'data-author-id':_0x469d1e}),_0x53e4d1=_0x46c732['mapper']['toViewPosition'](_0x14670e['createPositionBefore'](_0x368f73));!_0x2cb722&&_0x16fea7['_activeMarkers']['includes'](_0x1150ed['markerName'])&&_0x46c732['writer']['addClass']('ck-suggestion-marker--active',_0x347473),_0x46c732['writer']['insert'](_0x53e4d1,_0x347473),_0x46c732['mapper']['bindElementToMarker'](_0x347473,_0x1150ed['markerName']);}};_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2bf4da,_0x1a2a86,_0x3be815)=>{_0x5e1c32(_0x2bf4da,_0x1a2a86,_0x3be815,!0x1);},{'priority':'high'}),_0x1457c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x8a72a0,_0x25f9d6,_0x198fac)=>{_0x5e1c32(_0x8a72a0,_0x25f9d6,_0x198fac,!0x1);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xdcfd61,_0xc9d4aa,_0x47947a)=>{_0x5e1c32(_0xdcfd61,_0xc9d4aa,_0x47947a,!0x0);},{'priority':'high'}),_0x1457c5['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x282fad,_0x151d58,_0x17b625)=>{_0x5e1c32(_0x282fad,_0x151d58,_0x17b625,!0x0);},{'priority':'high'});}},kt=class extends _0x5e14a4{afterInit(){const _0x3d62b2=this['editor'];if(!_0x3d62b2['plugins']['has']('MediaEmbedEditing'))return;const _0x118aff=_0x3d62b2['plugins']['get']('SuggestionsConversion');_0x3d62b2['plugins']['has']('MediaEmbedResizeEditing')&&_0x118aff['registerBlockAttribute']('resizedWidth'),_0x3d62b2['plugins']['has']('MediaEmbedStyleEditing')&&_0x118aff['registerBlockAttribute']('mediaStyle'),_0x3d62b2['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0xe9fbd9,{writer:_0x5e6cd9,options:_0xfd4c6d})=>{if(_0xfd4c6d['showSuggestionHighlights'])return _0x5e6cd9['createEmptyElement']('div');},'converterPriority':'high'}),_0x3d62b2['data']['downcastDispatcher']['on']('attribute:url:media',(_0x46b89e,_0x261a45,_0x1f50dc)=>{_0x1f50dc['options']['showSuggestionHighlights']&&_0x46b89e['stop']();},{'priority':'high'});}},yt=class extends _0x5e14a4{afterInit(){const _0x125fc9=this['editor'];if(!_0x125fc9['plugins']['has']('Table'))return;_0x125fc9['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x134939,_0x4155de,_0x1af962)=>{((_0x453e79,_0x44d168,_0x3cd94d)=>{if(!_0x3cd94d['options']['showSuggestionHighlights'])return;const _0x2d4749=_0x44d168['item'];if(!_0x2d4749||!_0x2d4749['is']('element','tableCell'))return;const _0x55cd6e=_0x3cd94d['mapper']['toViewElement'](_0x2d4749);if(_0x55cd6e){const {id:_0x1288e3,authorId:_0x37d8da}=J(_0x44d168['markerName']);_0x3c5a3a(_0x55cd6e,_0x3cd94d['writer'],(_0x26ff64,_0x944b35,_0x25067b)=>{_0x25067b['addClass'](_0x33438b(_0x944b35['classes']),_0x26ff64),_0x25067b['setAttribute']('data-suggestion',_0x1288e3,_0x26ff64),_0x25067b['setAttribute']('data-author-id',_0x37d8da,_0x26ff64);});}})(0x0,_0x4155de,_0x1af962);},{'priority':'highest'});}},bt=class extends _0x5e14a4{afterInit(){const _0x4a3071=this['editor'];_0x4a3071['plugins']['has']('HorizontalLineEditing')&&_0x4a3071['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x53b3c3,{writer:_0x2e01d8,options:_0x3d2b86})=>{if(!_0x3d2b86['showSuggestionHighlights'])return null;const _0x1b5292=_0x2e01d8['createContainerElement']('div'),_0x1381d3=_0x2e01d8['createEmptyElement']('hr');return _0x2e01d8['addClass']('ck-horizontal-line',_0x1b5292),_0x2e01d8['insert'](_0x2e01d8['createPositionAt'](_0x1b5292,0x0),_0x1381d3),_0x1b5292;},'converterPriority':'high'});}},wt=class extends _0x5e14a4{afterInit(){const {plugins:_0x122a9e,model:_0x41e6ed}=this['editor'];if(!_0x122a9e['has']('TableCellPropertiesEditing'))return;const _0x22efad=_0x122a9e['get']('SuggestionsConversion');for(const _0x4ccb5d of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x22efad['registerBlockAttribute'](_0x4ccb5d);_0x41e6ed['schema']['checkAttribute']('tableCell','tableCellType')&&_0x22efad['registerBlockAttribute']('tableCellType');}},vt=class extends _0x5e14a4{afterInit(){const _0x2b5355=this['editor'];_0x2b5355['plugins']['has']('TableEditing')&&_0x2b5355['config']['get']('table.enableFooters')&&_0x2b5355['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x5e14a4{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4ee326=this['editor'],_0x2b1dec=(_0x545941,_0x3bf89c,_0x352af5)=>{const {id:_0x58fbe0,authorId:_0x3cad68,type:_0x3c41aa,subType:_0x182111}=J(_0x545941['markerName']),_0x4445d4=['ck-suggestion-marker',this['_getClassName'](_0x3c41aa,_0x182111)];let _0x1cfb02=0xbb8;return _0x352af5||this['_activeMarkers']['includes'](_0x545941['markerName'])&&(_0x4445d4['push']('ck-suggestion-marker--active'),_0x1cfb02=0xbc2),'deletion'==_0x3c41aa&&(_0x1cfb02+=0x5),{'classes':_0x4445d4,'attributes':{'data-suggestion':_0x58fbe0,'data-author-id':_0x3cad68},'priority':_0x1cfb02};};_0x4ee326['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x468e53,_0x16c4a7)=>_0x2b1dec(_0x468e53,0x0,!0x1)}),_0x4ee326['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x15f15d,_0x3d4c2d)=>_0x2b1dec(_0x15f15d,0x0,!0x0)}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x5cb625=>{_0x5cb625['on']('addMarker:suggestion',(_0x151cf2,_0x3458ad,_0x1f6933)=>{if(!_0x1f6933['options']['showSuggestionHighlights'])return;const _0x4e4acb=_0x3458ad['item'];if(!_0x4e4acb)return;const _0x246e4b=_0x1f6933['mapper']['toViewElement'](_0x4e4acb);_0x4ee326['model']['schema']['isObject'](_0x4e4acb)&&_0x246e4b&&!_0x246e4b['getCustomProperty']('widget')&&_0x246e4b['is']('containerElement')&&_0x233b65(_0x246e4b,_0x1f6933['writer']);},{'priority':'high'});});const _0x36126d=(_0x4f49dd,_0x5df77c,_0x404aee,_0x4afa56,_0x34aa41)=>{if(_0x4afa56&&!_0x404aee['options']['showSuggestionHighlights'])return;if(!_0x5df77c['item'])return;const {id:_0x5b6e0e,authorId:_0x3970ac,subType:_0x1e5e7c}=J(_0x5df77c['markerName']);if(_0x34aa41){const _0x3624b7=_0x1e5e7c['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3624b7))return;}if(_0x5df77c['item']['is']('selection'))return void _0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);const _0x29873d=_0x404aee['mapper']['toViewElement'](_0x5df77c['item']);if(_0x5df77c['item']['is']('element')&&_0x4ee326['model']['schema']['isBlock'](_0x5df77c['item'])&&!_0x29873d['getCustomProperty']('addHighlight')){_0x404aee['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x29873d),_0x404aee['writer']['setAttribute']('data-suggestion',_0x5b6e0e,_0x29873d),_0x404aee['writer']['setAttribute']('data-author-id',_0x3970ac,_0x29873d),_0x404aee['mapper']['bindElementToMarker'](_0x29873d,_0x5df77c['markerName']),_0x4afa56||(this['_activeMarkers']['includes'](_0x5df77c['markerName'])?_0x404aee['writer']['addClass']('ck-suggestion-marker--active',_0x29873d):_0x404aee['writer']['removeClass']('ck-suggestion-marker--active',_0x29873d));for(const _0x229540 of _0x4ee326['model']['createRangeIn'](_0x5df77c['item'])['getItems']())_0x404aee['consumable']['consume'](_0x229540,_0x4f49dd['name']);_0x404aee['consumable']['consume'](_0x5df77c['item'],_0x4f49dd['name']);}},_0x2804a3=(_0x1b7e73,_0x47ace9,_0x4b178c,_0xe2a197)=>{const _0x338022=_0x4b178c['mapper']['markerNameToElements'](_0x47ace9['markerName']);if(_0x338022){if(_0xe2a197){const {subType:_0x41d107}=J(_0x47ace9['markerName']),_0x4daaed=_0x41d107['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4daaed))return;}for(const _0x5bbd32 of _0x338022)_0x5bbd32['getCustomProperty']('addHighlight')||(_0x4b178c['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-suggestion',_0x5bbd32),_0x4b178c['writer']['removeAttribute']('data-author-id',_0x5bbd32),_0x4b178c['mapper']['unbindElementFromMarkerName'](_0x5bbd32,_0x47ace9['markerName']));}};_0x4ee326['conversion']['for']('editingDowncast')['add'](_0xa1e1f7=>{_0xa1e1f7['on']('addMarker:suggestion:formatBlock',(_0x3c7b8f,_0xf02323,_0x29b7da)=>{_0x36126d(_0x3c7b8f,_0xf02323,_0x29b7da,!0x1,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x32e773=>{_0x32e773['on']('addMarker:suggestion:attribute',(_0x1356c6,_0x4d22f7,_0x1c896a)=>{_0x36126d(_0x1356c6,_0x4d22f7,_0x1c896a,!0x1,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x37ffc3=>{_0x37ffc3['on']('removeMarker:suggestion:formatBlock',(_0x4ccaa2,_0x2b8261,_0x4dddec)=>{_0x2804a3(0x0,_0x2b8261,_0x4dddec,!0x1);},{'priority':'high'});}),_0x4ee326['conversion']['for']('editingDowncast')['add'](_0x23ad66=>{_0x23ad66['on']('removeMarker:suggestion:attribute',(_0x3c34a2,_0xc62b,_0x3e1fb2)=>{_0x2804a3(0x0,_0xc62b,_0x3e1fb2,!0x0);},{'priority':'high'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x4aec79=>{_0x4aec79['on']('addMarker:suggestion:formatBlock',(_0x26ec40,_0x22f155,_0x281c62)=>{_0x36126d(_0x26ec40,_0x22f155,_0x281c62,!0x0,!0x1);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['add'](_0x3739ee=>{_0x3739ee['on']('addMarker:suggestion:attribute',(_0xeece8d,_0x1a1c2e,_0x302b95)=>{_0x36126d(_0xeece8d,_0x1a1c2e,_0x302b95,!0x0,!0x0);},{'priority':'highest'});}),_0x4ee326['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4fa582,_0x3f142b)=>_0x3f142b['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x4fa582['substr'](0xb)}});const _0x1fa364=(_0x5a3160,_0x49ccf7,_0x109827,_0x139d51,_0x5cc3b8)=>{if(_0x139d51&&!_0x109827['options']['showSuggestionHighlights'])return;if(!_0x109827['consumable']['test'](_0x49ccf7['markerRange'],_0x5a3160['name']))return;const _0x4b6e9d=this['_activeMarkers'],_0x331d45=_0x49ccf7['markerRange']['getWalker'](),_0x57a742=_0x49ccf7['markerRange']['start'],_0x3a0e33=_0x4ee326['model']['schema'];let _0x50cc8a=null,_0x25bd81=null,_0x1ca8a2=!0x1,_0x2d4004=!0x1;for(const _0x1c8add of _0x331d45){const _0x2edb15=_0x1c8add['item'];_0x1ca8a2=_0x1ca8a2||_0x3a0e33['isContent'](_0x2edb15);const _0x58855b=_0x109827['mapper']['toViewElement'](_0x2edb15);if(_0x58855b&&_0x58855b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1c8add['type']&&(_0x3a0e33['isBlock'](_0x2edb15)&&!_0x3a0e33['isLimit'](_0x2edb15)&&(_0x2edb15['nextSibling']||_0x57a742['isAtEnd']?_0x50cc8a&&_0x50cc8a['parent']==_0x2edb15||(_0x50cc8a=_0x2edb15,_0x5a1c2b(_0x1c8add['previousPosition']),_0x2d4004=!0x0):_0x25bd81=_0x25bd81||_0x1c8add['previousPosition']));}function _0x5a1c2b(_0x41afea){const {id:_0x373545,authorId:_0x305dc6}=J(_0x49ccf7['markerName']),_0x7d26ef=_0x109827['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5cc3b8,'data-suggestion':_0x373545,'data-author-id':_0x305dc6}),_0xb12fb5=_0x109827['mapper']['toViewPosition'](_0x41afea);!_0x139d51&&_0x4b6e9d['includes'](_0x49ccf7['markerName'])&&_0x109827['writer']['addClass']('ck-suggestion-marker--active',_0x7d26ef),_0x109827['writer']['insert'](_0xb12fb5,_0x7d26ef),_0x109827['mapper']['bindElementToMarker'](_0x7d26ef,_0x49ccf7['markerName']);}_0x1ca8a2||_0x2d4004||!_0x25bd81||_0x5a1c2b(_0x25bd81);};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3d8fa0,_0x44fef8,_0xc18491)=>{_0x1fa364(_0x3d8fa0,_0x44fef8,_0xc18491,!0x1,'merge');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x57adfd,_0x2178cd,_0x450d0f)=>{_0x1fa364(_0x57adfd,_0x2178cd,_0x450d0f,!0x0,'merge');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xf4ffbb,_0x216964,_0x547dff)=>{_0x1fa364(_0xf4ffbb,_0x216964,_0x547dff,!0x1,'split');},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x379aa0,_0x492581,_0x8b6307)=>{_0x1fa364(_0x379aa0,_0x492581,_0x8b6307,!0x0,'split');},{'priority':'high'}),_0x4ee326['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3351b7,_0x140a3f,_0x24b560)=>{((_0x4d6595,_0x599715,_0x175a7d)=>{const _0x332b02=_0x175a7d['mapper']['markerNameToElements'](_0x599715['markerName']);if(_0x332b02){for(const _0x48b532 of _0x332b02)(_0x48b532['hasClass']('ck-suggestion-marker-split')||_0x48b532['hasClass']('ck-suggestion-marker-merge'))&&(_0x175a7d['mapper']['unbindElementFromMarkerName'](_0x48b532,_0x599715['markerName']),_0x175a7d['writer']['remove'](_0x48b532));}})(0x0,_0x140a3f,_0x24b560);},{'priority':'high'});const _0x4616ab=(_0x3192de,_0x2c199e,_0x599c43,_0x13ca3f)=>{if(_0x13ca3f&&!_0x599c43['options']['showSuggestionHighlights'])return;const _0x2041ea=_0x2c199e['markerRange']['start'],_0x6235b8=_0x2c199e['markerRange']['end'],_0x4d11ae=_0x4ee326['model']['schema'];if(!_0x2041ea['isTouching'](_0x6235b8)||!_0x2041ea['nodeAfter'])return;const _0x413fca=_0x2041ea['nodeAfter'];if(_0x4d11ae['isBlock'](_0x413fca)&&!_0x4d11ae['isLimit'](_0x413fca)&&_0x4d11ae['checkChild'](_0x413fca,'$text')){if(!_0x599c43['consumable']['consume'](_0x2c199e['markerRange'],_0x3192de['name']))return;const {id:_0x42f61c,authorId:_0x21ca5e}=J(_0x2c199e['markerName']),_0x4a584d=_0x599c43['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x42f61c,'data-author-id':_0x21ca5e}),_0x49b59b=_0x599c43['mapper']['toViewPosition'](_0x6235b8);!_0x13ca3f&&this['_activeMarkers']['includes'](_0x2c199e['markerName'])&&_0x599c43['writer']['addClass']('ck-suggestion-marker--active',_0x4a584d),_0x599c43['writer']['insert'](_0x49b59b,_0x4a584d),_0x599c43['mapper']['bindElementToMarker'](_0x4a584d,_0x2c199e['markerName']);}};_0x4ee326['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x554798,_0x5bc59d,_0x5e144f)=>{_0x4616ab(_0x554798,_0x5bc59d,_0x5e144f,!0x1);},{'priority':'high'}),_0x4ee326['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5135ba,_0x512b87,_0x49f4f3)=>{_0x4616ab(_0x5135ba,_0x512b87,_0x49f4f3,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x2ed77c,_0x9acc72,_0x4059ca)=>{this['_activeMarkers']=_0x4059ca['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x1c7c3b){this['_blockAttributeKeys']['add'](_0x1c7c3b);}registerInlineAttribute(_0x379757){this['_inlineAttributeKeys']['add'](_0x379757);}isBlockAttribute(_0x5f2ed5){return this['_blockAttributeKeys']['has'](_0x5f2ed5);}isInlineAttribute(_0x1d2904){return this['_inlineAttributeKeys']['has'](_0x1d2904);}isRegisteredAttribute(_0x505a80){return this['isInlineAttribute'](_0x505a80)||this['isBlockAttribute'](_0x505a80);}_getClassName(_0x4aa3ff,_0x478799){if('attribute'!=_0x4aa3ff)return'ck-suggestion-marker-'+_0x4aa3ff;const _0x3bd5aa=_0x478799['split']('|')[0x0];return this['isBlockAttribute'](_0x3bd5aa)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x36e3d8={},_0x259343){if(void 0x0!==_0x36e3d8['dateTimeFormat']&&'function'!=typeof _0x36e3d8['dateTimeFormat'])throw new _0x9e3258('invalid-date-time-format');return _0x4cf5a8=>{const _0x41466e='string'==typeof _0x4cf5a8?_0x33762a['fromISO'](_0x4cf5a8):_0x33762a['fromJSDate'](_0x4cf5a8),_0x254dec=_0x33762a['now'](),_0x177104=Math['floor'](_0x254dec['diff'](_0x41466e,'days')['days']);return _0x36e3d8['dateTimeFormat']?_0x36e3d8['dateTimeFormat'](_0x41466e['toJSDate'](),_0x259343&&_0x259343['t']?_0x259343['t']:void 0x0):0x0===_0x177104?_0x259343?D(_0x259343,'Today')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x177104?_0x259343?D(_0x259343,'Yesterday')+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x177104<0x7?_0x259343?D(_0x259343,'Last')+'\x20'+D(_0x259343,_0x41466e['toFormat']('EEEE'))+'\x20'+_0x41466e['toFormat']('hh:mma'):_0x41466e['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x41466e['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x20fa3c,_0xcb87e9){const _0x808ace=_0x20fa3c['mapper']['markerNameToElements'](_0xcb87e9['name']);if(!_0x808ace)return null;const _0x44435e=_0x2320e1(_0x808ace['values']());return _0x20fa3c['view']['domConverter']['mapViewToDom'](_0x44435e)||null;}function It(_0x23aace,_0x156e26){if(0x0===_0x156e26['length'])return null;const _0x239453=[],_0x5b1d67=_0x23aace['view']['domConverter'];for(const _0x48647e of _0x156e26){const _0x4f8932=_0x23aace['mapper']['markerNameToElements'](_0x48647e['name']);if(!_0x4f8932)continue;const _0x26acb8=Array['from'](_0x4f8932)['map'](_0x268013=>_0x5b1d67['mapViewToDom'](_0x268013))['filter'](_0x5e0d57=>!!_0x5e0d57);_0x239453['push'](..._0x26acb8);}if(0x0===_0x239453['length'])return null;const _0x101c2c=[];for(const _0x2b5f9c of _0x239453){const _0x461d7b=_0x2b5f9c['getClientRects']()['item'](0x0);_0x461d7b&&_0x101c2c['push']({'x':_0x461d7b['x'],'y':_0x461d7b['y'],'domElement':_0x2b5f9c});}return 0x0===_0x101c2c['length']?null:(_0x101c2c['sort']((_0x4ecbc1,_0x419077)=>_0x4ecbc1['y']-_0x419077['y']||_0x4ecbc1['x']-_0x419077['x']),_0x101c2c['map'](_0x4a8e68=>_0x4a8e68['domElement']));}function St(_0x1a1814,{limit:_0x4b9f52,suffix:_0x2cc3ec='...'}){const _0x2daf6b=[];let _0x30007c=0x0;const _0x34d8d9=_0x1a1814['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xc7f113=0x0;_0xc7f113<_0x34d8d9['length'];_0xc7f113++){let _0x5bcf5c=_0x34d8d9[_0xc7f113];const _0x4df6bc=Et(_0x5bcf5c);if(_0x5bcf5c['startsWith']('<')){if(_0x30007c>=_0x4b9f52){const _0x5c88d1=_0x5bcf5c['match'](/[a-zA-Z]+/);if(!_0x5c88d1){_0x34d8d9[_0xc7f113]='';continue;}const _0x58ad59=_0x5c88d1[0x0];_0x5bcf5c['startsWith']('</')?(_0x2daf6b['length']&&(_0x5bcf5c=''),_0x2daf6b['pop']()):(_0x2daf6b['push'](_0x58ad59),_0x5bcf5c='');}}else{if(_0x30007c>=_0x4b9f52)_0x5bcf5c='';else{if(_0x30007c+_0x4df6bc['length']>=_0x4b9f52){let _0x17e22a=_0x4b9f52-_0x30007c;if('\x20'===_0x4df6bc[_0x17e22a-0x1])_0x17e22a--;else{const _0x22354d=_0x4df6bc['slice'](_0x17e22a)['indexOf']('\x20');-0x1!==_0x22354d?_0x17e22a+=_0x22354d:_0x17e22a=_0x5bcf5c['length'];}_0x5bcf5c=_0x4df6bc['slice'](0x0,_0x17e22a)['join']('')+_0x2cc3ec,_0x30007c=_0x4b9f52;}else _0x30007c+=_0x4df6bc['length'];}}_0x34d8d9[_0xc7f113]=_0x5bcf5c;}return _0x34d8d9['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x4727f2){const _0xfafd0d=[];for(let _0x33a97d=0x0;_0x33a97d<_0x4727f2['length'];_0x33a97d++){const _0xae2e34=_0x4727f2['substring'](_0x33a97d)['match'](/^&[a-z0-9#]+;/);if(_0xae2e34){const _0x480a9e=_0xae2e34[0x0];_0xfafd0d['push'](_0x480a9e),_0x33a97d+=_0x480a9e['length']-0x1;}else _0xfafd0d['push'](_0x4727f2[_0x33a97d]);}return _0xfafd0d;}var Mt=class extends _0x2d8650{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x5140f0){super(_0x5140f0);const _0x3d777e=this['bindTemplate'];this['set']('message',D(_0x5140f0,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'Yes'),_0x4500d8,'submit'),this['cancelView']=this['_createButtonView'](_0x5140f0,D(_0x5140f0,'No'),_0x12aa15,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x28ca57(),this['keystrokes']=new _0x4c3665(),this['focusCycler']=new _0x108e75({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x3d777e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}_createButtonView(_0x210f69,_0x47ee3c,_0x23f0a8,_0xa54200){const _0x454d04=new _0x4bbe2f(_0x210f69);return _0x454d04['label']=_0x47ee3c,_0x454d04['icon']=_0x23f0a8,_0x454d04['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0xa54200}}),_0x454d04['on']('execute',()=>this['fire'](_0xa54200)),_0x454d04;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x4840cb=>{this['keystrokes']['listenTo'](_0x4840cb['element']),this['focusTracker']['add'](_0x4840cb['element']);}),this['keystrokes']['set']('esc',(_0xab4676,_0x501cc7)=>{this['fire']('cancel'),_0x501cc7();});}};function At(_0x1a058f){return class _0x181926 extends _0x1a058f{['showConfirm'](_0x524b1c,_0x2748df){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x524b1c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2748df['appendChild'](this['confirmView']['element']),_0x2748df['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x98c301,_0x18d082,_0x4c3600)=>{_0x4c3600||_0x2748df['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5eb4ac=>this['confirmView']['on']('submit',_0x5eb4ac));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function Tt(_0x27a08f){let _0x500987=0x0,_0x373c9e=0x0;for(const _0x3c1885 of Nt(_0x27a08f))_0x500987=(_0x500987<<0x5)-_0x500987+_0x3c1885,_0x500987&=_0x500987,[_0x500987,_0x373c9e]=[_0x373c9e,_0x500987];return Bt(_0x500987)+Bt(_0x373c9e);}function*Pt(_0x3b1996){null==_0x3b1996||null==_0x3b1996?yield 0x12b9b0a1:0x0===_0x3b1996||!0x1===_0x3b1996?yield 0x0:0x1===_0x3b1996||0x1==_0x3b1996?yield 0x1:Array['isArray'](_0x3b1996)?yield*function*(_0xf902b){for(const _0x52c14b of _0xf902b)yield*Pt(_0x52c14b);}(_0x3b1996):'object'==typeof _0x3b1996?yield*Nt(_0x3b1996):'string'==typeof _0x3b1996?yield*Vt(_0x3b1996):'number'==typeof _0x3b1996&&(yield _0x3b1996);}function*Nt(_0x3cd24e){if(yield Ot('{'),_0x3cd24e){const _0xb32b5f=Object['keys'](_0x3cd24e)['sort']();for(const _0x26f6df of _0xb32b5f){yield*Vt(_0x26f6df),yield Ot(':');const _0x4bcb7b=_0x3cd24e[_0x26f6df];yield*Pt(_0x4bcb7b);}}yield Ot('}');}function*Vt(_0x1a906d){yield Ot('\x22');for(const _0x26e03f of _0x1a906d)yield Ot(_0x26e03f);yield Ot('\x22');}function Ot(_0x9de681){return _0x9de681['charCodeAt'](0x0);}function Bt(_0x59e843){return(_0x59e843*=Math['sign'](_0x59e843))['toString'](0x24);}function Dt(_0x5e38c7){if('addAttribute'!=_0x5e38c7['type']&&'removeAttribute'!=_0x5e38c7['type']&&'changeAttribute'!=_0x5e38c7['type'])return!0x1;try{return _0x5e38c7['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x1dcea3,_0x401269,_0x42eaf9,_0x3d5d6b=[]){const _0x4e33a8='string'==typeof _0x1dcea3?_0x42eaf9['get'](_0x1dcea3)['constructor']:_0x1dcea3['prototype']['constructor'];if(_0x401269['has'](_0x4e33a8))return _0x401269['get'](_0x4e33a8);_0x401269['set'](_0x4e33a8,!0x0);const _0x1de695=[...Lt,..._0x3d5d6b]['map'](_0x4e4973=>{if(_0x42eaf9['has'](_0x4e4973))return _0x42eaf9['get'](_0x4e4973)['constructor'];})['filter'](_0x172787=>_0x172787);if(_0x4e33a8&&_0x1de695['includes'](_0x4e33a8))return _0x401269['set'](_0x4e33a8,!0x1),!0x1;if(!_0x4e33a8['requires'])return _0x401269['set'](_0x4e33a8,!0x0),!0x0;const _0x2310a0=_0x4e33a8['requires']['every'](_0x5321d4=>Rt(_0x5321d4,_0x401269,_0x42eaf9,_0x3d5d6b));return _0x401269['set'](_0x4e33a8,_0x2310a0),_0x2310a0;}function Ft(_0x6f0f49,_0x43e9e9){const _0x14d31f={};for(const _0x131542 of _0x6f0f49['config']['names']())$t['includes'](_0x131542)||(_0x14d31f[_0x131542]=_0x6f0f49['config']['get'](_0x131542));const _0x2c8476=_0x14d31f['plugins']||[],_0x511c2a=_0x6f0f49['constructor']['builtinPlugins']||[],_0x39c7af=_0x2c8476['length']?_0x2c8476:_0x511c2a,_0x43f2e6=_0x14d31f['extraPlugins']||[];delete _0x14d31f['extraPlugins'];const _0x1daaf3=_0x14d31f['removePlugins']||[];delete _0x14d31f['removePlugins'];const _0xb24ad7=_0x6f0f49['_context']['config']['get']('plugins')||[],_0x4cd593=_0x39c7af['concat'](_0x43f2e6)['concat'](_0xb24ad7)['map'](_0x5d9113=>'string'==typeof _0x5d9113?_0x511c2a['find'](_0x75b2c0=>_0x75b2c0['pluginName']==_0x5d9113):_0x5d9113)['filter'](_0x557c8e=>!_0x1daaf3['includes'](_0x557c8e)&&!_0x1daaf3['includes'](_0x557c8e['pluginName'])),_0x11fa32=Array['from'](new Set(_0x4cd593)),_0x32afb7=new Map();return _0x14d31f['plugins']=_0x11fa32['filter'](_0x1b160b=>Rt(_0x1b160b,_0x32afb7,_0x6f0f49['plugins'],_0x43e9e9)),_0x14d31f;}function Ht(_0x2bbab7,_0x30935b){const _0x5cb627=[];_0x2bbab7['document']['selection']['on']('change:range',()=>{const _0x456457=function(_0x55d1e3,_0x528fb2){const _0x3bee39=[];for(const _0x203d4a of _0x55d1e3['markers']){const _0x443bf7=_0x203d4a['getRange']();(_0x443bf7['containsPosition'](_0x528fb2)||_0x443bf7['start']['isEqual'](_0x528fb2)||_0x443bf7['end']['isEqual'](_0x528fb2))&&_0x3bee39['push'](_0x203d4a);}return _0x3bee39;}(_0x2bbab7,_0x2bbab7['document']['selection']['focus']),_0x5ba1b1=[],_0x336fdc=[],_0x5cea29=[];for(const _0x3acdd3 of _0x5cb627)_0x456457['includes'](_0x3acdd3)||_0x5ba1b1['push'](_0x3acdd3);for(const _0x30a30d of _0x456457)_0x5cb627['includes'](_0x30a30d)||_0x336fdc['push'](_0x30a30d),_0x5cea29['push'](_0x30a30d);(_0x5ba1b1['length']||_0x336fdc['length'])&&_0x30935b({'left':_0x5ba1b1,'entered':_0x336fdc}),_0x5cb627['length']=0x0,_0x5cb627['push'](..._0x5cea29);});}const Ut='Ctrl+Shift+E';function zt(_0x5a899b,_0x2bb5d8){const _0x3268af=_0x5a899b['element'];_0x5a899b['keystrokes']['listenTo'](_0x3268af);for(const _0x1eaa10 of _0x2bb5d8)Wt(_0x5a899b,_0x1eaa10);_0x2bb5d8['on']('change',(_0x3040f5,_0x51eff5)=>{for(const _0x1f97d0 of _0x51eff5['removed'])Yt(_0x5a899b,_0x1f97d0);for(const _0x27fa8c of Array['from'](_0x51eff5['added'])['reverse']())Wt(_0x5a899b,_0x27fa8c);}),_0x5a899b['keystrokes']['set']('enter',(_0x36e9f9,_0x580e8e)=>{_0x3268af===_0x36e9f9['target']&&(_0x5a899b['focusCycler']['focusFirst'](),_0x580e8e());},{'filter':_0x337cb7=>_0x337cb7['target']===_0x3268af}),_0x5a899b['keystrokes']['set']('esc',(_0x5c51c1,_0x4c4742)=>{_0x3268af!==_0x5c51c1['target']?_0x5a899b['focus']():_0x5a899b['fire']('escape'),_0x4c4742();}),_0x5a899b['keystrokes']['set']('arrowdown',(_0x1d8969,_0x45572a)=>{_0x3268af===_0x1d8969['target']&&(_0x5a899b['fire']('arrowdown'),_0x45572a());}),_0x5a899b['keystrokes']['set']('arrowup',(_0xfe4f0c,_0x5734df)=>{_0x3268af===_0xfe4f0c['target']&&(_0x5a899b['fire']('arrowup'),_0x5734df());});}function Wt(_0x5a7bd7,_0x29e1f3){_0x29e1f3['isRendered']&&(_0x5a7bd7['focusTracker']['add'](_0x29e1f3['element']),_0x5a7bd7['keystrokes']['listenTo'](_0x29e1f3['element']),_0x4039fc(_0x29e1f3)&&function(_0xb32dfc,_0x26a8ee){const _0x28cda7=_0xb32dfc['actions'],_0x5039da=_0x26a8ee['actions'];for(const _0x52290c of Object['keys'](_0x28cda7))if(_0x52290c in _0x5039da&&_0x28cda7[_0x52290c]!==_0x5039da[_0x52290c])return!0x1;return!0x0;}(_0x5a7bd7['focusCycler'],_0x29e1f3['focusCycler'])&&_0x5a7bd7['focusCycler']['chain'](_0x29e1f3['focusCycler']));}function Yt(_0x27c407,_0x5aea45){_0x27c407['focusTracker']['remove'](_0x5aea45['element']),_0x27c407['keystrokes']['stopListening'](_0x5aea45['element']),_0x4039fc(_0x5aea45)&&_0x27c407['focusCycler']['unchain'](_0x5aea45['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x1c6a95{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x27fa3e?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1fb3b2,_0x2a24ef)=>{_0x2a24ef['on']('ready',()=>{this['_integrateEditor'](_0x2a24ef);});});}get editor(){if(this['context']instanceof _0x27fa3e)return this['context'];{const _0x5f3b96=this['context']['editors']['first'];if(!_0x5f3b96)throw new _0x9e3258('documentcompare-no-editor',this);return _0x5f3b96;}}getDiff(_0x440f08,_0x579893,_0x4e923d={'anchor':'main','markDeletions':!0x1}){const _0x3f5765=_0x4e923d['targetEditor']||this['editor'],_0x174530=_0x4e923d['anchor']??'main';let _0x4e7b91,_0x2a6b9c;if('string'==typeof _0x174530){const _0x87e7b1=_0x3f5765['model']['document']['getRoot'](_0x174530);if(!_0x87e7b1)throw new _0x9e3258('documentcompare-compare-no-root',this,{'anchor':_0x174530});_0x4e7b91=_0x87e7b1,_0x2a6b9c=_0x3f5765['model']['createPositionAt'](_0x87e7b1,0x0);}else _0x4e7b91=_0x174530['clone'](),_0x2a6b9c=_0x174530['clone']();const _0xf94652=_0x3f5765['data']['parse'](_0x440f08,_0x4e7b91),_0x36a872=_0x3f5765['data']['parse'](_0x579893,_0x4e7b91);return new Kt({'editor':_0x3f5765,'before':_0xf94652,'after':_0x36a872,'options':{'anchor':_0x2a6b9c,'markDeletions':_0x4e923d['markDeletions']}});}isMarkedRemoveOperation(_0x383557){return'marker'==_0x383557['type']&&_0x383557['name']['startsWith']('$markedRemove');}applyOperations(_0x325582,_0x2e1c15){const _0xb0d684=_0x325582['model'];for(const _0x30b8c7 of _0x2e1c15)Dt(_0x30b8c7)||(_0x30b8c7 instanceof _0x1fba41?_0x325582['_addOperationForAffectedMarkers']('move',_0x1f7020['_createFromPositionAndShift'](_0x30b8c7['sourcePosition'],_0x30b8c7['howMany'])):_0x30b8c7 instanceof _0x3a3066?_0x325582['_addOperationForAffectedMarkers']('merge',_0x30b8c7['deletionPosition']):_0x30b8c7 instanceof _0x31e822&&this['_fixMarkerOperationOldRange'](_0xb0d684,_0x30b8c7),_0x30b8c7['baseVersion']=_0xb0d684['document']['version'],_0x325582['batch']['addOperation'](_0x30b8c7),_0xb0d684['applyOperation'](_0x30b8c7));}_fixMarkerOperationOldRange(_0x16e10f,_0x4e622c){const _0x7b72f=_0x16e10f['markers']['get'](_0x4e622c['name']);_0x7b72f&&(_0x4e622c['oldRange']=_0x7b72f['getRange']());}_integrateEditor(_0xad6027){_0xad6027['conversion']['for']('upcast')['add'](_0x521fce=>{_0x521fce['on']('element',(_0x138f43,_0x82a1b9,_0x419f3e)=>{if(_0x82a1b9['modelRange']&&_0x419f3e['consumable']['consume'](_0x82a1b9['viewItem'],{'attributes':'data-id'}))for(const _0x21a3a1 of _0x82a1b9['modelRange']['getItems']({'shallow':!0x0})){if(_0x21a3a1['is']('$textProxy'))continue;const _0x4d51ae=_0x82a1b9['viewItem']['getAttribute'](Jt);_0x4d51ae&&_0x419f3e['writer']['setAttribute'](jt,_0x4d51ae,_0x21a3a1);}},{'priority':'low'});}),_0xad6027['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x5efc62,before:_0x4f6ccc,after:_0x35bd3e,options:_0x5b1874}){this['_editor']=_0x5efc62,this['_markDeletions']=!!_0x5b1874['markDeletions'],this['_anchor']=_0x5b1874['anchor'];const _0x1dba47=this['_tokenizeModel'](_0x4f6ccc),_0x1711d4=this['_tokenizeModel'](_0x35bd3e);this['_diffItems']=this['_diffModelTokens'](_0x1dba47,_0x1711d4),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4f6ccc['markers'],_0x35bd3e['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x600820=this['_editor']['model']['document'],_0x29e983=[];let _0x4244c3=_0x600820['version'];for(const _0x5352fd of this['_operationsData'])switch(_0x5352fd['type']){case'attribute':{const _0x52e666=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x31d108=new _0x1f7020(_0x52e666,_0x52e666['getShiftedBy'](_0x5352fd['howMany'])),_0x21c4db=JSON['parse'](_0x5352fd['oldValue']),_0x1a7054=JSON['parse'](_0x5352fd['newValue']);_0x29e983['push'](new _0x597333(_0x31d108,_0x5352fd['key'],_0x21c4db,_0x1a7054,_0x4244c3++));break;}case'insert':{const _0x2314cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5b563f=this['_makeModelFromTokens'](_0x5352fd['tokens']);_0x29e983['push'](new _0x32923b(_0x2314cb,_0x5b563f,_0x4244c3++));break;}case'remove':{const _0x5dff49=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x2380ac=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0x5dff49,_0x5352fd['howMany'],_0x2380ac,_0x4244c3++));break;}case'rename':{const _0x83de8e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']);_0x29e983['push'](new _0x2a8fa9(_0x83de8e,_0x5352fd['oldName'],_0x5352fd['newName'],_0x4244c3++));break;}case'split':{const _0x387be9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']),_0x5c9aa1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['path']['slice'](0x0,-0x1));_0x5c9aa1['offset']++,_0x29e983['push'](new _0x2a9d67(_0x387be9,Number['NEGATIVE_INFINITY'],_0x5c9aa1,null,_0x4244c3++));break;}case'merge':{const _0x19fc18=_0x5352fd['path']['slice'](),_0x1ae179=_0x19fc18['slice'](0x0,-0x1);_0x1ae179[_0x1ae179['length']-0x1]++,_0x1ae179['push'](0x0);const _0x4e466d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ae179),_0x534b03=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x19fc18),_0x12a9ed=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x3a3066(_0x4e466d,Number['NEGATIVE_INFINITY'],_0x534b03,_0x12a9ed,_0x4244c3++));break;}case'marker':case'markedRemove':{let _0x4d6715=null;_0x5352fd['range']&&(_0x4d6715=new _0x1f7020(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end'])));const _0x610e61='marker'==_0x5352fd['type']?_0x5352fd['name']:'$markedRemove:'+_0x268c42();_0x29e983['push'](new _0x31e822(_0x610e61,null,_0x4d6715,_0x600820['model']['markers'],!0x0,_0x4244c3++));break;}case'unwrap':{const _0x1e48c=_0x5352fd['path']['slice']();_0x1e48c['push'](0x0);const _0x450529=_0x5352fd['path']['slice'](),_0xb00343=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1e48c),_0x34293e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x450529),_0x20bbb1=new _0x44c66f(_0x600820['graveyard'],[0x0]);_0x29e983['push'](new _0x1fba41(_0xb00343,_0x5352fd['howMany'],_0x34293e,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x34293e['getShiftedBy'](_0x5352fd['howMany']),0x1,_0x20bbb1,_0x4244c3++));break;}case'wrap':{const _0x194bcb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['start']),_0x299d6d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5352fd['range']['end']),_0x1bc05f=_0x5352fd['token']['element']['_clone'](!0x1);_0x1bc05f['_removeAttribute'](jt);const _0x56ac27=_0x5352fd['range']['end']['slice']();_0x56ac27['push'](0x0);const _0x40d34f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56ac27);_0x29e983['push'](new _0x32923b(_0x299d6d,_0x1bc05f,_0x4244c3++)),_0x29e983['push'](new _0x1fba41(_0x194bcb,_0x299d6d['offset']-_0x194bcb['offset'],_0x40d34f,_0x4244c3++));break;}}return _0x29e983;}_tokenizeModel(_0x4898f0){const _0x577be2=[],_0x3607ac=new _0x542f34({'boundaries':_0x1f7020['_createIn'](_0x4898f0)});let _0x4ede42='',_0x49a3a6=null;const _0x2ee558=[''],_0x36d80d=new Map();for(const _0x51d1b0 of _0x3607ac)if('elementStart'==_0x51d1b0['type']||'elementEnd'==_0x51d1b0['type']){let _0x72e901=_0x2ee558[0x0];''!==_0x4ede42&&(_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x72e901)),_0x4ede42='');const _0x1a404e=_0x51d1b0['item'];let _0x2b448a;_0x1a404e['getAttribute']('$elementId')?_0x2b448a=_0x1a404e['getAttribute'](jt):'elementStart'==_0x51d1b0['type']?(_0x2b448a=Zt(_0x1a404e),_0x36d80d['set'](_0x1a404e,_0x2b448a)):_0x2b448a=_0x36d80d['get'](_0x1a404e);const _0x279ba1=this['_getElementCategory'](_0x1a404e);'solid'==_0x279ba1&&('elementStart'==_0x51d1b0['type']?(_0x72e901=_0x2b448a,_0x2ee558['unshift'](_0x72e901)):_0x2ee558['shift']());const _0x456866={'type':'element','element':_0x1a404e,'elementId':_0x2b448a,'category':_0x279ba1,'isStart':'elementStart'==_0x51d1b0['type'],'limitId':_0x72e901};_0x577be2['push'](_0x456866);}else''==_0x4ede42&&(_0x49a3a6=_0x51d1b0['previousPosition']['clone']()),_0x4ede42+=_0x51d1b0['item']['data'];return''!==_0x4ede42&&_0x577be2['push'](...this['_makeTokensFromTextByWords'](_0x4ede42,_0x49a3a6,_0x2ee558[0x0])),_0x577be2;}_makeTokensFromTextByWords(_0xcbdb1d,_0x555a0c,_0x2ea187){const _0x334232=_0xcbdb1d['matchAll'](/(\s)/g),_0x313d55=Array['from'](_0x334232)['map'](_0xc9a4e2=>_0xc9a4e2['index']);_0x313d55['push'](_0xcbdb1d['length']),0x0==_0x313d55[0x0]&&_0x313d55['shift']();const _0x434584=[],_0x439b43=_0x555a0c['parent'];let _0x10aa72=0x0,_0x20e2c0=_0x555a0c['offset'];for(let _0x4cfe65=0x0;_0x4cfe65<_0x313d55['length'];_0x4cfe65++)_0x434584['push']({'type':'text','data':_0xcbdb1d['slice'](_0x10aa72,_0x313d55[_0x4cfe65]),'parent':_0x439b43,'offset':_0x20e2c0,'limitId':_0x2ea187}),_0x10aa72=_0x313d55[_0x4cfe65],_0x20e2c0=_0x555a0c['offset']+_0x313d55[_0x4cfe65];return _0x434584;}_getElementCategory(_0x25698f){const _0x1eb472=this['_editor']['model']['schema'];return _0x1eb472['isLimit'](_0x25698f)||_0x1eb472['isContent'](_0x25698f)||_0x1eb472['isInline'](_0x25698f)?'solid':_0x1eb472['isBlock'](_0x25698f)?'block':function(_0x5a806c,_0x4e325e){const _0x100e7e=_0x5a806c['parent'];if(!_0x100e7e||_0x100e7e['is']('documentFragment'))return!0x1;if(_0x4e325e['checkChild'](_0x100e7e,'$text'))return!0x1;for(const _0x189894 of _0x5a806c['getChildren']())if(_0x189894['is']('$text'))return!0x0;return!0x1;}(_0x25698f,_0x1eb472)?'solid':'container';}['_diffModelTokens'](_0x3bd57c,_0x54734c){const _0x3b1434=_0x1b337b(_0x3bd57c,_0x54734c,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x3b1434);const _0x566727=_0x3b1434['flatMap'](_0x9f2a14=>{const _0x3bf59c=_0x9f2a14['added']?'added':_0x9f2a14['removed']?'removed':'unchanged';return _0x9f2a14['value']['map'](_0x53d37b=>({'token':_0x53d37b,'change':_0x3bf59c}));});let _0x64dda=0x0;for(const _0x181808 of _0x566727)'added'!=_0x181808['change']&&('unchanged'==_0x181808['change']&&(_0x181808['before']=_0x3bd57c[_0x64dda]),_0x64dda++);return _0x566727;}['_handleUnclosedBlockOpeningTags'](_0x4c58c1){for(let _0x544e34=0x0;_0x544e34<_0x4c58c1['length']-0x1;_0x544e34++)if(_0x4c58c1[_0x544e34]['removed']&&_0x4c58c1[_0x544e34+0x1]['added']){const _0x478300=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34]['value']);if(null!==_0x478300){const _0x1d0da4=this['_findUnclosedBlockOpeningToken'](_0x4c58c1[_0x544e34+0x1]['value']),_0x555c8d=_0x4c58c1[_0x544e34]['value']['splice'](_0x478300),_0xbab4f5=_0x4c58c1[_0x544e34+0x1]['value']['splice'](_0x1d0da4),_0x4fee63=[_0xbab4f5['shift']()];_0x555c8d['shift']();const _0x107577={'value':_0x555c8d,'removed':!0x0},_0x54cf4d={'value':_0xbab4f5,'added':!0x0},_0xc578d2={'value':_0x4fee63};_0x4c58c1['splice'](_0x544e34+0x2,0x0,_0xc578d2,_0x107577,_0x54cf4d);}}}['_findUnclosedBlockOpeningToken'](_0x2e8f9a){let _0x4cd400=0x0,_0x2843b7=-0x1;for(let _0xb0cc17=0x0;_0xb0cc17<_0x2e8f9a['length'];_0xb0cc17++){const _0x453648=_0x2e8f9a[_0xb0cc17];'element'==_0x453648['type']&&'block'==_0x453648['category']&&(_0x4cd400+=_0x453648['isStart']?0x1:-0x1,_0x453648['isStart']&&(_0x2843b7=_0xb0cc17));}return 0x0===_0x4cd400?null:_0x2843b7;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5a4d0b=0x0;_0x5a4d0b<this['_diffItems']['length'];_0x5a4d0b++){const _0x3f6424=this['_diffItems'][_0x5a4d0b]['change'],_0x7662d2=[];_0x7662d2['push'](this['_diffItems'][_0x5a4d0b]);let _0x7d2901=_0x5a4d0b+0x1;for(;this['_diffItems'][_0x7d2901]&&this['_diffItems'][_0x7d2901]['change']==_0x3f6424;)_0x7662d2['push'](this['_diffItems'][_0x7d2901]),_0x7d2901++,_0x5a4d0b++;const _0x832d16=_0x7662d2['map'](_0x4fbe8f=>_0x4fbe8f['token']);if('unchanged'==_0x3f6424)_0x7662d2['map'](_0x36e66e=>_0x36e66e['before'])['forEach'](_0xe648cb=>this['_traverseOverItem'](_0xe648cb));else{if('removed'==_0x3f6424){if(this['_markDeletions']){const _0x314f25=this['_path']['slice']();_0x832d16['forEach'](_0x1c7b02=>this['_traverseOverItem'](_0x1c7b02));const _0x2dfc99=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x314f25,'end':_0x2dfc99}});}else this['_handleChanged'](_0x832d16,!0x0,this['_path']['slice']());}else{const _0x268476=_0x832d16['filter'](_0x4ae6d2=>'element'!=_0x4ae6d2['type']||'container'!=_0x4ae6d2['category']);this['_handleChanged'](_0x268476,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x115e20=0x0;_0x115e20<this['_diffItems']['length'];_0x115e20++){const _0xb9ca1a=this['_diffItems'][_0x115e20]['change'],_0x42a22d=[];_0x42a22d['push'](this['_diffItems'][_0x115e20]);let _0xbd78ca=_0x115e20+0x1;for(;this['_diffItems'][_0xbd78ca]&&this['_diffItems'][_0xbd78ca]['change']==_0xb9ca1a;)_0x42a22d['push'](this['_diffItems'][_0xbd78ca]),_0xbd78ca++,_0x115e20++;const _0x1fa678=_0x42a22d['map'](_0x192ab2=>_0x192ab2['token']);if('unchanged'==_0xb9ca1a){const _0x41a3c7=_0x42a22d['map'](_0x10b373=>_0x10b373['before']);this['_handleUnchanged'](_0x41a3c7,_0x1fa678);}else('added'==_0xb9ca1a||this['_markDeletions'])&&_0x1fa678['forEach'](_0x4bb9eb=>{'element'==_0x4bb9eb['type']&&_0x4bb9eb['isStart']&&this['_splitPostponedData']['has'](_0x4bb9eb['element'])&&this['_handleSplitPostponedData'](_0x4bb9eb['element'],this['_path']),this['_traverseOverItem'](_0x4bb9eb);});}}_handleSplitPostponedData(_0x2d3a13,_0x509a15){const _0x31c67f=this['_splitPostponedData']['get'](_0x2d3a13);for(const _0x180c0b of _0x31c67f)'rename'==_0x180c0b['type']?this['_operationsData']['push']({'type':'rename','path':_0x509a15['slice'](),'oldName':_0x180c0b['oldValue'],'newName':_0x2d3a13['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x509a15['slice'](),'howMany':0x1,'key':_0x180c0b['key'],'oldValue':_0x180c0b['oldValue'],'newValue':JSON['stringify'](_0x2d3a13['getAttribute'](_0x180c0b['key'])??null)});}_calculateMarkersOperationsData(_0x266868,_0x56a882){const _0x5a008b={};for(const [_0x21eb06]of _0x266868)_0x5a008b[_0x21eb06]=null;for(const [_0xd17ae7,_0x68b943]of _0x56a882)_0x5a008b[_0xd17ae7]=_0x68b943;const _0x4d46af=Object['entries'](_0x5a008b)['map'](([_0x41f0af,_0xea83d2])=>({'type':'marker','name':_0x41f0af,'range':_0xea83d2?{'start':_0xea83d2['start']['path']['slice'](),'end':_0xea83d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4d46af);}['_handleUnwraps'](){const _0x5bd07c=new Map(),_0x3c53bf=[],_0x2d1428=[0x0];let _0xf29240=this['_diffItems']['length']+0x1;for(let _0x5e4b93=this['_diffItems']['length']-0x1;_0x5e4b93>=0x0;_0x5e4b93--){const {token:_0x2f7507,before:_0x2781e3,change:_0x328046}=this['_diffItems'][_0x5e4b93];if('removed'!=_0x328046&&(_0xf29240=_0x5e4b93),'element'!=_0x2f7507['type']||'container'!=_0x2f7507['category']||'added'==_0x328046)continue;const _0x440d40=_0x2781e3?_0x2781e3['element']:_0x2f7507['element'];if(_0x2f7507['isStart']){const _0x225d4f=_0x5bd07c['get'](_0x440d40),_0x297fd0=this['_diffItems'][_0x225d4f];('removed'==_0x328046||'removed'==_0x297fd0['change'])&&_0xf29240<_0x225d4f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x440d40['getPath'](),'howMany':_0x440d40['maxOffset']+_0x2d1428[0x0]}),_0x2d1428['shift'](),_0x2d1428[0x0]+=_0x440d40['maxOffset']-0x1,_0x3c53bf['push'](_0x5e4b93),_0x3c53bf['push'](_0x225d4f));}else _0x5bd07c['set'](_0x440d40,_0x5e4b93),_0x2d1428['unshift'](0x0);}_0x3c53bf['sort']((_0xfa28ef,_0x24edd2)=>_0x24edd2-_0xfa28ef),_0x3c53bf['forEach'](_0x17430d=>{const _0x51636f=this['_diffItems'][_0x17430d];'removed'==_0x51636f['change']?this['_diffItems']['splice'](_0x17430d,0x1):(_0x51636f['change']='added',delete _0x51636f['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x42e79f=[];for(let _0x57021c=0x0;_0x57021c<this['_diffItems']['length'];_0x57021c++){const {change:_0x8c8db8,token:_0x344417}=this['_diffItems'][_0x57021c];if('added'==_0x8c8db8&&'element'==_0x344417['type']&&'container'==_0x344417['category']){if(_0x344417['isStart'])_0x42e79f['push'](this['_path']['slice']());else{if(!_0x344417['isStart']){const _0x3c535f=_0x42e79f['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3c535f,'end':this['_path']['slice']()},'token':_0x344417}),this['_path'][this['_path']['length']-0x1]=_0x3c535f[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x8c8db8||this['_markDeletions'])&&this['_traverseOverItem'](_0x344417);}}['_handleUnchanged'](_0x4fe2d6,_0xa96046){for(let _0x4e7969=0x0;_0x4e7969<_0x4fe2d6['length'];_0x4e7969++){const _0x5f3878=_0x4fe2d6[_0x4e7969];if('element'==_0x5f3878['type']&&_0x5f3878['isStart']){const _0x359bad=_0xa96046[_0x4e7969];'block'==_0x5f3878['category']&&this['_handleElementRename'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5f3878['element'],_0x359bad['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x359bad);}else{if('element'!=_0x5f3878['type']||_0x5f3878['isStart']){if('text'==_0x5f3878['type']){const _0x52a4bf=this['_path']['slice'](),_0x3f8d32=[],_0x4b71e8=[];for(;_0x4fe2d6[_0x4e7969]&&'text'==_0x4fe2d6[_0x4e7969]['type'];)_0x3f8d32['push'](_0x4fe2d6[_0x4e7969]),_0x4b71e8['push'](_0xa96046[_0x4e7969]),this['_path'][this['_path']['length']-0x1]+=_0x4fe2d6[_0x4e7969]['data']['length'],_0x4e7969++;_0x4e7969--,this['_handleTextAttributeChanges'](_0x3f8d32,_0x4b71e8,_0x52a4bf);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x1783e5,_0xbbba68,_0x756ad9){const _0x2582dd=[],_0x2f3e38=[],_0x4b0b9c=_0x756ad9['slice']();let _0x2f38e7=this['_parents']['length']-0x1;for(let _0x3e0500=0x0;_0x3e0500<_0x1783e5['length'];_0x3e0500++){const _0x34261c=_0x1783e5[_0x3e0500],_0x4df7c7=_0x756ad9['slice']();'element'!=_0x34261c['type']||_0x34261c['isStart']?'element'==_0x34261c['type']&&_0x34261c['isStart']?(_0x756ad9['push'](0x0),_0x2f38e7++,_0x2f3e38['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500})):_0x756ad9[_0x756ad9['length']-0x1]+=_0x34261c['data']['length']:(_0x756ad9['pop'](),_0x756ad9[_0x756ad9['length']-0x1]++,_0x2f38e7--,_0x2f3e38['length']?_0x2f3e38['pop']():_0x2582dd['push']({'before':_0x4df7c7,'after':_0x756ad9['slice'](),'index':_0x3e0500}));}if(_0x2f3e38['length']!==_0x2582dd['length'])throw new _0x9e3258('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x1783e5,'isRemove':_0xbbba68});const _0x231204=[{'after':_0x4b0b9c['slice'](),'index':-0x1},..._0x2582dd,..._0x2f3e38,{'before':_0x756ad9['slice'](),'index':_0x1783e5['length']}];if(_0xbbba68){for(let _0x3f1171=_0x231204['length']-0x1;_0x3f1171>=0x1;_0x3f1171--){const _0x48a7b4=_0x231204[_0x3f1171-0x1]['after'],_0x1502fb=_0x231204[_0x3f1171]['before'],_0x118bfb=_0x1502fb[_0x1502fb['length']-0x1]-_0x48a7b4[_0x48a7b4['length']-0x1];_0x118bfb&&(this['_operationsData']['push']({'type':'remove','path':_0x48a7b4,'howMany':_0x118bfb}),_0x1502fb[_0x1502fb['length']-0x1]-=_0x118bfb);}for(const {before:_0x54ba69}of _0x2582dd)this['_operationsData']['push']({'type':'merge','path':_0x54ba69});}else for(let _0x44199=0x0;_0x44199<_0x231204['length']-0x1;_0x44199++){const _0x45a3f0=_0x231204[_0x44199]['after'],_0x3adba4=_0x231204[_0x44199+0x1]['before'],_0x524adb=_0x231204[_0x44199]['index']+0x1,_0x48fb99=_0x231204[_0x44199+0x1]['index'];if(_0x524adb!==_0x48fb99&&this['_operationsData']['push']({'type':'insert','path':_0x45a3f0,'tokens':_0x1783e5['slice'](_0x524adb,_0x48fb99)}),_0x44199<_0x2582dd['length']){this['_operationsData']['push']({'type':'split','path':_0x3adba4});const _0x25f416=_0x1783e5[_0x2f3e38[_0x2f3e38['length']-0x1-_0x44199]['index']],_0x616bf1=this['_parents'][_0x2f38e7]['element'];_0x616bf1['name']!=_0x25f416['element']['name']&&this['_addSplitPostponedData'](_0x25f416['element'],{'type':'rename','oldValue':_0x616bf1['name']});const _0x52a43f=this['_getAttributeChanges'](_0x616bf1['getAttributes'](),_0x25f416['element']['getAttributes']());for(const _0x25309d in _0x52a43f){const _0xc08d2d=_0x52a43f[_0x25309d]['oldValue'];this['_addSplitPostponedData'](_0x25f416['element'],{'type':'attribute','key':_0x25309d,'oldValue':_0xc08d2d});}}}}_addSplitPostponedData(_0xcc194b,_0x1d84d3){const _0x5e05a4=this['_splitPostponedData']['get'](_0xcc194b)||[];_0x5e05a4['push'](_0x1d84d3),this['_splitPostponedData']['set'](_0xcc194b,_0x5e05a4);}_traverseOverItem(_0x4e794b){'element'==_0x4e794b['type']&&_0x4e794b['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4e794b)):'element'!=_0x4e794b['type']||_0x4e794b['isStart']?'text'==_0x4e794b['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4e794b['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x82f6b7,_0x15fbbe,_0x382b21){_0x82f6b7['name']!=_0x15fbbe['name']&&this['_operationsData']['push']({'type':'rename','path':_0x382b21['slice'](),'oldName':_0x82f6b7['name'],'newName':_0x15fbbe['name']});}_handleElementAttributeChanges(_0x4c976f,_0x5ea542,_0xc98748){const _0xac0f79=this['_getAttributeChanges'](_0x4c976f['getAttributes'](),_0x5ea542['getAttributes']());for(const _0x17f641 in _0xac0f79){const {oldValue:_0x261027,newValue:_0x5d5b30}=_0xac0f79[_0x17f641];this['_operationsData']['push']({'type':'attribute','path':_0xc98748['slice'](),'howMany':0x1,'key':_0x17f641,'oldValue':_0x261027,'newValue':_0x5d5b30});}}_handleTextAttributeChanges(_0x242f99,_0xb3340a,_0x2736f7){const _0x194cbe=this['_operationsData'],_0x5b002a=_0x242f99[0x0]['parent'],_0x29c554=_0x242f99[0x0]['offset'],_0x3c287d=_0xb3340a[0x0]['parent'],_0x1e5e01=_0xb3340a[0x0]['offset'],_0x26f012=_0x242f99['reduce']((_0x411ffd,_0x5a519b)=>_0x411ffd+_0x5a519b['data']['length'],0x0),_0x13be26=this['_getAttrsForOffsets'](_0x5b002a,_0x29c554,_0x26f012),_0x2231f0=this['_getAttrsForOffsets'](_0x3c287d,_0x1e5e01,_0x26f012),_0x352d12={};for(let _0x52c686=0x0;_0x52c686<_0x26f012;_0x52c686++){const _0x3fbc3b=_0x13be26[_0x29c554+_0x52c686],_0x28d15d=_0x2231f0[_0x1e5e01+_0x52c686],_0x46e118=this['_getAttributeChanges'](_0x3fbc3b,_0x28d15d);for(const _0x46c8eb in _0x352d12)_0x46e118[_0x46c8eb]||_0x43277e(_0x46c8eb);for(const _0xddabe4 in _0x46e118){const {oldValue:_0x156fd3,newValue:_0x238cd3}=_0x46e118[_0xddabe4],_0x1c85d6=_0x352d12[_0xddabe4];_0x1c85d6?_0x1c85d6['oldValue']==_0x156fd3&&_0x1c85d6['newValue']==_0x238cd3?_0x1c85d6['length']++:(_0x43277e(_0xddabe4),_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1}):_0x352d12[_0xddabe4]={'oldValue':_0x156fd3,'newValue':_0x238cd3,'start':_0x52c686,'length':0x1};}}for(const _0x46356a in _0x352d12)_0x43277e(_0x46356a);function _0x43277e(_0x51513c){const _0x3b62b2=_0x352d12[_0x51513c],_0xa3e5bd=_0x2736f7['slice']();_0xa3e5bd[_0xa3e5bd['length']-0x1]+=_0x3b62b2['start'],_0x194cbe['push']({'type':'attribute','path':_0xa3e5bd,'howMany':_0x3b62b2['length'],'key':_0x51513c,'oldValue':_0x3b62b2['oldValue'],'newValue':_0x3b62b2['newValue']}),delete _0x352d12[_0x51513c];}}_getAttributeChanges(_0x3631c7,_0x5b3e2d){const _0x59d2e1={};for(const [_0x58bde1,_0x357fec]of _0x3631c7)_0x59d2e1[_0x58bde1]={'oldValue':JSON['stringify'](_0x357fec),'newValue':'null'};for(const [_0x531a86,_0x19526d]of _0x5b3e2d){const _0x4fcd7e=JSON['stringify'](_0x19526d);_0x59d2e1[_0x531a86]?_0x59d2e1[_0x531a86]['oldValue']==_0x4fcd7e?delete _0x59d2e1[_0x531a86]:_0x59d2e1[_0x531a86]['newValue']=_0x4fcd7e:_0x59d2e1[_0x531a86]={'oldValue':'null','newValue':_0x4fcd7e};}return delete _0x59d2e1[jt],_0x59d2e1;}_getAttrsForOffsets(_0x4f8774,_0x42b42e,_0xeebf7b){const _0x3b0a41=new Array(_0x42b42e+_0xeebf7b);let _0x16923b=_0x4f8774['getChildAtOffset'](_0x42b42e),_0x2e6d07=_0x16923b['startOffset'];for(;_0x16923b&&_0x2e6d07<_0x42b42e+_0xeebf7b;){const _0x4400b3=Array['from'](_0x16923b['getAttributes']());_0x3b0a41['fill'](_0x4400b3,_0x2e6d07,_0x2e6d07+_0x16923b['offsetSize']),_0x2e6d07+=_0x16923b['offsetSize'],_0x16923b=_0x16923b['nextSibling'];}return _0x3b0a41;}_getPositionFromAnchorAndPath(_0x2dcab0,_0x1fb586){const _0x42b1e8=[..._0x2dcab0['path']['slice'](0x0,-0x1),_0x2dcab0['offset']+_0x1fb586[0x0],..._0x1fb586['slice'](0x1)];return new _0x44c66f(_0x2dcab0['root'],_0x42b1e8);}['_makeModelFromTokens'](_0x1d2202){const _0x5c21ed=[];let _0x218154=null;for(const _0x182d56 of _0x1d2202)if('element'!=_0x182d56['type']||_0x182d56['isStart']||_0x218154!=_0x182d56['element']){if(!_0x218154){if('text'==_0x182d56['type']){const _0x52b528=_0x44c66f['_createAt'](_0x182d56['parent'],_0x182d56['offset']),_0x5410e5=_0x1f7020['_createFromPositionAndShift'](_0x52b528,_0x182d56['data']['length']),_0x10d907=Array['from'](_0x5410e5['getItems']())['map'](_0xb8644d=>new _0x96df45(_0xb8644d['data'],_0xb8644d['getAttributes']()));_0x5c21ed['push'](..._0x10d907);}else{_0x218154=_0x182d56['element'];const _0x1005b8=_0x182d56['element']['_clone'](!0x0);_0x1005b8['_removeAttribute'](jt);for(const _0x34462d of this['_editor']['model']['createRangeIn'](_0x1005b8)['getItems']())_0x34462d['is']('element')&&_0x34462d['_removeAttribute'](jt);_0x5c21ed['push'](_0x1005b8);}}}else _0x218154=null;return _0x5c21ed;}};function qt(_0x2c4bb8,_0x278fbc){return _0x2c4bb8['type']===_0x278fbc['type']&&(_0x2c4bb8['limitId']===_0x278fbc['limitId']&&('text'==_0x2c4bb8['type']?_0x2c4bb8['data']==_0x278fbc['data']:function(_0x5ed2e0,_0x24a831){if(_0x5ed2e0['isStart']!=_0x24a831['isStart'])return!0x1;if(_0x5ed2e0['isStart']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;if(_0x5ed2e0['category']!=_0x24a831['category'])return!0x1;if('block'==_0x5ed2e0['category'])return!0x0;if('container'==_0x5ed2e0['category']&&_0x5ed2e0['elementId']!=_0x24a831['elementId'])return!0x1;return _0x5ed2e0['element']['name']==_0x24a831['element']['name'];}(_0x2c4bb8,_0x278fbc)));}function Zt(_0x380d68){return Tt({'name':_0x380d68['name'],...Object['fromEntries'](_0x380d68['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x69d8fb,Editor as _0x51fb93,Plugin as _0x74edaa}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x461bb0,Collection as _0x1aaee8,FocusTracker as _0x235dc2,KeystrokeHandler as _0x3f2a37,first as _0x5ad3ec,toArray as _0x3d4302,uid as _0x51bbfb}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2b839e,DropdownButtonView as _0x3a3614,FocusCycler as _0x59adcd,IconView as _0x216492,View as _0x55b4de,isViewWithFocusCycler as _0x549370}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x350a83,IconCheck as _0x8bf054,IconNotification as _0xd323db}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x3ba3c9,toWidget as _0x371895}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x125318}from'luxon';import{AttributeOperation as _0x3bd790,InsertOperation as _0x300a6c,MarkerOperation as _0x58f62,MergeOperation as _0x12be85,ModelPosition as _0x50f613,ModelRange as _0x11328e,ModelText as _0x199250,ModelTreeWalker as _0x453315,MoveOperation as _0x55b9f4,RenameOperation as _0x40f809,SplitOperation as _0x4556bd}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x5af925}from'diff';var B=class extends _0x69d8fb{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x14f0e8,_0x5a9feb){let _0x46e469;if(_0x5a9feb||(_0x5a9feb=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5a9feb?_0x46e469=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x46e469=this['context']['editors']['find'](_0x3a4606=>_0x3a4606['config']['get']('collaboration.channelId')==_0x5a9feb)),!_0x46e469)throw new _0x461bb0('permissions-set-permissions-invalid-channel-id',null);const _0x5c549d=_0x46e469['plugins'],_0x154562=_0x5c549d['has']('CommentsRepository')?_0x5c549d['get']('CommentsRepository'):void 0x0,_0x46860f=_0x5c549d['has']('CommentsOnly')&&_0x5c549d['get']('CommentsOnly'),_0x3fccef=_0x14f0e8['includes']('document:write'),_0x7608df=_0x14f0e8['includes']('comment:modify_all'),_0x3b304f=_0x14f0e8['includes']('comment:admin'),_0x58d772=_0x14f0e8['includes']('comment:write'),_0x1954c5=_0x58d772||_0x3b304f,_0xfced01=_0x1954c5||_0x7608df,_0x6d422a=_0x3fccef||_0x1954c5;if(_0x46860f&&(_0x46860f['isEnabled']=!_0x3fccef&&_0xfced01),_0x46e469 instanceof _0x51fb93&&(_0x3fccef||_0xfced01&&_0x154562?_0x46e469['disableReadOnlyMode']('no-permissions'):_0x46e469['enableReadOnlyMode']('no-permissions')),_0x154562){_0x154562['setPermissions']({'admin':_0x3b304f,'modifyAll':_0x7608df,'write':_0x58d772,'resolve':_0x6d422a},_0x5a9feb);const _0x258913=_0x46e469 instanceof _0x51fb93&&_0x46e469['commands']['get']('addCommentThread');_0x258913&&(_0x1954c5?_0x258913['clearForceDisabled']('noPermissions'):_0x258913['forceDisabled']('noPermissions'));}}};function D(_0x867062,_0x797403){const t=_0x867062['t'];switch(_0x797403){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var $=class extends _0x69d8fb{['users'];_lastColor;['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[B];}constructor(_0x2a4840){super(_0x2a4840),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1aaee8(),this['_locale']=_0x2a4840['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:_0x50b693,name:_0x3ecc33,..._0x428f26}){if(!_0x50b693||'string'!=typeof _0x50b693)throw new _0x461bb0('users-add-invalid-id');if(this['users']['has'](_0x50b693))throw new _0x461bb0('users-add-duplicated-id',null,{'id':_0x50b693});const _0xdcef8c=this['context']['config']['get']('users.getInitialsCallback'),_0x267d11={..._0x428f26,'id':_0x50b693,'name':R(this['_locale'],_0x3ecc33),'color':this['_getNextColor']()};_0x267d11['name']=R(this['_locale'],_0x267d11['name']);const _0x4c6dc5=new L(_0x267d11,_0xdcef8c);return this['users']['add'](_0x4c6dc5),_0x4c6dc5;}getUser(_0x47c600){return this['users']['get'](_0x47c600);}['useAnonymousUser'](){const _0x55cf19=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x55cf19);}['defineMe'](_0x55ece0){if(this['_myId'])throw new _0x461bb0('users-me-already-defined',null);const _0x13e193=this['getUser'](_0x55ece0);if(!_0x13e193)throw new _0x461bb0('users-me-missing-user',null);this['_myId']=_0x55ece0,_0x13e193['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x340013=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x340013&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3338f2=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3338f2,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0x5afcb4,_0x543fcf){this['id']=_0x5afcb4['id'],this['color']=_0x5afcb4['color'],this['name']=_0x5afcb4['name'],this['initials']=_0x543fcf?_0x543fcf(this['name']):this['_computeInitials'](),this['avatar']=_0x5afcb4['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x39f5fc=this['name']['split']('\x20')['filter'](_0x35b5a8=>/^[\p{Letter}]/u['test'](_0x35b5a8));return 0x1===_0x39f5fc['length']?this['_getInitial'](_0x39f5fc[0x0]):0x0===_0x39f5fc['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x39f5fc[0x0])+this['_getInitial'](_0x39f5fc[_0x39f5fc['length']-0x1]);}_getInitial(_0x2e6923){return String['fromCodePoint'](_0x2e6923['codePointAt'](0x0))['toUpperCase']();}};function R(_0x2c16d5,_0x255ea3=''){return''==(_0x255ea3=_0x255ea3['trim']())?D(_0x2c16d5,'Anonymous'):_0x255ea3;}var F=class{['_id'];constructor(_0x7e23a2){this['_id']=_0x7e23a2;}get['id'](){return this['_id'];}getBackgroundColorClass(){return'ck-user__bg-color--'+this['id'];}getSelectionClass(){return'ck-user__selection--'+this['id'];}getMarkerClass(){return'ck-user__marker--'+this['id'];}getColorVariable(){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}getColorAlphaVariable(){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},H=class extends _0x55b4de{['name'];notificationView;constructor(_0x567da3,_0x2e0144,_0x3aa779,_0x1ac710){super(_0x567da3),this['name']=_0x2e0144['name'],this['notificationView']=null;const _0x454fcb=['ck','ck-user'],_0x288159=['ck','ck-user__img'];_0x2e0144['isAnonymous']&&_0x288159['push']('ck-user__anonymous'),!_0x2e0144['isAnonymous']&&_0x2e0144['isMe']&&_0x454fcb['push']('ck-user_me'),(_0x2e0144['avatar']||_0x1ac710)&&_0x288159['push']('ck-user__avatar');let _0x57faa8=null;if(_0x1ac710&&(_0x57faa8=new _0x216492(),_0x57faa8['content']=_0x1ac710,_0x57faa8['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x3aa779){const _0x295c9e=new _0x216492();_0x295c9e['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x295c9e['content']=_0xd323db,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3aa779},'children':[_0x295c9e]};}const _0x1ba08e=[{'tag':'div','attributes':{'class':_0x288159,'style':{'background-image':_0x2e0144['avatar']&&!_0x1ac710?'url(\x27'+_0x2e0144['avatar']+'\x27)':''}},'children':_0x57faa8?[_0x57faa8]:[]},{'tag':'div','attributes':{'class':_0x2e0144['avatar']||_0x1ac710?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x2e0144['name']},'children':[{'text':_0x2e0144['initials']}]}];this['notificationView']&&_0x1ba08e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x454fcb,'data-user-id':_0x2e0144['id']},'children':_0x1ba08e});}},U=class extends _0x55b4de{['children'];['iconView'];['labelView'];constructor(_0x14dbfe){super(_0x14dbfe);const _0xdf3e47=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0xdf3e47['to']('class'),_0xdf3e47['to']('iconPosition',_0x4d10bb=>'right'===_0x4d10bb?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0xdf3e47['to']('tooltip'),'data-cke-tooltip-position':_0xdf3e47['to']('tooltipPosition'),'data-cke-tooltip-class':_0xdf3e47['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x4c1601,_0x2a1641,_0x584811,_0x1ed4e3)=>{_0x584811&&!_0x1ed4e3?this['children']['add'](this['iconView'],0x0):!_0x584811&&_0x1ed4e3&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x37ccbb=new _0x216492();return _0x37ccbb['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x37ccbb['bind']('content')['to'](this,'icon'),_0x37ccbb;}_createLabelView(){const _0x59c40d=new _0x55b4de(this['locale']),_0x543793=this['bindTemplate'];return _0x59c40d['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x543793['to']('label')}]}),_0x59c40d;}},z=class extends _0x55b4de{['id'];constructor(_0x470edd,_0x3040c3){super(_0x470edd),this['id']='ck-aria-description-'+_0x51bbfb(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x3040c3}]});}},W=class extends _0x2b839e{['render'](){super['render'](),j(this);}},Y=class extends _0x3a3614{['render'](){super['render'](),j(this);}};function j(_0x96fb69){_0x96fb69['listenTo'](_0x96fb69['element'],'mousedown',(_0x766ba3,_0x749ac4)=>{_0x749ac4['stopPropagation'](),_0x749ac4['preventDefault']();}),_0x96fb69['listenTo'](_0x96fb69['element'],'mouseup',()=>{_0x96fb69['element']['focus']();});}function J(_0x788b06){const _0x56034d=_0x788b06['split'](':');return{'group':_0x56034d[0x0],'type':_0x56034d[0x1],'subType':_0x56034d['length']>=0x5?_0x56034d[0x2]:null,'id':_0x56034d['length']<0x5?_0x56034d[0x2]:_0x56034d[0x3],'authorId':_0x56034d['length']<0x5?_0x56034d[0x3]:_0x56034d[0x4],'markerCount':0x6==_0x56034d['length']?_0x56034d[0x5]:null};}function G(_0x21d32e,_0x5e4c43){const _0x3bd55d=_0x21d32e['end']['nodeBefore'];if(_0x3bd55d&&_0x3bd55d['is']('element')&&_0x5e4c43['schema']['isBlock'](_0x3bd55d)&&!_0x5e4c43['schema']['isObject'](_0x3bd55d)){const _0x3d0d3e=_0x5e4c43['createPositionAt'](_0x3bd55d,'end');return _0x5e4c43['createRange'](_0x21d32e['start'],_0x3d0d3e);}return _0x21d32e;}var K=class extends _0x74edaa{afterInit(){const _0x43e429=this['editor'];_0x43e429['plugins']['has']('AlignmentEditing')&&_0x43e429['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x74edaa{afterInit(){const _0x5b2aea=this['editor'],_0x4e097a=_0x5b2aea['plugins']['get']('SuggestionsConversion');for(const _0x6a3bac of q){if(!_0x5b2aea['plugins']['has'](_0x6a3bac))continue;const _0x575020=_0x6a3bac['slice'](0x0,-0x7)['toLowerCase']();_0x4e097a['registerInlineAttribute'](_0x575020);}}},Q=class extends _0x74edaa{afterInit(){const _0x4ed375=this['editor'],_0x5d0bd5=_0x4ed375['plugins']['get']('SuggestionsConversion');_0x4ed375['plugins']['has']('BookmarkEditing')&&_0x5d0bd5['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x74edaa{afterInit(){const _0x136911=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x4e9fa3,commandName:_0x218a5c}of X)this['editor']['plugins']['has'](_0x4e9fa3)&&_0x136911['registerInlineAttribute'](_0x218a5c);}},et=class extends _0x74edaa{afterInit(){const {editor:_0x5b4efb}=this;if(!_0x5b4efb['plugins']['has']('FootnotesPropertiesEditing'))return;const _0xcff5ad=_0x5b4efb['plugins']['get']('SuggestionsConversion');_0xcff5ad['registerBlockAttribute']('footnotesListStyle'),_0xcff5ad['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x74edaa{afterInit(){const _0x2770f7=this['editor'];if(!_0x2770f7['plugins']['has']('GeneralHtmlSupport')||!_0x2770f7['plugins']['has']('DataSchema'))return;const _0x26f7c4=_0x2770f7['plugins']['get']('SuggestionsConversion'),_0xca98f6=_0x2770f7['plugins']['get']('GeneralHtmlSupport'),_0x55812f=_0x2770f7['plugins']['get']('DataSchema');for(const _0x3b6bef of _0x55812f['getDefinitionsForView'](/.*/,!0x1)){const _0x3c0bc1=_0xca98f6['getGhsAttributeNameForElement'](_0x3b6bef['view']);!_0x3b6bef['isInline']||_0x3b6bef['isObject']||'appliesToBlock'in _0x3b6bef&&_0x3b6bef['appliesToBlock']?_0x26f7c4['registerBlockAttribute'](_0x3c0bc1):_0x26f7c4['registerInlineAttribute'](_0x3c0bc1);}}},it=class extends _0x74edaa{afterInit(){const _0x4790d8=this['editor'];_0x4790d8['plugins']['has']('HighlightEditing')&&_0x4790d8['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x74edaa{afterInit(){const _0x158a94=this['editor'];_0x158a94['plugins']['has']('HtmlEmbed')&&_0x158a94['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x74edaa{afterInit(){const _0x197bf4=this['editor'];if(!_0x197bf4['plugins']['has']('ImageEditing'))return;const _0x1807b8=_0x197bf4['plugins']['get']('SuggestionsConversion');_0x1807b8['registerBlockAttribute']('src'),_0x197bf4['plugins']['has']('ImageResize')&&_0x1807b8['registerBlockAttribute']('resizedWidth'),_0x197bf4['plugins']['has']('ImageTextAlternativeEditing')&&_0x1807b8['registerBlockAttribute']('alt'),_0x197bf4['plugins']['has']('PictureEditing')&&_0x1807b8['registerBlockAttribute']('sources'),_0x197bf4['plugins']['has']('ImageSizeAttributes')&&(_0x1807b8['registerBlockAttribute']('width'),_0x1807b8['registerBlockAttribute']('height'));}},rt=class extends _0x74edaa{afterInit(){const _0x3fc8d3=this['editor'],_0x38d2e6=_0x3fc8d3['plugins']['get']('SuggestionsConversion');_0x3fc8d3['plugins']['has']('IndentBlock')&&(_0x38d2e6['registerBlockAttribute']('blockIndent'),_0x3fc8d3['plugins']['has']('ListEditing')&&(_0x38d2e6['registerBlockAttribute']('blockIndentList'),_0x38d2e6['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x74edaa{afterInit(){const _0x484fa1=this['editor'];_0x484fa1['plugins']['has']('LineHeight')&&_0x484fa1['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x74edaa{afterInit(){const _0x2b7752=this['editor'];if(!_0x2b7752['plugins']['has']('LinkEditing'))return;const _0xffa868=_0x2b7752['plugins']['get']('SuggestionsConversion'),_0x5d2e78=_0x2b7752['commands']['get']('link');_0xffa868['registerInlineAttribute']('linkHref');for(const _0x17f8af of _0x5d2e78['manualDecorators'])_0xffa868['registerInlineAttribute'](_0x17f8af['id']);}},lt=class extends _0x74edaa{afterInit(){const _0x40c432=this['editor'];if(!_0x40c432['plugins']['has']('ListEditing'))return;const _0x11d329=_0x40c432['plugins']['get']('SuggestionsConversion'),_0x4cc924=_0x40c432['plugins']['has']('TodoListEditing');_0x11d329['registerBlockAttribute']('listItemId'),_0x11d329['registerBlockAttribute']('listType'),_0x11d329['registerBlockAttribute']('listIndent'),_0x4cc924&&_0x11d329['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x74edaa{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3cd41a=this['editor']['config']['get']('list.properties'),_0x11c51b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3cd41a['styles']&&_0x11c51b['registerBlockAttribute']('listStyle'),_0x3cd41a['reversed']&&_0x11c51b['registerBlockAttribute']('listReversed'),_0x3cd41a['startIndex']&&_0x11c51b['registerBlockAttribute']('listStart');}},ut=class extends _0x74edaa{afterInit(){const _0x416410=this['editor'],_0x13d3d4=_0x416410['plugins']['get']('SuggestionsConversion');_0x416410['plugins']['has']('MultiLevelList')&&_0x13d3d4['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x74edaa{afterInit(){const _0x58d435=this['editor'];if(!_0x58d435['plugins']['has']('TableEditing'))return;const _0x2661d2=_0x58d435['plugins']['get']('SuggestionsConversion');_0x2661d2['registerBlockAttribute']('headingRows'),_0x2661d2['registerBlockAttribute']('headingColumns');}},gt=class extends _0x74edaa{afterInit(){const {plugins:_0x384431}=this['editor'];if(!_0x384431['has']('TablePropertiesEditing'))return;const _0x283247=_0x384431['get']('SuggestionsConversion');for(const _0x465b4b of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x283247['registerBlockAttribute'](_0x465b4b);}},ft=class extends _0x74edaa{afterInit(){const _0x56f107=this['editor'],_0x3786d7=_0x56f107['plugins']['get']('SuggestionsConversion');_0x56f107['plugins']['has']('TableLayout')&&_0x3786d7['registerBlockAttribute']('tableType');}},mt=class extends _0x74edaa{afterInit(){const _0x2147eb=this['editor'],_0xb0fc5b=this['editor']['plugins']['get']('SuggestionsConversion');_0x2147eb['plugins']['has']('Uploadcare')&&_0x2147eb['plugins']['has']('UploadcareImageEdit')&&_0xb0fc5b['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x74edaa{afterInit(){const _0x2bfafb=this['editor'];if(!_0x2bfafb['plugins']['has']('ShiftEnter'))return;const _0xbfeccc=_0x2bfafb['plugins']['get']('SuggestionsConversion'),_0x136835=(_0x1eab81,_0x1bcaa5,_0xd6ce47,_0x1a1916)=>{if(_0x1a1916&&!_0xd6ce47['options']['showSuggestionHighlights'])return;if(!_0xd6ce47['consumable']['test'](_0x1bcaa5['markerRange'],_0x1eab81['name']))return;const _0x1fcf40=_0x2bfafb['model'];for(const _0x186800 of _0x1bcaa5['markerRange']['getItems']()){if(!_0x186800['is']('element','softBreak'))continue;const _0x29813f='deletion'==_0x1bcaa5['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3937f8,authorId:_0x1131d0}=J(_0x1bcaa5['markerName']),_0x2f00c3=_0xd6ce47['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x29813f,'data-suggestion':_0x3937f8,'data-author-id':_0x1131d0}),_0x11cab6=_0xd6ce47['mapper']['toViewPosition'](_0x1fcf40['createPositionBefore'](_0x186800));!_0x1a1916&&_0xbfeccc['_activeMarkers']['includes'](_0x1bcaa5['markerName'])&&_0xd6ce47['writer']['addClass']('ck-suggestion-marker--active',_0x2f00c3),_0xd6ce47['writer']['insert'](_0x11cab6,_0x2f00c3),_0xd6ce47['mapper']['bindElementToMarker'](_0x2f00c3,_0x1bcaa5['markerName']);}};_0x2bfafb['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xdbc274,_0xe91490,_0x2e4ca7)=>{_0x136835(_0xdbc274,_0xe91490,_0x2e4ca7,!0x1);},{'priority':'high'}),_0x2bfafb['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xfdbb35,_0x3600ef,_0x3a10ed)=>{_0x136835(_0xfdbb35,_0x3600ef,_0x3a10ed,!0x1);},{'priority':'high'}),_0x2bfafb['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5d9291,_0xe00172,_0x1dd851)=>{_0x136835(_0x5d9291,_0xe00172,_0x1dd851,!0x0);},{'priority':'high'}),_0x2bfafb['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4860f3,_0x479667,_0x237838)=>{_0x136835(_0x4860f3,_0x479667,_0x237838,!0x0);},{'priority':'high'});}},kt=class extends _0x74edaa{afterInit(){const _0x14c4af=this['editor'];if(!_0x14c4af['plugins']['has']('MediaEmbedEditing'))return;const _0x20ee73=_0x14c4af['plugins']['get']('SuggestionsConversion');_0x14c4af['plugins']['has']('MediaEmbedResizeEditing')&&_0x20ee73['registerBlockAttribute']('resizedWidth'),_0x14c4af['plugins']['has']('MediaEmbedStyleEditing')&&_0x20ee73['registerBlockAttribute']('mediaStyle'),_0x14c4af['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x5720dc,{writer:_0x264982,options:_0x1a3810})=>{if(_0x1a3810['showSuggestionHighlights'])return _0x264982['createEmptyElement']('div');},'converterPriority':'high'}),_0x14c4af['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5f096c,_0xd652f,_0x2d040c)=>{_0x2d040c['options']['showSuggestionHighlights']&&_0x5f096c['stop']();},{'priority':'high'});}},yt=class extends _0x74edaa{afterInit(){const _0xc48232=this['editor'];if(!_0xc48232['plugins']['has']('Table'))return;_0xc48232['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2cad21,_0x17aeed,_0x544a15)=>{((_0x55b855,_0x4ca4c6,_0xcce731)=>{if(!_0xcce731['options']['showSuggestionHighlights'])return;const _0x3a08cd=_0x4ca4c6['item'];if(!_0x3a08cd||!_0x3a08cd['is']('element','tableCell'))return;const _0x5bf724=_0xcce731['mapper']['toViewElement'](_0x3a08cd);if(_0x5bf724){const {id:_0x25ebbf,authorId:_0x4c1c72}=J(_0x4ca4c6['markerName']);_0x3ba3c9(_0x5bf724,_0xcce731['writer'],(_0x4b8e0d,_0x1ced68,_0x19e138)=>{_0x19e138['addClass'](_0x3d4302(_0x1ced68['classes']),_0x4b8e0d),_0x19e138['setAttribute']('data-suggestion',_0x25ebbf,_0x4b8e0d),_0x19e138['setAttribute']('data-author-id',_0x4c1c72,_0x4b8e0d);});}})(0x0,_0x17aeed,_0x544a15);},{'priority':'highest'});}},bt=class extends _0x74edaa{afterInit(){const _0x3add6b=this['editor'];_0x3add6b['plugins']['has']('HorizontalLineEditing')&&_0x3add6b['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4b023f,{writer:_0x2634c7,options:_0x54e5ce})=>{if(!_0x54e5ce['showSuggestionHighlights'])return null;const _0x530d29=_0x2634c7['createContainerElement']('div'),_0x9f422f=_0x2634c7['createEmptyElement']('hr');return _0x2634c7['addClass']('ck-horizontal-line',_0x530d29),_0x2634c7['insert'](_0x2634c7['createPositionAt'](_0x530d29,0x0),_0x9f422f),_0x530d29;},'converterPriority':'high'});}},wt=class extends _0x74edaa{afterInit(){const {plugins:_0x1b1f56,model:_0x234ec3}=this['editor'];if(!_0x1b1f56['has']('TableCellPropertiesEditing'))return;const _0x4110fc=_0x1b1f56['get']('SuggestionsConversion');for(const _0x419718 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x4110fc['registerBlockAttribute'](_0x419718);_0x234ec3['schema']['checkAttribute']('tableCell','tableCellType')&&_0x4110fc['registerBlockAttribute']('tableCellType');}},vt=class extends _0x74edaa{afterInit(){const _0x4f10df=this['editor'];_0x4f10df['plugins']['has']('TableEditing')&&_0x4f10df['config']['get']('table.enableFooters')&&_0x4f10df['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x74edaa{_activeMarkers=[];_blockAttributeKeys=new Set(['$elementName']);_inlineAttributeKeys=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get requires(){return[K,Z,Q,tt,et,st,it,bt,nt,ot,rt,at,ct,lt,ht,kt,ut,pt,yt,dt,vt,ft,wt,gt,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x369efa=this['editor'],_0x4f78f6=(_0x194b78,_0x42b307,_0x518e10)=>{const {id:_0x1bb2eb,authorId:_0x2d4767,type:_0x3b2cc5,subType:_0x37f24d}=J(_0x194b78['markerName']),_0x4156c3=['ck-suggestion-marker',this['_getClassName'](_0x3b2cc5,_0x37f24d)];let _0x45302b=0xbb8;return _0x518e10||this['_activeMarkers']['includes'](_0x194b78['markerName'])&&(_0x4156c3['push']('ck-suggestion-marker--active'),_0x45302b=0xbc2),'deletion'==_0x3b2cc5&&(_0x45302b+=0x5),{'classes':_0x4156c3,'attributes':{'data-suggestion':_0x1bb2eb,'data-author-id':_0x2d4767},'priority':_0x45302b};};_0x369efa['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x53e7f5,_0x41d25b)=>_0x4f78f6(_0x53e7f5,0x0,!0x1)}),_0x369efa['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4ac72d,_0x560d77)=>_0x4f78f6(_0x4ac72d,0x0,!0x0)}),_0x369efa['conversion']['for']('dataDowncast')['add'](_0x5bf357=>{_0x5bf357['on']('addMarker:suggestion',(_0x131504,_0x3e5a20,_0x57bd12)=>{if(!_0x57bd12['options']['showSuggestionHighlights'])return;const _0xe66700=_0x3e5a20['item'];if(!_0xe66700)return;const _0x23c872=_0x57bd12['mapper']['toViewElement'](_0xe66700);_0x369efa['model']['schema']['isObject'](_0xe66700)&&_0x23c872&&!_0x23c872['getCustomProperty']('widget')&&_0x23c872['is']('containerElement')&&_0x371895(_0x23c872,_0x57bd12['writer']);},{'priority':'high'});});const _0x54b26b=(_0x2b97ec,_0x5292e9,_0x369385,_0x28f15d,_0x515bb9)=>{if(_0x28f15d&&!_0x369385['options']['showSuggestionHighlights'])return;if(!_0x5292e9['item'])return;const {id:_0x524d3a,authorId:_0x55e3c1,subType:_0x560795}=J(_0x5292e9['markerName']);if(_0x515bb9){const _0xe202f=_0x560795['split']('|')[0x0];if(!this['isBlockAttribute'](_0xe202f))return;}if(_0x5292e9['item']['is']('selection'))return void _0x369385['consumable']['consume'](_0x5292e9['item'],_0x2b97ec['name']);const _0x232012=_0x369385['mapper']['toViewElement'](_0x5292e9['item']);if(_0x5292e9['item']['is']('element')&&_0x369efa['model']['schema']['isBlock'](_0x5292e9['item'])&&!_0x232012['getCustomProperty']('addHighlight')){_0x369385['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x232012),_0x369385['writer']['setAttribute']('data-suggestion',_0x524d3a,_0x232012),_0x369385['writer']['setAttribute']('data-author-id',_0x55e3c1,_0x232012),_0x369385['mapper']['bindElementToMarker'](_0x232012,_0x5292e9['markerName']),_0x28f15d||(this['_activeMarkers']['includes'](_0x5292e9['markerName'])?_0x369385['writer']['addClass']('ck-suggestion-marker--active',_0x232012):_0x369385['writer']['removeClass']('ck-suggestion-marker--active',_0x232012));for(const _0x5b613b of _0x369efa['model']['createRangeIn'](_0x5292e9['item'])['getItems']())_0x369385['consumable']['consume'](_0x5b613b,_0x2b97ec['name']);_0x369385['consumable']['consume'](_0x5292e9['item'],_0x2b97ec['name']);}},_0x2c4ad7=(_0x5ac5c7,_0x214afc,_0x55d983,_0x4b60f0)=>{const _0x865d40=_0x55d983['mapper']['markerNameToElements'](_0x214afc['markerName']);if(_0x865d40){if(_0x4b60f0){const {subType:_0x26546a}=J(_0x214afc['markerName']),_0x134d01=_0x26546a['split']('|')[0x0];if(!this['isBlockAttribute'](_0x134d01))return;}for(const _0x2c6e60 of _0x865d40)_0x2c6e60['getCustomProperty']('addHighlight')||(_0x55d983['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2c6e60),_0x55d983['writer']['removeAttribute']('data-suggestion',_0x2c6e60),_0x55d983['writer']['removeAttribute']('data-author-id',_0x2c6e60),_0x55d983['mapper']['unbindElementFromMarkerName'](_0x2c6e60,_0x214afc['markerName']));}};_0x369efa['conversion']['for']('editingDowncast')['add'](_0x57e1ba=>{_0x57e1ba['on']('addMarker:suggestion:formatBlock',(_0x37cf1f,_0x387769,_0x4720f7)=>{_0x54b26b(_0x37cf1f,_0x387769,_0x4720f7,!0x1,!0x1);},{'priority':'high'});}),_0x369efa['conversion']['for']('editingDowncast')['add'](_0x4ca431=>{_0x4ca431['on']('addMarker:suggestion:attribute',(_0x32f877,_0x807ad2,_0x14a272)=>{_0x54b26b(_0x32f877,_0x807ad2,_0x14a272,!0x1,!0x0);},{'priority':'high'});}),_0x369efa['conversion']['for']('editingDowncast')['add'](_0x4b2c4f=>{_0x4b2c4f['on']('removeMarker:suggestion:formatBlock',(_0x306b26,_0x196174,_0x431833)=>{_0x2c4ad7(0x0,_0x196174,_0x431833,!0x1);},{'priority':'high'});}),_0x369efa['conversion']['for']('editingDowncast')['add'](_0x1d79dc=>{_0x1d79dc['on']('removeMarker:suggestion:attribute',(_0x50800e,_0xb14650,_0xb37f0e)=>{_0x2c4ad7(0x0,_0xb14650,_0xb37f0e,!0x0);},{'priority':'high'});}),_0x369efa['conversion']['for']('dataDowncast')['add'](_0x59c1f6=>{_0x59c1f6['on']('addMarker:suggestion:formatBlock',(_0x2a07f5,_0x568461,_0xbb71f8)=>{_0x54b26b(_0x2a07f5,_0x568461,_0xbb71f8,!0x0,!0x1);},{'priority':'highest'});}),_0x369efa['conversion']['for']('dataDowncast')['add'](_0x5a4d66=>{_0x5a4d66['on']('addMarker:suggestion:attribute',(_0x2a997d,_0x980022,_0x2a051b)=>{_0x54b26b(_0x2a997d,_0x980022,_0x2a051b,!0x0,!0x0);},{'priority':'highest'});}),_0x369efa['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x64037a,_0xee91c8)=>_0xee91c8['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x64037a['substr'](0xb)}});const _0x472f98=(_0x268d6e,_0x1b29fb,_0x5220a8,_0x21ea9e,_0x1f2ffa)=>{if(_0x21ea9e&&!_0x5220a8['options']['showSuggestionHighlights'])return;if(!_0x5220a8['consumable']['test'](_0x1b29fb['markerRange'],_0x268d6e['name']))return;const _0x26fdb1=this['_activeMarkers'],_0xcf6859=_0x1b29fb['markerRange']['getWalker'](),_0x50b267=_0x1b29fb['markerRange']['start'],_0x2fd673=_0x369efa['model']['schema'];let _0x5e4c7c=null,_0x3b5212=null,_0x1d2cd8=!0x1,_0x3e3d1f=!0x1;for(const _0x3f00b7 of _0xcf6859){const _0x56d150=_0x3f00b7['item'];_0x1d2cd8=_0x1d2cd8||_0x2fd673['isContent'](_0x56d150);const _0x27af88=_0x5220a8['mapper']['toViewElement'](_0x56d150);if(_0x27af88&&_0x27af88['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3f00b7['type']&&(_0x2fd673['isBlock'](_0x56d150)&&!_0x2fd673['isLimit'](_0x56d150)&&(_0x56d150['nextSibling']||_0x50b267['isAtEnd']?_0x5e4c7c&&_0x5e4c7c['parent']==_0x56d150||(_0x5e4c7c=_0x56d150,_0x154efe(_0x3f00b7['previousPosition']),_0x3e3d1f=!0x0):_0x3b5212=_0x3b5212||_0x3f00b7['previousPosition']));}function _0x154efe(_0x418ee0){const {id:_0x475619,authorId:_0x4790da}=J(_0x1b29fb['markerName']),_0x1b5f4d=_0x5220a8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1f2ffa,'data-suggestion':_0x475619,'data-author-id':_0x4790da}),_0xfca3e0=_0x5220a8['mapper']['toViewPosition'](_0x418ee0);!_0x21ea9e&&_0x26fdb1['includes'](_0x1b29fb['markerName'])&&_0x5220a8['writer']['addClass']('ck-suggestion-marker--active',_0x1b5f4d),_0x5220a8['writer']['insert'](_0xfca3e0,_0x1b5f4d),_0x5220a8['mapper']['bindElementToMarker'](_0x1b5f4d,_0x1b29fb['markerName']);}_0x1d2cd8||_0x3e3d1f||!_0x3b5212||_0x154efe(_0x3b5212);};_0x369efa['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3f4740,_0x3e4ce0,_0x160534)=>{_0x472f98(_0x3f4740,_0x3e4ce0,_0x160534,!0x1,'merge');},{'priority':'high'}),_0x369efa['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x32d1ff,_0x257fb9,_0x510b07)=>{_0x472f98(_0x32d1ff,_0x257fb9,_0x510b07,!0x0,'merge');},{'priority':'high'}),_0x369efa['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3e8169,_0x3648f3,_0x33ad7e)=>{_0x472f98(_0x3e8169,_0x3648f3,_0x33ad7e,!0x1,'split');},{'priority':'high'}),_0x369efa['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x147489,_0x231144,_0x382aeb)=>{_0x472f98(_0x147489,_0x231144,_0x382aeb,!0x0,'split');},{'priority':'high'}),_0x369efa['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3a2aee,_0x3cc23d,_0x37045d)=>{((_0x43650b,_0x2f8e2a,_0x2da8f3)=>{const _0x584b15=_0x2da8f3['mapper']['markerNameToElements'](_0x2f8e2a['markerName']);if(_0x584b15){for(const _0x5c112e of _0x584b15)(_0x5c112e['hasClass']('ck-suggestion-marker-split')||_0x5c112e['hasClass']('ck-suggestion-marker-merge'))&&(_0x2da8f3['mapper']['unbindElementFromMarkerName'](_0x5c112e,_0x2f8e2a['markerName']),_0x2da8f3['writer']['remove'](_0x5c112e));}})(0x0,_0x3cc23d,_0x37045d);},{'priority':'high'});const _0x199812=(_0x2c7f01,_0x1ccf12,_0x259262,_0x24eef8)=>{if(_0x24eef8&&!_0x259262['options']['showSuggestionHighlights'])return;const _0x1dd3b7=_0x1ccf12['markerRange']['start'],_0x46fdfe=_0x1ccf12['markerRange']['end'],_0x5a1577=_0x369efa['model']['schema'];if(!_0x1dd3b7['isTouching'](_0x46fdfe)||!_0x1dd3b7['nodeAfter'])return;const _0x2e1ec5=_0x1dd3b7['nodeAfter'];if(_0x5a1577['isBlock'](_0x2e1ec5)&&!_0x5a1577['isLimit'](_0x2e1ec5)&&_0x5a1577['checkChild'](_0x2e1ec5,'$text')){if(!_0x259262['consumable']['consume'](_0x1ccf12['markerRange'],_0x2c7f01['name']))return;const {id:_0x3fa296,authorId:_0x4e3738}=J(_0x1ccf12['markerName']),_0x49c0c7=_0x259262['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x3fa296,'data-author-id':_0x4e3738}),_0x198f02=_0x259262['mapper']['toViewPosition'](_0x46fdfe);!_0x24eef8&&this['_activeMarkers']['includes'](_0x1ccf12['markerName'])&&_0x259262['writer']['addClass']('ck-suggestion-marker--active',_0x49c0c7),_0x259262['writer']['insert'](_0x198f02,_0x49c0c7),_0x259262['mapper']['bindElementToMarker'](_0x49c0c7,_0x1ccf12['markerName']);}};_0x369efa['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x149d1c,_0x46814a,_0x256572)=>{_0x199812(_0x149d1c,_0x46814a,_0x256572,!0x1);},{'priority':'high'}),_0x369efa['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x565f08,_0x3a4468,_0x4d6270)=>{_0x199812(_0x565f08,_0x3a4468,_0x4d6270,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x160cf1,_0x5213b3,_0x4bfe53)=>{this['_activeMarkers']=_0x4bfe53['slice']();},{'priority':'highest'});}registerBlockAttribute(_0x336d83){this['_blockAttributeKeys']['add'](_0x336d83);}registerInlineAttribute(_0x445a01){this['_inlineAttributeKeys']['add'](_0x445a01);}isBlockAttribute(_0x212b5a){return this['_blockAttributeKeys']['has'](_0x212b5a);}isInlineAttribute(_0x16e0d6){return this['_inlineAttributeKeys']['has'](_0x16e0d6);}isRegisteredAttribute(_0x480786){return this['isInlineAttribute'](_0x480786)||this['isBlockAttribute'](_0x480786);}_getClassName(_0x57816d,_0x18f0f1){if('attribute'!=_0x57816d)return'ck-suggestion-marker-'+_0x57816d;const _0x5874a7=_0x18f0f1['split']('|')[0x0];return this['isBlockAttribute'](_0x5874a7)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x3b28a5={},_0x1525bb){if(void 0x0!==_0x3b28a5['dateTimeFormat']&&'function'!=typeof _0x3b28a5['dateTimeFormat'])throw new _0x461bb0('invalid-date-time-format');return _0x18b572=>{const _0x26bc67='string'==typeof _0x18b572?_0x125318['fromISO'](_0x18b572):_0x125318['fromJSDate'](_0x18b572),_0x1c7be5=_0x125318['now'](),_0x34e15c=Math['floor'](_0x1c7be5['diff'](_0x26bc67,'days')['days']);return _0x3b28a5['dateTimeFormat']?_0x3b28a5['dateTimeFormat'](_0x26bc67['toJSDate'](),_0x1525bb&&_0x1525bb['t']?_0x1525bb['t']:void 0x0):0x0===_0x34e15c?_0x1525bb?D(_0x1525bb,'Today')+'\x20'+_0x26bc67['toFormat']('hh:mma'):_0x26bc67['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x34e15c?_0x1525bb?D(_0x1525bb,'Yesterday')+'\x20'+_0x26bc67['toFormat']('hh:mma'):_0x26bc67['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x34e15c<0x7?_0x1525bb?D(_0x1525bb,'Last')+'\x20'+D(_0x1525bb,_0x26bc67['toFormat']('EEEE'))+'\x20'+_0x26bc67['toFormat']('hh:mma'):_0x26bc67['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x26bc67['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x45d4ad,_0x4c2a89){const _0x542409=_0x45d4ad['mapper']['markerNameToElements'](_0x4c2a89['name']);if(!_0x542409)return null;const _0x150cd4=_0x5ad3ec(_0x542409['values']());return _0x45d4ad['view']['domConverter']['mapViewToDom'](_0x150cd4)||null;}function It(_0x5797ae,_0x4668b0){if(0x0===_0x4668b0['length'])return null;const _0x473bd4=[],_0x8cc49c=_0x5797ae['view']['domConverter'];for(const _0x2b6a52 of _0x4668b0){const _0x158ff9=_0x5797ae['mapper']['markerNameToElements'](_0x2b6a52['name']);if(!_0x158ff9)continue;const _0x37286e=Array['from'](_0x158ff9)['map'](_0x1a8cc5=>_0x8cc49c['mapViewToDom'](_0x1a8cc5))['filter'](_0x3199b5=>!!_0x3199b5);_0x473bd4['push'](..._0x37286e);}if(0x0===_0x473bd4['length'])return null;const _0x3a33fa=[];for(const _0xff7a74 of _0x473bd4){const _0x45489b=_0xff7a74['getClientRects']()['item'](0x0);_0x45489b&&_0x3a33fa['push']({'x':_0x45489b['x'],'y':_0x45489b['y'],'domElement':_0xff7a74});}return 0x0===_0x3a33fa['length']?null:(_0x3a33fa['sort']((_0x2f5e8e,_0x3b1b2e)=>_0x2f5e8e['y']-_0x3b1b2e['y']||_0x2f5e8e['x']-_0x3b1b2e['x']),_0x3a33fa['map'](_0x47c841=>_0x47c841['domElement']));}function St(_0x95e809,{limit:_0x313a9b,suffix:_0x136df7='...'}){const _0x2dc025=[];let _0x1a7c42=0x0;const _0x4eb147=_0x95e809['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x933f06=0x0;_0x933f06<_0x4eb147['length'];_0x933f06++){let _0x282d74=_0x4eb147[_0x933f06];const _0x2c904c=Et(_0x282d74);if(_0x282d74['startsWith']('<')){if(_0x1a7c42>=_0x313a9b){const _0x5b5c3a=_0x282d74['match'](/[a-zA-Z]+/);if(!_0x5b5c3a){_0x4eb147[_0x933f06]='';continue;}const _0x178c69=_0x5b5c3a[0x0];_0x282d74['startsWith']('</')?(_0x2dc025['length']&&(_0x282d74=''),_0x2dc025['pop']()):(_0x2dc025['push'](_0x178c69),_0x282d74='');}}else{if(_0x1a7c42>=_0x313a9b)_0x282d74='';else{if(_0x1a7c42+_0x2c904c['length']>=_0x313a9b){let _0x2a7e05=_0x313a9b-_0x1a7c42;if('\x20'===_0x2c904c[_0x2a7e05-0x1])_0x2a7e05--;else{const _0xad2ff=_0x2c904c['slice'](_0x2a7e05)['indexOf']('\x20');-0x1!==_0xad2ff?_0x2a7e05+=_0xad2ff:_0x2a7e05=_0x282d74['length'];}_0x282d74=_0x2c904c['slice'](0x0,_0x2a7e05)['join']('')+_0x136df7,_0x1a7c42=_0x313a9b;}else _0x1a7c42+=_0x2c904c['length'];}}_0x4eb147[_0x933f06]=_0x282d74;}return _0x4eb147['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x198e53){const _0x561052=[];for(let _0x24637b=0x0;_0x24637b<_0x198e53['length'];_0x24637b++){const _0x4e7988=_0x198e53['substring'](_0x24637b)['match'](/^&[a-z0-9#]+;/);if(_0x4e7988){const _0xe05076=_0x4e7988[0x0];_0x561052['push'](_0xe05076),_0x24637b+=_0xe05076['length']-0x1;}else _0x561052['push'](_0x198e53[_0x24637b]);}return _0x561052;}var Mt=class extends _0x55b4de{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x317369){super(_0x317369);const _0x148263=this['bindTemplate'];this['set']('message',D(_0x317369,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x317369,D(_0x317369,'Yes'),_0x8bf054,'submit'),this['cancelView']=this['_createButtonView'](_0x317369,D(_0x317369,'No'),_0x350a83,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x235dc2(),this['keystrokes']=new _0x3f2a37(),this['focusCycler']=new _0x59adcd({'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':_0x148263['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(_0x1bf701,_0x586bc0,_0x537486,_0x38e669){const _0x1bd6d5=new _0x2b839e(_0x1bf701);return _0x1bd6d5['label']=_0x586bc0,_0x1bd6d5['icon']=_0x537486,_0x1bd6d5['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x38e669}}),_0x1bd6d5['on']('execute',()=>this['fire'](_0x38e669)),_0x1bd6d5;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x53c97c=>{this['keystrokes']['listenTo'](_0x53c97c['element']),this['focusTracker']['add'](_0x53c97c['element']);}),this['keystrokes']['set']('esc',(_0x3c9341,_0x285e43)=>{this['fire']('cancel'),_0x285e43();});}};function At(_0x4360d1){return class _0x45a134 extends _0x4360d1{['showConfirm'](_0x2115c8,_0x11ceb1){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2115c8,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x11ceb1['appendChild'](this['confirmView']['element']),_0x11ceb1['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0xeffbfb,_0x307f6e,_0x498e87)=>{_0x498e87||_0x11ceb1['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x288a70=>this['confirmView']['on']('submit',_0x288a70));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function Tt(_0x3a7b92){let _0x3e73dc=0x0,_0x3eec24=0x0;for(const _0x180e00 of Nt(_0x3a7b92))_0x3e73dc=(_0x3e73dc<<0x5)-_0x3e73dc+_0x180e00,_0x3e73dc&=_0x3e73dc,[_0x3e73dc,_0x3eec24]=[_0x3eec24,_0x3e73dc];return Bt(_0x3e73dc)+Bt(_0x3eec24);}function*Pt(_0xbf4230){null==_0xbf4230||null==_0xbf4230?yield 0x12b9b0a1:0x0===_0xbf4230||!0x1===_0xbf4230?yield 0x0:0x1===_0xbf4230||0x1==_0xbf4230?yield 0x1:Array['isArray'](_0xbf4230)?yield*function*(_0x201b9c){for(const _0x3e9205 of _0x201b9c)yield*Pt(_0x3e9205);}(_0xbf4230):'object'==typeof _0xbf4230?yield*Nt(_0xbf4230):'string'==typeof _0xbf4230?yield*Vt(_0xbf4230):'number'==typeof _0xbf4230&&(yield _0xbf4230);}function*Nt(_0x1d03f3){if(yield Ot('{'),_0x1d03f3){const _0x2aa14e=Object['keys'](_0x1d03f3)['sort']();for(const _0x592f0e of _0x2aa14e){yield*Vt(_0x592f0e),yield Ot(':');const _0x16acea=_0x1d03f3[_0x592f0e];yield*Pt(_0x16acea);}}yield Ot('}');}function*Vt(_0x48ef0c){yield Ot('\x22');for(const _0x480fdd of _0x48ef0c)yield Ot(_0x480fdd);yield Ot('\x22');}function Ot(_0x2edfae){return _0x2edfae['charCodeAt'](0x0);}function Bt(_0x1179f7){return(_0x1179f7*=Math['sign'](_0x1179f7))['toString'](0x24);}function Dt(_0xf576c7){if('addAttribute'!=_0xf576c7['type']&&'removeAttribute'!=_0xf576c7['type']&&'changeAttribute'!=_0xf576c7['type'])return!0x1;try{return _0xf576c7['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x5443b0,_0x4375ee,_0xadc60d,_0x28a1d2=[]){const _0x59cef2='string'==typeof _0x5443b0?_0xadc60d['get'](_0x5443b0)['constructor']:_0x5443b0['prototype']['constructor'];if(_0x4375ee['has'](_0x59cef2))return _0x4375ee['get'](_0x59cef2);_0x4375ee['set'](_0x59cef2,!0x0);const _0x59a2d7=[...Lt,..._0x28a1d2]['map'](_0x505482=>{if(_0xadc60d['has'](_0x505482))return _0xadc60d['get'](_0x505482)['constructor'];})['filter'](_0x2ce4c0=>_0x2ce4c0);if(_0x59cef2&&_0x59a2d7['includes'](_0x59cef2))return _0x4375ee['set'](_0x59cef2,!0x1),!0x1;if(!_0x59cef2['requires'])return _0x4375ee['set'](_0x59cef2,!0x0),!0x0;const _0x1ad27b=_0x59cef2['requires']['every'](_0x344f33=>Rt(_0x344f33,_0x4375ee,_0xadc60d,_0x28a1d2));return _0x4375ee['set'](_0x59cef2,_0x1ad27b),_0x1ad27b;}function Ft(_0x186df1,_0x3697f2){const _0x2d6da1={};for(const _0x4dd234 of _0x186df1['config']['names']())$t['includes'](_0x4dd234)||(_0x2d6da1[_0x4dd234]=_0x186df1['config']['get'](_0x4dd234));const _0xa60b85=_0x2d6da1['plugins']||[],_0x564c33=_0x186df1['constructor']['builtinPlugins']||[],_0x2c96b9=_0xa60b85['length']?_0xa60b85:_0x564c33,_0xcc931f=_0x2d6da1['extraPlugins']||[];delete _0x2d6da1['extraPlugins'];const _0x48ba54=_0x2d6da1['removePlugins']||[];delete _0x2d6da1['removePlugins'];const _0x542eab=_0x186df1['_context']['config']['get']('plugins')||[],_0x562058=_0x2c96b9['concat'](_0xcc931f)['concat'](_0x542eab)['map'](_0x4510ee=>'string'==typeof _0x4510ee?_0x564c33['find'](_0xa6c30d=>_0xa6c30d['pluginName']==_0x4510ee):_0x4510ee)['filter'](_0x5b6d46=>!_0x48ba54['includes'](_0x5b6d46)&&!_0x48ba54['includes'](_0x5b6d46['pluginName'])),_0x568186=Array['from'](new Set(_0x562058)),_0x42d008=new Map();return _0x2d6da1['plugins']=_0x568186['filter'](_0x10da6f=>Rt(_0x10da6f,_0x42d008,_0x186df1['plugins'],_0x3697f2)),_0x2d6da1;}function Ht(_0xd1ff76,_0x52735f){const _0x4fb6e4=[];_0xd1ff76['document']['selection']['on']('change:range',()=>{const _0x5dea72=function(_0x206f15,_0x200ca4){const _0x300df8=[];for(const _0x40aadb of _0x206f15['markers']){const _0x3e952d=_0x40aadb['getRange']();(_0x3e952d['containsPosition'](_0x200ca4)||_0x3e952d['start']['isEqual'](_0x200ca4)||_0x3e952d['end']['isEqual'](_0x200ca4))&&_0x300df8['push'](_0x40aadb);}return _0x300df8;}(_0xd1ff76,_0xd1ff76['document']['selection']['focus']),_0x136c3c=[],_0x6e7cd9=[],_0x526723=[];for(const _0x4e55cd of _0x4fb6e4)_0x5dea72['includes'](_0x4e55cd)||_0x136c3c['push'](_0x4e55cd);for(const _0x32fff9 of _0x5dea72)_0x4fb6e4['includes'](_0x32fff9)||_0x6e7cd9['push'](_0x32fff9),_0x526723['push'](_0x32fff9);(_0x136c3c['length']||_0x6e7cd9['length'])&&_0x52735f({'left':_0x136c3c,'entered':_0x6e7cd9}),_0x4fb6e4['length']=0x0,_0x4fb6e4['push'](..._0x526723);});}const Ut='Ctrl+Shift+E';function zt(_0x275ffc,_0x32d7b0){const _0x31c403=_0x275ffc['element'];_0x275ffc['keystrokes']['listenTo'](_0x31c403);for(const _0x5f4d51 of _0x32d7b0)Wt(_0x275ffc,_0x5f4d51);_0x32d7b0['on']('change',(_0x3c1055,_0x203d64)=>{for(const _0x149359 of _0x203d64['removed'])Yt(_0x275ffc,_0x149359);for(const _0xc98093 of Array['from'](_0x203d64['added'])['reverse']())Wt(_0x275ffc,_0xc98093);}),_0x275ffc['keystrokes']['set']('enter',(_0x21f678,_0x4ac2bd)=>{_0x31c403===_0x21f678['target']&&(_0x275ffc['focusCycler']['focusFirst'](),_0x4ac2bd());},{'filter':_0xe7608d=>_0xe7608d['target']===_0x31c403}),_0x275ffc['keystrokes']['set']('esc',(_0x22f3be,_0x1690e1)=>{_0x31c403!==_0x22f3be['target']?_0x275ffc['focus']():_0x275ffc['fire']('escape'),_0x1690e1();}),_0x275ffc['keystrokes']['set']('arrowdown',(_0x6c1d1f,_0x3a92c0)=>{_0x31c403===_0x6c1d1f['target']&&(_0x275ffc['fire']('arrowdown'),_0x3a92c0());}),_0x275ffc['keystrokes']['set']('arrowup',(_0x3c9874,_0x4c47bb)=>{_0x31c403===_0x3c9874['target']&&(_0x275ffc['fire']('arrowup'),_0x4c47bb());});}function Wt(_0x4f2228,_0x277938){_0x277938['isRendered']&&(_0x4f2228['focusTracker']['add'](_0x277938['element']),_0x4f2228['keystrokes']['listenTo'](_0x277938['element']),_0x549370(_0x277938)&&function(_0xcf022c,_0x122977){const _0x20179c=_0xcf022c['actions'],_0x33764e=_0x122977['actions'];for(const _0x42febe of Object['keys'](_0x20179c))if(_0x42febe in _0x33764e&&_0x20179c[_0x42febe]!==_0x33764e[_0x42febe])return!0x1;return!0x0;}(_0x4f2228['focusCycler'],_0x277938['focusCycler'])&&_0x4f2228['focusCycler']['chain'](_0x277938['focusCycler']));}function Yt(_0x93d0,_0x44b9d6){_0x93d0['focusTracker']['remove'](_0x44b9d6['element']),_0x93d0['keystrokes']['stopListening'](_0x44b9d6['element']),_0x549370(_0x44b9d6)&&_0x93d0['focusCycler']['unchain'](_0x44b9d6['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x69d8fb{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x51fb93?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3aaa85,_0x4ff807)=>{_0x4ff807['on']('ready',()=>{this['_integrateEditor'](_0x4ff807);});});}get editor(){if(this['context']instanceof _0x51fb93)return this['context'];{const _0x2d4af6=this['context']['editors']['first'];if(!_0x2d4af6)throw new _0x461bb0('documentcompare-no-editor',this);return _0x2d4af6;}}getDiff(_0x285fe0,_0xb356e4,_0x50486b={'anchor':'main','markDeletions':!0x1}){const _0x2f3cb1=_0x50486b['targetEditor']||this['editor'],_0x5ba96a=_0x50486b['anchor']??'main';let _0x2b138c,_0x121147;if('string'==typeof _0x5ba96a){const _0x5783c=_0x2f3cb1['model']['document']['getRoot'](_0x5ba96a);if(!_0x5783c)throw new _0x461bb0('documentcompare-compare-no-root',this,{'anchor':_0x5ba96a});_0x2b138c=_0x5783c,_0x121147=_0x2f3cb1['model']['createPositionAt'](_0x5783c,0x0);}else _0x2b138c=_0x5ba96a['clone'](),_0x121147=_0x5ba96a['clone']();const _0x36ca25=_0x2f3cb1['data']['parse'](_0x285fe0,_0x2b138c),_0x3bc5c3=_0x2f3cb1['data']['parse'](_0xb356e4,_0x2b138c);return new Kt({'editor':_0x2f3cb1,'before':_0x36ca25,'after':_0x3bc5c3,'options':{'anchor':_0x121147,'markDeletions':_0x50486b['markDeletions']}});}isMarkedRemoveOperation(_0x530a3f){return'marker'==_0x530a3f['type']&&_0x530a3f['name']['startsWith']('$markedRemove');}applyOperations(_0xe25e86,_0x37dba3){const _0x492171=_0xe25e86['model'];for(const _0x23bf3a of _0x37dba3)Dt(_0x23bf3a)||(_0x23bf3a instanceof _0x55b9f4?_0xe25e86['_addOperationForAffectedMarkers']('move',_0x11328e['_createFromPositionAndShift'](_0x23bf3a['sourcePosition'],_0x23bf3a['howMany'])):_0x23bf3a instanceof _0x12be85?_0xe25e86['_addOperationForAffectedMarkers']('merge',_0x23bf3a['deletionPosition']):_0x23bf3a instanceof _0x58f62&&this['_fixMarkerOperationOldRange'](_0x492171,_0x23bf3a),_0x23bf3a['baseVersion']=_0x492171['document']['version'],_0xe25e86['batch']['addOperation'](_0x23bf3a),_0x492171['applyOperation'](_0x23bf3a));}_fixMarkerOperationOldRange(_0x2b838b,_0x279789){const _0x182d1e=_0x2b838b['markers']['get'](_0x279789['name']);_0x182d1e&&(_0x279789['oldRange']=_0x182d1e['getRange']());}_integrateEditor(_0x39fa9a){_0x39fa9a['conversion']['for']('upcast')['add'](_0x42e3c1=>{_0x42e3c1['on']('element',(_0x31df2f,_0x5a1f64,_0x32101c)=>{if(_0x5a1f64['modelRange']&&_0x32101c['consumable']['consume'](_0x5a1f64['viewItem'],{'attributes':'data-id'}))for(const _0x589f5a of _0x5a1f64['modelRange']['getItems']({'shallow':!0x0})){if(_0x589f5a['is']('$textProxy'))continue;const _0x1f5d9d=_0x5a1f64['viewItem']['getAttribute'](Jt);_0x1f5d9d&&_0x32101c['writer']['setAttribute'](jt,_0x1f5d9d,_0x589f5a);}},{'priority':'low'});}),_0x39fa9a['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x3ebaf0,before:_0x2a9b62,after:_0x17e13b,options:_0x1213f4}){this['_editor']=_0x3ebaf0,this['_markDeletions']=!!_0x1213f4['markDeletions'],this['_anchor']=_0x1213f4['anchor'];const _0x4e9f45=this['_tokenizeModel'](_0x2a9b62),_0x4813a1=this['_tokenizeModel'](_0x17e13b);this['_diffItems']=this['_diffModelTokens'](_0x4e9f45,_0x4813a1),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2a9b62['markers'],_0x17e13b['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0xee5cf7=this['_editor']['model']['document'],_0x1fcae1=[];let _0x270fbf=_0xee5cf7['version'];for(const _0x1cfc15 of this['_operationsData'])switch(_0x1cfc15['type']){case'attribute':{const _0x2679cc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']),_0xa0e91e=new _0x11328e(_0x2679cc,_0x2679cc['getShiftedBy'](_0x1cfc15['howMany'])),_0x1ffcb7=JSON['parse'](_0x1cfc15['oldValue']),_0x424604=JSON['parse'](_0x1cfc15['newValue']);_0x1fcae1['push'](new _0x3bd790(_0xa0e91e,_0x1cfc15['key'],_0x1ffcb7,_0x424604,_0x270fbf++));break;}case'insert':{const _0x1b945f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']),_0x1fdf4c=this['_makeModelFromTokens'](_0x1cfc15['tokens']);_0x1fcae1['push'](new _0x300a6c(_0x1b945f,_0x1fdf4c,_0x270fbf++));break;}case'remove':{const _0x117bc2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']),_0x452b19=new _0x50f613(_0xee5cf7['graveyard'],[0x0]);_0x1fcae1['push'](new _0x55b9f4(_0x117bc2,_0x1cfc15['howMany'],_0x452b19,_0x270fbf++));break;}case'rename':{const _0x23dcb9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']);_0x1fcae1['push'](new _0x40f809(_0x23dcb9,_0x1cfc15['oldName'],_0x1cfc15['newName'],_0x270fbf++));break;}case'split':{const _0x436da5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']),_0x69b835=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['path']['slice'](0x0,-0x1));_0x69b835['offset']++,_0x1fcae1['push'](new _0x4556bd(_0x436da5,Number['NEGATIVE_INFINITY'],_0x69b835,null,_0x270fbf++));break;}case'merge':{const _0x4998f4=_0x1cfc15['path']['slice'](),_0x2b2134=_0x4998f4['slice'](0x0,-0x1);_0x2b2134[_0x2b2134['length']-0x1]++,_0x2b2134['push'](0x0);const _0x3b66cc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b2134),_0x42086d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4998f4),_0x45bc1b=new _0x50f613(_0xee5cf7['graveyard'],[0x0]);_0x1fcae1['push'](new _0x12be85(_0x3b66cc,Number['NEGATIVE_INFINITY'],_0x42086d,_0x45bc1b,_0x270fbf++));break;}case'marker':case'markedRemove':{let _0x5123d2=null;_0x1cfc15['range']&&(_0x5123d2=new _0x11328e(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['range']['end'])));const _0x4928e9='marker'==_0x1cfc15['type']?_0x1cfc15['name']:'$markedRemove:'+_0x51bbfb();_0x1fcae1['push'](new _0x58f62(_0x4928e9,null,_0x5123d2,_0xee5cf7['model']['markers'],!0x0,_0x270fbf++));break;}case'unwrap':{const _0x1134dc=_0x1cfc15['path']['slice']();_0x1134dc['push'](0x0);const _0x3c3a4c=_0x1cfc15['path']['slice'](),_0x28f377=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1134dc),_0x18836f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3c3a4c),_0x596723=new _0x50f613(_0xee5cf7['graveyard'],[0x0]);_0x1fcae1['push'](new _0x55b9f4(_0x28f377,_0x1cfc15['howMany'],_0x18836f,_0x270fbf++)),_0x1fcae1['push'](new _0x55b9f4(_0x18836f['getShiftedBy'](_0x1cfc15['howMany']),0x1,_0x596723,_0x270fbf++));break;}case'wrap':{const _0x39060e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['range']['start']),_0x35d087=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1cfc15['range']['end']),_0x4128a0=_0x1cfc15['token']['element']['_clone'](!0x1);_0x4128a0['_removeAttribute'](jt);const _0x4a2755=_0x1cfc15['range']['end']['slice']();_0x4a2755['push'](0x0);const _0x3f3896=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4a2755);_0x1fcae1['push'](new _0x300a6c(_0x35d087,_0x4128a0,_0x270fbf++)),_0x1fcae1['push'](new _0x55b9f4(_0x39060e,_0x35d087['offset']-_0x39060e['offset'],_0x3f3896,_0x270fbf++));break;}}return _0x1fcae1;}_tokenizeModel(_0x3a101c){const _0xec2ff7=[],_0x2123d8=new _0x453315({'boundaries':_0x11328e['_createIn'](_0x3a101c)});let _0x393dc1='',_0x5bd29d=null;const _0x2dfc1b=[''],_0x10f9fa=new Map();for(const _0x9aeebe of _0x2123d8)if('elementStart'==_0x9aeebe['type']||'elementEnd'==_0x9aeebe['type']){let _0x1a372c=_0x2dfc1b[0x0];''!==_0x393dc1&&(_0xec2ff7['push'](...this['_makeTokensFromTextByWords'](_0x393dc1,_0x5bd29d,_0x1a372c)),_0x393dc1='');const _0x1f1327=_0x9aeebe['item'];let _0x22972d;_0x1f1327['getAttribute']('$elementId')?_0x22972d=_0x1f1327['getAttribute'](jt):'elementStart'==_0x9aeebe['type']?(_0x22972d=Zt(_0x1f1327),_0x10f9fa['set'](_0x1f1327,_0x22972d)):_0x22972d=_0x10f9fa['get'](_0x1f1327);const _0x55d657=this['_getElementCategory'](_0x1f1327);'solid'==_0x55d657&&('elementStart'==_0x9aeebe['type']?(_0x1a372c=_0x22972d,_0x2dfc1b['unshift'](_0x1a372c)):_0x2dfc1b['shift']());const _0x4191bd={'type':'element','element':_0x1f1327,'elementId':_0x22972d,'category':_0x55d657,'isStart':'elementStart'==_0x9aeebe['type'],'limitId':_0x1a372c};_0xec2ff7['push'](_0x4191bd);}else''==_0x393dc1&&(_0x5bd29d=_0x9aeebe['previousPosition']['clone']()),_0x393dc1+=_0x9aeebe['item']['data'];return''!==_0x393dc1&&_0xec2ff7['push'](...this['_makeTokensFromTextByWords'](_0x393dc1,_0x5bd29d,_0x2dfc1b[0x0])),_0xec2ff7;}_makeTokensFromTextByWords(_0x15483f,_0x3ecd5b,_0x676952){const _0x224c8=_0x15483f['matchAll'](/(\s)/g),_0x49fd29=Array['from'](_0x224c8)['map'](_0x39359d=>_0x39359d['index']);_0x49fd29['push'](_0x15483f['length']),0x0==_0x49fd29[0x0]&&_0x49fd29['shift']();const _0x470d61=[],_0x51bc4f=_0x3ecd5b['parent'];let _0x4079e2=0x0,_0x7b0dcf=_0x3ecd5b['offset'];for(let _0x95b207=0x0;_0x95b207<_0x49fd29['length'];_0x95b207++)_0x470d61['push']({'type':'text','data':_0x15483f['slice'](_0x4079e2,_0x49fd29[_0x95b207]),'parent':_0x51bc4f,'offset':_0x7b0dcf,'limitId':_0x676952}),_0x4079e2=_0x49fd29[_0x95b207],_0x7b0dcf=_0x3ecd5b['offset']+_0x49fd29[_0x95b207];return _0x470d61;}_getElementCategory(_0x1de8cd){const _0x7665f3=this['_editor']['model']['schema'];return _0x7665f3['isLimit'](_0x1de8cd)||_0x7665f3['isContent'](_0x1de8cd)||_0x7665f3['isInline'](_0x1de8cd)?'solid':_0x7665f3['isBlock'](_0x1de8cd)?'block':function(_0x1af068,_0x185901){const _0x3bf0a9=_0x1af068['parent'];if(!_0x3bf0a9||_0x3bf0a9['is']('documentFragment'))return!0x1;if(_0x185901['checkChild'](_0x3bf0a9,'$text'))return!0x1;for(const _0x11bf83 of _0x1af068['getChildren']())if(_0x11bf83['is']('$text'))return!0x0;return!0x1;}(_0x1de8cd,_0x7665f3)?'solid':'container';}['_diffModelTokens'](_0x40dc5c,_0x5f45bf){const _0x331296=_0x5af925(_0x40dc5c,_0x5f45bf,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x331296);const _0xd25b55=_0x331296['flatMap'](_0x1db6cf=>{const _0x529030=_0x1db6cf['added']?'added':_0x1db6cf['removed']?'removed':'unchanged';return _0x1db6cf['value']['map'](_0x4cf963=>({'token':_0x4cf963,'change':_0x529030}));});let _0x2d1571=0x0;for(const _0x2fef29 of _0xd25b55)'added'!=_0x2fef29['change']&&('unchanged'==_0x2fef29['change']&&(_0x2fef29['before']=_0x40dc5c[_0x2d1571]),_0x2d1571++);return _0xd25b55;}['_handleUnclosedBlockOpeningTags'](_0x704ba4){for(let _0x21362e=0x0;_0x21362e<_0x704ba4['length']-0x1;_0x21362e++)if(_0x704ba4[_0x21362e]['removed']&&_0x704ba4[_0x21362e+0x1]['added']){const _0x1ac8e9=this['_findUnclosedBlockOpeningToken'](_0x704ba4[_0x21362e]['value']);if(null!==_0x1ac8e9){const _0x2c3b7d=this['_findUnclosedBlockOpeningToken'](_0x704ba4[_0x21362e+0x1]['value']),_0x3089f3=_0x704ba4[_0x21362e]['value']['splice'](_0x1ac8e9),_0x37e9f6=_0x704ba4[_0x21362e+0x1]['value']['splice'](_0x2c3b7d),_0x5cad8e=[_0x37e9f6['shift']()];_0x3089f3['shift']();const _0xcb486={'value':_0x3089f3,'removed':!0x0},_0xf167c4={'value':_0x37e9f6,'added':!0x0},_0x5bfa67={'value':_0x5cad8e};_0x704ba4['splice'](_0x21362e+0x2,0x0,_0x5bfa67,_0xcb486,_0xf167c4);}}}['_findUnclosedBlockOpeningToken'](_0x263705){let _0x1023ab=0x0,_0x2068c7=-0x1;for(let _0x8558d2=0x0;_0x8558d2<_0x263705['length'];_0x8558d2++){const _0x27e587=_0x263705[_0x8558d2];'element'==_0x27e587['type']&&'block'==_0x27e587['category']&&(_0x1023ab+=_0x27e587['isStart']?0x1:-0x1,_0x27e587['isStart']&&(_0x2068c7=_0x8558d2));}return 0x0===_0x1023ab?null:_0x2068c7;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x34e165=0x0;_0x34e165<this['_diffItems']['length'];_0x34e165++){const _0x170077=this['_diffItems'][_0x34e165]['change'],_0x7b3211=[];_0x7b3211['push'](this['_diffItems'][_0x34e165]);let _0x34cb97=_0x34e165+0x1;for(;this['_diffItems'][_0x34cb97]&&this['_diffItems'][_0x34cb97]['change']==_0x170077;)_0x7b3211['push'](this['_diffItems'][_0x34cb97]),_0x34cb97++,_0x34e165++;const _0x1d7867=_0x7b3211['map'](_0x4bacee=>_0x4bacee['token']);if('unchanged'==_0x170077)_0x7b3211['map'](_0x3bbdf1=>_0x3bbdf1['before'])['forEach'](_0x22474d=>this['_traverseOverItem'](_0x22474d));else{if('removed'==_0x170077){if(this['_markDeletions']){const _0x1fd2d6=this['_path']['slice']();_0x1d7867['forEach'](_0x4862f3=>this['_traverseOverItem'](_0x4862f3));const _0x57cee8=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x1fd2d6,'end':_0x57cee8}});}else this['_handleChanged'](_0x1d7867,!0x0,this['_path']['slice']());}else{const _0x34d4fc=_0x1d7867['filter'](_0x4dbe5b=>'element'!=_0x4dbe5b['type']||'container'!=_0x4dbe5b['category']);this['_handleChanged'](_0x34d4fc,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4e144e=0x0;_0x4e144e<this['_diffItems']['length'];_0x4e144e++){const _0x291393=this['_diffItems'][_0x4e144e]['change'],_0x4dbb60=[];_0x4dbb60['push'](this['_diffItems'][_0x4e144e]);let _0x1f7955=_0x4e144e+0x1;for(;this['_diffItems'][_0x1f7955]&&this['_diffItems'][_0x1f7955]['change']==_0x291393;)_0x4dbb60['push'](this['_diffItems'][_0x1f7955]),_0x1f7955++,_0x4e144e++;const _0x3f8b51=_0x4dbb60['map'](_0x1136b3=>_0x1136b3['token']);if('unchanged'==_0x291393){const _0x28c4e9=_0x4dbb60['map'](_0x321ca9=>_0x321ca9['before']);this['_handleUnchanged'](_0x28c4e9,_0x3f8b51);}else('added'==_0x291393||this['_markDeletions'])&&_0x3f8b51['forEach'](_0x43be7e=>{'element'==_0x43be7e['type']&&_0x43be7e['isStart']&&this['_splitPostponedData']['has'](_0x43be7e['element'])&&this['_handleSplitPostponedData'](_0x43be7e['element'],this['_path']),this['_traverseOverItem'](_0x43be7e);});}}_handleSplitPostponedData(_0x51311a,_0x287ef6){const _0x4f4b07=this['_splitPostponedData']['get'](_0x51311a);for(const _0x255b0b of _0x4f4b07)'rename'==_0x255b0b['type']?this['_operationsData']['push']({'type':'rename','path':_0x287ef6['slice'](),'oldName':_0x255b0b['oldValue'],'newName':_0x51311a['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x287ef6['slice'](),'howMany':0x1,'key':_0x255b0b['key'],'oldValue':_0x255b0b['oldValue'],'newValue':JSON['stringify'](_0x51311a['getAttribute'](_0x255b0b['key'])??null)});}_calculateMarkersOperationsData(_0xb43b0d,_0x27ede6){const _0x102ac1={};for(const [_0x42decf]of _0xb43b0d)_0x102ac1[_0x42decf]=null;for(const [_0x2f2f65,_0x49bedd]of _0x27ede6)_0x102ac1[_0x2f2f65]=_0x49bedd;const _0x19af21=Object['entries'](_0x102ac1)['map'](([_0x425658,_0x27a696])=>({'type':'marker','name':_0x425658,'range':_0x27a696?{'start':_0x27a696['start']['path']['slice'](),'end':_0x27a696['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x19af21);}['_handleUnwraps'](){const _0x4cfa06=new Map(),_0x314dbf=[],_0x24b888=[0x0];let _0x3f5c68=this['_diffItems']['length']+0x1;for(let _0x2cba64=this['_diffItems']['length']-0x1;_0x2cba64>=0x0;_0x2cba64--){const {token:_0x2316ea,before:_0x21f8c6,change:_0x40376e}=this['_diffItems'][_0x2cba64];if('removed'!=_0x40376e&&(_0x3f5c68=_0x2cba64),'element'!=_0x2316ea['type']||'container'!=_0x2316ea['category']||'added'==_0x40376e)continue;const _0x139afc=_0x21f8c6?_0x21f8c6['element']:_0x2316ea['element'];if(_0x2316ea['isStart']){const _0x3347c4=_0x4cfa06['get'](_0x139afc),_0x5e0457=this['_diffItems'][_0x3347c4];('removed'==_0x40376e||'removed'==_0x5e0457['change'])&&_0x3f5c68<_0x3347c4&&(this['_operationsData']['push']({'type':'unwrap','path':_0x139afc['getPath'](),'howMany':_0x139afc['maxOffset']+_0x24b888[0x0]}),_0x24b888['shift'](),_0x24b888[0x0]+=_0x139afc['maxOffset']-0x1,_0x314dbf['push'](_0x2cba64),_0x314dbf['push'](_0x3347c4));}else _0x4cfa06['set'](_0x139afc,_0x2cba64),_0x24b888['unshift'](0x0);}_0x314dbf['sort']((_0x326478,_0x2017ea)=>_0x2017ea-_0x326478),_0x314dbf['forEach'](_0x2b5c25=>{const _0x3519db=this['_diffItems'][_0x2b5c25];'removed'==_0x3519db['change']?this['_diffItems']['splice'](_0x2b5c25,0x1):(_0x3519db['change']='added',delete _0x3519db['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x254fe8=[];for(let _0x9d6cb4=0x0;_0x9d6cb4<this['_diffItems']['length'];_0x9d6cb4++){const {change:_0x3f41bb,token:_0x59cadc}=this['_diffItems'][_0x9d6cb4];if('added'==_0x3f41bb&&'element'==_0x59cadc['type']&&'container'==_0x59cadc['category']){if(_0x59cadc['isStart'])_0x254fe8['push'](this['_path']['slice']());else{if(!_0x59cadc['isStart']){const _0x302ee7=_0x254fe8['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x302ee7,'end':this['_path']['slice']()},'token':_0x59cadc}),this['_path'][this['_path']['length']-0x1]=_0x302ee7[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3f41bb||this['_markDeletions'])&&this['_traverseOverItem'](_0x59cadc);}}['_handleUnchanged'](_0x33a135,_0x5cc00a){for(let _0x4cd02c=0x0;_0x4cd02c<_0x33a135['length'];_0x4cd02c++){const _0x117ce0=_0x33a135[_0x4cd02c];if('element'==_0x117ce0['type']&&_0x117ce0['isStart']){const _0x587fcd=_0x5cc00a[_0x4cd02c];'block'==_0x117ce0['category']&&this['_handleElementRename'](_0x117ce0['element'],_0x587fcd['element'],this['_path']),this['_handleElementAttributeChanges'](_0x117ce0['element'],_0x587fcd['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x587fcd);}else{if('element'!=_0x117ce0['type']||_0x117ce0['isStart']){if('text'==_0x117ce0['type']){const _0x311f82=this['_path']['slice'](),_0x5b445c=[],_0x4c0d3d=[];for(;_0x33a135[_0x4cd02c]&&'text'==_0x33a135[_0x4cd02c]['type'];)_0x5b445c['push'](_0x33a135[_0x4cd02c]),_0x4c0d3d['push'](_0x5cc00a[_0x4cd02c]),this['_path'][this['_path']['length']-0x1]+=_0x33a135[_0x4cd02c]['data']['length'],_0x4cd02c++;_0x4cd02c--,this['_handleTextAttributeChanges'](_0x5b445c,_0x4c0d3d,_0x311f82);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3003fe,_0x283b32,_0x49cbc9){const _0x4dcd7f=[],_0x19a1e3=[],_0x45a545=_0x49cbc9['slice']();let _0x52451c=this['_parents']['length']-0x1;for(let _0x1072b1=0x0;_0x1072b1<_0x3003fe['length'];_0x1072b1++){const _0x457880=_0x3003fe[_0x1072b1],_0x4a3b99=_0x49cbc9['slice']();'element'!=_0x457880['type']||_0x457880['isStart']?'element'==_0x457880['type']&&_0x457880['isStart']?(_0x49cbc9['push'](0x0),_0x52451c++,_0x19a1e3['push']({'before':_0x4a3b99,'after':_0x49cbc9['slice'](),'index':_0x1072b1})):_0x49cbc9[_0x49cbc9['length']-0x1]+=_0x457880['data']['length']:(_0x49cbc9['pop'](),_0x49cbc9[_0x49cbc9['length']-0x1]++,_0x52451c--,_0x19a1e3['length']?_0x19a1e3['pop']():_0x4dcd7f['push']({'before':_0x4a3b99,'after':_0x49cbc9['slice'](),'index':_0x1072b1}));}if(_0x19a1e3['length']!==_0x4dcd7f['length'])throw new _0x461bb0('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3003fe,'isRemove':_0x283b32});const _0x5e071d=[{'after':_0x45a545['slice'](),'index':-0x1},..._0x4dcd7f,..._0x19a1e3,{'before':_0x49cbc9['slice'](),'index':_0x3003fe['length']}];if(_0x283b32){for(let _0x514658=_0x5e071d['length']-0x1;_0x514658>=0x1;_0x514658--){const _0x139b73=_0x5e071d[_0x514658-0x1]['after'],_0x13d716=_0x5e071d[_0x514658]['before'],_0x24b779=_0x13d716[_0x13d716['length']-0x1]-_0x139b73[_0x139b73['length']-0x1];_0x24b779&&(this['_operationsData']['push']({'type':'remove','path':_0x139b73,'howMany':_0x24b779}),_0x13d716[_0x13d716['length']-0x1]-=_0x24b779);}for(const {before:_0x254308}of _0x4dcd7f)this['_operationsData']['push']({'type':'merge','path':_0x254308});}else for(let _0x2821fa=0x0;_0x2821fa<_0x5e071d['length']-0x1;_0x2821fa++){const _0x1ffb04=_0x5e071d[_0x2821fa]['after'],_0x31dad7=_0x5e071d[_0x2821fa+0x1]['before'],_0x534f63=_0x5e071d[_0x2821fa]['index']+0x1,_0xd15e87=_0x5e071d[_0x2821fa+0x1]['index'];if(_0x534f63!==_0xd15e87&&this['_operationsData']['push']({'type':'insert','path':_0x1ffb04,'tokens':_0x3003fe['slice'](_0x534f63,_0xd15e87)}),_0x2821fa<_0x4dcd7f['length']){this['_operationsData']['push']({'type':'split','path':_0x31dad7});const _0x23d171=_0x3003fe[_0x19a1e3[_0x19a1e3['length']-0x1-_0x2821fa]['index']],_0x642384=this['_parents'][_0x52451c]['element'];_0x642384['name']!=_0x23d171['element']['name']&&this['_addSplitPostponedData'](_0x23d171['element'],{'type':'rename','oldValue':_0x642384['name']});const _0x3a70a4=this['_getAttributeChanges'](_0x642384['getAttributes'](),_0x23d171['element']['getAttributes']());for(const _0x576b41 in _0x3a70a4){const _0x2cdd52=_0x3a70a4[_0x576b41]['oldValue'];this['_addSplitPostponedData'](_0x23d171['element'],{'type':'attribute','key':_0x576b41,'oldValue':_0x2cdd52});}}}}_addSplitPostponedData(_0x18f4d1,_0x3d4a0a){const _0x45f90c=this['_splitPostponedData']['get'](_0x18f4d1)||[];_0x45f90c['push'](_0x3d4a0a),this['_splitPostponedData']['set'](_0x18f4d1,_0x45f90c);}_traverseOverItem(_0x3c6926){'element'==_0x3c6926['type']&&_0x3c6926['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x3c6926)):'element'!=_0x3c6926['type']||_0x3c6926['isStart']?'text'==_0x3c6926['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x3c6926['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x3ba841,_0x5092a3,_0x147559){_0x3ba841['name']!=_0x5092a3['name']&&this['_operationsData']['push']({'type':'rename','path':_0x147559['slice'](),'oldName':_0x3ba841['name'],'newName':_0x5092a3['name']});}_handleElementAttributeChanges(_0x4ecf0f,_0x4b39f8,_0x43ba1d){const _0x378949=this['_getAttributeChanges'](_0x4ecf0f['getAttributes'](),_0x4b39f8['getAttributes']());for(const _0x2a5941 in _0x378949){const {oldValue:_0x4183cf,newValue:_0x556099}=_0x378949[_0x2a5941];this['_operationsData']['push']({'type':'attribute','path':_0x43ba1d['slice'](),'howMany':0x1,'key':_0x2a5941,'oldValue':_0x4183cf,'newValue':_0x556099});}}_handleTextAttributeChanges(_0x12592c,_0x4cb2a6,_0x10f076){const _0xe9a7f3=this['_operationsData'],_0x20a5d5=_0x12592c[0x0]['parent'],_0x2410c4=_0x12592c[0x0]['offset'],_0x4a1c77=_0x4cb2a6[0x0]['parent'],_0x52dca9=_0x4cb2a6[0x0]['offset'],_0x5dfcf5=_0x12592c['reduce']((_0x1c31fb,_0x48d739)=>_0x1c31fb+_0x48d739['data']['length'],0x0),_0x5400ae=this['_getAttrsForOffsets'](_0x20a5d5,_0x2410c4,_0x5dfcf5),_0x392ccd=this['_getAttrsForOffsets'](_0x4a1c77,_0x52dca9,_0x5dfcf5),_0x3e5b79={};for(let _0x573d34=0x0;_0x573d34<_0x5dfcf5;_0x573d34++){const _0x33303d=_0x5400ae[_0x2410c4+_0x573d34],_0x361c06=_0x392ccd[_0x52dca9+_0x573d34],_0x535dc3=this['_getAttributeChanges'](_0x33303d,_0x361c06);for(const _0x203ddd in _0x3e5b79)_0x535dc3[_0x203ddd]||_0x421e64(_0x203ddd);for(const _0x2ed663 in _0x535dc3){const {oldValue:_0x9004fa,newValue:_0x2fa14c}=_0x535dc3[_0x2ed663],_0x25d1a8=_0x3e5b79[_0x2ed663];_0x25d1a8?_0x25d1a8['oldValue']==_0x9004fa&&_0x25d1a8['newValue']==_0x2fa14c?_0x25d1a8['length']++:(_0x421e64(_0x2ed663),_0x3e5b79[_0x2ed663]={'oldValue':_0x9004fa,'newValue':_0x2fa14c,'start':_0x573d34,'length':0x1}):_0x3e5b79[_0x2ed663]={'oldValue':_0x9004fa,'newValue':_0x2fa14c,'start':_0x573d34,'length':0x1};}}for(const _0x14f005 in _0x3e5b79)_0x421e64(_0x14f005);function _0x421e64(_0x43b3fd){const _0x4a562e=_0x3e5b79[_0x43b3fd],_0x310f1c=_0x10f076['slice']();_0x310f1c[_0x310f1c['length']-0x1]+=_0x4a562e['start'],_0xe9a7f3['push']({'type':'attribute','path':_0x310f1c,'howMany':_0x4a562e['length'],'key':_0x43b3fd,'oldValue':_0x4a562e['oldValue'],'newValue':_0x4a562e['newValue']}),delete _0x3e5b79[_0x43b3fd];}}_getAttributeChanges(_0x3d44e5,_0xad2556){const _0x1dcf6b={};for(const [_0x11c15b,_0x5977ad]of _0x3d44e5)_0x1dcf6b[_0x11c15b]={'oldValue':JSON['stringify'](_0x5977ad),'newValue':'null'};for(const [_0x2a3fdd,_0x64c832]of _0xad2556){const _0x2414bf=JSON['stringify'](_0x64c832);_0x1dcf6b[_0x2a3fdd]?_0x1dcf6b[_0x2a3fdd]['oldValue']==_0x2414bf?delete _0x1dcf6b[_0x2a3fdd]:_0x1dcf6b[_0x2a3fdd]['newValue']=_0x2414bf:_0x1dcf6b[_0x2a3fdd]={'oldValue':'null','newValue':_0x2414bf};}return delete _0x1dcf6b[jt],_0x1dcf6b;}_getAttrsForOffsets(_0x28c2b2,_0x1b1736,_0x4acc0d){const _0x14c17d=new Array(_0x1b1736+_0x4acc0d);let _0x3da19b=_0x28c2b2['getChildAtOffset'](_0x1b1736),_0x4e74f5=_0x3da19b['startOffset'];for(;_0x3da19b&&_0x4e74f5<_0x1b1736+_0x4acc0d;){const _0x5459c4=Array['from'](_0x3da19b['getAttributes']());_0x14c17d['fill'](_0x5459c4,_0x4e74f5,_0x4e74f5+_0x3da19b['offsetSize']),_0x4e74f5+=_0x3da19b['offsetSize'],_0x3da19b=_0x3da19b['nextSibling'];}return _0x14c17d;}_getPositionFromAnchorAndPath(_0x8fec7c,_0x297d35){const _0x1ad75c=[..._0x8fec7c['path']['slice'](0x0,-0x1),_0x8fec7c['offset']+_0x297d35[0x0],..._0x297d35['slice'](0x1)];return new _0x50f613(_0x8fec7c['root'],_0x1ad75c);}['_makeModelFromTokens'](_0x2a3648){const _0x2a5c03=[];let _0x46bbbc=null;for(const _0x11be35 of _0x2a3648)if('element'!=_0x11be35['type']||_0x11be35['isStart']||_0x46bbbc!=_0x11be35['element']){if(!_0x46bbbc){if('text'==_0x11be35['type']){const _0x19a61a=_0x50f613['_createAt'](_0x11be35['parent'],_0x11be35['offset']),_0x23d95f=_0x11328e['_createFromPositionAndShift'](_0x19a61a,_0x11be35['data']['length']),_0x40e2b8=Array['from'](_0x23d95f['getItems']())['map'](_0x37f775=>new _0x199250(_0x37f775['data'],_0x37f775['getAttributes']()));_0x2a5c03['push'](..._0x40e2b8);}else{_0x46bbbc=_0x11be35['element'];const _0x5c64e8=_0x11be35['element']['_clone'](!0x0);_0x5c64e8['_removeAttribute'](jt);for(const _0x46bd32 of this['_editor']['model']['createRangeIn'](_0x5c64e8)['getItems']())_0x46bd32['is']('element')&&_0x46bd32['_removeAttribute'](jt);_0x2a5c03['push'](_0x5c64e8);}}}else _0x46bbbc=null;return _0x2a5c03;}};function qt(_0x86bbaf,_0x27eb45){return _0x86bbaf['type']===_0x27eb45['type']&&(_0x86bbaf['limitId']===_0x27eb45['limitId']&&('text'==_0x86bbaf['type']?_0x86bbaf['data']==_0x27eb45['data']:function(_0x416ab6,_0x1b9766){if(_0x416ab6['isStart']!=_0x1b9766['isStart'])return!0x1;if(_0x416ab6['isStart']&&_0x416ab6['elementId']!=_0x1b9766['elementId'])return!0x1;if(_0x416ab6['category']!=_0x1b9766['category'])return!0x1;if('block'==_0x416ab6['category'])return!0x0;if('container'==_0x416ab6['category']&&_0x416ab6['elementId']!=_0x1b9766['elementId'])return!0x1;return _0x416ab6['element']['name']==_0x1b9766['element']['name'];}(_0x86bbaf,_0x27eb45)));}function Zt(_0x172362){return Tt({'name':_0x172362['name'],...Object['fromEntries'](_0x172362['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,jt as DATA_ID_MODEL_ATTRIBUTE,Jt as DATA_ID_VIEW_ATTRIBUTE,Gt as DocumentCompare,Kt as DocumentDiff,Ut as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,B as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,$ as Users,G as fixElementSuggestionRange,It as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,xt as getMarkerDomElement,Tt as hashObject,Dt as isInvalidAttributeOperation,Ft as sanitizeEditorConfig,zt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ht as surroundingMarkersDetector,St as trimHtml};
|
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':_0x2e08c6=>0x1!=_0x2e08c6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ae21d=>{const {af:{dictionary:_0x3fdd81,getPluralForm:_0x5e437f}}={'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':_0x5d55c6=>0x1!=_0x5d55c6}};_0x4ae21d['af']||={'dictionary':{},'getPluralForm':null},_0x4ae21d['af']['dictionary']=Object['assign'](_0x4ae21d['af']['dictionary'],_0x3fdd81),_0x4ae21d['af']['getPluralForm']=_0x5e437f;})(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':_0x3b1219=>0x0==_0x3b1219?0x0:0x1==_0x3b1219?0x1:0x2==_0x3b1219?0x2:_0x3b1219%0x64>=0x3&&_0x3b1219%0x64<=0xa?0x3:_0x3b1219%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x224199=>{const {ar:{dictionary:_0xf43857,getPluralForm:_0x950a9a}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x5b7b00=>0x0==_0x5b7b00?0x0:0x1==_0x5b7b00?0x1:0x2==_0x5b7b00?0x2:_0x5b7b00%0x64>=0x3&&_0x5b7b00%0x64<=0xa?0x3:_0x5b7b00%0x64>=0xb?0x4:0x5}};_0x224199['ar']||={'dictionary':{},'getPluralForm':null},_0x224199['ar']['dictionary']=Object['assign'](_0x224199['ar']['dictionary'],_0xf43857),_0x224199['ar']['getPluralForm']=_0x950a9a;})(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':_0x2cd882=>0x1!=_0x2cd882}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47f51a=>{const {ast:{dictionary:_0x1e98f0,getPluralForm:_0x44e85c}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x22f65c=>0x1!=_0x22f65c}};_0x47f51a['ast']||={'dictionary':{},'getPluralForm':null},_0x47f51a['ast']['dictionary']=Object['assign'](_0x47f51a['ast']['dictionary'],_0x1e98f0),_0x47f51a['ast']['getPluralForm']=_0x44e85c;})(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':_0x343aa1=>0x1!=_0x343aa1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28a624=>{const {az:{dictionary:_0x20bde8,getPluralForm:_0x1a0d0c}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4359b2=>0x1!=_0x4359b2}};_0x28a624['az']||={'dictionary':{},'getPluralForm':null},_0x28a624['az']['dictionary']=Object['assign'](_0x28a624['az']['dictionary'],_0x20bde8),_0x28a624['az']['getPluralForm']=_0x1a0d0c;})(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':_0x38241a=>_0x38241a%0xa==0x1&&_0x38241a%0x64!=0xb?0x0:_0x38241a%0xa>=0x2&&_0x38241a%0xa<=0x4&&(_0x38241a%0x64<0xa||_0x38241a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c4efd=>{const {be:{dictionary:_0x20e52d,getPluralForm:_0x115659}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0xe055d9=>_0xe055d9%0xa==0x1&&_0xe055d9%0x64!=0xb?0x0:_0xe055d9%0xa>=0x2&&_0xe055d9%0xa<=0x4&&(_0xe055d9%0x64<0xa||_0xe055d9%0x64>=0x14)?0x1:0x2}};_0x5c4efd['be']||={'dictionary':{},'getPluralForm':null},_0x5c4efd['be']['dictionary']=Object['assign'](_0x5c4efd['be']['dictionary'],_0x20e52d),_0x5c4efd['be']['getPluralForm']=_0x115659;})(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':_0x22366b=>0x1!=_0x22366b}};
|