@ckeditor/ckeditor5-collaboration-core 46.1.1-alpha.3 → 47.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/dist/index-editor.css +40 -0
- package/dist/index.css +53 -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/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/be.js +1 -1
- package/dist/translations/be.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 +13 -11
- package/src/documentcompare.d.ts +143 -0
- package/src/documentcompare.js +23 -0
- package/src/index.d.ts +1 -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.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.d.ts +1 -0
- 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/theme/confirm.css +52 -0
package/src/users.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x501fd2=_0x1fdf;function _0x2cd9(){const _0xe457a2=['test','getBackgroundColorClass','decorate','pluginName','requires','getOperationAuthor','_getNextColor','_myId','string','users','_id','avatar','_computeInitials','1040dOltxf','_addAnonymousUser','has','useAnonymousUser','isPremiumPlugin','users-add-invalid-id','4257dHoDmt','initials','config','fromCodePoint','getMarkerClass','length','ck-user__marker--','users.getInitialsCallback','_getInitial','isMe','15952aqTlec','users-me-already-defined','isOfficialPlugin','color','_isMe','ck-user__selection--','toUpperCase','define','isAnonymous','split','users.colorsCount','6756yXVGxq','add','anonymous-user','filter','_isAnonymous','get','18898bpPidZ','defineMe','users.anonymousUserId','_locale','2TghLqw','init','context','594nzuACT','locale','Users','ck-user__bg-color--','getUser','321150GPGUDY','_lastColor','9002LAITwz','trim','name','users-me-missing-user','Anonymous','addUser','users-add-duplicated-id','codePointAt','7707360nKzlHC','1544046EOfBVw','12904urwJhF','getSelectionClass'];_0x2cd9=function(){return _0xe457a2;};return _0x2cd9();}(function(_0x5cbbf0,_0x359df0){const _0x1d91d5=_0x1fdf,_0x4d3e1a=_0x5cbbf0();while(!![]){try{const _0x509a05=-parseInt(_0x1d91d5(0xcf))/0x1*(-parseInt(_0x1d91d5(0xc7))/0x2)+parseInt(_0x1d91d5(0x92))/0x3+parseInt(_0x1d91d5(0xb2))/0x4*(parseInt(_0x1d91d5(0xa2))/0x5)+-parseInt(_0x1d91d5(0xca))/0x6*(parseInt(_0x1d91d5(0xd1))/0x7)+parseInt(_0x1d91d5(0x93))/0x8*(-parseInt(_0x1d91d5(0xa8))/0x9)+parseInt(_0x1d91d5(0x91))/0xa+-parseInt(_0x1d91d5(0xc3))/0xb*(parseInt(_0x1d91d5(0xbd))/0xc);if(_0x509a05===_0x359df0)break;else _0x4d3e1a['push'](_0x4d3e1a['shift']());}catch(_0x500a9b){_0x4d3e1a['push'](_0x4d3e1a['shift']());}}}(_0x2cd9,0x8d40f));import{ContextPlugin as _0x3edcee}from'ckeditor5/src/core.js';import{Collection as _0x54ad68,CKEditorError as _0x282e8d}from'ckeditor5/src/utils.js';import{Permissions as _0x255194}from'./permissions.js';import{getTranslation as _0x2175bc}from'./utils/common-translations.js';function _0x1fdf(_0x10ec5b,_0x1d6571){const _0x2cd99b=_0x2cd9();return _0x1fdf=function(_0x1fdf37,_0x213592){_0x1fdf37=_0x1fdf37-0x90;let _0x2bb780=_0x2cd99b[_0x1fdf37];return _0x2bb780;},_0x1fdf(_0x10ec5b,_0x1d6571);}import'../theme/usercolors.css';export class Users extends _0x3edcee{[_0x501fd2(0x9e)];[_0x501fd2(0xd0)];[_0x501fd2(0x9c)];[_0x501fd2(0xc6)];static get[_0x501fd2(0x98)](){const _0x116550=_0x501fd2;return _0x116550(0xcc);}static get[_0x501fd2(0xb4)](){return!0x0;}static get[_0x501fd2(0xa6)](){return!0x0;}static get[_0x501fd2(0x99)](){return[_0x255194];}constructor(_0x582d21){const _0x5bb1fc=_0x501fd2;super(_0x582d21),this[_0x5bb1fc(0xc9)][_0x5bb1fc(0xaa)][_0x5bb1fc(0xb9)](_0x5bb1fc(0xc5),_0x5bb1fc(0xbf)),this[_0x5bb1fc(0xc9)][_0x5bb1fc(0xaa)][_0x5bb1fc(0xb9)](_0x5bb1fc(0xbc),0x8),this[_0x5bb1fc(0x9e)]=new _0x54ad68(),this[_0x5bb1fc(0xc6)]=_0x582d21[_0x5bb1fc(0xcb)],this[_0x5bb1fc(0xd0)]=0x0,this[_0x5bb1fc(0x9c)]=null,this[_0x5bb1fc(0x97)](_0x5bb1fc(0x9a));}[_0x501fd2(0xc8)](){const _0x246c3f=_0x501fd2;this[_0x246c3f(0xa3)]();}get['me'](){const _0x53e702=_0x501fd2;return null==this[_0x53e702(0x9c)]?null:this[_0x53e702(0xce)](this[_0x53e702(0x9c)]);}[_0x501fd2(0xd6)]({id:_0x21891d,name:_0xf86c30,..._0x5d9ded}){const _0x1f455b=_0x501fd2;if(!_0x21891d||_0x1f455b(0x9d)!=typeof _0x21891d)throw new _0x282e8d(_0x1f455b(0xa7));if(this[_0x1f455b(0x9e)][_0x1f455b(0xa4)](_0x21891d))throw new _0x282e8d(_0x1f455b(0xd7),null,{'id':_0x21891d});const _0x3fe358=this[_0x1f455b(0xc9)][_0x1f455b(0xaa)][_0x1f455b(0xc2)](_0x1f455b(0xaf)),_0x5b381a={..._0x5d9ded,'id':_0x21891d,'name':C(this[_0x1f455b(0xc6)],_0xf86c30),'color':this[_0x1f455b(0x9b)]()};_0x5b381a[_0x1f455b(0xd3)]=C(this[_0x1f455b(0xc6)],_0x5b381a[_0x1f455b(0xd3)]);const _0x27f42e=new User(_0x5b381a,_0x3fe358);return this[_0x1f455b(0x9e)][_0x1f455b(0xbe)](_0x27f42e),_0x27f42e;}[_0x501fd2(0xce)](_0x1ad57e){const _0xd078ce=_0x501fd2;return this[_0xd078ce(0x9e)][_0xd078ce(0xc2)](_0x1ad57e);}[_0x501fd2(0xa5)](){const _0x5f1dda=_0x501fd2,_0x4a185b=this[_0x5f1dda(0xc9)][_0x5f1dda(0xaa)][_0x5f1dda(0xc2)](_0x5f1dda(0xc5));this[_0x5f1dda(0x9c)]||this[_0x5f1dda(0xc4)](_0x4a185b);}[_0x501fd2(0xc4)](_0x18d3eb){const _0x8af0de=_0x501fd2;if(this[_0x8af0de(0x9c)])throw new _0x282e8d(_0x8af0de(0xb3),null);const _0x3c1a77=this[_0x8af0de(0xce)](_0x18d3eb);if(!_0x3c1a77)throw new _0x282e8d(_0x8af0de(0xd4),null);this[_0x8af0de(0x9c)]=_0x18d3eb,_0x3c1a77[_0x8af0de(0xb6)]=!0x0;}[_0x501fd2(0x9a)](){return this['me'];}[_0x501fd2(0x9b)](){const _0x590c27=_0x501fd2,_0x34962a=this[_0x590c27(0xc9)][_0x590c27(0xaa)][_0x590c27(0xc2)](_0x590c27(0xbc));return this[_0x590c27(0xd0)]>=_0x34962a&&(this[_0x590c27(0xd0)]=0x0),new CollaborationUserColor(this[_0x590c27(0xd0)]++);}[_0x501fd2(0xa3)](){const _0x57dd8e=_0x501fd2,_0x5de54b=this[_0x57dd8e(0xc9)][_0x57dd8e(0xaa)][_0x57dd8e(0xc2)](_0x57dd8e(0xc5));this[_0x57dd8e(0xd6)]({'id':_0x5de54b,'name':_0x2175bc(this[_0x57dd8e(0xc6)],_0x57dd8e(0xd5))})[_0x57dd8e(0xc1)]=!0x0;}}export class User{['id'];[_0x501fd2(0xb5)];[_0x501fd2(0xd3)];[_0x501fd2(0xa9)];[_0x501fd2(0xa0)];[_0x501fd2(0xb6)];[_0x501fd2(0xc1)];constructor(_0x108082,_0x2734bb){const _0x13d4eb=_0x501fd2;this['id']=_0x108082['id'],this[_0x13d4eb(0xb5)]=_0x108082[_0x13d4eb(0xb5)],this[_0x13d4eb(0xd3)]=_0x108082[_0x13d4eb(0xd3)],this[_0x13d4eb(0xa9)]=_0x2734bb?_0x2734bb(this[_0x13d4eb(0xd3)]):this[_0x13d4eb(0xa1)](),this[_0x13d4eb(0xa0)]=_0x108082[_0x13d4eb(0xa0)],this[_0x13d4eb(0xc1)]=!0x1,this[_0x13d4eb(0xb6)]=!0x1;}get[_0x501fd2(0xba)](){const _0x29e472=_0x501fd2;return this[_0x29e472(0xc1)];}get[_0x501fd2(0xb1)](){const _0x57c484=_0x501fd2;return this[_0x57c484(0xb6)];}[_0x501fd2(0xa1)](){const _0xb8d0d4=_0x501fd2,_0x1465b9=this[_0xb8d0d4(0xd3)][_0xb8d0d4(0xbb)]('\x20')[_0xb8d0d4(0xc0)](_0x4227c8=>/^[\p{Letter}]/u[_0xb8d0d4(0x95)](_0x4227c8));return 0x1===_0x1465b9[_0xb8d0d4(0xad)]?this[_0xb8d0d4(0xb0)](_0x1465b9[0x0]):0x0===_0x1465b9[_0xb8d0d4(0xad)]?this[_0xb8d0d4(0xb0)](this[_0xb8d0d4(0xd3)]):this[_0xb8d0d4(0xb0)](_0x1465b9[0x0])+this[_0xb8d0d4(0xb0)](_0x1465b9[_0x1465b9[_0xb8d0d4(0xad)]-0x1]);}[_0x501fd2(0xb0)](_0x355290){const _0x217a5f=_0x501fd2;return String[_0x217a5f(0xab)](_0x355290[_0x217a5f(0x90)](0x0))[_0x217a5f(0xb8)]();}}function C(_0xc9a454,_0x59b0fb=''){const _0x4bae43=_0x501fd2;return''==(_0x59b0fb=_0x59b0fb[_0x4bae43(0xd2)]())?_0x2175bc(_0xc9a454,_0x4bae43(0xd5)):_0x59b0fb;}export class CollaborationUserColor{[_0x501fd2(0x9f)];constructor(_0x47bcea){const _0x210343=_0x501fd2;this[_0x210343(0x9f)]=_0x47bcea;}get['id'](){const _0x5e932f=_0x501fd2;return this[_0x5e932f(0x9f)];}[_0x501fd2(0x96)](){const _0x40b0a0=_0x501fd2;return _0x40b0a0(0xcd)+this['id'];}[_0x501fd2(0x94)](){const _0x2b75f5=_0x501fd2;return _0x2b75f5(0xb7)+this['id'];}[_0x501fd2(0xac)](){const _0xd2dc81=_0x501fd2;return _0xd2dc81(0xae)+this['id'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1a4979,_0x10c727){const t=_0x1a4979['t'];switch(_0x10c727){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x183a(_0x3e5571,_0xf8af75){var _0x46d927=_0x46d9();return _0x183a=function(_0x183a1f,_0x18e06d){_0x183a1f=_0x183a1f-0x131;var _0x6e409e=_0x46d927[_0x183a1f];return _0x6e409e;},_0x183a(_0x3e5571,_0xf8af75);}(function(_0x4f0de7,_0x22b41f){var _0x2a3f0e=_0x183a,_0x12b56d=_0x4f0de7();while(!![]){try{var _0x3376a5=parseInt(_0x2a3f0e(0x135))/0x1*(-parseInt(_0x2a3f0e(0x13c))/0x2)+-parseInt(_0x2a3f0e(0x142))/0x3*(parseInt(_0x2a3f0e(0x136))/0x4)+parseInt(_0x2a3f0e(0x14d))/0x5+-parseInt(_0x2a3f0e(0x133))/0x6+-parseInt(_0x2a3f0e(0x139))/0x7*(-parseInt(_0x2a3f0e(0x146))/0x8)+-parseInt(_0x2a3f0e(0x152))/0x9+parseInt(_0x2a3f0e(0x13b))/0xa*(parseInt(_0x2a3f0e(0x134))/0xb);if(_0x3376a5===_0x22b41f)break;else _0x12b56d['push'](_0x12b56d['shift']());}catch(_0x273e3a){_0x12b56d['push'](_0x12b56d['shift']());}}}(_0x46d9,0x7d1f0));import{ConfirmView as _0x5e1d07}from'./confirmview.js';export function ConfirmMixin(_0x450e07){var _0x3c7113=_0x183a;return class extends _0x450e07{[_0x3c7113(0x13f)](_0x541f90,_0x1cbc05){var _0x572d3e=_0x3c7113;return this[_0x572d3e(0x13d)]=new _0x5e1d07(this[_0x572d3e(0x144)]),this[_0x572d3e(0x13d)][_0x572d3e(0x153)](),this[_0x572d3e(0x13d)][_0x572d3e(0x154)]=_0x541f90,this[_0x572d3e(0x13d)][_0x572d3e(0x140)](_0x572d3e(0x14c),()=>{var _0x33b493=_0x572d3e;this[_0x33b493(0x132)]();}),this[_0x572d3e(0x13d)][_0x572d3e(0x140)](_0x572d3e(0x14f),()=>{var _0x3d5691=_0x572d3e;this[_0x3d5691(0x132)]();}),_0x1cbc05[_0x572d3e(0x14e)](this[_0x572d3e(0x13d)][_0x572d3e(0x13e)]),_0x1cbc05[_0x572d3e(0x149)][_0x572d3e(0x13a)](_0x572d3e(0x137)),this[_0x572d3e(0x151)](this[_0x572d3e(0x13d)]),this[_0x572d3e(0x13d)][_0x572d3e(0x14a)](),this[_0x572d3e(0x150)](_0x572d3e(0x138),!0x0),this['on'](_0x572d3e(0x143),(_0x40ba94,_0x203e9f,_0x2bd32d)=>{var _0x7b8e33=_0x572d3e;_0x2bd32d||_0x1cbc05[_0x7b8e33(0x149)][_0x7b8e33(0x147)](_0x7b8e33(0x137));}),new Promise(_0x2148f6=>this[_0x572d3e(0x13d)]['on'](_0x572d3e(0x14f),_0x2148f6));}[_0x3c7113(0x131)](){var _0x444679=_0x3c7113;this[_0x444679(0x138)]&&this[_0x444679(0x13d)][_0x444679(0x141)](_0x444679(0x14c));}[_0x3c7113(0x132)](){var _0x19d752=_0x3c7113;this[_0x19d752(0x13e)]&&this[_0x19d752(0x13d)]&&this[_0x19d752(0x13d)][_0x19d752(0x13e)]&&(this[_0x19d752(0x13e)][_0x19d752(0x14a)](),this[_0x19d752(0x13d)][_0x19d752(0x13e)][_0x19d752(0x147)](),this[_0x19d752(0x14b)](this[_0x19d752(0x13d)]),this[_0x19d752(0x138)]=!0x1,this[_0x19d752(0x141)](_0x19d752(0x145)),this[_0x19d752(0x13d)][_0x19d752(0x148)](),this[_0x19d752(0x13d)]=void 0x0);}};}function _0x46d9(){var _0x1d87e0=['isConfirm','75943eIrchd','add','40xRonAt','1868666KZvVKy','confirmView','element','showConfirm','once','fire','615zDIQEt','change:isConfirm','locale','removeConfirm','32Acacmt','remove','destroy','classList','focus','deregisterChild','cancel','471420ABEQcl','appendChild','submit','set','registerChild','1929987HSaXXa','render','message','cancelConfirm','_removeConfirm','4571466Imgaza','7138087rlGOLw','1THLDIA','6052pMCBEX','ck-confirm-view-active'];_0x46d9=function(){return _0x1d87e0;};return _0x46d9();}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { View, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
7
|
+
import '../../theme/confirm.css';
|
|
7
8
|
export declare class ConfirmView extends View implements FocusableView {
|
|
8
9
|
message: string;
|
|
9
10
|
constructor(locale: Locale);
|
package/src/utils/confirmview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbcb8(){const _0xdf04a=['shift+tab','18743jHmTGV','ck-confirm-view-','element','submit','5pqNzfC','render','ck-confirm-view-inner','Yes','3326466eHkBrD','ck-confirm-view','bindTemplate','ck-confirm-view-actions','cancelView','27420030XwQiwn','112hPGmpp','focusCycler','focusables','extendTemplate','_createButtonView','label','cancel','16PYZWUZ','icon','9002340OWYITP','execute','756519FZisJB','tab','keystrokes','Are\x20you\x20sure?','focusTracker','presentation','12HYyeuM','7785820cqweYq','2826072RlhGmD','submitView','setTemplate','esc','createCollection','set','message','27IbXwIT','_setupKeyboardNavigation','forEach','div','fire','add','listenTo','focus','alertdialog'];_0xbcb8=function(){return _0xdf04a;};return _0xbcb8();}const _0x3888fe=_0x4ffd;(function(_0x35ae77,_0x334080){const _0x10c3c1=_0x4ffd,_0x4224e0=_0x35ae77();while(!![]){try{const _0x31dbdc=-parseInt(_0x10c3c1(0x16d))/0x1*(parseInt(_0x10c3c1(0x17b))/0x2)+parseInt(_0x10c3c1(0x186))/0x3*(-parseInt(_0x10c3c1(0x182))/0x4)+parseInt(_0x10c3c1(0x171))/0x5*(-parseInt(_0x10c3c1(0x175))/0x6)+-parseInt(_0x10c3c1(0x15b))/0x7+parseInt(_0x10c3c1(0x15c))/0x8*(parseInt(_0x10c3c1(0x163))/0x9)+parseInt(_0x10c3c1(0x184))/0xa+parseInt(_0x10c3c1(0x17a))/0xb*(parseInt(_0x10c3c1(0x15a))/0xc);if(_0x31dbdc===_0x334080)break;else _0x4224e0['push'](_0x4224e0['shift']());}catch(_0x36f4e2){_0x4224e0['push'](_0x4224e0['shift']());}}}(_0xbcb8,0xb1ada));import{IconCancel as _0x11f336,IconCheck as _0x4f7001}from'ckeditor5/src/icons.js';import{View as _0x579636,ButtonView as _0x1dfc6a,FocusCycler as _0x581ad8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4d89f1,KeystrokeHandler as _0x223230}from'ckeditor5/src/utils.js';function _0x4ffd(_0x3f0971,_0x2d5a8b){const _0xbcb897=_0xbcb8();return _0x4ffd=function(_0x4ffd9c,_0x110320){_0x4ffd9c=_0x4ffd9c-0x157;let _0x55f1d6=_0xbcb897[_0x4ffd9c];return _0x55f1d6;},_0x4ffd(_0x3f0971,_0x2d5a8b);}import{getTranslation as _0x34d838}from'./common-translations.js';import'../../theme/confirm.css';export class ConfirmView extends _0x579636{[_0x3888fe(0x15d)];[_0x3888fe(0x179)];[_0x3888fe(0x158)];[_0x3888fe(0x188)];[_0x3888fe(0x17c)];[_0x3888fe(0x17d)];constructor(_0x2f0508){const _0x3b6ea4=_0x3888fe;super(_0x2f0508);const _0x30fdc9=this[_0x3b6ea4(0x177)];this[_0x3b6ea4(0x161)](_0x3b6ea4(0x162),_0x34d838(_0x2f0508,_0x3b6ea4(0x157))),this[_0x3b6ea4(0x15d)]=this[_0x3b6ea4(0x17f)](_0x2f0508,_0x34d838(_0x2f0508,_0x3b6ea4(0x174)),_0x4f7001,_0x3b6ea4(0x170)),this[_0x3b6ea4(0x179)]=this[_0x3b6ea4(0x17f)](_0x2f0508,_0x34d838(_0x2f0508,'No'),_0x11f336,_0x3b6ea4(0x181)),this[_0x3b6ea4(0x17d)]=this[_0x3b6ea4(0x160)]([this[_0x3b6ea4(0x15d)],this[_0x3b6ea4(0x179)]]),this[_0x3b6ea4(0x158)]=new _0x4d89f1(),this[_0x3b6ea4(0x188)]=new _0x223230(),this[_0x3b6ea4(0x17c)]=new _0x581ad8({'focusables':this[_0x3b6ea4(0x17d)],'focusTracker':this[_0x3b6ea4(0x158)],'keystrokeHandler':this[_0x3b6ea4(0x188)],'actions':{'focusPrevious':_0x3b6ea4(0x16c),'focusNext':_0x3b6ea4(0x187)}}),this[_0x3b6ea4(0x15e)]({'tag':_0x3b6ea4(0x166),'attributes':{'class':['ck',_0x3b6ea4(0x176)],'tabindex':-0x1,'role':_0x3b6ea4(0x16b)},'children':[{'tag':_0x3b6ea4(0x166),'attributes':{'class':_0x3b6ea4(0x173),'role':_0x3b6ea4(0x159)},'children':[{'tag':'p','children':[{'text':_0x30fdc9['to'](_0x3b6ea4(0x162))}]},{'tag':_0x3b6ea4(0x166),'attributes':{'class':_0x3b6ea4(0x178)},'children':[this[_0x3b6ea4(0x15d)],this[_0x3b6ea4(0x179)]]}]}]});}[_0x3888fe(0x172)](){const _0x2c4734=_0x3888fe;super[_0x2c4734(0x172)](),this[_0x2c4734(0x164)]();}[_0x3888fe(0x16a)](){const _0x13fab9=_0x3888fe;this[_0x13fab9(0x179)][_0x13fab9(0x16f)][_0x13fab9(0x16a)]({'preventScroll':!0x0});}[_0x3888fe(0x17f)](_0x1d2df2,_0x505532,_0x555625,_0x26c5e8){const _0x555f86=_0x3888fe,_0x1dc3ec=new _0x1dfc6a(_0x1d2df2);return _0x1dc3ec[_0x555f86(0x180)]=_0x505532,_0x1dc3ec[_0x555f86(0x183)]=_0x555625,_0x1dc3ec[_0x555f86(0x17e)]({'attributes':{'class':_0x555f86(0x16e)+_0x26c5e8}}),_0x1dc3ec['on'](_0x555f86(0x185),()=>this[_0x555f86(0x167)](_0x26c5e8)),_0x1dc3ec;}[_0x3888fe(0x164)](){const _0x2b7946=_0x3888fe;this[_0x2b7946(0x17d)][_0x2b7946(0x165)](_0x415a67=>{const _0x1025d0=_0x2b7946;this[_0x1025d0(0x188)][_0x1025d0(0x169)](_0x415a67[_0x1025d0(0x16f)]),this[_0x1025d0(0x158)][_0x1025d0(0x168)](_0x415a67[_0x1025d0(0x16f)]);}),this[_0x2b7946(0x188)][_0x2b7946(0x161)](_0x2b7946(0x15f),(_0xdb3b7d,_0x35a359)=>{const _0xfdb2f6=_0x2b7946;this[_0xfdb2f6(0x167)](_0xfdb2f6(0x181)),_0x35a359();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x290974,_0x5a4c49){const _0x1ed14b=_0x5920,_0x1063f2=_0x290974();while(!![]){try{const _0x2d0863=-parseInt(_0x1ed14b(0x1be))/0x1*(-parseInt(_0x1ed14b(0x1b2))/0x2)+parseInt(_0x1ed14b(0x1a2))/0x3*(parseInt(_0x1ed14b(0x1b3))/0x4)+parseInt(_0x1ed14b(0x1bd))/0x5+parseInt(_0x1ed14b(0x1b7))/0x6+-parseInt(_0x1ed14b(0x1a9))/0x7+parseInt(_0x1ed14b(0x1a6))/0x8+-parseInt(_0x1ed14b(0x1ae))/0x9;if(_0x2d0863===_0x5a4c49)break;else _0x1063f2['push'](_0x1063f2['shift']());}catch(_0x3e1a57){_0x1063f2['push'](_0x1063f2['shift']());}}}(_0x541d,0x8ec35));function _0x5920(_0x273dc8,_0x5acd5b){const _0x541d9f=_0x541d();return _0x5920=function(_0x5920a3,_0x527d8e){_0x5920a3=_0x5920a3-0x1a1;let _0x16fcd3=_0x541d9f[_0x5920a3];return _0x16fcd3;},_0x5920(_0x273dc8,_0x5acd5b);}import{DateTime as _0x3e24f1}from'luxon';function _0x541d(){const _0x217025=['toFormat','6SBgSzu','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','Last','4942408BexkEI','EEEE','diff','5545302KJDAIG','invalid-date-time-format','now','toJSDate','string','12489615JWaxwg','Today','\x27Today\x27\x20hh:mma','floor','46058ZImXMR','1390776xzxPft','fromJSDate','Yesterday','dateTimeFormat','687288isQwWX','function','fromISO','LL-dd-yyyy\x20hh:mma','hh:mma','days','3806080wsIcFC','25AcIdRx'];_0x541d=function(){return _0x217025;};return _0x541d();}import{CKEditorError as _0xef501d}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f0d79}from'./common-translations.js';export function getDateTimeFormatter(_0x54cab6={},_0x4a81e8){const _0x40d952=_0x5920;if(void 0x0!==_0x54cab6[_0x40d952(0x1b6)]&&_0x40d952(0x1b8)!=typeof _0x54cab6[_0x40d952(0x1b6)])throw new _0xef501d(_0x40d952(0x1aa));return _0x490270=>{const _0x13dfe4=_0x40d952,_0x512318=_0x13dfe4(0x1ad)==typeof _0x490270?_0x3e24f1[_0x13dfe4(0x1b9)](_0x490270):_0x3e24f1[_0x13dfe4(0x1b4)](_0x490270),_0x2b0dfa=_0x3e24f1[_0x13dfe4(0x1ab)](),_0x22eb2a=Math[_0x13dfe4(0x1b1)](_0x2b0dfa[_0x13dfe4(0x1a8)](_0x512318,_0x13dfe4(0x1bc))[_0x13dfe4(0x1bc)]);return _0x54cab6[_0x13dfe4(0x1b6)]?_0x54cab6[_0x13dfe4(0x1b6)](_0x512318[_0x13dfe4(0x1ac)](),_0x4a81e8&&_0x4a81e8['t']?_0x4a81e8['t']:void 0x0):0x0===_0x22eb2a?_0x4a81e8?_0x4f0d79(_0x4a81e8,_0x13dfe4(0x1af))+'\x20'+_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1bb)):_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1b0)):0x1===_0x22eb2a?_0x4a81e8?_0x4f0d79(_0x4a81e8,_0x13dfe4(0x1b5))+'\x20'+_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1bb)):_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1a3)):_0x22eb2a<0x7?_0x4a81e8?_0x4f0d79(_0x4a81e8,_0x13dfe4(0x1a5))+'\x20'+_0x4f0d79(_0x4a81e8,_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1a7)))+'\x20'+_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1bb)):_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1a4)):_0x512318[_0x13dfe4(0x1a1)](_0x13dfe4(0x1ba));};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2fb34e,_0x448392){const _0x38c612=_0x5b13,_0x3771a9=_0x2fb34e();while(!![]){try{const _0x3fe8c7=parseInt(_0x38c612(0x7c))/0x1+-parseInt(_0x38c612(0x7e))/0x2+-parseInt(_0x38c612(0x8f))/0x3+parseInt(_0x38c612(0x81))/0x4+-parseInt(_0x38c612(0x82))/0x5+parseInt(_0x38c612(0x7d))/0x6+parseInt(_0x38c612(0x8d))/0x7*(parseInt(_0x38c612(0x90))/0x8);if(_0x3fe8c7===_0x448392)break;else _0x3771a9['push'](_0x3771a9['shift']());}catch(_0x5ea2d5){_0x3771a9['push'](_0x3771a9['shift']());}}}(_0x679b,0xcfb9e));function _0x5b13(_0x3fd808,_0xdd02e3){const _0x679bab=_0x679b();return _0x5b13=function(_0x5b1334,_0x1707bc){_0x5b1334=_0x5b1334-0x7c;let _0xe4bfe4=_0x679bab[_0x5b1334];return _0xe4bfe4;},_0x5b13(_0x3fd808,_0xdd02e3);}import{first as _0x12663e}from'ckeditor5/src/utils.js';export function getMarkerDomElement(_0x257e03,_0x1ccff8){const _0xfd86c6=_0x5b13,_0x538e3d=_0x257e03[_0xfd86c6(0x93)][_0xfd86c6(0x80)](_0x1ccff8[_0xfd86c6(0x7f)]);if(!_0x538e3d)return null;const _0x5a2f0e=_0x12663e(_0x538e3d[_0xfd86c6(0x87)]());return _0x257e03[_0xfd86c6(0x91)][_0xfd86c6(0x89)][_0xfd86c6(0x8c)](_0x5a2f0e)||null;}function _0x679b(){const _0x47921c=['4712031jeJwFB','8WhqclZ','view','from','mapper','1602256Btbmsb','2190726HzanUS','2864136bJYbTj','name','markerNameToElements','6274816zRnghA','2828035rHNifn','filter','map','domElement','sort','values','length','domConverter','push','getClientRects','mapViewToDom','6181819ymLhJw','item'];_0x679b=function(){return _0x47921c;};return _0x679b();}export function getAllMarkersDomElementsSorted(_0x1ebd66,_0x377000){const _0x344a7d=_0x5b13;if(0x0===_0x377000[_0x344a7d(0x88)])return null;const _0x43c167=[],_0x13ec8b=_0x1ebd66[_0x344a7d(0x91)][_0x344a7d(0x89)];for(const _0x4e4c21 of _0x377000){const _0x218dc1=_0x1ebd66[_0x344a7d(0x93)][_0x344a7d(0x80)](_0x4e4c21[_0x344a7d(0x7f)]);if(!_0x218dc1)continue;const _0x1ef8b6=Array[_0x344a7d(0x92)](_0x218dc1)[_0x344a7d(0x84)](_0x472310=>_0x13ec8b[_0x344a7d(0x8c)](_0x472310))[_0x344a7d(0x83)](_0x339c33=>!!_0x339c33);_0x43c167[_0x344a7d(0x8a)](..._0x1ef8b6);}if(0x0===_0x43c167[_0x344a7d(0x88)])return null;const _0x93e6d4=[];for(const _0x52f4be of _0x43c167){const _0x25d040=_0x52f4be[_0x344a7d(0x8b)]()[_0x344a7d(0x8e)](0x0);_0x25d040&&_0x93e6d4[_0x344a7d(0x8a)]({'x':_0x25d040['x'],'y':_0x25d040['y'],'domElement':_0x52f4be});}return 0x0===_0x93e6d4[_0x344a7d(0x88)]?null:(_0x93e6d4[_0x344a7d(0x86)]((_0x506e5b,_0x2347a6)=>_0x506e5b['y']-_0x2347a6['y']||_0x506e5b['x']-_0x2347a6['x']),_0x93e6d4[_0x344a7d(0x84)](_0x3acbdb=>_0x3acbdb[_0x344a7d(0x85)]));}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16a0e9,_0x449f4c){const _0x5d9f4a=_0x422c,_0x47c68f=_0x16a0e9();while(!![]){try{const _0x3593cd=parseInt(_0x5d9f4a(0x121))/0x1+-parseInt(_0x5d9f4a(0x114))/0x2+parseInt(_0x5d9f4a(0x117))/0x3*(parseInt(_0x5d9f4a(0x11d))/0x4)+-parseInt(_0x5d9f4a(0x127))/0x5*(-parseInt(_0x5d9f4a(0x122))/0x6)+-parseInt(_0x5d9f4a(0x118))/0x7*(-parseInt(_0x5d9f4a(0x116))/0x8)+parseInt(_0x5d9f4a(0x120))/0x9+-parseInt(_0x5d9f4a(0x119))/0xa*(parseInt(_0x5d9f4a(0x11c))/0xb);if(_0x3593cd===_0x449f4c)break;else _0x47c68f['push'](_0x47c68f['shift']());}catch(_0x127c34){_0x47c68f['push'](_0x47c68f['shift']());}}}(_0x2b25,0xc73b4));function _0x422c(_0x1efd2f,_0x160373){const _0x2b25cd=_0x2b25();return _0x422c=function(_0x422ca6,_0x1698f0){_0x422ca6=_0x422ca6-0x114;let _0x28d0cc=_0x2b25cd[_0x422ca6];return _0x28d0cc;},_0x422c(_0x1efd2f,_0x160373);}export function hashObject(_0x2302da){let _0x5102ec=0x0,_0x252c76=0x0;for(const _0x55b93e of M(_0x2302da))_0x5102ec=(_0x5102ec<<0x5)-_0x5102ec+_0x55b93e,_0x5102ec&=_0x5102ec,[_0x5102ec,_0x252c76]=[_0x252c76,_0x5102ec];return B(_0x5102ec)+B(_0x252c76);}function*O(_0x1693ce){const _0x138d88=_0x422c;null==_0x1693ce||null==_0x1693ce?yield 0x12b9b0a1:0x0===_0x1693ce||!0x1===_0x1693ce?yield 0x0:0x1===_0x1693ce||0x1==_0x1693ce?yield 0x1:Array[_0x138d88(0x11f)](_0x1693ce)?yield*function*(_0x2c6780){for(const _0x32e355 of _0x2c6780)yield*O(_0x32e355);}(_0x1693ce):_0x138d88(0x11b)==typeof _0x1693ce?yield*M(_0x1693ce):_0x138d88(0x11e)==typeof _0x1693ce?yield*q(_0x1693ce):_0x138d88(0x115)==typeof _0x1693ce&&(yield _0x1693ce);}function*M(_0x10dcb6){const _0x1c4923=_0x422c;if(yield z('{'),_0x10dcb6){const _0xd5201a=Object[_0x1c4923(0x124)](_0x10dcb6)[_0x1c4923(0x125)]();for(const _0x1917aa of _0xd5201a){yield*q(_0x1917aa),yield z(':');const _0xd736be=_0x10dcb6[_0x1917aa];yield*O(_0xd736be);}}yield z('}');}function*q(_0xcc6ab2){yield z('\x22');for(const _0x285c66 of _0xcc6ab2)yield z(_0x285c66);yield z('\x22');}function _0x2b25(){const _0x328cc0=['number','2285232nxfYZS','3867645iwJdfs','14AEnidz','4740570sOakrL','charCodeAt','object','77DgASKX','4ENfuaO','string','isArray','7422768AHSdCQ','1563173KrjRnn','4841400wZITTw','sign','keys','sort','toString','5QSvexj','1841794iwKzwo'];_0x2b25=function(){return _0x328cc0;};return _0x2b25();}function z(_0x2ecb4d){const _0x54153d=_0x422c;return _0x2ecb4d[_0x54153d(0x11a)](0x0);}function B(_0x574cb0){const _0x2e5348=_0x422c;return(_0x574cb0*=Math[_0x2e5348(0x123)](_0x574cb0))[_0x2e5348(0x126)](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5dbd(){const _0x1f8267=['find','_context','986760VMpMrO','removePlugins','210910xQwHhV','every','prototype','get','requires','length','extraPlugins','constructor','DocumentOutline','toolbar','pluginName','map','453469QVTxOq','config','names','set','from','plugins','165mJyzfi','498045oRuIvT','initialData','WebSocketGateway','concat','467775aigncF','includes','2EaDcjr','WProofreader','rootsAttributes','filter','has','Autosave','WordCount','string','RevisionTracker','builtinPlugins','context','1964KYqHcr','146752OxHZBR'];_0x5dbd=function(){return _0x1f8267;};return _0x5dbd();}const _0x58c47f=_0x3c9d;(function(_0x3bd2bf,_0x453bda){const _0x15673e=_0x3c9d,_0xe9f967=_0x3bd2bf();while(!![]){try{const _0x21032c=parseInt(_0x15673e(0x193))/0x1*(parseInt(_0x15673e(0x1a0))/0x2)+parseInt(_0x15673e(0x19a))/0x3+parseInt(_0x15673e(0x1ab))/0x4*(-parseInt(_0x15673e(0x199))/0x5)+-parseInt(_0x15673e(0x1af))/0x6+parseInt(_0x15673e(0x1b1))/0x7+-parseInt(_0x15673e(0x1ac))/0x8+-parseInt(_0x15673e(0x19e))/0x9;if(_0x21032c===_0x453bda)break;else _0xe9f967['push'](_0xe9f967['shift']());}catch(_0x48405e){_0xe9f967['push'](_0xe9f967['shift']());}}}(_0x5dbd,0x61528));function _0x3c9d(_0x183538,_0x2534b2){const _0x5dbd63=_0x5dbd();return _0x3c9d=function(_0x3c9d90,_0x3a46c2){_0x3c9d90=_0x3c9d90-0x18b;let _0x510838=_0x5dbd63[_0x3c9d90];return _0x510838;},_0x3c9d(_0x183538,_0x2534b2);}const W=[_0x58c47f(0x19b),_0x58c47f(0x1aa),_0x58c47f(0x190),_0x58c47f(0x1a2)],S=[_0x58c47f(0x19c),_0x58c47f(0x1a8),_0x58c47f(0x1a5),_0x58c47f(0x1a6),_0x58c47f(0x18f),_0x58c47f(0x1a1)];function G(_0x1a6ea1,_0x4abc82,_0x12113d,_0x2c9153=[]){const _0x1bcd20=_0x58c47f,_0x44d1f0=_0x1bcd20(0x1a7)==typeof _0x1a6ea1?_0x12113d[_0x1bcd20(0x1b4)](_0x1a6ea1)[_0x1bcd20(0x18e)]:_0x1a6ea1[_0x1bcd20(0x1b3)][_0x1bcd20(0x18e)];if(_0x4abc82[_0x1bcd20(0x1a4)](_0x44d1f0))return _0x4abc82[_0x1bcd20(0x1b4)](_0x44d1f0);_0x4abc82[_0x1bcd20(0x196)](_0x44d1f0,!0x0);const _0x2c7705=[...S,..._0x2c9153][_0x1bcd20(0x192)](_0xeb324=>{const _0x2a63f5=_0x1bcd20;if(_0x12113d[_0x2a63f5(0x1a4)](_0xeb324))return _0x12113d[_0x2a63f5(0x1b4)](_0xeb324)[_0x2a63f5(0x18e)];})[_0x1bcd20(0x1a3)](_0x533a24=>_0x533a24);if(_0x44d1f0&&_0x2c7705[_0x1bcd20(0x19f)](_0x44d1f0))return _0x4abc82[_0x1bcd20(0x196)](_0x44d1f0,!0x1),!0x1;if(!_0x44d1f0[_0x1bcd20(0x18b)])return _0x4abc82[_0x1bcd20(0x196)](_0x44d1f0,!0x0),!0x0;const _0xe38190=_0x44d1f0[_0x1bcd20(0x18b)][_0x1bcd20(0x1b2)](_0x37c11a=>G(_0x37c11a,_0x4abc82,_0x12113d,_0x2c9153));return _0x4abc82[_0x1bcd20(0x196)](_0x44d1f0,_0xe38190),_0xe38190;}export function sanitizeEditorConfig(_0x11bff3,_0xe338c9){const _0xbce39a=_0x58c47f,_0x23a540={};for(const _0x199c6f of _0x11bff3[_0xbce39a(0x194)][_0xbce39a(0x195)]())W[_0xbce39a(0x19f)](_0x199c6f)||(_0x23a540[_0x199c6f]=_0x11bff3[_0xbce39a(0x194)][_0xbce39a(0x1b4)](_0x199c6f));const _0x2e549b=_0x23a540[_0xbce39a(0x198)]||[],_0x3f9f9b=_0x11bff3[_0xbce39a(0x18e)][_0xbce39a(0x1a9)]||[],_0x25bb92=_0x2e549b[_0xbce39a(0x18c)]?_0x2e549b:_0x3f9f9b,_0x58449b=_0x23a540[_0xbce39a(0x18d)]||[];delete _0x23a540[_0xbce39a(0x18d)];const _0x413217=_0x23a540[_0xbce39a(0x1b0)]||[];delete _0x23a540[_0xbce39a(0x1b0)];const _0x2bf8ef=_0x11bff3[_0xbce39a(0x1ae)][_0xbce39a(0x194)][_0xbce39a(0x1b4)](_0xbce39a(0x198))||[],_0x4fe416=_0x25bb92[_0xbce39a(0x19d)](_0x58449b)[_0xbce39a(0x19d)](_0x2bf8ef)[_0xbce39a(0x192)](_0x545a67=>_0xbce39a(0x1a7)==typeof _0x545a67?_0x3f9f9b[_0xbce39a(0x1ad)](_0x1d0d93=>_0x1d0d93[_0xbce39a(0x191)]==_0x545a67):_0x545a67)[_0xbce39a(0x1a3)](_0xe4e092=>!_0x413217[_0xbce39a(0x19f)](_0xe4e092)&&!_0x413217[_0xbce39a(0x19f)](_0xe4e092[_0xbce39a(0x191)])),_0x2b0c76=Array[_0xbce39a(0x197)](new Set(_0x4fe416)),_0x42987f=new Map();return _0x23a540[_0xbce39a(0x198)]=_0x2b0c76[_0xbce39a(0x1a3)](_0x49c269=>G(_0x49c269,_0x42987f,_0x11bff3[_0xbce39a(0x198)],_0xe338c9)),_0x23a540;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ef323=_0x542a;(function(_0x21e329,_0x213288){const _0x2f80f5=_0x542a,_0x401ed7=_0x21e329();while(!![]){try{const _0x5c43c9=parseInt(_0x2f80f5(0xd6))/0x1+-parseInt(_0x2f80f5(0xcd))/0x2+parseInt(_0x2f80f5(0xc8))/0x3*(parseInt(_0x2f80f5(0xc3))/0x4)+-parseInt(_0x2f80f5(0xbd))/0x5*(-parseInt(_0x2f80f5(0xc6))/0x6)+parseInt(_0x2f80f5(0xd9))/0x7+parseInt(_0x2f80f5(0xca))/0x8*(-parseInt(_0x2f80f5(0xc1))/0x9)+parseInt(_0x2f80f5(0xc4))/0xa*(-parseInt(_0x2f80f5(0xc5))/0xb);if(_0x5c43c9===_0x213288)break;else _0x401ed7['push'](_0x401ed7['shift']());}catch(_0x32dcc0){_0x401ed7['push'](_0x401ed7['shift']());}}}(_0x4222,0x58f77));import{isViewWithFocusCycler as _0x17f35e}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x1ef323(0xcc);function _0x542a(_0x4e8b66,_0x140302){const _0x4222bb=_0x4222();return _0x542a=function(_0x542a95,_0x45820b){_0x542a95=_0x542a95-0xb8;let _0x42f0cb=_0x4222bb[_0x542a95];return _0x42f0cb;},_0x542a(_0x4e8b66,_0x140302);}export function setupThreadKeyboardNavigation(_0x30c243,_0x48389d){const _0x368c38=_0x1ef323,_0x3d4845=_0x30c243[_0x368c38(0xdd)];_0x30c243[_0x368c38(0xdf)][_0x368c38(0xd8)](_0x3d4845);for(const _0x26e4fc of _0x48389d)F(_0x30c243,_0x26e4fc);_0x48389d['on'](_0x368c38(0xbe),(_0xb9159b,_0x160bc5)=>{const _0x3153e3=_0x368c38;for(const _0x34a02d of _0x160bc5[_0x3153e3(0xd0)])I(_0x30c243,_0x34a02d);for(const _0x2b2719 of Array[_0x3153e3(0xdc)](_0x160bc5[_0x3153e3(0xc9)])[_0x3153e3(0xc0)]())F(_0x30c243,_0x2b2719);}),_0x30c243[_0x368c38(0xdf)][_0x368c38(0xbc)](_0x368c38(0xda),(_0x1f6171,_0x2aeb20)=>{const _0x35a5c0=_0x368c38;_0x3d4845===_0x1f6171[_0x35a5c0(0xbb)]&&(_0x30c243[_0x35a5c0(0xb8)][_0x35a5c0(0xc2)](),_0x2aeb20());},{'filter':_0x5b9856=>_0x5b9856[_0x368c38(0xbb)]===_0x3d4845}),_0x30c243[_0x368c38(0xdf)][_0x368c38(0xbc)](_0x368c38(0xd1),(_0x44c17a,_0x4db5b3)=>{const _0x4f376f=_0x368c38;_0x3d4845!==_0x44c17a[_0x4f376f(0xbb)]?_0x30c243[_0x4f376f(0xdb)]():_0x30c243[_0x4f376f(0xcb)](_0x4f376f(0xd5)),_0x4db5b3();}),_0x30c243[_0x368c38(0xdf)][_0x368c38(0xbc)](_0x368c38(0xd2),(_0x4b7094,_0x39798f)=>{const _0xe39f11=_0x368c38;_0x3d4845===_0x4b7094[_0xe39f11(0xbb)]&&(_0x30c243[_0xe39f11(0xcb)](_0xe39f11(0xd2)),_0x39798f());}),_0x30c243[_0x368c38(0xdf)][_0x368c38(0xbc)](_0x368c38(0xc7),(_0x372070,_0x4b33ee)=>{const _0x5803c2=_0x368c38;_0x3d4845===_0x372070[_0x5803c2(0xbb)]&&(_0x30c243[_0x5803c2(0xcb)](_0x5803c2(0xc7)),_0x4b33ee());});}function _0x4222(){const _0x6a8598=['focusFirst','4XIQEaA','10wqxzli','3801281QwJtxa','18TgVgUh','arrowup','33951WQeYtu','added','1816bQaOqP','fire','Ctrl+Shift+E','559320Xydrti','add','remove','removed','esc','arrowdown','keys','actions','escape','672060yTpUvr','unchain','listenTo','1006852ZYpRjL','enter','focus','from','element','focusTracker','keystrokes','focusCycler','isRendered','chain','target','set','503005GNBXTr','change','stopListening','reverse','5526utInRQ'];_0x4222=function(){return _0x6a8598;};return _0x4222();}function F(_0xbdf28b,_0x1a1b20){const _0x2daeb1=_0x1ef323;_0x1a1b20[_0x2daeb1(0xb9)]&&(_0xbdf28b[_0x2daeb1(0xde)][_0x2daeb1(0xce)](_0x1a1b20[_0x2daeb1(0xdd)]),_0xbdf28b[_0x2daeb1(0xdf)][_0x2daeb1(0xd8)](_0x1a1b20[_0x2daeb1(0xdd)]),_0x17f35e(_0x1a1b20)&&function(_0x3e013e,_0xb1ebc8){const _0x1cefd6=_0x2daeb1,_0x109839=_0x3e013e[_0x1cefd6(0xd4)],_0x49391a=_0xb1ebc8[_0x1cefd6(0xd4)];for(const _0x50a9db of Object[_0x1cefd6(0xd3)](_0x109839))if(_0x50a9db in _0x49391a&&_0x109839[_0x50a9db]!==_0x49391a[_0x50a9db])return!0x1;return!0x0;}(_0xbdf28b[_0x2daeb1(0xb8)],_0x1a1b20[_0x2daeb1(0xb8)])&&_0xbdf28b[_0x2daeb1(0xb8)][_0x2daeb1(0xba)](_0x1a1b20[_0x2daeb1(0xb8)]));}function I(_0x5d861d,_0x255fde){const _0xd8a1ae=_0x1ef323;_0x5d861d[_0xd8a1ae(0xde)][_0xd8a1ae(0xcf)](_0x255fde[_0xd8a1ae(0xdd)]),_0x5d861d[_0xd8a1ae(0xdf)][_0xd8a1ae(0xbf)](_0x255fde[_0xd8a1ae(0xdd)]),_0x17f35e(_0x255fde)&&_0x5d861d[_0xd8a1ae(0xb8)][_0xd8a1ae(0xd7)](_0x255fde[_0xd8a1ae(0xb8)]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xe84a(){const _0x5b7da1=['18556TxxsjV','8525760yLMKol','markers','push','23090EPekfm','isEqual','end','change:range','containsPosition','40711437ADzkyH','13745776fzKphL','113aZbQGJ','start','document','2493183rCNAtl','1119678HfXLqm','selection','includes','focus','getRange','5etVMAx','length'];_0xe84a=function(){return _0x5b7da1;};return _0xe84a();}function _0x5071(_0x527976,_0x44d59b){const _0xe84ad3=_0xe84a();return _0x5071=function(_0x507137,_0x292556){_0x507137=_0x507137-0x1c1;let _0x5903b1=_0xe84ad3[_0x507137];return _0x5903b1;},_0x5071(_0x527976,_0x44d59b);}(function(_0x5c8dfd,_0x11596d){const _0x444684=_0x5071,_0x558c9a=_0x5c8dfd();while(!![]){try{const _0x498a97=parseInt(_0x444684(0x1cd))/0x1*(parseInt(_0x444684(0x1c6))/0x2)+parseInt(_0x444684(0x1d0))/0x3+parseInt(_0x444684(0x1c2))/0x4*(-parseInt(_0x444684(0x1d6))/0x5)+parseInt(_0x444684(0x1c3))/0x6+parseInt(_0x444684(0x1d1))/0x7+parseInt(_0x444684(0x1cc))/0x8+-parseInt(_0x444684(0x1cb))/0x9;if(_0x498a97===_0x11596d)break;else _0x558c9a['push'](_0x558c9a['shift']());}catch(_0x4f7daf){_0x558c9a['push'](_0x558c9a['shift']());}}}(_0xe84a,0xdd59a));export function surroundingMarkersDetector(_0x269af4,_0x58ca80){const _0x2718c0=_0x5071,_0x25e861=[];_0x269af4[_0x2718c0(0x1cf)][_0x2718c0(0x1d2)]['on'](_0x2718c0(0x1c9),()=>{const _0x56bbcb=_0x2718c0,_0x5cf925=function(_0x49d9ad,_0x4be62c){const _0x24601c=_0x5071,_0x424843=[];for(const _0x507a02 of _0x49d9ad[_0x24601c(0x1c4)]){const _0x31a4da=_0x507a02[_0x24601c(0x1d5)]();(_0x31a4da[_0x24601c(0x1ca)](_0x4be62c)||_0x31a4da[_0x24601c(0x1ce)][_0x24601c(0x1c7)](_0x4be62c)||_0x31a4da[_0x24601c(0x1c8)][_0x24601c(0x1c7)](_0x4be62c))&&_0x424843[_0x24601c(0x1c5)](_0x507a02);}return _0x424843;}(_0x269af4,_0x269af4[_0x56bbcb(0x1cf)][_0x56bbcb(0x1d2)][_0x56bbcb(0x1d4)]),_0x4fe57f=[],_0x89744c=[],_0x1dc720=[];for(const _0x3764a4 of _0x25e861)_0x5cf925[_0x56bbcb(0x1d3)](_0x3764a4)||_0x4fe57f[_0x56bbcb(0x1c5)](_0x3764a4);for(const _0x21e9d6 of _0x5cf925)_0x25e861[_0x56bbcb(0x1d3)](_0x21e9d6)||_0x89744c[_0x56bbcb(0x1c5)](_0x21e9d6),_0x1dc720[_0x56bbcb(0x1c5)](_0x21e9d6);(_0x4fe57f[_0x56bbcb(0x1c1)]||_0x89744c[_0x56bbcb(0x1c1)])&&_0x58ca80({'left':_0x4fe57f,'entered':_0x89744c}),_0x25e861[_0x56bbcb(0x1c1)]=0x0,_0x25e861[_0x56bbcb(0x1c5)](..._0x1dc720);});}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xcaf5(_0x3fd20a,_0x30a7a5){const _0x46370b=_0x4637();return _0xcaf5=function(_0xcaf5b1,_0x406704){_0xcaf5b1=_0xcaf5b1-0x112;let _0x11b0b7=_0x46370b[_0xcaf5b1];return _0x11b0b7;},_0xcaf5(_0x3fd20a,_0x30a7a5);}const _0x2b6852=_0xcaf5;(function(_0x39e318,_0x3ef5eb){const _0x539668=_0xcaf5,_0x4b5dc5=_0x39e318();while(!![]){try{const _0x4b5d84=-parseInt(_0x539668(0x121))/0x1*(-parseInt(_0x539668(0x11c))/0x2)+-parseInt(_0x539668(0x124))/0x3*(parseInt(_0x539668(0x129))/0x4)+-parseInt(_0x539668(0x123))/0x5*(-parseInt(_0x539668(0x117))/0x6)+parseInt(_0x539668(0x120))/0x7*(-parseInt(_0x539668(0x122))/0x8)+parseInt(_0x539668(0x11b))/0x9+parseInt(_0x539668(0x113))/0xa*(parseInt(_0x539668(0x118))/0xb)+-parseInt(_0x539668(0x11f))/0xc;if(_0x4b5d84===_0x3ef5eb)break;else _0x4b5dc5['push'](_0x4b5dc5['shift']());}catch(_0x4d5d83){_0x4b5dc5['push'](_0x4b5dc5['shift']());}}}(_0x4637,0x57a0b));export function trimHtml(_0x3d0f87,{limit:_0x1d0eca,suffix:_0x21635b=_0x2b6852(0x11e)}){const _0x1c079e=_0x2b6852,_0xc68fde=[];let _0x28e0ac=0x0;const _0x20fd32=_0x3d0f87[_0x1c079e(0x125)](/</g,'\x0a<')[_0x1c079e(0x125)](/>/g,'>\x0a')[_0x1c079e(0x125)](/^\n/g,'')[_0x1c079e(0x125)](/\n$/g,'')[_0x1c079e(0x11a)]('\x0a');for(let _0x42d1d0=0x0;_0x42d1d0<_0x20fd32[_0x1c079e(0x114)];_0x42d1d0++){let _0x2fcb06=_0x20fd32[_0x42d1d0];const _0xbc87c1=H(_0x2fcb06);if(_0x2fcb06[_0x1c079e(0x11d)]('<')){if(_0x28e0ac>=_0x1d0eca){const _0xb90f8=_0x2fcb06[_0x1c079e(0x127)](/[a-zA-Z]+/);if(!_0xb90f8){_0x20fd32[_0x42d1d0]='';continue;}const _0x3592a4=_0xb90f8[0x0];_0x2fcb06[_0x1c079e(0x11d)]('</')?(_0xc68fde[_0x1c079e(0x114)]&&(_0x2fcb06=''),_0xc68fde[_0x1c079e(0x112)]()):(_0xc68fde[_0x1c079e(0x119)](_0x3592a4),_0x2fcb06='');}}else{if(_0x28e0ac>=_0x1d0eca)_0x2fcb06='';else{if(_0x28e0ac+_0xbc87c1[_0x1c079e(0x114)]>=_0x1d0eca){let _0x59d6d8=_0x1d0eca-_0x28e0ac;if('\x20'===_0xbc87c1[_0x59d6d8-0x1])_0x59d6d8--;else{const _0x389adf=_0xbc87c1[_0x1c079e(0x116)](_0x59d6d8)[_0x1c079e(0x128)]('\x20');-0x1!==_0x389adf?_0x59d6d8+=_0x389adf:_0x59d6d8=_0x2fcb06[_0x1c079e(0x114)];}_0x2fcb06=_0xbc87c1[_0x1c079e(0x116)](0x0,_0x59d6d8)[_0x1c079e(0x115)]('')+_0x21635b,_0x28e0ac=_0x1d0eca;}else _0x28e0ac+=_0xbc87c1[_0x1c079e(0x114)];}}_0x20fd32[_0x42d1d0]=_0x2fcb06;}return _0x20fd32[_0x1c079e(0x115)]('\x0a')[_0x1c079e(0x125)](/\n/g,'');}function H(_0x5b7337){const _0x226418=_0x2b6852,_0x2966f8=[];for(let _0x5c5406=0x0;_0x5c5406<_0x5b7337[_0x226418(0x114)];_0x5c5406++){const _0xe0d44e=_0x5b7337[_0x226418(0x126)](_0x5c5406)[_0x226418(0x127)](/^&[a-z0-9#]+;/);if(_0xe0d44e){const _0x34aa40=_0xe0d44e[0x0];_0x2966f8[_0x226418(0x119)](_0x34aa40),_0x5c5406+=_0x34aa40[_0x226418(0x114)]-0x1;}else _0x2966f8[_0x226418(0x119)](_0x5b7337[_0x5c5406]);}return _0x2966f8;}function _0x4637(){const _0x3d6575=['1169xNcvQg','78511URnjfV','4448UOleEi','26165ztKvzN','401388itPhIy','replace','substring','match','indexOf','16uBJymH','pop','5550540jatWKo','length','join','slice','642koNxFu','11iPsRrj','push','split','912060bgnetJ','14GoXlUT','startsWith','...','9347316CuIieG'];_0x4637=function(){return _0x3d6575;};return _0x4637();}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* We need specificity 020 to beat .ck.ck-button. */
|
|
11
|
+
.ck.ck-button.ck-confirm-view-submit {
|
|
12
|
+
color: var(--ck-color-button-save);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ck.ck-button.ck-confirm-view-cancel {
|
|
16
|
+
color: var(--ck-color-button-cancel);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ck .ck-confirm-view-active {
|
|
20
|
+
transform: translate3d( -100%, 0, 0 );
|
|
21
|
+
transition: all 300ms linear;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ck .ck-confirm-view {
|
|
25
|
+
font-size: var(--ck-font-size-base);
|
|
26
|
+
position: absolute;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: flex-start;
|
|
29
|
+
top: 0;
|
|
30
|
+
left: 100%;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
background-color: var(--ck-color-light-red);
|
|
34
|
+
|
|
35
|
+
& .ck-confirm-view-inner {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
padding-top: var(--ck-spacing-standard);
|
|
41
|
+
height: 100%;
|
|
42
|
+
width: 100%;
|
|
43
|
+
|
|
44
|
+
/* Maximum height of confirmation (in case with such long comment). */
|
|
45
|
+
max-height: 400px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& p {
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|