@ckeditor/ckeditor5-uploadcare 47.2.0-alpha.7 → 47.3.0-alpha.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.
Files changed (174) hide show
  1. package/LICENSE.md +6 -6
  2. package/build/uploadcare.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.js +1 -1
  157. package/src/uploadcareediting.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x245c20=_0x2744;(function(_0x7f2866,_0x5625a6){const _0x23cb74=_0x2744,_0xe15004=_0x7f2866();while(!![]){try{const _0x46e6ef=-parseInt(_0x23cb74(0xd5))/0x1*(parseInt(_0x23cb74(0xca))/0x2)+-parseInt(_0x23cb74(0x9e))/0x3+-parseInt(_0x23cb74(0xbd))/0x4*(-parseInt(_0x23cb74(0xc5))/0x5)+parseInt(_0x23cb74(0xc9))/0x6*(-parseInt(_0x23cb74(0xc1))/0x7)+parseInt(_0x23cb74(0xdd))/0x8*(parseInt(_0x23cb74(0x9c))/0x9)+parseInt(_0x23cb74(0xbc))/0xa+-parseInt(_0x23cb74(0xa0))/0xb*(-parseInt(_0x23cb74(0xb3))/0xc);if(_0x46e6ef===_0x5625a6)break;else _0xe15004['push'](_0xe15004['shift']());}catch(_0x4480f2){_0xe15004['push'](_0xe15004['shift']());}}}(_0x29a7,0xe16a3));import{Plugin as _0xab86b}from'ckeditor5/src/core.js';import{Dialog as _0x3896bb}from'ckeditor5/src/ui.js';function _0x2744(_0x1b5c7e,_0x2ba5c8){const _0x29a72b=_0x29a7();return _0x2744=function(_0x274429,_0x4642bd){_0x274429=_0x274429-0x97;let _0x42d158=_0x29a72b[_0x274429];return _0x42d158;},_0x2744(_0x1b5c7e,_0x2ba5c8);}import{createElement as _0x5ec7f2,global as _0x4da7eb,uid as _0xb2b0}from'ckeditor5/src/utils.js';function _0x29a7(){const _0xb818f7=['_initConfig','closeMax','get','506104pPeEtE','render','map','body','_initImageProcessingIndicator','getSelectedElement','conversion','querySelector','uc-config','_initConversion','input[uploadcare-file-input]','for','iconHrefResolver','view','_ctxElement','uploadcare','remove','replaceImageSource','uploadcareImageId','model','configElement','schema','126BfqqQy','appendChild','3018030cNagJF','insertImage','8304659lsJDYh','downcast','uploadcareImageReplace','init','attributeToAttribute','_configElement','imageInline','isPremiumPlugin','_initCtx','_initSchema','removeAttribute','getAttribute','join','isOfficialPlugin','editing','once','uploadcare.pubkey','selection','isRegistered','12LfiFRe','add','true','destroy','data-uc-image-id','config','PictureEditing','uc-upload-ctx-provider','ctxElement','5195770rtZYHo','3462136pnkkyN','elementToAttribute','afterInit','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','2891RKiYJD','ucContextId','uploader-','pluginName','10hECBAT','requires','href','locale','11814yJpouV','894QpoYjk','document','commands','UploadcareEditing','upcast','execute','contentLanguage','#uc-icon-arrow-down','fromCharCode','cleanupImage','imageBlock','2570UJauJf','editor','uploadcare.uploader','extend','listenTo'];_0x29a7=function(){return _0xb818f7;};return _0x29a7();}import{UploadcareCommand as _0x1b4a0a}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x54acf5}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2fb0f7}from'./utils/editingutils.js';export class UploadcareEditing extends _0xab86b{[_0x245c20(0xa5)]=null;[_0x245c20(0xeb)]=null;static get[_0x245c20(0xc4)](){const _0x18470d=_0x245c20;return _0x18470d(0xcd);}static get[_0x245c20(0xc6)](){const _0x1b6285=_0x245c20;return[_0x1b6285(0xb9),_0x54acf5,_0x3896bb];}static get[_0x245c20(0xad)](){return!0x0;}static get[_0x245c20(0xa7)](){return!0x0;}[_0x245c20(0xc2)];get[_0x245c20(0x9a)](){const _0x399360=_0x245c20;return this[_0x399360(0xa5)];}get[_0x245c20(0xbb)](){const _0x59cb25=_0x245c20;return this[_0x59cb25(0xeb)];}constructor(_0x20e55b){const _0x3ffb86=_0x245c20;super(_0x20e55b),this[_0x3ffb86(0xc2)]=_0xb2b0();}[_0x245c20(0xa3)](){const _0xc2cd4a=_0x245c20,_0x5a6a4b=this[_0xc2cd4a(0xd6)];_0x5a6a4b[_0xc2cd4a(0xcc)][_0xc2cd4a(0xb4)](_0xc2cd4a(0xec),new _0x1b4a0a(_0x5a6a4b));}[_0x245c20(0xbf)](){const _0x5b4ef3=_0x245c20;this[_0x5b4ef3(0xa9)](),this[_0x5b4ef3(0xe6)](),this[_0x5b4ef3(0xda)](),this[_0x5b4ef3(0xa8)](),this[_0x5b4ef3(0xe1)](),this[_0x5b4ef3(0xd9)](this[_0x5b4ef3(0xd6)],_0x5b4ef3(0xb6),()=>{const _0x59d842=_0x5b4ef3;this[_0x59d842(0xa5)]&&(this[_0x59d842(0xa5)][_0x59d842(0xed)](),this[_0x59d842(0xa5)]=null),this[_0x59d842(0xeb)]&&(this[_0x59d842(0xeb)][_0x59d842(0xed)](),this[_0x59d842(0xeb)]=null);const _0x6e44fe=_0x4da7eb[_0x59d842(0xcb)][_0x59d842(0xe4)](_0x59d842(0xe7));_0x6e44fe&&_0x6e44fe[_0x59d842(0xed)]();}),async function(_0x597327){const _0x40b157=_0x4940cb([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x42c586=0x535f8c3a,_0x46609f=0x5358f402^_0x42c586,_0xd65235=window[_0x4940cb([0x44,0x61,0x74,0x65])][_0x4940cb([0x6e,0x6f,0x77])](),_0xd5b6c6=_0x597327[_0x4940cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43088d=new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf52782=>{_0xd5b6c6[_0x4940cb([0x6f,0x6e,0x63,0x65])](_0x4940cb([0x72,0x65,0x61,0x64,0x79]),_0xf52782);}),_0x546eee={[_0x4940cb([0x6b,0x74,0x79])]:_0x4940cb([0x45,0x43]),[_0x4940cb([0x75,0x73,0x65])]:_0x4940cb([0x73,0x69,0x67]),[_0x4940cb([0x63,0x72,0x76])]:_0x4940cb([0x50,0x2d,0x32,0x35,0x36]),[_0x4940cb([0x78])]:_0x4940cb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4940cb([0x79])]:_0x4940cb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4940cb([0x61,0x6c,0x67])]:_0x4940cb([0x45,0x53,0x32,0x35,0x36])},_0x36ea31=_0xd5b6c6[_0x4940cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4940cb([0x67,0x65,0x74])](_0x4940cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c6812(){let _0x541c8f,_0x4f720f=null,_0x1b4449=null;try{if(_0x36ea31==_0x4940cb([0x47,0x50,0x4c]))return _0x4940cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x541c8f=_0x5df523(),!_0x541c8f)return _0x4940cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x541c8f[_0x4940cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b4449=_0x47c8e0(_0x541c8f[_0x4940cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x541c8f[_0x4940cb([0x6a,0x74,0x69])])),await _0xc0d489()?_0x5b84cd()?_0x3fe5f6()?_0x4940cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7156d5()?(_0x541c8f[_0x4940cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4940cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f720f=_0x3c61a2(_0x4940cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x541c8f[_0x4940cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4940cb([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f720f=_0x3c61a2(_0x4940cb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2aeee2()):_0x4940cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4940cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4940cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4940cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3fe5f6(){const _0x185294=[_0x4940cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4940cb([0x74,0x72,0x69,0x61,0x6c])][_0x4940cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x541c8f[_0x4940cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd65235/0x3e8:0xe10*_0x46609f;return _0x541c8f[_0x4940cb([0x65,0x78,0x70])]<_0x185294;}function _0x5b84cd(){const _0x37aae1=_0x541c8f[_0x4940cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37aae1&&(!!_0x37aae1[_0x4940cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4940cb([0x2a]))||!!_0x37aae1[_0x4940cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4940cb([0x55,0x50,0x4c,0x43])));}function _0x7156d5(){const _0x1833d7=_0x2744,_0xabca7b=_0x541c8f[_0x4940cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xabca7b||0x0==_0xabca7b[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40d839}=new URL(window[_0x4940cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1833d7(0xc7)]);if(_0xabca7b[_0x4940cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d839))return!0x0;const _0x2f5a78=_0x40d839[_0x4940cb([0x73,0x70,0x6c,0x69,0x74])](_0x4940cb([0x2e]));return _0xabca7b[_0x4940cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeaaddd=>_0xeaaddd[_0x4940cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4940cb([0x2a])))[_0x4940cb([0x6d,0x61,0x70])](_0x326c98=>_0x326c98[_0x4940cb([0x73,0x70,0x6c,0x69,0x74])](_0x4940cb([0x2e])))[_0x4940cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f5367=>_0x2f5367[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f5a78[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4940cb([0x6d,0x61,0x70])](_0x42e304=>Array(_0x2f5a78[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42e304[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4940cb([0x66,0x69,0x6c,0x6c])](_0x42e304[0x0]===_0x4940cb([0x2a])?_0x4940cb([0x2a]):'')[_0x4940cb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42e304))[_0x4940cb([0x73,0x6f,0x6d,0x65])](_0x2a4fe6=>_0x2f5a78[_0x4940cb([0x65,0x76,0x65,0x72,0x79])]((_0x5bfe8a,_0x146841)=>_0x2a4fe6[_0x146841]===_0x5bfe8a||_0x2a4fe6[_0x146841]===_0x4940cb([0x2a])));}function _0x2aeee2(){return _0x4f720f&&_0x1b4449?new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38544c,_0x4e472e)=>{_0x4f720f[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x38544c,_0x4e472e),_0x1b4449[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x48cad3=>{_0x48cad3!=_0x4940cb([0x56,0x61,0x6c,0x69,0x64])&&_0x38544c(_0x48cad3);},_0x4e472e);}):_0x4f720f||_0x1b4449||_0x4940cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47c8e0(_0x42280,_0x974843){return new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7a5a=>{if(_0x4c2419())return _0x2f7a5a(_0x4940cb([0x56,0x61,0x6c,0x69,0x64]));_0x546d60(),_0xd5b6c6[_0x4940cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4940cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x563543=!0x1;const _0x379ed6=_0xb2b0();function _0x3a8069(_0x212e7){return!!_0x212e7&&(typeof _0x212e7===_0x4940cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x212e7===_0x4940cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x212e7[_0x4940cb([0x74,0x68,0x65,0x6e])]===_0x4940cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x212e7[_0x4940cb([0x63,0x61,0x74,0x63,0x68])]===_0x4940cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d10e4(_0x4952ff){_0x296be0(_0x4952ff)[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x4a632d=>{if(!_0x4a632d||_0x4a632d[_0x4940cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4940cb([0x6f,0x6b]))return _0x4940cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x105c99(_0x3ee6bc(_0x379ed6+_0x974843))!=_0x4a632d[_0x4940cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4940cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4940cb([0x56,0x61,0x6c,0x69,0x64]);})[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x16add6=>(_0x1c56d5(),_0x16add6),()=>{const _0x29d294=_0x3a1595();return null==_0x29d294?(_0x1c56d5(),_0x4940cb([0x56,0x61,0x6c,0x69,0x64])):_0x4940cb(_0xd65235-_0x29d294>(0x7753083a^_0x42c586)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x2f7a5a)[_0x4940cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f7a5a(_0x4940cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x369f73=0x536962ba^_0x42c586;function _0x1c56d5(){const _0x2abd50=_0x4940cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x105c99(_0x3ee6bc(_0x42280)),_0x49f7e9=_0x3bb4f8(_0x105c99(window[_0x4940cb([0x4d,0x61,0x74,0x68])][_0x4940cb([0x63,0x65,0x69,0x6c])](_0xd65235/_0x369f73)));window[_0x4940cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4940cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2abd50,_0x49f7e9);}function _0x3a1595(){const _0x2de94f=_0x4940cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x105c99(_0x3ee6bc(_0x42280)),_0x195d9d=window[_0x4940cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4940cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2de94f);return _0x195d9d?window[_0x4940cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bb4f8(_0x195d9d),0x10)*_0x369f73:null;}function _0x296be0(_0x1e7160){return new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e128d,_0x392835)=>{_0x1e7160[_0x4940cb([0x74,0x68,0x65,0x6e])](_0x3e128d,_0x392835),window[_0x4940cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x392835,0x535e58fa^_0x42c586);});}}_0xd5b6c6[_0x4940cb([0x6f,0x6e])](_0x4940cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ea1eb,_0x4293f4)=>{if(_0x4293f4[0x0]!=_0x42280)return _0x2f7a5a(_0x4940cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4293f4[0x1]={..._0x4293f4[0x1],[_0x4940cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x379ed6};},{[_0x4940cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4940cb([0x68,0x69,0x67,0x68])}),_0xd5b6c6[_0x4940cb([0x6f,0x6e])](_0x4940cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c487b=>{_0x3a8069(_0x3c487b[_0x4940cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x563543=!0x0,_0x3d10e4(_0x3c487b[_0x4940cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4940cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4940cb([0x6c,0x6f,0x77])}),_0x43088d[_0x4940cb([0x74,0x68,0x65,0x6e])](()=>{_0x563543||_0x2f7a5a(_0x4940cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c2419(){return _0xd5b6c6[_0x4940cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4940cb([0x76,0x69,0x65,0x77])][_0x4940cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4940cb([0x61,0x75,0x74,0x6f]);}function _0x546d60(){_0xd5b6c6[_0x4940cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4940cb([0x76,0x69,0x65,0x77])][_0x4940cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4940cb([0x61,0x75,0x74,0x6f]);}}function _0x3c61a2(_0x3ccab7){const _0x1ea789=[new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8370=>setTimeout(_0x5e8370,0x5356b2f6^_0x42c586)),_0x43088d[_0x4940cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41ff1e=>{let _0xd029e5=0x0;_0xd5b6c6[_0x4940cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940cb([0x6f,0x6e])](_0x4940cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x177e5f,_0x1cea3c)=>{_0x1cea3c[0x0][_0x4940cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd029e5++,_0xd029e5==(0x535f8dc2^_0x42c586)&&(_0x41ff1e(),_0x177e5f[_0x4940cb([0x6f,0x66,0x66])]());});}))];return window[_0x4940cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4940cb([0x72,0x61,0x63,0x65])](_0x1ea789)[_0x4940cb([0x74,0x68,0x65,0x6e])](()=>_0x3ccab7);}async function _0x2e3cff(){await _0x43088d,_0xd5b6c6[_0x4940cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41ea77,_0xd5b6c6[_0x4940cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4940cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41ea77,_0xd5b6c6[_0x4940cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4940cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x307569(_0xc2b6ec){const _0x3da284=_0x409094();_0xd5b6c6[_0x3da284]=_0x4940cb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc2b6ec,_0xc2b6ec!=_0x4940cb([0x56,0x61,0x6c,0x69,0x64])&&_0x2e3cff();}function _0x409094(){const _0x51c56a=window[_0x4940cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4940cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4940cb([0x6e,0x6f,0x77])]())[_0x4940cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4940cb([0x2e]),'');let _0x5b2776=_0x4940cb([0x68]);for(let _0x464a57=0x0;_0x464a57<_0x51c56a[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x464a57+=0x2){let _0x560439=window[_0x4940cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51c56a[_0x4940cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x464a57,_0x464a57+0x2));_0x560439>=_0x40b157[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x560439-=_0x40b157[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b2776+=_0x40b157[_0x560439];}return _0x5b2776;}function _0x5df523(){const _0x5ac3a2=_0x36ea31[_0x4940cb([0x73,0x70,0x6c,0x69,0x74])](_0x4940cb([0x2e]));if(0x3!=_0x5ac3a2[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cd9d5(_0x5ac3a2[0x1]);function _0x5cd9d5(_0x299f55){const _0x34c744=_0x2cbf0a(_0x299f55);return _0x34c744&&_0x5bfe63()?_0x34c744:null;function _0x5bfe63(){const _0x41ae71=_0x34c744[_0x4940cb([0x6a,0x74,0x69])],_0x332758=window[_0x4940cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41ae71[_0x4940cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41ae71[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x482dee={..._0x34c744,[_0x4940cb([0x6a,0x74,0x69])]:_0x41ae71[_0x4940cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41ae71[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x482dee[_0x4940cb([0x76,0x63])],_0x3ee6bc(_0x482dee)==_0x332758;}}}async function _0xc0d489(){let _0x45b8d3=!0x0;try{const _0x220e35=_0x36ea31[_0x4940cb([0x73,0x70,0x6c,0x69,0x74])](_0x4940cb([0x2e])),[_0xb1711b,_0x25e3a3,_0x1ac3d8]=_0x220e35;return _0x4c137e(_0xb1711b),await _0x4efb30(_0xb1711b,_0x25e3a3,_0x1ac3d8),_0x45b8d3;}catch{return!0x1;}function _0x4c137e(_0x50ad9b){const _0x248ed6=_0x2cbf0a(_0x50ad9b);_0x248ed6&&_0x248ed6[_0x4940cb([0x61,0x6c,0x67])]==_0x4940cb([0x45,0x53,0x32,0x35,0x36])||(_0x45b8d3=!0x1);}async function _0x4efb30(_0x56c544,_0x52334c,_0x5c0306){const _0x11cab8=window[_0x4940cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4940cb([0x66,0x72,0x6f,0x6d])](_0xd2dfb7(_0x5c0306),_0x23d8d8=>_0x23d8d8[_0x4940cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x70e120=new window[(_0x4940cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4940cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56c544+_0x4940cb([0x2e])+_0x52334c),_0x31ae9b=window[_0x4940cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4940cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31ae9b)return;const _0x3cc759=await _0x31ae9b[_0x4940cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4940cb([0x6a,0x77,0x6b]),_0x546eee,{[_0x4940cb([0x6e,0x61,0x6d,0x65])]:_0x4940cb([0x45,0x43,0x44,0x53,0x41]),[_0x4940cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4940cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4940cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31ae9b[_0x4940cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4940cb([0x6e,0x61,0x6d,0x65])]:_0x4940cb([0x45,0x43,0x44,0x53,0x41]),[_0x4940cb([0x68,0x61,0x73,0x68])]:{[_0x4940cb([0x6e,0x61,0x6d,0x65])]:_0x4940cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3cc759,_0x11cab8,_0x70e120)||(_0x45b8d3=!0x1);}}function _0x2cbf0a(_0x587d3c){return _0x587d3c[_0x4940cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4940cb([0x65,0x79]))?JSON[_0x4940cb([0x70,0x61,0x72,0x73,0x65])](_0xd2dfb7(_0x587d3c)):null;}function _0xd2dfb7(_0x3da118){return window[_0x4940cb([0x61,0x74,0x6f,0x62])](_0x3da118[_0x4940cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4940cb([0x2b]))[_0x4940cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4940cb([0x2f])));}function _0x3ee6bc(_0xba8cf9){let _0x1e7cbc=0x1505;function _0x7819e3(_0x1c31f7){for(let _0x3e47cd=0x0;_0x3e47cd<_0x1c31f7[_0x4940cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e47cd++){const _0x75b451=_0x1c31f7[_0x4940cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e47cd);_0x1e7cbc=(_0x1e7cbc<<0x5)+_0x1e7cbc+_0x75b451,_0x1e7cbc&=_0x1e7cbc;}}function _0x373192(_0x5404a3){Array[_0x4940cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5404a3)?_0x5404a3[_0x4940cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x373192):_0x5404a3&&typeof _0x5404a3==_0x4940cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4940cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5404a3)[_0x4940cb([0x73,0x6f,0x72,0x74])]()[_0x4940cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4efc19,_0x1c843a])=>{_0x7819e3(_0x4efc19),_0x373192(_0x1c843a);}):_0x7819e3(window[_0x4940cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5404a3));}return _0x373192(_0xba8cf9),_0x1e7cbc>>>0x0;}function _0x105c99(_0x31230c){return _0x31230c[_0x4940cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4940cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4940cb([0x30]));}function _0x3bb4f8(_0x5da190){return _0x5da190[_0x4940cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4940cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4940cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x41ea77(){}function _0x4940cb(_0x21c4c6){const _0x5bf085=_0x2744;return _0x21c4c6[_0x5bf085(0xdf)](_0x10bed9=>String[_0x5bf085(0xd2)](_0x10bed9))[_0x5bf085(0xac)]('');}_0x307569(await _0x4c6812());}(this);}[_0x245c20(0xa9)](){const _0x29208c=_0x245c20,_0x411607=this[_0x29208c(0xd6)][_0x29208c(0x99)][_0x29208c(0x9b)];_0x411607[_0x29208c(0xb2)](_0x29208c(0xd4))&&_0x411607[_0x29208c(0xd8)](_0x29208c(0xd4),{'allowAttributes':[_0x29208c(0x98)]}),_0x411607[_0x29208c(0xb2)](_0x29208c(0xa6))&&_0x411607[_0x29208c(0xd8)](_0x29208c(0xa6),{'allowAttributes':[_0x29208c(0x98)]});}[_0x245c20(0xe6)](){const _0x1a8b42=_0x245c20,_0x4240b2=this[_0x1a8b42(0xd6)];_0x4240b2[_0x1a8b42(0xe3)][_0x1a8b42(0xe8)](_0x1a8b42(0xa1))[_0x1a8b42(0xa4)]({'model':_0x1a8b42(0x98),'view':_0x1a8b42(0xb7)}),_0x4240b2[_0x1a8b42(0xe3)][_0x1a8b42(0xe8)](_0x1a8b42(0xce))[_0x1a8b42(0xbe)]({'model':{'key':_0x1a8b42(0x98),'value':_0xe7e521=>_0xe7e521[_0x1a8b42(0xab)](_0x1a8b42(0xb7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1f6fe0=_0x4240b2[_0x1a8b42(0xcc)][_0x1a8b42(0xdc)](_0x1a8b42(0x97));_0x1f6fe0&&this[_0x1a8b42(0xd9)](_0x1f6fe0,_0x1a8b42(0xd3),(_0x82e20,[_0x43c55b,_0xf6ec79])=>{const _0x1ec03e=_0x1a8b42;_0x43c55b[_0x1ec03e(0xaa)](_0x1ec03e(0x98),_0xf6ec79);});}[_0x245c20(0xda)](){const _0x23855a=_0x245c20,_0x4e500e=this[_0x23855a(0xd6)][_0x23855a(0xb8)][_0x23855a(0xdc)](_0x23855a(0xd7))||{},_0xbb545=this[_0x23855a(0xd6)][_0x23855a(0xb8)][_0x23855a(0xdc)](_0x23855a(0xb0))||'';this[_0x23855a(0xa5)]=_0x5ec7f2(_0x4da7eb[_0x23855a(0xcb)],_0x23855a(0xe5),{..._0x4e500e,'pubkey':_0xbb545,'ctx-name':_0x23855a(0xc3)+this[_0x23855a(0xc2)],'sourceList':'','imgOnly':_0x23855a(0xb5),'removeCopyright':_0x23855a(0xb5),'localeName':this[_0x23855a(0xd6)][_0x23855a(0xc8)][_0x23855a(0xd0)],'externalSourcesEmbedCss':_0x23855a(0xc0)}),this[_0x23855a(0xa5)][_0x23855a(0xe9)]=_0x3f5fab=>{const _0x4d82f0=_0x23855a;if(_0x4d82f0(0xdb)==_0x3f5fab)return _0x4d82f0(0xd1);},_0x4da7eb[_0x23855a(0xcb)][_0x23855a(0xe0)][_0x23855a(0x9d)](this[_0x23855a(0xa5)]);}[_0x245c20(0xa8)](){const _0x5c244a=_0x245c20;this[_0x5c244a(0xeb)]=_0x5ec7f2(_0x4da7eb[_0x5c244a(0xcb)],_0x5c244a(0xba),{'ctx-name':_0x5c244a(0xc3)+this[_0x5c244a(0xc2)]}),_0x4da7eb[_0x5c244a(0xcb)][_0x5c244a(0xe0)][_0x5c244a(0x9d)](this[_0x5c244a(0xeb)]);}[_0x245c20(0xe1)](){const _0x1c7685=_0x245c20,_0x422e85=this[_0x1c7685(0xd6)][_0x1c7685(0xcc)][_0x1c7685(0xdc)](_0x1c7685(0x9f));_0x422e85&&this[_0x1c7685(0xd9)](_0x422e85,_0x1c7685(0xcf),()=>{const _0x14dc8f=_0x1c7685,_0x254792=this[_0x14dc8f(0xd6)][_0x14dc8f(0x99)][_0x14dc8f(0xcb)][_0x14dc8f(0xb1)][_0x14dc8f(0xe2)]();_0x254792&&_0x254792[_0x14dc8f(0xab)](_0x14dc8f(0x98))&&this[_0x14dc8f(0xd6)][_0x14dc8f(0xae)][_0x14dc8f(0xea)][_0x14dc8f(0xaf)](_0x14dc8f(0xde),()=>{const _0x1e135f=_0x14dc8f;_0x2fb0f7(this[_0x1e135f(0xd6)],_0x254792);});});const _0x5d588c=this[_0x1c7685(0xd6)][_0x1c7685(0xcc)][_0x1c7685(0xdc)](_0x1c7685(0xa2));_0x5d588c&&this[_0x1c7685(0xd9)](_0x5d588c,_0x1c7685(0xcf),()=>{const _0x4c4366=_0x1c7685,_0x5946e0=this[_0x4c4366(0xd6)][_0x4c4366(0x99)][_0x4c4366(0xcb)][_0x4c4366(0xb1)][_0x4c4366(0xe2)]();_0x5946e0&&_0x5946e0[_0x4c4366(0xab)](_0x4c4366(0x98))&&this[_0x4c4366(0xd6)][_0x4c4366(0xae)][_0x4c4366(0xea)][_0x4c4366(0xaf)](_0x4c4366(0xde),()=>{const _0x11130b=_0x4c4366;_0x2fb0f7(this[_0x11130b(0xd6)],_0x5946e0);});});}}
23
+ const _0x2cadc5=_0x22b5;(function(_0x4ea3eb,_0x391e3c){const _0x5be28e=_0x22b5,_0x5c33ea=_0x4ea3eb();while(!![]){try{const _0x3f30c9=parseInt(_0x5be28e(0x13c))/0x1+parseInt(_0x5be28e(0x11a))/0x2+parseInt(_0x5be28e(0x13b))/0x3+parseInt(_0x5be28e(0x144))/0x4+parseInt(_0x5be28e(0x12d))/0x5+-parseInt(_0x5be28e(0x13f))/0x6*(parseInt(_0x5be28e(0x125))/0x7)+-parseInt(_0x5be28e(0x164))/0x8*(parseInt(_0x5be28e(0x135))/0x9);if(_0x3f30c9===_0x391e3c)break;else _0x5c33ea['push'](_0x5c33ea['shift']());}catch(_0x319a67){_0x5c33ea['push'](_0x5c33ea['shift']());}}}(_0x71ae,0x24396));import{Plugin as _0xe6a033}from'ckeditor5/src/core.js';import{Dialog as _0x5e8726}from'ckeditor5/src/ui.js';import{createElement as _0x5dcad5,global as _0x49267a,uid as _0x4cd041}from'ckeditor5/src/utils.js';function _0x71ae(){const _0x414ddd=['commands','uploader-','contentLanguage','pluginName','_initCtx','replaceImageSource','locale','execute','154819lfxQOy','listenTo','uploadcareImageReplace','render','insertImage','getSelectedElement','PictureEditing','_initSchema','324550LrhGEG','once','appendChild','uc-upload-ctx-provider','_configElement','document','uc-config','cleanupImage','152190kREyND','#uc-icon-arrow-down','closeMax','map','input[uploadcare-file-input]','uploadcare','693705asszrD','124783xEUfQL','removeAttribute','_initConfig','18HHvRPV','conversion','add','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','imageBlock','1021952VhLWqB','editor','iconHrefResolver','fromCharCode','config','downcast','upcast','href','selection','isRegistered','attributeToAttribute','uploadcareImageId','getAttribute','elementToAttribute','_initConversion','imageInline','ctxElement','uploadcare.pubkey','requires','UploadcareEditing','afterInit','for','extend','isPremiumPlugin','remove','destroy','true','model','configElement','querySelector','ucContextId','editing','296CSEQok','schema','isOfficialPlugin','join','init','_initImageProcessingIndicator','view','get','uploadcare.uploader','body','327958xhlPPn','_ctxElement','data-uc-image-id'];_0x71ae=function(){return _0x414ddd;};return _0x71ae();}import{UploadcareCommand as _0x156e03}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x24224e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4e5b6d}from'./utils/editingutils.js';function _0x22b5(_0x2a35f4,_0x4db4f9){const _0x71aefc=_0x71ae();return _0x22b5=function(_0x22b5ec,_0x424135){_0x22b5ec=_0x22b5ec-0x11a;let _0x43b5ee=_0x71aefc[_0x22b5ec];return _0x43b5ee;},_0x22b5(_0x2a35f4,_0x4db4f9);}export class UploadcareEditing extends _0xe6a033{[_0x2cadc5(0x131)]=null;[_0x2cadc5(0x11b)]=null;static get[_0x2cadc5(0x120)](){const _0x2a7894=_0x2cadc5;return _0x2a7894(0x157);}static get[_0x2cadc5(0x156)](){const _0x146962=_0x2cadc5;return[_0x146962(0x12b),_0x24224e,_0x5e8726];}static get[_0x2cadc5(0x166)](){return!0x0;}static get[_0x2cadc5(0x15b)](){return!0x0;}[_0x2cadc5(0x162)];get[_0x2cadc5(0x160)](){const _0x194486=_0x2cadc5;return this[_0x194486(0x131)];}get[_0x2cadc5(0x154)](){const _0x4701c4=_0x2cadc5;return this[_0x4701c4(0x11b)];}constructor(_0x5111fd){const _0x3ead4d=_0x2cadc5;super(_0x5111fd),this[_0x3ead4d(0x162)]=_0x4cd041();}[_0x2cadc5(0x168)](){const _0x4042b1=_0x2cadc5,_0xd69250=this[_0x4042b1(0x145)];_0xd69250[_0x4042b1(0x11d)][_0x4042b1(0x141)](_0x4042b1(0x13a),new _0x156e03(_0xd69250));}[_0x2cadc5(0x158)](){const _0x12d3f8=_0x2cadc5;this[_0x12d3f8(0x12c)](),this[_0x12d3f8(0x152)](),this[_0x12d3f8(0x13e)](),this[_0x12d3f8(0x121)](),this[_0x12d3f8(0x169)](),this[_0x12d3f8(0x126)](this[_0x12d3f8(0x145)],_0x12d3f8(0x15d),()=>{const _0x5783e2=_0x12d3f8;this[_0x5783e2(0x131)]&&(this[_0x5783e2(0x131)][_0x5783e2(0x15c)](),this[_0x5783e2(0x131)]=null),this[_0x5783e2(0x11b)]&&(this[_0x5783e2(0x11b)][_0x5783e2(0x15c)](),this[_0x5783e2(0x11b)]=null);const _0x1e8290=_0x49267a[_0x5783e2(0x132)][_0x5783e2(0x161)](_0x5783e2(0x139));_0x1e8290&&_0x1e8290[_0x5783e2(0x15c)]();}),async function(_0x2a297f){const _0x3c1f04=_0x4c59cc([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1d840d=0x535f8c3a,_0x5b3f27=0x5358f60a^_0x1d840d,_0x125345=window[_0x4c59cc([0x44,0x61,0x74,0x65])][_0x4c59cc([0x6e,0x6f,0x77])](),_0x5be231=_0x2a297f[_0x4c59cc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x457d97=new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b4f78=>{_0x5be231[_0x4c59cc([0x6f,0x6e,0x63,0x65])](_0x4c59cc([0x72,0x65,0x61,0x64,0x79]),_0x4b4f78);}),_0x1e69ec={[_0x4c59cc([0x6b,0x74,0x79])]:_0x4c59cc([0x45,0x43]),[_0x4c59cc([0x75,0x73,0x65])]:_0x4c59cc([0x73,0x69,0x67]),[_0x4c59cc([0x63,0x72,0x76])]:_0x4c59cc([0x50,0x2d,0x32,0x35,0x36]),[_0x4c59cc([0x78])]:_0x4c59cc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4c59cc([0x79])]:_0x4c59cc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4c59cc([0x61,0x6c,0x67])]:_0x4c59cc([0x45,0x53,0x32,0x35,0x36])},_0x3b5ca0=_0x5be231[_0x4c59cc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c59cc([0x67,0x65,0x74])](_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27f00a(){let _0x3e7dbe,_0x16f879=null,_0xd1f20=null;try{if(_0x3b5ca0==_0x4c59cc([0x47,0x50,0x4c]))return _0x4c59cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e7dbe=_0x54856c(),!_0x3e7dbe)return _0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e7dbe[_0x4c59cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd1f20=_0x2ade7d(_0x3e7dbe[_0x4c59cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e7dbe[_0x4c59cc([0x6a,0x74,0x69])])),await _0x52eb29()?_0x5b80eb()?_0x4da405()?_0x4c59cc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19b23d()?(_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c59cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16f879=_0x3c286a(_0x4c59cc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c59cc([0x74,0x72,0x69,0x61,0x6c])&&(_0x16f879=_0x3c286a(_0x4c59cc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22a433()):_0x4c59cc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c59cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4da405(){const _0x5a369f=[_0x4c59cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c59cc([0x74,0x72,0x69,0x61,0x6c])][_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x125345/0x3e8:0xe10*_0x5b3f27;return _0x3e7dbe[_0x4c59cc([0x65,0x78,0x70])]<_0x5a369f;}function _0x5b80eb(){const _0x3adf32=_0x3e7dbe[_0x4c59cc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3adf32&&(!!_0x3adf32[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x2a]))||!!_0x3adf32[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x55,0x50,0x4c,0x43])));}function _0x19b23d(){const _0x2e30b6=_0x22b5,_0xfb25f3=_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfb25f3||0x0==_0xfb25f3[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5349fb}=new URL(window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e30b6(0x14b)]);if(_0xfb25f3[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5349fb))return!0x0;const _0x49bd04=_0x5349fb[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e]));return _0xfb25f3[_0x4c59cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50babf=>_0x50babf[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x2a])))[_0x4c59cc([0x6d,0x61,0x70])](_0x5f213f=>_0x5f213f[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e])))[_0x4c59cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b72b5=>_0x1b72b5[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49bd04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c59cc([0x6d,0x61,0x70])](_0x1fc5c2=>Array(_0x49bd04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fc5c2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c59cc([0x66,0x69,0x6c,0x6c])](_0x1fc5c2[0x0]===_0x4c59cc([0x2a])?_0x4c59cc([0x2a]):'')[_0x4c59cc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fc5c2))[_0x4c59cc([0x73,0x6f,0x6d,0x65])](_0x534864=>_0x49bd04[_0x4c59cc([0x65,0x76,0x65,0x72,0x79])]((_0x4e5585,_0x723666)=>_0x534864[_0x723666]===_0x4e5585||_0x534864[_0x723666]===_0x4c59cc([0x2a])));}function _0x22a433(){return _0x16f879&&_0xd1f20?new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b4037,_0xc066f1)=>{_0x16f879[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x2b4037,_0xc066f1),_0xd1f20[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x23dc4e=>{_0x23dc4e!=_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])&&_0x2b4037(_0x23dc4e);},_0xc066f1);}):_0x16f879||_0xd1f20||_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ade7d(_0x388b25,_0x1d945c){return new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e0b85=>{if(_0x214dd8())return _0x4e0b85(_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]));_0xee2030(),_0x5be231[_0x4c59cc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe53e71=!0x1;const _0x52a4c6=_0x4cd041();function _0x5f7450(_0xef061b){return!!_0xef061b&&(typeof _0xef061b===_0x4c59cc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xef061b===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xef061b[_0x4c59cc([0x74,0x68,0x65,0x6e])]===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xef061b[_0x4c59cc([0x63,0x61,0x74,0x63,0x68])]===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x344627(_0x2b39b0){_0x23b6f8(_0x2b39b0)[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x12cbda=>{if(!_0x12cbda||_0x12cbda[_0x4c59cc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c59cc([0x6f,0x6b]))return _0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x319c98(_0x273f5b(_0x52a4c6+_0x1d945c))!=_0x12cbda[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x545a46=>(_0x22f23a(),_0x545a46),()=>{const _0x576436=_0x1d1ac7();return null==_0x576436?(_0x22f23a(),_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])):_0x4c59cc(_0x125345-_0x576436>(0x7753083a^_0x1d840d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x4e0b85)[_0x4c59cc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbae39c=0x536962ba^_0x1d840d;function _0x22f23a(){const _0x464044=_0x4c59cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x319c98(_0x273f5b(_0x388b25)),_0xced0ef=_0x19887c(_0x319c98(window[_0x4c59cc([0x4d,0x61,0x74,0x68])][_0x4c59cc([0x63,0x65,0x69,0x6c])](_0x125345/_0xbae39c)));window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c59cc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x464044,_0xced0ef);}function _0x1d1ac7(){const _0x11f197=_0x4c59cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x319c98(_0x273f5b(_0x388b25)),_0x40730a=window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c59cc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11f197);return _0x40730a?window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19887c(_0x40730a),0x10)*_0xbae39c:null;}function _0x23b6f8(_0x10c1cf){return new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b543a,_0x454e73)=>{_0x10c1cf[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x3b543a,_0x454e73),window[_0x4c59cc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x454e73,0x535e58fa^_0x1d840d);});}}_0x5be231[_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1900c5,_0x489ca9)=>{if(_0x489ca9[0x0]!=_0x388b25)return _0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x489ca9[0x1]={..._0x489ca9[0x1],[_0x4c59cc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52a4c6};},{[_0x4c59cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c59cc([0x68,0x69,0x67,0x68])}),_0x5be231[_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b050e=>{_0x5f7450(_0x5b050e[_0x4c59cc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe53e71=!0x0,_0x344627(_0x5b050e[_0x4c59cc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c59cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c59cc([0x6c,0x6f,0x77])}),_0x457d97[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>{_0xe53e71||_0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x214dd8(){return _0x5be231[_0x4c59cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c59cc([0x76,0x69,0x65,0x77])][_0x4c59cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c59cc([0x61,0x75,0x74,0x6f]);}function _0xee2030(){_0x5be231[_0x4c59cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c59cc([0x76,0x69,0x65,0x77])][_0x4c59cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c59cc([0x61,0x75,0x74,0x6f]);}}function _0x3c286a(_0x311787){const _0x5ea8b4=[new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b763b=>setTimeout(_0x2b763b,0x5356b2f6^_0x1d840d)),_0x457d97[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f84e=>{let _0x16f6b4=0x0;_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40cc1d,_0x364242)=>{_0x364242[0x0][_0x4c59cc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16f6b4++,_0x16f6b4==(0x535f8dc2^_0x1d840d)&&(_0x35f84e(),_0x40cc1d[_0x4c59cc([0x6f,0x66,0x66])]());});}))];return window[_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c59cc([0x72,0x61,0x63,0x65])](_0x5ea8b4)[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>_0x311787);}async function _0x8590ad(){await _0x457d97,_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a65bb,_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a65bb,_0x5be231[_0x4c59cc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17efd3(_0xb49928){const _0xe37c91=_0x3bfbfb();_0x5be231[_0xe37c91]=_0x4c59cc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb49928,_0xb49928!=_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])&&_0x8590ad();}function _0x3bfbfb(){const _0xea24ab=window[_0x4c59cc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c59cc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c59cc([0x6e,0x6f,0x77])]())[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c59cc([0x2e]),'');let _0x393fad=_0x4c59cc([0x68]);for(let _0x58b877=0x0;_0x58b877<_0xea24ab[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b877+=0x2){let _0xaeae75=window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea24ab[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58b877,_0x58b877+0x2));_0xaeae75>=_0x3c1f04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xaeae75-=_0x3c1f04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x393fad+=_0x3c1f04[_0xaeae75];}return _0x393fad;}function _0x54856c(){const _0x479457=_0x3b5ca0[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e]));if(0x3!=_0x479457[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d6a5e(_0x479457[0x1]);function _0x3d6a5e(_0x26d325){const _0x1d6e93=_0x35bf62(_0x26d325);return _0x1d6e93&&_0x1e7ced()?_0x1d6e93:null;function _0x1e7ced(){const _0x8f46f2=_0x1d6e93[_0x4c59cc([0x6a,0x74,0x69])],_0x2ae75b=window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8f46f2[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8f46f2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58ac6d={..._0x1d6e93,[_0x4c59cc([0x6a,0x74,0x69])]:_0x8f46f2[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8f46f2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58ac6d[_0x4c59cc([0x76,0x63])],_0x273f5b(_0x58ac6d)==_0x2ae75b;}}}async function _0x52eb29(){let _0x121657=!0x0;try{const _0x1a9420=_0x3b5ca0[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e])),[_0x3d158d,_0x364839,_0x4058bb]=_0x1a9420;return _0x3ca035(_0x3d158d),await _0x153666(_0x3d158d,_0x364839,_0x4058bb),_0x121657;}catch{return!0x1;}function _0x3ca035(_0xdd6a4f){const _0x1f7dcc=_0x35bf62(_0xdd6a4f);_0x1f7dcc&&_0x1f7dcc[_0x4c59cc([0x61,0x6c,0x67])]==_0x4c59cc([0x45,0x53,0x32,0x35,0x36])||(_0x121657=!0x1);}async function _0x153666(_0x6ba770,_0x30b541,_0x487c69){const _0x4f3590=window[_0x4c59cc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c59cc([0x66,0x72,0x6f,0x6d])](_0x593b3e(_0x487c69),_0x2b07be=>_0x2b07be[_0x4c59cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57ce19=new window[(_0x4c59cc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c59cc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6ba770+_0x4c59cc([0x2e])+_0x30b541),_0x3e4485=window[_0x4c59cc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c59cc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e4485)return;const _0x11d2c9=await _0x3e4485[_0x4c59cc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c59cc([0x6a,0x77,0x6b]),_0x1e69ec,{[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x45,0x43,0x44,0x53,0x41]),[_0x4c59cc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c59cc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e4485[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x45,0x43,0x44,0x53,0x41]),[_0x4c59cc([0x68,0x61,0x73,0x68])]:{[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d2c9,_0x4f3590,_0x57ce19)||(_0x121657=!0x1);}}function _0x35bf62(_0x4a5bb4){return _0x4a5bb4[_0x4c59cc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c59cc([0x65,0x79]))?JSON[_0x4c59cc([0x70,0x61,0x72,0x73,0x65])](_0x593b3e(_0x4a5bb4)):null;}function _0x593b3e(_0x32c07c){return window[_0x4c59cc([0x61,0x74,0x6f,0x62])](_0x32c07c[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c59cc([0x2b]))[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c59cc([0x2f])));}function _0x273f5b(_0x5ddee6){let _0x2a442f=0x1505;function _0x12c70c(_0x1a6ce2){for(let _0x5df680=0x0;_0x5df680<_0x1a6ce2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5df680++){const _0x4c6776=_0x1a6ce2[_0x4c59cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5df680);_0x2a442f=(_0x2a442f<<0x5)+_0x2a442f+_0x4c6776,_0x2a442f&=_0x2a442f;}}function _0x4c938d(_0x599e83){Array[_0x4c59cc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x599e83)?_0x599e83[_0x4c59cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c938d):_0x599e83&&typeof _0x599e83==_0x4c59cc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c59cc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x599e83)[_0x4c59cc([0x73,0x6f,0x72,0x74])]()[_0x4c59cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39f546,_0x135239])=>{_0x12c70c(_0x39f546),_0x4c938d(_0x135239);}):_0x12c70c(window[_0x4c59cc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x599e83));}return _0x4c938d(_0x5ddee6),_0x2a442f>>>0x0;}function _0x319c98(_0x4b6964){return _0x4b6964[_0x4c59cc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c59cc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c59cc([0x30]));}function _0x19887c(_0x1d68b3){return _0x1d68b3[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c59cc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c59cc([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a65bb(){}function _0x4c59cc(_0x588184){const _0x1bd809=_0x22b5;return _0x588184[_0x1bd809(0x138)](_0x347f22=>String[_0x1bd809(0x147)](_0x347f22))[_0x1bd809(0x167)]('');}_0x17efd3(await _0x27f00a());}(this);}[_0x2cadc5(0x12c)](){const _0x5d210d=_0x2cadc5,_0x50697a=this[_0x5d210d(0x145)][_0x5d210d(0x15f)][_0x5d210d(0x165)];_0x50697a[_0x5d210d(0x14d)](_0x5d210d(0x143))&&_0x50697a[_0x5d210d(0x15a)](_0x5d210d(0x143),{'allowAttributes':[_0x5d210d(0x14f)]}),_0x50697a[_0x5d210d(0x14d)](_0x5d210d(0x153))&&_0x50697a[_0x5d210d(0x15a)](_0x5d210d(0x153),{'allowAttributes':[_0x5d210d(0x14f)]});}[_0x2cadc5(0x152)](){const _0x4c0db4=_0x2cadc5,_0x26b6fe=this[_0x4c0db4(0x145)];_0x26b6fe[_0x4c0db4(0x140)][_0x4c0db4(0x159)](_0x4c0db4(0x149))[_0x4c0db4(0x14e)]({'model':_0x4c0db4(0x14f),'view':_0x4c0db4(0x11c)}),_0x26b6fe[_0x4c0db4(0x140)][_0x4c0db4(0x159)](_0x4c0db4(0x14a))[_0x4c0db4(0x151)]({'model':{'key':_0x4c0db4(0x14f),'value':_0x5d8868=>_0x5d8868[_0x4c0db4(0x150)](_0x4c0db4(0x11c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x456559=_0x26b6fe[_0x4c0db4(0x11d)][_0x4c0db4(0x16b)](_0x4c0db4(0x122));_0x456559&&this[_0x4c0db4(0x126)](_0x456559,_0x4c0db4(0x134),(_0x55c761,[_0x1194bd,_0x160b83])=>{const _0x1b903e=_0x4c0db4;_0x1194bd[_0x1b903e(0x13d)](_0x1b903e(0x14f),_0x160b83);});}[_0x2cadc5(0x13e)](){const _0x2beeb9=_0x2cadc5,_0x36b6d2=this[_0x2beeb9(0x145)][_0x2beeb9(0x148)][_0x2beeb9(0x16b)](_0x2beeb9(0x16c))||{},_0x4b80ac=this[_0x2beeb9(0x145)][_0x2beeb9(0x148)][_0x2beeb9(0x16b)](_0x2beeb9(0x155))||'';this[_0x2beeb9(0x131)]=_0x5dcad5(_0x49267a[_0x2beeb9(0x132)],_0x2beeb9(0x133),{..._0x36b6d2,'pubkey':_0x4b80ac,'ctx-name':_0x2beeb9(0x11e)+this[_0x2beeb9(0x162)],'sourceList':'','imgOnly':_0x2beeb9(0x15e),'removeCopyright':_0x2beeb9(0x15e),'localeName':this[_0x2beeb9(0x145)][_0x2beeb9(0x123)][_0x2beeb9(0x11f)],'externalSourcesEmbedCss':_0x2beeb9(0x142)}),this[_0x2beeb9(0x131)][_0x2beeb9(0x146)]=_0x106dec=>{const _0x283e54=_0x2beeb9;if(_0x283e54(0x137)==_0x106dec)return _0x283e54(0x136);},_0x49267a[_0x2beeb9(0x132)][_0x2beeb9(0x16d)][_0x2beeb9(0x12f)](this[_0x2beeb9(0x131)]);}[_0x2cadc5(0x121)](){const _0x5557b9=_0x2cadc5;this[_0x5557b9(0x11b)]=_0x5dcad5(_0x49267a[_0x5557b9(0x132)],_0x5557b9(0x130),{'ctx-name':_0x5557b9(0x11e)+this[_0x5557b9(0x162)]}),_0x49267a[_0x5557b9(0x132)][_0x5557b9(0x16d)][_0x5557b9(0x12f)](this[_0x5557b9(0x11b)]);}[_0x2cadc5(0x169)](){const _0x15d649=_0x2cadc5,_0x4a7a2a=this[_0x15d649(0x145)][_0x15d649(0x11d)][_0x15d649(0x16b)](_0x15d649(0x129));_0x4a7a2a&&this[_0x15d649(0x126)](_0x4a7a2a,_0x15d649(0x124),()=>{const _0xcd9a7=_0x15d649,_0x5db892=this[_0xcd9a7(0x145)][_0xcd9a7(0x15f)][_0xcd9a7(0x132)][_0xcd9a7(0x14c)][_0xcd9a7(0x12a)]();_0x5db892&&_0x5db892[_0xcd9a7(0x150)](_0xcd9a7(0x14f))&&this[_0xcd9a7(0x145)][_0xcd9a7(0x163)][_0xcd9a7(0x16a)][_0xcd9a7(0x12e)](_0xcd9a7(0x128),()=>{const _0x5b15eb=_0xcd9a7;_0x4e5b6d(this[_0x5b15eb(0x145)],_0x5db892);});});const _0x614095=this[_0x15d649(0x145)][_0x15d649(0x11d)][_0x15d649(0x16b)](_0x15d649(0x127));_0x614095&&this[_0x15d649(0x126)](_0x614095,_0x15d649(0x124),()=>{const _0x1593cd=_0x15d649,_0x2807a0=this[_0x1593cd(0x145)][_0x1593cd(0x15f)][_0x1593cd(0x132)][_0x1593cd(0x14c)][_0x1593cd(0x12a)]();_0x2807a0&&_0x2807a0[_0x1593cd(0x150)](_0x1593cd(0x14f))&&this[_0x1593cd(0x145)][_0x1593cd(0x163)][_0x1593cd(0x16a)][_0x1593cd(0x12e)](_0x1593cd(0x128),()=>{const _0x3cc584=_0x1593cd;_0x4e5b6d(this[_0x3cc584(0x145)],_0x2807a0);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3e6c17,ObservableMixin as _0xee0281}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xd4f952}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4e85e5}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x6bbfeb}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x34c25d}from'../../utils/uploadutils.js';import{getImageUrls as _0x51c073,getImageDimension as _0x11e295}from'../../utils/editingutils.js';import{isAncestor as _0xe520ae}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0xee0281(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4dede3,_0x33f2f2,_0x2326ec){super(),this['_editor']=_0x4dede3,this['_dialog']=_0x33f2f2,this['_imageElement']=_0x2326ec,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x2ca89a=this['_imageElement'],_0x6cf3a9=_0x2ca89a['getAttribute']('uploadcareImageId'),_0x129470=_0x2ca89a['getAttribute']('src');if(_0x6cf3a9)await this['_loadImageInfo'](_0x6cf3a9,_0x129470);else{if(this['_imageCache']['has'](_0x129470)){const _0x47c4b3=this['_imageCache']['get'](_0x129470);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47c4b3['url'],this['imageDimension']=_0x47c4b3['dimension'],this['imageId']=_0x47c4b3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xac6f3e}=this['_editor'],t=_0xac6f3e['t'],_0xe8b97=new _0x6bbfeb(_0xac6f3e,this['imageStatus'],this['_attributes']);_0xe8b97['bind']('status')['to'](this,'imageStatus'),_0xe8b97['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe8b97['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe8b97['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe8b97,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4e85e5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe8b97,'position':_0xd4f952['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe8b97['focus']();},'onHide':()=>{_0xe8b97['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d1688=>!_0xe520ae(_0x1d1688,_0xe8b97['element'])}});}['_loadImageInfo'](_0x165e2e,_0x4554b8){return _0x34c25d['getInfo'](_0x165e2e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1ee2d7=>{const {width:_0x489261,height:_0x2c86bb}=_0x1ee2d7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4554b8,this['imageDimension']={'width':_0x489261,'height':_0x2c86bb},this['imageId']=_0x165e2e;})['catch'](_0x450f89=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x450f89['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1a260d,_0x5f139f){return this['_getImageAsFile'](_0x1a260d)['then'](_0x1e24b7=>_0x34c25d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5f139f['signal'],'file':_0x1e24b7,'onProgress':_0x359a5d=>{_0x359a5d&&_0x359a5d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x359a5d['value']));}}))['then'](_0x487284=>{const {width:_0x38058d,height:_0x3793a6}=_0x487284['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x487284['cdnUrl'],this['imageDimension']={'width':_0x38058d,'height':_0x3793a6},this['imageId']=_0x487284['uuid'],this['imageUploadProgress']=null;const _0x2870cb=_0x1a260d['getAttribute']('src');this['_imageCache']['set'](_0x2870cb,{'id':_0x487284['uuid'],'url':_0x487284['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xe6bbab=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe6bbab['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4251ad,_0x5ee044){_0x4251ad['on']('apply',(_0x45ad33,_0x1a403a)=>{this['_replaceImage'](_0x5ee044,_0x1a403a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4251ad['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4251ad['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f3343,_0x161c9a,_0x5b0367){const _0x47b804=this['_editor'],{width:_0x4d8f01,height:_0x1f7655}=_0x11e295(_0x161c9a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x363006,imageSources:_0x46d35d}=_0x51c073(_0x161c9a,_0x4d8f01);_0x47b804['model']['change'](_0x4fe462=>{if('$graveyard'===_0x3f3343['root']['rootName']){_0x47b804['execute']('insertImage',{'imageType':_0x3f3343['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f3343['getAttributes']()),'uploadcareImageId':_0x5b0367,'src':_0x363006,'sources':_0x46d35d,'width':_0x4d8f01,'height':_0x1f7655}});const _0x5c74c5=_0x3f3343['getChildren']();_0x3f3343=_0x47b804['model']['document']['selection']['getSelectedElement']();for(const _0x5cdf91 of _0x5c74c5)_0x4fe462['append'](_0x4fe462['cloneElement'](_0x5cdf91),_0x3f3343);}else _0x4fe462['setSelection'](_0x3f3343,'on'),_0x47b804['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f3343['getAttributes']()),'uploadcareImageId':_0x5b0367,'src':_0x363006,'sources':_0x46d35d,'width':_0x4d8f01,'height':_0x1f7655},_0x3f3343);_0x4fe462['setSelection'](_0x3f3343,'on');});}async['_getImageAsFile'](_0x2b3a89){const _0x2a453b=_0x3e6c17['window'],_0x5b1514=_0x3e6c17['document']['location']['href'],_0x3cb482=new _0x2a453b['URL'](_0x2b3a89['getAttribute']('src'),_0x5b1514);if('data:'===_0x3cb482['protocol']){const _0x1ac0fc=_0x3cb482['href']['split'](','),_0x517945=_0x1ac0fc[0x0]['match'](/:(.*?);/)[0x1],_0x3d07b5=_0x517945['split']('/')[0x1],_0xa58931=_0x2a453b['atob'](_0x1ac0fc[_0x1ac0fc['length']-0x1]);let _0x555b42=_0xa58931['length'];const _0x574378=new _0x2a453b['Uint8Array'](_0x555b42);for(;_0x555b42--;)_0x574378[_0x555b42]=_0xa58931['charCodeAt'](_0x555b42);return new _0x2a453b['File']([_0x574378],'image.'+_0x3d07b5,{'type':_0x517945});}const _0x3b17c2=_0x3cb482['href']['split']('/'),_0x1e92ce=_0x3b17c2[_0x3b17c2['length']-0x1],_0x1f1f95=_0x1e92ce['split']('.')[0x1];return _0x2a453b['fetch'](_0x3cb482['href'])['then'](_0x4fcebb=>_0x4fcebb['clone']()['blob']())['then'](_0x3e79dc=>new _0x2a453b['File']([_0x3e79dc],_0x1e92ce,{'type':'image/'+_0x1f1f95}));}}
23
+ import{global as _0x373a7c,ObservableMixin as _0x1fc160}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4bc959}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2eedb0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x54bec6}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2ca22a}from'../../utils/uploadutils.js';import{getImageUrls as _0x581460,getImageDimension as _0x3282f8}from'../../utils/editingutils.js';import{isAncestor as _0x1300d9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1fc160(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5b7b3a,_0x1455cd,_0x49f503){super(),this['_editor']=_0x5b7b3a,this['_dialog']=_0x1455cd,this['_imageElement']=_0x49f503,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x11a3ba=this['_imageElement'],_0x4664af=_0x11a3ba['getAttribute']('uploadcareImageId'),_0x197b50=_0x11a3ba['getAttribute']('src');if(_0x4664af)await this['_loadImageInfo'](_0x4664af,_0x197b50);else{if(this['_imageCache']['has'](_0x197b50)){const _0x62fe65=this['_imageCache']['get'](_0x197b50);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x62fe65['url'],this['imageDimension']=_0x62fe65['dimension'],this['imageId']=_0x62fe65['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf8caab}=this['_editor'],t=_0xf8caab['t'],_0x349944=new _0x54bec6(_0xf8caab,this['imageStatus'],this['_attributes']);_0x349944['bind']('status')['to'](this,'imageStatus'),_0x349944['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x349944['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x349944['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x349944,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2eedb0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x349944,'position':_0x4bc959['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x349944['focus']();},'onHide':()=>{_0x349944['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d4784=>!_0x1300d9(_0x4d4784,_0x349944['element'])}});}['_loadImageInfo'](_0x4bab84,_0x4e7fa){return _0x2ca22a['getInfo'](_0x4bab84,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3e885d=>{const {width:_0x3b3bfa,height:_0x331bf1}=_0x3e885d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e7fa,this['imageDimension']={'width':_0x3b3bfa,'height':_0x331bf1},this['imageId']=_0x4bab84;})['catch'](_0x423d3e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x423d3e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e3fa2,_0x5a6f3f){return this['_getImageAsFile'](_0x1e3fa2)['then'](_0x592cb9=>_0x2ca22a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5a6f3f['signal'],'file':_0x592cb9,'onProgress':_0x1f2950=>{_0x1f2950&&_0x1f2950['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f2950['value']));}}))['then'](_0x15465a=>{const {width:_0x48c37f,height:_0xc2283c}=_0x15465a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15465a['cdnUrl'],this['imageDimension']={'width':_0x48c37f,'height':_0xc2283c},this['imageId']=_0x15465a['uuid'],this['imageUploadProgress']=null;const _0x691e22=_0x1e3fa2['getAttribute']('src');this['_imageCache']['set'](_0x691e22,{'id':_0x15465a['uuid'],'url':_0x15465a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x980173=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x980173['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x101874,_0x73fc3b){_0x101874['on']('apply',(_0x26c26f,_0x14164e)=>{this['_replaceImage'](_0x73fc3b,_0x14164e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x101874['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x101874['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2944ff,_0x169d44,_0x202f2c){const _0x149dde=this['_editor'],{width:_0x421ded,height:_0x2cdbd9}=_0x3282f8(_0x169d44,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e2a83,imageSources:_0x2445e9}=_0x581460(_0x169d44,_0x421ded);_0x149dde['model']['change'](_0x3eb58a=>{if('$graveyard'===_0x2944ff['root']['rootName']){_0x149dde['execute']('insertImage',{'imageType':_0x2944ff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2944ff['getAttributes']()),'uploadcareImageId':_0x202f2c,'src':_0x3e2a83,'sources':_0x2445e9,'width':_0x421ded,'height':_0x2cdbd9}});const _0x1fbf25=_0x2944ff['getChildren']();_0x2944ff=_0x149dde['model']['document']['selection']['getSelectedElement']();for(const _0x1de236 of _0x1fbf25)_0x3eb58a['append'](_0x3eb58a['cloneElement'](_0x1de236),_0x2944ff);}else _0x3eb58a['setSelection'](_0x2944ff,'on'),_0x149dde['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2944ff['getAttributes']()),'uploadcareImageId':_0x202f2c,'src':_0x3e2a83,'sources':_0x2445e9,'width':_0x421ded,'height':_0x2cdbd9},_0x2944ff);_0x3eb58a['setSelection'](_0x2944ff,'on');});}async['_getImageAsFile'](_0x5bd9f3){const _0x3aac68=_0x373a7c['window'],_0x12ce9c=_0x373a7c['document']['location']['href'],_0x296ab4=new _0x3aac68['URL'](_0x5bd9f3['getAttribute']('src'),_0x12ce9c);if('data:'===_0x296ab4['protocol']){const _0xc40e1e=_0x296ab4['href']['split'](','),_0x429c19=_0xc40e1e[0x0]['match'](/:(.*?);/)[0x1],_0x259862=_0x429c19['split']('/')[0x1],_0x27c2be=_0x3aac68['atob'](_0xc40e1e[_0xc40e1e['length']-0x1]);let _0xb0fc93=_0x27c2be['length'];const _0x6ce8a3=new _0x3aac68['Uint8Array'](_0xb0fc93);for(;_0xb0fc93--;)_0x6ce8a3[_0xb0fc93]=_0x27c2be['charCodeAt'](_0xb0fc93);return new _0x3aac68['File']([_0x6ce8a3],'image.'+_0x259862,{'type':_0x429c19});}const _0x281dda=_0x296ab4['href']['split']('/'),_0x3abdc3=_0x281dda[_0x281dda['length']-0x1],_0x240a0e=_0x3abdc3['split']('.')[0x1];return _0x3aac68['fetch'](_0x296ab4['href'])['then'](_0x142a15=>_0x142a15['clone']()['blob']())['then'](_0x510ef6=>new _0x3aac68['File']([_0x510ef6],_0x3abdc3,{'type':'image/'+_0x240a0e}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c45(_0x5053af,_0x4a0dca){const _0x58f893=_0x58f8();return _0x2c45=function(_0x2c454d,_0x3c25d3){_0x2c454d=_0x2c454d-0x1bd;let _0x50f166=_0x58f893[_0x2c454d];return _0x50f166;},_0x2c45(_0x5053af,_0x4a0dca);}(function(_0x3f8037,_0x80a82d){const _0x11223f=_0x2c45,_0xd924c4=_0x3f8037();while(!![]){try{const _0x455a71=parseInt(_0x11223f(0x1c3))/0x1+-parseInt(_0x11223f(0x1c1))/0x2+parseInt(_0x11223f(0x1be))/0x3+parseInt(_0x11223f(0x1c6))/0x4*(-parseInt(_0x11223f(0x1cb))/0x5)+parseInt(_0x11223f(0x1bd))/0x6+parseInt(_0x11223f(0x1bf))/0x7+-parseInt(_0x11223f(0x1c9))/0x8;if(_0x455a71===_0x80a82d)break;else _0xd924c4['push'](_0xd924c4['shift']());}catch(_0x16ad91){_0xd924c4['push'](_0xd924c4['shift']());}}}(_0x58f8,0x59520));import{View as _0x5028e7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5028e7{constructor(_0x21fe85,_0x82844b){const _0x30cebc=_0x2c45;super(_0x21fe85);const _0x57f3bc=this[_0x30cebc(0x1c4)];this[_0x30cebc(0x1c5)](_0x30cebc(0x1cc),''),this[_0x30cebc(0x1ca)]({'tag':_0x30cebc(0x1c7),'attributes':{..._0x82844b,'class':[_0x30cebc(0x1c2),_0x30cebc(0x1c0)],'ctx-name':_0x30cebc(0x1c8),'cdn-url':_0x57f3bc['to'](_0x30cebc(0x1cc))}});}}function _0x58f8(){const _0xdbc4bc=['285615upUBkt','imageSrc','908178InkceQ','1057614AQSpuD','4904942jRSiVA','ck-uploadcare-theme','724724RxCdbk','uc-light','573895ollqwz','bindTemplate','set','36NeFmpP','uc-cloud-image-editor','image-edit','4289416ubjdVL','setTemplate'];_0x58f8=function(){return _0xdbc4bc;};return _0x58f8();}
23
+ (function(_0x272300,_0x1f7583){const _0x4e92a0=_0x1566,_0x2ca01c=_0x272300();while(!![]){try{const _0x52dd32=parseInt(_0x4e92a0(0x1f5))/0x1+parseInt(_0x4e92a0(0x202))/0x2*(-parseInt(_0x4e92a0(0x1f4))/0x3)+parseInt(_0x4e92a0(0x1ff))/0x4+-parseInt(_0x4e92a0(0x1fa))/0x5+-parseInt(_0x4e92a0(0x201))/0x6+parseInt(_0x4e92a0(0x1fe))/0x7*(parseInt(_0x4e92a0(0x1f3))/0x8)+parseInt(_0x4e92a0(0x1f8))/0x9;if(_0x52dd32===_0x1f7583)break;else _0x2ca01c['push'](_0x2ca01c['shift']());}catch(_0x120d59){_0x2ca01c['push'](_0x2ca01c['shift']());}}}(_0x32a4,0xb764f));function _0x1566(_0x594b93,_0xe01d74){const _0x32a4fc=_0x32a4();return _0x1566=function(_0x156639,_0x8a046e){_0x156639=_0x156639-0x1f3;let _0x109a98=_0x32a4fc[_0x156639];return _0x109a98;},_0x1566(_0x594b93,_0xe01d74);}function _0x32a4(){const _0x2b87db=['uc-cloud-image-editor','bindTemplate','13120686weeXHb','ck-uploadcare-theme','5144430wXUEph','set','setTemplate','image-edit','77BBleXe','5242528oFpPIF','uc-light','5785542IVdHBt','42ADMoEY','imageSrc','276344UiEDDm','133389ZMRqql','529590IlqVMY'];_0x32a4=function(){return _0x2b87db;};return _0x32a4();}import{View as _0x39743c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x39743c{constructor(_0x11cb50,_0x337d3a){const _0x16b221=_0x1566;super(_0x11cb50);const _0x1ca015=this[_0x16b221(0x1f7)];this[_0x16b221(0x1fb)](_0x16b221(0x203),''),this[_0x16b221(0x1fc)]({'tag':_0x16b221(0x1f6),'attributes':{..._0x337d3a,'class':[_0x16b221(0x200),_0x16b221(0x1f9)],'ctx-name':_0x16b221(0x1fd),'cdn-url':_0x1ca015['to'](_0x16b221(0x203))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3d132c}from'ckeditor5/src/icons.js';import{ButtonView as _0x5ae052,IconView as _0x4464be,View as _0x4feb0b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4feb0b{constructor(_0x47a4f6){super(_0x47a4f6);const t=_0x47a4f6['t'];this['set']('errorType',null);const _0x4ced6f=new _0x5ae052(_0x47a4f6);_0x4ced6f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4ced6f['withText']=!0x0,_0x4ced6f['class']='ck-button-action',_0x4ced6f['on']('execute',()=>{this['fire']('retry');}),_0x4ced6f['bind']('isVisible')['to'](this,'errorType',_0x49a309=>'NotFound'!==_0x49a309);const _0x3598e9=new _0x4464be();_0x3598e9['content']=_0x3d132c,_0x3598e9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x145f09=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x3598e9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x145f09['to']('errorType',_0xceb3d2=>t('NotFound'!==_0xceb3d2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4ced6f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x541ed8}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f5f5c,IconView as _0x4ce537,View as _0x846aa9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x846aa9{constructor(_0x4419d2){super(_0x4419d2);const t=_0x4419d2['t'];this['set']('errorType',null);const _0x1b8a9c=new _0x3f5f5c(_0x4419d2);_0x1b8a9c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b8a9c['withText']=!0x0,_0x1b8a9c['class']='ck-button-action',_0x1b8a9c['on']('execute',()=>{this['fire']('retry');}),_0x1b8a9c['bind']('isVisible')['to'](this,'errorType',_0x47c885=>'NotFound'!==_0x47c885);const _0x314507=new _0x4ce537();_0x314507['content']=_0x541ed8,_0x314507['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x43b970=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x314507,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x43b970['to']('errorType',_0x2c1e87=>t('NotFound'!==_0x2c1e87?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b8a9c]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x3f902f,View as _0x30808a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x30808a{constructor(_0x1da1c1){super(_0x1da1c1);const t=_0x1da1c1['t'],_0x5e5e26=this['bindTemplate'],_0x33808b=new _0x3f902f();_0x33808b['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x33808b,{'text':_0x5e5e26['to']('imageUploadProgress',_0x3193f1=>t('Loading\x20image...')+'\x20('+(_0x3193f1||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x34e1a5,View as _0x56ca3f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x56ca3f{constructor(_0x560f63){super(_0x560f63);const t=_0x560f63['t'],_0x5c5dfd=this['bindTemplate'],_0x2446ad=new _0x34e1a5();_0x2446ad['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x2446ad,{'text':_0x5c5dfd['to']('imageUploadProgress',_0x252eb5=>t('Loading\x20image...')+'\x20('+(_0x252eb5||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46bc3b=_0x4cce;(function(_0x2e3325,_0x457609){const _0x15790f=_0x4cce,_0x6b158c=_0x2e3325();while(!![]){try{const _0x326526=-parseInt(_0x15790f(0x20c))/0x1*(-parseInt(_0x15790f(0x203))/0x2)+parseInt(_0x15790f(0x1f3))/0x3*(-parseInt(_0x15790f(0x201))/0x4)+-parseInt(_0x15790f(0x209))/0x5*(-parseInt(_0x15790f(0x1e5))/0x6)+-parseInt(_0x15790f(0x1f4))/0x7*(parseInt(_0x15790f(0x1eb))/0x8)+-parseInt(_0x15790f(0x1ef))/0x9*(-parseInt(_0x15790f(0x213))/0xa)+-parseInt(_0x15790f(0x1ee))/0xb+parseInt(_0x15790f(0x218))/0xc*(-parseInt(_0x15790f(0x1f6))/0xd);if(_0x326526===_0x457609)break;else _0x6b158c['push'](_0x6b158c['shift']());}catch(_0x5b00e4){_0x6b158c['push'](_0x6b158c['shift']());}}}(_0x32ac,0x4a1a0));function _0x4cce(_0x35d1d1,_0x5531ed){const _0x32acb4=_0x32ac();return _0x4cce=function(_0x4ccef,_0x468ea7){_0x4ccef=_0x4ccef-0x1df;let _0x2a73d1=_0x32acb4[_0x4ccef];return _0x2a73d1;},_0x4cce(_0x35d1d1,_0x5531ed);}import{View as _0x2099db}from'ckeditor5/src/ui.js';function _0x32ac(){const _0x5dcecb=['5280099DDsOZi','3942tlcwZH','uc-cloud-image-editor','ck-uploadcare-form','clear','122007ZyDMMP','1351YyAqPe','addEventListener','13zWyklG','_focusableView','filter','uploading','getFocusableElement','once','focus','error','apply','retry','element','4RsGSOU','target','422WrwVfO','set','div','_errorView','render','_addUploadcareImageEditorListeners','2425ZZubSU','length','nodeName','2432DubbQx','_setView','_addErrorViewListeners','addMany','ck-reset_all-excluded','ready','observe','11120SADzhW','cancel','_waitForImageEditorComponent','_loadingView','status','4122852TJlikT','setTemplate','toLowerCase','disconnect','cdnUrl','change:status','_items','4026SdeqJZ','add','createCollection','_editingView','detail','querySelector','6544keavHh','addedNodes','fire'];_0x32ac=function(){return _0x5dcecb;};return _0x32ac();}import{UploadcareImageEditFormLoadingView as _0xcbf1bd}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1d1562}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x10954a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3331ae}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3331ae{[_0x46bc3b(0x1e4)];[_0x46bc3b(0x216)];[_0x46bc3b(0x206)];[_0x46bc3b(0x1e8)];[_0x46bc3b(0x1f7)];constructor(_0x3ec74f,_0x12d42d,_0x5b1fa1){const _0x445edd=_0x46bc3b;super(_0x3ec74f),this[_0x445edd(0x1e4)]=this[_0x445edd(0x1e7)](),this[_0x445edd(0x216)]=new _0xcbf1bd(_0x3ec74f),this[_0x445edd(0x206)]=new _0x1d1562(_0x3ec74f),this[_0x445edd(0x1e8)]=new _0x10954a(_0x3ec74f,_0x5b1fa1),this[_0x445edd(0x1f7)]=new _0x2099db(_0x3ec74f),this[_0x445edd(0x1f7)][_0x445edd(0x1df)](this[_0x445edd(0x1fa)]()),this[_0x445edd(0x204)](_0x445edd(0x217),_0x12d42d),this[_0x445edd(0x1df)]({'tag':_0x445edd(0x205),'attributes':{'class':['ck',_0x445edd(0x210),_0x445edd(0x1f1)],'tabindex':'-1'},'children':this[_0x445edd(0x1e4)]}),this[_0x445edd(0x20d)](),this[_0x445edd(0x1fb)](_0x445edd(0x207),()=>{const _0x1d8b27=_0x445edd;this[_0x1d8b27(0x215)](this[_0x1d8b27(0x200)],_0x5c7a58=>{const _0x35993a=_0x1d8b27;this[_0x35993a(0x208)](_0x5c7a58);});}),this['on'](_0x445edd(0x1e3),()=>{const _0x3593dc=_0x445edd;this[_0x3593dc(0x20d)]();}),this[_0x445edd(0x20e)]();}[_0x46bc3b(0x1fc)](){const _0x2a31b0=_0x46bc3b;this[_0x2a31b0(0x200)][_0x2a31b0(0x1fc)]();}[_0x46bc3b(0x20d)](){const _0x6e558d=_0x46bc3b;switch(this[_0x6e558d(0x1e4)][_0x6e558d(0x1f2)](),this[_0x6e558d(0x217)]){case _0x6e558d(0x1f9):this[_0x6e558d(0x1e4)][_0x6e558d(0x1e6)](this[_0x6e558d(0x216)]);break;case _0x6e558d(0x1fd):this[_0x6e558d(0x1e4)][_0x6e558d(0x1e6)](this[_0x6e558d(0x206)]);break;case _0x6e558d(0x211):this[_0x6e558d(0x1e4)][_0x6e558d(0x20f)]([this[_0x6e558d(0x1e8)],this[_0x6e558d(0x1f7)]]);}}[_0x46bc3b(0x215)](_0x3e8559,_0x3c9f3e){const _0x1da872=_0x46bc3b,_0x1a6161=_0x1da872(0x1f0),_0x14c90c=_0x3e8559[_0x1da872(0x1ea)](_0x1a6161);if(_0x14c90c)return _0x3c9f3e(_0x14c90c);const _0x57c2c0=new MutationObserver(_0x512ba6=>{const _0x4bdf64=_0x1da872,_0x24f1fa=_0x512ba6[_0x4bdf64(0x1f8)](_0x17307f=>_0x17307f[_0x4bdf64(0x202)]===_0x3e8559&&_0x17307f[_0x4bdf64(0x1ec)][_0x4bdf64(0x20a)]>0x0&&_0x17307f[_0x4bdf64(0x1ec)][0x0][_0x4bdf64(0x20b)][_0x4bdf64(0x1e0)]()===_0x1a6161);_0x24f1fa[_0x4bdf64(0x20a)]&&(_0x57c2c0[_0x4bdf64(0x1e1)](),_0x3c9f3e(_0x24f1fa[0x0][_0x4bdf64(0x1ec)][0x0]));});_0x57c2c0[_0x1da872(0x212)](_0x3e8559,{'childList':!0x0,'subtree':!0x0});}[_0x46bc3b(0x208)](_0x2b6740){const _0x5d4b9f=_0x46bc3b;_0x2b6740[_0x5d4b9f(0x1f5)](_0x5d4b9f(0x1fe),_0x87f0ad=>{const _0x449d3c=_0x5d4b9f;this[_0x449d3c(0x1ed)](_0x449d3c(0x1fe),{'imageSrc':_0x87f0ad[_0x449d3c(0x1e9)][_0x449d3c(0x1e2)]});}),_0x2b6740[_0x5d4b9f(0x1f5)](_0x5d4b9f(0x214),()=>{const _0x571dd7=_0x5d4b9f;this[_0x571dd7(0x1ed)](_0x571dd7(0x214));});}[_0x46bc3b(0x20e)](){const _0x59a7a8=_0x46bc3b;this[_0x59a7a8(0x206)]['on'](_0x59a7a8(0x1ff),()=>{const _0x36e504=_0x59a7a8;this[_0x36e504(0x1ed)](_0x36e504(0x1ff));});}}
23
+ const _0x173fb=_0x5546;(function(_0x4e05bf,_0x3fbee0){const _0x192f7b=_0x5546,_0x1f02b5=_0x4e05bf();while(!![]){try{const _0x12ad2a=parseInt(_0x192f7b(0x1e1))/0x1*(parseInt(_0x192f7b(0x202))/0x2)+-parseInt(_0x192f7b(0x207))/0x3*(parseInt(_0x192f7b(0x1de))/0x4)+parseInt(_0x192f7b(0x1ff))/0x5+-parseInt(_0x192f7b(0x1d7))/0x6*(parseInt(_0x192f7b(0x1e9))/0x7)+parseInt(_0x192f7b(0x1e2))/0x8+parseInt(_0x192f7b(0x205))/0x9+parseInt(_0x192f7b(0x1db))/0xa*(-parseInt(_0x192f7b(0x1dc))/0xb);if(_0x12ad2a===_0x3fbee0)break;else _0x1f02b5['push'](_0x1f02b5['shift']());}catch(_0x29d63f){_0x1f02b5['push'](_0x1f02b5['shift']());}}}(_0x4ec6,0x486b6));function _0x5546(_0x42e6e3,_0xa0697){const _0x4ec647=_0x4ec6();return _0x5546=function(_0x5546c0,_0x30bedd){_0x5546c0=_0x5546c0-0x1d0;let _0x587696=_0x4ec647[_0x5546c0];return _0x587696;},_0x5546(_0x42e6e3,_0xa0697);}import{View as _0x510d91}from'ckeditor5/src/ui.js';function _0x4ec6(){const _0x3446ac=['cancel','ready','disconnect','target','nodeName','addMany','3258IBkYKh','fire','getFocusableElement','element','3970jJuXwD','8701YNLJcf','ck-reset_all-excluded','7256eQjjrF','_addErrorViewListeners','set','6131vMJIoJ','3230352MpNhEL','change:status','add','clear','addedNodes','filter','createCollection','7035itxWTb','setTemplate','once','_waitForImageEditorComponent','_loadingView','uc-cloud-image-editor','observe','ck-uploadcare-form','retry','apply','length','status','focus','addEventListener','toLowerCase','_items','div','_addUploadcareImageEditorListeners','render','cdnUrl','_focusableView','_errorView','2162865vwexCr','querySelector','_editingView','62zIblro','_setView','error','2981682MAiCZD','detail','333oiEXve','uploading'];_0x4ec6=function(){return _0x3446ac;};return _0x4ec6();}import{UploadcareImageEditFormLoadingView as _0x245b48}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2812b7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x517d36}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x237122}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x237122{[_0x173fb(0x1f8)];[_0x173fb(0x1ed)];[_0x173fb(0x1fe)];[_0x173fb(0x201)];[_0x173fb(0x1fd)];constructor(_0xf57ef0,_0x463cb4,_0x5ce3b2){const _0x3181f2=_0x173fb;super(_0xf57ef0),this[_0x3181f2(0x1f8)]=this[_0x3181f2(0x1e8)](),this[_0x3181f2(0x1ed)]=new _0x245b48(_0xf57ef0),this[_0x3181f2(0x1fe)]=new _0x2812b7(_0xf57ef0),this[_0x3181f2(0x201)]=new _0x517d36(_0xf57ef0,_0x5ce3b2),this[_0x3181f2(0x1fd)]=new _0x510d91(_0xf57ef0),this[_0x3181f2(0x1fd)][_0x3181f2(0x1ea)](this[_0x3181f2(0x1d9)]()),this[_0x3181f2(0x1e0)](_0x3181f2(0x1f4),_0x463cb4),this[_0x3181f2(0x1ea)]({'tag':_0x3181f2(0x1f9),'attributes':{'class':['ck',_0x3181f2(0x1dd),_0x3181f2(0x1f0)],'tabindex':'-1'},'children':this[_0x3181f2(0x1f8)]}),this[_0x3181f2(0x203)](),this[_0x3181f2(0x1eb)](_0x3181f2(0x1fb),()=>{const _0x1410e1=_0x3181f2;this[_0x1410e1(0x1ec)](this[_0x1410e1(0x1da)],_0x5c6252=>{const _0x592767=_0x1410e1;this[_0x592767(0x1fa)](_0x5c6252);});}),this['on'](_0x3181f2(0x1e3),()=>{const _0xda5729=_0x3181f2;this[_0xda5729(0x203)]();}),this[_0x3181f2(0x1df)]();}[_0x173fb(0x1f5)](){const _0x109b2e=_0x173fb;this[_0x109b2e(0x1da)][_0x109b2e(0x1f5)]();}[_0x173fb(0x203)](){const _0xb8edcf=_0x173fb;switch(this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e5)](),this[_0xb8edcf(0x1f4)]){case _0xb8edcf(0x1d0):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e4)](this[_0xb8edcf(0x1ed)]);break;case _0xb8edcf(0x204):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e4)](this[_0xb8edcf(0x1fe)]);break;case _0xb8edcf(0x1d2):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1d6)]([this[_0xb8edcf(0x201)],this[_0xb8edcf(0x1fd)]]);}}[_0x173fb(0x1ec)](_0xc3d64f,_0x693cec){const _0x1f1ec6=_0x173fb,_0x3fb049=_0x1f1ec6(0x1ee),_0x56819f=_0xc3d64f[_0x1f1ec6(0x200)](_0x3fb049);if(_0x56819f)return _0x693cec(_0x56819f);const _0x585bd9=new MutationObserver(_0x5db0ef=>{const _0xbfb28=_0x1f1ec6,_0x3c7c1f=_0x5db0ef[_0xbfb28(0x1e7)](_0x41970e=>_0x41970e[_0xbfb28(0x1d4)]===_0xc3d64f&&_0x41970e[_0xbfb28(0x1e6)][_0xbfb28(0x1f3)]>0x0&&_0x41970e[_0xbfb28(0x1e6)][0x0][_0xbfb28(0x1d5)][_0xbfb28(0x1f7)]()===_0x3fb049);_0x3c7c1f[_0xbfb28(0x1f3)]&&(_0x585bd9[_0xbfb28(0x1d3)](),_0x693cec(_0x3c7c1f[0x0][_0xbfb28(0x1e6)][0x0]));});_0x585bd9[_0x1f1ec6(0x1ef)](_0xc3d64f,{'childList':!0x0,'subtree':!0x0});}[_0x173fb(0x1fa)](_0x8b58b){const _0x2d57d5=_0x173fb;_0x8b58b[_0x2d57d5(0x1f6)](_0x2d57d5(0x1f2),_0x46aa87=>{const _0x4d1170=_0x2d57d5;this[_0x4d1170(0x1d8)](_0x4d1170(0x1f2),{'imageSrc':_0x46aa87[_0x4d1170(0x206)][_0x4d1170(0x1fc)]});}),_0x8b58b[_0x2d57d5(0x1f6)](_0x2d57d5(0x1d1),()=>{const _0xda0a63=_0x2d57d5;this[_0xda0a63(0x1d8)](_0xda0a63(0x1d1));});}[_0x173fb(0x1df)](){const _0x45b29b=_0x173fb;this[_0x45b29b(0x1fe)]['on'](_0x45b29b(0x1f1),()=>{const _0x3bdd42=_0x45b29b;this[_0x3bdd42(0x1d8)](_0x3bdd42(0x1f1));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1633aa=_0x21e6;(function(_0x3e144c,_0x521c3f){const _0x41255c=_0x21e6,_0x35e811=_0x3e144c();while(!![]){try{const _0x259669=parseInt(_0x41255c(0x1a1))/0x1+-parseInt(_0x41255c(0x197))/0x2*(parseInt(_0x41255c(0x19e))/0x3)+parseInt(_0x41255c(0x1a9))/0x4+-parseInt(_0x41255c(0x199))/0x5*(parseInt(_0x41255c(0x193))/0x6)+parseInt(_0x41255c(0x19c))/0x7+parseInt(_0x41255c(0x1a2))/0x8+-parseInt(_0x41255c(0x1aa))/0x9;if(_0x259669===_0x521c3f)break;else _0x35e811['push'](_0x35e811['shift']());}catch(_0x20df3b){_0x35e811['push'](_0x35e811['shift']());}}}(_0x57fe,0x388a2));function _0x21e6(_0x2ae086,_0x29838f){const _0x57fe6e=_0x57fe();return _0x21e6=function(_0x21e66e,_0x4e0b0b){_0x21e66e=_0x21e66e-0x191;let _0x2a884d=_0x57fe6e[_0x21e66e];return _0x2a884d;},_0x21e6(_0x2ae086,_0x29838f);}import{Command as _0x1b07c5}from'ckeditor5/src/core.js';import{Dialog as _0x41a83f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xd19c26}from'./ui/uploadcareimageeditcontroller.js';function _0x57fe(){const _0x5c6933=['uploadcare.allowExternalImagesEditing','imageInline','plugins','requires','unbind','1539612qNYhMZ','2878074IsQgjE','bind','refresh','get','execute','element','model','_isEditable','6LMchVT','config','isActive','imageEditController','3970SRPPrK','selection','2057630qLLlzY','getSelectedElement','set','2903229XMxbBz','document','543gztDqO','editor','imageBlock','273001UkhbIb','1996256nwnIyB','isEnabled'];_0x57fe=function(){return _0x5c6933;};return _0x57fe();}import{createEditabilityChecker as _0x47a8ee}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1b07c5{[_0x1633aa(0x196)];static get[_0x1633aa(0x1a7)](){return[_0x41a83f];}[_0x1633aa(0x192)];constructor(_0x1263db){const _0x1bb31a=_0x1633aa;super(_0x1263db),this[_0x1bb31a(0x196)]=void 0x0,this[_0x1bb31a(0x192)]=_0x47a8ee(_0x1263db[_0x1bb31a(0x194)][_0x1bb31a(0x1ad)](_0x1bb31a(0x1a4))||[]),this[_0x1bb31a(0x19b)]({'isActive':!0x1});}[_0x1633aa(0x1ac)](){const _0x3926a5=_0x1633aa,_0x4bb25c=this[_0x3926a5(0x19f)][_0x3926a5(0x191)][_0x3926a5(0x19d)][_0x3926a5(0x198)][_0x3926a5(0x19a)]();this[_0x3926a5(0x1a3)]=this[_0x3926a5(0x192)](_0x4bb25c);}[_0x1633aa(0x1ae)](){const _0x17070f=_0x1633aa;this[_0x17070f(0x196)]&&(this[_0x17070f(0x1a8)](_0x17070f(0x195)),this[_0x17070f(0x196)]=void 0x0);const _0x43a6fc=this[_0x17070f(0x19f)][_0x17070f(0x191)][_0x17070f(0x19d)][_0x17070f(0x198)][_0x17070f(0x19a)]();_0x43a6fc&&(_0x43a6fc['is'](_0x17070f(0x1af),_0x17070f(0x1a0))||_0x43a6fc['is'](_0x17070f(0x1af),_0x17070f(0x1a5)))&&(this[_0x17070f(0x196)]=new _0xd19c26(this[_0x17070f(0x19f)],this[_0x17070f(0x19f)][_0x17070f(0x1a6)][_0x17070f(0x1ad)](_0x41a83f),_0x43a6fc),this[_0x17070f(0x1ab)](_0x17070f(0x195))['to'](this[_0x17070f(0x196)],_0x17070f(0x195)));}}
23
+ const _0x14f153=_0x32e9;(function(_0x16200a,_0x79c10){const _0x194cde=_0x32e9,_0x4e9cc1=_0x16200a();while(!![]){try{const _0x3fa6cf=-parseInt(_0x194cde(0xb5))/0x1*(-parseInt(_0x194cde(0xb0))/0x2)+parseInt(_0x194cde(0x9d))/0x3+parseInt(_0x194cde(0xa5))/0x4+-parseInt(_0x194cde(0xb1))/0x5*(-parseInt(_0x194cde(0xaa))/0x6)+parseInt(_0x194cde(0x9b))/0x7+-parseInt(_0x194cde(0x9e))/0x8+-parseInt(_0x194cde(0x97))/0x9*(parseInt(_0x194cde(0xa4))/0xa);if(_0x3fa6cf===_0x79c10)break;else _0x4e9cc1['push'](_0x4e9cc1['shift']());}catch(_0x1ae3cc){_0x4e9cc1['push'](_0x4e9cc1['shift']());}}}(_0x112d,0x23c49));import{Command as _0x327cdc}from'ckeditor5/src/core.js';import{Dialog as _0x57c4ea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4df8d4}from'./ui/uploadcareimageeditcontroller.js';function _0x112d(){const _0x48dfeb=['plugins','unbind','editor','element','isEnabled','62jgkGxp','65qnNxdo','execute','imageBlock','bind','746MEScWF','imageInline','79209flobiR','refresh','_isEditable','requires','9184quRysn','uploadcare.allowExternalImagesEditing','370590CqVqps','671472FwQkNp','config','isActive','set','document','selection','190GCXKCM','714736uPSeho','get','model','getSelectedElement','imageEditController','32772WRMudt'];_0x112d=function(){return _0x48dfeb;};return _0x112d();}function _0x32e9(_0x278abc,_0x505ae3){const _0x112d4f=_0x112d();return _0x32e9=function(_0x32e933,_0xdc744){_0x32e933=_0x32e933-0x97;let _0x2f375c=_0x112d4f[_0x32e933];return _0x2f375c;},_0x32e9(_0x278abc,_0x505ae3);}import{createEditabilityChecker as _0x236f51}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x327cdc{[_0x14f153(0xa9)];static get[_0x14f153(0x9a)](){return[_0x57c4ea];}[_0x14f153(0x99)];constructor(_0x46bd8c){const _0x13a408=_0x14f153;super(_0x46bd8c),this[_0x13a408(0xa9)]=void 0x0,this[_0x13a408(0x99)]=_0x236f51(_0x46bd8c[_0x13a408(0x9f)][_0x13a408(0xa6)](_0x13a408(0x9c))||[]),this[_0x13a408(0xa1)]({'isActive':!0x1});}[_0x14f153(0x98)](){const _0x59217a=_0x14f153,_0x5c26fc=this[_0x59217a(0xad)][_0x59217a(0xa7)][_0x59217a(0xa2)][_0x59217a(0xa3)][_0x59217a(0xa8)]();this[_0x59217a(0xaf)]=this[_0x59217a(0x99)](_0x5c26fc);}[_0x14f153(0xb2)](){const _0x2b1c7c=_0x14f153;this[_0x2b1c7c(0xa9)]&&(this[_0x2b1c7c(0xac)](_0x2b1c7c(0xa0)),this[_0x2b1c7c(0xa9)]=void 0x0);const _0x1cebe1=this[_0x2b1c7c(0xad)][_0x2b1c7c(0xa7)][_0x2b1c7c(0xa2)][_0x2b1c7c(0xa3)][_0x2b1c7c(0xa8)]();_0x1cebe1&&(_0x1cebe1['is'](_0x2b1c7c(0xae),_0x2b1c7c(0xb3))||_0x1cebe1['is'](_0x2b1c7c(0xae),_0x2b1c7c(0xb6)))&&(this[_0x2b1c7c(0xa9)]=new _0x4df8d4(this[_0x2b1c7c(0xad)],this[_0x2b1c7c(0xad)][_0x2b1c7c(0xab)][_0x2b1c7c(0xa6)](_0x57c4ea),_0x1cebe1),this[_0x2b1c7c(0xb4)](_0x2b1c7c(0xa0))['to'](this[_0x2b1c7c(0xa9)],_0x2b1c7c(0xa0)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ebe(_0x5f1c82,_0x414f8f){const _0x483a8a=_0x483a();return _0x4ebe=function(_0x4ebe21,_0x37fa8e){_0x4ebe21=_0x4ebe21-0x1bd;let _0x2723af=_0x483a8a[_0x4ebe21];return _0x2723af;},_0x4ebe(_0x5f1c82,_0x414f8f);}function _0x483a(){const _0x932f2b=['768464TyaZvw','isPremiumPlugin','ImageUtils','8ljjEPO','uploadcareImageReplace','15kdQPfs','requires','init','uploadcareImageEdit','3SOZCfd','167917CzqIbx','16301170lSugpg','ImageEditing','UploadcareImageEditEditing','7857036ENaXil','2744542jrjxTa','isOfficialPlugin','add','pluginName','commands','12968820sJRHtU','9595852LeJakE'];_0x483a=function(){return _0x932f2b;};return _0x483a();}const _0x6ca2a0=_0x4ebe;(function(_0x5ca54d,_0x424d2c){const _0x51e07c=_0x4ebe,_0x5846b9=_0x5ca54d();while(!![]){try{const _0x248ac6=parseInt(_0x51e07c(0x1cf))/0x1+parseInt(_0x51e07c(0x1be))/0x2*(parseInt(_0x51e07c(0x1ce))/0x3)+-parseInt(_0x51e07c(0x1c5))/0x4*(parseInt(_0x51e07c(0x1ca))/0x5)+-parseInt(_0x51e07c(0x1bd))/0x6+-parseInt(_0x51e07c(0x1c4))/0x7*(-parseInt(_0x51e07c(0x1c8))/0x8)+parseInt(_0x51e07c(0x1c3))/0x9+-parseInt(_0x51e07c(0x1d0))/0xa;if(_0x248ac6===_0x424d2c)break;else _0x5846b9['push'](_0x5846b9['shift']());}catch(_0x596037){_0x5846b9['push'](_0x5846b9['shift']());}}}(_0x483a,0xcc1c1));import{Plugin as _0x428561}from'ckeditor5/src/core.js';import{Notification as _0x3de100}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x133bc1}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x38dc2f}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4f0044}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x428561{static get[_0x6ca2a0(0x1c1)](){const _0x503a01=_0x6ca2a0;return _0x503a01(0x1d2);}static get[_0x6ca2a0(0x1cb)](){const _0x33c51c=_0x6ca2a0;return[_0x4f0044,_0x3de100,_0x33c51c(0x1c7),_0x33c51c(0x1d1)];}static get[_0x6ca2a0(0x1bf)](){return!0x0;}static get[_0x6ca2a0(0x1c6)](){return!0x0;}[_0x6ca2a0(0x1cc)](){const _0x180282=_0x6ca2a0,{editor:_0x4be369}=this;_0x4be369[_0x180282(0x1c2)][_0x180282(0x1c0)](_0x180282(0x1cd),new _0x133bc1(_0x4be369)),_0x4be369[_0x180282(0x1c2)][_0x180282(0x1c0)](_0x180282(0x1c9),new _0x38dc2f(_0x4be369));}}
23
+ function _0x390e(_0x2677d9,_0x4a0419){const _0x6f8286=_0x6f82();return _0x390e=function(_0x390e36,_0x1ac7d1){_0x390e36=_0x390e36-0x82;let _0x5a6eef=_0x6f8286[_0x390e36];return _0x5a6eef;},_0x390e(_0x2677d9,_0x4a0419);}const _0x2f520b=_0x390e;(function(_0x4cbd39,_0x4ce4c6){const _0x3ce356=_0x390e,_0x2607c4=_0x4cbd39();while(!![]){try{const _0x3d3374=-parseInt(_0x3ce356(0x85))/0x1+-parseInt(_0x3ce356(0x8e))/0x2*(parseInt(_0x3ce356(0x97))/0x3)+parseInt(_0x3ce356(0x94))/0x4+parseInt(_0x3ce356(0x90))/0x5*(-parseInt(_0x3ce356(0x8b))/0x6)+-parseInt(_0x3ce356(0x95))/0x7*(parseInt(_0x3ce356(0x83))/0x8)+-parseInt(_0x3ce356(0x84))/0x9*(-parseInt(_0x3ce356(0x99))/0xa)+parseInt(_0x3ce356(0x91))/0xb*(parseInt(_0x3ce356(0x8c))/0xc);if(_0x3d3374===_0x4ce4c6)break;else _0x2607c4['push'](_0x2607c4['shift']());}catch(_0x36da68){_0x2607c4['push'](_0x2607c4['shift']());}}}(_0x6f82,0xc511a));import{Plugin as _0x1ff4e2}from'ckeditor5/src/core.js';function _0x6f82(){const _0x2bea17=['isPremiumPlugin','2419986IGvRyf','9197868ACfDPj','requires','2FaKCnJ','UploadcareImageEditEditing','5GnFGAs','11cvxPJX','pluginName','init','3682844dGvgUL','26761lQeHxC','isOfficialPlugin','2462781hfEELt','commands','40WoEoGq','ImageEditing','1808PqWYxZ','3095280IOxEQe','167430tpLmhV','uploadcareImageReplace','add','uploadcareImageEdit','ImageUtils'];_0x6f82=function(){return _0x2bea17;};return _0x6f82();}import{Notification as _0x145b2f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3ac76a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x42e467}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4846bf}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1ff4e2{static get[_0x2f520b(0x92)](){const _0x7e0eeb=_0x2f520b;return _0x7e0eeb(0x8f);}static get[_0x2f520b(0x8d)](){const _0x282f62=_0x2f520b;return[_0x4846bf,_0x145b2f,_0x282f62(0x89),_0x282f62(0x82)];}static get[_0x2f520b(0x96)](){return!0x0;}static get[_0x2f520b(0x8a)](){return!0x0;}[_0x2f520b(0x93)](){const _0x123557=_0x2f520b,{editor:_0x17d81d}=this;_0x17d81d[_0x123557(0x98)][_0x123557(0x87)](_0x123557(0x88),new _0x3ac76a(_0x17d81d)),_0x17d81d[_0x123557(0x98)][_0x123557(0x87)](_0x123557(0x86),new _0x42e467(_0x17d81d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x429278}from'ckeditor5/src/core.js';import{ButtonView as _0x4b813a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2e1b19}from'ckeditor5/src/icons.js';import{createElement as _0x38c0df}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x429278{['_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 _0x4c08e4=this['editor'];_0x4c08e4['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa83220=>{const _0x1dde33=_0x4c08e4['commands']['get']('uploadcareImageEdit'),_0xac268c=new _0x4b813a(_0xa83220),t=_0xa83220['t'];return _0xac268c['set']({'icon':_0x2e1b19,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xac268c['bind']('isEnabled')['to'](_0x1dde33),_0xac268c['bind']('isOn')['to'](_0x1dde33,'isActive'),this['listenTo'](_0xac268c,'execute',()=>{_0x4c08e4['execute']('uploadcareImageEdit'),_0x4c08e4['editing']['view']['focus']();}),_0xac268c;}),this['_initConfig']();}['_initConfig'](){const _0x9c25af=_0x38c0df(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9c25af),this['listenTo'](this['editor'],'destroy',()=>{_0x9c25af['remove']();});}}
23
+ import{Plugin as _0x436bb8}from'ckeditor5/src/core.js';import{ButtonView as _0x489f4c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x39b662}from'ckeditor5/src/icons.js';import{createElement as _0x36ee01}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x436bb8{['_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 _0x449155=this['editor'];_0x449155['ui']['componentFactory']['add']('uploadcareImageEdit',_0x135d56=>{const _0x382840=_0x449155['commands']['get']('uploadcareImageEdit'),_0x5a487f=new _0x489f4c(_0x135d56),t=_0x135d56['t'];return _0x5a487f['set']({'icon':_0x39b662,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5a487f['bind']('isEnabled')['to'](_0x382840),_0x5a487f['bind']('isOn')['to'](_0x382840,'isActive'),this['listenTo'](_0x5a487f,'execute',()=>{_0x449155['execute']('uploadcareImageEdit'),_0x449155['editing']['view']['focus']();}),_0x5a487f;}),this['_initConfig']();}['_initConfig'](){const _0x315c36=_0x36ee01(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x315c36),this['listenTo'](this['editor'],'destroy',()=>{_0x315c36['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ef9(_0x5645bc,_0x588e3b){const _0x2bf66a=_0x2bf6();return _0x2ef9=function(_0x2ef9f3,_0x466e03){_0x2ef9f3=_0x2ef9f3-0x174;let _0x58adac=_0x2bf66a[_0x2ef9f3];return _0x58adac;},_0x2ef9(_0x5645bc,_0x588e3b);}const _0x1017db=_0x2ef9;(function(_0x78fe8a,_0xff9e9c){const _0x425886=_0x2ef9,_0x37b9f5=_0x78fe8a();while(!![]){try{const _0xaad07f=-parseInt(_0x425886(0x17f))/0x1+parseInt(_0x425886(0x179))/0x2+-parseInt(_0x425886(0x184))/0x3+parseInt(_0x425886(0x187))/0x4+parseInt(_0x425886(0x17b))/0x5*(-parseInt(_0x425886(0x17a))/0x6)+parseInt(_0x425886(0x17c))/0x7+-parseInt(_0x425886(0x175))/0x8*(parseInt(_0x425886(0x180))/0x9);if(_0xaad07f===_0xff9e9c)break;else _0x37b9f5['push'](_0x37b9f5['shift']());}catch(_0x4d58b8){_0x37b9f5['push'](_0x37b9f5['shift']());}}}(_0x2bf6,0x332af));import{Command as _0x8dd496}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x8dd496{[_0x1017db(0x177)](){const _0x54a385=_0x1017db,_0x599c81=this[_0x54a385(0x18c)][_0x54a385(0x178)][_0x54a385(0x17d)][_0x54a385(0x186)][_0x54a385(0x174)]();this[_0x54a385(0x18b)]=Boolean(_0x599c81&&(_0x599c81['is'](_0x54a385(0x185),_0x54a385(0x176))||_0x599c81['is'](_0x54a385(0x185),_0x54a385(0x17e))));}[_0x1017db(0x189)](_0x35bec1){const _0x463f87=_0x1017db,_0xdc7d47=this[_0x463f87(0x18c)][_0x463f87(0x178)][_0x463f87(0x17d)][_0x463f87(0x186)][_0x463f87(0x174)]();this[_0x463f87(0x18c)][_0x463f87(0x178)][_0x463f87(0x188)](_0x378e48=>{const _0x4bad9d=_0x463f87;_0x378e48[_0x4bad9d(0x182)](_0x35bec1,_0xdc7d47),_0x378e48[_0x4bad9d(0x183)](_0x4bad9d(0x181),_0xdc7d47),_0x378e48[_0x4bad9d(0x183)](_0x4bad9d(0x18a),_0xdc7d47);});}}function _0x2bf6(){const _0x4f2d4b=['model','798004VJndPG','3252szxlwf','10RteZyX','1257410RsMqpW','document','imageInline','131489GLWWPo','37917ghOsLf','srcset','setAttributes','removeAttribute','596646Cmlsgw','element','selection','1315748CWfCkF','change','execute','sizes','isEnabled','editor','getSelectedElement','696hdlYOt','imageBlock','refresh'];_0x2bf6=function(){return _0x4f2d4b;};return _0x2bf6();}
23
+ const _0x4176ab=_0x4c7f;(function(_0x3f2394,_0x10db5d){const _0x153c84=_0x4c7f,_0x3129b8=_0x3f2394();while(!![]){try{const _0x35b3fe=-parseInt(_0x153c84(0x198))/0x1+-parseInt(_0x153c84(0x1a4))/0x2+parseInt(_0x153c84(0x192))/0x3+-parseInt(_0x153c84(0x193))/0x4*(parseInt(_0x153c84(0x19b))/0x5)+parseInt(_0x153c84(0x1a2))/0x6*(-parseInt(_0x153c84(0x18f))/0x7)+-parseInt(_0x153c84(0x18e))/0x8*(-parseInt(_0x153c84(0x1a1))/0x9)+-parseInt(_0x153c84(0x1a0))/0xa*(-parseInt(_0x153c84(0x1a5))/0xb);if(_0x35b3fe===_0x10db5d)break;else _0x3129b8['push'](_0x3129b8['shift']());}catch(_0x35b55a){_0x3129b8['push'](_0x3129b8['shift']());}}}(_0x168b,0x25047));import{Command as _0x553924}from'ckeditor5/src/core.js';function _0x4c7f(_0x2cead5,_0x415f39){const _0x168b6d=_0x168b();return _0x4c7f=function(_0x4c7fe7,_0x341fd2){_0x4c7fe7=_0x4c7fe7-0x18e;let _0x51e6a9=_0x168b6d[_0x4c7fe7];return _0x51e6a9;},_0x4c7f(_0x2cead5,_0x415f39);}function _0x168b(){const _0x521e27=['1538590KWaPAF','1469349nnLDpO','11946uCGLym','editor','407384tBxBEo','22tQXeMn','refresh','setAttributes','isEnabled','8WrqPWV','889ToTCYS','imageInline','selection','577389kJUUyO','15012UeXZdl','element','change','sizes','model','47764fVxbpl','execute','imageBlock','10nmqwiG','removeAttribute','srcset','document','getSelectedElement'];_0x168b=function(){return _0x521e27;};return _0x168b();}export class UploadcareImageReplaceCommand extends _0x553924{[_0x4176ab(0x1a6)](){const _0x1c1218=_0x4176ab,_0x2bc40a=this[_0x1c1218(0x1a3)][_0x1c1218(0x197)][_0x1c1218(0x19e)][_0x1c1218(0x191)][_0x1c1218(0x19f)]();this[_0x1c1218(0x1a8)]=Boolean(_0x2bc40a&&(_0x2bc40a['is'](_0x1c1218(0x194),_0x1c1218(0x19a))||_0x2bc40a['is'](_0x1c1218(0x194),_0x1c1218(0x190))));}[_0x4176ab(0x199)](_0x5ebbf9){const _0x431509=_0x4176ab,_0x454c29=this[_0x431509(0x1a3)][_0x431509(0x197)][_0x431509(0x19e)][_0x431509(0x191)][_0x431509(0x19f)]();this[_0x431509(0x1a3)][_0x431509(0x197)][_0x431509(0x195)](_0x32a4ce=>{const _0x166a42=_0x431509;_0x32a4ce[_0x166a42(0x1a7)](_0x5ebbf9,_0x454c29),_0x32a4ce[_0x166a42(0x19c)](_0x166a42(0x19d),_0x454c29),_0x32a4ce[_0x166a42(0x19c)](_0x166a42(0x196),_0x454c29);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54702b=_0x526a;(function(_0x501527,_0x2c84a5){var _0x1c6208=_0x526a,_0x134c42=_0x501527();while(!![]){try{var _0x46bfb5=parseInt(_0x1c6208(0x91))/0x1*(parseInt(_0x1c6208(0x94))/0x2)+-parseInt(_0x1c6208(0x8e))/0x3+parseInt(_0x1c6208(0x8f))/0x4*(parseInt(_0x1c6208(0x8a))/0x5)+parseInt(_0x1c6208(0x93))/0x6+-parseInt(_0x1c6208(0x8d))/0x7*(parseInt(_0x1c6208(0x95))/0x8)+parseInt(_0x1c6208(0x8c))/0x9+-parseInt(_0x1c6208(0x90))/0xa*(parseInt(_0x1c6208(0x92))/0xb);if(_0x46bfb5===_0x2c84a5)break;else _0x134c42['push'](_0x134c42['shift']());}catch(_0x1b52ec){_0x134c42['push'](_0x134c42['shift']());}}}(_0x47da,0x5999f));function _0x526a(_0x12d138,_0x556c62){var _0x47da81=_0x47da();return _0x526a=function(_0x526a5c,_0x14e374){_0x526a5c=_0x526a5c-0x87;var _0x2f0dac=_0x47da81[_0x526a5c];return _0x2f0dac;},_0x526a(_0x12d138,_0x556c62);}import{Plugin as _0x43c53c}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x51583e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x47da(){var _0x4a2825=['isPremiumPlugin','4579398SWZsjv','307797zfSRrj','154389hAqOPv','12468oIctSv','8180PiYjtW','59jWipem','20141GoIHXf','1999362zaRujL','22322syEFwB','48xTCtcW','UploadcareImageEdit','isOfficialPlugin','requires','pluginName','1090rluyyC'];_0x47da=function(){return _0x4a2825;};return _0x47da();}import{UploadcareImageEditUI as _0x5c3f16}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x43c53c{static get[_0x54702b(0x89)](){var _0x3112ae=_0x54702b;return _0x3112ae(0x96);}static get[_0x54702b(0x88)](){return[_0x51583e,_0x5c3f16];}static get[_0x54702b(0x87)](){return!0x0;}static get[_0x54702b(0x8b)](){return!0x0;}}
23
+ function _0x42be(){var _0x573c84=['6472030TzsSAA','UploadcareImageEdit','6188720DJDeku','8glUjpx','11NnwDYH','1nMYkuC','isOfficialPlugin','6153126OTGzWk','9iKZVOE','2367327xIcLlI','isPremiumPlugin','720156LKoyTR','2068884dcjqfh','requires','pluginName','29496orjivW','875YsCPmJ'];_0x42be=function(){return _0x573c84;};return _0x42be();}var _0x32bde9=_0x13f1;function _0x13f1(_0x11ad7e,_0x140e71){var _0x42beb0=_0x42be();return _0x13f1=function(_0x13f193,_0x5d8153){_0x13f193=_0x13f193-0x141;var _0x5e7239=_0x42beb0[_0x13f193];return _0x5e7239;},_0x13f1(_0x11ad7e,_0x140e71);}(function(_0x41d16b,_0x28aa3d){var _0x3cadd3=_0x13f1,_0xeb891c=_0x41d16b();while(!![]){try{var _0x9d0489=parseInt(_0x3cadd3(0x143))/0x1*(parseInt(_0x3cadd3(0x14a))/0x2)+-parseInt(_0x3cadd3(0x147))/0x3*(parseInt(_0x3cadd3(0x141))/0x4)+-parseInt(_0x3cadd3(0x14e))/0x5*(-parseInt(_0x3cadd3(0x14d))/0x6)+-parseInt(_0x3cadd3(0x145))/0x7+parseInt(_0x3cadd3(0x151))/0x8+-parseInt(_0x3cadd3(0x146))/0x9*(-parseInt(_0x3cadd3(0x14f))/0xa)+-parseInt(_0x3cadd3(0x142))/0xb*(-parseInt(_0x3cadd3(0x149))/0xc);if(_0x9d0489===_0x28aa3d)break;else _0xeb891c['push'](_0xeb891c['shift']());}catch(_0x37cfef){_0xeb891c['push'](_0xeb891c['shift']());}}}(_0x42be,0xe0328));import{Plugin as _0x2363f8}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5370a1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x226c51}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2363f8{static get[_0x32bde9(0x14c)](){var _0x13ea09=_0x32bde9;return _0x13ea09(0x150);}static get[_0x32bde9(0x14b)](){return[_0x5370a1,_0x226c51];}static get[_0x32bde9(0x144)](){return!0x0;}static get[_0x32bde9(0x148)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b078=_0x472a;(function(_0x858420,_0x465d84){const _0x5864df=_0x472a,_0x151324=_0x858420();while(!![]){try{const _0x33c1cd=-parseInt(_0x5864df(0x19b))/0x1*(parseInt(_0x5864df(0x1a9))/0x2)+-parseInt(_0x5864df(0x1b5))/0x3*(-parseInt(_0x5864df(0x165))/0x4)+parseInt(_0x5864df(0x17d))/0x5*(parseInt(_0x5864df(0x1b1))/0x6)+parseInt(_0x5864df(0x196))/0x7*(parseInt(_0x5864df(0x191))/0x8)+-parseInt(_0x5864df(0x1b3))/0x9*(-parseInt(_0x5864df(0x1a3))/0xa)+parseInt(_0x5864df(0x19d))/0xb*(parseInt(_0x5864df(0x180))/0xc)+parseInt(_0x5864df(0x1aa))/0xd*(-parseInt(_0x5864df(0x16c))/0xe);if(_0x33c1cd===_0x465d84)break;else _0x151324['push'](_0x151324['shift']());}catch(_0x8b9637){_0x151324['push'](_0x151324['shift']());}}}(_0x878d,0xe0bfd));function _0x472a(_0x4c386d,_0x1d65d2){const _0x878d7d=_0x878d();return _0x472a=function(_0x472abf,_0x58a598){_0x472abf=_0x472abf-0x162;let _0x20c6c4=_0x878d7d[_0x472abf];return _0x20c6c4;},_0x472a(_0x4c386d,_0x1d65d2);}import{Plugin as _0x1be948}from'ckeditor5/src/core.js';import{IconDropbox as _0x2042be,IconFacebook as _0x1cea0d,IconGoogleDrive as _0x5b06f6,IconGooglePhotos as _0x5ed59b,IconUploadcareImageUpload as _0x2ec8ef,IconUploadcareLink as _0x44f748,IconOneDrive as _0x2d2149}from'ckeditor5/src/icons.js';function _0x878d(){const _0x5e8333=['uploadcareLicenseKeyTrialLimit','trialLimit','GDrive','_createDropdownButtons','icon','commands','uploadcareLicenseKeyDomainLimit','get','ImageInsertUI','usageLimit','340HHGtcR','forEach','afterInit','1680408AClTIC','_createToolbarButton','expired','shortText','domainLimit','uploadcareLicenseKeyExpired','isImageSelected','entries','text','_showLicenseError','has','uploadcareLicenseKeyUsageLimit','map','URL','Insert','plugins','OneDrive','64FAfvOF','UploadcareUI','locale','Uploadcare','uploadcare','917182MBtrfn','uploadcare.uploader.sourceList','featureNotAllowed','reduce','uploadcareLicenseKeyNotAllowed','1ZkEKdf','type','77RQJNRf','assetManager','isOfficialPlugin','_getIntegrationKey','tooltip','url','74850JKxlDj','uploadcareLicenseKeyValid','bind','withText','label','_createButton','3130086WmVngS','871POAjNh','licenseKey','_createMenuBarButtons','init','push','invalid','uploadcareLicenseKeyEvaluationLimit','138522jbpRuh','isPremiumPlugin','2097miLfVt','config','3NeqmXG','_licenseKeyCheckInterval','Facebook','Dropbox','execute','1627276FVIhhQ','Local','GPhotos','registerIntegration','uploadcareLicenseKeyInvalid','upload','destroy','681940xDZVpU','editor','evaluationLimit','_normalizeConfigSourceList','isEnabled','Replace','pluginName'];_0x878d=function(){return _0x5e8333;};return _0x878d();}import{ButtonView as _0x2e5319,MenuBarMenuListItemButtonView as _0xd48efc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x359474}from'./uploadcareconfig.js';import{getTranslation as _0x4ecfe9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1be948{[_0x51b078(0x1ab)];[_0x51b078(0x1b6)];static get[_0x51b078(0x172)](){const _0x45d1dd=_0x51b078;return _0x45d1dd(0x192);}static get[_0x51b078(0x19f)](){return!0x0;}static get[_0x51b078(0x1b2)](){return!0x0;}[_0x51b078(0x1ad)](){const _0x1fc24f=_0x51b078;this[_0x1fc24f(0x1ab)]=this[_0x1fc24f(0x16d)][_0x1fc24f(0x1b4)][_0x1fc24f(0x17a)](_0x1fc24f(0x1ab));const _0x4e127e=this[_0x1fc24f(0x16d)];this[_0x1fc24f(0x1b6)]=setInterval(()=>{const _0x236586=_0x1fc24f;let _0x2edce0;for(const _0x234a9a in _0x4e127e){const _0x4fb16c=_0x234a9a,_0x3b02c0=_0x4e127e[_0x4fb16c];if(_0x236586(0x1a4)==_0x3b02c0||_0x236586(0x169)==_0x3b02c0||_0x236586(0x185)==_0x3b02c0||_0x236586(0x179)==_0x3b02c0||_0x236586(0x19a)==_0x3b02c0||_0x236586(0x1b0)==_0x3b02c0||_0x236586(0x173)==_0x3b02c0||_0x236586(0x18b)==_0x3b02c0){delete _0x4e127e[_0x4fb16c],_0x2edce0=_0x3b02c0,clearInterval(this[_0x236586(0x1b6)]),this[_0x236586(0x1b6)]=void 0x0;break;}}_0x236586(0x169)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x1af)),_0x236586(0x185)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x182)),_0x236586(0x179)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x184)),_0x236586(0x19a)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x198),_0x236586(0x194)),_0x236586(0x1b0)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x16e)),_0x236586(0x173)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x174)),_0x236586(0x18b)==_0x2edce0&&_0x4e127e[_0x236586(0x189)](_0x236586(0x17c));},0x3e8);}[_0x51b078(0x17f)](){const _0xd3500=_0x51b078,{editor:_0x4aa962}=this,_0x5ef68e=_0x4aa962[_0xd3500(0x178)][_0xd3500(0x17a)](_0xd3500(0x195));if(!_0x5ef68e)return;const _0x2c700b=this[_0xd3500(0x16f)](_0x4aa962[_0xd3500(0x1b4)][_0xd3500(0x17a)](_0xd3500(0x197)))[_0xd3500(0x199)]((_0x301721,_0x132abe)=>{const _0x1c31f4=_0xd3500,_0x5ce4c8=this[_0x1c31f4(0x1a0)](_0x132abe[_0x1c31f4(0x19c)]);return _0x301721[_0x5ce4c8]||(_0x301721[_0x5ce4c8]=[]),_0x301721[_0x5ce4c8][_0x1c31f4(0x1ae)](_0x132abe),_0x301721;},{});_0x4aa962[_0xd3500(0x18f)][_0xd3500(0x18a)](_0xd3500(0x17b))&&_0x4aa962[_0xd3500(0x178)][_0xd3500(0x17a)](_0xd3500(0x195))&&Object[_0xd3500(0x187)](_0x2c700b)[_0xd3500(0x17e)](([_0x58f542,_0x5aca0f])=>{const _0x3903fb=_0xd3500;_0x4aa962[_0x3903fb(0x18f)][_0x3903fb(0x17a)](_0x3903fb(0x17b))[_0x3903fb(0x168)]({'name':_0x58f542,'observable':()=>_0x5ef68e,'buttonViewCreator':()=>this[_0x3903fb(0x181)](_0x5aca0f),'formViewCreator':()=>this[_0x3903fb(0x176)](_0x5aca0f),'menuBarButtonViewCreator':()=>this[_0x3903fb(0x1ac)](_0x5aca0f),'override':_0x3903fb(0x19e)!==_0x58f542});});}[_0x51b078(0x16b)](){const _0x36866e=_0x51b078;super[_0x36866e(0x16b)](),this[_0x36866e(0x1b6)]&&clearInterval(this[_0x36866e(0x1b6)]);}[_0x51b078(0x16f)](_0x3731d7){const _0x380a8d=_0x51b078,{locale:_0x2b3498}=this[_0x380a8d(0x16d)];return _0x3731d7[_0x380a8d(0x18c)](_0x216be2=>{const _0x37262=_0x380a8d,_0x300a02=_0x4ecfe9(_0x2b3498,_0x216be2,_0x37262(0x18e));switch(_0x216be2){case _0x359474[_0x37262(0x166)]:return{'icon':_0x2ec8ef,'type':_0x359474[_0x37262(0x166)],..._0x300a02};case _0x359474[_0x37262(0x18d)]:return{'icon':_0x44f748,'type':_0x359474[_0x37262(0x18d)],..._0x300a02};case _0x359474[_0x37262(0x163)]:return{'icon':_0x2042be,'type':_0x359474[_0x37262(0x163)],..._0x300a02};case _0x359474[_0x37262(0x162)]:return{'icon':_0x1cea0d,'type':_0x359474[_0x37262(0x162)],..._0x300a02};case _0x359474[_0x37262(0x175)]:return{'icon':_0x5b06f6,'type':_0x359474[_0x37262(0x175)],..._0x300a02};case _0x359474[_0x37262(0x167)]:return{'icon':_0x5ed59b,'type':_0x359474[_0x37262(0x167)],..._0x300a02};case _0x359474[_0x37262(0x190)]:return{'icon':_0x2d2149,'type':_0x359474[_0x37262(0x190)],..._0x300a02};}});}[_0x51b078(0x1a0)](_0xdfcceb){const _0x46badc=_0x51b078;switch(_0xdfcceb){case _0x359474[_0x46badc(0x166)]:return _0x46badc(0x16a);case _0x359474[_0x46badc(0x18d)]:return _0x46badc(0x1a2);default:return _0x46badc(0x19e);}}[_0x51b078(0x1a8)](_0x23937b,_0x32977a){const _0xfd90ea=_0x51b078,_0x24bc3b=this[_0xfd90ea(0x16d)],_0x5d2c41=new _0x23937b(_0x24bc3b[_0xfd90ea(0x193)]),_0xb46dbd=_0x24bc3b[_0xfd90ea(0x178)][_0xfd90ea(0x17a)](_0xfd90ea(0x195));return _0x5d2c41[_0xfd90ea(0x1a5)](_0xfd90ea(0x170))['to'](_0xb46dbd),_0x5d2c41['on'](_0xfd90ea(0x164),()=>{const _0x37f3ff=_0xfd90ea;_0xb46dbd[_0x37f3ff(0x164)](_0x32977a);}),_0x5d2c41;}[_0x51b078(0x181)](_0x1a183b){const _0x4d63f6=_0x51b078,{locale:_0x2efeef}=this[_0x4d63f6(0x16d)],_0x347b1c=this[_0x4d63f6(0x16d)][_0x4d63f6(0x18f)][_0x4d63f6(0x17a)](_0x4d63f6(0x17b)),_0x313921=_0x1a183b[0x0],_0x5369c6=this[_0x4d63f6(0x1a8)](_0x2e5319,_0x313921[_0x4d63f6(0x19c)]);return _0x5369c6[_0x4d63f6(0x177)]=_0x313921[_0x4d63f6(0x177)],_0x5369c6[_0x4d63f6(0x1a5)](_0x4d63f6(0x1a7))['to'](_0x347b1c,_0x4d63f6(0x186),_0x147f6f=>_0x4ecfe9(_0x2efeef,_0x313921[_0x4d63f6(0x19c)],_0x147f6f?_0x4d63f6(0x171):_0x4d63f6(0x18e))[_0x4d63f6(0x188)]),_0x5369c6[_0x4d63f6(0x1a1)]=!0x0,_0x5369c6;}[_0x51b078(0x176)](_0x81913d){const _0x40994a=_0x51b078,{locale:_0x27e650}=this[_0x40994a(0x16d)],_0x154b8e=this[_0x40994a(0x16d)][_0x40994a(0x18f)][_0x40994a(0x17a)](_0x40994a(0x17b));return _0x81913d[_0x40994a(0x18c)](_0x4488c5=>{const _0x4afd6b=_0x40994a,_0x20d288=this[_0x4afd6b(0x1a8)](_0x2e5319,_0x4488c5[_0x4afd6b(0x19c)]);return _0x20d288[_0x4afd6b(0x1a6)]=!0x0,_0x20d288[_0x4afd6b(0x177)]=_0x4488c5[_0x4afd6b(0x177)],_0x20d288[_0x4afd6b(0x1a5)](_0x4afd6b(0x1a7))['to'](_0x154b8e,_0x4afd6b(0x186),_0x570e40=>_0x4ecfe9(_0x27e650,_0x4488c5[_0x4afd6b(0x19c)],_0x570e40?_0x4afd6b(0x171):_0x4afd6b(0x18e))[_0x4afd6b(0x188)]),_0x20d288;});}[_0x51b078(0x1ac)](_0x57ee52){const _0xcc850d=_0x51b078;return _0x57ee52[_0xcc850d(0x18c)](_0x184380=>{const _0x180ab5=_0xcc850d,_0x4ba766=this[_0x180ab5(0x1a8)](_0xd48efc,_0x184380[_0x180ab5(0x19c)]);return _0x4ba766[_0x180ab5(0x177)]=_0x184380[_0x180ab5(0x177)],_0x4ba766[_0x180ab5(0x1a7)]=_0x184380[_0x180ab5(0x183)],_0x4ba766;});}}
23
+ const _0x8f0fbd=_0x5b43;(function(_0x2687a1,_0x409dc3){const _0x5dbcd2=_0x5b43,_0x260bbd=_0x2687a1();while(!![]){try{const _0x1e93a5=parseInt(_0x5dbcd2(0x1a2))/0x1*(parseInt(_0x5dbcd2(0x195))/0x2)+parseInt(_0x5dbcd2(0x181))/0x3*(parseInt(_0x5dbcd2(0x189))/0x4)+-parseInt(_0x5dbcd2(0x18c))/0x5+-parseInt(_0x5dbcd2(0x18b))/0x6*(-parseInt(_0x5dbcd2(0x187))/0x7)+-parseInt(_0x5dbcd2(0x1b4))/0x8*(-parseInt(_0x5dbcd2(0x17b))/0x9)+-parseInt(_0x5dbcd2(0x19f))/0xa*(parseInt(_0x5dbcd2(0x184))/0xb)+-parseInt(_0x5dbcd2(0x1b9))/0xc;if(_0x1e93a5===_0x409dc3)break;else _0x260bbd['push'](_0x260bbd['shift']());}catch(_0x27ddff){_0x260bbd['push'](_0x260bbd['shift']());}}}(_0x1e39,0xc3345));function _0x1e39(){const _0x2f2d6f=['commands','OneDrive','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','locale','uploadcareLicenseKeyDomainLimit','tooltip','config','destroy','label','GPhotos','_licenseKeyCheckInterval','8GGXGxd','_showLicenseError','uploadcareLicenseKeyExpired','licenseKey','domainLimit','21887136XbKNxa','UploadcareUI','forEach','upload','Replace','init','registerIntegration','has','uploadcareLicenseKeyUsageLimit','editor','entries','trialLimit','Uploadcare','get','uploadcareLicenseKeyEvaluationLimit','type','_normalizeConfigSourceList','shortText','reduce','push','_createButton','2534751VLwwAB','isPremiumPlugin','url','execute','bind','withText','21PSykfq','uploadcareLicenseKeyInvalid','Facebook','33odyTJT','Insert','Dropbox','658LBkVkD','afterInit','740652jGZVxk','plugins','90330UyRyvl','3454820mJAjBt','Local','map','GDrive','URL','uploadcare.uploader.sourceList','_createMenuBarButtons','invalid','assetManager','2897354ATcHcX','ImageInsertUI','evaluationLimit','featureNotAllowed','uploadcareLicenseKeyValid','_getIntegrationKey','isOfficialPlugin','isEnabled','text','uploadcareLicenseKeyTrialLimit','3757260IkmNbG','usageLimit','expired','1XzSLoe','icon','isImageSelected','pluginName','_createToolbarButton','uploadcare'];_0x1e39=function(){return _0x2f2d6f;};return _0x1e39();}import{Plugin as _0x1aa71b}from'ckeditor5/src/core.js';import{IconDropbox as _0x544c5e,IconFacebook as _0x273271,IconGoogleDrive as _0x4f2f9d,IconGooglePhotos as _0x574d4d,IconUploadcareImageUpload as _0x1f2ef1,IconUploadcareLink as _0x4db7d7,IconOneDrive as _0x225da0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5f00bd,MenuBarMenuListItemButtonView as _0x4bd696}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x36d9d8}from'./uploadcareconfig.js';import{getTranslation as _0x5391f8}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5b43(_0xfc8741,_0x4d679d){const _0x1e39da=_0x1e39();return _0x5b43=function(_0x5b4302,_0x19ecdc){_0x5b4302=_0x5b4302-0x17b;let _0x2f812f=_0x1e39da[_0x5b4302];return _0x2f812f;},_0x5b43(_0xfc8741,_0x4d679d);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1aa71b{[_0x8f0fbd(0x1b7)];[_0x8f0fbd(0x1b3)];static get[_0x8f0fbd(0x1a5)](){const _0x41cb47=_0x8f0fbd;return _0x41cb47(0x1ba);}static get[_0x8f0fbd(0x19b)](){return!0x0;}static get[_0x8f0fbd(0x17c)](){return!0x0;}[_0x8f0fbd(0x1be)](){const _0x3ab2d1=_0x8f0fbd;this[_0x3ab2d1(0x1b7)]=this[_0x3ab2d1(0x1c2)][_0x3ab2d1(0x1af)][_0x3ab2d1(0x1c6)](_0x3ab2d1(0x1b7));const _0x36e4c7=this[_0x3ab2d1(0x1c2)];this[_0x3ab2d1(0x1b3)]=setInterval(()=>{const _0x3ba4d3=_0x3ab2d1;let _0x2e361f;for(const _0x42030a in _0x36e4c7){const _0x506f14=_0x42030a,_0x47bde8=_0x36e4c7[_0x506f14];if(_0x3ba4d3(0x199)==_0x47bde8||_0x3ba4d3(0x182)==_0x47bde8||_0x3ba4d3(0x1b6)==_0x47bde8||_0x3ba4d3(0x1ad)==_0x47bde8||_0x3ba4d3(0x1ab)==_0x47bde8||_0x3ba4d3(0x1c7)==_0x47bde8||_0x3ba4d3(0x19e)==_0x47bde8||_0x3ba4d3(0x1c1)==_0x47bde8){delete _0x36e4c7[_0x506f14],_0x2e361f=_0x47bde8,clearInterval(this[_0x3ba4d3(0x1b3)]),this[_0x3ba4d3(0x1b3)]=void 0x0;break;}}_0x3ba4d3(0x182)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x193)),_0x3ba4d3(0x1b6)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1a1)),_0x3ba4d3(0x1ad)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1b8)),_0x3ba4d3(0x1ab)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x198),_0x3ba4d3(0x1c5)),_0x3ba4d3(0x1c7)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x197)),_0x3ba4d3(0x19e)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1c4)),_0x3ba4d3(0x1c1)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1a0));},0x3e8);}[_0x8f0fbd(0x188)](){const _0x15f080=_0x8f0fbd,{editor:_0x12b9a0}=this,_0x699f1b=_0x12b9a0[_0x15f080(0x1a8)][_0x15f080(0x1c6)](_0x15f080(0x1a7));if(!_0x699f1b)return;const _0x1398d4=this[_0x15f080(0x1c9)](_0x12b9a0[_0x15f080(0x1af)][_0x15f080(0x1c6)](_0x15f080(0x191)))[_0x15f080(0x1cb)]((_0x2816fa,_0x3b498d)=>{const _0xad0435=_0x15f080,_0x3567a1=this[_0xad0435(0x19a)](_0x3b498d[_0xad0435(0x1c8)]);return _0x2816fa[_0x3567a1]||(_0x2816fa[_0x3567a1]=[]),_0x2816fa[_0x3567a1][_0xad0435(0x1cc)](_0x3b498d),_0x2816fa;},{});_0x12b9a0[_0x15f080(0x18a)][_0x15f080(0x1c0)](_0x15f080(0x196))&&_0x12b9a0[_0x15f080(0x1a8)][_0x15f080(0x1c6)](_0x15f080(0x1a7))&&Object[_0x15f080(0x1c3)](_0x1398d4)[_0x15f080(0x1bb)](([_0x303de9,_0x40812f])=>{const _0x353c58=_0x15f080;_0x12b9a0[_0x353c58(0x18a)][_0x353c58(0x1c6)](_0x353c58(0x196))[_0x353c58(0x1bf)]({'name':_0x303de9,'observable':()=>_0x699f1b,'buttonViewCreator':()=>this[_0x353c58(0x1a6)](_0x40812f),'formViewCreator':()=>this[_0x353c58(0x1aa)](_0x40812f),'menuBarButtonViewCreator':()=>this[_0x353c58(0x192)](_0x40812f),'override':_0x353c58(0x194)!==_0x303de9});});}[_0x8f0fbd(0x1b0)](){const _0x245378=_0x8f0fbd;super[_0x245378(0x1b0)](),this[_0x245378(0x1b3)]&&clearInterval(this[_0x245378(0x1b3)]);}[_0x8f0fbd(0x1c9)](_0x3225b2){const _0x367b3e=_0x8f0fbd,{locale:_0x2ab67e}=this[_0x367b3e(0x1c2)];return _0x3225b2[_0x367b3e(0x18e)](_0x426d99=>{const _0x26d41d=_0x367b3e,_0xbb945b=_0x5391f8(_0x2ab67e,_0x426d99,_0x26d41d(0x185));switch(_0x426d99){case _0x36d9d8[_0x26d41d(0x18d)]:return{'icon':_0x1f2ef1,'type':_0x36d9d8[_0x26d41d(0x18d)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x190)]:return{'icon':_0x4db7d7,'type':_0x36d9d8[_0x26d41d(0x190)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x186)]:return{'icon':_0x544c5e,'type':_0x36d9d8[_0x26d41d(0x186)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x183)]:return{'icon':_0x273271,'type':_0x36d9d8[_0x26d41d(0x183)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x18f)]:return{'icon':_0x4f2f9d,'type':_0x36d9d8[_0x26d41d(0x18f)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x1b2)]:return{'icon':_0x574d4d,'type':_0x36d9d8[_0x26d41d(0x1b2)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x1a9)]:return{'icon':_0x225da0,'type':_0x36d9d8[_0x26d41d(0x1a9)],..._0xbb945b};}});}[_0x8f0fbd(0x19a)](_0x291313){const _0x2abfb5=_0x8f0fbd;switch(_0x291313){case _0x36d9d8[_0x2abfb5(0x18d)]:return _0x2abfb5(0x1bc);case _0x36d9d8[_0x2abfb5(0x190)]:return _0x2abfb5(0x17d);default:return _0x2abfb5(0x194);}}[_0x8f0fbd(0x1cd)](_0x1e0c06,_0x11610f){const _0x40ef6f=_0x8f0fbd,_0x4d4626=this[_0x40ef6f(0x1c2)],_0x229eb3=new _0x1e0c06(_0x4d4626[_0x40ef6f(0x1ac)]),_0xe5c27e=_0x4d4626[_0x40ef6f(0x1a8)][_0x40ef6f(0x1c6)](_0x40ef6f(0x1a7));return _0x229eb3[_0x40ef6f(0x17f)](_0x40ef6f(0x19c))['to'](_0xe5c27e),_0x229eb3['on'](_0x40ef6f(0x17e),()=>{const _0x352d04=_0x40ef6f;_0xe5c27e[_0x352d04(0x17e)](_0x11610f);}),_0x229eb3;}[_0x8f0fbd(0x1a6)](_0x49a61e){const _0x1bd1b6=_0x8f0fbd,{locale:_0xde942e}=this[_0x1bd1b6(0x1c2)],_0xbd1dd=this[_0x1bd1b6(0x1c2)][_0x1bd1b6(0x18a)][_0x1bd1b6(0x1c6)](_0x1bd1b6(0x196)),_0x190bec=_0x49a61e[0x0],_0x5497fa=this[_0x1bd1b6(0x1cd)](_0x5f00bd,_0x190bec[_0x1bd1b6(0x1c8)]);return _0x5497fa[_0x1bd1b6(0x1a3)]=_0x190bec[_0x1bd1b6(0x1a3)],_0x5497fa[_0x1bd1b6(0x17f)](_0x1bd1b6(0x1b1))['to'](_0xbd1dd,_0x1bd1b6(0x1a4),_0x203f9f=>_0x5391f8(_0xde942e,_0x190bec[_0x1bd1b6(0x1c8)],_0x203f9f?_0x1bd1b6(0x1bd):_0x1bd1b6(0x185))[_0x1bd1b6(0x19d)]),_0x5497fa[_0x1bd1b6(0x1ae)]=!0x0,_0x5497fa;}[_0x8f0fbd(0x1aa)](_0x32c6b5){const _0x85d589=_0x8f0fbd,{locale:_0x57eda5}=this[_0x85d589(0x1c2)],_0x4e3599=this[_0x85d589(0x1c2)][_0x85d589(0x18a)][_0x85d589(0x1c6)](_0x85d589(0x196));return _0x32c6b5[_0x85d589(0x18e)](_0x1fba0e=>{const _0x1b7e06=_0x85d589,_0x18176e=this[_0x1b7e06(0x1cd)](_0x5f00bd,_0x1fba0e[_0x1b7e06(0x1c8)]);return _0x18176e[_0x1b7e06(0x180)]=!0x0,_0x18176e[_0x1b7e06(0x1a3)]=_0x1fba0e[_0x1b7e06(0x1a3)],_0x18176e[_0x1b7e06(0x17f)](_0x1b7e06(0x1b1))['to'](_0x4e3599,_0x1b7e06(0x1a4),_0x40256b=>_0x5391f8(_0x57eda5,_0x1fba0e[_0x1b7e06(0x1c8)],_0x40256b?_0x1b7e06(0x1bd):_0x1b7e06(0x185))[_0x1b7e06(0x19d)]),_0x18176e;});}[_0x8f0fbd(0x192)](_0x361e6f){const _0x40cb7b=_0x8f0fbd;return _0x361e6f[_0x40cb7b(0x18e)](_0x5af0b1=>{const _0xf221a9=_0x40cb7b,_0x50ad17=this[_0xf221a9(0x1cd)](_0x4bd696,_0x5af0b1[_0xf221a9(0x1c8)]);return _0x50ad17[_0xf221a9(0x1a3)]=_0x5af0b1[_0xf221a9(0x1a3)],_0x50ad17[_0xf221a9(0x1b1)]=_0x5af0b1[_0xf221a9(0x1ca)],_0x50ad17;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x16f994}from'ckeditor5/src/core.js';import{FileRepository as _0x6110aa}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x506370}from'./uploadcareediting.js';import{UploadUtils as _0x936713}from'./utils/uploadutils.js';import{getImageUrls as _0x33e4d6}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x16f994{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6110aa,_0x506370];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x640d1b=this['editor'];if(!!!_0x640d1b['config']['get']('uploadcare'))return;_0x640d1b['plugins']['get'](_0x6110aa)['createUploadAdapter']=_0x184355=>new k(_0x184355,_0x640d1b),_0x640d1b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3a6633,{imageElement:_0x5d987d,data:_0x5885b5})=>{_0x640d1b['model']['change'](_0x5d8690=>{_0x5d8690['setAttribute']('uploadcareImageId',_0x5885b5['uploadcareImageId'],_0x5d987d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4c7a57,_0x325fd8){this['loader']=_0x4c7a57,this['editor']=_0x325fd8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xd558b8=await this['loader']['file'];return _0x936713['upload']({'file':_0xd558b8,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x477ff7=>{_0x477ff7&&_0x477ff7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x477ff7['value']);}})['then'](async _0x426496=>{const {imageFallbackUrl:_0x50013b,imageSources:_0x35456c}=_0x33e4d6(_0x426496['cdnUrl'],_0x426496['imageInfo']['width']);return{'uploadcareImageId':_0x426496['uuid'],'default':_0x50013b,'sources':_0x35456c};})['catch'](()=>{const _0x23c864=t('Cannot\x20upload\x20file:')+('\x20'+_0xd558b8['name']+'.');return Promise['reject'](_0x23c864);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x278f0d}from'ckeditor5/src/core.js';import{FileRepository as _0x396e36}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x513261}from'./uploadcareediting.js';import{UploadUtils as _0x310da3}from'./utils/uploadutils.js';import{getImageUrls as _0xd259b8}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x278f0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x396e36,_0x513261];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b3a9b=this['editor'];if(!!!_0x3b3a9b['config']['get']('uploadcare'))return;_0x3b3a9b['plugins']['get'](_0x396e36)['createUploadAdapter']=_0x312804=>new k(_0x312804,_0x3b3a9b),_0x3b3a9b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1f21b9,{imageElement:_0x1aa976,data:_0x57206d})=>{_0x3b3a9b['model']['change'](_0x54e662=>{_0x54e662['setAttribute']('uploadcareImageId',_0x57206d['uploadcareImageId'],_0x1aa976);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1e890d,_0xc9c8c0){this['loader']=_0x1e890d,this['editor']=_0xc9c8c0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x49f47f=await this['loader']['file'];return _0x310da3['upload']({'file':_0x49f47f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2a4fe6=>{_0x2a4fe6&&_0x2a4fe6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a4fe6['value']);}})['then'](async _0x3df00c=>{const {imageFallbackUrl:_0x27956a,imageSources:_0x5d1ffc}=_0xd259b8(_0x3df00c['cdnUrl'],_0x3df00c['imageInfo']['width']);return{'uploadcareImageId':_0x3df00c['uuid'],'default':_0x27956a,'sources':_0x5d1ffc};})['catch'](()=>{const _0x4c59f5=t('Cannot\x20upload\x20file:')+('\x20'+_0x49f47f['name']+'.');return Promise['reject'](_0x4c59f5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2dbec6}from'../uploadcareconfig.js';export function getTranslation(_0x50a0c5,_0x57f26f,_0x326e50){const t=_0x50a0c5['t'],_0x505327=_0x50a0c5['t'];switch(_0x57f26f){case _0x2dbec6['Local']:return{'text':_0x505327('Insert'===_0x326e50?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x505327('From\x20computer')};case _0x2dbec6['URL']:return{'text':'Insert'===_0x326e50?_0x505327('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x505327('Via\x20URL')};case _0x2dbec6['Dropbox']:return{'text':t('Insert'===_0x326e50?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2dbec6['Facebook']:return{'text':t('Insert'===_0x326e50?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2dbec6['GDrive']:return{'text':t('Insert'===_0x326e50?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2dbec6['GPhotos']:return{'text':t('Insert'===_0x326e50?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2dbec6['OneDrive']:return{'text':t('Insert'===_0x326e50?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x57f26f;}}
23
+ import{UploadcareSource as _0x320d87}from'../uploadcareconfig.js';export function getTranslation(_0x41cf4a,_0x208fdc,_0x4b0bd6){const t=_0x41cf4a['t'],_0x5b50c6=_0x41cf4a['t'];switch(_0x208fdc){case _0x320d87['Local']:return{'text':_0x5b50c6('Insert'===_0x4b0bd6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5b50c6('From\x20computer')};case _0x320d87['URL']:return{'text':'Insert'===_0x4b0bd6?_0x5b50c6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5b50c6('Via\x20URL')};case _0x320d87['Dropbox']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x320d87['Facebook']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x320d87['GDrive']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x320d87['GPhotos']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x320d87['OneDrive']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x208fdc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e19ab=_0x34af;(function(_0x1ae634,_0x1f4076){var _0x25a7a8=_0x34af,_0x396d69=_0x1ae634();while(!![]){try{var _0x5e1369=parseInt(_0x25a7a8(0x1ca))/0x1+-parseInt(_0x25a7a8(0x1c5))/0x2+-parseInt(_0x25a7a8(0x1d5))/0x3*(parseInt(_0x25a7a8(0x1c6))/0x4)+parseInt(_0x25a7a8(0x1cb))/0x5+-parseInt(_0x25a7a8(0x1c4))/0x6*(-parseInt(_0x25a7a8(0x1c7))/0x7)+parseInt(_0x25a7a8(0x1c8))/0x8*(-parseInt(_0x25a7a8(0x1d3))/0x9)+-parseInt(_0x25a7a8(0x1d4))/0xa;if(_0x5e1369===_0x1f4076)break;else _0x396d69['push'](_0x396d69['shift']());}catch(_0x466c16){_0x396d69['push'](_0x396d69['shift']());}}}(_0xeb94,0xdd7cf));import{FocusTracker as _0x5be1e5}from'ckeditor5/src/utils.js';function _0xeb94(){var _0x4ed5fa=['forwardCycle','bindTemplate','createCollection','focusCycler','getFocusableElement','div','10575HRjmGB','1899610PCdxGn','3sGzKxo','focusTracker','12NJmLiX','590492NPYPvr','3166936ozrJMZ','1922732ODhfNF','10496TZMWGE','true','1497558wSLGUc','8394230BcxDlK','fire'];_0xeb94=function(){return _0x4ed5fa;};return _0xeb94();}import{View as _0x3cf5f4,FocusCycler as _0x7444e3}from'ckeditor5/src/ui.js';function _0x34af(_0x12f981,_0x3e33cc){var _0xeb949c=_0xeb94();return _0x34af=function(_0x34afa8,_0x5df55c){_0x34afa8=_0x34afa8-0x1c4;var _0x2c011a=_0xeb949c[_0x34afa8];return _0x2c011a;},_0x34af(_0x12f981,_0x3e33cc);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3cf5f4{[_0x4e19ab(0x1d6)];[_0x4e19ab(0x1d0)];constructor(_0x4f561c){var _0x1f44ca=_0x4e19ab;super(_0x4f561c),this[_0x1f44ca(0x1d6)]=new _0x5be1e5(),this[_0x1f44ca(0x1d0)]=new _0x7444e3({'focusables':this[_0x1f44ca(0x1cf)](),'focusTracker':this[_0x1f44ca(0x1d6)]});}[_0x4e19ab(0x1d1)](){var _0x3b3f24=_0x4e19ab;return{'tag':_0x3b3f24(0x1d2),'attributes':{'aria-hidden':_0x3b3f24(0x1c9),'tabindex':'0'},'on':{'focus':this[_0x3b3f24(0x1ce)]['to'](()=>{var _0x3b8b17=_0x3b3f24;this[_0x3b8b17(0x1d0)][_0x3b8b17(0x1cc)](_0x3b8b17(0x1cd));})}};}}
23
+ var _0x492ba1=_0x45fd;(function(_0x40bdc1,_0x1783e7){var _0x5eb839=_0x45fd,_0x4d47c0=_0x40bdc1();while(!![]){try{var _0x3e5f35=-parseInt(_0x5eb839(0x13b))/0x1+parseInt(_0x5eb839(0x145))/0x2*(parseInt(_0x5eb839(0x135))/0x3)+-parseInt(_0x5eb839(0x13d))/0x4+parseInt(_0x5eb839(0x140))/0x5*(parseInt(_0x5eb839(0x13a))/0x6)+parseInt(_0x5eb839(0x136))/0x7*(-parseInt(_0x5eb839(0x138))/0x8)+parseInt(_0x5eb839(0x141))/0x9+-parseInt(_0x5eb839(0x13e))/0xa;if(_0x3e5f35===_0x1783e7)break;else _0x4d47c0['push'](_0x4d47c0['shift']());}catch(_0x2e87fd){_0x4d47c0['push'](_0x4d47c0['shift']());}}}(_0x2943,0x8237a));import{FocusTracker as _0x46199d}from'ckeditor5/src/utils.js';import{View as _0x492386,FocusCycler as _0x566338}from'ckeditor5/src/ui.js';function _0x2943(){var _0x503b67=['createCollection','focusCycler','3mcMuCL','742YNQClb','true','32zPhgHq','focusTracker','999162yHRCBE','600241DiaeHq','getFocusableElement','667020VkISWY','4636030VvZOAY','bindTemplate','25wQpPPS','5139090LpaWhU','forwardCycle','div','fire','721496FlyYoA'];_0x2943=function(){return _0x503b67;};return _0x2943();}function _0x45fd(_0x415703,_0x2cbff3){var _0x294351=_0x2943();return _0x45fd=function(_0x45fdd6,_0x385f10){_0x45fdd6=_0x45fdd6-0x135;var _0x1e393c=_0x294351[_0x45fdd6];return _0x1e393c;},_0x45fd(_0x415703,_0x2cbff3);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x492386{[_0x492ba1(0x139)];[_0x492ba1(0x147)];constructor(_0x33470b){var _0x41e936=_0x492ba1;super(_0x33470b),this[_0x41e936(0x139)]=new _0x46199d(),this[_0x41e936(0x147)]=new _0x566338({'focusables':this[_0x41e936(0x146)](),'focusTracker':this[_0x41e936(0x139)]});}[_0x492ba1(0x13c)](){var _0x4d028e=_0x492ba1;return{'tag':_0x4d028e(0x143),'attributes':{'aria-hidden':_0x4d028e(0x137),'tabindex':'0'},'on':{'focus':this[_0x4d028e(0x13f)]['to'](()=>{var _0xa44f37=_0x4d028e;this[_0xa44f37(0x147)][_0xa44f37(0x144)](_0xa44f37(0x142));})}};}}