ckbox 2.9.0 → 2.9.1

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x21b0a6=_0x3bbd;(function(_0x2e7617,_0x240061){const _0x560d95=_0x3bbd,_0x2bef83=_0x2e7617();while(!![]){try{const _0x8a3a77=parseInt(_0x560d95(0x1e4))/0x1+parseInt(_0x560d95(0x1d3))/0x2+-parseInt(_0x560d95(0x1dd))/0x3*(parseInt(_0x560d95(0x1e2))/0x4)+-parseInt(_0x560d95(0x1d8))/0x5*(parseInt(_0x560d95(0x1d5))/0x6)+parseInt(_0x560d95(0x1de))/0x7+parseInt(_0x560d95(0x1dc))/0x8+parseInt(_0x560d95(0x1e6))/0x9;if(_0x8a3a77===_0x240061)break;else _0x2bef83['push'](_0x2bef83['shift']());}catch(_0xf6872f){_0x2bef83['push'](_0x2bef83['shift']());}}}(_0x3d1c,0x66966));import*as _0x5512ee from'react';export{_0x5512ee as React};function _0x3d1c(){const _0x156f68=['createRoot','677108FJkRkg','boolean','2830581ybgiss','onClose','createElement','106558bFssuS','bind','6tALFae','assets','onChoose','3817275xewmUA','dialog','unmount','render','696440WMrqEF','93Fyvikt','3912251fDiYvv','freeze','CKBox','call','65444skfwOi'];_0x3d1c=function(){return _0x156f68;};return _0x3d1c();}import*as _0x106b99 from'react-dom/client';import{CKBox as _0x4a7068,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x3cb599,_0x29edde)=>{const _0x541d69=_0x3bbd,_0x53d462=_0x3cb599[_0x541d69(0x1d9)];if(!_0x53d462)return![];if(typeof _0x53d462===_0x541d69(0x1e5)){const _0x568515=()=>{_0x29edde();};return{'open':!![],'onClose':_0x568515};}const _0x292709=()=>{const _0x51d5b0=_0x541d69;var _0x52fded;(_0x52fded=_0x53d462[_0x51d5b0(0x1e7)])===null||_0x52fded===void 0x0?void 0x0:_0x52fded[_0x51d5b0(0x1e1)](_0x53d462),_0x29edde();};return{..._0x53d462,'open':!![],'onClose':_0x292709};},getAssetsProps=(_0x38426f,_0x1a0a41)=>{const _0x37708d=_0x3bbd;var _0x588e08;const _0x2efd72=(_0x588e08=_0x38426f[_0x37708d(0x1d6)])===null||_0x588e08===void 0x0?void 0x0:_0x588e08[_0x37708d(0x1d7)];if(!_0x2efd72)return _0x38426f[_0x37708d(0x1d6)];const _0x561e44=_0x164f12=>{const _0x2dad4f=_0x37708d;var _0x496294;_0x2efd72(_0x164f12),_0x1a0a41&&typeof _0x1a0a41!==_0x2dad4f(0x1e5)&&((_0x496294=_0x1a0a41[_0x2dad4f(0x1e7)])===null||_0x496294===void 0x0?void 0x0:_0x496294[_0x2dad4f(0x1e1)](_0x1a0a41));};return{..._0x38426f[_0x37708d(0x1d6)],'onChoose':_0x561e44};},mount=(_0x3460af,_0x315f79)=>{const _0x40b4f8=_0x3bbd,_0x405ea0=_0x106b99['createRoot'](_0x3460af),_0x3b8b54=_0x405ea0[_0x40b4f8(0x1da)][_0x40b4f8(0x1d4)](_0x405ea0),_0x368498=getDialogProps(_0x315f79,_0x3b8b54),_0x2a4043=getAssetsProps(_0x315f79,_0x368498);return _0x405ea0[_0x40b4f8(0x1db)](_0x5512ee[_0x40b4f8(0x1e8)](_0x4a7068,{..._0x315f79,'assets':_0x2a4043,'dialog':_0x368498})),{'unmount':_0x3b8b54};},mountImageEditor=(_0x50a751,_0x90949d)=>{const _0x4967b6=_0x3bbd,_0x24eb35=_0x106b99[_0x4967b6(0x1e3)](_0x50a751),_0x5948fd=_0x24eb35['unmount']['bind'](_0x24eb35),_0x330393=()=>{const _0x41ce36=_0x4967b6;var _0x3c311b;(_0x3c311b=_0x90949d['onClose'])===null||_0x3c311b===void 0x0?void 0x0:_0x3c311b[_0x41ce36(0x1e1)](_0x90949d),_0x5948fd();};return _0x24eb35['render'](_0x5512ee['createElement'](CKBoxImageEditor,{..._0x90949d,'open':!![],'onClose':_0x330393})),{'unmount':_0x5948fd};};function _0x3bbd(_0x1a2b58,_0x252b9d){const _0x3d1c83=_0x3d1c();return _0x3bbd=function(_0x3bbdfd,_0x5e766c){_0x3bbdfd=_0x3bbdfd-0x1d3;let _0x5e7016=_0x3d1c83[_0x3bbdfd];return _0x5e7016;},_0x3bbd(_0x1a2b58,_0x252b9d);}var CKBox=Object[_0x21b0a6(0x1df)]({'__proto__':null,'React':_0x5512ee,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x2efe37=_0x21b0a6,_0x18e073=globalThis;!_0x18e073[_0x2efe37(0x1e0)]&&(_0x18e073[_0x2efe37(0x1e0)]=CKBox);}());export{mount,mountImageEditor};
4
+ const _0x5bc96d=_0x577b;(function(_0x2a22c4,_0x5dccba){const _0x1212d1=_0x577b,_0x5af4c9=_0x2a22c4();while(!![]){try{const _0xd11ebb=parseInt(_0x1212d1(0x1fc))/0x1*(-parseInt(_0x1212d1(0x1ff))/0x2)+parseInt(_0x1212d1(0x1ee))/0x3*(-parseInt(_0x1212d1(0x1f4))/0x4)+parseInt(_0x1212d1(0x1ea))/0x5+parseInt(_0x1212d1(0x1f5))/0x6*(parseInt(_0x1212d1(0x1eb))/0x7)+-parseInt(_0x1212d1(0x1f3))/0x8*(-parseInt(_0x1212d1(0x1ef))/0x9)+parseInt(_0x1212d1(0x1fe))/0xa+-parseInt(_0x1212d1(0x1f8))/0xb;if(_0xd11ebb===_0x5dccba)break;else _0x5af4c9['push'](_0x5af4c9['shift']());}catch(_0x4ad574){_0x5af4c9['push'](_0x5af4c9['shift']());}}}(_0x2d73,0xd412a));import*as _0x5b1dd5 from'react';function _0x2d73(){const _0x3326b1=['render','boolean','72NBpjLy','9YHGcEA','unmount','assets','CKBox','13824392kSjcqp','253884jRKxQn','853950QSvMub','onChoose','call','6687945yHEscL','onClose','bind','freeze','975809RoEKPB','createElement','2251570KBagXm','2oGCXYn','createRoot','2284885eJBcIJ','77yswlmt'];_0x2d73=function(){return _0x3326b1;};return _0x2d73();}export{_0x5b1dd5 as React};import*as _0x35d94e from'react-dom/client';function _0x577b(_0x1616d5,_0x520ff6){const _0x2d73a4=_0x2d73();return _0x577b=function(_0x577b81,_0x57b669){_0x577b81=_0x577b81-0x1ea;let _0x47745f=_0x2d73a4[_0x577b81];return _0x47745f;},_0x577b(_0x1616d5,_0x520ff6);}import{CKBox as _0x121637,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x235e5a,_0x1cc1ab)=>{const _0x69c342=_0x235e5a['dialog'];if(!_0x69c342)return![];if(typeof _0x69c342==='boolean'){const _0x555798=()=>{_0x1cc1ab();};return{'open':!![],'onClose':_0x555798};}const _0x965dd7=()=>{const _0x552f81=_0x577b;var _0x592072;(_0x592072=_0x69c342[_0x552f81(0x1f9)])===null||_0x592072===void 0x0?void 0x0:_0x592072[_0x552f81(0x1f7)](_0x69c342),_0x1cc1ab();};return{..._0x69c342,'open':!![],'onClose':_0x965dd7};},getAssetsProps=(_0x5b7166,_0x15d5a4)=>{const _0xefeda8=_0x577b;var _0x37a334;const _0x3f473f=(_0x37a334=_0x5b7166[_0xefeda8(0x1f1)])===null||_0x37a334===void 0x0?void 0x0:_0x37a334[_0xefeda8(0x1f6)];if(!_0x3f473f)return _0x5b7166[_0xefeda8(0x1f1)];const _0xa1881a=_0x4eff1f=>{const _0x18a99d=_0xefeda8;var _0x208701;_0x3f473f(_0x4eff1f),_0x15d5a4&&typeof _0x15d5a4!==_0x18a99d(0x1ed)&&((_0x208701=_0x15d5a4[_0x18a99d(0x1f9)])===null||_0x208701===void 0x0?void 0x0:_0x208701['call'](_0x15d5a4));};return{..._0x5b7166['assets'],'onChoose':_0xa1881a};},mount=(_0x29bac8,_0x1711fa)=>{const _0x449312=_0x577b,_0x238d26=_0x35d94e[_0x449312(0x200)](_0x29bac8),_0x32b824=_0x238d26[_0x449312(0x1f0)][_0x449312(0x1fa)](_0x238d26),_0x40e7cf=getDialogProps(_0x1711fa,_0x32b824),_0x1566ef=getAssetsProps(_0x1711fa,_0x40e7cf);return _0x238d26[_0x449312(0x1ec)](_0x5b1dd5['createElement'](_0x121637,{..._0x1711fa,'assets':_0x1566ef,'dialog':_0x40e7cf})),{'unmount':_0x32b824};},mountImageEditor=(_0xa688b0,_0x259e90)=>{const _0x1e3778=_0x577b,_0x441956=_0x35d94e['createRoot'](_0xa688b0),_0x4d676a=_0x441956['unmount'][_0x1e3778(0x1fa)](_0x441956),_0x1d1217=()=>{const _0x24dc1f=_0x1e3778;var _0x51b66f;(_0x51b66f=_0x259e90[_0x24dc1f(0x1f9)])===null||_0x51b66f===void 0x0?void 0x0:_0x51b66f[_0x24dc1f(0x1f7)](_0x259e90),_0x4d676a();};return _0x441956[_0x1e3778(0x1ec)](_0x5b1dd5[_0x1e3778(0x1fd)](CKBoxImageEditor,{..._0x259e90,'open':!![],'onClose':_0x1d1217})),{'unmount':_0x4d676a};};var CKBox=Object[_0x5bc96d(0x1fb)]({'__proto__':null,'React':_0x5b1dd5,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x2b41fb=_0x5bc96d,_0x39467a=globalThis;!_0x39467a[_0x2b41fb(0x1f2)]&&(_0x39467a['CKBox']=CKBox);}());export{mount,mountImageEditor};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "ckbox",
25
- "version": "2.9.0",
25
+ "version": "2.9.1",
26
26
  "description": "Main CKBox package",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",
@@ -32,6 +32,6 @@
32
32
  "react": "^19.1.0",
33
33
  "react-dom": "^19.1.0",
34
34
  "tslib": "^2.8.1",
35
- "@ckbox/core": "2.9.0"
35
+ "@ckbox/core": "2.9.1"
36
36
  }
37
37
  }