@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250203.0 → 0.0.0-nightly-20250204.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
- (function(_0x5aabb4,_0x1b91f1){const _0x995f07=_0x2339,_0x2255b5=_0x5aabb4();while(!![]){try{const _0x2bcf04=parseInt(_0x995f07(0x101))/0x1*(parseInt(_0x995f07(0x110))/0x2)+parseInt(_0x995f07(0xdc))/0x3*(-parseInt(_0x995f07(0xf0))/0x4)+-parseInt(_0x995f07(0x10b))/0x5+parseInt(_0x995f07(0xf1))/0x6+parseInt(_0x995f07(0xef))/0x7*(parseInt(_0x995f07(0x108))/0x8)+-parseInt(_0x995f07(0xe8))/0x9+-parseInt(_0x995f07(0xe4))/0xa*(-parseInt(_0x995f07(0xe0))/0xb);if(_0x2bcf04===_0x1b91f1)break;else _0x2255b5['push'](_0x2255b5['shift']());}catch(_0xecf030){_0x2255b5['push'](_0x2255b5['shift']());}}}(_0x5a8a,0x637f9));function _0x2339(_0x347d9e,_0x229824){const _0x5a8a65=_0x5a8a();return _0x2339=function(_0x2339c0,_0x292e2f){_0x2339c0=_0x2339c0-0xd9;let _0x512e2d=_0x5a8a65[_0x2339c0];return _0x512e2d;},_0x2339(_0x347d9e,_0x229824);}import{global as _0x9c6048,DomEmitterMixin as _0x3e0f60}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x399bc2){const _0x346a5e=_0x2339,_0x3430f3=W(_0x399bc2);return _0x183b37=>!(!_0x183b37||!_0x183b37['is'](_0x346a5e(0xfd),_0x346a5e(0x105))&&!_0x183b37['is'](_0x346a5e(0xfd),_0x346a5e(0xe7)))&&(!!_0x183b37[_0x346a5e(0xeb)](_0x346a5e(0x10c))||!!_0x183b37[_0x346a5e(0xeb)](_0x346a5e(0xe6))&&_0x3430f3(_0x183b37[_0x346a5e(0xd9)](_0x346a5e(0xe6))));}export function getImageUrls(_0x14ad3a,_0x34cf90){const _0x6c8c39=_0x2339,_0x45fe6f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x6c8c39(0x10a)](_0x54abd2=>_0x54abd2<=_0x34cf90)[_0x6c8c39(0xdd)](_0x50c218=>_0x14ad3a[_0x6c8c39(0x106)](/\/$/,'')+_0x6c8c39(0xe5)+_0x50c218+_0x6c8c39(0xf9)+_0x50c218+'w');return{'imageFallbackUrl':_0x14ad3a,'imageSources':[{'srcset':_0x45fe6f[_0x6c8c39(0xff)](',\x20'),'sizes':_0x6c8c39(0xe9)+_0x34cf90+_0x6c8c39(0xe2)+_0x34cf90+'px','type':_0x6c8c39(0xfa)}]};}export function getImageDimension(_0x29b59f,_0x2064ef,_0x25997e){const _0x377d82=_0x2339,_0x2736df=_0x29b59f[_0x377d82(0x100)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2736df?parseInt(_0x2736df[0x1],0xa):_0x2064ef,'height':_0x2736df?parseInt(_0x2736df[0x2],0xa):_0x25997e};}function _0x5a8a(){const _0x2cf26e=['create','hasAttribute','some','change','load','63Csnmmi','3908BteEPU','797952QjTzfa','listenTo','removeClass','location','height','image-processing','viewToDom','mapper','x/\x20','image/webp','isArray','stopListening','element','addClass','join','match','4RszFam','removeStyle','ImageUtils','aspect-ratio','imageBlock','replace','toViewElement','142864aRBxnc','domConverter','filter','2899665WxIxKR','uploadcareImageId','width','baseURI','get','16838FtkbZP','view','window','findViewImgElement','getAttribute','origin','setStyle','816udfAEn','map','function','plugins','429033KHsfOr','editing','px)\x20100vw,\x20','document','250hknIay','/-/resize/','src','imageInline','443187qrmazM','(max-width:\x20'];_0x5a8a=function(){return _0x2cf26e;};return _0x5a8a();}export function showImageProcessingIndicator(_0x1c359b,_0x54d2a7){const _0x4d825d=_0x2339,_0x1844c5=Object[_0x4d825d(0xea)](_0x3e0f60),_0x89d1d0=_0x1c359b[_0x4d825d(0xdf)][_0x4d825d(0x10f)](_0x4d825d(0x103)),_0x14464f=_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0xf8)][_0x4d825d(0x107)](_0x54d2a7),_0x455202=_0x89d1d0[_0x4d825d(0x113)](_0x14464f),_0x23c840=_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0x111)][_0x4d825d(0x109)][_0x4d825d(0xf7)](_0x455202),_0x815b70=_0x54d2a7[_0x4d825d(0xd9)](_0x4d825d(0x10d)),_0x1fdd4c=_0x54d2a7[_0x4d825d(0xd9)](_0x4d825d(0xf5)),_0x41c0f3=_0x4d825d(0xf6);_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0x111)][_0x4d825d(0xed)](_0x334d34=>{const _0x275127=_0x4d825d;_0x334d34[_0x275127(0xfe)](_0x41c0f3,_0x14464f),_0x334d34[_0x275127(0xdb)](_0x275127(0x104),_0x815b70+'/'+_0x1fdd4c,_0x455202);}),_0x1844c5[_0x4d825d(0xf2)](_0x23c840,_0x4d825d(0xee),()=>{const _0x38c530=_0x4d825d;_0x1844c5[_0x38c530(0xfc)](_0x23c840,_0x38c530(0xee)),_0x1c359b[_0x38c530(0xe1)][_0x38c530(0x111)][_0x38c530(0xed)](_0x5c50eb=>{const _0x40618b=_0x38c530;_0x5c50eb[_0x40618b(0xf3)](_0x41c0f3,_0x14464f),_0x5c50eb[_0x40618b(0x102)](_0x40618b(0x104),_0x455202);});});}function W(_0x398491){const _0x33ad1a=_0x2339;if(Array[_0x33ad1a(0xfb)](_0x398491)){const _0x48ff04=_0x398491[_0x33ad1a(0xdd)](W);return _0x37c94f=>_0x48ff04[_0x33ad1a(0xec)](_0x23f580=>_0x23f580(_0x37c94f));}if(_0x33ad1a(0xda)==_0x398491){const _0x24f708=_0x9c6048[_0x33ad1a(0x112)][_0x33ad1a(0xf4)][_0x33ad1a(0xda)];return _0x2f7df1=>new URL(_0x2f7df1,_0x9c6048[_0x33ad1a(0xe3)][_0x33ad1a(0x10e)])[_0x33ad1a(0xda)]==_0x24f708;}return _0x33ad1a(0xde)==typeof _0x398491?_0x398491:_0x398491 instanceof RegExp?_0xa03d6b=>!(!_0xa03d6b[_0x33ad1a(0x100)](_0x398491)&&!_0xa03d6b[_0x33ad1a(0x106)](/^https?:\/\//,'')[_0x33ad1a(0x100)](_0x398491)):()=>!0x1;}
23
+ (function(_0x371d8c,_0x27898b){const _0x3aa86d=_0x5251,_0x3f6e88=_0x371d8c();while(!![]){try{const _0x5ef15b=parseInt(_0x3aa86d(0x1ed))/0x1+-parseInt(_0x3aa86d(0x1f0))/0x2*(parseInt(_0x3aa86d(0x1ef))/0x3)+-parseInt(_0x3aa86d(0x1f9))/0x4+parseInt(_0x3aa86d(0x20b))/0x5+parseInt(_0x3aa86d(0x1f3))/0x6*(parseInt(_0x3aa86d(0x1da))/0x7)+-parseInt(_0x3aa86d(0x1ea))/0x8*(parseInt(_0x3aa86d(0x1e2))/0x9)+parseInt(_0x3aa86d(0x204))/0xa;if(_0x5ef15b===_0x27898b)break;else _0x3f6e88['push'](_0x3f6e88['shift']());}catch(_0x38381c){_0x3f6e88['push'](_0x3f6e88['shift']());}}}(_0x3775,0x6cd8e));import{global as _0x3e42a9,DomEmitterMixin as _0x1c3ceb}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5007ed){const _0x5a0385=_0x5251,_0x29c427=W(_0x5007ed);return _0x1f9b30=>!(!_0x1f9b30||!_0x1f9b30['is'](_0x5a0385(0x1f1),_0x5a0385(0x1fd))&&!_0x1f9b30['is'](_0x5a0385(0x1f1),_0x5a0385(0x1e5)))&&(!!_0x1f9b30[_0x5a0385(0x20e)](_0x5a0385(0x1ec))||!!_0x1f9b30[_0x5a0385(0x20e)](_0x5a0385(0x1e7))&&_0x29c427(_0x1f9b30[_0x5a0385(0x1df)](_0x5a0385(0x1e7))));}function _0x3775(){const _0x37b5ec=['document','stopListening','listenTo','6683550fXzYOm','height','replace','editing','isArray','function','/-/resize/','777200DOLNIo','removeStyle','load','hasAttribute','create','window','aspect-ratio','view','findViewImgElement','18921JFZXTR','removeClass','match','width','ImageUtils','getAttribute','domConverter','some','739305ECJaVW','origin','setStyle','imageInline','filter','src','map','change','56CsKIYm','addClass','uploadcareImageId','553505AAgcOg','viewToDom','35877xaDRIR','58SOZcJM','element','px)\x20100vw,\x20','744siIwrM','toViewElement','location','(max-width:\x20','x/\x20','get','1379232NCkCCc','plugins','image-processing','mapper','imageBlock','image/webp','baseURI','join'];_0x3775=function(){return _0x37b5ec;};return _0x3775();}export function getImageUrls(_0x159195,_0x242417){const _0x3b803f=_0x5251,_0x5c3bcf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3b803f(0x1e6)](_0x38ab68=>_0x38ab68<=_0x242417)[_0x3b803f(0x1e8)](_0x53e732=>_0x159195[_0x3b803f(0x206)](/\/$/,'')+_0x3b803f(0x20a)+_0x53e732+_0x3b803f(0x1f7)+_0x53e732+'w');return{'imageFallbackUrl':_0x159195,'imageSources':[{'srcset':_0x5c3bcf[_0x3b803f(0x200)](',\x20'),'sizes':_0x3b803f(0x1f6)+_0x242417+_0x3b803f(0x1f2)+_0x242417+'px','type':_0x3b803f(0x1fe)}]};}function _0x5251(_0x584d12,_0x539fe4){const _0x3775d8=_0x3775();return _0x5251=function(_0x525154,_0x46469a){_0x525154=_0x525154-0x1da;let _0x45cf93=_0x3775d8[_0x525154];return _0x45cf93;},_0x5251(_0x584d12,_0x539fe4);}export function getImageDimension(_0x3d9bc8,_0x4cc684,_0x571b1c){const _0x2d3fe5=_0x5251,_0x33dec2=_0x3d9bc8[_0x2d3fe5(0x1dc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33dec2?parseInt(_0x33dec2[0x1],0xa):_0x4cc684,'height':_0x33dec2?parseInt(_0x33dec2[0x2],0xa):_0x571b1c};}export function showImageProcessingIndicator(_0xe705c5,_0x54dcae){const _0x54bd2=_0x5251,_0x881af3=Object[_0x54bd2(0x20f)](_0x1c3ceb),_0x33efd0=_0xe705c5[_0x54bd2(0x1fa)][_0x54bd2(0x1f8)](_0x54bd2(0x1de)),_0x89dd9f=_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x1fc)][_0x54bd2(0x1f4)](_0x54dcae),_0x50c9cc=_0x33efd0[_0x54bd2(0x213)](_0x89dd9f),_0x7ea4f1=_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x212)][_0x54bd2(0x1e0)][_0x54bd2(0x1ee)](_0x50c9cc),_0x5392c3=_0x54dcae[_0x54bd2(0x1df)](_0x54bd2(0x1dd)),_0xc625ac=_0x54dcae[_0x54bd2(0x1df)](_0x54bd2(0x205)),_0x3bb722=_0x54bd2(0x1fb);_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x212)][_0x54bd2(0x1e9)](_0x172d63=>{const _0x23ba6b=_0x54bd2;_0x172d63[_0x23ba6b(0x1eb)](_0x3bb722,_0x89dd9f),_0x172d63[_0x23ba6b(0x1e4)](_0x23ba6b(0x211),_0x5392c3+'/'+_0xc625ac,_0x50c9cc);}),_0x881af3[_0x54bd2(0x203)](_0x7ea4f1,_0x54bd2(0x20d),()=>{const _0x5e8f66=_0x54bd2;_0x881af3[_0x5e8f66(0x202)](_0x7ea4f1,_0x5e8f66(0x20d)),_0xe705c5[_0x5e8f66(0x207)][_0x5e8f66(0x212)][_0x5e8f66(0x1e9)](_0x463a36=>{const _0x596abc=_0x5e8f66;_0x463a36[_0x596abc(0x1db)](_0x3bb722,_0x89dd9f),_0x463a36[_0x596abc(0x20c)](_0x596abc(0x211),_0x50c9cc);});});}function W(_0x5b07f7){const _0x39defd=_0x5251;if(Array[_0x39defd(0x208)](_0x5b07f7)){const _0x4a8f56=_0x5b07f7[_0x39defd(0x1e8)](W);return _0x5a7013=>_0x4a8f56[_0x39defd(0x1e1)](_0x3fce75=>_0x3fce75(_0x5a7013));}if(_0x39defd(0x1e3)==_0x5b07f7){const _0x448757=_0x3e42a9[_0x39defd(0x210)][_0x39defd(0x1f5)][_0x39defd(0x1e3)];return _0x6336b7=>new URL(_0x6336b7,_0x3e42a9[_0x39defd(0x201)][_0x39defd(0x1ff)])[_0x39defd(0x1e3)]==_0x448757;}return _0x39defd(0x209)==typeof _0x5b07f7?_0x5b07f7:_0x5b07f7 instanceof RegExp?_0x29b9ce=>!(!_0x29b9ce[_0x39defd(0x1dc)](_0x5b07f7)&&!_0x29b9ce[_0x39defd(0x206)](/^https?:\/\//,'')[_0x39defd(0x1dc)](_0x5b07f7)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5c8c49,_0x1197a9){var _0x3efd1e=_0x52c3,_0x35bcf4=_0x5c8c49();while(!![]){try{var _0x2d6c2b=parseInt(_0x3efd1e(0xae))/0x1+parseInt(_0x3efd1e(0xb1))/0x2+parseInt(_0x3efd1e(0xb5))/0x3+parseInt(_0x3efd1e(0xb6))/0x4*(parseInt(_0x3efd1e(0xb4))/0x5)+-parseInt(_0x3efd1e(0xaf))/0x6+-parseInt(_0x3efd1e(0xb3))/0x7+-parseInt(_0x3efd1e(0xad))/0x8;if(_0x2d6c2b===_0x1197a9)break;else _0x35bcf4['push'](_0x35bcf4['shift']());}catch(_0x67266e){_0x35bcf4['push'](_0x35bcf4['shift']());}}}(_0x2fe3,0x40323));function _0x2fe3(){var _0x60dd53=['includes','972026qtdhbf','target','1016148fFSEvK','30RAqMVk','763410AltxAe','78940VjbcIp','2986248QvUzFw','409159wNSYGw','2919960IEOJYu'];_0x2fe3=function(){return _0x60dd53;};return _0x2fe3();}function _0x52c3(_0x31d729,_0x55475d){var _0x2fe3f3=_0x2fe3();return _0x52c3=function(_0x52c3d6,_0xd74bc4){_0x52c3d6=_0x52c3d6-0xad;var _0x439428=_0x2fe3f3[_0x52c3d6];return _0x439428;},_0x52c3(_0x31d729,_0x55475d);}import{getAncestors as _0x353acf}from'ckeditor5/src/utils.js';export function isAncestor(_0x2cd9f5,_0x41465e){var _0x1a968a=_0x52c3;return _0x353acf(_0x2cd9f5[_0x1a968a(0xb2)])[_0x1a968a(0xb0)](_0x41465e);}
23
+ (function(_0x466c5d,_0x43f59e){var _0x2ce3ea=_0x57aa,_0x2fc018=_0x466c5d();while(!![]){try{var _0x14dd1c=-parseInt(_0x2ce3ea(0xef))/0x1+parseInt(_0x2ce3ea(0xf2))/0x2+-parseInt(_0x2ce3ea(0xec))/0x3*(-parseInt(_0x2ce3ea(0xee))/0x4)+-parseInt(_0x2ce3ea(0xe9))/0x5+-parseInt(_0x2ce3ea(0xf0))/0x6+parseInt(_0x2ce3ea(0xf1))/0x7*(parseInt(_0x2ce3ea(0xea))/0x8)+-parseInt(_0x2ce3ea(0xe8))/0x9*(-parseInt(_0x2ce3ea(0xed))/0xa);if(_0x14dd1c===_0x43f59e)break;else _0x2fc018['push'](_0x2fc018['shift']());}catch(_0x8ccfd4){_0x2fc018['push'](_0x2fc018['shift']());}}}(_0x20c5,0xa4569));import{getAncestors as _0x3ccd10}from'ckeditor5/src/utils.js';function _0x57aa(_0x5aa270,_0x5edbbd){var _0x20c53b=_0x20c5();return _0x57aa=function(_0x57aa4b,_0x422fae){_0x57aa4b=_0x57aa4b-0xe7;var _0x3da8c0=_0x20c53b[_0x57aa4b];return _0x3da8c0;},_0x57aa(_0x5aa270,_0x5edbbd);}export function isAncestor(_0x3ec591,_0x79cef9){var _0x38279f=_0x57aa;return _0x3ccd10(_0x3ec591[_0x38279f(0xeb)])[_0x38279f(0xe7)](_0x79cef9);}function _0x20c5(){var _0x1bd522=['includes','4714830nPySfl','4100805rBCOtM','8txhxfp','target','3IIyfuI','10xQOhqZ','3900364Lwgwxw','999375qQSwAR','1656570VyAAuV','1021699yTPqfO','2247684Qdkdwz'];_0x20c5=function(){return _0x1bd522;};return _0x20c5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3974(_0xcf85fe,_0x33e9f5){var _0x379b20=_0x379b();return _0x3974=function(_0x397437,_0x38eca3){_0x397437=_0x397437-0x72;var _0x443160=_0x379b20[_0x397437];return _0x443160;},_0x3974(_0xcf85fe,_0x33e9f5);}var _0xdfacde=_0x3974;(function(_0x5d275e,_0x3c5a6f){var _0x571ab9=_0x3974,_0x5e2704=_0x5d275e();while(!![]){try{var _0x5cabd8=parseInt(_0x571ab9(0x7b))/0x1*(-parseInt(_0x571ab9(0x75))/0x2)+parseInt(_0x571ab9(0x7a))/0x3+-parseInt(_0x571ab9(0x73))/0x4+-parseInt(_0x571ab9(0x76))/0x5+parseInt(_0x571ab9(0x78))/0x6+-parseInt(_0x571ab9(0x74))/0x7+-parseInt(_0x571ab9(0x77))/0x8*(-parseInt(_0x571ab9(0x72))/0x9);if(_0x5cabd8===_0x3c5a6f)break;else _0x5e2704['push'](_0x5e2704['shift']());}catch(_0x1e6703){_0x5e2704['push'](_0x5e2704['shift']());}}}(_0x379b,0x1a20e));import{uploadFile as _0x4af09c,info as _0x32eb4d}from'@uploadcare/upload-client';export default class C{static[_0xdfacde(0x7c)]({file:_0x311251,publicKey:_0x4a96e7,signal:_0x53b45c,onProgress:_0x2d0992}){var _0x42115a=_0xdfacde;return _0x4af09c(_0x311251,{'publicKey':_0x4a96e7,'store':_0x42115a(0x7d),'signal':_0x53b45c,'onProgress':_0x2d0992});}static[_0xdfacde(0x79)](_0x161800,_0x475a63){return _0x32eb4d(_0x161800,_0x475a63);}}function _0x379b(){var _0x504d9f=['497693RBHkgl','6eXLYoH','354325FFqfIr','982104TjCXcx','668334HvbmpN','getInfo','360393bjOeTa','28331ouGCLn','upload','auto','9NxItxD','81216RVjyty'];_0x379b=function(){return _0x504d9f;};return _0x379b();}
23
+ var _0x2b7772=_0x572f;(function(_0x78f51b,_0x4cc64f){var _0x4995b0=_0x572f,_0x204e7c=_0x78f51b();while(!![]){try{var _0x2a2d66=-parseInt(_0x4995b0(0x1e3))/0x1+parseInt(_0x4995b0(0x1e7))/0x2*(-parseInt(_0x4995b0(0x1e9))/0x3)+parseInt(_0x4995b0(0x1e1))/0x4*(-parseInt(_0x4995b0(0x1dd))/0x5)+-parseInt(_0x4995b0(0x1e2))/0x6*(-parseInt(_0x4995b0(0x1e5))/0x7)+-parseInt(_0x4995b0(0x1e4))/0x8+-parseInt(_0x4995b0(0x1df))/0x9+parseInt(_0x4995b0(0x1e8))/0xa;if(_0x2a2d66===_0x4cc64f)break;else _0x204e7c['push'](_0x204e7c['shift']());}catch(_0x1cf753){_0x204e7c['push'](_0x204e7c['shift']());}}}(_0x2ce3,0xed3a7));function _0x2ce3(){var _0x36b458=['20JFjjrP','getInfo','3961899GBvUaF','upload','415736XnZUgJ','9911670YuavTN','1127882jRHugX','727920baZrEo','7nbWXhv','auto','8rssVBL','26201890oJtqyb','919221woSKYl'];_0x2ce3=function(){return _0x36b458;};return _0x2ce3();}import{uploadFile as _0x187fff,info as _0x942070}from'@uploadcare/upload-client';function _0x572f(_0x1c28a9,_0x785672){var _0x2ce339=_0x2ce3();return _0x572f=function(_0x572fbb,_0x26b939){_0x572fbb=_0x572fbb-0x1dd;var _0x23ecd8=_0x2ce339[_0x572fbb];return _0x23ecd8;},_0x572f(_0x1c28a9,_0x785672);}export default class C{static[_0x2b7772(0x1e0)]({file:_0x139b97,publicKey:_0xea6aa9,signal:_0x3e1df4,onProgress:_0x4efb5e}){var _0x19fcc7=_0x2b7772;return _0x187fff(_0x139b97,{'publicKey':_0xea6aa9,'store':_0x19fcc7(0x1e6),'signal':_0x3e1df4,'onProgress':_0x4efb5e});}static[_0x2b7772(0x1de)](_0x4565c9,_0x2b8cdf){return _0x942070(_0x4565c9,_0x2b8cdf);}}