@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251229.0 → 0.0.0-nightly-next-20251229.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 _0xca6ee3,Command as _0x3408de}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3da4f2,IconGooglePhotos as _0x3cc832,IconGoogleDrive as _0x54a2d6,IconFacebook as _0xb42500,IconDropbox as _0x104970,IconUploadcareLink as _0x32989a,IconUploadcareImageUpload as _0x173ccd,IconError as _0xa0d92e,IconUploadcareImageEdit as _0x3d5915}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3221aa,MenuBarMenuListItemButtonView as _0x9d2b92,View as _0x5858f0,FocusCycler as _0x43114f,Dialog as _0x226fc6,DialogViewPosition as _0x2146d8,SpinnerView as _0x38c730,IconView as _0x419363,Notification as _0x578432}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x46f2b1,DomEmitterMixin as _0x44b914,global as _0x437982,getAncestors as _0x45132b,ObservableMixin as _0x3ee91d,uid as _0x538856,createElement as _0x39ea77}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x6768d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x58596c,info as _0x5b89d4}from'@uploadcare/upload-client';import*as _0x6ff85b from'@uploadcare/file-uploader';var i=function(_0x1aae51){return _0x1aae51['Local']='local',_0x1aae51['URL']='url',_0x1aae51['Dropbox']='dropbox',_0x1aae51['GDrive']='gdrive',_0x1aae51['Facebook']='facebook',_0x1aae51['GPhotos']='gphotos',_0x1aae51['OneDrive']='onedrive',_0x1aae51;}({});function _(_0x3bfe0b,_0x23e4e2,_0x5270a4){const t=_0x3bfe0b['t'],_0x1da833=_0x3bfe0b['t'];switch(_0x23e4e2){case i['Local']:return{'text':_0x1da833('Insert'===_0x5270a4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1da833('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5270a4?_0x1da833('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1da833('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5270a4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5270a4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5270a4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5270a4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5270a4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23e4e2;}}class e extends _0xca6ee3{['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 _0x5265ec=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18f65a;for(const _0x1f8a84 in _0x5265ec){const _0x1da26d=_0x1f8a84,_0x33677a=_0x5265ec[_0x1da26d];if('uploadcareLicenseKeyValid'==_0x33677a||'uploadcareLicenseKeyInvalid'==_0x33677a||'uploadcareLicenseKeyExpired'==_0x33677a||'uploadcareLicenseKeyDomainLimit'==_0x33677a||'uploadcareLicenseKeyNotAllowed'==_0x33677a||'uploadcareLicenseKeyEvaluationLimit'==_0x33677a||'uploadcareLicenseKeyTrialLimit'==_0x33677a||'uploadcareLicenseKeyUsageLimit'==_0x33677a){delete _0x5265ec[_0x1da26d],_0x18f65a=_0x33677a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x18f65a&&_0x5265ec['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x18f65a&&_0x5265ec['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x18f65a&&_0x5265ec['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x18f65a&&_0x5265ec['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x18f65a&&_0x5265ec['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x18f65a&&_0x5265ec['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x18f65a&&_0x5265ec['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x237935}=this,_0x32722e=_0x237935['commands']['get']('uploadcare');if(!_0x32722e)return;const _0x5add22=this['_normalizeConfigSourceList'](_0x237935['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x24fec3,_0x5a317b)=>{const _0x496cf8=this['_getIntegrationKey'](_0x5a317b['type']);return _0x24fec3[_0x496cf8]||(_0x24fec3[_0x496cf8]=[]),_0x24fec3[_0x496cf8]['push'](_0x5a317b),_0x24fec3;},{});_0x237935['plugins']['has']('ImageInsertUI')&&_0x237935['commands']['get']('uploadcare')&&Object['entries'](_0x5add22)['forEach'](([_0x577837,_0x2d3581])=>{_0x237935['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x577837,'observable':()=>_0x32722e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2d3581),'formViewCreator':()=>this['_createDropdownButtons'](_0x2d3581),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2d3581),'override':'assetManager'!==_0x577837});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2da5bb){const {locale:_0x137544}=this['editor'];return _0x2da5bb['map'](_0x3fc468=>{const _0x5d3b67=_(_0x137544,_0x3fc468,'Insert');switch(_0x3fc468){case i['Local']:return{'icon':_0x173ccd,'type':i['Local'],..._0x5d3b67};case i['URL']:return{'icon':_0x32989a,'type':i['URL'],..._0x5d3b67};case i['Dropbox']:return{'icon':_0x104970,'type':i['Dropbox'],..._0x5d3b67};case i['Facebook']:return{'icon':_0xb42500,'type':i['Facebook'],..._0x5d3b67};case i['GDrive']:return{'icon':_0x54a2d6,'type':i['GDrive'],..._0x5d3b67};case i['GPhotos']:return{'icon':_0x3cc832,'type':i['GPhotos'],..._0x5d3b67};case i['OneDrive']:return{'icon':_0x3da4f2,'type':i['OneDrive'],..._0x5d3b67};}});}['_getIntegrationKey'](_0x406dd2){switch(_0x406dd2){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e069a,_0x3ab30f){const _0x18613a=this['editor'],_0x518254=new _0x4e069a(_0x18613a['locale']),_0x261a83=_0x18613a['commands']['get']('uploadcare');return _0x518254['bind']('isEnabled')['to'](_0x261a83),_0x518254['on']('execute',()=>{_0x261a83['execute'](_0x3ab30f);}),_0x518254;}['_createToolbarButton'](_0x402a16){const {locale:_0x159db9}=this['editor'],_0x1fccec=this['editor']['plugins']['get']('ImageInsertUI'),_0x2399a5=_0x402a16[0x0],_0x590e46=this['_createButton'](_0x3221aa,_0x2399a5['type']);return _0x590e46['icon']=_0x2399a5['icon'],_0x590e46['bind']('label')['to'](_0x1fccec,'isImageSelected',_0x3b3700=>_(_0x159db9,_0x2399a5['type'],_0x3b3700?'Replace':'Insert')['text']),_0x590e46['tooltip']=!0x0,_0x590e46;}['_createDropdownButtons'](_0x151e69){const {locale:_0x52b7a7}=this['editor'],_0x53f94b=this['editor']['plugins']['get']('ImageInsertUI');return _0x151e69['map'](_0x356335=>{const _0x1e26ea=this['_createButton'](_0x3221aa,_0x356335['type']);return _0x1e26ea['withText']=!0x0,_0x1e26ea['icon']=_0x356335['icon'],_0x1e26ea['bind']('label')['to'](_0x53f94b,'isImageSelected',_0x2eb042=>_(_0x52b7a7,_0x356335['type'],_0x2eb042?'Replace':'Insert')['text']),_0x1e26ea;});}['_createMenuBarButtons'](_0x2e26e0){return _0x2e26e0['map'](_0x3d2357=>{const _0x94b689=this['_createButton'](_0x9d2b92,_0x3d2357['type']);return _0x94b689['icon']=_0x3d2357['icon'],_0x94b689['label']=_0x3d2357['shortText'],_0x94b689;});}}class F extends _0x5858f0{['focusTracker'];['focusCycler'];constructor(_0x1eb215){super(_0x1eb215),this['focusTracker']=new _0x46f2b1(),this['focusCycler']=new _0x43114f({'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(_0x5e34bb,_0x4d2df1){super(_0x5e34bb),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-'+_0x4d2df1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5985f1,_0x5d49e4){const _0x1c6261=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5380af=>_0x5380af<=_0x5d49e4)['map'](_0xeb4adb=>_0x5985f1['replace'](/\/$/,'')+'/-/resize/'+_0xeb4adb+'x/\x20'+_0xeb4adb+'w');return{'imageFallbackUrl':_0x5985f1,'imageSources':[{'srcset':_0x1c6261['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5d49e4+'px)\x20100vw,\x20'+_0x5d49e4+'px','type':'image/webp'}]};}function S(_0x5a1790,_0x25a13c,_0x41615f){const _0x42339b=_0x5a1790['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x42339b?parseInt(_0x42339b[0x1],0xa):_0x25a13c,'height':_0x42339b?parseInt(_0x42339b[0x2],0xa):_0x41615f};}function p(_0x4cab14,_0x3faaf8){const _0x2dc454=new(_0x44b914())(),_0x183280=_0x4cab14['plugins']['get']('ImageUtils'),_0x5b9cb4=_0x4cab14['editing']['mapper']['toViewElement'](_0x3faaf8),_0x1292e7=_0x183280['findViewImgElement'](_0x5b9cb4),_0x3e338a=_0x4cab14['editing']['view']['domConverter']['viewToDom'](_0x1292e7),_0x3afffd=_0x3faaf8['getAttribute']('width'),_0x53497=_0x3faaf8['getAttribute']('height'),_0xd8cbcc='image-processing';_0x4cab14['editing']['view']['change'](_0x4faa48=>{_0x4faa48['addClass'](_0xd8cbcc,_0x5b9cb4),_0x4faa48['setStyle']('aspect-ratio',_0x3afffd+'/'+_0x53497,_0x1292e7);}),_0x2dc454['listenTo'](_0x3e338a,'load',()=>{_0x2dc454['stopListening'](_0x3e338a,'load'),_0x4cab14['editing']['view']['change'](_0x25922b=>{_0x25922b['removeClass'](_0xd8cbcc,_0x5b9cb4),_0x25922b['removeStyle']('aspect-ratio',_0x1292e7);});});}function G(_0x24ec73){if(Array['isArray'](_0x24ec73)){const _0x5f1225=_0x24ec73['map'](G);return _0x4f8ece=>_0x5f1225['some'](_0x22f55c=>_0x22f55c(_0x4f8ece));}if('origin'==_0x24ec73){const _0x1f6583=_0x437982['window']['location']['origin'];return _0x25ca2d=>new URL(_0x25ca2d,_0x437982['document']['baseURI'])['origin']==_0x1f6583;}return'function'==typeof _0x24ec73?_0x24ec73:_0x24ec73 instanceof RegExp?_0x675f34=>!(!_0x675f34['match'](_0x24ec73)&&!_0x675f34['replace'](/^https?:\/\//,'')['match'](_0x24ec73)):()=>!0x1;}function A(_0x1205ec,_0x14e4ea){return _0x45132b(_0x1205ec['target'])['includes'](_0x14e4ea);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3ee91d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x52f73a,_0x3f6162,_0x2045c9){super(),this['_editor']=_0x52f73a,this['_editing']=_0x3f6162,this['_dialog']=_0x52f73a['plugins']['get'](_0x226fc6),this['_api']=_0x3f6162['ctxElement']['getAPI'](),this['_type']=_0x2045c9,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:_0x2c945b,model:_0x76b573}=this['_editor'],_0x40bd6a=_0x76b573['document']['selection']['getSelectedElement'](),_0x3b2383=_0x40bd6a&&(_0x40bd6a['is']('element','imageBlock')||_0x40bd6a['is']('element','imageInline'));this['_formView']=new x(_0x2c945b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x173ccd,'title':_(_0x2c945b,this['_type'],_0x3b2383?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2146d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c614f=>!A(_0x5c614f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xf9e0a1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5b3d3c=>{const _0x3fca8e=_0xf9e0a1['length'];for(const _0x47c61a of _0xf9e0a1){const _0x5e8606=_0x47c61a===_0xf9e0a1[_0x3fca8e-0x1],{cdnUrl:_0x27bf3a,fileInfo:_0x5befde}=_0x47c61a;if(!_0x27bf3a||!_0x5befde)continue;const {width:_0x3d6813,height:_0x162c22}=_0x5befde['imageInfo'],_0x20efac=S(_0x27bf3a,_0x3d6813,_0x162c22),_0xf3b1d3=C(_0x27bf3a,_0x20efac['width']),_0x55f2e2={'id':_0x5befde['uuid'],'type':'image','attributes':{'imageDimension':_0x20efac,..._0xf3b1d3}};this['_insertAsset'](_0x55f2e2,_0x5e8606,_0x5b3d3c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x392e1b=>{'idle'===_0x392e1b['detail']['status']&&!_0x392e1b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x386af2,_0x347137,_0x1a88ad){const _0x34bd34=this['_editor']['model']['document']['selection'],_0x4d23c3=_0x34bd34['getSelectedElement'](),_0x958bf9=!(!_0x4d23c3||!_0x4d23c3['is']('element','imageInline'));_0x1a88ad['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x386af2,_0x958bf9),_0x347137||_0x1a88ad['setSelection'](_0x34bd34['getLastPosition']());}['_insertImage'](_0xdbc4d2,_0x2c9d48){const _0x1cb14a=this['_editor'],{imageDimension:_0x1be922,imageFallbackUrl:_0x2fd50,imageSources:_0xd787b3}=_0xdbc4d2['attributes'];_0x1cb14a['execute']('insertImage',{'imageType':_0x2c9d48?'imageInline':null,'source':{'uploadcareImageId':_0xdbc4d2['id'],'src':_0x2fd50,'sources':_0xd787b3,..._0x1be922}});}}class w extends _0x3408de{['_editing'];['_controller']=null;static get['requires'](){return[_0x226fc6,o];}constructor(_0x25d82f){super(_0x25d82f),this['_editing']=_0x25d82f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x209f5c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x209f5c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1f5107,..._0x316436}){return _0x58596c(_0x1f5107,_0x316436);}static['getInfo'](_0x4e7d31,_0x19d2e7){return _0x5b89d4(_0x4e7d31,_0x19d2e7);}}class f extends _0xca6ee3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6768d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b713d=this['editor'];if(!!!_0x3b713d['config']['get']('uploadcare'))return;_0x3b713d['plugins']['get'](_0x6768d)['createUploadAdapter']=_0x3d15b9=>new k(_0x3d15b9,_0x3b713d),_0x3b713d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x30bce1,{imageElement:_0x19f4fe,data:_0x441f69})=>{_0x3b713d['model']['change'](_0x1cab66=>{_0x1cab66['setAttribute']('uploadcareImageId',_0x441f69['uploadcareImageId'],_0x19f4fe);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x585380,_0x55eadb){this['loader']=_0x585380,this['editor']=_0x55eadb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x392d89=await this['loader']['file'];return j['upload']({'file':_0x392d89,'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':_0x1dda10=>{_0x1dda10&&_0x1dda10['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1dda10['value']);}})['then'](async _0x4086f4=>{const {imageFallbackUrl:_0x104cf3,imageSources:_0x5e00a5}=C(_0x4086f4['cdnUrl'],_0x4086f4['imageInfo']['width']);return{'uploadcareImageId':_0x4086f4['uuid'],'default':_0x104cf3,'sources':_0x5e00a5};})['catch'](()=>{const _0x48b105=t('Cannot\x20upload\x20file:')+('\x20'+_0x392d89['name']+'.');return Promise['reject'](_0x48b105);});}['abort'](){this['controller']['abort']();}}class o extends _0xca6ee3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x226fc6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x371b80){super(_0x371b80),this['ucContextId']=_0x538856();}['init'](){const _0x3e1b0f=this['editor'];_0x3e1b0f['commands']['add']('uploadcare',new w(_0x3e1b0f));}['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 _0x450c48=_0x437982['document']['querySelector']('input[uploadcare-file-input]');_0x450c48&&_0x450c48['remove']();}),async function(_0x2da3ce){const _0xa9c322=_0x2b7162([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]),_0x1232c7=0x535f8c3a,_0x45b3d5=0x5358f172^_0x1232c7,_0x385c26=window[_0x2b7162([0x44,0x61,0x74,0x65])][_0x2b7162([0x6e,0x6f,0x77])](),_0x160f35=_0x2da3ce[_0x2b7162([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32dd3e=new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f9ab=>{_0x160f35[_0x2b7162([0x6f,0x6e,0x63,0x65])](_0x2b7162([0x72,0x65,0x61,0x64,0x79]),_0x33f9ab);}),_0x4f2b90={[_0x2b7162([0x6b,0x74,0x79])]:_0x2b7162([0x45,0x43]),[_0x2b7162([0x75,0x73,0x65])]:_0x2b7162([0x73,0x69,0x67]),[_0x2b7162([0x63,0x72,0x76])]:_0x2b7162([0x50,0x2d,0x32,0x35,0x36]),[_0x2b7162([0x78])]:_0x2b7162([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]),[_0x2b7162([0x79])]:_0x2b7162([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]),[_0x2b7162([0x61,0x6c,0x67])]:_0x2b7162([0x45,0x53,0x32,0x35,0x36])},_0x1d3752=_0x160f35[_0x2b7162([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b7162([0x67,0x65,0x74])](_0x2b7162([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x92b177(){let _0x5979cc,_0x576275=null,_0x38ebbd=null;try{if(_0x1d3752==_0x2b7162([0x47,0x50,0x4c]))return _0x2b7162([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5979cc=_0x389c61(),!_0x5979cc)return _0x2b7162([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5979cc[_0x2b7162([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38ebbd=_0x1598b0(_0x5979cc[_0x2b7162([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5979cc[_0x2b7162([0x6a,0x74,0x69])])),await _0x3f5d04()?_0x5884e2()?_0x489ebc()?_0x2b7162([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x108f2c()?(_0x5979cc[_0x2b7162([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b7162([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x576275=_0x22b8c4(_0x2b7162([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5979cc[_0x2b7162([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b7162([0x74,0x72,0x69,0x61,0x6c])&&(_0x576275=_0x22b8c4(_0x2b7162([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x188c7b()):_0x2b7162([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b7162([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b7162([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b7162([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x489ebc(){const _0x1e9053=[_0x2b7162([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b7162([0x74,0x72,0x69,0x61,0x6c])][_0x2b7162([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5979cc[_0x2b7162([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x385c26/0x3e8:0xe10*_0x45b3d5;return _0x5979cc[_0x2b7162([0x65,0x78,0x70])]<_0x1e9053;}function _0x5884e2(){const _0x484805=_0x5979cc[_0x2b7162([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x484805&&(!!_0x484805[_0x2b7162([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7162([0x2a]))||!!_0x484805[_0x2b7162([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7162([0x55,0x50,0x4c,0x43])));}function _0x108f2c(){const _0x2ee06a=_0x5979cc[_0x2b7162([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ee06a||0x0==_0x2ee06a[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x575c8e}=new URL(window[_0x2b7162([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ee06a[_0x2b7162([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575c8e))return!0x0;const _0x81ce36=_0x575c8e[_0x2b7162([0x73,0x70,0x6c,0x69,0x74])](_0x2b7162([0x2e]));return _0x2ee06a[_0x2b7162([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cb2a5=>_0x4cb2a5[_0x2b7162([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7162([0x2a])))[_0x2b7162([0x6d,0x61,0x70])](_0x874e11=>_0x874e11[_0x2b7162([0x73,0x70,0x6c,0x69,0x74])](_0x2b7162([0x2e])))[_0x2b7162([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47dd2a=>_0x47dd2a[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x81ce36[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b7162([0x6d,0x61,0x70])](_0x33036a=>Array(_0x81ce36[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33036a[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b7162([0x66,0x69,0x6c,0x6c])](_0x33036a[0x0]===_0x2b7162([0x2a])?_0x2b7162([0x2a]):'')[_0x2b7162([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33036a))[_0x2b7162([0x73,0x6f,0x6d,0x65])](_0x154091=>_0x81ce36[_0x2b7162([0x65,0x76,0x65,0x72,0x79])]((_0x2172ad,_0x3df1b6)=>_0x154091[_0x3df1b6]===_0x2172ad||_0x154091[_0x3df1b6]===_0x2b7162([0x2a])));}function _0x188c7b(){return _0x576275&&_0x38ebbd?new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x466cb8,_0x595478)=>{_0x576275[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x466cb8,_0x595478),_0x38ebbd[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x197ba2=>{_0x197ba2!=_0x2b7162([0x56,0x61,0x6c,0x69,0x64])&&_0x466cb8(_0x197ba2);},_0x595478);}):_0x576275||_0x38ebbd||_0x2b7162([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1598b0(_0xb897d5,_0x2c265d){return new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b39ad=>{if(_0x555e67())return _0x5b39ad(_0x2b7162([0x56,0x61,0x6c,0x69,0x64]));_0x2d5911(),_0x160f35[_0x2b7162([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b7162([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd32325=!0x1;const _0x44d9c4=_0x538856();function _0x10833c(_0x95966){return!!_0x95966&&(typeof _0x95966===_0x2b7162([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x95966===_0x2b7162([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x95966[_0x2b7162([0x74,0x68,0x65,0x6e])]===_0x2b7162([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x95966[_0x2b7162([0x63,0x61,0x74,0x63,0x68])]===_0x2b7162([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38b0ae(_0x57541c){_0x53a39d(_0x57541c)[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x569f23=>{if(!_0x569f23||_0x569f23[_0x2b7162([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b7162([0x6f,0x6b]))return _0x2b7162([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xabeb56(_0x14c5ef(_0x44d9c4+_0x2c265d))!=_0x569f23[_0x2b7162([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b7162([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b7162([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x10a022=>(_0x102de8(),_0x10a022),()=>{const _0x1df726=_0x293295();return null==_0x1df726?(_0x102de8(),_0x2b7162([0x56,0x61,0x6c,0x69,0x64])):_0x2b7162(_0x385c26-_0x1df726>(0x7753083a^_0x1232c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x5b39ad)[_0x2b7162([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b39ad(_0x2b7162([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc4b60f=0x536962ba^_0x1232c7;function _0x102de8(){const _0x4acc01=_0x2b7162([0x6c,0x6c,0x63,0x74,0x2d])+_0xabeb56(_0x14c5ef(_0xb897d5)),_0xde287f=_0x5aa131(_0xabeb56(window[_0x2b7162([0x4d,0x61,0x74,0x68])][_0x2b7162([0x63,0x65,0x69,0x6c])](_0x385c26/_0xc4b60f)));window[_0x2b7162([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b7162([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4acc01,_0xde287f);}function _0x293295(){const _0x5de2dc=_0x2b7162([0x6c,0x6c,0x63,0x74,0x2d])+_0xabeb56(_0x14c5ef(_0xb897d5)),_0x43f97c=window[_0x2b7162([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b7162([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5de2dc);return _0x43f97c?window[_0x2b7162([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5aa131(_0x43f97c),0x10)*_0xc4b60f:null;}function _0x53a39d(_0x1a7293){return new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9f68,_0x2d10ac)=>{_0x1a7293[_0x2b7162([0x74,0x68,0x65,0x6e])](_0x2d9f68,_0x2d10ac),window[_0x2b7162([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d10ac,0x535e58fa^_0x1232c7);});}}_0x160f35[_0x2b7162([0x6f,0x6e])](_0x2b7162([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16208b,_0x149862)=>{if(_0x149862[0x0]!=_0xb897d5)return _0x5b39ad(_0x2b7162([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x149862[0x1]={..._0x149862[0x1],[_0x2b7162([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44d9c4};},{[_0x2b7162([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b7162([0x68,0x69,0x67,0x68])}),_0x160f35[_0x2b7162([0x6f,0x6e])](_0x2b7162([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc05917=>{_0x10833c(_0xc05917[_0x2b7162([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd32325=!0x0,_0x38b0ae(_0xc05917[_0x2b7162([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b7162([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b7162([0x6c,0x6f,0x77])}),_0x32dd3e[_0x2b7162([0x74,0x68,0x65,0x6e])](()=>{_0xd32325||_0x5b39ad(_0x2b7162([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x555e67(){return _0x160f35[_0x2b7162([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b7162([0x76,0x69,0x65,0x77])][_0x2b7162([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b7162([0x61,0x75,0x74,0x6f]);}function _0x2d5911(){_0x160f35[_0x2b7162([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b7162([0x76,0x69,0x65,0x77])][_0x2b7162([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b7162([0x61,0x75,0x74,0x6f]);}}function _0x22b8c4(_0x7fd429){const _0xc732f2=[new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e35b3=>setTimeout(_0x5e35b3,0x5356b2f6^_0x1232c7)),_0x32dd3e[_0x2b7162([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11dc8a=>{let _0x1667e4=0x0;_0x160f35[_0x2b7162([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b7162([0x6f,0x6e])](_0x2b7162([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9990e7,_0x1738d9)=>{_0x1738d9[0x0][_0x2b7162([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1667e4++,_0x1667e4==(0x535f89d2^_0x1232c7)&&(_0x11dc8a(),_0x9990e7[_0x2b7162([0x6f,0x66,0x66])]());});}))];return window[_0x2b7162([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b7162([0x72,0x61,0x63,0x65])](_0xc732f2)[_0x2b7162([0x74,0x68,0x65,0x6e])](()=>_0x7fd429);}async function _0x1732a4(){await _0x32dd3e,_0x160f35[_0x2b7162([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b7162([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x154817,_0x160f35[_0x2b7162([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b7162([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x154817,_0x160f35[_0x2b7162([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b7162([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa4d44e(_0x22f8b4){const _0x475bc1=_0x2e23ae();_0x160f35[_0x475bc1]=_0x2b7162([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22f8b4,_0x22f8b4!=_0x2b7162([0x56,0x61,0x6c,0x69,0x64])&&_0x1732a4();}function _0x2e23ae(){const _0x4d74bf=window[_0x2b7162([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b7162([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b7162([0x6e,0x6f,0x77])]())[_0x2b7162([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b7162([0x2e]),'');let _0x1dba9e=_0x2b7162([0x68]);for(let _0x2233b9=0x0;_0x2233b9<_0x4d74bf[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2233b9+=0x2){let _0x252962=window[_0x2b7162([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d74bf[_0x2b7162([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2233b9,_0x2233b9+0x2));_0x252962>=_0xa9c322[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x252962-=_0xa9c322[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1dba9e+=_0xa9c322[_0x252962];}return _0x1dba9e;}function _0x389c61(){const _0xea629d=_0x1d3752[_0x2b7162([0x73,0x70,0x6c,0x69,0x74])](_0x2b7162([0x2e]));if(0x3!=_0xea629d[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43083b(_0xea629d[0x1]);function _0x43083b(_0x232b37){const _0x14f159=_0x1f963a(_0x232b37);return _0x14f159&&_0x45617c()?_0x14f159:null;function _0x45617c(){const _0x29bd1d=_0x14f159[_0x2b7162([0x6a,0x74,0x69])],_0x50c75d=window[_0x2b7162([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29bd1d[_0x2b7162([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29bd1d[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e41fe={..._0x14f159,[_0x2b7162([0x6a,0x74,0x69])]:_0x29bd1d[_0x2b7162([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29bd1d[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e41fe[_0x2b7162([0x76,0x63])],_0x14c5ef(_0x1e41fe)==_0x50c75d;}}}async function _0x3f5d04(){let _0x1dbb8a=!0x0;try{const _0xeba3ee=_0x1d3752[_0x2b7162([0x73,0x70,0x6c,0x69,0x74])](_0x2b7162([0x2e])),[_0x4d921c,_0x42e06f,_0x150ae2]=_0xeba3ee;return _0x50313d(_0x4d921c),await _0xc7d163(_0x4d921c,_0x42e06f,_0x150ae2),_0x1dbb8a;}catch{return!0x1;}function _0x50313d(_0x142adc){const _0x33ffb1=_0x1f963a(_0x142adc);_0x33ffb1&&_0x33ffb1[_0x2b7162([0x61,0x6c,0x67])]==_0x2b7162([0x45,0x53,0x32,0x35,0x36])||(_0x1dbb8a=!0x1);}async function _0xc7d163(_0xd648cd,_0x48a2ce,_0x560972){const _0x583593=window[_0x2b7162([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b7162([0x66,0x72,0x6f,0x6d])](_0x4bb40f(_0x560972),_0x3073c6=>_0x3073c6[_0x2b7162([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d59f7=new window[(_0x2b7162([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b7162([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd648cd+_0x2b7162([0x2e])+_0x48a2ce),_0x4d687d=window[_0x2b7162([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b7162([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d687d)return;const _0x51fa88=await _0x4d687d[_0x2b7162([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b7162([0x6a,0x77,0x6b]),_0x4f2b90,{[_0x2b7162([0x6e,0x61,0x6d,0x65])]:_0x2b7162([0x45,0x43,0x44,0x53,0x41]),[_0x2b7162([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b7162([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b7162([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d687d[_0x2b7162([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b7162([0x6e,0x61,0x6d,0x65])]:_0x2b7162([0x45,0x43,0x44,0x53,0x41]),[_0x2b7162([0x68,0x61,0x73,0x68])]:{[_0x2b7162([0x6e,0x61,0x6d,0x65])]:_0x2b7162([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51fa88,_0x583593,_0x4d59f7)||(_0x1dbb8a=!0x1);}}function _0x1f963a(_0x243795){return _0x243795[_0x2b7162([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b7162([0x65,0x79]))?JSON[_0x2b7162([0x70,0x61,0x72,0x73,0x65])](_0x4bb40f(_0x243795)):null;}function _0x4bb40f(_0x57e353){return window[_0x2b7162([0x61,0x74,0x6f,0x62])](_0x57e353[_0x2b7162([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b7162([0x2b]))[_0x2b7162([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b7162([0x2f])));}function _0x14c5ef(_0x53bacd){let _0x30a208=0x1505;function _0x1095fd(_0x493826){for(let _0x5c9e95=0x0;_0x5c9e95<_0x493826[_0x2b7162([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9e95++){const _0x2ca2a5=_0x493826[_0x2b7162([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c9e95);_0x30a208=(_0x30a208<<0x5)+_0x30a208+_0x2ca2a5,_0x30a208&=_0x30a208;}}function _0x1a567a(_0x7a8add){Array[_0x2b7162([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7a8add)?_0x7a8add[_0x2b7162([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a567a):_0x7a8add&&typeof _0x7a8add==_0x2b7162([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b7162([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7a8add)[_0x2b7162([0x73,0x6f,0x72,0x74])]()[_0x2b7162([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x294d81,_0x7d4294])=>{_0x1095fd(_0x294d81),_0x1a567a(_0x7d4294);}):_0x1095fd(window[_0x2b7162([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7a8add));}return _0x1a567a(_0x53bacd),_0x30a208>>>0x0;}function _0xabeb56(_0x4dfe46){return _0x4dfe46[_0x2b7162([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b7162([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b7162([0x30]));}function _0x5aa131(_0x2ff730){return _0x2ff730[_0x2b7162([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b7162([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b7162([0x6a,0x6f,0x69,0x6e])]('');}function _0x154817(){}function _0x2b7162(_0x2e334a){return _0x2e334a['map'](_0x449f3e=>String['fromCharCode'](_0x449f3e))['join']('');}_0xa4d44e(await _0x92b177());}(this);}['_initSchema'](){const _0x17c606=this['editor']['model']['schema'];_0x17c606['isRegistered']('imageBlock')&&_0x17c606['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x17c606['isRegistered']('imageInline')&&_0x17c606['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3c30fd=this['editor'];_0x3c30fd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3c30fd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x36e3c0=>_0x36e3c0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b475e=_0x3c30fd['commands']['get']('replaceImageSource');_0x4b475e&&this['listenTo'](_0x4b475e,'cleanupImage',(_0x4029d9,[_0x248a6d,_0x1da429])=>{_0x248a6d['removeAttribute']('uploadcareImageId',_0x1da429);});}['_initConfig'](){const _0xc61fb=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4fa4bb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x39ea77(_0x437982['document'],'uc-config',{..._0xc61fb,'pubkey':_0x4fa4bb,'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']=_0xbed9ca=>{if('closeMax'==_0xbed9ca)return'#uc-icon-arrow-down';},_0x437982['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x39ea77(_0x437982['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x437982['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x449118=this['editor']['commands']['get']('insertImage');_0x449118&&this['listenTo'](_0x449118,'execute',()=>{const _0x4b537a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b537a&&_0x4b537a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4b537a);});});const _0x8ba479=this['editor']['commands']['get']('uploadcareImageReplace');_0x8ba479&&this['listenTo'](_0x8ba479,'execute',()=>{const _0x2fa27c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2fa27c&&_0x2fa27c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2fa27c);});});}}class tt extends _0xca6ee3{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x11b396){super(_0x11b396),_0x11b396['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x6ff85b['defineComponents'](_0x6ff85b),this['_defineLocale']();}['_defineLocale'](){const _0x3a4ec7=this['editor']['config']['get']('uploadcare.locale'),_0x129cde=this['editor']['locale']['contentLanguage'];_0x3a4ec7&&_0x6ff85b['defineLocale'](_0x129cde,_0x3a4ec7);}}class ii extends _0x5858f0{constructor(_0x2b2c89){super(_0x2b2c89);const t=_0x2b2c89['t'],_0x276e7a=this['bindTemplate'],_0x1201ed=new _0x38c730();_0x1201ed['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':[_0x1201ed,{'text':_0x276e7a['to']('imageUploadProgress',_0x2d1728=>t('Loading\x20image...')+'\x20('+(_0x2d1728||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 _0x5858f0{constructor(_0x319625){super(_0x319625);const t=_0x319625['t'];this['set']('errorType',null);const _0x541f57=new _0x3221aa(_0x319625);_0x541f57['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x541f57['withText']=!0x0,_0x541f57['class']='ck-button-action',_0x541f57['on']('execute',()=>{this['fire']('retry');}),_0x541f57['bind']('isVisible')['to'](this,'errorType',_0x3d3c8b=>'NotFound'!==_0x3d3c8b);const _0x2d130e=new _0x419363();_0x2d130e['content']=_0xa0d92e,_0x2d130e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ba22c=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':[_0x2d130e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ba22c['to']('errorType',_0x202e45=>t('NotFound'!==_0x202e45?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x541f57]},{'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 _0x5858f0{constructor(_0x3f758d,_0x1f66dc){super(_0x3f758d);const _0x325c24=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1f66dc,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x325c24['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5e6c74,_0x493218,_0x5daea4){super(_0x5e6c74),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5e6c74),this['_errorView']=new ti(_0x5e6c74),this['_editingView']=new ei(_0x5e6c74,_0x5daea4),this['_focusableView']=new _0x5858f0(_0x5e6c74),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x493218),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'],_0x1c3d44=>{this['_addUploadcareImageEditorListeners'](_0x1c3d44);});}),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'](_0x581981,_0x3d9458){const _0x582511='uc-cloud-image-editor',_0x3efd95=_0x581981['querySelector'](_0x582511);if(_0x3efd95)return _0x3d9458(_0x3efd95);const _0x1731aa=new MutationObserver(_0x3f5462=>{const _0x2ad43f=_0x3f5462['filter'](_0xe09757=>_0xe09757['target']===_0x581981&&_0xe09757['addedNodes']['length']>0x0&&_0xe09757['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x582511);_0x2ad43f['length']&&(_0x1731aa['disconnect'](),_0x3d9458(_0x2ad43f[0x0]['addedNodes'][0x0]));});_0x1731aa['observe'](_0x581981,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5376ca){_0x5376ca['addEventListener']('apply',_0x47f488=>{this['fire']('apply',{'imageSrc':_0x47f488['detail']['cdnUrl']});}),_0x5376ca['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3ee91d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xe19d24,_0x543a57,_0x391192){super(),this['_editor']=_0xe19d24,this['_dialog']=_0x543a57,this['_imageElement']=_0x391192,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 _0x45aaa6=this['_imageElement'],_0x4514c4=_0x45aaa6['getAttribute']('uploadcareImageId'),_0x5ca999=_0x45aaa6['getAttribute']('src');if(_0x4514c4)await this['_loadImageInfo'](_0x4514c4,_0x5ca999);else{if(this['_imageCache']['has'](_0x5ca999)){const _0x10dbda=this['_imageCache']['get'](_0x5ca999);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10dbda['url'],this['imageDimension']=_0x10dbda['dimension'],this['imageId']=_0x10dbda['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x431d45}=this['_editor'],t=_0x431d45['t'],_0x1cc928=new X(_0x431d45,this['imageStatus'],this['_attributes']);_0x1cc928['bind']('status')['to'](this,'imageStatus'),_0x1cc928['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1cc928['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1cc928['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1cc928,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3d5915,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1cc928,'position':_0x2146d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1cc928['focus']();},'onHide':()=>{_0x1cc928['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x43828f=>!A(_0x43828f,_0x1cc928['element'])}});}['_loadImageInfo'](_0x4b9f9d,_0x547a3c){return j['getInfo'](_0x4b9f9d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x179dba=>{const {width:_0x53331d,height:_0x1eeed5}=_0x179dba['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x547a3c,this['imageDimension']={'width':_0x53331d,'height':_0x1eeed5},this['imageId']=_0x4b9f9d;})['catch'](_0x43ec67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x43ec67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1dbcdb,_0x507b81){return this['_getImageAsFile'](_0x1dbcdb)['then'](_0x1ae4c2=>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':_0x507b81['signal'],'file':_0x1ae4c2,'onProgress':_0x298011=>{_0x298011&&_0x298011['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x298011['value']));}}))['then'](_0x400967=>{const {width:_0x319d27,height:_0x73280d}=_0x400967['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x400967['cdnUrl'],this['imageDimension']={'width':_0x319d27,'height':_0x73280d},this['imageId']=_0x400967['uuid'],this['imageUploadProgress']=null;const _0x54190c=_0x1dbcdb['getAttribute']('src');this['_imageCache']['set'](_0x54190c,{'id':_0x400967['uuid'],'url':_0x400967['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x33997f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33997f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x20c2b2,_0x224c28){_0x20c2b2['on']('apply',(_0x118f91,_0x3cd654)=>{this['_replaceImage'](_0x224c28,_0x3cd654['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x20c2b2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x20c2b2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1d1315,_0x4698ee,_0x3c6998){const _0x3f0819=this['_editor'],{width:_0x235b99,height:_0x180d40}=S(_0x4698ee,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x18a346,imageSources:_0x3db382}=C(_0x4698ee,_0x235b99);_0x3f0819['model']['change'](_0x1e8d86=>{if('$graveyard'===_0x1d1315['root']['rootName']){_0x3f0819['execute']('insertImage',{'imageType':_0x1d1315['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1d1315['getAttributes']()),'uploadcareImageId':_0x3c6998,'src':_0x18a346,'sources':_0x3db382,'width':_0x235b99,'height':_0x180d40}});const _0x2271ef=_0x1d1315['getChildren']();_0x1d1315=_0x3f0819['model']['document']['selection']['getSelectedElement']();for(const _0x2ad9f6 of _0x2271ef)_0x1e8d86['append'](_0x1e8d86['cloneElement'](_0x2ad9f6),_0x1d1315);}else _0x1e8d86['setSelection'](_0x1d1315,'on'),_0x3f0819['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1d1315['getAttributes']()),'uploadcareImageId':_0x3c6998,'src':_0x18a346,'sources':_0x3db382,'width':_0x235b99,'height':_0x180d40},_0x1d1315);_0x1e8d86['setSelection'](_0x1d1315,'on');});}async['_getImageAsFile'](_0x285173){const _0x378fe6=_0x437982['window'],_0x3c6b2e=_0x437982['document']['location']['href'],_0xfd0764=new _0x378fe6['URL'](_0x285173['getAttribute']('src'),_0x3c6b2e);if('data:'===_0xfd0764['protocol']){const _0xc2073e=_0xfd0764['href']['split'](','),_0x38c8f7=_0xc2073e[0x0]['match'](/:(.*?);/)[0x1],_0x19fef8=_0x38c8f7['split']('/')[0x1],_0x51eede=_0x378fe6['atob'](_0xc2073e[_0xc2073e['length']-0x1]);let _0x499a11=_0x51eede['length'];const _0x11a7a9=new _0x378fe6['Uint8Array'](_0x499a11);for(;_0x499a11--;)_0x11a7a9[_0x499a11]=_0x51eede['charCodeAt'](_0x499a11);return new _0x378fe6['File']([_0x11a7a9],'image.'+_0x19fef8,{'type':_0x38c8f7});}const _0x1a3ae7=_0xfd0764['href']['split']('/'),_0x1b0ccd=_0x1a3ae7[_0x1a3ae7['length']-0x1],_0x13ba88=_0x1b0ccd['split']('.')[0x1];return _0x378fe6['fetch'](_0xfd0764['href'])['then'](_0x4717db=>_0x4717db['clone']()['blob']())['then'](_0xb9a597=>new _0x378fe6['File']([_0xb9a597],_0x1b0ccd,{'type':'image/'+_0x13ba88}));}}class O extends _0x3408de{['imageEditController'];static get['requires'](){return[_0x226fc6];}['_isEditable'];constructor(_0x4e6c53){super(_0x4e6c53),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5cf129){const _0x26ea4d=G(_0x5cf129);return _0x5b9fb3=>!(!_0x5b9fb3||!_0x5b9fb3['is']('element','imageBlock')&&!_0x5b9fb3['is']('element','imageInline'))&&(!!_0x5b9fb3['hasAttribute']('uploadcareImageId')||!!_0x5b9fb3['hasAttribute']('src')&&_0x26ea4d(_0x5b9fb3['getAttribute']('src')));}(_0x4e6c53['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x130a5c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x130a5c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2234d7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2234d7&&(_0x2234d7['is']('element','imageBlock')||_0x2234d7['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x226fc6),_0x2234d7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3408de{['refresh'](){const _0x127b89=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x127b89&&(_0x127b89['is']('element','imageBlock')||_0x127b89['is']('element','imageInline')));}['execute'](_0x3a407f){const _0x3d08e9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2c67e7=>{_0x2c67e7['setAttributes'](_0x3a407f,_0x3d08e9),_0x2c67e7['removeAttribute']('srcset',_0x3d08e9),_0x2c67e7['removeAttribute']('sizes',_0x3d08e9);});}}class m extends _0xca6ee3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x578432,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13f71d}=this;_0x13f71d['commands']['add']('uploadcareImageEdit',new O(_0x13f71d)),_0x13f71d['commands']['add']('uploadcareImageReplace',new R(_0x13f71d));}}class g extends _0xca6ee3{['_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 _0x1e0bd1=this['editor'];_0x1e0bd1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5cba94=>{const _0x2e63a8=_0x1e0bd1['commands']['get']('uploadcareImageEdit'),_0x188114=new _0x3221aa(_0x5cba94),t=_0x5cba94['t'];return _0x188114['set']({'icon':_0x3d5915,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x188114['bind']('isEnabled')['to'](_0x2e63a8),_0x188114['bind']('isOn')['to'](_0x2e63a8,'isActive'),this['listenTo'](_0x188114,'execute',()=>{_0x1e0bd1['execute']('uploadcareImageEdit'),_0x1e0bd1['editing']['view']['focus']();}),_0x188114;}),this['_initConfig']();}['_initConfig'](){const _0x366c8f=_0x39ea77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x366c8f),this['listenTo'](this['editor'],'destroy',()=>{_0x366c8f['remove']();});}}class et extends _0xca6ee3{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 _0xc2dc7f,Command as _0x45bf27}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1bf749,IconGooglePhotos as _0x3ecce3,IconGoogleDrive as _0x3f5259,IconFacebook as _0x222667,IconDropbox as _0x5f2afc,IconUploadcareLink as _0x191ad,IconUploadcareImageUpload as _0x3a6b38,IconError as _0x3055a7,IconUploadcareImageEdit as _0x7236a8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4b2664,MenuBarMenuListItemButtonView as _0x391927,View as _0x498476,FocusCycler as _0x319ba6,Dialog as _0x5da73d,DialogViewPosition as _0x28c680,SpinnerView as _0x41c520,IconView as _0x3df59c,Notification as _0x42c6a8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2a26a4,DomEmitterMixin as _0x20dea6,global as _0x188887,getAncestors as _0x1753fc,ObservableMixin as _0x1c5c61,uid as _0x4de7bb,createElement as _0x388601}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1ffed3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x435859,info as _0x863b3}from'@uploadcare/upload-client';import*as _0x3ed05c from'@uploadcare/file-uploader';var i=function(_0x3234f6){return _0x3234f6['Local']='local',_0x3234f6['URL']='url',_0x3234f6['Dropbox']='dropbox',_0x3234f6['GDrive']='gdrive',_0x3234f6['Facebook']='facebook',_0x3234f6['GPhotos']='gphotos',_0x3234f6['OneDrive']='onedrive',_0x3234f6;}({});function _(_0x298ee3,_0x586869,_0x16e43d){const t=_0x298ee3['t'],_0x40406d=_0x298ee3['t'];switch(_0x586869){case i['Local']:return{'text':_0x40406d('Insert'===_0x16e43d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x40406d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x16e43d?_0x40406d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x40406d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x16e43d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x16e43d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x16e43d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x16e43d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x16e43d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x586869;}}class e extends _0xc2dc7f{['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 _0xa7d97f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3cc5c4;for(const _0x4401b2 in _0xa7d97f){const _0x3be46c=_0x4401b2,_0xbfa2cd=_0xa7d97f[_0x3be46c];if('uploadcareLicenseKeyValid'==_0xbfa2cd||'uploadcareLicenseKeyInvalid'==_0xbfa2cd||'uploadcareLicenseKeyExpired'==_0xbfa2cd||'uploadcareLicenseKeyDomainLimit'==_0xbfa2cd||'uploadcareLicenseKeyNotAllowed'==_0xbfa2cd||'uploadcareLicenseKeyEvaluationLimit'==_0xbfa2cd||'uploadcareLicenseKeyTrialLimit'==_0xbfa2cd||'uploadcareLicenseKeyUsageLimit'==_0xbfa2cd){delete _0xa7d97f[_0x3be46c],_0x3cc5c4=_0xbfa2cd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3cc5c4&&_0xa7d97f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3cb07d}=this,_0x3807bd=_0x3cb07d['commands']['get']('uploadcare');if(!_0x3807bd)return;const _0xe64e38=this['_normalizeConfigSourceList'](_0x3cb07d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x507c21,_0x3112b5)=>{const _0x4b08fd=this['_getIntegrationKey'](_0x3112b5['type']);return _0x507c21[_0x4b08fd]||(_0x507c21[_0x4b08fd]=[]),_0x507c21[_0x4b08fd]['push'](_0x3112b5),_0x507c21;},{});_0x3cb07d['plugins']['has']('ImageInsertUI')&&_0x3cb07d['commands']['get']('uploadcare')&&Object['entries'](_0xe64e38)['forEach'](([_0x4e3310,_0x124914])=>{_0x3cb07d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4e3310,'observable':()=>_0x3807bd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x124914),'formViewCreator':()=>this['_createDropdownButtons'](_0x124914),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x124914),'override':'assetManager'!==_0x4e3310});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1a59b3){const {locale:_0x35896a}=this['editor'];return _0x1a59b3['map'](_0x47d9ed=>{const _0x20086c=_(_0x35896a,_0x47d9ed,'Insert');switch(_0x47d9ed){case i['Local']:return{'icon':_0x3a6b38,'type':i['Local'],..._0x20086c};case i['URL']:return{'icon':_0x191ad,'type':i['URL'],..._0x20086c};case i['Dropbox']:return{'icon':_0x5f2afc,'type':i['Dropbox'],..._0x20086c};case i['Facebook']:return{'icon':_0x222667,'type':i['Facebook'],..._0x20086c};case i['GDrive']:return{'icon':_0x3f5259,'type':i['GDrive'],..._0x20086c};case i['GPhotos']:return{'icon':_0x3ecce3,'type':i['GPhotos'],..._0x20086c};case i['OneDrive']:return{'icon':_0x1bf749,'type':i['OneDrive'],..._0x20086c};}});}['_getIntegrationKey'](_0x5261fa){switch(_0x5261fa){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x47c725,_0x85d338){const _0x3c3612=this['editor'],_0x55ea34=new _0x47c725(_0x3c3612['locale']),_0x597341=_0x3c3612['commands']['get']('uploadcare');return _0x55ea34['bind']('isEnabled')['to'](_0x597341),_0x55ea34['on']('execute',()=>{_0x597341['execute'](_0x85d338);}),_0x55ea34;}['_createToolbarButton'](_0x557383){const {locale:_0x125fb9}=this['editor'],_0x408a50=this['editor']['plugins']['get']('ImageInsertUI'),_0x1315e6=_0x557383[0x0],_0x1a4b4c=this['_createButton'](_0x4b2664,_0x1315e6['type']);return _0x1a4b4c['icon']=_0x1315e6['icon'],_0x1a4b4c['bind']('label')['to'](_0x408a50,'isImageSelected',_0x328290=>_(_0x125fb9,_0x1315e6['type'],_0x328290?'Replace':'Insert')['text']),_0x1a4b4c['tooltip']=!0x0,_0x1a4b4c;}['_createDropdownButtons'](_0x2a94f9){const {locale:_0xd82f0f}=this['editor'],_0x5a9e0f=this['editor']['plugins']['get']('ImageInsertUI');return _0x2a94f9['map'](_0x8685f8=>{const _0x1c7ec5=this['_createButton'](_0x4b2664,_0x8685f8['type']);return _0x1c7ec5['withText']=!0x0,_0x1c7ec5['icon']=_0x8685f8['icon'],_0x1c7ec5['bind']('label')['to'](_0x5a9e0f,'isImageSelected',_0x8d12be=>_(_0xd82f0f,_0x8685f8['type'],_0x8d12be?'Replace':'Insert')['text']),_0x1c7ec5;});}['_createMenuBarButtons'](_0x2bb6ad){return _0x2bb6ad['map'](_0x454998=>{const _0x153880=this['_createButton'](_0x391927,_0x454998['type']);return _0x153880['icon']=_0x454998['icon'],_0x153880['label']=_0x454998['shortText'],_0x153880;});}}class V extends _0x498476{['focusTracker'];['focusCycler'];constructor(_0x736ba1){super(_0x736ba1),this['focusTracker']=new _0x2a26a4(),this['focusCycler']=new _0x319ba6({'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 S extends V{constructor(_0x44e44d,_0x52128b){super(_0x44e44d),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-'+_0x52128b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3bfbfb,_0x53bd03){const _0x453694=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2da7b2=>_0x2da7b2<=_0x53bd03)['map'](_0x4abec2=>_0x3bfbfb['replace'](/\/$/,'')+'/-/resize/'+_0x4abec2+'x/\x20'+_0x4abec2+'w');return{'imageFallbackUrl':_0x3bfbfb,'imageSources':[{'srcset':_0x453694['join'](',\x20'),'sizes':'(max-width:\x20'+_0x53bd03+'px)\x20100vw,\x20'+_0x53bd03+'px','type':'image/webp'}]};}function F(_0x1a1165,_0x427e07,_0x55f386){const _0x32b298=_0x1a1165['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x32b298?parseInt(_0x32b298[0x1],0xa):_0x427e07,'height':_0x32b298?parseInt(_0x32b298[0x2],0xa):_0x55f386};}function p(_0x1ed219,_0x411846){const _0x2697a0=new(_0x20dea6())(),_0x39bb1e=_0x1ed219['plugins']['get']('ImageUtils'),_0x372e6a=_0x1ed219['editing']['mapper']['toViewElement'](_0x411846),_0x313741=_0x39bb1e['findViewImgElement'](_0x372e6a),_0x415613=_0x1ed219['editing']['view']['domConverter']['viewToDom'](_0x313741),_0x1b7f23=_0x411846['getAttribute']('width'),_0x2e08a4=_0x411846['getAttribute']('height'),_0x45e428='image-processing';_0x1ed219['editing']['view']['change'](_0x300332=>{_0x300332['addClass'](_0x45e428,_0x372e6a),_0x300332['setStyle']('aspect-ratio',_0x1b7f23+'/'+_0x2e08a4,_0x313741);}),_0x2697a0['listenTo'](_0x415613,'load',()=>{_0x2697a0['stopListening'](_0x415613,'load'),_0x1ed219['editing']['view']['change'](_0x52413a=>{_0x52413a['removeClass'](_0x45e428,_0x372e6a),_0x52413a['removeStyle']('aspect-ratio',_0x313741);});});}function R(_0x1d67e2){if(Array['isArray'](_0x1d67e2)){const _0x19165e=_0x1d67e2['map'](R);return _0x5e5172=>_0x19165e['some'](_0x1decc9=>_0x1decc9(_0x5e5172));}if('origin'==_0x1d67e2){const _0x555022=_0x188887['window']['location']['origin'];return _0x275be8=>new URL(_0x275be8,_0x188887['document']['baseURI'])['origin']==_0x555022;}return'function'==typeof _0x1d67e2?_0x1d67e2:_0x1d67e2 instanceof RegExp?_0x5ef30d=>!(!_0x5ef30d['match'](_0x1d67e2)&&!_0x5ef30d['replace'](/^https?:\/\//,'')['match'](_0x1d67e2)):()=>!0x1;}function M(_0x4a538f,_0x4617ce){return _0x1753fc(_0x4a538f['target'])['includes'](_0x4617ce);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1c5c61(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x34f918,_0x4e2f01,_0x2c6a5d){super(),this['_editor']=_0x34f918,this['_editing']=_0x4e2f01,this['_dialog']=_0x34f918['plugins']['get'](_0x5da73d),this['_api']=_0x4e2f01['ctxElement']['getAPI'](),this['_type']=_0x2c6a5d,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:_0x5f4c8e,model:_0x471d7b}=this['_editor'],_0x1e2eb0=_0x471d7b['document']['selection']['getSelectedElement'](),_0x2143da=_0x1e2eb0&&(_0x1e2eb0['is']('element','imageBlock')||_0x1e2eb0['is']('element','imageInline'));this['_formView']=new S(_0x5f4c8e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3a6b38,'title':_(_0x5f4c8e,this['_type'],_0x2143da?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x28c680['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1bd61f=>!M(_0x1bd61f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x179653}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x27ffbc=>{const _0x160307=_0x179653['length'];for(const _0xe9617e of _0x179653){const _0x5e4e9e=_0xe9617e===_0x179653[_0x160307-0x1],{cdnUrl:_0x1c5753,fileInfo:_0x10ce60}=_0xe9617e;if(!_0x1c5753||!_0x10ce60)continue;const {width:_0x43263a,height:_0x3302d9}=_0x10ce60['imageInfo'],_0x39c389=F(_0x1c5753,_0x43263a,_0x3302d9),_0x5733b4=C(_0x1c5753,_0x39c389['width']),_0x396f6c={'id':_0x10ce60['uuid'],'type':'image','attributes':{'imageDimension':_0x39c389,..._0x5733b4}};this['_insertAsset'](_0x396f6c,_0x5e4e9e,_0x27ffbc);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2bc241=>{'idle'===_0x2bc241['detail']['status']&&!_0x2bc241['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x50ed14,_0x1efac2,_0x43de25){const _0x12b7f7=this['_editor']['model']['document']['selection'],_0x17cd50=_0x12b7f7['getSelectedElement'](),_0x58b7dd=!(!_0x17cd50||!_0x17cd50['is']('element','imageInline'));_0x43de25['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x50ed14,_0x58b7dd),_0x1efac2||_0x43de25['setSelection'](_0x12b7f7['getLastPosition']());}['_insertImage'](_0x2f4b08,_0x347063){const _0xf84fd4=this['_editor'],{imageDimension:_0x58a5c6,imageFallbackUrl:_0x29e1a9,imageSources:_0x48c3ae}=_0x2f4b08['attributes'];_0xf84fd4['execute']('insertImage',{'imageType':_0x347063?'imageInline':null,'source':{'uploadcareImageId':_0x2f4b08['id'],'src':_0x29e1a9,'sources':_0x48c3ae,..._0x58a5c6}});}}class w extends _0x45bf27{['_editing'];['_controller']=null;static get['requires'](){return[_0x5da73d,o];}constructor(_0x5dd16f){super(_0x5dd16f),this['_editing']=_0x5dd16f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x947ce){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x947ce);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3f1629,..._0x50c004}){return _0x435859(_0x3f1629,_0x50c004);}static['getInfo'](_0x108ea0,_0x256e4c){return _0x863b3(_0x108ea0,_0x256e4c);}}class f extends _0xc2dc7f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ffed3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xaf23ab=this['editor'];if(!!!_0xaf23ab['config']['get']('uploadcare'))return;_0xaf23ab['plugins']['get'](_0x1ffed3)['createUploadAdapter']=_0x1ef018=>new k(_0x1ef018,_0xaf23ab),_0xaf23ab['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3eeb98,{imageElement:_0x42f9ea,data:_0x573765})=>{_0xaf23ab['model']['change'](_0x293bed=>{_0x293bed['setAttribute']('uploadcareImageId',_0x573765['uploadcareImageId'],_0x42f9ea);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2dcc5f,_0x3ad3d7){this['loader']=_0x2dcc5f,this['editor']=_0x3ad3d7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x6f6c42=await this['loader']['file'];return j['upload']({'file':_0x6f6c42,'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':_0x1e15c3=>{_0x1e15c3&&_0x1e15c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e15c3['value']);}})['then'](async _0x53554c=>{const {imageFallbackUrl:_0x3f610c,imageSources:_0x4ae4cc}=C(_0x53554c['cdnUrl'],_0x53554c['imageInfo']['width']);return{'uploadcareImageId':_0x53554c['uuid'],'default':_0x3f610c,'sources':_0x4ae4cc};})['catch'](()=>{const _0x3c852e=t('Cannot\x20upload\x20file:')+('\x20'+_0x6f6c42['name']+'.');return Promise['reject'](_0x3c852e);});}['abort'](){this['controller']['abort']();}}class o extends _0xc2dc7f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5da73d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xea8ab7){super(_0xea8ab7),this['ucContextId']=_0x4de7bb();}['init'](){const _0x56a72f=this['editor'];_0x56a72f['commands']['add']('uploadcare',new w(_0x56a72f));}['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 _0x52b167=_0x188887['document']['querySelector']('input[uploadcare-file-input]');_0x52b167&&_0x52b167['remove']();}),async function(_0x194831){const _0x5844cd=_0x5913d5([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]),_0xab6c38=0x535f8c3a,_0x2701c6=0x5358f172^_0xab6c38,_0x282909=window[_0x5913d5([0x44,0x61,0x74,0x65])][_0x5913d5([0x6e,0x6f,0x77])](),_0xc45999=_0x194831[_0x5913d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xee9714=new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e92e=>{_0xc45999[_0x5913d5([0x6f,0x6e,0x63,0x65])](_0x5913d5([0x72,0x65,0x61,0x64,0x79]),_0x41e92e);}),_0x243db6={[_0x5913d5([0x6b,0x74,0x79])]:_0x5913d5([0x45,0x43]),[_0x5913d5([0x75,0x73,0x65])]:_0x5913d5([0x73,0x69,0x67]),[_0x5913d5([0x63,0x72,0x76])]:_0x5913d5([0x50,0x2d,0x32,0x35,0x36]),[_0x5913d5([0x78])]:_0x5913d5([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]),[_0x5913d5([0x79])]:_0x5913d5([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]),[_0x5913d5([0x61,0x6c,0x67])]:_0x5913d5([0x45,0x53,0x32,0x35,0x36])},_0x429428=_0xc45999[_0x5913d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5913d5([0x67,0x65,0x74])](_0x5913d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ca833(){let _0x1cb860,_0x1303a5=null,_0x7705f8=null;try{if(_0x429428==_0x5913d5([0x47,0x50,0x4c]))return _0x5913d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cb860=_0x174934(),!_0x1cb860)return _0x5913d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cb860[_0x5913d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7705f8=_0x275d8d(_0x1cb860[_0x5913d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cb860[_0x5913d5([0x6a,0x74,0x69])])),await _0x3e61ed()?_0x2050bc()?_0x41827c()?_0x5913d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58983e()?(_0x1cb860[_0x5913d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5913d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1303a5=_0x4fc979(_0x5913d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1cb860[_0x5913d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5913d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x1303a5=_0x4fc979(_0x5913d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17c3b7()):_0x5913d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5913d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5913d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5913d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41827c(){const _0x35316e=[_0x5913d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5913d5([0x74,0x72,0x69,0x61,0x6c])][_0x5913d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb860[_0x5913d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x282909/0x3e8:0xe10*_0x2701c6;return _0x1cb860[_0x5913d5([0x65,0x78,0x70])]<_0x35316e;}function _0x2050bc(){const _0x109aba=_0x1cb860[_0x5913d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x109aba&&(!!_0x109aba[_0x5913d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5913d5([0x2a]))||!!_0x109aba[_0x5913d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5913d5([0x55,0x50,0x4c,0x43])));}function _0x58983e(){const _0x311b56=_0x1cb860[_0x5913d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x311b56||0x0==_0x311b56[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28f55b}=new URL(window[_0x5913d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x311b56[_0x5913d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f55b))return!0x0;const _0x3b2383=_0x28f55b[_0x5913d5([0x73,0x70,0x6c,0x69,0x74])](_0x5913d5([0x2e]));return _0x311b56[_0x5913d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e908d=>_0x2e908d[_0x5913d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5913d5([0x2a])))[_0x5913d5([0x6d,0x61,0x70])](_0x10c88f=>_0x10c88f[_0x5913d5([0x73,0x70,0x6c,0x69,0x74])](_0x5913d5([0x2e])))[_0x5913d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3437d8=>_0x3437d8[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b2383[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5913d5([0x6d,0x61,0x70])](_0x58a5ea=>Array(_0x3b2383[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58a5ea[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5913d5([0x66,0x69,0x6c,0x6c])](_0x58a5ea[0x0]===_0x5913d5([0x2a])?_0x5913d5([0x2a]):'')[_0x5913d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58a5ea))[_0x5913d5([0x73,0x6f,0x6d,0x65])](_0x43a428=>_0x3b2383[_0x5913d5([0x65,0x76,0x65,0x72,0x79])]((_0x380e05,_0xeda0e0)=>_0x43a428[_0xeda0e0]===_0x380e05||_0x43a428[_0xeda0e0]===_0x5913d5([0x2a])));}function _0x17c3b7(){return _0x1303a5&&_0x7705f8?new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e9f14,_0x5dcd1d)=>{_0x1303a5[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x5e9f14,_0x5dcd1d),_0x7705f8[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x4aff0e=>{_0x4aff0e!=_0x5913d5([0x56,0x61,0x6c,0x69,0x64])&&_0x5e9f14(_0x4aff0e);},_0x5dcd1d);}):_0x1303a5||_0x7705f8||_0x5913d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x275d8d(_0x151eac,_0x593088){return new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4ee8=>{if(_0x2d24e3())return _0x3a4ee8(_0x5913d5([0x56,0x61,0x6c,0x69,0x64]));_0x28525d(),_0xc45999[_0x5913d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5913d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33f9f1=!0x1;const _0x5bfc02=_0x4de7bb();function _0x381bb7(_0x23c7fd){return!!_0x23c7fd&&(typeof _0x23c7fd===_0x5913d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23c7fd===_0x5913d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23c7fd[_0x5913d5([0x74,0x68,0x65,0x6e])]===_0x5913d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23c7fd[_0x5913d5([0x63,0x61,0x74,0x63,0x68])]===_0x5913d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50e217(_0x1e8399){_0x45ea16(_0x1e8399)[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x3b29ce=>{if(!_0x3b29ce||_0x3b29ce[_0x5913d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5913d5([0x6f,0x6b]))return _0x5913d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eb24d(_0xea86d2(_0x5bfc02+_0x593088))!=_0x3b29ce[_0x5913d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5913d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5913d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x495eeb=>(_0x5786b4(),_0x495eeb),()=>{const _0x26090c=_0x574868();return null==_0x26090c?(_0x5786b4(),_0x5913d5([0x56,0x61,0x6c,0x69,0x64])):_0x5913d5(_0x282909-_0x26090c>(0x7753083a^_0xab6c38)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x3a4ee8)[_0x5913d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a4ee8(_0x5913d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4aad40=0x536962ba^_0xab6c38;function _0x5786b4(){const _0x417684=_0x5913d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb24d(_0xea86d2(_0x151eac)),_0x4fd525=_0x54bfea(_0x2eb24d(window[_0x5913d5([0x4d,0x61,0x74,0x68])][_0x5913d5([0x63,0x65,0x69,0x6c])](_0x282909/_0x4aad40)));window[_0x5913d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5913d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x417684,_0x4fd525);}function _0x574868(){const _0x64e1f5=_0x5913d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eb24d(_0xea86d2(_0x151eac)),_0x30fd68=window[_0x5913d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5913d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x64e1f5);return _0x30fd68?window[_0x5913d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54bfea(_0x30fd68),0x10)*_0x4aad40:null;}function _0x45ea16(_0x59d071){return new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32f46b,_0x12474a)=>{_0x59d071[_0x5913d5([0x74,0x68,0x65,0x6e])](_0x32f46b,_0x12474a),window[_0x5913d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12474a,0x535e58fa^_0xab6c38);});}}_0xc45999[_0x5913d5([0x6f,0x6e])](_0x5913d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2327db,_0x13e229)=>{if(_0x13e229[0x0]!=_0x151eac)return _0x3a4ee8(_0x5913d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13e229[0x1]={..._0x13e229[0x1],[_0x5913d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bfc02};},{[_0x5913d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5913d5([0x68,0x69,0x67,0x68])}),_0xc45999[_0x5913d5([0x6f,0x6e])](_0x5913d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2164b0=>{_0x381bb7(_0x2164b0[_0x5913d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33f9f1=!0x0,_0x50e217(_0x2164b0[_0x5913d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5913d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5913d5([0x6c,0x6f,0x77])}),_0xee9714[_0x5913d5([0x74,0x68,0x65,0x6e])](()=>{_0x33f9f1||_0x3a4ee8(_0x5913d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d24e3(){return _0xc45999[_0x5913d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5913d5([0x76,0x69,0x65,0x77])][_0x5913d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5913d5([0x61,0x75,0x74,0x6f]);}function _0x28525d(){_0xc45999[_0x5913d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5913d5([0x76,0x69,0x65,0x77])][_0x5913d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5913d5([0x61,0x75,0x74,0x6f]);}}function _0x4fc979(_0x4dcb26){const _0x206791=[new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x215c40=>setTimeout(_0x215c40,0x5356b2f6^_0xab6c38)),_0xee9714[_0x5913d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c9c54=>{let _0x1f2edc=0x0;_0xc45999[_0x5913d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5913d5([0x6f,0x6e])](_0x5913d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ed254,_0x5dbb8e)=>{_0x5dbb8e[0x0][_0x5913d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f2edc++,_0x1f2edc==(0x535f89d2^_0xab6c38)&&(_0x6c9c54(),_0x2ed254[_0x5913d5([0x6f,0x66,0x66])]());});}))];return window[_0x5913d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5913d5([0x72,0x61,0x63,0x65])](_0x206791)[_0x5913d5([0x74,0x68,0x65,0x6e])](()=>_0x4dcb26);}async function _0x3955c6(){await _0xee9714,_0xc45999[_0x5913d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5913d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428ced,_0xc45999[_0x5913d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5913d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428ced,_0xc45999[_0x5913d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5913d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb547f5(_0x578090){const _0x317b1f=_0x13e220();_0xc45999[_0x317b1f]=_0x5913d5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x578090,_0x578090!=_0x5913d5([0x56,0x61,0x6c,0x69,0x64])&&_0x3955c6();}function _0x13e220(){const _0x24b4a0=window[_0x5913d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5913d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5913d5([0x6e,0x6f,0x77])]())[_0x5913d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5913d5([0x2e]),'');let _0x87d819=_0x5913d5([0x68]);for(let _0x503e8d=0x0;_0x503e8d<_0x24b4a0[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x503e8d+=0x2){let _0x3db6a4=window[_0x5913d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24b4a0[_0x5913d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x503e8d,_0x503e8d+0x2));_0x3db6a4>=_0x5844cd[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3db6a4-=_0x5844cd[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x87d819+=_0x5844cd[_0x3db6a4];}return _0x87d819;}function _0x174934(){const _0x30dacc=_0x429428[_0x5913d5([0x73,0x70,0x6c,0x69,0x74])](_0x5913d5([0x2e]));if(0x3!=_0x30dacc[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ab3ad(_0x30dacc[0x1]);function _0x2ab3ad(_0x4261ba){const _0x2fe35a=_0x33d7b5(_0x4261ba);return _0x2fe35a&&_0x2f369b()?_0x2fe35a:null;function _0x2f369b(){const _0x2bf89a=_0x2fe35a[_0x5913d5([0x6a,0x74,0x69])],_0x524b71=window[_0x5913d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf89a[_0x5913d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bf89a[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3de99e={..._0x2fe35a,[_0x5913d5([0x6a,0x74,0x69])]:_0x2bf89a[_0x5913d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bf89a[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3de99e[_0x5913d5([0x76,0x63])],_0xea86d2(_0x3de99e)==_0x524b71;}}}async function _0x3e61ed(){let _0xf2281b=!0x0;try{const _0x2426b9=_0x429428[_0x5913d5([0x73,0x70,0x6c,0x69,0x74])](_0x5913d5([0x2e])),[_0x264f2b,_0x1782fa,_0x2a9e76]=_0x2426b9;return _0x3c2c9d(_0x264f2b),await _0x5ba04d(_0x264f2b,_0x1782fa,_0x2a9e76),_0xf2281b;}catch{return!0x1;}function _0x3c2c9d(_0x410cba){const _0xb99cbe=_0x33d7b5(_0x410cba);_0xb99cbe&&_0xb99cbe[_0x5913d5([0x61,0x6c,0x67])]==_0x5913d5([0x45,0x53,0x32,0x35,0x36])||(_0xf2281b=!0x1);}async function _0x5ba04d(_0x5a61fd,_0x2be84d,_0x54d969){const _0x4bb3ff=window[_0x5913d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5913d5([0x66,0x72,0x6f,0x6d])](_0x2d5409(_0x54d969),_0x1689e5=>_0x1689e5[_0x5913d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a0f2f=new window[(_0x5913d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5913d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a61fd+_0x5913d5([0x2e])+_0x2be84d),_0x360acf=window[_0x5913d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5913d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x360acf)return;const _0x57c18c=await _0x360acf[_0x5913d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5913d5([0x6a,0x77,0x6b]),_0x243db6,{[_0x5913d5([0x6e,0x61,0x6d,0x65])]:_0x5913d5([0x45,0x43,0x44,0x53,0x41]),[_0x5913d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5913d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5913d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x360acf[_0x5913d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5913d5([0x6e,0x61,0x6d,0x65])]:_0x5913d5([0x45,0x43,0x44,0x53,0x41]),[_0x5913d5([0x68,0x61,0x73,0x68])]:{[_0x5913d5([0x6e,0x61,0x6d,0x65])]:_0x5913d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57c18c,_0x4bb3ff,_0x5a0f2f)||(_0xf2281b=!0x1);}}function _0x33d7b5(_0x2ecdd5){return _0x2ecdd5[_0x5913d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5913d5([0x65,0x79]))?JSON[_0x5913d5([0x70,0x61,0x72,0x73,0x65])](_0x2d5409(_0x2ecdd5)):null;}function _0x2d5409(_0x1e6b6f){return window[_0x5913d5([0x61,0x74,0x6f,0x62])](_0x1e6b6f[_0x5913d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5913d5([0x2b]))[_0x5913d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5913d5([0x2f])));}function _0xea86d2(_0x430324){let _0x5f1da5=0x1505;function _0x4528f4(_0x29f033){for(let _0xebb5b1=0x0;_0xebb5b1<_0x29f033[_0x5913d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xebb5b1++){const _0x34ff32=_0x29f033[_0x5913d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xebb5b1);_0x5f1da5=(_0x5f1da5<<0x5)+_0x5f1da5+_0x34ff32,_0x5f1da5&=_0x5f1da5;}}function _0x2a7c43(_0x3ec69b){Array[_0x5913d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ec69b)?_0x3ec69b[_0x5913d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a7c43):_0x3ec69b&&typeof _0x3ec69b==_0x5913d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5913d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ec69b)[_0x5913d5([0x73,0x6f,0x72,0x74])]()[_0x5913d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x312756,_0x10cb6b])=>{_0x4528f4(_0x312756),_0x2a7c43(_0x10cb6b);}):_0x4528f4(window[_0x5913d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ec69b));}return _0x2a7c43(_0x430324),_0x5f1da5>>>0x0;}function _0x2eb24d(_0x2fbcc7){return _0x2fbcc7[_0x5913d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5913d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5913d5([0x30]));}function _0x54bfea(_0x588e59){return _0x588e59[_0x5913d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5913d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5913d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x428ced(){}function _0x5913d5(_0x40c726){return _0x40c726['map'](_0x268cbf=>String['fromCharCode'](_0x268cbf))['join']('');}_0xb547f5(await _0x4ca833());}(this);}['_initSchema'](){const _0xbe455e=this['editor']['model']['schema'];_0xbe455e['isRegistered']('imageBlock')&&_0xbe455e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xbe455e['isRegistered']('imageInline')&&_0xbe455e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x121341=this['editor'];_0x121341['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x121341['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x574a31=>_0x574a31['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3833fd=_0x121341['commands']['get']('replaceImageSource');_0x3833fd&&this['listenTo'](_0x3833fd,'cleanupImage',(_0x47f5ff,[_0x2af125,_0x2b2be9])=>{_0x2af125['removeAttribute']('uploadcareImageId',_0x2b2be9);});}['_initConfig'](){const _0x4ec8ae=this['editor']['config']['get']('uploadcare.uploader')||{},_0x482303=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x388601(_0x188887['document'],'uc-config',{..._0x4ec8ae,'pubkey':_0x482303,'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']=_0x439df9=>{if('closeMax'==_0x439df9)return'#uc-icon-arrow-down';},_0x188887['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x388601(_0x188887['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x188887['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x157b49=this['editor']['commands']['get']('insertImage');_0x157b49&&this['listenTo'](_0x157b49,'execute',()=>{const _0x59a849=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59a849&&_0x59a849['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x59a849);});});const _0x448406=this['editor']['commands']['get']('uploadcareImageReplace');_0x448406&&this['listenTo'](_0x448406,'execute',()=>{const _0x1626df=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1626df&&_0x1626df['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1626df);});});}}class tt extends _0xc2dc7f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x309b27){super(_0x309b27),_0x309b27['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3ed05c['defineComponents'](_0x3ed05c),this['_defineLocale']();}['_defineLocale'](){const _0x3a7d90=this['editor']['config']['get']('uploadcare.locale'),_0xa150f7=this['editor']['locale']['contentLanguage'];_0x3a7d90&&_0x3ed05c['defineLocale'](_0xa150f7,_0x3a7d90);}}class ii extends _0x498476{constructor(_0x535e11){super(_0x535e11);const t=_0x535e11['t'],_0x213eb4=this['bindTemplate'],_0x5a5aaa=new _0x41c520();_0x5a5aaa['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':[_0x5a5aaa,{'text':_0x213eb4['to']('imageUploadProgress',_0x9ef845=>t('Loading\x20image...')+'\x20('+(_0x9ef845||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 _0x498476{constructor(_0x2a26cf){super(_0x2a26cf);const t=_0x2a26cf['t'];this['set']('errorType',null);const _0x19e7e1=new _0x4b2664(_0x2a26cf);_0x19e7e1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x19e7e1['withText']=!0x0,_0x19e7e1['class']='ck-button-action',_0x19e7e1['on']('execute',()=>{this['fire']('retry');}),_0x19e7e1['bind']('isVisible')['to'](this,'errorType',_0x16313d=>'NotFound'!==_0x16313d);const _0x435541=new _0x3df59c();_0x435541['content']=_0x3055a7,_0x435541['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe853cd=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':[_0x435541,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe853cd['to']('errorType',_0x65fff=>t('NotFound'!==_0x65fff?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x19e7e1]},{'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 _0x498476{constructor(_0x1284fb,_0x36e7aa){super(_0x1284fb);const _0x460189=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x36e7aa,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x460189['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x9623d4,_0x17b0e3,_0xca226d){super(_0x9623d4),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x9623d4),this['_errorView']=new ti(_0x9623d4),this['_editingView']=new ei(_0x9623d4,_0xca226d),this['_focusableView']=new _0x498476(_0x9623d4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x17b0e3),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'],_0x8ce0df=>{this['_addUploadcareImageEditorListeners'](_0x8ce0df);});}),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'](_0x4f5ca2,_0x9a26f0){const _0x2c7dda='uc-cloud-image-editor',_0x2ad0c0=_0x4f5ca2['querySelector'](_0x2c7dda);if(_0x2ad0c0)return _0x9a26f0(_0x2ad0c0);const _0xfa10ff=new MutationObserver(_0x1992e0=>{const _0x267272=_0x1992e0['filter'](_0x36250f=>_0x36250f['target']===_0x4f5ca2&&_0x36250f['addedNodes']['length']>0x0&&_0x36250f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2c7dda);_0x267272['length']&&(_0xfa10ff['disconnect'](),_0x9a26f0(_0x267272[0x0]['addedNodes'][0x0]));});_0xfa10ff['observe'](_0x4f5ca2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x472ea3){_0x472ea3['addEventListener']('apply',_0x2e8ce1=>{this['fire']('apply',{'imageSrc':_0x2e8ce1['detail']['cdnUrl']});}),_0x472ea3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x1c5c61(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1fd338,_0x54bfe3,_0x126c77){super(),this['_editor']=_0x1fd338,this['_dialog']=_0x54bfe3,this['_imageElement']=_0x126c77,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 _0x588ee8=this['_imageElement'],_0x122312=_0x588ee8['getAttribute']('uploadcareImageId'),_0x15e89d=_0x588ee8['getAttribute']('src');if(_0x122312)await this['_loadImageInfo'](_0x122312,_0x15e89d);else{if(this['_imageCache']['has'](_0x15e89d)){const _0x59ac89=this['_imageCache']['get'](_0x15e89d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59ac89['url'],this['imageDimension']=_0x59ac89['dimension'],this['imageId']=_0x59ac89['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f8cf0}=this['_editor'],t=_0x2f8cf0['t'],_0x22bf61=new X(_0x2f8cf0,this['imageStatus'],this['_attributes']);_0x22bf61['bind']('status')['to'](this,'imageStatus'),_0x22bf61['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x22bf61['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x22bf61['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x22bf61,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7236a8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x22bf61,'position':_0x28c680['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x22bf61['focus']();},'onHide':()=>{_0x22bf61['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b0bcc=>!M(_0x1b0bcc,_0x22bf61['element'])}});}['_loadImageInfo'](_0x3c60eb,_0x491e32){return j['getInfo'](_0x3c60eb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3c65f1=>{const {width:_0x5b3dcf,height:_0x2c3c20}=_0x3c65f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x491e32,this['imageDimension']={'width':_0x5b3dcf,'height':_0x2c3c20},this['imageId']=_0x3c60eb;})['catch'](_0x1d2969=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d2969['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x47e600,_0x1ee286){return this['_getImageAsFile'](_0x47e600)['then'](_0x4331dd=>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':_0x1ee286['signal'],'file':_0x4331dd,'onProgress':_0x442014=>{_0x442014&&_0x442014['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x442014['value']));}}))['then'](_0x4c5838=>{const {width:_0x5ecc7a,height:_0x2126ee}=_0x4c5838['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c5838['cdnUrl'],this['imageDimension']={'width':_0x5ecc7a,'height':_0x2126ee},this['imageId']=_0x4c5838['uuid'],this['imageUploadProgress']=null;const _0x163571=_0x47e600['getAttribute']('src');this['_imageCache']['set'](_0x163571,{'id':_0x4c5838['uuid'],'url':_0x4c5838['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2da5c5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2da5c5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x32de79,_0x5b0618){_0x32de79['on']('apply',(_0x1ecf1d,_0x3cc126)=>{this['_replaceImage'](_0x5b0618,_0x3cc126['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x32de79['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x32de79['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3320e9,_0xae3daf,_0x308c7e){const _0x222289=this['_editor'],{width:_0x46e68a,height:_0x2211ee}=F(_0xae3daf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x7d7284,imageSources:_0x318122}=C(_0xae3daf,_0x46e68a);_0x222289['model']['change'](_0x54c60f=>{if('$graveyard'===_0x3320e9['root']['rootName']){_0x222289['execute']('insertImage',{'imageType':_0x3320e9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3320e9['getAttributes']()),'uploadcareImageId':_0x308c7e,'src':_0x7d7284,'sources':_0x318122,'width':_0x46e68a,'height':_0x2211ee}});const _0x4c57af=_0x3320e9['getChildren']();_0x3320e9=_0x222289['model']['document']['selection']['getSelectedElement']();for(const _0x45d967 of _0x4c57af)_0x54c60f['append'](_0x54c60f['cloneElement'](_0x45d967),_0x3320e9);}else _0x54c60f['setSelection'](_0x3320e9,'on'),_0x222289['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3320e9['getAttributes']()),'uploadcareImageId':_0x308c7e,'src':_0x7d7284,'sources':_0x318122,'width':_0x46e68a,'height':_0x2211ee},_0x3320e9);_0x54c60f['setSelection'](_0x3320e9,'on');});}async['_getImageAsFile'](_0x40f1fd){const _0x4c1615=_0x188887['window'],_0x5436b9=_0x188887['document']['location']['href'],_0x156f5b=new _0x4c1615['URL'](_0x40f1fd['getAttribute']('src'),_0x5436b9);if('data:'===_0x156f5b['protocol']){const _0x37136a=_0x156f5b['href']['split'](','),_0x513916=_0x37136a[0x0]['match'](/:(.*?);/)[0x1],_0x34a0ac=_0x513916['split']('/')[0x1],_0x1e6b70=_0x4c1615['atob'](_0x37136a[_0x37136a['length']-0x1]);let _0x4b96d6=_0x1e6b70['length'];const _0x105215=new _0x4c1615['Uint8Array'](_0x4b96d6);for(;_0x4b96d6--;)_0x105215[_0x4b96d6]=_0x1e6b70['charCodeAt'](_0x4b96d6);return new _0x4c1615['File']([_0x105215],'image.'+_0x34a0ac,{'type':_0x513916});}const _0x1c2584=_0x156f5b['href']['split']('/'),_0x2002f6=_0x1c2584[_0x1c2584['length']-0x1],_0x37b5ba=_0x2002f6['split']('.')[0x1];return _0x4c1615['fetch'](_0x156f5b['href'])['then'](_0x560acf=>_0x560acf['clone']()['blob']())['then'](_0x72ce8=>new _0x4c1615['File']([_0x72ce8],_0x2002f6,{'type':'image/'+_0x37b5ba}));}}class N extends _0x45bf27{['imageEditController'];static get['requires'](){return[_0x5da73d];}['_isEditable'];constructor(_0x21f8d9){super(_0x21f8d9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x355944){const _0x52029e=R(_0x355944);return _0x42b138=>!(!_0x42b138||!_0x42b138['is']('element','imageBlock')&&!_0x42b138['is']('element','imageInline'))&&(!!_0x42b138['hasAttribute']('uploadcareImageId')||!!_0x42b138['hasAttribute']('src')&&_0x52029e(_0x42b138['getAttribute']('src')));}(_0x21f8d9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x372822=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x372822);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x475539=this['editor']['model']['document']['selection']['getSelectedElement']();_0x475539&&(_0x475539['is']('element','imageBlock')||_0x475539['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x5da73d),_0x475539),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x45bf27{['refresh'](){const _0x519391=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x519391&&(_0x519391['is']('element','imageBlock')||_0x519391['is']('element','imageInline')));}['execute'](_0x16dce8){const _0x4e677b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xd9d487=>{_0xd9d487['setAttributes'](_0x16dce8,_0x4e677b),_0xd9d487['removeAttribute']('srcset',_0x4e677b),_0xd9d487['removeAttribute']('sizes',_0x4e677b);});}}class m extends _0xc2dc7f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x42c6a8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1da188}=this;_0x1da188['commands']['add']('uploadcareImageEdit',new N(_0x1da188)),_0x1da188['commands']['add']('uploadcareImageReplace',new O(_0x1da188));}}class g extends _0xc2dc7f{['_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 _0x4bfdce=this['editor'];_0x4bfdce['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5dda76=>{const _0x4dfb46=_0x4bfdce['commands']['get']('uploadcareImageEdit'),_0x26c96d=new _0x4b2664(_0x5dda76),t=_0x5dda76['t'];return _0x26c96d['set']({'icon':_0x7236a8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26c96d['bind']('isEnabled')['to'](_0x4dfb46),_0x26c96d['bind']('isOn')['to'](_0x4dfb46,'isActive'),this['listenTo'](_0x26c96d,'execute',()=>{_0x4bfdce['execute']('uploadcareImageEdit'),_0x4bfdce['editing']['view']['focus']();}),_0x26c96d;}),this['_initConfig']();}['_initConfig'](){const _0x15595f=_0x388601(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15595f),this['listenTo'](this['editor'],'destroy',()=>{_0x15595f['remove']();});}}class et extends _0xc2dc7f{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,N 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']||={});