@ckeditor/ckeditor5-collaboration-core 41.4.2 → 42.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- 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/README.md
CHANGED
@@ -10,6 +10,12 @@ For more information about collaboration features visit [CKEditor 5 collabo
|
|
10
10
|
|
11
11
|
Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
|
12
12
|
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
```bash
|
16
|
+
npm install ckeditor5-premium-features
|
17
|
+
```
|
18
|
+
|
13
19
|
## Getting support
|
14
20
|
|
15
21
|
CKEditor 5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 collaboration features with your application.
|
package/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x58f725,Editor as _0x2b9f4d,icons as _0x2a3231}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x7bfc9e,Collection as _0x53a4b3,first as _0x3ff0b0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x252839,IconView as _0x2bae2f,ButtonView as _0xc5b6ef}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x78513c from'date-fns/format/index.js';import _0xa562ed from'date-fns/parseISO/index.js';import _0x36bce1 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x58f725{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x21bf29,_0x222343){let _0x382b6a;if(_0x222343||(_0x222343=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x222343?_0x382b6a=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x382b6a=this['context']['editors']['find'](_0x25cad2=>_0x25cad2['config']['get']('collaboration.channelId')==_0x222343)),!_0x382b6a)throw new _0x7bfc9e('permissions-set-permissions-invalid-channel-id',null);const _0x1748d6=_0x382b6a['plugins'],_0x22a4aa=_0x1748d6['has']('CommentsRepository')?_0x1748d6['get']('CommentsRepository'):void 0x0,_0x537eac=_0x1748d6['has']('CommentsOnly')&&_0x1748d6['get']('CommentsOnly'),_0x274c16=_0x21bf29['includes']('document:write'),_0x5cc334=_0x21bf29['includes']('comment:modify_all'),_0x2369c2=_0x21bf29['includes']('comment:admin'),_0x4b20b0=_0x21bf29['includes']('comment:write'),_0x94f80c=_0x4b20b0||_0x2369c2,_0x5a1232=_0x94f80c||_0x5cc334,_0x3e2a13=_0x274c16||_0x94f80c;(_0x537eac&&(_0x537eac['isEnabled']=!_0x274c16&&_0x5a1232),_0x382b6a instanceof _0x2b9f4d)&&(!(_0x274c16||_0x5a1232&&_0x22a4aa)?_0x382b6a['enableReadOnlyMode']('no-permissions'):_0x382b6a['disableReadOnlyMode']('no-permissions'));if(_0x22a4aa){_0x22a4aa['setPermissions']({'admin':_0x2369c2,'modifyAll':_0x5cc334,'write':_0x4b20b0,'resolve':_0x3e2a13},_0x222343);const _0x8bd2dd=_0x382b6a instanceof _0x2b9f4d&&_0x382b6a['commands']['get']('addCommentThread');_0x8bd2dd&&(_0x94f80c?_0x8bd2dd['clearForceDisabled']('noPermissions'):_0x8bd2dd['forceDisabled']('noPermissions'));}}}function r(_0x1e3b4e,_0x37a473){const t=_0x1e3b4e['t'];switch(_0x37a473){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 _0x58f725{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x36b126=this['context'];this['licenseKey']=_0x36b126['config']['get']('licenseKey');const _0x167e37=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19a207;for(const _0x18ceed in _0x36b126){const _0x964a0f=_0x36b126[_0x18ceed];if(_0x167e37['includes'](_0x964a0f)){delete _0x36b126[_0x18ceed],_0x19a207=_0x964a0f;break;}}if('licenseKeyInvalid'===_0x19a207)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x7bfc9e('invalid-license-key',null);if('licenseKeyTrial'===_0x19a207&&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'===_0x19a207)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x7bfc9e('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x19a207)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x7bfc9e('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x19a207)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x7bfc9e('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x19a207&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x134aea,name:_0x52ff51,..._0x2f9984}){if(!_0x134aea||'string'!=typeof _0x134aea)throw new _0x7bfc9e('users-add-invalid-id');if(this['users']['has'](_0x134aea))throw new _0x7bfc9e('users-add-duplicated-id',null,{'id':_0x134aea});const _0x55b341={..._0x2f9984,'id':_0x134aea,'name':a(this['_locale'],_0x52ff51),'color':this['_getNextColor']()};_0x55b341['name']=a(this['_locale'],_0x55b341['name']);const _0x211beb=new K(_0x55b341);return this['users']['add'](_0x211beb),_0x211beb;}['getUser'](_0x4a75f2){return this['users']['get'](_0x4a75f2);}['useAnonymousUser'](){const _0x4f79f7=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4f79f7);}['defineMe'](_0x5b7662){if(this['_myId'])throw new _0x7bfc9e('users-me-already-defined',null);const _0xa7f283=this['getUser'](_0x5b7662);if(!_0xa7f283)throw new _0x7bfc9e('users-me-missing-user',null);this['_myId']=_0x5b7662,_0xa7f283['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x3ea6f2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3ea6f2&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x5186e9=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x5186e9,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0x3afdce){super(_0x3afdce),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x53a4b3(),this['_locale']=_0x3afdce['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}}class K{get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x554e79=this['name']['split']('\x20');return 0x1===_0x554e79['length']?this['_getInitial'](_0x554e79[0x0]):this['_getInitial'](_0x554e79[0x0])+this['_getInitial'](_0x554e79[_0x554e79['length']-0x1]);}['_getInitial'](_0x51ed2e){return _0x51ed2e['charAt'](0x0)['toUpperCase']();}constructor(_0x4568b2){this['id']=_0x4568b2['id'],this['color']=_0x4568b2['color'],this['name']=_0x4568b2['name'],this['avatar']=_0x4568b2['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x3a1bf3,_0x391dcd=''){return''==(_0x391dcd=_0x391dcd['trim']())?r(_0x3a1bf3,'Anonymous'):_0x391dcd;}class u{['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}constructor(_0x2bcdbb){this['_id']=_0x2bcdbb;}}class E extends _0x252839{constructor(_0x57cc81,_0x2e8602,_0x5292fe){super(_0x57cc81),this['name']=_0x2e8602['name'],this['notificationView']=null;const _0x1df54c=['ck','ck-user'],_0x51fd49=['ck','ck-user__img'];if(_0x2e8602['isAnonymous']&&_0x51fd49['push']('ck-user__anonymous'),!_0x2e8602['isAnonymous']&&_0x2e8602['isMe']&&_0x1df54c['push']('ck-user_me'),_0x2e8602['avatar']&&_0x51fd49['push']('ck-user__avatar'),_0x5292fe){const _0x4e16b6=new _0x2bae2f();_0x4e16b6['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4e16b6['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':_0x5292fe},'children':[_0x4e16b6]};}const _0x3355c1=[{'tag':'div','attributes':{'class':_0x51fd49,'style':{'background-image':_0x2e8602['avatar']?'url(\x27'+_0x2e8602['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2e8602['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x2e8602['initials']}]}];this['notificationView']&&_0x3355c1['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1df54c,'data-user-id':_0x2e8602['id']},'children':_0x3355c1});}}function j(_0x2041a5={}){if(void 0x0!==_0x2041a5['dateTimeFormat']&&'function'!=typeof _0x2041a5['dateTimeFormat'])throw new _0x7bfc9e('invalid-date-time-format');return _0x51faf7=>{const _0x39f071='string'==typeof _0x51faf7?_0xa562ed(_0x51faf7):_0x51faf7,_0x2fa313=new Date(),_0x7f415a=_0x36bce1(_0x2fa313,_0x39f071);return _0x2041a5['dateTimeFormat']?_0x2041a5['dateTimeFormat'](_0x39f071):_0x78513c(_0x39f071,0x0===_0x7f415a?'\x27Today\x27\x20hh:mma':0x1===_0x7f415a?'\x27Yesterday\x27\x20hh:mma':_0x7f415a<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x2f5388,_0x1c8c66){const _0x3db2c4=_0x2f5388['mapper']['markerNameToElements'](_0x1c8c66['name']);if(!_0x3db2c4)return null;const _0x98f7ec=_0x3ff0b0(_0x3db2c4['values']());return _0x2f5388['view']['domConverter']['mapViewToDom'](_0x98f7ec)||null;}function I(_0x77a091,_0x545269){if(0x0===_0x545269['length'])return null;const _0x10da01=[],_0x5d168c=_0x77a091['view']['domConverter'];for(const _0x29839e of _0x545269){const _0x282c34=_0x77a091['mapper']['markerNameToElements'](_0x29839e['name']);if(!_0x282c34)continue;const _0x48032d=Array['from'](_0x282c34)['map'](_0x47c212=>_0x5d168c['mapViewToDom'](_0x47c212))['filter'](_0x22bafb=>!!_0x22bafb);_0x10da01['push'](..._0x48032d);}if(0x0===_0x10da01['length'])return null;const _0x12d6fe=[];for(const _0x1c8a1a of _0x10da01){const _0x1bd7cb=_0x1c8a1a['getClientRects']()['item'](0x0);_0x1bd7cb&&_0x12d6fe['push']({'x':_0x1bd7cb['x'],'y':_0x1bd7cb['y'],'domElement':_0x1c8a1a});}return 0x0===_0x12d6fe['length']?null:(_0x12d6fe['sort']((_0xacd233,_0x2f0f33)=>_0xacd233['y']-_0x2f0f33['y']||_0xacd233['x']-_0x2f0f33['x']),_0x12d6fe['map'](_0x33d032=>_0x33d032['domElement']));}function Z(_0x3776ee,{limit:_0x19bbb1,suffix:_0x9cdae9='...'}){const _0x52bbfb=[];let _0x58e944=0x0;const _0x4a37cf=_0x3776ee['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x236695=0x0;_0x236695<_0x4a37cf['length'];_0x236695++){let _0x13f457=_0x4a37cf[_0x236695];const _0x7b74a0=$(_0x13f457);if(_0x13f457['startsWith']('<')){if(_0x58e944>=_0x19bbb1){const _0x29543e=_0x13f457['match'](/[a-zA-Z]+/);if(!_0x29543e){_0x4a37cf[_0x236695]='';continue;}const _0x494b49=_0x29543e[0x0];_0x13f457['startsWith']('</')?(_0x52bbfb['length']&&(_0x13f457=''),_0x52bbfb['pop']()):(_0x52bbfb['push'](_0x494b49),_0x13f457='');}}else{if(_0x58e944>=_0x19bbb1)_0x13f457='';else{if(_0x58e944+_0x7b74a0['length']>=_0x19bbb1){let _0xb1f4d1=_0x19bbb1-_0x58e944;if('\x20'===_0x7b74a0[_0xb1f4d1-0x1])_0xb1f4d1--;else{const _0x36b19f=_0x7b74a0['slice'](_0xb1f4d1)['indexOf']('\x20');-0x1!==_0x36b19f?_0xb1f4d1+=_0x36b19f:_0xb1f4d1=_0x13f457['length'];}_0x13f457=_0x7b74a0['slice'](0x0,_0xb1f4d1)['join']('')+_0x9cdae9,_0x58e944=_0x19bbb1;}else _0x58e944+=_0x7b74a0['length'];}}_0x4a37cf[_0x236695]=_0x13f457;}return _0x4a37cf['join']('\x0a')['replace'](/\n/g,'');}function $(_0x407009){const _0x304398=[];for(let _0x4550da=0x0;_0x4550da<_0x407009['length'];_0x4550da++){const _0x19b658=_0x407009['substring'](_0x4550da)['match'](/^&[a-z0-9#]+;/);if(_0x19b658){const _0x4b93cc=_0x19b658[0x0];_0x304398['push'](_0x4b93cc),_0x4550da+=_0x4b93cc['length']-0x1;}else _0x304398['push'](_0x407009[_0x4550da]);}return _0x304398;}class h extends _0x252839{['_createButtonView'](_0x9ca784,_0x4a5379,_0x39f693,_0x5b72bc){const _0x1731cf=new _0xc5b6ef(_0x9ca784);return _0x1731cf['label']=_0x4a5379,_0x1731cf['icon']=_0x39f693,_0x1731cf['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5b72bc}}),_0x1731cf['on']('execute',()=>this['fire'](_0x5b72bc)),_0x1731cf;}constructor(_0x19b0f1){super(_0x19b0f1);const _0x2c461e=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x19b0f1,r(_0x19b0f1,'Yes'),_0x2a3231['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x19b0f1,r(_0x19b0f1,'No'),_0x2a3231['cancel'],'cancel'),this['set']('message',r(_0x19b0f1,'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':_0x2c461e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0x93bdb6){return class extends _0x93bdb6{['showConfirm'](_0x43768a,_0x52c73d){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x43768a,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x52c73d['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x10415b=>this['confirmView']['on']('submit',_0x10415b));}['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(_0x1972fe){let _0xf3c847=0x0,_0x45953e=0x0;for(const _0xd209ce of A(_0x1972fe))_0xf3c847=(_0xf3c847<<0x5)-_0xf3c847+_0xd209ce,_0xf3c847|=0x0,[_0xf3c847,_0x45953e]=[_0x45953e,_0xf3c847];return q(_0xf3c847)+q(_0x45953e);}function*g(_0x531c5d){null==_0x531c5d||null==_0x531c5d?yield 0x12b9b0a1:0x0===_0x531c5d||!0x1===_0x531c5d?yield 0x0:0x1===_0x531c5d||0x1==_0x531c5d?yield 0x1:Array['isArray'](_0x531c5d)?yield*function*(_0x4c90ab){for(const _0x1e5c7c of _0x4c90ab)yield*g(_0x1e5c7c);}(_0x531c5d):'object'==typeof _0x531c5d?yield*A(_0x531c5d):'string'==typeof _0x531c5d?yield*M(_0x531c5d):'number'==typeof _0x531c5d&&(yield _0x531c5d);}function*A(_0x1a1356){if(yield O('{'),_0x1a1356){const _0x39d48e=Object['keys'](_0x1a1356)['sort']();for(const _0xa771fd of _0x39d48e){yield*M(_0xa771fd),yield O(':');const _0x4fdb4a=_0x1a1356[_0xa771fd];yield*g(_0x4fdb4a);}}yield O('}');}function*M(_0x3d3dc4){yield O('\x22');for(const _0x3d02bc of _0x3d3dc4)yield O(_0x3d02bc);yield O('\x22');}function O(_0x4f1b61){return _0x4f1b61['charCodeAt'](0x0);}function q(_0x11e0c3){return(_0x11e0c3*=Math['sign'](_0x11e0c3))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x2b825d,_0x4223bf,_0x6d7c0b,_0x16d468=[]){const _0x1ea02b='string'==typeof _0x2b825d?_0x6d7c0b['get'](_0x2b825d)['constructor']:_0x2b825d['prototype']['constructor'];if(_0x4223bf['has'](_0x1ea02b))return _0x4223bf['get'](_0x1ea02b);_0x4223bf['set'](_0x1ea02b,!0x0);const _0x50c695=[...W,..._0x16d468]['map'](_0x4452ce=>{if(_0x6d7c0b['has'](_0x4452ce))return _0x6d7c0b['get'](_0x4452ce)['constructor'];})['filter'](_0x2d5b77=>_0x2d5b77);if(_0x1ea02b&&_0x50c695['includes'](_0x1ea02b))return _0x4223bf['set'](_0x1ea02b,!0x1),!0x1;if(!_0x1ea02b['requires'])return _0x4223bf['set'](_0x1ea02b,!0x0),!0x0;const _0xc4293c=_0x1ea02b['requires']['every'](_0xf28465=>v(_0xf28465,_0x4223bf,_0x6d7c0b,_0x16d468));return _0x4223bf['set'](_0x1ea02b,_0xc4293c),_0xc4293c;}function D(_0x1ae265,_0x4d80ba){const _0x141e30={};for(const _0x1d3686 of _0x1ae265['config']['names']())w['includes'](_0x1d3686)||(_0x141e30[_0x1d3686]=_0x1ae265['config']['get'](_0x1d3686));const _0x51fe61=_0x141e30['plugins']||[],_0x3a58f4=_0x1ae265['constructor']['builtinPlugins']||[],_0x3121fd=_0x51fe61['length']?_0x51fe61:_0x3a58f4,_0x2893fd=_0x141e30['extraPlugins']||[];delete _0x141e30['extraPlugins'];const _0x228c1e=_0x141e30['removePlugins']||[];delete _0x141e30['removePlugins'];const _0x55c4fe=_0x1ae265['_context']['config']['get']('plugins')||[],_0x3f1b77=_0x3121fd['concat'](_0x2893fd)['concat'](_0x55c4fe)['map'](_0x5b7871=>'string'==typeof _0x5b7871?_0x3a58f4['find'](_0xd0c0f9=>_0xd0c0f9['pluginName']==_0x5b7871):_0x5b7871)['filter'](_0xf76ed1=>!_0x228c1e['includes'](_0xf76ed1)&&!_0x228c1e['includes'](_0xf76ed1['pluginName'])),_0x53a173=Array['from'](new Set(_0x3f1b77)),_0x44dd9f=new Map();return _0x141e30['plugins']=_0x53a173['filter'](_0x115c49=>v(_0x115c49,_0x44dd9f,_0x1ae265['plugins'],_0x4d80ba)),_0x141e30;}function z(_0x41d047,_0xfca9e8){const _0x198b60=[];_0x41d047['document']['selection']['on']('change:range',()=>{const _0x3cabf6=function(_0x47ae3b,_0x4641b1){const _0x11dbca=[];for(const _0x478a4d of _0x47ae3b['markers']){const _0x5aa41a=_0x478a4d['getRange']();(_0x5aa41a['containsPosition'](_0x4641b1)||_0x5aa41a['start']['isEqual'](_0x4641b1)||_0x5aa41a['end']['isEqual'](_0x4641b1))&&_0x11dbca['push'](_0x478a4d);}return _0x11dbca;}(_0x41d047,_0x41d047['document']['selection']['focus']),_0x5ad450=[],_0xb47382=[],_0x34ded5=[];for(const _0x2b38d8 of _0x198b60)_0x3cabf6['includes'](_0x2b38d8)||_0x5ad450['push'](_0x2b38d8);for(const _0x6f9e11 of _0x3cabf6)_0x198b60['includes'](_0x6f9e11)||_0xb47382['push'](_0x6f9e11),_0x34ded5['push'](_0x6f9e11);(_0x5ad450['length']||_0xb47382['length'])&&_0xfca9e8({'left':_0x5ad450,'entered':_0xb47382}),_0x198b60['length']=0x0,_0x198b60['push'](..._0x34ded5);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,I as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
23
|
+
import{ContextPlugin as _0x5d21d6,Editor as _0x507d17,icons as _0x511c67}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3ffa79,Collection as _0x57a170,first as _0x2f8af2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2ce451,IconView as _0x54c34a,ButtonView as _0x2653b3}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x154a5d from'date-fns/format/index.js';import _0xc27f55 from'date-fns/parseISO/index.js';import _0x2960c8 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x5d21d6{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x342c4f,_0x48d15d){let _0x72b419;if(_0x48d15d||(_0x48d15d=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x48d15d?_0x72b419=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x72b419=this['context']['editors']['find'](_0xae8946=>_0xae8946['config']['get']('collaboration.channelId')==_0x48d15d)),!_0x72b419)throw new _0x3ffa79('permissions-set-permissions-invalid-channel-id',null);const _0x402093=_0x72b419['plugins'],_0x2f50b8=_0x402093['has']('CommentsRepository')?_0x402093['get']('CommentsRepository'):void 0x0,_0x1a5516=_0x402093['has']('CommentsOnly')&&_0x402093['get']('CommentsOnly'),_0x23e4c9=_0x342c4f['includes']('document:write'),_0x8925e6=_0x342c4f['includes']('comment:modify_all'),_0x4e5bef=_0x342c4f['includes']('comment:admin'),_0x19faa9=_0x342c4f['includes']('comment:write'),_0x5a7e04=_0x19faa9||_0x4e5bef,_0x515932=_0x5a7e04||_0x8925e6,_0x2600dc=_0x23e4c9||_0x5a7e04;(_0x1a5516&&(_0x1a5516['isEnabled']=!_0x23e4c9&&_0x515932),_0x72b419 instanceof _0x507d17)&&(!(_0x23e4c9||_0x515932&&_0x2f50b8)?_0x72b419['enableReadOnlyMode']('no-permissions'):_0x72b419['disableReadOnlyMode']('no-permissions'));if(_0x2f50b8){_0x2f50b8['setPermissions']({'admin':_0x4e5bef,'modifyAll':_0x8925e6,'write':_0x19faa9,'resolve':_0x2600dc},_0x48d15d);const _0x184930=_0x72b419 instanceof _0x507d17&&_0x72b419['commands']['get']('addCommentThread');_0x184930&&(_0x5a7e04?_0x184930['clearForceDisabled']('noPermissions'):_0x184930['forceDisabled']('noPermissions'));}}}function r(_0x2d3735,_0x1410ed){const t=_0x2d3735['t'];switch(_0x1410ed){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 _0x5d21d6{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x5c78a4){super(_0x5c78a4),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x57a170(),this['_locale']=_0x5c78a4['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x4776c1=this['context'];this['licenseKey']=_0x4776c1['config']['get']('licenseKey');const _0x4131b4=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fc6a8;for(const _0x27642e in _0x4776c1){const _0x134b60=_0x4776c1[_0x27642e];if(_0x4131b4['includes'](_0x134b60)){delete _0x4776c1[_0x27642e],_0x1fc6a8=_0x134b60;break;}}if('licenseKeyInvalid'===_0x1fc6a8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ffa79('invalid-license-key',null);if('licenseKeyTrial'===_0x1fc6a8&&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'===_0x1fc6a8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ffa79('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x1fc6a8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ffa79('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x1fc6a8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ffa79('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x1fc6a8&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x584923,name:_0x43fd63,..._0x885af7}){if(!_0x584923||'string'!=typeof _0x584923)throw new _0x3ffa79('users-add-invalid-id');if(this['users']['has'](_0x584923))throw new _0x3ffa79('users-add-duplicated-id',null,{'id':_0x584923});const _0x3bee32={..._0x885af7,'id':_0x584923,'name':a(this['_locale'],_0x43fd63),'color':this['_getNextColor']()};_0x3bee32['name']=a(this['_locale'],_0x3bee32['name']);const _0x14737a=new I(_0x3bee32);return this['users']['add'](_0x14737a),_0x14737a;}['getUser'](_0x1ac858){return this['users']['get'](_0x1ac858);}['useAnonymousUser'](){const _0x28f275=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x28f275);}['defineMe'](_0x1add1f){if(this['_myId'])throw new _0x3ffa79('users-me-already-defined',null);const _0x1758a4=this['getUser'](_0x1add1f);if(!_0x1758a4)throw new _0x3ffa79('users-me-missing-user',null);this['_myId']=_0x1add1f,_0x1758a4['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x4cc3fb=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4cc3fb&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0xb19616=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0xb19616,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x44a156){this['id']=_0x44a156['id'],this['color']=_0x44a156['color'],this['name']=_0x44a156['name'],this['avatar']=_0x44a156['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x50c310=this['name']['split']('\x20');return 0x1===_0x50c310['length']?this['_getInitial'](_0x50c310[0x0]):this['_getInitial'](_0x50c310[0x0])+this['_getInitial'](_0x50c310[_0x50c310['length']-0x1]);}['_getInitial'](_0x4706c9){return _0x4706c9['charAt'](0x0)['toUpperCase']();}}function a(_0x26e5be,_0x33970c=''){return''==(_0x33970c=_0x33970c['trim']())?r(_0x26e5be,'Anonymous'):_0x33970c;}class u{['_id'];constructor(_0x5b56af){this['_id']=_0x5b56af;}['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 _0x2ce451{['name'];['notificationView'];constructor(_0x5cc6d,_0x2c2960,_0x50592a){super(_0x5cc6d),this['name']=_0x2c2960['name'],this['notificationView']=null;const _0xc95948=['ck','ck-user'],_0x7ef6ee=['ck','ck-user__img'];if(_0x2c2960['isAnonymous']&&_0x7ef6ee['push']('ck-user__anonymous'),!_0x2c2960['isAnonymous']&&_0x2c2960['isMe']&&_0xc95948['push']('ck-user_me'),_0x2c2960['avatar']&&_0x7ef6ee['push']('ck-user__avatar'),_0x50592a){const _0x4c7837=new _0x54c34a();_0x4c7837['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x4c7837['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':_0x50592a},'children':[_0x4c7837]};}const _0x2834e7=[{'tag':'div','attributes':{'class':_0x7ef6ee,'style':{'background-image':_0x2c2960['avatar']?'url(\x27'+_0x2c2960['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2c2960['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x2c2960['initials']}]}];this['notificationView']&&_0x2834e7['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xc95948,'data-user-id':_0x2c2960['id']},'children':_0x2834e7});}}function j(_0x1f6b19={}){if(void 0x0!==_0x1f6b19['dateTimeFormat']&&'function'!=typeof _0x1f6b19['dateTimeFormat'])throw new _0x3ffa79('invalid-date-time-format');return _0x49afdb=>{const _0x5e2f85='string'==typeof _0x49afdb?_0xc27f55(_0x49afdb):_0x49afdb,_0x769b39=new Date(),_0x44e3be=_0x2960c8(_0x769b39,_0x5e2f85);return _0x1f6b19['dateTimeFormat']?_0x1f6b19['dateTimeFormat'](_0x5e2f85):_0x154a5d(_0x5e2f85,0x0===_0x44e3be?'\x27Today\x27\x20hh:mma':0x1===_0x44e3be?'\x27Yesterday\x27\x20hh:mma':_0x44e3be<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x4dc62a,_0x334f09){const _0xbe1a11=_0x4dc62a['mapper']['markerNameToElements'](_0x334f09['name']);if(!_0xbe1a11)return null;const _0x31ce1a=_0x2f8af2(_0xbe1a11['values']());return _0x4dc62a['view']['domConverter']['mapViewToDom'](_0x31ce1a)||null;}function K(_0x53f6b3,_0x133347){if(0x0===_0x133347['length'])return null;const _0x6f2878=[],_0x416aaf=_0x53f6b3['view']['domConverter'];for(const _0x2decf6 of _0x133347){const _0x555fc4=_0x53f6b3['mapper']['markerNameToElements'](_0x2decf6['name']);if(!_0x555fc4)continue;const _0xee46dc=Array['from'](_0x555fc4)['map'](_0x138370=>_0x416aaf['mapViewToDom'](_0x138370))['filter'](_0x42e616=>!!_0x42e616);_0x6f2878['push'](..._0xee46dc);}if(0x0===_0x6f2878['length'])return null;const _0x2a6c7e=[];for(const _0x32172b of _0x6f2878){const _0x5dd404=_0x32172b['getClientRects']()['item'](0x0);_0x5dd404&&_0x2a6c7e['push']({'x':_0x5dd404['x'],'y':_0x5dd404['y'],'domElement':_0x32172b});}return 0x0===_0x2a6c7e['length']?null:(_0x2a6c7e['sort']((_0x4ec5c1,_0x301602)=>_0x4ec5c1['y']-_0x301602['y']||_0x4ec5c1['x']-_0x301602['x']),_0x2a6c7e['map'](_0x4cd85f=>_0x4cd85f['domElement']));}function Z(_0x402687,{limit:_0x36129f,suffix:_0x465d78='...'}){const _0x5a0616=[];let _0x1025f8=0x0;const _0x1bacff=_0x402687['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5ed950=0x0;_0x5ed950<_0x1bacff['length'];_0x5ed950++){let _0x1aaa64=_0x1bacff[_0x5ed950];const _0x53d672=$(_0x1aaa64);if(_0x1aaa64['startsWith']('<')){if(_0x1025f8>=_0x36129f){const _0x185174=_0x1aaa64['match'](/[a-zA-Z]+/);if(!_0x185174){_0x1bacff[_0x5ed950]='';continue;}const _0x2eadab=_0x185174[0x0];_0x1aaa64['startsWith']('</')?(_0x5a0616['length']&&(_0x1aaa64=''),_0x5a0616['pop']()):(_0x5a0616['push'](_0x2eadab),_0x1aaa64='');}}else{if(_0x1025f8>=_0x36129f)_0x1aaa64='';else{if(_0x1025f8+_0x53d672['length']>=_0x36129f){let _0x5bb285=_0x36129f-_0x1025f8;if('\x20'===_0x53d672[_0x5bb285-0x1])_0x5bb285--;else{const _0x3a0047=_0x53d672['slice'](_0x5bb285)['indexOf']('\x20');-0x1!==_0x3a0047?_0x5bb285+=_0x3a0047:_0x5bb285=_0x1aaa64['length'];}_0x1aaa64=_0x53d672['slice'](0x0,_0x5bb285)['join']('')+_0x465d78,_0x1025f8=_0x36129f;}else _0x1025f8+=_0x53d672['length'];}}_0x1bacff[_0x5ed950]=_0x1aaa64;}return _0x1bacff['join']('\x0a')['replace'](/\n/g,'');}function $(_0x28d82c){const _0x3b3eac=[];for(let _0x47c7c7=0x0;_0x47c7c7<_0x28d82c['length'];_0x47c7c7++){const _0x3cd3e6=_0x28d82c['substring'](_0x47c7c7)['match'](/^&[a-z0-9#]+;/);if(_0x3cd3e6){const _0xd2cbef=_0x3cd3e6[0x0];_0x3b3eac['push'](_0xd2cbef),_0x47c7c7+=_0xd2cbef['length']-0x1;}else _0x3b3eac['push'](_0x28d82c[_0x47c7c7]);}return _0x3b3eac;}class h extends _0x2ce451{['submitView'];['cancelView'];constructor(_0x420343){super(_0x420343);const _0x5c7489=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x420343,r(_0x420343,'Yes'),_0x511c67['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x420343,r(_0x420343,'No'),_0x511c67['cancel'],'cancel'),this['set']('message',r(_0x420343,'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':_0x5c7489['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x123f9b,_0x53c716,_0x3607bc,_0x4f0631){const _0x1b5b95=new _0x2653b3(_0x123f9b);return _0x1b5b95['label']=_0x53c716,_0x1b5b95['icon']=_0x3607bc,_0x1b5b95['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x4f0631}}),_0x1b5b95['on']('execute',()=>this['fire'](_0x4f0631)),_0x1b5b95;}}function m(_0xa2822f){return class extends _0xa2822f{['showConfirm'](_0x193eec,_0x2685a7){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x193eec,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x2685a7['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x5e165d=>this['confirmView']['on']('submit',_0x5e165d));}['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(_0x4e29b6){let _0xeeb1fb=0x0,_0x4293ac=0x0;for(const _0xbe2637 of A(_0x4e29b6))_0xeeb1fb=(_0xeeb1fb<<0x5)-_0xeeb1fb+_0xbe2637,_0xeeb1fb|=0x0,[_0xeeb1fb,_0x4293ac]=[_0x4293ac,_0xeeb1fb];return q(_0xeeb1fb)+q(_0x4293ac);}function*g(_0x5191f0){null==_0x5191f0||null==_0x5191f0?yield 0x12b9b0a1:0x0===_0x5191f0||!0x1===_0x5191f0?yield 0x0:0x1===_0x5191f0||0x1==_0x5191f0?yield 0x1:Array['isArray'](_0x5191f0)?yield*function*(_0x314bc9){for(const _0x44d36b of _0x314bc9)yield*g(_0x44d36b);}(_0x5191f0):'object'==typeof _0x5191f0?yield*A(_0x5191f0):'string'==typeof _0x5191f0?yield*M(_0x5191f0):'number'==typeof _0x5191f0&&(yield _0x5191f0);}function*A(_0x5a4f5f){if(yield O('{'),_0x5a4f5f){const _0x1917ef=Object['keys'](_0x5a4f5f)['sort']();for(const _0x27e114 of _0x1917ef){yield*M(_0x27e114),yield O(':');const _0xefc197=_0x5a4f5f[_0x27e114];yield*g(_0xefc197);}}yield O('}');}function*M(_0x1cb310){yield O('\x22');for(const _0x34fc46 of _0x1cb310)yield O(_0x34fc46);yield O('\x22');}function O(_0x1a0e00){return _0x1a0e00['charCodeAt'](0x0);}function q(_0x1da8c8){return(_0x1da8c8*=Math['sign'](_0x1da8c8))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0xdfdbda,_0x1d1f5a,_0x108348,_0x256120=[]){const _0x15ab22='string'==typeof _0xdfdbda?_0x108348['get'](_0xdfdbda)['constructor']:_0xdfdbda['prototype']['constructor'];if(_0x1d1f5a['has'](_0x15ab22))return _0x1d1f5a['get'](_0x15ab22);_0x1d1f5a['set'](_0x15ab22,!0x0);const _0x33b12e=[...W,..._0x256120]['map'](_0x5e3864=>{if(_0x108348['has'](_0x5e3864))return _0x108348['get'](_0x5e3864)['constructor'];})['filter'](_0x16e242=>_0x16e242);if(_0x15ab22&&_0x33b12e['includes'](_0x15ab22))return _0x1d1f5a['set'](_0x15ab22,!0x1),!0x1;if(!_0x15ab22['requires'])return _0x1d1f5a['set'](_0x15ab22,!0x0),!0x0;const _0x2fe168=_0x15ab22['requires']['every'](_0x36bee6=>v(_0x36bee6,_0x1d1f5a,_0x108348,_0x256120));return _0x1d1f5a['set'](_0x15ab22,_0x2fe168),_0x2fe168;}function D(_0x11e44a,_0x5a09da){const _0x45abd6={};for(const _0x44cd3e of _0x11e44a['config']['names']())w['includes'](_0x44cd3e)||(_0x45abd6[_0x44cd3e]=_0x11e44a['config']['get'](_0x44cd3e));const _0x32341c=_0x45abd6['plugins']||[],_0x453be=_0x11e44a['constructor']['builtinPlugins']||[],_0x1b45f5=_0x32341c['length']?_0x32341c:_0x453be,_0x4f9cb5=_0x45abd6['extraPlugins']||[];delete _0x45abd6['extraPlugins'];const _0x1d690a=_0x45abd6['removePlugins']||[];delete _0x45abd6['removePlugins'];const _0x1bafdc=_0x11e44a['_context']['config']['get']('plugins')||[],_0x2a8e43=_0x1b45f5['concat'](_0x4f9cb5)['concat'](_0x1bafdc)['map'](_0x254080=>'string'==typeof _0x254080?_0x453be['find'](_0x2576df=>_0x2576df['pluginName']==_0x254080):_0x254080)['filter'](_0x53ef1d=>!_0x1d690a['includes'](_0x53ef1d)&&!_0x1d690a['includes'](_0x53ef1d['pluginName'])),_0x356c4e=Array['from'](new Set(_0x2a8e43)),_0x34c72d=new Map();return _0x45abd6['plugins']=_0x356c4e['filter'](_0x3a5ec5=>v(_0x3a5ec5,_0x34c72d,_0x11e44a['plugins'],_0x5a09da)),_0x45abd6;}function z(_0x2e4f45,_0x39da83){const _0x22a8ca=[];_0x2e4f45['document']['selection']['on']('change:range',()=>{const _0x1cfbae=function(_0x392b65,_0xe9be){const _0x191424=[];for(const _0x24d49e of _0x392b65['markers']){const _0x471812=_0x24d49e['getRange']();(_0x471812['containsPosition'](_0xe9be)||_0x471812['start']['isEqual'](_0xe9be)||_0x471812['end']['isEqual'](_0xe9be))&&_0x191424['push'](_0x24d49e);}return _0x191424;}(_0x2e4f45,_0x2e4f45['document']['selection']['focus']),_0x18cb4a=[],_0x3524ce=[],_0x339108=[];for(const _0x2eb966 of _0x22a8ca)_0x1cfbae['includes'](_0x2eb966)||_0x18cb4a['push'](_0x2eb966);for(const _0x39948e of _0x1cfbae)_0x22a8ca['includes'](_0x39948e)||_0x3524ce['push'](_0x39948e),_0x339108['push'](_0x39948e);(_0x18cb4a['length']||_0x3524ce['length'])&&_0x39da83({'left':_0x18cb4a,'entered':_0x3524ce}),_0x22a8ca['length']=0x0,_0x22a8ca['push'](..._0x339108);});}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':_0x4d3093=>0x1!=_0x4d3093}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x490374=>{const {af:{dictionary:_0x1f5727,getPluralForm:_0x376efa}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x155acd=>0x1!=_0x155acd}};_0x490374['af']||={'dictionary':{},'getPluralForm':null},_0x490374['af']['dictionary']=Object['assign'](_0x490374['af']['dictionary'],_0x1f5727),_0x490374['af']['getPluralForm']=_0x376efa;})(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':_0x4b9290=>0x0==_0x4b9290?0x0:0x1==_0x4b9290?0x1:0x2==_0x4b9290?0x2:_0x4b9290%0x64>=0x3&&_0x4b9290%0x64<=0xa?0x3:_0x4b9290%0x64>=0xb&&_0x4b9290%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4522ea=>{const {ar:{dictionary:_0x13438c,getPluralForm:_0x3d3c60}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x5d8351=>0x0==_0x5d8351?0x0:0x1==_0x5d8351?0x1:0x2==_0x5d8351?0x2:_0x5d8351%0x64>=0x3&&_0x5d8351%0x64<=0xa?0x3:_0x5d8351%0x64>=0xb&&_0x5d8351%0x64<=0x63?0x4:0x5}};_0x4522ea['ar']||={'dictionary':{},'getPluralForm':null},_0x4522ea['ar']['dictionary']=Object['assign'](_0x4522ea['ar']['dictionary'],_0x13438c),_0x4522ea['ar']['getPluralForm']=_0x3d3c60;})(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':_0x3f5b1b=>0x1!=_0x3f5b1b}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3796e7=>{const {az:{dictionary:_0x5755c5,getPluralForm:_0x3a55e0}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x49c8c9=>0x1!=_0x49c8c9}};_0x3796e7['az']||={'dictionary':{},'getPluralForm':null},_0x3796e7['az']['dictionary']=Object['assign'](_0x3796e7['az']['dictionary'],_0x5755c5),_0x3796e7['az']['getPluralForm']=_0x3a55e0;})(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':_0x19a58e=>0x1!=_0x19a58e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x4b1765=>{const {bg:{dictionary:_0x13ecf3,getPluralForm:_0x28f825}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x483035=>0x1!=_0x483035}};_0x4b1765['bg']||={'dictionary':{},'getPluralForm':null},_0x4b1765['bg']['dictionary']=Object['assign'](_0x4b1765['bg']['dictionary'],_0x13ecf3),_0x4b1765['bg']['getPluralForm']=_0x28f825;})(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':_0x5ab829=>0x1!=_0x5ab829}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x450eb8=>{const {bn:{dictionary:_0x17d98d,getPluralForm:_0x23b850}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x111c58=>0x1!=_0x111c58}};_0x450eb8['bn']||={'dictionary':{},'getPluralForm':null},_0x450eb8['bn']['dictionary']=Object['assign'](_0x450eb8['bn']['dictionary'],_0x17d98d),_0x450eb8['bn']['getPluralForm']=_0x23b850;})(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':_0x25e355=>_0x25e355%0xa==0x1&&_0x25e355%0x64!=0xb?0x0:_0x25e355%0xa>=0x2&&_0x25e355%0xa<=0x4&&(_0x25e355%0x64<0xa||_0x25e355%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x379852=>{const {bs:{dictionary:_0x31a3b9,getPluralForm:_0x4989d5}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x3067cd=>_0x3067cd%0xa==0x1&&_0x3067cd%0x64!=0xb?0x0:_0x3067cd%0xa>=0x2&&_0x3067cd%0xa<=0x4&&(_0x3067cd%0x64<0xa||_0x3067cd%0x64>=0x14)?0x1:0x2}};_0x379852['bs']||={'dictionary':{},'getPluralForm':null},_0x379852['bs']['dictionary']=Object['assign'](_0x379852['bs']['dictionary'],_0x31a3b9),_0x379852['bs']['getPluralForm']=_0x4989d5;})(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':_0x13f3b6=>0x1!=_0x13f3b6}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3a37f7=>{const {ca:{dictionary:_0x2972ad,getPluralForm:_0x7178}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x45bf60=>0x1!=_0x45bf60}};_0x3a37f7['ca']||={'dictionary':{},'getPluralForm':null},_0x3a37f7['ca']['dictionary']=Object['assign'](_0x3a37f7['ca']['dictionary'],_0x2972ad),_0x3a37f7['ca']['getPluralForm']=_0x7178;})(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':_0x1a7b2a=>0x1==_0x1a7b2a&&_0x1a7b2a%0x1==0x0?0x0:_0x1a7b2a>=0x2&&_0x1a7b2a<=0x4&&_0x1a7b2a%0x1==0x0?0x1:_0x1a7b2a%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5ff6d6=>{const {cs:{dictionary:_0x54f364,getPluralForm:_0x360564}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x325a04=>0x1==_0x325a04&&_0x325a04%0x1==0x0?0x0:_0x325a04>=0x2&&_0x325a04<=0x4&&_0x325a04%0x1==0x0?0x1:_0x325a04%0x1!=0x0?0x2:0x3}};_0x5ff6d6['cs']||={'dictionary':{},'getPluralForm':null},_0x5ff6d6['cs']['dictionary']=Object['assign'](_0x5ff6d6['cs']['dictionary'],_0x54f364),_0x5ff6d6['cs']['getPluralForm']=_0x360564;})(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':_0x4f2742=>0x1!=_0x4f2742}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3ca737=>{const {da:{dictionary:_0x2915a1,getPluralForm:_0x57446e}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x49e835=>0x1!=_0x49e835}};_0x3ca737['da']||={'dictionary':{},'getPluralForm':null},_0x3ca737['da']['dictionary']=Object['assign'](_0x3ca737['da']['dictionary'],_0x2915a1),_0x3ca737['da']['getPluralForm']=_0x57446e;})(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':_0x27700e=>0x1!=_0x27700e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x48ad26=>{const {'de-ch':{dictionary:_0x55a213,getPluralForm:_0x55b3fe}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x561930=>0x1!=_0x561930}};_0x48ad26['de-ch']||={'dictionary':{},'getPluralForm':null},_0x48ad26['de-ch']['dictionary']=Object['assign'](_0x48ad26['de-ch']['dictionary'],_0x55a213),_0x48ad26['de-ch']['getPluralForm']=_0x55b3fe;})(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':_0x50f9f0=>0x1!=_0x50f9f0}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5adcde=>{const {de:{dictionary:_0x8d97a6,getPluralForm:_0x141ca5}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0xf58188=>0x1!=_0xf58188}};_0x5adcde['de']||={'dictionary':{},'getPluralForm':null},_0x5adcde['de']['dictionary']=Object['assign'](_0x5adcde['de']['dictionary'],_0x8d97a6),_0x5adcde['de']['getPluralForm']=_0x141ca5;})(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':_0x342e48=>0x1!=_0x342e48}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x42f525=>{const {el:{dictionary:_0x710748,getPluralForm:_0x1463fe}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x2ba80b=>0x1!=_0x2ba80b}};_0x42f525['el']||={'dictionary':{},'getPluralForm':null},_0x42f525['el']['dictionary']=Object['assign'](_0x42f525['el']['dictionary'],_0x710748),_0x42f525['el']['getPluralForm']=_0x1463fe;})(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':_0x5be525=>0x1!=_0x5be525}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x51d0c0=>{const {'en-au':{dictionary:_0x20fc77,getPluralForm:_0x4c1fcb}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x22e231=>0x1!=_0x22e231}};_0x51d0c0['en-au']||={'dictionary':{},'getPluralForm':null},_0x51d0c0['en-au']['dictionary']=Object['assign'](_0x51d0c0['en-au']['dictionary'],_0x20fc77),_0x51d0c0['en-au']['getPluralForm']=_0x4c1fcb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5291e6=>{const {en:{dictionary:_0xbadd9,getPluralForm:_0x6e5825}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x5291e6['en']||={'dictionary':{},'getPluralForm':null},_0x5291e6['en']['dictionary']=Object['assign'](_0x5291e6['en']['dictionary'],_0xbadd9),_0x5291e6['en']['getPluralForm']=_0x6e5825;})(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':_0x19d796=>0x1==_0x19d796?0x0:0x0!=_0x19d796&&_0x19d796%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x21afc4=>{const {'es-co':{dictionary:_0x5357cb,getPluralForm:_0x572789}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x2cc632=>0x1==_0x2cc632?0x0:0x0!=_0x2cc632&&_0x2cc632%0xf4240==0x0?0x1:0x2}};_0x21afc4['es-co']||={'dictionary':{},'getPluralForm':null},_0x21afc4['es-co']['dictionary']=Object['assign'](_0x21afc4['es-co']['dictionary'],_0x5357cb),_0x21afc4['es-co']['getPluralForm']=_0x572789;})(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':_0x3b4cfc=>0x1==_0x3b4cfc?0x0:0x0!=_0x3b4cfc&&_0x3b4cfc%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x257e0d=>{const {es:{dictionary:_0x554dce,getPluralForm:_0x5ec8e3}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x20c108=>0x1==_0x20c108?0x0:0x0!=_0x20c108&&_0x20c108%0xf4240==0x0?0x1:0x2}};_0x257e0d['es']||={'dictionary':{},'getPluralForm':null},_0x257e0d['es']['dictionary']=Object['assign'](_0x257e0d['es']['dictionary'],_0x554dce),_0x257e0d['es']['getPluralForm']=_0x5ec8e3;})(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':_0x5eb5fd=>0x1!=_0x5eb5fd}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x9ec9bd=>{const {et:{dictionary:_0x1bfbc4,getPluralForm:_0x4f52cb}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x2b38d5=>0x1!=_0x2b38d5}};_0x9ec9bd['et']||={'dictionary':{},'getPluralForm':null},_0x9ec9bd['et']['dictionary']=Object['assign'](_0x9ec9bd['et']['dictionary'],_0x1bfbc4),_0x9ec9bd['et']['getPluralForm']=_0x4f52cb;})(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':_0x32e9af=>_0x32e9af>0x1}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x40881f=>{const {fa:{dictionary:_0x235a58,getPluralForm:_0xedd868}}={'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x362b35=>_0x362b35>0x1}};_0x40881f['fa']||={'dictionary':{},'getPluralForm':null},_0x40881f['fa']['dictionary']=Object['assign'](_0x40881f['fa']['dictionary'],_0x235a58),_0x40881f['fa']['getPluralForm']=_0xedd868;})(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':_0x3215b7=>0x1!=_0x3215b7}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x175ef9=>{const {fi:{dictionary:_0x5dfa5c,getPluralForm:_0xb863fb}}={'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x227cd5=>0x1!=_0x227cd5}};_0x175ef9['fi']||={'dictionary':{},'getPluralForm':null},_0x175ef9['fi']['dictionary']=Object['assign'](_0x175ef9['fi']['dictionary'],_0x5dfa5c),_0x175ef9['fi']['getPluralForm']=_0xb863fb;})(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':_0x4e4be6=>0x0==_0x4e4be6||0x1==_0x4e4be6?0x0:0x0!=_0x4e4be6&&_0x4e4be6%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x835913=>{const {fr:{dictionary:_0xbb3e62,getPluralForm:_0x14cdc3}}={'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x29b2ab=>0x0==_0x29b2ab||0x1==_0x29b2ab?0x0:0x0!=_0x29b2ab&&_0x29b2ab%0xf4240==0x0?0x1:0x2}};_0x835913['fr']||={'dictionary':{},'getPluralForm':null},_0x835913['fr']['dictionary']=Object['assign'](_0x835913['fr']['dictionary'],_0xbb3e62),_0x835913['fr']['getPluralForm']=_0x14cdc3;})(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':_0x32ead6=>0x1!=_0x32ead6}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x6bc664=>{const {gl:{dictionary:_0x174c86,getPluralForm:_0x3c4373}}={'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x399591=>0x1!=_0x399591}};_0x6bc664['gl']||={'dictionary':{},'getPluralForm':null},_0x6bc664['gl']['dictionary']=Object['assign'](_0x6bc664['gl']['dictionary'],_0x174c86),_0x6bc664['gl']['getPluralForm']=_0x3c4373;})(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':_0x586934=>0x1==_0x586934&&_0x586934%0x1==0x0?0x0:0x2==_0x586934&&_0x586934%0x1==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x40b10f=>{const {he:{dictionary:_0x7f59e1,getPluralForm:_0x5e4ea7}}={'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x533063=>0x1==_0x533063&&_0x533063%0x1==0x0?0x0:0x2==_0x533063&&_0x533063%0x1==0x0?0x1:0x2}};_0x40b10f['he']||={'dictionary':{},'getPluralForm':null},_0x40b10f['he']['dictionary']=Object['assign'](_0x40b10f['he']['dictionary'],_0x7f59e1),_0x40b10f['he']['getPluralForm']=_0x5e4ea7;})(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':_0x4c2de7=>0x1!=_0x4c2de7}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5c3950=>{const {hi:{dictionary:_0x4cf44c,getPluralForm:_0x109f10}}={'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x31d5fd=>0x1!=_0x31d5fd}};_0x5c3950['hi']||={'dictionary':{},'getPluralForm':null},_0x5c3950['hi']['dictionary']=Object['assign'](_0x5c3950['hi']['dictionary'],_0x4cf44c),_0x5c3950['hi']['getPluralForm']=_0x109f10;})(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':_0x22a860=>_0x22a860%0xa==0x1&&_0x22a860%0x64!=0xb?0x0:_0x22a860%0xa>=0x2&&_0x22a860%0xa<=0x4&&(_0x22a860%0x64<0xa||_0x22a860%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x42b579=>{const {hr:{dictionary:_0x5966ed,getPluralForm:_0x512ee0}}={'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x10de12=>_0x10de12%0xa==0x1&&_0x10de12%0x64!=0xb?0x0:_0x10de12%0xa>=0x2&&_0x10de12%0xa<=0x4&&(_0x10de12%0x64<0xa||_0x10de12%0x64>=0x14)?0x1:0x2}};_0x42b579['hr']||={'dictionary':{},'getPluralForm':null},_0x42b579['hr']['dictionary']=Object['assign'](_0x42b579['hr']['dictionary'],_0x5966ed),_0x42b579['hr']['getPluralForm']=_0x512ee0;})(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':_0x17e3a2=>0x1!=_0x17e3a2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5d090f=>{const {hu:{dictionary:_0x1ba9f5,getPluralForm:_0xf3433d}}={'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0xe65cd8=>0x1!=_0xe65cd8}};_0x5d090f['hu']||={'dictionary':{},'getPluralForm':null},_0x5d090f['hu']['dictionary']=Object['assign'](_0x5d090f['hu']['dictionary'],_0x1ba9f5),_0x5d090f['hu']['getPluralForm']=_0xf3433d;})(window['CKEDITOR_TRANSLATIONS']||={});
|