@ckeditor/ckeditor5-collaboration-core 47.7.2-alpha.0 → 47.7.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/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/footnotes.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/tablecellproperties.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
|
-
var
|
|
23
|
+
function _0x16a6(_0x2a6855,_0x3eab2b){var _0x42939d=_0x4293();return _0x16a6=function(_0x16a6f3,_0x34d176){_0x16a6f3=_0x16a6f3-0x176;var _0x388512=_0x42939d[_0x16a6f3];return _0x388512;},_0x16a6(_0x2a6855,_0x3eab2b);}var _0x1bd4de=_0x16a6;function _0x4293(){var _0x1eaaaa=['1388GOlvwT','render','element','831VosVNl','872cpFBwy','200290dRJweB','mouseup','3796092ooSxeS','listenTo','803RAIBnl','102CUwmvC','stopPropagation','mousedown','1571136HSZCEF','5860bHvlNW','preventDefault','177685sSutSi','focus','2831592YnNBTu'];_0x4293=function(){return _0x1eaaaa;};return _0x4293();}(function(_0x55e903,_0x487e28){var _0x29f40e=_0x16a6,_0x4c90f7=_0x55e903();while(!![]){try{var _0x209bae=parseInt(_0x29f40e(0x17f))/0x1*(-parseInt(_0x29f40e(0x17b))/0x2)+parseInt(_0x29f40e(0x17e))/0x3*(parseInt(_0x29f40e(0x176))/0x4)+parseInt(_0x29f40e(0x178))/0x5*(-parseInt(_0x29f40e(0x185))/0x6)+-parseInt(_0x29f40e(0x188))/0x7+parseInt(_0x29f40e(0x17a))/0x8+-parseInt(_0x29f40e(0x182))/0x9+parseInt(_0x29f40e(0x180))/0xa*(parseInt(_0x29f40e(0x184))/0xb);if(_0x209bae===_0x487e28)break;else _0x4c90f7['push'](_0x4c90f7['shift']());}catch(_0x38a86f){_0x4c90f7['push'](_0x4c90f7['shift']());}}}(_0x4293,0x59702));import{ButtonView as _0x42a690,DropdownButtonView as _0x2265c1}from'ckeditor5/src/ui.js';export class LateFocusButtonView extends _0x42a690{[_0x1bd4de(0x17c)](){var _0x2fbde5=_0x1bd4de;super[_0x2fbde5(0x17c)](),re(this);}}export class LateFocusDropdownButtonView extends _0x2265c1{[_0x1bd4de(0x17c)](){var _0x5e82c9=_0x1bd4de;super[_0x5e82c9(0x17c)](),re(this);}}function re(_0x4a13b8){var _0x9aee31=_0x1bd4de;_0x4a13b8[_0x9aee31(0x183)](_0x4a13b8[_0x9aee31(0x17d)],_0x9aee31(0x187),(_0xd2a2d3,_0x389730)=>{var _0x39bb95=_0x9aee31;_0x389730[_0x39bb95(0x186)](),_0x389730[_0x39bb95(0x177)]();}),_0x4a13b8[_0x9aee31(0x183)](_0x4a13b8[_0x9aee31(0x17d)],_0x9aee31(0x181),()=>{var _0x49d162=_0x9aee31;_0x4a13b8[_0x49d162(0x17d)][_0x49d162(0x179)]();});}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fb197=_0x12f4;(function(_0x9e1cc3,_0x468bcb){const _0x2fdd30=_0x12f4,_0x98a650=_0x9e1cc3();while(!![]){try{const _0xc5a22d=parseInt(_0x2fdd30(0xc8))/0x1+parseInt(_0x2fdd30(0xb8))/0x2*(-parseInt(_0x2fdd30(0xc4))/0x3)+parseInt(_0x2fdd30(0xd2))/0x4*(parseInt(_0x2fdd30(0xbb))/0x5)+parseInt(_0x2fdd30(0xc0))/0x6*(-parseInt(_0x2fdd30(0xbd))/0x7)+-parseInt(_0x2fdd30(0xc2))/0x8+-parseInt(_0x2fdd30(0xcd))/0x9*(parseInt(_0x2fdd30(0xb7))/0xa)+parseInt(_0x2fdd30(0xb6))/0xb*(parseInt(_0x2fdd30(0xc3))/0xc);if(_0xc5a22d===_0x468bcb)break;else _0x98a650['push'](_0x98a650['shift']());}catch(_0x499797){_0x98a650['push'](_0x98a650['shift']());}}}(_0x4d3b,0x60c43));import{View as _0x4c72be,IconView as _0x1b2ab7}from'ckeditor5/src/ui.js';import{IconNotification as _0x3baf27}from'ckeditor5/src/icons.js';import'../../../theme/users.css';function _0x12f4(_0x5e9a84,_0x30664e){const _0x4d3b05=_0x4d3b();return _0x12f4=function(_0x12f41e,_0x1c9731){_0x12f41e=_0x12f41e-0xb3;let _0xf13af2=_0x4d3b05[_0x12f41e];return _0xf13af2;},_0x12f4(_0x5e9a84,_0x30664e);}export class UserView extends _0x4c72be{[_0x2fb197(0xbc)];[_0x2fb197(0xcb)];constructor(_0x38ea67,_0xcbe6e5,_0x53b40c){const _0x177fdf=_0x2fb197;super(_0x38ea67),this[_0x177fdf(0xbc)]=_0xcbe6e5[_0x177fdf(0xbc)],this[_0x177fdf(0xcb)]=null;const _0x228267=['ck',_0x177fdf(0xc6)],_0x27d628=['ck',_0x177fdf(0xbe)];if(_0xcbe6e5[_0x177fdf(0xba)]&&_0x27d628[_0x177fdf(0xd3)](_0x177fdf(0xc1)),!_0xcbe6e5[_0x177fdf(0xba)]&&_0xcbe6e5[_0x177fdf(0xd0)]&&_0x228267[_0x177fdf(0xd3)](_0x177fdf(0xc7)),_0xcbe6e5[_0x177fdf(0xca)]&&_0x27d628[_0x177fdf(0xd3)](_0x177fdf(0xbf)),_0x53b40c){const _0x2d7c56=new _0x1b2ab7();_0x2d7c56[_0x177fdf(0xb3)]({'attributes':{'class':[_0x177fdf(0xb9)]}}),_0x2d7c56[_0x177fdf(0xcc)]=_0x3baf27,this[_0x177fdf(0xcb)]={'tag':_0x177fdf(0xb5),'attributes':{'class':['ck',_0x177fdf(0xcf)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x53b40c},'children':[_0x2d7c56]};}const _0x2808ca=[{'tag':_0x177fdf(0xb5),'attributes':{'class':_0x27d628,'style':{'background-image':_0xcbe6e5[_0x177fdf(0xca)]?_0x177fdf(0xce)+_0xcbe6e5[_0x177fdf(0xca)]+'\x27)':''}}},{'tag':_0x177fdf(0xb5),'attributes':{'class':_0xcbe6e5[_0x177fdf(0xca)]?_0x177fdf(0xb4):_0x177fdf(0xc9),'aria-label':_0xcbe6e5[_0x177fdf(0xbc)]},'children':[{'text':_0xcbe6e5[_0x177fdf(0xc5)]}]}];this[_0x177fdf(0xcb)]&&_0x2808ca[_0x177fdf(0xd3)](this[_0x177fdf(0xcb)]),this[_0x177fdf(0xd1)]({'tag':_0x177fdf(0xb5),'attributes':{'class':_0x228267,'data-user-id':_0xcbe6e5['id']},'children':_0x2808ca});}}function _0x4d3b(){const _0xaa231=['ck\x20ck-user__name\x20ck-user__name--hidden','div','231tKoonP','2671430nTcBUX','275602TPtrjT','ck-user__icon','isAnonymous','1919545KqGhjK','name','4644584KNCczM','ck-user__img','ck-user__avatar','6zBPUpL','ck-user__anonymous','5338832aPdvUX','663948XsktgC','6nxVfPS','initials','ck-user','ck-user_me','724148vboPMO','ck\x20ck-user__name','avatar','notificationView','content','9HyVFWY','url(\x27','ck-user__notification','isMe','setTemplate','4xotVyh','push','extendTemplate'];_0x4d3b=function(){return _0xaa231;};return _0x4d3b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x27c735,_0x432221){var _0x1f179a=_0x201e,_0x205b64=_0x27c735();while(!![]){try{var _0x3bc303=parseInt(_0x1f179a(0x14e))/0x1+parseInt(_0x1f179a(0x13e))/0x2*(parseInt(_0x1f179a(0x153))/0x3)+-parseInt(_0x1f179a(0x14b))/0x4+-parseInt(_0x1f179a(0x150))/0x5+parseInt(_0x1f179a(0x154))/0x6+parseInt(_0x1f179a(0x134))/0x7*(parseInt(_0x1f179a(0x136))/0x8)+-parseInt(_0x1f179a(0x135))/0x9*(parseInt(_0x1f179a(0x13d))/0xa);if(_0x3bc303===_0x432221)break;else _0x205b64['push'](_0x205b64['shift']());}catch(_0x5b36d3){_0x205b64['push'](_0x205b64['shift']());}}}(_0x4c96,0x73715));import{ConfirmView as _0x3b4fc1}from'./confirmview.js';function _0x201e(_0x2887d9,_0x40567d){var _0x4c9609=_0x4c96();return _0x201e=function(_0x201ead,_0x3687cb){_0x201ead=_0x201ead-0x133;var _0xc35e59=_0x4c9609[_0x201ead];return _0xc35e59;},_0x201e(_0x2887d9,_0x40567d);}function _0x4c96(){var _0x1ec6ca=['focus','3941DvZLfy','18mnZrHC','13424FQaahi','set','registerChild','removeConfirm','cancelConfirm','appendChild','change:isConfirm','4583120MtfvLQ','4dILBhM','once','destroy','submit','locale','add','confirmView','message','isConfirm','fire','deregisterChild','element','showConfirm','942260LWoAHG','ck-confirm-view-active','render','528750PZnfoT','classList','4508645Olmdpb','cancel','remove','658488IpgCmk','3685890dKbygV','_removeConfirm'];_0x4c96=function(){return _0x1ec6ca;};return _0x4c96();}export function ConfirmMixin(_0x16fc8c){var _0x4ec220=_0x201e;return class _0x45a16d extends _0x16fc8c{[_0x4ec220(0x14a)](_0x1c5edf,_0x23e906){var _0x209dc6=_0x4ec220;return this[_0x209dc6(0x144)]=new _0x3b4fc1(this[_0x209dc6(0x142)]),this[_0x209dc6(0x144)][_0x209dc6(0x14d)](),this[_0x209dc6(0x144)][_0x209dc6(0x145)]=_0x1c5edf,this[_0x209dc6(0x144)][_0x209dc6(0x13f)](_0x209dc6(0x151),()=>{var _0x1b6423=_0x209dc6;this[_0x1b6423(0x155)]();}),this[_0x209dc6(0x144)][_0x209dc6(0x13f)](_0x209dc6(0x141),()=>{var _0x52307e=_0x209dc6;this[_0x52307e(0x155)]();}),_0x23e906[_0x209dc6(0x13b)](this[_0x209dc6(0x144)][_0x209dc6(0x149)]),_0x23e906[_0x209dc6(0x14f)][_0x209dc6(0x143)](_0x209dc6(0x14c)),this[_0x209dc6(0x138)](this[_0x209dc6(0x144)]),this[_0x209dc6(0x144)][_0x209dc6(0x133)](),this[_0x209dc6(0x137)](_0x209dc6(0x146),!0x0),this['on'](_0x209dc6(0x13c),(_0x358e8,_0x2cba19,_0x30ad10)=>{var _0x44e4f5=_0x209dc6;_0x30ad10||_0x23e906[_0x44e4f5(0x14f)][_0x44e4f5(0x152)](_0x44e4f5(0x14c));}),new Promise(_0x428098=>this[_0x209dc6(0x144)]['on'](_0x209dc6(0x141),_0x428098));}[_0x4ec220(0x13a)](){var _0xf225ba=_0x4ec220;this[_0xf225ba(0x146)]&&this[_0xf225ba(0x144)][_0xf225ba(0x147)](_0xf225ba(0x151));}[_0x4ec220(0x155)](){var _0x3c2c80=_0x4ec220;this[_0x3c2c80(0x149)]&&this[_0x3c2c80(0x144)]&&this[_0x3c2c80(0x144)][_0x3c2c80(0x149)]&&(this[_0x3c2c80(0x149)][_0x3c2c80(0x133)](),this[_0x3c2c80(0x144)][_0x3c2c80(0x149)][_0x3c2c80(0x152)](),this[_0x3c2c80(0x148)](this[_0x3c2c80(0x144)]),this[_0x3c2c80(0x146)]=!0x1,this[_0x3c2c80(0x147)](_0x3c2c80(0x139)),this[_0x3c2c80(0x144)][_0x3c2c80(0x140)](),this[_0x3c2c80(0x144)]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3439(){const _0x8adfbe=['6540408zawNyq','bindTemplate','message','cancel','icon','shift+tab','_createButtonView','10qmjsSQ','render','listenTo','ck-confirm-view-','4vSImup','5077275rUzBhR','3432473WvZlMM','ck-confirm-view-actions','forEach','alertdialog','cancelView','1356732mrhfcR','ck-confirm-view-inner','keystrokes','set','tab','esc','setTemplate','focusables','Are\x20you\x20sure?','extendTemplate','Yes','59EpzFGj','div','8UeXZdc','add','ck-confirm-view','element','submitView','presentation','submit','556902hZVrqy','focusTracker','focus','focusCycler','6722uFCaYA','execute','1926955IMAuhd','createCollection','_setupKeyboardNavigation','fire','label'];_0x3439=function(){return _0x8adfbe;};return _0x3439();}const _0x63f12f=_0x5f5e;(function(_0x4e2066,_0x2a7811){const _0x13f155=_0x5f5e,_0x3c758f=_0x4e2066();while(!![]){try{const _0x3f4612=parseInt(_0x13f155(0x1e3))/0x1*(parseInt(_0x13f155(0x1f0))/0x2)+parseInt(_0x13f155(0x1d8))/0x3+parseInt(_0x13f155(0x1d1))/0x4*(-parseInt(_0x13f155(0x1f2))/0x5)+-parseInt(_0x13f155(0x1ec))/0x6+parseInt(_0x13f155(0x1d2))/0x7+-parseInt(_0x13f155(0x1e5))/0x8*(parseInt(_0x13f155(0x1f7))/0x9)+-parseInt(_0x13f155(0x1cd))/0xa*(-parseInt(_0x13f155(0x1d3))/0xb);if(_0x3f4612===_0x2a7811)break;else _0x3c758f['push'](_0x3c758f['shift']());}catch(_0x2830f7){_0x3c758f['push'](_0x3c758f['shift']());}}}(_0x3439,0x75eaf));import{IconCancel as _0x507e4f,IconCheck as _0xfd55be}from'ckeditor5/src/icons.js';import{View as _0x2646e1,ButtonView as _0x58c970,FocusCycler as _0xa33e10}from'ckeditor5/src/ui.js';import{FocusTracker as _0x420834,KeystrokeHandler as _0x597f0b}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f676b}from'./common-translations.js';import'../../theme/confirm.css';function _0x5f5e(_0x4874a8,_0x29d197){const _0x343911=_0x3439();return _0x5f5e=function(_0x5f5e03,_0x29dd2f){_0x5f5e03=_0x5f5e03-0x1c9;let _0x1e7f52=_0x343911[_0x5f5e03];return _0x1e7f52;},_0x5f5e(_0x4874a8,_0x29d197);}export class ConfirmView extends _0x2646e1{[_0x63f12f(0x1e9)];[_0x63f12f(0x1d7)];[_0x63f12f(0x1ed)];[_0x63f12f(0x1da)];[_0x63f12f(0x1ef)];[_0x63f12f(0x1df)];constructor(_0x1fb043){const _0x5e3afa=_0x63f12f;super(_0x1fb043);const _0x208958=this[_0x5e3afa(0x1f8)];this[_0x5e3afa(0x1db)](_0x5e3afa(0x1f9),_0x2f676b(_0x1fb043,_0x5e3afa(0x1e0))),this[_0x5e3afa(0x1e9)]=this[_0x5e3afa(0x1cc)](_0x1fb043,_0x2f676b(_0x1fb043,_0x5e3afa(0x1e2)),_0xfd55be,_0x5e3afa(0x1eb)),this[_0x5e3afa(0x1d7)]=this[_0x5e3afa(0x1cc)](_0x1fb043,_0x2f676b(_0x1fb043,'No'),_0x507e4f,_0x5e3afa(0x1c9)),this[_0x5e3afa(0x1df)]=this[_0x5e3afa(0x1f3)]([this[_0x5e3afa(0x1e9)],this[_0x5e3afa(0x1d7)]]),this[_0x5e3afa(0x1ed)]=new _0x420834(),this[_0x5e3afa(0x1da)]=new _0x597f0b(),this[_0x5e3afa(0x1ef)]=new _0xa33e10({'focusables':this[_0x5e3afa(0x1df)],'focusTracker':this[_0x5e3afa(0x1ed)],'keystrokeHandler':this[_0x5e3afa(0x1da)],'actions':{'focusPrevious':_0x5e3afa(0x1cb),'focusNext':_0x5e3afa(0x1dc)}}),this[_0x5e3afa(0x1de)]({'tag':_0x5e3afa(0x1e4),'attributes':{'class':['ck',_0x5e3afa(0x1e7)],'tabindex':-0x1,'role':_0x5e3afa(0x1d6)},'children':[{'tag':_0x5e3afa(0x1e4),'attributes':{'class':_0x5e3afa(0x1d9),'role':_0x5e3afa(0x1ea)},'children':[{'tag':'p','children':[{'text':_0x208958['to'](_0x5e3afa(0x1f9))}]},{'tag':_0x5e3afa(0x1e4),'attributes':{'class':_0x5e3afa(0x1d4)},'children':[this[_0x5e3afa(0x1e9)],this[_0x5e3afa(0x1d7)]]}]}]});}[_0x63f12f(0x1ce)](){const _0x98b6c5=_0x63f12f;super[_0x98b6c5(0x1ce)](),this[_0x98b6c5(0x1f4)]();}[_0x63f12f(0x1ee)](){const _0x2b9966=_0x63f12f;this[_0x2b9966(0x1d7)][_0x2b9966(0x1e8)][_0x2b9966(0x1ee)]({'preventScroll':!0x0});}[_0x63f12f(0x1cc)](_0x3cf16e,_0x4884d,_0x5d1b2d,_0x2e07af){const _0x51fe1e=_0x63f12f,_0x4cdc58=new _0x58c970(_0x3cf16e);return _0x4cdc58[_0x51fe1e(0x1f6)]=_0x4884d,_0x4cdc58[_0x51fe1e(0x1ca)]=_0x5d1b2d,_0x4cdc58[_0x51fe1e(0x1e1)]({'attributes':{'class':_0x51fe1e(0x1d0)+_0x2e07af}}),_0x4cdc58['on'](_0x51fe1e(0x1f1),()=>this[_0x51fe1e(0x1f5)](_0x2e07af)),_0x4cdc58;}[_0x63f12f(0x1f4)](){const _0x5693cf=_0x63f12f;this[_0x5693cf(0x1df)][_0x5693cf(0x1d5)](_0x4dc828=>{const _0x105ae1=_0x5693cf;this[_0x105ae1(0x1da)][_0x105ae1(0x1cf)](_0x4dc828[_0x105ae1(0x1e8)]),this[_0x105ae1(0x1ed)][_0x105ae1(0x1e6)](_0x4dc828[_0x105ae1(0x1e8)]);}),this[_0x5693cf(0x1da)][_0x5693cf(0x1db)](_0x5693cf(0x1dd),(_0x4bc060,_0x5e37ba)=>{const _0x198787=_0x5693cf;this[_0x198787(0x1f5)](_0x198787(0x1c9)),_0x5e37ba();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1994(_0x5be432,_0x10d017){const _0x5caa98=_0x5caa();return _0x1994=function(_0x1994c6,_0x4626d8){_0x1994c6=_0x1994c6-0x11f;let _0xb4ab90=_0x5caa98[_0x1994c6];return _0xb4ab90;},_0x1994(_0x5be432,_0x10d017);}(function(_0x200bcb,_0x1f4cb6){const _0x125f4a=_0x1994,_0x136e5a=_0x200bcb();while(!![]){try{const _0x538471=-parseInt(_0x125f4a(0x132))/0x1*(parseInt(_0x125f4a(0x122))/0x2)+parseInt(_0x125f4a(0x125))/0x3*(parseInt(_0x125f4a(0x12e))/0x4)+parseInt(_0x125f4a(0x11f))/0x5+-parseInt(_0x125f4a(0x128))/0x6*(-parseInt(_0x125f4a(0x13c))/0x7)+parseInt(_0x125f4a(0x135))/0x8*(-parseInt(_0x125f4a(0x13a))/0x9)+-parseInt(_0x125f4a(0x127))/0xa+parseInt(_0x125f4a(0x12b))/0xb;if(_0x538471===_0x1f4cb6)break;else _0x136e5a['push'](_0x136e5a['shift']());}catch(_0x430c4c){_0x136e5a['push'](_0x136e5a['shift']());}}}(_0x5caa,0xe0df7));import{DateTime as _0xd4bdf1}from'luxon';function _0x5caa(){const _0x5ab8eb=['Today','Last','2933465OjgzwX','hh:mma','EEEE','22rSkzpM','\x27Yesterday\x27\x20hh:mma','now','12NXrDmL','toFormat','12203250LsoRbB','6aSGgAz','days','string','13097469oyWAwX','diff','Yesterday','579028KTKVYo','fromJSDate','\x27Today\x27\x20hh:mma','LL-dd-yyyy\x20hh:mma','60241gefAfr','toJSDate','invalid-date-time-format','31856dkWEaJ','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','floor','function','243aRwLeh','fromISO','3886183BVnqev'];_0x5caa=function(){return _0x5ab8eb;};return _0x5caa();}import{CKEditorError as _0x4e332b}from'ckeditor5/src/utils.js';import{getTranslation as _0x3d853b}from'./common-translations.js';export function getDateTimeFormatter(_0x5082a1={},_0x57ee87){const _0x3a717a=_0x1994;if(void 0x0!==_0x5082a1[_0x3a717a(0x136)]&&_0x3a717a(0x139)!=typeof _0x5082a1[_0x3a717a(0x136)])throw new _0x4e332b(_0x3a717a(0x134));return _0x5dfc9e=>{const _0x880341=_0x3a717a,_0x4e3180=_0x880341(0x12a)==typeof _0x5dfc9e?_0xd4bdf1[_0x880341(0x13b)](_0x5dfc9e):_0xd4bdf1[_0x880341(0x12f)](_0x5dfc9e),_0x2a0a9b=_0xd4bdf1[_0x880341(0x124)](),_0xbffcfd=Math[_0x880341(0x138)](_0x2a0a9b[_0x880341(0x12c)](_0x4e3180,_0x880341(0x129))[_0x880341(0x129)]);return _0x5082a1[_0x880341(0x136)]?_0x5082a1[_0x880341(0x136)](_0x4e3180[_0x880341(0x133)](),_0x57ee87&&_0x57ee87['t']?_0x57ee87['t']:void 0x0):0x0===_0xbffcfd?_0x57ee87?_0x3d853b(_0x57ee87,_0x880341(0x13d))+'\x20'+_0x4e3180[_0x880341(0x126)](_0x880341(0x120)):_0x4e3180[_0x880341(0x126)](_0x880341(0x130)):0x1===_0xbffcfd?_0x57ee87?_0x3d853b(_0x57ee87,_0x880341(0x12d))+'\x20'+_0x4e3180[_0x880341(0x126)](_0x880341(0x120)):_0x4e3180[_0x880341(0x126)](_0x880341(0x123)):_0xbffcfd<0x7?_0x57ee87?_0x3d853b(_0x57ee87,_0x880341(0x13e))+'\x20'+_0x3d853b(_0x57ee87,_0x4e3180[_0x880341(0x126)](_0x880341(0x121)))+'\x20'+_0x4e3180[_0x880341(0x126)](_0x880341(0x120)):_0x4e3180[_0x880341(0x126)](_0x880341(0x137)):_0x4e3180[_0x880341(0x126)](_0x880341(0x131));};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x98d2bc,_0x1e3734){const _0x24aafc=_0x2b19,_0x2142aa=_0x98d2bc();while(!![]){try{const _0x1f8092=parseInt(_0x24aafc(0xf3))/0x1*(-parseInt(_0x24aafc(0xfe))/0x2)+-parseInt(_0x24aafc(0xf6))/0x3*(parseInt(_0x24aafc(0x101))/0x4)+parseInt(_0x24aafc(0x104))/0x5*(parseInt(_0x24aafc(0x10a))/0x6)+parseInt(_0x24aafc(0x105))/0x7+-parseInt(_0x24aafc(0x107))/0x8+-parseInt(_0x24aafc(0xff))/0x9+parseInt(_0x24aafc(0x109))/0xa;if(_0x1f8092===_0x1e3734)break;else _0x2142aa['push'](_0x2142aa['shift']());}catch(_0x44dbcf){_0x2142aa['push'](_0x2142aa['shift']());}}}(_0x2aea,0xdd04a));function _0x2aea(){const _0x5a1455=['8378839OQfuwu','domElement','7514280maBMZd','getClientRects','17790080mzOdhO','6AXvogP','view','domConverter','3gfVrLm','filter','from','24cZuXtT','values','length','mapViewToDom','markerNameToElements','push','mapper','map','408428BHTmKw','13172418KaEDOz','name','221772YePeko','item','sort','6941890fykDgt'];_0x2aea=function(){return _0x5a1455;};return _0x2aea();}import{first as _0x2ebf2f}from'ckeditor5/src/utils.js';export function getMarkerDomElement(_0x2c989b,_0x481472){const _0x357132=_0x2b19,_0x48533e=_0x2c989b[_0x357132(0xfc)][_0x357132(0xfa)](_0x481472[_0x357132(0x100)]);if(!_0x48533e)return null;const _0x3fb482=_0x2ebf2f(_0x48533e[_0x357132(0xf7)]());return _0x2c989b[_0x357132(0x10b)][_0x357132(0x10c)][_0x357132(0xf9)](_0x3fb482)||null;}function _0x2b19(_0x38e44b,_0xc02c6f){const _0x2aeab8=_0x2aea();return _0x2b19=function(_0x2b19bf,_0x24caf4){_0x2b19bf=_0x2b19bf-0xf3;let _0x2d350f=_0x2aeab8[_0x2b19bf];return _0x2d350f;},_0x2b19(_0x38e44b,_0xc02c6f);}export function getAllMarkersDomElementsSorted(_0x2be066,_0x593a95){const _0x5c6315=_0x2b19;if(0x0===_0x593a95[_0x5c6315(0xf8)])return null;const _0x4b597f=[],_0xd88a58=_0x2be066[_0x5c6315(0x10b)][_0x5c6315(0x10c)];for(const _0x1544f9 of _0x593a95){const _0xc7e9fe=_0x2be066[_0x5c6315(0xfc)][_0x5c6315(0xfa)](_0x1544f9[_0x5c6315(0x100)]);if(!_0xc7e9fe)continue;const _0x1d4212=Array[_0x5c6315(0xf5)](_0xc7e9fe)[_0x5c6315(0xfd)](_0x508f5d=>_0xd88a58[_0x5c6315(0xf9)](_0x508f5d))[_0x5c6315(0xf4)](_0xbd3b3e=>!!_0xbd3b3e);_0x4b597f[_0x5c6315(0xfb)](..._0x1d4212);}if(0x0===_0x4b597f[_0x5c6315(0xf8)])return null;const _0x40520d=[];for(const _0x1bb60e of _0x4b597f){const _0x47a2ed=_0x1bb60e[_0x5c6315(0x108)]()[_0x5c6315(0x102)](0x0);_0x47a2ed&&_0x40520d[_0x5c6315(0xfb)]({'x':_0x47a2ed['x'],'y':_0x47a2ed['y'],'domElement':_0x1bb60e});}return 0x0===_0x40520d[_0x5c6315(0xf8)]?null:(_0x40520d[_0x5c6315(0x103)]((_0x271a4a,_0x4864f1)=>_0x271a4a['y']-_0x4864f1['y']||_0x271a4a['x']-_0x4864f1['x']),_0x40520d[_0x5c6315(0xfd)](_0x2a2170=>_0x2a2170[_0x5c6315(0x106)]));}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6a7f8a,_0x13518a){const _0x3a1820=_0x4307,_0x37552b=_0x6a7f8a();while(!![]){try{const _0x50a004=-parseInt(_0x3a1820(0x161))/0x1*(parseInt(_0x3a1820(0x16f))/0x2)+-parseInt(_0x3a1820(0x16b))/0x3*(-parseInt(_0x3a1820(0x16e))/0x4)+parseInt(_0x3a1820(0x168))/0x5*(-parseInt(_0x3a1820(0x169))/0x6)+parseInt(_0x3a1820(0x170))/0x7*(-parseInt(_0x3a1820(0x16a))/0x8)+-parseInt(_0x3a1820(0x160))/0x9+parseInt(_0x3a1820(0x15f))/0xa+parseInt(_0x3a1820(0x166))/0xb;if(_0x50a004===_0x13518a)break;else _0x37552b['push'](_0x37552b['shift']());}catch(_0x3b7d5f){_0x37552b['push'](_0x37552b['shift']());}}}(_0x5029,0x630f0));export function hashObject(_0x15a075){let _0x223e62=0x0,_0x25609f=0x0;for(const _0x2f0f81 of ne(_0x15a075))_0x223e62=(_0x223e62<<0x5)-_0x223e62+_0x2f0f81,_0x223e62&=_0x223e62,[_0x223e62,_0x25609f]=[_0x25609f,_0x223e62];return ie(_0x223e62)+ie(_0x25609f);}function _0x5029(){const _0x3abe07=['6WMYLGX','toString','charCodeAt','214244cyYkep','667078jfCLIG','7etslFi','object','keys','2693500gCXNYg','4446522sQwcpX','2ZLWOxd','sort','sign','string','number','15656014Hhmexc','isArray','9560ApALfd','30aNfjeq','1786448RrZLpI'];_0x5029=function(){return _0x3abe07;};return _0x5029();}function*ee(_0x573fe9){const _0x4a8295=_0x4307;null==_0x573fe9||null==_0x573fe9?yield 0x12b9b0a1:0x0===_0x573fe9||!0x1===_0x573fe9?yield 0x0:0x1===_0x573fe9||0x1==_0x573fe9?yield 0x1:Array[_0x4a8295(0x167)](_0x573fe9)?yield*function*(_0x5aea73){for(const _0x1e8b1d of _0x5aea73)yield*ee(_0x1e8b1d);}(_0x573fe9):_0x4a8295(0x171)==typeof _0x573fe9?yield*ne(_0x573fe9):_0x4a8295(0x164)==typeof _0x573fe9?yield*oe(_0x573fe9):_0x4a8295(0x165)==typeof _0x573fe9&&(yield _0x573fe9);}function*ne(_0x523aea){const _0x37a9b3=_0x4307;if(yield te('{'),_0x523aea){const _0x53dbf8=Object[_0x37a9b3(0x15e)](_0x523aea)[_0x37a9b3(0x162)]();for(const _0x51fb2b of _0x53dbf8){yield*oe(_0x51fb2b),yield te(':');const _0x535a13=_0x523aea[_0x51fb2b];yield*ee(_0x535a13);}}yield te('}');}function*oe(_0x14896e){yield te('\x22');for(const _0x11e336 of _0x14896e)yield te(_0x11e336);yield te('\x22');}function _0x4307(_0x5e77f5,_0x4a625c){const _0x502904=_0x5029();return _0x4307=function(_0x4307a8,_0x1fc81e){_0x4307a8=_0x4307a8-0x15e;let _0x149305=_0x502904[_0x4307a8];return _0x149305;},_0x4307(_0x5e77f5,_0x4a625c);}function te(_0x5bea3c){const _0x13b415=_0x4307;return _0x5bea3c[_0x13b415(0x16d)](0x0);}function ie(_0xe20e3d){const _0x1d1173=_0x4307;return(_0xe20e3d*=Math[_0x1d1173(0x163)](_0xe20e3d))[_0x1d1173(0x16c)](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e9932=_0x35cb;function _0x35cb(_0x1aa56e,_0x470073){const _0x36b9fe=_0x36b9();return _0x35cb=function(_0x35cbd1,_0x1cdfa6){_0x35cbd1=_0x35cbd1-0x16a;let _0x21f2ab=_0x36b9fe[_0x35cbd1];return _0x21f2ab;},_0x35cb(_0x1aa56e,_0x470073);}(function(_0x457d52,_0x587b68){const _0x16b2ce=_0x35cb,_0x176713=_0x457d52();while(!![]){try{const _0x2f03b5=-parseInt(_0x16b2ce(0x188))/0x1*(parseInt(_0x16b2ce(0x172))/0x2)+parseInt(_0x16b2ce(0x191))/0x3+parseInt(_0x16b2ce(0x18d))/0x4*(-parseInt(_0x16b2ce(0x16f))/0x5)+-parseInt(_0x16b2ce(0x18f))/0x6*(parseInt(_0x16b2ce(0x18a))/0x7)+parseInt(_0x16b2ce(0x178))/0x8*(-parseInt(_0x16b2ce(0x190))/0x9)+-parseInt(_0x16b2ce(0x180))/0xa+parseInt(_0x16b2ce(0x179))/0xb;if(_0x2f03b5===_0x587b68)break;else _0x176713['push'](_0x176713['shift']());}catch(_0x5c4de4){_0x176713['push'](_0x176713['shift']());}}}(_0x36b9,0xef6c6));const nt=[_0x2e9932(0x194),_0x2e9932(0x16b),_0x2e9932(0x176),_0x2e9932(0x18c)],et=[_0x2e9932(0x182),_0x2e9932(0x175),_0x2e9932(0x174),_0x2e9932(0x17f),_0x2e9932(0x18b),_0x2e9932(0x192)];function ot(_0xba3f1b,_0x4bfaab,_0x1e4c89,_0x3f8890=[]){const _0x5c3e93=_0x2e9932,_0x164e4b=_0x5c3e93(0x16e)==typeof _0xba3f1b?_0x1e4c89[_0x5c3e93(0x170)](_0xba3f1b)[_0x5c3e93(0x16c)]:_0xba3f1b[_0x5c3e93(0x193)][_0x5c3e93(0x16c)];if(_0x4bfaab[_0x5c3e93(0x184)](_0x164e4b))return _0x4bfaab[_0x5c3e93(0x170)](_0x164e4b);_0x4bfaab[_0x5c3e93(0x185)](_0x164e4b,!0x0);const _0x1e2253=[...et,..._0x3f8890][_0x5c3e93(0x173)](_0x14cb6e=>{const _0xa7b448=_0x5c3e93;if(_0x1e4c89[_0xa7b448(0x184)](_0x14cb6e))return _0x1e4c89[_0xa7b448(0x170)](_0x14cb6e)[_0xa7b448(0x16c)];})[_0x5c3e93(0x187)](_0x251be4=>_0x251be4);if(_0x164e4b&&_0x1e2253[_0x5c3e93(0x16a)](_0x164e4b))return _0x4bfaab[_0x5c3e93(0x185)](_0x164e4b,!0x1),!0x1;if(!_0x164e4b[_0x5c3e93(0x183)])return _0x4bfaab[_0x5c3e93(0x185)](_0x164e4b,!0x0),!0x0;const _0x317c43=_0x164e4b[_0x5c3e93(0x183)][_0x5c3e93(0x17e)](_0x1bbd8a=>ot(_0x1bbd8a,_0x4bfaab,_0x1e4c89,_0x3f8890));return _0x4bfaab[_0x5c3e93(0x185)](_0x164e4b,_0x317c43),_0x317c43;}function _0x36b9(){const _0x5addad=['get','removePlugins','497362OuOCWh','map','Autosave','RevisionTracker','toolbar','find','8AHauAy','50342952irftsD','length','builtinPlugins','config','names','every','WordCount','1869930oeegIr','from','WebSocketGateway','requires','has','set','_context','filter','5ZQYpHD','concat','19691atgrar','DocumentOutline','rootsAttributes','4KkOpEH','pluginName','3912XQbrth','3711978SkSIic','2001987cdEuLW','WProofreader','prototype','initialData','plugins','includes','context','constructor','extraPlugins','string','2931835tsIWrA'];_0x36b9=function(){return _0x5addad;};return _0x36b9();}export function sanitizeEditorConfig(_0x576dba,_0x4c5f25){const _0x155fb0=_0x2e9932,_0x1c5adf={};for(const _0x39034d of _0x576dba[_0x155fb0(0x17c)][_0x155fb0(0x17d)]())nt[_0x155fb0(0x16a)](_0x39034d)||(_0x1c5adf[_0x39034d]=_0x576dba[_0x155fb0(0x17c)][_0x155fb0(0x170)](_0x39034d));const _0x2dd4d6=_0x1c5adf[_0x155fb0(0x195)]||[],_0x3fba23=_0x576dba[_0x155fb0(0x16c)][_0x155fb0(0x17b)]||[],_0x429fa2=_0x2dd4d6[_0x155fb0(0x17a)]?_0x2dd4d6:_0x3fba23,_0x103724=_0x1c5adf[_0x155fb0(0x16d)]||[];delete _0x1c5adf[_0x155fb0(0x16d)];const _0x144b4d=_0x1c5adf[_0x155fb0(0x171)]||[];delete _0x1c5adf[_0x155fb0(0x171)];const _0x52bd3c=_0x576dba[_0x155fb0(0x186)][_0x155fb0(0x17c)][_0x155fb0(0x170)](_0x155fb0(0x195))||[],_0x2f4bf6=_0x429fa2[_0x155fb0(0x189)](_0x103724)[_0x155fb0(0x189)](_0x52bd3c)[_0x155fb0(0x173)](_0x28fb07=>_0x155fb0(0x16e)==typeof _0x28fb07?_0x3fba23[_0x155fb0(0x177)](_0x55db06=>_0x55db06[_0x155fb0(0x18e)]==_0x28fb07):_0x28fb07)[_0x155fb0(0x187)](_0x5d9322=>!_0x144b4d[_0x155fb0(0x16a)](_0x5d9322)&&!_0x144b4d[_0x155fb0(0x16a)](_0x5d9322[_0x155fb0(0x18e)])),_0x209c2c=Array[_0x155fb0(0x181)](new Set(_0x2f4bf6)),_0x5cf94d=new Map();return _0x1c5adf[_0x155fb0(0x195)]=_0x209c2c[_0x155fb0(0x187)](_0x2a5bb8=>ot(_0x2a5bb8,_0x5cf94d,_0x576dba[_0x155fb0(0x195)],_0x4c5f25)),_0x1c5adf;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9db236=_0x3341;(function(_0x47cf42,_0x3e5b11){const _0x3401d0=_0x3341,_0x3b3829=_0x47cf42();while(!![]){try{const _0x52da95=parseInt(_0x3401d0(0x9e))/0x1+-parseInt(_0x3401d0(0xac))/0x2+parseInt(_0x3401d0(0x93))/0x3*(parseInt(_0x3401d0(0xab))/0x4)+parseInt(_0x3401d0(0x8a))/0x5+-parseInt(_0x3401d0(0xa4))/0x6+-parseInt(_0x3401d0(0x8e))/0x7*(-parseInt(_0x3401d0(0x9c))/0x8)+-parseInt(_0x3401d0(0x96))/0x9*(-parseInt(_0x3401d0(0xb0))/0xa);if(_0x52da95===_0x3e5b11)break;else _0x3b3829['push'](_0x3b3829['shift']());}catch(_0x464273){_0x3b3829['push'](_0x3b3829['shift']());}}}(_0x30d4,0x3f01f));import{isViewWithFocusCycler as _0x2f83ec}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x9db236(0x9f);function _0x3341(_0x853612,_0x56419c){const _0x30d479=_0x30d4();return _0x3341=function(_0x33411b,_0x38aa89){_0x33411b=_0x33411b-0x8a;let _0xa3d2f2=_0x30d479[_0x33411b];return _0xa3d2f2;},_0x3341(_0x853612,_0x56419c);}export function setupThreadKeyboardNavigation(_0x306a7b,_0x33cd1e){const _0x46ca18=_0x9db236,_0x37a687=_0x306a7b[_0x46ca18(0xa7)];_0x306a7b[_0x46ca18(0xae)][_0x46ca18(0xa8)](_0x37a687);for(const _0x5e0c1e of _0x33cd1e)ro(_0x306a7b,_0x5e0c1e);_0x33cd1e['on'](_0x46ca18(0xa6),(_0x57091b,_0x5020ab)=>{const _0x88ed5d=_0x46ca18;for(const _0x82746c of _0x5020ab[_0x88ed5d(0xad)])to(_0x306a7b,_0x82746c);for(const _0x4812da of Array[_0x88ed5d(0x8f)](_0x5020ab[_0x88ed5d(0x99)])[_0x88ed5d(0x98)]())ro(_0x306a7b,_0x4812da);}),_0x306a7b[_0x46ca18(0xae)][_0x46ca18(0xa1)](_0x46ca18(0xa9),(_0xb24253,_0x4419fe)=>{const _0x1b6c97=_0x46ca18;_0x37a687===_0xb24253[_0x1b6c97(0x95)]&&(_0x306a7b[_0x1b6c97(0x94)][_0x1b6c97(0xa3)](),_0x4419fe());},{'filter':_0x3c84c4=>_0x3c84c4[_0x46ca18(0x95)]===_0x37a687}),_0x306a7b[_0x46ca18(0xae)][_0x46ca18(0xa1)](_0x46ca18(0xaf),(_0x2a93e2,_0x596639)=>{const _0x1d1db4=_0x46ca18;_0x37a687!==_0x2a93e2[_0x1d1db4(0x95)]?_0x306a7b[_0x1d1db4(0x9d)]():_0x306a7b[_0x1d1db4(0x9b)](_0x1d1db4(0x8b)),_0x596639();}),_0x306a7b[_0x46ca18(0xae)][_0x46ca18(0xa1)](_0x46ca18(0xa0),(_0x12ae75,_0x5af18e)=>{const _0x419a57=_0x46ca18;_0x37a687===_0x12ae75[_0x419a57(0x95)]&&(_0x306a7b[_0x419a57(0x9b)](_0x419a57(0xa0)),_0x5af18e());}),_0x306a7b[_0x46ca18(0xae)][_0x46ca18(0xa1)](_0x46ca18(0x9a),(_0x3466ae,_0x489bf1)=>{const _0x4072df=_0x46ca18;_0x37a687===_0x3466ae[_0x4072df(0x95)]&&(_0x306a7b[_0x4072df(0x9b)](_0x4072df(0x9a)),_0x489bf1());});}function _0x30d4(){const _0x41fa5f=['56YVEFuQ','focus','11099UjqmMZ','Ctrl+Shift+E','arrowdown','set','actions','focusFirst','562044jUEAaO','focusTracker','change','element','listenTo','enter','chain','332864MIDMTr','677898vCwSBf','removed','keystrokes','esc','240rCXSbP','907610yODwHT','escape','isRendered','stopListening','238273hPbNaO','from','unchain','remove','add','3TTWjAl','focusCycler','target','66222ZfRyVz','keys','reverse','added','arrowup','fire'];_0x30d4=function(){return _0x41fa5f;};return _0x30d4();}function ro(_0xac66a3,_0x48eb75){const _0x1d2698=_0x9db236;_0x48eb75[_0x1d2698(0x8c)]&&(_0xac66a3[_0x1d2698(0xa5)][_0x1d2698(0x92)](_0x48eb75[_0x1d2698(0xa7)]),_0xac66a3[_0x1d2698(0xae)][_0x1d2698(0xa8)](_0x48eb75[_0x1d2698(0xa7)]),_0x2f83ec(_0x48eb75)&&function(_0x4c15d5,_0x465f0b){const _0x1d35ca=_0x1d2698,_0x1c9396=_0x4c15d5[_0x1d35ca(0xa2)],_0x4877e9=_0x465f0b[_0x1d35ca(0xa2)];for(const _0x252b79 of Object[_0x1d35ca(0x97)](_0x1c9396))if(_0x252b79 in _0x4877e9&&_0x1c9396[_0x252b79]!==_0x4877e9[_0x252b79])return!0x1;return!0x0;}(_0xac66a3[_0x1d2698(0x94)],_0x48eb75[_0x1d2698(0x94)])&&_0xac66a3[_0x1d2698(0x94)][_0x1d2698(0xaa)](_0x48eb75[_0x1d2698(0x94)]));}function to(_0x348c18,_0x347d3a){const _0x5b6b37=_0x9db236;_0x348c18[_0x5b6b37(0xa5)][_0x5b6b37(0x91)](_0x347d3a[_0x5b6b37(0xa7)]),_0x348c18[_0x5b6b37(0xae)][_0x5b6b37(0x8d)](_0x347d3a[_0x5b6b37(0xa7)]),_0x2f83ec(_0x347d3a)&&_0x348c18[_0x5b6b37(0x94)][_0x5b6b37(0x90)](_0x347d3a[_0x5b6b37(0x94)]);}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x13116d=_0x4e54;function _0x3b66(){const _0x49bb2d=['1198SaIVEI','937629BwRzQD','slice','4862145vOUfGh','length','substring','match','...','replace','split','42287890zbzutQ','join','push','6380983egDdEr','9KKmUJl','pop','indexOf','3513504wJMsoN','1518wxJxWq','4bZHSUd','startsWith','8466728WmIKHF'];_0x3b66=function(){return _0x49bb2d;};return _0x3b66();}function _0x4e54(_0x5541ee,_0x2356c9){const _0x3b6673=_0x3b66();return _0x4e54=function(_0x4e54fc,_0x13a991){_0x4e54fc=_0x4e54fc-0x137;let _0x44b6dc=_0x3b6673[_0x4e54fc];return _0x44b6dc;},_0x4e54(_0x5541ee,_0x2356c9);}(function(_0x5a54d6,_0x4afb96){const _0x337e3d=_0x4e54,_0x2a7f8e=_0x5a54d6();while(!![]){try{const _0x41d428=-parseInt(_0x337e3d(0x140))/0x1+parseInt(_0x337e3d(0x13f))/0x2*(-parseInt(_0x337e3d(0x13b))/0x3)+parseInt(_0x337e3d(0x13c))/0x4*(-parseInt(_0x337e3d(0x142))/0x5)+parseInt(_0x337e3d(0x13a))/0x6+-parseInt(_0x337e3d(0x14c))/0x7+-parseInt(_0x337e3d(0x13e))/0x8+-parseInt(_0x337e3d(0x137))/0x9*(-parseInt(_0x337e3d(0x149))/0xa);if(_0x41d428===_0x4afb96)break;else _0x2a7f8e['push'](_0x2a7f8e['shift']());}catch(_0x5e371d){_0x2a7f8e['push'](_0x2a7f8e['shift']());}}}(_0x3b66,0x9a20f));export function trimHtml(_0x410fbd,{limit:_0x2479bc,suffix:_0x593c63=_0x13116d(0x146)}){const _0x4efcbf=_0x13116d,_0x123367=[];let _0x57aace=0x0;const _0xd3d0f7=_0x410fbd[_0x4efcbf(0x147)](/</g,'\x0a<')[_0x4efcbf(0x147)](/>/g,'>\x0a')[_0x4efcbf(0x147)](/^\n/g,'')[_0x4efcbf(0x147)](/\n$/g,'')[_0x4efcbf(0x148)]('\x0a');for(let _0x287c2=0x0;_0x287c2<_0xd3d0f7[_0x4efcbf(0x143)];_0x287c2++){let _0x416e20=_0xd3d0f7[_0x287c2];const _0x4f1018=tn(_0x416e20);if(_0x416e20[_0x4efcbf(0x13d)]('<')){if(_0x57aace>=_0x2479bc){const _0x2b88cc=_0x416e20[_0x4efcbf(0x145)](/[a-zA-Z]+/);if(!_0x2b88cc){_0xd3d0f7[_0x287c2]='';continue;}const _0x2c24cd=_0x2b88cc[0x0];_0x416e20[_0x4efcbf(0x13d)]('</')?(_0x123367[_0x4efcbf(0x143)]&&(_0x416e20=''),_0x123367[_0x4efcbf(0x138)]()):(_0x123367[_0x4efcbf(0x14b)](_0x2c24cd),_0x416e20='');}}else{if(_0x57aace>=_0x2479bc)_0x416e20='';else{if(_0x57aace+_0x4f1018[_0x4efcbf(0x143)]>=_0x2479bc){let _0x508f55=_0x2479bc-_0x57aace;if('\x20'===_0x4f1018[_0x508f55-0x1])_0x508f55--;else{const _0x4f70a7=_0x4f1018[_0x4efcbf(0x141)](_0x508f55)[_0x4efcbf(0x139)]('\x20');-0x1!==_0x4f70a7?_0x508f55+=_0x4f70a7:_0x508f55=_0x416e20[_0x4efcbf(0x143)];}_0x416e20=_0x4f1018[_0x4efcbf(0x141)](0x0,_0x508f55)[_0x4efcbf(0x14a)]('')+_0x593c63,_0x57aace=_0x2479bc;}else _0x57aace+=_0x4f1018[_0x4efcbf(0x143)];}}_0xd3d0f7[_0x287c2]=_0x416e20;}return _0xd3d0f7[_0x4efcbf(0x14a)]('\x0a')[_0x4efcbf(0x147)](/\n/g,'');}function tn(_0xf2de6f){const _0x40c709=_0x13116d,_0x46d100=[];for(let _0x438ba5=0x0;_0x438ba5<_0xf2de6f[_0x40c709(0x143)];_0x438ba5++){const _0x18dbae=_0xf2de6f[_0x40c709(0x144)](_0x438ba5)[_0x40c709(0x145)](/^&[a-z0-9#]+;/);if(_0x18dbae){const _0x352b96=_0x18dbae[0x0];_0x46d100[_0x40c709(0x14b)](_0x352b96),_0x438ba5+=_0x352b96[_0x40c709(0x143)]-0x1;}else _0x46d100[_0x40c709(0x14b)](_0xf2de6f[_0x438ba5]);}return _0x46d100;}
|