ckbox 2.9.0-rc.2 → 2.9.0-rc.4

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.
Files changed (45) hide show
  1. package/README.md +4 -4
  2. package/dist/ckbox.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/styles/ckbox.css +1 -1
  5. package/dist/translations/bg.js +1 -1
  6. package/dist/translations/bn.js +1 -1
  7. package/dist/translations/ca.js +1 -1
  8. package/dist/translations/cs.js +1 -1
  9. package/dist/translations/da.js +1 -1
  10. package/dist/translations/de.js +1 -1
  11. package/dist/translations/el.js +1 -1
  12. package/dist/translations/en.js +1 -1
  13. package/dist/translations/es-la.js +1 -1
  14. package/dist/translations/es-mx.js +1 -1
  15. package/dist/translations/es.js +1 -1
  16. package/dist/translations/et.js +1 -1
  17. package/dist/translations/fi.js +1 -1
  18. package/dist/translations/fr-ca.js +1 -1
  19. package/dist/translations/fr.js +1 -1
  20. package/dist/translations/hi.js +1 -1
  21. package/dist/translations/hu.js +1 -1
  22. package/dist/translations/id.js +1 -1
  23. package/dist/translations/it.js +1 -1
  24. package/dist/translations/ja.js +1 -1
  25. package/dist/translations/ko.js +1 -1
  26. package/dist/translations/lt.js +1 -1
  27. package/dist/translations/mr.js +1 -1
  28. package/dist/translations/ms.js +1 -1
  29. package/dist/translations/nl.js +1 -1
  30. package/dist/translations/no.js +1 -1
  31. package/dist/translations/pl.js +1 -1
  32. package/dist/translations/pt-br.js +1 -1
  33. package/dist/translations/pt.js +1 -1
  34. package/dist/translations/ro.js +1 -1
  35. package/dist/translations/ru.js +1 -1
  36. package/dist/translations/sk.js +1 -1
  37. package/dist/translations/sr.js +1 -1
  38. package/dist/translations/sv.js +1 -1
  39. package/dist/translations/th.js +1 -1
  40. package/dist/translations/tr.js +1 -1
  41. package/dist/translations/uk.js +1 -1
  42. package/dist/translations/vi.js +1 -1
  43. package/dist/translations/zh-tw.js +1 -1
  44. package/dist/translations/zh.js +1 -1
  45. package/package.json +2 -2
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 _0x2ed665=_0x1ba1;(function(_0x4673c0,_0x4cef6b){const _0x3914d5=_0x1ba1,_0x53118c=_0x4673c0();while(!![]){try{const _0x3b1727=parseInt(_0x3914d5(0x9d))/0x1+parseInt(_0x3914d5(0xa9))/0x2*(-parseInt(_0x3914d5(0xa7))/0x3)+parseInt(_0x3914d5(0xb1))/0x4+-parseInt(_0x3914d5(0xa0))/0x5*(parseInt(_0x3914d5(0x9f))/0x6)+parseInt(_0x3914d5(0xb0))/0x7*(parseInt(_0x3914d5(0xae))/0x8)+parseInt(_0x3914d5(0xb2))/0x9*(-parseInt(_0x3914d5(0xa4))/0xa)+parseInt(_0x3914d5(0xb3))/0xb;if(_0x3b1727===_0x4cef6b)break;else _0x53118c['push'](_0x53118c['shift']());}catch(_0x34f847){_0x53118c['push'](_0x53118c['shift']());}}}(_0x1824,0x8b59c));function _0x1824(){const _0x9594a3=['createRoot','3932322vzwyhg','5TSYQaJ','createElement','unmount','onClose','1446310OwupDU','freeze','dialog','1347cxaobm','CKBox','2826civTqs','call','boolean','assets','bind','8gmhGkZ','render','4256427lstUlL','2091008ooFdQW','9UWrjUr','9309982XRoKlD','28060uQIGbF'];_0x1824=function(){return _0x9594a3;};return _0x1824();}import*as _0x4339f5 from'react';export{_0x4339f5 as React};import*as _0x3b0762 from'react-dom/client';import{CKBox as _0x32b732,CKBoxImageEditor,version}from'@ckbox/core';export{version}from'@ckbox/core';const getDialogProps=(_0x21a2f9,_0x104ff1)=>{const _0x26a09c=_0x1ba1,_0x1a5823=_0x21a2f9[_0x26a09c(0xa6)];if(!_0x1a5823)return![];if(typeof _0x1a5823===_0x26a09c(0xab)){const _0x3bd8b0=()=>{_0x104ff1();};return{'open':!![],'onClose':_0x3bd8b0};}const _0x2ab7a0=()=>{const _0x430c67=_0x26a09c;var _0x4d9b83;(_0x4d9b83=_0x1a5823[_0x430c67(0xa3)])===null||_0x4d9b83===void 0x0?void 0x0:_0x4d9b83['call'](_0x1a5823),_0x104ff1();};return{..._0x1a5823,'open':!![],'onClose':_0x2ab7a0};},getAssetsProps=(_0x38a246,_0x24edf8)=>{const _0x5f10ae=_0x1ba1;var _0x5b87d8;const _0x381d6d=(_0x5b87d8=_0x38a246[_0x5f10ae(0xac)])===null||_0x5b87d8===void 0x0?void 0x0:_0x5b87d8['onChoose'];if(!_0x381d6d)return _0x38a246[_0x5f10ae(0xac)];const _0x557a9a=_0x2a5702=>{const _0x12f203=_0x5f10ae;var _0x55c284;_0x381d6d(_0x2a5702),_0x24edf8&&typeof _0x24edf8!=='boolean'&&((_0x55c284=_0x24edf8[_0x12f203(0xa3)])===null||_0x55c284===void 0x0?void 0x0:_0x55c284[_0x12f203(0xaa)](_0x24edf8));};return{..._0x38a246['assets'],'onChoose':_0x557a9a};},mount=(_0x261259,_0x4f18d2)=>{const _0x26283a=_0x1ba1,_0x34cbfe=_0x3b0762[_0x26283a(0x9e)](_0x261259),_0x1cd1b7=_0x34cbfe[_0x26283a(0xa2)][_0x26283a(0xad)](_0x34cbfe),_0x525096=getDialogProps(_0x4f18d2,_0x1cd1b7),_0x912638=getAssetsProps(_0x4f18d2,_0x525096);return _0x34cbfe[_0x26283a(0xaf)](_0x4339f5['createElement'](_0x32b732,{..._0x4f18d2,'assets':_0x912638,'dialog':_0x525096})),{'unmount':_0x1cd1b7};},mountImageEditor=(_0x4a1416,_0xe75c4e)=>{const _0x2672fe=_0x1ba1,_0x319722=_0x3b0762['createRoot'](_0x4a1416),_0x1f61d6=_0x319722[_0x2672fe(0xa2)][_0x2672fe(0xad)](_0x319722),_0x1f582d=()=>{const _0x1eaacc=_0x2672fe;var _0x512e55;(_0x512e55=_0xe75c4e[_0x1eaacc(0xa3)])===null||_0x512e55===void 0x0?void 0x0:_0x512e55[_0x1eaacc(0xaa)](_0xe75c4e),_0x1f61d6();};return _0x319722['render'](_0x4339f5[_0x2672fe(0xa1)](CKBoxImageEditor,{..._0xe75c4e,'open':!![],'onClose':_0x1f582d})),{'unmount':_0x1f61d6};};var CKBox=Object[_0x2ed665(0xa5)]({'__proto__':null,'React':_0x4339f5,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x10581c=_0x2ed665,_0x5b5785=globalThis;!_0x5b5785[_0x10581c(0xa8)]&&(_0x5b5785[_0x10581c(0xa8)]=CKBox);}());function _0x1ba1(_0x1da568,_0x11a9ee){const _0x1824df=_0x1824();return _0x1ba1=function(_0x1ba104,_0x1b69ab){_0x1ba104=_0x1ba104-0x9d;let _0x3b30a2=_0x1824df[_0x1ba104];return _0x3b30a2;},_0x1ba1(_0x1da568,_0x11a9ee);}export{mount,mountImageEditor};
4
+ (function(_0x47efa9,_0x149446){const _0x1eac34=_0x1528,_0x3f41be=_0x47efa9();while(!![]){try{const _0x285fd3=parseInt(_0x1eac34(0x12e))/0x1*(-parseInt(_0x1eac34(0x127))/0x2)+-parseInt(_0x1eac34(0x128))/0x3+parseInt(_0x1eac34(0x12a))/0x4*(parseInt(_0x1eac34(0x11a))/0x5)+-parseInt(_0x1eac34(0x124))/0x6*(-parseInt(_0x1eac34(0x122))/0x7)+-parseInt(_0x1eac34(0x11b))/0x8+parseInt(_0x1eac34(0x120))/0x9+-parseInt(_0x1eac34(0x125))/0xa;if(_0x285fd3===_0x149446)break;else _0x3f41be['push'](_0x3f41be['shift']());}catch(_0x109ee8){_0x3f41be['push'](_0x3f41be['shift']());}}}(_0xa8fe,0x959c2));import*as _0x337587 from'react';export{_0x337587 as React};function _0x1528(_0x4c183e,_0x4bd1f1){const _0xa8fea4=_0xa8fe();return _0x1528=function(_0x152841,_0x205a47){_0x152841=_0x152841-0x119;let _0x4cbd07=_0xa8fea4[_0x152841];return _0x4cbd07;},_0x1528(_0x4c183e,_0x4bd1f1);}import*as _0x210bd2 from'react-dom/client';import{CKBox as _0x38f640,CKBoxImageEditor,version}from'@ckbox/core';function _0xa8fe(){const _0x556415=['bind','3370QZpfyE','assets','51385oIqUpL','6285944CWTSDa','boolean','onChoose','dialog','render','9523701kmGNtw','unmount','25319bmaxGS','createRoot','1746FbnEJN','5271130PqDvQm','call','118Fwudvi','3257661plkvsy','createElement','428aBDYOY','CKBox','onClose'];_0xa8fe=function(){return _0x556415;};return _0xa8fe();}export{version}from'@ckbox/core';const getDialogProps=(_0x121d37,_0x248af2)=>{const _0x26e201=_0x1528,_0x297ea1=_0x121d37[_0x26e201(0x11e)];if(!_0x297ea1)return![];if(typeof _0x297ea1===_0x26e201(0x11c)){const _0x101427=()=>{_0x248af2();};return{'open':!![],'onClose':_0x101427};}const _0x41778d=()=>{const _0x429161=_0x26e201;var _0x3217d5;(_0x3217d5=_0x297ea1['onClose'])===null||_0x3217d5===void 0x0?void 0x0:_0x3217d5[_0x429161(0x126)](_0x297ea1),_0x248af2();};return{..._0x297ea1,'open':!![],'onClose':_0x41778d};},getAssetsProps=(_0x405c63,_0x28e691)=>{const _0x5866e1=_0x1528;var _0x728ad0;const _0x593586=(_0x728ad0=_0x405c63['assets'])===null||_0x728ad0===void 0x0?void 0x0:_0x728ad0[_0x5866e1(0x11d)];if(!_0x593586)return _0x405c63[_0x5866e1(0x119)];const _0x48d8ac=_0xc7e357=>{const _0x2c3060=_0x5866e1;var _0x57d1cb;_0x593586(_0xc7e357),_0x28e691&&typeof _0x28e691!==_0x2c3060(0x11c)&&((_0x57d1cb=_0x28e691['onClose'])===null||_0x57d1cb===void 0x0?void 0x0:_0x57d1cb[_0x2c3060(0x126)](_0x28e691));};return{..._0x405c63['assets'],'onChoose':_0x48d8ac};},mount=(_0x493646,_0x311919)=>{const _0x371b45=_0x1528,_0x59d9ec=_0x210bd2[_0x371b45(0x123)](_0x493646),_0xfc083c=_0x59d9ec[_0x371b45(0x121)][_0x371b45(0x12d)](_0x59d9ec),_0x45c54b=getDialogProps(_0x311919,_0xfc083c),_0x1ff2b4=getAssetsProps(_0x311919,_0x45c54b);return _0x59d9ec[_0x371b45(0x11f)](_0x337587[_0x371b45(0x129)](_0x38f640,{..._0x311919,'assets':_0x1ff2b4,'dialog':_0x45c54b})),{'unmount':_0xfc083c};},mountImageEditor=(_0x97b388,_0x3d1dba)=>{const _0x232524=_0x1528,_0x2593b2=_0x210bd2['createRoot'](_0x97b388),_0x199d6e=_0x2593b2[_0x232524(0x121)][_0x232524(0x12d)](_0x2593b2),_0x208043=()=>{const _0xa90013=_0x232524;var _0xcbab75;(_0xcbab75=_0x3d1dba[_0xa90013(0x12c)])===null||_0xcbab75===void 0x0?void 0x0:_0xcbab75[_0xa90013(0x126)](_0x3d1dba),_0x199d6e();};return _0x2593b2[_0x232524(0x11f)](_0x337587['createElement'](CKBoxImageEditor,{..._0x3d1dba,'open':!![],'onClose':_0x208043})),{'unmount':_0x199d6e};};var CKBox=Object['freeze']({'__proto__':null,'React':_0x337587,'mount':mount,'mountImageEditor':mountImageEditor,'version':version});(function(){const _0x498e56=_0x1528,_0x36cf70=globalThis;!_0x36cf70[_0x498e56(0x12b)]&&(_0x36cf70[_0x498e56(0x12b)]=CKBox);}());export{mount,mountImageEditor};