@ckeditor/ckeditor5-collaboration-core 41.4.2 → 42.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x28b9ff,Editor as _0x1f92b8,icons as _0x119609}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x486272,Collection as _0x1c0485,first as _0x1f19f1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1e527c,IconView as _0x1874b7,ButtonView as _0x33d125}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x1e8be1 from'date-fns/format/index.js';import _0x2903c0 from'date-fns/parseISO/index.js';import _0x2c7ebd from'date-fns/differenceInCalendarDays/index.js';class n extends _0x28b9ff{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x3a5316,_0x37b3c1){let _0x23df74;if(_0x37b3c1||(_0x37b3c1=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x37b3c1?_0x23df74=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x23df74=this['context']['editors']['find'](_0x4c5924=>_0x4c5924['config']['get']('collaboration.channelId')==_0x37b3c1)),!_0x23df74)throw new _0x486272('permissions-set-permissions-invalid-channel-id',null);const _0x574a25=_0x23df74['plugins'],_0x4bc826=_0x574a25['has']('CommentsRepository')?_0x574a25['get']('CommentsRepository'):void 0x0,_0x543ef5=_0x574a25['has']('CommentsOnly')&&_0x574a25['get']('CommentsOnly'),_0x2b74c5=_0x3a5316['includes']('document:write'),_0x33117c=_0x3a5316['includes']('comment:modify_all'),_0x29b15f=_0x3a5316['includes']('comment:admin'),_0x9a013b=_0x3a5316['includes']('comment:write'),_0x57da52=_0x9a013b||_0x29b15f,_0xa87170=_0x57da52||_0x33117c,_0x2138ab=_0x2b74c5||_0x57da52;(_0x543ef5&&(_0x543ef5['isEnabled']=!_0x2b74c5&&_0xa87170),_0x23df74 instanceof _0x1f92b8)&&(!(_0x2b74c5||_0xa87170&&_0x4bc826)?_0x23df74['enableReadOnlyMode']('no-permissions'):_0x23df74['disableReadOnlyMode']('no-permissions'));if(_0x4bc826){_0x4bc826['setPermissions']({'admin':_0x29b15f,'modifyAll':_0x33117c,'write':_0x9a013b,'resolve':_0x2138ab},_0x37b3c1);const _0x42cb2d=_0x23df74 instanceof _0x1f92b8&&_0x23df74['commands']['get']('addCommentThread');_0x42cb2d&&(_0x57da52?_0x42cb2d['clearForceDisabled']('noPermissions'):_0x42cb2d['forceDisabled']('noPermissions'));}}}function r(_0x5629ab,_0x4d1342){const t=_0x5629ab['t'];switch(_0x4d1342){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 _0x28b9ff{['users'];['_licenseKeyCheckInterval'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['requires'](){return[n];}constructor(_0x556306){super(_0x556306),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1c0485(),this['_locale']=_0x556306['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x3e1223=this['context'];this['licenseKey']=_0x3e1223['config']['get']('licenseKey');const _0x263ced=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x436a88;for(const _0x5876aa in _0x3e1223){const _0x4b2378=_0x3e1223[_0x5876aa];if(_0x263ced['includes'](_0x4b2378)){delete _0x3e1223[_0x5876aa],_0x436a88=_0x4b2378;break;}}if('licenseKeyInvalid'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('invalid-license-key',null);if('licenseKeyTrial'===_0x436a88&&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'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x436a88)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x486272('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x436a88&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x1b9d14,name:_0x42d1fd,..._0x2560fa}){if(!_0x1b9d14||'string'!=typeof _0x1b9d14)throw new _0x486272('users-add-invalid-id');if(this['users']['has'](_0x1b9d14))throw new _0x486272('users-add-duplicated-id',null,{'id':_0x1b9d14});const _0x466dca={..._0x2560fa,'id':_0x1b9d14,'name':a(this['_locale'],_0x42d1fd),'color':this['_getNextColor']()};_0x466dca['name']=a(this['_locale'],_0x466dca['name']);const _0x408624=new I(_0x466dca);return this['users']['add'](_0x408624),_0x408624;}['getUser'](_0x3236e5){return this['users']['get'](_0x3236e5);}['useAnonymousUser'](){const _0x4e6b22=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4e6b22);}['defineMe'](_0x36f7d1){if(this['_myId'])throw new _0x486272('users-me-already-defined',null);const _0x28e898=this['getUser'](_0x36f7d1);if(!_0x28e898)throw new _0x486272('users-me-missing-user',null);this['_myId']=_0x36f7d1,_0x28e898['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x4acaa2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4acaa2&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x51d45e=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x51d45e,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class I{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x43f85d){this['id']=_0x43f85d['id'],this['color']=_0x43f85d['color'],this['name']=_0x43f85d['name'],this['avatar']=_0x43f85d['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x4327d2=this['name']['split']('\x20');return 0x1===_0x4327d2['length']?this['_getInitial'](_0x4327d2[0x0]):this['_getInitial'](_0x4327d2[0x0])+this['_getInitial'](_0x4327d2[_0x4327d2['length']-0x1]);}['_getInitial'](_0x3ef1f6){return _0x3ef1f6['charAt'](0x0)['toUpperCase']();}}function a(_0x3241a1,_0x1405f0=''){return''==(_0x1405f0=_0x1405f0['trim']())?r(_0x3241a1,'Anonymous'):_0x1405f0;}class u{['_id'];constructor(_0x185af8){this['_id']=_0x185af8;}['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 _0x1e527c{['name'];['notificationView'];constructor(_0x2fc977,_0x21c7cb,_0x3ff7d3){super(_0x2fc977),this['name']=_0x21c7cb['name'],this['notificationView']=null;const _0x4d5fed=['ck','ck-user'],_0x590fa7=['ck','ck-user__img'];if(_0x21c7cb['isAnonymous']&&_0x590fa7['push']('ck-user__anonymous'),!_0x21c7cb['isAnonymous']&&_0x21c7cb['isMe']&&_0x4d5fed['push']('ck-user_me'),_0x21c7cb['avatar']&&_0x590fa7['push']('ck-user__avatar'),_0x3ff7d3){const _0x2777bd=new _0x1874b7();_0x2777bd['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2777bd['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':_0x3ff7d3},'children':[_0x2777bd]};}const _0x3fbbca=[{'tag':'div','attributes':{'class':_0x590fa7,'style':{'background-image':_0x21c7cb['avatar']?'url(\x27'+_0x21c7cb['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x21c7cb['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x21c7cb['initials']}]}];this['notificationView']&&_0x3fbbca['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4d5fed,'data-user-id':_0x21c7cb['id']},'children':_0x3fbbca});}}function j(_0x277d5a={}){if(void 0x0!==_0x277d5a['dateTimeFormat']&&'function'!=typeof _0x277d5a['dateTimeFormat'])throw new _0x486272('invalid-date-time-format');return _0x42b8a4=>{const _0x428770='string'==typeof _0x42b8a4?_0x2903c0(_0x42b8a4):_0x42b8a4,_0x2e561c=new Date(),_0x4a5221=_0x2c7ebd(_0x2e561c,_0x428770);return _0x277d5a['dateTimeFormat']?_0x277d5a['dateTimeFormat'](_0x428770):_0x1e8be1(_0x428770,0x0===_0x4a5221?'\x27Today\x27\x20hh:mma':0x1===_0x4a5221?'\x27Yesterday\x27\x20hh:mma':_0x4a5221<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x4378da,_0x30937d){const _0x3d3d31=_0x4378da['mapper']['markerNameToElements'](_0x30937d['name']);if(!_0x3d3d31)return null;const _0x45c440=_0x1f19f1(_0x3d3d31['values']());return _0x4378da['view']['domConverter']['mapViewToDom'](_0x45c440)||null;}function K(_0x6bafeb,_0x199654){if(0x0===_0x199654['length'])return null;const _0x20c411=[],_0x1810a7=_0x6bafeb['view']['domConverter'];for(const _0x4207d4 of _0x199654){const _0x62c51f=_0x6bafeb['mapper']['markerNameToElements'](_0x4207d4['name']);if(!_0x62c51f)continue;const _0x55f9c9=Array['from'](_0x62c51f)['map'](_0x2577d7=>_0x1810a7['mapViewToDom'](_0x2577d7))['filter'](_0x104461=>!!_0x104461);_0x20c411['push'](..._0x55f9c9);}if(0x0===_0x20c411['length'])return null;const _0x3f0b8d=[];for(const _0x439aed of _0x20c411){const _0x4c81a5=_0x439aed['getClientRects']()['item'](0x0);_0x4c81a5&&_0x3f0b8d['push']({'x':_0x4c81a5['x'],'y':_0x4c81a5['y'],'domElement':_0x439aed});}return 0x0===_0x3f0b8d['length']?null:(_0x3f0b8d['sort']((_0x19d0d3,_0x2f061e)=>_0x19d0d3['y']-_0x2f061e['y']||_0x19d0d3['x']-_0x2f061e['x']),_0x3f0b8d['map'](_0x175447=>_0x175447['domElement']));}function Z(_0x10268,{limit:_0xac7203,suffix:_0x123f55='...'}){const _0xa41f69=[];let _0x1ba265=0x0;const _0xd942d1=_0x10268['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x48d62c=0x0;_0x48d62c<_0xd942d1['length'];_0x48d62c++){let _0x5c1357=_0xd942d1[_0x48d62c];const _0x1f9e2c=$(_0x5c1357);if(_0x5c1357['startsWith']('<')){if(_0x1ba265>=_0xac7203){const _0x42e9e2=_0x5c1357['match'](/[a-zA-Z]+/);if(!_0x42e9e2){_0xd942d1[_0x48d62c]='';continue;}const _0x20a97a=_0x42e9e2[0x0];_0x5c1357['startsWith']('</')?(_0xa41f69['length']&&(_0x5c1357=''),_0xa41f69['pop']()):(_0xa41f69['push'](_0x20a97a),_0x5c1357='');}}else{if(_0x1ba265>=_0xac7203)_0x5c1357='';else{if(_0x1ba265+_0x1f9e2c['length']>=_0xac7203){let _0x31185e=_0xac7203-_0x1ba265;if('\x20'===_0x1f9e2c[_0x31185e-0x1])_0x31185e--;else{const _0x53ba14=_0x1f9e2c['slice'](_0x31185e)['indexOf']('\x20');-0x1!==_0x53ba14?_0x31185e+=_0x53ba14:_0x31185e=_0x5c1357['length'];}_0x5c1357=_0x1f9e2c['slice'](0x0,_0x31185e)['join']('')+_0x123f55,_0x1ba265=_0xac7203;}else _0x1ba265+=_0x1f9e2c['length'];}}_0xd942d1[_0x48d62c]=_0x5c1357;}return _0xd942d1['join']('\x0a')['replace'](/\n/g,'');}function $(_0x56a004){const _0x2eec03=[];for(let _0x46d90f=0x0;_0x46d90f<_0x56a004['length'];_0x46d90f++){const _0x133d7b=_0x56a004['substring'](_0x46d90f)['match'](/^&[a-z0-9#]+;/);if(_0x133d7b){const _0x187dc6=_0x133d7b[0x0];_0x2eec03['push'](_0x187dc6),_0x46d90f+=_0x187dc6['length']-0x1;}else _0x2eec03['push'](_0x56a004[_0x46d90f]);}return _0x2eec03;}class h extends _0x1e527c{['submitView'];['cancelView'];constructor(_0x3bb135){super(_0x3bb135);const _0x4eb387=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x3bb135,r(_0x3bb135,'Yes'),_0x119609['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x3bb135,r(_0x3bb135,'No'),_0x119609['cancel'],'cancel'),this['set']('message',r(_0x3bb135,'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':_0x4eb387['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x187252,_0x1768ad,_0xf8efe3,_0x42f663){const _0x2c223d=new _0x33d125(_0x187252);return _0x2c223d['label']=_0x1768ad,_0x2c223d['icon']=_0xf8efe3,_0x2c223d['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x42f663}}),_0x2c223d['on']('execute',()=>this['fire'](_0x42f663)),_0x2c223d;}}function m(_0x1cccf9){return class extends _0x1cccf9{['showConfirm'](_0x55ea78,_0x212645){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x55ea78,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x212645['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x50a60c=>this['confirmView']['on']('submit',_0x50a60c));}['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(_0x135333){let _0x1f7384=0x0,_0x164ae9=0x0;for(const _0x1f0a58 of A(_0x135333))_0x1f7384=(_0x1f7384<<0x5)-_0x1f7384+_0x1f0a58,_0x1f7384|=0x0,[_0x1f7384,_0x164ae9]=[_0x164ae9,_0x1f7384];return q(_0x1f7384)+q(_0x164ae9);}function*g(_0x5d7ffd){null==_0x5d7ffd||null==_0x5d7ffd?yield 0x12b9b0a1:0x0===_0x5d7ffd||!0x1===_0x5d7ffd?yield 0x0:0x1===_0x5d7ffd||0x1==_0x5d7ffd?yield 0x1:Array['isArray'](_0x5d7ffd)?yield*function*(_0x4933bf){for(const _0x1bbc31 of _0x4933bf)yield*g(_0x1bbc31);}(_0x5d7ffd):'object'==typeof _0x5d7ffd?yield*A(_0x5d7ffd):'string'==typeof _0x5d7ffd?yield*M(_0x5d7ffd):'number'==typeof _0x5d7ffd&&(yield _0x5d7ffd);}function*A(_0x168008){if(yield O('{'),_0x168008){const _0x349af5=Object['keys'](_0x168008)['sort']();for(const _0x4468a2 of _0x349af5){yield*M(_0x4468a2),yield O(':');const _0xcb2c57=_0x168008[_0x4468a2];yield*g(_0xcb2c57);}}yield O('}');}function*M(_0x4baafb){yield O('\x22');for(const _0x241635 of _0x4baafb)yield O(_0x241635);yield O('\x22');}function O(_0x2638cf){return _0x2638cf['charCodeAt'](0x0);}function q(_0x16f13c){return(_0x16f13c*=Math['sign'](_0x16f13c))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x11bab1,_0x1416a7,_0x42c667,_0x251242=[]){const _0x4e2692='string'==typeof _0x11bab1?_0x42c667['get'](_0x11bab1)['constructor']:_0x11bab1['prototype']['constructor'];if(_0x1416a7['has'](_0x4e2692))return _0x1416a7['get'](_0x4e2692);_0x1416a7['set'](_0x4e2692,!0x0);const _0x55b8ed=[...W,..._0x251242]['map'](_0x35e3e2=>{if(_0x42c667['has'](_0x35e3e2))return _0x42c667['get'](_0x35e3e2)['constructor'];})['filter'](_0x564175=>_0x564175);if(_0x4e2692&&_0x55b8ed['includes'](_0x4e2692))return _0x1416a7['set'](_0x4e2692,!0x1),!0x1;if(!_0x4e2692['requires'])return _0x1416a7['set'](_0x4e2692,!0x0),!0x0;const _0x5ab127=_0x4e2692['requires']['every'](_0x1dfabe=>v(_0x1dfabe,_0x1416a7,_0x42c667,_0x251242));return _0x1416a7['set'](_0x4e2692,_0x5ab127),_0x5ab127;}function D(_0x3b1b43,_0x217b3d){const _0x501ffd={};for(const _0x468fd6 of _0x3b1b43['config']['names']())w['includes'](_0x468fd6)||(_0x501ffd[_0x468fd6]=_0x3b1b43['config']['get'](_0x468fd6));const _0x51d101=_0x501ffd['plugins']||[],_0x135759=_0x3b1b43['constructor']['builtinPlugins']||[],_0x13a7db=_0x51d101['length']?_0x51d101:_0x135759,_0x8d3049=_0x501ffd['extraPlugins']||[];delete _0x501ffd['extraPlugins'];const _0x14b59c=_0x501ffd['removePlugins']||[];delete _0x501ffd['removePlugins'];const _0x642967=_0x3b1b43['_context']['config']['get']('plugins')||[],_0x5a5642=_0x13a7db['concat'](_0x8d3049)['concat'](_0x642967)['map'](_0x2e70e0=>'string'==typeof _0x2e70e0?_0x135759['find'](_0x219a67=>_0x219a67['pluginName']==_0x2e70e0):_0x2e70e0)['filter'](_0x462dd2=>!_0x14b59c['includes'](_0x462dd2)&&!_0x14b59c['includes'](_0x462dd2['pluginName'])),_0x1b2acc=Array['from'](new Set(_0x5a5642)),_0x1ed3ff=new Map();return _0x501ffd['plugins']=_0x1b2acc['filter'](_0x578a89=>v(_0x578a89,_0x1ed3ff,_0x3b1b43['plugins'],_0x217b3d)),_0x501ffd;}function z(_0x4a47c2,_0x1fbb18){const _0x1c33cc=[];_0x4a47c2['document']['selection']['on']('change:range',()=>{const _0x43ab8e=function(_0x2abe71,_0x29a0cc){const _0x3aebd2=[];for(const _0x43a591 of _0x2abe71['markers']){const _0x101efd=_0x43a591['getRange']();(_0x101efd['containsPosition'](_0x29a0cc)||_0x101efd['start']['isEqual'](_0x29a0cc)||_0x101efd['end']['isEqual'](_0x29a0cc))&&_0x3aebd2['push'](_0x43a591);}return _0x3aebd2;}(_0x4a47c2,_0x4a47c2['document']['selection']['focus']),_0x68e7b5=[],_0x292a4a=[],_0x44d335=[];for(const _0x5b1088 of _0x1c33cc)_0x43ab8e['includes'](_0x5b1088)||_0x68e7b5['push'](_0x5b1088);for(const _0x5f3d6a of _0x43ab8e)_0x1c33cc['includes'](_0x5f3d6a)||_0x292a4a['push'](_0x5f3d6a),_0x44d335['push'](_0x5f3d6a);(_0x68e7b5['length']||_0x292a4a['length'])&&_0x1fbb18({'left':_0x68e7b5,'entered':_0x292a4a}),_0x1c33cc['length']=0x0,_0x1c33cc['push'](..._0x44d335);});}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':_0x28a87c=>0x1!=_0x28a87c}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x15e870=>{const {af:{dictionary:_0x21bd2a,getPluralForm:_0x122655}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x70a6c4=>0x1!=_0x70a6c4}};_0x15e870['af']||={'dictionary':{},'getPluralForm':null},_0x15e870['af']['dictionary']=Object['assign'](_0x15e870['af']['dictionary'],_0x21bd2a),_0x15e870['af']['getPluralForm']=_0x122655;})(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':_0x1bc1be=>0x0==_0x1bc1be?0x0:0x1==_0x1bc1be?0x1:0x2==_0x1bc1be?0x2:_0x1bc1be%0x64>=0x3&&_0x1bc1be%0x64<=0xa?0x3:_0x1bc1be%0x64>=0xb&&_0x1bc1be%0x64<=0x63?0x4:0x5}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0xce1296=>{const {ar:{dictionary:_0x4d6fca,getPluralForm:_0x2f9a7e}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x16361c=>0x0==_0x16361c?0x0:0x1==_0x16361c?0x1:0x2==_0x16361c?0x2:_0x16361c%0x64>=0x3&&_0x16361c%0x64<=0xa?0x3:_0x16361c%0x64>=0xb&&_0x16361c%0x64<=0x63?0x4:0x5}};_0xce1296['ar']||={'dictionary':{},'getPluralForm':null},_0xce1296['ar']['dictionary']=Object['assign'](_0xce1296['ar']['dictionary'],_0x4d6fca),_0xce1296['ar']['getPluralForm']=_0x2f9a7e;})(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':_0x168013=>0x1!=_0x168013}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x325b9f=>{const {az:{dictionary:_0x412634,getPluralForm:_0x45ea9d}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x2bf4fd=>0x1!=_0x2bf4fd}};_0x325b9f['az']||={'dictionary':{},'getPluralForm':null},_0x325b9f['az']['dictionary']=Object['assign'](_0x325b9f['az']['dictionary'],_0x412634),_0x325b9f['az']['getPluralForm']=_0x45ea9d;})(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':_0x2bb86a=>0x1!=_0x2bb86a}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1f7397=>{const {bg:{dictionary:_0x1c6bf1,getPluralForm:_0x1c50c5}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x29a28f=>0x1!=_0x29a28f}};_0x1f7397['bg']||={'dictionary':{},'getPluralForm':null},_0x1f7397['bg']['dictionary']=Object['assign'](_0x1f7397['bg']['dictionary'],_0x1c6bf1),_0x1f7397['bg']['getPluralForm']=_0x1c50c5;})(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':_0x136de9=>0x1!=_0x136de9}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x306f22=>{const {bn:{dictionary:_0xf47742,getPluralForm:_0x3b21af}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x227cb8=>0x1!=_0x227cb8}};_0x306f22['bn']||={'dictionary':{},'getPluralForm':null},_0x306f22['bn']['dictionary']=Object['assign'](_0x306f22['bn']['dictionary'],_0xf47742),_0x306f22['bn']['getPluralForm']=_0x3b21af;})(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':_0x349ea7=>_0x349ea7%0xa==0x1&&_0x349ea7%0x64!=0xb?0x0:_0x349ea7%0xa>=0x2&&_0x349ea7%0xa<=0x4&&(_0x349ea7%0x64<0xa||_0x349ea7%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x49d922=>{const {bs:{dictionary:_0x274d60,getPluralForm:_0x3a047c}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x4786cb=>_0x4786cb%0xa==0x1&&_0x4786cb%0x64!=0xb?0x0:_0x4786cb%0xa>=0x2&&_0x4786cb%0xa<=0x4&&(_0x4786cb%0x64<0xa||_0x4786cb%0x64>=0x14)?0x1:0x2}};_0x49d922['bs']||={'dictionary':{},'getPluralForm':null},_0x49d922['bs']['dictionary']=Object['assign'](_0x49d922['bs']['dictionary'],_0x274d60),_0x49d922['bs']['getPluralForm']=_0x3a047c;})(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':_0x44aef3=>0x1!=_0x44aef3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x5c72ce=>{const {ca:{dictionary:_0x402c8b,getPluralForm:_0x1c8e10}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x25a0bb=>0x1!=_0x25a0bb}};_0x5c72ce['ca']||={'dictionary':{},'getPluralForm':null},_0x5c72ce['ca']['dictionary']=Object['assign'](_0x5c72ce['ca']['dictionary'],_0x402c8b),_0x5c72ce['ca']['getPluralForm']=_0x1c8e10;})(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':_0x1accd7=>0x1==_0x1accd7&&_0x1accd7%0x1==0x0?0x0:_0x1accd7>=0x2&&_0x1accd7<=0x4&&_0x1accd7%0x1==0x0?0x1:_0x1accd7%0x1!=0x0?0x2:0x3}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1075c5=>{const {cs:{dictionary:_0x29f57c,getPluralForm:_0x555d3c}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x1bc6e9=>0x1==_0x1bc6e9&&_0x1bc6e9%0x1==0x0?0x0:_0x1bc6e9>=0x2&&_0x1bc6e9<=0x4&&_0x1bc6e9%0x1==0x0?0x1:_0x1bc6e9%0x1!=0x0?0x2:0x3}};_0x1075c5['cs']||={'dictionary':{},'getPluralForm':null},_0x1075c5['cs']['dictionary']=Object['assign'](_0x1075c5['cs']['dictionary'],_0x29f57c),_0x1075c5['cs']['getPluralForm']=_0x555d3c;})(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':_0xbf5b98=>0x1!=_0xbf5b98}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x472485=>{const {da:{dictionary:_0x41e8c1,getPluralForm:_0x31863b}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x4137c8=>0x1!=_0x4137c8}};_0x472485['da']||={'dictionary':{},'getPluralForm':null},_0x472485['da']['dictionary']=Object['assign'](_0x472485['da']['dictionary'],_0x41e8c1),_0x472485['da']['getPluralForm']=_0x31863b;})(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':_0x42b269=>0x1!=_0x42b269}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3c5f68=>{const {'de-ch':{dictionary:_0x31b958,getPluralForm:_0x451771}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x5d4d47=>0x1!=_0x5d4d47}};_0x3c5f68['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3c5f68['de-ch']['dictionary']=Object['assign'](_0x3c5f68['de-ch']['dictionary'],_0x31b958),_0x3c5f68['de-ch']['getPluralForm']=_0x451771;})(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':_0x422404=>0x1!=_0x422404}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x24840c=>{const {de:{dictionary:_0x2dc4d8,getPluralForm:_0x3201ad}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x46720d=>0x1!=_0x46720d}};_0x24840c['de']||={'dictionary':{},'getPluralForm':null},_0x24840c['de']['dictionary']=Object['assign'](_0x24840c['de']['dictionary'],_0x2dc4d8),_0x24840c['de']['getPluralForm']=_0x3201ad;})(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':_0x3724fc=>0x1!=_0x3724fc}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x51b401=>{const {el:{dictionary:_0x341c68,getPluralForm:_0x5f0bb4}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x467a30=>0x1!=_0x467a30}};_0x51b401['el']||={'dictionary':{},'getPluralForm':null},_0x51b401['el']['dictionary']=Object['assign'](_0x51b401['el']['dictionary'],_0x341c68),_0x51b401['el']['getPluralForm']=_0x5f0bb4;})(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':_0x40ccc6=>0x1!=_0x40ccc6}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3f0630=>{const {'en-au':{dictionary:_0x17df12,getPluralForm:_0x1d2d2e}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x301d53=>0x1!=_0x301d53}};_0x3f0630['en-au']||={'dictionary':{},'getPluralForm':null},_0x3f0630['en-au']['dictionary']=Object['assign'](_0x3f0630['en-au']['dictionary'],_0x17df12),_0x3f0630['en-au']['getPluralForm']=_0x1d2d2e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x234e20=>{const {en:{dictionary:_0x486266,getPluralForm:_0x2a76f3}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x234e20['en']||={'dictionary':{},'getPluralForm':null},_0x234e20['en']['dictionary']=Object['assign'](_0x234e20['en']['dictionary'],_0x486266),_0x234e20['en']['getPluralForm']=_0x2a76f3;})(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':_0x167139=>0x1==_0x167139?0x0:0x0!=_0x167139&&_0x167139%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x35e245=>{const {'es-co':{dictionary:_0x39096c,getPluralForm:_0x1df076}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x3c0da7=>0x1==_0x3c0da7?0x0:0x0!=_0x3c0da7&&_0x3c0da7%0xf4240==0x0?0x1:0x2}};_0x35e245['es-co']||={'dictionary':{},'getPluralForm':null},_0x35e245['es-co']['dictionary']=Object['assign'](_0x35e245['es-co']['dictionary'],_0x39096c),_0x35e245['es-co']['getPluralForm']=_0x1df076;})(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':_0x297c6a=>0x1==_0x297c6a?0x0:0x0!=_0x297c6a&&_0x297c6a%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x1a2aa8=>{const {es:{dictionary:_0x1824d5,getPluralForm:_0x11d64a}}={'es':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Lo\x20confirma?'},'getPluralForm':_0x2ef171=>0x1==_0x2ef171?0x0:0x0!=_0x2ef171&&_0x2ef171%0xf4240==0x0?0x1:0x2}};_0x1a2aa8['es']||={'dictionary':{},'getPluralForm':null},_0x1a2aa8['es']['dictionary']=Object['assign'](_0x1a2aa8['es']['dictionary'],_0x1824d5),_0x1a2aa8['es']['getPluralForm']=_0x11d64a;})(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':_0x5db531=>0x1!=_0x5db531}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x493bc7=>{const {et:{dictionary:_0x388759,getPluralForm:_0x3a6490}}={'et':{'dictionary':{'Anonymous':'Anonüümne','Yes':'Jah','No':'Ei','Are\x20you\x20sure?':'Oled\x20sa\x20kindel?'},'getPluralForm':_0x43f130=>0x1!=_0x43f130}};_0x493bc7['et']||={'dictionary':{},'getPluralForm':null},_0x493bc7['et']['dictionary']=Object['assign'](_0x493bc7['et']['dictionary'],_0x388759),_0x493bc7['et']['getPluralForm']=_0x3a6490;})(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':_0x6c71c2=>_0x6c71c2>0x1}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3a2288=>{const {fa:{dictionary:_0xb70668,getPluralForm:_0xa27e9f}}={'fa':{'dictionary':{'Anonymous':'ناشناس','Yes':'بله','No':'خیر','Are\x20you\x20sure?':'اطمینان\x20دارید؟'},'getPluralForm':_0x4ad41a=>_0x4ad41a>0x1}};_0x3a2288['fa']||={'dictionary':{},'getPluralForm':null},_0x3a2288['fa']['dictionary']=Object['assign'](_0x3a2288['fa']['dictionary'],_0xb70668),_0x3a2288['fa']['getPluralForm']=_0xa27e9f;})(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':_0x12603c=>0x1!=_0x12603c}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3889c7=>{const {fi:{dictionary:_0x27c661,getPluralForm:_0x521e2b}}={'fi':{'dictionary':{'Anonymous':'Anonyymi','Yes':'Kyllä','No':'Ei','Are\x20you\x20sure?':'Oletko\x20varma?'},'getPluralForm':_0x25e80f=>0x1!=_0x25e80f}};_0x3889c7['fi']||={'dictionary':{},'getPluralForm':null},_0x3889c7['fi']['dictionary']=Object['assign'](_0x3889c7['fi']['dictionary'],_0x27c661),_0x3889c7['fi']['getPluralForm']=_0x521e2b;})(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':_0x147cc3=>0x0==_0x147cc3||0x1==_0x147cc3?0x0:0x0!=_0x147cc3&&_0x147cc3%0xf4240==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3fc93c=>{const {fr:{dictionary:_0x18a8c1,getPluralForm:_0x15f604}}={'fr':{'dictionary':{'Anonymous':'Anonyme','Yes':'Oui','No':'Non','Are\x20you\x20sure?':'Êtes-vous\x20sûr\x20?'},'getPluralForm':_0x51574f=>0x0==_0x51574f||0x1==_0x51574f?0x0:0x0!=_0x51574f&&_0x51574f%0xf4240==0x0?0x1:0x2}};_0x3fc93c['fr']||={'dictionary':{},'getPluralForm':null},_0x3fc93c['fr']['dictionary']=Object['assign'](_0x3fc93c['fr']['dictionary'],_0x18a8c1),_0x3fc93c['fr']['getPluralForm']=_0x15f604;})(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':_0x30073e=>0x1!=_0x30073e}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x125c4f=>{const {gl:{dictionary:_0x2b9321,getPluralForm:_0x892a8}}={'gl':{'dictionary':{'Anonymous':'Anónimo','Yes':'Si','No':'Non','Are\x20you\x20sure?':'Esta\x20seguro?'},'getPluralForm':_0x49b5a8=>0x1!=_0x49b5a8}};_0x125c4f['gl']||={'dictionary':{},'getPluralForm':null},_0x125c4f['gl']['dictionary']=Object['assign'](_0x125c4f['gl']['dictionary'],_0x2b9321),_0x125c4f['gl']['getPluralForm']=_0x892a8;})(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':_0x3a33a9=>0x1==_0x3a33a9&&_0x3a33a9%0x1==0x0?0x0:0x2==_0x3a33a9&&_0x3a33a9%0x1==0x0?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x357f5b=>{const {he:{dictionary:_0x28937d,getPluralForm:_0x2223b9}}={'he':{'dictionary':{'Anonymous':'אנונימי','Yes':'כן','No':'לא','Are\x20you\x20sure?':'האם\x20הנך\x20בטוח/ה?'},'getPluralForm':_0x49af6d=>0x1==_0x49af6d&&_0x49af6d%0x1==0x0?0x0:0x2==_0x49af6d&&_0x49af6d%0x1==0x0?0x1:0x2}};_0x357f5b['he']||={'dictionary':{},'getPluralForm':null},_0x357f5b['he']['dictionary']=Object['assign'](_0x357f5b['he']['dictionary'],_0x28937d),_0x357f5b['he']['getPluralForm']=_0x2223b9;})(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':_0x2d4f65=>0x1!=_0x2d4f65}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x240567=>{const {hi:{dictionary:_0x10a8f1,getPluralForm:_0x5cd9a8}}={'hi':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x59f5cb=>0x1!=_0x59f5cb}};_0x240567['hi']||={'dictionary':{},'getPluralForm':null},_0x240567['hi']['dictionary']=Object['assign'](_0x240567['hi']['dictionary'],_0x10a8f1),_0x240567['hi']['getPluralForm']=_0x5cd9a8;})(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':_0x40aefb=>_0x40aefb%0xa==0x1&&_0x40aefb%0x64!=0xb?0x0:_0x40aefb%0xa>=0x2&&_0x40aefb%0xa<=0x4&&(_0x40aefb%0x64<0xa||_0x40aefb%0x64>=0x14)?0x1:0x2}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x756e51=>{const {hr:{dictionary:_0x187890,getPluralForm:_0xe83f6e}}={'hr':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Jeste\x20li\x20sigurni?'},'getPluralForm':_0x690ed6=>_0x690ed6%0xa==0x1&&_0x690ed6%0x64!=0xb?0x0:_0x690ed6%0xa>=0x2&&_0x690ed6%0xa<=0x4&&(_0x690ed6%0x64<0xa||_0x690ed6%0x64>=0x14)?0x1:0x2}};_0x756e51['hr']||={'dictionary':{},'getPluralForm':null},_0x756e51['hr']['dictionary']=Object['assign'](_0x756e51['hr']['dictionary'],_0x187890),_0x756e51['hr']['getPluralForm']=_0xe83f6e;})(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':_0x39143b=>0x1!=_0x39143b}};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(
|
23
|
+
(_0x3e58a7=>{const {hu:{dictionary:_0x44a782,getPluralForm:_0x550843}}={'hu':{'dictionary':{'Anonymous':'Névtelen','Yes':'Igen','No':'Nem','Are\x20you\x20sure?':'Biztos\x20vagy\x20benn?'},'getPluralForm':_0x282ffa=>0x1!=_0x282ffa}};_0x3e58a7['hu']||={'dictionary':{},'getPluralForm':null},_0x3e58a7['hu']['dictionary']=Object['assign'](_0x3e58a7['hu']['dictionary'],_0x44a782),_0x3e58a7['hu']['getPluralForm']=_0x550843;})(window['CKEDITOR_TRANSLATIONS']||={});
|