@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250206.0 → 0.0.0-nightly-20250208.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x386325=_0x4778;function _0x4778(_0x4530dd,_0x3e2768){const _0x2a0d05=_0x2a0d();return _0x4778=function(_0x477854,_0x42a344){_0x477854=_0x477854-0x1f3;let _0x212ed2=_0x2a0d05[_0x477854];return _0x212ed2;},_0x4778(_0x4530dd,_0x3e2768);}(function(_0x461f78,_0x4ab810){const _0xee333=_0x4778,_0xcd8220=_0x461f78();while(!![]){try{const _0x129664=parseInt(_0xee333(0x204))/0x1+parseInt(_0xee333(0x20a))/0x2+parseInt(_0xee333(0x217))/0x3*(-parseInt(_0xee333(0x21b))/0x4)+-parseInt(_0xee333(0x205))/0x5+parseInt(_0xee333(0x209))/0x6*(-parseInt(_0xee333(0x20f))/0x7)+-parseInt(_0xee333(0x200))/0x8+parseInt(_0xee333(0x228))/0x9*(parseInt(_0xee333(0x208))/0xa);if(_0x129664===_0x4ab810)break;else _0xcd8220['push'](_0xcd8220['shift']());}catch(_0x396dc7){_0xcd8220['push'](_0xcd8220['shift']());}}}(_0x2a0d,0xedb5c));export function formatSource(_0x17e100){return $(_0x17e100)?formatHtml(_0x17e100):_0x17e100;}function _0x2a0d(){const _0x1d851e=['thead','last','name','7622867UIhtWg','address','repeat','middle','split','table','join','isVoid','719517xdecgy','filter','length','footer','8aWcaZd','blockquote','tbody','div','\x0a$&\x0a','hgroup','(\x20.*?)?>',')(\x20.*?)?>','startsWith','</?(','details','</pre>','fieldset','1098hZLKcV','figure','replace','$&\x0a','figcaption','article','\x20\x20\x20\x20','main','map','first','dialog','<pre(\x20.*?)?>','nav','some','10320168gHyTtS','max','form','test','1142392JVJNpj','2632835RNdKal','section','aside','248490XheJXN','6ZRdTwN','369874NvPcEG','header'];_0x2a0d=function(){return _0x1d851e;};return _0x2a0d();}export function unformatSource(_0x448316){const _0x2203d4=_0x4778;return $(_0x448316[_0x2203d4(0x1f4)](/^[\n\s]*/g,''))?_0x448316[_0x2203d4(0x1f4)](/\s+/g,''):_0x448316;}export function formatHtml(_0x3ba5f2){const _0xb43a5f=_0x4778,_0x1803d1=[{'name':_0xb43a5f(0x210),'isVoid':!0x1},{'name':_0xb43a5f(0x1f7),'isVoid':!0x1},{'name':_0xb43a5f(0x207),'isVoid':!0x1},{'name':_0xb43a5f(0x21c),'isVoid':!0x1},{'name':_0xb43a5f(0x225),'isVoid':!0x1},{'name':_0xb43a5f(0x1fc),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0xb43a5f(0x21e),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0xb43a5f(0x227),'isVoid':!0x1},{'name':_0xb43a5f(0x1f6),'isVoid':!0x1},{'name':_0xb43a5f(0x1f3),'isVoid':!0x1},{'name':_0xb43a5f(0x21a),'isVoid':!0x1},{'name':_0xb43a5f(0x202),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0xb43a5f(0x20b),'isVoid':!0x1},{'name':_0xb43a5f(0x220),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0xb43a5f(0x1f9),'isVoid':!0x1},{'name':_0xb43a5f(0x1fe),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0xb43a5f(0x206),'isVoid':!0x1},{'name':_0xb43a5f(0x214),'isVoid':!0x1},{'name':_0xb43a5f(0x21d),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0xb43a5f(0x20c),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x559ee9=_0x1803d1[_0xb43a5f(0x1fa)](_0x1677bd=>_0x1677bd[_0xb43a5f(0x20e)])[_0xb43a5f(0x215)]('|'),_0x358cea=_0x3ba5f2[_0xb43a5f(0x1f4)](new RegExp(_0xb43a5f(0x224)+_0x559ee9+_0xb43a5f(0x222),'g'),_0xb43a5f(0x21f))[_0xb43a5f(0x1f4)](/<br[^>]*>/g,_0xb43a5f(0x1f5))[_0xb43a5f(0x213)]('\x0a');let _0x104b8b=0x0,_0x3cda20=!0x1;return _0x358cea[_0xb43a5f(0x218)](_0x10f3ad=>_0x10f3ad[_0xb43a5f(0x219)])[_0xb43a5f(0x1fa)](_0x1569cc=>(_0x3cda20=function(_0x460c87,_0x1b0b65){const _0x21a660=_0xb43a5f;return new RegExp(_0x21a660(0x1fd))[_0x21a660(0x203)](_0x460c87)?_0x21a660(0x1fb):new RegExp(_0x21a660(0x226))[_0x21a660(0x203)](_0x460c87)?_0x21a660(0x20d):(_0x21a660(0x1fb)===_0x1b0b65||_0x21a660(0x212)===_0x1b0b65)&&_0x21a660(0x212);}(_0x1569cc,_0x3cda20),function(_0x314fc4,_0x3a667f){const _0x5460f5=_0xb43a5f;return _0x3a667f[_0x5460f5(0x1ff)](_0x35ef99=>!_0x35ef99[_0x5460f5(0x216)]&&!!new RegExp('<'+_0x35ef99[_0x5460f5(0x20e)]+_0x5460f5(0x221))[_0x5460f5(0x203)](_0x314fc4));}(_0x1569cc,_0x1803d1)?X(_0x1569cc,_0x104b8b++):function(_0x1f3f15,_0x3c7b87){const _0x16bb39=_0xb43a5f;return _0x3c7b87[_0x16bb39(0x1ff)](_0x2c04c6=>new RegExp('</'+_0x2c04c6[_0x16bb39(0x20e)]+'>')[_0x16bb39(0x203)](_0x1f3f15));}(_0x1569cc,_0x1803d1)?X(_0x1569cc,--_0x104b8b):_0xb43a5f(0x212)===_0x3cda20||_0xb43a5f(0x20d)===_0x3cda20?_0x1569cc:X(_0x1569cc,_0x104b8b)))[_0xb43a5f(0x215)]('\x0a');}function $(_0x4eaea2){const _0x32b6a6=_0x4778;return _0x4eaea2[_0x32b6a6(0x223)]('<');}function X(_0x319513,_0x1c68c7,_0x556c20=_0x386325(0x1f8)){const _0x273e58=_0x386325;return''+_0x556c20[_0x273e58(0x211)](Math[_0x273e58(0x201)](0x0,_0x1c68c7))+_0x319513;}
23
+ const _0x1389a6=_0xb5c2;(function(_0x3f1f48,_0x12c119){const _0x264dbb=_0xb5c2,_0x1f07c9=_0x3f1f48();while(!![]){try{const _0xd94d84=parseInt(_0x264dbb(0xf0))/0x1*(parseInt(_0x264dbb(0xe1))/0x2)+parseInt(_0x264dbb(0xde))/0x3+-parseInt(_0x264dbb(0xf6))/0x4+parseInt(_0x264dbb(0xe3))/0x5+parseInt(_0x264dbb(0xd8))/0x6+-parseInt(_0x264dbb(0xd5))/0x7+parseInt(_0x264dbb(0xed))/0x8;if(_0xd94d84===_0x12c119)break;else _0x1f07c9['push'](_0x1f07c9['shift']());}catch(_0xf3ae4e){_0x1f07c9['push'](_0x1f07c9['shift']());}}}(_0x1838,0x71ccb));export function formatSource(_0x51c856){return $(_0x51c856)?formatHtml(_0x51c856):_0x51c856;}export function unformatSource(_0x2dec9c){const _0xd2c0b5=_0xb5c2;return $(_0x2dec9c[_0xd2c0b5(0xe4)](/^[\n\s]*/g,''))?_0x2dec9c[_0xd2c0b5(0xe4)](/\s+/g,''):_0x2dec9c;}function _0xb5c2(_0x24573f,_0x58cd6a){const _0x1838b7=_0x1838();return _0xb5c2=function(_0xb5c25c,_0x8c67e0){_0xb5c25c=_0xb5c25c-0xca;let _0x397992=_0x1838b7[_0xb5c25c];return _0x397992;},_0xb5c2(_0x24573f,_0x58cd6a);}function _0x1838(){const _0x5a51f6=['4623760vvYItT','footer','fieldset','4ybXXUt','tbody','details','split','section','startsWith','1747428QZvpsf','(\x20.*?)?>','max','\x20\x20\x20\x20','join','nav','<pre(\x20.*?)?>','first','table','thead','form','some','middle','test','filter','$&\x0a','div','last','main','5033854KTicOS','figure','dialog','791748sfENMv','figcaption','address','isVoid','header','blockquote','118266xcSzxe','hgroup','</?(','83158jdlVxm','aside','3532180kHmtqs','replace','repeat','name',')(\x20.*?)?>','length','</pre>','article','\x0a$&\x0a','map'];_0x1838=function(){return _0x5a51f6;};return _0x1838();}export function formatHtml(_0x19dccd){const _0x6a6d15=_0xb5c2,_0x22f85b=[{'name':_0x6a6d15(0xda),'isVoid':!0x1},{'name':_0x6a6d15(0xea),'isVoid':!0x1},{'name':_0x6a6d15(0xe2),'isVoid':!0x1},{'name':_0x6a6d15(0xdd),'isVoid':!0x1},{'name':_0x6a6d15(0xf2),'isVoid':!0x1},{'name':_0x6a6d15(0xd7),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x6a6d15(0xd2),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x6a6d15(0xef),'isVoid':!0x1},{'name':_0x6a6d15(0xd9),'isVoid':!0x1},{'name':_0x6a6d15(0xd6),'isVoid':!0x1},{'name':_0x6a6d15(0xee),'isVoid':!0x1},{'name':_0x6a6d15(0xcc),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0x6a6d15(0xdc),'isVoid':!0x1},{'name':_0x6a6d15(0xdf),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x6a6d15(0xd4),'isVoid':!0x1},{'name':_0x6a6d15(0xfb),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x6a6d15(0xf4),'isVoid':!0x1},{'name':_0x6a6d15(0xca),'isVoid':!0x1},{'name':_0x6a6d15(0xf1),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x6a6d15(0xcb),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x16cb54=_0x22f85b[_0x6a6d15(0xec)](_0x504b3d=>_0x504b3d[_0x6a6d15(0xe6)])[_0x6a6d15(0xfa)]('|'),_0x5c82e8=_0x19dccd[_0x6a6d15(0xe4)](new RegExp(_0x6a6d15(0xe0)+_0x16cb54+_0x6a6d15(0xe7),'g'),_0x6a6d15(0xeb))[_0x6a6d15(0xe4)](/<br[^>]*>/g,_0x6a6d15(0xd1))[_0x6a6d15(0xf3)]('\x0a');let _0x383b8f=0x0,_0x1112f3=!0x1;return _0x5c82e8[_0x6a6d15(0xd0)](_0x3954b9=>_0x3954b9[_0x6a6d15(0xe8)])[_0x6a6d15(0xec)](_0x126660=>(_0x1112f3=function(_0x586e64,_0x4dc3c5){const _0x14102b=_0x6a6d15;return new RegExp(_0x14102b(0xfc))[_0x14102b(0xcf)](_0x586e64)?_0x14102b(0xfd):new RegExp(_0x14102b(0xe9))[_0x14102b(0xcf)](_0x586e64)?_0x14102b(0xd3):(_0x14102b(0xfd)===_0x4dc3c5||_0x14102b(0xce)===_0x4dc3c5)&&_0x14102b(0xce);}(_0x126660,_0x1112f3),function(_0x17a4ad,_0x2a258d){const _0x14876e=_0x6a6d15;return _0x2a258d[_0x14876e(0xcd)](_0xd75d6c=>!_0xd75d6c[_0x14876e(0xdb)]&&!!new RegExp('<'+_0xd75d6c[_0x14876e(0xe6)]+_0x14876e(0xf7))[_0x14876e(0xcf)](_0x17a4ad));}(_0x126660,_0x22f85b)?X(_0x126660,_0x383b8f++):function(_0x65fe4e,_0x520822){const _0x500a30=_0x6a6d15;return _0x520822[_0x500a30(0xcd)](_0x1c263b=>new RegExp('</'+_0x1c263b[_0x500a30(0xe6)]+'>')[_0x500a30(0xcf)](_0x65fe4e));}(_0x126660,_0x22f85b)?X(_0x126660,--_0x383b8f):_0x6a6d15(0xce)===_0x1112f3||_0x6a6d15(0xd3)===_0x1112f3?_0x126660:X(_0x126660,_0x383b8f)))[_0x6a6d15(0xfa)]('\x0a');}function $(_0x289cd5){const _0x54fa2b=_0xb5c2;return _0x289cd5[_0x54fa2b(0xf5)]('<');}function X(_0x563bfd,_0x33561a,_0x3d68ba=_0x1389a6(0xf9)){const _0x6ef9d8=_0x1389a6;return''+_0x3d68ba[_0x6ef9d8(0xe5)](Math[_0x6ef9d8(0xf8)](0x0,_0x33561a))+_0x563bfd;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3b20a5,_0x5b0072){const _0x508200=_0x2757,_0x2d5dad=_0x3b20a5();while(!![]){try{const _0x5905bd=parseInt(_0x508200(0xdf))/0x1*(parseInt(_0x508200(0xec))/0x2)+parseInt(_0x508200(0xe4))/0x3+parseInt(_0x508200(0xe8))/0x4+parseInt(_0x508200(0xe9))/0x5*(parseInt(_0x508200(0xde))/0x6)+-parseInt(_0x508200(0xea))/0x7+-parseInt(_0x508200(0xeb))/0x8+parseInt(_0x508200(0xe0))/0x9;if(_0x5905bd===_0x5b0072)break;else _0x2d5dad['push'](_0x2d5dad['shift']());}catch(_0x4a5347){_0x2d5dad['push'](_0x2d5dad['shift']());}}}(_0x1b45,0x507b2));function _0x1b45(){const _0x365a73=['732884ACoqUJ','425rSYAoG','3026989qgEfnQ','3242672cdEWoP','201586rIfITR','from','getRanges','source-editing-enhanced-editor-no-root','roots','length','document','10032zDlMDr','2zHfRmK','4708764XxuxYZ','first','view','root','351864FJsMyV','editing','selection','rootName'];_0x1b45=function(){return _0x365a73;};return _0x1b45();}function _0x2757(_0x5e75c4,_0x425da5){const _0x1b45d7=_0x1b45();return _0x2757=function(_0x27573b,_0x28eb27){_0x27573b=_0x27573b-0xdc;let _0x38b363=_0x1b45d7[_0x27573b];return _0x38b363;},_0x2757(_0x5e75c4,_0x425da5);}import{CKEditorError as _0x58eb59}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x23c6a2){const _0xa68df8=_0x2757,_0x3c7a4b=_0x23c6a2[_0xa68df8(0xe5)][_0xa68df8(0xe2)][_0xa68df8(0xdd)][_0xa68df8(0xf0)],_0x344c02=_0x3c7a4b[_0xa68df8(0xdc)];if(0x0===_0x344c02)throw new _0x58eb59(_0xa68df8(0xef),_0x23c6a2);if(0x1===_0x344c02)return _0x3c7a4b[_0xa68df8(0xe1)][_0xa68df8(0xe7)];return Array[_0xa68df8(0xed)](_0x23c6a2[_0xa68df8(0xe5)][_0xa68df8(0xe2)][_0xa68df8(0xdd)][_0xa68df8(0xe6)][_0xa68df8(0xee)]())[0x0][_0xa68df8(0xe3)][_0xa68df8(0xe7)];}
23
+ function _0x12cb(_0x3ae8b5,_0xcfc384){const _0x37bb66=_0x37bb();return _0x12cb=function(_0x12cbc2,_0x29b4ad){_0x12cbc2=_0x12cbc2-0x118;let _0x5e1921=_0x37bb66[_0x12cbc2];return _0x5e1921;},_0x12cb(_0x3ae8b5,_0xcfc384);}(function(_0x563808,_0x51cd92){const _0x380ff8=_0x12cb,_0x4e3182=_0x563808();while(!![]){try{const _0x57fc7d=-parseInt(_0x380ff8(0x126))/0x1+parseInt(_0x380ff8(0x123))/0x2*(-parseInt(_0x380ff8(0x120))/0x3)+parseInt(_0x380ff8(0x128))/0x4*(parseInt(_0x380ff8(0x127))/0x5)+-parseInt(_0x380ff8(0x11c))/0x6+parseInt(_0x380ff8(0x12c))/0x7+parseInt(_0x380ff8(0x122))/0x8*(parseInt(_0x380ff8(0x11f))/0x9)+-parseInt(_0x380ff8(0x125))/0xa*(-parseInt(_0x380ff8(0x11a))/0xb);if(_0x57fc7d===_0x51cd92)break;else _0x4e3182['push'](_0x4e3182['shift']());}catch(_0x6cb9d){_0x4e3182['push'](_0x4e3182['shift']());}}}(_0x37bb,0x9e655));function _0x37bb(){const _0x544d64=['10qGdSEu','164127CeVKVI','325hmSMjq','38812gQzNhx','rootName','source-editing-enhanced-editor-no-root','roots','1644321YlsdQT','document','editing','view','length','10001783qfPnjX','from','7164816oKiXYd','first','root','63gxDtFi','116469UGXYJR','getRanges','1330232hRYqae','48aXMdog','selection'];_0x37bb=function(){return _0x544d64;};return _0x37bb();}import{CKEditorError as _0xddb6ac}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x5d101f){const _0x2bfa67=_0x12cb,_0x335258=_0x5d101f[_0x2bfa67(0x12e)][_0x2bfa67(0x118)][_0x2bfa67(0x12d)][_0x2bfa67(0x12b)],_0x5b3188=_0x335258[_0x2bfa67(0x119)];if(0x0===_0x5b3188)throw new _0xddb6ac(_0x2bfa67(0x12a),_0x5d101f);if(0x1===_0x5b3188)return _0x335258[_0x2bfa67(0x11d)][_0x2bfa67(0x129)];return Array[_0x2bfa67(0x11b)](_0x5d101f[_0x2bfa67(0x12e)][_0x2bfa67(0x118)][_0x2bfa67(0x12d)][_0x2bfa67(0x124)][_0x2bfa67(0x121)]())[0x0][_0x2bfa67(0x11e)][_0x2bfa67(0x129)];}