@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250203.0 → 0.0.0-nightly-20250205.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 _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;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}
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)];}