@ckeditor/ckeditor5-collaboration-core 48.3.0-alpha.2 → 48.3.0-alpha.3
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 _0x1f0494,Editor as _0x5222ea,Plugin as _0x5218dd}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x6ec664,Collection as _0x14aa47,FocusTracker as _0x112d11,KeystrokeHandler as _0x4a8cb3,first as _0x949fd,toArray as _0x1705b9,uid as _0x3cb7de}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4464e1,DropdownButtonView as _0x45d78e,FocusCycler as _0x4de57a,IconView as _0x34d94c,View as _0x1133e1,isViewWithFocusCycler as _0xef87ac}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x3bfd0e,IconCheck as _0x2b9964,IconNotification as _0x3a7284}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x4c1f49,toWidget as _0x51ec24}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x3e0416}from'luxon';import{AttributeOperation as _0x8bba55,InsertOperation as _0x5d4db1,MarkerOperation as _0x3c2bce,MergeOperation as _0x56ddbb,ModelPosition as _0x1ac02b,ModelRange as _0x230735,ModelText as _0x3e563e,ModelTreeWalker as _0x66e1b3,MoveOperation as _0x4be5cb,RenameOperation as _0x41aa36,SplitOperation as _0x1ec4e8}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x34fa67}from'diff';var D=class extends _0x1f0494{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x50e021,_0x30a4b2){let _0x29ee56;if(_0x30a4b2||(_0x30a4b2=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x30a4b2?_0x29ee56=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x29ee56=this['context']['editors']['find'](_0x1a1026=>_0x1a1026['config']['get']('collaboration.channelId')==_0x30a4b2)),!_0x29ee56)throw new _0x6ec664('permissions-set-permissions-invalid-channel-id',null);const _0x391d5d=_0x29ee56['plugins'],_0x2209c3=_0x391d5d['has']('CommentsRepository')?_0x391d5d['get']('CommentsRepository'):void 0x0,_0x2c6212=_0x391d5d['has']('CommentsOnly')&&_0x391d5d['get']('CommentsOnly'),_0x494104=_0x50e021['includes']('document:write'),_0x42cd48=_0x50e021['includes']('comment:modify_all'),_0x5ea0c8=_0x50e021['includes']('comment:admin'),_0x5bedf3=_0x50e021['includes']('comment:write'),_0x2f8ba1=_0x5bedf3||_0x5ea0c8,_0x4f07cd=_0x2f8ba1||_0x42cd48,_0x2c920c=_0x494104||_0x2f8ba1;if(_0x2c6212&&(_0x2c6212['isEnabled']=!_0x494104&&_0x4f07cd),_0x29ee56 instanceof _0x5222ea&&(_0x494104||_0x4f07cd&&_0x2209c3?_0x29ee56['disableReadOnlyMode']('no-permissions'):_0x29ee56['enableReadOnlyMode']('no-permissions')),_0x2209c3){_0x2209c3['setPermissions']({'admin':_0x5ea0c8,'modifyAll':_0x42cd48,'write':_0x5bedf3,'resolve':_0x2c920c},_0x30a4b2);const _0x1e5843=_0x29ee56 instanceof _0x5222ea&&_0x29ee56['commands']['get']('addCommentThread');_0x1e5843&&(_0x2f8ba1?_0x1e5843['clearForceDisabled']('noPermissions'):_0x1e5843['forceDisabled']('noPermissions'));}}};function $(_0x40f9d7,_0xfcbb1){const t=_0x40f9d7['t'];switch(_0xfcbb1){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 O=class extends _0x1f0494{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[D];}constructor(_0x154b9c){super(_0x154b9c),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x14aa47(),this['_locale']=_0x154b9c['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:_0x204b17,name:_0x1a5022,..._0x20ca7f}){if(!_0x204b17||'string'!=typeof _0x204b17)throw new _0x6ec664('users-add-invalid-id');if(this['users']['has'](_0x204b17))throw new _0x6ec664('users-add-duplicated-id',null,{'id':_0x204b17});const _0x255281=this['context']['config']['get']('users.getInitialsCallback'),_0x335a2e={..._0x20ca7f,'id':_0x204b17,'name':R(this['_locale'],_0x1a5022),'color':this['_getNextColor']()};_0x335a2e['name']=R(this['_locale'],_0x335a2e['name']);const _0x18ad66=new L(_0x335a2e,_0x255281);return this['users']['add'](_0x18ad66),_0x18ad66;}['getUser'](_0x3a6798){return this['users']['get'](_0x3a6798);}['useAnonymousUser'](){const _0x12ff70=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x12ff70);}['defineMe'](_0x36f05e){if(this['_myId'])throw new _0x6ec664('users-me-already-defined',null);const _0x4199e7=this['getUser'](_0x36f05e);if(!_0x4199e7)throw new _0x6ec664('users-me-missing-user',null);this['_myId']=_0x36f05e,_0x4199e7['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x509e39=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x509e39&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x43c598=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x43c598,'name':$(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1bea89,_0xc932fc){this['id']=_0x1bea89['id'],this['color']=_0x1bea89['color'],this['name']=_0x1bea89['name'],this['initials']=_0xc932fc?_0xc932fc(this['name']):this['_computeInitials'](),this['avatar']=_0x1bea89['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x252509=this['name']['split']('\x20')['filter'](_0x478c44=>/^[\p{Letter}]/u['test'](_0x478c44));return 0x1===_0x252509['length']?this['_getInitial'](_0x252509[0x0]):0x0===_0x252509['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x252509[0x0])+this['_getInitial'](_0x252509[_0x252509['length']-0x1]);}['_getInitial'](_0x591e0e){return String['fromCodePoint'](_0x591e0e['codePointAt'](0x0))['toUpperCase']();}};function R(_0x12a7a0,_0x30cd17=''){return''==(_0x30cd17=_0x30cd17['trim']())?$(_0x12a7a0,'Anonymous'):_0x30cd17;}var F=class{['_id'];constructor(_0x46e8e9){this['_id']=_0x46e8e9;}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 _0x1133e1{['name'];['notificationView'];constructor(_0x1a818a,_0x28a24f,_0xc3ac10,_0x54f872){super(_0x1a818a),this['name']=_0x28a24f['name'],this['notificationView']=null;const _0x5bc354=['ck','ck-user'],_0x326158=['ck','ck-user__img'];_0x28a24f['isAnonymous']&&_0x326158['push']('ck-user__anonymous'),!_0x28a24f['isAnonymous']&&_0x28a24f['isMe']&&_0x5bc354['push']('ck-user_me'),(_0x28a24f['avatar']||_0x54f872)&&_0x326158['push']('ck-user__avatar');let _0x2da9d1=null;if(_0x54f872&&(_0x2da9d1=new _0x34d94c(),_0x2da9d1['content']=_0x54f872,_0x2da9d1['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0xc3ac10){const _0x88ed91=new _0x34d94c();_0x88ed91['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x88ed91['content']=_0x3a7284,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0xc3ac10},'children':[_0x88ed91]};}const _0x4092c9=[{'tag':'div','attributes':{'class':_0x326158,'style':{'background-image':_0x28a24f['avatar']&&!_0x54f872?'url(\x27'+_0x28a24f['avatar']+'\x27)':''}},'children':_0x2da9d1?[_0x2da9d1]:[]},{'tag':'div','attributes':{'class':_0x28a24f['avatar']||_0x54f872?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x28a24f['name']},'children':[{'text':_0x28a24f['initials']}]}];this['notificationView']&&_0x4092c9['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5bc354,'data-user-id':_0x28a24f['id']},'children':_0x4092c9});}},U=class extends _0x1133e1{['children'];['iconView'];['labelView'];constructor(_0xedfbc4){super(_0xedfbc4);const _0x1f627b=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',_0x1f627b['to']('class'),_0x1f627b['to']('iconPosition',_0x16d896=>'right'===_0x16d896?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x1f627b['to']('tooltip'),'data-cke-tooltip-position':_0x1f627b['to']('tooltipPosition'),'data-cke-tooltip-class':_0x1f627b['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x232bf4,_0x1cb5e5,_0x2c4bab,_0x507c54)=>{_0x2c4bab&&!_0x507c54?this['children']['add'](this['iconView'],0x0):!_0x2c4bab&&_0x507c54&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x5519bb=new _0x34d94c();return _0x5519bb['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5519bb['bind']('content')['to'](this,'icon'),_0x5519bb;}['_createLabelView'](){const _0xd66204=new _0x1133e1(this['locale']),_0xade02c=this['bindTemplate'];return _0xd66204['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0xade02c['to']('label')}]}),_0xd66204;}},z=class extends _0x1133e1{['id'];constructor(_0x3d4e52,_0x147c23){super(_0x3d4e52),this['id']='ck-aria-description-'+_0x3cb7de(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x147c23}]});}},W=class extends _0x4464e1{['render'](){super['render'](),j(this);}},Y=class extends _0x45d78e{['render'](){super['render'](),j(this);}};function j(_0xc06c74){_0xc06c74['listenTo'](_0xc06c74['element'],'mousedown',(_0x1828e1,_0x265b42)=>{_0x265b42['stopPropagation'](),_0x265b42['preventDefault']();}),_0xc06c74['listenTo'](_0xc06c74['element'],'mouseup',()=>{_0xc06c74['element']['focus']();});}function J(_0x47a565){const _0x33a3cc=_0x47a565['split'](':');return{'group':_0x33a3cc[0x0],'type':_0x33a3cc[0x1],'subType':_0x33a3cc['length']>=0x5?_0x33a3cc[0x2]:null,'id':_0x33a3cc['length']<0x5?_0x33a3cc[0x2]:_0x33a3cc[0x3],'authorId':_0x33a3cc['length']<0x5?_0x33a3cc[0x3]:_0x33a3cc[0x4],'markerCount':0x6==_0x33a3cc['length']?_0x33a3cc[0x5]:null};}function G(_0x337839,_0x548749){const _0x26fc95=_0x337839['end']['nodeBefore'];if(_0x26fc95&&_0x26fc95['is']('element')&&_0x548749['schema']['isBlock'](_0x26fc95)&&!_0x548749['schema']['isObject'](_0x26fc95)){const _0x3e9087=_0x548749['createPositionAt'](_0x26fc95,'end');return _0x548749['createRange'](_0x337839['start'],_0x3e9087);}return _0x337839;}var K=class extends _0x5218dd{['afterInit'](){const _0x5294aa=this['editor'];_0x5294aa['plugins']['has']('AlignmentEditing')&&_0x5294aa['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x5218dd{['afterInit'](){const _0x27a8d6=this['editor'],_0x38bb9e=_0x27a8d6['plugins']['get']('SuggestionsConversion');for(const _0x2aeb0e of q){if(!_0x27a8d6['plugins']['has'](_0x2aeb0e))continue;const _0x31908b=_0x2aeb0e['slice'](0x0,-0x7)['toLowerCase']();_0x38bb9e['registerInlineAttribute'](_0x31908b);}}},Q=class extends _0x5218dd{['afterInit'](){const _0xf7358a=this['editor'],_0x3de380=_0xf7358a['plugins']['get']('SuggestionsConversion');_0xf7358a['plugins']['has']('BookmarkEditing')&&_0x3de380['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x5218dd{['afterInit'](){const _0x43e318=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x237bbf,commandName:_0x42b786}of X)this['editor']['plugins']['has'](_0x237bbf)&&_0x43e318['registerInlineAttribute'](_0x42b786);}},et=class extends _0x5218dd{['afterInit'](){const {editor:_0x29dc19}=this;if(!_0x29dc19['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x1270b7=_0x29dc19['plugins']['get']('SuggestionsConversion');_0x1270b7['registerBlockAttribute']('footnotesListStyle'),_0x1270b7['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x5218dd{['afterInit'](){const _0x5084a6=this['editor'];if(!_0x5084a6['plugins']['has']('GeneralHtmlSupport')||!_0x5084a6['plugins']['has']('DataSchema'))return;const _0x329c6a=_0x5084a6['plugins']['get']('SuggestionsConversion'),_0x3e459f=_0x5084a6['plugins']['get']('GeneralHtmlSupport'),_0x4888fc=_0x5084a6['plugins']['get']('DataSchema');for(const _0x1946fd of _0x4888fc['getDefinitionsForView'](/.*/,!0x1)){const _0x3c4237=_0x3e459f['getGhsAttributeNameForElement'](_0x1946fd['view']);!_0x1946fd['isInline']||_0x1946fd['isObject']||'appliesToBlock'in _0x1946fd&&_0x1946fd['appliesToBlock']?_0x329c6a['registerBlockAttribute'](_0x3c4237):_0x329c6a['registerInlineAttribute'](_0x3c4237);}}},it=class extends _0x5218dd{['afterInit'](){const _0x590e4c=this['editor'];_0x590e4c['plugins']['has']('HighlightEditing')&&_0x590e4c['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x5218dd{['afterInit'](){const _0x5a69af=this['editor'];_0x5a69af['plugins']['has']('HtmlEmbed')&&_0x5a69af['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x5218dd{['afterInit'](){const _0x245771=this['editor'];if(!_0x245771['plugins']['has']('ImageEditing'))return;const _0x5eb0ba=_0x245771['plugins']['get']('SuggestionsConversion');_0x5eb0ba['registerBlockAttribute']('src'),_0x245771['plugins']['has']('ImageResize')&&_0x5eb0ba['registerBlockAttribute']('resizedWidth'),_0x245771['plugins']['has']('ImageTextAlternativeEditing')&&_0x5eb0ba['registerBlockAttribute']('alt'),_0x245771['plugins']['has']('PictureEditing')&&_0x5eb0ba['registerBlockAttribute']('sources'),_0x245771['plugins']['has']('ImageSizeAttributes')&&(_0x5eb0ba['registerBlockAttribute']('width'),_0x5eb0ba['registerBlockAttribute']('height'));}},rt=class extends _0x5218dd{['afterInit'](){const _0x568449=this['editor'],_0x17761b=_0x568449['plugins']['get']('SuggestionsConversion');_0x568449['plugins']['has']('IndentBlock')&&(_0x17761b['registerBlockAttribute']('blockIndent'),_0x568449['plugins']['has']('ListEditing')&&(_0x17761b['registerBlockAttribute']('blockIndentList'),_0x17761b['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x5218dd{['afterInit'](){const _0x412070=this['editor'];_0x412070['plugins']['has']('LineHeight')&&_0x412070['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x5218dd{['afterInit'](){const _0x596644=this['editor'];if(!_0x596644['plugins']['has']('LinkEditing'))return;const _0x2e9840=_0x596644['plugins']['get']('SuggestionsConversion'),_0xbd9ad5=_0x596644['commands']['get']('link');_0x2e9840['registerInlineAttribute']('linkHref');for(const _0x5a4da7 of _0xbd9ad5['manualDecorators'])_0x2e9840['registerInlineAttribute'](_0x5a4da7['id']);}},lt=class extends _0x5218dd{['afterInit'](){const _0x5a4c82=this['editor'];if(!_0x5a4c82['plugins']['has']('ListEditing'))return;const _0x124ae5=_0x5a4c82['plugins']['get']('SuggestionsConversion'),_0xf7736b=_0x5a4c82['plugins']['has']('TodoListEditing');_0x124ae5['registerBlockAttribute']('listItemId'),_0x124ae5['registerBlockAttribute']('listType'),_0x124ae5['registerBlockAttribute']('listIndent'),_0xf7736b&&_0x124ae5['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x5218dd{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1a2568=this['editor']['config']['get']('list.properties'),_0x144baf=this['editor']['plugins']['get']('SuggestionsConversion');_0x1a2568['styles']&&_0x144baf['registerBlockAttribute']('listStyle'),_0x1a2568['reversed']&&_0x144baf['registerBlockAttribute']('listReversed'),_0x1a2568['startIndex']&&_0x144baf['registerBlockAttribute']('listStart');}},ut=class extends _0x5218dd{['afterInit'](){const _0x27735f=this['editor'],_0x59e47c=_0x27735f['plugins']['get']('SuggestionsConversion');_0x27735f['plugins']['has']('MultiLevelList')&&_0x59e47c['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x5218dd{['afterInit'](){const _0x195e5c=this['editor'];if(!_0x195e5c['plugins']['has']('TableEditing'))return;const _0x6e4daf=_0x195e5c['plugins']['get']('SuggestionsConversion');_0x6e4daf['registerBlockAttribute']('headingRows'),_0x6e4daf['registerBlockAttribute']('headingColumns');}},gt=class extends _0x5218dd{['afterInit'](){const {plugins:_0x3defd1}=this['editor'];if(!_0x3defd1['has']('TablePropertiesEditing'))return;const _0x2847a8=_0x3defd1['get']('SuggestionsConversion');for(const _0x538bad of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x2847a8['registerBlockAttribute'](_0x538bad);}},ft=class extends _0x5218dd{['afterInit'](){const _0xe51d38=this['editor'],_0x5e9ac9=_0xe51d38['plugins']['get']('SuggestionsConversion');_0xe51d38['plugins']['has']('TableLayout')&&_0x5e9ac9['registerBlockAttribute']('tableType');}},mt=class extends _0x5218dd{['afterInit'](){const _0x427f5d=this['editor'],_0x512b75=this['editor']['plugins']['get']('SuggestionsConversion');_0x427f5d['plugins']['has']('Uploadcare')&&_0x427f5d['plugins']['has']('UploadcareImageEdit')&&_0x512b75['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x5218dd{['afterInit'](){const _0x3cc199=this['editor'];if(!_0x3cc199['plugins']['has']('ShiftEnter'))return;const _0x673392=_0x3cc199['plugins']['get']('SuggestionsConversion'),_0x51b3b5=(_0x57f8cf,_0x4359b8,_0x29b475,_0x162c80)=>{if(_0x162c80&&!_0x29b475['options']['showSuggestionHighlights'])return;if(!_0x29b475['consumable']['test'](_0x4359b8['markerRange'],_0x57f8cf['name']))return;const _0x63b274=_0x3cc199['model'];for(const _0x5f1d54 of _0x4359b8['markerRange']['getItems']()){if(!_0x5f1d54['is']('element','softBreak'))continue;const _0x32f45f='deletion'==_0x4359b8['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x2bef2b,authorId:_0x26192d}=J(_0x4359b8['markerName']),_0x5b126a=_0x29b475['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x32f45f,'data-suggestion':_0x2bef2b,'data-author-id':_0x26192d}),_0xc867ec=_0x29b475['mapper']['toViewPosition'](_0x63b274['createPositionBefore'](_0x5f1d54));!_0x162c80&&_0x673392['_activeMarkers']['includes'](_0x4359b8['markerName'])&&_0x29b475['writer']['addClass']('ck-suggestion-marker--active',_0x5b126a),_0x29b475['writer']['insert'](_0xc867ec,_0x5b126a),_0x29b475['mapper']['bindElementToMarker'](_0x5b126a,_0x4359b8['markerName']);}};_0x3cc199['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5eb551,_0x9bd560,_0x549849)=>{_0x51b3b5(_0x5eb551,_0x9bd560,_0x549849,!0x1);},{'priority':'high'}),_0x3cc199['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1f2378,_0x177584,_0x3298a2)=>{_0x51b3b5(_0x1f2378,_0x177584,_0x3298a2,!0x1);},{'priority':'high'}),_0x3cc199['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1b4d18,_0x407e92,_0x4d0c62)=>{_0x51b3b5(_0x1b4d18,_0x407e92,_0x4d0c62,!0x0);},{'priority':'high'}),_0x3cc199['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x326d98,_0x1885d1,_0x21a949)=>{_0x51b3b5(_0x326d98,_0x1885d1,_0x21a949,!0x0);},{'priority':'high'});}},kt=class extends _0x5218dd{['afterInit'](){const _0x4db541=this['editor'];if(!_0x4db541['plugins']['has']('MediaEmbedEditing'))return;const _0x1245a7=_0x4db541['plugins']['get']('SuggestionsConversion');_0x4db541['plugins']['has']('MediaEmbedResizeEditing')&&_0x1245a7['registerBlockAttribute']('resizedWidth'),_0x4db541['plugins']['has']('MediaEmbedStyleEditing')&&_0x1245a7['registerBlockAttribute']('mediaStyle'),_0x4db541['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x2bf920,{writer:_0x5d6c7e,options:_0x5d5c35})=>{if(_0x5d5c35['showSuggestionHighlights'])return _0x5d6c7e['createEmptyElement']('div');},'converterPriority':'high'}),_0x4db541['data']['downcastDispatcher']['on']('attribute:url:media',(_0x24823b,_0x2c52ed,_0x37f82c)=>{_0x37f82c['options']['showSuggestionHighlights']&&_0x24823b['stop']();},{'priority':'high'});}},yt=class extends _0x5218dd{['afterInit'](){const _0x2a545b=this['editor'];if(!_0x2a545b['plugins']['has']('Table'))return;_0x2a545b['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3dce80,_0x2f5f7b,_0x4d4328)=>{((_0x431ae3,_0xac05f5,_0x3d424e)=>{if(!_0x3d424e['options']['showSuggestionHighlights'])return;const _0x3eb6e8=_0xac05f5['item'];if(!_0x3eb6e8||!_0x3eb6e8['is']('element','tableCell'))return;const _0x55c5d0=_0x3d424e['mapper']['toViewElement'](_0x3eb6e8);if(_0x55c5d0){const {id:_0x335441,authorId:_0x2e462a}=J(_0xac05f5['markerName']);_0x4c1f49(_0x55c5d0,_0x3d424e['writer'],(_0x2873fd,_0x170009,_0x211d7f)=>{_0x211d7f['addClass'](_0x1705b9(_0x170009['classes']),_0x2873fd),_0x211d7f['setAttribute']('data-suggestion',_0x335441,_0x2873fd),_0x211d7f['setAttribute']('data-author-id',_0x2e462a,_0x2873fd);});}})(0x0,_0x2f5f7b,_0x4d4328);},{'priority':'highest'});}},bt=class extends _0x5218dd{['afterInit'](){const _0x419b51=this['editor'];_0x419b51['plugins']['has']('HorizontalLineEditing')&&_0x419b51['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x297347,{writer:_0x461548,options:_0x21f384})=>{if(!_0x21f384['showSuggestionHighlights'])return null;const _0x3fd1a4=_0x461548['createContainerElement']('div'),_0x227d4b=_0x461548['createEmptyElement']('hr');return _0x461548['addClass']('ck-horizontal-line',_0x3fd1a4),_0x461548['insert'](_0x461548['createPositionAt'](_0x3fd1a4,0x0),_0x227d4b),_0x3fd1a4;},'converterPriority':'high'});}},wt=class extends _0x5218dd{['afterInit'](){const {plugins:_0x2c48b5,model:_0x54f5ac}=this['editor'];if(!_0x2c48b5['has']('TableCellPropertiesEditing'))return;const _0x57feca=_0x2c48b5['get']('SuggestionsConversion');for(const _0x28b1d5 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x57feca['registerBlockAttribute'](_0x28b1d5);_0x54f5ac['schema']['checkAttribute']('tableCell','tableCellType')&&_0x57feca['registerBlockAttribute']('tableCellType');}},vt=class extends _0x5218dd{['afterInit'](){const _0x29991c=this['editor'];_0x29991c['plugins']['has']('TableEditing')&&_0x29991c['config']['get']('table.enableFooters')&&_0x29991c['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x5218dd{['_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 _0x45623d=this['editor'],_0x443ed0=(_0x613bc0,_0x3fc599,_0x38a857)=>{const {id:_0x2be1ca,authorId:_0x580bfc,type:_0x440182,subType:_0x1d4406}=J(_0x613bc0['markerName']),_0x9e59ec=['ck-suggestion-marker',this['_getClassName'](_0x440182,_0x1d4406)];let _0x3fd90e=0xbb8;return _0x38a857||this['_activeMarkers']['includes'](_0x613bc0['markerName'])&&(_0x9e59ec['push']('ck-suggestion-marker--active'),_0x3fd90e=0xbc2),'deletion'==_0x440182&&(_0x3fd90e+=0x5),{'classes':_0x9e59ec,'attributes':{'data-suggestion':_0x2be1ca,'data-author-id':_0x580bfc},'priority':_0x3fd90e};};_0x45623d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x18ecba,_0x1068eb)=>_0x443ed0(_0x18ecba,0x0,!0x1)}),_0x45623d['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1d5eaf,_0x5d4a9d)=>_0x443ed0(_0x1d5eaf,0x0,!0x0)}),_0x45623d['conversion']['for']('dataDowncast')['add'](_0x16db59=>{_0x16db59['on']('addMarker:suggestion',(_0x590a2b,_0x264ecf,_0x10487f)=>{if(!_0x10487f['options']['showSuggestionHighlights'])return;const _0x4663a0=_0x264ecf['item'];if(!_0x4663a0)return;const _0x3257ad=_0x10487f['mapper']['toViewElement'](_0x4663a0);_0x45623d['model']['schema']['isObject'](_0x4663a0)&&_0x3257ad&&!_0x3257ad['getCustomProperty']('widget')&&_0x3257ad['is']('containerElement')&&_0x51ec24(_0x3257ad,_0x10487f['writer']);},{'priority':'high'});});const _0x5bc377=(_0x41096e,_0x2db1c4,_0x31a198,_0x40a81a,_0x3043db)=>{if(_0x40a81a&&!_0x31a198['options']['showSuggestionHighlights'])return;if(!_0x2db1c4['item'])return;const {id:_0x3bdbe6,authorId:_0x599cbf,subType:_0x4e375f}=J(_0x2db1c4['markerName']);if(_0x3043db){const _0x3424a5=_0x4e375f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3424a5))return;}if(_0x2db1c4['item']['is']('selection'))return void _0x31a198['consumable']['consume'](_0x2db1c4['item'],_0x41096e['name']);const _0x250295=_0x31a198['mapper']['toViewElement'](_0x2db1c4['item']);if(_0x2db1c4['item']['is']('element')&&_0x45623d['model']['schema']['isBlock'](_0x2db1c4['item'])&&!_0x250295['getCustomProperty']('addHighlight')){_0x31a198['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x250295),_0x31a198['writer']['setAttribute']('data-suggestion',_0x3bdbe6,_0x250295),_0x31a198['writer']['setAttribute']('data-author-id',_0x599cbf,_0x250295),_0x31a198['mapper']['bindElementToMarker'](_0x250295,_0x2db1c4['markerName']),_0x40a81a||(this['_activeMarkers']['includes'](_0x2db1c4['markerName'])?_0x31a198['writer']['addClass']('ck-suggestion-marker--active',_0x250295):_0x31a198['writer']['removeClass']('ck-suggestion-marker--active',_0x250295));for(const _0x113855 of _0x45623d['model']['createRangeIn'](_0x2db1c4['item'])['getItems']())_0x31a198['consumable']['consume'](_0x113855,_0x41096e['name']);_0x31a198['consumable']['consume'](_0x2db1c4['item'],_0x41096e['name']);}},_0x209e34=(_0x1a154d,_0x5ef990,_0x571e4b,_0x112058)=>{const _0x2c8b5f=_0x571e4b['mapper']['markerNameToElements'](_0x5ef990['markerName']);if(_0x2c8b5f){if(_0x112058){const {subType:_0x4b2965}=J(_0x5ef990['markerName']),_0x2ac1b9=_0x4b2965['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2ac1b9))return;}for(const _0x365d31 of _0x2c8b5f)_0x365d31['getCustomProperty']('addHighlight')||(_0x571e4b['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x365d31),_0x571e4b['writer']['removeAttribute']('data-suggestion',_0x365d31),_0x571e4b['writer']['removeAttribute']('data-author-id',_0x365d31),_0x571e4b['mapper']['unbindElementFromMarkerName'](_0x365d31,_0x5ef990['markerName']));}};_0x45623d['conversion']['for']('editingDowncast')['add'](_0x209498=>{_0x209498['on']('addMarker:suggestion:formatBlock',(_0x4c171e,_0x284fcf,_0x1774ec)=>{_0x5bc377(_0x4c171e,_0x284fcf,_0x1774ec,!0x1,!0x1);},{'priority':'high'});}),_0x45623d['conversion']['for']('editingDowncast')['add'](_0x2c0977=>{_0x2c0977['on']('addMarker:suggestion:attribute',(_0x11bdc1,_0x2f3504,_0x13a2bc)=>{_0x5bc377(_0x11bdc1,_0x2f3504,_0x13a2bc,!0x1,!0x0);},{'priority':'high'});}),_0x45623d['conversion']['for']('editingDowncast')['add'](_0xc4340=>{_0xc4340['on']('removeMarker:suggestion:formatBlock',(_0x364379,_0x2f4b24,_0x54ba82)=>{_0x209e34(0x0,_0x2f4b24,_0x54ba82,!0x1);},{'priority':'high'});}),_0x45623d['conversion']['for']('editingDowncast')['add'](_0x71138b=>{_0x71138b['on']('removeMarker:suggestion:attribute',(_0x1f6b13,_0xea63d9,_0x245df7)=>{_0x209e34(0x0,_0xea63d9,_0x245df7,!0x0);},{'priority':'high'});}),_0x45623d['conversion']['for']('dataDowncast')['add'](_0x6ad6ac=>{_0x6ad6ac['on']('addMarker:suggestion:formatBlock',(_0x4d5164,_0x5ab310,_0xfd3fc5)=>{_0x5bc377(_0x4d5164,_0x5ab310,_0xfd3fc5,!0x0,!0x1);},{'priority':'highest'});}),_0x45623d['conversion']['for']('dataDowncast')['add'](_0x109cb2=>{_0x109cb2['on']('addMarker:suggestion:attribute',(_0x243400,_0x1349a8,_0x3af8f7)=>{_0x5bc377(_0x243400,_0x1349a8,_0x3af8f7,!0x0,!0x0);},{'priority':'highest'});}),_0x45623d['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3ff5a3,_0x361fe0)=>_0x361fe0['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x3ff5a3['substr'](0xb)}});const _0x1ca786=(_0x1e29d7,_0xdf0049,_0x3e9495,_0x584d0f,_0x41a538)=>{if(_0x584d0f&&!_0x3e9495['options']['showSuggestionHighlights'])return;if(!_0x3e9495['consumable']['test'](_0xdf0049['markerRange'],_0x1e29d7['name']))return;const _0x328d08=this['_activeMarkers'],_0x650921=_0xdf0049['markerRange']['getWalker'](),_0x9c49c4=_0xdf0049['markerRange']['start'],_0x2c4446=_0x45623d['model']['schema'];let _0x7aa108=null,_0x50c027=null,_0x4b54f3=!0x1,_0x39fa2d=!0x1;for(const _0x52fa22 of _0x650921){const _0x4b45f0=_0x52fa22['item'];_0x4b54f3=_0x4b54f3||_0x2c4446['isContent'](_0x4b45f0);const _0x573ec2=_0x3e9495['mapper']['toViewElement'](_0x4b45f0);if(_0x573ec2&&_0x573ec2['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x52fa22['type']&&(_0x2c4446['isBlock'](_0x4b45f0)&&!_0x2c4446['isLimit'](_0x4b45f0)&&(_0x4b45f0['nextSibling']||_0x9c49c4['isAtEnd']?_0x7aa108&&_0x7aa108['parent']==_0x4b45f0||(_0x7aa108=_0x4b45f0,_0x206e53(_0x52fa22['previousPosition']),_0x39fa2d=!0x0):_0x50c027=_0x50c027||_0x52fa22['previousPosition']));}function _0x206e53(_0x518a6e){const {id:_0x5dc19b,authorId:_0x42fe5e}=J(_0xdf0049['markerName']),_0x29383b=_0x3e9495['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x41a538,'data-suggestion':_0x5dc19b,'data-author-id':_0x42fe5e}),_0x1b5ed2=_0x3e9495['mapper']['toViewPosition'](_0x518a6e);!_0x584d0f&&_0x328d08['includes'](_0xdf0049['markerName'])&&_0x3e9495['writer']['addClass']('ck-suggestion-marker--active',_0x29383b),_0x3e9495['writer']['insert'](_0x1b5ed2,_0x29383b),_0x3e9495['mapper']['bindElementToMarker'](_0x29383b,_0xdf0049['markerName']);}_0x4b54f3||_0x39fa2d||!_0x50c027||_0x206e53(_0x50c027);};_0x45623d['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5e1eb6,_0x4f9e05,_0x4e026b)=>{_0x1ca786(_0x5e1eb6,_0x4f9e05,_0x4e026b,!0x1,'merge');},{'priority':'high'}),_0x45623d['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x23fc0b,_0x46f9c8,_0x2b3b3b)=>{_0x1ca786(_0x23fc0b,_0x46f9c8,_0x2b3b3b,!0x0,'merge');},{'priority':'high'}),_0x45623d['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2c4a27,_0x22fea4,_0x5e3bb8)=>{_0x1ca786(_0x2c4a27,_0x22fea4,_0x5e3bb8,!0x1,'split');},{'priority':'high'}),_0x45623d['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42841f,_0x8fb0d0,_0x4534df)=>{_0x1ca786(_0x42841f,_0x8fb0d0,_0x4534df,!0x0,'split');},{'priority':'high'}),_0x45623d['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x282210,_0x307649,_0x5b1676)=>{((_0x447994,_0x5111b1,_0x109305)=>{const _0x38d9eb=_0x109305['mapper']['markerNameToElements'](_0x5111b1['markerName']);if(_0x38d9eb){for(const _0x26947b of _0x38d9eb)(_0x26947b['hasClass']('ck-suggestion-marker-split')||_0x26947b['hasClass']('ck-suggestion-marker-merge'))&&(_0x109305['mapper']['unbindElementFromMarkerName'](_0x26947b,_0x5111b1['markerName']),_0x109305['writer']['remove'](_0x26947b));}})(0x0,_0x307649,_0x5b1676);},{'priority':'high'});const _0x2b1cce=(_0x4d038d,_0xa2a9c0,_0x2b5212,_0x19b3fa)=>{if(_0x19b3fa&&!_0x2b5212['options']['showSuggestionHighlights'])return;const _0x4606cf=_0xa2a9c0['markerRange']['start'],_0x328542=_0xa2a9c0['markerRange']['end'],_0x3aade3=_0x45623d['model']['schema'];if(!_0x4606cf['isTouching'](_0x328542)||!_0x4606cf['nodeAfter'])return;const _0x18154c=_0x4606cf['nodeAfter'];if(_0x3aade3['isBlock'](_0x18154c)&&!_0x3aade3['isLimit'](_0x18154c)&&_0x3aade3['checkChild'](_0x18154c,'$text')){if(!_0x2b5212['consumable']['consume'](_0xa2a9c0['markerRange'],_0x4d038d['name']))return;const {id:_0x2d2714,authorId:_0x1161c6}=J(_0xa2a9c0['markerName']),_0x3c5641=_0x2b5212['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2d2714,'data-author-id':_0x1161c6}),_0x6b8eac=_0x2b5212['mapper']['toViewPosition'](_0x328542);!_0x19b3fa&&this['_activeMarkers']['includes'](_0xa2a9c0['markerName'])&&_0x2b5212['writer']['addClass']('ck-suggestion-marker--active',_0x3c5641),_0x2b5212['writer']['insert'](_0x6b8eac,_0x3c5641),_0x2b5212['mapper']['bindElementToMarker'](_0x3c5641,_0xa2a9c0['markerName']);}};_0x45623d['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3825c0,_0x2ac57c,_0x4cf53b)=>{_0x2b1cce(_0x3825c0,_0x2ac57c,_0x4cf53b,!0x1);},{'priority':'high'}),_0x45623d['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3b339a,_0x22914c,_0xdaedb5)=>{_0x2b1cce(_0x3b339a,_0x22914c,_0xdaedb5,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0xc41463,_0xd8ea7a,_0x5a2e13)=>{this['_activeMarkers']=_0x5a2e13['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x482f1c){this['_blockAttributeKeys']['add'](_0x482f1c);}['registerInlineAttribute'](_0x13818c){this['_inlineAttributeKeys']['add'](_0x13818c);}['isBlockAttribute'](_0x35390e){return this['_blockAttributeKeys']['has'](_0x35390e);}['isInlineAttribute'](_0x1568f6){return this['_inlineAttributeKeys']['has'](_0x1568f6);}['isRegisteredAttribute'](_0x5b0c9c){return this['isInlineAttribute'](_0x5b0c9c)||this['isBlockAttribute'](_0x5b0c9c);}['_getClassName'](_0x5df209,_0x7209f7){if('attribute'!=_0x5df209)return'ck-suggestion-marker-'+_0x5df209;const _0x4d0c1b=_0x7209f7['split']('|')[0x0];return this['isBlockAttribute'](_0x4d0c1b)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x20c534={},_0x22b865){if(void 0x0!==_0x20c534['dateTimeFormat']&&'function'!=typeof _0x20c534['dateTimeFormat'])throw new _0x6ec664('invalid-date-time-format');return _0x1fa392=>{const _0x519de5='string'==typeof _0x1fa392?_0x3e0416['fromISO'](_0x1fa392):_0x3e0416['fromJSDate'](_0x1fa392),_0x1e6859=_0x3e0416['now'](),_0x4849ff=Math['floor'](_0x1e6859['diff'](_0x519de5,'days')['days']);return _0x20c534['dateTimeFormat']?_0x20c534['dateTimeFormat'](_0x519de5['toJSDate'](),_0x22b865&&_0x22b865['t']?_0x22b865['t']:void 0x0):0x0===_0x4849ff?_0x22b865?$(_0x22b865,'Today')+'\x20'+_0x519de5['toFormat']('hh:mma'):_0x519de5['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x4849ff?_0x22b865?$(_0x22b865,'Yesterday')+'\x20'+_0x519de5['toFormat']('hh:mma'):_0x519de5['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x4849ff<0x7?_0x22b865?$(_0x22b865,'Last')+'\x20'+$(_0x22b865,_0x519de5['toFormat']('EEEE'))+'\x20'+_0x519de5['toFormat']('hh:mma'):_0x519de5['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x519de5['toFormat']('LL-dd-yyyy\x20hh:mma');};}function It(_0x1c7bb6,_0x164285){const _0x124bb6=_0x1c7bb6['mapper']['markerNameToElements'](_0x164285['name']);if(!_0x124bb6)return null;const _0x39f59d=_0x949fd(_0x124bb6['values']());return _0x1c7bb6['view']['domConverter']['mapViewToDom'](_0x39f59d)||null;}function xt(_0x3f4be6,_0x3b720b){if(0x0===_0x3b720b['length'])return null;const _0x8f7728=[],_0x227492=_0x3f4be6['view']['domConverter'];for(const _0x595806 of _0x3b720b){const _0x36b1cd=_0x3f4be6['mapper']['markerNameToElements'](_0x595806['name']);if(!_0x36b1cd)continue;const _0x5f425e=Array['from'](_0x36b1cd)['map'](_0x5a1170=>_0x227492['mapViewToDom'](_0x5a1170))['filter'](_0x46310e=>!!_0x46310e);_0x8f7728['push'](..._0x5f425e);}if(0x0===_0x8f7728['length'])return null;const _0xd6f930=[];for(const _0x55cbb7 of _0x8f7728){const _0x325323=_0x55cbb7['getClientRects']()['item'](0x0);_0x325323&&_0xd6f930['push']({'x':_0x325323['x'],'y':_0x325323['y'],'domElement':_0x55cbb7});}return 0x0===_0xd6f930['length']?null:(_0xd6f930['sort']((_0x274388,_0x29238c)=>_0x274388['y']-_0x29238c['y']||_0x274388['x']-_0x29238c['x']),_0xd6f930['map'](_0x35f181=>_0x35f181['domElement']));}function St(_0x175b7a,{limit:_0x42f6e5,suffix:_0x689d5a='...'}){const _0x163eb0=[];let _0x190b41=0x0;const _0x326a41=_0x175b7a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x245b79=0x0;_0x245b79<_0x326a41['length'];_0x245b79++){let _0x1cd51d=_0x326a41[_0x245b79];const _0x204e71=Et(_0x1cd51d);if(_0x1cd51d['startsWith']('<')){if(_0x190b41>=_0x42f6e5){const _0x515875=_0x1cd51d['match'](/[a-zA-Z]+/);if(!_0x515875){_0x326a41[_0x245b79]='';continue;}const _0x57cb05=_0x515875[0x0];_0x1cd51d['startsWith']('</')?(_0x163eb0['length']&&(_0x1cd51d=''),_0x163eb0['pop']()):(_0x163eb0['push'](_0x57cb05),_0x1cd51d='');}}else{if(_0x190b41>=_0x42f6e5)_0x1cd51d='';else{if(_0x190b41+_0x204e71['length']>=_0x42f6e5){let _0x437fcc=_0x42f6e5-_0x190b41;if('\x20'===_0x204e71[_0x437fcc-0x1])_0x437fcc--;else{const _0x3af03e=_0x204e71['slice'](_0x437fcc)['indexOf']('\x20');-0x1!==_0x3af03e?_0x437fcc+=_0x3af03e:_0x437fcc=_0x1cd51d['length'];}_0x1cd51d=_0x204e71['slice'](0x0,_0x437fcc)['join']('')+_0x689d5a,_0x190b41=_0x42f6e5;}else _0x190b41+=_0x204e71['length'];}}_0x326a41[_0x245b79]=_0x1cd51d;}return _0x326a41['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x1e8b02){const _0x205a1b=[];for(let _0x18a17a=0x0;_0x18a17a<_0x1e8b02['length'];_0x18a17a++){const _0x33202d=_0x1e8b02['substring'](_0x18a17a)['match'](/^&[a-z0-9#]+;/);if(_0x33202d){const _0x37798d=_0x33202d[0x0];_0x205a1b['push'](_0x37798d),_0x18a17a+=_0x37798d['length']-0x1;}else _0x205a1b['push'](_0x1e8b02[_0x18a17a]);}return _0x205a1b;}var Mt=class extends _0x1133e1{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x36dfc7){super(_0x36dfc7);const _0x17682a=this['bindTemplate'];this['set']('message',$(_0x36dfc7,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x36dfc7,$(_0x36dfc7,'Yes'),_0x2b9964,'submit'),this['cancelView']=this['_createButtonView'](_0x36dfc7,$(_0x36dfc7,'No'),_0x3bfd0e,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x112d11(),this['keystrokes']=new _0x4a8cb3(),this['focusCycler']=new _0x4de57a({'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':_0x17682a['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'](_0x35a7b0,_0x6e5356,_0x3eb027,_0x4c7899){const _0x16eddc=new _0x4464e1(_0x35a7b0);return _0x16eddc['label']=_0x6e5356,_0x16eddc['icon']=_0x3eb027,_0x16eddc['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x4c7899}}),_0x16eddc['on']('execute',()=>this['fire'](_0x4c7899)),_0x16eddc;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x61b0f=>{this['keystrokes']['listenTo'](_0x61b0f['element']),this['focusTracker']['add'](_0x61b0f['element']);}),this['keystrokes']['set']('esc',(_0x591c1e,_0x38a61b)=>{this['fire']('cancel'),_0x38a61b();});}};function At(_0x37d385){return class _0x40afd6 extends _0x37d385{['showConfirm'](_0x31c808,_0x4eed63){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x31c808,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4eed63['appendChild'](this['confirmView']['element']),_0x4eed63['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x4b2f94,_0x5d5048,_0x514508)=>{_0x514508||_0x4eed63['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x5e62dc=>this['confirmView']['on']('submit',_0x5e62dc));}['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(_0xf19689){let _0x59def0=0x0,_0x754fe1=0x0;for(const _0x3351a7 of Nt(_0xf19689))_0x59def0=(_0x59def0<<0x5)-_0x59def0+_0x3351a7,_0x59def0&=_0x59def0,[_0x59def0,_0x754fe1]=[_0x754fe1,_0x59def0];return Dt(_0x59def0)+Dt(_0x754fe1);}function*Pt(_0x4b7988){null==_0x4b7988||null==_0x4b7988?yield 0x12b9b0a1:0x0===_0x4b7988||!0x1===_0x4b7988?yield 0x0:0x1===_0x4b7988||0x1==_0x4b7988?yield 0x1:Array['isArray'](_0x4b7988)?yield*function*(_0x14239c){for(const _0x576546 of _0x14239c)yield*Pt(_0x576546);}(_0x4b7988):'object'==typeof _0x4b7988?yield*Nt(_0x4b7988):'string'==typeof _0x4b7988?yield*Vt(_0x4b7988):'number'==typeof _0x4b7988&&(yield _0x4b7988);}function*Nt(_0x5e500a){if(yield Bt('{'),_0x5e500a){const _0x30a223=Object['keys'](_0x5e500a)['sort']();for(const _0x3e0681 of _0x30a223){yield*Vt(_0x3e0681),yield Bt(':');const _0x125332=_0x5e500a[_0x3e0681];yield*Pt(_0x125332);}}yield Bt('}');}function*Vt(_0x327b79){yield Bt('\x22');for(const _0x15a707 of _0x327b79)yield Bt(_0x15a707);yield Bt('\x22');}function Bt(_0x82d23e){return _0x82d23e['charCodeAt'](0x0);}function Dt(_0x422742){return(_0x422742*=Math['sign'](_0x422742))['toString'](0x24);}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Ot=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x495b2a,_0x311771,_0xa3f3f6,_0x3a2298=[]){const _0x3a852c='string'==typeof _0x495b2a?_0xa3f3f6['get'](_0x495b2a)['constructor']:_0x495b2a['prototype']['constructor'];if(_0x311771['has'](_0x3a852c))return _0x311771['get'](_0x3a852c);_0x311771['set'](_0x3a852c,!0x0);const _0x40c381=[...Ot,..._0x3a2298]['map'](_0x3a4b8c=>{if(_0xa3f3f6['has'](_0x3a4b8c))return _0xa3f3f6['get'](_0x3a4b8c)['constructor'];})['filter'](_0x4e8817=>_0x4e8817);if(_0x3a852c&&_0x40c381['includes'](_0x3a852c))return _0x311771['set'](_0x3a852c,!0x1),!0x1;if(!_0x3a852c['requires'])return _0x311771['set'](_0x3a852c,!0x0),!0x0;const _0x49a351=_0x3a852c['requires']['every'](_0x339736=>Lt(_0x339736,_0x311771,_0xa3f3f6,_0x3a2298));return _0x311771['set'](_0x3a852c,_0x49a351),_0x49a351;}function Rt(_0x266c77,_0x344c69){const _0x3f85f4={};for(const _0x2f10d2 of _0x266c77['config']['names']())$t['includes'](_0x2f10d2)||(_0x3f85f4[_0x2f10d2]=_0x266c77['config']['get'](_0x2f10d2));const _0xd9745b=_0x3f85f4['plugins']||[],_0x5edd6b=_0x266c77['constructor']['builtinPlugins']||[],_0x3b23f6=_0xd9745b['length']?_0xd9745b:_0x5edd6b,_0xfc9ad1=_0x3f85f4['extraPlugins']||[];delete _0x3f85f4['extraPlugins'];const _0x342a5c=_0x3f85f4['removePlugins']||[];delete _0x3f85f4['removePlugins'];const _0x506cc7=_0x266c77['_context']['config']['get']('plugins')||[],_0x51e0bb=_0x3b23f6['concat'](_0xfc9ad1)['concat'](_0x506cc7)['map'](_0x4a6046=>'string'==typeof _0x4a6046?_0x5edd6b['find'](_0x41edea=>_0x41edea['pluginName']==_0x4a6046):_0x4a6046)['filter'](_0x2e8a91=>!_0x342a5c['includes'](_0x2e8a91)&&!_0x342a5c['includes'](_0x2e8a91['pluginName'])),_0x5afc4d=Array['from'](new Set(_0x51e0bb)),_0xb5a04c=new Map();return _0x3f85f4['plugins']=_0x5afc4d['filter'](_0x18c2ab=>Lt(_0x18c2ab,_0xb5a04c,_0x266c77['plugins'],_0x344c69)),_0x3f85f4;}function Ft(_0x2a6e30,_0x19d034){const _0x1ec970=[];_0x2a6e30['document']['selection']['on']('change:range',()=>{const _0x30e5b5=function(_0xa9e549,_0x33db10){const _0xb9808a=[];for(const _0x509470 of _0xa9e549['markers']){const _0x63f242=_0x509470['getRange']();(_0x63f242['containsPosition'](_0x33db10)||_0x63f242['start']['isEqual'](_0x33db10)||_0x63f242['end']['isEqual'](_0x33db10))&&_0xb9808a['push'](_0x509470);}return _0xb9808a;}(_0x2a6e30,_0x2a6e30['document']['selection']['focus']),_0x1ac846=[],_0xe4111f=[],_0x358917=[];for(const _0x40c130 of _0x1ec970)_0x30e5b5['includes'](_0x40c130)||_0x1ac846['push'](_0x40c130);for(const _0x47f1b5 of _0x30e5b5)_0x1ec970['includes'](_0x47f1b5)||_0xe4111f['push'](_0x47f1b5),_0x358917['push'](_0x47f1b5);(_0x1ac846['length']||_0xe4111f['length'])&&_0x19d034({'left':_0x1ac846,'entered':_0xe4111f}),_0x1ec970['length']=0x0,_0x1ec970['push'](..._0x358917);});}const Ht='Ctrl+Shift+E';function Ut(_0x30b583,_0x44cd09){const _0x2b586a=_0x30b583['element'];_0x30b583['keystrokes']['listenTo'](_0x2b586a);for(const _0x526b00 of _0x44cd09)zt(_0x30b583,_0x526b00);_0x44cd09['on']('change',(_0x415477,_0x275c72)=>{for(const _0x183d33 of _0x275c72['removed'])Wt(_0x30b583,_0x183d33);for(const _0x1f52b0 of Array['from'](_0x275c72['added'])['reverse']())zt(_0x30b583,_0x1f52b0);}),_0x30b583['keystrokes']['set']('enter',(_0x3eaad1,_0x353c26)=>{_0x2b586a===_0x3eaad1['target']&&(_0x30b583['focusCycler']['focusFirst'](),_0x353c26());},{'filter':_0x5db326=>_0x5db326['target']===_0x2b586a}),_0x30b583['keystrokes']['set']('esc',(_0x196331,_0x24b49e)=>{_0x2b586a!==_0x196331['target']?_0x30b583['focus']():_0x30b583['fire']('escape'),_0x24b49e();}),_0x30b583['keystrokes']['set']('arrowdown',(_0x4f588b,_0x1764f5)=>{_0x2b586a===_0x4f588b['target']&&(_0x30b583['fire']('arrowdown'),_0x1764f5());}),_0x30b583['keystrokes']['set']('arrowup',(_0x20f14d,_0xa6f34e)=>{_0x2b586a===_0x20f14d['target']&&(_0x30b583['fire']('arrowup'),_0xa6f34e());});}function zt(_0x468e18,_0x5b3d53){_0x5b3d53['isRendered']&&(_0x468e18['focusTracker']['add'](_0x5b3d53['element']),_0x468e18['keystrokes']['listenTo'](_0x5b3d53['element']),_0xef87ac(_0x5b3d53)&&function(_0x50e5cb,_0x1c7588){const _0x4bd31c=_0x50e5cb['actions'],_0x4dd2b0=_0x1c7588['actions'];for(const _0x3db058 of Object['keys'](_0x4bd31c))if(_0x3db058 in _0x4dd2b0&&_0x4bd31c[_0x3db058]!==_0x4dd2b0[_0x3db058])return!0x1;return!0x0;}(_0x468e18['focusCycler'],_0x5b3d53['focusCycler'])&&_0x468e18['focusCycler']['chain'](_0x5b3d53['focusCycler']));}function Wt(_0x4b3626,_0x160fdf){_0x4b3626['focusTracker']['remove'](_0x160fdf['element']),_0x4b3626['keystrokes']['stopListening'](_0x160fdf['element']),_0xef87ac(_0x160fdf)&&_0x4b3626['focusCycler']['unchain'](_0x160fdf['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x1f0494{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x5222ea?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1957ab,_0x2db728)=>{_0x2db728['on']('ready',()=>{this['_integrateEditor'](_0x2db728);});});}get['editor'](){if(this['context']instanceof _0x5222ea)return this['context'];{const _0x4b176f=this['context']['editors']['first'];if(!_0x4b176f)throw new _0x6ec664('documentcompare-no-editor',this);return _0x4b176f;}}['getDiff'](_0x11bb57,_0x1f74a7,_0x4b1ac6={'anchor':'main','markDeletions':!0x1}){const _0x1985ae=_0x4b1ac6['targetEditor']||this['editor'],_0x5c9235=_0x4b1ac6['anchor']??'main';let _0xc8712c,_0x2a1f27;if('string'==typeof _0x5c9235){const _0x2c2f14=_0x1985ae['model']['document']['getRoot'](_0x5c9235);if(!_0x2c2f14)throw new _0x6ec664('documentcompare-compare-no-root',this,{'anchor':_0x5c9235});_0xc8712c=_0x2c2f14,_0x2a1f27=_0x1985ae['model']['createPositionAt'](_0x2c2f14,0x0);}else _0xc8712c=_0x5c9235['clone'](),_0x2a1f27=_0x5c9235['clone']();return new Gt({'editor':_0x1985ae,'before':_0x1985ae['data']['parse'](_0x11bb57,_0xc8712c),'after':_0x1985ae['data']['parse'](_0x1f74a7,_0xc8712c),'options':{'anchor':_0x2a1f27,'markDeletions':_0x4b1ac6['markDeletions']}});}['isMarkedRemoveOperation'](_0x3927f8){return'marker'==_0x3927f8['type']&&_0x3927f8['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x2fdfd3){_0x2fdfd3['conversion']['for']('upcast')['add'](_0x1ea88c=>{_0x1ea88c['on']('element',(_0x7af87f,_0x586b74,_0x170b86)=>{if(_0x586b74['modelRange']&&_0x170b86['consumable']['consume'](_0x586b74['viewItem'],{'attributes':'data-id'}))for(const _0x2987e7 of _0x586b74['modelRange']['getItems']({'shallow':!0x0})){if(_0x2987e7['is']('$textProxy'))continue;const _0x9a24cd=_0x586b74['viewItem']['getAttribute'](jt);_0x9a24cd&&_0x170b86['writer']['setAttribute'](Yt,_0x9a24cd,_0x2987e7);}},{'priority':'low'});}),_0x2fdfd3['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x48790d,before:_0x21505b,after:_0x470791,options:_0x2d454b}){this['_editor']=_0x48790d,this['_markDeletions']=!!_0x2d454b['markDeletions'],this['_anchor']=_0x2d454b['anchor'];const _0x259532=this['_tokenizeModel'](_0x21505b),_0x56dd17=this['_tokenizeModel'](_0x470791);this['_diffItems']=this['_diffModelTokens'](_0x259532,_0x56dd17),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x21505b['markers'],_0x470791['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0xe86496=this['_editor']['model']['document'],_0x40169e=[];let _0x3b2128=_0xe86496['version'];for(const _0x1c073a of this['_operationsData'])switch(_0x1c073a['type']){case'attribute':{const _0x607217=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']),_0x5a9fb6=new _0x230735(_0x607217,_0x607217['getShiftedBy'](_0x1c073a['howMany'])),_0x43ec11=JSON['parse'](_0x1c073a['oldValue']),_0x1ea9fe=JSON['parse'](_0x1c073a['newValue']);_0x40169e['push'](new _0x8bba55(_0x5a9fb6,_0x1c073a['key'],_0x43ec11,_0x1ea9fe,_0x3b2128++));break;}case'insert':{const _0x5cb11b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']),_0x3f3bdc=this['_makeModelFromTokens'](_0x1c073a['tokens']);_0x40169e['push'](new _0x5d4db1(_0x5cb11b,_0x3f3bdc,_0x3b2128++));break;}case'remove':{const _0x3eb594=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']),_0x1a19eb=new _0x1ac02b(_0xe86496['graveyard'],[0x0]);_0x40169e['push'](new _0x4be5cb(_0x3eb594,_0x1c073a['howMany'],_0x1a19eb,_0x3b2128++));break;}case'rename':{const _0x12e01a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']);_0x40169e['push'](new _0x41aa36(_0x12e01a,_0x1c073a['oldName'],_0x1c073a['newName'],_0x3b2128++));break;}case'split':{const _0x3640c5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']),_0x179cd8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['path']['slice'](0x0,-0x1));_0x179cd8['offset']++,_0x40169e['push'](new _0x1ec4e8(_0x3640c5,Number['NEGATIVE_INFINITY'],_0x179cd8,null,_0x3b2128++));break;}case'merge':{const _0x3afa55=_0x1c073a['path']['slice'](),_0x1b6eed=_0x3afa55['slice'](0x0,-0x1);_0x1b6eed[_0x1b6eed['length']-0x1]++,_0x1b6eed['push'](0x0);const _0x572201=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1b6eed),_0x79f38e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3afa55),_0x8c9f15=new _0x1ac02b(_0xe86496['graveyard'],[0x0]);_0x40169e['push'](new _0x56ddbb(_0x572201,Number['NEGATIVE_INFINITY'],_0x79f38e,_0x8c9f15,_0x3b2128++));break;}case'marker':case'markedRemove':{let _0x26ccf0=null;_0x1c073a['range']&&(_0x26ccf0=new _0x230735(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['range']['end'])));const _0x2eb497='marker'==_0x1c073a['type']?_0x1c073a['name']:'$markedRemove:'+_0x3cb7de();_0x40169e['push'](new _0x3c2bce(_0x2eb497,null,_0x26ccf0,_0xe86496['model']['markers'],!0x0,_0x3b2128++));break;}case'unwrap':{const _0x22950e=_0x1c073a['path']['slice']();_0x22950e['push'](0x0);const _0x1412d4=_0x1c073a['path']['slice'](),_0x37f49d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x22950e),_0x4044ba=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1412d4),_0x154ab5=new _0x1ac02b(_0xe86496['graveyard'],[0x0]);_0x40169e['push'](new _0x4be5cb(_0x37f49d,_0x1c073a['howMany'],_0x4044ba,_0x3b2128++)),_0x40169e['push'](new _0x4be5cb(_0x4044ba['getShiftedBy'](_0x1c073a['howMany']),0x1,_0x154ab5,_0x3b2128++));break;}case'wrap':{const _0x37967b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['range']['start']),_0x145025=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c073a['range']['end']),_0xadcef8=_0x1c073a['token']['element']['_clone'](!0x1);_0xadcef8['_removeAttribute'](Yt);const _0x228c28=_0x1c073a['range']['end']['slice']();_0x228c28['push'](0x0);const _0x495809=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x228c28);_0x40169e['push'](new _0x5d4db1(_0x145025,_0xadcef8,_0x3b2128++)),_0x40169e['push'](new _0x4be5cb(_0x37967b,_0x145025['offset']-_0x37967b['offset'],_0x495809,_0x3b2128++));break;}}return _0x40169e;}['_tokenizeModel'](_0x2f66f2){const _0x52c4b6=[],_0x544474=new _0x66e1b3({'boundaries':_0x230735['_createIn'](_0x2f66f2)});let _0x457993='',_0x4e0e1a=null;const _0x3575b6=[''],_0x14050e=new Map();for(const _0x2226b0 of _0x544474)if('elementStart'==_0x2226b0['type']||'elementEnd'==_0x2226b0['type']){let _0x5ab31b=_0x3575b6[0x0];''!==_0x457993&&(_0x52c4b6['push'](...this['_makeTokensFromTextByWords'](_0x457993,_0x4e0e1a,_0x5ab31b)),_0x457993='');const _0x5a3eb5=_0x2226b0['item'];let _0x298313;_0x5a3eb5['getAttribute']('$elementId')?_0x298313=_0x5a3eb5['getAttribute'](Yt):'elementStart'==_0x2226b0['type']?(_0x298313=qt(_0x5a3eb5),_0x14050e['set'](_0x5a3eb5,_0x298313)):_0x298313=_0x14050e['get'](_0x5a3eb5);const _0x557c92=this['_getElementCategory'](_0x5a3eb5);'solid'==_0x557c92&&('elementStart'==_0x2226b0['type']?(_0x5ab31b=_0x298313,_0x3575b6['unshift'](_0x5ab31b)):_0x3575b6['shift']());const _0x48fd5b={'type':'element','element':_0x5a3eb5,'elementId':_0x298313,'category':_0x557c92,'isStart':'elementStart'==_0x2226b0['type'],'limitId':_0x5ab31b};_0x52c4b6['push'](_0x48fd5b);}else''==_0x457993&&(_0x4e0e1a=_0x2226b0['previousPosition']['clone']()),_0x457993+=_0x2226b0['item']['data'];return''!==_0x457993&&_0x52c4b6['push'](...this['_makeTokensFromTextByWords'](_0x457993,_0x4e0e1a,_0x3575b6[0x0])),_0x52c4b6;}['_makeTokensFromTextByWords'](_0x1b0f5a,_0x2aa407,_0x54d60f){const _0x224ede=_0x1b0f5a['matchAll'](/(\s)/g),_0x5cb702=Array['from'](_0x224ede)['map'](_0x299d6b=>_0x299d6b['index']);_0x5cb702['push'](_0x1b0f5a['length']),0x0==_0x5cb702[0x0]&&_0x5cb702['shift']();const _0x34d7d3=[],_0x406d8d=_0x2aa407['parent'];let _0x4b79c6=0x0,_0x191531=_0x2aa407['offset'];for(let _0x2762ba=0x0;_0x2762ba<_0x5cb702['length'];_0x2762ba++)_0x34d7d3['push']({'type':'text','data':_0x1b0f5a['slice'](_0x4b79c6,_0x5cb702[_0x2762ba]),'parent':_0x406d8d,'offset':_0x191531,'limitId':_0x54d60f}),_0x4b79c6=_0x5cb702[_0x2762ba],_0x191531=_0x2aa407['offset']+_0x5cb702[_0x2762ba];return _0x34d7d3;}['_getElementCategory'](_0x31d6a6){const _0x53a7b7=this['_editor']['model']['schema'];return _0x53a7b7['isLimit'](_0x31d6a6)||_0x53a7b7['isContent'](_0x31d6a6)||_0x53a7b7['isInline'](_0x31d6a6)?'solid':_0x53a7b7['isBlock'](_0x31d6a6)?'block':function(_0x42b0e7,_0x413251){const _0x42f29e=_0x42b0e7['parent'];if(!_0x42f29e||_0x42f29e['is']('documentFragment'))return!0x1;if(_0x413251['checkChild'](_0x42f29e,'$text'))return!0x1;for(const _0x103c21 of _0x42b0e7['getChildren']())if(_0x103c21['is']('$text'))return!0x0;return!0x1;}(_0x31d6a6,_0x53a7b7)?'solid':'container';}['_diffModelTokens'](_0x62454f,_0x4cb839){const _0x4ee85a=_0x34fa67(_0x62454f,_0x4cb839,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x4ee85a);const _0x406437=_0x4ee85a['flatMap'](_0xb4f376=>{const _0x2473db=_0xb4f376['added']?'added':_0xb4f376['removed']?'removed':'unchanged';return _0xb4f376['value']['map'](_0x332209=>({'token':_0x332209,'change':_0x2473db}));});let _0x20cf5b=0x0;for(const _0x7da094 of _0x406437)'added'!=_0x7da094['change']&&('unchanged'==_0x7da094['change']&&(_0x7da094['before']=_0x62454f[_0x20cf5b]),_0x20cf5b++);return _0x406437;}['_handleUnclosedBlockOpeningTags'](_0x23229f){for(let _0x1b1e5c=0x0;_0x1b1e5c<_0x23229f['length']-0x1;_0x1b1e5c++)if(_0x23229f[_0x1b1e5c]['removed']&&_0x23229f[_0x1b1e5c+0x1]['added']){const _0x1f38e3=this['_findUnclosedBlockOpeningToken'](_0x23229f[_0x1b1e5c]['value']);if(null!==_0x1f38e3){const _0x367d3d=this['_findUnclosedBlockOpeningToken'](_0x23229f[_0x1b1e5c+0x1]['value']),_0x2aeeec=_0x23229f[_0x1b1e5c]['value']['splice'](_0x1f38e3),_0x4d4a0c=_0x23229f[_0x1b1e5c+0x1]['value']['splice'](_0x367d3d),_0x44582e=[_0x4d4a0c['shift']()];_0x2aeeec['shift']();const _0x20bc66={'value':_0x2aeeec,'removed':!0x0},_0x25f6c0={'value':_0x4d4a0c,'added':!0x0},_0x581979={'value':_0x44582e};_0x23229f['splice'](_0x1b1e5c+0x2,0x0,_0x581979,_0x20bc66,_0x25f6c0);}}}['_findUnclosedBlockOpeningToken'](_0xb61b93){let _0x29cf74=0x0,_0x1d5d70=-0x1;for(let _0x25fd40=0x0;_0x25fd40<_0xb61b93['length'];_0x25fd40++){const _0x10dd21=_0xb61b93[_0x25fd40];'element'==_0x10dd21['type']&&'block'==_0x10dd21['category']&&(_0x29cf74+=_0x10dd21['isStart']?0x1:-0x1,_0x10dd21['isStart']&&(_0x1d5d70=_0x25fd40));}return 0x0===_0x29cf74?null:_0x1d5d70;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5d7a09=0x0;_0x5d7a09<this['_diffItems']['length'];_0x5d7a09++){const _0x165f7a=this['_diffItems'][_0x5d7a09]['change'],_0x38b178=[];_0x38b178['push'](this['_diffItems'][_0x5d7a09]);let _0x229edd=_0x5d7a09+0x1;for(;this['_diffItems'][_0x229edd]&&this['_diffItems'][_0x229edd]['change']==_0x165f7a;)_0x38b178['push'](this['_diffItems'][_0x229edd]),_0x229edd++,_0x5d7a09++;const _0x200a9a=_0x38b178['map'](_0x2a12c3=>_0x2a12c3['token']);if('unchanged'==_0x165f7a)_0x38b178['map'](_0x104bcd=>_0x104bcd['before'])['forEach'](_0x1b6636=>this['_traverseOverItem'](_0x1b6636));else{if('removed'==_0x165f7a){if(this['_markDeletions']){const _0x3c1338=this['_path']['slice']();_0x200a9a['forEach'](_0x562546=>this['_traverseOverItem'](_0x562546));const _0x11e9de=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3c1338,'end':_0x11e9de}});}else this['_handleChanged'](_0x200a9a,!0x0,this['_path']['slice']());}else{const _0x5db214=_0x200a9a['filter'](_0x8dd2c1=>'element'!=_0x8dd2c1['type']||'container'!=_0x8dd2c1['category']);this['_handleChanged'](_0x5db214,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3c3f97=0x0;_0x3c3f97<this['_diffItems']['length'];_0x3c3f97++){const _0x18fb8d=this['_diffItems'][_0x3c3f97]['change'],_0x19ad2e=[];_0x19ad2e['push'](this['_diffItems'][_0x3c3f97]);let _0x4799b9=_0x3c3f97+0x1;for(;this['_diffItems'][_0x4799b9]&&this['_diffItems'][_0x4799b9]['change']==_0x18fb8d;)_0x19ad2e['push'](this['_diffItems'][_0x4799b9]),_0x4799b9++,_0x3c3f97++;const _0x4f98dd=_0x19ad2e['map'](_0x43c7de=>_0x43c7de['token']);if('unchanged'==_0x18fb8d){const _0x1bb939=_0x19ad2e['map'](_0x1236a3=>_0x1236a3['before']);this['_handleUnchanged'](_0x1bb939,_0x4f98dd);}else('added'==_0x18fb8d||this['_markDeletions'])&&_0x4f98dd['forEach'](_0x5ed336=>{'element'==_0x5ed336['type']&&_0x5ed336['isStart']&&this['_splitPostponedData']['has'](_0x5ed336['element'])&&this['_handleSplitPostponedData'](_0x5ed336['element'],this['_path']),this['_traverseOverItem'](_0x5ed336);});}}['_handleSplitPostponedData'](_0x5d74f0,_0x2f33fc){const _0x2f3ba4=this['_splitPostponedData']['get'](_0x5d74f0);for(const _0x1a4431 of _0x2f3ba4)'rename'==_0x1a4431['type']?this['_operationsData']['push']({'type':'rename','path':_0x2f33fc['slice'](),'oldName':_0x1a4431['oldValue'],'newName':_0x5d74f0['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x2f33fc['slice'](),'howMany':0x1,'key':_0x1a4431['key'],'oldValue':_0x1a4431['oldValue'],'newValue':JSON['stringify'](_0x5d74f0['getAttribute'](_0x1a4431['key'])??null)});}['_calculateMarkersOperationsData'](_0x3ae272,_0x410bfc){const _0x191411={};for(const [_0x497e47]of _0x3ae272)_0x191411[_0x497e47]=null;for(const [_0x14b595,_0x595b99]of _0x410bfc)_0x191411[_0x14b595]=_0x595b99;const _0x2e1ef9=Object['entries'](_0x191411)['map'](([_0x37b022,_0x99acae])=>({'type':'marker','name':_0x37b022,'range':_0x99acae?{'start':_0x99acae['start']['path']['slice'](),'end':_0x99acae['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2e1ef9);}['_handleUnwraps'](){const _0x13a854=new Map(),_0x4ac898=[],_0x451709=[0x0];let _0x4bdbde=this['_diffItems']['length']+0x1;for(let _0x1fd6b5=this['_diffItems']['length']-0x1;_0x1fd6b5>=0x0;_0x1fd6b5--){const {token:_0x11bc5a,before:_0x3a757f,change:_0x5f3619}=this['_diffItems'][_0x1fd6b5];if('removed'!=_0x5f3619&&(_0x4bdbde=_0x1fd6b5),'element'!=_0x11bc5a['type']||'container'!=_0x11bc5a['category']||'added'==_0x5f3619)continue;const _0x79639a=_0x3a757f?_0x3a757f['element']:_0x11bc5a['element'];if(_0x11bc5a['isStart']){const _0x2f6d48=_0x13a854['get'](_0x79639a),_0x131548=this['_diffItems'][_0x2f6d48];('removed'==_0x5f3619||'removed'==_0x131548['change'])&&_0x4bdbde<_0x2f6d48&&(this['_operationsData']['push']({'type':'unwrap','path':_0x79639a['getPath'](),'howMany':_0x79639a['maxOffset']+_0x451709[0x0]}),_0x451709['shift'](),_0x451709[0x0]+=_0x79639a['maxOffset']-0x1,_0x4ac898['push'](_0x1fd6b5),_0x4ac898['push'](_0x2f6d48));}else _0x13a854['set'](_0x79639a,_0x1fd6b5),_0x451709['unshift'](0x0);}_0x4ac898['sort']((_0x3bd901,_0x401ece)=>_0x401ece-_0x3bd901),_0x4ac898['forEach'](_0x2e7cbf=>{const _0x4f4dfb=this['_diffItems'][_0x2e7cbf];'removed'==_0x4f4dfb['change']?this['_diffItems']['splice'](_0x2e7cbf,0x1):(_0x4f4dfb['change']='added',delete _0x4f4dfb['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3763c6=[];for(let _0x2f7e1d=0x0;_0x2f7e1d<this['_diffItems']['length'];_0x2f7e1d++){const {change:_0x24b732,token:_0x386ffa}=this['_diffItems'][_0x2f7e1d];if('added'==_0x24b732&&'element'==_0x386ffa['type']&&'container'==_0x386ffa['category']){if(_0x386ffa['isStart'])_0x3763c6['push'](this['_path']['slice']());else{if(!_0x386ffa['isStart']){const _0x3cd9ae=_0x3763c6['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3cd9ae,'end':this['_path']['slice']()},'token':_0x386ffa}),this['_path'][this['_path']['length']-0x1]=_0x3cd9ae[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x24b732||this['_markDeletions'])&&this['_traverseOverItem'](_0x386ffa);}}['_handleUnchanged'](_0x48a689,_0x15468e){for(let _0x57110f=0x0;_0x57110f<_0x48a689['length'];_0x57110f++){const _0x2faad8=_0x48a689[_0x57110f];if('element'==_0x2faad8['type']&&_0x2faad8['isStart']){const _0xa3e1f0=_0x15468e[_0x57110f];'block'==_0x2faad8['category']&&this['_handleElementRename'](_0x2faad8['element'],_0xa3e1f0['element'],this['_path']),this['_handleElementAttributeChanges'](_0x2faad8['element'],_0xa3e1f0['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0xa3e1f0);}else{if('element'!=_0x2faad8['type']||_0x2faad8['isStart']){if('text'==_0x2faad8['type']){const _0x6d59c4=this['_path']['slice'](),_0x25027a=[],_0x2a6baa=[];for(;_0x48a689[_0x57110f]&&'text'==_0x48a689[_0x57110f]['type'];)_0x25027a['push'](_0x48a689[_0x57110f]),_0x2a6baa['push'](_0x15468e[_0x57110f]),this['_path'][this['_path']['length']-0x1]+=_0x48a689[_0x57110f]['data']['length'],_0x57110f++;_0x57110f--,this['_handleTextAttributeChanges'](_0x25027a,_0x2a6baa,_0x6d59c4);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4f10e7,_0x102bd3,_0x355424){const _0x3ce477=[],_0x42b7c0=[],_0xb9e7cc=_0x355424['slice']();let _0x4ff01c=this['_parents']['length']-0x1;for(let _0x3bbc47=0x0;_0x3bbc47<_0x4f10e7['length'];_0x3bbc47++){const _0x3c2bfc=_0x4f10e7[_0x3bbc47],_0x285806=_0x355424['slice']();'element'!=_0x3c2bfc['type']||_0x3c2bfc['isStart']?'element'==_0x3c2bfc['type']&&_0x3c2bfc['isStart']?(_0x355424['push'](0x0),_0x4ff01c++,_0x42b7c0['push']({'before':_0x285806,'after':_0x355424['slice'](),'index':_0x3bbc47})):_0x355424[_0x355424['length']-0x1]+=_0x3c2bfc['data']['length']:(_0x355424['pop'](),_0x355424[_0x355424['length']-0x1]++,_0x4ff01c--,_0x42b7c0['length']?_0x42b7c0['pop']():_0x3ce477['push']({'before':_0x285806,'after':_0x355424['slice'](),'index':_0x3bbc47}));}if(_0x42b7c0['length']!==_0x3ce477['length'])throw new _0x6ec664('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4f10e7,'isRemove':_0x102bd3});const _0x4cc82e=[{'after':_0xb9e7cc['slice'](),'index':-0x1},..._0x3ce477,..._0x42b7c0,{'before':_0x355424['slice'](),'index':_0x4f10e7['length']}];if(_0x102bd3){for(let _0x10f2c1=_0x4cc82e['length']-0x1;_0x10f2c1>=0x1;_0x10f2c1--){const _0x207eed=_0x4cc82e[_0x10f2c1-0x1]['after'],_0x355ff8=_0x4cc82e[_0x10f2c1]['before'],_0x530837=_0x355ff8[_0x355ff8['length']-0x1]-_0x207eed[_0x207eed['length']-0x1];_0x530837&&(this['_operationsData']['push']({'type':'remove','path':_0x207eed,'howMany':_0x530837}),_0x355ff8[_0x355ff8['length']-0x1]-=_0x530837);}for(const {before:_0x4ac5f0}of _0x3ce477)this['_operationsData']['push']({'type':'merge','path':_0x4ac5f0});}else for(let _0x367576=0x0;_0x367576<_0x4cc82e['length']-0x1;_0x367576++){const _0x1a6476=_0x4cc82e[_0x367576]['after'],_0xca7372=_0x4cc82e[_0x367576+0x1]['before'],_0x5c522d=_0x4cc82e[_0x367576]['index']+0x1,_0x404ca9=_0x4cc82e[_0x367576+0x1]['index'];if(_0x5c522d!==_0x404ca9&&this['_operationsData']['push']({'type':'insert','path':_0x1a6476,'tokens':_0x4f10e7['slice'](_0x5c522d,_0x404ca9)}),_0x367576<_0x3ce477['length']){this['_operationsData']['push']({'type':'split','path':_0xca7372});const _0x88d6dc=_0x4f10e7[_0x42b7c0[_0x42b7c0['length']-0x1-_0x367576]['index']],_0x136377=this['_parents'][_0x4ff01c]['element'];_0x136377['name']!=_0x88d6dc['element']['name']&&this['_addSplitPostponedData'](_0x88d6dc['element'],{'type':'rename','oldValue':_0x136377['name']});const _0x37b4a3=this['_getAttributeChanges'](_0x136377['getAttributes'](),_0x88d6dc['element']['getAttributes']());for(const _0x5461cc in _0x37b4a3){const _0x47385c=_0x37b4a3[_0x5461cc]['oldValue'];this['_addSplitPostponedData'](_0x88d6dc['element'],{'type':'attribute','key':_0x5461cc,'oldValue':_0x47385c});}}}}['_addSplitPostponedData'](_0x170f3e,_0x11b1ca){const _0xa191d5=this['_splitPostponedData']['get'](_0x170f3e)||[];_0xa191d5['push'](_0x11b1ca),this['_splitPostponedData']['set'](_0x170f3e,_0xa191d5);}['_traverseOverItem'](_0x4d37a2){'element'==_0x4d37a2['type']&&_0x4d37a2['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4d37a2)):'element'!=_0x4d37a2['type']||_0x4d37a2['isStart']?'text'==_0x4d37a2['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4d37a2['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x2be1a6,_0x484e3b,_0x4f232d){_0x2be1a6['name']!=_0x484e3b['name']&&this['_operationsData']['push']({'type':'rename','path':_0x4f232d['slice'](),'oldName':_0x2be1a6['name'],'newName':_0x484e3b['name']});}['_handleElementAttributeChanges'](_0x2b7e8b,_0x15109f,_0x3e6624){const _0x3b94dd=this['_getAttributeChanges'](_0x2b7e8b['getAttributes'](),_0x15109f['getAttributes']());for(const _0x21e7fe in _0x3b94dd){const {oldValue:_0x11225f,newValue:_0x12dc10}=_0x3b94dd[_0x21e7fe];this['_operationsData']['push']({'type':'attribute','path':_0x3e6624['slice'](),'howMany':0x1,'key':_0x21e7fe,'oldValue':_0x11225f,'newValue':_0x12dc10});}}['_handleTextAttributeChanges'](_0x168b8b,_0x1a280f,_0x1dac30){const _0x2f7a87=this['_operationsData'],_0x114e46=_0x168b8b[0x0]['parent'],_0x56c817=_0x168b8b[0x0]['offset'],_0x1cd700=_0x1a280f[0x0]['parent'],_0x59c5b5=_0x1a280f[0x0]['offset'],_0x1992b9=_0x168b8b['reduce']((_0x54828a,_0xc93902)=>_0x54828a+_0xc93902['data']['length'],0x0),_0x54652a=this['_getAttrsForOffsets'](_0x114e46,_0x56c817,_0x1992b9),_0x205c98=this['_getAttrsForOffsets'](_0x1cd700,_0x59c5b5,_0x1992b9),_0x340c39={};for(let _0x376502=0x0;_0x376502<_0x1992b9;_0x376502++){const _0x5811a6=_0x54652a[_0x56c817+_0x376502],_0x3950e7=_0x205c98[_0x59c5b5+_0x376502],_0x18e924=this['_getAttributeChanges'](_0x5811a6,_0x3950e7);for(const _0xd00201 in _0x340c39)_0x18e924[_0xd00201]||_0x385852(_0xd00201);for(const _0x3b330c in _0x18e924){const {oldValue:_0x580b79,newValue:_0x26be2f}=_0x18e924[_0x3b330c],_0x1e1300=_0x340c39[_0x3b330c];_0x1e1300?_0x1e1300['oldValue']==_0x580b79&&_0x1e1300['newValue']==_0x26be2f?_0x1e1300['length']++:(_0x385852(_0x3b330c),_0x340c39[_0x3b330c]={'oldValue':_0x580b79,'newValue':_0x26be2f,'start':_0x376502,'length':0x1}):_0x340c39[_0x3b330c]={'oldValue':_0x580b79,'newValue':_0x26be2f,'start':_0x376502,'length':0x1};}}for(const _0x5d083b in _0x340c39)_0x385852(_0x5d083b);function _0x385852(_0x45918f){const _0x6cbaeb=_0x340c39[_0x45918f],_0x56bfb8=_0x1dac30['slice']();_0x56bfb8[_0x56bfb8['length']-0x1]+=_0x6cbaeb['start'],_0x2f7a87['push']({'type':'attribute','path':_0x56bfb8,'howMany':_0x6cbaeb['length'],'key':_0x45918f,'oldValue':_0x6cbaeb['oldValue'],'newValue':_0x6cbaeb['newValue']}),delete _0x340c39[_0x45918f];}}['_getAttributeChanges'](_0x5c6736,_0x23cb47){const _0x1bd9e7={};for(const [_0x3367b7,_0x28243c]of _0x5c6736)_0x1bd9e7[_0x3367b7]={'oldValue':JSON['stringify'](_0x28243c),'newValue':'null'};for(const [_0x5de0b7,_0x4705c2]of _0x23cb47){const _0x1c3229=JSON['stringify'](_0x4705c2);_0x1bd9e7[_0x5de0b7]?_0x1bd9e7[_0x5de0b7]['oldValue']==_0x1c3229?delete _0x1bd9e7[_0x5de0b7]:_0x1bd9e7[_0x5de0b7]['newValue']=_0x1c3229:_0x1bd9e7[_0x5de0b7]={'oldValue':'null','newValue':_0x1c3229};}return delete _0x1bd9e7[Yt],_0x1bd9e7;}['_getAttrsForOffsets'](_0x215d07,_0x5cbc47,_0x55e894){const _0x411847=new Array(_0x5cbc47+_0x55e894);let _0x31d8e6=_0x215d07['getChildAtOffset'](_0x5cbc47),_0x2f9c73=_0x31d8e6['startOffset'];for(;_0x31d8e6&&_0x2f9c73<_0x5cbc47+_0x55e894;){const _0x1c63bc=Array['from'](_0x31d8e6['getAttributes']());_0x411847['fill'](_0x1c63bc,_0x2f9c73,_0x2f9c73+_0x31d8e6['offsetSize']),_0x2f9c73+=_0x31d8e6['offsetSize'],_0x31d8e6=_0x31d8e6['nextSibling'];}return _0x411847;}['_getPositionFromAnchorAndPath'](_0x568e55,_0x499517){const _0x25f1b5=[..._0x568e55['path']['slice'](0x0,-0x1),_0x568e55['offset']+_0x499517[0x0],..._0x499517['slice'](0x1)];return new _0x1ac02b(_0x568e55['root'],_0x25f1b5);}['_makeModelFromTokens'](_0x39a5cf){const _0x5a03ce=[];let _0x34f17f=null;for(const _0x1e3690 of _0x39a5cf)if('element'!=_0x1e3690['type']||_0x1e3690['isStart']||_0x34f17f!=_0x1e3690['element']){if(!_0x34f17f){if('text'==_0x1e3690['type']){const _0x2fca34=_0x1ac02b['_createAt'](_0x1e3690['parent'],_0x1e3690['offset']),_0x4aa1c4=_0x230735['_createFromPositionAndShift'](_0x2fca34,_0x1e3690['data']['length']),_0x2c3add=Array['from'](_0x4aa1c4['getItems']())['map'](_0x34b15c=>new _0x3e563e(_0x34b15c['data'],_0x34b15c['getAttributes']()));_0x5a03ce['push'](..._0x2c3add);}else{_0x34f17f=_0x1e3690['element'];const _0xdadf70=_0x1e3690['element']['_clone'](!0x0);_0xdadf70['_removeAttribute'](Yt);for(const _0xaa1298 of this['_editor']['model']['createRangeIn'](_0xdadf70)['getItems']())_0xaa1298['is']('element')&&_0xaa1298['_removeAttribute'](Yt);_0x5a03ce['push'](_0xdadf70);}}}else _0x34f17f=null;return _0x5a03ce;}};function Kt(_0x14388c,_0x3598dc){return _0x14388c['type']===_0x3598dc['type']&&(_0x14388c['limitId']===_0x3598dc['limitId']&&('text'==_0x14388c['type']?_0x14388c['data']==_0x3598dc['data']:function(_0x5315ce,_0x1418aa){if(_0x5315ce['isStart']!=_0x1418aa['isStart'])return!0x1;if(_0x5315ce['isStart']&&_0x5315ce['elementId']!=_0x1418aa['elementId'])return!0x1;if(_0x5315ce['category']!=_0x1418aa['category'])return!0x1;if('block'==_0x5315ce['category'])return!0x0;if('container'==_0x5315ce['category']&&_0x5315ce['elementId']!=_0x1418aa['elementId'])return!0x1;return _0x5315ce['element']['name']==_0x1418aa['element']['name'];}(_0x14388c,_0x3598dc)));}function qt(_0x5b5121){return Tt({'name':_0x5b5121['name'],...Object['fromEntries'](_0x5b5121['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,Yt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Jt as DocumentCompare,Gt as DocumentDiff,Ht as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,D as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,O as Users,G as fixElementSuggestionRange,xt as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,It as getMarkerDomElement,Tt as hashObject,Rt as sanitizeEditorConfig,Ut as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ft as surroundingMarkersDetector,St as trimHtml};
|
|
23
|
+
import{ContextPlugin as _0x5e05e2,Editor as _0x532538,Plugin as _0x31f146}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x501c18,Collection as _0x503bcc,FocusTracker as _0x41baba,KeystrokeHandler as _0x3bbbc7,first as _0x115a81,toArray as _0x40bd70,uid as _0x2eb254}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4b9cd5,DropdownButtonView as _0x46de4c,FocusCycler as _0xb82bd0,IconView as _0x40106c,View as _0x432e24,isViewWithFocusCycler as _0x46f719}from'@ckeditor/ckeditor5-ui';import{IconCancel as _0x19eec1,IconCheck as _0x37210a,IconNotification as _0x26aaf9}from'@ckeditor/ckeditor5-icons';import{setHighlightHandling as _0x120915,toWidget as _0x2c4f00}from'@ckeditor/ckeditor5-widget';import{DateTime as _0x213c3b}from'luxon';import{AttributeOperation as _0x5063c0,InsertOperation as _0x37e37d,MarkerOperation as _0x3b18d1,MergeOperation as _0x5cf014,ModelPosition as _0x225212,ModelRange as _0x256270,ModelText as _0x361f16,ModelTreeWalker as _0xfa92d9,MoveOperation as _0x1a6872,RenameOperation as _0x513892,SplitOperation as _0x92c43d}from'@ckeditor/ckeditor5-engine';import{diffArrays as _0x112830}from'diff';var D=class extends _0x5e05e2{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x47bf82,_0x4917a2){let _0x513d60;if(_0x4917a2||(_0x4917a2=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4917a2?_0x513d60=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x513d60=this['context']['editors']['find'](_0x43dbae=>_0x43dbae['config']['get']('collaboration.channelId')==_0x4917a2)),!_0x513d60)throw new _0x501c18('permissions-set-permissions-invalid-channel-id',null);const _0x11ed06=_0x513d60['plugins'],_0x5dfc75=_0x11ed06['has']('CommentsRepository')?_0x11ed06['get']('CommentsRepository'):void 0x0,_0x48460=_0x11ed06['has']('CommentsOnly')&&_0x11ed06['get']('CommentsOnly'),_0x4fc5da=_0x47bf82['includes']('document:write'),_0x4185b2=_0x47bf82['includes']('comment:modify_all'),_0x22aec9=_0x47bf82['includes']('comment:admin'),_0x18bddc=_0x47bf82['includes']('comment:write'),_0x560e20=_0x18bddc||_0x22aec9,_0x77d1ac=_0x560e20||_0x4185b2,_0x8f4d0e=_0x4fc5da||_0x560e20;if(_0x48460&&(_0x48460['isEnabled']=!_0x4fc5da&&_0x77d1ac),_0x513d60 instanceof _0x532538&&(_0x4fc5da||_0x77d1ac&&_0x5dfc75?_0x513d60['disableReadOnlyMode']('no-permissions'):_0x513d60['enableReadOnlyMode']('no-permissions')),_0x5dfc75){_0x5dfc75['setPermissions']({'admin':_0x22aec9,'modifyAll':_0x4185b2,'write':_0x18bddc,'resolve':_0x8f4d0e},_0x4917a2);const _0x12ead9=_0x513d60 instanceof _0x532538&&_0x513d60['commands']['get']('addCommentThread');_0x12ead9&&(_0x560e20?_0x12ead9['clearForceDisabled']('noPermissions'):_0x12ead9['forceDisabled']('noPermissions'));}}};function $(_0x37907c,_0x5bf1aa){const t=_0x37907c['t'];switch(_0x5bf1aa){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 O=class extends _0x5e05e2{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[D];}constructor(_0x58df78){super(_0x58df78),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x503bcc(),this['_locale']=_0x58df78['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:_0x4c0622,name:_0x3e74d8,..._0x20e1d0}){if(!_0x4c0622||'string'!=typeof _0x4c0622)throw new _0x501c18('users-add-invalid-id');if(this['users']['has'](_0x4c0622))throw new _0x501c18('users-add-duplicated-id',null,{'id':_0x4c0622});const _0x5378e6=this['context']['config']['get']('users.getInitialsCallback'),_0x96d555={..._0x20e1d0,'id':_0x4c0622,'name':R(this['_locale'],_0x3e74d8),'color':this['_getNextColor']()};_0x96d555['name']=R(this['_locale'],_0x96d555['name']);const _0x25c7dc=new L(_0x96d555,_0x5378e6);return this['users']['add'](_0x25c7dc),_0x25c7dc;}['getUser'](_0x157a8c){return this['users']['get'](_0x157a8c);}['useAnonymousUser'](){const _0x5baca6=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5baca6);}['defineMe'](_0x347945){if(this['_myId'])throw new _0x501c18('users-me-already-defined',null);const _0xbba555=this['getUser'](_0x347945);if(!_0xbba555)throw new _0x501c18('users-me-missing-user',null);this['_myId']=_0x347945,_0xbba555['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x154e84=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x154e84&&(this['_lastColor']=0x0),new F(this['_lastColor']++);}['_addAnonymousUser'](){const _0x2a1de6=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x2a1de6,'name':$(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},L=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2d1119,_0x5b6c5d){this['id']=_0x2d1119['id'],this['color']=_0x2d1119['color'],this['name']=_0x2d1119['name'],this['initials']=_0x5b6c5d?_0x5b6c5d(this['name']):this['_computeInitials'](),this['avatar']=_0x2d1119['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x334b96=this['name']['split']('\x20')['filter'](_0xbf53be=>/^[\p{Letter}]/u['test'](_0xbf53be));return 0x1===_0x334b96['length']?this['_getInitial'](_0x334b96[0x0]):0x0===_0x334b96['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x334b96[0x0])+this['_getInitial'](_0x334b96[_0x334b96['length']-0x1]);}['_getInitial'](_0xbd23ec){return String['fromCodePoint'](_0xbd23ec['codePointAt'](0x0))['toUpperCase']();}};function R(_0x3a9666,_0x40a93b=''){return''==(_0x40a93b=_0x40a93b['trim']())?$(_0x3a9666,'Anonymous'):_0x40a93b;}var F=class{['_id'];constructor(_0x32a634){this['_id']=_0x32a634;}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 _0x432e24{['name'];['notificationView'];constructor(_0x4dc11b,_0x220479,_0x9954fe,_0x1730a7){super(_0x4dc11b),this['name']=_0x220479['name'],this['notificationView']=null;const _0x369445=['ck','ck-user'],_0x37ca97=['ck','ck-user__img'];_0x220479['isAnonymous']&&_0x37ca97['push']('ck-user__anonymous'),!_0x220479['isAnonymous']&&_0x220479['isMe']&&_0x369445['push']('ck-user_me'),(_0x220479['avatar']||_0x1730a7)&&_0x37ca97['push']('ck-user__avatar');let _0xb633aa=null;if(_0x1730a7&&(_0xb633aa=new _0x40106c(),_0xb633aa['content']=_0x1730a7,_0xb633aa['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x9954fe){const _0x53ca60=new _0x40106c();_0x53ca60['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x53ca60['content']=_0x26aaf9,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x9954fe},'children':[_0x53ca60]};}const _0x38c0b0=[{'tag':'div','attributes':{'class':_0x37ca97,'style':{'background-image':_0x220479['avatar']&&!_0x1730a7?'url(\x27'+_0x220479['avatar']+'\x27)':''}},'children':_0xb633aa?[_0xb633aa]:[]},{'tag':'div','attributes':{'class':_0x220479['avatar']||_0x1730a7?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x220479['name']},'children':[{'text':_0x220479['initials']}]}];this['notificationView']&&_0x38c0b0['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x369445,'data-user-id':_0x220479['id']},'children':_0x38c0b0});}},U=class extends _0x432e24{['children'];['iconView'];['labelView'];constructor(_0x28e4e6){super(_0x28e4e6);const _0x5531bb=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',_0x5531bb['to']('class'),_0x5531bb['to']('iconPosition',_0x5257ab=>'right'===_0x5257ab?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x5531bb['to']('tooltip'),'data-cke-tooltip-position':_0x5531bb['to']('tooltipPosition'),'data-cke-tooltip-class':_0x5531bb['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x2f8a1f,_0x482fa5,_0x4b9120,_0x282cf6)=>{_0x4b9120&&!_0x282cf6?this['children']['add'](this['iconView'],0x0):!_0x4b9120&&_0x282cf6&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x5579a8=new _0x40106c();return _0x5579a8['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5579a8['bind']('content')['to'](this,'icon'),_0x5579a8;}['_createLabelView'](){const _0x30e49c=new _0x432e24(this['locale']),_0x3ae6db=this['bindTemplate'];return _0x30e49c['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x3ae6db['to']('label')}]}),_0x30e49c;}},z=class extends _0x432e24{['id'];constructor(_0x30adf5,_0x5c60d3){super(_0x30adf5),this['id']='ck-aria-description-'+_0x2eb254(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x5c60d3}]});}},W=class extends _0x4b9cd5{['render'](){super['render'](),j(this);}},Y=class extends _0x46de4c{['render'](){super['render'](),j(this);}};function j(_0xeb59cf){_0xeb59cf['listenTo'](_0xeb59cf['element'],'mousedown',(_0x4ecdd3,_0x47c0ad)=>{_0x47c0ad['stopPropagation'](),_0x47c0ad['preventDefault']();}),_0xeb59cf['listenTo'](_0xeb59cf['element'],'mouseup',()=>{_0xeb59cf['element']['focus']();});}function J(_0x5e27f2){const _0x4913b9=_0x5e27f2['split'](':');return{'group':_0x4913b9[0x0],'type':_0x4913b9[0x1],'subType':_0x4913b9['length']>=0x5?_0x4913b9[0x2]:null,'id':_0x4913b9['length']<0x5?_0x4913b9[0x2]:_0x4913b9[0x3],'authorId':_0x4913b9['length']<0x5?_0x4913b9[0x3]:_0x4913b9[0x4],'markerCount':0x6==_0x4913b9['length']?_0x4913b9[0x5]:null};}function G(_0x372c83,_0x437120){const _0x2693ee=_0x372c83['end']['nodeBefore'];if(_0x2693ee&&_0x2693ee['is']('element')&&_0x437120['schema']['isBlock'](_0x2693ee)&&!_0x437120['schema']['isObject'](_0x2693ee)){const _0x2fd6aa=_0x437120['createPositionAt'](_0x2693ee,'end');return _0x437120['createRange'](_0x372c83['start'],_0x2fd6aa);}return _0x372c83;}var K=class extends _0x31f146{['afterInit'](){const _0x284868=this['editor'];_0x284868['plugins']['has']('AlignmentEditing')&&_0x284868['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const q=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var Z=class extends _0x31f146{['afterInit'](){const _0x71fcf6=this['editor'],_0x8004ef=_0x71fcf6['plugins']['get']('SuggestionsConversion');for(const _0x5abe40 of q){if(!_0x71fcf6['plugins']['has'](_0x5abe40))continue;const _0x5b99f9=_0x5abe40['slice'](0x0,-0x7)['toLowerCase']();_0x8004ef['registerInlineAttribute'](_0x5b99f9);}}},Q=class extends _0x31f146{['afterInit'](){const _0x2c9699=this['editor'],_0x26b04f=_0x2c9699['plugins']['get']('SuggestionsConversion');_0x2c9699['plugins']['has']('BookmarkEditing')&&_0x26b04f['registerBlockAttribute']('bookmarkId');}};const X=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var tt=class extends _0x31f146{['afterInit'](){const _0x20cde5=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x21ed63,commandName:_0x2900e4}of X)this['editor']['plugins']['has'](_0x21ed63)&&_0x20cde5['registerInlineAttribute'](_0x2900e4);}},et=class extends _0x31f146{['afterInit'](){const {editor:_0x28e67c}=this;if(!_0x28e67c['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x367ee4=_0x28e67c['plugins']['get']('SuggestionsConversion');_0x367ee4['registerBlockAttribute']('footnotesListStyle'),_0x367ee4['registerBlockAttribute']('footnotesListStart');}},st=class extends _0x31f146{['afterInit'](){const _0x422e20=this['editor'];if(!_0x422e20['plugins']['has']('GeneralHtmlSupport')||!_0x422e20['plugins']['has']('DataSchema'))return;const _0x6b919f=_0x422e20['plugins']['get']('SuggestionsConversion'),_0x41b3c6=_0x422e20['plugins']['get']('GeneralHtmlSupport'),_0x350c21=_0x422e20['plugins']['get']('DataSchema');for(const _0xd2ee8b of _0x350c21['getDefinitionsForView'](/.*/,!0x1)){const _0xbf77ce=_0x41b3c6['getGhsAttributeNameForElement'](_0xd2ee8b['view']);!_0xd2ee8b['isInline']||_0xd2ee8b['isObject']||'appliesToBlock'in _0xd2ee8b&&_0xd2ee8b['appliesToBlock']?_0x6b919f['registerBlockAttribute'](_0xbf77ce):_0x6b919f['registerInlineAttribute'](_0xbf77ce);}}},it=class extends _0x31f146{['afterInit'](){const _0x275405=this['editor'];_0x275405['plugins']['has']('HighlightEditing')&&_0x275405['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},nt=class extends _0x31f146{['afterInit'](){const _0x3d158d=this['editor'];_0x3d158d['plugins']['has']('HtmlEmbed')&&_0x3d158d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},ot=class extends _0x31f146{['afterInit'](){const _0x5d0b95=this['editor'];if(!_0x5d0b95['plugins']['has']('ImageEditing'))return;const _0x5d33c4=_0x5d0b95['plugins']['get']('SuggestionsConversion');_0x5d33c4['registerBlockAttribute']('src'),_0x5d0b95['plugins']['has']('ImageResize')&&_0x5d33c4['registerBlockAttribute']('resizedWidth'),_0x5d0b95['plugins']['has']('ImageTextAlternativeEditing')&&_0x5d33c4['registerBlockAttribute']('alt'),_0x5d0b95['plugins']['has']('PictureEditing')&&_0x5d33c4['registerBlockAttribute']('sources'),_0x5d0b95['plugins']['has']('ImageSizeAttributes')&&(_0x5d33c4['registerBlockAttribute']('width'),_0x5d33c4['registerBlockAttribute']('height'));}},rt=class extends _0x31f146{['afterInit'](){const _0x3470ee=this['editor'],_0x31fd57=_0x3470ee['plugins']['get']('SuggestionsConversion');_0x3470ee['plugins']['has']('IndentBlock')&&(_0x31fd57['registerBlockAttribute']('blockIndent'),_0x3470ee['plugins']['has']('ListEditing')&&(_0x31fd57['registerBlockAttribute']('blockIndentList'),_0x31fd57['registerBlockAttribute']('blockIndentListItem')));}},at=class extends _0x31f146{['afterInit'](){const _0x2dedaf=this['editor'];_0x2dedaf['plugins']['has']('LineHeight')&&_0x2dedaf['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},ct=class extends _0x31f146{['afterInit'](){const _0x503a2e=this['editor'];if(!_0x503a2e['plugins']['has']('LinkEditing'))return;const _0x3aa72f=_0x503a2e['plugins']['get']('SuggestionsConversion'),_0x5ec858=_0x503a2e['commands']['get']('link');_0x3aa72f['registerInlineAttribute']('linkHref');for(const _0x50c774 of _0x5ec858['manualDecorators'])_0x3aa72f['registerInlineAttribute'](_0x50c774['id']);}},lt=class extends _0x31f146{['afterInit'](){const _0x23c822=this['editor'];if(!_0x23c822['plugins']['has']('ListEditing'))return;const _0x22be3e=_0x23c822['plugins']['get']('SuggestionsConversion'),_0x210094=_0x23c822['plugins']['has']('TodoListEditing');_0x22be3e['registerBlockAttribute']('listItemId'),_0x22be3e['registerBlockAttribute']('listType'),_0x22be3e['registerBlockAttribute']('listIndent'),_0x210094&&_0x22be3e['registerBlockAttribute']('todoListChecked');}},ht=class extends _0x31f146{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x4c8461=this['editor']['config']['get']('list.properties'),_0x45a410=this['editor']['plugins']['get']('SuggestionsConversion');_0x4c8461['styles']&&_0x45a410['registerBlockAttribute']('listStyle'),_0x4c8461['reversed']&&_0x45a410['registerBlockAttribute']('listReversed'),_0x4c8461['startIndex']&&_0x45a410['registerBlockAttribute']('listStart');}},ut=class extends _0x31f146{['afterInit'](){const _0x200146=this['editor'],_0x54006c=_0x200146['plugins']['get']('SuggestionsConversion');_0x200146['plugins']['has']('MultiLevelList')&&_0x54006c['registerBlockAttribute']('listMarkerStyle');}},dt=class extends _0x31f146{['afterInit'](){const _0x46befb=this['editor'];if(!_0x46befb['plugins']['has']('TableEditing'))return;const _0x14dd4b=_0x46befb['plugins']['get']('SuggestionsConversion');_0x14dd4b['registerBlockAttribute']('headingRows'),_0x14dd4b['registerBlockAttribute']('headingColumns');}},gt=class extends _0x31f146{['afterInit'](){const {plugins:_0x1a6300}=this['editor'];if(!_0x1a6300['has']('TablePropertiesEditing'))return;const _0x174f8e=_0x1a6300['get']('SuggestionsConversion');for(const _0x3f9078 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x174f8e['registerBlockAttribute'](_0x3f9078);}},ft=class extends _0x31f146{['afterInit'](){const _0x2dd5ed=this['editor'],_0x24f451=_0x2dd5ed['plugins']['get']('SuggestionsConversion');_0x2dd5ed['plugins']['has']('TableLayout')&&_0x24f451['registerBlockAttribute']('tableType');}},mt=class extends _0x31f146{['afterInit'](){const _0x153a86=this['editor'],_0x4eefc6=this['editor']['plugins']['get']('SuggestionsConversion');_0x153a86['plugins']['has']('Uploadcare')&&_0x153a86['plugins']['has']('UploadcareImageEdit')&&_0x4eefc6['registerBlockAttribute']('uploadcareImageId');}},pt=class extends _0x31f146{['afterInit'](){const _0x5446b4=this['editor'];if(!_0x5446b4['plugins']['has']('ShiftEnter'))return;const _0x5b50c1=_0x5446b4['plugins']['get']('SuggestionsConversion'),_0x6c2456=(_0x38a366,_0x12fa62,_0x41bfb3,_0x3fa2e9)=>{if(_0x3fa2e9&&!_0x41bfb3['options']['showSuggestionHighlights'])return;if(!_0x41bfb3['consumable']['test'](_0x12fa62['markerRange'],_0x38a366['name']))return;const _0x5691dc=_0x5446b4['model'];for(const _0xdc7926 of _0x12fa62['markerRange']['getItems']()){if(!_0xdc7926['is']('element','softBreak'))continue;const _0x194630='deletion'==_0x12fa62['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x3c5281,authorId:_0x154e18}=J(_0x12fa62['markerName']),_0x43aba0=_0x41bfb3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x194630,'data-suggestion':_0x3c5281,'data-author-id':_0x154e18}),_0x589bcb=_0x41bfb3['mapper']['toViewPosition'](_0x5691dc['createPositionBefore'](_0xdc7926));!_0x3fa2e9&&_0x5b50c1['_activeMarkers']['includes'](_0x12fa62['markerName'])&&_0x41bfb3['writer']['addClass']('ck-suggestion-marker--active',_0x43aba0),_0x41bfb3['writer']['insert'](_0x589bcb,_0x43aba0),_0x41bfb3['mapper']['bindElementToMarker'](_0x43aba0,_0x12fa62['markerName']);}};_0x5446b4['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x42ba11,_0x1670e9,_0x57893a)=>{_0x6c2456(_0x42ba11,_0x1670e9,_0x57893a,!0x1);},{'priority':'high'}),_0x5446b4['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x5ec323,_0x1934b9,_0x49074d)=>{_0x6c2456(_0x5ec323,_0x1934b9,_0x49074d,!0x1);},{'priority':'high'}),_0x5446b4['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xaf374f,_0x4da0d8,_0x1af4d6)=>{_0x6c2456(_0xaf374f,_0x4da0d8,_0x1af4d6,!0x0);},{'priority':'high'}),_0x5446b4['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x10d15c,_0xb73d51,_0x491175)=>{_0x6c2456(_0x10d15c,_0xb73d51,_0x491175,!0x0);},{'priority':'high'});}},kt=class extends _0x31f146{['afterInit'](){const _0x3022ab=this['editor'];if(!_0x3022ab['plugins']['has']('MediaEmbedEditing'))return;const _0x56061b=_0x3022ab['plugins']['get']('SuggestionsConversion');_0x3022ab['plugins']['has']('MediaEmbedResizeEditing')&&_0x56061b['registerBlockAttribute']('resizedWidth'),_0x3022ab['plugins']['has']('MediaEmbedStyleEditing')&&_0x56061b['registerBlockAttribute']('mediaStyle'),_0x3022ab['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3077e7,{writer:_0x14aea2,options:_0x3d431f})=>{if(_0x3d431f['showSuggestionHighlights'])return _0x14aea2['createEmptyElement']('div');},'converterPriority':'high'}),_0x3022ab['data']['downcastDispatcher']['on']('attribute:url:media',(_0x4f80e0,_0x465fe2,_0x38e421)=>{_0x38e421['options']['showSuggestionHighlights']&&_0x4f80e0['stop']();},{'priority':'high'});}},yt=class extends _0x31f146{['afterInit'](){const _0x987f5e=this['editor'];if(!_0x987f5e['plugins']['has']('Table'))return;_0x987f5e['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x34d3d7,_0x3737b6,_0x443930)=>{((_0x4e84ae,_0x39d0bc,_0x3be519)=>{if(!_0x3be519['options']['showSuggestionHighlights'])return;const _0x233df8=_0x39d0bc['item'];if(!_0x233df8||!_0x233df8['is']('element','tableCell'))return;const _0x16360a=_0x3be519['mapper']['toViewElement'](_0x233df8);if(_0x16360a){const {id:_0x55fa43,authorId:_0x4fefb8}=J(_0x39d0bc['markerName']);_0x120915(_0x16360a,_0x3be519['writer'],(_0x52fdba,_0x36dda5,_0x26b80c)=>{_0x26b80c['addClass'](_0x40bd70(_0x36dda5['classes']),_0x52fdba),_0x26b80c['setAttribute']('data-suggestion',_0x55fa43,_0x52fdba),_0x26b80c['setAttribute']('data-author-id',_0x4fefb8,_0x52fdba);});}})(0x0,_0x3737b6,_0x443930);},{'priority':'highest'});}},bt=class extends _0x31f146{['afterInit'](){const _0x1fdd0f=this['editor'];_0x1fdd0f['plugins']['has']('HorizontalLineEditing')&&_0x1fdd0f['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x34f3af,{writer:_0x4f7800,options:_0x4e5da7})=>{if(!_0x4e5da7['showSuggestionHighlights'])return null;const _0x581899=_0x4f7800['createContainerElement']('div'),_0x3a6035=_0x4f7800['createEmptyElement']('hr');return _0x4f7800['addClass']('ck-horizontal-line',_0x581899),_0x4f7800['insert'](_0x4f7800['createPositionAt'](_0x581899,0x0),_0x3a6035),_0x581899;},'converterPriority':'high'});}},wt=class extends _0x31f146{['afterInit'](){const {plugins:_0x10c663,model:_0x2983ea}=this['editor'];if(!_0x10c663['has']('TableCellPropertiesEditing'))return;const _0x573cb0=_0x10c663['get']('SuggestionsConversion');for(const _0x22c0c8 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x573cb0['registerBlockAttribute'](_0x22c0c8);_0x2983ea['schema']['checkAttribute']('tableCell','tableCellType')&&_0x573cb0['registerBlockAttribute']('tableCellType');}},vt=class extends _0x31f146{['afterInit'](){const _0x186ec2=this['editor'];_0x186ec2['plugins']['has']('TableEditing')&&_0x186ec2['config']['get']('table.enableFooters')&&_0x186ec2['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},Ct=class extends _0x31f146{['_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 _0x13c6ff=this['editor'],_0x650a56=(_0x4044a5,_0x35f839,_0xe77525)=>{const {id:_0x2aea75,authorId:_0x2c92c8,type:_0x711b47,subType:_0x502c32}=J(_0x4044a5['markerName']),_0x4b174f=['ck-suggestion-marker',this['_getClassName'](_0x711b47,_0x502c32)];let _0x1fd66c=0xbb8;return _0xe77525||this['_activeMarkers']['includes'](_0x4044a5['markerName'])&&(_0x4b174f['push']('ck-suggestion-marker--active'),_0x1fd66c=0xbc2),'deletion'==_0x711b47&&(_0x1fd66c+=0x5),{'classes':_0x4b174f,'attributes':{'data-suggestion':_0x2aea75,'data-author-id':_0x2c92c8},'priority':_0x1fd66c};};_0x13c6ff['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x4efe04,_0x47e0ea)=>_0x650a56(_0x4efe04,0x0,!0x1)}),_0x13c6ff['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x223161,_0x46988e)=>_0x650a56(_0x223161,0x0,!0x0)}),_0x13c6ff['conversion']['for']('dataDowncast')['add'](_0x77f041=>{_0x77f041['on']('addMarker:suggestion',(_0x142837,_0x10ec59,_0x4e1fb2)=>{if(!_0x4e1fb2['options']['showSuggestionHighlights'])return;const _0x4b33ac=_0x10ec59['item'];if(!_0x4b33ac)return;const _0xe6e7d6=_0x4e1fb2['mapper']['toViewElement'](_0x4b33ac);_0x13c6ff['model']['schema']['isObject'](_0x4b33ac)&&_0xe6e7d6&&!_0xe6e7d6['getCustomProperty']('widget')&&_0xe6e7d6['is']('containerElement')&&_0x2c4f00(_0xe6e7d6,_0x4e1fb2['writer']);},{'priority':'high'});});const _0x191a5d=(_0xfb820a,_0x5805ff,_0x462110,_0x265296,_0x48311b)=>{if(_0x265296&&!_0x462110['options']['showSuggestionHighlights'])return;if(!_0x5805ff['item'])return;const {id:_0x20e507,authorId:_0x3f5cf7,subType:_0x46746d}=J(_0x5805ff['markerName']);if(_0x48311b){const _0x5cb361=_0x46746d['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5cb361))return;}if(_0x5805ff['item']['is']('selection'))return void _0x462110['consumable']['consume'](_0x5805ff['item'],_0xfb820a['name']);const _0x4df8de=_0x462110['mapper']['toViewElement'](_0x5805ff['item']);if(_0x5805ff['item']['is']('element')&&_0x13c6ff['model']['schema']['isBlock'](_0x5805ff['item'])&&!_0x4df8de['getCustomProperty']('addHighlight')){_0x462110['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x4df8de),_0x462110['writer']['setAttribute']('data-suggestion',_0x20e507,_0x4df8de),_0x462110['writer']['setAttribute']('data-author-id',_0x3f5cf7,_0x4df8de),_0x462110['mapper']['bindElementToMarker'](_0x4df8de,_0x5805ff['markerName']),_0x265296||(this['_activeMarkers']['includes'](_0x5805ff['markerName'])?_0x462110['writer']['addClass']('ck-suggestion-marker--active',_0x4df8de):_0x462110['writer']['removeClass']('ck-suggestion-marker--active',_0x4df8de));for(const _0x201abe of _0x13c6ff['model']['createRangeIn'](_0x5805ff['item'])['getItems']())_0x462110['consumable']['consume'](_0x201abe,_0xfb820a['name']);_0x462110['consumable']['consume'](_0x5805ff['item'],_0xfb820a['name']);}},_0x39331e=(_0x76a520,_0x3eb8f5,_0x1fea35,_0x6f564f)=>{const _0x5b906d=_0x1fea35['mapper']['markerNameToElements'](_0x3eb8f5['markerName']);if(_0x5b906d){if(_0x6f564f){const {subType:_0x42e5dc}=J(_0x3eb8f5['markerName']),_0x5287ef=_0x42e5dc['split']('|')[0x0];if(!this['isBlockAttribute'](_0x5287ef))return;}for(const _0xdb1c61 of _0x5b906d)_0xdb1c61['getCustomProperty']('addHighlight')||(_0x1fea35['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0xdb1c61),_0x1fea35['writer']['removeAttribute']('data-suggestion',_0xdb1c61),_0x1fea35['writer']['removeAttribute']('data-author-id',_0xdb1c61),_0x1fea35['mapper']['unbindElementFromMarkerName'](_0xdb1c61,_0x3eb8f5['markerName']));}};_0x13c6ff['conversion']['for']('editingDowncast')['add'](_0x316fab=>{_0x316fab['on']('addMarker:suggestion:formatBlock',(_0x540fe5,_0x248aa2,_0x34bc25)=>{_0x191a5d(_0x540fe5,_0x248aa2,_0x34bc25,!0x1,!0x1);},{'priority':'high'});}),_0x13c6ff['conversion']['for']('editingDowncast')['add'](_0x5dd0c2=>{_0x5dd0c2['on']('addMarker:suggestion:attribute',(_0x37f213,_0x26d955,_0x1dcdf5)=>{_0x191a5d(_0x37f213,_0x26d955,_0x1dcdf5,!0x1,!0x0);},{'priority':'high'});}),_0x13c6ff['conversion']['for']('editingDowncast')['add'](_0x447e9a=>{_0x447e9a['on']('removeMarker:suggestion:formatBlock',(_0x919997,_0x27511e,_0x117cf8)=>{_0x39331e(0x0,_0x27511e,_0x117cf8,!0x1);},{'priority':'high'});}),_0x13c6ff['conversion']['for']('editingDowncast')['add'](_0x3642fb=>{_0x3642fb['on']('removeMarker:suggestion:attribute',(_0x26e7d9,_0x56a32b,_0x584468)=>{_0x39331e(0x0,_0x56a32b,_0x584468,!0x0);},{'priority':'high'});}),_0x13c6ff['conversion']['for']('dataDowncast')['add'](_0x183046=>{_0x183046['on']('addMarker:suggestion:formatBlock',(_0x2840cc,_0x14f787,_0x1e1f09)=>{_0x191a5d(_0x2840cc,_0x14f787,_0x1e1f09,!0x0,!0x1);},{'priority':'highest'});}),_0x13c6ff['conversion']['for']('dataDowncast')['add'](_0x1b8935=>{_0x1b8935['on']('addMarker:suggestion:attribute',(_0x17c8e5,_0x10ffdb,_0x18d0fe)=>{_0x191a5d(_0x17c8e5,_0x10ffdb,_0x18d0fe,!0x0,!0x0);},{'priority':'highest'});}),_0x13c6ff['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0xdad84e,_0x5eb1a8)=>_0x5eb1a8['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0xdad84e['substr'](0xb)}});const _0x11ade8=(_0x2f1a6c,_0x24ba96,_0x240a3d,_0x3ea74b,_0x1f8bdd)=>{if(_0x3ea74b&&!_0x240a3d['options']['showSuggestionHighlights'])return;if(!_0x240a3d['consumable']['test'](_0x24ba96['markerRange'],_0x2f1a6c['name']))return;const _0x148206=this['_activeMarkers'],_0x5d8811=_0x24ba96['markerRange']['getWalker'](),_0x2f2f06=_0x24ba96['markerRange']['start'],_0x5a2f73=_0x13c6ff['model']['schema'];let _0x1df1e3=null,_0x166334=null,_0x384fa1=!0x1,_0x17eae2=!0x1;for(const _0x3ae275 of _0x5d8811){const _0x5b72cf=_0x3ae275['item'];_0x384fa1=_0x384fa1||_0x5a2f73['isContent'](_0x5b72cf);const _0xdad79b=_0x240a3d['mapper']['toViewElement'](_0x5b72cf);if(_0xdad79b&&_0xdad79b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3ae275['type']&&(_0x5a2f73['isBlock'](_0x5b72cf)&&!_0x5a2f73['isLimit'](_0x5b72cf)&&(_0x5b72cf['nextSibling']||_0x2f2f06['isAtEnd']?_0x1df1e3&&_0x1df1e3['parent']==_0x5b72cf||(_0x1df1e3=_0x5b72cf,_0x472808(_0x3ae275['previousPosition']),_0x17eae2=!0x0):_0x166334=_0x166334||_0x3ae275['previousPosition']));}function _0x472808(_0x22c714){const {id:_0x588cac,authorId:_0x109d9e}=J(_0x24ba96['markerName']),_0x3f3bbb=_0x240a3d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1f8bdd,'data-suggestion':_0x588cac,'data-author-id':_0x109d9e}),_0x363a7d=_0x240a3d['mapper']['toViewPosition'](_0x22c714);!_0x3ea74b&&_0x148206['includes'](_0x24ba96['markerName'])&&_0x240a3d['writer']['addClass']('ck-suggestion-marker--active',_0x3f3bbb),_0x240a3d['writer']['insert'](_0x363a7d,_0x3f3bbb),_0x240a3d['mapper']['bindElementToMarker'](_0x3f3bbb,_0x24ba96['markerName']);}_0x384fa1||_0x17eae2||!_0x166334||_0x472808(_0x166334);};_0x13c6ff['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x44c98d,_0x2d0802,_0x222042)=>{_0x11ade8(_0x44c98d,_0x2d0802,_0x222042,!0x1,'merge');},{'priority':'high'}),_0x13c6ff['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x368ffd,_0x4d7c8f,_0xeb376a)=>{_0x11ade8(_0x368ffd,_0x4d7c8f,_0xeb376a,!0x0,'merge');},{'priority':'high'}),_0x13c6ff['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3a581f,_0x4ac69a,_0x339f81)=>{_0x11ade8(_0x3a581f,_0x4ac69a,_0x339f81,!0x1,'split');},{'priority':'high'}),_0x13c6ff['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xa3572d,_0x43a0d5,_0x3be8f2)=>{_0x11ade8(_0xa3572d,_0x43a0d5,_0x3be8f2,!0x0,'split');},{'priority':'high'}),_0x13c6ff['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x5901cb,_0x372933,_0x122dd1)=>{((_0x5b9a21,_0x564d24,_0x72af1b)=>{const _0x201075=_0x72af1b['mapper']['markerNameToElements'](_0x564d24['markerName']);if(_0x201075){for(const _0x35f40c of _0x201075)(_0x35f40c['hasClass']('ck-suggestion-marker-split')||_0x35f40c['hasClass']('ck-suggestion-marker-merge'))&&(_0x72af1b['mapper']['unbindElementFromMarkerName'](_0x35f40c,_0x564d24['markerName']),_0x72af1b['writer']['remove'](_0x35f40c));}})(0x0,_0x372933,_0x122dd1);},{'priority':'high'});const _0x38e5b8=(_0x502cb9,_0x50c2ee,_0x5db24c,_0x512d93)=>{if(_0x512d93&&!_0x5db24c['options']['showSuggestionHighlights'])return;const _0xa60cc5=_0x50c2ee['markerRange']['start'],_0x454deb=_0x50c2ee['markerRange']['end'],_0x492c20=_0x13c6ff['model']['schema'];if(!_0xa60cc5['isTouching'](_0x454deb)||!_0xa60cc5['nodeAfter'])return;const _0x3735d5=_0xa60cc5['nodeAfter'];if(_0x492c20['isBlock'](_0x3735d5)&&!_0x492c20['isLimit'](_0x3735d5)&&_0x492c20['checkChild'](_0x3735d5,'$text')){if(!_0x5db24c['consumable']['consume'](_0x50c2ee['markerRange'],_0x502cb9['name']))return;const {id:_0x5a0e60,authorId:_0x513c9e}=J(_0x50c2ee['markerName']),_0x5a9f20=_0x5db24c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x5a0e60,'data-author-id':_0x513c9e}),_0xcd65c6=_0x5db24c['mapper']['toViewPosition'](_0x454deb);!_0x512d93&&this['_activeMarkers']['includes'](_0x50c2ee['markerName'])&&_0x5db24c['writer']['addClass']('ck-suggestion-marker--active',_0x5a9f20),_0x5db24c['writer']['insert'](_0xcd65c6,_0x5a9f20),_0x5db24c['mapper']['bindElementToMarker'](_0x5a9f20,_0x50c2ee['markerName']);}};_0x13c6ff['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x63b805,_0x50760e,_0x536593)=>{_0x38e5b8(_0x63b805,_0x50760e,_0x536593,!0x1);},{'priority':'high'}),_0x13c6ff['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4973af,_0x598082,_0x4604c6)=>{_0x38e5b8(_0x4973af,_0x598082,_0x4604c6,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x21da1b,_0x14eb67,_0x3684f5)=>{this['_activeMarkers']=_0x3684f5['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x21da72){this['_blockAttributeKeys']['add'](_0x21da72);}['registerInlineAttribute'](_0x4e0031){this['_inlineAttributeKeys']['add'](_0x4e0031);}['isBlockAttribute'](_0x5a0f69){return this['_blockAttributeKeys']['has'](_0x5a0f69);}['isInlineAttribute'](_0xc273d9){return this['_inlineAttributeKeys']['has'](_0xc273d9);}['isRegisteredAttribute'](_0x158b83){return this['isInlineAttribute'](_0x158b83)||this['isBlockAttribute'](_0x158b83);}['_getClassName'](_0x1a6ac5,_0x1cff92){if('attribute'!=_0x1a6ac5)return'ck-suggestion-marker-'+_0x1a6ac5;const _0x31329a=_0x1cff92['split']('|')[0x0];return this['isBlockAttribute'](_0x31329a)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}};function _t(_0x33573d={},_0x645e16){if(void 0x0!==_0x33573d['dateTimeFormat']&&'function'!=typeof _0x33573d['dateTimeFormat'])throw new _0x501c18('invalid-date-time-format');return _0x56edc8=>{const _0x83262b='string'==typeof _0x56edc8?_0x213c3b['fromISO'](_0x56edc8):_0x213c3b['fromJSDate'](_0x56edc8),_0x136b84=_0x213c3b['now'](),_0xfec4b5=Math['floor'](_0x136b84['diff'](_0x83262b,'days')['days']);return _0x33573d['dateTimeFormat']?_0x33573d['dateTimeFormat'](_0x83262b['toJSDate'](),_0x645e16&&_0x645e16['t']?_0x645e16['t']:void 0x0):0x0===_0xfec4b5?_0x645e16?$(_0x645e16,'Today')+'\x20'+_0x83262b['toFormat']('hh:mma'):_0x83262b['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0xfec4b5?_0x645e16?$(_0x645e16,'Yesterday')+'\x20'+_0x83262b['toFormat']('hh:mma'):_0x83262b['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0xfec4b5<0x7?_0x645e16?$(_0x645e16,'Last')+'\x20'+$(_0x645e16,_0x83262b['toFormat']('EEEE'))+'\x20'+_0x83262b['toFormat']('hh:mma'):_0x83262b['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x83262b['toFormat']('LL-dd-yyyy\x20hh:mma');};}function It(_0x539372,_0xe70db8){const _0x25cfa1=_0x539372['mapper']['markerNameToElements'](_0xe70db8['name']);if(!_0x25cfa1)return null;const _0x4cf7c0=_0x115a81(_0x25cfa1['values']());return _0x539372['view']['domConverter']['mapViewToDom'](_0x4cf7c0)||null;}function xt(_0x53fdec,_0x3a6ab3){if(0x0===_0x3a6ab3['length'])return null;const _0x598238=[],_0x2e3e29=_0x53fdec['view']['domConverter'];for(const _0x15a2bd of _0x3a6ab3){const _0x420962=_0x53fdec['mapper']['markerNameToElements'](_0x15a2bd['name']);if(!_0x420962)continue;const _0xa6e2e7=Array['from'](_0x420962)['map'](_0x4d192e=>_0x2e3e29['mapViewToDom'](_0x4d192e))['filter'](_0x311f5d=>!!_0x311f5d);_0x598238['push'](..._0xa6e2e7);}if(0x0===_0x598238['length'])return null;const _0x2565e4=[];for(const _0x38d030 of _0x598238){const _0x38b5ad=_0x38d030['getClientRects']()['item'](0x0);_0x38b5ad&&_0x2565e4['push']({'x':_0x38b5ad['x'],'y':_0x38b5ad['y'],'domElement':_0x38d030});}return 0x0===_0x2565e4['length']?null:(_0x2565e4['sort']((_0x348ff0,_0x36150d)=>_0x348ff0['y']-_0x36150d['y']||_0x348ff0['x']-_0x36150d['x']),_0x2565e4['map'](_0x106d50=>_0x106d50['domElement']));}function St(_0x5c90ca,{limit:_0x4a4c,suffix:_0x2a71d3='...'}){const _0x3fb892=[];let _0x1bff48=0x0;const _0x5e1f06=_0x5c90ca['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3bd5af=0x0;_0x3bd5af<_0x5e1f06['length'];_0x3bd5af++){let _0x14f337=_0x5e1f06[_0x3bd5af];const _0x50f9ba=Et(_0x14f337);if(_0x14f337['startsWith']('<')){if(_0x1bff48>=_0x4a4c){const _0x563026=_0x14f337['match'](/[a-zA-Z]+/);if(!_0x563026){_0x5e1f06[_0x3bd5af]='';continue;}const _0x5d14bb=_0x563026[0x0];_0x14f337['startsWith']('</')?(_0x3fb892['length']&&(_0x14f337=''),_0x3fb892['pop']()):(_0x3fb892['push'](_0x5d14bb),_0x14f337='');}}else{if(_0x1bff48>=_0x4a4c)_0x14f337='';else{if(_0x1bff48+_0x50f9ba['length']>=_0x4a4c){let _0x127822=_0x4a4c-_0x1bff48;if('\x20'===_0x50f9ba[_0x127822-0x1])_0x127822--;else{const _0x325dbb=_0x50f9ba['slice'](_0x127822)['indexOf']('\x20');-0x1!==_0x325dbb?_0x127822+=_0x325dbb:_0x127822=_0x14f337['length'];}_0x14f337=_0x50f9ba['slice'](0x0,_0x127822)['join']('')+_0x2a71d3,_0x1bff48=_0x4a4c;}else _0x1bff48+=_0x50f9ba['length'];}}_0x5e1f06[_0x3bd5af]=_0x14f337;}return _0x5e1f06['join']('\x0a')['replace'](/\n/g,'');}function Et(_0x73fb6c){const _0x52b380=[];for(let _0x5ded58=0x0;_0x5ded58<_0x73fb6c['length'];_0x5ded58++){const _0x1f9758=_0x73fb6c['substring'](_0x5ded58)['match'](/^&[a-z0-9#]+;/);if(_0x1f9758){const _0x4fb2c2=_0x1f9758[0x0];_0x52b380['push'](_0x4fb2c2),_0x5ded58+=_0x4fb2c2['length']-0x1;}else _0x52b380['push'](_0x73fb6c[_0x5ded58]);}return _0x52b380;}var Mt=class extends _0x432e24{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2c3936){super(_0x2c3936);const _0x5df085=this['bindTemplate'];this['set']('message',$(_0x2c3936,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2c3936,$(_0x2c3936,'Yes'),_0x37210a,'submit'),this['cancelView']=this['_createButtonView'](_0x2c3936,$(_0x2c3936,'No'),_0x19eec1,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x41baba(),this['keystrokes']=new _0x3bbbc7(),this['focusCycler']=new _0xb82bd0({'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':_0x5df085['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'](_0x5ef785,_0x5bbf5f,_0x1bf45f,_0x29b8e0){const _0x2016ed=new _0x4b9cd5(_0x5ef785);return _0x2016ed['label']=_0x5bbf5f,_0x2016ed['icon']=_0x1bf45f,_0x2016ed['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x29b8e0}}),_0x2016ed['on']('execute',()=>this['fire'](_0x29b8e0)),_0x2016ed;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x26e60d=>{this['keystrokes']['listenTo'](_0x26e60d['element']),this['focusTracker']['add'](_0x26e60d['element']);}),this['keystrokes']['set']('esc',(_0x921e22,_0x241914)=>{this['fire']('cancel'),_0x241914();});}};function At(_0x50b09d){return class _0x13c31f extends _0x50b09d{['showConfirm'](_0x1ff3ae,_0x2a094a){return this['confirmView']=new Mt(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x1ff3ae,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2a094a['appendChild'](this['confirmView']['element']),_0x2a094a['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3d3ff6,_0x331546,_0x3beb81)=>{_0x3beb81||_0x2a094a['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x69f647=>this['confirmView']['on']('submit',_0x69f647));}['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(_0x58c445){let _0x5bdfcf=0x0,_0x406526=0x0;for(const _0xcf66d4 of Nt(_0x58c445))_0x5bdfcf=(_0x5bdfcf<<0x5)-_0x5bdfcf+_0xcf66d4,_0x5bdfcf&=_0x5bdfcf,[_0x5bdfcf,_0x406526]=[_0x406526,_0x5bdfcf];return Dt(_0x5bdfcf)+Dt(_0x406526);}function*Pt(_0x6a2f19){null==_0x6a2f19||null==_0x6a2f19?yield 0x12b9b0a1:0x0===_0x6a2f19||!0x1===_0x6a2f19?yield 0x0:0x1===_0x6a2f19||0x1==_0x6a2f19?yield 0x1:Array['isArray'](_0x6a2f19)?yield*function*(_0x2457fb){for(const _0x23521b of _0x2457fb)yield*Pt(_0x23521b);}(_0x6a2f19):'object'==typeof _0x6a2f19?yield*Nt(_0x6a2f19):'string'==typeof _0x6a2f19?yield*Vt(_0x6a2f19):'number'==typeof _0x6a2f19&&(yield _0x6a2f19);}function*Nt(_0x5598a2){if(yield Bt('{'),_0x5598a2){const _0xaf3533=Object['keys'](_0x5598a2)['sort']();for(const _0x5cfaf8 of _0xaf3533){yield*Vt(_0x5cfaf8),yield Bt(':');const _0x3b6060=_0x5598a2[_0x5cfaf8];yield*Pt(_0x3b6060);}}yield Bt('}');}function*Vt(_0x1ff4e6){yield Bt('\x22');for(const _0x2e12d9 of _0x1ff4e6)yield Bt(_0x2e12d9);yield Bt('\x22');}function Bt(_0x3bf977){return _0x3bf977['charCodeAt'](0x0);}function Dt(_0x57e284){return(_0x57e284*=Math['sign'](_0x57e284))['toString'](0x24);}const $t=['root','roots','initialData','context','toolbar','rootsAttributes'],Ot=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Lt(_0x3be7f4,_0x359b76,_0x60b761,_0xa4d494=[]){const _0x49520b='string'==typeof _0x3be7f4?_0x60b761['get'](_0x3be7f4)['constructor']:_0x3be7f4['prototype']['constructor'];if(_0x359b76['has'](_0x49520b))return _0x359b76['get'](_0x49520b);_0x359b76['set'](_0x49520b,!0x0);const _0x5ab159=[...Ot,..._0xa4d494]['map'](_0xe624a1=>{if(_0x60b761['has'](_0xe624a1))return _0x60b761['get'](_0xe624a1)['constructor'];})['filter'](_0x19ca15=>_0x19ca15);if(_0x49520b&&_0x5ab159['includes'](_0x49520b))return _0x359b76['set'](_0x49520b,!0x1),!0x1;if(!_0x49520b['requires'])return _0x359b76['set'](_0x49520b,!0x0),!0x0;const _0x4ebc5f=_0x49520b['requires']['every'](_0x252ceb=>Lt(_0x252ceb,_0x359b76,_0x60b761,_0xa4d494));return _0x359b76['set'](_0x49520b,_0x4ebc5f),_0x4ebc5f;}function Rt(_0xa0ae27,_0x23be55){const _0x501f8a={};for(const _0x14993e of _0xa0ae27['config']['names']())$t['includes'](_0x14993e)||(_0x501f8a[_0x14993e]=_0xa0ae27['config']['get'](_0x14993e));const _0xe5c3a2=_0x501f8a['plugins']||[],_0xc80d98=_0xa0ae27['constructor']['builtinPlugins']||[],_0x45f9f8=_0xe5c3a2['length']?_0xe5c3a2:_0xc80d98,_0x20b66d=_0x501f8a['extraPlugins']||[];delete _0x501f8a['extraPlugins'];const _0x5f224b=_0x501f8a['removePlugins']||[];delete _0x501f8a['removePlugins'];const _0x107abe=_0xa0ae27['_context']['config']['get']('plugins')||[],_0x559132=_0x45f9f8['concat'](_0x20b66d)['concat'](_0x107abe)['map'](_0x34f0fa=>'string'==typeof _0x34f0fa?_0xc80d98['find'](_0xe35d05=>_0xe35d05['pluginName']==_0x34f0fa):_0x34f0fa)['filter'](_0x1cf838=>!_0x5f224b['includes'](_0x1cf838)&&!_0x5f224b['includes'](_0x1cf838['pluginName'])),_0x15af64=Array['from'](new Set(_0x559132)),_0x2b4118=new Map();return _0x501f8a['plugins']=_0x15af64['filter'](_0xfeb6d4=>Lt(_0xfeb6d4,_0x2b4118,_0xa0ae27['plugins'],_0x23be55)),_0x501f8a;}function Ft(_0x21efee,_0x1ba8d5){const _0xf41dfa=[];_0x21efee['document']['selection']['on']('change:range',()=>{const _0x2b84cd=function(_0x36a2f1,_0x2b6e4c){const _0x1718bb=[];for(const _0x1ed31d of _0x36a2f1['markers']){const _0x564d52=_0x1ed31d['getRange']();(_0x564d52['containsPosition'](_0x2b6e4c)||_0x564d52['start']['isEqual'](_0x2b6e4c)||_0x564d52['end']['isEqual'](_0x2b6e4c))&&_0x1718bb['push'](_0x1ed31d);}return _0x1718bb;}(_0x21efee,_0x21efee['document']['selection']['focus']),_0x326dc8=[],_0x158b26=[],_0x13a2dc=[];for(const _0x184398 of _0xf41dfa)_0x2b84cd['includes'](_0x184398)||_0x326dc8['push'](_0x184398);for(const _0x5db369 of _0x2b84cd)_0xf41dfa['includes'](_0x5db369)||_0x158b26['push'](_0x5db369),_0x13a2dc['push'](_0x5db369);(_0x326dc8['length']||_0x158b26['length'])&&_0x1ba8d5({'left':_0x326dc8,'entered':_0x158b26}),_0xf41dfa['length']=0x0,_0xf41dfa['push'](..._0x13a2dc);});}const Ht='Ctrl+Shift+E';function Ut(_0x941a44,_0xaa56af){const _0x2f94d9=_0x941a44['element'];_0x941a44['keystrokes']['listenTo'](_0x2f94d9);for(const _0x4c878f of _0xaa56af)zt(_0x941a44,_0x4c878f);_0xaa56af['on']('change',(_0x158d0a,_0x273d11)=>{for(const _0x3f2c1f of _0x273d11['removed'])Wt(_0x941a44,_0x3f2c1f);for(const _0x43b3ae of Array['from'](_0x273d11['added'])['reverse']())zt(_0x941a44,_0x43b3ae);}),_0x941a44['keystrokes']['set']('enter',(_0x213bc7,_0x48556e)=>{_0x2f94d9===_0x213bc7['target']&&(_0x941a44['focusCycler']['focusFirst'](),_0x48556e());},{'filter':_0x136f72=>_0x136f72['target']===_0x2f94d9}),_0x941a44['keystrokes']['set']('esc',(_0x38c980,_0x36a3d3)=>{_0x2f94d9!==_0x38c980['target']?_0x941a44['focus']():_0x941a44['fire']('escape'),_0x36a3d3();}),_0x941a44['keystrokes']['set']('arrowdown',(_0x156ade,_0xa4dc6c)=>{_0x2f94d9===_0x156ade['target']&&(_0x941a44['fire']('arrowdown'),_0xa4dc6c());}),_0x941a44['keystrokes']['set']('arrowup',(_0x316a79,_0x1155b1)=>{_0x2f94d9===_0x316a79['target']&&(_0x941a44['fire']('arrowup'),_0x1155b1());});}function zt(_0x5832d0,_0x2ede5f){_0x2ede5f['isRendered']&&(_0x5832d0['focusTracker']['add'](_0x2ede5f['element']),_0x5832d0['keystrokes']['listenTo'](_0x2ede5f['element']),_0x46f719(_0x2ede5f)&&function(_0x19c755,_0x4103e5){const _0x356dac=_0x19c755['actions'],_0x1aa300=_0x4103e5['actions'];for(const _0x2b9e5b of Object['keys'](_0x356dac))if(_0x2b9e5b in _0x1aa300&&_0x356dac[_0x2b9e5b]!==_0x1aa300[_0x2b9e5b])return!0x1;return!0x0;}(_0x5832d0['focusCycler'],_0x2ede5f['focusCycler'])&&_0x5832d0['focusCycler']['chain'](_0x2ede5f['focusCycler']));}function Wt(_0x4ab9de,_0x153bc2){_0x4ab9de['focusTracker']['remove'](_0x153bc2['element']),_0x4ab9de['keystrokes']['stopListening'](_0x153bc2['element']),_0x46f719(_0x153bc2)&&_0x4ab9de['focusCycler']['unchain'](_0x153bc2['focusCycler']);}const Yt='$elementId',jt='data-id';var Jt=class extends _0x5e05e2{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x532538?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4eb78c,_0x2d6040)=>{_0x2d6040['on']('ready',()=>{this['_integrateEditor'](_0x2d6040);});});}get['editor'](){if(this['context']instanceof _0x532538)return this['context'];{const _0x4a747b=this['context']['editors']['first'];if(!_0x4a747b)throw new _0x501c18('documentcompare-no-editor',this);return _0x4a747b;}}['getDiff'](_0x20f44f,_0x254cd9,_0x156e4e={'anchor':'main','markDeletions':!0x1}){const _0x2e7167=_0x156e4e['targetEditor']||this['editor'],_0x1ccf3b=_0x156e4e['anchor']??'main';let _0x5d59f2,_0x4a28cb;if('string'==typeof _0x1ccf3b){const _0x288f1d=_0x2e7167['model']['document']['getRoot'](_0x1ccf3b);if(!_0x288f1d)throw new _0x501c18('documentcompare-compare-no-root',this,{'anchor':_0x1ccf3b});_0x5d59f2=_0x288f1d,_0x4a28cb=_0x2e7167['model']['createPositionAt'](_0x288f1d,0x0);}else _0x5d59f2=_0x1ccf3b['clone'](),_0x4a28cb=_0x1ccf3b['clone']();return new Gt({'editor':_0x2e7167,'before':_0x2e7167['data']['parse'](_0x20f44f,_0x5d59f2),'after':_0x2e7167['data']['parse'](_0x254cd9,_0x5d59f2),'options':{'anchor':_0x4a28cb,'markDeletions':_0x156e4e['markDeletions']}});}['isMarkedRemoveOperation'](_0x5d72dd){return'marker'==_0x5d72dd['type']&&_0x5d72dd['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x595c0f){_0x595c0f['conversion']['for']('upcast')['add'](_0x13981c=>{_0x13981c['on']('element',(_0x26fa3b,_0xa42d10,_0x13ef4f)=>{if(_0xa42d10['modelRange']&&_0x13ef4f['consumable']['consume'](_0xa42d10['viewItem'],{'attributes':'data-id'}))for(const _0x10497e of _0xa42d10['modelRange']['getItems']({'shallow':!0x0})){if(_0x10497e['is']('$textProxy'))continue;const _0x21da9e=_0xa42d10['viewItem']['getAttribute'](jt);_0x21da9e&&_0x13ef4f['writer']['setAttribute'](Yt,_0x21da9e,_0x10497e);}},{'priority':'low'});}),_0x595c0f['model']['schema']['addAttributeCheck'](()=>!0x0,Yt);}},Gt=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x1efa50,before:_0x3f39cc,after:_0x3ad2f6,options:_0x11d97e}){this['_editor']=_0x1efa50,this['_markDeletions']=!!_0x11d97e['markDeletions'],this['_anchor']=_0x11d97e['anchor'];const _0x78e24e=this['_tokenizeModel'](_0x3f39cc),_0x1e1492=this['_tokenizeModel'](_0x3ad2f6);this['_diffItems']=this['_diffModelTokens'](_0x78e24e,_0x1e1492),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x3f39cc['markers'],_0x3ad2f6['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x4d450d=this['_editor']['model']['document'],_0x44a25e=[];let _0x3e37b5=_0x4d450d['version'];for(const _0x2b23c6 of this['_operationsData'])switch(_0x2b23c6['type']){case'attribute':{const _0x16d2b6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']),_0x236c20=new _0x256270(_0x16d2b6,_0x16d2b6['getShiftedBy'](_0x2b23c6['howMany'])),_0x1ad604=JSON['parse'](_0x2b23c6['oldValue']),_0x549a06=JSON['parse'](_0x2b23c6['newValue']);_0x44a25e['push'](new _0x5063c0(_0x236c20,_0x2b23c6['key'],_0x1ad604,_0x549a06,_0x3e37b5++));break;}case'insert':{const _0x4c2ad8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']),_0x4e4013=this['_makeModelFromTokens'](_0x2b23c6['tokens']);_0x44a25e['push'](new _0x37e37d(_0x4c2ad8,_0x4e4013,_0x3e37b5++));break;}case'remove':{const _0x3ed4a5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']),_0x6abd27=new _0x225212(_0x4d450d['graveyard'],[0x0]);_0x44a25e['push'](new _0x1a6872(_0x3ed4a5,_0x2b23c6['howMany'],_0x6abd27,_0x3e37b5++));break;}case'rename':{const _0x4987a2=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']);_0x44a25e['push'](new _0x513892(_0x4987a2,_0x2b23c6['oldName'],_0x2b23c6['newName'],_0x3e37b5++));break;}case'split':{const _0x43b69b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']),_0x5d49d3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['path']['slice'](0x0,-0x1));_0x5d49d3['offset']++,_0x44a25e['push'](new _0x92c43d(_0x43b69b,Number['NEGATIVE_INFINITY'],_0x5d49d3,null,_0x3e37b5++));break;}case'merge':{const _0x157f1d=_0x2b23c6['path']['slice'](),_0x1d54c0=_0x157f1d['slice'](0x0,-0x1);_0x1d54c0[_0x1d54c0['length']-0x1]++,_0x1d54c0['push'](0x0);const _0x260d12=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1d54c0),_0x1629fb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x157f1d),_0x52017a=new _0x225212(_0x4d450d['graveyard'],[0x0]);_0x44a25e['push'](new _0x5cf014(_0x260d12,Number['NEGATIVE_INFINITY'],_0x1629fb,_0x52017a,_0x3e37b5++));break;}case'marker':case'markedRemove':{let _0x1ef443=null;_0x2b23c6['range']&&(_0x1ef443=new _0x256270(this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['range']['end'])));const _0x4aeaac='marker'==_0x2b23c6['type']?_0x2b23c6['name']:'$markedRemove:'+_0x2eb254();_0x44a25e['push'](new _0x3b18d1(_0x4aeaac,null,_0x1ef443,_0x4d450d['model']['markers'],!0x0,_0x3e37b5++));break;}case'unwrap':{const _0x1ffc57=_0x2b23c6['path']['slice']();_0x1ffc57['push'](0x0);const _0x2ebf6d=_0x2b23c6['path']['slice'](),_0x21fe9d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1ffc57),_0x235e3e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2ebf6d),_0x79bed9=new _0x225212(_0x4d450d['graveyard'],[0x0]);_0x44a25e['push'](new _0x1a6872(_0x21fe9d,_0x2b23c6['howMany'],_0x235e3e,_0x3e37b5++)),_0x44a25e['push'](new _0x1a6872(_0x235e3e['getShiftedBy'](_0x2b23c6['howMany']),0x1,_0x79bed9,_0x3e37b5++));break;}case'wrap':{const _0x316ab0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['range']['start']),_0xa029f8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2b23c6['range']['end']),_0x1e2a93=_0x2b23c6['token']['element']['_clone'](!0x1);_0x1e2a93['_removeAttribute'](Yt);const _0x208dd3=_0x2b23c6['range']['end']['slice']();_0x208dd3['push'](0x0);const _0x35cd54=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x208dd3);_0x44a25e['push'](new _0x37e37d(_0xa029f8,_0x1e2a93,_0x3e37b5++)),_0x44a25e['push'](new _0x1a6872(_0x316ab0,_0xa029f8['offset']-_0x316ab0['offset'],_0x35cd54,_0x3e37b5++));break;}}return _0x44a25e;}['_tokenizeModel'](_0x5e582e){const _0x471478=[],_0x20651d=new _0xfa92d9({'boundaries':_0x256270['_createIn'](_0x5e582e)});let _0x2185f9='',_0xcc156d=null;const _0x38bf01=[''],_0x49e157=new Map();for(const _0x7e0c43 of _0x20651d)if('elementStart'==_0x7e0c43['type']||'elementEnd'==_0x7e0c43['type']){let _0xbf73ad=_0x38bf01[0x0];''!==_0x2185f9&&(_0x471478['push'](...this['_makeTokensFromTextByWords'](_0x2185f9,_0xcc156d,_0xbf73ad)),_0x2185f9='');const _0xaaee=_0x7e0c43['item'];let _0x130c9c;_0xaaee['getAttribute']('$elementId')?_0x130c9c=_0xaaee['getAttribute'](Yt):'elementStart'==_0x7e0c43['type']?(_0x130c9c=qt(_0xaaee),_0x49e157['set'](_0xaaee,_0x130c9c)):_0x130c9c=_0x49e157['get'](_0xaaee);const _0x34ed7f=this['_getElementCategory'](_0xaaee);'solid'==_0x34ed7f&&('elementStart'==_0x7e0c43['type']?(_0xbf73ad=_0x130c9c,_0x38bf01['unshift'](_0xbf73ad)):_0x38bf01['shift']());const _0x597c22={'type':'element','element':_0xaaee,'elementId':_0x130c9c,'category':_0x34ed7f,'isStart':'elementStart'==_0x7e0c43['type'],'limitId':_0xbf73ad};_0x471478['push'](_0x597c22);}else''==_0x2185f9&&(_0xcc156d=_0x7e0c43['previousPosition']['clone']()),_0x2185f9+=_0x7e0c43['item']['data'];return''!==_0x2185f9&&_0x471478['push'](...this['_makeTokensFromTextByWords'](_0x2185f9,_0xcc156d,_0x38bf01[0x0])),_0x471478;}['_makeTokensFromTextByWords'](_0x4c325f,_0x17dc35,_0x73d47d){const _0x49e0c1=_0x4c325f['matchAll'](/(\s)/g),_0x4f1071=Array['from'](_0x49e0c1)['map'](_0x32572d=>_0x32572d['index']);_0x4f1071['push'](_0x4c325f['length']),0x0==_0x4f1071[0x0]&&_0x4f1071['shift']();const _0x865177=[],_0x5d70f3=_0x17dc35['parent'];let _0xbc25d=0x0,_0x3cbbe2=_0x17dc35['offset'];for(let _0x2bafdf=0x0;_0x2bafdf<_0x4f1071['length'];_0x2bafdf++)_0x865177['push']({'type':'text','data':_0x4c325f['slice'](_0xbc25d,_0x4f1071[_0x2bafdf]),'parent':_0x5d70f3,'offset':_0x3cbbe2,'limitId':_0x73d47d}),_0xbc25d=_0x4f1071[_0x2bafdf],_0x3cbbe2=_0x17dc35['offset']+_0x4f1071[_0x2bafdf];return _0x865177;}['_getElementCategory'](_0x53cf17){const _0x1115e7=this['_editor']['model']['schema'];return _0x1115e7['isLimit'](_0x53cf17)||_0x1115e7['isContent'](_0x53cf17)||_0x1115e7['isInline'](_0x53cf17)?'solid':_0x1115e7['isBlock'](_0x53cf17)?'block':function(_0x34840c,_0x31b063){const _0x2d9b00=_0x34840c['parent'];if(!_0x2d9b00||_0x2d9b00['is']('documentFragment'))return!0x1;if(_0x31b063['checkChild'](_0x2d9b00,'$text'))return!0x1;for(const _0x239c98 of _0x34840c['getChildren']())if(_0x239c98['is']('$text'))return!0x0;return!0x1;}(_0x53cf17,_0x1115e7)?'solid':'container';}['_diffModelTokens'](_0x5c3c5e,_0x39e1dc){const _0x1330bb=_0x112830(_0x5c3c5e,_0x39e1dc,{'comparator':Kt});this['_handleUnclosedBlockOpeningTags'](_0x1330bb);const _0x155404=_0x1330bb['flatMap'](_0x388285=>{const _0x4255af=_0x388285['added']?'added':_0x388285['removed']?'removed':'unchanged';return _0x388285['value']['map'](_0x4d9edf=>({'token':_0x4d9edf,'change':_0x4255af}));});let _0x22e59e=0x0;for(const _0x4574ea of _0x155404)'added'!=_0x4574ea['change']&&('unchanged'==_0x4574ea['change']&&(_0x4574ea['before']=_0x5c3c5e[_0x22e59e]),_0x22e59e++);return _0x155404;}['_handleUnclosedBlockOpeningTags'](_0x17500f){for(let _0x5e8839=0x0;_0x5e8839<_0x17500f['length']-0x1;_0x5e8839++)if(_0x17500f[_0x5e8839]['removed']&&_0x17500f[_0x5e8839+0x1]['added']){const _0x518511=this['_findUnclosedBlockOpeningToken'](_0x17500f[_0x5e8839]['value']);if(null!==_0x518511){const _0x49792e=this['_findUnclosedBlockOpeningToken'](_0x17500f[_0x5e8839+0x1]['value']),_0x1052d3=_0x17500f[_0x5e8839]['value']['splice'](_0x518511),_0x1cae7b=_0x17500f[_0x5e8839+0x1]['value']['splice'](_0x49792e),_0x4a0c9e=[_0x1cae7b['shift']()];_0x1052d3['shift']();const _0x125007={'value':_0x1052d3,'removed':!0x0},_0x4cf1e5={'value':_0x1cae7b,'added':!0x0},_0x27389f={'value':_0x4a0c9e};_0x17500f['splice'](_0x5e8839+0x2,0x0,_0x27389f,_0x125007,_0x4cf1e5);}}}['_findUnclosedBlockOpeningToken'](_0x39317e){let _0x443892=0x0,_0x53a117=-0x1;for(let _0x3c5cc3=0x0;_0x3c5cc3<_0x39317e['length'];_0x3c5cc3++){const _0x2562e5=_0x39317e[_0x3c5cc3];'element'==_0x2562e5['type']&&'block'==_0x2562e5['category']&&(_0x443892+=_0x2562e5['isStart']?0x1:-0x1,_0x2562e5['isStart']&&(_0x53a117=_0x3c5cc3));}return 0x0===_0x443892?null:_0x53a117;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x615a7f=0x0;_0x615a7f<this['_diffItems']['length'];_0x615a7f++){const _0x492354=this['_diffItems'][_0x615a7f]['change'],_0x1093bf=[];_0x1093bf['push'](this['_diffItems'][_0x615a7f]);let _0x5efbbb=_0x615a7f+0x1;for(;this['_diffItems'][_0x5efbbb]&&this['_diffItems'][_0x5efbbb]['change']==_0x492354;)_0x1093bf['push'](this['_diffItems'][_0x5efbbb]),_0x5efbbb++,_0x615a7f++;const _0x2e8476=_0x1093bf['map'](_0x18083c=>_0x18083c['token']);if('unchanged'==_0x492354)_0x1093bf['map'](_0x4fc0d9=>_0x4fc0d9['before'])['forEach'](_0x3c3062=>this['_traverseOverItem'](_0x3c3062));else{if('removed'==_0x492354){if(this['_markDeletions']){const _0x5db8fc=this['_path']['slice']();_0x2e8476['forEach'](_0x2770fd=>this['_traverseOverItem'](_0x2770fd));const _0x4953c5=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5db8fc,'end':_0x4953c5}});}else this['_handleChanged'](_0x2e8476,!0x0,this['_path']['slice']());}else{const _0x14d130=_0x2e8476['filter'](_0x561230=>'element'!=_0x561230['type']||'container'!=_0x561230['category']);this['_handleChanged'](_0x14d130,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1d44fc=0x0;_0x1d44fc<this['_diffItems']['length'];_0x1d44fc++){const _0x4549b7=this['_diffItems'][_0x1d44fc]['change'],_0x36016a=[];_0x36016a['push'](this['_diffItems'][_0x1d44fc]);let _0xbc5d02=_0x1d44fc+0x1;for(;this['_diffItems'][_0xbc5d02]&&this['_diffItems'][_0xbc5d02]['change']==_0x4549b7;)_0x36016a['push'](this['_diffItems'][_0xbc5d02]),_0xbc5d02++,_0x1d44fc++;const _0x1bfba6=_0x36016a['map'](_0x4f3d73=>_0x4f3d73['token']);if('unchanged'==_0x4549b7){const _0x54cdde=_0x36016a['map'](_0x2badba=>_0x2badba['before']);this['_handleUnchanged'](_0x54cdde,_0x1bfba6);}else('added'==_0x4549b7||this['_markDeletions'])&&_0x1bfba6['forEach'](_0x45e07b=>{'element'==_0x45e07b['type']&&_0x45e07b['isStart']&&this['_splitPostponedData']['has'](_0x45e07b['element'])&&this['_handleSplitPostponedData'](_0x45e07b['element'],this['_path']),this['_traverseOverItem'](_0x45e07b);});}}['_handleSplitPostponedData'](_0x272462,_0x4a3ed9){const _0x4228f3=this['_splitPostponedData']['get'](_0x272462);for(const _0x262ccb of _0x4228f3)'rename'==_0x262ccb['type']?this['_operationsData']['push']({'type':'rename','path':_0x4a3ed9['slice'](),'oldName':_0x262ccb['oldValue'],'newName':_0x272462['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x4a3ed9['slice'](),'howMany':0x1,'key':_0x262ccb['key'],'oldValue':_0x262ccb['oldValue'],'newValue':JSON['stringify'](_0x272462['getAttribute'](_0x262ccb['key'])??null)});}['_calculateMarkersOperationsData'](_0x356048,_0x208b54){const _0x4e47e2={};for(const [_0x2c84bb]of _0x356048)_0x4e47e2[_0x2c84bb]=null;for(const [_0x127386,_0x17756a]of _0x208b54)_0x4e47e2[_0x127386]=_0x17756a;const _0xcb3ed0=Object['entries'](_0x4e47e2)['map'](([_0x390953,_0x388690])=>({'type':'marker','name':_0x390953,'range':_0x388690?{'start':_0x388690['start']['path']['slice'](),'end':_0x388690['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0xcb3ed0);}['_handleUnwraps'](){const _0x532737=new Map(),_0x32771a=[],_0xd3f99a=[0x0];let _0x229b06=this['_diffItems']['length']+0x1;for(let _0x27cae2=this['_diffItems']['length']-0x1;_0x27cae2>=0x0;_0x27cae2--){const {token:_0x2e7913,before:_0x5ca6f0,change:_0x5084ad}=this['_diffItems'][_0x27cae2];if('removed'!=_0x5084ad&&(_0x229b06=_0x27cae2),'element'!=_0x2e7913['type']||'container'!=_0x2e7913['category']||'added'==_0x5084ad)continue;const _0x1c9218=_0x5ca6f0?_0x5ca6f0['element']:_0x2e7913['element'];if(_0x2e7913['isStart']){const _0x4a223f=_0x532737['get'](_0x1c9218),_0x149383=this['_diffItems'][_0x4a223f];('removed'==_0x5084ad||'removed'==_0x149383['change'])&&_0x229b06<_0x4a223f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1c9218['getPath'](),'howMany':_0x1c9218['maxOffset']+_0xd3f99a[0x0]}),_0xd3f99a['shift'](),_0xd3f99a[0x0]+=_0x1c9218['maxOffset']-0x1,_0x32771a['push'](_0x27cae2),_0x32771a['push'](_0x4a223f));}else _0x532737['set'](_0x1c9218,_0x27cae2),_0xd3f99a['unshift'](0x0);}_0x32771a['sort']((_0x50abfb,_0x3b3d7d)=>_0x3b3d7d-_0x50abfb),_0x32771a['forEach'](_0x4b53fb=>{const _0x16e070=this['_diffItems'][_0x4b53fb];'removed'==_0x16e070['change']?this['_diffItems']['splice'](_0x4b53fb,0x1):(_0x16e070['change']='added',delete _0x16e070['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x444f43=[];for(let _0x1fdb96=0x0;_0x1fdb96<this['_diffItems']['length'];_0x1fdb96++){const {change:_0x8f9ffd,token:_0x3c9d22}=this['_diffItems'][_0x1fdb96];if('added'==_0x8f9ffd&&'element'==_0x3c9d22['type']&&'container'==_0x3c9d22['category']){if(_0x3c9d22['isStart'])_0x444f43['push'](this['_path']['slice']());else{if(!_0x3c9d22['isStart']){const _0x27ac10=_0x444f43['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x27ac10,'end':this['_path']['slice']()},'token':_0x3c9d22}),this['_path'][this['_path']['length']-0x1]=_0x27ac10[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x8f9ffd||this['_markDeletions'])&&this['_traverseOverItem'](_0x3c9d22);}}['_handleUnchanged'](_0xabffad,_0x5d7fe1){for(let _0x4ef622=0x0;_0x4ef622<_0xabffad['length'];_0x4ef622++){const _0x59d26d=_0xabffad[_0x4ef622];if('element'==_0x59d26d['type']&&_0x59d26d['isStart']){const _0x5e51de=_0x5d7fe1[_0x4ef622];'block'==_0x59d26d['category']&&this['_handleElementRename'](_0x59d26d['element'],_0x5e51de['element'],this['_path']),this['_handleElementAttributeChanges'](_0x59d26d['element'],_0x5e51de['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x5e51de);}else{if('element'!=_0x59d26d['type']||_0x59d26d['isStart']){if('text'==_0x59d26d['type']){const _0x3c3aee=this['_path']['slice'](),_0x4fba2e=[],_0x328c7d=[];for(;_0xabffad[_0x4ef622]&&'text'==_0xabffad[_0x4ef622]['type'];)_0x4fba2e['push'](_0xabffad[_0x4ef622]),_0x328c7d['push'](_0x5d7fe1[_0x4ef622]),this['_path'][this['_path']['length']-0x1]+=_0xabffad[_0x4ef622]['data']['length'],_0x4ef622++;_0x4ef622--,this['_handleTextAttributeChanges'](_0x4fba2e,_0x328c7d,_0x3c3aee);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x39d3c2,_0x202bf4,_0x1d1f9c){const _0x23ef04=[],_0x44101f=[],_0x3e31f6=_0x1d1f9c['slice']();let _0x3fe09b=this['_parents']['length']-0x1;for(let _0xb573f1=0x0;_0xb573f1<_0x39d3c2['length'];_0xb573f1++){const _0x10aa97=_0x39d3c2[_0xb573f1],_0x20fd79=_0x1d1f9c['slice']();'element'!=_0x10aa97['type']||_0x10aa97['isStart']?'element'==_0x10aa97['type']&&_0x10aa97['isStart']?(_0x1d1f9c['push'](0x0),_0x3fe09b++,_0x44101f['push']({'before':_0x20fd79,'after':_0x1d1f9c['slice'](),'index':_0xb573f1})):_0x1d1f9c[_0x1d1f9c['length']-0x1]+=_0x10aa97['data']['length']:(_0x1d1f9c['pop'](),_0x1d1f9c[_0x1d1f9c['length']-0x1]++,_0x3fe09b--,_0x44101f['length']?_0x44101f['pop']():_0x23ef04['push']({'before':_0x20fd79,'after':_0x1d1f9c['slice'](),'index':_0xb573f1}));}if(_0x44101f['length']!==_0x23ef04['length'])throw new _0x501c18('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x39d3c2,'isRemove':_0x202bf4});const _0x46198a=[{'after':_0x3e31f6['slice'](),'index':-0x1},..._0x23ef04,..._0x44101f,{'before':_0x1d1f9c['slice'](),'index':_0x39d3c2['length']}];if(_0x202bf4){for(let _0xe6b8d8=_0x46198a['length']-0x1;_0xe6b8d8>=0x1;_0xe6b8d8--){const _0x35ac36=_0x46198a[_0xe6b8d8-0x1]['after'],_0x501300=_0x46198a[_0xe6b8d8]['before'],_0x5a3885=_0x501300[_0x501300['length']-0x1]-_0x35ac36[_0x35ac36['length']-0x1];_0x5a3885&&(this['_operationsData']['push']({'type':'remove','path':_0x35ac36,'howMany':_0x5a3885}),_0x501300[_0x501300['length']-0x1]-=_0x5a3885);}for(const {before:_0x3806bf}of _0x23ef04)this['_operationsData']['push']({'type':'merge','path':_0x3806bf});}else for(let _0x10fa97=0x0;_0x10fa97<_0x46198a['length']-0x1;_0x10fa97++){const _0x1e4d61=_0x46198a[_0x10fa97]['after'],_0x4f7a71=_0x46198a[_0x10fa97+0x1]['before'],_0x223019=_0x46198a[_0x10fa97]['index']+0x1,_0x4b02e8=_0x46198a[_0x10fa97+0x1]['index'];if(_0x223019!==_0x4b02e8&&this['_operationsData']['push']({'type':'insert','path':_0x1e4d61,'tokens':_0x39d3c2['slice'](_0x223019,_0x4b02e8)}),_0x10fa97<_0x23ef04['length']){this['_operationsData']['push']({'type':'split','path':_0x4f7a71});const _0x1a8d6c=_0x39d3c2[_0x44101f[_0x44101f['length']-0x1-_0x10fa97]['index']],_0x3b6e88=this['_parents'][_0x3fe09b]['element'];_0x3b6e88['name']!=_0x1a8d6c['element']['name']&&this['_addSplitPostponedData'](_0x1a8d6c['element'],{'type':'rename','oldValue':_0x3b6e88['name']});const _0x24ccc5=this['_getAttributeChanges'](_0x3b6e88['getAttributes'](),_0x1a8d6c['element']['getAttributes']());for(const _0x27afdc in _0x24ccc5){const _0x10c1b6=_0x24ccc5[_0x27afdc]['oldValue'];this['_addSplitPostponedData'](_0x1a8d6c['element'],{'type':'attribute','key':_0x27afdc,'oldValue':_0x10c1b6});}}}}['_addSplitPostponedData'](_0x1d5edb,_0x2e9862){const _0x366f6b=this['_splitPostponedData']['get'](_0x1d5edb)||[];_0x366f6b['push'](_0x2e9862),this['_splitPostponedData']['set'](_0x1d5edb,_0x366f6b);}['_traverseOverItem'](_0x4c0176){'element'==_0x4c0176['type']&&_0x4c0176['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4c0176)):'element'!=_0x4c0176['type']||_0x4c0176['isStart']?'text'==_0x4c0176['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4c0176['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x427292,_0x403906,_0x1448ec){_0x427292['name']!=_0x403906['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1448ec['slice'](),'oldName':_0x427292['name'],'newName':_0x403906['name']});}['_handleElementAttributeChanges'](_0x55f43b,_0x1be187,_0x53232e){const _0x60535b=this['_getAttributeChanges'](_0x55f43b['getAttributes'](),_0x1be187['getAttributes']());for(const _0x409230 in _0x60535b){const {oldValue:_0x57dc0e,newValue:_0x5cf787}=_0x60535b[_0x409230];this['_operationsData']['push']({'type':'attribute','path':_0x53232e['slice'](),'howMany':0x1,'key':_0x409230,'oldValue':_0x57dc0e,'newValue':_0x5cf787});}}['_handleTextAttributeChanges'](_0x47e2f1,_0x4aef32,_0x5d6a63){const _0x1af38a=this['_operationsData'],_0x2ffb5d=_0x47e2f1[0x0]['parent'],_0x3274e2=_0x47e2f1[0x0]['offset'],_0xcb1c71=_0x4aef32[0x0]['parent'],_0x34dd37=_0x4aef32[0x0]['offset'],_0x4253a4=_0x47e2f1['reduce']((_0x1fc96c,_0x55b268)=>_0x1fc96c+_0x55b268['data']['length'],0x0),_0x4c1594=this['_getAttrsForOffsets'](_0x2ffb5d,_0x3274e2,_0x4253a4),_0x3cf824=this['_getAttrsForOffsets'](_0xcb1c71,_0x34dd37,_0x4253a4),_0x4f5c40={};for(let _0x2a2b6b=0x0;_0x2a2b6b<_0x4253a4;_0x2a2b6b++){const _0xc90942=_0x4c1594[_0x3274e2+_0x2a2b6b],_0x21a2b1=_0x3cf824[_0x34dd37+_0x2a2b6b],_0x2fc4d1=this['_getAttributeChanges'](_0xc90942,_0x21a2b1);for(const _0x1c0123 in _0x4f5c40)_0x2fc4d1[_0x1c0123]||_0x53de1f(_0x1c0123);for(const _0x1e9011 in _0x2fc4d1){const {oldValue:_0x49555f,newValue:_0xe959b7}=_0x2fc4d1[_0x1e9011],_0x13daec=_0x4f5c40[_0x1e9011];_0x13daec?_0x13daec['oldValue']==_0x49555f&&_0x13daec['newValue']==_0xe959b7?_0x13daec['length']++:(_0x53de1f(_0x1e9011),_0x4f5c40[_0x1e9011]={'oldValue':_0x49555f,'newValue':_0xe959b7,'start':_0x2a2b6b,'length':0x1}):_0x4f5c40[_0x1e9011]={'oldValue':_0x49555f,'newValue':_0xe959b7,'start':_0x2a2b6b,'length':0x1};}}for(const _0x1022b4 in _0x4f5c40)_0x53de1f(_0x1022b4);function _0x53de1f(_0x1ff4d8){const _0x4e39b8=_0x4f5c40[_0x1ff4d8],_0x276462=_0x5d6a63['slice']();_0x276462[_0x276462['length']-0x1]+=_0x4e39b8['start'],_0x1af38a['push']({'type':'attribute','path':_0x276462,'howMany':_0x4e39b8['length'],'key':_0x1ff4d8,'oldValue':_0x4e39b8['oldValue'],'newValue':_0x4e39b8['newValue']}),delete _0x4f5c40[_0x1ff4d8];}}['_getAttributeChanges'](_0x363af6,_0x534c88){const _0x3014a4={};for(const [_0x28a4d,_0xc16d56]of _0x363af6)_0x3014a4[_0x28a4d]={'oldValue':JSON['stringify'](_0xc16d56),'newValue':'null'};for(const [_0x791f26,_0x3b1f9e]of _0x534c88){const _0x6b5da1=JSON['stringify'](_0x3b1f9e);_0x3014a4[_0x791f26]?_0x3014a4[_0x791f26]['oldValue']==_0x6b5da1?delete _0x3014a4[_0x791f26]:_0x3014a4[_0x791f26]['newValue']=_0x6b5da1:_0x3014a4[_0x791f26]={'oldValue':'null','newValue':_0x6b5da1};}return delete _0x3014a4[Yt],_0x3014a4;}['_getAttrsForOffsets'](_0x3191e2,_0x3c6fb3,_0x115d90){const _0x5b5179=new Array(_0x3c6fb3+_0x115d90);let _0x17ea50=_0x3191e2['getChildAtOffset'](_0x3c6fb3),_0x22770a=_0x17ea50['startOffset'];for(;_0x17ea50&&_0x22770a<_0x3c6fb3+_0x115d90;){const _0x12926d=Array['from'](_0x17ea50['getAttributes']());_0x5b5179['fill'](_0x12926d,_0x22770a,_0x22770a+_0x17ea50['offsetSize']),_0x22770a+=_0x17ea50['offsetSize'],_0x17ea50=_0x17ea50['nextSibling'];}return _0x5b5179;}['_getPositionFromAnchorAndPath'](_0x3c2716,_0x5167c){const _0x3808f3=[..._0x3c2716['path']['slice'](0x0,-0x1),_0x3c2716['offset']+_0x5167c[0x0],..._0x5167c['slice'](0x1)];return new _0x225212(_0x3c2716['root'],_0x3808f3);}['_makeModelFromTokens'](_0x348242){const _0x4f6ed9=[];let _0x570ff9=null;for(const _0x36c105 of _0x348242)if('element'!=_0x36c105['type']||_0x36c105['isStart']||_0x570ff9!=_0x36c105['element']){if(!_0x570ff9){if('text'==_0x36c105['type']){const _0x6747d2=_0x225212['_createAt'](_0x36c105['parent'],_0x36c105['offset']),_0x1d9038=_0x256270['_createFromPositionAndShift'](_0x6747d2,_0x36c105['data']['length']),_0x39accd=Array['from'](_0x1d9038['getItems']())['map'](_0x352804=>new _0x361f16(_0x352804['data'],_0x352804['getAttributes']()));_0x4f6ed9['push'](..._0x39accd);}else{_0x570ff9=_0x36c105['element'];const _0x3442b2=_0x36c105['element']['_clone'](!0x0);_0x3442b2['_removeAttribute'](Yt);for(const _0x540226 of this['_editor']['model']['createRangeIn'](_0x3442b2)['getItems']())_0x540226['is']('element')&&_0x540226['_removeAttribute'](Yt);_0x4f6ed9['push'](_0x3442b2);}}}else _0x570ff9=null;return _0x4f6ed9;}};function Kt(_0x198b32,_0x8c4157){return _0x198b32['type']===_0x8c4157['type']&&(_0x198b32['limitId']===_0x8c4157['limitId']&&('text'==_0x198b32['type']?_0x198b32['data']==_0x8c4157['data']:function(_0x43aa45,_0x5d2e85){if(_0x43aa45['isStart']!=_0x5d2e85['isStart'])return!0x1;if(_0x43aa45['isStart']&&_0x43aa45['elementId']!=_0x5d2e85['elementId'])return!0x1;if(_0x43aa45['category']!=_0x5d2e85['category'])return!0x1;if('block'==_0x43aa45['category'])return!0x0;if('container'==_0x43aa45['category']&&_0x43aa45['elementId']!=_0x5d2e85['elementId'])return!0x1;return _0x43aa45['element']['name']==_0x5d2e85['element']['name'];}(_0x198b32,_0x8c4157)));}function qt(_0x2f76ab){return Tt({'name':_0x2f76ab['name'],...Object['fromEntries'](_0x2f76ab['getAttributes']())});}export{z as AriaDescriptionView,F as CollaborationUserColor,At as ConfirmMixin,Yt as DATA_ID_MODEL_ATTRIBUTE,jt as DATA_ID_VIEW_ATTRIBUTE,Jt as DocumentCompare,Gt as DocumentDiff,Ht as FOCUS_ANNOTATION_KEYSTROKE,W as LateFocusButtonView,Y as LateFocusDropdownButtonView,D as Permissions,U as PillView,Ct as SuggestionsConversion,L as User,H as UserView,O as Users,G as fixElementSuggestionRange,xt as getAllMarkersDomElementsSorted,_t as getDateTimeFormatter,It as getMarkerDomElement,Tt as hashObject,Rt as sanitizeEditorConfig,Ut as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Ft 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':_0x43a5e8=>0x1!=_0x43a5e8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x233a79=>{const {af:{dictionary:_0x8b6542,getPluralForm:_0xa7802e}}={'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':_0x100e46=>0x1!=_0x100e46}};_0x233a79['af']||={'dictionary':{},'getPluralForm':null},_0x233a79['af']['dictionary']=Object['assign'](_0x233a79['af']['dictionary'],_0x8b6542),_0x233a79['af']['getPluralForm']=_0xa7802e;})(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':_0xd352db=>0x0==_0xd352db?0x0:0x1==_0xd352db?0x1:0x2==_0xd352db?0x2:_0xd352db%0x64>=0x3&&_0xd352db%0x64<=0xa?0x3:_0xd352db%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e5efa=>{const {ar:{dictionary:_0x5b7191,getPluralForm:_0xd4c757}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟','Today':'اليوم','Yesterday':'أمس','Last':'آخر','Monday':'الاثنين','Tuesday':'الثلاثاء','Wednesday':'الأربعاء','Thursday':'وم\x20الخميس','Friday':'جمعة','Saturday':'السبت','Sunday':'الأحد'},'getPluralForm':_0x22e7bc=>0x0==_0x22e7bc?0x0:0x1==_0x22e7bc?0x1:0x2==_0x22e7bc?0x2:_0x22e7bc%0x64>=0x3&&_0x22e7bc%0x64<=0xa?0x3:_0x22e7bc%0x64>=0xb?0x4:0x5}};_0x1e5efa['ar']||={'dictionary':{},'getPluralForm':null},_0x1e5efa['ar']['dictionary']=Object['assign'](_0x1e5efa['ar']['dictionary'],_0x5b7191),_0x1e5efa['ar']['getPluralForm']=_0xd4c757;})(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':_0x4a9af9=>0x1!=_0x4a9af9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59b1a4=>{const {ast:{dictionary:_0x4bc7e9,getPluralForm:_0x2059ab}}={'ast':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x4b19d9=>0x1!=_0x4b19d9}};_0x59b1a4['ast']||={'dictionary':{},'getPluralForm':null},_0x59b1a4['ast']['dictionary']=Object['assign'](_0x59b1a4['ast']['dictionary'],_0x4bc7e9),_0x59b1a4['ast']['getPluralForm']=_0x2059ab;})(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':_0x5648e5=>0x1!=_0x5648e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x309609=>{const {az:{dictionary:_0x3f31b3,getPluralForm:_0x36fb98}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x13e99a=>0x1!=_0x13e99a}};_0x309609['az']||={'dictionary':{},'getPluralForm':null},_0x309609['az']['dictionary']=Object['assign'](_0x309609['az']['dictionary'],_0x3f31b3),_0x309609['az']['getPluralForm']=_0x36fb98;})(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':_0x561270=>_0x561270%0xa==0x1&&_0x561270%0x64!=0xb?0x0:_0x561270%0xa>=0x2&&_0x561270%0xa<=0x4&&(_0x561270%0x64<0xa||_0x561270%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2fb42e=>{const {be:{dictionary:_0x240b54,getPluralForm:_0x5b871a}}={'be':{'dictionary':{'Anonymous':'','Yes':'','No':'','Are\x20you\x20sure?':'','Today':'','Yesterday':'','Last':'','Monday':'','Tuesday':'','Wednesday':'','Thursday':'','Friday':'','Saturday':'','Sunday':''},'getPluralForm':_0x1b718a=>_0x1b718a%0xa==0x1&&_0x1b718a%0x64!=0xb?0x0:_0x1b718a%0xa>=0x2&&_0x1b718a%0xa<=0x4&&(_0x1b718a%0x64<0xa||_0x1b718a%0x64>=0x14)?0x1:0x2}};_0x2fb42e['be']||={'dictionary':{},'getPluralForm':null},_0x2fb42e['be']['dictionary']=Object['assign'](_0x2fb42e['be']['dictionary'],_0x240b54),_0x2fb42e['be']['getPluralForm']=_0x5b871a;})(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':_0x231c99=>0x1!=_0x231c99}};
|