@ckeditor/ckeditor5-collaboration-core 44.2.1 → 44.3.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/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/ast.js +1 -1
- package/dist/translations/ast.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.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/uz.js +1 -1
- package/dist/translations/uz.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 +8 -8
- package/src/augmentation.d.ts +2 -11
- package/src/config.d.ts +46 -0
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.d.ts +17 -12
- 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/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/src/users.d.ts
CHANGED
@@ -101,6 +101,21 @@ export declare class User {
|
|
101
101
|
* The name of the user.
|
102
102
|
*/
|
103
103
|
name: string;
|
104
|
+
/**
|
105
|
+
* The initials of the user.
|
106
|
+
*
|
107
|
+
* By default, the initials are composed of the user name's first and last words ignoring non-characters parts:
|
108
|
+
*
|
109
|
+
* * for `Joe Doe`, the initials are `JD`,
|
110
|
+
* * for `Joe Doe (admin)`, the initials are `JD`,
|
111
|
+
* * for `Anonymous` the initials are `A`,
|
112
|
+
* * for `Katie John-Newman` the initials are `KJ`,
|
113
|
+
* * for `Adam Daniel Smith` the initials are `AS`.
|
114
|
+
*
|
115
|
+
* The initials can be configured by
|
116
|
+
* {@link module:collaboration-core/config~UsersConfig#getInitialsCallback `UserConfig#getInitialsCallback`}.
|
117
|
+
*/
|
118
|
+
readonly initials: string;
|
104
119
|
/**
|
105
120
|
* The URL pointing to the image with the avatar of the user.
|
106
121
|
*
|
@@ -113,8 +128,9 @@ export declare class User {
|
|
113
128
|
* @param data.color A helper object to generate CSS classes with the user color in the UI.
|
114
129
|
* @param data.name The name of the user.
|
115
130
|
* @param data.avatar The URL to the user avatar.
|
131
|
+
* @param getInitialsCallback The custom callback configured via the editor configuration to calculate the initials.
|
116
132
|
*/
|
117
|
-
constructor(data: UserData);
|
133
|
+
constructor(data: UserData, getInitialsCallback?: (name: string) => string);
|
118
134
|
/**
|
119
135
|
* Is `true` for the anonymous user, `false` otherwise.
|
120
136
|
*
|
@@ -128,17 +144,6 @@ export declare class User {
|
|
128
144
|
* Is `true` for the {@link module:collaboration-core/users~Users#me local user}.
|
129
145
|
*/
|
130
146
|
get isMe(): boolean;
|
131
|
-
/**
|
132
|
-
* The initials of the user.
|
133
|
-
*
|
134
|
-
* The initials are composed from the user name's first and last words:
|
135
|
-
*
|
136
|
-
* * for `Joe Doe`, the initials are `JD`,
|
137
|
-
* * for `Anonymous` the initials are `A`,
|
138
|
-
* * for `Katie John-Newman` the initials are `KJ`,
|
139
|
-
* * for `Adam Daniel Smith` the initials are `AS`.
|
140
|
-
*/
|
141
|
-
get initials(): string;
|
142
147
|
}
|
143
148
|
/**
|
144
149
|
* The color object used to generate specified CSS classes with an individual color number assigned to the user.
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x1d8746=_0x1cce;(function(_0x3ae038,_0x59e6db){const _0x449256=_0x1cce,_0x57bdc6=_0x3ae038();while(!![]){try{const _0x52db58=parseInt(_0x449256(0x1a3))/0x1+parseInt(_0x449256(0x19d))/0x2*(-parseInt(_0x449256(0x1ab))/0x3)+parseInt(_0x449256(0x1a1))/0x4*(parseInt(_0x449256(0x179))/0x5)+-parseInt(_0x449256(0x1ad))/0x6+parseInt(_0x449256(0x1a6))/0x7+-parseInt(_0x449256(0x1b2))/0x8*(-parseInt(_0x449256(0x1a8))/0x9)+-parseInt(_0x449256(0x180))/0xa*(parseInt(_0x449256(0x1bb))/0xb);if(_0x52db58===_0x59e6db)break;else _0x57bdc6['push'](_0x57bdc6['shift']());}catch(_0x102d36){_0x57bdc6['push'](_0x57bdc6['shift']());}}}(_0x45c9,0xdef55));import{ContextPlugin as _0x3b6cbb}from'ckeditor5/src/core.js';import{Collection as _0x48e8af,CKEditorError as _0x41d562}from'ckeditor5/src/utils.js';import _0x2185f5 from'./permissions.js';import{getTranslation as _0x43da27}from'./utils/common-translations.js';function _0x45c9(){const _0x59286d=['514239CnuOTz','_addAnonymousUser','users.anonymousUserId','locale','3958285MeyEbd','toUpperCase','requires','ck-user__marker--','users-me-missing-user','users-add-invalid-id','defineMe','390zOamlq','get','test','addUser','_locale','string','isOfficialPlugin','_myId','charAt','getBackgroundColorClass','_computeInitials','ck-user__bg-color--','trim','_id','Anonymous','decorate','define','_isAnonymous','split','color','users.colorsCount','_getInitial','ck-user__selection--','isMe','getOperationAuthor','getSelectionClass','init','getUser','useAnonymousUser','753820oNXDTC','avatar','length','initials','4iDrQHk','config','1649347RKWduH','context','anonymous-user','3292366CBOijG','users-me-already-defined','27DlmcVL','isAnonymous','users.getInitialsCallback','6tOKtER','_lastColor','5427498lhuHOV','Users','users-add-duplicated-id','users','filter','3956024AVdMDO','isPremiumPlugin','_isMe','add','getMarkerClass','pluginName','_getNextColor','has','name'];_0x45c9=function(){return _0x59286d;};return _0x45c9();}import'../theme/usercolors.css';export default class u extends _0x3b6cbb{static get[_0x1d8746(0x1b7)](){const _0x2d0fa5=_0x1d8746;return _0x2d0fa5(0x1ae);}static get[_0x1d8746(0x186)](){return!0x0;}static get[_0x1d8746(0x1b3)](){return!0x0;}static get[_0x1d8746(0x17b)](){return[_0x2185f5];}constructor(_0xb1926b){const _0xd5c917=_0x1d8746;super(_0xb1926b),this[_0xd5c917(0x1a4)][_0xd5c917(0x1a2)][_0xd5c917(0x190)](_0xd5c917(0x1bd),_0xd5c917(0x1a5)),this[_0xd5c917(0x1a4)][_0xd5c917(0x1a2)][_0xd5c917(0x190)](_0xd5c917(0x194),0x8),this[_0xd5c917(0x1b0)]=new _0x48e8af(),this[_0xd5c917(0x184)]=_0xb1926b[_0xd5c917(0x1be)],this[_0xd5c917(0x1ac)]=0x0,this[_0xd5c917(0x187)]=null,this[_0xd5c917(0x18f)](_0xd5c917(0x198));}[_0x1d8746(0x19a)](){const _0x2509c0=_0x1d8746;this[_0x2509c0(0x1bc)]();}get['me'](){const _0x40f456=_0x1d8746;return null==this[_0x40f456(0x187)]?null:this[_0x40f456(0x19b)](this[_0x40f456(0x187)]);}[_0x1d8746(0x183)]({id:_0x1392be,name:_0x306d57,..._0x198119}){const _0x18442c=_0x1d8746;if(!_0x1392be||_0x18442c(0x185)!=typeof _0x1392be)throw new _0x41d562(_0x18442c(0x17e));if(this[_0x18442c(0x1b0)][_0x18442c(0x1b9)](_0x1392be))throw new _0x41d562(_0x18442c(0x1af),null,{'id':_0x1392be});const _0x146dfc=this[_0x18442c(0x1a4)][_0x18442c(0x1a2)][_0x18442c(0x181)](_0x18442c(0x1aa)),_0x232758={..._0x198119,'id':_0x1392be,'name':h(this[_0x18442c(0x184)],_0x306d57),'color':this[_0x18442c(0x1b8)]()};_0x232758[_0x18442c(0x1ba)]=h(this[_0x18442c(0x184)],_0x232758[_0x18442c(0x1ba)]);const _0x333236=new User(_0x232758,_0x146dfc);return this[_0x18442c(0x1b0)][_0x18442c(0x1b5)](_0x333236),_0x333236;}[_0x1d8746(0x19b)](_0x5b87f7){const _0x10db66=_0x1d8746;return this[_0x10db66(0x1b0)][_0x10db66(0x181)](_0x5b87f7);}[_0x1d8746(0x19c)](){const _0x207516=_0x1d8746,_0x595e3b=this[_0x207516(0x1a4)][_0x207516(0x1a2)][_0x207516(0x181)](_0x207516(0x1bd));this[_0x207516(0x187)]||this[_0x207516(0x17f)](_0x595e3b);}[_0x1d8746(0x17f)](_0xfc8b48){const _0x52dba9=_0x1d8746;if(this[_0x52dba9(0x187)])throw new _0x41d562(_0x52dba9(0x1a7),null);const _0x4a1823=this[_0x52dba9(0x19b)](_0xfc8b48);if(!_0x4a1823)throw new _0x41d562(_0x52dba9(0x17d),null);this[_0x52dba9(0x187)]=_0xfc8b48,_0x4a1823[_0x52dba9(0x1b4)]=!0x0;}[_0x1d8746(0x198)](){return this['me'];}[_0x1d8746(0x1b8)](){const _0x215eec=_0x1d8746,_0x4916cc=this[_0x215eec(0x1a4)][_0x215eec(0x1a2)][_0x215eec(0x181)](_0x215eec(0x194));return this[_0x215eec(0x1ac)]>=_0x4916cc&&(this[_0x215eec(0x1ac)]=0x0),new c(this[_0x215eec(0x1ac)]++);}[_0x1d8746(0x1bc)](){const _0x49ed40=_0x1d8746,_0xf1a2dc=this[_0x49ed40(0x1a4)][_0x49ed40(0x1a2)][_0x49ed40(0x181)](_0x49ed40(0x1bd));this[_0x49ed40(0x183)]({'id':_0xf1a2dc,'name':_0x43da27(this[_0x49ed40(0x184)],_0x49ed40(0x18e))})[_0x49ed40(0x191)]=!0x0;}}export class User{constructor(_0x50b97d,_0x6c8f17){const _0x37f352=_0x1d8746;this['id']=_0x50b97d['id'],this[_0x37f352(0x193)]=_0x50b97d[_0x37f352(0x193)],this[_0x37f352(0x1ba)]=_0x50b97d[_0x37f352(0x1ba)],this[_0x37f352(0x1a0)]=_0x6c8f17?_0x6c8f17(this[_0x37f352(0x1ba)]):this[_0x37f352(0x18a)](),this[_0x37f352(0x19e)]=_0x50b97d[_0x37f352(0x19e)],this[_0x37f352(0x191)]=!0x1,this[_0x37f352(0x1b4)]=!0x1;}get[_0x1d8746(0x1a9)](){const _0x294c33=_0x1d8746;return this[_0x294c33(0x191)];}get[_0x1d8746(0x197)](){const _0x4b8971=_0x1d8746;return this[_0x4b8971(0x1b4)];}[_0x1d8746(0x18a)](){const _0x37d908=_0x1d8746,_0x399216=this[_0x37d908(0x1ba)][_0x37d908(0x192)]('\x20')[_0x37d908(0x1b1)](_0xbacc24=>/^[a-zA-Z]/[_0x37d908(0x182)](_0xbacc24));return 0x1===_0x399216[_0x37d908(0x19f)]?this[_0x37d908(0x195)](_0x399216[0x0]):this[_0x37d908(0x195)](_0x399216[0x0])+this[_0x37d908(0x195)](_0x399216[_0x399216[_0x37d908(0x19f)]-0x1]);}[_0x1d8746(0x195)](_0x413d3d){const _0x179ae4=_0x1d8746;return _0x413d3d[_0x179ae4(0x188)](0x0)[_0x179ae4(0x17a)]();}}function h(_0x34c09a,_0x5d1da4=''){const _0x2fe581=_0x1d8746;return''==(_0x5d1da4=_0x5d1da4[_0x2fe581(0x18c)]())?_0x43da27(_0x34c09a,_0x2fe581(0x18e)):_0x5d1da4;}function _0x1cce(_0x407894,_0x1e8d4b){const _0x45c956=_0x45c9();return _0x1cce=function(_0x1cce11,_0x5dd2f6){_0x1cce11=_0x1cce11-0x179;let _0x2bc2cf=_0x45c956[_0x1cce11];return _0x2bc2cf;},_0x1cce(_0x407894,_0x1e8d4b);}class c{constructor(_0x2c8bd4){const _0x165b73=_0x1d8746;this[_0x165b73(0x18d)]=_0x2c8bd4;}[_0x1d8746(0x189)](){const _0x1ba179=_0x1d8746;return _0x1ba179(0x18b)+this[_0x1ba179(0x18d)];}[_0x1d8746(0x199)](){const _0x3be590=_0x1d8746;return _0x3be590(0x196)+this[_0x3be590(0x18d)];}[_0x1d8746(0x1b6)](){const _0x4a107a=_0x1d8746;return _0x4a107a(0x17c)+this[_0x4a107a(0x18d)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x21f577,_0x5a35b6){const t=_0x21f577['t'];switch(_0x5a35b6){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'';}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x3b89(){var _0x28b375=['confirmView','destroy','280MjGuru','deregisterChild','set','3160206UAQxUA','isConfirm','_removeConfirm','showConfirm','cancelConfirm','2918NAlbrO','657LvnkIY','submit','removeConfirm','appendChild','fire','message','remove','once','focus','1022628kRhQdH','locale','render','101ljOILA','3474500gbnMLl','registerChild','74104ihLLaN','1944111AATvIQ','cancel','22565NqadvN','element'];_0x3b89=function(){return _0x28b375;};return _0x3b89();}(function(_0x29477e,_0x19d7c5){var _0xae685c=_0x5c03,_0x2cc78a=_0x29477e();while(!![]){try{var _0x5a648e=parseInt(_0xae685c(0x1e7))/0x1*(parseInt(_0xae685c(0x1da))/0x2)+parseInt(_0xae685c(0x1eb))/0x3+parseInt(_0xae685c(0x1d2))/0x4*(parseInt(_0xae685c(0x1ed))/0x5)+-parseInt(_0xae685c(0x1e4))/0x6+parseInt(_0xae685c(0x1d5))/0x7+parseInt(_0xae685c(0x1ea))/0x8*(-parseInt(_0xae685c(0x1db))/0x9)+-parseInt(_0xae685c(0x1e8))/0xa;if(_0x5a648e===_0x19d7c5)break;else _0x2cc78a['push'](_0x2cc78a['shift']());}catch(_0x4d72f3){_0x2cc78a['push'](_0x2cc78a['shift']());}}}(_0x3b89,0x5a025));import _0x447e98 from'./confirmview.js';function _0x5c03(_0x3b53d5,_0xde2e2){var _0x3b89e0=_0x3b89();return _0x5c03=function(_0x5c0358,_0xa89e50){_0x5c0358=_0x5c0358-0x1d2;var _0xebe6f5=_0x3b89e0[_0x5c0358];return _0xebe6f5;},_0x5c03(_0x3b53d5,_0xde2e2);}export default function f(_0x12e1fa){var _0x420c05=_0x5c03;return class extends _0x12e1fa{[_0x420c05(0x1d8)](_0x16c7ea,_0x11db11){var _0x4bacaf=_0x420c05;return this[_0x4bacaf(0x1ef)]=new _0x447e98(this[_0x4bacaf(0x1e5)]),this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1e6)](),this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1e0)]=_0x16c7ea,this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1e2)](_0x4bacaf(0x1ec),()=>{var _0x34a623=_0x4bacaf;this[_0x34a623(0x1d7)]();}),this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1e2)](_0x4bacaf(0x1dc),()=>{var _0x2fd8f7=_0x4bacaf;this[_0x2fd8f7(0x1d7)]();}),_0x11db11[_0x4bacaf(0x1de)](this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1ee)]),this[_0x4bacaf(0x1e9)](this[_0x4bacaf(0x1ef)]),this[_0x4bacaf(0x1ef)][_0x4bacaf(0x1e3)](),this[_0x4bacaf(0x1d4)](_0x4bacaf(0x1d6),!0x0),new Promise(_0xb72d1b=>this[_0x4bacaf(0x1ef)]['on'](_0x4bacaf(0x1dc),_0xb72d1b));}[_0x420c05(0x1d9)](){var _0x13e03a=_0x420c05;this[_0x13e03a(0x1d6)]&&this[_0x13e03a(0x1ef)][_0x13e03a(0x1df)](_0x13e03a(0x1ec));}[_0x420c05(0x1d7)](){var _0x26430c=_0x420c05;this[_0x26430c(0x1ee)]&&this[_0x26430c(0x1ef)]&&this[_0x26430c(0x1ef)][_0x26430c(0x1ee)]&&(this[_0x26430c(0x1ee)][_0x26430c(0x1e3)](),this[_0x26430c(0x1ef)][_0x26430c(0x1ee)][_0x26430c(0x1e1)](),this[_0x26430c(0x1d3)](this[_0x26430c(0x1ef)]),this[_0x26430c(0x1d6)]=!0x1,this[_0x26430c(0x1df)](_0x26430c(0x1dd)),this[_0x26430c(0x1ef)][_0x26430c(0x1f0)](),this[_0x26430c(0x1ef)]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x55b207=_0x26ec;(function(_0x1b5602,_0x2505f4){const _0x3ea6ae=_0x26ec,_0x34512b=_0x1b5602();while(!![]){try{const _0xc02344=parseInt(_0x3ea6ae(0xca))/0x1*(parseInt(_0x3ea6ae(0xd3))/0x2)+-parseInt(_0x3ea6ae(0xac))/0x3*(-parseInt(_0x3ea6ae(0xaa))/0x4)+-parseInt(_0x3ea6ae(0xce))/0x5*(parseInt(_0x3ea6ae(0xd4))/0x6)+parseInt(_0x3ea6ae(0xc1))/0x7*(parseInt(_0x3ea6ae(0xb6))/0x8)+-parseInt(_0x3ea6ae(0xb3))/0x9+-parseInt(_0x3ea6ae(0xbc))/0xa+-parseInt(_0x3ea6ae(0xa6))/0xb;if(_0xc02344===_0x2505f4)break;else _0x34512b['push'](_0x34512b['shift']());}catch(_0x190c41){_0x34512b['push'](_0x34512b['shift']());}}}(_0x479d,0xba2cc));import{View as _0x53c641,ButtonView as _0x290d0d,FocusCycler as _0xc4109a}from'ckeditor5/src/ui.js';import{icons as _0x477cf2}from'ckeditor5/src/core.js';function _0x26ec(_0x38a4de,_0x3cbd81){const _0x479d29=_0x479d();return _0x26ec=function(_0x26eca3,_0x2b257a){_0x26eca3=_0x26eca3-0xa5;let _0x119314=_0x479d29[_0x26eca3];return _0x119314;},_0x26ec(_0x38a4de,_0x3cbd81);}function _0x479d(){const _0x1f8363=['submitView','11469304wfezLu','render','focus','focusCycler','5982248iQFtQl','label','3xKxZYG','cancelView','_setupKeyboardNavigation','presentation','tab','focusTracker','esc','2692413pwuBhK','execute','ck-thread__remove-confirm','370888QsLZEr','setTemplate','listenTo','icon','alertdialog','Are\x20you\x20sure?','5783700ulpUhR','createCollection','ck-thread__remove-confirm-actions','cancel','fire','133bqRXgL','submit','extendTemplate','check','focusables','ck-thread__remove-confirm-inner','shift+tab','Yes','div','979309HwsbYI','_createButtonView','keystrokes','forEach','3364835xIpIjK','ck-thread__remove-confirm-','add','bindTemplate','element','2mDTuvB','6sdqOKL','set','message'];_0x479d=function(){return _0x1f8363;};return _0x479d();}import{FocusTracker as _0x4f1f33,KeystrokeHandler as _0x4df015}from'ckeditor5/src/utils.js';import{getTranslation as _0x5bc281}from'./common-translations.js';export default class m extends _0x53c641{constructor(_0x540826){const _0x4a44cd=_0x26ec;super(_0x540826);const _0x29b5bd=this[_0x4a44cd(0xd1)];this[_0x4a44cd(0xd5)](_0x4a44cd(0xd6),_0x5bc281(_0x540826,_0x4a44cd(0xbb))),this[_0x4a44cd(0xa5)]=this[_0x4a44cd(0xcb)](_0x540826,_0x5bc281(_0x540826,_0x4a44cd(0xc8)),_0x477cf2[_0x4a44cd(0xc4)],_0x4a44cd(0xc2)),this[_0x4a44cd(0xad)]=this[_0x4a44cd(0xcb)](_0x540826,_0x5bc281(_0x540826,'No'),_0x477cf2[_0x4a44cd(0xbf)],_0x4a44cd(0xbf)),this[_0x4a44cd(0xc5)]=this[_0x4a44cd(0xbd)]([this[_0x4a44cd(0xa5)],this[_0x4a44cd(0xad)]]),this[_0x4a44cd(0xb1)]=new _0x4f1f33(),this[_0x4a44cd(0xcc)]=new _0x4df015(),this[_0x4a44cd(0xa9)]=new _0xc4109a({'focusables':this[_0x4a44cd(0xc5)],'focusTracker':this[_0x4a44cd(0xb1)],'keystrokeHandler':this[_0x4a44cd(0xcc)],'actions':{'focusPrevious':_0x4a44cd(0xc7),'focusNext':_0x4a44cd(0xb0)}}),this[_0x4a44cd(0xb7)]({'tag':_0x4a44cd(0xc9),'attributes':{'class':['ck',_0x4a44cd(0xb5)],'tabindex':-0x1,'role':_0x4a44cd(0xba)},'children':[{'tag':_0x4a44cd(0xc9),'attributes':{'class':_0x4a44cd(0xc6),'role':_0x4a44cd(0xaf)},'children':[{'tag':'p','children':[{'text':_0x29b5bd['to'](_0x4a44cd(0xd6))}]},{'tag':_0x4a44cd(0xc9),'attributes':{'class':_0x4a44cd(0xbe)},'children':[this[_0x4a44cd(0xa5)],this[_0x4a44cd(0xad)]]}]}]});}[_0x55b207(0xa7)](){const _0x169ea7=_0x55b207;super[_0x169ea7(0xa7)](),this[_0x169ea7(0xae)]();}[_0x55b207(0xa8)](){const _0x2af9ba=_0x55b207;this[_0x2af9ba(0xad)][_0x2af9ba(0xd2)][_0x2af9ba(0xa8)]({'preventScroll':!0x0});}[_0x55b207(0xcb)](_0x58e6ca,_0x1a5fb3,_0x2264f9,_0x186a79){const _0x1090fe=_0x55b207,_0x2ce46e=new _0x290d0d(_0x58e6ca);return _0x2ce46e[_0x1090fe(0xab)]=_0x1a5fb3,_0x2ce46e[_0x1090fe(0xb9)]=_0x2264f9,_0x2ce46e[_0x1090fe(0xc3)]({'attributes':{'class':_0x1090fe(0xcf)+_0x186a79}}),_0x2ce46e['on'](_0x1090fe(0xb4),()=>this[_0x1090fe(0xc0)](_0x186a79)),_0x2ce46e;}[_0x55b207(0xae)](){const _0x4a5613=_0x55b207;this[_0x4a5613(0xc5)][_0x4a5613(0xcd)](_0x50bab8=>{const _0x18eb1d=_0x4a5613;this[_0x18eb1d(0xcc)][_0x18eb1d(0xb8)](_0x50bab8[_0x18eb1d(0xd2)]),this[_0x18eb1d(0xb1)][_0x18eb1d(0xd0)](_0x50bab8[_0x18eb1d(0xd2)]);}),this[_0x4a5613(0xcc)][_0x4a5613(0xd5)](_0x4a5613(0xb2),(_0x1841fa,_0x3fddb7)=>{const _0x55a9ba=_0x4a5613;this[_0x55a9ba(0xc0)](_0x55a9ba(0xbf)),_0x3fddb7();});}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x9714a,_0x33b7ee){const _0x3123a8=_0x405a,_0xbf428e=_0x9714a();while(!![]){try{const _0x283c81=-parseInt(_0x3123a8(0x8d))/0x1+parseInt(_0x3123a8(0x87))/0x2*(-parseInt(_0x3123a8(0x8c))/0x3)+-parseInt(_0x3123a8(0x7f))/0x4+parseInt(_0x3123a8(0x83))/0x5*(parseInt(_0x3123a8(0x7d))/0x6)+-parseInt(_0x3123a8(0x80))/0x7+parseInt(_0x3123a8(0x8e))/0x8+parseInt(_0x3123a8(0x7e))/0x9;if(_0x283c81===_0x33b7ee)break;else _0xbf428e['push'](_0xbf428e['shift']());}catch(_0x767d7){_0xbf428e['push'](_0xbf428e['shift']());}}}(_0x54e9,0x349e9));import{DateTime as _0x5a7409}from'luxon';function _0x54e9(){const _0x37d3f6=['320525agkFOV','fromISO','days','\x27Yesterday\x27\x20hh:mma','28302SfMfdQ','\x27Today\x27\x20hh:mma','floor','LL-dd-yyyy\x20hh:mma','fromJSDate','18PCzsKr','110897DuAvha','1821832fClTVR','\x27Last\x27\x20EEEE\x20hh:mma','now','toJSDate','diff','toFormat','dateTimeFormat','string','6fEmbRw','3410496CmdEsI','660080JqFoHd','660982OMsKMG','invalid-date-time-format','function'];_0x54e9=function(){return _0x37d3f6;};return _0x54e9();}function _0x405a(_0x8d252e,_0x4aefea){const _0x54e9d9=_0x54e9();return _0x405a=function(_0x405adf,_0xe6f1b3){_0x405adf=_0x405adf-0x7b;let _0x4e4c34=_0x54e9d9[_0x405adf];return _0x4e4c34;},_0x405a(_0x8d252e,_0x4aefea);}import{CKEditorError as _0x22de03}from'ckeditor5/src/utils.js';export default function E(_0x466e4f={}){const _0x4a6ca1=_0x405a;if(void 0x0!==_0x466e4f[_0x4a6ca1(0x7b)]&&_0x4a6ca1(0x82)!=typeof _0x466e4f[_0x4a6ca1(0x7b)])throw new _0x22de03(_0x4a6ca1(0x81));return _0x3d1ea8=>{const _0x1f729b=_0x4a6ca1,_0x46847c=_0x1f729b(0x7c)==typeof _0x3d1ea8?_0x5a7409[_0x1f729b(0x84)](_0x3d1ea8):_0x5a7409[_0x1f729b(0x8b)](_0x3d1ea8),_0xb84ace=_0x5a7409[_0x1f729b(0x90)](),_0x2767de=Math[_0x1f729b(0x89)](_0xb84ace[_0x1f729b(0x92)](_0x46847c,_0x1f729b(0x85))[_0x1f729b(0x85)]);return _0x466e4f[_0x1f729b(0x7b)]?_0x466e4f[_0x1f729b(0x7b)](_0x46847c[_0x1f729b(0x91)]()):0x0===_0x2767de?_0x46847c[_0x1f729b(0x93)](_0x1f729b(0x88)):0x1===_0x2767de?_0x46847c[_0x1f729b(0x93)](_0x1f729b(0x86)):_0x2767de<0x7?_0x46847c[_0x1f729b(0x93)](_0x1f729b(0x8f)):_0x46847c[_0x1f729b(0x93)](_0x1f729b(0x8a));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x1d4e(_0x21659a,_0x223208){const _0x34fe11=_0x34fe();return _0x1d4e=function(_0x1d4e6c,_0x5ca151){_0x1d4e6c=_0x1d4e6c-0x164;let _0x24b453=_0x34fe11[_0x1d4e6c];return _0x24b453;},_0x1d4e(_0x21659a,_0x223208);}function _0x34fe(){const _0x1e4168=['domConverter','filter','view','152hkfuGl','346270wziUge','length','2EatHLu','getClientRects','203OPPjbq','name','20982mmZjgv','1010114TLmmNN','3750789RvXlUO','mapper','15PGnJaQ','11376ghOsdD','values','from','markerNameToElements','push','495YImQvu','map','sort','mapViewToDom','domElement','item','740260mwIGxq','320130WWKVzG','258204EydOwZ'];_0x34fe=function(){return _0x1e4168;};return _0x34fe();}(function(_0x6e6db7,_0x3c2e13){const _0x29fb10=_0x1d4e,_0x13bef3=_0x6e6db7();while(!![]){try{const _0x2e8968=parseInt(_0x29fb10(0x169))/0x1+-parseInt(_0x29fb10(0x164))/0x2*(parseInt(_0x29fb10(0x16a))/0x3)+-parseInt(_0x29fb10(0x178))/0x4*(-parseInt(_0x29fb10(0x16c))/0x5)+parseInt(_0x29fb10(0x17a))/0x6*(parseInt(_0x29fb10(0x166))/0x7)+parseInt(_0x29fb10(0x17e))/0x8*(-parseInt(_0x29fb10(0x179))/0x9)+-parseInt(_0x29fb10(0x17f))/0xa*(parseInt(_0x29fb10(0x172))/0xb)+-parseInt(_0x29fb10(0x16d))/0xc*(-parseInt(_0x29fb10(0x168))/0xd);if(_0x2e8968===_0x3c2e13)break;else _0x13bef3['push'](_0x13bef3['shift']());}catch(_0x511979){_0x13bef3['push'](_0x13bef3['shift']());}}}(_0x34fe,0xd1bb3));import{first as _0x12eb57}from'ckeditor5/src/utils.js';export default function A(_0x178a34,_0x179219){const _0x229b62=_0x1d4e,_0x1eee4e=_0x178a34[_0x229b62(0x16b)][_0x229b62(0x170)](_0x179219[_0x229b62(0x167)]);if(!_0x1eee4e)return null;const _0x554290=_0x12eb57(_0x1eee4e[_0x229b62(0x16e)]());return _0x178a34[_0x229b62(0x17d)][_0x229b62(0x17b)][_0x229b62(0x175)](_0x554290)||null;}export function getAllMarkersDomElementsSorted(_0x581baa,_0x38dba0){const _0x11b00e=_0x1d4e;if(0x0===_0x38dba0[_0x11b00e(0x180)])return null;const _0x41d600=[],_0xe822b1=_0x581baa[_0x11b00e(0x17d)][_0x11b00e(0x17b)];for(const _0x222a1c of _0x38dba0){const _0x1f5ea8=_0x581baa[_0x11b00e(0x16b)][_0x11b00e(0x170)](_0x222a1c[_0x11b00e(0x167)]);if(!_0x1f5ea8)continue;const _0x4a42fc=Array[_0x11b00e(0x16f)](_0x1f5ea8)[_0x11b00e(0x173)](_0x5be580=>_0xe822b1[_0x11b00e(0x175)](_0x5be580))[_0x11b00e(0x17c)](_0x47950b=>!!_0x47950b);_0x41d600[_0x11b00e(0x171)](..._0x4a42fc);}if(0x0===_0x41d600[_0x11b00e(0x180)])return null;const _0x40d7c6=[];for(const _0x55a6bc of _0x41d600){const _0x289f78=_0x55a6bc[_0x11b00e(0x165)]()[_0x11b00e(0x177)](0x0);_0x289f78&&_0x40d7c6[_0x11b00e(0x171)]({'x':_0x289f78['x'],'y':_0x289f78['y'],'domElement':_0x55a6bc});}return 0x0===_0x40d7c6[_0x11b00e(0x180)]?null:(_0x40d7c6[_0x11b00e(0x174)]((_0x3b3bf4,_0x3fcc4a)=>_0x3b3bf4['y']-_0x3fcc4a['y']||_0x3b3bf4['x']-_0x3fcc4a['x']),_0x40d7c6[_0x11b00e(0x173)](_0x222fa5=>_0x222fa5[_0x11b00e(0x176)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x419ab6,_0x425187){const _0x4d5d2d=_0x204a,_0x171ad6=_0x419ab6();while(!![]){try{const _0x585e98=-parseInt(_0x4d5d2d(0x8d))/0x1*(-parseInt(_0x4d5d2d(0x7c))/0x2)+-parseInt(_0x4d5d2d(0x8b))/0x3+-parseInt(_0x4d5d2d(0x89))/0x4*(parseInt(_0x4d5d2d(0x82))/0x5)+-parseInt(_0x4d5d2d(0x80))/0x6+-parseInt(_0x4d5d2d(0x83))/0x7+-parseInt(_0x4d5d2d(0x7d))/0x8*(-parseInt(_0x4d5d2d(0x88))/0x9)+parseInt(_0x4d5d2d(0x85))/0xa;if(_0x585e98===_0x425187)break;else _0x171ad6['push'](_0x171ad6['shift']());}catch(_0x3c76d6){_0x171ad6['push'](_0x171ad6['shift']());}}}(_0x504c,0x65183));function _0x504c(){const _0x1c03a1=['1766775zGsRxi','number','639VTabeC','object','606UDTEey','1696488DuVpBI','toString','charCodeAt','4618794jlOHml','string','697745rCttRB','4214546jwvJUD','keys','22428300rDmoQd','sort','sign','27IpslLh','20egzBFD','isArray'];_0x504c=function(){return _0x1c03a1;};return _0x504c();}export default function j(_0x4ae837){let _0x20b8cf=0x0,_0x7f3e88=0x0;for(const _0x504a35 of M(_0x4ae837))_0x20b8cf=(_0x20b8cf<<0x5)-_0x20b8cf+_0x504a35,_0x20b8cf|=0x0,[_0x20b8cf,_0x7f3e88]=[_0x7f3e88,_0x20b8cf];return v(_0x20b8cf)+v(_0x7f3e88);}function*g(_0x166ec5){const _0x123bff=_0x204a;null==_0x166ec5||null==_0x166ec5?yield 0x12b9b0a1:0x0===_0x166ec5||!0x1===_0x166ec5?yield 0x0:0x1===_0x166ec5||0x1==_0x166ec5?yield 0x1:Array[_0x123bff(0x8a)](_0x166ec5)?yield*function*(_0x1a3b72){for(const _0x573d28 of _0x1a3b72)yield*g(_0x573d28);}(_0x166ec5):_0x123bff(0x7b)==typeof _0x166ec5?yield*M(_0x166ec5):_0x123bff(0x81)==typeof _0x166ec5?yield*O(_0x166ec5):_0x123bff(0x8c)==typeof _0x166ec5&&(yield _0x166ec5);}function*M(_0x224680){const _0x4193b6=_0x204a;if(yield q('{'),_0x224680){const _0x345f51=Object[_0x4193b6(0x84)](_0x224680)[_0x4193b6(0x86)]();for(const _0x2ba018 of _0x345f51){yield*O(_0x2ba018),yield q(':');const _0x15bfbb=_0x224680[_0x2ba018];yield*g(_0x15bfbb);}}yield q('}');}function _0x204a(_0x32c3e0,_0x210aff){const _0x504c1c=_0x504c();return _0x204a=function(_0x204a2a,_0x2e3e2c){_0x204a2a=_0x204a2a-0x7b;let _0x4298a9=_0x504c1c[_0x204a2a];return _0x4298a9;},_0x204a(_0x32c3e0,_0x210aff);}function*O(_0x32c932){yield q('\x22');for(const _0x34f993 of _0x32c932)yield q(_0x34f993);yield q('\x22');}function q(_0x2794d2){const _0x2a3bc5=_0x204a;return _0x2794d2[_0x2a3bc5(0x7f)](0x0);}function v(_0xbfdaeb){const _0x9bc968=_0x204a;return(_0xbfdaeb*=Math[_0x9bc968(0x87)](_0xbfdaeb))[_0x9bc968(0x7e)](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5b1c1b=_0x3679;(function(_0x4eaed4,_0x42ee0d){const _0x2705c0=_0x3679,_0x3b5bb9=_0x4eaed4();while(!![]){try{const _0x735e5f=parseInt(_0x2705c0(0x16a))/0x1*(parseInt(_0x2705c0(0x154))/0x2)+-parseInt(_0x2705c0(0x160))/0x3*(parseInt(_0x2705c0(0x158))/0x4)+parseInt(_0x2705c0(0x14b))/0x5+-parseInt(_0x2705c0(0x14c))/0x6+parseInt(_0x2705c0(0x14f))/0x7+parseInt(_0x2705c0(0x16f))/0x8*(-parseInt(_0x2705c0(0x15b))/0x9)+-parseInt(_0x2705c0(0x16c))/0xa*(-parseInt(_0x2705c0(0x14d))/0xb);if(_0x735e5f===_0x42ee0d)break;else _0x3b5bb9['push'](_0x3b5bb9['shift']());}catch(_0x58da07){_0x3b5bb9['push'](_0x3b5bb9['shift']());}}}(_0x2155,0x6ae95));function _0x3679(_0x3a5a9f,_0x532b80){const _0x215565=_0x2155();return _0x3679=function(_0x36795e,_0x34007b){_0x36795e=_0x36795e-0x14b;let _0x216c49=_0x215565[_0x36795e];return _0x216c49;},_0x3679(_0x3a5a9f,_0x532b80);}function _0x2155(){const _0x52cb42=['plugins','context','58DLiVZS','get','has','_context','68lJrCzH','from','string','100431ZERJmA','every','initialData','pluginName','Autosave','104175wcfesv','concat','extraPlugins','prototype','requires','builtinPlugins','WProofreader','map','names','rootsAttributes','9109qaLmZV','DocumentOutline','1759610iNaRap','WebSocketGateway','removePlugins','248JCnEsl','find','length','config','includes','WordCount','filter','constructor','3439185QakuBp','3817524EOeoBA','22VvWQVO','RevisionTracker','4945479sLGgBo','toolbar','set'];_0x2155=function(){return _0x52cb42;};return _0x2155();}const w=[_0x5b1c1b(0x15d),_0x5b1c1b(0x153),_0x5b1c1b(0x150),_0x5b1c1b(0x169)],W=[_0x5b1c1b(0x16d),_0x5b1c1b(0x14e),_0x5b1c1b(0x15f),_0x5b1c1b(0x174),_0x5b1c1b(0x16b),_0x5b1c1b(0x166)];function D(_0x257583,_0x11d480,_0x19efba,_0x2e2048=[]){const _0x211905=_0x5b1c1b,_0x102191=_0x211905(0x15a)==typeof _0x257583?_0x19efba[_0x211905(0x155)](_0x257583)[_0x211905(0x176)]:_0x257583[_0x211905(0x163)][_0x211905(0x176)];if(_0x11d480[_0x211905(0x156)](_0x102191))return _0x11d480[_0x211905(0x155)](_0x102191);_0x11d480[_0x211905(0x151)](_0x102191,!0x0);const _0x1e3d7e=[...W,..._0x2e2048][_0x211905(0x167)](_0xa4774a=>{const _0x13e2e7=_0x211905;if(_0x19efba[_0x13e2e7(0x156)](_0xa4774a))return _0x19efba[_0x13e2e7(0x155)](_0xa4774a)[_0x13e2e7(0x176)];})[_0x211905(0x175)](_0x44dbca=>_0x44dbca);if(_0x102191&&_0x1e3d7e[_0x211905(0x173)](_0x102191))return _0x11d480[_0x211905(0x151)](_0x102191,!0x1),!0x1;if(!_0x102191[_0x211905(0x164)])return _0x11d480[_0x211905(0x151)](_0x102191,!0x0),!0x0;const _0x5d246a=_0x102191[_0x211905(0x164)][_0x211905(0x15c)](_0x3a19ea=>D(_0x3a19ea,_0x11d480,_0x19efba,_0x2e2048));return _0x11d480[_0x211905(0x151)](_0x102191,_0x5d246a),_0x5d246a;}export default function S(_0xb1e770,_0x2256af){const _0x22c533=_0x5b1c1b,_0xdf57c0={};for(const _0x3273d1 of _0xb1e770[_0x22c533(0x172)][_0x22c533(0x168)]())w[_0x22c533(0x173)](_0x3273d1)||(_0xdf57c0[_0x3273d1]=_0xb1e770[_0x22c533(0x172)][_0x22c533(0x155)](_0x3273d1));const _0x1d0f56=_0xdf57c0[_0x22c533(0x152)]||[],_0x262c05=_0xb1e770[_0x22c533(0x176)][_0x22c533(0x165)]||[],_0x54c74b=_0x1d0f56[_0x22c533(0x171)]?_0x1d0f56:_0x262c05,_0x319372=_0xdf57c0[_0x22c533(0x162)]||[];delete _0xdf57c0[_0x22c533(0x162)];const _0x16312f=_0xdf57c0[_0x22c533(0x16e)]||[];delete _0xdf57c0[_0x22c533(0x16e)];const _0x22a24d=_0xb1e770[_0x22c533(0x157)][_0x22c533(0x172)][_0x22c533(0x155)](_0x22c533(0x152))||[],_0x509839=_0x54c74b[_0x22c533(0x161)](_0x319372)[_0x22c533(0x161)](_0x22a24d)[_0x22c533(0x167)](_0x2683ab=>_0x22c533(0x15a)==typeof _0x2683ab?_0x262c05[_0x22c533(0x170)](_0x234dbf=>_0x234dbf[_0x22c533(0x15e)]==_0x2683ab):_0x2683ab)[_0x22c533(0x175)](_0x46ee37=>!_0x16312f[_0x22c533(0x173)](_0x46ee37)&&!_0x16312f[_0x22c533(0x173)](_0x46ee37[_0x22c533(0x15e)])),_0x161645=Array[_0x22c533(0x159)](new Set(_0x509839)),_0x5f2a66=new Map();return _0xdf57c0[_0x22c533(0x152)]=_0x161645[_0x22c533(0x175)](_0x10fe67=>D(_0x10fe67,_0x5f2a66,_0xb1e770[_0x22c533(0x152)],_0x2256af)),_0xdf57c0;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
function _0x5003(_0x2ce1bc,_0x1129ea){const _0x484ebd=_0x484e();return _0x5003=function(_0x50032b,_0x1907cf){_0x50032b=_0x50032b-0x121;let _0x28c0ea=_0x484ebd[_0x50032b];return _0x28c0ea;},_0x5003(_0x2ce1bc,_0x1129ea);}const _0x3eb4e0=_0x5003;(function(_0x476180,_0x343bf0){const _0x2c6e24=_0x5003,_0x37ebb8=_0x476180();while(!![]){try{const _0x2cb135=parseInt(_0x2c6e24(0x142))/0x1*(-parseInt(_0x2c6e24(0x13b))/0x2)+parseInt(_0x2c6e24(0x145))/0x3*(-parseInt(_0x2c6e24(0x127))/0x4)+-parseInt(_0x2c6e24(0x13d))/0x5+-parseInt(_0x2c6e24(0x14a))/0x6*(parseInt(_0x2c6e24(0x135))/0x7)+-parseInt(_0x2c6e24(0x128))/0x8*(-parseInt(_0x2c6e24(0x147))/0x9)+parseInt(_0x2c6e24(0x123))/0xa*(parseInt(_0x2c6e24(0x141))/0xb)+parseInt(_0x2c6e24(0x13e))/0xc*(parseInt(_0x2c6e24(0x12a))/0xd);if(_0x2cb135===_0x343bf0)break;else _0x37ebb8['push'](_0x37ebb8['shift']());}catch(_0x767122){_0x37ebb8['push'](_0x37ebb8['shift']());}}}(_0x484e,0x55b1b));import{isViewWithFocusCycler as _0x199af9}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x3eb4e0(0x133);export default function T(_0x33d785,_0x3d2c6f){const _0x4f9be5=_0x3eb4e0,_0x22689e=_0x33d785[_0x4f9be5(0x139)];_0x33d785[_0x4f9be5(0x138)][_0x4f9be5(0x13f)](_0x22689e);for(const _0x2cdfb2 of _0x3d2c6f)C(_0x33d785,_0x2cdfb2);_0x3d2c6f['on'](_0x4f9be5(0x140),(_0x3a713f,_0x103329)=>{const _0x19b055=_0x4f9be5;for(const _0x3fb0da of _0x103329[_0x19b055(0x136)])K(_0x33d785,_0x3fb0da);for(const _0x374dfc of Array[_0x19b055(0x12e)](_0x103329[_0x19b055(0x12b)])[_0x19b055(0x130)]())C(_0x33d785,_0x374dfc);}),_0x33d785[_0x4f9be5(0x138)][_0x4f9be5(0x134)](_0x4f9be5(0x132),(_0x5ddf4f,_0x4a6ab1)=>{const _0x2a8126=_0x4f9be5;_0x22689e===_0x5ddf4f[_0x2a8126(0x124)]&&(_0x33d785[_0x2a8126(0x13c)][_0x2a8126(0x137)](),_0x4a6ab1());},{'filter':_0x2bb2e5=>_0x2bb2e5[_0x4f9be5(0x124)]===_0x22689e}),_0x33d785[_0x4f9be5(0x138)][_0x4f9be5(0x134)](_0x4f9be5(0x146),(_0x648a57,_0x550cd4)=>{const _0x347975=_0x4f9be5;_0x22689e!==_0x648a57[_0x347975(0x124)]?_0x33d785[_0x347975(0x143)]():_0x33d785[_0x347975(0x13a)](_0x347975(0x131)),_0x550cd4();}),_0x33d785[_0x4f9be5(0x138)][_0x4f9be5(0x134)](_0x4f9be5(0x12d),(_0x594cb9,_0xd2a707)=>{const _0x163326=_0x4f9be5;_0x22689e===_0x594cb9[_0x163326(0x124)]&&(_0x33d785[_0x163326(0x13a)](_0x163326(0x12d)),_0xd2a707());}),_0x33d785[_0x4f9be5(0x138)][_0x4f9be5(0x134)](_0x4f9be5(0x126),(_0x14ded3,_0x545f0f)=>{const _0x37dd24=_0x4f9be5;_0x22689e===_0x14ded3[_0x37dd24(0x124)]&&(_0x33d785[_0x37dd24(0x13a)](_0x37dd24(0x126)),_0x545f0f());});}function _0x484e(){const _0x26a073=['element','fire','105188KkjEgo','focusCycler','1753150gdvNZP','27672PsSKqP','listenTo','change','5864771AECPBd','7kZGuaZ','focus','actions','5085yTkvwj','esc','2429316wOZzaQ','unchain','chain','294NAxjVb','keys','remove','10GddOZW','target','add','arrowup','28DHhxBQ','16FQdEpf','focusTracker','949auyDzj','added','isRendered','arrowdown','from','stopListening','reverse','escape','enter','Ctrl+Shift+E','set','22813HQIlrQ','removed','focusFirst','keystrokes'];_0x484e=function(){return _0x26a073;};return _0x484e();}function C(_0x4ff642,_0x1b1843){const _0x50caba=_0x3eb4e0;_0x1b1843[_0x50caba(0x12c)]&&(_0x4ff642[_0x50caba(0x129)][_0x50caba(0x125)](_0x1b1843[_0x50caba(0x139)]),_0x4ff642[_0x50caba(0x138)][_0x50caba(0x13f)](_0x1b1843[_0x50caba(0x139)]),_0x199af9(_0x1b1843)&&function(_0x57da00,_0x5cbada){const _0x470b91=_0x50caba,_0x19dd7f=_0x57da00[_0x470b91(0x144)],_0x702fc4=_0x5cbada[_0x470b91(0x144)];for(const _0x17989e of Object[_0x470b91(0x121)](_0x19dd7f))if(_0x17989e in _0x702fc4&&_0x19dd7f[_0x17989e]!==_0x702fc4[_0x17989e])return!0x1;return!0x0;}(_0x4ff642[_0x50caba(0x13c)],_0x1b1843[_0x50caba(0x13c)])&&_0x4ff642[_0x50caba(0x13c)][_0x50caba(0x149)](_0x1b1843[_0x50caba(0x13c)]));}function K(_0x519c3e,_0xdc25c8){const _0x306f98=_0x3eb4e0;_0x519c3e[_0x306f98(0x129)][_0x306f98(0x122)](_0xdc25c8[_0x306f98(0x139)]),_0x519c3e[_0x306f98(0x138)][_0x306f98(0x12f)](_0xdc25c8[_0x306f98(0x139)]),_0x199af9(_0xdc25c8)&&_0x519c3e[_0x306f98(0x13c)][_0x306f98(0x148)](_0xdc25c8[_0x306f98(0x13c)]);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x50c6(){const _0xa7b3ca=['includes','containsPosition','1389276jLVJsu','isEqual','45tYNjce','getRange','length','end','33772GltaDb','1586728hSqADI','200986AafXcJ','918204IZZdBG','473286qqXFxl','document','574015vXyGuj','selection','focus','start','push','markers','change:range'];_0x50c6=function(){return _0xa7b3ca;};return _0x50c6();}function _0x1fd8(_0x4e7b02,_0x20f453){const _0x50c6cd=_0x50c6();return _0x1fd8=function(_0x1fd887,_0x1d73d6){_0x1fd887=_0x1fd887-0x172;let _0x52ab32=_0x50c6cd[_0x1fd887];return _0x52ab32;},_0x1fd8(_0x4e7b02,_0x20f453);}(function(_0x39da37,_0x40749c){const _0x2851cf=_0x1fd8,_0x5a2b9b=_0x39da37();while(!![]){try{const _0x47f757=-parseInt(_0x2851cf(0x182))/0x1+parseInt(_0x2851cf(0x184))/0x2+parseInt(_0x2851cf(0x17c))/0x3*(parseInt(_0x2851cf(0x180))/0x4)+parseInt(_0x2851cf(0x186))/0x5+-parseInt(_0x2851cf(0x183))/0x6+-parseInt(_0x2851cf(0x17a))/0x7+parseInt(_0x2851cf(0x181))/0x8;if(_0x47f757===_0x40749c)break;else _0x5a2b9b['push'](_0x5a2b9b['shift']());}catch(_0xd80ff1){_0x5a2b9b['push'](_0x5a2b9b['shift']());}}}(_0x50c6,0x1e428));export default function z(_0xd49b4e,_0x48cf0d){const _0x5449d7=_0x1fd8,_0x13150a=[];_0xd49b4e[_0x5449d7(0x185)][_0x5449d7(0x172)]['on'](_0x5449d7(0x177),()=>{const _0x2f66e=_0x5449d7,_0x582383=function(_0x13e19f,_0x30b814){const _0x239090=_0x1fd8,_0x24ee65=[];for(const _0x14a039 of _0x13e19f[_0x239090(0x176)]){const _0x3b2271=_0x14a039[_0x239090(0x17d)]();(_0x3b2271[_0x239090(0x179)](_0x30b814)||_0x3b2271[_0x239090(0x174)][_0x239090(0x17b)](_0x30b814)||_0x3b2271[_0x239090(0x17f)][_0x239090(0x17b)](_0x30b814))&&_0x24ee65[_0x239090(0x175)](_0x14a039);}return _0x24ee65;}(_0xd49b4e,_0xd49b4e[_0x2f66e(0x185)][_0x2f66e(0x172)][_0x2f66e(0x173)]),_0x47aff9=[],_0x4ed840=[],_0x5138ff=[];for(const _0x2bd6f2 of _0x13150a)_0x582383[_0x2f66e(0x178)](_0x2bd6f2)||_0x47aff9[_0x2f66e(0x175)](_0x2bd6f2);for(const _0x5a98c1 of _0x582383)_0x13150a[_0x2f66e(0x178)](_0x5a98c1)||_0x4ed840[_0x2f66e(0x175)](_0x5a98c1),_0x5138ff[_0x2f66e(0x175)](_0x5a98c1);(_0x47aff9[_0x2f66e(0x17e)]||_0x4ed840[_0x2f66e(0x17e)])&&_0x48cf0d({'left':_0x47aff9,'entered':_0x4ed840}),_0x13150a[_0x2f66e(0x17e)]=0x0,_0x13150a[_0x2f66e(0x175)](..._0x5138ff);});}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
function _0x19a3(_0x33ad26,_0x1d42b9){const _0x2b826c=_0x2b82();return _0x19a3=function(_0x19a389,_0x464b3b){_0x19a389=_0x19a389-0x14c;let _0x1f3ec6=_0x2b826c[_0x19a389];return _0x1f3ec6;},_0x19a3(_0x33ad26,_0x1d42b9);}const _0x153154=_0x19a3;function _0x2b82(){const _0x3c82d7=['2738985gbnBOd','pop','length','36304HIGrmg','match','5739UrhdIs','join','226671RVCDzF','indexOf','replace','1480qOyknq','substring','startsWith','2BsZBfu','30524wePCBK','21NCdiZo','5434dzJqOf','split','1325838kgnvYg','9170uOnsbI','828jEclgz','2616zgzppP','push','slice','...'];_0x2b82=function(){return _0x3c82d7;};return _0x2b82();}(function(_0x5d1c7b,_0x32f1f5){const _0x79484c=_0x19a3,_0x47d687=_0x5d1c7b();while(!![]){try{const _0x43b931=parseInt(_0x79484c(0x153))/0x1*(parseInt(_0x79484c(0x159))/0x2)+-parseInt(_0x79484c(0x151))/0x3*(-parseInt(_0x79484c(0x156))/0x4)+parseInt(_0x79484c(0x14c))/0x5+parseInt(_0x79484c(0x15e))/0x6*(parseInt(_0x79484c(0x15b))/0x7)+-parseInt(_0x79484c(0x14f))/0x8*(parseInt(_0x79484c(0x160))/0x9)+-parseInt(_0x79484c(0x15f))/0xa*(parseInt(_0x79484c(0x15c))/0xb)+parseInt(_0x79484c(0x161))/0xc*(-parseInt(_0x79484c(0x15a))/0xd);if(_0x43b931===_0x32f1f5)break;else _0x47d687['push'](_0x47d687['shift']());}catch(_0x287d27){_0x47d687['push'](_0x47d687['shift']());}}}(_0x2b82,0xba3d7));export default function Z(_0x4693c4,{limit:_0x129d05,suffix:_0x5dfa01=_0x153154(0x164)}){const _0x4a1269=_0x153154,_0x2cfa9c=[];let _0x2dc0ca=0x0;const _0x2e1037=_0x4693c4[_0x4a1269(0x155)](/</g,'\x0a<')[_0x4a1269(0x155)](/>/g,'>\x0a')[_0x4a1269(0x155)](/^\n/g,'')[_0x4a1269(0x155)](/\n$/g,'')[_0x4a1269(0x15d)]('\x0a');for(let _0x1e2663=0x0;_0x1e2663<_0x2e1037[_0x4a1269(0x14e)];_0x1e2663++){let _0x1b6323=_0x2e1037[_0x1e2663];const _0x5b5acb=$(_0x1b6323);if(_0x1b6323[_0x4a1269(0x158)]('<')){if(_0x2dc0ca>=_0x129d05){const _0x26828f=_0x1b6323[_0x4a1269(0x150)](/[a-zA-Z]+/);if(!_0x26828f){_0x2e1037[_0x1e2663]='';continue;}const _0x27fec6=_0x26828f[0x0];_0x1b6323[_0x4a1269(0x158)]('</')?(_0x2cfa9c[_0x4a1269(0x14e)]&&(_0x1b6323=''),_0x2cfa9c[_0x4a1269(0x14d)]()):(_0x2cfa9c[_0x4a1269(0x162)](_0x27fec6),_0x1b6323='');}}else{if(_0x2dc0ca>=_0x129d05)_0x1b6323='';else{if(_0x2dc0ca+_0x5b5acb[_0x4a1269(0x14e)]>=_0x129d05){let _0x4490c7=_0x129d05-_0x2dc0ca;if('\x20'===_0x5b5acb[_0x4490c7-0x1])_0x4490c7--;else{const _0x4d8ee5=_0x5b5acb[_0x4a1269(0x163)](_0x4490c7)[_0x4a1269(0x154)]('\x20');-0x1!==_0x4d8ee5?_0x4490c7+=_0x4d8ee5:_0x4490c7=_0x1b6323[_0x4a1269(0x14e)];}_0x1b6323=_0x5b5acb[_0x4a1269(0x163)](0x0,_0x4490c7)[_0x4a1269(0x152)]('')+_0x5dfa01,_0x2dc0ca=_0x129d05;}else _0x2dc0ca+=_0x5b5acb[_0x4a1269(0x14e)];}}_0x2e1037[_0x1e2663]=_0x1b6323;}return _0x2e1037[_0x4a1269(0x152)]('\x0a')[_0x4a1269(0x155)](/\n/g,'');}function $(_0x58da1a){const _0x3185a6=_0x153154,_0x918915=[];for(let _0x2df582=0x0;_0x2df582<_0x58da1a[_0x3185a6(0x14e)];_0x2df582++){const _0x3ea1f9=_0x58da1a[_0x3185a6(0x157)](_0x2df582)[_0x3185a6(0x150)](/^&[a-z0-9#]+;/);if(_0x3ea1f9){const _0x27fe1d=_0x3ea1f9[0x0];_0x918915[_0x3185a6(0x162)](_0x27fe1d),_0x2df582+=_0x27fe1d[_0x3185a6(0x14e)]-0x1;}else _0x918915[_0x3185a6(0x162)](_0x58da1a[_0x2df582]);}return _0x918915;}
|