@ckeditor/ckeditor5-collaboration-core 42.0.2-alpha.1 → 42.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x251fb0=_0x3ea5;function _0x5992(){const _0x15b209=['371988PKtLtN','has','2976120tmqNzl','comment:admin','Permissions','CommentsOnly','no-permissions','collaboration.channelId','commands','config','150UdSJlV','find','plugins','clearForceDisabled','CommentsRepository','disableReadOnlyMode','isEnabled','comment:modify_all','15003IhGttU','get','enableReadOnlyMode','48097yGjWdF','document:write','6887832cZqvjd','forceDisabled','addCommentThread','editors','pluginName','3173472ulqEVW','noPermissions','298404FRSjkI','permissions-set-permissions-invalid-channel-id','comment:write','2460XPYxkC','includes','2stkthc','context','setPermissions'];_0x5992=function(){return _0x15b209;};return _0x5992();}(function(_0x2e10f7,_0x57a17b){const _0x2d308c=_0x3ea5,_0x511879=_0x2e10f7();while(!![]){try{const _0x1d1f36=-parseInt(_0x2d308c(0x201))/0x1+-parseInt(_0x2d308c(0x206))/0x2*(parseInt(_0x2d308c(0x209))/0x3)+parseInt(_0x2d308c(0x1fa))/0x4+-parseInt(_0x2d308c(0x1e5))/0x5+-parseInt(_0x2d308c(0x1ed))/0x6*(-parseInt(_0x2d308c(0x1f8))/0x7)+parseInt(_0x2d308c(0x1ff))/0x8+-parseInt(_0x2d308c(0x1f5))/0x9*(parseInt(_0x2d308c(0x204))/0xa);if(_0x1d1f36===_0x57a17b)break;else _0x511879['push'](_0x511879['shift']());}catch(_0x422328){_0x511879['push'](_0x511879['shift']());}}}(_0x5992,0xd29f7));import{ContextPlugin as _0x5010f9,Editor as _0x50afbf}from'ckeditor5/src/core.js';function _0x3ea5(_0x3ff2a0,_0x2c930c){const _0x599214=_0x5992();return _0x3ea5=function(_0x3ea58d,_0x5df8e6){_0x3ea58d=_0x3ea58d-0x1e5;let _0x55fd7d=_0x599214[_0x3ea58d];return _0x55fd7d;},_0x3ea5(_0x3ff2a0,_0x2c930c);}import{CKEditorError as _0x1ed996}from'ckeditor5/src/utils.js';export default class n extends _0x5010f9{static get[_0x251fb0(0x1fe)](){const _0x174ab2=_0x251fb0;return _0x174ab2(0x1e7);}[_0x251fb0(0x208)](_0x1a4f54,_0x22941c){const _0x2e6c40=_0x251fb0;let _0x49e9f;if(_0x22941c||(_0x22941c=this[_0x2e6c40(0x207)][_0x2e6c40(0x1ec)][_0x2e6c40(0x1f6)](_0x2e6c40(0x1ea))),this[_0x2e6c40(0x207)][_0x2e6c40(0x1ec)][_0x2e6c40(0x1f6)](_0x2e6c40(0x1ea))==_0x22941c?_0x49e9f=this[_0x2e6c40(0x207)]:_0x2e6c40(0x1fd)in this[_0x2e6c40(0x207)]&&this[_0x2e6c40(0x207)][_0x2e6c40(0x1fd)]&&(_0x49e9f=this[_0x2e6c40(0x207)][_0x2e6c40(0x1fd)][_0x2e6c40(0x1ee)](_0x18e22e=>_0x18e22e[_0x2e6c40(0x1ec)][_0x2e6c40(0x1f6)](_0x2e6c40(0x1ea))==_0x22941c)),!_0x49e9f)throw new _0x1ed996(_0x2e6c40(0x202),null);const _0x42d9c8=_0x49e9f[_0x2e6c40(0x1ef)],_0x41ebde=_0x42d9c8[_0x2e6c40(0x20a)](_0x2e6c40(0x1f1))?_0x42d9c8[_0x2e6c40(0x1f6)](_0x2e6c40(0x1f1)):void 0x0,_0xe9604e=_0x42d9c8[_0x2e6c40(0x20a)](_0x2e6c40(0x1e8))&&_0x42d9c8[_0x2e6c40(0x1f6)](_0x2e6c40(0x1e8)),_0x3d5c73=_0x1a4f54[_0x2e6c40(0x205)](_0x2e6c40(0x1f9)),_0x2316c6=_0x1a4f54[_0x2e6c40(0x205)](_0x2e6c40(0x1f4)),_0x148fdd=_0x1a4f54[_0x2e6c40(0x205)](_0x2e6c40(0x1e6)),_0x568387=_0x1a4f54[_0x2e6c40(0x205)](_0x2e6c40(0x203)),_0x166be3=_0x568387||_0x148fdd,_0x28d971=_0x166be3||_0x2316c6,_0x3c81a2=_0x3d5c73||_0x166be3;(_0xe9604e&&(_0xe9604e[_0x2e6c40(0x1f3)]=!_0x3d5c73&&_0x28d971),_0x49e9f instanceof _0x50afbf)&&(!(_0x3d5c73||_0x28d971&&_0x41ebde)?_0x49e9f[_0x2e6c40(0x1f7)](_0x2e6c40(0x1e9)):_0x49e9f[_0x2e6c40(0x1f2)](_0x2e6c40(0x1e9)));if(_0x41ebde){_0x41ebde[_0x2e6c40(0x208)]({'admin':_0x148fdd,'modifyAll':_0x2316c6,'write':_0x568387,'resolve':_0x3c81a2},_0x22941c);const _0x2eadcc=_0x49e9f instanceof _0x50afbf&&_0x49e9f[_0x2e6c40(0x1eb)][_0x2e6c40(0x1f6)](_0x2e6c40(0x1fc));_0x2eadcc&&(_0x166be3?_0x2eadcc[_0x2e6c40(0x1f0)](_0x2e6c40(0x200)):_0x2eadcc[_0x2e6c40(0x1fb)](_0x2e6c40(0x200)));}}}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x12b850,_0x29078f){var _0x145ea5=_0x4892,_0xb0e70e=_0x12b850();while(!![]){try{var _0x4c2db7=parseInt(_0x145ea5(0x14e))/0x1*(-parseInt(_0x145ea5(0x149))/0x2)+parseInt(_0x145ea5(0x14c))/0x3+-parseInt(_0x145ea5(0x151))/0x4*(-parseInt(_0x145ea5(0x153))/0x5)+-parseInt(_0x145ea5(0x152))/0x6+-parseInt(_0x145ea5(0x14f))/0x7+parseInt(_0x145ea5(0x14d))/0x8*(-parseInt(_0x145ea5(0x14b))/0x9)+parseInt(_0x145ea5(0x150))/0xa*(parseInt(_0x145ea5(0x14a))/0xb);if(_0x4c2db7===_0x29078f)break;else _0xb0e70e['push'](_0xb0e70e['shift']());}catch(_0x138da4){_0xb0e70e['push'](_0xb0e70e['shift']());}}}(_0x1982,0xe29d2));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';function _0x1982(){var _0x2e4287=['1848285BJYlge','1682400lKfOlo','56RZRUlp','2RqmYud','9692508QEuSMG','10900WfzqeE','150036mrzfZU','9180384YhPDhe','145EabEMt','1254558bPFCQg','49313DBNmOi'];_0x1982=function(){return _0x2e4287;};return _0x1982();}import'../theme/integrations/pagebreak.css';function _0x4892(_0x52174e,_0x1665a8){var _0x1982fc=_0x1982();return _0x4892=function(_0x489219,_0x24ea5c){_0x489219=_0x489219-0x149;var _0x3d8757=_0x1982fc[_0x489219];return _0x3d8757;},_0x4892(_0x52174e,_0x1665a8);}import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x3634ee,_0x25141d){const _0x4c8714=_0x7530,_0x1e9e9f=_0x3634ee();while(!![]){try{const _0x110178=parseInt(_0x4c8714(0xa7))/0x1*(parseInt(_0x4c8714(0xc0))/0x2)+parseInt(_0x4c8714(0xba))/0x3+-parseInt(_0x4c8714(0xaa))/0x4*(-parseInt(_0x4c8714(0xb2))/0x5)+parseInt(_0x4c8714(0xa4))/0x6*(-parseInt(_0x4c8714(0xb4))/0x7)+parseInt(_0x4c8714(0xb3))/0x8+-parseInt(_0x4c8714(0xc3))/0x9+parseInt(_0x4c8714(0xa9))/0xa*(-parseInt(_0x4c8714(0xa6))/0xb);if(_0x110178===_0x25141d)break;else _0x1e9e9f['push'](_0x1e9e9f['shift']());}catch(_0xe0e0cc){_0x1e9e9f['push'](_0x1e9e9f['shift']());}}}(_0x2cfe,0xa790f));function _0x7530(_0x50471b,_0x464fb3){const _0x2cfe80=_0x2cfe();return _0x7530=function(_0x7530a2,_0x5a5599){_0x7530a2=_0x7530a2-0xa4;let _0x44387b=_0x2cfe80[_0x7530a2];return _0x44387b;},_0x7530(_0x50471b,_0x464fb3);}function _0x2cfe(){const _0x265f49=['isMe','2oUoZdL','extendTemplate','ck-user_me','6995700bBEPCn','6ylfPBB','ck-user','132gqcYsp','923411RKuflK','ck\x20ck-user__name','1525520iciqBN','262636HWjfxw','ck\x20ck-user__name\x20ck-user__name--hidden','push','ck-user__avatar','name','ck-user__img','notificationView','initials','100TIGVld','8019568GjErhi','2885848BwZAHQ','isAnonymous','content','ck-user__anonymous','ck-user__icon','setTemplate','1402506SimyGo','div','ck-user__notification','avatar','url(\x27'];_0x2cfe=function(){return _0x265f49;};return _0x2cfe();}import{View as _0x3ce4ad,IconView as _0x2dccc6}from'ckeditor5/src/ui.js';import _0x5a200d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x3ce4ad{constructor(_0xc88a4,_0x5745cc,_0x5f0cc3){const _0x5990de=_0x7530;super(_0xc88a4),this[_0x5990de(0xae)]=_0x5745cc[_0x5990de(0xae)],this[_0x5990de(0xb0)]=null;const _0x3dd5aa=['ck',_0x5990de(0xa5)],_0x34f870=['ck',_0x5990de(0xaf)];if(_0x5745cc[_0x5990de(0xb5)]&&_0x34f870[_0x5990de(0xac)](_0x5990de(0xb7)),!_0x5745cc[_0x5990de(0xb5)]&&_0x5745cc[_0x5990de(0xbf)]&&_0x3dd5aa[_0x5990de(0xac)](_0x5990de(0xc2)),_0x5745cc[_0x5990de(0xbd)]&&_0x34f870[_0x5990de(0xac)](_0x5990de(0xad)),_0x5f0cc3){const _0xe87d0d=new _0x2dccc6();_0xe87d0d[_0x5990de(0xc1)]({'attributes':{'class':[_0x5990de(0xb8)]}}),_0xe87d0d[_0x5990de(0xb6)]=_0x5a200d,this[_0x5990de(0xb0)]={'tag':_0x5990de(0xbb),'attributes':{'class':['ck',_0x5990de(0xbc)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5f0cc3},'children':[_0xe87d0d]};}const _0x2c3faa=[{'tag':_0x5990de(0xbb),'attributes':{'class':_0x34f870,'style':{'background-image':_0x5745cc[_0x5990de(0xbd)]?_0x5990de(0xbe)+_0x5745cc[_0x5990de(0xbd)]+'\x27)':''}}},{'tag':_0x5990de(0xbb),'attributes':{'class':_0x5745cc[_0x5990de(0xbd)]?_0x5990de(0xab):_0x5990de(0xa8)},'children':[{'text':_0x5745cc[_0x5990de(0xb1)]}]}];this[_0x5990de(0xb0)]&&_0x2c3faa[_0x5990de(0xac)](this[_0x5990de(0xb0)]),this[_0x5990de(0xb9)]({'tag':_0x5990de(0xbb),'attributes':{'class':_0x3dd5aa,'data-user-id':_0x5745cc['id']},'children':_0x2c3faa});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x246774=_0x11e6;(function(_0x1ff864,_0x4ede07){const _0x428026=_0x11e6,_0x2a1926=_0x1ff864();while(!![]){try{const _0x2d241e=-parseInt(_0x428026(0x176))/0x1+parseInt(_0x428026(0x198))/0x2*(parseInt(_0x428026(0x17a))/0x3)+parseInt(_0x428026(0x16f))/0x4+-parseInt(_0x428026(0x16d))/0x5+parseInt(_0x428026(0x189))/0x6*(-parseInt(_0x428026(0x179))/0x7)+parseInt(_0x428026(0x177))/0x8+parseInt(_0x428026(0x194))/0x9*(-parseInt(_0x428026(0x191))/0xa);if(_0x2d241e===_0x4ede07)break;else _0x2a1926['push'](_0x2a1926['shift']());}catch(_0x2061d1){_0x2a1926['push'](_0x2a1926['shift']());}}}(_0xe9bd,0x3da14));import{ContextPlugin as _0x3b1d38}from'ckeditor5/src/core.js';import{Collection as _0x4b3b9a,CKEditorError as _0xd4b422}from'ckeditor5/src/utils.js';import _0x580fa7 from'./permissions.js';import{getTranslation as _0x4b4e8a}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x3b1d38{static get[_0x246774(0x1a5)](){const _0x55fcbb=_0x246774;return _0x55fcbb(0x170);}static get[_0x246774(0x165)](){return[_0x580fa7];}constructor(_0x111630){const _0x8227eb=_0x246774;super(_0x111630),this[_0x8227eb(0x1aa)][_0x8227eb(0x1ab)][_0x8227eb(0x16c)](_0x8227eb(0x172),_0x8227eb(0x184)),this[_0x8227eb(0x1aa)][_0x8227eb(0x1ab)][_0x8227eb(0x16c)](_0x8227eb(0x1a3),0x8),this[_0x8227eb(0x1ac)]=new _0x4b3b9a(),this[_0x8227eb(0x16b)]=_0x111630[_0x8227eb(0x174)],this[_0x8227eb(0x1ad)]=null,this[_0x8227eb(0x1a8)]=0x0,this[_0x8227eb(0x1a2)]=null,this[_0x8227eb(0x175)](_0x8227eb(0x181));}[_0x246774(0x18f)](){const _0x41b1b8=_0x246774,_0x4790e7=this[_0x41b1b8(0x1aa)];this[_0x41b1b8(0x17e)]=_0x4790e7[_0x41b1b8(0x1ab)][_0x41b1b8(0x19f)](_0x41b1b8(0x17e));const _0x2bc28f=[_0x41b1b8(0x186),_0x41b1b8(0x195),_0x41b1b8(0x188),_0x41b1b8(0x178),_0x41b1b8(0x160),_0x41b1b8(0x185)];this[_0x41b1b8(0x1ad)]=setInterval(()=>{const _0x141404=_0x41b1b8;let _0x2727ae;for(const _0x1bc42f in _0x4790e7){const _0x58626a=_0x4790e7[_0x1bc42f];if(_0x2bc28f[_0x141404(0x196)](_0x58626a)){delete _0x4790e7[_0x1bc42f],_0x2727ae=_0x58626a;break;}}if(_0x141404(0x195)===_0x2727ae)throw clearInterval(this[_0x141404(0x1ad)]),new _0xd4b422(_0x141404(0x187),null);if(_0x141404(0x186)===_0x2727ae&&console[_0x141404(0x182)](_0x141404(0x1a1)),_0x141404(0x178)===_0x2727ae)throw clearInterval(this[_0x141404(0x1ad)]),new _0xd4b422(_0x141404(0x18b),null);if(_0x141404(0x160)===_0x2727ae)throw clearInterval(this[_0x141404(0x1ad)]),new _0xd4b422(_0x141404(0x1a0),null);if(_0x141404(0x185)===_0x2727ae)throw clearInterval(this[_0x141404(0x1ad)]),new _0xd4b422(_0x141404(0x1a7),null);_0x141404(0x188)===_0x2727ae&&clearInterval(this[_0x141404(0x1ad)]);},0x3e8),this[_0x41b1b8(0x19e)]();}get['me'](){const _0x4c042c=_0x246774;return null==this[_0x4c042c(0x1a2)]?null:this[_0x4c042c(0x16a)](this[_0x4c042c(0x1a2)]);}[_0x246774(0x19c)]({id:_0x14f05f,name:_0x2baf74,..._0x4651be}){const _0xa8cbf5=_0x246774;if(!_0x14f05f||_0xa8cbf5(0x19a)!=typeof _0x14f05f)throw new _0xd4b422(_0xa8cbf5(0x1a9));if(this[_0xa8cbf5(0x1ac)][_0xa8cbf5(0x193)](_0x14f05f))throw new _0xd4b422(_0xa8cbf5(0x18c),null,{'id':_0x14f05f});const _0x2f2d01={..._0x4651be,'id':_0x14f05f,'name':a(this[_0xa8cbf5(0x16b)],_0x2baf74),'color':this[_0xa8cbf5(0x17b)]()};_0x2f2d01[_0xa8cbf5(0x19b)]=a(this[_0xa8cbf5(0x16b)],_0x2f2d01[_0xa8cbf5(0x19b)]);const _0x3ce259=new User(_0x2f2d01);return this[_0xa8cbf5(0x1ac)][_0xa8cbf5(0x180)](_0x3ce259),_0x3ce259;}[_0x246774(0x16a)](_0x417476){const _0x1c6479=_0x246774;return this[_0x1c6479(0x1ac)][_0x1c6479(0x19f)](_0x417476);}[_0x246774(0x16e)](){const _0x49b438=_0x246774,_0x4f9e7a=this[_0x49b438(0x1aa)][_0x49b438(0x1ab)][_0x49b438(0x19f)](_0x49b438(0x172));this[_0x49b438(0x1a2)]||this[_0x49b438(0x183)](_0x4f9e7a);}[_0x246774(0x183)](_0x35d774){const _0x405873=_0x246774;if(this[_0x405873(0x1a2)])throw new _0xd4b422(_0x405873(0x169),null);const _0x2b91c2=this[_0x405873(0x16a)](_0x35d774);if(!_0x2b91c2)throw new _0xd4b422(_0x405873(0x17f),null);this[_0x405873(0x1a2)]=_0x35d774,_0x2b91c2[_0x405873(0x161)]=!0x0;}[_0x246774(0x181)](){return this['me'];}[_0x246774(0x171)](){const _0x27d86d=_0x246774;super[_0x27d86d(0x171)](),clearInterval(this[_0x27d86d(0x1ad)]);}[_0x246774(0x17b)](){const _0x5830d7=_0x246774,_0x98e191=this[_0x5830d7(0x1aa)][_0x5830d7(0x1ab)][_0x5830d7(0x19f)](_0x5830d7(0x1a3));return this[_0x5830d7(0x1a8)]>=_0x98e191&&(this[_0x5830d7(0x1a8)]=0x0),new u(this[_0x5830d7(0x1a8)]++);}[_0x246774(0x19e)](){const _0x4d2432=_0x246774,_0xe3d210=this[_0x4d2432(0x1aa)][_0x4d2432(0x1ab)][_0x4d2432(0x19f)](_0x4d2432(0x172));this[_0x4d2432(0x19c)]({'id':_0xe3d210,'name':_0x4b4e8a(this[_0x4d2432(0x16b)],_0x4d2432(0x199))})[_0x4d2432(0x173)]=!0x0;}}export class User{constructor(_0x59ca01){const _0x3865b9=_0x246774;this['id']=_0x59ca01['id'],this[_0x3865b9(0x163)]=_0x59ca01[_0x3865b9(0x163)],this[_0x3865b9(0x19b)]=_0x59ca01[_0x3865b9(0x19b)],this[_0x3865b9(0x167)]=_0x59ca01[_0x3865b9(0x167)],this[_0x3865b9(0x173)]=!0x1,this[_0x3865b9(0x161)]=!0x1;}get[_0x246774(0x1a6)](){const _0x44353c=_0x246774;return this[_0x44353c(0x173)];}get[_0x246774(0x18d)](){const _0x567efd=_0x246774;return this[_0x567efd(0x161)];}get[_0x246774(0x197)](){const _0x36f7e1=_0x246774,_0x1cde9f=this[_0x36f7e1(0x19b)][_0x36f7e1(0x164)]('\x20');return 0x1===_0x1cde9f[_0x36f7e1(0x17c)]?this[_0x36f7e1(0x17d)](_0x1cde9f[0x0]):this[_0x36f7e1(0x17d)](_0x1cde9f[0x0])+this[_0x36f7e1(0x17d)](_0x1cde9f[_0x1cde9f[_0x36f7e1(0x17c)]-0x1]);}[_0x246774(0x17d)](_0x1dd26b){const _0x233e13=_0x246774;return _0x1dd26b[_0x233e13(0x18e)](0x0)[_0x233e13(0x1a4)]();}}function _0xe9bd(){const _0x1e42cb=['836948ykdUZn','Users','destroy','users.anonymousUserId','_isAnonymous','locale','decorate','175004qSBGFH','1658776yowJxn','licenseKeyTrialLimit:operations','7FmAwgF','7851JOZJoh','_getNextColor','length','_getInitial','licenseKey','users-me-missing-user','add','getOperationAuthor','info','defineMe','anonymous-user','licenseKeyTrialLimit:revisions','licenseKeyTrial','invalid-license-key','licenseKeyValid','1319262lWYoDw','getBackgroundColorClass','trial-license-key-reached-limit-changes','users-add-duplicated-id','isMe','charAt','init','getSelectionClass','90bSjUZs','ck-user__marker--','has','31734CGoWeb','licenseKeyInvalid','includes','initials','276gGnFbm','Anonymous','string','name','addUser','ck-user__bg-color--','_addAnonymousUser','get','trial-license-key-reached-limit-time','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','_myId','users.colorsCount','toUpperCase','pluginName','isAnonymous','trial-license-key-reached-limit-revisions','_lastColor','users-add-invalid-id','context','config','users','_licenseKeyCheckInterval','ck-user__selection--','licenseKeyTrialLimit:time','_isMe','_id','color','split','requires','trim','avatar','getMarkerClass','users-me-already-defined','getUser','_locale','define','493395HDkoYQ','useAnonymousUser'];_0xe9bd=function(){return _0x1e42cb;};return _0xe9bd();}function a(_0x5ad5f9,_0x201e95=''){const _0x1c0bd4=_0x246774;return''==(_0x201e95=_0x201e95[_0x1c0bd4(0x166)]())?_0x4b4e8a(_0x5ad5f9,_0x1c0bd4(0x199)):_0x201e95;}function _0x11e6(_0x2adc0e,_0x39d3b8){const _0xe9bde4=_0xe9bd();return _0x11e6=function(_0x11e667,_0x26101c){_0x11e667=_0x11e667-0x160;let _0x1696b=_0xe9bde4[_0x11e667];return _0x1696b;},_0x11e6(_0x2adc0e,_0x39d3b8);}class u{constructor(_0x50f820){const _0x300b44=_0x246774;this[_0x300b44(0x162)]=_0x50f820;}[_0x246774(0x18a)](){const _0x2d3478=_0x246774;return _0x2d3478(0x19d)+this[_0x2d3478(0x162)];}[_0x246774(0x190)](){const _0x30ae15=_0x246774;return _0x30ae15(0x1ae)+this[_0x30ae15(0x162)];}[_0x246774(0x168)](){const _0x551733=_0x246774;return _0x551733(0x192)+this[_0x551733(0x162)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x5b61d0,_0x5da1a3){const t=_0x5b61d0['t'];switch(_0x5da1a3){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
|
-
|
23
|
+
(function(_0x3987c1,_0x201e75){var _0x46cd7a=_0x2509,_0x4efbb6=_0x3987c1();while(!![]){try{var _0x1f66d0=parseInt(_0x46cd7a(0xa7))/0x1*(parseInt(_0x46cd7a(0xb8))/0x2)+parseInt(_0x46cd7a(0xb3))/0x3*(-parseInt(_0x46cd7a(0xa6))/0x4)+parseInt(_0x46cd7a(0xa5))/0x5+-parseInt(_0x46cd7a(0xb1))/0x6+-parseInt(_0x46cd7a(0xa4))/0x7+parseInt(_0x46cd7a(0xa9))/0x8+parseInt(_0x46cd7a(0xaf))/0x9*(parseInt(_0x46cd7a(0xac))/0xa);if(_0x1f66d0===_0x201e75)break;else _0x4efbb6['push'](_0x4efbb6['shift']());}catch(_0x3d2a00){_0x4efbb6['push'](_0x4efbb6['shift']());}}}(_0x454f,0x56662));import _0x159e5a from'./confirmview.js';export default function m(_0xe4771d){var _0x397094=_0x2509;return class extends _0xe4771d{[_0x397094(0xb5)](_0x156131,_0x5a3766){var _0x318b17=_0x397094;return this[_0x318b17(0xbd)]=new _0x159e5a(this[_0x318b17(0xb9)]),this[_0x318b17(0xbd)][_0x318b17(0xa2)](),this[_0x318b17(0xbd)][_0x318b17(0xa3)]=_0x156131,this[_0x318b17(0xbd)][_0x318b17(0xae)](_0x318b17(0xb7),()=>{var _0x317f9d=_0x318b17;this[_0x317f9d(0xbc)]();}),this[_0x318b17(0xbd)][_0x318b17(0xae)](_0x318b17(0xa8),()=>{var _0x15edf4=_0x318b17;this[_0x15edf4(0xbc)]();}),_0x5a3766[_0x318b17(0xa1)](this[_0x318b17(0xbd)][_0x318b17(0xab)]),this[_0x318b17(0xb4)](this[_0x318b17(0xbd)]),this[_0x318b17(0xab)][_0x318b17(0xb6)](),this[_0x318b17(0xb2)](_0x318b17(0xbe),!0x0),new Promise(_0x479fce=>this[_0x318b17(0xbd)]['on'](_0x318b17(0xa8),_0x479fce));}[_0x397094(0xaa)](){var _0x3cb366=_0x397094;this[_0x3cb366(0xbe)]&&this[_0x3cb366(0xbd)][_0x3cb366(0xbb)](_0x3cb366(0xb7));}[_0x397094(0xbc)](){var _0x5f16e7=_0x397094;this[_0x5f16e7(0xab)]&&this[_0x5f16e7(0xbd)]&&this[_0x5f16e7(0xbd)][_0x5f16e7(0xab)]&&(this[_0x5f16e7(0xab)][_0x5f16e7(0xb6)](),this[_0x5f16e7(0xbd)][_0x5f16e7(0xab)][_0x5f16e7(0xb0)](),this[_0x5f16e7(0xba)](this[_0x5f16e7(0xbd)]),this[_0x5f16e7(0xbe)]=!0x1,this[_0x5f16e7(0xbd)][_0x5f16e7(0xad)](),this[_0x5f16e7(0xbd)]=void 0x0);}};}function _0x2509(_0x5e5a20,_0x53a68f){var _0x454f04=_0x454f();return _0x2509=function(_0x250987,_0x9d3d7d){_0x250987=_0x250987-0xa1;var _0x29d53d=_0x454f04[_0x250987];return _0x29d53d;},_0x2509(_0x5e5a20,_0x53a68f);}function _0x454f(){var _0x13fed0=['379438VEWpvD','locale','deregisterChild','fire','_removeConfirm','confirmView','isConfirm','appendChild','render','message','867426fnIrbW','485610xjzJOz','112anxZDK','1IyaQIk','submit','2047360JcNdsU','cancelConfirm','element','730DGhHyR','destroy','once','147717TuVZaC','remove','3364500pCNftv','set','75252zgUxLj','registerChild','showConfirm','focus','cancel'];_0x454f=function(){return _0x13fed0;};return _0x454f();}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x4228(_0x50d964,_0x26a66b){const _0x2d3824=_0x2d38();return _0x4228=function(_0x4228fb,_0x595045){_0x4228fb=_0x4228fb-0x154;let _0x5459ca=_0x2d3824[_0x4228fb];return _0x5459ca;},_0x4228(_0x50d964,_0x26a66b);}function _0x2d38(){const _0x3f803b=['219664YtwEKH','submit','8kbzUld','541719kdpiXv','execute','cancel','3518942oKQQRj','Are\x20you\x20sure?','bindTemplate','setTemplate','set','1115nEKkpY','ck-thread__remove-confirm','message','20327150SkeGxx','submitView','label','3139338VecSeb','div','ck-thread__remove-confirm-','cancelView','fire','icon','_createButtonView','8hSGuGw','ck-thread__remove-confirm-actions','check','extendTemplate','2181624zygZoX','Yes','ck-thread__remove-confirm-inner','41424jxqYyN'];_0x2d38=function(){return _0x3f803b;};return _0x2d38();}const _0x4cf402=_0x4228;(function(_0xe0bcaa,_0x16a10d){const _0x30cd52=_0x4228,_0x2b9314=_0xe0bcaa();while(!![]){try{const _0x37685c=-parseInt(_0x30cd52(0x166))/0x1+parseInt(_0x30cd52(0x157))/0x2+parseInt(_0x30cd52(0x162))/0x3*(-parseInt(_0x30cd52(0x15e))/0x4)+parseInt(_0x30cd52(0x171))/0x5*(-parseInt(_0x30cd52(0x165))/0x6)+parseInt(_0x30cd52(0x16c))/0x7+-parseInt(_0x30cd52(0x168))/0x8*(-parseInt(_0x30cd52(0x169))/0x9)+parseInt(_0x30cd52(0x154))/0xa;if(_0x37685c===_0x16a10d)break;else _0x2b9314['push'](_0x2b9314['shift']());}catch(_0x38ce77){_0x2b9314['push'](_0x2b9314['shift']());}}}(_0x2d38,0xe8539));import{View as _0xbd7a34,ButtonView as _0x741c2f}from'ckeditor5/src/ui.js';import{icons as _0x4d58ea}from'ckeditor5/src/core.js';import{getTranslation as _0x3a9688}from'./common-translations.js';export default class h extends _0xbd7a34{constructor(_0x49de21){const _0x3535b8=_0x4228;super(_0x49de21);const _0xedce27=this[_0x3535b8(0x16e)];this[_0x3535b8(0x155)]=this[_0x3535b8(0x15d)](_0x49de21,_0x3a9688(_0x49de21,_0x3535b8(0x163)),_0x4d58ea[_0x3535b8(0x160)],_0x3535b8(0x167)),this[_0x3535b8(0x15a)]=this[_0x3535b8(0x15d)](_0x49de21,_0x3a9688(_0x49de21,'No'),_0x4d58ea[_0x3535b8(0x16b)],_0x3535b8(0x16b)),this[_0x3535b8(0x170)](_0x3535b8(0x173),_0x3a9688(_0x49de21,_0x3535b8(0x16d))),this[_0x3535b8(0x16f)]({'tag':_0x3535b8(0x158),'attributes':{'class':[_0x3535b8(0x172)]},'children':[{'tag':_0x3535b8(0x158),'attributes':{'class':_0x3535b8(0x164)},'children':[{'tag':'p','children':[{'text':_0xedce27['to'](_0x3535b8(0x173))}]},{'tag':_0x3535b8(0x158),'attributes':{'class':_0x3535b8(0x15f)},'children':[this[_0x3535b8(0x155)],this[_0x3535b8(0x15a)]]}]}]});}[_0x4cf402(0x15d)](_0x557b66,_0xdb560c,_0x448cf0,_0x163583){const _0x17321d=_0x4cf402,_0x3d82f4=new _0x741c2f(_0x557b66);return _0x3d82f4[_0x17321d(0x156)]=_0xdb560c,_0x3d82f4[_0x17321d(0x15c)]=_0x448cf0,_0x3d82f4[_0x17321d(0x161)]({'attributes':{'class':_0x17321d(0x159)+_0x163583}}),_0x3d82f4['on'](_0x17321d(0x16a),()=>this[_0x17321d(0x15b)](_0x163583)),_0x3d82f4;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x5e8750,_0x4f148){const _0x9672a1=_0x561b,_0x3765a2=_0x5e8750();while(!![]){try{const _0x285b57=-parseInt(_0x9672a1(0x1b0))/0x1+parseInt(_0x9672a1(0x1ac))/0x2*(parseInt(_0x9672a1(0x1b7))/0x3)+-parseInt(_0x9672a1(0x1b8))/0x4*(parseInt(_0x9672a1(0x1aa))/0x5)+-parseInt(_0x9672a1(0x1b4))/0x6*(parseInt(_0x9672a1(0x1b2))/0x7)+parseInt(_0x9672a1(0x1bb))/0x8+-parseInt(_0x9672a1(0x1ab))/0x9*(-parseInt(_0x9672a1(0x1af))/0xa)+parseInt(_0x9672a1(0x1b6))/0xb*(-parseInt(_0x9672a1(0x1bc))/0xc);if(_0x285b57===_0x4f148)break;else _0x3765a2['push'](_0x3765a2['shift']());}catch(_0x394dc9){_0x3765a2['push'](_0x3765a2['shift']());}}}(_0x2e13,0xdfab3));import _0x2736a7 from'date-fns/format/index.js';import _0x474e05 from'date-fns/parseISO/index.js';import _0x370b4f from'date-fns/differenceInCalendarDays/index.js';function _0x561b(_0x266836,_0xd4788d){const _0x2e139d=_0x2e13();return _0x561b=function(_0x561bcd,_0x37504e){_0x561bcd=_0x561bcd-0x1a9;let _0x1d07cb=_0x2e139d[_0x561bcd];return _0x1d07cb;},_0x561b(_0x266836,_0xd4788d);}import{CKEditorError as _0x2d79ed}from'ckeditor5/src/utils.js';export default function j(_0x16be13={}){const _0x4bf140=_0x561b;if(void 0x0!==_0x16be13[_0x4bf140(0x1ae)]&&_0x4bf140(0x1b1)!=typeof _0x16be13[_0x4bf140(0x1ae)])throw new _0x2d79ed(_0x4bf140(0x1ad));return _0x1c432a=>{const _0x5a7837=_0x4bf140,_0x33ddff=_0x5a7837(0x1b3)==typeof _0x1c432a?_0x474e05(_0x1c432a):_0x1c432a,_0x3e64ce=new Date(),_0x5a5a90=_0x370b4f(_0x3e64ce,_0x33ddff);return _0x16be13[_0x5a7837(0x1ae)]?_0x16be13[_0x5a7837(0x1ae)](_0x33ddff):_0x2736a7(_0x33ddff,0x0===_0x5a5a90?_0x5a7837(0x1b5):0x1===_0x5a5a90?_0x5a7837(0x1b9):_0x5a5a90<0x7?_0x5a7837(0x1ba):_0x5a7837(0x1a9));};}function _0x2e13(){const _0x1ab315=['63PsSWRB','2344ZOkvbV','invalid-date-time-format','dateTimeFormat','2189930XwepHK','543611sKWKnU','function','5271plWxEM','string','9276FpDKOA','\x27Today\x27\x20hh:mma','44297yeXisP','3027zQHVJB','56RJjIkR','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','13011616eMyfFL','1068JDBGcZ','MM-dd-yyyy\x20hh:mma','485590tiQZdT'];_0x2e13=function(){return _0x1ab315;};return _0x2e13();}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0xecb235,_0x118c37){const _0x5dc34e=_0xae21,_0x5f5375=_0xecb235();while(!![]){try{const _0x4d01a4=-parseInt(_0x5dc34e(0x126))/0x1+-parseInt(_0x5dc34e(0x112))/0x2+-parseInt(_0x5dc34e(0x119))/0x3+-parseInt(_0x5dc34e(0x121))/0x4+parseInt(_0x5dc34e(0x128))/0x5*(parseInt(_0x5dc34e(0x111))/0x6)+parseInt(_0x5dc34e(0x11f))/0x7*(-parseInt(_0x5dc34e(0x11a))/0x8)+parseInt(_0x5dc34e(0x12a))/0x9*(parseInt(_0x5dc34e(0x11d))/0xa);if(_0x4d01a4===_0x118c37)break;else _0x5f5375['push'](_0x5f5375['shift']());}catch(_0x8aff2b){_0x5f5375['push'](_0x5f5375['shift']());}}}(_0x33fa,0x3012b));function _0xae21(_0x725498,_0x5ced0d){const _0x33faef=_0x33fa();return _0xae21=function(_0xae2166,_0x48ac42){_0xae2166=_0xae2166-0x111;let _0xfaab08=_0x33faef[_0xae2166];return _0xfaab08;},_0xae21(_0x725498,_0x5ced0d);}function _0x33fa(){const _0x1d086b=['10lbIYKp','values','33334bKqQrH','push','624824bHFpLJ','markerNameToElements','sort','item','from','285873TEobuj','mapViewToDom','5wFncBv','domElement','6147630kQRjSc','2141814bFGpqY','555586xgvHEQ','view','filter','mapper','map','getClientRects','name','141204TntrEY','128KYAQlo','length','domConverter'];_0x33fa=function(){return _0x1d086b;};return _0x33fa();}import{first as _0x26f4ec}from'ckeditor5/src/utils.js';export default function k(_0x26a1fc,_0x501977){const _0x9de9=_0xae21,_0x2128e1=_0x26a1fc[_0x9de9(0x115)][_0x9de9(0x122)](_0x501977[_0x9de9(0x118)]);if(!_0x2128e1)return null;const _0x314c32=_0x26f4ec(_0x2128e1[_0x9de9(0x11e)]());return _0x26a1fc[_0x9de9(0x113)][_0x9de9(0x11c)][_0x9de9(0x127)](_0x314c32)||null;}export function getAllMarkersDomElementsSorted(_0x2d5ff6,_0x4e99ff){const _0x57e9ab=_0xae21;if(0x0===_0x4e99ff[_0x57e9ab(0x11b)])return null;const _0x318eac=[],_0x4fba07=_0x2d5ff6[_0x57e9ab(0x113)][_0x57e9ab(0x11c)];for(const _0x14c238 of _0x4e99ff){const _0x379985=_0x2d5ff6[_0x57e9ab(0x115)][_0x57e9ab(0x122)](_0x14c238[_0x57e9ab(0x118)]);if(!_0x379985)continue;const _0x2f73f9=Array[_0x57e9ab(0x125)](_0x379985)[_0x57e9ab(0x116)](_0x5b803b=>_0x4fba07[_0x57e9ab(0x127)](_0x5b803b))[_0x57e9ab(0x114)](_0x139c2d=>!!_0x139c2d);_0x318eac[_0x57e9ab(0x120)](..._0x2f73f9);}if(0x0===_0x318eac[_0x57e9ab(0x11b)])return null;const _0x3f7e6f=[];for(const _0x4253bf of _0x318eac){const _0x33a0c3=_0x4253bf[_0x57e9ab(0x117)]()[_0x57e9ab(0x124)](0x0);_0x33a0c3&&_0x3f7e6f[_0x57e9ab(0x120)]({'x':_0x33a0c3['x'],'y':_0x33a0c3['y'],'domElement':_0x4253bf});}return 0x0===_0x3f7e6f[_0x57e9ab(0x11b)]?null:(_0x3f7e6f[_0x57e9ab(0x123)]((_0x237546,_0x2e86f0)=>_0x237546['y']-_0x2e86f0['y']||_0x237546['x']-_0x2e86f0['x']),_0x3f7e6f[_0x57e9ab(0x116)](_0x487192=>_0x487192[_0x57e9ab(0x129)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x49b8d8,_0x55629d){const _0x57e9bb=_0x4534,_0x1b2eff=_0x49b8d8();while(!![]){try{const _0x19ae6e=-parseInt(_0x57e9bb(0x1f3))/0x1*(parseInt(_0x57e9bb(0x207))/0x2)+-parseInt(_0x57e9bb(0x1fe))/0x3*(-parseInt(_0x57e9bb(0x1fd))/0x4)+parseInt(_0x57e9bb(0x1fa))/0x5+-parseInt(_0x57e9bb(0x204))/0x6*(parseInt(_0x57e9bb(0x1f6))/0x7)+parseInt(_0x57e9bb(0x1f5))/0x8+-parseInt(_0x57e9bb(0x1fc))/0x9*(-parseInt(_0x57e9bb(0x201))/0xa)+parseInt(_0x57e9bb(0x1f7))/0xb*(parseInt(_0x57e9bb(0x206))/0xc);if(_0x19ae6e===_0x55629d)break;else _0x1b2eff['push'](_0x1b2eff['shift']());}catch(_0x226fb1){_0x1b2eff['push'](_0x1b2eff['shift']());}}}(_0x419e,0x56395));export default function b(_0x5583cd){let _0x129819=0x0,_0x361d68=0x0;for(const _0x37c9f6 of A(_0x5583cd))_0x129819=(_0x129819<<0x5)-_0x129819+_0x37c9f6,_0x129819|=0x0,[_0x129819,_0x361d68]=[_0x361d68,_0x129819];return q(_0x129819)+q(_0x361d68);}function*g(_0x15c6b4){const _0x11a0ea=_0x4534;null==_0x15c6b4||null==_0x15c6b4?yield 0x12b9b0a1:0x0===_0x15c6b4||!0x1===_0x15c6b4?yield 0x0:0x1===_0x15c6b4||0x1==_0x15c6b4?yield 0x1:Array[_0x11a0ea(0x1ff)](_0x15c6b4)?yield*function*(_0x41c0db){for(const _0x1816ac of _0x41c0db)yield*g(_0x1816ac);}(_0x15c6b4):_0x11a0ea(0x205)==typeof _0x15c6b4?yield*A(_0x15c6b4):_0x11a0ea(0x202)==typeof _0x15c6b4?yield*M(_0x15c6b4):_0x11a0ea(0x200)==typeof _0x15c6b4&&(yield _0x15c6b4);}function*A(_0x6e0edc){const _0x326415=_0x4534;if(yield O('{'),_0x6e0edc){const _0x5dca10=Object[_0x326415(0x1f8)](_0x6e0edc)[_0x326415(0x1fb)]();for(const _0x2d0833 of _0x5dca10){yield*M(_0x2d0833),yield O(':');const _0xae689a=_0x6e0edc[_0x2d0833];yield*g(_0xae689a);}}yield O('}');}function*M(_0x5767b1){yield O('\x22');for(const _0x2fd383 of _0x5767b1)yield O(_0x2fd383);yield O('\x22');}function O(_0x44ebf7){const _0x58a998=_0x4534;return _0x44ebf7[_0x58a998(0x1f4)](0x0);}function q(_0x121055){const _0x226422=_0x4534;return(_0x121055*=Math[_0x226422(0x1f9)](_0x121055))[_0x226422(0x203)](0x24);}function _0x4534(_0x2c720e,_0x338056){const _0x419ed9=_0x419e();return _0x4534=function(_0x453406,_0x12a9fc){_0x453406=_0x453406-0x1f3;let _0x137c49=_0x419ed9[_0x453406];return _0x137c49;},_0x4534(_0x2c720e,_0x338056);}function _0x419e(){const _0x33a6ca=['209GSorCl','keys','sign','1307075agLMts','sort','1759941fRgitG','72476cErcJm','6iLPACk','isArray','number','30lTQonC','string','toString','60BGYSMM','object','232284YxzZKa','1114722UTSOVm','1ELBpTT','charCodeAt','804408ywoGgf','309470wEmTXo'];_0x419e=function(){return _0x33a6ca;};return _0x419e();}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
const _0x531d81=_0x37c5;function _0x337b(){const _0x7c9f36=['find','from','context','1560glrleo','1280956pyIozN','concat','plugins','_context','4523712qHtoZj','69026NbQXFW','Autosave','pluginName','includes','2158024kgeKVN','toolbar','length','string','requires','128922chkYKS','every','get','set','map','2602465tmlWwl','23067uxOeug','constructor','has','prototype','DocumentOutline','RevisionTracker','removePlugins','initialData','rootsAttributes','filter','63OAHnJE','WordCount','builtinPlugins','extraPlugins','WebSocketGateway','config','343bjOejD','WProofreader','names'];_0x337b=function(){return _0x7c9f36;};return _0x337b();}(function(_0xe894e,_0x24c919){const _0x35d36a=_0x37c5,_0x2eb5d7=_0xe894e();while(!![]){try{const _0x39bdfd=-parseInt(_0x35d36a(0x159))/0x1+-parseInt(_0x35d36a(0x15e))/0x2*(-parseInt(_0x35d36a(0x14c))/0x3)+parseInt(_0x35d36a(0x162))/0x4+-parseInt(_0x35d36a(0x141))/0x5+-parseInt(_0x35d36a(0x13c))/0x6*(-parseInt(_0x35d36a(0x152))/0x7)+parseInt(_0x35d36a(0x15d))/0x8+parseInt(_0x35d36a(0x142))/0x9*(-parseInt(_0x35d36a(0x158))/0xa);if(_0x39bdfd===_0x24c919)break;else _0x2eb5d7['push'](_0x2eb5d7['shift']());}catch(_0x41e578){_0x2eb5d7['push'](_0x2eb5d7['shift']());}}}(_0x337b,0xa6571));const w=[_0x531d81(0x149),_0x531d81(0x157),_0x531d81(0x163),_0x531d81(0x14a)],W=[_0x531d81(0x150),_0x531d81(0x147),_0x531d81(0x15f),_0x531d81(0x14d),_0x531d81(0x146),_0x531d81(0x153)];function _0x37c5(_0x3e958e,_0x31b5b1){const _0x337b0c=_0x337b();return _0x37c5=function(_0x37c510,_0x3aba0f){_0x37c510=_0x37c510-0x13c;let _0x4e5ad0=_0x337b0c[_0x37c510];return _0x4e5ad0;},_0x37c5(_0x3e958e,_0x31b5b1);}function v(_0x49d741,_0x566598,_0x10717d,_0xfc8917=[]){const _0x341108=_0x531d81,_0x579ef6=_0x341108(0x165)==typeof _0x49d741?_0x10717d[_0x341108(0x13e)](_0x49d741)[_0x341108(0x143)]:_0x49d741[_0x341108(0x145)][_0x341108(0x143)];if(_0x566598[_0x341108(0x144)](_0x579ef6))return _0x566598[_0x341108(0x13e)](_0x579ef6);_0x566598[_0x341108(0x13f)](_0x579ef6,!0x0);const _0x99aa0=[...W,..._0xfc8917][_0x341108(0x140)](_0x466910=>{const _0x123be3=_0x341108;if(_0x10717d[_0x123be3(0x144)](_0x466910))return _0x10717d[_0x123be3(0x13e)](_0x466910)[_0x123be3(0x143)];})[_0x341108(0x14b)](_0x5d9c85=>_0x5d9c85);if(_0x579ef6&&_0x99aa0[_0x341108(0x161)](_0x579ef6))return _0x566598[_0x341108(0x13f)](_0x579ef6,!0x1),!0x1;if(!_0x579ef6[_0x341108(0x166)])return _0x566598[_0x341108(0x13f)](_0x579ef6,!0x0),!0x0;const _0x3c8524=_0x579ef6[_0x341108(0x166)][_0x341108(0x13d)](_0x291551=>v(_0x291551,_0x566598,_0x10717d,_0xfc8917));return _0x566598[_0x341108(0x13f)](_0x579ef6,_0x3c8524),_0x3c8524;}export default function D(_0x434439,_0x4d2be0){const _0x1575cf=_0x531d81,_0xb02018={};for(const _0x1bbe33 of _0x434439[_0x1575cf(0x151)][_0x1575cf(0x154)]())w[_0x1575cf(0x161)](_0x1bbe33)||(_0xb02018[_0x1bbe33]=_0x434439[_0x1575cf(0x151)][_0x1575cf(0x13e)](_0x1bbe33));const _0x23102d=_0xb02018[_0x1575cf(0x15b)]||[],_0x3a6ddb=_0x434439[_0x1575cf(0x143)][_0x1575cf(0x14e)]||[],_0xb48634=_0x23102d[_0x1575cf(0x164)]?_0x23102d:_0x3a6ddb,_0x44a7ae=_0xb02018[_0x1575cf(0x14f)]||[];delete _0xb02018[_0x1575cf(0x14f)];const _0x1ba9e9=_0xb02018[_0x1575cf(0x148)]||[];delete _0xb02018[_0x1575cf(0x148)];const _0x548c5f=_0x434439[_0x1575cf(0x15c)][_0x1575cf(0x151)][_0x1575cf(0x13e)](_0x1575cf(0x15b))||[],_0x497718=_0xb48634[_0x1575cf(0x15a)](_0x44a7ae)[_0x1575cf(0x15a)](_0x548c5f)[_0x1575cf(0x140)](_0x140d52=>_0x1575cf(0x165)==typeof _0x140d52?_0x3a6ddb[_0x1575cf(0x155)](_0x3729ac=>_0x3729ac[_0x1575cf(0x160)]==_0x140d52):_0x140d52)[_0x1575cf(0x14b)](_0x16cea0=>!_0x1ba9e9[_0x1575cf(0x161)](_0x16cea0)&&!_0x1ba9e9[_0x1575cf(0x161)](_0x16cea0[_0x1575cf(0x160)])),_0x52565e=Array[_0x1575cf(0x156)](new Set(_0x497718)),_0x4f28c1=new Map();return _0xb02018[_0x1575cf(0x15b)]=_0x52565e[_0x1575cf(0x14b)](_0x32d2fe=>v(_0x32d2fe,_0x4f28c1,_0x434439[_0x1575cf(0x15b)],_0x4d2be0)),_0xb02018;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x28466f,_0x4baefe){const _0x23781a=_0x22fa,_0x31d8f4=_0x28466f();while(!![]){try{const _0x413c84=parseInt(_0x23781a(0x1bd))/0x1*(-parseInt(_0x23781a(0x1b2))/0x2)+-parseInt(_0x23781a(0x1af))/0x3*(-parseInt(_0x23781a(0x1b3))/0x4)+parseInt(_0x23781a(0x1b6))/0x5+-parseInt(_0x23781a(0x1b9))/0x6+parseInt(_0x23781a(0x1b1))/0x7+-parseInt(_0x23781a(0x1bb))/0x8+-parseInt(_0x23781a(0x1b4))/0x9*(-parseInt(_0x23781a(0x1be))/0xa);if(_0x413c84===_0x4baefe)break;else _0x31d8f4['push'](_0x31d8f4['shift']());}catch(_0x1846b7){_0x31d8f4['push'](_0x31d8f4['shift']());}}}(_0x2b2a,0x9acef));function _0x22fa(_0x348a9a,_0x1225b6){const _0x2b2a3c=_0x2b2a();return _0x22fa=function(_0x22fabe,_0x1dd57f){_0x22fabe=_0x22fabe-0x1ad;let _0x1fdba4=_0x2b2a3c[_0x22fabe];return _0x1fdba4;},_0x22fa(_0x348a9a,_0x1225b6);}export default function z(_0x12d001,_0xe25409){const _0x41fd3c=_0x22fa,_0x28426f=[];_0x12d001[_0x41fd3c(0x1b0)][_0x41fd3c(0x1b7)]['on'](_0x41fd3c(0x1ba),()=>{const _0x54e15f=_0x41fd3c,_0x379f38=function(_0x4ccb3a,_0x37b545){const _0x27156c=_0x22fa,_0x89902=[];for(const _0x1c5671 of _0x4ccb3a[_0x27156c(0x1ae)]){const _0x41658f=_0x1c5671[_0x27156c(0x1c1)]();(_0x41658f[_0x27156c(0x1ad)](_0x37b545)||_0x41658f[_0x27156c(0x1bf)][_0x27156c(0x1bc)](_0x37b545)||_0x41658f[_0x27156c(0x1c2)][_0x27156c(0x1bc)](_0x37b545))&&_0x89902[_0x27156c(0x1b8)](_0x1c5671);}return _0x89902;}(_0x12d001,_0x12d001[_0x54e15f(0x1b0)][_0x54e15f(0x1b7)][_0x54e15f(0x1c3)]),_0x3bb030=[],_0x19f242=[],_0x5bb973=[];for(const _0x31ceeb of _0x28426f)_0x379f38[_0x54e15f(0x1c0)](_0x31ceeb)||_0x3bb030[_0x54e15f(0x1b8)](_0x31ceeb);for(const _0x3319a4 of _0x379f38)_0x28426f[_0x54e15f(0x1c0)](_0x3319a4)||_0x19f242[_0x54e15f(0x1b8)](_0x3319a4),_0x5bb973[_0x54e15f(0x1b8)](_0x3319a4);(_0x3bb030[_0x54e15f(0x1b5)]||_0x19f242[_0x54e15f(0x1b5)])&&_0xe25409({'left':_0x3bb030,'entered':_0x19f242}),_0x28426f[_0x54e15f(0x1b5)]=0x0,_0x28426f[_0x54e15f(0x1b8)](..._0x5bb973);});}function _0x2b2a(){const _0x1a166e=['selection','push','5694174ylPQhw','change:range','8890224aNxGHi','isEqual','1gCnKgj','22697350zyYnwD','start','includes','getRange','end','focus','containsPosition','markers','41694CVImWK','document','1620752IgFZvj','26380ObQExQ','28iKOLPn','9lkoaGN','length','545175GGJxxj'];_0x2b2a=function(){return _0x1a166e;};return _0x2b2a();}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2227a8=_0x1ce2;(function(_0xe72aa1,_0x167cf0){const _0x25f724=_0x1ce2,_0x50796a=_0xe72aa1();while(!![]){try{const _0x59d010=-parseInt(_0x25f724(0x1d7))/0x1*(-parseInt(_0x25f724(0x1dc))/0x2)+-parseInt(_0x25f724(0x1e1))/0x3+-parseInt(_0x25f724(0x1d9))/0x4+parseInt(_0x25f724(0x1d6))/0x5*(-parseInt(_0x25f724(0x1cd))/0x6)+parseInt(_0x25f724(0x1d1))/0x7*(-parseInt(_0x25f724(0x1d2))/0x8)+-parseInt(_0x25f724(0x1de))/0x9+-parseInt(_0x25f724(0x1dd))/0xa*(-parseInt(_0x25f724(0x1df))/0xb);if(_0x59d010===_0x167cf0)break;else _0x50796a['push'](_0x50796a['shift']());}catch(_0x3c8f0f){_0x50796a['push'](_0x50796a['shift']());}}}(_0x5136,0xca0cf));export default function Z(_0x1d8a0f,{limit:_0x103532,suffix:_0x5c0490=_0x2227a8(0x1e2)}){const _0x41cb2b=_0x2227a8,_0x4b596d=[];let _0x3cc2ba=0x0;const _0x4e7017=_0x1d8a0f[_0x41cb2b(0x1d3)](/</g,'\x0a<')[_0x41cb2b(0x1d3)](/>/g,'>\x0a')[_0x41cb2b(0x1d3)](/^\n/g,'')[_0x41cb2b(0x1d3)](/\n$/g,'')[_0x41cb2b(0x1d4)]('\x0a');for(let _0xf9fd60=0x0;_0xf9fd60<_0x4e7017[_0x41cb2b(0x1d5)];_0xf9fd60++){let _0x440459=_0x4e7017[_0xf9fd60];const _0x32650a=$(_0x440459);if(_0x440459[_0x41cb2b(0x1db)]('<')){if(_0x3cc2ba>=_0x103532){const _0x19f7f6=_0x440459[_0x41cb2b(0x1ce)](/[a-zA-Z]+/);if(!_0x19f7f6){_0x4e7017[_0xf9fd60]='';continue;}const _0x394d33=_0x19f7f6[0x0];_0x440459[_0x41cb2b(0x1db)]('</')?(_0x4b596d[_0x41cb2b(0x1d5)]&&(_0x440459=''),_0x4b596d[_0x41cb2b(0x1e0)]()):(_0x4b596d[_0x41cb2b(0x1e3)](_0x394d33),_0x440459='');}}else{if(_0x3cc2ba>=_0x103532)_0x440459='';else{if(_0x3cc2ba+_0x32650a[_0x41cb2b(0x1d5)]>=_0x103532){let _0x12929b=_0x103532-_0x3cc2ba;if('\x20'===_0x32650a[_0x12929b-0x1])_0x12929b--;else{const _0x357a9c=_0x32650a[_0x41cb2b(0x1cf)](_0x12929b)[_0x41cb2b(0x1d0)]('\x20');-0x1!==_0x357a9c?_0x12929b+=_0x357a9c:_0x12929b=_0x440459[_0x41cb2b(0x1d5)];}_0x440459=_0x32650a[_0x41cb2b(0x1cf)](0x0,_0x12929b)[_0x41cb2b(0x1da)]('')+_0x5c0490,_0x3cc2ba=_0x103532;}else _0x3cc2ba+=_0x32650a[_0x41cb2b(0x1d5)];}}_0x4e7017[_0xf9fd60]=_0x440459;}return _0x4e7017[_0x41cb2b(0x1da)]('\x0a')[_0x41cb2b(0x1d3)](/\n/g,'');}function $(_0x579974){const _0x2cbd88=_0x2227a8,_0x420583=[];for(let _0xa5e7f7=0x0;_0xa5e7f7<_0x579974[_0x2cbd88(0x1d5)];_0xa5e7f7++){const _0x162048=_0x579974[_0x2cbd88(0x1d8)](_0xa5e7f7)[_0x2cbd88(0x1ce)](/^&[a-z0-9#]+;/);if(_0x162048){const _0x1e88a5=_0x162048[0x0];_0x420583[_0x2cbd88(0x1e3)](_0x1e88a5),_0xa5e7f7+=_0x1e88a5[_0x2cbd88(0x1d5)]-0x1;}else _0x420583[_0x2cbd88(0x1e3)](_0x579974[_0xa5e7f7]);}return _0x420583;}function _0x1ce2(_0xdb63a5,_0x5ee1e6){const _0x513645=_0x5136();return _0x1ce2=function(_0x1ce2b5,_0x27049a){_0x1ce2b5=_0x1ce2b5-0x1cd;let _0x3aa472=_0x513645[_0x1ce2b5];return _0x3aa472;},_0x1ce2(_0xdb63a5,_0x5ee1e6);}function _0x5136(){const _0x1d4fde=['...','push','222FOkNaQ','match','slice','indexOf','5417874iSLCmw','8QYwGNY','replace','split','length','207345LfPEKU','5GADutC','substring','4822544oqfkSl','join','startsWith','634982QiyArm','44570490rJGUxh','11431674oVTMur','11uDkCuz','pop','1298244eRlsWf'];_0x5136=function(){return _0x1d4fde;};return _0x5136();}
|