@ckeditor/ckeditor5-uploadcare 47.7.0-alpha.0 → 47.7.0-alpha.2

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 (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x568db4,Command as _0x210729}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2fd4f8,IconGooglePhotos as _0x4b4e33,IconGoogleDrive as _0x1d4ae6,IconFacebook as _0x12a025,IconDropbox as _0x2ee7f3,IconUploadcareLink as _0x48e652,IconUploadcareImageUpload as _0xf0a18d,IconError as _0x23cd49,IconUploadcareImageEdit as _0x283b93}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x268e5e,MenuBarMenuListItemButtonView as _0x396289,View as _0x1f7587,FocusCycler as _0x5d10da,Dialog as _0x343e60,DialogViewPosition as _0x245c12,SpinnerView as _0x202610,IconView as _0x59ff67,Notification as _0x5b44c9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3fa4b4,DomEmitterMixin as _0x451809,global as _0x34fe19,getAncestors as _0x361fd8,ObservableMixin as _0x3ef5f1,uid as _0x332079,createElement as _0x3e22ee}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x59198e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3a76c1,info as _0x57704e}from'@uploadcare/upload-client';import*as _0x4d6be0 from'@uploadcare/file-uploader';var i=function(_0x3f881a){return _0x3f881a['Local']='local',_0x3f881a['URL']='url',_0x3f881a['Dropbox']='dropbox',_0x3f881a['GDrive']='gdrive',_0x3f881a['Facebook']='facebook',_0x3f881a['GPhotos']='gphotos',_0x3f881a['OneDrive']='onedrive',_0x3f881a;}({});function _(_0x43a8e8,_0x31c729,_0x154165){const t=_0x43a8e8['t'],_0x3eb043=_0x43a8e8['t'];switch(_0x31c729){case i['Local']:return{'text':_0x3eb043('Insert'===_0x154165?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3eb043('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x154165?_0x3eb043('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3eb043('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x154165?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x154165?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x154165?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x154165?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x154165?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31c729;}}class e extends _0x568db4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x504ad7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x284812;for(const _0x484521 in _0x504ad7){const _0x5ab746=_0x484521,_0x1789c5=_0x504ad7[_0x5ab746];if('uploadcareLicenseKeyValid'==_0x1789c5||'uploadcareLicenseKeyInvalid'==_0x1789c5||'uploadcareLicenseKeyExpired'==_0x1789c5||'uploadcareLicenseKeyDomainLimit'==_0x1789c5||'uploadcareLicenseKeyNotAllowed'==_0x1789c5||'uploadcareLicenseKeyEvaluationLimit'==_0x1789c5||'uploadcareLicenseKeyUsageLimit'==_0x1789c5){delete _0x504ad7[_0x5ab746],_0x284812=_0x1789c5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x284812&&_0x504ad7['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x284812&&_0x504ad7['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x284812&&_0x504ad7['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x284812&&_0x504ad7['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x284812&&_0x504ad7['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x284812&&_0x504ad7['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x91a6ab}=this,_0x2be37f=_0x91a6ab['commands']['get']('uploadcare');if(!_0x2be37f)return;const _0x2b0413=this['_normalizeConfigSourceList'](_0x91a6ab['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5cf48c,_0x33cf7c)=>{const _0x2d8d54=this['_getIntegrationKey'](_0x33cf7c['type']);return _0x5cf48c[_0x2d8d54]||(_0x5cf48c[_0x2d8d54]=[]),_0x5cf48c[_0x2d8d54]['push'](_0x33cf7c),_0x5cf48c;},{});_0x91a6ab['plugins']['has']('ImageInsertUI')&&_0x91a6ab['commands']['get']('uploadcare')&&Object['entries'](_0x2b0413)['forEach'](([_0x19251f,_0x420596])=>{_0x91a6ab['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x19251f,'observable':()=>_0x2be37f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x420596),'formViewCreator':()=>this['_createDropdownButtons'](_0x420596),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x420596),'override':'assetManager'!==_0x19251f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xcec97b){const {locale:_0xdad180}=this['editor'];return _0xcec97b['map'](_0x130a7d=>{const _0x401519=_(_0xdad180,_0x130a7d,'Insert');switch(_0x130a7d){case i['Local']:return{'icon':_0xf0a18d,'type':i['Local'],..._0x401519};case i['URL']:return{'icon':_0x48e652,'type':i['URL'],..._0x401519};case i['Dropbox']:return{'icon':_0x2ee7f3,'type':i['Dropbox'],..._0x401519};case i['Facebook']:return{'icon':_0x12a025,'type':i['Facebook'],..._0x401519};case i['GDrive']:return{'icon':_0x1d4ae6,'type':i['GDrive'],..._0x401519};case i['GPhotos']:return{'icon':_0x4b4e33,'type':i['GPhotos'],..._0x401519};case i['OneDrive']:return{'icon':_0x2fd4f8,'type':i['OneDrive'],..._0x401519};}});}['_getIntegrationKey'](_0x26d072){switch(_0x26d072){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3fe9c8,_0x1287bc){const _0x4ff997=this['editor'],_0x1708bb=new _0x3fe9c8(_0x4ff997['locale']),_0x512e73=_0x4ff997['commands']['get']('uploadcare');return _0x1708bb['bind']('isEnabled')['to'](_0x512e73),_0x1708bb['on']('execute',()=>{_0x512e73['execute'](_0x1287bc);}),_0x1708bb;}['_createToolbarButton'](_0x55d0ef){const {locale:_0x15dfed}=this['editor'],_0x377c9e=this['editor']['plugins']['get']('ImageInsertUI'),_0x19df27=_0x55d0ef[0x0],_0x10580c=this['_createButton'](_0x268e5e,_0x19df27['type']);return _0x10580c['icon']=_0x19df27['icon'],_0x10580c['bind']('label')['to'](_0x377c9e,'isImageSelected',_0x9698bc=>_(_0x15dfed,_0x19df27['type'],_0x9698bc?'Replace':'Insert')['text']),_0x10580c['tooltip']=!0x0,_0x10580c;}['_createDropdownButtons'](_0x12ff9b){const {locale:_0x2bd44c}=this['editor'],_0x57fc1b=this['editor']['plugins']['get']('ImageInsertUI');return _0x12ff9b['map'](_0xdce470=>{const _0x484b77=this['_createButton'](_0x268e5e,_0xdce470['type']);return _0x484b77['withText']=!0x0,_0x484b77['icon']=_0xdce470['icon'],_0x484b77['bind']('label')['to'](_0x57fc1b,'isImageSelected',_0x21ff35=>_(_0x2bd44c,_0xdce470['type'],_0x21ff35?'Replace':'Insert')['text']),_0x484b77;});}['_createMenuBarButtons'](_0x50fefa){return _0x50fefa['map'](_0x4bc4e5=>{const _0x2e59ab=this['_createButton'](_0x396289,_0x4bc4e5['type']);return _0x2e59ab['icon']=_0x4bc4e5['icon'],_0x2e59ab['label']=_0x4bc4e5['shortText'],_0x2e59ab;});}}class V extends _0x1f7587{['focusTracker'];['focusCycler'];constructor(_0x4ab7f2){super(_0x4ab7f2),this['focusTracker']=new _0x3fa4b4(),this['focusCycler']=new _0x5d10da({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class E extends V{constructor(_0x4f90cd,_0xb97161){super(_0x4f90cd),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0xb97161}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1d4e20,_0x2ff9fb){const _0x3bea91=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5d14dd=>_0x5d14dd<=_0x2ff9fb)['map'](_0x84e037=>_0x1d4e20['replace'](/\/$/,'')+'/-/resize/'+_0x84e037+'x/\x20'+_0x84e037+'w');return{'imageFallbackUrl':_0x1d4e20,'imageSources':[{'srcset':_0x3bea91['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2ff9fb+'px)\x20100vw,\x20'+_0x2ff9fb+'px','type':'image/webp'}]};}function M(_0x4ece8a,_0x26959e,_0x3c6ca5){const _0x18078a=_0x4ece8a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x18078a?parseInt(_0x18078a[0x1],0xa):_0x26959e,'height':_0x18078a?parseInt(_0x18078a[0x2],0xa):_0x3c6ca5};}function p(_0x104baa,_0x10de17){const _0x50878b=new(_0x451809())(),_0x999083=_0x104baa['plugins']['get']('ImageUtils'),_0x4a8366=_0x104baa['editing']['mapper']['toViewElement'](_0x10de17),_0x5812e5=_0x999083['findViewImgElement'](_0x4a8366),_0x175b58=_0x104baa['editing']['view']['domConverter']['viewToDom'](_0x5812e5),_0x297108=_0x10de17['getAttribute']('width'),_0x357b11=_0x10de17['getAttribute']('height'),_0x87ce07='image-processing';_0x104baa['editing']['view']['change'](_0xf7e171=>{_0xf7e171['addClass'](_0x87ce07,_0x4a8366),_0xf7e171['setStyle']('aspect-ratio',_0x297108+'/'+_0x357b11,_0x5812e5);}),_0x50878b['listenTo'](_0x175b58,'load',()=>{_0x50878b['stopListening'](_0x175b58,'load'),_0x104baa['editing']['view']['change'](_0x536700=>{_0x536700['removeClass'](_0x87ce07,_0x4a8366),_0x536700['removeStyle']('aspect-ratio',_0x5812e5);});});}function z(_0x493af6){if(Array['isArray'](_0x493af6)){const _0x3460d3=_0x493af6['map'](z);return _0x14327e=>_0x3460d3['some'](_0x2f662d=>_0x2f662d(_0x14327e));}if('origin'==_0x493af6){const _0x281ea2=_0x34fe19['window']['location']['origin'];return _0x1aad78=>new URL(_0x1aad78,_0x34fe19['document']['baseURI'])['origin']==_0x281ea2;}return'function'==typeof _0x493af6?_0x493af6:_0x493af6 instanceof RegExp?_0x2618ff=>!(!_0x2618ff['match'](_0x493af6)&&!_0x2618ff['replace'](/^https?:\/\//,'')['match'](_0x493af6)):()=>!0x1;}function O(_0x41a53c,_0x2d9f23){return _0x361fd8(_0x41a53c['target'])['includes'](_0x2d9f23);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3ef5f1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x274d61,_0x2558c5,_0xb7dd1c){super(),this['_editor']=_0x274d61,this['_editing']=_0x2558c5,this['_dialog']=_0x274d61['plugins']['get'](_0x343e60),this['_api']=_0x2558c5['ctxElement']['getAPI'](),this['_type']=_0xb7dd1c,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x5181ad,model:_0x24526f}=this['_editor'],_0x430e1c=_0x24526f['document']['selection']['getSelectedElement'](),_0x21dc5b=_0x430e1c&&(_0x430e1c['is']('element','imageBlock')||_0x430e1c['is']('element','imageInline'));this['_formView']=new E(_0x5181ad,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xf0a18d,'title':_(_0x5181ad,this['_type'],_0x21dc5b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x245c12['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x509216=>!O(_0x509216,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x40a190}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5b389f=>{const _0x357e20=_0x40a190['length'];for(const _0x5613a9 of _0x40a190){const _0x27b46e=_0x5613a9===_0x40a190[_0x357e20-0x1],{cdnUrl:_0x2ffb9b,fileInfo:_0x4ba1e1}=_0x5613a9;if(!_0x2ffb9b||!_0x4ba1e1)continue;const {width:_0x5321f8,height:_0x26edd1}=_0x4ba1e1['imageInfo'],_0x3dd902=M(_0x2ffb9b,_0x5321f8,_0x26edd1),_0x2e864e=C(_0x2ffb9b,_0x3dd902['width']),_0x353f24={'id':_0x4ba1e1['uuid'],'type':'image','attributes':{'imageDimension':_0x3dd902,..._0x2e864e}};this['_insertAsset'](_0x353f24,_0x27b46e,_0x5b389f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5a703b=>{'idle'===_0x5a703b['detail']['status']&&!_0x5a703b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4407e2,_0x338f98,_0x8b800d){const _0x5d9603=this['_editor']['model']['document']['selection'],_0x23f60d=_0x5d9603['getSelectedElement'](),_0x5387f2=!(!_0x23f60d||!_0x23f60d['is']('element','imageInline'));_0x8b800d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4407e2,_0x5387f2),_0x338f98||_0x8b800d['setSelection'](_0x5d9603['getLastPosition']());}['_insertImage'](_0x38cdfb,_0x390495){const _0x139038=this['_editor'],{imageDimension:_0x4a3007,imageFallbackUrl:_0x1dea23,imageSources:_0x47594f}=_0x38cdfb['attributes'];_0x139038['execute']('insertImage',{'imageType':_0x390495?'imageInline':null,'source':{'uploadcareImageId':_0x38cdfb['id'],'src':_0x1dea23,'sources':_0x47594f,..._0x4a3007}});}}class w extends _0x210729{['_editing'];['_controller']=null;static get['requires'](){return[_0x343e60,o];}constructor(_0x204b2f){super(_0x204b2f),this['_editing']=_0x204b2f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x32ac8e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x32ac8e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x102680,..._0xbe8840}){return _0x3a76c1(_0x102680,_0xbe8840);}static['getInfo'](_0x348968,_0x1d8299){return _0x57704e(_0x348968,_0x1d8299);}}class f extends _0x568db4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x59198e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x7b476f=this['editor'];if(!!!_0x7b476f['config']['get']('uploadcare'))return;_0x7b476f['plugins']['get'](_0x59198e)['createUploadAdapter']=_0x1f17c0=>new k(_0x1f17c0,_0x7b476f),_0x7b476f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x10bcb6,{imageElement:_0x48d18d,data:_0x4f9b5d})=>{_0x7b476f['model']['change'](_0xd0a4e7=>{_0xd0a4e7['setAttribute']('uploadcareImageId',_0x4f9b5d['uploadcareImageId'],_0x48d18d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3893a9,_0x5e813c){this['loader']=_0x3893a9,this['editor']=_0x5e813c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x28a564=await this['loader']['file'];return j['upload']({'file':_0x28a564,'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':_0x331b89=>{_0x331b89&&_0x331b89['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x331b89['value']);}})['then'](async _0x14a39a=>{const {imageFallbackUrl:_0x1f9b6e,imageSources:_0x2dc1f5}=C(_0x14a39a['cdnUrl'],_0x14a39a['imageInfo']['width']);return{'uploadcareImageId':_0x14a39a['uuid'],'default':_0x1f9b6e,'sources':_0x2dc1f5};})['catch'](()=>{const _0x40e749=t('Cannot\x20upload\x20file:')+('\x20'+_0x28a564['name']+'.');return Promise['reject'](_0x40e749);});}['abort'](){this['controller']['abort']();}}class o extends _0x568db4{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x343e60];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x33e9a7){super(_0x33e9a7),this['ucContextId']=_0x332079();}['init'](){const _0x42e79b=this['editor'];_0x42e79b['commands']['add']('uploadcare',new w(_0x42e79b));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x349811=_0x34fe19['document']['querySelector']('input[uploadcare-file-input]');_0x349811&&_0x349811['remove']();}),async function(_0x48dc8b){const _0x249192=_0x364f9d([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]),_0x568537=0x535f8c3a,_0x33737e=0x53580a92^_0x568537,_0x41b726=window[_0x364f9d([0x44,0x61,0x74,0x65])][_0x364f9d([0x6e,0x6f,0x77])](),_0xe04e5a=_0x48dc8b[_0x364f9d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1609bb=new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4356e8=>{_0xe04e5a[_0x364f9d([0x6f,0x6e,0x63,0x65])](_0x364f9d([0x72,0x65,0x61,0x64,0x79]),_0x4356e8);}),_0x2ce395={[_0x364f9d([0x6b,0x74,0x79])]:_0x364f9d([0x45,0x43]),[_0x364f9d([0x75,0x73,0x65])]:_0x364f9d([0x73,0x69,0x67]),[_0x364f9d([0x63,0x72,0x76])]:_0x364f9d([0x50,0x2d,0x32,0x35,0x36]),[_0x364f9d([0x78])]:_0x364f9d([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]),[_0x364f9d([0x79])]:_0x364f9d([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]),[_0x364f9d([0x61,0x6c,0x67])]:_0x364f9d([0x45,0x53,0x32,0x35,0x36])},_0x1d264d=_0xe04e5a[_0x364f9d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x364f9d([0x67,0x65,0x74])](_0x364f9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x329792(){let _0x390074,_0x598cec=null,_0x883399=null;try{if(_0x1d264d==_0x364f9d([0x47,0x50,0x4c]))return _0x364f9d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x390074=_0x5e0c6c(),!_0x390074)return _0x364f9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x390074[_0x364f9d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x883399=_0x107c37(_0x390074[_0x364f9d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x390074[_0x364f9d([0x6a,0x74,0x69])])),await _0x286342()?_0x428c13()?_0x32d48a()?_0x364f9d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ea6a7()?(_0x390074[_0x364f9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x364f9d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x598cec=_0x575396(_0x364f9d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36426a()):_0x364f9d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x364f9d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x364f9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x364f9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32d48a(){const _0x4a2210=[_0x364f9d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x364f9d([0x74,0x72,0x69,0x61,0x6c])][_0x364f9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390074[_0x364f9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b726/0x3e8:0xe10*_0x33737e;return _0x390074[_0x364f9d([0x65,0x78,0x70])]<_0x4a2210;}function _0x428c13(){const _0x14cb9b=_0x390074[_0x364f9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14cb9b&&(!!_0x14cb9b[_0x364f9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364f9d([0x2a]))||!!_0x14cb9b[_0x364f9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364f9d([0x55,0x50,0x4c,0x43])));}function _0x4ea6a7(){const _0x6ed19a=_0x390074[_0x364f9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ed19a||0x0==_0x6ed19a[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a5950}=new URL(window[_0x364f9d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6ed19a[_0x364f9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a5950))return!0x0;const _0x191704=_0x1a5950[_0x364f9d([0x73,0x70,0x6c,0x69,0x74])](_0x364f9d([0x2e]));return _0x6ed19a[_0x364f9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ebec4=>_0x3ebec4[_0x364f9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364f9d([0x2a])))[_0x364f9d([0x6d,0x61,0x70])](_0x845271=>_0x845271[_0x364f9d([0x73,0x70,0x6c,0x69,0x74])](_0x364f9d([0x2e])))[_0x364f9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16a07f=>_0x16a07f[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x191704[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x364f9d([0x6d,0x61,0x70])](_0x2d490c=>Array(_0x191704[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d490c[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x364f9d([0x66,0x69,0x6c,0x6c])](_0x2d490c[0x0]===_0x364f9d([0x2a])?_0x364f9d([0x2a]):'')[_0x364f9d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d490c))[_0x364f9d([0x73,0x6f,0x6d,0x65])](_0x4910f1=>_0x191704[_0x364f9d([0x65,0x76,0x65,0x72,0x79])]((_0x4c3e05,_0xc03cbd)=>_0x4910f1[_0xc03cbd]===_0x4c3e05||_0x4910f1[_0xc03cbd]===_0x364f9d([0x2a])));}function _0x36426a(){return _0x598cec&&_0x883399?new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5846c8,_0x2ee0a3)=>{_0x598cec[_0x364f9d([0x74,0x68,0x65,0x6e])](_0x5846c8,_0x2ee0a3),_0x883399[_0x364f9d([0x74,0x68,0x65,0x6e])](_0x42b991=>{_0x42b991!=_0x364f9d([0x56,0x61,0x6c,0x69,0x64])&&_0x5846c8(_0x42b991);},_0x2ee0a3);}):_0x598cec||_0x883399||_0x364f9d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x107c37(_0xdbd089,_0x1aa9d9){return new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44b27a=>{if(_0x1b8e89())return _0x44b27a(_0x364f9d([0x56,0x61,0x6c,0x69,0x64]));_0x527b5a(),_0xe04e5a[_0x364f9d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x364f9d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e9aae=!0x1;const _0x175afb=_0x332079();function _0x1a391f(_0x455280){return!!_0x455280&&(typeof _0x455280===_0x364f9d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x455280===_0x364f9d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x455280[_0x364f9d([0x74,0x68,0x65,0x6e])]===_0x364f9d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x455280[_0x364f9d([0x63,0x61,0x74,0x63,0x68])]===_0x364f9d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58b082(_0x1a80b5){_0xe0b37(_0x1a80b5)[_0x364f9d([0x74,0x68,0x65,0x6e])](_0x29e37d=>{if(!_0x29e37d||_0x29e37d[_0x364f9d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x364f9d([0x6f,0x6b]))return _0x364f9d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x122902(_0x28670a(_0x175afb+_0x1aa9d9))!=_0x29e37d[_0x364f9d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x364f9d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x364f9d([0x56,0x61,0x6c,0x69,0x64]);})[_0x364f9d([0x74,0x68,0x65,0x6e])](_0xe31281=>(_0x3ca0dd(),_0xe31281),()=>{const _0x5691d1=_0x18f577();return null==_0x5691d1?(_0x3ca0dd(),_0x364f9d([0x56,0x61,0x6c,0x69,0x64])):_0x364f9d(_0x41b726-_0x5691d1>(0x7753083a^_0x568537)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x364f9d([0x74,0x68,0x65,0x6e])](_0x44b27a)[_0x364f9d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44b27a(_0x364f9d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b6f80=0x536962ba^_0x568537;function _0x3ca0dd(){const _0x298134=_0x364f9d([0x6c,0x6c,0x63,0x74,0x2d])+_0x122902(_0x28670a(_0xdbd089)),_0x523c99=_0x2dd35b(_0x122902(window[_0x364f9d([0x4d,0x61,0x74,0x68])][_0x364f9d([0x63,0x65,0x69,0x6c])](_0x41b726/_0x5b6f80)));window[_0x364f9d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x364f9d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x298134,_0x523c99);}function _0x18f577(){const _0x422568=_0x364f9d([0x6c,0x6c,0x63,0x74,0x2d])+_0x122902(_0x28670a(_0xdbd089)),_0x393e9c=window[_0x364f9d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x364f9d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x422568);return _0x393e9c?window[_0x364f9d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dd35b(_0x393e9c),0x10)*_0x5b6f80:null;}function _0xe0b37(_0x2e1f37){return new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2958c9,_0x3dcfba)=>{_0x2e1f37[_0x364f9d([0x74,0x68,0x65,0x6e])](_0x2958c9,_0x3dcfba),window[_0x364f9d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dcfba,0x535e58fa^_0x568537);});}}_0xe04e5a[_0x364f9d([0x6f,0x6e])](_0x364f9d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x583451,_0x847966)=>{if(_0x847966[0x0]!=_0xdbd089)return _0x44b27a(_0x364f9d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x847966[0x1]={..._0x847966[0x1],[_0x364f9d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x175afb};},{[_0x364f9d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x364f9d([0x68,0x69,0x67,0x68])}),_0xe04e5a[_0x364f9d([0x6f,0x6e])](_0x364f9d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54f725=>{_0x1a391f(_0x54f725[_0x364f9d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e9aae=!0x0,_0x58b082(_0x54f725[_0x364f9d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x364f9d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x364f9d([0x6c,0x6f,0x77])}),_0x1609bb[_0x364f9d([0x74,0x68,0x65,0x6e])](()=>{_0x5e9aae||_0x44b27a(_0x364f9d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b8e89(){return _0xe04e5a[_0x364f9d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x364f9d([0x76,0x69,0x65,0x77])][_0x364f9d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x364f9d([0x61,0x75,0x74,0x6f]);}function _0x527b5a(){_0xe04e5a[_0x364f9d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x364f9d([0x76,0x69,0x65,0x77])][_0x364f9d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x364f9d([0x61,0x75,0x74,0x6f]);}}function _0x575396(_0x8b0634){const _0x2244eb=[new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e8367=>setTimeout(_0x1e8367,0x5356b2f6^_0x568537)),_0x1609bb[_0x364f9d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df591=>{let _0x303f67=0x0;_0xe04e5a[_0x364f9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x364f9d([0x6f,0x6e])](_0x364f9d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x486f4b,_0x22cf81)=>{_0x22cf81[0x0][_0x364f9d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x303f67++,_0x303f67==(0x535f89d2^_0x568537)&&(_0x2df591(),_0x486f4b[_0x364f9d([0x6f,0x66,0x66])]());});}))];return window[_0x364f9d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x364f9d([0x72,0x61,0x63,0x65])](_0x2244eb)[_0x364f9d([0x74,0x68,0x65,0x6e])](()=>_0x8b0634);}async function _0x594c10(){await _0x1609bb,_0xe04e5a[_0x364f9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x364f9d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54e152,_0xe04e5a[_0x364f9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x364f9d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54e152,_0xe04e5a[_0x364f9d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x364f9d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x363182(_0xa1adc9){const _0x302d4a=_0x2cac4d();_0xe04e5a[_0x302d4a]=_0x364f9d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa1adc9,_0xa1adc9!=_0x364f9d([0x56,0x61,0x6c,0x69,0x64])&&_0x594c10();}function _0x2cac4d(){const _0x2b6261=window[_0x364f9d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x364f9d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x364f9d([0x6e,0x6f,0x77])]())[_0x364f9d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x364f9d([0x2e]),'');let _0x361983=_0x364f9d([0x68]);for(let _0x585b68=0x0;_0x585b68<_0x2b6261[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x585b68+=0x2){let _0x5e7f83=window[_0x364f9d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b6261[_0x364f9d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x585b68,_0x585b68+0x2));_0x5e7f83>=_0x249192[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7f83-=_0x249192[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x361983+=_0x249192[_0x5e7f83];}return _0x361983;}function _0x5e0c6c(){const _0x50483b=_0x1d264d[_0x364f9d([0x73,0x70,0x6c,0x69,0x74])](_0x364f9d([0x2e]));if(0x3!=_0x50483b[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45f0d7(_0x50483b[0x1]);function _0x45f0d7(_0x31a543){const _0x3b0793=_0x5b4065(_0x31a543);return _0x3b0793&&_0x1d21d1()?_0x3b0793:null;function _0x1d21d1(){const _0x295aa2=_0x3b0793[_0x364f9d([0x6a,0x74,0x69])],_0x5c4556=window[_0x364f9d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x295aa2[_0x364f9d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x295aa2[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2180da={..._0x3b0793,[_0x364f9d([0x6a,0x74,0x69])]:_0x295aa2[_0x364f9d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x295aa2[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2180da[_0x364f9d([0x76,0x63])],_0x28670a(_0x2180da)==_0x5c4556;}}}async function _0x286342(){let _0x5c260d=!0x0;try{const _0x2559ec=_0x1d264d[_0x364f9d([0x73,0x70,0x6c,0x69,0x74])](_0x364f9d([0x2e])),[_0x3dd389,_0x153899,_0x224eb8]=_0x2559ec;return _0x50359b(_0x3dd389),await _0x2cce9e(_0x3dd389,_0x153899,_0x224eb8),_0x5c260d;}catch{return!0x1;}function _0x50359b(_0x5ed268){const _0xc9b8d=_0x5b4065(_0x5ed268);_0xc9b8d&&_0xc9b8d[_0x364f9d([0x61,0x6c,0x67])]==_0x364f9d([0x45,0x53,0x32,0x35,0x36])||(_0x5c260d=!0x1);}async function _0x2cce9e(_0x15bfb9,_0x5b6354,_0x419230){const _0x3e7339=window[_0x364f9d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x364f9d([0x66,0x72,0x6f,0x6d])](_0x5e5505(_0x419230),_0x42b3a5=>_0x42b3a5[_0x364f9d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x212227=new window[(_0x364f9d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x364f9d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15bfb9+_0x364f9d([0x2e])+_0x5b6354),_0xe1550d=window[_0x364f9d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x364f9d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe1550d)return;const _0x582600=await _0xe1550d[_0x364f9d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x364f9d([0x6a,0x77,0x6b]),_0x2ce395,{[_0x364f9d([0x6e,0x61,0x6d,0x65])]:_0x364f9d([0x45,0x43,0x44,0x53,0x41]),[_0x364f9d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x364f9d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x364f9d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe1550d[_0x364f9d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x364f9d([0x6e,0x61,0x6d,0x65])]:_0x364f9d([0x45,0x43,0x44,0x53,0x41]),[_0x364f9d([0x68,0x61,0x73,0x68])]:{[_0x364f9d([0x6e,0x61,0x6d,0x65])]:_0x364f9d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x582600,_0x3e7339,_0x212227)||(_0x5c260d=!0x1);}}function _0x5b4065(_0x6340f7){return _0x6340f7[_0x364f9d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x364f9d([0x65,0x79]))?JSON[_0x364f9d([0x70,0x61,0x72,0x73,0x65])](_0x5e5505(_0x6340f7)):null;}function _0x5e5505(_0xc0f822){return window[_0x364f9d([0x61,0x74,0x6f,0x62])](_0xc0f822[_0x364f9d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x364f9d([0x2b]))[_0x364f9d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x364f9d([0x2f])));}function _0x28670a(_0x1064a0){let _0x5d4be1=0x1505;function _0x512a2e(_0x22c7c2){for(let _0x373748=0x0;_0x373748<_0x22c7c2[_0x364f9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373748++){const _0x154199=_0x22c7c2[_0x364f9d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x373748);_0x5d4be1=(_0x5d4be1<<0x5)+_0x5d4be1+_0x154199,_0x5d4be1&=_0x5d4be1;}}function _0x268422(_0x54cb92){Array[_0x364f9d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54cb92)?_0x54cb92[_0x364f9d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x268422):_0x54cb92&&typeof _0x54cb92==_0x364f9d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x364f9d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54cb92)[_0x364f9d([0x73,0x6f,0x72,0x74])]()[_0x364f9d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18d7f5,_0x2c7a8f])=>{_0x512a2e(_0x18d7f5),_0x268422(_0x2c7a8f);}):_0x512a2e(window[_0x364f9d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54cb92));}return _0x268422(_0x1064a0),_0x5d4be1>>>0x0;}function _0x122902(_0x2a867b){return _0x2a867b[_0x364f9d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x364f9d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x364f9d([0x30]));}function _0x2dd35b(_0x2c7377){return _0x2c7377[_0x364f9d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x364f9d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x364f9d([0x6a,0x6f,0x69,0x6e])]('');}function _0x54e152(){}function _0x364f9d(_0x1f7c84){return _0x1f7c84['map'](_0x2efef4=>String['fromCharCode'](_0x2efef4))['join']('');}_0x363182(await _0x329792());}(this);}['_initSchema'](){const _0x34e5e7=this['editor']['model']['schema'];_0x34e5e7['isRegistered']('imageBlock')&&_0x34e5e7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x34e5e7['isRegistered']('imageInline')&&_0x34e5e7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3e7686=this['editor'];_0x3e7686['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3e7686['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x497143=>_0x497143['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x458ca5=_0x3e7686['commands']['get']('replaceImageSource');_0x458ca5&&this['listenTo'](_0x458ca5,'cleanupImage',(_0xea37df,[_0x1b788d,_0x22cbd7])=>{_0x1b788d['removeAttribute']('uploadcareImageId',_0x22cbd7);});}['_initConfig'](){const _0x27844e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x319960=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3e22ee(_0x34fe19['document'],'uc-config',{..._0x27844e,'pubkey':_0x319960,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x196cc7=>{if('closeMax'==_0x196cc7)return'#uc-icon-arrow-down';},_0x34fe19['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3e22ee(_0x34fe19['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x34fe19['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x45d382=this['editor']['commands']['get']('insertImage');_0x45d382&&this['listenTo'](_0x45d382,'execute',()=>{const _0x2e5dda=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2e5dda&&_0x2e5dda['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2e5dda);});});const _0x1d01cc=this['editor']['commands']['get']('uploadcareImageReplace');_0x1d01cc&&this['listenTo'](_0x1d01cc,'execute',()=>{const _0x56aa20=this['editor']['model']['document']['selection']['getSelectedElement']();_0x56aa20&&_0x56aa20['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x56aa20);});});}}class tt extends _0x568db4{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d2601){super(_0x4d2601),_0x4d2601['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4d6be0['defineComponents'](_0x4d6be0),this['_defineLocale']();}['_defineLocale'](){const _0x471d81=this['editor']['config']['get']('uploadcare.locale'),_0x274d57=this['editor']['locale']['contentLanguage'];_0x471d81&&_0x4d6be0['defineLocale'](_0x274d57,_0x471d81);}}class ii extends _0x1f7587{constructor(_0x324900){super(_0x324900);const t=_0x324900['t'],_0x2407d2=this['bindTemplate'],_0x20d877=new _0x202610();_0x20d877['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':[_0x20d877,{'text':_0x2407d2['to']('imageUploadProgress',_0x2ff83d=>t('Loading\x20image...')+'\x20('+(_0x2ff83d||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'}]}]}]});}}class ti extends _0x1f7587{constructor(_0x2c60f3){super(_0x2c60f3);const t=_0x2c60f3['t'];this['set']('errorType',null);const _0x54353a=new _0x268e5e(_0x2c60f3);_0x54353a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x54353a['withText']=!0x0,_0x54353a['class']='ck-button-action',_0x54353a['on']('execute',()=>{this['fire']('retry');}),_0x54353a['bind']('isVisible')['to'](this,'errorType',_0x32b862=>'NotFound'!==_0x32b862);const _0xbbece4=new _0x59ff67();_0xbbece4['content']=_0x23cd49,_0xbbece4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3dc11e=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':[_0xbbece4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3dc11e['to']('errorType',_0x5e5e3b=>t('NotFound'!==_0x5e5e3b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x54353a]},{'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'}]}]}]});}}class ei extends _0x1f7587{constructor(_0x38abea,_0x37bd04){super(_0x38abea);const _0x5ecb19=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x37bd04,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5ecb19['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x34935b,_0x5aeccc,_0x24d204){super(_0x34935b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x34935b),this['_errorView']=new ti(_0x34935b),this['_editingView']=new ei(_0x34935b,_0x24d204),this['_focusableView']=new _0x1f7587(_0x34935b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5aeccc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0xcd0691=>{this['_addUploadcareImageEditorListeners'](_0xcd0691);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x5ab1af,_0x3648fb){const _0x3754e0='uc-cloud-image-editor',_0x42cb99=_0x5ab1af['querySelector'](_0x3754e0);if(_0x42cb99)return _0x3648fb(_0x42cb99);const _0x140c6c=new MutationObserver(_0x4d58cd=>{const _0x5e6687=_0x4d58cd['filter'](_0x11fe8f=>_0x11fe8f['target']===_0x5ab1af&&_0x11fe8f['addedNodes']['length']>0x0&&_0x11fe8f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3754e0);_0x5e6687['length']&&(_0x140c6c['disconnect'](),_0x3648fb(_0x5e6687[0x0]['addedNodes'][0x0]));});_0x140c6c['observe'](_0x5ab1af,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4dc2c2){_0x4dc2c2['addEventListener']('apply',_0x53d13f=>{this['fire']('apply',{'imageSrc':_0x53d13f['detail']['cdnUrl']});}),_0x4dc2c2['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class G extends/* #__PURE__ -- @preserve */
25
- _0x3ef5f1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x547dc5,_0x316f3b,_0x739c45){super(),this['_editor']=_0x547dc5,this['_dialog']=_0x316f3b,this['_imageElement']=_0x739c45,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 _0x43268a=this['_imageElement'],_0x455d69=_0x43268a['getAttribute']('uploadcareImageId'),_0xa0c06c=_0x43268a['getAttribute']('src');if(_0x455d69)await this['_loadImageInfo'](_0x455d69,_0xa0c06c);else{if(this['_imageCache']['has'](_0xa0c06c)){const _0x10c5b1=this['_imageCache']['get'](_0xa0c06c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10c5b1['url'],this['imageDimension']=_0x10c5b1['dimension'],this['imageId']=_0x10c5b1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x43ac5a}=this['_editor'],t=_0x43ac5a['t'],_0x41c507=new X(_0x43ac5a,this['imageStatus'],this['_attributes']);_0x41c507['bind']('status')['to'](this,'imageStatus'),_0x41c507['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41c507['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41c507['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41c507,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x283b93,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41c507,'position':_0x245c12['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41c507['focus']();},'onHide':()=>{_0x41c507['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e5cb5=>!O(_0x5e5cb5,_0x41c507['element'])}});}['_loadImageInfo'](_0x326da7,_0x497cd6){return j['getInfo'](_0x326da7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x30fd67=>{const {width:_0x33f28b,height:_0x142abf}=_0x30fd67['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x497cd6,this['imageDimension']={'width':_0x33f28b,'height':_0x142abf},this['imageId']=_0x326da7;})['catch'](_0x27e2a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x27e2a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x334ac8,_0x2e021f){return this['_getImageAsFile'](_0x334ac8)['then'](_0x39125b=>j['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':_0x2e021f['signal'],'file':_0x39125b,'onProgress':_0x21d6f9=>{_0x21d6f9&&_0x21d6f9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x21d6f9['value']));}}))['then'](_0x22d22c=>{const {width:_0x28d934,height:_0x4112a4}=_0x22d22c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22d22c['cdnUrl'],this['imageDimension']={'width':_0x28d934,'height':_0x4112a4},this['imageId']=_0x22d22c['uuid'],this['imageUploadProgress']=null;const _0x38e281=_0x334ac8['getAttribute']('src');this['_imageCache']['set'](_0x38e281,{'id':_0x22d22c['uuid'],'url':_0x22d22c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x15e505=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15e505['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x52832c,_0x48ff5f){_0x52832c['on']('apply',(_0x53362f,_0x3788e0)=>{this['_replaceImage'](_0x48ff5f,_0x3788e0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x52832c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x52832c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f4461,_0x46cc88,_0x12309a){const _0x4ca86e=this['_editor'],{width:_0x5228a1,height:_0x25e154}=M(_0x46cc88,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x532c2a,imageSources:_0x347aff}=C(_0x46cc88,_0x5228a1);_0x4ca86e['model']['change'](_0x581426=>{if('$graveyard'===_0x3f4461['root']['rootName']){_0x4ca86e['execute']('insertImage',{'imageType':_0x3f4461['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f4461['getAttributes']()),'uploadcareImageId':_0x12309a,'src':_0x532c2a,'sources':_0x347aff,'width':_0x5228a1,'height':_0x25e154}});const _0x2591cf=_0x3f4461['getChildren']();_0x3f4461=_0x4ca86e['model']['document']['selection']['getSelectedElement']();for(const _0x3bd192 of _0x2591cf)_0x581426['append'](_0x581426['cloneElement'](_0x3bd192),_0x3f4461);}else _0x581426['setSelection'](_0x3f4461,'on'),_0x4ca86e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f4461['getAttributes']()),'uploadcareImageId':_0x12309a,'src':_0x532c2a,'sources':_0x347aff,'width':_0x5228a1,'height':_0x25e154},_0x3f4461);_0x581426['setSelection'](_0x3f4461,'on');});}async['_getImageAsFile'](_0x2922f3){const _0x399f76=_0x34fe19['window'],_0x5a5cac=_0x34fe19['document']['location']['href'],_0x32d40d=new _0x399f76['URL'](_0x2922f3['getAttribute']('src'),_0x5a5cac);if('data:'===_0x32d40d['protocol']){const _0x4b65ca=_0x32d40d['href']['split'](','),_0x27c4bd=_0x4b65ca[0x0]['match'](/:(.*?);/)[0x1],_0x13f188=_0x27c4bd['split']('/')[0x1],_0x492331=_0x399f76['atob'](_0x4b65ca[_0x4b65ca['length']-0x1]);let _0x169c55=_0x492331['length'];const _0x338762=new _0x399f76['Uint8Array'](_0x169c55);for(;_0x169c55--;)_0x338762[_0x169c55]=_0x492331['charCodeAt'](_0x169c55);return new _0x399f76['File']([_0x338762],'image.'+_0x13f188,{'type':_0x27c4bd});}const _0x137000=_0x32d40d['href']['split']('/'),_0x179d7a=_0x137000[_0x137000['length']-0x1],_0x292569=_0x179d7a['split']('.')[0x1];return _0x399f76['fetch'](_0x32d40d['href'])['then'](_0x2e7c03=>_0x2e7c03['clone']()['blob']())['then'](_0x23b76f=>new _0x399f76['File']([_0x23b76f],_0x179d7a,{'type':'image/'+_0x292569}));}}class R extends _0x210729{['imageEditController'];static get['requires'](){return[_0x343e60];}['_isEditable'];constructor(_0x308af9){super(_0x308af9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x101470){const _0x500086=z(_0x101470);return _0x8103ce=>!(!_0x8103ce||!_0x8103ce['is']('element','imageBlock')&&!_0x8103ce['is']('element','imageInline'))&&(!!_0x8103ce['hasAttribute']('uploadcareImageId')||!!_0x8103ce['hasAttribute']('src')&&_0x500086(_0x8103ce['getAttribute']('src')));}(_0x308af9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x369966=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x369966);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x168c79=this['editor']['model']['document']['selection']['getSelectedElement']();_0x168c79&&(_0x168c79['is']('element','imageBlock')||_0x168c79['is']('element','imageInline'))&&(this['imageEditController']=new G(this['editor'],this['editor']['plugins']['get'](_0x343e60),_0x168c79),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class Q extends _0x210729{['refresh'](){const _0x5f4a00=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5f4a00&&(_0x5f4a00['is']('element','imageBlock')||_0x5f4a00['is']('element','imageInline')));}['execute'](_0x495679){const _0x24b778=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xbe00de=>{_0xbe00de['setAttributes'](_0x495679,_0x24b778),_0xbe00de['removeAttribute']('srcset',_0x24b778),_0xbe00de['removeAttribute']('sizes',_0x24b778);});}}class m extends _0x568db4{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5b44c9,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f3f9a}=this;_0x2f3f9a['commands']['add']('uploadcareImageEdit',new R(_0x2f3f9a)),_0x2f3f9a['commands']['add']('uploadcareImageReplace',new Q(_0x2f3f9a));}}class g extends _0x568db4{['_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 _0x42c7c1=this['editor'];_0x42c7c1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x217596=>{const _0x4543b6=_0x42c7c1['commands']['get']('uploadcareImageEdit'),_0x3e9ec9=new _0x268e5e(_0x217596),t=_0x217596['t'];return _0x3e9ec9['set']({'icon':_0x283b93,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3e9ec9['bind']('isEnabled')['to'](_0x4543b6),_0x3e9ec9['bind']('isOn')['to'](_0x4543b6,'isActive'),this['listenTo'](_0x3e9ec9,'execute',()=>{_0x42c7c1['execute']('uploadcareImageEdit'),_0x42c7c1['editing']['view']['focus']();}),_0x3e9ec9;}),this['_initConfig']();}['_initConfig'](){const _0x7eada1=_0x3e22ee(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x7eada1),this['listenTo'](this['editor'],'destroy',()=>{_0x7eada1['remove']();});}}class et extends _0x568db4{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,R as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x964c97,Command as _0x22cba9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3f5df9,IconGooglePhotos as _0x23a916,IconGoogleDrive as _0x5b13eb,IconFacebook as _0x42a6c4,IconDropbox as _0xfa6937,IconUploadcareLink as _0x192cb2,IconUploadcareImageUpload as _0x594418,IconError as _0x131f02,IconUploadcareImageEdit as _0xea7d7a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3bace2,MenuBarMenuListItemButtonView as _0x20576f,View as _0x8e5796,FocusCycler as _0x535dc5,Dialog as _0x390c13,DialogViewPosition as _0x330829,SpinnerView as _0x2fd75c,IconView as _0x3045a4,Notification as _0x140dff}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x20c215,DomEmitterMixin as _0x52f433,global as _0x15fb89,getAncestors as _0x45389f,ObservableMixin as _0x3cd85d,uid as _0x57a2af,createElement as _0x97ddba}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x13647e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x578f1a,info as _0x2d8bd1}from'@uploadcare/upload-client';import*as _0xae926e from'@uploadcare/file-uploader';var i=function(_0x60b253){return _0x60b253['Local']='local',_0x60b253['URL']='url',_0x60b253['Dropbox']='dropbox',_0x60b253['GDrive']='gdrive',_0x60b253['Facebook']='facebook',_0x60b253['GPhotos']='gphotos',_0x60b253['OneDrive']='onedrive',_0x60b253;}({});function _(_0x1bca95,_0x188442,_0x1f1be3){const t=_0x1bca95['t'],_0x3d6fb6=_0x1bca95['t'];switch(_0x188442){case i['Local']:return{'text':_0x3d6fb6('Insert'===_0x1f1be3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d6fb6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1f1be3?_0x3d6fb6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d6fb6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1f1be3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1f1be3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1f1be3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1f1be3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1f1be3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x188442;}}class e extends _0x964c97{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ac2da=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e9e48;for(const _0x16803a in _0x5ac2da){const _0x4b5a54=_0x16803a,_0x7315ca=_0x5ac2da[_0x4b5a54];if('uploadcareLicenseKeyValid'==_0x7315ca||'uploadcareLicenseKeyInvalid'==_0x7315ca||'uploadcareLicenseKeyExpired'==_0x7315ca||'uploadcareLicenseKeyDomainLimit'==_0x7315ca||'uploadcareLicenseKeyNotAllowed'==_0x7315ca||'uploadcareLicenseKeyEvaluationLimit'==_0x7315ca||'uploadcareLicenseKeyUsageLimit'==_0x7315ca){delete _0x5ac2da[_0x4b5a54],_0x4e9e48=_0x7315ca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4e9e48&&_0x5ac2da['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3c1dbc}=this,_0xa7107=_0x3c1dbc['commands']['get']('uploadcare');if(!_0xa7107)return;const _0x53c5ac=this['_normalizeConfigSourceList'](_0x3c1dbc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x127885,_0x339dac)=>{const _0x286b73=this['_getIntegrationKey'](_0x339dac['type']);return _0x127885[_0x286b73]||(_0x127885[_0x286b73]=[]),_0x127885[_0x286b73]['push'](_0x339dac),_0x127885;},{});_0x3c1dbc['plugins']['has']('ImageInsertUI')&&_0x3c1dbc['commands']['get']('uploadcare')&&Object['entries'](_0x53c5ac)['forEach'](([_0x343bc4,_0x30be58])=>{_0x3c1dbc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x343bc4,'observable':()=>_0xa7107,'buttonViewCreator':()=>this['_createToolbarButton'](_0x30be58),'formViewCreator':()=>this['_createDropdownButtons'](_0x30be58),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x30be58),'override':'assetManager'!==_0x343bc4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x39ae0d){const {locale:_0x44dec1}=this['editor'];return _0x39ae0d['map'](_0x2bde1f=>{const _0x338cc8=_(_0x44dec1,_0x2bde1f,'Insert');switch(_0x2bde1f){case i['Local']:return{'icon':_0x594418,'type':i['Local'],..._0x338cc8};case i['URL']:return{'icon':_0x192cb2,'type':i['URL'],..._0x338cc8};case i['Dropbox']:return{'icon':_0xfa6937,'type':i['Dropbox'],..._0x338cc8};case i['Facebook']:return{'icon':_0x42a6c4,'type':i['Facebook'],..._0x338cc8};case i['GDrive']:return{'icon':_0x5b13eb,'type':i['GDrive'],..._0x338cc8};case i['GPhotos']:return{'icon':_0x23a916,'type':i['GPhotos'],..._0x338cc8};case i['OneDrive']:return{'icon':_0x3f5df9,'type':i['OneDrive'],..._0x338cc8};}});}['_getIntegrationKey'](_0x4c41fc){switch(_0x4c41fc){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3bf856,_0xf3cf0b){const _0x3b6809=this['editor'],_0x542074=new _0x3bf856(_0x3b6809['locale']),_0x41d012=_0x3b6809['commands']['get']('uploadcare');return _0x542074['bind']('isEnabled')['to'](_0x41d012),_0x542074['on']('execute',()=>{_0x41d012['execute'](_0xf3cf0b);}),_0x542074;}['_createToolbarButton'](_0x471101){const {locale:_0x55aa26}=this['editor'],_0x2b8d58=this['editor']['plugins']['get']('ImageInsertUI'),_0x16402a=_0x471101[0x0],_0x5d9118=this['_createButton'](_0x3bace2,_0x16402a['type']);return _0x5d9118['icon']=_0x16402a['icon'],_0x5d9118['bind']('label')['to'](_0x2b8d58,'isImageSelected',_0x3b69b9=>_(_0x55aa26,_0x16402a['type'],_0x3b69b9?'Replace':'Insert')['text']),_0x5d9118['tooltip']=!0x0,_0x5d9118;}['_createDropdownButtons'](_0x3c8820){const {locale:_0x40e8a0}=this['editor'],_0x3d4d89=this['editor']['plugins']['get']('ImageInsertUI');return _0x3c8820['map'](_0x3aa571=>{const _0x289ec7=this['_createButton'](_0x3bace2,_0x3aa571['type']);return _0x289ec7['withText']=!0x0,_0x289ec7['icon']=_0x3aa571['icon'],_0x289ec7['bind']('label')['to'](_0x3d4d89,'isImageSelected',_0xf1ac94=>_(_0x40e8a0,_0x3aa571['type'],_0xf1ac94?'Replace':'Insert')['text']),_0x289ec7;});}['_createMenuBarButtons'](_0x511c2b){return _0x511c2b['map'](_0x31ed96=>{const _0x11c297=this['_createButton'](_0x20576f,_0x31ed96['type']);return _0x11c297['icon']=_0x31ed96['icon'],_0x11c297['label']=_0x31ed96['shortText'],_0x11c297;});}}class F extends _0x8e5796{['focusTracker'];['focusCycler'];constructor(_0x1a5957){super(_0x1a5957),this['focusTracker']=new _0x20c215(),this['focusCycler']=new _0x535dc5({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x38e43a,_0x237f03){super(_0x38e43a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x237f03}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3a3c77,_0x1fa0d9){const _0x1624b2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5281b9=>_0x5281b9<=_0x1fa0d9)['map'](_0x2dcc3b=>_0x3a3c77['replace'](/\/$/,'')+'/-/resize/'+_0x2dcc3b+'x/\x20'+_0x2dcc3b+'w');return{'imageFallbackUrl':_0x3a3c77,'imageSources':[{'srcset':_0x1624b2['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1fa0d9+'px)\x20100vw,\x20'+_0x1fa0d9+'px','type':'image/webp'}]};}function S(_0x27f66f,_0x517749,_0x18484c){const _0x2bf727=_0x27f66f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2bf727?parseInt(_0x2bf727[0x1],0xa):_0x517749,'height':_0x2bf727?parseInt(_0x2bf727[0x2],0xa):_0x18484c};}function p(_0x58b2b5,_0x2b8f95){const _0x2afc1c=new(_0x52f433())(),_0x3cc852=_0x58b2b5['plugins']['get']('ImageUtils'),_0x53c5c9=_0x58b2b5['editing']['mapper']['toViewElement'](_0x2b8f95),_0x2009b6=_0x3cc852['findViewImgElement'](_0x53c5c9),_0x4badf5=_0x58b2b5['editing']['view']['domConverter']['viewToDom'](_0x2009b6),_0x36ad23=_0x2b8f95['getAttribute']('width'),_0x191ad8=_0x2b8f95['getAttribute']('height'),_0x20b4ac='image-processing';_0x58b2b5['editing']['view']['change'](_0x430f33=>{_0x430f33['addClass'](_0x20b4ac,_0x53c5c9),_0x430f33['setStyle']('aspect-ratio',_0x36ad23+'/'+_0x191ad8,_0x2009b6);}),_0x2afc1c['listenTo'](_0x4badf5,'load',()=>{_0x2afc1c['stopListening'](_0x4badf5,'load'),_0x58b2b5['editing']['view']['change'](_0x257a83=>{_0x257a83['removeClass'](_0x20b4ac,_0x53c5c9),_0x257a83['removeStyle']('aspect-ratio',_0x2009b6);});});}function z(_0x5675d4){if(Array['isArray'](_0x5675d4)){const _0x84bad7=_0x5675d4['map'](z);return _0x14eaca=>_0x84bad7['some'](_0x3c4125=>_0x3c4125(_0x14eaca));}if('origin'==_0x5675d4){const _0x16e9a3=_0x15fb89['window']['location']['origin'];return _0x2524ef=>new URL(_0x2524ef,_0x15fb89['document']['baseURI'])['origin']==_0x16e9a3;}return'function'==typeof _0x5675d4?_0x5675d4:_0x5675d4 instanceof RegExp?_0x59dc14=>!(!_0x59dc14['match'](_0x5675d4)&&!_0x59dc14['replace'](/^https?:\/\//,'')['match'](_0x5675d4)):()=>!0x1;}function A(_0xc9751b,_0x560eb8){return _0x45389f(_0xc9751b['target'])['includes'](_0x560eb8);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3cd85d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x35b127,_0x21f497,_0x38e34b){super(),this['_editor']=_0x35b127,this['_editing']=_0x21f497,this['_dialog']=_0x35b127['plugins']['get'](_0x390c13),this['_api']=_0x21f497['ctxElement']['getAPI'](),this['_type']=_0x38e34b,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0xa0ff35,model:_0xbacfc}=this['_editor'],_0x199e82=_0xbacfc['document']['selection']['getSelectedElement'](),_0x46020c=_0x199e82&&(_0x199e82['is']('element','imageBlock')||_0x199e82['is']('element','imageInline'));this['_formView']=new x(_0xa0ff35,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x594418,'title':_(_0xa0ff35,this['_type'],_0x46020c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x330829['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d8161=>!A(_0x4d8161,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xffc914}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xdd0a2a=>{const _0x7aa822=_0xffc914['length'];for(const _0x355d60 of _0xffc914){const _0x476e19=_0x355d60===_0xffc914[_0x7aa822-0x1],{cdnUrl:_0x191ff7,fileInfo:_0x1599e6}=_0x355d60;if(!_0x191ff7||!_0x1599e6)continue;const {width:_0x4f2c80,height:_0x51c290}=_0x1599e6['imageInfo'],_0x1df558=S(_0x191ff7,_0x4f2c80,_0x51c290),_0x2bf3cf=C(_0x191ff7,_0x1df558['width']),_0x16564c={'id':_0x1599e6['uuid'],'type':'image','attributes':{'imageDimension':_0x1df558,..._0x2bf3cf}};this['_insertAsset'](_0x16564c,_0x476e19,_0xdd0a2a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1ea1fa=>{'idle'===_0x1ea1fa['detail']['status']&&!_0x1ea1fa['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x237dcd,_0x1830d4,_0x3a6698){const _0x3e7eef=this['_editor']['model']['document']['selection'],_0xb1bd8d=_0x3e7eef['getSelectedElement'](),_0x3cc427=!(!_0xb1bd8d||!_0xb1bd8d['is']('element','imageInline'));_0x3a6698['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x237dcd,_0x3cc427),_0x1830d4||_0x3a6698['setSelection'](_0x3e7eef['getLastPosition']());}['_insertImage'](_0x34ddb0,_0x5ddef7){const _0x17d586=this['_editor'],{imageDimension:_0xd81aa0,imageFallbackUrl:_0x34566a,imageSources:_0x4738b7}=_0x34ddb0['attributes'];_0x17d586['execute']('insertImage',{'imageType':_0x5ddef7?'imageInline':null,'source':{'uploadcareImageId':_0x34ddb0['id'],'src':_0x34566a,'sources':_0x4738b7,..._0xd81aa0}});}}class w extends _0x22cba9{['_editing'];['_controller']=null;static get['requires'](){return[_0x390c13,o];}constructor(_0xb1fa96){super(_0xb1fa96),this['_editing']=_0xb1fa96['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x50403b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x50403b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1176f8,..._0x53e8c2}){return _0x578f1a(_0x1176f8,_0x53e8c2);}static['getInfo'](_0x1181f9,_0x3432cb){return _0x2d8bd1(_0x1181f9,_0x3432cb);}}class f extends _0x964c97{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x13647e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x55d045=this['editor'];if(!!!_0x55d045['config']['get']('uploadcare'))return;_0x55d045['plugins']['get'](_0x13647e)['createUploadAdapter']=_0x215ba6=>new k(_0x215ba6,_0x55d045),_0x55d045['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2deab7,{imageElement:_0x21b38c,data:_0x150353})=>{_0x55d045['model']['change'](_0x11d87b=>{_0x11d87b['setAttribute']('uploadcareImageId',_0x150353['uploadcareImageId'],_0x21b38c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3cb563,_0x5a9564){this['loader']=_0x3cb563,this['editor']=_0x5a9564,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x58445f=await this['loader']['file'];return j['upload']({'file':_0x58445f,'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':_0x501aab=>{_0x501aab&&_0x501aab['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x501aab['value']);}})['then'](async _0x1ebbe5=>{const {imageFallbackUrl:_0x37bb56,imageSources:_0x176367}=C(_0x1ebbe5['cdnUrl'],_0x1ebbe5['imageInfo']['width']);return{'uploadcareImageId':_0x1ebbe5['uuid'],'default':_0x37bb56,'sources':_0x176367};})['catch'](()=>{const _0x4b5ff0=t('Cannot\x20upload\x20file:')+('\x20'+_0x58445f['name']+'.');return Promise['reject'](_0x4b5ff0);});}['abort'](){this['controller']['abort']();}}class o extends _0x964c97{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x390c13];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x350a11){super(_0x350a11),this['ucContextId']=_0x57a2af();}['init'](){const _0x5551fe=this['editor'];_0x5551fe['commands']['add']('uploadcare',new w(_0x5551fe));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x5756c9=_0x15fb89['document']['querySelector']('input[uploadcare-file-input]');_0x5756c9&&_0x5756c9['remove']();}),async function(_0x4c17de){const _0xccb26=_0x41b0d0([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]),_0xa91818=0x535f8c3a,_0x2ed92d=0x53580b1a^_0xa91818,_0x59cd12=window[_0x41b0d0([0x44,0x61,0x74,0x65])][_0x41b0d0([0x6e,0x6f,0x77])](),_0x48236a=_0x4c17de[_0x41b0d0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bf3e7=new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cf4fd=>{_0x48236a[_0x41b0d0([0x6f,0x6e,0x63,0x65])](_0x41b0d0([0x72,0x65,0x61,0x64,0x79]),_0x3cf4fd);}),_0x4a7ad6={[_0x41b0d0([0x6b,0x74,0x79])]:_0x41b0d0([0x45,0x43]),[_0x41b0d0([0x75,0x73,0x65])]:_0x41b0d0([0x73,0x69,0x67]),[_0x41b0d0([0x63,0x72,0x76])]:_0x41b0d0([0x50,0x2d,0x32,0x35,0x36]),[_0x41b0d0([0x78])]:_0x41b0d0([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]),[_0x41b0d0([0x79])]:_0x41b0d0([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]),[_0x41b0d0([0x61,0x6c,0x67])]:_0x41b0d0([0x45,0x53,0x32,0x35,0x36])},_0x53ef69=_0x48236a[_0x41b0d0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41b0d0([0x67,0x65,0x74])](_0x41b0d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2171f7(){let _0x1af96e,_0x44a6c7=null,_0x3c6ccb=null;try{if(_0x53ef69==_0x41b0d0([0x47,0x50,0x4c]))return _0x41b0d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1af96e=_0x213746(),!_0x1af96e)return _0x41b0d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1af96e[_0x41b0d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c6ccb=_0x3cce5f(_0x1af96e[_0x41b0d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1af96e[_0x41b0d0([0x6a,0x74,0x69])])),await _0x403cdf()?_0x5022c1()?_0x3cdbde()?_0x41b0d0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x248afd()?(_0x1af96e[_0x41b0d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41b0d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x44a6c7=_0x300a7d(_0x41b0d0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5173d7()):_0x41b0d0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41b0d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41b0d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41b0d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cdbde(){const _0x3c77ff=[_0x41b0d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41b0d0([0x74,0x72,0x69,0x61,0x6c])][_0x41b0d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af96e[_0x41b0d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59cd12/0x3e8:0xe10*_0x2ed92d;return _0x1af96e[_0x41b0d0([0x65,0x78,0x70])]<_0x3c77ff;}function _0x5022c1(){const _0x50b404=_0x1af96e[_0x41b0d0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50b404&&(!!_0x50b404[_0x41b0d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b0d0([0x2a]))||!!_0x50b404[_0x41b0d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b0d0([0x55,0x50,0x4c,0x43])));}function _0x248afd(){const _0xc2f0d2=_0x1af96e[_0x41b0d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc2f0d2||0x0==_0xc2f0d2[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25acf4}=new URL(window[_0x41b0d0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc2f0d2[_0x41b0d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25acf4))return!0x0;const _0x2586f7=_0x25acf4[_0x41b0d0([0x73,0x70,0x6c,0x69,0x74])](_0x41b0d0([0x2e]));return _0xc2f0d2[_0x41b0d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c3f30=>_0x4c3f30[_0x41b0d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b0d0([0x2a])))[_0x41b0d0([0x6d,0x61,0x70])](_0x18e4ac=>_0x18e4ac[_0x41b0d0([0x73,0x70,0x6c,0x69,0x74])](_0x41b0d0([0x2e])))[_0x41b0d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x420666=>_0x420666[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2586f7[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41b0d0([0x6d,0x61,0x70])](_0x18fc7a=>Array(_0x2586f7[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18fc7a[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41b0d0([0x66,0x69,0x6c,0x6c])](_0x18fc7a[0x0]===_0x41b0d0([0x2a])?_0x41b0d0([0x2a]):'')[_0x41b0d0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18fc7a))[_0x41b0d0([0x73,0x6f,0x6d,0x65])](_0x23a8d6=>_0x2586f7[_0x41b0d0([0x65,0x76,0x65,0x72,0x79])]((_0x2302a5,_0x5974b0)=>_0x23a8d6[_0x5974b0]===_0x2302a5||_0x23a8d6[_0x5974b0]===_0x41b0d0([0x2a])));}function _0x5173d7(){return _0x44a6c7&&_0x3c6ccb?new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28ecb3,_0x29d1b5)=>{_0x44a6c7[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x28ecb3,_0x29d1b5),_0x3c6ccb[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x5ce640=>{_0x5ce640!=_0x41b0d0([0x56,0x61,0x6c,0x69,0x64])&&_0x28ecb3(_0x5ce640);},_0x29d1b5);}):_0x44a6c7||_0x3c6ccb||_0x41b0d0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cce5f(_0x1462cc,_0x184774){return new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154bdd=>{if(_0xf58766())return _0x154bdd(_0x41b0d0([0x56,0x61,0x6c,0x69,0x64]));_0x51d8f9(),_0x48236a[_0x41b0d0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41b0d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f1c72=!0x1;const _0x51df9f=_0x57a2af();function _0x1cbf7a(_0x504156){return!!_0x504156&&(typeof _0x504156===_0x41b0d0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x504156===_0x41b0d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x504156[_0x41b0d0([0x74,0x68,0x65,0x6e])]===_0x41b0d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x504156[_0x41b0d0([0x63,0x61,0x74,0x63,0x68])]===_0x41b0d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14c4e6(_0x3db244){_0x50f0c4(_0x3db244)[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x2f0a30=>{if(!_0x2f0a30||_0x2f0a30[_0x41b0d0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41b0d0([0x6f,0x6b]))return _0x41b0d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x119680(_0x4c0892(_0x51df9f+_0x184774))!=_0x2f0a30[_0x41b0d0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41b0d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41b0d0([0x56,0x61,0x6c,0x69,0x64]);})[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x1b961a=>(_0x338361(),_0x1b961a),()=>{const _0x27872d=_0x4202b9();return null==_0x27872d?(_0x338361(),_0x41b0d0([0x56,0x61,0x6c,0x69,0x64])):_0x41b0d0(_0x59cd12-_0x27872d>(0x7753083a^_0xa91818)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x154bdd)[_0x41b0d0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x154bdd(_0x41b0d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38bf1c=0x536962ba^_0xa91818;function _0x338361(){const _0x2b3e1f=_0x41b0d0([0x6c,0x6c,0x63,0x74,0x2d])+_0x119680(_0x4c0892(_0x1462cc)),_0x524a83=_0x7268da(_0x119680(window[_0x41b0d0([0x4d,0x61,0x74,0x68])][_0x41b0d0([0x63,0x65,0x69,0x6c])](_0x59cd12/_0x38bf1c)));window[_0x41b0d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b0d0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b3e1f,_0x524a83);}function _0x4202b9(){const _0x45434c=_0x41b0d0([0x6c,0x6c,0x63,0x74,0x2d])+_0x119680(_0x4c0892(_0x1462cc)),_0xda640b=window[_0x41b0d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b0d0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45434c);return _0xda640b?window[_0x41b0d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7268da(_0xda640b),0x10)*_0x38bf1c:null;}function _0x50f0c4(_0x348515){return new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x562420,_0x57da6b)=>{_0x348515[_0x41b0d0([0x74,0x68,0x65,0x6e])](_0x562420,_0x57da6b),window[_0x41b0d0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57da6b,0x535e58fa^_0xa91818);});}}_0x48236a[_0x41b0d0([0x6f,0x6e])](_0x41b0d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f380b,_0x35e33d)=>{if(_0x35e33d[0x0]!=_0x1462cc)return _0x154bdd(_0x41b0d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35e33d[0x1]={..._0x35e33d[0x1],[_0x41b0d0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51df9f};},{[_0x41b0d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b0d0([0x68,0x69,0x67,0x68])}),_0x48236a[_0x41b0d0([0x6f,0x6e])](_0x41b0d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f2455=>{_0x1cbf7a(_0x2f2455[_0x41b0d0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f1c72=!0x0,_0x14c4e6(_0x2f2455[_0x41b0d0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41b0d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b0d0([0x6c,0x6f,0x77])}),_0x4bf3e7[_0x41b0d0([0x74,0x68,0x65,0x6e])](()=>{_0x2f1c72||_0x154bdd(_0x41b0d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf58766(){return _0x48236a[_0x41b0d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b0d0([0x76,0x69,0x65,0x77])][_0x41b0d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41b0d0([0x61,0x75,0x74,0x6f]);}function _0x51d8f9(){_0x48236a[_0x41b0d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b0d0([0x76,0x69,0x65,0x77])][_0x41b0d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41b0d0([0x61,0x75,0x74,0x6f]);}}function _0x300a7d(_0x41c593){const _0xf727a6=[new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e9877=>setTimeout(_0x1e9877,0x5356b2f6^_0xa91818)),_0x4bf3e7[_0x41b0d0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dded3=>{let _0x1d70a5=0x0;_0x48236a[_0x41b0d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b0d0([0x6f,0x6e])](_0x41b0d0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x937448,_0x370068)=>{_0x370068[0x0][_0x41b0d0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d70a5++,_0x1d70a5==(0x535f89d2^_0xa91818)&&(_0x5dded3(),_0x937448[_0x41b0d0([0x6f,0x66,0x66])]());});}))];return window[_0x41b0d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41b0d0([0x72,0x61,0x63,0x65])](_0xf727a6)[_0x41b0d0([0x74,0x68,0x65,0x6e])](()=>_0x41c593);}async function _0x500af6(){await _0x4bf3e7,_0x48236a[_0x41b0d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b0d0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e6262,_0x48236a[_0x41b0d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b0d0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e6262,_0x48236a[_0x41b0d0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41b0d0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x415020(_0x54254e){const _0x2c68c8=_0x1a3f12();_0x48236a[_0x2c68c8]=_0x41b0d0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54254e,_0x54254e!=_0x41b0d0([0x56,0x61,0x6c,0x69,0x64])&&_0x500af6();}function _0x1a3f12(){const _0x448d03=window[_0x41b0d0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41b0d0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41b0d0([0x6e,0x6f,0x77])]())[_0x41b0d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41b0d0([0x2e]),'');let _0x37381f=_0x41b0d0([0x68]);for(let _0x224b50=0x0;_0x224b50<_0x448d03[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x224b50+=0x2){let _0x4cc1e4=window[_0x41b0d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x448d03[_0x41b0d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x224b50,_0x224b50+0x2));_0x4cc1e4>=_0xccb26[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cc1e4-=_0xccb26[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37381f+=_0xccb26[_0x4cc1e4];}return _0x37381f;}function _0x213746(){const _0x24e5e1=_0x53ef69[_0x41b0d0([0x73,0x70,0x6c,0x69,0x74])](_0x41b0d0([0x2e]));if(0x3!=_0x24e5e1[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cd416(_0x24e5e1[0x1]);function _0x5cd416(_0x2acbf8){const _0x1e0411=_0x17e964(_0x2acbf8);return _0x1e0411&&_0x46cc34()?_0x1e0411:null;function _0x46cc34(){const _0x571310=_0x1e0411[_0x41b0d0([0x6a,0x74,0x69])],_0x7473b3=window[_0x41b0d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x571310[_0x41b0d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x571310[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9ff78c={..._0x1e0411,[_0x41b0d0([0x6a,0x74,0x69])]:_0x571310[_0x41b0d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x571310[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9ff78c[_0x41b0d0([0x76,0x63])],_0x4c0892(_0x9ff78c)==_0x7473b3;}}}async function _0x403cdf(){let _0x123670=!0x0;try{const _0x4b6c83=_0x53ef69[_0x41b0d0([0x73,0x70,0x6c,0x69,0x74])](_0x41b0d0([0x2e])),[_0x443bbe,_0x234d19,_0x4533bb]=_0x4b6c83;return _0x4b7606(_0x443bbe),await _0x520442(_0x443bbe,_0x234d19,_0x4533bb),_0x123670;}catch{return!0x1;}function _0x4b7606(_0x3546f5){const _0xe2ab63=_0x17e964(_0x3546f5);_0xe2ab63&&_0xe2ab63[_0x41b0d0([0x61,0x6c,0x67])]==_0x41b0d0([0x45,0x53,0x32,0x35,0x36])||(_0x123670=!0x1);}async function _0x520442(_0xac791d,_0x2de3ef,_0xcce07f){const _0x1308e2=window[_0x41b0d0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41b0d0([0x66,0x72,0x6f,0x6d])](_0x22e6fe(_0xcce07f),_0x137af8=>_0x137af8[_0x41b0d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52b6bd=new window[(_0x41b0d0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41b0d0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xac791d+_0x41b0d0([0x2e])+_0x2de3ef),_0x151a34=window[_0x41b0d0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41b0d0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x151a34)return;const _0x359e3e=await _0x151a34[_0x41b0d0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41b0d0([0x6a,0x77,0x6b]),_0x4a7ad6,{[_0x41b0d0([0x6e,0x61,0x6d,0x65])]:_0x41b0d0([0x45,0x43,0x44,0x53,0x41]),[_0x41b0d0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41b0d0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41b0d0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x151a34[_0x41b0d0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41b0d0([0x6e,0x61,0x6d,0x65])]:_0x41b0d0([0x45,0x43,0x44,0x53,0x41]),[_0x41b0d0([0x68,0x61,0x73,0x68])]:{[_0x41b0d0([0x6e,0x61,0x6d,0x65])]:_0x41b0d0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x359e3e,_0x1308e2,_0x52b6bd)||(_0x123670=!0x1);}}function _0x17e964(_0x2cc64f){return _0x2cc64f[_0x41b0d0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41b0d0([0x65,0x79]))?JSON[_0x41b0d0([0x70,0x61,0x72,0x73,0x65])](_0x22e6fe(_0x2cc64f)):null;}function _0x22e6fe(_0x5f245f){return window[_0x41b0d0([0x61,0x74,0x6f,0x62])](_0x5f245f[_0x41b0d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41b0d0([0x2b]))[_0x41b0d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41b0d0([0x2f])));}function _0x4c0892(_0x3f3795){let _0x4df7a7=0x1505;function _0x3458c8(_0x200d0d){for(let _0x561ba9=0x0;_0x561ba9<_0x200d0d[_0x41b0d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x561ba9++){const _0x510da3=_0x200d0d[_0x41b0d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x561ba9);_0x4df7a7=(_0x4df7a7<<0x5)+_0x4df7a7+_0x510da3,_0x4df7a7&=_0x4df7a7;}}function _0x39b558(_0x571c97){Array[_0x41b0d0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x571c97)?_0x571c97[_0x41b0d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39b558):_0x571c97&&typeof _0x571c97==_0x41b0d0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41b0d0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x571c97)[_0x41b0d0([0x73,0x6f,0x72,0x74])]()[_0x41b0d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x101abd,_0x25a658])=>{_0x3458c8(_0x101abd),_0x39b558(_0x25a658);}):_0x3458c8(window[_0x41b0d0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x571c97));}return _0x39b558(_0x3f3795),_0x4df7a7>>>0x0;}function _0x119680(_0x1238fd){return _0x1238fd[_0x41b0d0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41b0d0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41b0d0([0x30]));}function _0x7268da(_0x513317){return _0x513317[_0x41b0d0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41b0d0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41b0d0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e6262(){}function _0x41b0d0(_0x58ce2e){return _0x58ce2e['map'](_0x220bf4=>String['fromCharCode'](_0x220bf4))['join']('');}_0x415020(await _0x2171f7());}(this);}['_initSchema'](){const _0xe3ff36=this['editor']['model']['schema'];_0xe3ff36['isRegistered']('imageBlock')&&_0xe3ff36['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xe3ff36['isRegistered']('imageInline')&&_0xe3ff36['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x10a2c6=this['editor'];_0x10a2c6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x10a2c6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x275a0d=>_0x275a0d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xfa71bd=_0x10a2c6['commands']['get']('replaceImageSource');_0xfa71bd&&this['listenTo'](_0xfa71bd,'cleanupImage',(_0x1d9a36,[_0x4e7f52,_0x172aff])=>{_0x4e7f52['removeAttribute']('uploadcareImageId',_0x172aff);});}['_initConfig'](){const _0x1a3831=this['editor']['config']['get']('uploadcare.uploader')||{},_0x117ce7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x97ddba(_0x15fb89['document'],'uc-config',{..._0x1a3831,'pubkey':_0x117ce7,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x1b7cf7=>{if('closeMax'==_0x1b7cf7)return'#uc-icon-arrow-down';},_0x15fb89['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x97ddba(_0x15fb89['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x15fb89['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x483a7a=this['editor']['commands']['get']('insertImage');_0x483a7a&&this['listenTo'](_0x483a7a,'execute',()=>{const _0x241f8c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x241f8c&&_0x241f8c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x241f8c);});});const _0x49241e=this['editor']['commands']['get']('uploadcareImageReplace');_0x49241e&&this['listenTo'](_0x49241e,'execute',()=>{const _0x1211cc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1211cc&&_0x1211cc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1211cc);});});}}class tt extends _0x964c97{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24de95){super(_0x24de95),_0x24de95['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xae926e['defineComponents'](_0xae926e),this['_defineLocale']();}['_defineLocale'](){const _0x467bb1=this['editor']['config']['get']('uploadcare.locale'),_0x411212=this['editor']['locale']['contentLanguage'];_0x467bb1&&_0xae926e['defineLocale'](_0x411212,_0x467bb1);}}class ii extends _0x8e5796{constructor(_0x21d922){super(_0x21d922);const t=_0x21d922['t'],_0x1bca01=this['bindTemplate'],_0x3aa7cc=new _0x2fd75c();_0x3aa7cc['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':[_0x3aa7cc,{'text':_0x1bca01['to']('imageUploadProgress',_0xd05396=>t('Loading\x20image...')+'\x20('+(_0xd05396||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'}]}]}]});}}class ti extends _0x8e5796{constructor(_0x31a687){super(_0x31a687);const t=_0x31a687['t'];this['set']('errorType',null);const _0x4ff5ae=new _0x3bace2(_0x31a687);_0x4ff5ae['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4ff5ae['withText']=!0x0,_0x4ff5ae['class']='ck-button-action',_0x4ff5ae['on']('execute',()=>{this['fire']('retry');}),_0x4ff5ae['bind']('isVisible')['to'](this,'errorType',_0x2bf2ba=>'NotFound'!==_0x2bf2ba);const _0x4c47c3=new _0x3045a4();_0x4c47c3['content']=_0x131f02,_0x4c47c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30398d=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':[_0x4c47c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30398d['to']('errorType',_0xeee3f7=>t('NotFound'!==_0xeee3f7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4ff5ae]},{'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'}]}]}]});}}class ei extends _0x8e5796{constructor(_0x54b903,_0x478459){super(_0x54b903);const _0x4b0126=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x478459,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4b0126['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3b9ec5,_0x4eae05,_0x4d58e2){super(_0x3b9ec5),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3b9ec5),this['_errorView']=new ti(_0x3b9ec5),this['_editingView']=new ei(_0x3b9ec5,_0x4d58e2),this['_focusableView']=new _0x8e5796(_0x3b9ec5),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4eae05),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x2d6906=>{this['_addUploadcareImageEditorListeners'](_0x2d6906);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x4f51b6,_0x5f0a4d){const _0x126f80='uc-cloud-image-editor',_0x52a3f7=_0x4f51b6['querySelector'](_0x126f80);if(_0x52a3f7)return _0x5f0a4d(_0x52a3f7);const _0x3abed5=new MutationObserver(_0x52d06c=>{const _0x5d52f7=_0x52d06c['filter'](_0x57064e=>_0x57064e['target']===_0x4f51b6&&_0x57064e['addedNodes']['length']>0x0&&_0x57064e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x126f80);_0x5d52f7['length']&&(_0x3abed5['disconnect'](),_0x5f0a4d(_0x5d52f7[0x0]['addedNodes'][0x0]));});_0x3abed5['observe'](_0x4f51b6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x197f67){_0x197f67['addEventListener']('apply',_0x254521=>{this['fire']('apply',{'imageSrc':_0x254521['detail']['cdnUrl']});}),_0x197f67['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x3cd85d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x131d3e,_0x843b34,_0x522ca5){super(),this['_editor']=_0x131d3e,this['_dialog']=_0x843b34,this['_imageElement']=_0x522ca5,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 _0x467ce0=this['_imageElement'],_0x54847e=_0x467ce0['getAttribute']('uploadcareImageId'),_0x4eca59=_0x467ce0['getAttribute']('src');if(_0x54847e)await this['_loadImageInfo'](_0x54847e,_0x4eca59);else{if(this['_imageCache']['has'](_0x4eca59)){const _0x213ed6=this['_imageCache']['get'](_0x4eca59);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x213ed6['url'],this['imageDimension']=_0x213ed6['dimension'],this['imageId']=_0x213ed6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2336c4}=this['_editor'],t=_0x2336c4['t'],_0x444408=new X(_0x2336c4,this['imageStatus'],this['_attributes']);_0x444408['bind']('status')['to'](this,'imageStatus'),_0x444408['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x444408['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x444408['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x444408,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xea7d7a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x444408,'position':_0x330829['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x444408['focus']();},'onHide':()=>{_0x444408['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x184c53=>!A(_0x184c53,_0x444408['element'])}});}['_loadImageInfo'](_0x3533be,_0x50a9e0){return j['getInfo'](_0x3533be,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x391665=>{const {width:_0x40d8a6,height:_0x14af85}=_0x391665['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50a9e0,this['imageDimension']={'width':_0x40d8a6,'height':_0x14af85},this['imageId']=_0x3533be;})['catch'](_0x2a9ddf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a9ddf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4af0f7,_0x33c2a7){return this['_getImageAsFile'](_0x4af0f7)['then'](_0x1948e8=>j['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':_0x33c2a7['signal'],'file':_0x1948e8,'onProgress':_0xb4013e=>{_0xb4013e&&_0xb4013e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xb4013e['value']));}}))['then'](_0x2c0784=>{const {width:_0x20fe43,height:_0x14b41f}=_0x2c0784['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c0784['cdnUrl'],this['imageDimension']={'width':_0x20fe43,'height':_0x14b41f},this['imageId']=_0x2c0784['uuid'],this['imageUploadProgress']=null;const _0x2da422=_0x4af0f7['getAttribute']('src');this['_imageCache']['set'](_0x2da422,{'id':_0x2c0784['uuid'],'url':_0x2c0784['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x6c37e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x6c37e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4a41f2,_0x23d948){_0x4a41f2['on']('apply',(_0x525d3f,_0x334905)=>{this['_replaceImage'](_0x23d948,_0x334905['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4a41f2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4a41f2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e12d5,_0x4a17a3,_0x5e9088){const _0x1b02a7=this['_editor'],{width:_0x2e3a86,height:_0x4845e3}=S(_0x4a17a3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xe4dee1,imageSources:_0x1447f8}=C(_0x4a17a3,_0x2e3a86);_0x1b02a7['model']['change'](_0x267d86=>{if('$graveyard'===_0x5e12d5['root']['rootName']){_0x1b02a7['execute']('insertImage',{'imageType':_0x5e12d5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e12d5['getAttributes']()),'uploadcareImageId':_0x5e9088,'src':_0xe4dee1,'sources':_0x1447f8,'width':_0x2e3a86,'height':_0x4845e3}});const _0x3f3b00=_0x5e12d5['getChildren']();_0x5e12d5=_0x1b02a7['model']['document']['selection']['getSelectedElement']();for(const _0xee70ba of _0x3f3b00)_0x267d86['append'](_0x267d86['cloneElement'](_0xee70ba),_0x5e12d5);}else _0x267d86['setSelection'](_0x5e12d5,'on'),_0x1b02a7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e12d5['getAttributes']()),'uploadcareImageId':_0x5e9088,'src':_0xe4dee1,'sources':_0x1447f8,'width':_0x2e3a86,'height':_0x4845e3},_0x5e12d5);_0x267d86['setSelection'](_0x5e12d5,'on');});}async['_getImageAsFile'](_0x341a94){const _0x19d578=_0x15fb89['window'],_0x27ef53=_0x15fb89['document']['location']['href'],_0x4e19f8=new _0x19d578['URL'](_0x341a94['getAttribute']('src'),_0x27ef53);if('data:'===_0x4e19f8['protocol']){const _0x3d95b4=_0x4e19f8['href']['split'](','),_0x1a67e7=_0x3d95b4[0x0]['match'](/:(.*?);/)[0x1],_0xed330a=_0x1a67e7['split']('/')[0x1],_0x566886=_0x19d578['atob'](_0x3d95b4[_0x3d95b4['length']-0x1]);let _0x247d38=_0x566886['length'];const _0x3835a=new _0x19d578['Uint8Array'](_0x247d38);for(;_0x247d38--;)_0x3835a[_0x247d38]=_0x566886['charCodeAt'](_0x247d38);return new _0x19d578['File']([_0x3835a],'image.'+_0xed330a,{'type':_0x1a67e7});}const _0x2d48ec=_0x4e19f8['href']['split']('/'),_0x507701=_0x2d48ec[_0x2d48ec['length']-0x1],_0x227185=_0x507701['split']('.')[0x1];return _0x19d578['fetch'](_0x4e19f8['href'])['then'](_0x3aab4d=>_0x3aab4d['clone']()['blob']())['then'](_0x49dd6f=>new _0x19d578['File']([_0x49dd6f],_0x507701,{'type':'image/'+_0x227185}));}}class Q extends _0x22cba9{['imageEditController'];static get['requires'](){return[_0x390c13];}['_isEditable'];constructor(_0x2082c3){super(_0x2082c3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x438654){const _0x2ba54f=z(_0x438654);return _0x3f944e=>!(!_0x3f944e||!_0x3f944e['is']('element','imageBlock')&&!_0x3f944e['is']('element','imageInline'))&&(!!_0x3f944e['hasAttribute']('uploadcareImageId')||!!_0x3f944e['hasAttribute']('src')&&_0x2ba54f(_0x3f944e['getAttribute']('src')));}(_0x2082c3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xf7c38=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xf7c38);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x8cb5fc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8cb5fc&&(_0x8cb5fc['is']('element','imageBlock')||_0x8cb5fc['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x390c13),_0x8cb5fc),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x22cba9{['refresh'](){const _0x371092=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x371092&&(_0x371092['is']('element','imageBlock')||_0x371092['is']('element','imageInline')));}['execute'](_0x3f227d){const _0x4cac5c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x25f158=>{_0x25f158['setAttributes'](_0x3f227d,_0x4cac5c),_0x25f158['removeAttribute']('srcset',_0x4cac5c),_0x25f158['removeAttribute']('sizes',_0x4cac5c);});}}class m extends _0x964c97{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x140dff,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x425e75}=this;_0x425e75['commands']['add']('uploadcareImageEdit',new Q(_0x425e75)),_0x425e75['commands']['add']('uploadcareImageReplace',new V(_0x425e75));}}class g extends _0x964c97{['_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 _0x434030=this['editor'];_0x434030['ui']['componentFactory']['add']('uploadcareImageEdit',_0x188462=>{const _0x5ed877=_0x434030['commands']['get']('uploadcareImageEdit'),_0x533516=new _0x3bace2(_0x188462),t=_0x188462['t'];return _0x533516['set']({'icon':_0xea7d7a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x533516['bind']('isEnabled')['to'](_0x5ed877),_0x533516['bind']('isOn')['to'](_0x5ed877,'isActive'),this['listenTo'](_0x533516,'execute',()=>{_0x434030['execute']('uploadcareImageEdit'),_0x434030['editing']['view']['focus']();}),_0x533516;}),this['_initConfig']();}['_initConfig'](){const _0x54d9ab=_0x97ddba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x54d9ab),this['listenTo'](this['editor'],'destroy',()=>{_0x54d9ab['remove']();});}}class et extends _0x964c97{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xf9aa35=>0x1!=_0xf9aa35}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x55a634=>0x1!=_0x55a634}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f49aa=>{const {af:{dictionary:_0x13d586,getPluralForm:_0x106de1}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2792b0=>0x1!=_0x2792b0}};_0x2f49aa['af']||={'dictionary':{},'getPluralForm':null},_0x2f49aa['af']['dictionary']=Object['assign'](_0x2f49aa['af']['dictionary'],_0x13d586),_0x2f49aa['af']['getPluralForm']=_0x106de1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12ee20=>{const {af:{dictionary:_0x200f66,getPluralForm:_0x46a9ac}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x237f2e=>0x1!=_0x237f2e}};_0x12ee20['af']||={'dictionary':{},'getPluralForm':null},_0x12ee20['af']['dictionary']=Object['assign'](_0x12ee20['af']['dictionary'],_0x200f66),_0x12ee20['af']['getPluralForm']=_0x46a9ac;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0xdcd83e=>0x0==_0xdcd83e?0x0:0x1==_0xdcd83e?0x1:0x2==_0xdcd83e?0x2:_0xdcd83e%0x64>=0x3&&_0xdcd83e%0x64<=0xa?0x3:_0xdcd83e%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x41e37f=>0x0==_0x41e37f?0x0:0x1==_0x41e37f?0x1:0x2==_0x41e37f?0x2:_0x41e37f%0x64>=0x3&&_0x41e37f%0x64<=0xa?0x3:_0x41e37f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x474cb8=>{const {ar:{dictionary:_0x36f00f,getPluralForm:_0x503e7d}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0xe2aa34=>0x0==_0xe2aa34?0x0:0x1==_0xe2aa34?0x1:0x2==_0xe2aa34?0x2:_0xe2aa34%0x64>=0x3&&_0xe2aa34%0x64<=0xa?0x3:_0xe2aa34%0x64>=0xb?0x4:0x5}};_0x474cb8['ar']||={'dictionary':{},'getPluralForm':null},_0x474cb8['ar']['dictionary']=Object['assign'](_0x474cb8['ar']['dictionary'],_0x36f00f),_0x474cb8['ar']['getPluralForm']=_0x503e7d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x129c2d=>{const {ar:{dictionary:_0x9512e1,getPluralForm:_0x183597}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x551213=>0x0==_0x551213?0x0:0x1==_0x551213?0x1:0x2==_0x551213?0x2:_0x551213%0x64>=0x3&&_0x551213%0x64<=0xa?0x3:_0x551213%0x64>=0xb?0x4:0x5}};_0x129c2d['ar']||={'dictionary':{},'getPluralForm':null},_0x129c2d['ar']['dictionary']=Object['assign'](_0x129c2d['ar']['dictionary'],_0x9512e1),_0x129c2d['ar']['getPluralForm']=_0x183597;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1844d6=>0x1!=_0x1844d6}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3d87dd=>0x1!=_0x3d87dd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1957bc=>{const {ast:{dictionary:_0x4eab40,getPluralForm:_0x2852c3}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xa5bf59=>0x1!=_0xa5bf59}};_0x1957bc['ast']||={'dictionary':{},'getPluralForm':null},_0x1957bc['ast']['dictionary']=Object['assign'](_0x1957bc['ast']['dictionary'],_0x4eab40),_0x1957bc['ast']['getPluralForm']=_0x2852c3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2dd8ce=>{const {ast:{dictionary:_0x253157,getPluralForm:_0x356aa0}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2ebfcd=>0x1!=_0x2ebfcd}};_0x2dd8ce['ast']||={'dictionary':{},'getPluralForm':null},_0x2dd8ce['ast']['dictionary']=Object['assign'](_0x2dd8ce['ast']['dictionary'],_0x253157),_0x2dd8ce['ast']['getPluralForm']=_0x356aa0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5db49f=>0x1!=_0x5db49f}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3193d5=>0x1!=_0x3193d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a309d=>{const {az:{dictionary:_0x1e65a1,getPluralForm:_0x578178}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x11bc61=>0x1!=_0x11bc61}};_0x4a309d['az']||={'dictionary':{},'getPluralForm':null},_0x4a309d['az']['dictionary']=Object['assign'](_0x4a309d['az']['dictionary'],_0x1e65a1),_0x4a309d['az']['getPluralForm']=_0x578178;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54c1ab=>{const {az:{dictionary:_0x1fb48c,getPluralForm:_0x183545}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x58bc45=>0x1!=_0x58bc45}};_0x54c1ab['az']||={'dictionary':{},'getPluralForm':null},_0x54c1ab['az']['dictionary']=Object['assign'](_0x54c1ab['az']['dictionary'],_0x1fb48c),_0x54c1ab['az']['getPluralForm']=_0x183545;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xa7685f=>_0xa7685f%0xa==0x1&&_0xa7685f%0x64!=0xb?0x0:_0xa7685f%0xa>=0x2&&_0xa7685f%0xa<=0x4&&(_0xa7685f%0x64<0xa||_0xa7685f%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4cc10b=>_0x4cc10b%0xa==0x1&&_0x4cc10b%0x64!=0xb?0x0:_0x4cc10b%0xa>=0x2&&_0x4cc10b%0xa<=0x4&&(_0x4cc10b%0x64<0xa||_0x4cc10b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf8ab0e=>{const {be:{dictionary:_0x3594e6,getPluralForm:_0x482291}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3cae02=>_0x3cae02%0xa==0x1&&_0x3cae02%0x64!=0xb?0x0:_0x3cae02%0xa>=0x2&&_0x3cae02%0xa<=0x4&&(_0x3cae02%0x64<0xa||_0x3cae02%0x64>=0x14)?0x1:0x2}};_0xf8ab0e['be']||={'dictionary':{},'getPluralForm':null},_0xf8ab0e['be']['dictionary']=Object['assign'](_0xf8ab0e['be']['dictionary'],_0x3594e6),_0xf8ab0e['be']['getPluralForm']=_0x482291;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a3201=>{const {be:{dictionary:_0x1974d1,getPluralForm:_0x450057}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x20b076=>_0x20b076%0xa==0x1&&_0x20b076%0x64!=0xb?0x0:_0x20b076%0xa>=0x2&&_0x20b076%0xa<=0x4&&(_0x20b076%0x64<0xa||_0x20b076%0x64>=0x14)?0x1:0x2}};_0x2a3201['be']||={'dictionary':{},'getPluralForm':null},_0x2a3201['be']['dictionary']=Object['assign'](_0x2a3201['be']['dictionary'],_0x1974d1),_0x2a3201['be']['getPluralForm']=_0x450057;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1b19de=>0x1!=_0x1b19de}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1e40d0=>0x1!=_0x1e40d0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ecda0=>{const {bg:{dictionary:_0x200f49,getPluralForm:_0x55e7a5}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x4e55b0=>0x1!=_0x4e55b0}};_0x5ecda0['bg']||={'dictionary':{},'getPluralForm':null},_0x5ecda0['bg']['dictionary']=Object['assign'](_0x5ecda0['bg']['dictionary'],_0x200f49),_0x5ecda0['bg']['getPluralForm']=_0x55e7a5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x78cc85=>{const {bg:{dictionary:_0x51bad8,getPluralForm:_0x2cdf4e}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3830f5=>0x1!=_0x3830f5}};_0x78cc85['bg']||={'dictionary':{},'getPluralForm':null},_0x78cc85['bg']['dictionary']=Object['assign'](_0x78cc85['bg']['dictionary'],_0x51bad8),_0x78cc85['bg']['getPluralForm']=_0x2cdf4e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x45efcf=>0x1!=_0x45efcf}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x4c99d7=>0x1!=_0x4c99d7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x559578=>{const {bn:{dictionary:_0x4bed1c,getPluralForm:_0x1ff0bf}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x1f7cf1=>0x1!=_0x1f7cf1}};_0x559578['bn']||={'dictionary':{},'getPluralForm':null},_0x559578['bn']['dictionary']=Object['assign'](_0x559578['bn']['dictionary'],_0x4bed1c),_0x559578['bn']['getPluralForm']=_0x1ff0bf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x384732=>{const {bn:{dictionary:_0x4b634f,getPluralForm:_0x2b610f}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0xdbdab7=>0x1!=_0xdbdab7}};_0x384732['bn']||={'dictionary':{},'getPluralForm':null},_0x384732['bn']['dictionary']=Object['assign'](_0x384732['bn']['dictionary'],_0x4b634f),_0x384732['bn']['getPluralForm']=_0x2b610f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x59fa55=>_0x59fa55%0xa==0x1&&_0x59fa55%0x64!=0xb?0x0:_0x59fa55%0xa>=0x2&&_0x59fa55%0xa<=0x4&&(_0x59fa55%0x64<0xa||_0x59fa55%0x64>=0x14)?0x1:0x2}};
23
+ export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1ffd54=>_0x1ffd54%0xa==0x1&&_0x1ffd54%0x64!=0xb?0x0:_0x1ffd54%0xa>=0x2&&_0x1ffd54%0xa<=0x4&&(_0x1ffd54%0x64<0xa||_0x1ffd54%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x392baf=>{const {bs:{dictionary:_0x3d3d32,getPluralForm:_0x3ceeeb}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1cb848=>_0x1cb848%0xa==0x1&&_0x1cb848%0x64!=0xb?0x0:_0x1cb848%0xa>=0x2&&_0x1cb848%0xa<=0x4&&(_0x1cb848%0x64<0xa||_0x1cb848%0x64>=0x14)?0x1:0x2}};_0x392baf['bs']||={'dictionary':{},'getPluralForm':null},_0x392baf['bs']['dictionary']=Object['assign'](_0x392baf['bs']['dictionary'],_0x3d3d32),_0x392baf['bs']['getPluralForm']=_0x3ceeeb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c5633=>{const {bs:{dictionary:_0x3e5e20,getPluralForm:_0x38df26}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2aecbe=>_0x2aecbe%0xa==0x1&&_0x2aecbe%0x64!=0xb?0x0:_0x2aecbe%0xa>=0x2&&_0x2aecbe%0xa<=0x4&&(_0x2aecbe%0x64<0xa||_0x2aecbe%0x64>=0x14)?0x1:0x2}};_0x1c5633['bs']||={'dictionary':{},'getPluralForm':null},_0x1c5633['bs']['dictionary']=Object['assign'](_0x1c5633['bs']['dictionary'],_0x3e5e20),_0x1c5633['bs']['getPluralForm']=_0x38df26;})(window['CKEDITOR_TRANSLATIONS']||={});