@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250217.0 → 0.0.0-nightly-next-20250218.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 _0x507677=_0x51c5;function _0x51c5(_0x5277b4,_0x181673){const _0x1536f5=_0x1536();return _0x51c5=function(_0x51c50f,_0x4ac138){_0x51c50f=_0x51c50f-0x188;let _0xc5a793=_0x1536f5[_0x51c50f];return _0xc5a793;},_0x51c5(_0x5277b4,_0x181673);}function _0x1536(){const _0x1f9a76=['clear','ready','_addUploadcareImageEditorListeners','uploading','1261494fPqQHE','change:status','27108873BeZABG','ck-uploadcare-form','element','11147672UfYlKV','4TrgguV','_errorView','_items','error','cdnUrl','addEventListener','704985xGUauU','setTemplate','8690556MaHlzv','detail','_waitForImageEditorComponent','addedNodes','_addErrorViewListeners','getFocusableElement','filter','length','disconnect','querySelector','render','createCollection','once','uc-cloud-image-editor','_setView','focus','ck-reset_all-excluded','add','toLowerCase','_loadingView','nodeName','div','apply','set','264131KNNizw','fire','addMany','_focusableView','cancel','retry','status','target','1910976hNEczi','_editingView','15VqhUMV','observe'];_0x1536=function(){return _0x1f9a76;};return _0x1536();}(function(_0x47fc64,_0x166b45){const _0x34816c=_0x51c5,_0x5a44f7=_0x47fc64();while(!![]){try{const _0x1601a8=parseInt(_0x34816c(0x1a2))/0x1*(-parseInt(_0x34816c(0x1b8))/0x2)+-parseInt(_0x34816c(0x188))/0x3+parseInt(_0x34816c(0x1aa))/0x4+parseInt(_0x34816c(0x1ac))/0x5*(parseInt(_0x34816c(0x1b2))/0x6)+-parseInt(_0x34816c(0x18a))/0x7+-parseInt(_0x34816c(0x1b7))/0x8+parseInt(_0x34816c(0x1b4))/0x9;if(_0x1601a8===_0x166b45)break;else _0x5a44f7['push'](_0x5a44f7['shift']());}catch(_0x5161fa){_0x5a44f7['push'](_0x5a44f7['shift']());}}}(_0x1536,0xb05bc));import{View as _0x2a2675}from'ckeditor5/src/ui.js';import _0x39a072 from'./uploadcareimageeditformloadingview.js';import _0x45ac24 from'./uploadcareimageeditformerrorview.js';import _0x5bff79 from'./uploadcareimageeditformeditingview.js';import _0x41ed22 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x41ed22{[_0x507677(0x1ba)];[_0x507677(0x19d)];[_0x507677(0x1b9)];[_0x507677(0x1ab)];[_0x507677(0x1a5)];constructor(_0x3a8739,_0xcbbb24,_0x409c83){const _0x258799=_0x507677;super(_0x3a8739),this[_0x258799(0x1ba)]=this[_0x258799(0x195)](),this[_0x258799(0x19d)]=new _0x39a072(_0x3a8739),this[_0x258799(0x1b9)]=new _0x45ac24(_0x3a8739),this[_0x258799(0x1ab)]=new _0x5bff79(_0x3a8739,_0x409c83),this[_0x258799(0x1a5)]=new _0x2a2675(_0x3a8739),this[_0x258799(0x1a5)][_0x258799(0x189)](this[_0x258799(0x18f)]()),this[_0x258799(0x1a1)](_0x258799(0x1a8),_0xcbbb24),this[_0x258799(0x189)]({'tag':_0x258799(0x19f),'attributes':{'class':['ck',_0x258799(0x19a),_0x258799(0x1b5)],'tabindex':'-1'},'children':this[_0x258799(0x1ba)]}),this[_0x258799(0x198)](),this[_0x258799(0x196)](_0x258799(0x194),()=>{const _0x16e9e8=_0x258799;this[_0x16e9e8(0x18c)](this[_0x16e9e8(0x1b6)],_0x4c80f7=>{const _0x4c4d64=_0x16e9e8;this[_0x4c4d64(0x1b0)](_0x4c80f7);});}),this['on'](_0x258799(0x1b3),()=>{const _0x22b0f5=_0x258799;this[_0x22b0f5(0x198)]();}),this[_0x258799(0x18e)]();}[_0x507677(0x199)](){const _0x424e8d=_0x507677;this[_0x424e8d(0x1b6)][_0x424e8d(0x199)]();}[_0x507677(0x198)](){const _0x1944bc=_0x507677;switch(this[_0x1944bc(0x1ba)][_0x1944bc(0x1ae)](),this[_0x1944bc(0x1a8)]){case _0x1944bc(0x1b1):this[_0x1944bc(0x1ba)][_0x1944bc(0x19b)](this[_0x1944bc(0x19d)]);break;case _0x1944bc(0x1bb):this[_0x1944bc(0x1ba)][_0x1944bc(0x19b)](this[_0x1944bc(0x1b9)]);break;case _0x1944bc(0x1af):this[_0x1944bc(0x1ba)][_0x1944bc(0x1a4)]([this[_0x1944bc(0x1ab)],this[_0x1944bc(0x1a5)]]);}}[_0x507677(0x18c)](_0x36d01c,_0x8eb35f){const _0x537fc3=_0x507677,_0x4ba56b=_0x537fc3(0x197),_0x2e5c75=_0x36d01c[_0x537fc3(0x193)](_0x4ba56b);if(_0x2e5c75)return _0x8eb35f(_0x2e5c75);const _0x44e9e7=new MutationObserver(_0x4cb38a=>{const _0x15665d=_0x537fc3,_0x1b39db=_0x4cb38a[_0x15665d(0x190)](_0x483100=>_0x483100[_0x15665d(0x1a9)]===_0x36d01c&&_0x483100[_0x15665d(0x18d)][_0x15665d(0x191)]>0x0&&_0x483100[_0x15665d(0x18d)][0x0][_0x15665d(0x19e)][_0x15665d(0x19c)]()===_0x4ba56b);_0x1b39db[_0x15665d(0x191)]&&(_0x44e9e7[_0x15665d(0x192)](),_0x8eb35f(_0x1b39db[0x0][_0x15665d(0x18d)][0x0]));});_0x44e9e7[_0x537fc3(0x1ad)](_0x36d01c,{'childList':!0x0,'subtree':!0x0});}[_0x507677(0x1b0)](_0x3eeead){const _0x84b042=_0x507677;_0x3eeead[_0x84b042(0x1bd)](_0x84b042(0x1a0),_0x2ea745=>{const _0xcaedaa=_0x84b042;this[_0xcaedaa(0x1a3)](_0xcaedaa(0x1a0),{'imageSrc':_0x2ea745[_0xcaedaa(0x18b)][_0xcaedaa(0x1bc)]});}),_0x3eeead[_0x84b042(0x1bd)](_0x84b042(0x1a6),()=>{const _0x280461=_0x84b042;this[_0x280461(0x1a3)](_0x280461(0x1a6));});}[_0x507677(0x18e)](){const _0x2f5b54=_0x507677;this[_0x2f5b54(0x1b9)]['on'](_0x2f5b54(0x1a7),()=>{const _0x3b190f=_0x2f5b54;this[_0x3b190f(0x1a3)](_0x3b190f(0x1a7));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x489e(_0x582568,_0x3f6b4c){const _0x52cdbb=_0x52cd();return _0x489e=function(_0x489e5e,_0x4dbbbc){_0x489e5e=_0x489e5e-0x9f;let _0x488e38=_0x52cdbb[_0x489e5e];return _0x488e38;},_0x489e(_0x582568,_0x3f6b4c);}const _0x4da2ee=_0x489e;(function(_0x47a854,_0x2f19f2){const _0x31553f=_0x489e,_0x43954e=_0x47a854();while(!![]){try{const _0x4dd70b=-parseInt(_0x31553f(0xae))/0x1+parseInt(_0x31553f(0xb7))/0x2+-parseInt(_0x31553f(0xab))/0x3+parseInt(_0x31553f(0xa0))/0x4*(parseInt(_0x31553f(0x9f))/0x5)+-parseInt(_0x31553f(0xb4))/0x6*(-parseInt(_0x31553f(0xb6))/0x7)+-parseInt(_0x31553f(0xaa))/0x8*(-parseInt(_0x31553f(0xa4))/0x9)+-parseInt(_0x31553f(0xb9))/0xa;if(_0x4dd70b===_0x2f19f2)break;else _0x43954e['push'](_0x43954e['shift']());}catch(_0x574a40){_0x43954e['push'](_0x43954e['shift']());}}}(_0x52cd,0xe2e94));import{Command as _0x47566e}from'ckeditor5/src/core.js';function _0x52cd(){const _0x22b0b1=['4228572CpnLAl','execute','selection','33468oMbQnx','document','uploadcare.allowExternalImagesEditing','element','model','refresh','5658834IMEjeU','set','7hYDMVQ','1839980VbCSQa','isEnabled','12110690UEZrxU','bind','plugins','config','imageBlock','requires','31585EJbbPm','888ylOYOi','imageEditController','isActive','getSelectedElement','1430937IFGjbt','editor','imageInline','unbind','_isEditable','get','16DzsQeB'];_0x52cd=function(){return _0x22b0b1;};return _0x52cd();}import{Dialog as _0x33db57}from'ckeditor5/src/ui.js';import _0xeeabea from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5effea}from'../utils/editingutils.js';export default class W extends _0x47566e{[_0x4da2ee(0xa1)];static get[_0x4da2ee(0xbe)](){return[_0x33db57];}[_0x4da2ee(0xa8)];constructor(_0x1ed2ee){const _0x352b30=_0x4da2ee;super(_0x1ed2ee),this[_0x352b30(0xa1)]=void 0x0,this[_0x352b30(0xa8)]=_0x5effea(_0x1ed2ee[_0x352b30(0xbc)][_0x352b30(0xa9)](_0x352b30(0xb0))||[]),this[_0x352b30(0xb5)]({'isActive':!0x1});}[_0x4da2ee(0xb3)](){const _0xa7d035=_0x4da2ee,_0x2b0001=this[_0xa7d035(0xa5)][_0xa7d035(0xb2)][_0xa7d035(0xaf)][_0xa7d035(0xad)][_0xa7d035(0xa3)]();this[_0xa7d035(0xb8)]=this[_0xa7d035(0xa8)](_0x2b0001);}[_0x4da2ee(0xac)](){const _0x3315ea=_0x4da2ee;this[_0x3315ea(0xa1)]&&(this[_0x3315ea(0xa7)](_0x3315ea(0xa2)),this[_0x3315ea(0xa1)]=void 0x0);const _0x44828b=this[_0x3315ea(0xa5)][_0x3315ea(0xb2)][_0x3315ea(0xaf)][_0x3315ea(0xad)][_0x3315ea(0xa3)]();_0x44828b&&(_0x44828b['is'](_0x3315ea(0xb1),_0x3315ea(0xbd))||_0x44828b['is'](_0x3315ea(0xb1),_0x3315ea(0xa6)))&&(this[_0x3315ea(0xa1)]=new _0xeeabea(this[_0x3315ea(0xa5)],this[_0x3315ea(0xa5)][_0x3315ea(0xbb)][_0x3315ea(0xa9)](_0x33db57),_0x44828b),this[_0x3315ea(0xba)](_0x3315ea(0xa2))['to'](this[_0x3315ea(0xa1)],_0x3315ea(0xa2)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x490f9e=_0x92fc;function _0x92fc(_0x3faaf6,_0x1fabe2){const _0x651eef=_0x651e();return _0x92fc=function(_0x92fc67,_0x2be192){_0x92fc67=_0x92fc67-0x132;let _0x14d20a=_0x651eef[_0x92fc67];return _0x14d20a;},_0x92fc(_0x3faaf6,_0x1fabe2);}function _0x651e(){const _0xb2d17c=['pluginName','73226tbTvam','commands','386350cNKjaM','186xbxjIm','33GqIVSf','UploadcareImageEditEditing','uploadcareImageReplace','isOfficialPlugin','96341DuZfom','1783935UJAMpC','uploadcareImageEdit','90PoSguS','isPremiumPlugin','ImageUtils','ImageEditing','541740PJXmqd','init','requires','8YhcigH','add','3843KxzGdh','589025SSDOOt'];_0x651e=function(){return _0xb2d17c;};return _0x651e();}(function(_0x44d99d,_0x2e719d){const _0x444d62=_0x92fc,_0x363054=_0x44d99d();while(!![]){try{const _0x26b14a=-parseInt(_0x444d62(0x137))/0x1+-parseInt(_0x444d62(0x13a))/0x2*(-parseInt(_0x444d62(0x134))/0x3)+parseInt(_0x444d62(0x146))/0x4+-parseInt(_0x444d62(0x135))/0x5+parseInt(_0x444d62(0x142))/0x6*(-parseInt(_0x444d62(0x13f))/0x7)+-parseInt(_0x444d62(0x132))/0x8*(-parseInt(_0x444d62(0x140))/0x9)+parseInt(_0x444d62(0x139))/0xa*(parseInt(_0x444d62(0x13b))/0xb);if(_0x26b14a===_0x2e719d)break;else _0x363054['push'](_0x363054['shift']());}catch(_0x5674ec){_0x363054['push'](_0x363054['shift']());}}}(_0x651e,0x29ccc));import{Plugin as _0xa39605}from'ckeditor5/src/core.js';import{Notification as _0x1ea2b7}from'ckeditor5/src/ui.js';import _0x20201d from'./uploadcareimageeditcommand.js';import _0x157b20 from'./uploadcareimagereplacecommand.js';import _0x564114 from'../uploadcareediting.js';export default class g extends _0xa39605{static get[_0x490f9e(0x136)](){const _0x353276=_0x490f9e;return _0x353276(0x13c);}static get[_0x490f9e(0x148)](){const _0x3eefa5=_0x490f9e;return[_0x564114,_0x1ea2b7,_0x3eefa5(0x144),_0x3eefa5(0x145)];}static get[_0x490f9e(0x13e)](){return!0x0;}static get[_0x490f9e(0x143)](){return!0x0;}[_0x490f9e(0x147)](){const _0x4ffb50=_0x490f9e,{editor:_0x58ef1e}=this;_0x58ef1e[_0x4ffb50(0x138)][_0x4ffb50(0x133)](_0x4ffb50(0x141),new _0x20201d(_0x58ef1e)),_0x58ef1e[_0x4ffb50(0x138)][_0x4ffb50(0x133)](_0x4ffb50(0x13d),new _0x157b20(_0x58ef1e));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x585caa}from'ckeditor5/src/core.js';import{ButtonView as _0x37008a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4da821}from'ckeditor5/src/icons.js';import{createElement as _0x2ae1e4}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 _0x585caa{['_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 _0x2313dc=this['editor'];_0x2313dc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7d5eb9=>{const _0x4adddb=_0x2313dc['commands']['get']('uploadcareImageEdit'),_0x389456=new _0x37008a(_0x7d5eb9),t=_0x7d5eb9['t'];return _0x389456['set']({'icon':_0x4da821,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x389456['bind']('isEnabled')['to'](_0x4adddb),_0x389456['bind']('isOn')['to'](_0x4adddb,'isActive'),this['listenTo'](_0x389456,'execute',()=>{_0x2313dc['execute']('uploadcareImageEdit'),_0x2313dc['editing']['view']['focus']();}),_0x389456;}),this['_initConfig']();}['_initConfig'](){const _0x2fb48b=_0x2ae1e4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2fb48b),this['listenTo'](this['editor'],'destroy',()=>{_0x2fb48b['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2a9f(){const _0xc4f9d4=['360251FDsiHw','isEnabled','sizes','1208520AFTNzJ','document','element','44115LYomJB','srcset','execute','model','21OYZvdX','116hnsRjU','1371375ufROCt','getSelectedElement','7581753EePTiP','selection','948456TXyHEj','editor','imageBlock','setAttributes','imageInline','removeAttribute','refresh','344658LtWtyd','change'];_0x2a9f=function(){return _0xc4f9d4;};return _0x2a9f();}function _0x5379(_0x35c19d,_0x473def){const _0x2a9f62=_0x2a9f();return _0x5379=function(_0x53793c,_0x2f00ea){_0x53793c=_0x53793c-0x15a;let _0x8c68c2=_0x2a9f62[_0x53793c];return _0x8c68c2;},_0x5379(_0x35c19d,_0x473def);}const _0x46cbde=_0x5379;(function(_0x2b59f7,_0x4f0d37){const _0x1f7bed=_0x5379,_0x3c0dde=_0x2b59f7();while(!![]){try{const _0x2da8e5=-parseInt(_0x1f7bed(0x169))/0x1+-parseInt(_0x1f7bed(0x167))/0x2+-parseInt(_0x1f7bed(0x15c))/0x3+parseInt(_0x1f7bed(0x15b))/0x4*(parseInt(_0x1f7bed(0x16f))/0x5)+-parseInt(_0x1f7bed(0x160))/0x6+parseInt(_0x1f7bed(0x15a))/0x7*(parseInt(_0x1f7bed(0x16c))/0x8)+parseInt(_0x1f7bed(0x15e))/0x9;if(_0x2da8e5===_0x4f0d37)break;else _0x3c0dde['push'](_0x3c0dde['shift']());}catch(_0x19c8a6){_0x3c0dde['push'](_0x3c0dde['shift']());}}}(_0x2a9f,0x628f2));import{Command as _0x5c40a5}from'ckeditor5/src/core.js';export default class Y extends _0x5c40a5{[_0x46cbde(0x166)](){const _0x1a886a=_0x46cbde,_0x240636=this[_0x1a886a(0x161)][_0x1a886a(0x172)][_0x1a886a(0x16d)][_0x1a886a(0x15f)][_0x1a886a(0x15d)]();this[_0x1a886a(0x16a)]=Boolean(_0x240636&&(_0x240636['is'](_0x1a886a(0x16e),_0x1a886a(0x162))||_0x240636['is'](_0x1a886a(0x16e),_0x1a886a(0x164))));}[_0x46cbde(0x171)](_0x45e730){const _0x5ae9b3=_0x46cbde,_0x4cee33=this[_0x5ae9b3(0x161)][_0x5ae9b3(0x172)][_0x5ae9b3(0x16d)][_0x5ae9b3(0x15f)][_0x5ae9b3(0x15d)]();this[_0x5ae9b3(0x161)][_0x5ae9b3(0x172)][_0x5ae9b3(0x168)](_0x4f3136=>{const _0x201e4f=_0x5ae9b3;_0x4f3136[_0x201e4f(0x163)](_0x45e730,_0x4cee33),_0x4f3136[_0x201e4f(0x165)](_0x201e4f(0x170),_0x4cee33),_0x4f3136[_0x201e4f(0x165)](_0x201e4f(0x16b),_0x4cee33);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ad3c0=_0x2a2c;(function(_0x13129a,_0x201e4f){var _0x56e919=_0x2a2c,_0x3903e3=_0x13129a();while(!![]){try{var _0x467990=parseInt(_0x56e919(0x12b))/0x1*(-parseInt(_0x56e919(0x131))/0x2)+-parseInt(_0x56e919(0x127))/0x3+-parseInt(_0x56e919(0x134))/0x4*(parseInt(_0x56e919(0x128))/0x5)+-parseInt(_0x56e919(0x133))/0x6+-parseInt(_0x56e919(0x12c))/0x7+-parseInt(_0x56e919(0x12d))/0x8*(parseInt(_0x56e919(0x12f))/0x9)+-parseInt(_0x56e919(0x136))/0xa*(-parseInt(_0x56e919(0x132))/0xb);if(_0x467990===_0x201e4f)break;else _0x3903e3['push'](_0x3903e3['shift']());}catch(_0x21e4ad){_0x3903e3['push'](_0x3903e3['shift']());}}}(_0x2b3a,0x21cbe));function _0x2b3a(){var _0xcd84e7=['focusTracker','div','17GhXBpu','1236018Ecyxol','637944CPXkGl','bindTemplate','9fRqtrM','createCollection','23608jyLuUr','2491214tKfTpF','533322dhlKrW','1828nxQLls','fire','40AIVtKl','getFocusableElement','true','focusCycler','forwardCycle','323403rrUBgz','1245miDBlT'];_0x2b3a=function(){return _0xcd84e7;};return _0x2b3a();}import{FocusTracker as _0x36579a}from'ckeditor5/src/utils.js';import{View as _0x5882df,FocusCycler as _0x5dbd52}from'ckeditor5/src/ui.js';function _0x2a2c(_0x439cbf,_0x2a3882){var _0x2b3a66=_0x2b3a();return _0x2a2c=function(_0x2a2c8c,_0x396ce3){_0x2a2c8c=_0x2a2c8c-0x126;var _0x172789=_0x2b3a66[_0x2a2c8c];return _0x172789;},_0x2a2c(_0x439cbf,_0x2a3882);}import'../../theme/uploadcare-form.css';export default class q extends _0x5882df{[_0x5ad3c0(0x129)];[_0x5ad3c0(0x139)];constructor(_0x2d96ff){var _0xcd7999=_0x5ad3c0;super(_0x2d96ff),this[_0xcd7999(0x129)]=new _0x36579a(),this[_0xcd7999(0x139)]=new _0x5dbd52({'focusables':this[_0xcd7999(0x130)](),'focusTracker':this[_0xcd7999(0x129)]});}[_0x5ad3c0(0x137)](){var _0x324e30=_0x5ad3c0;return{'tag':_0x324e30(0x12a),'attributes':{'aria-hidden':_0x324e30(0x138),'tabindex':'0'},'on':{'focus':this[_0x324e30(0x12e)]['to'](()=>{var _0x3e2a23=_0x324e30;this[_0x3e2a23(0x139)][_0x3e2a23(0x135)](_0x3e2a23(0x126));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x515a(_0x2ffbd7,_0x24e2bd){const _0x5eae7c=_0x5eae();return _0x515a=function(_0x515aba,_0x2af98c){_0x515aba=_0x515aba-0x160;let _0x168cdc=_0x5eae7c[_0x515aba];return _0x168cdc;},_0x515a(_0x2ffbd7,_0x24e2bd);}(function(_0x28791a,_0x39053e){const _0x1a8d6e=_0x515a,_0x455330=_0x28791a();while(!![]){try{const _0xa1a276=parseInt(_0x1a8d6e(0x160))/0x1*(-parseInt(_0x1a8d6e(0x185))/0x2)+-parseInt(_0x1a8d6e(0x179))/0x3*(-parseInt(_0x1a8d6e(0x170))/0x4)+parseInt(_0x1a8d6e(0x16f))/0x5+parseInt(_0x1a8d6e(0x18c))/0x6*(parseInt(_0x1a8d6e(0x161))/0x7)+-parseInt(_0x1a8d6e(0x18d))/0x8+-parseInt(_0x1a8d6e(0x175))/0x9+parseInt(_0x1a8d6e(0x17c))/0xa*(parseInt(_0x1a8d6e(0x163))/0xb);if(_0xa1a276===_0x39053e)break;else _0x455330['push'](_0x455330['shift']());}catch(_0x5b5680){_0x455330['push'](_0x455330['shift']());}}}(_0x5eae,0x42f37));import{global as _0x4e4a3b,DomEmitterMixin as _0x49ea0a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3e6d59){const _0x34885d=_0x515a,_0x334d4c=R(_0x3e6d59);return _0x3786bd=>!(!_0x3786bd||!_0x3786bd['is'](_0x34885d(0x184),_0x34885d(0x176))&&!_0x3786bd['is'](_0x34885d(0x184),_0x34885d(0x18e)))&&(!!_0x3786bd[_0x34885d(0x16e)](_0x34885d(0x181))||!!_0x3786bd[_0x34885d(0x16e)](_0x34885d(0x169))&&_0x334d4c(_0x3786bd[_0x34885d(0x190)](_0x34885d(0x169))));}export function getImageUrls(_0x4126da,_0x24c165){const _0x19e9ff=_0x515a,_0x492516=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x19e9ff(0x182)](_0x4d894a=>_0x4d894a<=_0x24c165)[_0x19e9ff(0x196)](_0x4595ae=>_0x4126da[_0x19e9ff(0x193)](/\/$/,'')+_0x19e9ff(0x192)+_0x4595ae+_0x19e9ff(0x177)+_0x4595ae+'w');return{'imageFallbackUrl':_0x4126da,'imageSources':[{'srcset':_0x492516[_0x19e9ff(0x17f)](',\x20'),'sizes':_0x19e9ff(0x180)+_0x24c165+_0x19e9ff(0x18b)+_0x24c165+'px','type':_0x19e9ff(0x172)}]};}export function getImageDimension(_0x239bf2,_0x3bfd87,_0x4c99a6){const _0x2fa01a=_0x515a,_0x181c7a=_0x239bf2[_0x2fa01a(0x187)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x181c7a?parseInt(_0x181c7a[0x1],0xa):_0x3bfd87,'height':_0x181c7a?parseInt(_0x181c7a[0x2],0xa):_0x4c99a6};}export function showImageProcessingIndicator(_0x49fd46,_0x32f81a){const _0x3482da=_0x515a,_0x549760=Object[_0x3482da(0x166)](_0x49ea0a),_0x1de8ca=_0x49fd46[_0x3482da(0x16b)][_0x3482da(0x18f)](_0x3482da(0x171)),_0x72538b=_0x49fd46[_0x3482da(0x164)][_0x3482da(0x189)][_0x3482da(0x198)](_0x32f81a),_0x460fec=_0x1de8ca[_0x3482da(0x173)](_0x72538b),_0x2f19f3=_0x49fd46[_0x3482da(0x164)][_0x3482da(0x19a)][_0x3482da(0x162)][_0x3482da(0x191)](_0x460fec),_0x45451d=_0x32f81a[_0x3482da(0x190)](_0x3482da(0x17e)),_0x17eab6=_0x32f81a[_0x3482da(0x190)](_0x3482da(0x168)),_0x45181c=_0x3482da(0x194);_0x49fd46[_0x3482da(0x164)][_0x3482da(0x19a)][_0x3482da(0x178)](_0x36138b=>{const _0x2de5cf=_0x3482da;_0x36138b[_0x2de5cf(0x197)](_0x45181c,_0x72538b),_0x36138b[_0x2de5cf(0x16d)](_0x2de5cf(0x16a),_0x45451d+'/'+_0x17eab6,_0x460fec);}),_0x549760[_0x3482da(0x188)](_0x2f19f3,_0x3482da(0x199),()=>{const _0x515c15=_0x3482da;_0x549760[_0x515c15(0x186)](_0x2f19f3,_0x515c15(0x199)),_0x49fd46[_0x515c15(0x164)][_0x515c15(0x19a)][_0x515c15(0x178)](_0x5e2ae5=>{const _0x590bff=_0x515c15;_0x5e2ae5[_0x590bff(0x17b)](_0x45181c,_0x72538b),_0x5e2ae5[_0x590bff(0x183)](_0x590bff(0x16a),_0x460fec);});});}function _0x5eae(){const _0x4749dd=['create','baseURI','height','src','aspect-ratio','plugins','some','setStyle','hasAttribute','1011380TXZnpN','16UmqOol','ImageUtils','image/webp','findViewImgElement','location','916911nIpFou','imageBlock','x/\x20','change','68667zGttsP','function','removeClass','5952610FlldOa','window','width','join','(max-width:\x20','uploadcareImageId','filter','removeStyle','element','71434PtvXrd','stopListening','match','listenTo','mapper','document','px)\x20100vw,\x20','498pWRJZF','4380352PEMMOd','imageInline','get','getAttribute','viewToDom','/-/resize/','replace','image-processing','origin','map','addClass','toViewElement','load','view','8pXOrmp','27013WqhcjZ','domConverter','11KCFFKs','editing','isArray'];_0x5eae=function(){return _0x4749dd;};return _0x5eae();}function R(_0x400884){const _0x3e5e1d=_0x515a;if(Array[_0x3e5e1d(0x165)](_0x400884)){const _0x1d952d=_0x400884[_0x3e5e1d(0x196)](R);return _0x3f4306=>_0x1d952d[_0x3e5e1d(0x16c)](_0xb320cc=>_0xb320cc(_0x3f4306));}if(_0x3e5e1d(0x195)==_0x400884){const _0x25bf6d=_0x4e4a3b[_0x3e5e1d(0x17d)][_0x3e5e1d(0x174)][_0x3e5e1d(0x195)];return _0x364ef3=>new URL(_0x364ef3,_0x4e4a3b[_0x3e5e1d(0x18a)][_0x3e5e1d(0x167)])[_0x3e5e1d(0x195)]==_0x25bf6d;}return _0x3e5e1d(0x17a)==typeof _0x400884?_0x400884:_0x400884 instanceof RegExp?_0x3c08aa=>!(!_0x3c08aa[_0x3e5e1d(0x187)](_0x400884)&&!_0x3c08aa[_0x3e5e1d(0x193)](/^https?:\/\//,'')[_0x3e5e1d(0x187)](_0x400884)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37e16e,_0x186d54){var _0x326d6b=_0x11cc,_0x13e7b8=_0x37e16e();while(!![]){try{var _0x4bc04d=-parseInt(_0x326d6b(0x1d8))/0x1*(-parseInt(_0x326d6b(0x1d3))/0x2)+-parseInt(_0x326d6b(0x1de))/0x3*(-parseInt(_0x326d6b(0x1da))/0x4)+-parseInt(_0x326d6b(0x1d4))/0x5*(parseInt(_0x326d6b(0x1d5))/0x6)+parseInt(_0x326d6b(0x1db))/0x7*(-parseInt(_0x326d6b(0x1d6))/0x8)+parseInt(_0x326d6b(0x1dd))/0x9*(-parseInt(_0x326d6b(0x1df))/0xa)+parseInt(_0x326d6b(0x1e0))/0xb+parseInt(_0x326d6b(0x1d7))/0xc;if(_0x4bc04d===_0x186d54)break;else _0x13e7b8['push'](_0x13e7b8['shift']());}catch(_0x22c1c4){_0x13e7b8['push'](_0x13e7b8['shift']());}}}(_0x26f6,0x1b6b0));import{getAncestors as _0x2f99b0}from'ckeditor5/src/utils.js';export function isAncestor(_0x4f1803,_0x2bb307){var _0x5a6d9b=_0x11cc;return _0x2f99b0(_0x4f1803[_0x5a6d9b(0x1d9)])[_0x5a6d9b(0x1dc)](_0x2bb307);}function _0x11cc(_0x2290d3,_0x9dbb73){var _0x26f61a=_0x26f6();return _0x11cc=function(_0x11cc2f,_0x21b106){_0x11cc2f=_0x11cc2f-0x1d3;var _0x20c8d6=_0x26f61a[_0x11cc2f];return _0x20c8d6;},_0x11cc(_0x2290d3,_0x9dbb73);}function _0x26f6(){var _0x2236ef=['1714CRlnan','65dxwRay','68550VPjDCS','1687720MfwPta','3955668EKVPuU','17QhJzHP','target','1280QUdage','7OhrcNm','includes','1143QPGFmK','69QmFWot','5540OOXrfR','2096424SikgGR'];_0x26f6=function(){return _0x2236ef;};return _0x26f6();}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x91e829=_0xd7d8;(function(_0x3886f6,_0x278e91){var _0x2d1e73=_0xd7d8,_0x14cc9e=_0x3886f6();while(!![]){try{var _0x340274=parseInt(_0x2d1e73(0x1f5))/0x1+-parseInt(_0x2d1e73(0x1fd))/0x2+parseInt(_0x2d1e73(0x1fa))/0x3+parseInt(_0x2d1e73(0x1f3))/0x4*(parseInt(_0x2d1e73(0x1f8))/0x5)+parseInt(_0x2d1e73(0x1fb))/0x6+-parseInt(_0x2d1e73(0x1f9))/0x7+-parseInt(_0x2d1e73(0x1fc))/0x8*(parseInt(_0x2d1e73(0x1f4))/0x9);if(_0x340274===_0x278e91)break;else _0x14cc9e['push'](_0x14cc9e['shift']());}catch(_0x1e262c){_0x14cc9e['push'](_0x14cc9e['shift']());}}}(_0x1bab,0xb8e19));import{uploadFile as _0x56bcee,info as _0x30ec69}from'@uploadcare/upload-client';function _0xd7d8(_0x14bd48,_0x382fb3){var _0x1bab91=_0x1bab();return _0xd7d8=function(_0xd7d857,_0x158399){_0xd7d857=_0xd7d857-0x1f3;var _0x4e9a25=_0x1bab91[_0xd7d857];return _0x4e9a25;},_0xd7d8(_0x14bd48,_0x382fb3);}function _0x1bab(){var _0x281c94=['getInfo','52104ODIIij','9USjflX','531008Qqhjrq','auto','upload','565HGVIcz','4357388MwdCho','3516504sPHBis','4752420XDAGsr','11822576WMpTlj','2219210yDpxbD'];_0x1bab=function(){return _0x281c94;};return _0x1bab();}export default class C{static[_0x91e829(0x1f7)]({file:_0x401bf3,publicKey:_0x2b4e9c,signal:_0x5bffe8,onProgress:_0x3177e2}){var _0x2bdd80=_0x91e829;return _0x56bcee(_0x401bf3,{'publicKey':_0x2b4e9c,'store':_0x2bdd80(0x1f6),'signal':_0x5bffe8,'onProgress':_0x3177e2});}static[_0x91e829(0x1fe)](_0x38230d,_0xca049a){return _0x30ec69(_0x38230d,_0xca049a);}}
|