@ckeditor/ckeditor5-collaboration-core 42.0.1-alpha.3 → 42.0.1
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/LICENSE.md +1 -1
- 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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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 +2 -2
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/LICENSE.md
CHANGED
@@ -8,7 +8,7 @@ CKEditor 5 collaboration core is licensed under a commercial license and is
|
|
8
8
|
For more details about available licensing options please contact us at sales@cksource.com.
|
9
9
|
|
10
10
|
Sources of Intellectual Property Included in CKEditor 5 collaboration core
|
11
|
-
|
11
|
+
-------------------------------------------------------------------------------
|
12
12
|
|
13
13
|
Where not otherwise indicated, all CKEditor 5 collaboration core content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
14
14
|
|
package/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x406727,Editor as _0x5719e7,icons as _0x29e79d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x380e9b,Collection as _0x2fb49b,first as _0x5252b4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5d3604,IconView as _0x3942a2,ButtonView as _0x2043a1}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x5dd897 from'date-fns/format/index.js';import _0x1d1799 from'date-fns/parseISO/index.js';import _0x5c8d25 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x406727{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x166343,_0x133ca0){let _0xb61d57;if(_0x133ca0||(_0x133ca0=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x133ca0?_0xb61d57=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0xb61d57=this['context']['editors']['find'](_0x5828bb=>_0x5828bb['config']['get']('collaboration.channelId')==_0x133ca0)),!_0xb61d57)throw new _0x380e9b('permissions-set-permissions-invalid-channel-id',null);const _0x3e5e54=_0xb61d57['plugins'],_0x18377a=_0x3e5e54['has']('CommentsRepository')?_0x3e5e54['get']('CommentsRepository'):void 0x0,_0x3b8593=_0x3e5e54['has']('CommentsOnly')&&_0x3e5e54['get']('CommentsOnly'),_0x180fd4=_0x166343['includes']('document:write'),_0x442eb9=_0x166343['includes']('comment:modify_all'),_0x585e6a=_0x166343['includes']('comment:admin'),_0x2ab4f0=_0x166343['includes']('comment:write'),_0x18d6f9=_0x2ab4f0||_0x585e6a,_0x2fe989=_0x18d6f9||_0x442eb9,_0x4fd879=_0x180fd4||_0x18d6f9;(_0x3b8593&&(_0x3b8593['isEnabled']=!_0x180fd4&&_0x2fe989),_0xb61d57 instanceof _0x5719e7)&&(!(_0x180fd4||_0x2fe989&&_0x18377a)?_0xb61d57['enableReadOnlyMode']('no-permissions'):_0xb61d57['disableReadOnlyMode']('no-permissions'));if(_0x18377a){_0x18377a['setPermissions']({'admin':_0x585e6a,'modifyAll':_0x442eb9,'write':_0x2ab4f0,'resolve':_0x4fd879},_0x133ca0);const _0xd4b705=_0xb61d57 instanceof _0x5719e7&&_0xb61d57['commands']['get']('addCommentThread');_0xd4b705&&(_0x18d6f9?_0xd4b705['clearForceDisabled']('noPermissions'):_0xd4b705['forceDisabled']('noPermissions'));}}}function r(_0x5436c3,_0x1af94c){const t=_0x5436c3['t'];switch(_0x1af94c){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x406727{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0xa19222){super(_0xa19222),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x2fb49b(),this['_locale']=_0xa19222['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3dad31=this['context'];this['licenseKey']=_0x3dad31['config']['get']('licenseKey');const _0x301076=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x551bdb;for(const _0x1e1a99 in _0x3dad31){const _0x4fc67c=_0x3dad31[_0x1e1a99];if(_0x301076['includes'](_0x4fc67c)){delete _0x3dad31[_0x1e1a99],_0x551bdb=_0x4fc67c;break;}}if('licenseKeyInvalid'===_0x551bdb)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x380e9b('invalid-license-key',null);if('licenseKeyTrial'===_0x551bdb&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x551bdb)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x380e9b('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x551bdb)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x380e9b('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x551bdb)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x380e9b('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x551bdb&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x4238dd,name:_0x418ff8,..._0x55cb28}){if(!_0x4238dd||'string'!=typeof _0x4238dd)throw new _0x380e9b('users-add-invalid-id');if(this['users']['has'](_0x4238dd))throw new _0x380e9b('users-add-duplicated-id',null,{'id':_0x4238dd});const _0x21ca55={..._0x55cb28,'id':_0x4238dd,'name':a(this['_locale'],_0x418ff8),'color':this['_getNextColor']()};_0x21ca55['name']=a(this['_locale'],_0x21ca55['name']);const _0x15f755=new I(_0x21ca55);return this['users']['add'](_0x15f755),_0x15f755;}['getUser'](_0x302823){return this['users']['get'](_0x302823);}['useAnonymousUser'](){const _0x5ce668=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5ce668);}['defineMe'](_0x41ea06){if(this['_myId'])throw new _0x380e9b('users-me-already-defined',null);const _0x210de3=this['getUser'](_0x41ea06);if(!_0x210de3)throw new _0x380e9b('users-me-missing-user',null);this['_myId']=_0x41ea06,_0x210de3['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x235fbb=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x235fbb&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3bd4f3=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3bd4f3,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4328f7){this['id']=_0x4328f7['id'],this['color']=_0x4328f7['color'],this['name']=_0x4328f7['name'],this['avatar']=_0x4328f7['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x30267c=this['name']['split']('\x20');return 0x1===_0x30267c['length']?this['_getInitial'](_0x30267c[0x0]):this['_getInitial'](_0x30267c[0x0])+this['_getInitial'](_0x30267c[_0x30267c['length']-0x1]);}['_getInitial'](_0x3781ac){return _0x3781ac['charAt'](0x0)['toUpperCase']();}}function a(_0xaf3fcb,_0x495ef4=''){return''==(_0x495ef4=_0x495ef4['trim']())?r(_0xaf3fcb,'Anonymous'):_0x495ef4;}class u{['_id'];constructor(_0x2c601f){this['_id']=_0x2c601f;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class E extends _0x5d3604{['name'];['notificationView'];constructor(_0x5b1060,_0x5a1387,_0x558d06){super(_0x5b1060),this['name']=_0x5a1387['name'],this['notificationView']=null;const _0x9e8977=['ck','ck-user'],_0x65cefc=['ck','ck-user__img'];if(_0x5a1387['isAnonymous']&&_0x65cefc['push']('ck-user__anonymous'),!_0x5a1387['isAnonymous']&&_0x5a1387['isMe']&&_0x9e8977['push']('ck-user_me'),_0x5a1387['avatar']&&_0x65cefc['push']('ck-user__avatar'),_0x558d06){const _0x28d4d0=new _0x3942a2();_0x28d4d0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x28d4d0['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x558d06},'children':[_0x28d4d0]};}const _0x2de8d3=[{'tag':'div','attributes':{'class':_0x65cefc,'style':{'background-image':_0x5a1387['avatar']?'url(\x27'+_0x5a1387['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5a1387['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x5a1387['initials']}]}];this['notificationView']&&_0x2de8d3['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x9e8977,'data-user-id':_0x5a1387['id']},'children':_0x2de8d3});}}function j(_0x53b119={}){if(void 0x0!==_0x53b119['dateTimeFormat']&&'function'!=typeof _0x53b119['dateTimeFormat'])throw new _0x380e9b('invalid-date-time-format');return _0x1d626d=>{const _0x25a9df='string'==typeof _0x1d626d?_0x1d1799(_0x1d626d):_0x1d626d,_0x5032db=new Date(),_0x4ddb8d=_0x5c8d25(_0x5032db,_0x25a9df);return _0x53b119['dateTimeFormat']?_0x53b119['dateTimeFormat'](_0x25a9df):_0x5dd897(_0x25a9df,0x0===_0x4ddb8d?'\x27Today\x27\x20hh:mma':0x1===_0x4ddb8d?'\x27Yesterday\x27\x20hh:mma':_0x4ddb8d<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x2c181a,_0x2436cb){const _0x1b7fd4=_0x2c181a['mapper']['markerNameToElements'](_0x2436cb['name']);if(!_0x1b7fd4)return null;const _0x406f3a=_0x5252b4(_0x1b7fd4['values']());return _0x2c181a['view']['domConverter']['mapViewToDom'](_0x406f3a)||null;}function K(_0xbe1187,_0x3cd394){if(0x0===_0x3cd394['length'])return null;const _0xc62618=[],_0x45e50b=_0xbe1187['view']['domConverter'];for(const _0x46b8e5 of _0x3cd394){const _0x5cc3b8=_0xbe1187['mapper']['markerNameToElements'](_0x46b8e5['name']);if(!_0x5cc3b8)continue;const _0x177939=Array['from'](_0x5cc3b8)['map'](_0x2ffb11=>_0x45e50b['mapViewToDom'](_0x2ffb11))['filter'](_0x1aedec=>!!_0x1aedec);_0xc62618['push'](..._0x177939);}if(0x0===_0xc62618['length'])return null;const _0x132214=[];for(const _0x4ae629 of _0xc62618){const _0x1a7691=_0x4ae629['getClientRects']()['item'](0x0);_0x1a7691&&_0x132214['push']({'x':_0x1a7691['x'],'y':_0x1a7691['y'],'domElement':_0x4ae629});}return 0x0===_0x132214['length']?null:(_0x132214['sort']((_0x4fec18,_0x48b5a6)=>_0x4fec18['y']-_0x48b5a6['y']||_0x4fec18['x']-_0x48b5a6['x']),_0x132214['map'](_0x218992=>_0x218992['domElement']));}function Z(_0x5a5e39,{limit:_0x166f7f,suffix:_0xd61090='...'}){const _0x2d876b=[];let _0x22594c=0x0;const _0x4e30b2=_0x5a5e39['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3a3739=0x0;_0x3a3739<_0x4e30b2['length'];_0x3a3739++){let _0x487a27=_0x4e30b2[_0x3a3739];const _0xca5270=$(_0x487a27);if(_0x487a27['startsWith']('<')){if(_0x22594c>=_0x166f7f){const _0x531167=_0x487a27['match'](/[a-zA-Z]+/);if(!_0x531167){_0x4e30b2[_0x3a3739]='';continue;}const _0x5771a2=_0x531167[0x0];_0x487a27['startsWith']('</')?(_0x2d876b['length']&&(_0x487a27=''),_0x2d876b['pop']()):(_0x2d876b['push'](_0x5771a2),_0x487a27='');}}else{if(_0x22594c>=_0x166f7f)_0x487a27='';else{if(_0x22594c+_0xca5270['length']>=_0x166f7f){let _0xf8442e=_0x166f7f-_0x22594c;if('\x20'===_0xca5270[_0xf8442e-0x1])_0xf8442e--;else{const _0x258f12=_0xca5270['slice'](_0xf8442e)['indexOf']('\x20');-0x1!==_0x258f12?_0xf8442e+=_0x258f12:_0xf8442e=_0x487a27['length'];}_0x487a27=_0xca5270['slice'](0x0,_0xf8442e)['join']('')+_0xd61090,_0x22594c=_0x166f7f;}else _0x22594c+=_0xca5270['length'];}}_0x4e30b2[_0x3a3739]=_0x487a27;}return _0x4e30b2['join']('\x0a')['replace'](/\n/g,'');}function $(_0x5c0e08){const _0xebce4c=[];for(let _0x4f879b=0x0;_0x4f879b<_0x5c0e08['length'];_0x4f879b++){const _0x41ed92=_0x5c0e08['substring'](_0x4f879b)['match'](/^&[a-z0-9#]+;/);if(_0x41ed92){const _0x4752ac=_0x41ed92[0x0];_0xebce4c['push'](_0x4752ac),_0x4f879b+=_0x4752ac['length']-0x1;}else _0xebce4c['push'](_0x5c0e08[_0x4f879b]);}return _0xebce4c;}class h extends _0x5d3604{['submitView'];['cancelView'];constructor(_0x477866){super(_0x477866);const _0x5afba6=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x477866,r(_0x477866,'Yes'),_0x29e79d['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x477866,r(_0x477866,'No'),_0x29e79d['cancel'],'cancel'),this['set']('message',r(_0x477866,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x5afba6['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x582427,_0x5f4ab5,_0x243cdc,_0x4c5604){const _0x2e1f2e=new _0x2043a1(_0x582427);return _0x2e1f2e['label']=_0x5f4ab5,_0x2e1f2e['icon']=_0x243cdc,_0x2e1f2e['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x4c5604}}),_0x2e1f2e['on']('execute',()=>this['fire'](_0x4c5604)),_0x2e1f2e;}}function m(_0x304728){return class extends _0x304728{['showConfirm'](_0x12e6ae,_0x50088a){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x12e6ae,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x50088a['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x378772=>this['confirmView']['on']('submit',_0x378772));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x6dec12){let _0x41e787=0x0,_0x121b56=0x0;for(const _0x45b2bf of A(_0x6dec12))_0x41e787=(_0x41e787<<0x5)-_0x41e787+_0x45b2bf,_0x41e787|=0x0,[_0x41e787,_0x121b56]=[_0x121b56,_0x41e787];return q(_0x41e787)+q(_0x121b56);}function*g(_0x2d9c4b){null==_0x2d9c4b||null==_0x2d9c4b?yield 0x12b9b0a1:0x0===_0x2d9c4b||!0x1===_0x2d9c4b?yield 0x0:0x1===_0x2d9c4b||0x1==_0x2d9c4b?yield 0x1:Array['isArray'](_0x2d9c4b)?yield*function*(_0x3ca267){for(const _0x3a9160 of _0x3ca267)yield*g(_0x3a9160);}(_0x2d9c4b):'object'==typeof _0x2d9c4b?yield*A(_0x2d9c4b):'string'==typeof _0x2d9c4b?yield*M(_0x2d9c4b):'number'==typeof _0x2d9c4b&&(yield _0x2d9c4b);}function*A(_0x2ab5e0){if(yield O('{'),_0x2ab5e0){const _0x35ffa4=Object['keys'](_0x2ab5e0)['sort']();for(const _0x54b7cf of _0x35ffa4){yield*M(_0x54b7cf),yield O(':');const _0x1c69d8=_0x2ab5e0[_0x54b7cf];yield*g(_0x1c69d8);}}yield O('}');}function*M(_0x4271ad){yield O('\x22');for(const _0xbdc258 of _0x4271ad)yield O(_0xbdc258);yield O('\x22');}function O(_0x7ceb41){return _0x7ceb41['charCodeAt'](0x0);}function q(_0x83a17b){return(_0x83a17b*=Math['sign'](_0x83a17b))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x1885b3,_0x592000,_0x46ddfa,_0x32bee3=[]){const _0x520654='string'==typeof _0x1885b3?_0x46ddfa['get'](_0x1885b3)['constructor']:_0x1885b3['prototype']['constructor'];if(_0x592000['has'](_0x520654))return _0x592000['get'](_0x520654);_0x592000['set'](_0x520654,!0x0);const _0x47cfb1=[...W,..._0x32bee3]['map'](_0x277aa2=>{if(_0x46ddfa['has'](_0x277aa2))return _0x46ddfa['get'](_0x277aa2)['constructor'];})['filter'](_0x2f60db=>_0x2f60db);if(_0x520654&&_0x47cfb1['includes'](_0x520654))return _0x592000['set'](_0x520654,!0x1),!0x1;if(!_0x520654['requires'])return _0x592000['set'](_0x520654,!0x0),!0x0;const _0x2137f5=_0x520654['requires']['every'](_0x56bf06=>v(_0x56bf06,_0x592000,_0x46ddfa,_0x32bee3));return _0x592000['set'](_0x520654,_0x2137f5),_0x2137f5;}function D(_0x20612b,_0x30e9b9){const _0x5a902e={};for(const _0x1e981b of _0x20612b['config']['names']())w['includes'](_0x1e981b)||(_0x5a902e[_0x1e981b]=_0x20612b['config']['get'](_0x1e981b));const _0x2f262f=_0x5a902e['plugins']||[],_0x53e11f=_0x20612b['constructor']['builtinPlugins']||[],_0x1072ad=_0x2f262f['length']?_0x2f262f:_0x53e11f,_0x567b26=_0x5a902e['extraPlugins']||[];delete _0x5a902e['extraPlugins'];const _0x349cb5=_0x5a902e['removePlugins']||[];delete _0x5a902e['removePlugins'];const _0x2750ff=_0x20612b['_context']['config']['get']('plugins')||[],_0x93bc6c=_0x1072ad['concat'](_0x567b26)['concat'](_0x2750ff)['map'](_0xa47652=>'string'==typeof _0xa47652?_0x53e11f['find'](_0x5b3b29=>_0x5b3b29['pluginName']==_0xa47652):_0xa47652)['filter'](_0x4f3545=>!_0x349cb5['includes'](_0x4f3545)&&!_0x349cb5['includes'](_0x4f3545['pluginName'])),_0x2e9d9c=Array['from'](new Set(_0x93bc6c)),_0x3120f6=new Map();return _0x5a902e['plugins']=_0x2e9d9c['filter'](_0x41f40=>v(_0x41f40,_0x3120f6,_0x20612b['plugins'],_0x30e9b9)),_0x5a902e;}function z(_0x3c2fb5,_0x45bf82){const _0x26bd0a=[];_0x3c2fb5['document']['selection']['on']('change:range',()=>{const _0x9c0d44=function(_0x19e9f4,_0x316d7e){const _0x1016f1=[];for(const _0x52dfe6 of _0x19e9f4['markers']){const _0x53711c=_0x52dfe6['getRange']();(_0x53711c['containsPosition'](_0x316d7e)||_0x53711c['start']['isEqual'](_0x316d7e)||_0x53711c['end']['isEqual'](_0x316d7e))&&_0x1016f1['push'](_0x52dfe6);}return _0x1016f1;}(_0x3c2fb5,_0x3c2fb5['document']['selection']['focus']),_0x36f0e7=[],_0xedc998=[],_0x580432=[];for(const _0x2e027c of _0x26bd0a)_0x9c0d44['includes'](_0x2e027c)||_0x36f0e7['push'](_0x2e027c);for(const _0x21314b of _0x9c0d44)_0x26bd0a['includes'](_0x21314b)||_0xedc998['push'](_0x21314b),_0x580432['push'](_0x21314b);(_0x36f0e7['length']||_0xedc998['length'])&&_0x45bf82({'left':_0x36f0e7,'entered':_0xedc998}),_0x26bd0a['length']=0x0,_0x26bd0a['push'](..._0x580432);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,K as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
23
|
+
import{ContextPlugin as _0x1de914,Editor as _0x3b2fc8,icons as _0x5f2925}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x51141f,Collection as _0x342305,first as _0x281303}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x401a87,IconView as _0x3302f3,ButtonView as _0x55fbd1}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x1ea0ca from'date-fns/format/index.js';import _0x56fb73 from'date-fns/parseISO/index.js';import _0x8c0fb4 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x1de914{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x131dea,_0x4c2b4c){let _0x4ffd6e;if(_0x4c2b4c||(_0x4c2b4c=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x4c2b4c?_0x4ffd6e=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4ffd6e=this['context']['editors']['find'](_0x263699=>_0x263699['config']['get']('collaboration.channelId')==_0x4c2b4c)),!_0x4ffd6e)throw new _0x51141f('permissions-set-permissions-invalid-channel-id',null);const _0x4a7358=_0x4ffd6e['plugins'],_0xa48599=_0x4a7358['has']('CommentsRepository')?_0x4a7358['get']('CommentsRepository'):void 0x0,_0x577f3a=_0x4a7358['has']('CommentsOnly')&&_0x4a7358['get']('CommentsOnly'),_0x20394b=_0x131dea['includes']('document:write'),_0x2cb7c2=_0x131dea['includes']('comment:modify_all'),_0x29e157=_0x131dea['includes']('comment:admin'),_0x1e3a20=_0x131dea['includes']('comment:write'),_0x397ac6=_0x1e3a20||_0x29e157,_0x26b2d0=_0x397ac6||_0x2cb7c2,_0x19386d=_0x20394b||_0x397ac6;(_0x577f3a&&(_0x577f3a['isEnabled']=!_0x20394b&&_0x26b2d0),_0x4ffd6e instanceof _0x3b2fc8)&&(!(_0x20394b||_0x26b2d0&&_0xa48599)?_0x4ffd6e['enableReadOnlyMode']('no-permissions'):_0x4ffd6e['disableReadOnlyMode']('no-permissions'));if(_0xa48599){_0xa48599['setPermissions']({'admin':_0x29e157,'modifyAll':_0x2cb7c2,'write':_0x1e3a20,'resolve':_0x19386d},_0x4c2b4c);const _0x43c03b=_0x4ffd6e instanceof _0x3b2fc8&&_0x4ffd6e['commands']['get']('addCommentThread');_0x43c03b&&(_0x397ac6?_0x43c03b['clearForceDisabled']('noPermissions'):_0x43c03b['forceDisabled']('noPermissions'));}}}function r(_0x1aa022,_0xffd859){const t=_0x1aa022['t'];switch(_0xffd859){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x1de914{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0xabdd76){super(_0xabdd76),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x342305(),this['_locale']=_0xabdd76['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3150a7=this['context'];this['licenseKey']=_0x3150a7['config']['get']('licenseKey');const _0xa92cfd=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d4f8f;for(const _0x560349 in _0x3150a7){const _0x1294ce=_0x3150a7[_0x560349];if(_0xa92cfd['includes'](_0x1294ce)){delete _0x3150a7[_0x560349],_0x3d4f8f=_0x1294ce;break;}}if('licenseKeyInvalid'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('invalid-license-key',null);if('licenseKeyTrial'===_0x3d4f8f&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x3d4f8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51141f('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x3d4f8f&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x34ea7d,name:_0x1000fc,..._0x599b3}){if(!_0x34ea7d||'string'!=typeof _0x34ea7d)throw new _0x51141f('users-add-invalid-id');if(this['users']['has'](_0x34ea7d))throw new _0x51141f('users-add-duplicated-id',null,{'id':_0x34ea7d});const _0x23ddb3={..._0x599b3,'id':_0x34ea7d,'name':a(this['_locale'],_0x1000fc),'color':this['_getNextColor']()};_0x23ddb3['name']=a(this['_locale'],_0x23ddb3['name']);const _0x47ff37=new I(_0x23ddb3);return this['users']['add'](_0x47ff37),_0x47ff37;}['getUser'](_0xa12d82){return this['users']['get'](_0xa12d82);}['useAnonymousUser'](){const _0x25567e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x25567e);}['defineMe'](_0x2a8be9){if(this['_myId'])throw new _0x51141f('users-me-already-defined',null);const _0xc315bc=this['getUser'](_0x2a8be9);if(!_0xc315bc)throw new _0x51141f('users-me-missing-user',null);this['_myId']=_0x2a8be9,_0xc315bc['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x63047b=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x63047b&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x31dbe0=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x31dbe0,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x3ef17d){this['id']=_0x3ef17d['id'],this['color']=_0x3ef17d['color'],this['name']=_0x3ef17d['name'],this['avatar']=_0x3ef17d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x28e54f=this['name']['split']('\x20');return 0x1===_0x28e54f['length']?this['_getInitial'](_0x28e54f[0x0]):this['_getInitial'](_0x28e54f[0x0])+this['_getInitial'](_0x28e54f[_0x28e54f['length']-0x1]);}['_getInitial'](_0x31f9b8){return _0x31f9b8['charAt'](0x0)['toUpperCase']();}}function a(_0x5d79f1,_0x16352b=''){return''==(_0x16352b=_0x16352b['trim']())?r(_0x5d79f1,'Anonymous'):_0x16352b;}class u{['_id'];constructor(_0x36e0cc){this['_id']=_0x36e0cc;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class E extends _0x401a87{['name'];['notificationView'];constructor(_0x1b6fa8,_0x1bbb1d,_0x2ca78c){super(_0x1b6fa8),this['name']=_0x1bbb1d['name'],this['notificationView']=null;const _0x56fbf0=['ck','ck-user'],_0x4e8d03=['ck','ck-user__img'];if(_0x1bbb1d['isAnonymous']&&_0x4e8d03['push']('ck-user__anonymous'),!_0x1bbb1d['isAnonymous']&&_0x1bbb1d['isMe']&&_0x56fbf0['push']('ck-user_me'),_0x1bbb1d['avatar']&&_0x4e8d03['push']('ck-user__avatar'),_0x2ca78c){const _0x30f2a0=new _0x3302f3();_0x30f2a0['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x30f2a0['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2ca78c},'children':[_0x30f2a0]};}const _0x2a64dd=[{'tag':'div','attributes':{'class':_0x4e8d03,'style':{'background-image':_0x1bbb1d['avatar']?'url(\x27'+_0x1bbb1d['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1bbb1d['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x1bbb1d['initials']}]}];this['notificationView']&&_0x2a64dd['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x56fbf0,'data-user-id':_0x1bbb1d['id']},'children':_0x2a64dd});}}function j(_0x58a66b={}){if(void 0x0!==_0x58a66b['dateTimeFormat']&&'function'!=typeof _0x58a66b['dateTimeFormat'])throw new _0x51141f('invalid-date-time-format');return _0x433066=>{const _0x1d8ee3='string'==typeof _0x433066?_0x56fb73(_0x433066):_0x433066,_0x2b31bf=new Date(),_0x49e1f3=_0x8c0fb4(_0x2b31bf,_0x1d8ee3);return _0x58a66b['dateTimeFormat']?_0x58a66b['dateTimeFormat'](_0x1d8ee3):_0x1ea0ca(_0x1d8ee3,0x0===_0x49e1f3?'\x27Today\x27\x20hh:mma':0x1===_0x49e1f3?'\x27Yesterday\x27\x20hh:mma':_0x49e1f3<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x274015,_0x23fb9a){const _0xa13f60=_0x274015['mapper']['markerNameToElements'](_0x23fb9a['name']);if(!_0xa13f60)return null;const _0x511d9c=_0x281303(_0xa13f60['values']());return _0x274015['view']['domConverter']['mapViewToDom'](_0x511d9c)||null;}function K(_0x45182f,_0x587d0a){if(0x0===_0x587d0a['length'])return null;const _0x141fd2=[],_0x20faf5=_0x45182f['view']['domConverter'];for(const _0x1132f4 of _0x587d0a){const _0x1609f7=_0x45182f['mapper']['markerNameToElements'](_0x1132f4['name']);if(!_0x1609f7)continue;const _0x2798d7=Array['from'](_0x1609f7)['map'](_0x1d1d3b=>_0x20faf5['mapViewToDom'](_0x1d1d3b))['filter'](_0x3e2778=>!!_0x3e2778);_0x141fd2['push'](..._0x2798d7);}if(0x0===_0x141fd2['length'])return null;const _0x105b4e=[];for(const _0x50bc13 of _0x141fd2){const _0x52f70f=_0x50bc13['getClientRects']()['item'](0x0);_0x52f70f&&_0x105b4e['push']({'x':_0x52f70f['x'],'y':_0x52f70f['y'],'domElement':_0x50bc13});}return 0x0===_0x105b4e['length']?null:(_0x105b4e['sort']((_0x584346,_0x57f76b)=>_0x584346['y']-_0x57f76b['y']||_0x584346['x']-_0x57f76b['x']),_0x105b4e['map'](_0x4e4454=>_0x4e4454['domElement']));}function Z(_0x372f5a,{limit:_0x31cd99,suffix:_0x4dbfc4='...'}){const _0x3be3aa=[];let _0x3a1a83=0x0;const _0x27dd0e=_0x372f5a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5e1c=0x0;_0x5e1c<_0x27dd0e['length'];_0x5e1c++){let _0x5e14d6=_0x27dd0e[_0x5e1c];const _0x270bc2=$(_0x5e14d6);if(_0x5e14d6['startsWith']('<')){if(_0x3a1a83>=_0x31cd99){const _0x2e04e6=_0x5e14d6['match'](/[a-zA-Z]+/);if(!_0x2e04e6){_0x27dd0e[_0x5e1c]='';continue;}const _0x36dd8e=_0x2e04e6[0x0];_0x5e14d6['startsWith']('</')?(_0x3be3aa['length']&&(_0x5e14d6=''),_0x3be3aa['pop']()):(_0x3be3aa['push'](_0x36dd8e),_0x5e14d6='');}}else{if(_0x3a1a83>=_0x31cd99)_0x5e14d6='';else{if(_0x3a1a83+_0x270bc2['length']>=_0x31cd99){let _0x5ad3f0=_0x31cd99-_0x3a1a83;if('\x20'===_0x270bc2[_0x5ad3f0-0x1])_0x5ad3f0--;else{const _0x391f50=_0x270bc2['slice'](_0x5ad3f0)['indexOf']('\x20');-0x1!==_0x391f50?_0x5ad3f0+=_0x391f50:_0x5ad3f0=_0x5e14d6['length'];}_0x5e14d6=_0x270bc2['slice'](0x0,_0x5ad3f0)['join']('')+_0x4dbfc4,_0x3a1a83=_0x31cd99;}else _0x3a1a83+=_0x270bc2['length'];}}_0x27dd0e[_0x5e1c]=_0x5e14d6;}return _0x27dd0e['join']('\x0a')['replace'](/\n/g,'');}function $(_0x206fa1){const _0xb8d947=[];for(let _0x262180=0x0;_0x262180<_0x206fa1['length'];_0x262180++){const _0x242e27=_0x206fa1['substring'](_0x262180)['match'](/^&[a-z0-9#]+;/);if(_0x242e27){const _0x22db1b=_0x242e27[0x0];_0xb8d947['push'](_0x22db1b),_0x262180+=_0x22db1b['length']-0x1;}else _0xb8d947['push'](_0x206fa1[_0x262180]);}return _0xb8d947;}class h extends _0x401a87{['submitView'];['cancelView'];constructor(_0x52e528){super(_0x52e528);const _0x319c5e=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x52e528,r(_0x52e528,'Yes'),_0x5f2925['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x52e528,r(_0x52e528,'No'),_0x5f2925['cancel'],'cancel'),this['set']('message',r(_0x52e528,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x319c5e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x414ac4,_0x64b21d,_0x26a332,_0x32b32b){const _0x3f1c3f=new _0x55fbd1(_0x414ac4);return _0x3f1c3f['label']=_0x64b21d,_0x3f1c3f['icon']=_0x26a332,_0x3f1c3f['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x32b32b}}),_0x3f1c3f['on']('execute',()=>this['fire'](_0x32b32b)),_0x3f1c3f;}}function m(_0x50a614){return class extends _0x50a614{['showConfirm'](_0x338a5b,_0x28e252){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x338a5b,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x28e252['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x356126=>this['confirmView']['on']('submit',_0x356126));}['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['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x226d92){let _0x42fdea=0x0,_0x2d7e09=0x0;for(const _0xa7894b of A(_0x226d92))_0x42fdea=(_0x42fdea<<0x5)-_0x42fdea+_0xa7894b,_0x42fdea|=0x0,[_0x42fdea,_0x2d7e09]=[_0x2d7e09,_0x42fdea];return q(_0x42fdea)+q(_0x2d7e09);}function*g(_0x44b8d3){null==_0x44b8d3||null==_0x44b8d3?yield 0x12b9b0a1:0x0===_0x44b8d3||!0x1===_0x44b8d3?yield 0x0:0x1===_0x44b8d3||0x1==_0x44b8d3?yield 0x1:Array['isArray'](_0x44b8d3)?yield*function*(_0x26ab24){for(const _0x176baa of _0x26ab24)yield*g(_0x176baa);}(_0x44b8d3):'object'==typeof _0x44b8d3?yield*A(_0x44b8d3):'string'==typeof _0x44b8d3?yield*M(_0x44b8d3):'number'==typeof _0x44b8d3&&(yield _0x44b8d3);}function*A(_0x4738e7){if(yield O('{'),_0x4738e7){const _0x5415c7=Object['keys'](_0x4738e7)['sort']();for(const _0x3aa3ad of _0x5415c7){yield*M(_0x3aa3ad),yield O(':');const _0x559eec=_0x4738e7[_0x3aa3ad];yield*g(_0x559eec);}}yield O('}');}function*M(_0x3e2680){yield O('\x22');for(const _0x2e7bbc of _0x3e2680)yield O(_0x2e7bbc);yield O('\x22');}function O(_0x59b2bc){return _0x59b2bc['charCodeAt'](0x0);}function q(_0x1c13b5){return(_0x1c13b5*=Math['sign'](_0x1c13b5))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x4db127,_0x374637,_0x1e921e,_0x1c474c=[]){const _0x585467='string'==typeof _0x4db127?_0x1e921e['get'](_0x4db127)['constructor']:_0x4db127['prototype']['constructor'];if(_0x374637['has'](_0x585467))return _0x374637['get'](_0x585467);_0x374637['set'](_0x585467,!0x0);const _0x2ee540=[...W,..._0x1c474c]['map'](_0x5b888c=>{if(_0x1e921e['has'](_0x5b888c))return _0x1e921e['get'](_0x5b888c)['constructor'];})['filter'](_0x5e8817=>_0x5e8817);if(_0x585467&&_0x2ee540['includes'](_0x585467))return _0x374637['set'](_0x585467,!0x1),!0x1;if(!_0x585467['requires'])return _0x374637['set'](_0x585467,!0x0),!0x0;const _0xcb7cd7=_0x585467['requires']['every'](_0x118162=>v(_0x118162,_0x374637,_0x1e921e,_0x1c474c));return _0x374637['set'](_0x585467,_0xcb7cd7),_0xcb7cd7;}function D(_0x4a84c3,_0x34aa07){const _0x29b431={};for(const _0x321abf of _0x4a84c3['config']['names']())w['includes'](_0x321abf)||(_0x29b431[_0x321abf]=_0x4a84c3['config']['get'](_0x321abf));const _0x13bddd=_0x29b431['plugins']||[],_0x4980ee=_0x4a84c3['constructor']['builtinPlugins']||[],_0x51a2a0=_0x13bddd['length']?_0x13bddd:_0x4980ee,_0x1fa13f=_0x29b431['extraPlugins']||[];delete _0x29b431['extraPlugins'];const _0x405aa1=_0x29b431['removePlugins']||[];delete _0x29b431['removePlugins'];const _0x182a74=_0x4a84c3['_context']['config']['get']('plugins')||[],_0x5bc483=_0x51a2a0['concat'](_0x1fa13f)['concat'](_0x182a74)['map'](_0x494dbe=>'string'==typeof _0x494dbe?_0x4980ee['find'](_0x5c57f0=>_0x5c57f0['pluginName']==_0x494dbe):_0x494dbe)['filter'](_0x273ca8=>!_0x405aa1['includes'](_0x273ca8)&&!_0x405aa1['includes'](_0x273ca8['pluginName'])),_0x56664e=Array['from'](new Set(_0x5bc483)),_0x579699=new Map();return _0x29b431['plugins']=_0x56664e['filter'](_0x3cd78a=>v(_0x3cd78a,_0x579699,_0x4a84c3['plugins'],_0x34aa07)),_0x29b431;}function z(_0x266355,_0x36025c){const _0x20fd3b=[];_0x266355['document']['selection']['on']('change:range',()=>{const _0x46671a=function(_0x285254,_0x3d0741){const _0x252999=[];for(const _0x26e77c of _0x285254['markers']){const _0x2fb0a9=_0x26e77c['getRange']();(_0x2fb0a9['containsPosition'](_0x3d0741)||_0x2fb0a9['start']['isEqual'](_0x3d0741)||_0x2fb0a9['end']['isEqual'](_0x3d0741))&&_0x252999['push'](_0x26e77c);}return _0x252999;}(_0x266355,_0x266355['document']['selection']['focus']),_0x1a90cc=[],_0x592202=[],_0x4ca5bc=[];for(const _0x18ae93 of _0x20fd3b)_0x46671a['includes'](_0x18ae93)||_0x1a90cc['push'](_0x18ae93);for(const _0x38c4a5 of _0x46671a)_0x20fd3b['includes'](_0x38c4a5)||_0x592202['push'](_0x38c4a5),_0x4ca5bc['push'](_0x38c4a5);(_0x1a90cc['length']||_0x592202['length'])&&_0x36025c({'left':_0x1a90cc,'entered':_0x592202}),_0x20fd3b['length']=0x0,_0x20fd3b['push'](..._0x4ca5bc);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,K as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z 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?'},'getPluralForm':
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x377d59=>0x1!=_0x377d59}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2e336a=>{const {af:{dictionary:_0x50235d,getPluralForm:_0x4b227a}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x21cb08=>0x1!=_0x21cb08}};_0x2e336a['af']||={'dictionary':{},'getPluralForm':null},_0x2e336a['af']['dictionary']=Object['assign'](_0x2e336a['af']['dictionary'],_0x50235d),_0x2e336a['af']['getPluralForm']=_0x4b227a;})(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متأكد؟'},'getPluralForm':
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x5b3761=>0x0==_0x5b3761?0x0:0x1==_0x5b3761?0x1:0x2==_0x5b3761?0x2:_0x5b3761%0x64>=0x3&&_0x5b3761%0x64<=0xa?0x3:_0x5b3761%0x64>=0xb&&_0x5b3761%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5af847=>{const {ar:{dictionary:_0x4982c5,getPluralForm:_0x1728ce}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x9160cd=>0x0==_0x9160cd?0x0:0x1==_0x9160cd?0x1:0x2==_0x9160cd?0x2:_0x9160cd%0x64>=0x3&&_0x9160cd%0x64<=0xa?0x3:_0x9160cd%0x64>=0xb&&_0x9160cd%0x64<=0x63?0x4:0x5}};_0x5af847['ar']||={'dictionary':{},'getPluralForm':null},_0x5af847['ar']['dictionary']=Object['assign'](_0x5af847['ar']['dictionary'],_0x4982c5),_0x5af847['ar']['getPluralForm']=_0x1728ce;})(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?':''},'getPluralForm':
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x4d2468=>0x1!=_0x4d2468}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x58568d=>{const {az:{dictionary:_0x20ce68,getPluralForm:_0x16cb28}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x28b290=>0x1!=_0x28b290}};_0x58568d['az']||={'dictionary':{},'getPluralForm':null},_0x58568d['az']['dictionary']=Object['assign'](_0x58568d['az']['dictionary'],_0x20ce68),_0x58568d['az']['getPluralForm']=_0x16cb28;})(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сте?'},'getPluralForm':
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x34a072=>0x1!=_0x34a072}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x371cd4=>{const {bg:{dictionary:_0x5a97f2,getPluralForm:_0x57ff96}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x5d0a7e=>0x1!=_0x5d0a7e}};_0x371cd4['bg']||={'dictionary':{},'getPluralForm':null},_0x371cd4['bg']['dictionary']=Object['assign'](_0x371cd4['bg']['dictionary'],_0x5a97f2),_0x371cd4['bg']['getPluralForm']=_0x57ff96;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x2d344e=>0x1!=_0x2d344e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4925a1=>{const {bn:{dictionary:_0x47ec1d,getPluralForm:_0x57b8d2}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x1fb780=>0x1!=_0x1fb780}};_0x4925a1['bn']||={'dictionary':{},'getPluralForm':null},_0x4925a1['bn']['dictionary']=Object['assign'](_0x4925a1['bn']['dictionary'],_0x47ec1d),_0x4925a1['bn']['getPluralForm']=_0x57b8d2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x30166a=>_0x30166a%0xa==0x1&&_0x30166a%0x64!=0xb?0x0:_0x30166a%0xa>=0x2&&_0x30166a%0xa<=0x4&&(_0x30166a%0x64<0xa||_0x30166a%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3ebbae=>{const {bs:{dictionary:_0x4aa3a6,getPluralForm:_0x514936}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x51eb4b=>_0x51eb4b%0xa==0x1&&_0x51eb4b%0x64!=0xb?0x0:_0x51eb4b%0xa>=0x2&&_0x51eb4b%0xa<=0x4&&(_0x51eb4b%0x64<0xa||_0x51eb4b%0x64>=0x14)?0x1:0x2}};_0x3ebbae['bs']||={'dictionary':{},'getPluralForm':null},_0x3ebbae['bs']['dictionary']=Object['assign'](_0x3ebbae['bs']['dictionary'],_0x4aa3a6),_0x3ebbae['bs']['getPluralForm']=_0x514936;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0xb369e2=>0x1!=_0xb369e2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x29afc3=>{const {ca:{dictionary:_0x157194,getPluralForm:_0x2e1ae1}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x52d3b6=>0x1!=_0x52d3b6}};_0x29afc3['ca']||={'dictionary':{},'getPluralForm':null},_0x29afc3['ca']['dictionary']=Object['assign'](_0x29afc3['ca']['dictionary'],_0x157194),_0x29afc3['ca']['getPluralForm']=_0x2e1ae1;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x4909c4=>0x1==_0x4909c4&&_0x4909c4%0x1==0x0?0x0:_0x4909c4>=0x2&&_0x4909c4<=0x4&&_0x4909c4%0x1==0x0?0x1:_0x4909c4%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xcb4cf5=>{const {cs:{dictionary:_0x72bb59,getPluralForm:_0x466dcd}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x411354=>0x1==_0x411354&&_0x411354%0x1==0x0?0x0:_0x411354>=0x2&&_0x411354<=0x4&&_0x411354%0x1==0x0?0x1:_0x411354%0x1!=0x0?0x2:0x3}};_0xcb4cf5['cs']||={'dictionary':{},'getPluralForm':null},_0xcb4cf5['cs']['dictionary']=Object['assign'](_0xcb4cf5['cs']['dictionary'],_0x72bb59),_0xcb4cf5['cs']['getPluralForm']=_0x466dcd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x343cea=>0x1!=_0x343cea}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3cc1bc=>{const {da:{dictionary:_0x5c261f,getPluralForm:_0x1fc5ba}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x23fa21=>0x1!=_0x23fa21}};_0x3cc1bc['da']||={'dictionary':{},'getPluralForm':null},_0x3cc1bc['da']['dictionary']=Object['assign'](_0x3cc1bc['da']['dictionary'],_0x5c261f),_0x3cc1bc['da']['getPluralForm']=_0x1fc5ba;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x2062e4=>0x1!=_0x2062e4}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5a62ab=>{const {'de-ch':{dictionary:_0x5effa8,getPluralForm:_0x41d880}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x1b5178=>0x1!=_0x1b5178}};_0x5a62ab['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5a62ab['de-ch']['dictionary']=Object['assign'](_0x5a62ab['de-ch']['dictionary'],_0x5effa8),_0x5a62ab['de-ch']['getPluralForm']=_0x41d880;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x390dfe=>0x1!=_0x390dfe}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x8a4e9a=>{const {de:{dictionary:_0x2378c8,getPluralForm:_0x58f679}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x138bbb=>0x1!=_0x138bbb}};_0x8a4e9a['de']||={'dictionary':{},'getPluralForm':null},_0x8a4e9a['de']['dictionary']=Object['assign'](_0x8a4e9a['de']['dictionary'],_0x2378c8),_0x8a4e9a['de']['getPluralForm']=_0x58f679;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':
|
23
|
+
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x583e71=>0x1!=_0x583e71}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x19c9aa=>{const {el:{dictionary:_0x39749a,getPluralForm:_0xce8b5d}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x21cb52=>0x1!=_0x21cb52}};_0x19c9aa['el']||={'dictionary':{},'getPluralForm':null},_0x19c9aa['el']['dictionary']=Object['assign'](_0x19c9aa['el']['dictionary'],_0x39749a),_0x19c9aa['el']['getPluralForm']=_0xce8b5d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x255b17=>0x1!=_0x255b17}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5089b4=>{const {'en-au':{dictionary:_0x27c31b,getPluralForm:_0x307da9}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x43c1d8=>0x1!=_0x43c1d8}};_0x5089b4['en-au']||={'dictionary':{},'getPluralForm':null},_0x5089b4['en-au']['dictionary']=Object['assign'](_0x5089b4['en-au']['dictionary'],_0x27c31b),_0x5089b4['en-au']['getPluralForm']=_0x307da9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3bb0fe=>{const {en:{dictionary:_0x14e500,getPluralForm:_0x20e13f}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x3bb0fe['en']||={'dictionary':{},'getPluralForm':null},_0x3bb0fe['en']['dictionary']=Object['assign'](_0x3bb0fe['en']['dictionary'],_0x14e500),_0x3bb0fe['en']['getPluralForm']=_0x20e13f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x41342a=>0x1==_0x41342a?0x0:0x0!=_0x41342a&&_0x41342a%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5a258c=>{const {'es-co':{dictionary:_0x58b168,getPluralForm:_0x1f7958}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x5e13fa=>0x1==_0x5e13fa?0x0:0x0!=_0x5e13fa&&_0x5e13fa%0xf4240==0x0?0x1:0x2}};_0x5a258c['es-co']||={'dictionary':{},'getPluralForm':null},_0x5a258c['es-co']['dictionary']=Object['assign'](_0x5a258c['es-co']['dictionary'],_0x58b168),_0x5a258c['es-co']['getPluralForm']=_0x1f7958;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/es.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':
|
23
|
+
export default{'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x1b3930=>0x1==_0x1b3930?0x0:0x0!=_0x1b3930&&_0x1b3930%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5b5113=>{const {es:{dictionary:_0x27e5f7,getPluralForm:_0x370ffd}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x2bd2b6=>0x1==_0x2bd2b6?0x0:0x0!=_0x2bd2b6&&_0x2bd2b6%0xf4240==0x0?0x1:0x2}};_0x5b5113['es']||={'dictionary':{},'getPluralForm':null},_0x5b5113['es']['dictionary']=Object['assign'](_0x5b5113['es']['dictionary'],_0x27e5f7),_0x5b5113['es']['getPluralForm']=_0x370ffd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/et.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':
|
23
|
+
export default{'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x14047b=>0x1!=_0x14047b}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2d3674=>{const {et:{dictionary:_0x41d735,getPluralForm:_0x5bce3f}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x65b112=>0x1!=_0x65b112}};_0x2d3674['et']||={'dictionary':{},'getPluralForm':null},_0x2d3674['et']['dictionary']=Object['assign'](_0x2d3674['et']['dictionary'],_0x41d735),_0x2d3674['et']['getPluralForm']=_0x5bce3f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fa.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':
|
23
|
+
export default{'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x2f596f=>_0x2f596f>0x1}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x517a76=>{const {fa:{dictionary:_0x119c29,getPluralForm:_0x3db8f2}}={'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x1b32e4=>_0x1b32e4>0x1}};_0x517a76['fa']||={'dictionary':{},'getPluralForm':null},_0x517a76['fa']['dictionary']=Object['assign'](_0x517a76['fa']['dictionary'],_0x119c29),_0x517a76['fa']['getPluralForm']=_0x3db8f2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fi.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':
|
23
|
+
export default{'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x3790b8=>0x1!=_0x3790b8}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xc9cbbd=>{const {fi:{dictionary:_0x589750,getPluralForm:_0x56bbb6}}={'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x4d958f=>0x1!=_0x4d958f}};_0xc9cbbd['fi']||={'dictionary':{},'getPluralForm':null},_0xc9cbbd['fi']['dictionary']=Object['assign'](_0xc9cbbd['fi']['dictionary'],_0x589750),_0xc9cbbd['fi']['getPluralForm']=_0x56bbb6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fr.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':
|
23
|
+
export default{'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x5849db=>0x0==_0x5849db||0x1==_0x5849db?0x0:0x0!=_0x5849db&&_0x5849db%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1273e0=>{const {fr:{dictionary:_0x4e6c81,getPluralForm:_0xb3b430}}={'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x1166a5=>0x0==_0x1166a5||0x1==_0x1166a5?0x0:0x0!=_0x1166a5&&_0x1166a5%0xf4240==0x0?0x1:0x2}};_0x1273e0['fr']||={'dictionary':{},'getPluralForm':null},_0x1273e0['fr']['dictionary']=Object['assign'](_0x1273e0['fr']['dictionary'],_0x4e6c81),_0x1273e0['fr']['getPluralForm']=_0xb3b430;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/gl.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x87615a=>0x1!=_0x87615a}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4d1cb5=>{const {gl:{dictionary:_0x2abf28,getPluralForm:_0x1d02ec}}={'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0xb22638=>0x1!=_0xb22638}};_0x4d1cb5['gl']||={'dictionary':{},'getPluralForm':null},_0x4d1cb5['gl']['dictionary']=Object['assign'](_0x4d1cb5['gl']['dictionary'],_0x2abf28),_0x4d1cb5['gl']['getPluralForm']=_0x1d02ec;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/he.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':
|
23
|
+
export default{'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x2e7870=>0x1==_0x2e7870&&_0x2e7870%0x1==0x0?0x0:0x2==_0x2e7870&&_0x2e7870%0x1==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x37a5bc=>{const {he:{dictionary:_0x41c0ee,getPluralForm:_0x51246b}}={'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x2d8b1c=>0x1==_0x2d8b1c&&_0x2d8b1c%0x1==0x0?0x0:0x2==_0x2d8b1c&&_0x2d8b1c%0x1==0x0?0x1:0x2}};_0x37a5bc['he']||={'dictionary':{},'getPluralForm':null},_0x37a5bc['he']['dictionary']=Object['assign'](_0x37a5bc['he']['dictionary'],_0x41c0ee),_0x37a5bc['he']['getPluralForm']=_0x51246b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hi.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x55b104=>0x1!=_0x55b104}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x483776=>{const {hi:{dictionary:_0x173253,getPluralForm:_0x2cd821}}={'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x50c4fb=>0x1!=_0x50c4fb}};_0x483776['hi']||={'dictionary':{},'getPluralForm':null},_0x483776['hi']['dictionary']=Object['assign'](_0x483776['hi']['dictionary'],_0x173253),_0x483776['hi']['getPluralForm']=_0x2cd821;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hr.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':
|
23
|
+
export default{'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x527369=>_0x527369%0xa==0x1&&_0x527369%0x64!=0xb?0x0:_0x527369%0xa>=0x2&&_0x527369%0xa<=0x4&&(_0x527369%0x64<0xa||_0x527369%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1a9623=>{const {hr:{dictionary:_0x1fafb0,getPluralForm:_0x2556ad}}={'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x5670ab=>_0x5670ab%0xa==0x1&&_0x5670ab%0x64!=0xb?0x0:_0x5670ab%0xa>=0x2&&_0x5670ab%0xa<=0x4&&(_0x5670ab%0x64<0xa||_0x5670ab%0x64>=0x14)?0x1:0x2}};_0x1a9623['hr']||={'dictionary':{},'getPluralForm':null},_0x1a9623['hr']['dictionary']=Object['assign'](_0x1a9623['hr']['dictionary'],_0x1fafb0),_0x1a9623['hr']['getPluralForm']=_0x2556ad;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/hu.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':
|
23
|
+
export default{'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x350aae=>0x1!=_0x350aae}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3ab60d=>{const {hu:{dictionary:_0x36e118,getPluralForm:_0x45ac4e}}={'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x310314=>0x1!=_0x310314}};_0x3ab60d['hu']||={'dictionary':{},'getPluralForm':null},_0x3ab60d['hu']['dictionary']=Object['assign'](_0x3ab60d['hu']['dictionary'],_0x36e118),_0x3ab60d['hu']['getPluralForm']=_0x45ac4e;})(window['CKEDITOR_TRANSLATIONS']||={});
|