@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250130.0 → 0.0.0-nightly-20250201.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 _0x285c10=_0x4e49;(function(_0x49d5f5,_0x166376){const _0x58f371=_0x4e49,_0x747166=_0x49d5f5();while(!![]){try{const _0x1fbfb4=parseInt(_0x58f371(0xe9))/0x1+parseInt(_0x58f371(0xf3))/0x2*(parseInt(_0x58f371(0xe4))/0x3)+-parseInt(_0x58f371(0xdb))/0x4*(parseInt(_0x58f371(0xdd))/0x5)+-parseInt(_0x58f371(0xda))/0x6+parseInt(_0x58f371(0xc7))/0x7+-parseInt(_0x58f371(0xbf))/0x8+parseInt(_0x58f371(0xdc))/0x9*(-parseInt(_0x58f371(0xeb))/0xa);if(_0x1fbfb4===_0x166376)break;else _0x747166['push'](_0x747166['shift']());}catch(_0x68ca41){_0x747166['push'](_0x747166['shift']());}}}(_0x298c,0x754ea));function _0x298c(){const _0x3c3bdb=['name','figcaption','details','358125puoORG','blockquote','replace','aside','form','490830GIpFvb','\x20\x20\x20\x20','3432860GtcwFO','filter','figure',')(\x20.*?)?>','section','startsWith','first','max','14skkoHm','<pre(\x20.*?)?>','5708536XFIldK','repeat','\x0a$&\x0a','table','thead','main','(\x20.*?)?>','</?(','6456660sKrsSz','length','isVoid','footer','tbody','fieldset','article','$&\x0a','join','map','</pre>','middle','nav','some','dialog','last','address','split','test','45390FJlTnE','4gTQaCa','18trqYgB','1803205hQoORc','header','div','hgroup'];_0x298c=function(){return _0x3c3bdb;};return _0x298c();}export function formatSource(_0x4ba222){return $(_0x4ba222)?formatHtml(_0x4ba222):_0x4ba222;}export function unformatSource(_0xd2a038){const _0x3fec57=_0x4e49;return $(_0xd2a038[_0x3fec57(0xe6)](/^[\n\s]*/g,''))?_0xd2a038[_0x3fec57(0xe6)](/\s+/g,''):_0xd2a038;}function _0x4e49(_0x16c351,_0x4ed2de){const _0x298ccf=_0x298c();return _0x4e49=function(_0x4e497a,_0xede62a){_0x4e497a=_0x4e497a-0xbe;let _0x48330c=_0x298ccf[_0x4e497a];return _0x48330c;},_0x4e49(_0x16c351,_0x4ed2de);}export function formatHtml(_0x177243){const _0xe4231d=_0x4e49,_0x757d9=[{'name':_0xe4231d(0xd7),'isVoid':!0x1},{'name':_0xe4231d(0xcd),'isVoid':!0x1},{'name':_0xe4231d(0xe7),'isVoid':!0x1},{'name':_0xe4231d(0xe5),'isVoid':!0x1},{'name':_0xe4231d(0xe3),'isVoid':!0x1},{'name':_0xe4231d(0xd5),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0xe4231d(0xdf),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0xe4231d(0xcc),'isVoid':!0x1},{'name':_0xe4231d(0xe2),'isVoid':!0x1},{'name':_0xe4231d(0xed),'isVoid':!0x1},{'name':_0xe4231d(0xca),'isVoid':!0x1},{'name':_0xe4231d(0xe8),'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':_0xe4231d(0xde),'isVoid':!0x1},{'name':_0xe4231d(0xe0),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0xe4231d(0xc4),'isVoid':!0x1},{'name':_0xe4231d(0xd3),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0xe4231d(0xef),'isVoid':!0x1},{'name':_0xe4231d(0xc2),'isVoid':!0x1},{'name':_0xe4231d(0xcb),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0xe4231d(0xc3),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x29579f=_0x757d9[_0xe4231d(0xd0)](_0x44c31b=>_0x44c31b[_0xe4231d(0xe1)])[_0xe4231d(0xcf)]('|'),_0x21b331=_0x177243[_0xe4231d(0xe6)](new RegExp(_0xe4231d(0xc6)+_0x29579f+_0xe4231d(0xee),'g'),_0xe4231d(0xc1))[_0xe4231d(0xe6)](/<br[^>]*>/g,_0xe4231d(0xce))[_0xe4231d(0xd8)]('\x0a');let _0x49ae45=0x0,_0x220cd4=!0x1;return _0x21b331[_0xe4231d(0xec)](_0x39705d=>_0x39705d[_0xe4231d(0xc8)])[_0xe4231d(0xd0)](_0x48d961=>(_0x220cd4=function(_0x21057f,_0x2dc958){const _0x43a124=_0xe4231d;return new RegExp(_0x43a124(0xbe))[_0x43a124(0xd9)](_0x21057f)?_0x43a124(0xf1):new RegExp(_0x43a124(0xd1))[_0x43a124(0xd9)](_0x21057f)?_0x43a124(0xd6):(_0x43a124(0xf1)===_0x2dc958||_0x43a124(0xd2)===_0x2dc958)&&_0x43a124(0xd2);}(_0x48d961,_0x220cd4),function(_0x54c7a6,_0x5d9d98){const _0x5003cc=_0xe4231d;return _0x5d9d98[_0x5003cc(0xd4)](_0x3d797c=>!_0x3d797c[_0x5003cc(0xc9)]&&!!new RegExp('<'+_0x3d797c[_0x5003cc(0xe1)]+_0x5003cc(0xc5))[_0x5003cc(0xd9)](_0x54c7a6));}(_0x48d961,_0x757d9)?X(_0x48d961,_0x49ae45++):function(_0x149807,_0x36ea19){const _0x1a090b=_0xe4231d;return _0x36ea19[_0x1a090b(0xd4)](_0x399581=>new RegExp('</'+_0x399581[_0x1a090b(0xe1)]+'>')[_0x1a090b(0xd9)](_0x149807));}(_0x48d961,_0x757d9)?X(_0x48d961,--_0x49ae45):_0xe4231d(0xd2)===_0x220cd4||_0xe4231d(0xd6)===_0x220cd4?_0x48d961:X(_0x48d961,_0x49ae45)))[_0xe4231d(0xcf)]('\x0a');}function $(_0x378c60){const _0x5d6aab=_0x4e49;return _0x378c60[_0x5d6aab(0xf0)]('<');}function X(_0x312197,_0x1bccf4,_0x51520e=_0x285c10(0xea)){const _0x464db4=_0x285c10;return''+_0x51520e[_0x464db4(0xc0)](Math[_0x464db4(0xf2)](0x0,_0x1bccf4))+_0x312197;}
23
+ const _0x18f268=_0xcda1;(function(_0x28a378,_0x3cd4dc){const _0x4932f2=_0xcda1,_0x5a41ca=_0x28a378();while(!![]){try{const _0x3eafee=-parseInt(_0x4932f2(0x13d))/0x1+parseInt(_0x4932f2(0x129))/0x2+-parseInt(_0x4932f2(0x125))/0x3+parseInt(_0x4932f2(0x118))/0x4*(parseInt(_0x4932f2(0x11b))/0x5)+-parseInt(_0x4932f2(0x140))/0x6+parseInt(_0x4932f2(0x122))/0x7*(parseInt(_0x4932f2(0x10c))/0x8)+parseInt(_0x4932f2(0x133))/0x9;if(_0x3eafee===_0x3cd4dc)break;else _0x5a41ca['push'](_0x5a41ca['shift']());}catch(_0x5c2306){_0x5a41ca['push'](_0x5a41ca['shift']());}}}(_0xc8b0,0x59c83));function _0xcda1(_0x5caab3,_0x41531f){const _0xc8b04c=_0xc8b0();return _0xcda1=function(_0xcda180,_0x5ea9db){_0xcda180=_0xcda180-0x10c;let _0x55b57f=_0xc8b04c[_0xcda180];return _0x55b57f;},_0xcda1(_0x5caab3,_0x41531f);}export function formatSource(_0x53e841){return $(_0x53e841)?formatHtml(_0x53e841):_0x53e841;}export function unformatSource(_0x21fc08){const _0x8b0ca9=_0xcda1;return $(_0x21fc08[_0x8b0ca9(0x12a)](/^[\n\s]*/g,''))?_0x21fc08[_0x8b0ca9(0x12a)](/\s+/g,''):_0x21fc08;}export function formatHtml(_0x4a15f5){const _0x9103ca=_0xcda1,_0x8e7f36=[{'name':_0x9103ca(0x12c),'isVoid':!0x1},{'name':_0x9103ca(0x139),'isVoid':!0x1},{'name':_0x9103ca(0x134),'isVoid':!0x1},{'name':_0x9103ca(0x12e),'isVoid':!0x1},{'name':_0x9103ca(0x120),'isVoid':!0x1},{'name':_0x9103ca(0x11d),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x9103ca(0x131),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x9103ca(0x13a),'isVoid':!0x1},{'name':_0x9103ca(0x126),'isVoid':!0x1},{'name':_0x9103ca(0x132),'isVoid':!0x1},{'name':_0x9103ca(0x135),'isVoid':!0x1},{'name':_0x9103ca(0x13f),'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':_0x9103ca(0x128),'isVoid':!0x1},{'name':_0x9103ca(0x110),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x9103ca(0x136),'isVoid':!0x1},{'name':_0x9103ca(0x114),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x9103ca(0x137),'isVoid':!0x1},{'name':_0x9103ca(0x10f),'isVoid':!0x1},{'name':_0x9103ca(0x11e),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x9103ca(0x138),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x488949=_0x8e7f36[_0x9103ca(0x123)](_0x10ea25=>_0x10ea25[_0x9103ca(0x10d)])[_0x9103ca(0x13e)]('|'),_0x139311=_0x4a15f5[_0x9103ca(0x12a)](new RegExp(_0x9103ca(0x11f)+_0x488949+_0x9103ca(0x117),'g'),_0x9103ca(0x119))[_0x9103ca(0x12a)](/<br[^>]*>/g,_0x9103ca(0x12f))[_0x9103ca(0x127)]('\x0a');let _0x4b061b=0x0,_0x43c8b9=!0x1;return _0x139311[_0x9103ca(0x121)](_0x40e09a=>_0x40e09a[_0x9103ca(0x115)])[_0x9103ca(0x123)](_0x437764=>(_0x43c8b9=function(_0x3a8fa5,_0x1b2f53){const _0x380ade=_0x9103ca;return new RegExp(_0x380ade(0x130))[_0x380ade(0x116)](_0x3a8fa5)?_0x380ade(0x124):new RegExp(_0x380ade(0x13b))[_0x380ade(0x116)](_0x3a8fa5)?_0x380ade(0x11c):(_0x380ade(0x124)===_0x1b2f53||_0x380ade(0x11a)===_0x1b2f53)&&_0x380ade(0x11a);}(_0x437764,_0x43c8b9),function(_0x3ee9cb,_0x2f7892){const _0x4eb701=_0x9103ca;return _0x2f7892[_0x4eb701(0x12d)](_0x7047a8=>!_0x7047a8[_0x4eb701(0x12b)]&&!!new RegExp('<'+_0x7047a8[_0x4eb701(0x10d)]+_0x4eb701(0x10e))[_0x4eb701(0x116)](_0x3ee9cb));}(_0x437764,_0x8e7f36)?X(_0x437764,_0x4b061b++):function(_0x5965b4,_0x24a3b6){const _0x2dcd16=_0x9103ca;return _0x24a3b6[_0x2dcd16(0x12d)](_0x50d5b6=>new RegExp('</'+_0x50d5b6[_0x2dcd16(0x10d)]+'>')[_0x2dcd16(0x116)](_0x5965b4));}(_0x437764,_0x8e7f36)?X(_0x437764,--_0x4b061b):_0x9103ca(0x11a)===_0x43c8b9||_0x9103ca(0x11c)===_0x43c8b9?_0x437764:X(_0x437764,_0x4b061b)))[_0x9103ca(0x13e)]('\x0a');}function _0xc8b0(){const _0x361d54=['header','894000CZzlzd','replace','isVoid','address','some','blockquote','$&\x0a','<pre(\x20.*?)?>','div','figure','4223106tCxdOP','aside','footer','main','section','thead','article','fieldset','</pre>','max','56985dBAKsc','join','form','4371144mLwlrU','922528XZbftE','name','(\x20.*?)?>','table','hgroup','\x20\x20\x20\x20','repeat','startsWith','nav','length','test',')(\x20.*?)?>','4vwIfsw','\x0a$&\x0a','middle','1096665GZzoaV','last','dialog','tbody','</?(','details','filter','7TAgqjN','map','first','292881xiaZtH','figcaption','split'];_0xc8b0=function(){return _0x361d54;};return _0xc8b0();}function $(_0x21aa94){const _0x2d01c2=_0xcda1;return _0x21aa94[_0x2d01c2(0x113)]('<');}function X(_0x532bb9,_0x11858d,_0x6822c0=_0x18f268(0x111)){const _0x511901=_0x18f268;return''+_0x6822c0[_0x511901(0x112)](Math[_0x511901(0x13c)](0x0,_0x11858d))+_0x532bb9;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1dcc64,_0x20f124){const _0xef96fd=_0x1241,_0x378141=_0x1dcc64();while(!![]){try{const _0x434f01=parseInt(_0xef96fd(0xce))/0x1*(parseInt(_0xef96fd(0xba))/0x2)+-parseInt(_0xef96fd(0xc9))/0x3*(parseInt(_0xef96fd(0xc6))/0x4)+-parseInt(_0xef96fd(0xd0))/0x5*(parseInt(_0xef96fd(0xc5))/0x6)+parseInt(_0xef96fd(0xbf))/0x7+parseInt(_0xef96fd(0xc8))/0x8*(-parseInt(_0xef96fd(0xcb))/0x9)+parseInt(_0xef96fd(0xcc))/0xa+-parseInt(_0xef96fd(0xcf))/0xb;if(_0x434f01===_0x20f124)break;else _0x378141['push'](_0x378141['shift']());}catch(_0x8a5ac9){_0x378141['push'](_0x378141['shift']());}}}(_0x1751,0xa2b01));function _0x1751(){const _0x467546=['2804690wzXXeo','getRanges','rootName','view','editing','length','6lizHhm','68bABvKu','source-editing-enhanced-editor-no-root','1193872qQMwMJ','136200wBhBGf','root','9pHSuIa','7927890JWLNOO','roots','834503JpwKOE','1128578GCBvzS','1689805rlWrrv','2VNCNkp','from','document','selection','first'];_0x1751=function(){return _0x467546;};return _0x1751();}function _0x1241(_0x180d75,_0x40d9de){const _0x17519c=_0x1751();return _0x1241=function(_0x124153,_0x6cab77){_0x124153=_0x124153-0xba;let _0x39dd80=_0x17519c[_0x124153];return _0x39dd80;},_0x1241(_0x180d75,_0x40d9de);}import{CKEditorError as _0x710d57}from'ckeditor5/src/utils.js';export function getActiveRootName(_0xa96fa8){const _0x2bcd6a=_0x1241,_0x4610e8=_0xa96fa8[_0x2bcd6a(0xc3)][_0x2bcd6a(0xc2)][_0x2bcd6a(0xbc)][_0x2bcd6a(0xcd)],_0x57470a=_0x4610e8[_0x2bcd6a(0xc4)];if(0x0===_0x57470a)throw new _0x710d57(_0x2bcd6a(0xc7),_0xa96fa8);if(0x1===_0x57470a)return _0x4610e8[_0x2bcd6a(0xbe)][_0x2bcd6a(0xc1)];return Array[_0x2bcd6a(0xbb)](_0xa96fa8[_0x2bcd6a(0xc3)][_0x2bcd6a(0xc2)][_0x2bcd6a(0xbc)][_0x2bcd6a(0xbd)][_0x2bcd6a(0xc0)]())[0x0][_0x2bcd6a(0xca)][_0x2bcd6a(0xc1)];}
23
+ function _0x5102(){const _0x40097f=['selection','getRanges','source-editing-enhanced-editor-no-root','length','8348JywuFw','from','10pkMbih','5OVxqEn','root','3766248eiSLye','168JamqIt','203687pCECRL','rootName','document','3002229Lhrsop','editing','57bevtUK','532455UUcEkb','1QEGcgD','375050bxLUFI','roots','14118MVcDdD','first','view'];_0x5102=function(){return _0x40097f;};return _0x5102();}function _0x1a64(_0x1793a4,_0x287a33){const _0x5102b8=_0x5102();return _0x1a64=function(_0x1a6472,_0x28d476){_0x1a6472=_0x1a6472-0x151;let _0x6b22be=_0x5102b8[_0x1a6472];return _0x6b22be;},_0x1a64(_0x1793a4,_0x287a33);}(function(_0x5e6690,_0x4aa3a0){const _0x30c883=_0x1a64,_0x89153a=_0x5e6690();while(!![]){try{const _0x14fc86=-parseInt(_0x30c883(0x168))/0x1*(parseInt(_0x30c883(0x151))/0x2)+-parseInt(_0x30c883(0x166))/0x3*(parseInt(_0x30c883(0x15a))/0x4)+-parseInt(_0x30c883(0x15d))/0x5*(parseInt(_0x30c883(0x153))/0x6)+parseInt(_0x30c883(0x167))/0x7+parseInt(_0x30c883(0x15f))/0x8+parseInt(_0x30c883(0x164))/0x9*(-parseInt(_0x30c883(0x15c))/0xa)+-parseInt(_0x30c883(0x161))/0xb*(-parseInt(_0x30c883(0x160))/0xc);if(_0x14fc86===_0x4aa3a0)break;else _0x89153a['push'](_0x89153a['shift']());}catch(_0x12c715){_0x89153a['push'](_0x89153a['shift']());}}}(_0x5102,0x3b51c));import{CKEditorError as _0x45aadb}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x5c7f2d){const _0x483f19=_0x1a64,_0x1fc6bc=_0x5c7f2d[_0x483f19(0x165)][_0x483f19(0x155)][_0x483f19(0x163)][_0x483f19(0x152)],_0x5e77ab=_0x1fc6bc[_0x483f19(0x159)];if(0x0===_0x5e77ab)throw new _0x45aadb(_0x483f19(0x158),_0x5c7f2d);if(0x1===_0x5e77ab)return _0x1fc6bc[_0x483f19(0x154)][_0x483f19(0x162)];return Array[_0x483f19(0x15b)](_0x5c7f2d[_0x483f19(0x165)][_0x483f19(0x155)][_0x483f19(0x163)][_0x483f19(0x156)][_0x483f19(0x157)]())[0x0][_0x483f19(0x15e)][_0x483f19(0x162)];}