@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250426.0 → 0.0.0-nightly-20250428.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 +9 -9
- 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/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
|
-
const
|
|
23
|
+
const _0x3ed7ec=_0x3e87;(function(_0x5cdfa4,_0x3c9195){const _0x4942ba=_0x3e87,_0x11afb9=_0x5cdfa4();while(!![]){try{const _0x4247f2=parseInt(_0x4942ba(0xc0))/0x1*(-parseInt(_0x4942ba(0xce))/0x2)+-parseInt(_0x4942ba(0xb6))/0x3+-parseInt(_0x4942ba(0xc6))/0x4+parseInt(_0x4942ba(0xb5))/0x5+-parseInt(_0x4942ba(0xae))/0x6*(parseInt(_0x4942ba(0xaf))/0x7)+-parseInt(_0x4942ba(0xbd))/0x8+parseInt(_0x4942ba(0xe1))/0x9;if(_0x4247f2===_0x3c9195)break;else _0x11afb9['push'](_0x11afb9['shift']());}catch(_0x153152){_0x11afb9['push'](_0x11afb9['shift']());}}}(_0x43f4,0x82c67));import{View as _0x3f5d10}from'ckeditor5/src/ui.js';import _0x33b0ec from'./uploadcareimageeditformloadingview.js';function _0x3e87(_0x5420de,_0x53af7d){const _0x43f4e8=_0x43f4();return _0x3e87=function(_0x3e8793,_0x2707f2){_0x3e8793=_0x3e8793-0xae;let _0x414b5e=_0x43f4e8[_0x3e8793];return _0x414b5e;},_0x3e87(_0x5420de,_0x53af7d);}function _0x43f4(){const _0x59e558=['38xygolv','focus','uc-cloud-image-editor','_setView','setTemplate','observe','_errorView','target','cancel','cdnUrl','getFocusableElement','_addUploadcareImageEditorListeners','div','querySelector','_editingView','length','_items','addEventListener','apply','25618104NpmOzo','change:status','retry','6ldbzua','1301671pYDBzP','nodeName','_loadingView','toLowerCase','addMany','addedNodes','3736830MrFsQs','1594245QYafMU','ck-uploadcare-form','_waitForImageEditorComponent','_focusableView','uploading','disconnect','render','8155664UtrJkv','status','filter','52071OJlJOh','fire','createCollection','element','clear','_addErrorViewListeners','1327968GrHGHG','ck-reset_all-excluded','error','once','set','add','ready','detail'];_0x43f4=function(){return _0x59e558;};return _0x43f4();}import _0x2cde7e from'./uploadcareimageeditformerrorview.js';import _0x3eb110 from'./uploadcareimageeditformeditingview.js';import _0x74768d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x74768d{[_0x3ed7ec(0xde)];[_0x3ed7ec(0xb1)];[_0x3ed7ec(0xd4)];[_0x3ed7ec(0xdc)];[_0x3ed7ec(0xb9)];constructor(_0x10fdfe,_0x497e6d,_0x55daf4){const _0x2f4f08=_0x3ed7ec;super(_0x10fdfe),this[_0x2f4f08(0xde)]=this[_0x2f4f08(0xc2)](),this[_0x2f4f08(0xb1)]=new _0x33b0ec(_0x10fdfe),this[_0x2f4f08(0xd4)]=new _0x2cde7e(_0x10fdfe),this[_0x2f4f08(0xdc)]=new _0x3eb110(_0x10fdfe,_0x55daf4),this[_0x2f4f08(0xb9)]=new _0x3f5d10(_0x10fdfe),this[_0x2f4f08(0xb9)][_0x2f4f08(0xd2)](this[_0x2f4f08(0xd8)]()),this[_0x2f4f08(0xca)](_0x2f4f08(0xbe),_0x497e6d),this[_0x2f4f08(0xd2)]({'tag':_0x2f4f08(0xda),'attributes':{'class':['ck',_0x2f4f08(0xc7),_0x2f4f08(0xb7)],'tabindex':'-1'},'children':this[_0x2f4f08(0xde)]}),this[_0x2f4f08(0xd1)](),this[_0x2f4f08(0xc9)](_0x2f4f08(0xbc),()=>{const _0x983c14=_0x2f4f08;this[_0x983c14(0xb8)](this[_0x983c14(0xc3)],_0x217292=>{const _0x9a081f=_0x983c14;this[_0x9a081f(0xd9)](_0x217292);});}),this['on'](_0x2f4f08(0xe2),()=>{const _0x395df9=_0x2f4f08;this[_0x395df9(0xd1)]();}),this[_0x2f4f08(0xc5)]();}[_0x3ed7ec(0xcf)](){const _0x2a490f=_0x3ed7ec;this[_0x2a490f(0xc3)][_0x2a490f(0xcf)]();}[_0x3ed7ec(0xd1)](){const _0x5ceaa4=_0x3ed7ec;switch(this[_0x5ceaa4(0xde)][_0x5ceaa4(0xc4)](),this[_0x5ceaa4(0xbe)]){case _0x5ceaa4(0xba):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xcb)](this[_0x5ceaa4(0xb1)]);break;case _0x5ceaa4(0xc8):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xcb)](this[_0x5ceaa4(0xd4)]);break;case _0x5ceaa4(0xcc):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xb3)]([this[_0x5ceaa4(0xdc)],this[_0x5ceaa4(0xb9)]]);}}[_0x3ed7ec(0xb8)](_0x2f7e4a,_0x505ada){const _0x5050ed=_0x3ed7ec,_0x90e1a4=_0x5050ed(0xd0),_0x18849c=_0x2f7e4a[_0x5050ed(0xdb)](_0x90e1a4);if(_0x18849c)return _0x505ada(_0x18849c);const _0x4139e6=new MutationObserver(_0x3c09da=>{const _0x463cef=_0x5050ed,_0x163f4d=_0x3c09da[_0x463cef(0xbf)](_0x50ff0d=>_0x50ff0d[_0x463cef(0xd5)]===_0x2f7e4a&&_0x50ff0d[_0x463cef(0xb4)][_0x463cef(0xdd)]>0x0&&_0x50ff0d[_0x463cef(0xb4)][0x0][_0x463cef(0xb0)][_0x463cef(0xb2)]()===_0x90e1a4);_0x163f4d[_0x463cef(0xdd)]&&(_0x4139e6[_0x463cef(0xbb)](),_0x505ada(_0x163f4d[0x0][_0x463cef(0xb4)][0x0]));});_0x4139e6[_0x5050ed(0xd3)](_0x2f7e4a,{'childList':!0x0,'subtree':!0x0});}[_0x3ed7ec(0xd9)](_0x34b9ea){const _0x5b2c08=_0x3ed7ec;_0x34b9ea[_0x5b2c08(0xdf)](_0x5b2c08(0xe0),_0x2ccc07=>{const _0x3d1c29=_0x5b2c08;this[_0x3d1c29(0xc1)](_0x3d1c29(0xe0),{'imageSrc':_0x2ccc07[_0x3d1c29(0xcd)][_0x3d1c29(0xd7)]});}),_0x34b9ea[_0x5b2c08(0xdf)](_0x5b2c08(0xd6),()=>{const _0x34248f=_0x5b2c08;this[_0x34248f(0xc1)](_0x34248f(0xd6));});}[_0x3ed7ec(0xc5)](){const _0x6e292f=_0x3ed7ec;this[_0x6e292f(0xd4)]['on'](_0x6e292f(0xe3),()=>{const _0x140e67=_0x6e292f;this[_0x140e67(0xc1)](_0x140e67(0xe3));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1caf(){const _0x1af096=['220ZXqyos','99400WCcsbu','262521XEMHRo','unbind','set','config','model','imageEditController','get','document','editor','requires','execute','getSelectedElement','refresh','plugins','1600088uVNYSU','1962888dTAiIH','246BPVOfZ','_isEditable','isActive','593559HPIIeH','32035JZWAzi','selection','bind','uploadcare.allowExternalImagesEditing','element','imageInline','isEnabled','imageBlock'];_0x1caf=function(){return _0x1af096;};return _0x1caf();}const _0xe4d874=_0x2582;(function(_0x2feeae,_0x51fb37){const _0x79a97f=_0x2582,_0xd4c09f=_0x2feeae();while(!![]){try{const _0x582305=parseInt(_0x79a97f(0x8b))/0x1+-parseInt(_0x79a97f(0x94))/0x2+-parseInt(_0x79a97f(0x87))/0x3+-parseInt(_0x79a97f(0x95))/0x4+parseInt(_0x79a97f(0x8c))/0x5*(parseInt(_0x79a97f(0x88))/0x6)+-parseInt(_0x79a97f(0x96))/0x7+parseInt(_0x79a97f(0x86))/0x8;if(_0x582305===_0x51fb37)break;else _0xd4c09f['push'](_0xd4c09f['shift']());}catch(_0x35b81c){_0xd4c09f['push'](_0xd4c09f['shift']());}}}(_0x1caf,0x52e2a));import{Command as _0x549650}from'ckeditor5/src/core.js';function _0x2582(_0x44360a,_0x276a44){const _0x1cafa8=_0x1caf();return _0x2582=function(_0x258266,_0xe2486b){_0x258266=_0x258266-0x7c;let _0x26d5b7=_0x1cafa8[_0x258266];return _0x26d5b7;},_0x2582(_0x44360a,_0x276a44);}import{Dialog as _0xc32672}from'ckeditor5/src/ui.js';import _0x32396b from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3dc527}from'../utils/editingutils.js';export default class V extends _0x549650{[_0xe4d874(0x7d)];static get[_0xe4d874(0x81)](){return[_0xc32672];}[_0xe4d874(0x89)];constructor(_0x554e00){const _0x4e1c97=_0xe4d874;super(_0x554e00),this[_0x4e1c97(0x7d)]=void 0x0,this[_0x4e1c97(0x89)]=_0x3dc527(_0x554e00[_0x4e1c97(0x99)][_0x4e1c97(0x7e)](_0x4e1c97(0x8f))||[]),this[_0x4e1c97(0x98)]({'isActive':!0x1});}[_0xe4d874(0x84)](){const _0x214f04=_0xe4d874,_0x4f4616=this[_0x214f04(0x80)][_0x214f04(0x7c)][_0x214f04(0x7f)][_0x214f04(0x8d)][_0x214f04(0x83)]();this[_0x214f04(0x92)]=this[_0x214f04(0x89)](_0x4f4616);}[_0xe4d874(0x82)](){const _0x2cb7d2=_0xe4d874;this[_0x2cb7d2(0x7d)]&&(this[_0x2cb7d2(0x97)](_0x2cb7d2(0x8a)),this[_0x2cb7d2(0x7d)]=void 0x0);const _0x1e6b82=this[_0x2cb7d2(0x80)][_0x2cb7d2(0x7c)][_0x2cb7d2(0x7f)][_0x2cb7d2(0x8d)][_0x2cb7d2(0x83)]();_0x1e6b82&&(_0x1e6b82['is'](_0x2cb7d2(0x90),_0x2cb7d2(0x93))||_0x1e6b82['is'](_0x2cb7d2(0x90),_0x2cb7d2(0x91)))&&(this[_0x2cb7d2(0x7d)]=new _0x32396b(this[_0x2cb7d2(0x80)],this[_0x2cb7d2(0x80)][_0x2cb7d2(0x85)][_0x2cb7d2(0x7e)](_0xc32672),_0x1e6b82),this[_0x2cb7d2(0x8e)](_0x2cb7d2(0x8a))['to'](this[_0x2cb7d2(0x7d)],_0x2cb7d2(0x8a)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e9b87=_0x31a7;(function(_0x3b48ff,_0x2ecb4b){const _0x29f39d=_0x31a7,_0x33eff2=_0x3b48ff();while(!![]){try{const _0x1049ef=parseInt(_0x29f39d(0x15c))/0x1+-parseInt(_0x29f39d(0x157))/0x2+-parseInt(_0x29f39d(0x15f))/0x3*(parseInt(_0x29f39d(0x156))/0x4)+-parseInt(_0x29f39d(0x164))/0x5*(-parseInt(_0x29f39d(0x162))/0x6)+parseInt(_0x29f39d(0x159))/0x7+-parseInt(_0x29f39d(0x15a))/0x8+parseInt(_0x29f39d(0x152))/0x9*(parseInt(_0x29f39d(0x155))/0xa);if(_0x1049ef===_0x2ecb4b)break;else _0x33eff2['push'](_0x33eff2['shift']());}catch(_0x477d71){_0x33eff2['push'](_0x33eff2['shift']());}}}(_0x28c1,0x21b46));import{Plugin as _0xec3360}from'ckeditor5/src/core.js';function _0x28c1(){const _0x567c37=['843QqwYcC','UploadcareImageEditEditing','isPremiumPlugin','5094Msuiek','ImageEditing','80SaGfWR','add','init','isOfficialPlugin','241848XFKKSr','commands','uploadcareImageReplace','220GSKvgy','2936abTaru','550934UIbHyz','requires','1368143iBRbxr','1625712tWtyNw','uploadcareImageEdit','22772Xrbobb','ImageUtils','pluginName'];_0x28c1=function(){return _0x567c37;};return _0x28c1();}function _0x31a7(_0x32f34c,_0x102ca9){const _0x28c1e7=_0x28c1();return _0x31a7=function(_0x31a71e,_0x3684e0){_0x31a71e=_0x31a71e-0x14f;let _0x122f28=_0x28c1e7[_0x31a71e];return _0x122f28;},_0x31a7(_0x32f34c,_0x102ca9);}import{Notification as _0x15f14f}from'ckeditor5/src/ui.js';import _0x4360df from'./uploadcareimageeditcommand.js';import _0xd55146 from'./uploadcareimagereplacecommand.js';import _0x417a39 from'../uploadcareediting.js';export default class g extends _0xec3360{static get[_0x1e9b87(0x15e)](){const _0xe986d5=_0x1e9b87;return _0xe986d5(0x160);}static get[_0x1e9b87(0x158)](){const _0x5bd863=_0x1e9b87;return[_0x417a39,_0x15f14f,_0x5bd863(0x15d),_0x5bd863(0x163)];}static get[_0x1e9b87(0x151)](){return!0x0;}static get[_0x1e9b87(0x161)](){return!0x0;}[_0x1e9b87(0x150)](){const _0x698434=_0x1e9b87,{editor:_0x4b5e0d}=this;_0x4b5e0d[_0x698434(0x153)][_0x698434(0x14f)](_0x698434(0x15b),new _0x4360df(_0x4b5e0d)),_0x4b5e0d[_0x698434(0x153)][_0x698434(0x14f)](_0x698434(0x154),new _0xd55146(_0x4b5e0d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x265314}from'ckeditor5/src/core.js';import{ButtonView as _0x25cfb1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5e19c7}from'ckeditor5/src/icons.js';import{createElement as _0x59eac4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x265314{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x344094=this['editor'];_0x344094['ui']['componentFactory']['add']('uploadcareImageEdit',_0x58becf=>{const _0xa8ed44=_0x344094['commands']['get']('uploadcareImageEdit'),_0xf18d68=new _0x25cfb1(_0x58becf),t=_0x58becf['t'];return _0xf18d68['set']({'icon':_0x5e19c7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xf18d68['bind']('isEnabled')['to'](_0xa8ed44),_0xf18d68['bind']('isOn')['to'](_0xa8ed44,'isActive'),this['listenTo'](_0xf18d68,'execute',()=>{_0x344094['execute']('uploadcareImageEdit'),_0x344094['editing']['view']['focus']();}),_0xf18d68;}),this['_initConfig']();}['_initConfig'](){const _0x5e3ef3=_0x59eac4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e3ef3),this['listenTo'](this['editor'],'destroy',()=>{_0x5e3ef3['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xeb43(_0x16388d,_0x424e8c){const _0x5d0bbf=_0x5d0b();return _0xeb43=function(_0xeb4307,_0x5c3ec6){_0xeb4307=_0xeb4307-0xd1;let _0xfa0040=_0x5d0bbf[_0xeb4307];return _0xfa0040;},_0xeb43(_0x16388d,_0x424e8c);}const _0x2013f0=_0xeb43;(function(_0x40136b,_0x2e5c3b){const _0x1123b2=_0xeb43,_0x36e2af=_0x40136b();while(!![]){try{const _0x5d17dc=parseInt(_0x1123b2(0xd7))/0x1*(-parseInt(_0x1123b2(0xde))/0x2)+parseInt(_0x1123b2(0xd8))/0x3*(parseInt(_0x1123b2(0xeb))/0x4)+parseInt(_0x1123b2(0xd6))/0x5*(parseInt(_0x1123b2(0xe2))/0x6)+-parseInt(_0x1123b2(0xea))/0x7+-parseInt(_0x1123b2(0xe8))/0x8*(parseInt(_0x1123b2(0xe0))/0x9)+-parseInt(_0x1123b2(0xd2))/0xa+parseInt(_0x1123b2(0xdc))/0xb*(parseInt(_0x1123b2(0xda))/0xc);if(_0x5d17dc===_0x2e5c3b)break;else _0x36e2af['push'](_0x36e2af['shift']());}catch(_0x5a0346){_0x36e2af['push'](_0x36e2af['shift']());}}}(_0x5d0b,0xf2de7));import{Command as _0x4ac1f7}from'ckeditor5/src/core.js';function _0x5d0b(){const _0x189de9=['element','isEnabled','srcset','1814860UCMcqf','1xGjYKe','92241DVEnEZ','sizes','312JmyoUi','imageBlock','1095908MweaLz','change','1544414izEWMy','model','966321aJaEXO','editor','6PrhIko','getSelectedElement','document','execute','selection','refresh','8OFSbLA','setAttributes','11086796YqQGQW','196eSginn','removeAttribute','imageInline','10017080UNiIic'];_0x5d0b=function(){return _0x189de9;};return _0x5d0b();}export default class X extends _0x4ac1f7{[_0x2013f0(0xe7)](){const _0x2dd10f=_0x2013f0,_0x320ebc=this[_0x2dd10f(0xe1)][_0x2dd10f(0xdf)][_0x2dd10f(0xe4)][_0x2dd10f(0xe6)][_0x2dd10f(0xe3)]();this[_0x2dd10f(0xd4)]=Boolean(_0x320ebc&&(_0x320ebc['is'](_0x2dd10f(0xd3),_0x2dd10f(0xdb))||_0x320ebc['is'](_0x2dd10f(0xd3),_0x2dd10f(0xd1))));}[_0x2013f0(0xe5)](_0x240aaa){const _0x404892=_0x2013f0,_0x41c87c=this[_0x404892(0xe1)][_0x404892(0xdf)][_0x404892(0xe4)][_0x404892(0xe6)][_0x404892(0xe3)]();this[_0x404892(0xe1)][_0x404892(0xdf)][_0x404892(0xdd)](_0x3ed460=>{const _0x3177d0=_0x404892;_0x3ed460[_0x3177d0(0xe9)](_0x240aaa,_0x41c87c),_0x3ed460[_0x3177d0(0xec)](_0x3177d0(0xd5),_0x41c87c),_0x3ed460[_0x3177d0(0xec)](_0x3177d0(0xd9),_0x41c87c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x71494e=_0x1dc2;(function(_0x20e51b,_0xda7be2){var _0x5a7e3a=_0x1dc2,_0x194f80=_0x20e51b();while(!![]){try{var _0x5e9dc8=-parseInt(_0x5a7e3a(0x1c9))/0x1+parseInt(_0x5a7e3a(0x1c8))/0x2+-parseInt(_0x5a7e3a(0x1c6))/0x3+parseInt(_0x5a7e3a(0x1c1))/0x4*(-parseInt(_0x5a7e3a(0x1c3))/0x5)+-parseInt(_0x5a7e3a(0x1bd))/0x6*(parseInt(_0x5a7e3a(0x1bb))/0x7)+parseInt(_0x5a7e3a(0x1c4))/0x8*(-parseInt(_0x5a7e3a(0x1c2))/0x9)+parseInt(_0x5a7e3a(0x1c7))/0xa;if(_0x5e9dc8===_0xda7be2)break;else _0x194f80['push'](_0x194f80['shift']());}catch(_0x993f15){_0x194f80['push'](_0x194f80['shift']());}}}(_0x3145,0xbcee2));import{FocusTracker as _0x4ccb1a}from'ckeditor5/src/utils.js';function _0x1dc2(_0x3803cc,_0x2bdc10){var _0x314599=_0x3145();return _0x1dc2=function(_0x1dc2f0,_0x54b3f6){_0x1dc2f0=_0x1dc2f0-0x1b9;var _0x230e94=_0x314599[_0x1dc2f0];return _0x230e94;},_0x1dc2(_0x3803cc,_0x2bdc10);}import{View as _0x40a70a,FocusCycler as _0x388f86}from'ckeditor5/src/ui.js';function _0x3145(){var _0x40abae=['1011500KWarJg','589998tFQZad','getFocusableElement','div','true','focusCycler','74291rxVVPw','forwardCycle','366lcOmmT','bindTemplate','createCollection','focusTracker','128564xtRBob','9EIQnsn','115oHNvsI','7807304BbSJGc','fire','776562ghVqCo','34795090caEHJs'];_0x3145=function(){return _0x40abae;};return _0x3145();}import'../../theme/uploadcare-form.css';export default class q extends _0x40a70a{[_0x71494e(0x1c0)];[_0x71494e(0x1ba)];constructor(_0x2512b3){var _0xe5548=_0x71494e;super(_0x2512b3),this[_0xe5548(0x1c0)]=new _0x4ccb1a(),this[_0xe5548(0x1ba)]=new _0x388f86({'focusables':this[_0xe5548(0x1bf)](),'focusTracker':this[_0xe5548(0x1c0)]});}[_0x71494e(0x1ca)](){var _0x40d6ce=_0x71494e;return{'tag':_0x40d6ce(0x1cb),'attributes':{'aria-hidden':_0x40d6ce(0x1b9),'tabindex':'0'},'on':{'focus':this[_0x40d6ce(0x1be)]['to'](()=>{var _0x13683b=_0x40d6ce;this[_0x13683b(0x1ba)][_0x13683b(0x1c5)](_0x13683b(0x1bc));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3365(){const _0x4c4194=['image-processing','8125711LjGfiq','mapper','change','12qbkpOu','2YDBLLU','stopListening','editing','document','toViewElement','width','919713jNBXlT','px)\x20100vw,\x20','112381oPnduR','match','setStyle','viewToDom','244150miXSBY','x/\x20','9xGigHb','/-/resize/','map','baseURI','isArray','view','domConverter','findViewImgElement','4367960agPBCE','function','hasAttribute','filter','aspect-ratio','replace','get','element','plugins','window','imageBlock','join','97626ACIoqv','2962760SShbIE','(max-width:\x20','listenTo','image/webp','origin','imageInline','uploadcareImageId','load','some','addClass','location','ImageUtils','removeClass','182vAKlLG','create','src','removeStyle','getAttribute','height'];_0x3365=function(){return _0x4c4194;};return _0x3365();}(function(_0x443ffb,_0x218033){const _0x345e56=_0x1c8b,_0x5bd1c4=_0x443ffb();while(!![]){try{const _0x4e65c9=-parseInt(_0x345e56(0x8d))/0x1+parseInt(_0x345e56(0x85))/0x2*(-parseInt(_0x345e56(0x8b))/0x3)+-parseInt(_0x345e56(0x84))/0x4*(-parseInt(_0x345e56(0x91))/0x5)+-parseInt(_0x345e56(0xa7))/0x6*(-parseInt(_0x345e56(0x7a))/0x7)+parseInt(_0x345e56(0xa8))/0x8*(parseInt(_0x345e56(0x93))/0x9)+parseInt(_0x345e56(0x9b))/0xa+-parseInt(_0x345e56(0x81))/0xb;if(_0x4e65c9===_0x218033)break;else _0x5bd1c4['push'](_0x5bd1c4['shift']());}catch(_0xefb2b5){_0x5bd1c4['push'](_0x5bd1c4['shift']());}}}(_0x3365,0x35790));import{global as _0x2bf3b2,DomEmitterMixin as _0xd92ca8}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x12aa79){const _0xe431de=_0x1c8b,_0x4b8614=R(_0x12aa79);return _0x489131=>!(!_0x489131||!_0x489131['is'](_0xe431de(0xa2),_0xe431de(0xa5))&&!_0x489131['is'](_0xe431de(0xa2),_0xe431de(0xad)))&&(!!_0x489131[_0xe431de(0x9d)](_0xe431de(0xae))||!!_0x489131[_0xe431de(0x9d)](_0xe431de(0x7c))&&_0x4b8614(_0x489131[_0xe431de(0x7e)](_0xe431de(0x7c))));}export function getImageUrls(_0x20a629,_0x1eae0b){const _0x52f973=_0x1c8b,_0x4b4a0d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x52f973(0x9e)](_0x3e3db0=>_0x3e3db0<=_0x1eae0b)[_0x52f973(0x95)](_0x12a9ee=>_0x20a629[_0x52f973(0xa0)](/\/$/,'')+_0x52f973(0x94)+_0x12a9ee+_0x52f973(0x92)+_0x12a9ee+'w');return{'imageFallbackUrl':_0x20a629,'imageSources':[{'srcset':_0x4b4a0d[_0x52f973(0xa6)](',\x20'),'sizes':_0x52f973(0xa9)+_0x1eae0b+_0x52f973(0x8c)+_0x1eae0b+'px','type':_0x52f973(0xab)}]};}function _0x1c8b(_0x3001a1,_0x250a0d){const _0x3365e2=_0x3365();return _0x1c8b=function(_0x1c8ba0,_0x543c00){_0x1c8ba0=_0x1c8ba0-0x75;let _0xfd4049=_0x3365e2[_0x1c8ba0];return _0xfd4049;},_0x1c8b(_0x3001a1,_0x250a0d);}export function getImageDimension(_0x95a1f0,_0x25cac3,_0x402289){const _0xaefaf8=_0x1c8b,_0x317b72=_0x95a1f0[_0xaefaf8(0x8e)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x317b72?parseInt(_0x317b72[0x1],0xa):_0x25cac3,'height':_0x317b72?parseInt(_0x317b72[0x2],0xa):_0x402289};}export function showImageProcessingIndicator(_0x5d78c7,_0x5ccb85){const _0x503385=_0x1c8b,_0x311dfd=Object[_0x503385(0x7b)](_0xd92ca8),_0x4848ed=_0x5d78c7[_0x503385(0xa3)][_0x503385(0xa1)](_0x503385(0x78)),_0x614579=_0x5d78c7[_0x503385(0x87)][_0x503385(0x82)][_0x503385(0x89)](_0x5ccb85),_0x627258=_0x4848ed[_0x503385(0x9a)](_0x614579),_0x827ae0=_0x5d78c7[_0x503385(0x87)][_0x503385(0x98)][_0x503385(0x99)][_0x503385(0x90)](_0x627258),_0x57f283=_0x5ccb85[_0x503385(0x7e)](_0x503385(0x8a)),_0x2a0df9=_0x5ccb85[_0x503385(0x7e)](_0x503385(0x7f)),_0x1e91b8=_0x503385(0x80);_0x5d78c7[_0x503385(0x87)][_0x503385(0x98)][_0x503385(0x83)](_0x19258c=>{const _0x3e0320=_0x503385;_0x19258c[_0x3e0320(0x76)](_0x1e91b8,_0x614579),_0x19258c[_0x3e0320(0x8f)](_0x3e0320(0x9f),_0x57f283+'/'+_0x2a0df9,_0x627258);}),_0x311dfd[_0x503385(0xaa)](_0x827ae0,_0x503385(0xaf),()=>{const _0x150d9d=_0x503385;_0x311dfd[_0x150d9d(0x86)](_0x827ae0,_0x150d9d(0xaf)),_0x5d78c7[_0x150d9d(0x87)][_0x150d9d(0x98)][_0x150d9d(0x83)](_0x56ee15=>{const _0x41911e=_0x150d9d;_0x56ee15[_0x41911e(0x79)](_0x1e91b8,_0x614579),_0x56ee15[_0x41911e(0x7d)](_0x41911e(0x9f),_0x627258);});});}function R(_0x322f92){const _0x2592c1=_0x1c8b;if(Array[_0x2592c1(0x97)](_0x322f92)){const _0x48863a=_0x322f92[_0x2592c1(0x95)](R);return _0x12868d=>_0x48863a[_0x2592c1(0x75)](_0x6c0cb3=>_0x6c0cb3(_0x12868d));}if(_0x2592c1(0xac)==_0x322f92){const _0x3a3172=_0x2bf3b2[_0x2592c1(0xa4)][_0x2592c1(0x77)][_0x2592c1(0xac)];return _0x2b2c73=>new URL(_0x2b2c73,_0x2bf3b2[_0x2592c1(0x88)][_0x2592c1(0x96)])[_0x2592c1(0xac)]==_0x3a3172;}return _0x2592c1(0x9c)==typeof _0x322f92?_0x322f92:_0x322f92 instanceof RegExp?_0x57e309=>!(!_0x57e309[_0x2592c1(0x8e)](_0x322f92)&&!_0x57e309[_0x2592c1(0xa0)](/^https?:\/\//,'')[_0x2592c1(0x8e)](_0x322f92)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x26a8(_0x383bf3,_0x1b4ec6){var _0x4afe52=_0x4afe();return _0x26a8=function(_0x26a84f,_0x2435d7){_0x26a84f=_0x26a84f-0xd7;var _0x17bcfd=_0x4afe52[_0x26a84f];return _0x17bcfd;},_0x26a8(_0x383bf3,_0x1b4ec6);}(function(_0x5eeff8,_0xbb0e98){var _0x5b8e32=_0x26a8,_0x2c2192=_0x5eeff8();while(!![]){try{var _0x4fe705=-parseInt(_0x5b8e32(0xdd))/0x1+parseInt(_0x5b8e32(0xdc))/0x2+parseInt(_0x5b8e32(0xe1))/0x3*(-parseInt(_0x5b8e32(0xdf))/0x4)+-parseInt(_0x5b8e32(0xde))/0x5+parseInt(_0x5b8e32(0xd7))/0x6+-parseInt(_0x5b8e32(0xd9))/0x7+parseInt(_0x5b8e32(0xdb))/0x8*(parseInt(_0x5b8e32(0xe0))/0x9);if(_0x4fe705===_0xbb0e98)break;else _0x2c2192['push'](_0x2c2192['shift']());}catch(_0x17ce5b){_0x2c2192['push'](_0x2c2192['shift']());}}}(_0x4afe,0x6d4b2));function _0x4afe(){var _0x25bc6c=['8bOJeNf','1383506prNjSb','850476HEBQow','2843565HefuFb','6084IEwbPe','10133397AtqbFp','558qkZcFl','3029784YKxHTy','target','1210223QZGCYA','includes'];_0x4afe=function(){return _0x25bc6c;};return _0x4afe();}import{getAncestors as _0x3d7232}from'ckeditor5/src/utils.js';export function isAncestor(_0xf88867,_0x5ca05c){var _0x3f5752=_0x26a8;return _0x3d7232(_0xf88867[_0x3f5752(0xd8)])[_0x3f5752(0xda)](_0x5ca05c);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2019(){var _0x3a096f=['auto','1326836XcuXkP','485514pbPmxP','65mTwrKs','893333VCXrYI','287955XvuvFp','91122LXprWS','2039598amLWAn','183276urEVTv','upload','8DQancT','getInfo'];_0x2019=function(){return _0x3a096f;};return _0x2019();}var _0x1e476c=_0x2c6c;function _0x2c6c(_0x90dcf2,_0x4cdd12){var _0x2019b0=_0x2019();return _0x2c6c=function(_0x2c6c19,_0x4b9e79){_0x2c6c19=_0x2c6c19-0x68;var _0x464f8a=_0x2019b0[_0x2c6c19];return _0x464f8a;},_0x2c6c(_0x90dcf2,_0x4cdd12);}(function(_0x1c200d,_0x52f0a6){var _0x11a46c=_0x2c6c,_0x152f6a=_0x1c200d();while(!![]){try{var _0x1af0d2=-parseInt(_0x11a46c(0x6d))/0x1+-parseInt(_0x11a46c(0x70))/0x2+parseInt(_0x11a46c(0x6a))/0x3+parseInt(_0x11a46c(0x69))/0x4+-parseInt(_0x11a46c(0x6b))/0x5*(-parseInt(_0x11a46c(0x6e))/0x6)+parseInt(_0x11a46c(0x6c))/0x7+-parseInt(_0x11a46c(0x72))/0x8*(parseInt(_0x11a46c(0x6f))/0x9);if(_0x1af0d2===_0x52f0a6)break;else _0x152f6a['push'](_0x152f6a['shift']());}catch(_0x543518){_0x152f6a['push'](_0x152f6a['shift']());}}}(_0x2019,0x33d9e));import{uploadFile as _0x1988cf,info as _0x1e30d5}from'@uploadcare/upload-client';export default class C{static[_0x1e476c(0x71)]({file:_0x4c3842,publicKey:_0x10316f,signal:_0x191944,onProgress:_0x55648b}){var _0x54a07d=_0x1e476c;return _0x1988cf(_0x4c3842,{'publicKey':_0x10316f,'store':_0x54a07d(0x68),'signal':_0x191944,'onProgress':_0x55648b});}static[_0x1e476c(0x73)](_0x5ae3eb,_0x4d84f9){return _0x1e30d5(_0x5ae3eb,_0x4d84f9);}}
|