@ckeditor/ckeditor5-collaboration-core 42.0.1-alpha.3 → 42.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/index-content.css +346 -341
- package/dist/index-editor.css +360 -342
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -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/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
- /package/dist/{types/collaborationhistory.d.ts → collaborationhistory.d.ts} +0 -0
- /package/dist/{types/collaborationoperation.d.ts → collaborationoperation.d.ts} +0 -0
- /package/dist/{types/config.d.ts → config.d.ts} +0 -0
- /package/dist/{types/index.d.ts → index.d.ts} +0 -0
- /package/dist/{types/permissions.d.ts → permissions.d.ts} +0 -0
- /package/dist/{types/suggestionstyles.d.ts → suggestionstyles.d.ts} +0 -0
- /package/dist/{types/users → users}/view/userview.d.ts +0 -0
- /package/dist/{types/users.d.ts → users.d.ts} +0 -0
- /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
- /package/dist/{types/utils → utils}/confirmmixin.d.ts +0 -0
- /package/dist/{types/utils → utils}/confirmview.d.ts +0 -0
- /package/dist/{types/utils → utils}/getdatetimeformatter.d.ts +0 -0
- /package/dist/{types/utils → utils}/getmarkerdomelement.d.ts +0 -0
- /package/dist/{types/utils → utils}/hashobject.d.ts +0 -0
- /package/dist/{types/utils → utils}/sanitizeEditorConfig.d.ts +0 -0
- /package/dist/{types/utils → utils}/surroundingmarkersdetector.d.ts +0 -0
- /package/dist/{types/utils → utils}/trim-html.d.ts +0 -0
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 _0x4eb134,Editor as _0x365176,icons as _0x369484}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3a49d2,Collection as _0x470e68,first as _0x180b9b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x318022,IconView as _0xf6673a,ButtonView as _0x1f00d6}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x18bc43 from'date-fns/format/index.js';import _0x2fc165 from'date-fns/parseISO/index.js';import _0x1d3036 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x4eb134{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x1f151c,_0x1be658){let _0x23d1a8;if(_0x1be658||(_0x1be658=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1be658?_0x23d1a8=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x23d1a8=this['context']['editors']['find'](_0x104260=>_0x104260['config']['get']('collaboration.channelId')==_0x1be658)),!_0x23d1a8)throw new _0x3a49d2('permissions-set-permissions-invalid-channel-id',null);const _0x170d4c=_0x23d1a8['plugins'],_0x688330=_0x170d4c['has']('CommentsRepository')?_0x170d4c['get']('CommentsRepository'):void 0x0,_0x129dc9=_0x170d4c['has']('CommentsOnly')&&_0x170d4c['get']('CommentsOnly'),_0xb348cc=_0x1f151c['includes']('document:write'),_0x30d8da=_0x1f151c['includes']('comment:modify_all'),_0x12cd64=_0x1f151c['includes']('comment:admin'),_0x4e0bb2=_0x1f151c['includes']('comment:write'),_0x14f7a3=_0x4e0bb2||_0x12cd64,_0x39d3a3=_0x14f7a3||_0x30d8da,_0x44a305=_0xb348cc||_0x14f7a3;(_0x129dc9&&(_0x129dc9['isEnabled']=!_0xb348cc&&_0x39d3a3),_0x23d1a8 instanceof _0x365176)&&(!(_0xb348cc||_0x39d3a3&&_0x688330)?_0x23d1a8['enableReadOnlyMode']('no-permissions'):_0x23d1a8['disableReadOnlyMode']('no-permissions'));if(_0x688330){_0x688330['setPermissions']({'admin':_0x12cd64,'modifyAll':_0x30d8da,'write':_0x4e0bb2,'resolve':_0x44a305},_0x1be658);const _0x36a8d1=_0x23d1a8 instanceof _0x365176&&_0x23d1a8['commands']['get']('addCommentThread');_0x36a8d1&&(_0x14f7a3?_0x36a8d1['clearForceDisabled']('noPermissions'):_0x36a8d1['forceDisabled']('noPermissions'));}}}function r(_0x12d262,_0x4c575b){const t=_0x12d262['t'];switch(_0x4c575b){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 _0x4eb134{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x19298c){super(_0x19298c),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x470e68(),this['_locale']=_0x19298c['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x291d8d=this['context'];this['licenseKey']=_0x291d8d['config']['get']('licenseKey');const _0x2c45d5=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b529f;for(const _0x556691 in _0x291d8d){const _0x3396a4=_0x291d8d[_0x556691];if(_0x2c45d5['includes'](_0x3396a4)){delete _0x291d8d[_0x556691],_0x2b529f=_0x3396a4;break;}}if('licenseKeyInvalid'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('invalid-license-key',null);if('licenseKeyTrial'===_0x2b529f&&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'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x2b529f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3a49d2('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x2b529f&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2d31af,name:_0x5cddc5,..._0x230a52}){if(!_0x2d31af||'string'!=typeof _0x2d31af)throw new _0x3a49d2('users-add-invalid-id');if(this['users']['has'](_0x2d31af))throw new _0x3a49d2('users-add-duplicated-id',null,{'id':_0x2d31af});const _0x1448a1={..._0x230a52,'id':_0x2d31af,'name':a(this['_locale'],_0x5cddc5),'color':this['_getNextColor']()};_0x1448a1['name']=a(this['_locale'],_0x1448a1['name']);const _0x4e1f6b=new I(_0x1448a1);return this['users']['add'](_0x4e1f6b),_0x4e1f6b;}['getUser'](_0x28dbaa){return this['users']['get'](_0x28dbaa);}['useAnonymousUser'](){const _0x1775f1=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x1775f1);}['defineMe'](_0x21e3a9){if(this['_myId'])throw new _0x3a49d2('users-me-already-defined',null);const _0x3f6c67=this['getUser'](_0x21e3a9);if(!_0x3f6c67)throw new _0x3a49d2('users-me-missing-user',null);this['_myId']=_0x21e3a9,_0x3f6c67['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0xf7edfe=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xf7edfe&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x2ddf34=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x2ddf34,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2005ff){this['id']=_0x2005ff['id'],this['color']=_0x2005ff['color'],this['name']=_0x2005ff['name'],this['avatar']=_0x2005ff['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0xc0fad7=this['name']['split']('\x20');return 0x1===_0xc0fad7['length']?this['_getInitial'](_0xc0fad7[0x0]):this['_getInitial'](_0xc0fad7[0x0])+this['_getInitial'](_0xc0fad7[_0xc0fad7['length']-0x1]);}['_getInitial'](_0x3ef8fc){return _0x3ef8fc['charAt'](0x0)['toUpperCase']();}}function a(_0x4b893c,_0x451d93=''){return''==(_0x451d93=_0x451d93['trim']())?r(_0x4b893c,'Anonymous'):_0x451d93;}class u{['_id'];constructor(_0x45c221){this['_id']=_0x45c221;}['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 _0x318022{['name'];['notificationView'];constructor(_0xf59c83,_0x23eee7,_0x5e60cd){super(_0xf59c83),this['name']=_0x23eee7['name'],this['notificationView']=null;const _0x3f9cff=['ck','ck-user'],_0x573e7a=['ck','ck-user__img'];if(_0x23eee7['isAnonymous']&&_0x573e7a['push']('ck-user__anonymous'),!_0x23eee7['isAnonymous']&&_0x23eee7['isMe']&&_0x3f9cff['push']('ck-user_me'),_0x23eee7['avatar']&&_0x573e7a['push']('ck-user__avatar'),_0x5e60cd){const _0x4217fe=new _0xf6673a();_0x4217fe['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4217fe['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':_0x5e60cd},'children':[_0x4217fe]};}const _0x563773=[{'tag':'div','attributes':{'class':_0x573e7a,'style':{'background-image':_0x23eee7['avatar']?'url(\x27'+_0x23eee7['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x23eee7['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x23eee7['initials']}]}];this['notificationView']&&_0x563773['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x3f9cff,'data-user-id':_0x23eee7['id']},'children':_0x563773});}}function j(_0x47907f={}){if(void 0x0!==_0x47907f['dateTimeFormat']&&'function'!=typeof _0x47907f['dateTimeFormat'])throw new _0x3a49d2('invalid-date-time-format');return _0x26d6fa=>{const _0xc6ba9a='string'==typeof _0x26d6fa?_0x2fc165(_0x26d6fa):_0x26d6fa,_0x74dc7b=new Date(),_0x124af5=_0x1d3036(_0x74dc7b,_0xc6ba9a);return _0x47907f['dateTimeFormat']?_0x47907f['dateTimeFormat'](_0xc6ba9a):_0x18bc43(_0xc6ba9a,0x0===_0x124af5?'\x27Today\x27\x20hh:mma':0x1===_0x124af5?'\x27Yesterday\x27\x20hh:mma':_0x124af5<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0xfbc970,_0x5548ab){const _0x29ee82=_0xfbc970['mapper']['markerNameToElements'](_0x5548ab['name']);if(!_0x29ee82)return null;const _0x11594b=_0x180b9b(_0x29ee82['values']());return _0xfbc970['view']['domConverter']['mapViewToDom'](_0x11594b)||null;}function K(_0x43abe3,_0x39b810){if(0x0===_0x39b810['length'])return null;const _0x62cf88=[],_0xf500db=_0x43abe3['view']['domConverter'];for(const _0xecd33a of _0x39b810){const _0x5b1355=_0x43abe3['mapper']['markerNameToElements'](_0xecd33a['name']);if(!_0x5b1355)continue;const _0x83bd5b=Array['from'](_0x5b1355)['map'](_0x55dae2=>_0xf500db['mapViewToDom'](_0x55dae2))['filter'](_0x18a944=>!!_0x18a944);_0x62cf88['push'](..._0x83bd5b);}if(0x0===_0x62cf88['length'])return null;const _0x186ee5=[];for(const _0x361cf9 of _0x62cf88){const _0x1db69e=_0x361cf9['getClientRects']()['item'](0x0);_0x1db69e&&_0x186ee5['push']({'x':_0x1db69e['x'],'y':_0x1db69e['y'],'domElement':_0x361cf9});}return 0x0===_0x186ee5['length']?null:(_0x186ee5['sort']((_0x4ec114,_0x40f50e)=>_0x4ec114['y']-_0x40f50e['y']||_0x4ec114['x']-_0x40f50e['x']),_0x186ee5['map'](_0x307f8b=>_0x307f8b['domElement']));}function Z(_0x10bd52,{limit:_0x38ee63,suffix:_0x1865fb='...'}){const _0xb17222=[];let _0x55fdba=0x0;const _0x242ab6=_0x10bd52['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3850f6=0x0;_0x3850f6<_0x242ab6['length'];_0x3850f6++){let _0xa6d023=_0x242ab6[_0x3850f6];const _0xf59946=$(_0xa6d023);if(_0xa6d023['startsWith']('<')){if(_0x55fdba>=_0x38ee63){const _0x538957=_0xa6d023['match'](/[a-zA-Z]+/);if(!_0x538957){_0x242ab6[_0x3850f6]='';continue;}const _0x2da154=_0x538957[0x0];_0xa6d023['startsWith']('</')?(_0xb17222['length']&&(_0xa6d023=''),_0xb17222['pop']()):(_0xb17222['push'](_0x2da154),_0xa6d023='');}}else{if(_0x55fdba>=_0x38ee63)_0xa6d023='';else{if(_0x55fdba+_0xf59946['length']>=_0x38ee63){let _0x239b58=_0x38ee63-_0x55fdba;if('\x20'===_0xf59946[_0x239b58-0x1])_0x239b58--;else{const _0x8cd5d3=_0xf59946['slice'](_0x239b58)['indexOf']('\x20');-0x1!==_0x8cd5d3?_0x239b58+=_0x8cd5d3:_0x239b58=_0xa6d023['length'];}_0xa6d023=_0xf59946['slice'](0x0,_0x239b58)['join']('')+_0x1865fb,_0x55fdba=_0x38ee63;}else _0x55fdba+=_0xf59946['length'];}}_0x242ab6[_0x3850f6]=_0xa6d023;}return _0x242ab6['join']('\x0a')['replace'](/\n/g,'');}function $(_0x17db9b){const _0x2493b9=[];for(let _0xf182af=0x0;_0xf182af<_0x17db9b['length'];_0xf182af++){const _0x552c1f=_0x17db9b['substring'](_0xf182af)['match'](/^&[a-z0-9#]+;/);if(_0x552c1f){const _0x18565a=_0x552c1f[0x0];_0x2493b9['push'](_0x18565a),_0xf182af+=_0x18565a['length']-0x1;}else _0x2493b9['push'](_0x17db9b[_0xf182af]);}return _0x2493b9;}class h extends _0x318022{['submitView'];['cancelView'];constructor(_0x5897b0){super(_0x5897b0);const _0x2635e0=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x5897b0,r(_0x5897b0,'Yes'),_0x369484['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x5897b0,r(_0x5897b0,'No'),_0x369484['cancel'],'cancel'),this['set']('message',r(_0x5897b0,'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':_0x2635e0['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x1f6e36,_0x3d0121,_0x42943e,_0x18e728){const _0x585328=new _0x1f00d6(_0x1f6e36);return _0x585328['label']=_0x3d0121,_0x585328['icon']=_0x42943e,_0x585328['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x18e728}}),_0x585328['on']('execute',()=>this['fire'](_0x18e728)),_0x585328;}}function m(_0x5a3753){return class extends _0x5a3753{['showConfirm'](_0x425b3e,_0x53df4c){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x425b3e,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x53df4c['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x5b0f71=>this['confirmView']['on']('submit',_0x5b0f71));}['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(_0x2adc0d){let _0x492bf9=0x0,_0x24de45=0x0;for(const _0x42a92c of A(_0x2adc0d))_0x492bf9=(_0x492bf9<<0x5)-_0x492bf9+_0x42a92c,_0x492bf9|=0x0,[_0x492bf9,_0x24de45]=[_0x24de45,_0x492bf9];return q(_0x492bf9)+q(_0x24de45);}function*g(_0x227ba4){null==_0x227ba4||null==_0x227ba4?yield 0x12b9b0a1:0x0===_0x227ba4||!0x1===_0x227ba4?yield 0x0:0x1===_0x227ba4||0x1==_0x227ba4?yield 0x1:Array['isArray'](_0x227ba4)?yield*function*(_0xb539e){for(const _0x2b82e4 of _0xb539e)yield*g(_0x2b82e4);}(_0x227ba4):'object'==typeof _0x227ba4?yield*A(_0x227ba4):'string'==typeof _0x227ba4?yield*M(_0x227ba4):'number'==typeof _0x227ba4&&(yield _0x227ba4);}function*A(_0x4f8c09){if(yield O('{'),_0x4f8c09){const _0x23c08c=Object['keys'](_0x4f8c09)['sort']();for(const _0x327461 of _0x23c08c){yield*M(_0x327461),yield O(':');const _0x2abca3=_0x4f8c09[_0x327461];yield*g(_0x2abca3);}}yield O('}');}function*M(_0x45327b){yield O('\x22');for(const _0x14bc80 of _0x45327b)yield O(_0x14bc80);yield O('\x22');}function O(_0x7ef789){return _0x7ef789['charCodeAt'](0x0);}function q(_0x82ac78){return(_0x82ac78*=Math['sign'](_0x82ac78))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x2c3c46,_0x3e7996,_0x43f60d,_0x4e9373=[]){const _0x61046c='string'==typeof _0x2c3c46?_0x43f60d['get'](_0x2c3c46)['constructor']:_0x2c3c46['prototype']['constructor'];if(_0x3e7996['has'](_0x61046c))return _0x3e7996['get'](_0x61046c);_0x3e7996['set'](_0x61046c,!0x0);const _0x31cf6e=[...W,..._0x4e9373]['map'](_0x3ea00c=>{if(_0x43f60d['has'](_0x3ea00c))return _0x43f60d['get'](_0x3ea00c)['constructor'];})['filter'](_0x4a4939=>_0x4a4939);if(_0x61046c&&_0x31cf6e['includes'](_0x61046c))return _0x3e7996['set'](_0x61046c,!0x1),!0x1;if(!_0x61046c['requires'])return _0x3e7996['set'](_0x61046c,!0x0),!0x0;const _0x541f74=_0x61046c['requires']['every'](_0x5e26b4=>v(_0x5e26b4,_0x3e7996,_0x43f60d,_0x4e9373));return _0x3e7996['set'](_0x61046c,_0x541f74),_0x541f74;}function D(_0x15706e,_0x1fc9c2){const _0x117451={};for(const _0x5c8eb3 of _0x15706e['config']['names']())w['includes'](_0x5c8eb3)||(_0x117451[_0x5c8eb3]=_0x15706e['config']['get'](_0x5c8eb3));const _0x453ab7=_0x117451['plugins']||[],_0x168ed3=_0x15706e['constructor']['builtinPlugins']||[],_0x1e7dc3=_0x453ab7['length']?_0x453ab7:_0x168ed3,_0x1aaf36=_0x117451['extraPlugins']||[];delete _0x117451['extraPlugins'];const _0x2d575d=_0x117451['removePlugins']||[];delete _0x117451['removePlugins'];const _0x4a0da5=_0x15706e['_context']['config']['get']('plugins')||[],_0x36eb6e=_0x1e7dc3['concat'](_0x1aaf36)['concat'](_0x4a0da5)['map'](_0x4b1916=>'string'==typeof _0x4b1916?_0x168ed3['find'](_0x3c1854=>_0x3c1854['pluginName']==_0x4b1916):_0x4b1916)['filter'](_0x3b78df=>!_0x2d575d['includes'](_0x3b78df)&&!_0x2d575d['includes'](_0x3b78df['pluginName'])),_0xa6c729=Array['from'](new Set(_0x36eb6e)),_0x2b493e=new Map();return _0x117451['plugins']=_0xa6c729['filter'](_0x2a6bad=>v(_0x2a6bad,_0x2b493e,_0x15706e['plugins'],_0x1fc9c2)),_0x117451;}function z(_0x294177,_0x178c41){const _0x12356c=[];_0x294177['document']['selection']['on']('change:range',()=>{const _0x26c02e=function(_0x1bb9fe,_0x314781){const _0x816581=[];for(const _0x2103a8 of _0x1bb9fe['markers']){const _0x2e0ab7=_0x2103a8['getRange']();(_0x2e0ab7['containsPosition'](_0x314781)||_0x2e0ab7['start']['isEqual'](_0x314781)||_0x2e0ab7['end']['isEqual'](_0x314781))&&_0x816581['push'](_0x2103a8);}return _0x816581;}(_0x294177,_0x294177['document']['selection']['focus']),_0x1522fa=[],_0x578fc2=[],_0x213020=[];for(const _0x270500 of _0x12356c)_0x26c02e['includes'](_0x270500)||_0x1522fa['push'](_0x270500);for(const _0x199bff of _0x26c02e)_0x12356c['includes'](_0x199bff)||_0x578fc2['push'](_0x199bff),_0x213020['push'](_0x199bff);(_0x1522fa['length']||_0x578fc2['length'])&&_0x178c41({'left':_0x1522fa,'entered':_0x578fc2}),_0x12356c['length']=0x0,_0x12356c['push'](..._0x213020);});}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};
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
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':_0x38e40e=>0x1!=_0x38e40e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x26ff3b=>{const {af:{dictionary:_0x36a0bc,getPluralForm:_0x56970d}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x2249c5=>0x1!=_0x2249c5}};_0x26ff3b['af']||={'dictionary':{},'getPluralForm':null},_0x26ff3b['af']['dictionary']=Object['assign'](_0x26ff3b['af']['dictionary'],_0x36a0bc),_0x26ff3b['af']['getPluralForm']=_0x56970d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x1f8f31=>0x0==_0x1f8f31?0x0:0x1==_0x1f8f31?0x1:0x2==_0x1f8f31?0x2:_0x1f8f31%0x64>=0x3&&_0x1f8f31%0x64<=0xa?0x3:_0x1f8f31%0x64>=0xb&&_0x1f8f31%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5da080=>{const {ar:{dictionary:_0x461abc,getPluralForm:_0x52188f}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x744486=>0x0==_0x744486?0x0:0x1==_0x744486?0x1:0x2==_0x744486?0x2:_0x744486%0x64>=0x3&&_0x744486%0x64<=0xa?0x3:_0x744486%0x64>=0xb&&_0x744486%0x64<=0x63?0x4:0x5}};_0x5da080['ar']||={'dictionary':{},'getPluralForm':null},_0x5da080['ar']['dictionary']=Object['assign'](_0x5da080['ar']['dictionary'],_0x461abc),_0x5da080['ar']['getPluralForm']=_0x52188f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x34563f=>0x1!=_0x34563f}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5cd74f=>{const {az:{dictionary:_0x4f8c5a,getPluralForm:_0x2b5d68}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0xf92465=>0x1!=_0xf92465}};_0x5cd74f['az']||={'dictionary':{},'getPluralForm':null},_0x5cd74f['az']['dictionary']=Object['assign'](_0x5cd74f['az']['dictionary'],_0x4f8c5a),_0x5cd74f['az']['getPluralForm']=_0x2b5d68;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x498ed8=>0x1!=_0x498ed8}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x178105=>{const {bg:{dictionary:_0x533e4e,getPluralForm:_0x5a5b6a}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x4c9b8c=>0x1!=_0x4c9b8c}};_0x178105['bg']||={'dictionary':{},'getPluralForm':null},_0x178105['bg']['dictionary']=Object['assign'](_0x178105['bg']['dictionary'],_0x533e4e),_0x178105['bg']['getPluralForm']=_0x5a5b6a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x182021=>0x1!=_0x182021}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x41a706=>{const {bn:{dictionary:_0x26069b,getPluralForm:_0x320a3d}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x2b6a42=>0x1!=_0x2b6a42}};_0x41a706['bn']||={'dictionary':{},'getPluralForm':null},_0x41a706['bn']['dictionary']=Object['assign'](_0x41a706['bn']['dictionary'],_0x26069b),_0x41a706['bn']['getPluralForm']=_0x320a3d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x5e0595=>_0x5e0595%0xa==0x1&&_0x5e0595%0x64!=0xb?0x0:_0x5e0595%0xa>=0x2&&_0x5e0595%0xa<=0x4&&(_0x5e0595%0x64<0xa||_0x5e0595%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x14306a=>{const {bs:{dictionary:_0x3fd4c8,getPluralForm:_0x3c4c27}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x44176d=>_0x44176d%0xa==0x1&&_0x44176d%0x64!=0xb?0x0:_0x44176d%0xa>=0x2&&_0x44176d%0xa<=0x4&&(_0x44176d%0x64<0xa||_0x44176d%0x64>=0x14)?0x1:0x2}};_0x14306a['bs']||={'dictionary':{},'getPluralForm':null},_0x14306a['bs']['dictionary']=Object['assign'](_0x14306a['bs']['dictionary'],_0x3fd4c8),_0x14306a['bs']['getPluralForm']=_0x3c4c27;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x13a75a=>0x1!=_0x13a75a}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1a109b=>{const {ca:{dictionary:_0x3a0755,getPluralForm:_0x2f06be}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x34ce41=>0x1!=_0x34ce41}};_0x1a109b['ca']||={'dictionary':{},'getPluralForm':null},_0x1a109b['ca']['dictionary']=Object['assign'](_0x1a109b['ca']['dictionary'],_0x3a0755),_0x1a109b['ca']['getPluralForm']=_0x2f06be;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x488081=>0x1==_0x488081&&_0x488081%0x1==0x0?0x0:_0x488081>=0x2&&_0x488081<=0x4&&_0x488081%0x1==0x0?0x1:_0x488081%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4bad3b=>{const {cs:{dictionary:_0x198157,getPluralForm:_0x5c3219}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x69f382=>0x1==_0x69f382&&_0x69f382%0x1==0x0?0x0:_0x69f382>=0x2&&_0x69f382<=0x4&&_0x69f382%0x1==0x0?0x1:_0x69f382%0x1!=0x0?0x2:0x3}};_0x4bad3b['cs']||={'dictionary':{},'getPluralForm':null},_0x4bad3b['cs']['dictionary']=Object['assign'](_0x4bad3b['cs']['dictionary'],_0x198157),_0x4bad3b['cs']['getPluralForm']=_0x5c3219;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x2820b4=>0x1!=_0x2820b4}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x408025=>{const {da:{dictionary:_0x119663,getPluralForm:_0x3fbc27}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x1812ac=>0x1!=_0x1812ac}};_0x408025['da']||={'dictionary':{},'getPluralForm':null},_0x408025['da']['dictionary']=Object['assign'](_0x408025['da']['dictionary'],_0x119663),_0x408025['da']['getPluralForm']=_0x3fbc27;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x3926af=>0x1!=_0x3926af}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x30c661=>{const {'de-ch':{dictionary:_0x38a7d3,getPluralForm:_0x33bcfb}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x34bc85=>0x1!=_0x34bc85}};_0x30c661['de-ch']||={'dictionary':{},'getPluralForm':null},_0x30c661['de-ch']['dictionary']=Object['assign'](_0x30c661['de-ch']['dictionary'],_0x38a7d3),_0x30c661['de-ch']['getPluralForm']=_0x33bcfb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x5ed6a8=>0x1!=_0x5ed6a8}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2db3de=>{const {de:{dictionary:_0x30b556,getPluralForm:_0x284ccb}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x359692=>0x1!=_0x359692}};_0x2db3de['de']||={'dictionary':{},'getPluralForm':null},_0x2db3de['de']['dictionary']=Object['assign'](_0x2db3de['de']['dictionary'],_0x30b556),_0x2db3de['de']['getPluralForm']=_0x284ccb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x5a633f=>0x1!=_0x5a633f}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xfedf00=>{const {el:{dictionary:_0xccc96,getPluralForm:_0xcf75a}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x2a55b6=>0x1!=_0x2a55b6}};_0xfedf00['el']||={'dictionary':{},'getPluralForm':null},_0xfedf00['el']['dictionary']=Object['assign'](_0xfedf00['el']['dictionary'],_0xccc96),_0xfedf00['el']['getPluralForm']=_0xcf75a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x10e206=>0x1!=_0x10e206}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x49b7ff=>{const {'en-au':{dictionary:_0x3a9516,getPluralForm:_0x3ed832}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x5e1103=>0x1!=_0x5e1103}};_0x49b7ff['en-au']||={'dictionary':{},'getPluralForm':null},_0x49b7ff['en-au']['dictionary']=Object['assign'](_0x49b7ff['en-au']['dictionary'],_0x3a9516),_0x49b7ff['en-au']['getPluralForm']=_0x3ed832;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x39947a=>{const {en:{dictionary:_0x58bdc9,getPluralForm:_0x590a08}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x39947a['en']||={'dictionary':{},'getPluralForm':null},_0x39947a['en']['dictionary']=Object['assign'](_0x39947a['en']['dictionary'],_0x58bdc9),_0x39947a['en']['getPluralForm']=_0x590a08;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x2d67f8=>0x1==_0x2d67f8?0x0:0x0!=_0x2d67f8&&_0x2d67f8%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1aa3c7=>{const {'es-co':{dictionary:_0x45352e,getPluralForm:_0x91acd6}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0xf3847d=>0x1==_0xf3847d?0x0:0x0!=_0xf3847d&&_0xf3847d%0xf4240==0x0?0x1:0x2}};_0x1aa3c7['es-co']||={'dictionary':{},'getPluralForm':null},_0x1aa3c7['es-co']['dictionary']=Object['assign'](_0x1aa3c7['es-co']['dictionary'],_0x45352e),_0x1aa3c7['es-co']['getPluralForm']=_0x91acd6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x25df3f=>0x1==_0x25df3f?0x0:0x0!=_0x25df3f&&_0x25df3f%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x191774=>{const {es:{dictionary:_0x551ff3,getPluralForm:_0x2097c6}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x5b98bd=>0x1==_0x5b98bd?0x0:0x0!=_0x5b98bd&&_0x5b98bd%0xf4240==0x0?0x1:0x2}};_0x191774['es']||={'dictionary':{},'getPluralForm':null},_0x191774['es']['dictionary']=Object['assign'](_0x191774['es']['dictionary'],_0x551ff3),_0x191774['es']['getPluralForm']=_0x2097c6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default 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':_0x56795d=>0x1!=_0x56795d}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5d8020=>{const {et:{dictionary:_0x54cf02,getPluralForm:_0x1a8cb9}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x142f94=>0x1!=_0x142f94}};_0x5d8020['et']||={'dictionary':{},'getPluralForm':null},_0x5d8020['et']['dictionary']=Object['assign'](_0x5d8020['et']['dictionary'],_0x54cf02),_0x5d8020['et']['getPluralForm']=_0x1a8cb9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -3,6 +3,6 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
7
7
|
declare const translations: Translations;
|
8
8
|
export default translations;
|