@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250202.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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1821(_0x34ff30,_0x5408da){const _0x4393f0=_0x4393();return _0x1821=function(_0x1821d3,_0x4a60d8){_0x1821d3=_0x1821d3-0xcf;let _0x1aa14d=_0x4393f0[_0x1821d3];return _0x1aa14d;},_0x1821(_0x34ff30,_0x5408da);}(function(_0x300906,_0x3350cc){const _0x37eafd=_0x1821,_0x2fcf97=_0x300906();while(!![]){try{const _0x10a9ab=-parseInt(_0x37eafd(0xe4))/0x1*(-parseInt(_0x37eafd(0xec))/0x2)+parseInt(_0x37eafd(0xf7))/0x3*(-parseInt(_0x37eafd(0xef))/0x4)+parseInt(_0x37eafd(0xea))/0x5*(-parseInt(_0x37eafd(0xe8))/0x6)+-parseInt(_0x37eafd(0xf0))/0x7*(-parseInt(_0x37eafd(0xe5))/0x8)+parseInt(_0x37eafd(0xe3))/0x9*(parseInt(_0x37eafd(0xfd))/0xa)+parseInt(_0x37eafd(0xda))/0xb*(-parseInt(_0x37eafd(0xe6))/0xc)+parseInt(_0x37eafd(0x102))/0xd;if(_0x10a9ab===_0x3350cc)break;else _0x2fcf97['push'](_0x2fcf97['shift']());}catch(_0x41701f){_0x2fcf97['push'](_0x2fcf97['shift']());}}}(_0x4393,0x79440));import{global as _0x3a44ee,DomEmitterMixin as _0x1a6803}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5f0a28){const _0x17d82b=_0x1821,_0x1a9bc3=R(_0x5f0a28);return _0x3ca117=>!(!_0x3ca117||!_0x3ca117['is'](_0x17d82b(0x100),_0x17d82b(0xd5))&&!_0x3ca117['is'](_0x17d82b(0x100),_0x17d82b(0xdd)))&&(!!_0x3ca117[_0x17d82b(0xdb)](_0x17d82b(0xfb))||!!_0x3ca117[_0x17d82b(0xdb)](_0x17d82b(0xee))&&_0x1a9bc3(_0x3ca117[_0x17d82b(0xd0)](_0x17d82b(0xee))));}export function getImageUrls(_0x3f9d1c,_0x1e2d19){const _0x16cf13=_0x1821,_0x48b11e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x16cf13(0xed)](_0x563430=>_0x563430<=_0x1e2d19)[_0x16cf13(0xd8)](_0x2c21b5=>_0x3f9d1c[_0x16cf13(0xdc)](/\/$/,'')+_0x16cf13(0x101)+_0x2c21b5+_0x16cf13(0x10a)+_0x2c21b5+'w');return{'imageFallbackUrl':_0x3f9d1c,'imageSources':[{'srcset':_0x48b11e[_0x16cf13(0xe0)](',\x20'),'sizes':_0x16cf13(0x105)+_0x1e2d19+_0x16cf13(0xf3)+_0x1e2d19+'px','type':_0x16cf13(0xde)}]};}export function getImageDimension(_0x159536,_0x48e159,_0x2b1d50){const _0x45d0cc=_0x1821,_0x315803=_0x159536[_0x45d0cc(0xfe)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x315803?parseInt(_0x315803[0x1],0xa):_0x48e159,'height':_0x315803?parseInt(_0x315803[0x2],0xa):_0x2b1d50};}export function showImageProcessingIndicator(_0x2a57ad,_0x29c6a7){const _0x14b4c6=_0x1821,_0x4a001d=Object[_0x14b4c6(0xf8)](_0x1a6803),_0x5be0a9=_0x2a57ad[_0x14b4c6(0xff)][_0x14b4c6(0x103)](_0x14b4c6(0xe1)),_0x4bb6d8=_0x2a57ad[_0x14b4c6(0xcf)][_0x14b4c6(0xeb)][_0x14b4c6(0xf5)](_0x29c6a7),_0x9d0a65=_0x5be0a9[_0x14b4c6(0x10b)](_0x4bb6d8),_0x5bdb20=_0x2a57ad[_0x14b4c6(0xcf)][_0x14b4c6(0xf4)][_0x14b4c6(0xdf)][_0x14b4c6(0xf2)](_0x9d0a65),_0x589678=_0x29c6a7[_0x14b4c6(0xd0)](_0x14b4c6(0xf6)),_0x45965b=_0x29c6a7[_0x14b4c6(0xd0)](_0x14b4c6(0xfc)),_0x48706c=_0x14b4c6(0xfa);_0x2a57ad[_0x14b4c6(0xcf)][_0x14b4c6(0xf4)][_0x14b4c6(0x106)](_0x92c6d7=>{const _0x53ba05=_0x14b4c6;_0x92c6d7[_0x53ba05(0x108)](_0x48706c,_0x4bb6d8),_0x92c6d7[_0x53ba05(0x104)](_0x53ba05(0xf9),_0x589678+'/'+_0x45965b,_0x9d0a65);}),_0x4a001d[_0x14b4c6(0xd2)](_0x5bdb20,_0x14b4c6(0xf1),()=>{const _0x4e4c62=_0x14b4c6;_0x4a001d[_0x4e4c62(0xe2)](_0x5bdb20,_0x4e4c62(0xf1)),_0x2a57ad[_0x4e4c62(0xcf)][_0x4e4c62(0xf4)][_0x4e4c62(0x106)](_0x497f14=>{const _0x2eae0b=_0x4e4c62;_0x497f14[_0x2eae0b(0xd1)](_0x48706c,_0x4bb6d8),_0x497f14[_0x2eae0b(0xe9)](_0x2eae0b(0xf9),_0x9d0a65);});});}function _0x4393(){const _0x1a56d8=['function','x/\x20','findViewImgElement','editing','getAttribute','removeClass','listenTo','window','isArray','imageBlock','location','some','map','document','81631xHuKfr','hasAttribute','replace','imageInline','image/webp','domConverter','join','ImageUtils','stopListening','7587891AmcNgE','733aupLtF','24xUgxjn','624WPOdsk','origin','500754McfPdi','removeStyle','20ItcqCp','mapper','2252VbTAdk','filter','src','4tnBoTA','721847BIpKFn','load','viewToDom','px)\x20100vw,\x20','view','toViewElement','width','2651343MECrKD','create','aspect-ratio','image-processing','uploadcareImageId','height','10aDvDSh','match','plugins','element','/-/resize/','1591109YjPued','get','setStyle','(max-width:\x20','change','baseURI','addClass'];_0x4393=function(){return _0x1a56d8;};return _0x4393();}function R(_0x1c2fd6){const _0x2d8794=_0x1821;if(Array[_0x2d8794(0xd4)](_0x1c2fd6)){const _0x492f79=_0x1c2fd6[_0x2d8794(0xd8)](R);return _0x331508=>_0x492f79[_0x2d8794(0xd7)](_0x87c661=>_0x87c661(_0x331508));}if(_0x2d8794(0xe7)==_0x1c2fd6){const _0x486c2a=_0x3a44ee[_0x2d8794(0xd3)][_0x2d8794(0xd6)][_0x2d8794(0xe7)];return _0x40f352=>new URL(_0x40f352,_0x3a44ee[_0x2d8794(0xd9)][_0x2d8794(0x107)])[_0x2d8794(0xe7)]==_0x486c2a;}return _0x2d8794(0x109)==typeof _0x1c2fd6?_0x1c2fd6:_0x1c2fd6 instanceof RegExp?_0x266266=>!(!_0x266266[_0x2d8794(0xfe)](_0x1c2fd6)&&!_0x266266[_0x2d8794(0xdc)](/^https?:\/\//,'')[_0x2d8794(0xfe)](_0x1c2fd6)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4cbbe8,_0x5935e3){var _0x41ffb3=_0x4318,_0x1d870d=_0x4cbbe8();while(!![]){try{var _0x3931c1=parseInt(_0x41ffb3(0xbc))/0x1+parseInt(_0x41ffb3(0xbf))/0x2+-parseInt(_0x41ffb3(0xbd))/0x3+parseInt(_0x41ffb3(0xc6))/0x4*(-parseInt(_0x41ffb3(0xc7))/0x5)+-parseInt(_0x41ffb3(0xc2))/0x6*(-parseInt(_0x41ffb3(0xc0))/0x7)+parseInt(_0x41ffb3(0xc4))/0x8*(parseInt(_0x41ffb3(0xc3))/0x9)+-parseInt(_0x41ffb3(0xc5))/0xa;if(_0x3931c1===_0x5935e3)break;else _0x1d870d['push'](_0x1d870d['shift']());}catch(_0x484e38){_0x1d870d['push'](_0x1d870d['shift']());}}}(_0x3434,0xdf9a8));import{getAncestors as _0xad98bd}from'ckeditor5/src/utils.js';export function isAncestor(_0x5f2afc,_0x551342){var _0x4dec42=_0x4318;return _0xad98bd(_0x5f2afc[_0x4dec42(0xbe)])[_0x4dec42(0xc1)](_0x551342);}function _0x4318(_0x47df97,_0x552d42){var _0x3434b1=_0x3434();return _0x4318=function(_0x431866,_0x2594e4){_0x431866=_0x431866-0xbc;var _0x17c723=_0x3434b1[_0x431866];return _0x17c723;},_0x4318(_0x47df97,_0x552d42);}function _0x3434(){var _0x16de71=['171iUmISi','631960qRxBzf','4791340FdNgch','3791824LHlKNs','5nMCOLX','239835bctXZF','2772738JyDiYV','target','2988004UMmiea','227318DWzUtc','includes','6zusDWL'];_0x3434=function(){return _0x16de71;};return _0x3434();}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xb63e(){var _0xfdb00c=['2922165onTuYC','getInfo','auto','4EaVRyt','588LhhsIZ','3456708NVDRAP','50vgMuIR','927740VhnhAy','2082uDcHYc','9335rCxdYM','26419470bwKGKa','37568zANCYh','3221208wlVXPF','upload'];_0xb63e=function(){return _0xfdb00c;};return _0xb63e();}var _0x482041=_0xcd44;(function(_0x1a3b01,_0x372cef){var _0x11e2e2=_0xcd44,_0x1a21db=_0x1a3b01();while(!![]){try{var _0x3ba946=-parseInt(_0x11e2e2(0x1c4))/0x1*(-parseInt(_0x11e2e2(0x1c0))/0x2)+-parseInt(_0x11e2e2(0x1c2))/0x3+parseInt(_0x11e2e2(0x1bb))/0x4+parseInt(_0x11e2e2(0x1b8))/0x5*(parseInt(_0x11e2e2(0x1b7))/0x6)+parseInt(_0x11e2e2(0x1c1))/0x7*(-parseInt(_0x11e2e2(0x1ba))/0x8)+parseInt(_0x11e2e2(0x1bd))/0x9*(parseInt(_0x11e2e2(0x1c3))/0xa)+-parseInt(_0x11e2e2(0x1b9))/0xb;if(_0x3ba946===_0x372cef)break;else _0x1a21db['push'](_0x1a21db['shift']());}catch(_0xf430de){_0x1a21db['push'](_0x1a21db['shift']());}}}(_0xb63e,0xf0222));import{uploadFile as _0x2030f2,info as _0x1dfaa6}from'@uploadcare/upload-client';function _0xcd44(_0x2535f5,_0x3c3a7d){var _0xb63e93=_0xb63e();return _0xcd44=function(_0xcd44f4,_0x595417){_0xcd44f4=_0xcd44f4-0x1b7;var _0x132e20=_0xb63e93[_0xcd44f4];return _0x132e20;},_0xcd44(_0x2535f5,_0x3c3a7d);}export default class C{static[_0x482041(0x1bc)]({file:_0x7190a4,publicKey:_0x1c34ea,signal:_0x598403,onProgress:_0x4a93e8}){var _0x4811db=_0x482041;return _0x2030f2(_0x7190a4,{'publicKey':_0x1c34ea,'store':_0x4811db(0x1bf),'signal':_0x598403,'onProgress':_0x4a93e8});}static[_0x482041(0x1be)](_0x4dc48d,_0x185b04){return _0x1dfaa6(_0x4dc48d,_0x185b04);}}
|