@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240529.0 → 0.0.0-nightly-20240530.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/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/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x48f6b4,Editor as _0xcf84ec,icons as _0x3e9b48}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x51b9a0,Collection as _0x3f06d0,first as _0x242651}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3f8c4f,IconView as _0x90368d,ButtonView as _0x1ceab9}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x33d013 from'date-fns/format/index.js';import _0xb2b2e8 from'date-fns/parseISO/index.js';import _0xd1a8b from'date-fns/differenceInCalendarDays/index.js';class n extends _0x48f6b4{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x38a0af,_0x1c00fb){let _0x58c4f1;if(_0x1c00fb||(_0x1c00fb=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x1c00fb?_0x58c4f1=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x58c4f1=this['context']['editors']['find'](_0x5946cd=>_0x5946cd['config']['get']('collaboration.channelId')==_0x1c00fb)),!_0x58c4f1)throw new _0x51b9a0('permissions-set-permissions-invalid-channel-id',null);const _0x1037d9=_0x58c4f1['plugins'],_0x5029ea=_0x1037d9['has']('CommentsRepository')?_0x1037d9['get']('CommentsRepository'):void 0x0,_0x47ec80=_0x1037d9['has']('CommentsOnly')&&_0x1037d9['get']('CommentsOnly'),_0x4231ba=_0x38a0af['includes']('document:write'),_0x17f85b=_0x38a0af['includes']('comment:modify_all'),_0x11be99=_0x38a0af['includes']('comment:admin'),_0x2d6747=_0x38a0af['includes']('comment:write'),_0x23339d=_0x2d6747||_0x11be99,_0x40098c=_0x23339d||_0x17f85b,_0x59f6c8=_0x4231ba||_0x23339d;(_0x47ec80&&(_0x47ec80['isEnabled']=!_0x4231ba&&_0x40098c),_0x58c4f1 instanceof _0xcf84ec)&&(!(_0x4231ba||_0x40098c&&_0x5029ea)?_0x58c4f1['enableReadOnlyMode']('no-permissions'):_0x58c4f1['disableReadOnlyMode']('no-permissions'));if(_0x5029ea){_0x5029ea['setPermissions']({'admin':_0x11be99,'modifyAll':_0x17f85b,'write':_0x2d6747,'resolve':_0x59f6c8},_0x1c00fb);const _0x1713aa=_0x58c4f1 instanceof _0xcf84ec&&_0x58c4f1['commands']['get']('addCommentThread');_0x1713aa&&(_0x23339d?_0x1713aa['clearForceDisabled']('noPermissions'):_0x1713aa['forceDisabled']('noPermissions'));}}}function r(_0x1afaa7,_0x3cb31a){const t=_0x1afaa7['t'];switch(_0x3cb31a){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 _0x48f6b4{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x14fe62){super(_0x14fe62),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3f06d0(),this['_locale']=_0x14fe62['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x48931e=this['context'];this['licenseKey']=_0x48931e['config']['get']('licenseKey');const _0x2b727d=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d6054;for(const _0x4acf26 in _0x48931e){const _0x2154b3=_0x48931e[_0x4acf26];if(_0x2b727d['includes'](_0x2154b3)){delete _0x48931e[_0x4acf26],_0x1d6054=_0x2154b3;break;}}if('licenseKeyInvalid'===_0x1d6054)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51b9a0('invalid-license-key',null);if('licenseKeyTrial'===_0x1d6054&&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'===_0x1d6054)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51b9a0('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x1d6054)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51b9a0('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x1d6054)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51b9a0('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x1d6054&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x162803,name:_0x442cdc,..._0x2025fc}){if(!_0x162803||'string'!=typeof _0x162803)throw new _0x51b9a0('users-add-invalid-id');if(this['users']['has'](_0x162803))throw new _0x51b9a0('users-add-duplicated-id',null,{'id':_0x162803});const _0x298fa8={..._0x2025fc,'id':_0x162803,'name':a(this['_locale'],_0x442cdc),'color':this['_getNextColor']()};_0x298fa8['name']=a(this['_locale'],_0x298fa8['name']);const _0x342867=new I(_0x298fa8);return this['users']['add'](_0x342867),_0x342867;}['getUser'](_0x207792){return this['users']['get'](_0x207792);}['useAnonymousUser'](){const _0xbb5f59=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xbb5f59);}['defineMe'](_0x493206){if(this['_myId'])throw new _0x51b9a0('users-me-already-defined',null);const _0x3441df=this['getUser'](_0x493206);if(!_0x3441df)throw new _0x51b9a0('users-me-missing-user',null);this['_myId']=_0x493206,_0x3441df['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x463a7e=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x463a7e&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x347478=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x347478,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4a0f87){this['id']=_0x4a0f87['id'],this['color']=_0x4a0f87['color'],this['name']=_0x4a0f87['name'],this['avatar']=_0x4a0f87['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x49adc9=this['name']['split']('\x20');return 0x1===_0x49adc9['length']?this['_getInitial'](_0x49adc9[0x0]):this['_getInitial'](_0x49adc9[0x0])+this['_getInitial'](_0x49adc9[_0x49adc9['length']-0x1]);}['_getInitial'](_0x199902){return _0x199902['charAt'](0x0)['toUpperCase']();}}function a(_0x111af8,_0x4c61a7=''){return''==(_0x4c61a7=_0x4c61a7['trim']())?r(_0x111af8,'Anonymous'):_0x4c61a7;}class u{['_id'];constructor(_0x4d447e){this['_id']=_0x4d447e;}['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 _0x3f8c4f{['name'];['notificationView'];constructor(_0x3852e4,_0x2bb538,_0x3e2afd){super(_0x3852e4),this['name']=_0x2bb538['name'],this['notificationView']=null;const _0x11bc5a=['ck','ck-user'],_0x2a64ef=['ck','ck-user__img'];if(_0x2bb538['isAnonymous']&&_0x2a64ef['push']('ck-user__anonymous'),!_0x2bb538['isAnonymous']&&_0x2bb538['isMe']&&_0x11bc5a['push']('ck-user_me'),_0x2bb538['avatar']&&_0x2a64ef['push']('ck-user__avatar'),_0x3e2afd){const _0x4c6cfa=new _0x90368d();_0x4c6cfa['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4c6cfa['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':_0x3e2afd},'children':[_0x4c6cfa]};}const _0x4df6ea=[{'tag':'div','attributes':{'class':_0x2a64ef,'style':{'background-image':_0x2bb538['avatar']?'url(\x27'+_0x2bb538['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2bb538['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x2bb538['initials']}]}];this['notificationView']&&_0x4df6ea['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x11bc5a,'data-user-id':_0x2bb538['id']},'children':_0x4df6ea});}}function j(_0x2b9a06={}){if(void 0x0!==_0x2b9a06['dateTimeFormat']&&'function'!=typeof _0x2b9a06['dateTimeFormat'])throw new _0x51b9a0('invalid-date-time-format');return _0x3a590a=>{const _0x477e07='string'==typeof _0x3a590a?_0xb2b2e8(_0x3a590a):_0x3a590a,_0x57c50e=new Date(),_0x355282=_0xd1a8b(_0x57c50e,_0x477e07);return _0x2b9a06['dateTimeFormat']?_0x2b9a06['dateTimeFormat'](_0x477e07):_0x33d013(_0x477e07,0x0===_0x355282?'\x27Today\x27\x20hh:mma':0x1===_0x355282?'\x27Yesterday\x27\x20hh:mma':_0x355282<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x13e2ea,_0x2cfbbd){const _0x5d023e=_0x13e2ea['mapper']['markerNameToElements'](_0x2cfbbd['name']);if(!_0x5d023e)return null;const _0xea64e5=_0x242651(_0x5d023e['values']());return _0x13e2ea['view']['domConverter']['mapViewToDom'](_0xea64e5)||null;}function K(_0x5a46b0,_0x112c7e){if(0x0===_0x112c7e['length'])return null;const _0x156564=[],_0x1fd13f=_0x5a46b0['view']['domConverter'];for(const _0x2deeef of _0x112c7e){const _0x5a1fbb=_0x5a46b0['mapper']['markerNameToElements'](_0x2deeef['name']);if(!_0x5a1fbb)continue;const _0x47b1fe=Array['from'](_0x5a1fbb)['map'](_0xd09110=>_0x1fd13f['mapViewToDom'](_0xd09110))['filter'](_0x4a5b9a=>!!_0x4a5b9a);_0x156564['push'](..._0x47b1fe);}if(0x0===_0x156564['length'])return null;const _0x508d61=[];for(const _0x17a22c of _0x156564){const _0x3ba9fe=_0x17a22c['getClientRects']()['item'](0x0);_0x3ba9fe&&_0x508d61['push']({'x':_0x3ba9fe['x'],'y':_0x3ba9fe['y'],'domElement':_0x17a22c});}return 0x0===_0x508d61['length']?null:(_0x508d61['sort']((_0x574158,_0x2319bd)=>_0x574158['y']-_0x2319bd['y']||_0x574158['x']-_0x2319bd['x']),_0x508d61['map'](_0x496f82=>_0x496f82['domElement']));}function Z(_0x4e4e1c,{limit:_0x4ed640,suffix:_0xa7c1ab='...'}){const _0x222db1=[];let _0x47f189=0x0;const _0x13c737=_0x4e4e1c['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x12797f=0x0;_0x12797f<_0x13c737['length'];_0x12797f++){let _0x664a96=_0x13c737[_0x12797f];const _0x3118ec=$(_0x664a96);if(_0x664a96['startsWith']('<')){if(_0x47f189>=_0x4ed640){const _0x572cb4=_0x664a96['match'](/[a-zA-Z]+/);if(!_0x572cb4){_0x13c737[_0x12797f]='';continue;}const _0x2746e4=_0x572cb4[0x0];_0x664a96['startsWith']('</')?(_0x222db1['length']&&(_0x664a96=''),_0x222db1['pop']()):(_0x222db1['push'](_0x2746e4),_0x664a96='');}}else{if(_0x47f189>=_0x4ed640)_0x664a96='';else{if(_0x47f189+_0x3118ec['length']>=_0x4ed640){let _0x154c55=_0x4ed640-_0x47f189;if('\x20'===_0x3118ec[_0x154c55-0x1])_0x154c55--;else{const _0x164de1=_0x3118ec['slice'](_0x154c55)['indexOf']('\x20');-0x1!==_0x164de1?_0x154c55+=_0x164de1:_0x154c55=_0x664a96['length'];}_0x664a96=_0x3118ec['slice'](0x0,_0x154c55)['join']('')+_0xa7c1ab,_0x47f189=_0x4ed640;}else _0x47f189+=_0x3118ec['length'];}}_0x13c737[_0x12797f]=_0x664a96;}return _0x13c737['join']('\x0a')['replace'](/\n/g,'');}function $(_0x3b768b){const _0x2b6163=[];for(let _0x5d3095=0x0;_0x5d3095<_0x3b768b['length'];_0x5d3095++){const _0x25ac77=_0x3b768b['substring'](_0x5d3095)['match'](/^&[a-z0-9#]+;/);if(_0x25ac77){const _0x322a47=_0x25ac77[0x0];_0x2b6163['push'](_0x322a47),_0x5d3095+=_0x322a47['length']-0x1;}else _0x2b6163['push'](_0x3b768b[_0x5d3095]);}return _0x2b6163;}class h extends _0x3f8c4f{['submitView'];['cancelView'];constructor(_0xbe31b9){super(_0xbe31b9);const _0x102fe8=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0xbe31b9,r(_0xbe31b9,'Yes'),_0x3e9b48['check'],'submit'),this['cancelView']=this['_createButtonView'](_0xbe31b9,r(_0xbe31b9,'No'),_0x3e9b48['cancel'],'cancel'),this['set']('message',r(_0xbe31b9,'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':_0x102fe8['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x29c377,_0x24cf8e,_0x81e72f,_0x57baa7){const _0x5a705c=new _0x1ceab9(_0x29c377);return _0x5a705c['label']=_0x24cf8e,_0x5a705c['icon']=_0x81e72f,_0x5a705c['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x57baa7}}),_0x5a705c['on']('execute',()=>this['fire'](_0x57baa7)),_0x5a705c;}}function m(_0x2c693a){return class extends _0x2c693a{['showConfirm'](_0x322c9a,_0x43daad){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x322c9a,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x43daad['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x2a2cb5=>this['confirmView']['on']('submit',_0x2a2cb5));}['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(_0x4b8765){let _0x180efa=0x0,_0x41299b=0x0;for(const _0xa77be3 of A(_0x4b8765))_0x180efa=(_0x180efa<<0x5)-_0x180efa+_0xa77be3,_0x180efa|=0x0,[_0x180efa,_0x41299b]=[_0x41299b,_0x180efa];return q(_0x180efa)+q(_0x41299b);}function*g(_0x3bd5aa){null==_0x3bd5aa||null==_0x3bd5aa?yield 0x12b9b0a1:0x0===_0x3bd5aa||!0x1===_0x3bd5aa?yield 0x0:0x1===_0x3bd5aa||0x1==_0x3bd5aa?yield 0x1:Array['isArray'](_0x3bd5aa)?yield*function*(_0x35daa2){for(const _0x137774 of _0x35daa2)yield*g(_0x137774);}(_0x3bd5aa):'object'==typeof _0x3bd5aa?yield*A(_0x3bd5aa):'string'==typeof _0x3bd5aa?yield*M(_0x3bd5aa):'number'==typeof _0x3bd5aa&&(yield _0x3bd5aa);}function*A(_0x3f516a){if(yield O('{'),_0x3f516a){const _0x20071f=Object['keys'](_0x3f516a)['sort']();for(const _0x4ffb35 of _0x20071f){yield*M(_0x4ffb35),yield O(':');const _0x29d95a=_0x3f516a[_0x4ffb35];yield*g(_0x29d95a);}}yield O('}');}function*M(_0x14a1bf){yield O('\x22');for(const _0x31deb5 of _0x14a1bf)yield O(_0x31deb5);yield O('\x22');}function O(_0x52ba06){return _0x52ba06['charCodeAt'](0x0);}function q(_0x4b7588){return(_0x4b7588*=Math['sign'](_0x4b7588))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x15d9c1,_0x1b2d52,_0x100963,_0x1e0dcb=[]){const _0x21fbda='string'==typeof _0x15d9c1?_0x100963['get'](_0x15d9c1)['constructor']:_0x15d9c1['prototype']['constructor'];if(_0x1b2d52['has'](_0x21fbda))return _0x1b2d52['get'](_0x21fbda);_0x1b2d52['set'](_0x21fbda,!0x0);const _0x24606c=[...W,..._0x1e0dcb]['map'](_0x66b52f=>{if(_0x100963['has'](_0x66b52f))return _0x100963['get'](_0x66b52f)['constructor'];})['filter'](_0x5d4760=>_0x5d4760);if(_0x21fbda&&_0x24606c['includes'](_0x21fbda))return _0x1b2d52['set'](_0x21fbda,!0x1),!0x1;if(!_0x21fbda['requires'])return _0x1b2d52['set'](_0x21fbda,!0x0),!0x0;const _0x4d2cfc=_0x21fbda['requires']['every'](_0x409981=>v(_0x409981,_0x1b2d52,_0x100963,_0x1e0dcb));return _0x1b2d52['set'](_0x21fbda,_0x4d2cfc),_0x4d2cfc;}function D(_0x4fb746,_0x4b1fdb){const _0x4a9aaf={};for(const _0x48a0c4 of _0x4fb746['config']['names']())w['includes'](_0x48a0c4)||(_0x4a9aaf[_0x48a0c4]=_0x4fb746['config']['get'](_0x48a0c4));const _0x1aba74=_0x4a9aaf['plugins']||[],_0x28cb1d=_0x4fb746['constructor']['builtinPlugins']||[],_0x2b4003=_0x1aba74['length']?_0x1aba74:_0x28cb1d,_0x2881af=_0x4a9aaf['extraPlugins']||[];delete _0x4a9aaf['extraPlugins'];const _0x5c5c08=_0x4a9aaf['removePlugins']||[];delete _0x4a9aaf['removePlugins'];const _0x12b44f=_0x4fb746['_context']['config']['get']('plugins')||[],_0x5a2ffd=_0x2b4003['concat'](_0x2881af)['concat'](_0x12b44f)['map'](_0x179cc9=>'string'==typeof _0x179cc9?_0x28cb1d['find'](_0x35f03c=>_0x35f03c['pluginName']==_0x179cc9):_0x179cc9)['filter'](_0x16439e=>!_0x5c5c08['includes'](_0x16439e)&&!_0x5c5c08['includes'](_0x16439e['pluginName'])),_0x30fed1=Array['from'](new Set(_0x5a2ffd)),_0x236be2=new Map();return _0x4a9aaf['plugins']=_0x30fed1['filter'](_0x3e5bf1=>v(_0x3e5bf1,_0x236be2,_0x4fb746['plugins'],_0x4b1fdb)),_0x4a9aaf;}function z(_0x2b782c,_0x3335cb){const _0x44ded4=[];_0x2b782c['document']['selection']['on']('change:range',()=>{const _0x15d3ed=function(_0x230776,_0x30963c){const _0x12940a=[];for(const _0x5ad437 of _0x230776['markers']){const _0x531966=_0x5ad437['getRange']();(_0x531966['containsPosition'](_0x30963c)||_0x531966['start']['isEqual'](_0x30963c)||_0x531966['end']['isEqual'](_0x30963c))&&_0x12940a['push'](_0x5ad437);}return _0x12940a;}(_0x2b782c,_0x2b782c['document']['selection']['focus']),_0x3b5049=[],_0x8b9f8b=[],_0x3dd76a=[];for(const _0x8d9d19 of _0x44ded4)_0x15d3ed['includes'](_0x8d9d19)||_0x3b5049['push'](_0x8d9d19);for(const _0x1c6231 of _0x15d3ed)_0x44ded4['includes'](_0x1c6231)||_0x8b9f8b['push'](_0x1c6231),_0x3dd76a['push'](_0x1c6231);(_0x3b5049['length']||_0x8b9f8b['length'])&&_0x3335cb({'left':_0x3b5049,'entered':_0x8b9f8b}),_0x44ded4['length']=0x0,_0x44ded4['push'](..._0x3dd76a);});}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 _0x195bb9,Editor as _0x443fca,icons as _0x4e205c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x394f7f,Collection as _0x1e977c,first as _0x57ee95}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x14aa75,IconView as _0xb0d3e9,ButtonView as _0x378ea8}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x51f3d5 from'date-fns/format/index.js';import _0x2b5f61 from'date-fns/parseISO/index.js';import _0xcdc2b7 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x195bb9{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x60a14d,_0x72e739){let _0x4d8249;if(_0x72e739||(_0x72e739=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x72e739?_0x4d8249=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4d8249=this['context']['editors']['find'](_0x23128d=>_0x23128d['config']['get']('collaboration.channelId')==_0x72e739)),!_0x4d8249)throw new _0x394f7f('permissions-set-permissions-invalid-channel-id',null);const _0xe7259c=_0x4d8249['plugins'],_0x3f606f=_0xe7259c['has']('CommentsRepository')?_0xe7259c['get']('CommentsRepository'):void 0x0,_0x158d27=_0xe7259c['has']('CommentsOnly')&&_0xe7259c['get']('CommentsOnly'),_0x5b9b93=_0x60a14d['includes']('document:write'),_0x400523=_0x60a14d['includes']('comment:modify_all'),_0x390a69=_0x60a14d['includes']('comment:admin'),_0xb5511a=_0x60a14d['includes']('comment:write'),_0x5c059d=_0xb5511a||_0x390a69,_0x49a6a3=_0x5c059d||_0x400523,_0x521414=_0x5b9b93||_0x5c059d;(_0x158d27&&(_0x158d27['isEnabled']=!_0x5b9b93&&_0x49a6a3),_0x4d8249 instanceof _0x443fca)&&(!(_0x5b9b93||_0x49a6a3&&_0x3f606f)?_0x4d8249['enableReadOnlyMode']('no-permissions'):_0x4d8249['disableReadOnlyMode']('no-permissions'));if(_0x3f606f){_0x3f606f['setPermissions']({'admin':_0x390a69,'modifyAll':_0x400523,'write':_0xb5511a,'resolve':_0x521414},_0x72e739);const _0x5c1cb1=_0x4d8249 instanceof _0x443fca&&_0x4d8249['commands']['get']('addCommentThread');_0x5c1cb1&&(_0x5c059d?_0x5c1cb1['clearForceDisabled']('noPermissions'):_0x5c1cb1['forceDisabled']('noPermissions'));}}}function r(_0x539aa1,_0x136f22){const t=_0x539aa1['t'];switch(_0x136f22){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 _0x195bb9{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0xbdfaf){super(_0xbdfaf),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1e977c(),this['_locale']=_0xbdfaf['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3fbc1d=this['context'];this['licenseKey']=_0x3fbc1d['config']['get']('licenseKey');const _0x503465=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12d12e;for(const _0x49259b in _0x3fbc1d){const _0x360048=_0x3fbc1d[_0x49259b];if(_0x503465['includes'](_0x360048)){delete _0x3fbc1d[_0x49259b],_0x12d12e=_0x360048;break;}}if('licenseKeyInvalid'===_0x12d12e)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x394f7f('invalid-license-key',null);if('licenseKeyTrial'===_0x12d12e&&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'===_0x12d12e)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x394f7f('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x12d12e)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x394f7f('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x12d12e)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x394f7f('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x12d12e&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x59e618,name:_0xb6381d,..._0x164a34}){if(!_0x59e618||'string'!=typeof _0x59e618)throw new _0x394f7f('users-add-invalid-id');if(this['users']['has'](_0x59e618))throw new _0x394f7f('users-add-duplicated-id',null,{'id':_0x59e618});const _0x3160ba={..._0x164a34,'id':_0x59e618,'name':a(this['_locale'],_0xb6381d),'color':this['_getNextColor']()};_0x3160ba['name']=a(this['_locale'],_0x3160ba['name']);const _0x25e90e=new I(_0x3160ba);return this['users']['add'](_0x25e90e),_0x25e90e;}['getUser'](_0xab1e0e){return this['users']['get'](_0xab1e0e);}['useAnonymousUser'](){const _0x3441a4=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3441a4);}['defineMe'](_0x134287){if(this['_myId'])throw new _0x394f7f('users-me-already-defined',null);const _0x44c7c0=this['getUser'](_0x134287);if(!_0x44c7c0)throw new _0x394f7f('users-me-missing-user',null);this['_myId']=_0x134287,_0x44c7c0['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x38e977=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x38e977&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3b2b01=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3b2b01,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x48ef9d){this['id']=_0x48ef9d['id'],this['color']=_0x48ef9d['color'],this['name']=_0x48ef9d['name'],this['avatar']=_0x48ef9d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x66a341=this['name']['split']('\x20');return 0x1===_0x66a341['length']?this['_getInitial'](_0x66a341[0x0]):this['_getInitial'](_0x66a341[0x0])+this['_getInitial'](_0x66a341[_0x66a341['length']-0x1]);}['_getInitial'](_0x59d082){return _0x59d082['charAt'](0x0)['toUpperCase']();}}function a(_0x20944b,_0x2481c9=''){return''==(_0x2481c9=_0x2481c9['trim']())?r(_0x20944b,'Anonymous'):_0x2481c9;}class u{['_id'];constructor(_0x364e9a){this['_id']=_0x364e9a;}['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 _0x14aa75{['name'];['notificationView'];constructor(_0x8fa6c3,_0x8a3e2d,_0x25524f){super(_0x8fa6c3),this['name']=_0x8a3e2d['name'],this['notificationView']=null;const _0x4c4fb2=['ck','ck-user'],_0x39f961=['ck','ck-user__img'];if(_0x8a3e2d['isAnonymous']&&_0x39f961['push']('ck-user__anonymous'),!_0x8a3e2d['isAnonymous']&&_0x8a3e2d['isMe']&&_0x4c4fb2['push']('ck-user_me'),_0x8a3e2d['avatar']&&_0x39f961['push']('ck-user__avatar'),_0x25524f){const _0x76b83b=new _0xb0d3e9();_0x76b83b['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x76b83b['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':_0x25524f},'children':[_0x76b83b]};}const _0xeaf998=[{'tag':'div','attributes':{'class':_0x39f961,'style':{'background-image':_0x8a3e2d['avatar']?'url(\x27'+_0x8a3e2d['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x8a3e2d['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x8a3e2d['initials']}]}];this['notificationView']&&_0xeaf998['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4c4fb2,'data-user-id':_0x8a3e2d['id']},'children':_0xeaf998});}}function j(_0x12f5dd={}){if(void 0x0!==_0x12f5dd['dateTimeFormat']&&'function'!=typeof _0x12f5dd['dateTimeFormat'])throw new _0x394f7f('invalid-date-time-format');return _0x286e21=>{const _0x299375='string'==typeof _0x286e21?_0x2b5f61(_0x286e21):_0x286e21,_0xd308e0=new Date(),_0x28e579=_0xcdc2b7(_0xd308e0,_0x299375);return _0x12f5dd['dateTimeFormat']?_0x12f5dd['dateTimeFormat'](_0x299375):_0x51f3d5(_0x299375,0x0===_0x28e579?'\x27Today\x27\x20hh:mma':0x1===_0x28e579?'\x27Yesterday\x27\x20hh:mma':_0x28e579<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x8ceaa7,_0x2f270e){const _0x2b15f6=_0x8ceaa7['mapper']['markerNameToElements'](_0x2f270e['name']);if(!_0x2b15f6)return null;const _0x5993a5=_0x57ee95(_0x2b15f6['values']());return _0x8ceaa7['view']['domConverter']['mapViewToDom'](_0x5993a5)||null;}function K(_0x4ad6fb,_0x42c008){if(0x0===_0x42c008['length'])return null;const _0x443e18=[],_0x2352d7=_0x4ad6fb['view']['domConverter'];for(const _0x3451dd of _0x42c008){const _0xa7957d=_0x4ad6fb['mapper']['markerNameToElements'](_0x3451dd['name']);if(!_0xa7957d)continue;const _0x5de11c=Array['from'](_0xa7957d)['map'](_0x3355d9=>_0x2352d7['mapViewToDom'](_0x3355d9))['filter'](_0x503ba2=>!!_0x503ba2);_0x443e18['push'](..._0x5de11c);}if(0x0===_0x443e18['length'])return null;const _0x5a5f22=[];for(const _0x989556 of _0x443e18){const _0x1bcbf1=_0x989556['getClientRects']()['item'](0x0);_0x1bcbf1&&_0x5a5f22['push']({'x':_0x1bcbf1['x'],'y':_0x1bcbf1['y'],'domElement':_0x989556});}return 0x0===_0x5a5f22['length']?null:(_0x5a5f22['sort']((_0x4788b9,_0x199248)=>_0x4788b9['y']-_0x199248['y']||_0x4788b9['x']-_0x199248['x']),_0x5a5f22['map'](_0x4f5244=>_0x4f5244['domElement']));}function Z(_0x135230,{limit:_0x489391,suffix:_0x256e36='...'}){const _0xde5464=[];let _0x40e13a=0x0;const _0x3477d4=_0x135230['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5944af=0x0;_0x5944af<_0x3477d4['length'];_0x5944af++){let _0x3f5a86=_0x3477d4[_0x5944af];const _0x25ae90=$(_0x3f5a86);if(_0x3f5a86['startsWith']('<')){if(_0x40e13a>=_0x489391){const _0x3e0a24=_0x3f5a86['match'](/[a-zA-Z]+/);if(!_0x3e0a24){_0x3477d4[_0x5944af]='';continue;}const _0x5e10ca=_0x3e0a24[0x0];_0x3f5a86['startsWith']('</')?(_0xde5464['length']&&(_0x3f5a86=''),_0xde5464['pop']()):(_0xde5464['push'](_0x5e10ca),_0x3f5a86='');}}else{if(_0x40e13a>=_0x489391)_0x3f5a86='';else{if(_0x40e13a+_0x25ae90['length']>=_0x489391){let _0x2df0d3=_0x489391-_0x40e13a;if('\x20'===_0x25ae90[_0x2df0d3-0x1])_0x2df0d3--;else{const _0x2b8560=_0x25ae90['slice'](_0x2df0d3)['indexOf']('\x20');-0x1!==_0x2b8560?_0x2df0d3+=_0x2b8560:_0x2df0d3=_0x3f5a86['length'];}_0x3f5a86=_0x25ae90['slice'](0x0,_0x2df0d3)['join']('')+_0x256e36,_0x40e13a=_0x489391;}else _0x40e13a+=_0x25ae90['length'];}}_0x3477d4[_0x5944af]=_0x3f5a86;}return _0x3477d4['join']('\x0a')['replace'](/\n/g,'');}function $(_0x2582ba){const _0x50463a=[];for(let _0x14cd7a=0x0;_0x14cd7a<_0x2582ba['length'];_0x14cd7a++){const _0x288bb1=_0x2582ba['substring'](_0x14cd7a)['match'](/^&[a-z0-9#]+;/);if(_0x288bb1){const _0x50e35b=_0x288bb1[0x0];_0x50463a['push'](_0x50e35b),_0x14cd7a+=_0x50e35b['length']-0x1;}else _0x50463a['push'](_0x2582ba[_0x14cd7a]);}return _0x50463a;}class h extends _0x14aa75{['submitView'];['cancelView'];constructor(_0x530bc9){super(_0x530bc9);const _0x57e47e=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x530bc9,r(_0x530bc9,'Yes'),_0x4e205c['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x530bc9,r(_0x530bc9,'No'),_0x4e205c['cancel'],'cancel'),this['set']('message',r(_0x530bc9,'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':_0x57e47e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x43f972,_0x5074d9,_0x30bcc8,_0xc07b1d){const _0x43820d=new _0x378ea8(_0x43f972);return _0x43820d['label']=_0x5074d9,_0x43820d['icon']=_0x30bcc8,_0x43820d['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0xc07b1d}}),_0x43820d['on']('execute',()=>this['fire'](_0xc07b1d)),_0x43820d;}}function m(_0x1e1ffd){return class extends _0x1e1ffd{['showConfirm'](_0x26f86d,_0x22d269){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x26f86d,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x22d269['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x545441=>this['confirmView']['on']('submit',_0x545441));}['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(_0x1ceafe){let _0x2c5f50=0x0,_0x4bab00=0x0;for(const _0x53bead of A(_0x1ceafe))_0x2c5f50=(_0x2c5f50<<0x5)-_0x2c5f50+_0x53bead,_0x2c5f50|=0x0,[_0x2c5f50,_0x4bab00]=[_0x4bab00,_0x2c5f50];return q(_0x2c5f50)+q(_0x4bab00);}function*g(_0x3ecb03){null==_0x3ecb03||null==_0x3ecb03?yield 0x12b9b0a1:0x0===_0x3ecb03||!0x1===_0x3ecb03?yield 0x0:0x1===_0x3ecb03||0x1==_0x3ecb03?yield 0x1:Array['isArray'](_0x3ecb03)?yield*function*(_0x5c5300){for(const _0x562394 of _0x5c5300)yield*g(_0x562394);}(_0x3ecb03):'object'==typeof _0x3ecb03?yield*A(_0x3ecb03):'string'==typeof _0x3ecb03?yield*M(_0x3ecb03):'number'==typeof _0x3ecb03&&(yield _0x3ecb03);}function*A(_0x4e1da6){if(yield O('{'),_0x4e1da6){const _0x14ac9a=Object['keys'](_0x4e1da6)['sort']();for(const _0x22dd4f of _0x14ac9a){yield*M(_0x22dd4f),yield O(':');const _0x3dda3f=_0x4e1da6[_0x22dd4f];yield*g(_0x3dda3f);}}yield O('}');}function*M(_0x571c5d){yield O('\x22');for(const _0x5f47ef of _0x571c5d)yield O(_0x5f47ef);yield O('\x22');}function O(_0x300168){return _0x300168['charCodeAt'](0x0);}function q(_0x67be9e){return(_0x67be9e*=Math['sign'](_0x67be9e))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x53be86,_0x1bd852,_0x265d59,_0x51bbd9=[]){const _0x5c48b7='string'==typeof _0x53be86?_0x265d59['get'](_0x53be86)['constructor']:_0x53be86['prototype']['constructor'];if(_0x1bd852['has'](_0x5c48b7))return _0x1bd852['get'](_0x5c48b7);_0x1bd852['set'](_0x5c48b7,!0x0);const _0x371b2b=[...W,..._0x51bbd9]['map'](_0x228371=>{if(_0x265d59['has'](_0x228371))return _0x265d59['get'](_0x228371)['constructor'];})['filter'](_0x247fd7=>_0x247fd7);if(_0x5c48b7&&_0x371b2b['includes'](_0x5c48b7))return _0x1bd852['set'](_0x5c48b7,!0x1),!0x1;if(!_0x5c48b7['requires'])return _0x1bd852['set'](_0x5c48b7,!0x0),!0x0;const _0x3cf28a=_0x5c48b7['requires']['every'](_0x4081a7=>v(_0x4081a7,_0x1bd852,_0x265d59,_0x51bbd9));return _0x1bd852['set'](_0x5c48b7,_0x3cf28a),_0x3cf28a;}function D(_0xc99349,_0x22bfc8){const _0x4cf81e={};for(const _0x1a6704 of _0xc99349['config']['names']())w['includes'](_0x1a6704)||(_0x4cf81e[_0x1a6704]=_0xc99349['config']['get'](_0x1a6704));const _0x1d28fd=_0x4cf81e['plugins']||[],_0x1abc90=_0xc99349['constructor']['builtinPlugins']||[],_0x7ea7c3=_0x1d28fd['length']?_0x1d28fd:_0x1abc90,_0x417d10=_0x4cf81e['extraPlugins']||[];delete _0x4cf81e['extraPlugins'];const _0x57e6e8=_0x4cf81e['removePlugins']||[];delete _0x4cf81e['removePlugins'];const _0x22126e=_0xc99349['_context']['config']['get']('plugins')||[],_0x351384=_0x7ea7c3['concat'](_0x417d10)['concat'](_0x22126e)['map'](_0x23c643=>'string'==typeof _0x23c643?_0x1abc90['find'](_0x2634a7=>_0x2634a7['pluginName']==_0x23c643):_0x23c643)['filter'](_0x30ad94=>!_0x57e6e8['includes'](_0x30ad94)&&!_0x57e6e8['includes'](_0x30ad94['pluginName'])),_0x3689e1=Array['from'](new Set(_0x351384)),_0x590b60=new Map();return _0x4cf81e['plugins']=_0x3689e1['filter'](_0x5bebc8=>v(_0x5bebc8,_0x590b60,_0xc99349['plugins'],_0x22bfc8)),_0x4cf81e;}function z(_0x4643c8,_0x387195){const _0x17b90a=[];_0x4643c8['document']['selection']['on']('change:range',()=>{const _0x29e9b4=function(_0x2b78f2,_0x4106b6){const _0x16d213=[];for(const _0xb4b5f of _0x2b78f2['markers']){const _0x1244f5=_0xb4b5f['getRange']();(_0x1244f5['containsPosition'](_0x4106b6)||_0x1244f5['start']['isEqual'](_0x4106b6)||_0x1244f5['end']['isEqual'](_0x4106b6))&&_0x16d213['push'](_0xb4b5f);}return _0x16d213;}(_0x4643c8,_0x4643c8['document']['selection']['focus']),_0x1f82ab=[],_0x437d6b=[],_0x23fb42=[];for(const _0x392936 of _0x17b90a)_0x29e9b4['includes'](_0x392936)||_0x1f82ab['push'](_0x392936);for(const _0x319a81 of _0x29e9b4)_0x17b90a['includes'](_0x319a81)||_0x437d6b['push'](_0x319a81),_0x23fb42['push'](_0x319a81);(_0x1f82ab['length']||_0x437d6b['length'])&&_0x387195({'left':_0x1f82ab,'entered':_0x437d6b}),_0x17b90a['length']=0x0,_0x17b90a['push'](..._0x23fb42);});}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':_0x5085b6=>0x1!=_0x5085b6}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2d65da=>{const {af:{dictionary:_0x3eeacc,getPluralForm:_0x476270}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x2e5148=>0x1!=_0x2e5148}};_0x2d65da['af']||={'dictionary':{},'getPluralForm':null},_0x2d65da['af']['dictionary']=Object['assign'](_0x2d65da['af']['dictionary'],_0x3eeacc),_0x2d65da['af']['getPluralForm']=_0x476270;})(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':_0x167eda=>0x0==_0x167eda?0x0:0x1==_0x167eda?0x1:0x2==_0x167eda?0x2:_0x167eda%0x64>=0x3&&_0x167eda%0x64<=0xa?0x3:_0x167eda%0x64>=0xb&&_0x167eda%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x20c831=>{const {ar:{dictionary:_0x357df5,getPluralForm:_0x186703}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x1cc044=>0x0==_0x1cc044?0x0:0x1==_0x1cc044?0x1:0x2==_0x1cc044?0x2:_0x1cc044%0x64>=0x3&&_0x1cc044%0x64<=0xa?0x3:_0x1cc044%0x64>=0xb&&_0x1cc044%0x64<=0x63?0x4:0x5}};_0x20c831['ar']||={'dictionary':{},'getPluralForm':null},_0x20c831['ar']['dictionary']=Object['assign'](_0x20c831['ar']['dictionary'],_0x357df5),_0x20c831['ar']['getPluralForm']=_0x186703;})(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':_0x4d55da=>0x1!=_0x4d55da}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3be6ac=>{const {az:{dictionary:_0xc44902,getPluralForm:_0x4d4234}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x3a610b=>0x1!=_0x3a610b}};_0x3be6ac['az']||={'dictionary':{},'getPluralForm':null},_0x3be6ac['az']['dictionary']=Object['assign'](_0x3be6ac['az']['dictionary'],_0xc44902),_0x3be6ac['az']['getPluralForm']=_0x4d4234;})(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':_0x52cc3d=>0x1!=_0x52cc3d}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1b5246=>{const {bg:{dictionary:_0x333b3d,getPluralForm:_0x3813bb}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x1a6d7c=>0x1!=_0x1a6d7c}};_0x1b5246['bg']||={'dictionary':{},'getPluralForm':null},_0x1b5246['bg']['dictionary']=Object['assign'](_0x1b5246['bg']['dictionary'],_0x333b3d),_0x1b5246['bg']['getPluralForm']=_0x3813bb;})(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':_0x3d3915=>0x1!=_0x3d3915}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3b041b=>{const {bn:{dictionary:_0x34a25f,getPluralForm:_0x48b702}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x3ed9df=>0x1!=_0x3ed9df}};_0x3b041b['bn']||={'dictionary':{},'getPluralForm':null},_0x3b041b['bn']['dictionary']=Object['assign'](_0x3b041b['bn']['dictionary'],_0x34a25f),_0x3b041b['bn']['getPluralForm']=_0x48b702;})(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':_0x1fdb3a=>_0x1fdb3a%0xa==0x1&&_0x1fdb3a%0x64!=0xb?0x0:_0x1fdb3a%0xa>=0x2&&_0x1fdb3a%0xa<=0x4&&(_0x1fdb3a%0x64<0xa||_0x1fdb3a%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4af576=>{const {bs:{dictionary:_0x38e1a8,getPluralForm:_0x20e474}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x255456=>_0x255456%0xa==0x1&&_0x255456%0x64!=0xb?0x0:_0x255456%0xa>=0x2&&_0x255456%0xa<=0x4&&(_0x255456%0x64<0xa||_0x255456%0x64>=0x14)?0x1:0x2}};_0x4af576['bs']||={'dictionary':{},'getPluralForm':null},_0x4af576['bs']['dictionary']=Object['assign'](_0x4af576['bs']['dictionary'],_0x38e1a8),_0x4af576['bs']['getPluralForm']=_0x20e474;})(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':_0x4907b7=>0x1!=_0x4907b7}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x302499=>{const {ca:{dictionary:_0x26d1ab,getPluralForm:_0x114485}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x35a12e=>0x1!=_0x35a12e}};_0x302499['ca']||={'dictionary':{},'getPluralForm':null},_0x302499['ca']['dictionary']=Object['assign'](_0x302499['ca']['dictionary'],_0x26d1ab),_0x302499['ca']['getPluralForm']=_0x114485;})(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':_0x45fd71=>0x1==_0x45fd71&&_0x45fd71%0x1==0x0?0x0:_0x45fd71>=0x2&&_0x45fd71<=0x4&&_0x45fd71%0x1==0x0?0x1:_0x45fd71%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x19a532=>{const {cs:{dictionary:_0x569957,getPluralForm:_0x1b83a8}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x221e35=>0x1==_0x221e35&&_0x221e35%0x1==0x0?0x0:_0x221e35>=0x2&&_0x221e35<=0x4&&_0x221e35%0x1==0x0?0x1:_0x221e35%0x1!=0x0?0x2:0x3}};_0x19a532['cs']||={'dictionary':{},'getPluralForm':null},_0x19a532['cs']['dictionary']=Object['assign'](_0x19a532['cs']['dictionary'],_0x569957),_0x19a532['cs']['getPluralForm']=_0x1b83a8;})(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':_0x1c91ee=>0x1!=_0x1c91ee}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x55e40e=>{const {da:{dictionary:_0x311def,getPluralForm:_0x86fd02}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x1e9b8d=>0x1!=_0x1e9b8d}};_0x55e40e['da']||={'dictionary':{},'getPluralForm':null},_0x55e40e['da']['dictionary']=Object['assign'](_0x55e40e['da']['dictionary'],_0x311def),_0x55e40e['da']['getPluralForm']=_0x86fd02;})(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':_0x133dce=>0x1!=_0x133dce}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x598849=>{const {'de-ch':{dictionary:_0x332592,getPluralForm:_0x2a9ce2}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x488c5f=>0x1!=_0x488c5f}};_0x598849['de-ch']||={'dictionary':{},'getPluralForm':null},_0x598849['de-ch']['dictionary']=Object['assign'](_0x598849['de-ch']['dictionary'],_0x332592),_0x598849['de-ch']['getPluralForm']=_0x2a9ce2;})(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':_0x456d4b=>0x1!=_0x456d4b}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3984c9=>{const {de:{dictionary:_0x4e2f83,getPluralForm:_0x788d89}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x3eff80=>0x1!=_0x3eff80}};_0x3984c9['de']||={'dictionary':{},'getPluralForm':null},_0x3984c9['de']['dictionary']=Object['assign'](_0x3984c9['de']['dictionary'],_0x4e2f83),_0x3984c9['de']['getPluralForm']=_0x788d89;})(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':_0x3d98d5=>0x1!=_0x3d98d5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1ca7bb=>{const {el:{dictionary:_0x2d0bb2,getPluralForm:_0x27df5b}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x170a46=>0x1!=_0x170a46}};_0x1ca7bb['el']||={'dictionary':{},'getPluralForm':null},_0x1ca7bb['el']['dictionary']=Object['assign'](_0x1ca7bb['el']['dictionary'],_0x2d0bb2),_0x1ca7bb['el']['getPluralForm']=_0x27df5b;})(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':_0x140206=>0x1!=_0x140206}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xa7491b=>{const {'en-au':{dictionary:_0x470af3,getPluralForm:_0x56f959}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x1f1e8f=>0x1!=_0x1f1e8f}};_0xa7491b['en-au']||={'dictionary':{},'getPluralForm':null},_0xa7491b['en-au']['dictionary']=Object['assign'](_0xa7491b['en-au']['dictionary'],_0x470af3),_0xa7491b['en-au']['getPluralForm']=_0x56f959;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1dbe9e=>{const {en:{dictionary:_0x29be2f,getPluralForm:_0x4fd6a8}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x1dbe9e['en']||={'dictionary':{},'getPluralForm':null},_0x1dbe9e['en']['dictionary']=Object['assign'](_0x1dbe9e['en']['dictionary'],_0x29be2f),_0x1dbe9e['en']['getPluralForm']=_0x4fd6a8;})(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':_0x59fbd4=>0x1==_0x59fbd4?0x0:0x0!=_0x59fbd4&&_0x59fbd4%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xed5d9b=>{const {'es-co':{dictionary:_0x741328,getPluralForm:_0x5b3a0e}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x5c3431=>0x1==_0x5c3431?0x0:0x0!=_0x5c3431&&_0x5c3431%0xf4240==0x0?0x1:0x2}};_0xed5d9b['es-co']||={'dictionary':{},'getPluralForm':null},_0xed5d9b['es-co']['dictionary']=Object['assign'](_0xed5d9b['es-co']['dictionary'],_0x741328),_0xed5d9b['es-co']['getPluralForm']=_0x5b3a0e;})(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':_0x14bf6a=>0x1==_0x14bf6a?0x0:0x0!=_0x14bf6a&&_0x14bf6a%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x561fc7=>{const {es:{dictionary:_0x25944e,getPluralForm:_0x27ee7f}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x270103=>0x1==_0x270103?0x0:0x0!=_0x270103&&_0x270103%0xf4240==0x0?0x1:0x2}};_0x561fc7['es']||={'dictionary':{},'getPluralForm':null},_0x561fc7['es']['dictionary']=Object['assign'](_0x561fc7['es']['dictionary'],_0x25944e),_0x561fc7['es']['getPluralForm']=_0x27ee7f;})(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':_0x334585=>0x1!=_0x334585}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x527952=>{const {et:{dictionary:_0x3a6369,getPluralForm:_0xa6c676}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x346f94=>0x1!=_0x346f94}};_0x527952['et']||={'dictionary':{},'getPluralForm':null},_0x527952['et']['dictionary']=Object['assign'](_0x527952['et']['dictionary'],_0x3a6369),_0x527952['et']['getPluralForm']=_0xa6c676;})(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':_0x44ce13=>_0x44ce13>0x1}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1374ce=>{const {fa:{dictionary:_0x2251ff,getPluralForm:_0xcb4d41}}={'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x1b115d=>_0x1b115d>0x1}};_0x1374ce['fa']||={'dictionary':{},'getPluralForm':null},_0x1374ce['fa']['dictionary']=Object['assign'](_0x1374ce['fa']['dictionary'],_0x2251ff),_0x1374ce['fa']['getPluralForm']=_0xcb4d41;})(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':_0x1cc33e=>0x1!=_0x1cc33e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x2d4c9d=>{const {fi:{dictionary:_0x23a5e0,getPluralForm:_0x42cd36}}={'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x162458=>0x1!=_0x162458}};_0x2d4c9d['fi']||={'dictionary':{},'getPluralForm':null},_0x2d4c9d['fi']['dictionary']=Object['assign'](_0x2d4c9d['fi']['dictionary'],_0x23a5e0),_0x2d4c9d['fi']['getPluralForm']=_0x42cd36;})(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':_0x21b704=>0x0==_0x21b704||0x1==_0x21b704?0x0:0x0!=_0x21b704&&_0x21b704%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xf63895=>{const {fr:{dictionary:_0x40f96e,getPluralForm:_0x48454d}}={'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x2099e4=>0x0==_0x2099e4||0x1==_0x2099e4?0x0:0x0!=_0x2099e4&&_0x2099e4%0xf4240==0x0?0x1:0x2}};_0xf63895['fr']||={'dictionary':{},'getPluralForm':null},_0xf63895['fr']['dictionary']=Object['assign'](_0xf63895['fr']['dictionary'],_0x40f96e),_0xf63895['fr']['getPluralForm']=_0x48454d;})(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':_0x33e1ff=>0x1!=_0x33e1ff}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x497935=>{const {gl:{dictionary:_0x276252,getPluralForm:_0x27d464}}={'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x3870ca=>0x1!=_0x3870ca}};_0x497935['gl']||={'dictionary':{},'getPluralForm':null},_0x497935['gl']['dictionary']=Object['assign'](_0x497935['gl']['dictionary'],_0x276252),_0x497935['gl']['getPluralForm']=_0x27d464;})(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':_0x5f40c9=>0x1==_0x5f40c9&&_0x5f40c9%0x1==0x0?0x0:0x2==_0x5f40c9&&_0x5f40c9%0x1==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5b0ac0=>{const {he:{dictionary:_0x3f954f,getPluralForm:_0xae6865}}={'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x2501ac=>0x1==_0x2501ac&&_0x2501ac%0x1==0x0?0x0:0x2==_0x2501ac&&_0x2501ac%0x1==0x0?0x1:0x2}};_0x5b0ac0['he']||={'dictionary':{},'getPluralForm':null},_0x5b0ac0['he']['dictionary']=Object['assign'](_0x5b0ac0['he']['dictionary'],_0x3f954f),_0x5b0ac0['he']['getPluralForm']=_0xae6865;})(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':_0x30eb35=>0x1!=_0x30eb35}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xf4371d=>{const {hi:{dictionary:_0x5b3db1,getPluralForm:_0x3fba22}}={'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x5ee767=>0x1!=_0x5ee767}};_0xf4371d['hi']||={'dictionary':{},'getPluralForm':null},_0xf4371d['hi']['dictionary']=Object['assign'](_0xf4371d['hi']['dictionary'],_0x5b3db1),_0xf4371d['hi']['getPluralForm']=_0x3fba22;})(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':_0x13755f=>_0x13755f%0xa==0x1&&_0x13755f%0x64!=0xb?0x0:_0x13755f%0xa>=0x2&&_0x13755f%0xa<=0x4&&(_0x13755f%0x64<0xa||_0x13755f%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x48c667=>{const {hr:{dictionary:_0x517f2e,getPluralForm:_0x8bed31}}={'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x12456a=>_0x12456a%0xa==0x1&&_0x12456a%0x64!=0xb?0x0:_0x12456a%0xa>=0x2&&_0x12456a%0xa<=0x4&&(_0x12456a%0x64<0xa||_0x12456a%0x64>=0x14)?0x1:0x2}};_0x48c667['hr']||={'dictionary':{},'getPluralForm':null},_0x48c667['hr']['dictionary']=Object['assign'](_0x48c667['hr']['dictionary'],_0x517f2e),_0x48c667['hr']['getPluralForm']=_0x8bed31;})(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':_0x1bd42f=>0x1!=_0x1bd42f}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x779943=>{const {hu:{dictionary:_0x4e10a0,getPluralForm:_0x34edfe}}={'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x24797b=>0x1!=_0x24797b}};_0x779943['hu']||={'dictionary':{},'getPluralForm':null},_0x779943['hu']['dictionary']=Object['assign'](_0x779943['hu']['dictionary'],_0x4e10a0),_0x779943['hu']['getPluralForm']=_0x34edfe;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/id.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'id':{'dictionary':{'Anonymous':'Anonim','Yes':'Ya','No':'Tidak','Are\x20you\x20sure?':'Apakah\x20Anda\x20yakin?'},'getPluralForm':
|
23
|
+
export default{'id':{'dictionary':{'Anonymous':'Anonim','Yes':'Ya','No':'Tidak','Are\x20you\x20sure?':'Apakah\x20Anda\x20yakin?'},'getPluralForm':_0x20d439=>0x0}};
|