@ckeditor/ckeditor5-collaboration-core 47.2.0-alpha.4 → 47.2.0-alpha.5
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/package.json +13 -13
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/users/view/userview.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/trim-html.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x31c1e5,_0x4b3030){var _0x37bf0e=_0x5d84,_0xa25172=_0x31c1e5();while(!![]){try{var _0x3f9982=parseInt(_0x37bf0e(0x1d1))/0x1+-parseInt(_0x37bf0e(0x1c2))/0x2+-parseInt(_0x37bf0e(0x1cb))/0x3*(parseInt(_0x37bf0e(0x1cf))/0x4)+-parseInt(_0x37bf0e(0x1cc))/0x5*(parseInt(_0x37bf0e(0x1db))/0x6)+parseInt(_0x37bf0e(0x1cd))/0x7*(parseInt(_0x37bf0e(0x1ce))/0x8)+parseInt(_0x37bf0e(0x1d4))/0x9+parseInt(_0x37bf0e(0x1d3))/0xa*(-parseInt(_0x37bf0e(0x1d8))/0xb);if(_0x3f9982===_0x4b3030)break;else _0xa25172['push'](_0xa25172['shift']());}catch(_0x211e95){_0xa25172['push'](_0xa25172['shift']());}}}(_0x29e0,0x3e0a5));function _0x5d84(_0x390a59,_0x11d19e){var _0x29e017=_0x29e0();return _0x5d84=function(_0x5d84bd,_0x52f606){_0x5d84bd=_0x5d84bd-0x1c1;var _0xef8e67=_0x29e017[_0x5d84bd];return _0xef8e67;},_0x5d84(_0x390a59,_0x11d19e);}import{ConfirmView as _0x1adea8}from'./confirmview.js';export function ConfirmMixin(_0x5c6020){var _0xeaa4e2=_0x5d84;return class extends _0x5c6020{[_0xeaa4e2(0x1d7)](_0x333284,_0x35671c){var _0x394774=_0xeaa4e2;return this[_0x394774(0x1e2)]=new _0x1adea8(this[_0x394774(0x1c5)]),this[_0x394774(0x1e2)][_0x394774(0x1dd)](),this[_0x394774(0x1e2)][_0x394774(0x1c7)]=_0x333284,this[_0x394774(0x1e2)][_0x394774(0x1d9)](_0x394774(0x1df),()=>{var _0x517ec7=_0x394774;this[_0x517ec7(0x1dc)]();}),this[_0x394774(0x1e2)][_0x394774(0x1d9)](_0x394774(0x1c8),()=>{var _0xcddcb0=_0x394774;this[_0xcddcb0(0x1dc)]();}),_0x35671c[_0x394774(0x1e4)](this[_0x394774(0x1e2)][_0x394774(0x1c9)]),_0x35671c[_0x394774(0x1c1)][_0x394774(0x1e1)](_0x394774(0x1de)),this[_0x394774(0x1c3)](this[_0x394774(0x1e2)]),this[_0x394774(0x1e2)][_0x394774(0x1da)](),this[_0x394774(0x1d2)](_0x394774(0x1e3),!0x0),this['on'](_0x394774(0x1ca),(_0x135aca,_0x354c46,_0x28c660)=>{var _0x3a8bf9=_0x394774;_0x28c660||_0x35671c[_0x3a8bf9(0x1c1)][_0x3a8bf9(0x1d5)](_0x3a8bf9(0x1de));}),new Promise(_0x508a0d=>this[_0x394774(0x1e2)]['on'](_0x394774(0x1c8),_0x508a0d));}[_0xeaa4e2(0x1c4)](){var _0x2678a7=_0xeaa4e2;this[_0x2678a7(0x1e3)]&&this[_0x2678a7(0x1e2)][_0x2678a7(0x1e0)](_0x2678a7(0x1df));}[_0xeaa4e2(0x1dc)](){var _0x1016c2=_0xeaa4e2;this[_0x1016c2(0x1c9)]&&this[_0x1016c2(0x1e2)]&&this[_0x1016c2(0x1e2)][_0x1016c2(0x1c9)]&&(this[_0x1016c2(0x1c9)][_0x1016c2(0x1da)](),this[_0x1016c2(0x1e2)][_0x1016c2(0x1c9)][_0x1016c2(0x1d5)](),this[_0x1016c2(0x1d6)](this[_0x1016c2(0x1e2)]),this[_0x1016c2(0x1e3)]=!0x1,this[_0x1016c2(0x1e0)](_0x1016c2(0x1d0)),this[_0x1016c2(0x1e2)][_0x1016c2(0x1c6)](),this[_0x1016c2(0x1e2)]=void 0x0);}};}function _0x29e0(){var _0x28112a=['registerChild','cancelConfirm','locale','destroy','message','submit','element','change:isConfirm','33285cSRokc','165MTlpXY','7kYDtpF','3214472RBiIRN','116eCoRRJ','removeConfirm','317087GVmMWd','set','2676010jlmpIV','2851839gBWjtr','remove','deregisterChild','showConfirm','11kYSyjN','once','focus','7338gJkeRP','_removeConfirm','render','ck-confirm-view-active','cancel','fire','add','confirmView','isConfirm','appendChild','classList','303870efZEmk'];_0x29e0=function(){return _0x28112a;};return _0x29e0();}
|
package/src/utils/confirmview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4d6517=_0x40df;(function(_0x29e4ce,_0x1aad1a){const _0x3cee55=_0x40df,_0x1e510f=_0x29e4ce();while(!![]){try{const _0x569aef=parseInt(_0x3cee55(0x104))/0x1*(parseInt(_0x3cee55(0x113))/0x2)+-parseInt(_0x3cee55(0x10a))/0x3+-parseInt(_0x3cee55(0x11e))/0x4+parseInt(_0x3cee55(0x121))/0x5*(parseInt(_0x3cee55(0x12b))/0x6)+parseInt(_0x3cee55(0x118))/0x7+parseInt(_0x3cee55(0x10c))/0x8*(parseInt(_0x3cee55(0x12a))/0x9)+-parseInt(_0x3cee55(0x11a))/0xa;if(_0x569aef===_0x1aad1a)break;else _0x1e510f['push'](_0x1e510f['shift']());}catch(_0x464fb0){_0x1e510f['push'](_0x1e510f['shift']());}}}(_0x3710,0x8f3ea));function _0x40df(_0x2495f1,_0x313b46){const _0x37101e=_0x3710();return _0x40df=function(_0x40dffe,_0x421975){_0x40dffe=_0x40dffe-0x101;let _0x5cd1af=_0x37101e[_0x40dffe];return _0x5cd1af;},_0x40df(_0x2495f1,_0x313b46);}import{IconCancel as _0x2ccd23,IconCheck as _0x47e5ef}from'ckeditor5/src/icons.js';import{View as _0x2f6703,ButtonView as _0x57193f,FocusCycler as _0x2a7a82}from'ckeditor5/src/ui.js';import{FocusTracker as _0x81dbd9,KeystrokeHandler as _0x2a5d37}from'ckeditor5/src/utils.js';import{getTranslation as _0x25d439}from'./common-translations.js';import'../../theme/confirm.css';export class ConfirmView extends _0x2f6703{[_0x4d6517(0x127)];[_0x4d6517(0x109)];[_0x4d6517(0x115)];[_0x4d6517(0x128)];[_0x4d6517(0x10d)];[_0x4d6517(0x11c)];constructor(_0xd5e8f2){const _0xed1349=_0x4d6517;super(_0xd5e8f2);const _0x105232=this[_0xed1349(0x11b)];this[_0xed1349(0x124)](_0xed1349(0x108),_0x25d439(_0xd5e8f2,_0xed1349(0x112))),this[_0xed1349(0x127)]=this[_0xed1349(0x116)](_0xd5e8f2,_0x25d439(_0xd5e8f2,_0xed1349(0x126)),_0x47e5ef,_0xed1349(0x103)),this[_0xed1349(0x109)]=this[_0xed1349(0x116)](_0xd5e8f2,_0x25d439(_0xd5e8f2,'No'),_0x2ccd23,_0xed1349(0x101)),this[_0xed1349(0x11c)]=this[_0xed1349(0x119)]([this[_0xed1349(0x127)],this[_0xed1349(0x109)]]),this[_0xed1349(0x115)]=new _0x81dbd9(),this[_0xed1349(0x128)]=new _0x2a5d37(),this[_0xed1349(0x10d)]=new _0x2a7a82({'focusables':this[_0xed1349(0x11c)],'focusTracker':this[_0xed1349(0x115)],'keystrokeHandler':this[_0xed1349(0x128)],'actions':{'focusPrevious':_0xed1349(0x120),'focusNext':_0xed1349(0x10f)}}),this[_0xed1349(0x110)]({'tag':_0xed1349(0x111),'attributes':{'class':['ck',_0xed1349(0x105)],'tabindex':-0x1,'role':_0xed1349(0x125)},'children':[{'tag':_0xed1349(0x111),'attributes':{'class':_0xed1349(0x12e),'role':_0xed1349(0x12c)},'children':[{'tag':'p','children':[{'text':_0x105232['to'](_0xed1349(0x108))}]},{'tag':_0xed1349(0x111),'attributes':{'class':_0xed1349(0x123)},'children':[this[_0xed1349(0x127)],this[_0xed1349(0x109)]]}]}]});}[_0x4d6517(0x10b)](){const _0x4e8fa0=_0x4d6517;super[_0x4e8fa0(0x10b)](),this[_0x4e8fa0(0x11f)]();}[_0x4d6517(0x107)](){const _0xd2bf0e=_0x4d6517;this[_0xd2bf0e(0x109)][_0xd2bf0e(0x12f)][_0xd2bf0e(0x107)]({'preventScroll':!0x0});}[_0x4d6517(0x116)](_0x43cc87,_0x24a840,_0x21f0f7,_0x436396){const _0xdd437c=_0x4d6517,_0x4b08af=new _0x57193f(_0x43cc87);return _0x4b08af[_0xdd437c(0x12d)]=_0x24a840,_0x4b08af[_0xdd437c(0x122)]=_0x21f0f7,_0x4b08af[_0xdd437c(0x106)]({'attributes':{'class':_0xdd437c(0x11d)+_0x436396}}),_0x4b08af['on'](_0xdd437c(0x129),()=>this[_0xdd437c(0x114)](_0x436396)),_0x4b08af;}[_0x4d6517(0x11f)](){const _0x5b8e50=_0x4d6517;this[_0x5b8e50(0x11c)][_0x5b8e50(0x130)](_0x207ec4=>{const _0x160dfc=_0x5b8e50;this[_0x160dfc(0x128)][_0x160dfc(0x117)](_0x207ec4[_0x160dfc(0x12f)]),this[_0x160dfc(0x115)][_0x160dfc(0x10e)](_0x207ec4[_0x160dfc(0x12f)]);}),this[_0x5b8e50(0x128)][_0x5b8e50(0x124)](_0x5b8e50(0x102),(_0x21a8d9,_0x384ba5)=>{const _0x595b05=_0x5b8e50;this[_0x595b05(0x114)](_0x595b05(0x101)),_0x384ba5();});}}function _0x3710(){const _0x5bcccf=['ck-confirm-view','extendTemplate','focus','message','cancelView','695784AxZidK','render','200qNdCDI','focusCycler','add','tab','setTemplate','div','Are\x20you\x20sure?','760660JDuWqw','fire','focusTracker','_createButtonView','listenTo','310429GpQmwz','createCollection','22100470GLghoZ','bindTemplate','focusables','ck-confirm-view-','258128lGytgL','_setupKeyboardNavigation','shift+tab','755YRyZsV','icon','ck-confirm-view-actions','set','alertdialog','Yes','submitView','keystrokes','execute','407637HaPgRA','45930VmeMPG','presentation','label','ck-confirm-view-inner','element','forEach','cancel','esc','submit','2Pelsni'];_0x3710=function(){return _0x5bcccf;};return _0x3710();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44d046,_0x3f0e4f){const _0x52b440=_0x226f,_0x60d1cb=_0x44d046();while(!![]){try{const _0x4e0946=-parseInt(_0x52b440(0x12e))/0x1*(-parseInt(_0x52b440(0x123))/0x2)+-parseInt(_0x52b440(0x131))/0x3*(-parseInt(_0x52b440(0x122))/0x4)+-parseInt(_0x52b440(0x130))/0x5+-parseInt(_0x52b440(0x128))/0x6*(parseInt(_0x52b440(0x12a))/0x7)+-parseInt(_0x52b440(0x13a))/0x8+parseInt(_0x52b440(0x139))/0x9+-parseInt(_0x52b440(0x13f))/0xa;if(_0x4e0946===_0x3f0e4f)break;else _0x60d1cb['push'](_0x60d1cb['shift']());}catch(_0x3ddc59){_0x60d1cb['push'](_0x60d1cb['shift']());}}}(_0x5d64,0xbdb79));function _0x226f(_0x4fd855,_0x2d7d2e){const _0x5d6423=_0x5d64();return _0x226f=function(_0x226f31,_0x34da24){_0x226f31=_0x226f31-0x121;let _0x266a71=_0x5d6423[_0x226f31];return _0x266a71;},_0x226f(_0x4fd855,_0x2d7d2e);}import{DateTime as _0x2c9f7f}from'luxon';import{CKEditorError as _0x12eeb4}from'ckeditor5/src/utils.js';import{getTranslation as _0x3db0c5}from'./common-translations.js';export function getDateTimeFormatter(_0x3ac033={},_0x1dc4ac){const _0x4ec16e=_0x226f;if(void 0x0!==_0x3ac033[_0x4ec16e(0x125)]&&_0x4ec16e(0x12d)!=typeof _0x3ac033[_0x4ec16e(0x125)])throw new _0x12eeb4(_0x4ec16e(0x13b));return _0xab84bf=>{const _0x135c57=_0x4ec16e,_0x4df7ca=_0x135c57(0x13e)==typeof _0xab84bf?_0x2c9f7f[_0x135c57(0x138)](_0xab84bf):_0x2c9f7f[_0x135c57(0x133)](_0xab84bf),_0x9cbe5c=_0x2c9f7f[_0x135c57(0x134)](),_0x5605ba=Math[_0x135c57(0x13c)](_0x9cbe5c[_0x135c57(0x127)](_0x4df7ca,_0x135c57(0x124))[_0x135c57(0x124)]);return _0x3ac033[_0x135c57(0x125)]?_0x3ac033[_0x135c57(0x125)](_0x4df7ca[_0x135c57(0x13d)](),_0x1dc4ac&&_0x1dc4ac['t']?_0x1dc4ac['t']:void 0x0):0x0===_0x5605ba?_0x1dc4ac?_0x3db0c5(_0x1dc4ac,_0x135c57(0x121))+'\x20'+_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x132)):_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x137)):0x1===_0x5605ba?_0x1dc4ac?_0x3db0c5(_0x1dc4ac,_0x135c57(0x136))+'\x20'+_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x132)):_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x12c)):_0x5605ba<0x7?_0x1dc4ac?_0x3db0c5(_0x1dc4ac,_0x135c57(0x135))+'\x20'+_0x3db0c5(_0x1dc4ac,_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x126)))+'\x20'+_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x132)):_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x12b)):_0x4df7ca[_0x135c57(0x12f)](_0x135c57(0x129));};}function _0x5d64(){const _0x335d0a=['string','2867530RCXXRo','Today','88716icNJBi','1132614UtnmMa','days','dateTimeFormat','EEEE','diff','816jcmegK','LL-dd-yyyy\x20hh:mma','5313LFhYyw','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','function','1dZgIZn','toFormat','4256685ZKyjQe','111xsXweT','hh:mma','fromJSDate','now','Last','Yesterday','\x27Today\x27\x20hh:mma','fromISO','12230334WuFkCd','5819688KjVtKH','invalid-date-time-format','floor','toJSDate'];_0x5d64=function(){return _0x335d0a;};return _0x5d64();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x554621,_0x36292a){const _0xcfdcaf=_0x5e63,_0x18659e=_0x554621();while(!![]){try{const _0x29694d=parseInt(_0xcfdcaf(0xf6))/0x1*(-parseInt(_0xcfdcaf(0x10b))/0x2)+-parseInt(_0xcfdcaf(0x101))/0x3*(parseInt(_0xcfdcaf(0x105))/0x4)+parseInt(_0xcfdcaf(0xfa))/0x5+parseInt(_0xcfdcaf(0xfd))/0x6*(parseInt(_0xcfdcaf(0xfc))/0x7)+parseInt(_0xcfdcaf(0xfb))/0x8*(-parseInt(_0xcfdcaf(0xf4))/0x9)+parseInt(_0xcfdcaf(0x10a))/0xa+parseInt(_0xcfdcaf(0x104))/0xb*(parseInt(_0xcfdcaf(0x106))/0xc);if(_0x29694d===_0x36292a)break;else _0x18659e['push'](_0x18659e['shift']());}catch(_0x834419){_0x18659e['push'](_0x18659e['shift']());}}}(_0x1f1b,0xa519f));import{first as _0x877770}from'ckeditor5/src/utils.js';function _0x5e63(_0x20690b,_0x161f96){const _0x1f1b37=_0x1f1b();return _0x5e63=function(_0x5e63e1,_0x3ce40c){_0x5e63e1=_0x5e63e1-0xf1;let _0x1d4ef0=_0x1f1b37[_0x5e63e1];return _0x1d4ef0;},_0x5e63(_0x20690b,_0x161f96);}function _0x1f1b(){const _0x1334c9=['mapper','15BHzlpn','view','filter','272701Qcmjnc','562132ArJDvk','1104LCZvVF','sort','values','item','9395830dfSSoI','2581084KEZegZ','getClientRects','name','from','map','9078831dYxeLT','domConverter','1DKebaS','domElement','push','mapViewToDom','2143940ibZSJJ','8OTiUXY','29078OsttXO','42AsmjOL','length','markerNameToElements'];_0x1f1b=function(){return _0x1334c9;};return _0x1f1b();}export function getMarkerDomElement(_0x43eae6,_0x1ed623){const _0x17a704=_0x5e63,_0x2392a0=_0x43eae6[_0x17a704(0x100)][_0x17a704(0xff)](_0x1ed623[_0x17a704(0xf1)]);if(!_0x2392a0)return null;const _0x5d5298=_0x877770(_0x2392a0[_0x17a704(0x108)]());return _0x43eae6[_0x17a704(0x102)][_0x17a704(0xf5)][_0x17a704(0xf9)](_0x5d5298)||null;}export function getAllMarkersDomElementsSorted(_0x34430d,_0x2ecfaa){const _0x32310c=_0x5e63;if(0x0===_0x2ecfaa[_0x32310c(0xfe)])return null;const _0xb525a2=[],_0x177cab=_0x34430d[_0x32310c(0x102)][_0x32310c(0xf5)];for(const _0x4c2129 of _0x2ecfaa){const _0x37fd2d=_0x34430d[_0x32310c(0x100)][_0x32310c(0xff)](_0x4c2129[_0x32310c(0xf1)]);if(!_0x37fd2d)continue;const _0xe44630=Array[_0x32310c(0xf2)](_0x37fd2d)[_0x32310c(0xf3)](_0x1f525b=>_0x177cab[_0x32310c(0xf9)](_0x1f525b))[_0x32310c(0x103)](_0x32fdb7=>!!_0x32fdb7);_0xb525a2[_0x32310c(0xf8)](..._0xe44630);}if(0x0===_0xb525a2[_0x32310c(0xfe)])return null;const _0x54b4a0=[];for(const _0x3a800f of _0xb525a2){const _0x22e7be=_0x3a800f[_0x32310c(0x10c)]()[_0x32310c(0x109)](0x0);_0x22e7be&&_0x54b4a0[_0x32310c(0xf8)]({'x':_0x22e7be['x'],'y':_0x22e7be['y'],'domElement':_0x3a800f});}return 0x0===_0x54b4a0[_0x32310c(0xfe)]?null:(_0x54b4a0[_0x32310c(0x107)]((_0x10140a,_0x44573a)=>_0x10140a['y']-_0x44573a['y']||_0x10140a['x']-_0x44573a['x']),_0x54b4a0[_0x32310c(0xf3)](_0x34920e=>_0x34920e[_0x32310c(0xf7)]));}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb4617f,_0x110d8f){const _0x41eb0d=_0x1193,_0x5d7f2a=_0xb4617f();while(!![]){try{const _0x2131cb=-parseInt(_0x41eb0d(0x1c6))/0x1*(-parseInt(_0x41eb0d(0x1ca))/0x2)+parseInt(_0x41eb0d(0x1be))/0x3+parseInt(_0x41eb0d(0x1c1))/0x4+-parseInt(_0x41eb0d(0x1c3))/0x5*(parseInt(_0x41eb0d(0x1bf))/0x6)+parseInt(_0x41eb0d(0x1cd))/0x7*(-parseInt(_0x41eb0d(0x1c7))/0x8)+parseInt(_0x41eb0d(0x1c2))/0x9*(-parseInt(_0x41eb0d(0x1d0))/0xa)+parseInt(_0x41eb0d(0x1cf))/0xb;if(_0x2131cb===_0x110d8f)break;else _0x5d7f2a['push'](_0x5d7f2a['shift']());}catch(_0xc49baf){_0x5d7f2a['push'](_0x5d7f2a['shift']());}}}(_0x1b75,0x2d490));function _0x1193(_0x1ebaa1,_0x31cf72){const _0x1b75fc=_0x1b75();return _0x1193=function(_0x1193af,_0x5801e2){_0x1193af=_0x1193af-0x1be;let _0x483f7f=_0x1b75fc[_0x1193af];return _0x483f7f;},_0x1193(_0x1ebaa1,_0x31cf72);}export function hashObject(_0x4bbff8){let _0x50457b=0x0,_0x2d15f2=0x0;for(const _0xbe3f54 of M(_0x4bbff8))_0x50457b=(_0x50457b<<0x5)-_0x50457b+_0xbe3f54,_0x50457b&=_0x50457b,[_0x50457b,_0x2d15f2]=[_0x2d15f2,_0x50457b];return F(_0x50457b)+F(_0x2d15f2);}function*O(_0x194447){const _0xd5c5a7=_0x1193;null==_0x194447||null==_0x194447?yield 0x12b9b0a1:0x0===_0x194447||!0x1===_0x194447?yield 0x0:0x1===_0x194447||0x1==_0x194447?yield 0x1:Array[_0xd5c5a7(0x1c9)](_0x194447)?yield*function*(_0x3d6acd){for(const _0x3ed6b3 of _0x3d6acd)yield*O(_0x3ed6b3);}(_0x194447):_0xd5c5a7(0x1ce)==typeof _0x194447?yield*M(_0x194447):_0xd5c5a7(0x1d1)==typeof _0x194447?yield*q(_0x194447):_0xd5c5a7(0x1c4)==typeof _0x194447&&(yield _0x194447);}function*M(_0x14bbde){const _0x43ee8b=_0x1193;if(yield z('{'),_0x14bbde){const _0xc3ba18=Object[_0x43ee8b(0x1c5)](_0x14bbde)[_0x43ee8b(0x1c8)]();for(const _0x3a40bf of _0xc3ba18){yield*q(_0x3a40bf),yield z(':');const _0x537904=_0x14bbde[_0x3a40bf];yield*O(_0x537904);}}yield z('}');}function*q(_0x38b8d7){yield z('\x22');for(const _0x35500c of _0x38b8d7)yield z(_0x35500c);yield z('\x22');}function z(_0x235569){const _0x119b78=_0x1193;return _0x235569[_0x119b78(0x1cc)](0x0);}function _0x1b75(){const _0x5271e8=['90gJkHZG','number','keys','4642gAowgX','2598776tXFQxI','sort','isArray','116zLjyer','toString','charCodeAt','7RdHkbZ','object','5237892drjfIr','10sFYJII','string','172641NtIgvt','69624SQzcJc','sign','308780MhpZLl','1448487DnJIKz'];_0x1b75=function(){return _0x5271e8;};return _0x1b75();}function F(_0x474da0){const _0x491d29=_0x1193;return(_0x474da0*=Math[_0x491d29(0x1c0)](_0x474da0))[_0x491d29(0x1cb)](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2682a1=_0x3b4c;function _0x3b4c(_0x49a4f6,_0xb55479){const _0x2ff923=_0x2ff9();return _0x3b4c=function(_0x3b4c7f,_0x4cc003){_0x3b4c7f=_0x3b4c7f-0xb6;let _0x514bea=_0x2ff923[_0x3b4c7f];return _0x514bea;},_0x3b4c(_0x49a4f6,_0xb55479);}function _0x2ff9(){const _0x54c06e=['prototype','context','builtinPlugins','concat','string','find','DocumentOutline','set','WordCount','toolbar','requires','filter','config','removePlugins','plugins','70Qmewan','from','extraPlugins','get','includes','map','322BQHwEa','initialData','constructor','9TkzWve','_context','has','7170200mLOQff','24326kTezMX','437208uFhTLn','RevisionTracker','rootsAttributes','3001276KEFEPj','21163857jcLgCo','length','WProofreader','every','names','24060xbJSqZ','81HJpDFX','102632ThZOZH','pluginName','WebSocketGateway','Autosave'];_0x2ff9=function(){return _0x54c06e;};return _0x2ff9();}(function(_0x328114,_0x54235d){const _0x5ac185=_0x3b4c,_0x193382=_0x328114();while(!![]){try{const _0x379862=-parseInt(_0x5ac185(0xe0))/0x1+-parseInt(_0x5ac185(0xd6))/0x2*(parseInt(_0x5ac185(0xe1))/0x3)+-parseInt(_0x5ac185(0xda))/0x4+-parseInt(_0x5ac185(0xc9))/0x5*(-parseInt(_0x5ac185(0xd7))/0x6)+parseInt(_0x5ac185(0xcf))/0x7*(-parseInt(_0x5ac185(0xb6))/0x8)+parseInt(_0x5ac185(0xd2))/0x9*(-parseInt(_0x5ac185(0xd5))/0xa)+parseInt(_0x5ac185(0xdb))/0xb;if(_0x379862===_0x54235d)break;else _0x193382['push'](_0x193382['shift']());}catch(_0x6bffb1){_0x193382['push'](_0x193382['shift']());}}}(_0x2ff9,0x826bd));const W=[_0x2682a1(0xd0),_0x2682a1(0xbb),_0x2682a1(0xc3),_0x2682a1(0xd9)],S=[_0x2682a1(0xb8),_0x2682a1(0xd8),_0x2682a1(0xb9),_0x2682a1(0xc2),_0x2682a1(0xc0),_0x2682a1(0xdd)];function G(_0x55f78c,_0x31f6eb,_0x1a08f9,_0x362e75=[]){const _0x3ef02a=_0x2682a1,_0x23d337=_0x3ef02a(0xbe)==typeof _0x55f78c?_0x1a08f9[_0x3ef02a(0xcc)](_0x55f78c)[_0x3ef02a(0xd1)]:_0x55f78c[_0x3ef02a(0xba)][_0x3ef02a(0xd1)];if(_0x31f6eb[_0x3ef02a(0xd4)](_0x23d337))return _0x31f6eb[_0x3ef02a(0xcc)](_0x23d337);_0x31f6eb[_0x3ef02a(0xc1)](_0x23d337,!0x0);const _0x4717ad=[...S,..._0x362e75][_0x3ef02a(0xce)](_0x4b6d55=>{const _0x43aa70=_0x3ef02a;if(_0x1a08f9[_0x43aa70(0xd4)](_0x4b6d55))return _0x1a08f9[_0x43aa70(0xcc)](_0x4b6d55)[_0x43aa70(0xd1)];})[_0x3ef02a(0xc5)](_0x9fed43=>_0x9fed43);if(_0x23d337&&_0x4717ad[_0x3ef02a(0xcd)](_0x23d337))return _0x31f6eb[_0x3ef02a(0xc1)](_0x23d337,!0x1),!0x1;if(!_0x23d337[_0x3ef02a(0xc4)])return _0x31f6eb[_0x3ef02a(0xc1)](_0x23d337,!0x0),!0x0;const _0x1c92c8=_0x23d337[_0x3ef02a(0xc4)][_0x3ef02a(0xde)](_0x2174b5=>G(_0x2174b5,_0x31f6eb,_0x1a08f9,_0x362e75));return _0x31f6eb[_0x3ef02a(0xc1)](_0x23d337,_0x1c92c8),_0x1c92c8;}export function sanitizeEditorConfig(_0x3e0bcc,_0x130c69){const _0x5bee2e=_0x2682a1,_0x17d33a={};for(const _0x219f95 of _0x3e0bcc[_0x5bee2e(0xc6)][_0x5bee2e(0xdf)]())W[_0x5bee2e(0xcd)](_0x219f95)||(_0x17d33a[_0x219f95]=_0x3e0bcc[_0x5bee2e(0xc6)][_0x5bee2e(0xcc)](_0x219f95));const _0x7dc025=_0x17d33a[_0x5bee2e(0xc8)]||[],_0xf7ec89=_0x3e0bcc[_0x5bee2e(0xd1)][_0x5bee2e(0xbc)]||[],_0x11d51c=_0x7dc025[_0x5bee2e(0xdc)]?_0x7dc025:_0xf7ec89,_0x19099f=_0x17d33a[_0x5bee2e(0xcb)]||[];delete _0x17d33a[_0x5bee2e(0xcb)];const _0x1f7360=_0x17d33a[_0x5bee2e(0xc7)]||[];delete _0x17d33a[_0x5bee2e(0xc7)];const _0x23ec2a=_0x3e0bcc[_0x5bee2e(0xd3)][_0x5bee2e(0xc6)][_0x5bee2e(0xcc)](_0x5bee2e(0xc8))||[],_0x5e211a=_0x11d51c[_0x5bee2e(0xbd)](_0x19099f)[_0x5bee2e(0xbd)](_0x23ec2a)[_0x5bee2e(0xce)](_0x5cc774=>_0x5bee2e(0xbe)==typeof _0x5cc774?_0xf7ec89[_0x5bee2e(0xbf)](_0x3e14b9=>_0x3e14b9[_0x5bee2e(0xb7)]==_0x5cc774):_0x5cc774)[_0x5bee2e(0xc5)](_0x504278=>!_0x1f7360[_0x5bee2e(0xcd)](_0x504278)&&!_0x1f7360[_0x5bee2e(0xcd)](_0x504278[_0x5bee2e(0xb7)])),_0x170c13=Array[_0x5bee2e(0xca)](new Set(_0x5e211a)),_0x4331b4=new Map();return _0x17d33a[_0x5bee2e(0xc8)]=_0x170c13[_0x5bee2e(0xc5)](_0x542c08=>G(_0x542c08,_0x4331b4,_0x3e0bcc[_0x5bee2e(0xc8)],_0x130c69)),_0x17d33a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19c138=_0x4575;function _0x4575(_0x563a31,_0x47a86b){const _0xb792e1=_0xb792();return _0x4575=function(_0x4575d7,_0x2c701e){_0x4575d7=_0x4575d7-0xe1;let _0x156187=_0xb792e1[_0x4575d7];return _0x156187;},_0x4575(_0x563a31,_0x47a86b);}(function(_0x54e08e,_0x7cb7c9){const _0x441ae8=_0x4575,_0x1a657e=_0x54e08e();while(!![]){try{const _0xaefd4b=parseInt(_0x441ae8(0xe1))/0x1+-parseInt(_0x441ae8(0xe2))/0x2+parseInt(_0x441ae8(0x104))/0x3*(parseInt(_0x441ae8(0xf7))/0x4)+parseInt(_0x441ae8(0x102))/0x5+parseInt(_0x441ae8(0xf9))/0x6*(parseInt(_0x441ae8(0xe7))/0x7)+parseInt(_0x441ae8(0xf5))/0x8+-parseInt(_0x441ae8(0xec))/0x9*(parseInt(_0x441ae8(0xf4))/0xa);if(_0xaefd4b===_0x7cb7c9)break;else _0x1a657e['push'](_0x1a657e['shift']());}catch(_0x172d8a){_0x1a657e['push'](_0x1a657e['shift']());}}}(_0xb792,0xf0c8b));import{isViewWithFocusCycler as _0x17851a}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x19c138(0xe4);export function setupThreadKeyboardNavigation(_0x5907cf,_0x58a6e7){const _0x327ccb=_0x19c138,_0x16f752=_0x5907cf[_0x327ccb(0xf3)];_0x5907cf[_0x327ccb(0x101)][_0x327ccb(0xfe)](_0x16f752);for(const _0x459532 of _0x58a6e7)I(_0x5907cf,_0x459532);_0x58a6e7['on'](_0x327ccb(0xe5),(_0x58a57e,_0x44ccb1)=>{const _0x2c3c24=_0x327ccb;for(const _0x28012e of _0x44ccb1[_0x2c3c24(0x106)])R(_0x5907cf,_0x28012e);for(const _0x26cc18 of Array[_0x2c3c24(0xfb)](_0x44ccb1[_0x2c3c24(0xf8)])[_0x2c3c24(0xfa)]())I(_0x5907cf,_0x26cc18);}),_0x5907cf[_0x327ccb(0x101)][_0x327ccb(0xfc)](_0x327ccb(0xf2),(_0x556928,_0x4ef19c)=>{const _0xe20dab=_0x327ccb;_0x16f752===_0x556928[_0xe20dab(0xe9)]&&(_0x5907cf[_0xe20dab(0x103)][_0xe20dab(0xfd)](),_0x4ef19c());},{'filter':_0x54b53b=>_0x54b53b[_0x327ccb(0xe9)]===_0x16f752}),_0x5907cf[_0x327ccb(0x101)][_0x327ccb(0xfc)](_0x327ccb(0xe3),(_0x31f5ff,_0x598bfc)=>{const _0x5d3286=_0x327ccb;_0x16f752!==_0x31f5ff[_0x5d3286(0xe9)]?_0x5907cf[_0x5d3286(0xef)]():_0x5907cf[_0x5d3286(0xf0)](_0x5d3286(0x100)),_0x598bfc();}),_0x5907cf[_0x327ccb(0x101)][_0x327ccb(0xfc)](_0x327ccb(0xe6),(_0x438fd1,_0x4f9cc0)=>{const _0x3c7d5e=_0x327ccb;_0x16f752===_0x438fd1[_0x3c7d5e(0xe9)]&&(_0x5907cf[_0x3c7d5e(0xf0)](_0x3c7d5e(0xe6)),_0x4f9cc0());}),_0x5907cf[_0x327ccb(0x101)][_0x327ccb(0xfc)](_0x327ccb(0xee),(_0x1602e1,_0x6763e)=>{const _0xceef1d=_0x327ccb;_0x16f752===_0x1602e1[_0xceef1d(0xe9)]&&(_0x5907cf[_0xceef1d(0xf0)](_0xceef1d(0xee)),_0x6763e());});}function I(_0x2e3af9,_0x50fbd9){const _0x3ff5e2=_0x19c138;_0x50fbd9[_0x3ff5e2(0xf6)]&&(_0x2e3af9[_0x3ff5e2(0x107)][_0x3ff5e2(0xf1)](_0x50fbd9[_0x3ff5e2(0xf3)]),_0x2e3af9[_0x3ff5e2(0x101)][_0x3ff5e2(0xfe)](_0x50fbd9[_0x3ff5e2(0xf3)]),_0x17851a(_0x50fbd9)&&function(_0x5eb326,_0xe3e85){const _0x4c60df=_0x3ff5e2,_0x2cbf73=_0x5eb326[_0x4c60df(0xff)],_0xa22f30=_0xe3e85[_0x4c60df(0xff)];for(const _0x2dce32 of Object[_0x4c60df(0xea)](_0x2cbf73))if(_0x2dce32 in _0xa22f30&&_0x2cbf73[_0x2dce32]!==_0xa22f30[_0x2dce32])return!0x1;return!0x0;}(_0x2e3af9[_0x3ff5e2(0x103)],_0x50fbd9[_0x3ff5e2(0x103)])&&_0x2e3af9[_0x3ff5e2(0x103)][_0x3ff5e2(0xeb)](_0x50fbd9[_0x3ff5e2(0x103)]));}function R(_0x4e6ebf,_0x1835e7){const _0x10a3e2=_0x19c138;_0x4e6ebf[_0x10a3e2(0x107)][_0x10a3e2(0x105)](_0x1835e7[_0x10a3e2(0xf3)]),_0x4e6ebf[_0x10a3e2(0x101)][_0x10a3e2(0xed)](_0x1835e7[_0x10a3e2(0xf3)]),_0x17851a(_0x1835e7)&&_0x4e6ebf[_0x10a3e2(0x103)][_0x10a3e2(0xe8)](_0x1835e7[_0x10a3e2(0x103)]);}function _0xb792(){const _0x2f98ed=['focusCycler','3XyjFBn','remove','removed','focusTracker','1842355UvTENQ','3151904ODPiWb','esc','Ctrl+Shift+E','change','arrowdown','70KfLDPS','unchain','target','keys','chain','18767313izzAyd','stopListening','arrowup','focus','fire','add','enter','element','20uVmlKD','12477288tiPsfN','isRendered','2559604GGyrQF','added','835014rCASkX','reverse','from','set','focusFirst','listenTo','actions','escape','keystrokes','6495550GcyQPp'];_0xb792=function(){return _0x2f98ed;};return _0xb792();}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x433838=_0x5ee6;(function(_0x32c2c1,_0x47ced5){const _0x4a3e96=_0x5ee6,_0x42ada0=_0x32c2c1();while(!![]){try{const _0x29da62=-parseInt(_0x4a3e96(0x1d2))/0x1+parseInt(_0x4a3e96(0x1c5))/0x2+-parseInt(_0x4a3e96(0x1c3))/0x3+parseInt(_0x4a3e96(0x1c0))/0x4*(parseInt(_0x4a3e96(0x1d0))/0x5)+parseInt(_0x4a3e96(0x1c9))/0x6*(parseInt(_0x4a3e96(0x1d1))/0x7)+-parseInt(_0x4a3e96(0x1ca))/0x8+parseInt(_0x4a3e96(0x1cc))/0x9*(parseInt(_0x4a3e96(0x1c6))/0xa);if(_0x29da62===_0x47ced5)break;else _0x42ada0['push'](_0x42ada0['shift']());}catch(_0x1ea3ef){_0x42ada0['push'](_0x42ada0['shift']());}}}(_0x4755,0x86aeb));function _0x5ee6(_0x532539,_0x303080){const _0x4755ee=_0x4755();return _0x5ee6=function(_0x5ee628,_0x1b798e){_0x5ee628=_0x5ee628-0x1c0;let _0x407fea=_0x4755ee[_0x5ee628];return _0x407fea;},_0x5ee6(_0x532539,_0x303080);}export function trimHtml(_0x53452c,{limit:_0x2a3457,suffix:_0xb6af49=_0x433838(0x1c1)}){const _0x2c20d7=_0x433838,_0x58bad3=[];let _0x2c7ea3=0x0;const _0x425992=_0x53452c[_0x2c20d7(0x1d4)](/</g,'\x0a<')[_0x2c20d7(0x1d4)](/>/g,'>\x0a')[_0x2c20d7(0x1d4)](/^\n/g,'')[_0x2c20d7(0x1d4)](/\n$/g,'')[_0x2c20d7(0x1cd)]('\x0a');for(let _0x5cc3ad=0x0;_0x5cc3ad<_0x425992[_0x2c20d7(0x1cf)];_0x5cc3ad++){let _0x1b9a60=_0x425992[_0x5cc3ad];const _0x3d62f4=H(_0x1b9a60);if(_0x1b9a60[_0x2c20d7(0x1ce)]('<')){if(_0x2c7ea3>=_0x2a3457){const _0x7eecb0=_0x1b9a60[_0x2c20d7(0x1c4)](/[a-zA-Z]+/);if(!_0x7eecb0){_0x425992[_0x5cc3ad]='';continue;}const _0x1938c9=_0x7eecb0[0x0];_0x1b9a60[_0x2c20d7(0x1ce)]('</')?(_0x58bad3[_0x2c20d7(0x1cf)]&&(_0x1b9a60=''),_0x58bad3[_0x2c20d7(0x1c7)]()):(_0x58bad3[_0x2c20d7(0x1d5)](_0x1938c9),_0x1b9a60='');}}else{if(_0x2c7ea3>=_0x2a3457)_0x1b9a60='';else{if(_0x2c7ea3+_0x3d62f4[_0x2c20d7(0x1cf)]>=_0x2a3457){let _0x537248=_0x2a3457-_0x2c7ea3;if('\x20'===_0x3d62f4[_0x537248-0x1])_0x537248--;else{const _0x33d296=_0x3d62f4[_0x2c20d7(0x1c2)](_0x537248)[_0x2c20d7(0x1c8)]('\x20');-0x1!==_0x33d296?_0x537248+=_0x33d296:_0x537248=_0x1b9a60[_0x2c20d7(0x1cf)];}_0x1b9a60=_0x3d62f4[_0x2c20d7(0x1c2)](0x0,_0x537248)[_0x2c20d7(0x1cb)]('')+_0xb6af49,_0x2c7ea3=_0x2a3457;}else _0x2c7ea3+=_0x3d62f4[_0x2c20d7(0x1cf)];}}_0x425992[_0x5cc3ad]=_0x1b9a60;}return _0x425992[_0x2c20d7(0x1cb)]('\x0a')[_0x2c20d7(0x1d4)](/\n/g,'');}function _0x4755(){const _0x5e0326=['match','1739268FYymer','5590lYPcOC','pop','indexOf','13626LOACMO','6910456WsdhFo','join','1107izmWBy','split','startsWith','length','1323760MxrFQU','2786ckGAhM','243327xwhHFQ','substring','replace','push','12kWAXJZ','...','slice','2933136AGbFut'];_0x4755=function(){return _0x5e0326;};return _0x4755();}function H(_0x58ba28){const _0x5d81d0=_0x433838,_0x4a5a20=[];for(let _0x5ded64=0x0;_0x5ded64<_0x58ba28[_0x5d81d0(0x1cf)];_0x5ded64++){const _0x59e49f=_0x58ba28[_0x5d81d0(0x1d3)](_0x5ded64)[_0x5d81d0(0x1c4)](/^&[a-z0-9#]+;/);if(_0x59e49f){const _0x5eed6c=_0x59e49f[0x0];_0x4a5a20[_0x5d81d0(0x1d5)](_0x5eed6c),_0x5ded64+=_0x5eed6c[_0x5d81d0(0x1cf)]-0x1;}else _0x4a5a20[_0x5d81d0(0x1d5)](_0x58ba28[_0x5ded64]);}return _0x4a5a20;}
|