@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250209.0 → 0.0.0-nightly-20250211.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(_0x3a6e17,_0x3074cf){const _0x44e73a=_0x3a20,_0x51be46=_0x3a6e17();while(!![]){try{const _0x1b4e20=-parseInt(_0x44e73a(0x1b1))/0x1+parseInt(_0x44e73a(0x18f))/0x2*(-parseInt(_0x44e73a(0x1b8))/0x3)+parseInt(_0x44e73a(0x1a8))/0x4+parseInt(_0x44e73a(0x1ad))/0x5+-parseInt(_0x44e73a(0x18d))/0x6*(parseInt(_0x44e73a(0x183))/0x7)+-parseInt(_0x44e73a(0x1af))/0x8*(-parseInt(_0x44e73a(0x194))/0x9)+parseInt(_0x44e73a(0x1a1))/0xa*(-parseInt(_0x44e73a(0x1a4))/0xb);if(_0x1b4e20===_0x3074cf)break;else _0x51be46['push'](_0x51be46['shift']());}catch(_0x2455a6){_0x51be46['push'](_0x51be46['shift']());}}}(_0x4753,0x625d6));import{global as _0x144c0e,DomEmitterMixin as _0x495aa8}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x7c5bcd){const _0x5e5166=_0x3a20,_0x4ea39a=W(_0x7c5bcd);return _0x35cd3d=>!(!_0x35cd3d||!_0x35cd3d['is'](_0x5e5166(0x180),_0x5e5166(0x187))&&!_0x35cd3d['is'](_0x5e5166(0x180),_0x5e5166(0x18b)))&&(!!_0x35cd3d[_0x5e5166(0x1a6)](_0x5e5166(0x186))||!!_0x35cd3d[_0x5e5166(0x1a6)](_0x5e5166(0x196))&&_0x4ea39a(_0x35cd3d[_0x5e5166(0x19c)](_0x5e5166(0x196))));}function _0x3a20(_0x45a6e8,_0x3e1918){const _0x4753fe=_0x4753();return _0x3a20=function(_0x3a20e4,_0x5b9c38){_0x3a20e4=_0x3a20e4-0x180;let _0x591b0a=_0x4753fe[_0x3a20e4];return _0x591b0a;},_0x3a20(_0x45a6e8,_0x3e1918);}export function getImageUrls(_0x4a5130,_0x52ca55){const _0x121547=_0x3a20,_0x3c2e04=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x121547(0x19a)](_0x7e0d5a=>_0x7e0d5a<=_0x52ca55)[_0x121547(0x182)](_0x34c561=>_0x4a5130[_0x121547(0x1b2)](/\/$/,'')+_0x121547(0x1ba)+_0x34c561+_0x121547(0x193)+_0x34c561+'w');return{'imageFallbackUrl':_0x4a5130,'imageSources':[{'srcset':_0x3c2e04[_0x121547(0x1b9)](',\x20'),'sizes':_0x121547(0x1a7)+_0x52ca55+_0x121547(0x1a2)+_0x52ca55+'px','type':_0x121547(0x192)}]};}function _0x4753(){const _0x1026dd=['/-/resize/','element','view','map','49UWvKlM','viewToDom','findViewImgElement','uploadcareImageId','imageBlock','baseURI','ImageUtils','some','imageInline','isArray','647142CcIsQp','editing','4KRMhGm','create','removeClass','image/webp','x/\x20','63SwFTwJ','setStyle','src','image-processing','change','height','filter','listenTo','getAttribute','stopListening','match','toViewElement','mapper','10CpAphM','px)\x20100vw,\x20','aspect-ratio','6596447VlDeWr','plugins','hasAttribute','(max-width:\x20','3050068mINviD','get','function','document','window','2457875KQmwKf','domConverter','717512ABMShg','origin','35115owEFzB','replace','removeStyle','location','addClass','width','load','133833Lffwtq','join'];_0x4753=function(){return _0x1026dd;};return _0x4753();}export function getImageDimension(_0x5e9dec,_0x385835,_0x306302){const _0x5781bf=_0x3a20,_0x324420=_0x5e9dec[_0x5781bf(0x19e)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x324420?parseInt(_0x324420[0x1],0xa):_0x385835,'height':_0x324420?parseInt(_0x324420[0x2],0xa):_0x306302};}export function showImageProcessingIndicator(_0x31ef58,_0x5c3153){const _0x48192b=_0x3a20,_0x1a6eeb=Object[_0x48192b(0x190)](_0x495aa8),_0x2ac7d8=_0x31ef58[_0x48192b(0x1a5)][_0x48192b(0x1a9)](_0x48192b(0x189)),_0x1a2f8c=_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x1a0)][_0x48192b(0x19f)](_0x5c3153),_0x28e6a8=_0x2ac7d8[_0x48192b(0x185)](_0x1a2f8c),_0x3af610=_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x181)][_0x48192b(0x1ae)][_0x48192b(0x184)](_0x28e6a8),_0x4587e9=_0x5c3153[_0x48192b(0x19c)](_0x48192b(0x1b6)),_0x1d522f=_0x5c3153[_0x48192b(0x19c)](_0x48192b(0x199)),_0xd72352=_0x48192b(0x197);_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x181)][_0x48192b(0x198)](_0x599aa4=>{const _0x34163c=_0x48192b;_0x599aa4[_0x34163c(0x1b5)](_0xd72352,_0x1a2f8c),_0x599aa4[_0x34163c(0x195)](_0x34163c(0x1a3),_0x4587e9+'/'+_0x1d522f,_0x28e6a8);}),_0x1a6eeb[_0x48192b(0x19b)](_0x3af610,_0x48192b(0x1b7),()=>{const _0x276544=_0x48192b;_0x1a6eeb[_0x276544(0x19d)](_0x3af610,_0x276544(0x1b7)),_0x31ef58[_0x276544(0x18e)][_0x276544(0x181)][_0x276544(0x198)](_0x47f75c=>{const _0x3b4227=_0x276544;_0x47f75c[_0x3b4227(0x191)](_0xd72352,_0x1a2f8c),_0x47f75c[_0x3b4227(0x1b3)](_0x3b4227(0x1a3),_0x28e6a8);});});}function W(_0x38e98f){const _0x3e722b=_0x3a20;if(Array[_0x3e722b(0x18c)](_0x38e98f)){const _0x3f5e69=_0x38e98f[_0x3e722b(0x182)](W);return _0x1def59=>_0x3f5e69[_0x3e722b(0x18a)](_0x4121cb=>_0x4121cb(_0x1def59));}if(_0x3e722b(0x1b0)==_0x38e98f){const _0x495f48=_0x144c0e[_0x3e722b(0x1ac)][_0x3e722b(0x1b4)][_0x3e722b(0x1b0)];return _0x33ddb7=>new URL(_0x33ddb7,_0x144c0e[_0x3e722b(0x1ab)][_0x3e722b(0x188)])[_0x3e722b(0x1b0)]==_0x495f48;}return _0x3e722b(0x1aa)==typeof _0x38e98f?_0x38e98f:_0x38e98f instanceof RegExp?_0x52f4f3=>!(!_0x52f4f3[_0x3e722b(0x19e)](_0x38e98f)&&!_0x52f4f3[_0x3e722b(0x1b2)](/^https?:\/\//,'')[_0x3e722b(0x19e)](_0x38e98f)):()=>!0x1;}
23
+ (function(_0x3a877e,_0x234834){const _0x2b77ed=_0x64dc,_0x5a8ff7=_0x3a877e();while(!![]){try{const _0x39f668=parseInt(_0x2b77ed(0xb1))/0x1+-parseInt(_0x2b77ed(0xdd))/0x2+parseInt(_0x2b77ed(0xad))/0x3+-parseInt(_0x2b77ed(0xab))/0x4*(parseInt(_0x2b77ed(0xc4))/0x5)+parseInt(_0x2b77ed(0xdc))/0x6+parseInt(_0x2b77ed(0xd9))/0x7+parseInt(_0x2b77ed(0xaf))/0x8*(-parseInt(_0x2b77ed(0xde))/0x9);if(_0x39f668===_0x234834)break;else _0x5a8ff7['push'](_0x5a8ff7['shift']());}catch(_0x2c31bc){_0x5a8ff7['push'](_0x5a8ff7['shift']());}}}(_0x1849,0x78214));function _0x1849(){const _0x22bbec=['(max-width:\x20','24ZWhkAs','origin','684287whKHAk','ImageUtils','change','removeStyle','image-processing','get','findViewImgElement','px)\x20100vw,\x20','toViewElement','mapper','aspect-ratio','match','editing','map','getAttribute','listenTo','some','imageInline','setStyle','370NIiShK','join','location','stopListening','image/webp','view','imageBlock','src','filter','baseURI','window','domConverter','viewToDom','addClass','load','height','x/\x20','width','document','plugins','replace','997640SmMAWa','removeClass','isArray','4109166oRxuIi','745824pxtdSK','1084797niFtJm','hasAttribute','function','uploadcareImageId','/-/resize/','element','25240UZbTHv','create','545505vKVQtd'];_0x1849=function(){return _0x22bbec;};return _0x1849();}import{global as _0x5ac1da,DomEmitterMixin as _0x2ee238}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0xe2031f){const _0x2981fb=_0x64dc,_0x4967e6=W(_0xe2031f);return _0x106df0=>!(!_0x106df0||!_0x106df0['is'](_0x2981fb(0xaa),_0x2981fb(0xca))&&!_0x106df0['is'](_0x2981fb(0xaa),_0x2981fb(0xc2)))&&(!!_0x106df0[_0x2981fb(0xa6)](_0x2981fb(0xa8))||!!_0x106df0[_0x2981fb(0xa6)](_0x2981fb(0xcb))&&_0x4967e6(_0x106df0[_0x2981fb(0xbf)](_0x2981fb(0xcb))));}export function getImageUrls(_0x235f2b,_0x28ce97){const _0x3c46f3=_0x64dc,_0x4860ae=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3c46f3(0xcc)](_0x463652=>_0x463652<=_0x28ce97)[_0x3c46f3(0xbe)](_0xf30e9b=>_0x235f2b[_0x3c46f3(0xd8)](/\/$/,'')+_0x3c46f3(0xa9)+_0xf30e9b+_0x3c46f3(0xd4)+_0xf30e9b+'w');return{'imageFallbackUrl':_0x235f2b,'imageSources':[{'srcset':_0x4860ae[_0x3c46f3(0xc5)](',\x20'),'sizes':_0x3c46f3(0xae)+_0x28ce97+_0x3c46f3(0xb8)+_0x28ce97+'px','type':_0x3c46f3(0xc8)}]};}function _0x64dc(_0x361198,_0x4dd651){const _0x184929=_0x1849();return _0x64dc=function(_0x64dc8d,_0x33d58e){_0x64dc8d=_0x64dc8d-0xa6;let _0xc7e1fb=_0x184929[_0x64dc8d];return _0xc7e1fb;},_0x64dc(_0x361198,_0x4dd651);}export function getImageDimension(_0x4042b3,_0x371b26,_0x4f3f11){const _0x20417b=_0x64dc,_0x5568d9=_0x4042b3[_0x20417b(0xbc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5568d9?parseInt(_0x5568d9[0x1],0xa):_0x371b26,'height':_0x5568d9?parseInt(_0x5568d9[0x2],0xa):_0x4f3f11};}export function showImageProcessingIndicator(_0x1763be,_0x42bfd8){const _0x10c91c=_0x64dc,_0x561124=Object[_0x10c91c(0xac)](_0x2ee238),_0x433dc5=_0x1763be[_0x10c91c(0xd7)][_0x10c91c(0xb6)](_0x10c91c(0xb2)),_0x334609=_0x1763be[_0x10c91c(0xbd)][_0x10c91c(0xba)][_0x10c91c(0xb9)](_0x42bfd8),_0x3da551=_0x433dc5[_0x10c91c(0xb7)](_0x334609),_0x37d3d3=_0x1763be[_0x10c91c(0xbd)][_0x10c91c(0xc9)][_0x10c91c(0xcf)][_0x10c91c(0xd0)](_0x3da551),_0x2ca159=_0x42bfd8[_0x10c91c(0xbf)](_0x10c91c(0xd5)),_0x1eff7c=_0x42bfd8[_0x10c91c(0xbf)](_0x10c91c(0xd3)),_0x3805c9=_0x10c91c(0xb5);_0x1763be[_0x10c91c(0xbd)][_0x10c91c(0xc9)][_0x10c91c(0xb3)](_0x4b0a11=>{const _0x47dd5d=_0x10c91c;_0x4b0a11[_0x47dd5d(0xd1)](_0x3805c9,_0x334609),_0x4b0a11[_0x47dd5d(0xc3)](_0x47dd5d(0xbb),_0x2ca159+'/'+_0x1eff7c,_0x3da551);}),_0x561124[_0x10c91c(0xc0)](_0x37d3d3,_0x10c91c(0xd2),()=>{const _0x2eacb0=_0x10c91c;_0x561124[_0x2eacb0(0xc7)](_0x37d3d3,_0x2eacb0(0xd2)),_0x1763be[_0x2eacb0(0xbd)][_0x2eacb0(0xc9)][_0x2eacb0(0xb3)](_0x3f02bb=>{const _0x15147d=_0x2eacb0;_0x3f02bb[_0x15147d(0xda)](_0x3805c9,_0x334609),_0x3f02bb[_0x15147d(0xb4)](_0x15147d(0xbb),_0x3da551);});});}function W(_0x4043ea){const _0xca936e=_0x64dc;if(Array[_0xca936e(0xdb)](_0x4043ea)){const _0x3bad46=_0x4043ea[_0xca936e(0xbe)](W);return _0x4a06da=>_0x3bad46[_0xca936e(0xc1)](_0x4b43f9=>_0x4b43f9(_0x4a06da));}if(_0xca936e(0xb0)==_0x4043ea){const _0x22f5dc=_0x5ac1da[_0xca936e(0xce)][_0xca936e(0xc6)][_0xca936e(0xb0)];return _0x4fb5a9=>new URL(_0x4fb5a9,_0x5ac1da[_0xca936e(0xd6)][_0xca936e(0xcd)])[_0xca936e(0xb0)]==_0x22f5dc;}return _0xca936e(0xa7)==typeof _0x4043ea?_0x4043ea:_0x4043ea instanceof RegExp?_0x5a28dd=>!(!_0x5a28dd[_0xca936e(0xbc)](_0x4043ea)&&!_0x5a28dd[_0xca936e(0xd8)](/^https?:\/\//,'')[_0xca936e(0xbc)](_0x4043ea)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x343e(_0x4597b6,_0x4057d3){var _0x4bd8d1=_0x4bd8();return _0x343e=function(_0x343e53,_0x25bd92){_0x343e53=_0x343e53-0xad;var _0x504325=_0x4bd8d1[_0x343e53];return _0x504325;},_0x343e(_0x4597b6,_0x4057d3);}(function(_0x42aad2,_0x4b1ac3){var _0x59b2e8=_0x343e,_0x15c392=_0x42aad2();while(!![]){try{var _0x395c5c=-parseInt(_0x59b2e8(0xb6))/0x1+parseInt(_0x59b2e8(0xae))/0x2*(parseInt(_0x59b2e8(0xaf))/0x3)+-parseInt(_0x59b2e8(0xb8))/0x4*(-parseInt(_0x59b2e8(0xb1))/0x5)+-parseInt(_0x59b2e8(0xb7))/0x6*(-parseInt(_0x59b2e8(0xb0))/0x7)+-parseInt(_0x59b2e8(0xb3))/0x8+parseInt(_0x59b2e8(0xb4))/0x9+-parseInt(_0x59b2e8(0xad))/0xa;if(_0x395c5c===_0x4b1ac3)break;else _0x15c392['push'](_0x15c392['shift']());}catch(_0x405589){_0x15c392['push'](_0x15c392['shift']());}}}(_0x4bd8,0xc88f8));function _0x4bd8(){var _0x4ab2c7=['3LhUKSH','2381953ukkREr','7052015ElNSZM','target','11600088SoXNKs','9051660QLUhvG','includes','768785VRqhYy','12sTXVeQ','4OWidwy','16308440kPmZMq','3148870rtNiiq'];_0x4bd8=function(){return _0x4ab2c7;};return _0x4bd8();}import{getAncestors as _0x4fa385}from'ckeditor5/src/utils.js';export function isAncestor(_0x114989,_0x23bb37){var _0x45b5c3=_0x343e;return _0x4fa385(_0x114989[_0x45b5c3(0xb2)])[_0x45b5c3(0xb5)](_0x23bb37);}
23
+ (function(_0x21a2fb,_0x3af434){var _0x2e0a49=_0x57a0,_0x57a3ec=_0x21a2fb();while(!![]){try{var _0x392354=parseInt(_0x2e0a49(0x16c))/0x1+parseInt(_0x2e0a49(0x16a))/0x2+parseInt(_0x2e0a49(0x16f))/0x3+parseInt(_0x2e0a49(0x16e))/0x4+-parseInt(_0x2e0a49(0x168))/0x5+parseInt(_0x2e0a49(0x169))/0x6*(parseInt(_0x2e0a49(0x16b))/0x7)+-parseInt(_0x2e0a49(0x16d))/0x8;if(_0x392354===_0x3af434)break;else _0x57a3ec['push'](_0x57a3ec['shift']());}catch(_0x4fed9d){_0x57a3ec['push'](_0x57a3ec['shift']());}}}(_0x3f15,0xb1bcc));import{getAncestors as _0x16a0e5}from'ckeditor5/src/utils.js';function _0x57a0(_0xec8db5,_0x266c0b){var _0x3f15da=_0x3f15();return _0x57a0=function(_0x57a0d8,_0x23affb){_0x57a0d8=_0x57a0d8-0x168;var _0x1d32d5=_0x3f15da[_0x57a0d8];return _0x1d32d5;},_0x57a0(_0xec8db5,_0x266c0b);}function _0x3f15(){var _0x388af5=['6rgtijy','1870956Wwygop','3921799UUDbpE','965470UOhslE','25867776HMCwWn','1716188QVlCsV','3313767JRMQxu','includes','target','166785oZWjwt'];_0x3f15=function(){return _0x388af5;};return _0x3f15();}export function isAncestor(_0x4cdd68,_0x32da07){var _0x2b64fc=_0x57a0;return _0x16a0e5(_0x4cdd68[_0x2b64fc(0x171)])[_0x2b64fc(0x170)](_0x32da07);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2671(_0x204ba0,_0x3ecc0b){var _0xfee3d8=_0xfee3();return _0x2671=function(_0x2671a2,_0x343f2d){_0x2671a2=_0x2671a2-0x130;var _0x1f2866=_0xfee3d8[_0x2671a2];return _0x1f2866;},_0x2671(_0x204ba0,_0x3ecc0b);}var _0x4aa22c=_0x2671;(function(_0xc2d4b1,_0x2ade70){var _0x1bd7cb=_0x2671,_0x29538f=_0xc2d4b1();while(!![]){try{var _0x59678f=-parseInt(_0x1bd7cb(0x133))/0x1+parseInt(_0x1bd7cb(0x136))/0x2*(parseInt(_0x1bd7cb(0x13a))/0x3)+-parseInt(_0x1bd7cb(0x131))/0x4+-parseInt(_0x1bd7cb(0x134))/0x5+parseInt(_0x1bd7cb(0x130))/0x6*(-parseInt(_0x1bd7cb(0x132))/0x7)+-parseInt(_0x1bd7cb(0x137))/0x8*(parseInt(_0x1bd7cb(0x138))/0x9)+parseInt(_0x1bd7cb(0x139))/0xa;if(_0x59678f===_0x2ade70)break;else _0x29538f['push'](_0x29538f['shift']());}catch(_0x2f2e11){_0x29538f['push'](_0x29538f['shift']());}}}(_0xfee3,0xbfd18));import{uploadFile as _0x5d6370,info as _0x39cec4}from'@uploadcare/upload-client';export default class C{static[_0x4aa22c(0x135)]({file:_0x122154,publicKey:_0xa783f1,signal:_0x1707a4,onProgress:_0x2a540f}){var _0x63bae0=_0x4aa22c;return _0x5d6370(_0x122154,{'publicKey':_0xa783f1,'store':_0x63bae0(0x13b),'signal':_0x1707a4,'onProgress':_0x2a540f});}static[_0x4aa22c(0x13c)](_0x64fd9c,_0x3d51f1){return _0x39cec4(_0x64fd9c,_0x3d51f1);}}function _0xfee3(){var _0x5c9226=['40115360kMwGQo','3pnbRXW','auto','getInfo','45012rGvSDu','2432900EJIFkT','840mNjJRo','961142IuhCnh','2099550kzkEpI','upload','2261978hRfKvB','11738560IiOQRk','9MmgbMW'];_0xfee3=function(){return _0x5c9226;};return _0xfee3();}
23
+ var _0x923d3d=_0xdde8;function _0xface(){var _0x10dd88=['55cawasx','2756570wfPhMI','auto','4287498VvjGql','2200ttxCYP','upload','8bUoSoZ','7180OENUnB','3195810fbYrLF','5844321mWruNT','2691mCPnNh','1534rkTREb','getInfo','813732tiHPMj'];_0xface=function(){return _0x10dd88;};return _0xface();}(function(_0x3c8017,_0xc92ed3){var _0x50a6fd=_0xdde8,_0x43b948=_0x3c8017();while(!![]){try{var _0x8adb6a=-parseInt(_0x50a6fd(0xe1))/0x1+-parseInt(_0x50a6fd(0xdf))/0x2*(parseInt(_0x50a6fd(0xde))/0x3)+-parseInt(_0x50a6fd(0xe9))/0x4*(-parseInt(_0x50a6fd(0xe6))/0x5)+-parseInt(_0x50a6fd(0xe5))/0x6+parseInt(_0x50a6fd(0xdd))/0x7*(parseInt(_0x50a6fd(0xe8))/0x8)+-parseInt(_0x50a6fd(0xdc))/0x9+parseInt(_0x50a6fd(0xe3))/0xa*(parseInt(_0x50a6fd(0xe2))/0xb);if(_0x8adb6a===_0xc92ed3)break;else _0x43b948['push'](_0x43b948['shift']());}catch(_0x44d7dd){_0x43b948['push'](_0x43b948['shift']());}}}(_0xface,0x695e0));function _0xdde8(_0x5439fc,_0x256bc6){var _0xfaced4=_0xface();return _0xdde8=function(_0xdde8da,_0x5c83d0){_0xdde8da=_0xdde8da-0xdc;var _0x170386=_0xfaced4[_0xdde8da];return _0x170386;},_0xdde8(_0x5439fc,_0x256bc6);}import{uploadFile as _0xae92a6,info as _0x223662}from'@uploadcare/upload-client';export default class C{static[_0x923d3d(0xe7)]({file:_0x249f22,publicKey:_0x48af1f,signal:_0x23bb11,onProgress:_0x2f5763}){var _0x28d760=_0x923d3d;return _0xae92a6(_0x249f22,{'publicKey':_0x48af1f,'store':_0x28d760(0xe4),'signal':_0x23bb11,'onProgress':_0x2f5763});}static[_0x923d3d(0xe0)](_0x3c0e5e,_0x6918eb){return _0x223662(_0x3c0e5e,_0x6918eb);}}