@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251227.0 → 0.0.0-nightly-next-20251227.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2723b6,Command as _0x3491f9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x14a7a9,IconGooglePhotos as _0x42481c,IconGoogleDrive as _0x1220da,IconFacebook as _0x11b3a7,IconDropbox as _0x3f3fa6,IconUploadcareLink as _0xaf475a,IconUploadcareImageUpload as _0x263869,IconError as _0x5c31d1,IconUploadcareImageEdit as _0x49d7ae}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xc5e45d,MenuBarMenuListItemButtonView as _0x3728ec,View as _0x16f752,FocusCycler as _0x1974f2,Dialog as _0x191ec3,DialogViewPosition as _0x18a93e,SpinnerView as _0x263800,IconView as _0x2f5edc,Notification as _0x336fc8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x255547,DomEmitterMixin as _0x2c7ff7,global as _0x3f302c,getAncestors as _0x4212e9,ObservableMixin as _0x294507,uid as _0x5ecf0a,createElement as _0x377327}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xbc6b6e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4dfdf3,info as _0x27e77f}from'@uploadcare/upload-client';import*as _0x53db37 from'@uploadcare/file-uploader';var i=function(_0x3404eb){return _0x3404eb['Local']='local',_0x3404eb['URL']='url',_0x3404eb['Dropbox']='dropbox',_0x3404eb['GDrive']='gdrive',_0x3404eb['Facebook']='facebook',_0x3404eb['GPhotos']='gphotos',_0x3404eb['OneDrive']='onedrive',_0x3404eb;}({});function _(_0x29542c,_0x477bb4,_0x96b20c){const t=_0x29542c['t'],_0xc74fc5=_0x29542c['t'];switch(_0x477bb4){case i['Local']:return{'text':_0xc74fc5('Insert'===_0x96b20c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc74fc5('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x96b20c?_0xc74fc5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc74fc5('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x96b20c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x96b20c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x96b20c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x96b20c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x96b20c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x477bb4;}}class e extends _0x2723b6{['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 _0x5b16c4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x561592;for(const _0x309ae6 in _0x5b16c4){const _0x4e4b3f=_0x309ae6,_0xbdb2bf=_0x5b16c4[_0x4e4b3f];if('uploadcareLicenseKeyValid'==_0xbdb2bf||'uploadcareLicenseKeyInvalid'==_0xbdb2bf||'uploadcareLicenseKeyExpired'==_0xbdb2bf||'uploadcareLicenseKeyDomainLimit'==_0xbdb2bf||'uploadcareLicenseKeyNotAllowed'==_0xbdb2bf||'uploadcareLicenseKeyEvaluationLimit'==_0xbdb2bf||'uploadcareLicenseKeyTrialLimit'==_0xbdb2bf||'uploadcareLicenseKeyUsageLimit'==_0xbdb2bf){delete _0x5b16c4[_0x4e4b3f],_0x561592=_0xbdb2bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x561592&&_0x5b16c4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x561592&&_0x5b16c4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x561592&&_0x5b16c4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x561592&&_0x5b16c4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x561592&&_0x5b16c4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x561592&&_0x5b16c4['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x561592&&_0x5b16c4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xb4645a}=this,_0x6d531f=_0xb4645a['commands']['get']('uploadcare');if(!_0x6d531f)return;const _0x428d22=this['_normalizeConfigSourceList'](_0xb4645a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5b87e9,_0x5d873f)=>{const _0x115a8b=this['_getIntegrationKey'](_0x5d873f['type']);return _0x5b87e9[_0x115a8b]||(_0x5b87e9[_0x115a8b]=[]),_0x5b87e9[_0x115a8b]['push'](_0x5d873f),_0x5b87e9;},{});_0xb4645a['plugins']['has']('ImageInsertUI')&&_0xb4645a['commands']['get']('uploadcare')&&Object['entries'](_0x428d22)['forEach'](([_0x309fd8,_0x3fa937])=>{_0xb4645a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x309fd8,'observable':()=>_0x6d531f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3fa937),'formViewCreator':()=>this['_createDropdownButtons'](_0x3fa937),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3fa937),'override':'assetManager'!==_0x309fd8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x12a4c1){const {locale:_0x5961d0}=this['editor'];return _0x12a4c1['map'](_0x534536=>{const _0x2c9df4=_(_0x5961d0,_0x534536,'Insert');switch(_0x534536){case i['Local']:return{'icon':_0x263869,'type':i['Local'],..._0x2c9df4};case i['URL']:return{'icon':_0xaf475a,'type':i['URL'],..._0x2c9df4};case i['Dropbox']:return{'icon':_0x3f3fa6,'type':i['Dropbox'],..._0x2c9df4};case i['Facebook']:return{'icon':_0x11b3a7,'type':i['Facebook'],..._0x2c9df4};case i['GDrive']:return{'icon':_0x1220da,'type':i['GDrive'],..._0x2c9df4};case i['GPhotos']:return{'icon':_0x42481c,'type':i['GPhotos'],..._0x2c9df4};case i['OneDrive']:return{'icon':_0x14a7a9,'type':i['OneDrive'],..._0x2c9df4};}});}['_getIntegrationKey'](_0x3ab53c){switch(_0x3ab53c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4731cd,_0x2f6346){const _0x3639aa=this['editor'],_0x3923c9=new _0x4731cd(_0x3639aa['locale']),_0x5ada56=_0x3639aa['commands']['get']('uploadcare');return _0x3923c9['bind']('isEnabled')['to'](_0x5ada56),_0x3923c9['on']('execute',()=>{_0x5ada56['execute'](_0x2f6346);}),_0x3923c9;}['_createToolbarButton'](_0x27af4d){const {locale:_0x247c1b}=this['editor'],_0x5f0bf2=this['editor']['plugins']['get']('ImageInsertUI'),_0x2f8d52=_0x27af4d[0x0],_0x51ee98=this['_createButton'](_0xc5e45d,_0x2f8d52['type']);return _0x51ee98['icon']=_0x2f8d52['icon'],_0x51ee98['bind']('label')['to'](_0x5f0bf2,'isImageSelected',_0x4b0486=>_(_0x247c1b,_0x2f8d52['type'],_0x4b0486?'Replace':'Insert')['text']),_0x51ee98['tooltip']=!0x0,_0x51ee98;}['_createDropdownButtons'](_0x585d97){const {locale:_0x5746be}=this['editor'],_0x6532b7=this['editor']['plugins']['get']('ImageInsertUI');return _0x585d97['map'](_0x3afa75=>{const _0x528abb=this['_createButton'](_0xc5e45d,_0x3afa75['type']);return _0x528abb['withText']=!0x0,_0x528abb['icon']=_0x3afa75['icon'],_0x528abb['bind']('label')['to'](_0x6532b7,'isImageSelected',_0x29fe23=>_(_0x5746be,_0x3afa75['type'],_0x29fe23?'Replace':'Insert')['text']),_0x528abb;});}['_createMenuBarButtons'](_0x2fd3f1){return _0x2fd3f1['map'](_0x4a04ea=>{const _0x30faa9=this['_createButton'](_0x3728ec,_0x4a04ea['type']);return _0x30faa9['icon']=_0x4a04ea['icon'],_0x30faa9['label']=_0x4a04ea['shortText'],_0x30faa9;});}}class F extends _0x16f752{['focusTracker'];['focusCycler'];constructor(_0x451bdb){super(_0x451bdb),this['focusTracker']=new _0x255547(),this['focusCycler']=new _0x1974f2({'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(_0x42c384,_0x25f69b){super(_0x42c384),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-'+_0x25f69b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1c117e,_0x2b6ae9){const _0x8e35ac=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x58eb88=>_0x58eb88<=_0x2b6ae9)['map'](_0x52d352=>_0x1c117e['replace'](/\/$/,'')+'/-/resize/'+_0x52d352+'x/\x20'+_0x52d352+'w');return{'imageFallbackUrl':_0x1c117e,'imageSources':[{'srcset':_0x8e35ac['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2b6ae9+'px)\x20100vw,\x20'+_0x2b6ae9+'px','type':'image/webp'}]};}function S(_0x5b1805,_0x1ce299,_0x5f31e6){const _0x141263=_0x5b1805['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x141263?parseInt(_0x141263[0x1],0xa):_0x1ce299,'height':_0x141263?parseInt(_0x141263[0x2],0xa):_0x5f31e6};}function p(_0x2834c0,_0x24cee1){const _0x1fc2f2=new(_0x2c7ff7())(),_0x2d53f7=_0x2834c0['plugins']['get']('ImageUtils'),_0xa0ce9d=_0x2834c0['editing']['mapper']['toViewElement'](_0x24cee1),_0x427f9e=_0x2d53f7['findViewImgElement'](_0xa0ce9d),_0x555654=_0x2834c0['editing']['view']['domConverter']['viewToDom'](_0x427f9e),_0x331e11=_0x24cee1['getAttribute']('width'),_0x5bcd49=_0x24cee1['getAttribute']('height'),_0x5ac9bd='image-processing';_0x2834c0['editing']['view']['change'](_0x353eb9=>{_0x353eb9['addClass'](_0x5ac9bd,_0xa0ce9d),_0x353eb9['setStyle']('aspect-ratio',_0x331e11+'/'+_0x5bcd49,_0x427f9e);}),_0x1fc2f2['listenTo'](_0x555654,'load',()=>{_0x1fc2f2['stopListening'](_0x555654,'load'),_0x2834c0['editing']['view']['change'](_0x1ae528=>{_0x1ae528['removeClass'](_0x5ac9bd,_0xa0ce9d),_0x1ae528['removeStyle']('aspect-ratio',_0x427f9e);});});}function G(_0x30570b){if(Array['isArray'](_0x30570b)){const _0x2d971=_0x30570b['map'](G);return _0x30fb96=>_0x2d971['some'](_0x968d6f=>_0x968d6f(_0x30fb96));}if('origin'==_0x30570b){const _0x4e4814=_0x3f302c['window']['location']['origin'];return _0x26fe12=>new URL(_0x26fe12,_0x3f302c['document']['baseURI'])['origin']==_0x4e4814;}return'function'==typeof _0x30570b?_0x30570b:_0x30570b instanceof RegExp?_0xa57c56=>!(!_0xa57c56['match'](_0x30570b)&&!_0xa57c56['replace'](/^https?:\/\//,'')['match'](_0x30570b)):()=>!0x1;}function A(_0x6df0cb,_0x4fe065){return _0x4212e9(_0x6df0cb['target'])['includes'](_0x4fe065);}class n extends/* #__PURE__ -- @preserve */
24
- _0x294507(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xf477a4,_0x2fa673,_0x56ba86){super(),this['_editor']=_0xf477a4,this['_editing']=_0x2fa673,this['_dialog']=_0xf477a4['plugins']['get'](_0x191ec3),this['_api']=_0x2fa673['ctxElement']['getAPI'](),this['_type']=_0x56ba86,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:_0x368640,model:_0x3b8896}=this['_editor'],_0x102ad0=_0x3b8896['document']['selection']['getSelectedElement'](),_0x520238=_0x102ad0&&(_0x102ad0['is']('element','imageBlock')||_0x102ad0['is']('element','imageInline'));this['_formView']=new x(_0x368640,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x263869,'title':_(_0x368640,this['_type'],_0x520238?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x18a93e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57f998=>!A(_0x57f998,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x56aa47}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x499213=>{const _0x23aa7e=_0x56aa47['length'];for(const _0x2a4546 of _0x56aa47){const _0x49adae=_0x2a4546===_0x56aa47[_0x23aa7e-0x1],{cdnUrl:_0x25364d,fileInfo:_0x43c603}=_0x2a4546;if(!_0x25364d||!_0x43c603)continue;const {width:_0x57c53a,height:_0x448f90}=_0x43c603['imageInfo'],_0x27bb5a=S(_0x25364d,_0x57c53a,_0x448f90),_0x3c4909=C(_0x25364d,_0x27bb5a['width']),_0x1905c8={'id':_0x43c603['uuid'],'type':'image','attributes':{'imageDimension':_0x27bb5a,..._0x3c4909}};this['_insertAsset'](_0x1905c8,_0x49adae,_0x499213);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4218c5=>{'idle'===_0x4218c5['detail']['status']&&!_0x4218c5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xc8e6d6,_0xfc7b73,_0x1550ca){const _0x4772f9=this['_editor']['model']['document']['selection'],_0x1cc721=_0x4772f9['getSelectedElement'](),_0x39a61f=!(!_0x1cc721||!_0x1cc721['is']('element','imageInline'));_0x1550ca['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xc8e6d6,_0x39a61f),_0xfc7b73||_0x1550ca['setSelection'](_0x4772f9['getLastPosition']());}['_insertImage'](_0x5a0206,_0x185339){const _0x1160d3=this['_editor'],{imageDimension:_0x26d8c3,imageFallbackUrl:_0x403532,imageSources:_0x45c425}=_0x5a0206['attributes'];_0x1160d3['execute']('insertImage',{'imageType':_0x185339?'imageInline':null,'source':{'uploadcareImageId':_0x5a0206['id'],'src':_0x403532,'sources':_0x45c425,..._0x26d8c3}});}}class w extends _0x3491f9{['_editing'];['_controller']=null;static get['requires'](){return[_0x191ec3,o];}constructor(_0x46ce25){super(_0x46ce25),this['_editing']=_0x46ce25['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x465b9a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x465b9a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4d785e,..._0x15caba}){return _0x4dfdf3(_0x4d785e,_0x15caba);}static['getInfo'](_0x58e718,_0x10e9cc){return _0x27e77f(_0x58e718,_0x10e9cc);}}class f extends _0x2723b6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbc6b6e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x139e47=this['editor'];if(!!!_0x139e47['config']['get']('uploadcare'))return;_0x139e47['plugins']['get'](_0xbc6b6e)['createUploadAdapter']=_0x1b4aea=>new k(_0x1b4aea,_0x139e47),_0x139e47['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x368ea3,{imageElement:_0x3872b9,data:_0x274baa})=>{_0x139e47['model']['change'](_0x3bdc47=>{_0x3bdc47['setAttribute']('uploadcareImageId',_0x274baa['uploadcareImageId'],_0x3872b9);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ffad3,_0x2dc7fa){this['loader']=_0x4ffad3,this['editor']=_0x2dc7fa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56adba=await this['loader']['file'];return j['upload']({'file':_0x56adba,'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':_0x5e4eb0=>{_0x5e4eb0&&_0x5e4eb0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e4eb0['value']);}})['then'](async _0x1f9dcf=>{const {imageFallbackUrl:_0x3268b5,imageSources:_0x4e88e5}=C(_0x1f9dcf['cdnUrl'],_0x1f9dcf['imageInfo']['width']);return{'uploadcareImageId':_0x1f9dcf['uuid'],'default':_0x3268b5,'sources':_0x4e88e5};})['catch'](()=>{const _0x111ed3=t('Cannot\x20upload\x20file:')+('\x20'+_0x56adba['name']+'.');return Promise['reject'](_0x111ed3);});}['abort'](){this['controller']['abort']();}}class o extends _0x2723b6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x191ec3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3cecac){super(_0x3cecac),this['ucContextId']=_0x5ecf0a();}['init'](){const _0x1a4d61=this['editor'];_0x1a4d61['commands']['add']('uploadcare',new w(_0x1a4d61));}['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 _0x3c6db3=_0x3f302c['document']['querySelector']('input[uploadcare-file-input]');_0x3c6db3&&_0x3c6db3['remove']();}),async function(_0x2fad82){const _0x249da2=_0x6b9b45([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]),_0x5345bc=0x535f8c3a,_0x12e3e3=0x5358f122^_0x5345bc,_0x469d45=window[_0x6b9b45([0x44,0x61,0x74,0x65])][_0x6b9b45([0x6e,0x6f,0x77])](),_0x49fed4=_0x2fad82[_0x6b9b45([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ed2e4=new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329fc3=>{_0x49fed4[_0x6b9b45([0x6f,0x6e,0x63,0x65])](_0x6b9b45([0x72,0x65,0x61,0x64,0x79]),_0x329fc3);}),_0x4402b2={[_0x6b9b45([0x6b,0x74,0x79])]:_0x6b9b45([0x45,0x43]),[_0x6b9b45([0x75,0x73,0x65])]:_0x6b9b45([0x73,0x69,0x67]),[_0x6b9b45([0x63,0x72,0x76])]:_0x6b9b45([0x50,0x2d,0x32,0x35,0x36]),[_0x6b9b45([0x78])]:_0x6b9b45([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]),[_0x6b9b45([0x79])]:_0x6b9b45([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]),[_0x6b9b45([0x61,0x6c,0x67])]:_0x6b9b45([0x45,0x53,0x32,0x35,0x36])},_0x1c7386=_0x49fed4[_0x6b9b45([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6b9b45([0x67,0x65,0x74])](_0x6b9b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17bb6e(){let _0x3e7359,_0x7d81bf=null,_0x595404=null;try{if(_0x1c7386==_0x6b9b45([0x47,0x50,0x4c]))return _0x6b9b45([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e7359=_0x22d91c(),!_0x3e7359)return _0x6b9b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e7359[_0x6b9b45([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x595404=_0xdaa1ba(_0x3e7359[_0x6b9b45([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e7359[_0x6b9b45([0x6a,0x74,0x69])])),await _0x260911()?_0x3096f5()?_0x20492f()?_0x6b9b45([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf73318()?(_0x3e7359[_0x6b9b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6b9b45([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7d81bf=_0x43af71(_0x6b9b45([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e7359[_0x6b9b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6b9b45([0x74,0x72,0x69,0x61,0x6c])&&(_0x7d81bf=_0x43af71(_0x6b9b45([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x578a0c()):_0x6b9b45([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6b9b45([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6b9b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6b9b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20492f(){const _0x43a97a=[_0x6b9b45([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6b9b45([0x74,0x72,0x69,0x61,0x6c])][_0x6b9b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e7359[_0x6b9b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x469d45/0x3e8:0xe10*_0x12e3e3;return _0x3e7359[_0x6b9b45([0x65,0x78,0x70])]<_0x43a97a;}function _0x3096f5(){const _0x24e5d5=_0x3e7359[_0x6b9b45([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24e5d5&&(!!_0x24e5d5[_0x6b9b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6b9b45([0x2a]))||!!_0x24e5d5[_0x6b9b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6b9b45([0x55,0x50,0x4c,0x43])));}function _0xf73318(){const _0x377522=_0x3e7359[_0x6b9b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x377522||0x0==_0x377522[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3751af}=new URL(window[_0x6b9b45([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x377522[_0x6b9b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3751af))return!0x0;const _0x5877f3=_0x3751af[_0x6b9b45([0x73,0x70,0x6c,0x69,0x74])](_0x6b9b45([0x2e]));return _0x377522[_0x6b9b45([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19e23a=>_0x19e23a[_0x6b9b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6b9b45([0x2a])))[_0x6b9b45([0x6d,0x61,0x70])](_0x51a334=>_0x51a334[_0x6b9b45([0x73,0x70,0x6c,0x69,0x74])](_0x6b9b45([0x2e])))[_0x6b9b45([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f4f39=>_0x2f4f39[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5877f3[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6b9b45([0x6d,0x61,0x70])](_0x4ec518=>Array(_0x5877f3[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ec518[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6b9b45([0x66,0x69,0x6c,0x6c])](_0x4ec518[0x0]===_0x6b9b45([0x2a])?_0x6b9b45([0x2a]):'')[_0x6b9b45([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ec518))[_0x6b9b45([0x73,0x6f,0x6d,0x65])](_0x742f82=>_0x5877f3[_0x6b9b45([0x65,0x76,0x65,0x72,0x79])]((_0x25b99f,_0x1ce637)=>_0x742f82[_0x1ce637]===_0x25b99f||_0x742f82[_0x1ce637]===_0x6b9b45([0x2a])));}function _0x578a0c(){return _0x7d81bf&&_0x595404?new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xed6eae,_0xc52516)=>{_0x7d81bf[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0xed6eae,_0xc52516),_0x595404[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0x17dc47=>{_0x17dc47!=_0x6b9b45([0x56,0x61,0x6c,0x69,0x64])&&_0xed6eae(_0x17dc47);},_0xc52516);}):_0x7d81bf||_0x595404||_0x6b9b45([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdaa1ba(_0x1e30de,_0x45c718){return new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153136=>{if(_0x5e2b33())return _0x153136(_0x6b9b45([0x56,0x61,0x6c,0x69,0x64]));_0x11299e(),_0x49fed4[_0x6b9b45([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6b9b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e83e4=!0x1;const _0x346a1d=_0x5ecf0a();function _0x4507b0(_0x31d700){return!!_0x31d700&&(typeof _0x31d700===_0x6b9b45([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31d700===_0x6b9b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31d700[_0x6b9b45([0x74,0x68,0x65,0x6e])]===_0x6b9b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31d700[_0x6b9b45([0x63,0x61,0x74,0x63,0x68])]===_0x6b9b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fdabf(_0x2da543){_0x474316(_0x2da543)[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0x217a67=>{if(!_0x217a67||_0x217a67[_0x6b9b45([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6b9b45([0x6f,0x6b]))return _0x6b9b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43b8e3(_0x3e3c21(_0x346a1d+_0x45c718))!=_0x217a67[_0x6b9b45([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6b9b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6b9b45([0x56,0x61,0x6c,0x69,0x64]);})[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0x2eada7=>(_0x20ab38(),_0x2eada7),()=>{const _0x77bf37=_0x53d3d0();return null==_0x77bf37?(_0x20ab38(),_0x6b9b45([0x56,0x61,0x6c,0x69,0x64])):_0x6b9b45(_0x469d45-_0x77bf37>(0x7753083a^_0x5345bc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0x153136)[_0x6b9b45([0x63,0x61,0x74,0x63,0x68])](()=>{_0x153136(_0x6b9b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4274e2=0x536962ba^_0x5345bc;function _0x20ab38(){const _0x432e4d=_0x6b9b45([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b8e3(_0x3e3c21(_0x1e30de)),_0x2138ed=_0x1aeb25(_0x43b8e3(window[_0x6b9b45([0x4d,0x61,0x74,0x68])][_0x6b9b45([0x63,0x65,0x69,0x6c])](_0x469d45/_0x4274e2)));window[_0x6b9b45([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6b9b45([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x432e4d,_0x2138ed);}function _0x53d3d0(){const _0x51b60f=_0x6b9b45([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b8e3(_0x3e3c21(_0x1e30de)),_0x4563ee=window[_0x6b9b45([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6b9b45([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51b60f);return _0x4563ee?window[_0x6b9b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aeb25(_0x4563ee),0x10)*_0x4274e2:null;}function _0x474316(_0x228615){return new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50eb63,_0xef1e42)=>{_0x228615[_0x6b9b45([0x74,0x68,0x65,0x6e])](_0x50eb63,_0xef1e42),window[_0x6b9b45([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xef1e42,0x535e58fa^_0x5345bc);});}}_0x49fed4[_0x6b9b45([0x6f,0x6e])](_0x6b9b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a63d0,_0x44f7d2)=>{if(_0x44f7d2[0x0]!=_0x1e30de)return _0x153136(_0x6b9b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44f7d2[0x1]={..._0x44f7d2[0x1],[_0x6b9b45([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x346a1d};},{[_0x6b9b45([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6b9b45([0x68,0x69,0x67,0x68])}),_0x49fed4[_0x6b9b45([0x6f,0x6e])](_0x6b9b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e5733=>{_0x4507b0(_0x3e5733[_0x6b9b45([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e83e4=!0x0,_0x1fdabf(_0x3e5733[_0x6b9b45([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6b9b45([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6b9b45([0x6c,0x6f,0x77])}),_0x1ed2e4[_0x6b9b45([0x74,0x68,0x65,0x6e])](()=>{_0x3e83e4||_0x153136(_0x6b9b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e2b33(){return _0x49fed4[_0x6b9b45([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6b9b45([0x76,0x69,0x65,0x77])][_0x6b9b45([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6b9b45([0x61,0x75,0x74,0x6f]);}function _0x11299e(){_0x49fed4[_0x6b9b45([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6b9b45([0x76,0x69,0x65,0x77])][_0x6b9b45([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6b9b45([0x61,0x75,0x74,0x6f]);}}function _0x43af71(_0x5af9e4){const _0x3bfa8c=[new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e8370=>setTimeout(_0x3e8370,0x5356b2f6^_0x5345bc)),_0x1ed2e4[_0x6b9b45([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31e27d=>{let _0x3db720=0x0;_0x49fed4[_0x6b9b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x6b9b45([0x6f,0x6e])](_0x6b9b45([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15804c,_0xe72acd)=>{_0xe72acd[0x0][_0x6b9b45([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3db720++,_0x3db720==(0x535f89d2^_0x5345bc)&&(_0x31e27d(),_0x15804c[_0x6b9b45([0x6f,0x66,0x66])]());});}))];return window[_0x6b9b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6b9b45([0x72,0x61,0x63,0x65])](_0x3bfa8c)[_0x6b9b45([0x74,0x68,0x65,0x6e])](()=>_0x5af9e4);}async function _0x57e21a(){await _0x1ed2e4,_0x49fed4[_0x6b9b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x6b9b45([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1723c5,_0x49fed4[_0x6b9b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x6b9b45([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1723c5,_0x49fed4[_0x6b9b45([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6b9b45([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e07d0(_0x2a9d6e){const _0x121b2a=_0x144c29();_0x49fed4[_0x121b2a]=_0x6b9b45([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9d6e,_0x2a9d6e!=_0x6b9b45([0x56,0x61,0x6c,0x69,0x64])&&_0x57e21a();}function _0x144c29(){const _0x410a87=window[_0x6b9b45([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6b9b45([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6b9b45([0x6e,0x6f,0x77])]())[_0x6b9b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6b9b45([0x2e]),'');let _0x3f4d9a=_0x6b9b45([0x68]);for(let _0x22c4ff=0x0;_0x22c4ff<_0x410a87[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22c4ff+=0x2){let _0x5527f9=window[_0x6b9b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x410a87[_0x6b9b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22c4ff,_0x22c4ff+0x2));_0x5527f9>=_0x249da2[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5527f9-=_0x249da2[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f4d9a+=_0x249da2[_0x5527f9];}return _0x3f4d9a;}function _0x22d91c(){const _0x190093=_0x1c7386[_0x6b9b45([0x73,0x70,0x6c,0x69,0x74])](_0x6b9b45([0x2e]));if(0x3!=_0x190093[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e84e0(_0x190093[0x1]);function _0x4e84e0(_0x94b19f){const _0x48521e=_0x3b1b44(_0x94b19f);return _0x48521e&&_0x37a061()?_0x48521e:null;function _0x37a061(){const _0x179858=_0x48521e[_0x6b9b45([0x6a,0x74,0x69])],_0x37ee4c=window[_0x6b9b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x179858[_0x6b9b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x179858[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22873c={..._0x48521e,[_0x6b9b45([0x6a,0x74,0x69])]:_0x179858[_0x6b9b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x179858[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22873c[_0x6b9b45([0x76,0x63])],_0x3e3c21(_0x22873c)==_0x37ee4c;}}}async function _0x260911(){let _0x3bea70=!0x0;try{const _0x2d8382=_0x1c7386[_0x6b9b45([0x73,0x70,0x6c,0x69,0x74])](_0x6b9b45([0x2e])),[_0x45e690,_0x3c33d0,_0x5969c3]=_0x2d8382;return _0x4e5100(_0x45e690),await _0x112424(_0x45e690,_0x3c33d0,_0x5969c3),_0x3bea70;}catch{return!0x1;}function _0x4e5100(_0x156d9e){const _0x342626=_0x3b1b44(_0x156d9e);_0x342626&&_0x342626[_0x6b9b45([0x61,0x6c,0x67])]==_0x6b9b45([0x45,0x53,0x32,0x35,0x36])||(_0x3bea70=!0x1);}async function _0x112424(_0x336102,_0x311381,_0x6402d1){const _0x4d5831=window[_0x6b9b45([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6b9b45([0x66,0x72,0x6f,0x6d])](_0xe42081(_0x6402d1),_0x4fc55b=>_0x4fc55b[_0x6b9b45([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x250830=new window[(_0x6b9b45([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6b9b45([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x336102+_0x6b9b45([0x2e])+_0x311381),_0x3b3d46=window[_0x6b9b45([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6b9b45([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b3d46)return;const _0x4b34e0=await _0x3b3d46[_0x6b9b45([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6b9b45([0x6a,0x77,0x6b]),_0x4402b2,{[_0x6b9b45([0x6e,0x61,0x6d,0x65])]:_0x6b9b45([0x45,0x43,0x44,0x53,0x41]),[_0x6b9b45([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6b9b45([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6b9b45([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b3d46[_0x6b9b45([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6b9b45([0x6e,0x61,0x6d,0x65])]:_0x6b9b45([0x45,0x43,0x44,0x53,0x41]),[_0x6b9b45([0x68,0x61,0x73,0x68])]:{[_0x6b9b45([0x6e,0x61,0x6d,0x65])]:_0x6b9b45([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b34e0,_0x4d5831,_0x250830)||(_0x3bea70=!0x1);}}function _0x3b1b44(_0x3d5cb1){return _0x3d5cb1[_0x6b9b45([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6b9b45([0x65,0x79]))?JSON[_0x6b9b45([0x70,0x61,0x72,0x73,0x65])](_0xe42081(_0x3d5cb1)):null;}function _0xe42081(_0x4f7805){return window[_0x6b9b45([0x61,0x74,0x6f,0x62])](_0x4f7805[_0x6b9b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6b9b45([0x2b]))[_0x6b9b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6b9b45([0x2f])));}function _0x3e3c21(_0x4e64cc){let _0x54dda0=0x1505;function _0x3bf396(_0x188e34){for(let _0x210450=0x0;_0x210450<_0x188e34[_0x6b9b45([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x210450++){const _0x455569=_0x188e34[_0x6b9b45([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x210450);_0x54dda0=(_0x54dda0<<0x5)+_0x54dda0+_0x455569,_0x54dda0&=_0x54dda0;}}function _0x17ed96(_0x173365){Array[_0x6b9b45([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x173365)?_0x173365[_0x6b9b45([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17ed96):_0x173365&&typeof _0x173365==_0x6b9b45([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6b9b45([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x173365)[_0x6b9b45([0x73,0x6f,0x72,0x74])]()[_0x6b9b45([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ca95d,_0x32a99c])=>{_0x3bf396(_0x2ca95d),_0x17ed96(_0x32a99c);}):_0x3bf396(window[_0x6b9b45([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x173365));}return _0x17ed96(_0x4e64cc),_0x54dda0>>>0x0;}function _0x43b8e3(_0x4c13fe){return _0x4c13fe[_0x6b9b45([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6b9b45([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6b9b45([0x30]));}function _0x1aeb25(_0x3a006e){return _0x3a006e[_0x6b9b45([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6b9b45([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6b9b45([0x6a,0x6f,0x69,0x6e])]('');}function _0x1723c5(){}function _0x6b9b45(_0x38812a){return _0x38812a['map'](_0x3ac8c9=>String['fromCharCode'](_0x3ac8c9))['join']('');}_0x1e07d0(await _0x17bb6e());}(this);}['_initSchema'](){const _0x381a56=this['editor']['model']['schema'];_0x381a56['isRegistered']('imageBlock')&&_0x381a56['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x381a56['isRegistered']('imageInline')&&_0x381a56['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3829d1=this['editor'];_0x3829d1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3829d1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x563db6=>_0x563db6['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x7a347d=_0x3829d1['commands']['get']('replaceImageSource');_0x7a347d&&this['listenTo'](_0x7a347d,'cleanupImage',(_0x9554de,[_0x54af2c,_0x214890])=>{_0x54af2c['removeAttribute']('uploadcareImageId',_0x214890);});}['_initConfig'](){const _0x57c0e1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x55dd8a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x377327(_0x3f302c['document'],'uc-config',{..._0x57c0e1,'pubkey':_0x55dd8a,'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']=_0x14699b=>{if('closeMax'==_0x14699b)return'#uc-icon-arrow-down';},_0x3f302c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x377327(_0x3f302c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3f302c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e6ed2=this['editor']['commands']['get']('insertImage');_0x3e6ed2&&this['listenTo'](_0x3e6ed2,'execute',()=>{const _0x125f17=this['editor']['model']['document']['selection']['getSelectedElement']();_0x125f17&&_0x125f17['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x125f17);});});const _0x5e42c5=this['editor']['commands']['get']('uploadcareImageReplace');_0x5e42c5&&this['listenTo'](_0x5e42c5,'execute',()=>{const _0x5e14c4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5e14c4&&_0x5e14c4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5e14c4);});});}}class tt extends _0x2723b6{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x38ee21){super(_0x38ee21),_0x38ee21['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x53db37['defineComponents'](_0x53db37),this['_defineLocale']();}['_defineLocale'](){const _0x41accf=this['editor']['config']['get']('uploadcare.locale'),_0x5ef5c0=this['editor']['locale']['contentLanguage'];_0x41accf&&_0x53db37['defineLocale'](_0x5ef5c0,_0x41accf);}}class ii extends _0x16f752{constructor(_0x354d26){super(_0x354d26);const t=_0x354d26['t'],_0x481258=this['bindTemplate'],_0x49e874=new _0x263800();_0x49e874['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':[_0x49e874,{'text':_0x481258['to']('imageUploadProgress',_0xb70321=>t('Loading\x20image...')+'\x20('+(_0xb70321||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 _0x16f752{constructor(_0x45c7a4){super(_0x45c7a4);const t=_0x45c7a4['t'];this['set']('errorType',null);const _0x4de42a=new _0xc5e45d(_0x45c7a4);_0x4de42a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4de42a['withText']=!0x0,_0x4de42a['class']='ck-button-action',_0x4de42a['on']('execute',()=>{this['fire']('retry');}),_0x4de42a['bind']('isVisible')['to'](this,'errorType',_0x43d43a=>'NotFound'!==_0x43d43a);const _0x23647d=new _0x2f5edc();_0x23647d['content']=_0x5c31d1,_0x23647d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16f4cf=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':[_0x23647d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16f4cf['to']('errorType',_0x489a67=>t('NotFound'!==_0x489a67?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4de42a]},{'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 _0x16f752{constructor(_0xaaf8ce,_0x5d0a7c){super(_0xaaf8ce);const _0x421449=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5d0a7c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x421449['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x198cde,_0x38f471,_0x2e16bc){super(_0x198cde),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x198cde),this['_errorView']=new ti(_0x198cde),this['_editingView']=new ei(_0x198cde,_0x2e16bc),this['_focusableView']=new _0x16f752(_0x198cde),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x38f471),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'],_0x1b5aac=>{this['_addUploadcareImageEditorListeners'](_0x1b5aac);});}),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'](_0x51dd8d,_0x476e6d){const _0x207ae4='uc-cloud-image-editor',_0x1d8511=_0x51dd8d['querySelector'](_0x207ae4);if(_0x1d8511)return _0x476e6d(_0x1d8511);const _0xb553ab=new MutationObserver(_0x159581=>{const _0x24d63d=_0x159581['filter'](_0x290c9e=>_0x290c9e['target']===_0x51dd8d&&_0x290c9e['addedNodes']['length']>0x0&&_0x290c9e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x207ae4);_0x24d63d['length']&&(_0xb553ab['disconnect'](),_0x476e6d(_0x24d63d[0x0]['addedNodes'][0x0]));});_0xb553ab['observe'](_0x51dd8d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2f79cf){_0x2f79cf['addEventListener']('apply',_0x50e191=>{this['fire']('apply',{'imageSrc':_0x50e191['detail']['cdnUrl']});}),_0x2f79cf['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x294507(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x348f6b,_0xfdb516,_0x43195d){super(),this['_editor']=_0x348f6b,this['_dialog']=_0xfdb516,this['_imageElement']=_0x43195d,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 _0x216659=this['_imageElement'],_0x419130=_0x216659['getAttribute']('uploadcareImageId'),_0x19d397=_0x216659['getAttribute']('src');if(_0x419130)await this['_loadImageInfo'](_0x419130,_0x19d397);else{if(this['_imageCache']['has'](_0x19d397)){const _0x49c47e=this['_imageCache']['get'](_0x19d397);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49c47e['url'],this['imageDimension']=_0x49c47e['dimension'],this['imageId']=_0x49c47e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x46d33f}=this['_editor'],t=_0x46d33f['t'],_0xf5fcb2=new X(_0x46d33f,this['imageStatus'],this['_attributes']);_0xf5fcb2['bind']('status')['to'](this,'imageStatus'),_0xf5fcb2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xf5fcb2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xf5fcb2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xf5fcb2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x49d7ae,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xf5fcb2,'position':_0x18a93e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xf5fcb2['focus']();},'onHide':()=>{_0xf5fcb2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x160316=>!A(_0x160316,_0xf5fcb2['element'])}});}['_loadImageInfo'](_0x1577a5,_0x3f368a){return j['getInfo'](_0x1577a5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5e193e=>{const {width:_0x40a6b6,height:_0x1940b2}=_0x5e193e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f368a,this['imageDimension']={'width':_0x40a6b6,'height':_0x1940b2},this['imageId']=_0x1577a5;})['catch'](_0x3f32cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f32cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x20bb4a,_0x4f9ab3){return this['_getImageAsFile'](_0x20bb4a)['then'](_0x4e6337=>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':_0x4f9ab3['signal'],'file':_0x4e6337,'onProgress':_0x4dbfc0=>{_0x4dbfc0&&_0x4dbfc0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4dbfc0['value']));}}))['then'](_0x3d06f1=>{const {width:_0x26489f,height:_0x2bd680}=_0x3d06f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d06f1['cdnUrl'],this['imageDimension']={'width':_0x26489f,'height':_0x2bd680},this['imageId']=_0x3d06f1['uuid'],this['imageUploadProgress']=null;const _0x44a198=_0x20bb4a['getAttribute']('src');this['_imageCache']['set'](_0x44a198,{'id':_0x3d06f1['uuid'],'url':_0x3d06f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e2bac=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e2bac['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x46c39e,_0x5c0fe7){_0x46c39e['on']('apply',(_0x42d5b4,_0x3d5706)=>{this['_replaceImage'](_0x5c0fe7,_0x3d5706['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x46c39e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x46c39e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b5711,_0x1367e4,_0x45054e){const _0x519fd3=this['_editor'],{width:_0x2bb726,height:_0x61c941}=S(_0x1367e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d89da,imageSources:_0x5a44f1}=C(_0x1367e4,_0x2bb726);_0x519fd3['model']['change'](_0xcbd078=>{if('$graveyard'===_0x5b5711['root']['rootName']){_0x519fd3['execute']('insertImage',{'imageType':_0x5b5711['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b5711['getAttributes']()),'uploadcareImageId':_0x45054e,'src':_0x2d89da,'sources':_0x5a44f1,'width':_0x2bb726,'height':_0x61c941}});const _0x58e15d=_0x5b5711['getChildren']();_0x5b5711=_0x519fd3['model']['document']['selection']['getSelectedElement']();for(const _0x1896e4 of _0x58e15d)_0xcbd078['append'](_0xcbd078['cloneElement'](_0x1896e4),_0x5b5711);}else _0xcbd078['setSelection'](_0x5b5711,'on'),_0x519fd3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b5711['getAttributes']()),'uploadcareImageId':_0x45054e,'src':_0x2d89da,'sources':_0x5a44f1,'width':_0x2bb726,'height':_0x61c941},_0x5b5711);_0xcbd078['setSelection'](_0x5b5711,'on');});}async['_getImageAsFile'](_0x274ace){const _0x49d390=_0x3f302c['window'],_0x2649a6=_0x3f302c['document']['location']['href'],_0xe0f5b0=new _0x49d390['URL'](_0x274ace['getAttribute']('src'),_0x2649a6);if('data:'===_0xe0f5b0['protocol']){const _0x33fd12=_0xe0f5b0['href']['split'](','),_0x361fb0=_0x33fd12[0x0]['match'](/:(.*?);/)[0x1],_0x157492=_0x361fb0['split']('/')[0x1],_0x8bab64=_0x49d390['atob'](_0x33fd12[_0x33fd12['length']-0x1]);let _0x41c618=_0x8bab64['length'];const _0x3e74e6=new _0x49d390['Uint8Array'](_0x41c618);for(;_0x41c618--;)_0x3e74e6[_0x41c618]=_0x8bab64['charCodeAt'](_0x41c618);return new _0x49d390['File']([_0x3e74e6],'image.'+_0x157492,{'type':_0x361fb0});}const _0x1a4b13=_0xe0f5b0['href']['split']('/'),_0x20569e=_0x1a4b13[_0x1a4b13['length']-0x1],_0x48a957=_0x20569e['split']('.')[0x1];return _0x49d390['fetch'](_0xe0f5b0['href'])['then'](_0x3af2b3=>_0x3af2b3['clone']()['blob']())['then'](_0x5d9aa7=>new _0x49d390['File']([_0x5d9aa7],_0x20569e,{'type':'image/'+_0x48a957}));}}class O extends _0x3491f9{['imageEditController'];static get['requires'](){return[_0x191ec3];}['_isEditable'];constructor(_0xdf8889){super(_0xdf8889),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x489caf){const _0x19c976=G(_0x489caf);return _0xc80211=>!(!_0xc80211||!_0xc80211['is']('element','imageBlock')&&!_0xc80211['is']('element','imageInline'))&&(!!_0xc80211['hasAttribute']('uploadcareImageId')||!!_0xc80211['hasAttribute']('src')&&_0x19c976(_0xc80211['getAttribute']('src')));}(_0xdf8889['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2e71db=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2e71db);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1371b7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1371b7&&(_0x1371b7['is']('element','imageBlock')||_0x1371b7['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x191ec3),_0x1371b7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3491f9{['refresh'](){const _0x265769=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x265769&&(_0x265769['is']('element','imageBlock')||_0x265769['is']('element','imageInline')));}['execute'](_0x4fbd4d){const _0x738578=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2d0ef5=>{_0x2d0ef5['setAttributes'](_0x4fbd4d,_0x738578),_0x2d0ef5['removeAttribute']('srcset',_0x738578),_0x2d0ef5['removeAttribute']('sizes',_0x738578);});}}class m extends _0x2723b6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x336fc8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x290efd}=this;_0x290efd['commands']['add']('uploadcareImageEdit',new O(_0x290efd)),_0x290efd['commands']['add']('uploadcareImageReplace',new R(_0x290efd));}}class g extends _0x2723b6{['_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 _0xbfea45=this['editor'];_0xbfea45['ui']['componentFactory']['add']('uploadcareImageEdit',_0x594c1a=>{const _0x3db8f1=_0xbfea45['commands']['get']('uploadcareImageEdit'),_0x2d8a48=new _0xc5e45d(_0x594c1a),t=_0x594c1a['t'];return _0x2d8a48['set']({'icon':_0x49d7ae,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d8a48['bind']('isEnabled')['to'](_0x3db8f1),_0x2d8a48['bind']('isOn')['to'](_0x3db8f1,'isActive'),this['listenTo'](_0x2d8a48,'execute',()=>{_0xbfea45['execute']('uploadcareImageEdit'),_0xbfea45['editing']['view']['focus']();}),_0x2d8a48;}),this['_initConfig']();}['_initConfig'](){const _0xda3e32=_0x377327(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xda3e32),this['listenTo'](this['editor'],'destroy',()=>{_0xda3e32['remove']();});}}class et extends _0x2723b6{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,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x1b064f,Command as _0x3b0801}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x187d40,IconGooglePhotos as _0x1d0c1f,IconGoogleDrive as _0x1cf962,IconFacebook as _0x26904e,IconDropbox as _0x3b423c,IconUploadcareLink as _0x3642d4,IconUploadcareImageUpload as _0x53da62,IconError as _0x3615d0,IconUploadcareImageEdit as _0x5aed85}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4005d2,MenuBarMenuListItemButtonView as _0x2350bd,View as _0x1c726e,FocusCycler as _0x4f27cf,Dialog as _0x402fe0,DialogViewPosition as _0x1cc742,SpinnerView as _0x3f9bcd,IconView as _0x4b8abe,Notification as _0x246b07}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5aae8c,DomEmitterMixin as _0x5b3f05,global as _0x29646b,getAncestors as _0x592d94,ObservableMixin as _0x3f8b0f,uid as _0x2d292f,createElement as _0x39b067}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x429082}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2100c5,info as _0x448894}from'@uploadcare/upload-client';import*as _0x25d53f from'@uploadcare/file-uploader';var i=function(_0x2284a8){return _0x2284a8['Local']='local',_0x2284a8['URL']='url',_0x2284a8['Dropbox']='dropbox',_0x2284a8['GDrive']='gdrive',_0x2284a8['Facebook']='facebook',_0x2284a8['GPhotos']='gphotos',_0x2284a8['OneDrive']='onedrive',_0x2284a8;}({});function _(_0x10c781,_0x295927,_0x41b639){const t=_0x10c781['t'],_0x3539d4=_0x10c781['t'];switch(_0x295927){case i['Local']:return{'text':_0x3539d4('Insert'===_0x41b639?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3539d4('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x41b639?_0x3539d4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3539d4('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x41b639?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x41b639?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x41b639?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x41b639?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x41b639?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x295927;}}class e extends _0x1b064f{['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 _0x46a658=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42f97c;for(const _0x4db3d4 in _0x46a658){const _0x1ce1e4=_0x4db3d4,_0x5bbd15=_0x46a658[_0x1ce1e4];if('uploadcareLicenseKeyValid'==_0x5bbd15||'uploadcareLicenseKeyInvalid'==_0x5bbd15||'uploadcareLicenseKeyExpired'==_0x5bbd15||'uploadcareLicenseKeyDomainLimit'==_0x5bbd15||'uploadcareLicenseKeyNotAllowed'==_0x5bbd15||'uploadcareLicenseKeyEvaluationLimit'==_0x5bbd15||'uploadcareLicenseKeyTrialLimit'==_0x5bbd15||'uploadcareLicenseKeyUsageLimit'==_0x5bbd15){delete _0x46a658[_0x1ce1e4],_0x42f97c=_0x5bbd15,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x42f97c&&_0x46a658['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x42f97c&&_0x46a658['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x42f97c&&_0x46a658['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x42f97c&&_0x46a658['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x42f97c&&_0x46a658['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x42f97c&&_0x46a658['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x42f97c&&_0x46a658['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x18618d}=this,_0x14629e=_0x18618d['commands']['get']('uploadcare');if(!_0x14629e)return;const _0x13fcab=this['_normalizeConfigSourceList'](_0x18618d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4d90c9,_0x1f78ca)=>{const _0x2c36af=this['_getIntegrationKey'](_0x1f78ca['type']);return _0x4d90c9[_0x2c36af]||(_0x4d90c9[_0x2c36af]=[]),_0x4d90c9[_0x2c36af]['push'](_0x1f78ca),_0x4d90c9;},{});_0x18618d['plugins']['has']('ImageInsertUI')&&_0x18618d['commands']['get']('uploadcare')&&Object['entries'](_0x13fcab)['forEach'](([_0x2b3663,_0x1dcb1d])=>{_0x18618d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2b3663,'observable':()=>_0x14629e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1dcb1d),'formViewCreator':()=>this['_createDropdownButtons'](_0x1dcb1d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1dcb1d),'override':'assetManager'!==_0x2b3663});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x104ff6){const {locale:_0x5940a5}=this['editor'];return _0x104ff6['map'](_0x329acc=>{const _0x25164a=_(_0x5940a5,_0x329acc,'Insert');switch(_0x329acc){case i['Local']:return{'icon':_0x53da62,'type':i['Local'],..._0x25164a};case i['URL']:return{'icon':_0x3642d4,'type':i['URL'],..._0x25164a};case i['Dropbox']:return{'icon':_0x3b423c,'type':i['Dropbox'],..._0x25164a};case i['Facebook']:return{'icon':_0x26904e,'type':i['Facebook'],..._0x25164a};case i['GDrive']:return{'icon':_0x1cf962,'type':i['GDrive'],..._0x25164a};case i['GPhotos']:return{'icon':_0x1d0c1f,'type':i['GPhotos'],..._0x25164a};case i['OneDrive']:return{'icon':_0x187d40,'type':i['OneDrive'],..._0x25164a};}});}['_getIntegrationKey'](_0x48167a){switch(_0x48167a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x29eb97,_0x2bbbaa){const _0x726e8f=this['editor'],_0x50e509=new _0x29eb97(_0x726e8f['locale']),_0x3b7c49=_0x726e8f['commands']['get']('uploadcare');return _0x50e509['bind']('isEnabled')['to'](_0x3b7c49),_0x50e509['on']('execute',()=>{_0x3b7c49['execute'](_0x2bbbaa);}),_0x50e509;}['_createToolbarButton'](_0x3c9dc6){const {locale:_0x3f30b9}=this['editor'],_0x1152be=this['editor']['plugins']['get']('ImageInsertUI'),_0x2fd10b=_0x3c9dc6[0x0],_0x1708b5=this['_createButton'](_0x4005d2,_0x2fd10b['type']);return _0x1708b5['icon']=_0x2fd10b['icon'],_0x1708b5['bind']('label')['to'](_0x1152be,'isImageSelected',_0x739a4b=>_(_0x3f30b9,_0x2fd10b['type'],_0x739a4b?'Replace':'Insert')['text']),_0x1708b5['tooltip']=!0x0,_0x1708b5;}['_createDropdownButtons'](_0x2d588f){const {locale:_0x30a51a}=this['editor'],_0x526c0a=this['editor']['plugins']['get']('ImageInsertUI');return _0x2d588f['map'](_0x6a84f7=>{const _0x5eab31=this['_createButton'](_0x4005d2,_0x6a84f7['type']);return _0x5eab31['withText']=!0x0,_0x5eab31['icon']=_0x6a84f7['icon'],_0x5eab31['bind']('label')['to'](_0x526c0a,'isImageSelected',_0x20b797=>_(_0x30a51a,_0x6a84f7['type'],_0x20b797?'Replace':'Insert')['text']),_0x5eab31;});}['_createMenuBarButtons'](_0x3f3fb6){return _0x3f3fb6['map'](_0x32ddb5=>{const _0x35fe8f=this['_createButton'](_0x2350bd,_0x32ddb5['type']);return _0x35fe8f['icon']=_0x32ddb5['icon'],_0x35fe8f['label']=_0x32ddb5['shortText'],_0x35fe8f;});}}class F extends _0x1c726e{['focusTracker'];['focusCycler'];constructor(_0x21285b){super(_0x21285b),this['focusTracker']=new _0x5aae8c(),this['focusCycler']=new _0x4f27cf({'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(_0x1c4ba2,_0x5cc981){super(_0x1c4ba2),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-'+_0x5cc981}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2cca7a,_0x206de7){const _0x22c1a2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3c7c28=>_0x3c7c28<=_0x206de7)['map'](_0x4632d3=>_0x2cca7a['replace'](/\/$/,'')+'/-/resize/'+_0x4632d3+'x/\x20'+_0x4632d3+'w');return{'imageFallbackUrl':_0x2cca7a,'imageSources':[{'srcset':_0x22c1a2['join'](',\x20'),'sizes':'(max-width:\x20'+_0x206de7+'px)\x20100vw,\x20'+_0x206de7+'px','type':'image/webp'}]};}function S(_0x48b897,_0xec3281,_0x5b8765){const _0x1f9782=_0x48b897['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1f9782?parseInt(_0x1f9782[0x1],0xa):_0xec3281,'height':_0x1f9782?parseInt(_0x1f9782[0x2],0xa):_0x5b8765};}function p(_0x526107,_0x6754e3){const _0x2ead01=new(_0x5b3f05())(),_0x53d1ab=_0x526107['plugins']['get']('ImageUtils'),_0x4d43f9=_0x526107['editing']['mapper']['toViewElement'](_0x6754e3),_0x1199dd=_0x53d1ab['findViewImgElement'](_0x4d43f9),_0x24ce20=_0x526107['editing']['view']['domConverter']['viewToDom'](_0x1199dd),_0x2ae70f=_0x6754e3['getAttribute']('width'),_0x12ce5d=_0x6754e3['getAttribute']('height'),_0x4ef07b='image-processing';_0x526107['editing']['view']['change'](_0x4d4ca2=>{_0x4d4ca2['addClass'](_0x4ef07b,_0x4d43f9),_0x4d4ca2['setStyle']('aspect-ratio',_0x2ae70f+'/'+_0x12ce5d,_0x1199dd);}),_0x2ead01['listenTo'](_0x24ce20,'load',()=>{_0x2ead01['stopListening'](_0x24ce20,'load'),_0x526107['editing']['view']['change'](_0x3ec33a=>{_0x3ec33a['removeClass'](_0x4ef07b,_0x4d43f9),_0x3ec33a['removeStyle']('aspect-ratio',_0x1199dd);});});}function G(_0x10d06e){if(Array['isArray'](_0x10d06e)){const _0x48431d=_0x10d06e['map'](G);return _0x666888=>_0x48431d['some'](_0x3e362f=>_0x3e362f(_0x666888));}if('origin'==_0x10d06e){const _0x5715d8=_0x29646b['window']['location']['origin'];return _0x3e2d24=>new URL(_0x3e2d24,_0x29646b['document']['baseURI'])['origin']==_0x5715d8;}return'function'==typeof _0x10d06e?_0x10d06e:_0x10d06e instanceof RegExp?_0x2f4904=>!(!_0x2f4904['match'](_0x10d06e)&&!_0x2f4904['replace'](/^https?:\/\//,'')['match'](_0x10d06e)):()=>!0x1;}function A(_0x2363dc,_0x377608){return _0x592d94(_0x2363dc['target'])['includes'](_0x377608);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3f8b0f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x264833,_0xe69575,_0x1b8d8f){super(),this['_editor']=_0x264833,this['_editing']=_0xe69575,this['_dialog']=_0x264833['plugins']['get'](_0x402fe0),this['_api']=_0xe69575['ctxElement']['getAPI'](),this['_type']=_0x1b8d8f,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:_0x243aa3,model:_0x3a5208}=this['_editor'],_0x568e47=_0x3a5208['document']['selection']['getSelectedElement'](),_0x4069c0=_0x568e47&&(_0x568e47['is']('element','imageBlock')||_0x568e47['is']('element','imageInline'));this['_formView']=new x(_0x243aa3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x53da62,'title':_(_0x243aa3,this['_type'],_0x4069c0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1cc742['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4855f2=>!A(_0x4855f2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1e0670}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1e51a4=>{const _0x43da6b=_0x1e0670['length'];for(const _0x14247e of _0x1e0670){const _0x3cc999=_0x14247e===_0x1e0670[_0x43da6b-0x1],{cdnUrl:_0x3da384,fileInfo:_0x5bcd62}=_0x14247e;if(!_0x3da384||!_0x5bcd62)continue;const {width:_0x245a49,height:_0x1db130}=_0x5bcd62['imageInfo'],_0x4ab34e=S(_0x3da384,_0x245a49,_0x1db130),_0x35ac0b=C(_0x3da384,_0x4ab34e['width']),_0x500d70={'id':_0x5bcd62['uuid'],'type':'image','attributes':{'imageDimension':_0x4ab34e,..._0x35ac0b}};this['_insertAsset'](_0x500d70,_0x3cc999,_0x1e51a4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x885fff=>{'idle'===_0x885fff['detail']['status']&&!_0x885fff['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3f743f,_0x4d30ec,_0x4c377e){const _0x3619de=this['_editor']['model']['document']['selection'],_0x294b48=_0x3619de['getSelectedElement'](),_0x35d1c6=!(!_0x294b48||!_0x294b48['is']('element','imageInline'));_0x4c377e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3f743f,_0x35d1c6),_0x4d30ec||_0x4c377e['setSelection'](_0x3619de['getLastPosition']());}['_insertImage'](_0x229941,_0x38aac6){const _0x34d224=this['_editor'],{imageDimension:_0xe6e299,imageFallbackUrl:_0x4228f3,imageSources:_0x10f195}=_0x229941['attributes'];_0x34d224['execute']('insertImage',{'imageType':_0x38aac6?'imageInline':null,'source':{'uploadcareImageId':_0x229941['id'],'src':_0x4228f3,'sources':_0x10f195,..._0xe6e299}});}}class w extends _0x3b0801{['_editing'];['_controller']=null;static get['requires'](){return[_0x402fe0,o];}constructor(_0x3676a3){super(_0x3676a3),this['_editing']=_0x3676a3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x414b60){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x414b60);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x62903e,..._0x38f99b}){return _0x2100c5(_0x62903e,_0x38f99b);}static['getInfo'](_0x2aff58,_0x461927){return _0x448894(_0x2aff58,_0x461927);}}class f extends _0x1b064f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x429082,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1dc03c=this['editor'];if(!!!_0x1dc03c['config']['get']('uploadcare'))return;_0x1dc03c['plugins']['get'](_0x429082)['createUploadAdapter']=_0x2dd9bd=>new k(_0x2dd9bd,_0x1dc03c),_0x1dc03c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2c18e8,{imageElement:_0x224f72,data:_0x4c278c})=>{_0x1dc03c['model']['change'](_0x857fb2=>{_0x857fb2['setAttribute']('uploadcareImageId',_0x4c278c['uploadcareImageId'],_0x224f72);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xab0493,_0x1c1790){this['loader']=_0xab0493,this['editor']=_0x1c1790,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x543c92=await this['loader']['file'];return j['upload']({'file':_0x543c92,'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':_0x2247c1=>{_0x2247c1&&_0x2247c1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2247c1['value']);}})['then'](async _0xb1046a=>{const {imageFallbackUrl:_0x1104d9,imageSources:_0x1c76e1}=C(_0xb1046a['cdnUrl'],_0xb1046a['imageInfo']['width']);return{'uploadcareImageId':_0xb1046a['uuid'],'default':_0x1104d9,'sources':_0x1c76e1};})['catch'](()=>{const _0x1470ec=t('Cannot\x20upload\x20file:')+('\x20'+_0x543c92['name']+'.');return Promise['reject'](_0x1470ec);});}['abort'](){this['controller']['abort']();}}class o extends _0x1b064f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x402fe0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4afed7){super(_0x4afed7),this['ucContextId']=_0x2d292f();}['init'](){const _0x724c8c=this['editor'];_0x724c8c['commands']['add']('uploadcare',new w(_0x724c8c));}['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 _0x3cf56b=_0x29646b['document']['querySelector']('input[uploadcare-file-input]');_0x3cf56b&&_0x3cf56b['remove']();}),async function(_0x1f0819){const _0x2a15c9=_0x530cf9([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]),_0x5794d0=0x535f8c3a,_0x3c4002=0x5358f122^_0x5794d0,_0x42982c=window[_0x530cf9([0x44,0x61,0x74,0x65])][_0x530cf9([0x6e,0x6f,0x77])](),_0x5a17d7=_0x1f0819[_0x530cf9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b4044=new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc02823=>{_0x5a17d7[_0x530cf9([0x6f,0x6e,0x63,0x65])](_0x530cf9([0x72,0x65,0x61,0x64,0x79]),_0xc02823);}),_0x4ff932={[_0x530cf9([0x6b,0x74,0x79])]:_0x530cf9([0x45,0x43]),[_0x530cf9([0x75,0x73,0x65])]:_0x530cf9([0x73,0x69,0x67]),[_0x530cf9([0x63,0x72,0x76])]:_0x530cf9([0x50,0x2d,0x32,0x35,0x36]),[_0x530cf9([0x78])]:_0x530cf9([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]),[_0x530cf9([0x79])]:_0x530cf9([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]),[_0x530cf9([0x61,0x6c,0x67])]:_0x530cf9([0x45,0x53,0x32,0x35,0x36])},_0x3ba3c0=_0x5a17d7[_0x530cf9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x530cf9([0x67,0x65,0x74])](_0x530cf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5db71c(){let _0xd57f2b,_0x3b1049=null,_0xa0aa7d=null;try{if(_0x3ba3c0==_0x530cf9([0x47,0x50,0x4c]))return _0x530cf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd57f2b=_0x407fc0(),!_0xd57f2b)return _0x530cf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd57f2b[_0x530cf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa0aa7d=_0x3784b8(_0xd57f2b[_0x530cf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd57f2b[_0x530cf9([0x6a,0x74,0x69])])),await _0x5ae61c()?_0xb510aa()?_0x163a8b()?_0x530cf9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xcd3fd4()?(_0xd57f2b[_0x530cf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x530cf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b1049=_0x575d1e(_0x530cf9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd57f2b[_0x530cf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x530cf9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b1049=_0x575d1e(_0x530cf9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x40be61()):_0x530cf9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x530cf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x530cf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x530cf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x163a8b(){const _0x2fb58d=[_0x530cf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x530cf9([0x74,0x72,0x69,0x61,0x6c])][_0x530cf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd57f2b[_0x530cf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42982c/0x3e8:0xe10*_0x3c4002;return _0xd57f2b[_0x530cf9([0x65,0x78,0x70])]<_0x2fb58d;}function _0xb510aa(){const _0x64edef=_0xd57f2b[_0x530cf9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x64edef&&(!!_0x64edef[_0x530cf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530cf9([0x2a]))||!!_0x64edef[_0x530cf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530cf9([0x55,0x50,0x4c,0x43])));}function _0xcd3fd4(){const _0x4d3a36=_0xd57f2b[_0x530cf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d3a36||0x0==_0x4d3a36[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37ba6f}=new URL(window[_0x530cf9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d3a36[_0x530cf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ba6f))return!0x0;const _0x3496af=_0x37ba6f[_0x530cf9([0x73,0x70,0x6c,0x69,0x74])](_0x530cf9([0x2e]));return _0x4d3a36[_0x530cf9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dbc3a=>_0x2dbc3a[_0x530cf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530cf9([0x2a])))[_0x530cf9([0x6d,0x61,0x70])](_0x1c5d0a=>_0x1c5d0a[_0x530cf9([0x73,0x70,0x6c,0x69,0x74])](_0x530cf9([0x2e])))[_0x530cf9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x65c3c8=>_0x65c3c8[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3496af[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x530cf9([0x6d,0x61,0x70])](_0x147992=>Array(_0x3496af[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x147992[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x530cf9([0x66,0x69,0x6c,0x6c])](_0x147992[0x0]===_0x530cf9([0x2a])?_0x530cf9([0x2a]):'')[_0x530cf9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x147992))[_0x530cf9([0x73,0x6f,0x6d,0x65])](_0x24a478=>_0x3496af[_0x530cf9([0x65,0x76,0x65,0x72,0x79])]((_0x45e346,_0x50861b)=>_0x24a478[_0x50861b]===_0x45e346||_0x24a478[_0x50861b]===_0x530cf9([0x2a])));}function _0x40be61(){return _0x3b1049&&_0xa0aa7d?new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50e022,_0x4443ba)=>{_0x3b1049[_0x530cf9([0x74,0x68,0x65,0x6e])](_0x50e022,_0x4443ba),_0xa0aa7d[_0x530cf9([0x74,0x68,0x65,0x6e])](_0xabac62=>{_0xabac62!=_0x530cf9([0x56,0x61,0x6c,0x69,0x64])&&_0x50e022(_0xabac62);},_0x4443ba);}):_0x3b1049||_0xa0aa7d||_0x530cf9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3784b8(_0x3bbe8,_0x1f34b4){return new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9d06=>{if(_0x2ea730())return _0x3c9d06(_0x530cf9([0x56,0x61,0x6c,0x69,0x64]));_0x1b4310(),_0x5a17d7[_0x530cf9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x530cf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58f4ae=!0x1;const _0xa26299=_0x2d292f();function _0xa3debe(_0x548b73){return!!_0x548b73&&(typeof _0x548b73===_0x530cf9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x548b73===_0x530cf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x548b73[_0x530cf9([0x74,0x68,0x65,0x6e])]===_0x530cf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x548b73[_0x530cf9([0x63,0x61,0x74,0x63,0x68])]===_0x530cf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32ab32(_0x1d63dd){_0x2b67c2(_0x1d63dd)[_0x530cf9([0x74,0x68,0x65,0x6e])](_0x1da345=>{if(!_0x1da345||_0x1da345[_0x530cf9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x530cf9([0x6f,0x6b]))return _0x530cf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e7c5a(_0x44c843(_0xa26299+_0x1f34b4))!=_0x1da345[_0x530cf9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x530cf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x530cf9([0x56,0x61,0x6c,0x69,0x64]);})[_0x530cf9([0x74,0x68,0x65,0x6e])](_0x5f3950=>(_0x5e695b(),_0x5f3950),()=>{const _0x4b173d=_0x3e60fb();return null==_0x4b173d?(_0x5e695b(),_0x530cf9([0x56,0x61,0x6c,0x69,0x64])):_0x530cf9(_0x42982c-_0x4b173d>(0x7753083a^_0x5794d0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x530cf9([0x74,0x68,0x65,0x6e])](_0x3c9d06)[_0x530cf9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c9d06(_0x530cf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2df549=0x536962ba^_0x5794d0;function _0x5e695b(){const _0x1a9c36=_0x530cf9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e7c5a(_0x44c843(_0x3bbe8)),_0x27e36c=_0x15cc16(_0x4e7c5a(window[_0x530cf9([0x4d,0x61,0x74,0x68])][_0x530cf9([0x63,0x65,0x69,0x6c])](_0x42982c/_0x2df549)));window[_0x530cf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x530cf9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a9c36,_0x27e36c);}function _0x3e60fb(){const _0x37b79e=_0x530cf9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e7c5a(_0x44c843(_0x3bbe8)),_0x50e85d=window[_0x530cf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x530cf9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37b79e);return _0x50e85d?window[_0x530cf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15cc16(_0x50e85d),0x10)*_0x2df549:null;}function _0x2b67c2(_0x1bbaf3){return new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d20d3,_0x3d5f25)=>{_0x1bbaf3[_0x530cf9([0x74,0x68,0x65,0x6e])](_0x3d20d3,_0x3d5f25),window[_0x530cf9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d5f25,0x535e58fa^_0x5794d0);});}}_0x5a17d7[_0x530cf9([0x6f,0x6e])](_0x530cf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x403340,_0x4b680a)=>{if(_0x4b680a[0x0]!=_0x3bbe8)return _0x3c9d06(_0x530cf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b680a[0x1]={..._0x4b680a[0x1],[_0x530cf9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa26299};},{[_0x530cf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x530cf9([0x68,0x69,0x67,0x68])}),_0x5a17d7[_0x530cf9([0x6f,0x6e])](_0x530cf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x291158=>{_0xa3debe(_0x291158[_0x530cf9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58f4ae=!0x0,_0x32ab32(_0x291158[_0x530cf9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x530cf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x530cf9([0x6c,0x6f,0x77])}),_0x1b4044[_0x530cf9([0x74,0x68,0x65,0x6e])](()=>{_0x58f4ae||_0x3c9d06(_0x530cf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ea730(){return _0x5a17d7[_0x530cf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x530cf9([0x76,0x69,0x65,0x77])][_0x530cf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x530cf9([0x61,0x75,0x74,0x6f]);}function _0x1b4310(){_0x5a17d7[_0x530cf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x530cf9([0x76,0x69,0x65,0x77])][_0x530cf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x530cf9([0x61,0x75,0x74,0x6f]);}}function _0x575d1e(_0x475085){const _0x23592a=[new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb70064=>setTimeout(_0xb70064,0x5356b2f6^_0x5794d0)),_0x1b4044[_0x530cf9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ae239=>{let _0x51de63=0x0;_0x5a17d7[_0x530cf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x530cf9([0x6f,0x6e])](_0x530cf9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x231797,_0xa175f2)=>{_0xa175f2[0x0][_0x530cf9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51de63++,_0x51de63==(0x535f89d2^_0x5794d0)&&(_0x4ae239(),_0x231797[_0x530cf9([0x6f,0x66,0x66])]());});}))];return window[_0x530cf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x530cf9([0x72,0x61,0x63,0x65])](_0x23592a)[_0x530cf9([0x74,0x68,0x65,0x6e])](()=>_0x475085);}async function _0x3977f2(){await _0x1b4044,_0x5a17d7[_0x530cf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x530cf9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5539a3,_0x5a17d7[_0x530cf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x530cf9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5539a3,_0x5a17d7[_0x530cf9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x530cf9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35cfae(_0x3657f7){const _0x3a2ac3=_0x50ff26();_0x5a17d7[_0x3a2ac3]=_0x530cf9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3657f7,_0x3657f7!=_0x530cf9([0x56,0x61,0x6c,0x69,0x64])&&_0x3977f2();}function _0x50ff26(){const _0x47ba32=window[_0x530cf9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x530cf9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x530cf9([0x6e,0x6f,0x77])]())[_0x530cf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x530cf9([0x2e]),'');let _0x43680b=_0x530cf9([0x68]);for(let _0x2d0906=0x0;_0x2d0906<_0x47ba32[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d0906+=0x2){let _0x13b0b1=window[_0x530cf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47ba32[_0x530cf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d0906,_0x2d0906+0x2));_0x13b0b1>=_0x2a15c9[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13b0b1-=_0x2a15c9[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43680b+=_0x2a15c9[_0x13b0b1];}return _0x43680b;}function _0x407fc0(){const _0x4fe51c=_0x3ba3c0[_0x530cf9([0x73,0x70,0x6c,0x69,0x74])](_0x530cf9([0x2e]));if(0x3!=_0x4fe51c[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x289280(_0x4fe51c[0x1]);function _0x289280(_0x31381a){const _0x2bc856=_0x3c5fc2(_0x31381a);return _0x2bc856&&_0x1279d5()?_0x2bc856:null;function _0x1279d5(){const _0x5c2131=_0x2bc856[_0x530cf9([0x6a,0x74,0x69])],_0x46fb03=window[_0x530cf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c2131[_0x530cf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2131[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x113632={..._0x2bc856,[_0x530cf9([0x6a,0x74,0x69])]:_0x5c2131[_0x530cf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c2131[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x113632[_0x530cf9([0x76,0x63])],_0x44c843(_0x113632)==_0x46fb03;}}}async function _0x5ae61c(){let _0x46e518=!0x0;try{const _0x17ae89=_0x3ba3c0[_0x530cf9([0x73,0x70,0x6c,0x69,0x74])](_0x530cf9([0x2e])),[_0x274c88,_0x44b7cf,_0x117885]=_0x17ae89;return _0x5889b0(_0x274c88),await _0x5900cf(_0x274c88,_0x44b7cf,_0x117885),_0x46e518;}catch{return!0x1;}function _0x5889b0(_0x260f21){const _0x28d7d4=_0x3c5fc2(_0x260f21);_0x28d7d4&&_0x28d7d4[_0x530cf9([0x61,0x6c,0x67])]==_0x530cf9([0x45,0x53,0x32,0x35,0x36])||(_0x46e518=!0x1);}async function _0x5900cf(_0x5d72b7,_0xaf278a,_0x412b07){const _0x48639d=window[_0x530cf9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x530cf9([0x66,0x72,0x6f,0x6d])](_0xb9cf5e(_0x412b07),_0x47c854=>_0x47c854[_0x530cf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x520eca=new window[(_0x530cf9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x530cf9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d72b7+_0x530cf9([0x2e])+_0xaf278a),_0x3880cb=window[_0x530cf9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x530cf9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3880cb)return;const _0x51facb=await _0x3880cb[_0x530cf9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x530cf9([0x6a,0x77,0x6b]),_0x4ff932,{[_0x530cf9([0x6e,0x61,0x6d,0x65])]:_0x530cf9([0x45,0x43,0x44,0x53,0x41]),[_0x530cf9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x530cf9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x530cf9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3880cb[_0x530cf9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x530cf9([0x6e,0x61,0x6d,0x65])]:_0x530cf9([0x45,0x43,0x44,0x53,0x41]),[_0x530cf9([0x68,0x61,0x73,0x68])]:{[_0x530cf9([0x6e,0x61,0x6d,0x65])]:_0x530cf9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51facb,_0x48639d,_0x520eca)||(_0x46e518=!0x1);}}function _0x3c5fc2(_0x28237b){return _0x28237b[_0x530cf9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x530cf9([0x65,0x79]))?JSON[_0x530cf9([0x70,0x61,0x72,0x73,0x65])](_0xb9cf5e(_0x28237b)):null;}function _0xb9cf5e(_0x458a25){return window[_0x530cf9([0x61,0x74,0x6f,0x62])](_0x458a25[_0x530cf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x530cf9([0x2b]))[_0x530cf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x530cf9([0x2f])));}function _0x44c843(_0x490370){let _0x5bd6a6=0x1505;function _0x252b46(_0x364117){for(let _0x308a8b=0x0;_0x308a8b<_0x364117[_0x530cf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x308a8b++){const _0xb59516=_0x364117[_0x530cf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x308a8b);_0x5bd6a6=(_0x5bd6a6<<0x5)+_0x5bd6a6+_0xb59516,_0x5bd6a6&=_0x5bd6a6;}}function _0x4bf5d2(_0x27f404){Array[_0x530cf9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27f404)?_0x27f404[_0x530cf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bf5d2):_0x27f404&&typeof _0x27f404==_0x530cf9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x530cf9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27f404)[_0x530cf9([0x73,0x6f,0x72,0x74])]()[_0x530cf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56c071,_0x33943f])=>{_0x252b46(_0x56c071),_0x4bf5d2(_0x33943f);}):_0x252b46(window[_0x530cf9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27f404));}return _0x4bf5d2(_0x490370),_0x5bd6a6>>>0x0;}function _0x4e7c5a(_0x776f9c){return _0x776f9c[_0x530cf9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x530cf9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x530cf9([0x30]));}function _0x15cc16(_0x1be656){return _0x1be656[_0x530cf9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x530cf9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x530cf9([0x6a,0x6f,0x69,0x6e])]('');}function _0x5539a3(){}function _0x530cf9(_0x2b66e8){return _0x2b66e8['map'](_0x2e2845=>String['fromCharCode'](_0x2e2845))['join']('');}_0x35cfae(await _0x5db71c());}(this);}['_initSchema'](){const _0x387e77=this['editor']['model']['schema'];_0x387e77['isRegistered']('imageBlock')&&_0x387e77['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x387e77['isRegistered']('imageInline')&&_0x387e77['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xea0349=this['editor'];_0xea0349['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xea0349['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x141ccb=>_0x141ccb['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9b4c40=_0xea0349['commands']['get']('replaceImageSource');_0x9b4c40&&this['listenTo'](_0x9b4c40,'cleanupImage',(_0x21132a,[_0x3c2a61,_0x119259])=>{_0x3c2a61['removeAttribute']('uploadcareImageId',_0x119259);});}['_initConfig'](){const _0x4cdd09=this['editor']['config']['get']('uploadcare.uploader')||{},_0x229c97=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x39b067(_0x29646b['document'],'uc-config',{..._0x4cdd09,'pubkey':_0x229c97,'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']=_0xa295f5=>{if('closeMax'==_0xa295f5)return'#uc-icon-arrow-down';},_0x29646b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x39b067(_0x29646b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x29646b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x310695=this['editor']['commands']['get']('insertImage');_0x310695&&this['listenTo'](_0x310695,'execute',()=>{const _0x11be6d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x11be6d&&_0x11be6d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x11be6d);});});const _0x59219b=this['editor']['commands']['get']('uploadcareImageReplace');_0x59219b&&this['listenTo'](_0x59219b,'execute',()=>{const _0x27bbb9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x27bbb9&&_0x27bbb9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x27bbb9);});});}}class tt extends _0x1b064f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2bdbf5){super(_0x2bdbf5),_0x2bdbf5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x25d53f['defineComponents'](_0x25d53f),this['_defineLocale']();}['_defineLocale'](){const _0x25d135=this['editor']['config']['get']('uploadcare.locale'),_0x44e404=this['editor']['locale']['contentLanguage'];_0x25d135&&_0x25d53f['defineLocale'](_0x44e404,_0x25d135);}}class ii extends _0x1c726e{constructor(_0x329065){super(_0x329065);const t=_0x329065['t'],_0x2115e3=this['bindTemplate'],_0x34a0e3=new _0x3f9bcd();_0x34a0e3['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':[_0x34a0e3,{'text':_0x2115e3['to']('imageUploadProgress',_0x21286c=>t('Loading\x20image...')+'\x20('+(_0x21286c||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 _0x1c726e{constructor(_0x23c795){super(_0x23c795);const t=_0x23c795['t'];this['set']('errorType',null);const _0x3dd299=new _0x4005d2(_0x23c795);_0x3dd299['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3dd299['withText']=!0x0,_0x3dd299['class']='ck-button-action',_0x3dd299['on']('execute',()=>{this['fire']('retry');}),_0x3dd299['bind']('isVisible')['to'](this,'errorType',_0x6496a4=>'NotFound'!==_0x6496a4);const _0x54288b=new _0x4b8abe();_0x54288b['content']=_0x3615d0,_0x54288b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1f0f60=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':[_0x54288b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1f0f60['to']('errorType',_0x564436=>t('NotFound'!==_0x564436?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3dd299]},{'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 _0x1c726e{constructor(_0x1a08a5,_0x34b61d){super(_0x1a08a5);const _0x2e0bbf=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x34b61d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2e0bbf['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2b8419,_0x32649d,_0x1c4cd5){super(_0x2b8419),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2b8419),this['_errorView']=new ti(_0x2b8419),this['_editingView']=new ei(_0x2b8419,_0x1c4cd5),this['_focusableView']=new _0x1c726e(_0x2b8419),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x32649d),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'],_0x15df1f=>{this['_addUploadcareImageEditorListeners'](_0x15df1f);});}),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'](_0x236aba,_0x59ff8d){const _0x2aa65a='uc-cloud-image-editor',_0x3bc4fc=_0x236aba['querySelector'](_0x2aa65a);if(_0x3bc4fc)return _0x59ff8d(_0x3bc4fc);const _0x83805c=new MutationObserver(_0x4bc54f=>{const _0x1327d9=_0x4bc54f['filter'](_0x333ff1=>_0x333ff1['target']===_0x236aba&&_0x333ff1['addedNodes']['length']>0x0&&_0x333ff1['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2aa65a);_0x1327d9['length']&&(_0x83805c['disconnect'](),_0x59ff8d(_0x1327d9[0x0]['addedNodes'][0x0]));});_0x83805c['observe'](_0x236aba,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1fd566){_0x1fd566['addEventListener']('apply',_0x379aaa=>{this['fire']('apply',{'imageSrc':_0x379aaa['detail']['cdnUrl']});}),_0x1fd566['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3f8b0f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5e9937,_0xd7e481,_0x10545b){super(),this['_editor']=_0x5e9937,this['_dialog']=_0xd7e481,this['_imageElement']=_0x10545b,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 _0x32c389=this['_imageElement'],_0x554860=_0x32c389['getAttribute']('uploadcareImageId'),_0x5aa6fa=_0x32c389['getAttribute']('src');if(_0x554860)await this['_loadImageInfo'](_0x554860,_0x5aa6fa);else{if(this['_imageCache']['has'](_0x5aa6fa)){const _0x3f40a7=this['_imageCache']['get'](_0x5aa6fa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f40a7['url'],this['imageDimension']=_0x3f40a7['dimension'],this['imageId']=_0x3f40a7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x749cfd}=this['_editor'],t=_0x749cfd['t'],_0x4ae08b=new X(_0x749cfd,this['imageStatus'],this['_attributes']);_0x4ae08b['bind']('status')['to'](this,'imageStatus'),_0x4ae08b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ae08b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ae08b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ae08b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5aed85,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ae08b,'position':_0x1cc742['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ae08b['focus']();},'onHide':()=>{_0x4ae08b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x491c3a=>!A(_0x491c3a,_0x4ae08b['element'])}});}['_loadImageInfo'](_0x5babf4,_0xa9c7f){return j['getInfo'](_0x5babf4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x189690=>{const {width:_0x258271,height:_0x310fbb}=_0x189690['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa9c7f,this['imageDimension']={'width':_0x258271,'height':_0x310fbb},this['imageId']=_0x5babf4;})['catch'](_0xcaacce=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcaacce['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x52ffd9,_0x2a3953){return this['_getImageAsFile'](_0x52ffd9)['then'](_0x24da41=>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':_0x2a3953['signal'],'file':_0x24da41,'onProgress':_0x3ba274=>{_0x3ba274&&_0x3ba274['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3ba274['value']));}}))['then'](_0x13d7dc=>{const {width:_0x2d5545,height:_0x2d0bf9}=_0x13d7dc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13d7dc['cdnUrl'],this['imageDimension']={'width':_0x2d5545,'height':_0x2d0bf9},this['imageId']=_0x13d7dc['uuid'],this['imageUploadProgress']=null;const _0x3ba557=_0x52ffd9['getAttribute']('src');this['_imageCache']['set'](_0x3ba557,{'id':_0x13d7dc['uuid'],'url':_0x13d7dc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x533b3f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x533b3f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5dfeac,_0x346707){_0x5dfeac['on']('apply',(_0x2d789d,_0x24d0c7)=>{this['_replaceImage'](_0x346707,_0x24d0c7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5dfeac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5dfeac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1b3d6f,_0x269873,_0x29751a){const _0x4503bc=this['_editor'],{width:_0x2124cb,height:_0x3b9285}=S(_0x269873,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x26ed9e,imageSources:_0x44ed09}=C(_0x269873,_0x2124cb);_0x4503bc['model']['change'](_0x5cf57=>{if('$graveyard'===_0x1b3d6f['root']['rootName']){_0x4503bc['execute']('insertImage',{'imageType':_0x1b3d6f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1b3d6f['getAttributes']()),'uploadcareImageId':_0x29751a,'src':_0x26ed9e,'sources':_0x44ed09,'width':_0x2124cb,'height':_0x3b9285}});const _0xc06675=_0x1b3d6f['getChildren']();_0x1b3d6f=_0x4503bc['model']['document']['selection']['getSelectedElement']();for(const _0x152f60 of _0xc06675)_0x5cf57['append'](_0x5cf57['cloneElement'](_0x152f60),_0x1b3d6f);}else _0x5cf57['setSelection'](_0x1b3d6f,'on'),_0x4503bc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1b3d6f['getAttributes']()),'uploadcareImageId':_0x29751a,'src':_0x26ed9e,'sources':_0x44ed09,'width':_0x2124cb,'height':_0x3b9285},_0x1b3d6f);_0x5cf57['setSelection'](_0x1b3d6f,'on');});}async['_getImageAsFile'](_0x44ccc1){const _0x2ebe74=_0x29646b['window'],_0xd0d70f=_0x29646b['document']['location']['href'],_0x246764=new _0x2ebe74['URL'](_0x44ccc1['getAttribute']('src'),_0xd0d70f);if('data:'===_0x246764['protocol']){const _0x1d3166=_0x246764['href']['split'](','),_0x3fa9ba=_0x1d3166[0x0]['match'](/:(.*?);/)[0x1],_0x300faa=_0x3fa9ba['split']('/')[0x1],_0xfe33a2=_0x2ebe74['atob'](_0x1d3166[_0x1d3166['length']-0x1]);let _0x22f150=_0xfe33a2['length'];const _0xeb4c29=new _0x2ebe74['Uint8Array'](_0x22f150);for(;_0x22f150--;)_0xeb4c29[_0x22f150]=_0xfe33a2['charCodeAt'](_0x22f150);return new _0x2ebe74['File']([_0xeb4c29],'image.'+_0x300faa,{'type':_0x3fa9ba});}const _0x44e657=_0x246764['href']['split']('/'),_0x4e9909=_0x44e657[_0x44e657['length']-0x1],_0x3ce11b=_0x4e9909['split']('.')[0x1];return _0x2ebe74['fetch'](_0x246764['href'])['then'](_0x3fade4=>_0x3fade4['clone']()['blob']())['then'](_0x3f2b79=>new _0x2ebe74['File']([_0x3f2b79],_0x4e9909,{'type':'image/'+_0x3ce11b}));}}class O extends _0x3b0801{['imageEditController'];static get['requires'](){return[_0x402fe0];}['_isEditable'];constructor(_0x31cfb1){super(_0x31cfb1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xbbf0b5){const _0x4ee14e=G(_0xbbf0b5);return _0x48a158=>!(!_0x48a158||!_0x48a158['is']('element','imageBlock')&&!_0x48a158['is']('element','imageInline'))&&(!!_0x48a158['hasAttribute']('uploadcareImageId')||!!_0x48a158['hasAttribute']('src')&&_0x4ee14e(_0x48a158['getAttribute']('src')));}(_0x31cfb1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4f0675=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4f0675);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3914f6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3914f6&&(_0x3914f6['is']('element','imageBlock')||_0x3914f6['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x402fe0),_0x3914f6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3b0801{['refresh'](){const _0x2185cf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2185cf&&(_0x2185cf['is']('element','imageBlock')||_0x2185cf['is']('element','imageInline')));}['execute'](_0x8f826){const _0xdbf654=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2f830c=>{_0x2f830c['setAttributes'](_0x8f826,_0xdbf654),_0x2f830c['removeAttribute']('srcset',_0xdbf654),_0x2f830c['removeAttribute']('sizes',_0xdbf654);});}}class m extends _0x1b064f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x246b07,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a68b8}=this;_0x1a68b8['commands']['add']('uploadcareImageEdit',new O(_0x1a68b8)),_0x1a68b8['commands']['add']('uploadcareImageReplace',new R(_0x1a68b8));}}class g extends _0x1b064f{['_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 _0x2cad89=this['editor'];_0x2cad89['ui']['componentFactory']['add']('uploadcareImageEdit',_0x307628=>{const _0x4ed140=_0x2cad89['commands']['get']('uploadcareImageEdit'),_0x4476f8=new _0x4005d2(_0x307628),t=_0x307628['t'];return _0x4476f8['set']({'icon':_0x5aed85,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4476f8['bind']('isEnabled')['to'](_0x4ed140),_0x4476f8['bind']('isOn')['to'](_0x4ed140,'isActive'),this['listenTo'](_0x4476f8,'execute',()=>{_0x2cad89['execute']('uploadcareImageEdit'),_0x2cad89['editing']['view']['focus']();}),_0x4476f8;}),this['_initConfig']();}['_initConfig'](){const _0x3ca50b=_0x39b067(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3ca50b),this['listenTo'](this['editor'],'destroy',()=>{_0x3ca50b['remove']();});}}class et extends _0x1b064f{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,O 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':_0x12a3b4=>0x1!=_0x12a3b4}};
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':_0x4dc4e5=>0x1!=_0x4dc4e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x161e57=>{const {af:{dictionary:_0x258a0f,getPluralForm:_0x3c488c}}={'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':_0x1b2eb9=>0x1!=_0x1b2eb9}};_0x161e57['af']||={'dictionary':{},'getPluralForm':null},_0x161e57['af']['dictionary']=Object['assign'](_0x161e57['af']['dictionary'],_0x258a0f),_0x161e57['af']['getPluralForm']=_0x3c488c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14293b=>{const {af:{dictionary:_0x5a5fd6,getPluralForm:_0x435a96}}={'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':_0x388443=>0x1!=_0x388443}};_0x14293b['af']||={'dictionary':{},'getPluralForm':null},_0x14293b['af']['dictionary']=Object['assign'](_0x14293b['af']['dictionary'],_0x5a5fd6),_0x14293b['af']['getPluralForm']=_0x435a96;})(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':_0x24c249=>0x0==_0x24c249?0x0:0x1==_0x24c249?0x1:0x2==_0x24c249?0x2:_0x24c249%0x64>=0x3&&_0x24c249%0x64<=0xa?0x3:_0x24c249%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':_0x113a90=>0x0==_0x113a90?0x0:0x1==_0x113a90?0x1:0x2==_0x113a90?0x2:_0x113a90%0x64>=0x3&&_0x113a90%0x64<=0xa?0x3:_0x113a90%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236369=>{const {ar:{dictionary:_0x126399,getPluralForm:_0x43504f}}={'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':_0x3b42c6=>0x0==_0x3b42c6?0x0:0x1==_0x3b42c6?0x1:0x2==_0x3b42c6?0x2:_0x3b42c6%0x64>=0x3&&_0x3b42c6%0x64<=0xa?0x3:_0x3b42c6%0x64>=0xb?0x4:0x5}};_0x236369['ar']||={'dictionary':{},'getPluralForm':null},_0x236369['ar']['dictionary']=Object['assign'](_0x236369['ar']['dictionary'],_0x126399),_0x236369['ar']['getPluralForm']=_0x43504f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x100885=>{const {ar:{dictionary:_0x10f8e5,getPluralForm:_0x1abf04}}={'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':_0x25b575=>0x0==_0x25b575?0x0:0x1==_0x25b575?0x1:0x2==_0x25b575?0x2:_0x25b575%0x64>=0x3&&_0x25b575%0x64<=0xa?0x3:_0x25b575%0x64>=0xb?0x4:0x5}};_0x100885['ar']||={'dictionary':{},'getPluralForm':null},_0x100885['ar']['dictionary']=Object['assign'](_0x100885['ar']['dictionary'],_0x10f8e5),_0x100885['ar']['getPluralForm']=_0x1abf04;})(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':_0x34a326=>0x1!=_0x34a326}};
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':_0x289ef8=>0x1!=_0x289ef8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x366b20=>{const {ast:{dictionary:_0x19da04,getPluralForm:_0x20d2a4}}={'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':_0x3d3487=>0x1!=_0x3d3487}};_0x366b20['ast']||={'dictionary':{},'getPluralForm':null},_0x366b20['ast']['dictionary']=Object['assign'](_0x366b20['ast']['dictionary'],_0x19da04),_0x366b20['ast']['getPluralForm']=_0x20d2a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55af6d=>{const {ast:{dictionary:_0xcd205c,getPluralForm:_0x399ac9}}={'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':_0xe9c729=>0x1!=_0xe9c729}};_0x55af6d['ast']||={'dictionary':{},'getPluralForm':null},_0x55af6d['ast']['dictionary']=Object['assign'](_0x55af6d['ast']['dictionary'],_0xcd205c),_0x55af6d['ast']['getPluralForm']=_0x399ac9;})(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':_0x450fdb=>0x1!=_0x450fdb}};
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':_0x110e65=>0x1!=_0x110e65}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ac392=>{const {az:{dictionary:_0x33bfe1,getPluralForm:_0x163249}}={'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':_0x4e8d0b=>0x1!=_0x4e8d0b}};_0x5ac392['az']||={'dictionary':{},'getPluralForm':null},_0x5ac392['az']['dictionary']=Object['assign'](_0x5ac392['az']['dictionary'],_0x33bfe1),_0x5ac392['az']['getPluralForm']=_0x163249;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c213a=>{const {az:{dictionary:_0xc0302f,getPluralForm:_0x3e209b}}={'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':_0x3dd3b0=>0x1!=_0x3dd3b0}};_0x2c213a['az']||={'dictionary':{},'getPluralForm':null},_0x2c213a['az']['dictionary']=Object['assign'](_0x2c213a['az']['dictionary'],_0xc0302f),_0x2c213a['az']['getPluralForm']=_0x3e209b;})(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':_0x4b7d4b=>_0x4b7d4b%0xa==0x1&&_0x4b7d4b%0x64!=0xb?0x0:_0x4b7d4b%0xa>=0x2&&_0x4b7d4b%0xa<=0x4&&(_0x4b7d4b%0x64<0xa||_0x4b7d4b%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':_0x395dfd=>_0x395dfd%0xa==0x1&&_0x395dfd%0x64!=0xb?0x0:_0x395dfd%0xa>=0x2&&_0x395dfd%0xa<=0x4&&(_0x395dfd%0x64<0xa||_0x395dfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2edd4d=>{const {be:{dictionary:_0x10a14c,getPluralForm:_0x197d25}}={'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':_0x5ab8f5=>_0x5ab8f5%0xa==0x1&&_0x5ab8f5%0x64!=0xb?0x0:_0x5ab8f5%0xa>=0x2&&_0x5ab8f5%0xa<=0x4&&(_0x5ab8f5%0x64<0xa||_0x5ab8f5%0x64>=0x14)?0x1:0x2}};_0x2edd4d['be']||={'dictionary':{},'getPluralForm':null},_0x2edd4d['be']['dictionary']=Object['assign'](_0x2edd4d['be']['dictionary'],_0x10a14c),_0x2edd4d['be']['getPluralForm']=_0x197d25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16002e=>{const {be:{dictionary:_0x3b5f7b,getPluralForm:_0x3154e5}}={'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':_0x40e6ad=>_0x40e6ad%0xa==0x1&&_0x40e6ad%0x64!=0xb?0x0:_0x40e6ad%0xa>=0x2&&_0x40e6ad%0xa<=0x4&&(_0x40e6ad%0x64<0xa||_0x40e6ad%0x64>=0x14)?0x1:0x2}};_0x16002e['be']||={'dictionary':{},'getPluralForm':null},_0x16002e['be']['dictionary']=Object['assign'](_0x16002e['be']['dictionary'],_0x3b5f7b),_0x16002e['be']['getPluralForm']=_0x3154e5;})(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':_0x20220a=>0x1!=_0x20220a}};
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':_0x5de941=>0x1!=_0x5de941}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20f068=>{const {bg:{dictionary:_0x2637a8,getPluralForm:_0x45c5a1}}={'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':_0x53c3b3=>0x1!=_0x53c3b3}};_0x20f068['bg']||={'dictionary':{},'getPluralForm':null},_0x20f068['bg']['dictionary']=Object['assign'](_0x20f068['bg']['dictionary'],_0x2637a8),_0x20f068['bg']['getPluralForm']=_0x45c5a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a7db1=>{const {bg:{dictionary:_0xa61a04,getPluralForm:_0x34db4d}}={'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':_0x4b57a9=>0x1!=_0x4b57a9}};_0x2a7db1['bg']||={'dictionary':{},'getPluralForm':null},_0x2a7db1['bg']['dictionary']=Object['assign'](_0x2a7db1['bg']['dictionary'],_0xa61a04),_0x2a7db1['bg']['getPluralForm']=_0x34db4d;})(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':_0x55b7fc=>0x1!=_0x55b7fc}};
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':_0x2c8f34=>0x1!=_0x2c8f34}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d565d=>{const {bn:{dictionary:_0x91af8c,getPluralForm:_0x474ea0}}={'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':_0x3f9c3c=>0x1!=_0x3f9c3c}};_0x1d565d['bn']||={'dictionary':{},'getPluralForm':null},_0x1d565d['bn']['dictionary']=Object['assign'](_0x1d565d['bn']['dictionary'],_0x91af8c),_0x1d565d['bn']['getPluralForm']=_0x474ea0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4de793=>{const {bn:{dictionary:_0x32b1fb,getPluralForm:_0x5ea6bc}}={'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':_0x2fc1f4=>0x1!=_0x2fc1f4}};_0x4de793['bn']||={'dictionary':{},'getPluralForm':null},_0x4de793['bn']['dictionary']=Object['assign'](_0x4de793['bn']['dictionary'],_0x32b1fb),_0x4de793['bn']['getPluralForm']=_0x5ea6bc;})(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':_0x5dd018=>_0x5dd018%0xa==0x1&&_0x5dd018%0x64!=0xb?0x0:_0x5dd018%0xa>=0x2&&_0x5dd018%0xa<=0x4&&(_0x5dd018%0x64<0xa||_0x5dd018%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':_0x3ef0ea=>_0x3ef0ea%0xa==0x1&&_0x3ef0ea%0x64!=0xb?0x0:_0x3ef0ea%0xa>=0x2&&_0x3ef0ea%0xa<=0x4&&(_0x3ef0ea%0x64<0xa||_0x3ef0ea%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20ef72=>{const {bs:{dictionary:_0x5ca74f,getPluralForm:_0xe320df}}={'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':_0x3f60fe=>_0x3f60fe%0xa==0x1&&_0x3f60fe%0x64!=0xb?0x0:_0x3f60fe%0xa>=0x2&&_0x3f60fe%0xa<=0x4&&(_0x3f60fe%0x64<0xa||_0x3f60fe%0x64>=0x14)?0x1:0x2}};_0x20ef72['bs']||={'dictionary':{},'getPluralForm':null},_0x20ef72['bs']['dictionary']=Object['assign'](_0x20ef72['bs']['dictionary'],_0x5ca74f),_0x20ef72['bs']['getPluralForm']=_0xe320df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4415c9=>{const {bs:{dictionary:_0x39f1f4,getPluralForm:_0x3311aa}}={'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':_0x5d2ff3=>_0x5d2ff3%0xa==0x1&&_0x5d2ff3%0x64!=0xb?0x0:_0x5d2ff3%0xa>=0x2&&_0x5d2ff3%0xa<=0x4&&(_0x5d2ff3%0x64<0xa||_0x5d2ff3%0x64>=0x14)?0x1:0x2}};_0x4415c9['bs']||={'dictionary':{},'getPluralForm':null},_0x4415c9['bs']['dictionary']=Object['assign'](_0x4415c9['bs']['dictionary'],_0x39f1f4),_0x4415c9['bs']['getPluralForm']=_0x3311aa;})(window['CKEDITOR_TRANSLATIONS']||={});