@ckeditor/ckeditor5-collaboration-core 48.4.0-alpha.4 → 48.4.0-alpha.6
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 _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};
|
|
23
|
+
import{ContextPlugin as _0x4f7e39,Editor as _0x2fc4f1,Plugin as _0x14c5f9}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x1c0dc3,Collection as _0x5c760f,FocusTracker as _0x8fce65,KeystrokeHandler as _0x97fda3,first as _0x7686f7,toArray as _0x30308c,uid as _0x1094a5}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x516bb4,DropdownButtonView as _0x23a51f,FocusCycler as _0x36976f,IconView as _0x5486be,View as _0x533988,isViewWithFocusCycler as _0x476fd6}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x5d169,IconCheck as _0x2418d5,IconNotification as _0x5bce00}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x526e90,toWidget as _0xfff817}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x294163}from'luxon';import{AttributeOperation as _0x4adddb,InsertOperation as _0x43bb57,MarkerOperation as _0x3d7f4b,MergeOperation as _0x4ae173,ModelPosition as _0x2e510f,ModelRange as _0x17b633,ModelText as _0x489b7a,ModelTreeWalker as _0x37c2b7,MoveOperation as _0x555763,RenameOperation as _0x48d7c5,SplitOperation as _0x2d0958}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x16903e}from'diff';var B=class extends _0x4f7e39{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}setPermissions(_0x17055f,_0x5c3d71){let _0x2edf94;if(_0x5c3d71||(_0x5c3d71=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5c3d71?_0x2edf94=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2edf94=this['context']['editors']['find'](_0x426cab=>_0x426cab['config']['get']('collaboration.channelId')==_0x5c3d71)),!_0x2edf94)throw new _0x1c0dc3('permissions-set-permissions-invalid-channel-id',null);const _0x20a070=_0x2edf94['plugins'],_0x140f83=_0x20a070['has']('CommentsRepository')?_0x20a070['get']('CommentsRepository'):void 0x0,_0x374f12=_0x20a070['has']('CommentsOnly')&&_0x20a070['get']('CommentsOnly'),_0x361957=_0x17055f['includes']('document:write'),_0x136f77=_0x17055f['includes']('comment:modify_all'),_0x3bd04a=_0x17055f['includes']('comment:admin'),_0x20eaa7=_0x17055f['includes']('comment:write'),_0x2a00f7=_0x20eaa7||_0x3bd04a,_0x45fa79=_0x2a00f7||_0x136f77,_0x117c12=_0x361957||_0x2a00f7;if(_0x374f12&&(_0x374f12['isEnabled']=!_0x361957&&_0x45fa79),_0x2edf94 instanceof _0x2fc4f1&&(_0x361957||_0x45fa79&&_0x140f83?_0x2edf94['disableReadOnlyMode']('no-permissions'):_0x2edf94['enableReadOnlyMode']('no-permissions')),_0x140f83){_0x140f83['setPermissions']({'admin':_0x3bd04a,'modifyAll':_0x136f77,'write':_0x20eaa7,'resolve':_0x117c12},_0x5c3d71);const _0x3df6ac=_0x2edf94 instanceof _0x2fc4f1&&_0x2edf94['commands']['get']('addCommentThread');_0x3df6ac&&(_0x2a00f7?_0x3df6ac['clearForceDisabled']('noPermissions'):_0x3df6ac['forceDisabled']('noPermissions'));}}};function D(_0x1be728,_0x1c65e0){const t=_0x1be728['t'];switch(_0x1c65e0){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 _0x4f7e39{['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(_0x46d0d1){super(_0x46d0d1),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5c760f(),this['_locale']=_0x46d0d1['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:_0x246dd3,name:_0x7d0287,..._0x43976b}){if(!_0x246dd3||'string'!=typeof _0x246dd3)throw new _0x1c0dc3('users-add-invalid-id');if(this['users']['has'](_0x246dd3))throw new _0x1c0dc3('users-add-duplicated-id',null,{'id':_0x246dd3});const _0x2efb93=this['context']['config']['get']('users.getInitialsCallback'),_0x5502c5={..._0x43976b,'id':_0x246dd3,'name':R(this['_locale'],_0x7d0287),'color':this['_getNextColor']()};_0x5502c5['name']=R(this['_locale'],_0x5502c5['name']);const _0x5c9ceb=new L(_0x5502c5,_0x2efb93);return this['users']['add'](_0x5c9ceb),_0x5c9ceb;}getUser(_0x380244){return this['users']['get'](_0x380244);}['useAnonymousUser'](){const _0xe3f178=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xe3f178);}['defineMe'](_0x18419e){if(this['_myId'])throw new _0x1c0dc3('users-me-already-defined',null);const _0x1afe10=this['getUser'](_0x18419e);if(!_0x1afe10)throw new _0x1c0dc3('users-me-missing-user',null);this['_myId']=_0x18419e,_0x1afe10['_isMe']=!0x0;}getOperationAuthor(){return this['me'];}_getNextColor(){const _0x390a4a=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x390a4a&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a0071=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a0071,'name':D(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];initials;avatar;['_isMe'];['_isAnonymous'];constructor(_0xbe7b5f,_0x46455d){this['id']=_0xbe7b5f['id'],this['color']=_0xbe7b5f['color'],this['name']=_0xbe7b5f['name'],this['initials']=_0x46455d?_0x46455d(this['name']):this['_computeInitials'](),this['avatar']=_0xbe7b5f['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}_computeInitials(){const _0x445765=this['name']['split']('\x20')['filter'](_0x1bf7f9=>/^[\p{Letter}]/u['test'](_0x1bf7f9));return 0x1===_0x445765['length']?this['_getInitial'](_0x445765[0x0]):0x0===_0x445765['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x445765[0x0])+this['_getInitial'](_0x445765[_0x445765['length']-0x1]);}_getInitial(_0x5f0b79){return String['fromCodePoint'](_0x5f0b79['codePointAt'](0x0))['toUpperCase']();}};function R(_0x14d6aa,_0x23fa44=''){return''==(_0x23fa44=_0x23fa44['trim']())?D(_0x14d6aa,'Anonymous'):_0x23fa44;}var F=class{['_id'];constructor(_0x4561f4){this['_id']=_0x4561f4;}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 _0x533988{['name'];notificationView;constructor(_0x24b85,_0x16acd5,_0x2f5476,_0x446e6b){super(_0x24b85),this['name']=_0x16acd5['name'],this['notificationView']=null;const _0x49688d=['ck','ck-user'],_0x2d0d56=['ck','ck-user__img'];_0x16acd5['isAnonymous']&&_0x2d0d56['push']('ck-user__anonymous'),!_0x16acd5['isAnonymous']&&_0x16acd5['isMe']&&_0x49688d['push']('ck-user_me'),(_0x16acd5['avatar']||_0x446e6b)&&_0x2d0d56['push']('ck-user__avatar');let _0x531660=null;if(_0x446e6b&&(_0x531660=new _0x5486be(),_0x531660['content']=_0x446e6b,_0x531660['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x2f5476){const _0x47f0d5=new _0x5486be();_0x47f0d5['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x47f0d5['content']=_0x5bce00,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2f5476},'children':[_0x47f0d5]};}const _0x285aad=[{'tag':'div','attributes':{'class':_0x2d0d56,'style':{'background-image':_0x16acd5['avatar']&&!_0x446e6b?'url(\x27'+_0x16acd5['avatar']+'\x27)':''}},'children':_0x531660?[_0x531660]:[]},{'tag':'div','attributes':{'class':_0x16acd5['avatar']||_0x446e6b?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x16acd5['name']},'children':[{'text':_0x16acd5['initials']}]}];this['notificationView']&&_0x285aad['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x49688d,'data-user-id':_0x16acd5['id']},'children':_0x285aad});}},U=class extends _0x533988{['children'];['iconView'];['labelView'];constructor(_0x58b1c3){super(_0x58b1c3);const _0x3ef95f=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',_0x3ef95f['to']('class'),_0x3ef95f['to']('iconPosition',_0x6cb7e9=>'right'===_0x6cb7e9?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x3ef95f['to']('tooltip'),'data-cke-tooltip-position':_0x3ef95f['to']('tooltipPosition'),'data-cke-tooltip-class':_0x3ef95f['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x503cad,_0x308d44,_0x44bd9c,_0x2196a0)=>{_0x44bd9c&&!_0x2196a0?this['children']['add'](this['iconView'],0x0):!_0x44bd9c&&_0x2196a0&&this['children']['remove'](this['iconView']);});}_createIconView(){const _0x460dae=new _0x5486be();return _0x460dae['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x460dae['bind']('content')['to'](this,'icon'),_0x460dae;}_createLabelView(){const _0x3009d4=new _0x533988(this['locale']),_0x4461bd=this['bindTemplate'];return _0x3009d4['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x4461bd['to']('label')}]}),_0x3009d4;}},z=class extends _0x533988{['id'];constructor(_0x420ba6,_0x142492){super(_0x420ba6),this['id']='ck-aria-description-'+_0x1094a5(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x142492}]});}},W=class extends _0x516bb4{['render'](){super['render'](),j(this);}},Y=class extends _0x23a51f{['render'](){super['render'](),j(this);}};function j(_0x13c0d6){_0x13c0d6['listenTo'](_0x13c0d6['element'],'mousedown',(_0x57a2fa,_0x1c21d8)=>{_0x1c21d8['stopPropagation'](),_0x1c21d8['preventDefault']();}),_0x13c0d6['listenTo'](_0x13c0d6['element'],'mouseup',()=>{_0x13c0d6['element']['focus']();});}function J(_0x1f2141){const _0x295152=_0x1f2141['split'](':');return{'group':_0x295152[0x0],'type':_0x295152[0x1],'subType':_0x295152['length']>=0x5?_0x295152[0x2]:null,'id':_0x295152['length']<0x5?_0x295152[0x2]:_0x295152[0x3],'authorId':_0x295152['length']<0x5?_0x295152[0x3]:_0x295152[0x4],'markerCount':0x6==_0x295152['length']?_0x295152[0x5]:null};}function G(_0x28b720,_0x2280ab){const _0x2f2b46=_0x28b720['end']['nodeBefore'];if(_0x2f2b46&&_0x2f2b46['is']('element')&&_0x2280ab['schema']['isBlock'](_0x2f2b46)&&!_0x2280ab['schema']['isObject'](_0x2f2b46)){const _0x4084c8=_0x2280ab['createPositionAt'](_0x2f2b46,'end');return _0x2280ab['createRange'](_0x28b720['start'],_0x4084c8);}return _0x28b720;}var K=class extends _0x14c5f9{afterInit(){const _0x3a5f3a=this['editor'];_0x3a5f3a['plugins']['has']('AlignmentEditing')&&_0x3a5f3a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x14c5f9{afterInit(){const _0x5d6dbc=this['editor'],_0x5d6ddd=_0x5d6dbc['plugins']['get']('SuggestionsConversion');for(const _0xf6052e of q){if(!_0x5d6dbc['plugins']['has'](_0xf6052e))continue;const _0x45f6c4=_0xf6052e['slice'](0x0,-0x7)['toLowerCase']();_0x5d6ddd['registerInlineAttribute'](_0x45f6c4);}}},Q=class extends _0x14c5f9{afterInit(){const _0x46a3da=this['editor'],_0xf355f9=_0x46a3da['plugins']['get']('SuggestionsConversion');_0x46a3da['plugins']['has']('BookmarkEditing')&&_0xf355f9['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x14c5f9{afterInit(){const _0x53f229=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0xca432,commandName:_0x271264}of X)this['editor']['plugins']['has'](_0xca432)&&_0x53f229['registerInlineAttribute'](_0x271264);}},et=class extends _0x14c5f9{afterInit(){const {editor:_0x1e50d7}=this;if(!_0x1e50d7['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x37cd71=_0x1e50d7['plugins']['get']('SuggestionsConversion');_0x37cd71['registerBlockAttribute']('footnotesListStyle'),_0x37cd71['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x14c5f9{afterInit(){const _0x17ff05=this['editor'];if(!_0x17ff05['plugins']['has']('GeneralHtmlSupport')||!_0x17ff05['plugins']['has']('DataSchema'))return;const _0x40f8a4=_0x17ff05['plugins']['get']('SuggestionsConversion'),_0x594e57=_0x17ff05['plugins']['get']('GeneralHtmlSupport'),_0x5a75ee=_0x17ff05['plugins']['get']('DataSchema');for(const _0x2ea0d of _0x5a75ee['getDefinitionsForView'](/.*/,!0x1)){const _0x59977b=_0x594e57['getGhsAttributeNameForElement'](_0x2ea0d['view']);!_0x2ea0d['isInline']||_0x2ea0d['isObject']||'appliesToBlock'in _0x2ea0d&&_0x2ea0d['appliesToBlock']?_0x40f8a4['registerBlockAttribute'](_0x59977b):_0x40f8a4['registerInlineAttribute'](_0x59977b);}}},it=class extends _0x14c5f9{afterInit(){const _0x1b1a3a=this['editor'];_0x1b1a3a['plugins']['has']('HighlightEditing')&&_0x1b1a3a['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x14c5f9{afterInit(){const _0x11392c=this['editor'];_0x11392c['plugins']['has']('HtmlEmbed')&&_0x11392c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x14c5f9{afterInit(){const _0x1bc98d=this['editor'];if(!_0x1bc98d['plugins']['has']('ImageEditing'))return;const _0xd7d425=_0x1bc98d['plugins']['get']('SuggestionsConversion');_0xd7d425['registerBlockAttribute']('src'),_0x1bc98d['plugins']['has']('ImageResize')&&_0xd7d425['registerBlockAttribute']('resizedWidth'),_0x1bc98d['plugins']['has']('ImageTextAlternativeEditing')&&_0xd7d425['registerBlockAttribute']('alt'),_0x1bc98d['plugins']['has']('PictureEditing')&&_0xd7d425['registerBlockAttribute']('sources'),_0x1bc98d['plugins']['has']('ImageSizeAttributes')&&(_0xd7d425['registerBlockAttribute']('width'),_0xd7d425['registerBlockAttribute']('height'));}},rt=class extends _0x14c5f9{afterInit(){const _0x2e202e=this['editor'],_0x245664=_0x2e202e['plugins']['get']('SuggestionsConversion');_0x2e202e['plugins']['has']('IndentBlock')&&(_0x245664['registerBlockAttribute']('blockIndent'),_0x2e202e['plugins']['has']('ListEditing')&&(_0x245664['registerBlockAttribute']('blockIndentList'),_0x245664['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x14c5f9{afterInit(){const _0x542948=this['editor'];_0x542948['plugins']['has']('LineHeight')&&_0x542948['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x14c5f9{afterInit(){const _0x12318c=this['editor'];if(!_0x12318c['plugins']['has']('LinkEditing'))return;const _0x5e121e=_0x12318c['plugins']['get']('SuggestionsConversion'),_0x2743a1=_0x12318c['commands']['get']('link');_0x5e121e['registerInlineAttribute']('linkHref');for(const _0x3d6d03 of _0x2743a1['manualDecorators'])_0x5e121e['registerInlineAttribute'](_0x3d6d03['id']);}},lt=class extends _0x14c5f9{afterInit(){const _0x37ed4d=this['editor'];if(!_0x37ed4d['plugins']['has']('ListEditing'))return;const _0x2776c5=_0x37ed4d['plugins']['get']('SuggestionsConversion'),_0x1b9732=_0x37ed4d['plugins']['has']('TodoListEditing');_0x2776c5['registerBlockAttribute']('listItemId'),_0x2776c5['registerBlockAttribute']('listType'),_0x2776c5['registerBlockAttribute']('listIndent'),_0x1b9732&&_0x2776c5['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x14c5f9{afterInit(){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3af5e8=this['editor']['config']['get']('list.properties'),_0x278c79=this['editor']['plugins']['get']('SuggestionsConversion');_0x3af5e8['styles']&&_0x278c79['registerBlockAttribute']('listStyle'),_0x3af5e8['reversed']&&_0x278c79['registerBlockAttribute']('listReversed'),_0x3af5e8['startIndex']&&_0x278c79['registerBlockAttribute']('listStart');}},ut=class extends _0x14c5f9{afterInit(){const _0x233987=this['editor'],_0x3f08ec=_0x233987['plugins']['get']('SuggestionsConversion');_0x233987['plugins']['has']('MultiLevelList')&&_0x3f08ec['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x14c5f9{afterInit(){const _0x1b02f7=this['editor'];if(!_0x1b02f7['plugins']['has']('TableEditing'))return;const _0x3550f1=_0x1b02f7['plugins']['get']('SuggestionsConversion');_0x3550f1['registerBlockAttribute']('headingRows'),_0x3550f1['registerBlockAttribute']('headingColumns');}},gt=class extends _0x14c5f9{afterInit(){const {plugins:_0x28daa8}=this['editor'];if(!_0x28daa8['has']('TablePropertiesEditing'))return;const _0x438ca2=_0x28daa8['get']('SuggestionsConversion');for(const _0x282222 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x438ca2['registerBlockAttribute'](_0x282222);}},ft=class extends _0x14c5f9{afterInit(){const _0x5ba7ec=this['editor'],_0x34f603=_0x5ba7ec['plugins']['get']('SuggestionsConversion');_0x5ba7ec['plugins']['has']('TableLayout')&&_0x34f603['registerBlockAttribute']('tableType');}},mt=class extends _0x14c5f9{afterInit(){const _0x3c8e83=this['editor'],_0x4bd6be=this['editor']['plugins']['get']('SuggestionsConversion');_0x3c8e83['plugins']['has']('Uploadcare')&&_0x3c8e83['plugins']['has']('UploadcareImageEdit')&&_0x4bd6be['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x14c5f9{afterInit(){const _0x85b839=this['editor'];if(!_0x85b839['plugins']['has']('ShiftEnter'))return;const _0x2cafd1=_0x85b839['plugins']['get']('SuggestionsConversion'),_0x555182=(_0x2dafe4,_0x3db7c2,_0x3264c0,_0x481ad0)=>{if(_0x481ad0&&!_0x3264c0['options']['showSuggestionHighlights'])return;if(!_0x3264c0['consumable']['test'](_0x3db7c2['markerRange'],_0x2dafe4['name']))return;const _0x49a575=_0x85b839['model'];for(const _0x3b5a2b of _0x3db7c2['markerRange']['getItems']()){if(!_0x3b5a2b['is']('element','softBreak'))continue;const _0x5d9077='deletion'==_0x3db7c2['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4b1799,authorId:_0x5e49a8}=J(_0x3db7c2['markerName']),_0x573bf1=_0x3264c0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5d9077,'data-suggestion':_0x4b1799,'data-author-id':_0x5e49a8}),_0x3d3734=_0x3264c0['mapper']['toViewPosition'](_0x49a575['createPositionBefore'](_0x3b5a2b));!_0x481ad0&&_0x2cafd1['_activeMarkers']['includes'](_0x3db7c2['markerName'])&&_0x3264c0['writer']['addClass']('ck-suggestion-marker--active',_0x573bf1),_0x3264c0['writer']['insert'](_0x3d3734,_0x573bf1),_0x3264c0['mapper']['bindElementToMarker'](_0x573bf1,_0x3db7c2['markerName']);}};_0x85b839['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x28e8eb,_0x373ec1,_0x2cd37b)=>{_0x555182(_0x28e8eb,_0x373ec1,_0x2cd37b,!0x1);},{'priority':'high'}),_0x85b839['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x22101d,_0x232b2a,_0x57f163)=>{_0x555182(_0x22101d,_0x232b2a,_0x57f163,!0x1);},{'priority':'high'}),_0x85b839['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x151fab,_0x3f2204,_0x35e2d5)=>{_0x555182(_0x151fab,_0x3f2204,_0x35e2d5,!0x0);},{'priority':'high'}),_0x85b839['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x17a802,_0x5a24fc,_0x4693fb)=>{_0x555182(_0x17a802,_0x5a24fc,_0x4693fb,!0x0);},{'priority':'high'});}},kt=class extends _0x14c5f9{afterInit(){const _0xaeee0c=this['editor'];if(!_0xaeee0c['plugins']['has']('MediaEmbedEditing'))return;const _0x1b31a5=_0xaeee0c['plugins']['get']('SuggestionsConversion');_0xaeee0c['plugins']['has']('MediaEmbedResizeEditing')&&_0x1b31a5['registerBlockAttribute']('resizedWidth'),_0xaeee0c['plugins']['has']('MediaEmbedStyleEditing')&&_0x1b31a5['registerBlockAttribute']('mediaStyle'),_0xaeee0c['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x21468a,{writer:_0x3c726f,options:_0x518ab2})=>{if(_0x518ab2['showSuggestionHighlights'])return _0x3c726f['createEmptyElement']('div');},'converterPriority':'high'}),_0xaeee0c['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5efd97,_0x2065d4,_0x5dd532)=>{_0x5dd532['options']['showSuggestionHighlights']&&_0x5efd97['stop']();},{'priority':'high'});}},yt=class extends _0x14c5f9{afterInit(){const _0x20db18=this['editor'];if(!_0x20db18['plugins']['has']('Table'))return;_0x20db18['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5342f0,_0x4ed9fb,_0x365814)=>{((_0x4a6074,_0x127d3f,_0x47b3b6)=>{if(!_0x47b3b6['options']['showSuggestionHighlights'])return;const _0x44ed08=_0x127d3f['item'];if(!_0x44ed08||!_0x44ed08['is']('element','tableCell'))return;const _0x516ab1=_0x47b3b6['mapper']['toViewElement'](_0x44ed08);if(_0x516ab1){const {id:_0x175a17,authorId:_0x3fa2c0}=J(_0x127d3f['markerName']);_0x526e90(_0x516ab1,_0x47b3b6['writer'],(_0x22f2fa,_0x5f2e19,_0x97d53f)=>{_0x97d53f['addClass'](_0x30308c(_0x5f2e19['classes']),_0x22f2fa),_0x97d53f['setAttribute']('data-suggestion',_0x175a17,_0x22f2fa),_0x97d53f['setAttribute']('data-author-id',_0x3fa2c0,_0x22f2fa);});}})(0x0,_0x4ed9fb,_0x365814);},{'priority':'highest'});}},bt=class extends _0x14c5f9{afterInit(){const _0x4d5709=this['editor'];_0x4d5709['plugins']['has']('HorizontalLineEditing')&&_0x4d5709['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x22fd20,{writer:_0xb9437e,options:_0x162c3f})=>{if(!_0x162c3f['showSuggestionHighlights'])return null;const _0x31844d=_0xb9437e['createContainerElement']('div'),_0x3d8494=_0xb9437e['createEmptyElement']('hr');return _0xb9437e['addClass']('ck-horizontal-line',_0x31844d),_0xb9437e['insert'](_0xb9437e['createPositionAt'](_0x31844d,0x0),_0x3d8494),_0x31844d;},'converterPriority':'high'});}},wt=class extends _0x14c5f9{afterInit(){const {plugins:_0x38a9cb,model:_0x31d283}=this['editor'];if(!_0x38a9cb['has']('TableCellPropertiesEditing'))return;const _0x5f3d72=_0x38a9cb['get']('SuggestionsConversion');for(const _0x56e0ca of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x5f3d72['registerBlockAttribute'](_0x56e0ca);_0x31d283['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5f3d72['registerBlockAttribute']('tableCellType');}},vt=class extends _0x14c5f9{afterInit(){const _0xfaada9=this['editor'];_0xfaada9['plugins']['has']('TableEditing')&&_0xfaada9['config']['get']('table.enableFooters')&&_0xfaada9['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x14c5f9{_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 _0x20b97a=this['editor'],_0x591609=(_0xbc5af3,_0x56545a,_0x3f9cfa)=>{const {id:_0x2fa103,authorId:_0xa72f4f,type:_0x230ca6,subType:_0xcaba87}=J(_0xbc5af3['markerName']),_0x238251=['ck-suggestion-marker',this['_getClassName'](_0x230ca6,_0xcaba87)];let _0x4edd8d=0xbb8;return _0x3f9cfa||this['_activeMarkers']['includes'](_0xbc5af3['markerName'])&&(_0x238251['push']('ck-suggestion-marker--active'),_0x4edd8d=0xbc2),'deletion'==_0x230ca6&&(_0x4edd8d+=0x5),{'classes':_0x238251,'attributes':{'data-suggestion':_0x2fa103,'data-author-id':_0xa72f4f},'priority':_0x4edd8d};};_0x20b97a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x42b5ec,_0x2cfb79)=>_0x591609(_0x42b5ec,0x0,!0x1)}),_0x20b97a['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xba153f,_0x460c57)=>_0x591609(_0xba153f,0x0,!0x0)}),_0x20b97a['conversion']['for']('dataDowncast')['add'](_0x45d9f0=>{_0x45d9f0['on']('addMarker:suggestion',(_0x56871f,_0x200fb3,_0x530896)=>{if(!_0x530896['options']['showSuggestionHighlights'])return;const _0x9e8d23=_0x200fb3['item'];if(!_0x9e8d23)return;const _0x4636d9=_0x530896['mapper']['toViewElement'](_0x9e8d23);_0x20b97a['model']['schema']['isObject'](_0x9e8d23)&&_0x4636d9&&!_0x4636d9['getCustomProperty']('widget')&&_0x4636d9['is']('containerElement')&&_0xfff817(_0x4636d9,_0x530896['writer']);},{'priority':'high'});});const _0x103ae7=(_0x3f05b9,_0xcc010f,_0x4e5bd1,_0x28493d,_0x371052)=>{if(_0x28493d&&!_0x4e5bd1['options']['showSuggestionHighlights'])return;if(!_0xcc010f['item'])return;const {id:_0x50834d,authorId:_0x20af15,subType:_0x10394b}=J(_0xcc010f['markerName']);if(_0x371052){const _0x408173=_0x10394b['split']('|')[0x0];if(!this['isBlockAttribute'](_0x408173))return;}if(_0xcc010f['item']['is']('selection'))return void _0x4e5bd1['consumable']['consume'](_0xcc010f['item'],_0x3f05b9['name']);const _0x11394e=_0x4e5bd1['mapper']['toViewElement'](_0xcc010f['item']);if(_0xcc010f['item']['is']('element')&&_0x20b97a['model']['schema']['isBlock'](_0xcc010f['item'])&&!_0x11394e['getCustomProperty']('addHighlight')){_0x4e5bd1['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x11394e),_0x4e5bd1['writer']['setAttribute']('data-suggestion',_0x50834d,_0x11394e),_0x4e5bd1['writer']['setAttribute']('data-author-id',_0x20af15,_0x11394e),_0x4e5bd1['mapper']['bindElementToMarker'](_0x11394e,_0xcc010f['markerName']),_0x28493d||(this['_activeMarkers']['includes'](_0xcc010f['markerName'])?_0x4e5bd1['writer']['addClass']('ck-suggestion-marker--active',_0x11394e):_0x4e5bd1['writer']['removeClass']('ck-suggestion-marker--active',_0x11394e));for(const _0x403289 of _0x20b97a['model']['createRangeIn'](_0xcc010f['item'])['getItems']())_0x4e5bd1['consumable']['consume'](_0x403289,_0x3f05b9['name']);_0x4e5bd1['consumable']['consume'](_0xcc010f['item'],_0x3f05b9['name']);}},_0x64a059=(_0x5c0d76,_0x2c66a1,_0x3fbd5d,_0x24491b)=>{const _0x3534dc=_0x3fbd5d['mapper']['markerNameToElements'](_0x2c66a1['markerName']);if(_0x3534dc){if(_0x24491b){const {subType:_0x379d55}=J(_0x2c66a1['markerName']),_0x1580d6=_0x379d55['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1580d6))return;}for(const _0x507f47 of _0x3534dc)_0x507f47['getCustomProperty']('addHighlight')||(_0x3fbd5d['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x507f47),_0x3fbd5d['writer']['removeAttribute']('data-suggestion',_0x507f47),_0x3fbd5d['writer']['removeAttribute']('data-author-id',_0x507f47),_0x3fbd5d['mapper']['unbindElementFromMarkerName'](_0x507f47,_0x2c66a1['markerName']));}};_0x20b97a['conversion']['for']('editingDowncast')['add'](_0x427bee=>{_0x427bee['on']('addMarker:suggestion:formatBlock',(_0x357c3d,_0x4cde1f,_0x20162e)=>{_0x103ae7(_0x357c3d,_0x4cde1f,_0x20162e,!0x1,!0x1);},{'priority':'high'});}),_0x20b97a['conversion']['for']('editingDowncast')['add'](_0x52a771=>{_0x52a771['on']('addMarker:suggestion:attribute',(_0x35cce9,_0x5bc0ad,_0x1ac8e6)=>{_0x103ae7(_0x35cce9,_0x5bc0ad,_0x1ac8e6,!0x1,!0x0);},{'priority':'high'});}),_0x20b97a['conversion']['for']('editingDowncast')['add'](_0x54a2d6=>{_0x54a2d6['on']('removeMarker:suggestion:formatBlock',(_0x19d72b,_0x261572,_0x5454bf)=>{_0x64a059(0x0,_0x261572,_0x5454bf,!0x1);},{'priority':'high'});}),_0x20b97a['conversion']['for']('editingDowncast')['add'](_0x291803=>{_0x291803['on']('removeMarker:suggestion:attribute',(_0xe992a0,_0x5adeda,_0x1c7546)=>{_0x64a059(0x0,_0x5adeda,_0x1c7546,!0x0);},{'priority':'high'});}),_0x20b97a['conversion']['for']('dataDowncast')['add'](_0x1c3004=>{_0x1c3004['on']('addMarker:suggestion:formatBlock',(_0x34fbbb,_0x357e28,_0x4e0c93)=>{_0x103ae7(_0x34fbbb,_0x357e28,_0x4e0c93,!0x0,!0x1);},{'priority':'highest'});}),_0x20b97a['conversion']['for']('dataDowncast')['add'](_0x54fd96=>{_0x54fd96['on']('addMarker:suggestion:attribute',(_0x263b44,_0x1471f1,_0x22c643)=>{_0x103ae7(_0x263b44,_0x1471f1,_0x22c643,!0x0,!0x0);},{'priority':'highest'});}),_0x20b97a['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2e744e,_0x3bdd8d)=>_0x3bdd8d['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x2e744e['substr'](0xb)}});const _0x3a10d5=(_0x1cf407,_0x5680fc,_0x15642a,_0x1e3d81,_0x410ff7)=>{if(_0x1e3d81&&!_0x15642a['options']['showSuggestionHighlights'])return;if(!_0x15642a['consumable']['test'](_0x5680fc['markerRange'],_0x1cf407['name']))return;const _0x31c424=this['_activeMarkers'],_0x434fb9=_0x5680fc['markerRange']['getWalker'](),_0x3cf5ef=_0x5680fc['markerRange']['start'],_0x5d49d2=_0x20b97a['model']['schema'];let _0x22236a=null,_0x32a2e9=null,_0x6f4f76=!0x1,_0x288fc2=!0x1;for(const _0x52744b of _0x434fb9){const _0x54982a=_0x52744b['item'];_0x6f4f76=_0x6f4f76||_0x5d49d2['isContent'](_0x54982a);const _0x3f02f0=_0x15642a['mapper']['toViewElement'](_0x54982a);if(_0x3f02f0&&_0x3f02f0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x52744b['type']&&(_0x5d49d2['isBlock'](_0x54982a)&&!_0x5d49d2['isLimit'](_0x54982a)&&(_0x54982a['nextSibling']||_0x3cf5ef['isAtEnd']?_0x22236a&&_0x22236a['parent']==_0x54982a||(_0x22236a=_0x54982a,_0x420768(_0x52744b['previousPosition']),_0x288fc2=!0x0):_0x32a2e9=_0x32a2e9||_0x52744b['previousPosition']));}function _0x420768(_0x37ed31){const {id:_0x402097,authorId:_0x51abdd}=J(_0x5680fc['markerName']),_0x5a4b84=_0x15642a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x410ff7,'data-suggestion':_0x402097,'data-author-id':_0x51abdd}),_0x453d5c=_0x15642a['mapper']['toViewPosition'](_0x37ed31);!_0x1e3d81&&_0x31c424['includes'](_0x5680fc['markerName'])&&_0x15642a['writer']['addClass']('ck-suggestion-marker--active',_0x5a4b84),_0x15642a['writer']['insert'](_0x453d5c,_0x5a4b84),_0x15642a['mapper']['bindElementToMarker'](_0x5a4b84,_0x5680fc['markerName']);}_0x6f4f76||_0x288fc2||!_0x32a2e9||_0x420768(_0x32a2e9);};_0x20b97a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4a34bc,_0x53ba4b,_0x1cbcd2)=>{_0x3a10d5(_0x4a34bc,_0x53ba4b,_0x1cbcd2,!0x1,'merge');},{'priority':'high'}),_0x20b97a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xd2b643,_0x50203c,_0x53cebc)=>{_0x3a10d5(_0xd2b643,_0x50203c,_0x53cebc,!0x0,'merge');},{'priority':'high'}),_0x20b97a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x488d7a,_0x4fc209,_0x38faa9)=>{_0x3a10d5(_0x488d7a,_0x4fc209,_0x38faa9,!0x1,'split');},{'priority':'high'}),_0x20b97a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2b2df6,_0x3921b0,_0x5d6356)=>{_0x3a10d5(_0x2b2df6,_0x3921b0,_0x5d6356,!0x0,'split');},{'priority':'high'}),_0x20b97a['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x939315,_0x286bf7,_0x3d670b)=>{((_0xbfcbe9,_0x1dde7f,_0x21637f)=>{const _0x53405a=_0x21637f['mapper']['markerNameToElements'](_0x1dde7f['markerName']);if(_0x53405a){for(const _0x15317c of _0x53405a)(_0x15317c['hasClass']('ck-suggestion-marker-split')||_0x15317c['hasClass']('ck-suggestion-marker-merge'))&&(_0x21637f['mapper']['unbindElementFromMarkerName'](_0x15317c,_0x1dde7f['markerName']),_0x21637f['writer']['remove'](_0x15317c));}})(0x0,_0x286bf7,_0x3d670b);},{'priority':'high'});const _0x2536e8=(_0x524fd0,_0x3e28c8,_0x1f5d10,_0x44fa82)=>{if(_0x44fa82&&!_0x1f5d10['options']['showSuggestionHighlights'])return;const _0x538103=_0x3e28c8['markerRange']['start'],_0x4ef5e8=_0x3e28c8['markerRange']['end'],_0x4d4f83=_0x20b97a['model']['schema'];if(!_0x538103['isTouching'](_0x4ef5e8)||!_0x538103['nodeAfter'])return;const _0x159205=_0x538103['nodeAfter'];if(_0x4d4f83['isBlock'](_0x159205)&&!_0x4d4f83['isLimit'](_0x159205)&&_0x4d4f83['checkChild'](_0x159205,'$text')){if(!_0x1f5d10['consumable']['consume'](_0x3e28c8['markerRange'],_0x524fd0['name']))return;const {id:_0xbb3094,authorId:_0x214842}=J(_0x3e28c8['markerName']),_0x46b973=_0x1f5d10['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0xbb3094,'data-author-id':_0x214842}),_0x4f7706=_0x1f5d10['mapper']['toViewPosition'](_0x4ef5e8);!_0x44fa82&&this['_activeMarkers']['includes'](_0x3e28c8['markerName'])&&_0x1f5d10['writer']['addClass']('ck-suggestion-marker--active',_0x46b973),_0x1f5d10['writer']['insert'](_0x4f7706,_0x46b973),_0x1f5d10['mapper']['bindElementToMarker'](_0x46b973,_0x3e28c8['markerName']);}};_0x20b97a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x37dadc,_0x198fa2,_0x3dcd39)=>{_0x2536e8(_0x37dadc,_0x198fa2,_0x3dcd39,!0x1);},{'priority':'high'}),_0x20b97a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5b5958,_0x41942c,_0x19db59)=>{_0x2536e8(_0x5b5958,_0x41942c,_0x19db59,!0x0);},{'priority':'high'});}afterInit(){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4c35fc,_0x165189,_0x368b32)=>{this['_activeMarkers']=_0x368b32['slice']();},{'priority':'highest'});}registerBlockAttribute(_0xdb5e19){this['_blockAttributeKeys']['add'](_0xdb5e19);}registerInlineAttribute(_0x2ed198){this['_inlineAttributeKeys']['add'](_0x2ed198);}isBlockAttribute(_0x9c8c){return this['_blockAttributeKeys']['has'](_0x9c8c);}isInlineAttribute(_0x1a3c1e){return this['_inlineAttributeKeys']['has'](_0x1a3c1e);}isRegisteredAttribute(_0x323e8c){return this['isInlineAttribute'](_0x323e8c)||this['isBlockAttribute'](_0x323e8c);}_getClassName(_0x476ca8,_0x395b86){if('attribute'!=_0x476ca8)return'ck-suggestion-marker-'+_0x476ca8;const _0x44b614=_0x395b86['split']('|')[0x0];return this['isBlockAttribute'](_0x44b614)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x7c0133={},_0x3c39eb){if(void 0x0!==_0x7c0133['dateTimeFormat']&&'function'!=typeof _0x7c0133['dateTimeFormat'])throw new _0x1c0dc3('invalid-date-time-format');return _0x476f8a=>{const _0x5429e0='string'==typeof _0x476f8a?_0x294163['fromISO'](_0x476f8a):_0x294163['fromJSDate'](_0x476f8a),_0x127ef3=_0x294163['now'](),_0x4b0cdc=Math['floor'](_0x127ef3['diff'](_0x5429e0,'days')['days']);return _0x7c0133['dateTimeFormat']?_0x7c0133['dateTimeFormat'](_0x5429e0['toJSDate'](),_0x3c39eb&&_0x3c39eb['t']?_0x3c39eb['t']:void 0x0):0x0===_0x4b0cdc?_0x3c39eb?D(_0x3c39eb,'Today')+'\x20'+_0x5429e0['toFormat']('hh:mma'):_0x5429e0['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x4b0cdc?_0x3c39eb?D(_0x3c39eb,'Yesterday')+'\x20'+_0x5429e0['toFormat']('hh:mma'):_0x5429e0['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x4b0cdc<0x7?_0x3c39eb?D(_0x3c39eb,'Last')+'\x20'+D(_0x3c39eb,_0x5429e0['toFormat']('EEEE'))+'\x20'+_0x5429e0['toFormat']('hh:mma'):_0x5429e0['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5429e0['toFormat']('LL-dd-yyyy\x20hh:mma');};}function xt(_0x6af05d,_0x46907a){const _0x1d2e72=_0x6af05d['mapper']['markerNameToElements'](_0x46907a['name']);if(!_0x1d2e72)return null;const _0x1a963b=_0x7686f7(_0x1d2e72['values']());return _0x6af05d['view']['domConverter']['mapViewToDom'](_0x1a963b)||null;}function It(_0x26d864,_0x330c42){if(0x0===_0x330c42['length'])return null;const _0x344e36=[],_0x13ff70=_0x26d864['view']['domConverter'];for(const _0x4a3cb5 of _0x330c42){const _0x2c2e66=_0x26d864['mapper']['markerNameToElements'](_0x4a3cb5['name']);if(!_0x2c2e66)continue;const _0x49bc56=Array['from'](_0x2c2e66)['map'](_0x20c0db=>_0x13ff70['mapViewToDom'](_0x20c0db))['filter'](_0x22106a=>!!_0x22106a);_0x344e36['push'](..._0x49bc56);}if(0x0===_0x344e36['length'])return null;const _0x4cd4f1=[];for(const _0x3f7932 of _0x344e36){const _0x54f5da=_0x3f7932['getClientRects']()['item'](0x0);_0x54f5da&&_0x4cd4f1['push']({'x':_0x54f5da['x'],'y':_0x54f5da['y'],'domElement':_0x3f7932});}return 0x0===_0x4cd4f1['length']?null:(_0x4cd4f1['sort']((_0x1a6651,_0x3364fa)=>_0x1a6651['y']-_0x3364fa['y']||_0x1a6651['x']-_0x3364fa['x']),_0x4cd4f1['map'](_0x471ba1=>_0x471ba1['domElement']));}function St(_0x515d18,{limit:_0x2d3106,suffix:_0x492e04='...'}){const _0x4e27fc=[];let _0x3e9e08=0x0;const _0x48ac53=_0x515d18['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x43a190=0x0;_0x43a190<_0x48ac53['length'];_0x43a190++){let _0x656658=_0x48ac53[_0x43a190];const _0x119571=Et(_0x656658);if(_0x656658['startsWith']('<')){if(_0x3e9e08>=_0x2d3106){const _0x1b13ab=_0x656658['match'](/[a-zA-Z]+/);if(!_0x1b13ab){_0x48ac53[_0x43a190]='';continue;}const _0x474f9f=_0x1b13ab[0x0];_0x656658['startsWith']('</')?(_0x4e27fc['length']&&(_0x656658=''),_0x4e27fc['pop']()):(_0x4e27fc['push'](_0x474f9f),_0x656658='');}}else{if(_0x3e9e08>=_0x2d3106)_0x656658='';else{if(_0x3e9e08+_0x119571['length']>=_0x2d3106){let _0x4c44ff=_0x2d3106-_0x3e9e08;if('\x20'===_0x119571[_0x4c44ff-0x1])_0x4c44ff--;else{const _0x225274=_0x119571['slice'](_0x4c44ff)['indexOf']('\x20');-0x1!==_0x225274?_0x4c44ff+=_0x225274:_0x4c44ff=_0x656658['length'];}_0x656658=_0x119571['slice'](0x0,_0x4c44ff)['join']('')+_0x492e04,_0x3e9e08=_0x2d3106;}else _0x3e9e08+=_0x119571['length'];}}_0x48ac53[_0x43a190]=_0x656658;}return _0x48ac53['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x4629db){const _0x4a888b=[];for(let _0x1f371b=0x0;_0x1f371b<_0x4629db['length'];_0x1f371b++){const _0x2733a3=_0x4629db['substring'](_0x1f371b)['match'](/^&[a-z0-9#]+;/);if(_0x2733a3){const _0x135dae=_0x2733a3[0x0];_0x4a888b['push'](_0x135dae),_0x1f371b+=_0x135dae['length']-0x1;}else _0x4a888b['push'](_0x4629db[_0x1f371b]);}return _0x4a888b;}var Mt=class extends _0x533988{submitView;['cancelView'];['focusTracker'];keystrokes;['focusCycler'];['focusables'];constructor(_0x4bb8a0){super(_0x4bb8a0);const _0x1acb04=this['bindTemplate'];this['set']('message',D(_0x4bb8a0,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x4bb8a0,D(_0x4bb8a0,'Yes'),_0x2418d5,'submit'),this['cancelView']=this['_createButtonView'](_0x4bb8a0,D(_0x4bb8a0,'No'),_0x5d169,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x8fce65(),this['keystrokes']=new _0x97fda3(),this['focusCycler']=new _0x36976f({'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':_0x1acb04['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(_0x1cd971,_0x536f61,_0x483b0f,_0x3f34f7){const _0x2b2b98=new _0x516bb4(_0x1cd971);return _0x2b2b98['label']=_0x536f61,_0x2b2b98['icon']=_0x483b0f,_0x2b2b98['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x3f34f7}}),_0x2b2b98['on']('execute',()=>this['fire'](_0x3f34f7)),_0x2b2b98;}_setupKeyboardNavigation(){this['focusables']['forEach'](_0x8355dd=>{this['keystrokes']['listenTo'](_0x8355dd['element']),this['focusTracker']['add'](_0x8355dd['element']);}),this['keystrokes']['set']('esc',(_0xab9d52,_0x2cdaf0)=>{this['fire']('cancel'),_0x2cdaf0();});}};function At(_0xdf7855){return class _0x53f56d extends _0xdf7855{['showConfirm'](_0x3abb48,_0x121330){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3abb48,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x121330['appendChild'](this['confirmView']['element']),_0x121330['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2cd9f0,_0x211926,_0x152d16)=>{_0x152d16||_0x121330['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x220d84=>this['confirmView']['on']('submit',_0x220d84));}['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(_0x33fa9e){let _0x147d44=0x0,_0x5cf32f=0x0;for(const _0x4be4f9 of Nt(_0x33fa9e))_0x147d44=(_0x147d44<<0x5)-_0x147d44+_0x4be4f9,_0x147d44&=_0x147d44,[_0x147d44,_0x5cf32f]=[_0x5cf32f,_0x147d44];return Bt(_0x147d44)+Bt(_0x5cf32f);}function*Pt(_0x49d59d){null==_0x49d59d||null==_0x49d59d?yield 0x12b9b0a1:0x0===_0x49d59d||!0x1===_0x49d59d?yield 0x0:0x1===_0x49d59d||0x1==_0x49d59d?yield 0x1:Array['isArray'](_0x49d59d)?yield*function*(_0xd12493){for(const _0x220a28 of _0xd12493)yield*Pt(_0x220a28);}(_0x49d59d):'object'==typeof _0x49d59d?yield*Nt(_0x49d59d):'string'==typeof _0x49d59d?yield*Vt(_0x49d59d):'number'==typeof _0x49d59d&&(yield _0x49d59d);}function*Nt(_0x5d54af){if(yield Ot('{'),_0x5d54af){const _0x10be00=Object['keys'](_0x5d54af)['sort']();for(const _0x1356e6 of _0x10be00){yield*Vt(_0x1356e6),yield Ot(':');const _0x1f4f65=_0x5d54af[_0x1356e6];yield*Pt(_0x1f4f65);}}yield Ot('}');}function*Vt(_0x598313){yield Ot('\x22');for(const _0xe5e54c of _0x598313)yield Ot(_0xe5e54c);yield Ot('\x22');}function Ot(_0x1ceee4){return _0x1ceee4['charCodeAt'](0x0);}function Bt(_0x14f4c3){return(_0x14f4c3*=Math['sign'](_0x14f4c3))['toString'](0x24);}function Dt(_0xe4766a){if('addAttribute'!=_0xe4766a['type']&&'removeAttribute'!=_0xe4766a['type']&&'changeAttribute'!=_0xe4766a['type'])return!0x1;try{return _0xe4766a['_validate'](),!0x1;}catch{return!0x0;}}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Lt=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Rt(_0x29e369,_0x1aa045,_0x5186c4,_0x21bfc7=[]){const _0x335dd6='string'==typeof _0x29e369?_0x5186c4['get'](_0x29e369)['constructor']:_0x29e369['prototype']['constructor'];if(_0x1aa045['has'](_0x335dd6))return _0x1aa045['get'](_0x335dd6);_0x1aa045['set'](_0x335dd6,!0x0);const _0x4dc66d=[...Lt,..._0x21bfc7]['map'](_0x3c51d6=>{if(_0x5186c4['has'](_0x3c51d6))return _0x5186c4['get'](_0x3c51d6)['constructor'];})['filter'](_0x5965bb=>_0x5965bb);if(_0x335dd6&&_0x4dc66d['includes'](_0x335dd6))return _0x1aa045['set'](_0x335dd6,!0x1),!0x1;if(!_0x335dd6['requires'])return _0x1aa045['set'](_0x335dd6,!0x0),!0x0;const _0x362de5=_0x335dd6['requires']['every'](_0x44183c=>Rt(_0x44183c,_0x1aa045,_0x5186c4,_0x21bfc7));return _0x1aa045['set'](_0x335dd6,_0x362de5),_0x362de5;}function Ft(_0x3ec96a,_0xded571){const _0x4ae9a3={};for(const _0x30a67d of _0x3ec96a['config']['names']())$t['includes'](_0x30a67d)||(_0x4ae9a3[_0x30a67d]=_0x3ec96a['config']['get'](_0x30a67d));const _0x219385=_0x4ae9a3['plugins']||[],_0x17e47c=_0x3ec96a['constructor']['builtinPlugins']||[],_0x3447cb=_0x219385['length']?_0x219385:_0x17e47c,_0x48a3f0=_0x4ae9a3['extraPlugins']||[];delete _0x4ae9a3['extraPlugins'];const _0x58f56b=_0x4ae9a3['removePlugins']||[];delete _0x4ae9a3['removePlugins'];const _0x438f44=_0x3ec96a['_context']['config']['get']('plugins')||[],_0x526ff6=_0x3447cb['concat'](_0x48a3f0)['concat'](_0x438f44)['map'](_0x426947=>'string'==typeof _0x426947?_0x17e47c['find'](_0x2b13ea=>_0x2b13ea['pluginName']==_0x426947):_0x426947)['filter'](_0x3b5346=>!_0x58f56b['includes'](_0x3b5346)&&!_0x58f56b['includes'](_0x3b5346['pluginName'])),_0x3e29b3=Array['from'](new Set(_0x526ff6)),_0x103403=new Map();return _0x4ae9a3['plugins']=_0x3e29b3['filter'](_0x2808a7=>Rt(_0x2808a7,_0x103403,_0x3ec96a['plugins'],_0xded571)),_0x4ae9a3;}function Ht(_0x1a13e2,_0x560aef){const _0x4454f9=[];_0x1a13e2['document']['selection']['on']('change:range',()=>{const _0x1f9184=function(_0xef684a,_0x22f4b1){const _0xbc3850=[];for(const _0x2c6579 of _0xef684a['markers']){const _0x59b4b4=_0x2c6579['getRange']();(_0x59b4b4['containsPosition'](_0x22f4b1)||_0x59b4b4['start']['isEqual'](_0x22f4b1)||_0x59b4b4['end']['isEqual'](_0x22f4b1))&&_0xbc3850['push'](_0x2c6579);}return _0xbc3850;}(_0x1a13e2,_0x1a13e2['document']['selection']['focus']),_0x336264=[],_0x15a71a=[],_0x23cadf=[];for(const _0x5df7ea of _0x4454f9)_0x1f9184['includes'](_0x5df7ea)||_0x336264['push'](_0x5df7ea);for(const _0x4e235c of _0x1f9184)_0x4454f9['includes'](_0x4e235c)||_0x15a71a['push'](_0x4e235c),_0x23cadf['push'](_0x4e235c);(_0x336264['length']||_0x15a71a['length'])&&_0x560aef({'left':_0x336264,'entered':_0x15a71a}),_0x4454f9['length']=0x0,_0x4454f9['push'](..._0x23cadf);});}const Ut='Ctrl+Shift+E';function zt(_0x2b54f7,_0x3c5d79){const _0x5aa619=_0x2b54f7['element'];_0x2b54f7['keystrokes']['listenTo'](_0x5aa619);for(const _0x586e95 of _0x3c5d79)Wt(_0x2b54f7,_0x586e95);_0x3c5d79['on']('change',(_0x111294,_0x2bdc7b)=>{for(const _0x4d34cc of _0x2bdc7b['removed'])Yt(_0x2b54f7,_0x4d34cc);for(const _0x4e8037 of Array['from'](_0x2bdc7b['added'])['reverse']())Wt(_0x2b54f7,_0x4e8037);}),_0x2b54f7['keystrokes']['set']('enter',(_0xde0c69,_0x327999)=>{_0x5aa619===_0xde0c69['target']&&(_0x2b54f7['focusCycler']['focusFirst'](),_0x327999());},{'filter':_0xda6a75=>_0xda6a75['target']===_0x5aa619}),_0x2b54f7['keystrokes']['set']('esc',(_0x4d3f27,_0x17d41e)=>{_0x5aa619!==_0x4d3f27['target']?_0x2b54f7['focus']():_0x2b54f7['fire']('escape'),_0x17d41e();}),_0x2b54f7['keystrokes']['set']('arrowdown',(_0x1481da,_0x3dd748)=>{_0x5aa619===_0x1481da['target']&&(_0x2b54f7['fire']('arrowdown'),_0x3dd748());}),_0x2b54f7['keystrokes']['set']('arrowup',(_0x1043a8,_0x12ab0d)=>{_0x5aa619===_0x1043a8['target']&&(_0x2b54f7['fire']('arrowup'),_0x12ab0d());});}function Wt(_0x4defff,_0x7247b2){_0x7247b2['isRendered']&&(_0x4defff['focusTracker']['add'](_0x7247b2['element']),_0x4defff['keystrokes']['listenTo'](_0x7247b2['element']),_0x476fd6(_0x7247b2)&&function(_0x281467,_0x2123e1){const _0x239bca=_0x281467['actions'],_0x462735=_0x2123e1['actions'];for(const _0x44abae of Object['keys'](_0x239bca))if(_0x44abae in _0x462735&&_0x239bca[_0x44abae]!==_0x462735[_0x44abae])return!0x1;return!0x0;}(_0x4defff['focusCycler'],_0x7247b2['focusCycler'])&&_0x4defff['focusCycler']['chain'](_0x7247b2['focusCycler']));}function Yt(_0x45fc76,_0x28e3f5){_0x45fc76['focusTracker']['remove'](_0x28e3f5['element']),_0x45fc76['keystrokes']['stopListening'](_0x28e3f5['element']),_0x476fd6(_0x28e3f5)&&_0x45fc76['focusCycler']['unchain'](_0x28e3f5['focusCycler']);}const jt='$elementId',Jt='data-id';var Gt=class extends _0x4f7e39{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async init(){this['context']instanceof _0x2fc4f1?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0xdcbb23,_0x2c68c3)=>{_0x2c68c3['on']('ready',()=>{this['_integrateEditor'](_0x2c68c3);});});}get editor(){if(this['context']instanceof _0x2fc4f1)return this['context'];{const _0x63537a=this['context']['editors']['first'];if(!_0x63537a)throw new _0x1c0dc3('documentcompare-no-editor',this);return _0x63537a;}}getDiff(_0x19c36c,_0x4e4117,_0x21474a={'anchor':'main','markDeletions':!0x1}){const _0x372310=_0x21474a['targetEditor']||this['editor'],_0x455ec0=_0x21474a['anchor']??'main';let _0x51bc28,_0x27771c;if('string'==typeof _0x455ec0){const _0x5b9db9=_0x372310['model']['document']['getRoot'](_0x455ec0);if(!_0x5b9db9)throw new _0x1c0dc3('documentcompare-compare-no-root',this,{'anchor':_0x455ec0});_0x51bc28=_0x5b9db9,_0x27771c=_0x372310['model']['createPositionAt'](_0x5b9db9,0x0);}else _0x51bc28=_0x455ec0['clone'](),_0x27771c=_0x455ec0['clone']();const _0x5ddacd=_0x372310['data']['parse'](_0x19c36c,_0x51bc28),_0x2f179e=_0x372310['data']['parse'](_0x4e4117,_0x51bc28);return new Kt({'editor':_0x372310,'before':_0x5ddacd,'after':_0x2f179e,'options':{'anchor':_0x27771c,'markDeletions':_0x21474a['markDeletions']}});}isMarkedRemoveOperation(_0x4089df){return'marker'==_0x4089df['type']&&_0x4089df['name']['startsWith']('$markedRemove');}applyOperations(_0x49f415,_0x17be5e){const _0x42d9e1=_0x49f415['model'];for(const _0x4793b5 of _0x17be5e)Dt(_0x4793b5)||(_0x4793b5 instanceof _0x555763?_0x49f415['_addOperationForAffectedMarkers']('move',_0x17b633['_createFromPositionAndShift'](_0x4793b5['sourcePosition'],_0x4793b5['howMany'])):_0x4793b5 instanceof _0x4ae173?_0x49f415['_addOperationForAffectedMarkers']('merge',_0x4793b5['deletionPosition']):_0x4793b5 instanceof _0x3d7f4b&&this['_fixMarkerOperationOldRange'](_0x42d9e1,_0x4793b5),_0x4793b5['baseVersion']=_0x42d9e1['document']['version'],_0x49f415['batch']['addOperation'](_0x4793b5),_0x42d9e1['applyOperation'](_0x4793b5));}_fixMarkerOperationOldRange(_0x2f5579,_0x26e003){const _0x564bc8=_0x2f5579['markers']['get'](_0x26e003['name']);_0x564bc8&&(_0x26e003['oldRange']=_0x564bc8['getRange']());}_integrateEditor(_0x5af9f0){_0x5af9f0['conversion']['for']('upcast')['add'](_0xc58ed9=>{_0xc58ed9['on']('element',(_0x1fdb55,_0x900808,_0x55bad8)=>{if(_0x900808['modelRange']&&_0x55bad8['consumable']['consume'](_0x900808['viewItem'],{'attributes':'data-id'}))for(const _0x1f467a of _0x900808['modelRange']['getItems']({'shallow':!0x0})){if(_0x1f467a['is']('$textProxy'))continue;const _0x10ee4f=_0x900808['viewItem']['getAttribute'](Jt);_0x10ee4f&&_0x55bad8['writer']['setAttribute'](jt,_0x10ee4f,_0x1f467a);}},{'priority':'low'});}),_0x5af9f0['model']['schema']['addAttributeCheck'](()=>!0x0,jt);}},Kt=class{_editor;_diffItems=[];_markDeletions;['_anchor'];_operationsData=[];_path=[0x0];_parents=[];_splitPostponedData=new Map();constructor({editor:_0x195bac,before:_0x4eef92,after:_0x3ac6c6,options:_0x55a60f}){this['_editor']=_0x195bac,this['_markDeletions']=!!_0x55a60f['markDeletions'],this['_anchor']=_0x55a60f['anchor'];const _0x590c2c=this['_tokenizeModel'](_0x4eef92),_0x31e583=this['_tokenizeModel'](_0x3ac6c6);this['_diffItems']=this['_diffModelTokens'](_0x590c2c,_0x31e583),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4eef92['markers'],_0x3ac6c6['markers']);}getOperationsData(){return this['_operationsData'];}getOperations(){const _0x1918b7=this['_editor']['model']['document'],_0x3b5628=[];let _0x25c199=_0x1918b7['version'];for(const _0x314ee6 of this['_operationsData'])switch(_0x314ee6['type']){case'attribute':{const _0x9189ab=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']),_0x434fdd=new _0x17b633(_0x9189ab,_0x9189ab['getShiftedBy'](_0x314ee6['howMany'])),_0x4335ae=JSON['parse'](_0x314ee6['oldValue']),_0x44a0b3=JSON['parse'](_0x314ee6['newValue']);_0x3b5628['push'](new _0x4adddb(_0x434fdd,_0x314ee6['key'],_0x4335ae,_0x44a0b3,_0x25c199++));break;}case'insert':{const _0x444403=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']),_0x584041=this['_makeModelFromTokens'](_0x314ee6['tokens']);_0x3b5628['push'](new _0x43bb57(_0x444403,_0x584041,_0x25c199++));break;}case'remove':{const _0x3eb098=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']),_0x2d6d4d=new _0x2e510f(_0x1918b7['graveyard'],[0x0]);_0x3b5628['push'](new _0x555763(_0x3eb098,_0x314ee6['howMany'],_0x2d6d4d,_0x25c199++));break;}case'rename':{const _0x49f675=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']);_0x3b5628['push'](new _0x48d7c5(_0x49f675,_0x314ee6['oldName'],_0x314ee6['newName'],_0x25c199++));break;}case'split':{const _0x3c51cd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']),_0x77af2e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['path']['slice'](0x0,-0x1));_0x77af2e['offset']++,_0x3b5628['push'](new _0x2d0958(_0x3c51cd,Number['NEGATIVE_INFINITY'],_0x77af2e,null,_0x25c199++));break;}case'merge':{const _0x167325=_0x314ee6['path']['slice'](),_0x30f9c4=_0x167325['slice'](0x0,-0x1);_0x30f9c4[_0x30f9c4['length']-0x1]++,_0x30f9c4['push'](0x0);const _0x3c6b00=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30f9c4),_0x3b4e11=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x167325),_0x3ad73e=new _0x2e510f(_0x1918b7['graveyard'],[0x0]);_0x3b5628['push'](new _0x4ae173(_0x3c6b00,Number['NEGATIVE_INFINITY'],_0x3b4e11,_0x3ad73e,_0x25c199++));break;}case'marker':case'markedRemove':{let _0x7a7fdf=null;_0x314ee6['range']&&(_0x7a7fdf=new _0x17b633(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['range']['end'])));const _0x2283dd='marker'==_0x314ee6['type']?_0x314ee6['name']:'$markedRemove:'+_0x1094a5();_0x3b5628['push'](new _0x3d7f4b(_0x2283dd,null,_0x7a7fdf,_0x1918b7['model']['markers'],!0x0,_0x25c199++));break;}case'unwrap':{const _0x10221a=_0x314ee6['path']['slice']();_0x10221a['push'](0x0);const _0xaa8454=_0x314ee6['path']['slice'](),_0x46aa56=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x10221a),_0x2632f6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xaa8454),_0x285aac=new _0x2e510f(_0x1918b7['graveyard'],[0x0]);_0x3b5628['push'](new _0x555763(_0x46aa56,_0x314ee6['howMany'],_0x2632f6,_0x25c199++)),_0x3b5628['push'](new _0x555763(_0x2632f6['getShiftedBy'](_0x314ee6['howMany']),0x1,_0x285aac,_0x25c199++));break;}case'wrap':{const _0x2a5e42=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['range']['start']),_0x18f520=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x314ee6['range']['end']),_0x5676c1=_0x314ee6['token']['element']['_clone'](!0x1);_0x5676c1['_removeAttribute'](jt);const _0x274d12=_0x314ee6['range']['end']['slice']();_0x274d12['push'](0x0);const _0x2a8e26=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x274d12);_0x3b5628['push'](new _0x43bb57(_0x18f520,_0x5676c1,_0x25c199++)),_0x3b5628['push'](new _0x555763(_0x2a5e42,_0x18f520['offset']-_0x2a5e42['offset'],_0x2a8e26,_0x25c199++));break;}}return _0x3b5628;}_tokenizeModel(_0x422062){const _0x55b035=[],_0x4cf4d5=new _0x37c2b7({'boundaries':_0x17b633['_createIn'](_0x422062)});let _0x4223a2='',_0x1a0460=null;const _0x5d00a0=[''],_0x357e0c=new Map();for(const _0x836e51 of _0x4cf4d5)if('elementStart'==_0x836e51['type']||'elementEnd'==_0x836e51['type']){let _0x642aab=_0x5d00a0[0x0];''!==_0x4223a2&&(_0x55b035['push'](...this['_makeTokensFromTextByWords'](_0x4223a2,_0x1a0460,_0x642aab)),_0x4223a2='');const _0x5eaefd=_0x836e51['item'];let _0x2e3c33;_0x5eaefd['getAttribute']('$elementId')?_0x2e3c33=_0x5eaefd['getAttribute'](jt):'elementStart'==_0x836e51['type']?(_0x2e3c33=Zt(_0x5eaefd),_0x357e0c['set'](_0x5eaefd,_0x2e3c33)):_0x2e3c33=_0x357e0c['get'](_0x5eaefd);const _0x1fdc79=this['_getElementCategory'](_0x5eaefd);'solid'==_0x1fdc79&&('elementStart'==_0x836e51['type']?(_0x642aab=_0x2e3c33,_0x5d00a0['unshift'](_0x642aab)):_0x5d00a0['shift']());const _0x5d46ba={'type':'element','element':_0x5eaefd,'elementId':_0x2e3c33,'category':_0x1fdc79,'isStart':'elementStart'==_0x836e51['type'],'limitId':_0x642aab};_0x55b035['push'](_0x5d46ba);}else''==_0x4223a2&&(_0x1a0460=_0x836e51['previousPosition']['clone']()),_0x4223a2+=_0x836e51['item']['data'];return''!==_0x4223a2&&_0x55b035['push'](...this['_makeTokensFromTextByWords'](_0x4223a2,_0x1a0460,_0x5d00a0[0x0])),_0x55b035;}_makeTokensFromTextByWords(_0x371102,_0x12d390,_0x19d788){const _0x510b24=_0x371102['matchAll'](/(\s)/g),_0x5a5c65=Array['from'](_0x510b24)['map'](_0x3ec960=>_0x3ec960['index']);_0x5a5c65['push'](_0x371102['length']),0x0==_0x5a5c65[0x0]&&_0x5a5c65['shift']();const _0x4bf433=[],_0x29a93b=_0x12d390['parent'];let _0x4c627e=0x0,_0x15d648=_0x12d390['offset'];for(let _0x12553d=0x0;_0x12553d<_0x5a5c65['length'];_0x12553d++)_0x4bf433['push']({'type':'text','data':_0x371102['slice'](_0x4c627e,_0x5a5c65[_0x12553d]),'parent':_0x29a93b,'offset':_0x15d648,'limitId':_0x19d788}),_0x4c627e=_0x5a5c65[_0x12553d],_0x15d648=_0x12d390['offset']+_0x5a5c65[_0x12553d];return _0x4bf433;}_getElementCategory(_0x34d67d){const _0xb42ed3=this['_editor']['model']['schema'];return _0xb42ed3['isLimit'](_0x34d67d)||_0xb42ed3['isContent'](_0x34d67d)||_0xb42ed3['isInline'](_0x34d67d)?'solid':_0xb42ed3['isBlock'](_0x34d67d)?'block':function(_0x446ce3,_0x2e7751){const _0x48b672=_0x446ce3['parent'];if(!_0x48b672||_0x48b672['is']('documentFragment'))return!0x1;if(_0x2e7751['checkChild'](_0x48b672,'$text'))return!0x1;for(const _0x206d12 of _0x446ce3['getChildren']())if(_0x206d12['is']('$text'))return!0x0;return!0x1;}(_0x34d67d,_0xb42ed3)?'solid':'container';}['_diffModelTokens'](_0x27bb48,_0x303699){const _0x2d8944=_0x16903e(_0x27bb48,_0x303699,{'comparator':qt});this['_handleUnclosedBlockOpeningTags'](_0x2d8944);const _0x3789cc=_0x2d8944['flatMap'](_0x32f276=>{const _0x14b262=_0x32f276['added']?'added':_0x32f276['removed']?'removed':'unchanged';return _0x32f276['value']['map'](_0x3f61ba=>({'token':_0x3f61ba,'change':_0x14b262}));});let _0x26788=0x0;for(const _0xaeaccc of _0x3789cc)'added'!=_0xaeaccc['change']&&('unchanged'==_0xaeaccc['change']&&(_0xaeaccc['before']=_0x27bb48[_0x26788]),_0x26788++);return _0x3789cc;}['_handleUnclosedBlockOpeningTags'](_0x5e9972){for(let _0x21b399=0x0;_0x21b399<_0x5e9972['length']-0x1;_0x21b399++)if(_0x5e9972[_0x21b399]['removed']&&_0x5e9972[_0x21b399+0x1]['added']){const _0xabf9e4=this['_findUnclosedBlockOpeningToken'](_0x5e9972[_0x21b399]['value']);if(null!==_0xabf9e4){const _0x4c619d=this['_findUnclosedBlockOpeningToken'](_0x5e9972[_0x21b399+0x1]['value']),_0x15fa76=_0x5e9972[_0x21b399]['value']['splice'](_0xabf9e4),_0x217586=_0x5e9972[_0x21b399+0x1]['value']['splice'](_0x4c619d),_0x4fbebe=[_0x217586['shift']()];_0x15fa76['shift']();const _0x2d9c92={'value':_0x15fa76,'removed':!0x0},_0x166a19={'value':_0x217586,'added':!0x0},_0x191710={'value':_0x4fbebe};_0x5e9972['splice'](_0x21b399+0x2,0x0,_0x191710,_0x2d9c92,_0x166a19);}}}['_findUnclosedBlockOpeningToken'](_0x1fc72d){let _0x57a918=0x0,_0x2d9cba=-0x1;for(let _0x5388c7=0x0;_0x5388c7<_0x1fc72d['length'];_0x5388c7++){const _0x5098e0=_0x1fc72d[_0x5388c7];'element'==_0x5098e0['type']&&'block'==_0x5098e0['category']&&(_0x57a918+=_0x5098e0['isStart']?0x1:-0x1,_0x5098e0['isStart']&&(_0x2d9cba=_0x5388c7));}return 0x0===_0x57a918?null:_0x2d9cba;}_calculateOperationsData(){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4b0411=0x0;_0x4b0411<this['_diffItems']['length'];_0x4b0411++){const _0x227e9b=this['_diffItems'][_0x4b0411]['change'],_0x317185=[];_0x317185['push'](this['_diffItems'][_0x4b0411]);let _0x3ab680=_0x4b0411+0x1;for(;this['_diffItems'][_0x3ab680]&&this['_diffItems'][_0x3ab680]['change']==_0x227e9b;)_0x317185['push'](this['_diffItems'][_0x3ab680]),_0x3ab680++,_0x4b0411++;const _0x43e2f9=_0x317185['map'](_0x331bf3=>_0x331bf3['token']);if('unchanged'==_0x227e9b)_0x317185['map'](_0x31e256=>_0x31e256['before'])['forEach'](_0x35bc96=>this['_traverseOverItem'](_0x35bc96));else{if('removed'==_0x227e9b){if(this['_markDeletions']){const _0x44e48f=this['_path']['slice']();_0x43e2f9['forEach'](_0x3f2603=>this['_traverseOverItem'](_0x3f2603));const _0x30371d=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x44e48f,'end':_0x30371d}});}else this['_handleChanged'](_0x43e2f9,!0x0,this['_path']['slice']());}else{const _0x1ffb4d=_0x43e2f9['filter'](_0x482450=>'element'!=_0x482450['type']||'container'!=_0x482450['category']);this['_handleChanged'](_0x1ffb4d,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2ad0ef=0x0;_0x2ad0ef<this['_diffItems']['length'];_0x2ad0ef++){const _0x4e188e=this['_diffItems'][_0x2ad0ef]['change'],_0x37fb47=[];_0x37fb47['push'](this['_diffItems'][_0x2ad0ef]);let _0x4a1ef7=_0x2ad0ef+0x1;for(;this['_diffItems'][_0x4a1ef7]&&this['_diffItems'][_0x4a1ef7]['change']==_0x4e188e;)_0x37fb47['push'](this['_diffItems'][_0x4a1ef7]),_0x4a1ef7++,_0x2ad0ef++;const _0x46b87b=_0x37fb47['map'](_0x1bffeb=>_0x1bffeb['token']);if('unchanged'==_0x4e188e){const _0x566890=_0x37fb47['map'](_0x260927=>_0x260927['before']);this['_handleUnchanged'](_0x566890,_0x46b87b);}else('added'==_0x4e188e||this['_markDeletions'])&&_0x46b87b['forEach'](_0xf8aa27=>{'element'==_0xf8aa27['type']&&_0xf8aa27['isStart']&&this['_splitPostponedData']['has'](_0xf8aa27['element'])&&this['_handleSplitPostponedData'](_0xf8aa27['element'],this['_path']),this['_traverseOverItem'](_0xf8aa27);});}}_handleSplitPostponedData(_0x3e883d,_0x29ca19){const _0x2efc79=this['_splitPostponedData']['get'](_0x3e883d);for(const _0x1362ca of _0x2efc79)'rename'==_0x1362ca['type']?this['_operationsData']['push']({'type':'rename','path':_0x29ca19['slice'](),'oldName':_0x1362ca['oldValue'],'newName':_0x3e883d['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x29ca19['slice'](),'howMany':0x1,'key':_0x1362ca['key'],'oldValue':_0x1362ca['oldValue'],'newValue':JSON['stringify'](_0x3e883d['getAttribute'](_0x1362ca['key'])??null)});}_calculateMarkersOperationsData(_0x55b8e1,_0x14bded){const _0x44366f={};for(const [_0x4f7f76]of _0x55b8e1)_0x44366f[_0x4f7f76]=null;for(const [_0xb968d7,_0x58ab20]of _0x14bded)_0x44366f[_0xb968d7]=_0x58ab20;const _0x3af0c9=Object['entries'](_0x44366f)['map'](([_0x5aff58,_0x4d6c1a])=>({'type':'marker','name':_0x5aff58,'range':_0x4d6c1a?{'start':_0x4d6c1a['start']['path']['slice'](),'end':_0x4d6c1a['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x3af0c9);}['_handleUnwraps'](){const _0xbc3a=new Map(),_0x1b0582=[],_0x3b586a=[0x0];let _0x151da7=this['_diffItems']['length']+0x1;for(let _0x1a02ad=this['_diffItems']['length']-0x1;_0x1a02ad>=0x0;_0x1a02ad--){const {token:_0x213eed,before:_0x5e2ebe,change:_0x5f5a3a}=this['_diffItems'][_0x1a02ad];if('removed'!=_0x5f5a3a&&(_0x151da7=_0x1a02ad),'element'!=_0x213eed['type']||'container'!=_0x213eed['category']||'added'==_0x5f5a3a)continue;const _0x1bc6d6=_0x5e2ebe?_0x5e2ebe['element']:_0x213eed['element'];if(_0x213eed['isStart']){const _0x38aac6=_0xbc3a['get'](_0x1bc6d6),_0x216331=this['_diffItems'][_0x38aac6];('removed'==_0x5f5a3a||'removed'==_0x216331['change'])&&_0x151da7<_0x38aac6&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1bc6d6['getPath'](),'howMany':_0x1bc6d6['maxOffset']+_0x3b586a[0x0]}),_0x3b586a['shift'](),_0x3b586a[0x0]+=_0x1bc6d6['maxOffset']-0x1,_0x1b0582['push'](_0x1a02ad),_0x1b0582['push'](_0x38aac6));}else _0xbc3a['set'](_0x1bc6d6,_0x1a02ad),_0x3b586a['unshift'](0x0);}_0x1b0582['sort']((_0x2ee7a4,_0x384413)=>_0x384413-_0x2ee7a4),_0x1b0582['forEach'](_0x479c8c=>{const _0x3232f2=this['_diffItems'][_0x479c8c];'removed'==_0x3232f2['change']?this['_diffItems']['splice'](_0x479c8c,0x1):(_0x3232f2['change']='added',delete _0x3232f2['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3d9442=[];for(let _0x5f48de=0x0;_0x5f48de<this['_diffItems']['length'];_0x5f48de++){const {change:_0x1ca5c2,token:_0xfc6416}=this['_diffItems'][_0x5f48de];if('added'==_0x1ca5c2&&'element'==_0xfc6416['type']&&'container'==_0xfc6416['category']){if(_0xfc6416['isStart'])_0x3d9442['push'](this['_path']['slice']());else{if(!_0xfc6416['isStart']){const _0x493aee=_0x3d9442['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x493aee,'end':this['_path']['slice']()},'token':_0xfc6416}),this['_path'][this['_path']['length']-0x1]=_0x493aee[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1ca5c2||this['_markDeletions'])&&this['_traverseOverItem'](_0xfc6416);}}['_handleUnchanged'](_0x4f1b0c,_0x4df5f1){for(let _0x51a87d=0x0;_0x51a87d<_0x4f1b0c['length'];_0x51a87d++){const _0xd1b8f=_0x4f1b0c[_0x51a87d];if('element'==_0xd1b8f['type']&&_0xd1b8f['isStart']){const _0x204b24=_0x4df5f1[_0x51a87d];'block'==_0xd1b8f['category']&&this['_handleElementRename'](_0xd1b8f['element'],_0x204b24['element'],this['_path']),this['_handleElementAttributeChanges'](_0xd1b8f['element'],_0x204b24['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x204b24);}else{if('element'!=_0xd1b8f['type']||_0xd1b8f['isStart']){if('text'==_0xd1b8f['type']){const _0x44767d=this['_path']['slice'](),_0x2fbc28=[],_0x4f3e0d=[];for(;_0x4f1b0c[_0x51a87d]&&'text'==_0x4f1b0c[_0x51a87d]['type'];)_0x2fbc28['push'](_0x4f1b0c[_0x51a87d]),_0x4f3e0d['push'](_0x4df5f1[_0x51a87d]),this['_path'][this['_path']['length']-0x1]+=_0x4f1b0c[_0x51a87d]['data']['length'],_0x51a87d++;_0x51a87d--,this['_handleTextAttributeChanges'](_0x2fbc28,_0x4f3e0d,_0x44767d);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4b3c48,_0x24417c,_0xc1668e){const _0x22bc30=[],_0x138cf8=[],_0x4293d0=_0xc1668e['slice']();let _0x297418=this['_parents']['length']-0x1;for(let _0x4a1c79=0x0;_0x4a1c79<_0x4b3c48['length'];_0x4a1c79++){const _0x15f8bc=_0x4b3c48[_0x4a1c79],_0x288fa1=_0xc1668e['slice']();'element'!=_0x15f8bc['type']||_0x15f8bc['isStart']?'element'==_0x15f8bc['type']&&_0x15f8bc['isStart']?(_0xc1668e['push'](0x0),_0x297418++,_0x138cf8['push']({'before':_0x288fa1,'after':_0xc1668e['slice'](),'index':_0x4a1c79})):_0xc1668e[_0xc1668e['length']-0x1]+=_0x15f8bc['data']['length']:(_0xc1668e['pop'](),_0xc1668e[_0xc1668e['length']-0x1]++,_0x297418--,_0x138cf8['length']?_0x138cf8['pop']():_0x22bc30['push']({'before':_0x288fa1,'after':_0xc1668e['slice'](),'index':_0x4a1c79}));}if(_0x138cf8['length']!==_0x22bc30['length'])throw new _0x1c0dc3('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4b3c48,'isRemove':_0x24417c});const _0x3edf18=[{'after':_0x4293d0['slice'](),'index':-0x1},..._0x22bc30,..._0x138cf8,{'before':_0xc1668e['slice'](),'index':_0x4b3c48['length']}];if(_0x24417c){for(let _0x4fabf1=_0x3edf18['length']-0x1;_0x4fabf1>=0x1;_0x4fabf1--){const _0x396d8b=_0x3edf18[_0x4fabf1-0x1]['after'],_0x3104d4=_0x3edf18[_0x4fabf1]['before'],_0x464ddc=_0x3104d4[_0x3104d4['length']-0x1]-_0x396d8b[_0x396d8b['length']-0x1];_0x464ddc&&(this['_operationsData']['push']({'type':'remove','path':_0x396d8b,'howMany':_0x464ddc}),_0x3104d4[_0x3104d4['length']-0x1]-=_0x464ddc);}for(const {before:_0x588e36}of _0x22bc30)this['_operationsData']['push']({'type':'merge','path':_0x588e36});}else for(let _0x2711e4=0x0;_0x2711e4<_0x3edf18['length']-0x1;_0x2711e4++){const _0x1204de=_0x3edf18[_0x2711e4]['after'],_0x496c8c=_0x3edf18[_0x2711e4+0x1]['before'],_0x3ae18f=_0x3edf18[_0x2711e4]['index']+0x1,_0x4ab524=_0x3edf18[_0x2711e4+0x1]['index'];if(_0x3ae18f!==_0x4ab524&&this['_operationsData']['push']({'type':'insert','path':_0x1204de,'tokens':_0x4b3c48['slice'](_0x3ae18f,_0x4ab524)}),_0x2711e4<_0x22bc30['length']){this['_operationsData']['push']({'type':'split','path':_0x496c8c});const _0x1bc915=_0x4b3c48[_0x138cf8[_0x138cf8['length']-0x1-_0x2711e4]['index']],_0x2ee3e8=this['_parents'][_0x297418]['element'];_0x2ee3e8['name']!=_0x1bc915['element']['name']&&this['_addSplitPostponedData'](_0x1bc915['element'],{'type':'rename','oldValue':_0x2ee3e8['name']});const _0x466afb=this['_getAttributeChanges'](_0x2ee3e8['getAttributes'](),_0x1bc915['element']['getAttributes']());for(const _0x22f4f3 in _0x466afb){const _0x410b30=_0x466afb[_0x22f4f3]['oldValue'];this['_addSplitPostponedData'](_0x1bc915['element'],{'type':'attribute','key':_0x22f4f3,'oldValue':_0x410b30});}}}}_addSplitPostponedData(_0x44b963,_0x3a5dc3){const _0x2904f5=this['_splitPostponedData']['get'](_0x44b963)||[];_0x2904f5['push'](_0x3a5dc3),this['_splitPostponedData']['set'](_0x44b963,_0x2904f5);}_traverseOverItem(_0x1ba742){'element'==_0x1ba742['type']&&_0x1ba742['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1ba742)):'element'!=_0x1ba742['type']||_0x1ba742['isStart']?'text'==_0x1ba742['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1ba742['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}_handleElementRename(_0x7e1815,_0x4e257c,_0x4e054e){_0x7e1815['name']!=_0x4e257c['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4e054e['slice'](),'oldName':_0x7e1815['name'],'newName':_0x4e257c['name']});}_handleElementAttributeChanges(_0x10ca47,_0x4e4e6e,_0x4f86c4){const _0x3ec514=this['_getAttributeChanges'](_0x10ca47['getAttributes'](),_0x4e4e6e['getAttributes']());for(const _0x58cbc9 in _0x3ec514){const {oldValue:_0x59b69d,newValue:_0x2bab33}=_0x3ec514[_0x58cbc9];this['_operationsData']['push']({'type':'attribute','path':_0x4f86c4['slice'](),'howMany':0x1,'key':_0x58cbc9,'oldValue':_0x59b69d,'newValue':_0x2bab33});}}_handleTextAttributeChanges(_0x1ead61,_0x20a5bf,_0x3e1815){const _0x2f9c3a=this['_operationsData'],_0x396132=_0x1ead61[0x0]['parent'],_0x4655e4=_0x1ead61[0x0]['offset'],_0x17bc60=_0x20a5bf[0x0]['parent'],_0x40c57c=_0x20a5bf[0x0]['offset'],_0xc868fc=_0x1ead61['reduce']((_0x3c3fb2,_0x7f46ab)=>_0x3c3fb2+_0x7f46ab['data']['length'],0x0),_0x4ccc4d=this['_getAttrsForOffsets'](_0x396132,_0x4655e4,_0xc868fc),_0x100dc9=this['_getAttrsForOffsets'](_0x17bc60,_0x40c57c,_0xc868fc),_0x26a76a={};for(let _0x2ec129=0x0;_0x2ec129<_0xc868fc;_0x2ec129++){const _0x40e1fd=_0x4ccc4d[_0x4655e4+_0x2ec129],_0xf8fabb=_0x100dc9[_0x40c57c+_0x2ec129],_0x36dd03=this['_getAttributeChanges'](_0x40e1fd,_0xf8fabb);for(const _0x474d80 in _0x26a76a)_0x36dd03[_0x474d80]||_0x493081(_0x474d80);for(const _0x57249c in _0x36dd03){const {oldValue:_0x2983da,newValue:_0x44ad68}=_0x36dd03[_0x57249c],_0x13187d=_0x26a76a[_0x57249c];_0x13187d?_0x13187d['oldValue']==_0x2983da&&_0x13187d['newValue']==_0x44ad68?_0x13187d['length']++:(_0x493081(_0x57249c),_0x26a76a[_0x57249c]={'oldValue':_0x2983da,'newValue':_0x44ad68,'start':_0x2ec129,'length':0x1}):_0x26a76a[_0x57249c]={'oldValue':_0x2983da,'newValue':_0x44ad68,'start':_0x2ec129,'length':0x1};}}for(const _0x23d22b in _0x26a76a)_0x493081(_0x23d22b);function _0x493081(_0x3b5ba8){const _0x31ed31=_0x26a76a[_0x3b5ba8],_0x34867e=_0x3e1815['slice']();_0x34867e[_0x34867e['length']-0x1]+=_0x31ed31['start'],_0x2f9c3a['push']({'type':'attribute','path':_0x34867e,'howMany':_0x31ed31['length'],'key':_0x3b5ba8,'oldValue':_0x31ed31['oldValue'],'newValue':_0x31ed31['newValue']}),delete _0x26a76a[_0x3b5ba8];}}_getAttributeChanges(_0x3e02a5,_0x96933c){const _0x358380={};for(const [_0x35a6f5,_0x218aea]of _0x3e02a5)_0x358380[_0x35a6f5]={'oldValue':JSON['stringify'](_0x218aea),'newValue':'null'};for(const [_0x7d25ef,_0x48f69d]of _0x96933c){const _0x2f412e=JSON['stringify'](_0x48f69d);_0x358380[_0x7d25ef]?_0x358380[_0x7d25ef]['oldValue']==_0x2f412e?delete _0x358380[_0x7d25ef]:_0x358380[_0x7d25ef]['newValue']=_0x2f412e:_0x358380[_0x7d25ef]={'oldValue':'null','newValue':_0x2f412e};}return delete _0x358380[jt],_0x358380;}_getAttrsForOffsets(_0x54ffba,_0x20de1f,_0xd60d78){const _0xe2f1d5=new Array(_0x20de1f+_0xd60d78);let _0x2b0375=_0x54ffba['getChildAtOffset'](_0x20de1f),_0x43fd5e=_0x2b0375['startOffset'];for(;_0x2b0375&&_0x43fd5e<_0x20de1f+_0xd60d78;){const _0x44be61=Array['from'](_0x2b0375['getAttributes']());_0xe2f1d5['fill'](_0x44be61,_0x43fd5e,_0x43fd5e+_0x2b0375['offsetSize']),_0x43fd5e+=_0x2b0375['offsetSize'],_0x2b0375=_0x2b0375['nextSibling'];}return _0xe2f1d5;}_getPositionFromAnchorAndPath(_0x4e10d0,_0x4fd3c6){const _0x44d20f=[..._0x4e10d0['path']['slice'](0x0,-0x1),_0x4e10d0['offset']+_0x4fd3c6[0x0],..._0x4fd3c6['slice'](0x1)];return new _0x2e510f(_0x4e10d0['root'],_0x44d20f);}['_makeModelFromTokens'](_0x306eff){const _0x202806=[];let _0x26cd1e=null;for(const _0x102463 of _0x306eff)if('element'!=_0x102463['type']||_0x102463['isStart']||_0x26cd1e!=_0x102463['element']){if(!_0x26cd1e){if('text'==_0x102463['type']){const _0xccf92a=_0x2e510f['_createAt'](_0x102463['parent'],_0x102463['offset']),_0x2914bf=_0x17b633['_createFromPositionAndShift'](_0xccf92a,_0x102463['data']['length']),_0x37ca4d=Array['from'](_0x2914bf['getItems']())['map'](_0x4808f7=>new _0x489b7a(_0x4808f7['data'],_0x4808f7['getAttributes']()));_0x202806['push'](..._0x37ca4d);}else{_0x26cd1e=_0x102463['element'];const _0x84eab4=_0x102463['element']['_clone'](!0x0);_0x84eab4['_removeAttribute'](jt);for(const _0x534165 of this['_editor']['model']['createRangeIn'](_0x84eab4)['getItems']())_0x534165['is']('element')&&_0x534165['_removeAttribute'](jt);_0x202806['push'](_0x84eab4);}}}else _0x26cd1e=null;return _0x202806;}};function qt(_0x323372,_0x250f52){return _0x323372['type']===_0x250f52['type']&&(_0x323372['limitId']===_0x250f52['limitId']&&('text'==_0x323372['type']?_0x323372['data']==_0x250f52['data']:function(_0x175a6a,_0x4e57d3){if(_0x175a6a['isStart']!=_0x4e57d3['isStart'])return!0x1;if(_0x175a6a['isStart']&&_0x175a6a['elementId']!=_0x4e57d3['elementId'])return!0x1;if(_0x175a6a['category']!=_0x4e57d3['category'])return!0x1;if('block'==_0x175a6a['category'])return!0x0;if('container'==_0x175a6a['category']&&_0x175a6a['elementId']!=_0x4e57d3['elementId'])return!0x1;return _0x175a6a['element']['name']==_0x4e57d3['element']['name'];}(_0x323372,_0x250f52)));}function Zt(_0x55525c){return Tt({'name':_0x55525c['name'],...Object['fromEntries'](_0x55525c['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':_0x14f9ea=>0x1!=_0x14f9ea}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d720c=>{const {af:{dictionary:_0x5cf9d7,getPluralForm:_0x475f32}}={'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':_0x539b75=>0x1!=_0x539b75}};_0x1d720c['af']||={'dictionary':{},'getPluralForm':null},_0x1d720c['af']['dictionary']=Object['assign'](_0x1d720c['af']['dictionary'],_0x5cf9d7),_0x1d720c['af']['getPluralForm']=_0x475f32;})(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':_0x493279=>0x0==_0x493279?0x0:0x1==_0x493279?0x1:0x2==_0x493279?0x2:_0x493279%0x64>=0x3&&_0x493279%0x64<=0xa?0x3:_0x493279%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b6cd2=>{const {ar:{dictionary:_0x53cc2f,getPluralForm:_0x44e859}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x21b41a=>0x0==_0x21b41a?0x0:0x1==_0x21b41a?0x1:0x2==_0x21b41a?0x2:_0x21b41a%0x64>=0x3&&_0x21b41a%0x64<=0xa?0x3:_0x21b41a%0x64>=0xb?0x4:0x5}};_0x3b6cd2['ar']||={'dictionary':{},'getPluralForm':null},_0x3b6cd2['ar']['dictionary']=Object['assign'](_0x3b6cd2['ar']['dictionary'],_0x53cc2f),_0x3b6cd2['ar']['getPluralForm']=_0x44e859;})(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':_0x3704c5=>0x1!=_0x3704c5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x587345=>{const {ast:{dictionary:_0x5cffb5,getPluralForm:_0x5d4ca8}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x36f974=>0x1!=_0x36f974}};_0x587345['ast']||={'dictionary':{},'getPluralForm':null},_0x587345['ast']['dictionary']=Object['assign'](_0x587345['ast']['dictionary'],_0x5cffb5),_0x587345['ast']['getPluralForm']=_0x5d4ca8;})(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':_0x5e1124=>0x1!=_0x5e1124}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23daa8=>{const {az:{dictionary:_0x1aa104,getPluralForm:_0xd32a44}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x5ece44=>0x1!=_0x5ece44}};_0x23daa8['az']||={'dictionary':{},'getPluralForm':null},_0x23daa8['az']['dictionary']=Object['assign'](_0x23daa8['az']['dictionary'],_0x1aa104),_0x23daa8['az']['getPluralForm']=_0xd32a44;})(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':_0x48053a=>_0x48053a%0xa==0x1&&_0x48053a%0x64!=0xb?0x0:_0x48053a%0xa>=0x2&&_0x48053a%0xa<=0x4&&(_0x48053a%0x64<0xa||_0x48053a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b4c07=>{const {be:{dictionary:_0x4c3dbe,getPluralForm:_0xee4f5d}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x31bef7=>_0x31bef7%0xa==0x1&&_0x31bef7%0x64!=0xb?0x0:_0x31bef7%0xa>=0x2&&_0x31bef7%0xa<=0x4&&(_0x31bef7%0x64<0xa||_0x31bef7%0x64>=0x14)?0x1:0x2}};_0x1b4c07['be']||={'dictionary':{},'getPluralForm':null},_0x1b4c07['be']['dictionary']=Object['assign'](_0x1b4c07['be']['dictionary'],_0x4c3dbe),_0x1b4c07['be']['getPluralForm']=_0xee4f5d;})(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':_0x3c58c3=>0x1!=_0x3c58c3}};
|