@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251230.0 → 0.0.0-nightly-20251231.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 _0x5abfab,Command as _0x2b80ae}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3cbb14,IconGooglePhotos as _0x40b33e,IconGoogleDrive as _0x52e3a0,IconFacebook as _0x47eb87,IconDropbox as _0x4a99da,IconUploadcareLink as _0x398322,IconUploadcareImageUpload as _0x2ff150,IconError as _0x2e5658,IconUploadcareImageEdit as _0x3fe653}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1c261d,MenuBarMenuListItemButtonView as _0x15b725,View as _0x37c888,FocusCycler as _0x3d4835,Dialog as _0x14d8f9,DialogViewPosition as _0x963131,SpinnerView as _0x24a6ac,IconView as _0x24777d,Notification as _0x7c5aa5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x27f74a,DomEmitterMixin as _0x42a10d,global as _0x1ff7f8,getAncestors as _0x173eb8,ObservableMixin as _0x232d2f,uid as _0x616a26,createElement as _0x27a560}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4515a4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5ee6d3,info as _0x193740}from'@uploadcare/upload-client';import*as _0x23b23e from'@uploadcare/file-uploader';var i=function(_0x49f3b9){return _0x49f3b9['Local']='local',_0x49f3b9['URL']='url',_0x49f3b9['Dropbox']='dropbox',_0x49f3b9['GDrive']='gdrive',_0x49f3b9['Facebook']='facebook',_0x49f3b9['GPhotos']='gphotos',_0x49f3b9['OneDrive']='onedrive',_0x49f3b9;}({});function _(_0x4aecd7,_0x364de9,_0x31b324){const t=_0x4aecd7['t'],_0x2f4788=_0x4aecd7['t'];switch(_0x364de9){case i['Local']:return{'text':_0x2f4788('Insert'===_0x31b324?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2f4788('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x31b324?_0x2f4788('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2f4788('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x31b324?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x31b324?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x31b324?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x31b324?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x31b324?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x364de9;}}class e extends _0x5abfab{['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 _0xf6d8c6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f66e0;for(const _0xab3191 in _0xf6d8c6){const _0x568094=_0xab3191,_0x472a6f=_0xf6d8c6[_0x568094];if('uploadcareLicenseKeyValid'==_0x472a6f||'uploadcareLicenseKeyInvalid'==_0x472a6f||'uploadcareLicenseKeyExpired'==_0x472a6f||'uploadcareLicenseKeyDomainLimit'==_0x472a6f||'uploadcareLicenseKeyNotAllowed'==_0x472a6f||'uploadcareLicenseKeyEvaluationLimit'==_0x472a6f||'uploadcareLicenseKeyTrialLimit'==_0x472a6f||'uploadcareLicenseKeyUsageLimit'==_0x472a6f){delete _0xf6d8c6[_0x568094],_0x2f66e0=_0x472a6f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f66e0&&_0xf6d8c6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xe346be}=this,_0x34495f=_0xe346be['commands']['get']('uploadcare');if(!_0x34495f)return;const _0x438a7f=this['_normalizeConfigSourceList'](_0xe346be['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x590858,_0x311163)=>{const _0x5e484c=this['_getIntegrationKey'](_0x311163['type']);return _0x590858[_0x5e484c]||(_0x590858[_0x5e484c]=[]),_0x590858[_0x5e484c]['push'](_0x311163),_0x590858;},{});_0xe346be['plugins']['has']('ImageInsertUI')&&_0xe346be['commands']['get']('uploadcare')&&Object['entries'](_0x438a7f)['forEach'](([_0x4ee560,_0x241231])=>{_0xe346be['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4ee560,'observable':()=>_0x34495f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x241231),'formViewCreator':()=>this['_createDropdownButtons'](_0x241231),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x241231),'override':'assetManager'!==_0x4ee560});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x20c795){const {locale:_0xef104d}=this['editor'];return _0x20c795['map'](_0x46e5c2=>{const _0x996fe9=_(_0xef104d,_0x46e5c2,'Insert');switch(_0x46e5c2){case i['Local']:return{'icon':_0x2ff150,'type':i['Local'],..._0x996fe9};case i['URL']:return{'icon':_0x398322,'type':i['URL'],..._0x996fe9};case i['Dropbox']:return{'icon':_0x4a99da,'type':i['Dropbox'],..._0x996fe9};case i['Facebook']:return{'icon':_0x47eb87,'type':i['Facebook'],..._0x996fe9};case i['GDrive']:return{'icon':_0x52e3a0,'type':i['GDrive'],..._0x996fe9};case i['GPhotos']:return{'icon':_0x40b33e,'type':i['GPhotos'],..._0x996fe9};case i['OneDrive']:return{'icon':_0x3cbb14,'type':i['OneDrive'],..._0x996fe9};}});}['_getIntegrationKey'](_0x45975e){switch(_0x45975e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x220664,_0x309b91){const _0x3ddbf4=this['editor'],_0x3849c8=new _0x220664(_0x3ddbf4['locale']),_0x1dbda2=_0x3ddbf4['commands']['get']('uploadcare');return _0x3849c8['bind']('isEnabled')['to'](_0x1dbda2),_0x3849c8['on']('execute',()=>{_0x1dbda2['execute'](_0x309b91);}),_0x3849c8;}['_createToolbarButton'](_0x7f37b8){const {locale:_0x1e8be0}=this['editor'],_0x51012e=this['editor']['plugins']['get']('ImageInsertUI'),_0x2670af=_0x7f37b8[0x0],_0x1bd12f=this['_createButton'](_0x1c261d,_0x2670af['type']);return _0x1bd12f['icon']=_0x2670af['icon'],_0x1bd12f['bind']('label')['to'](_0x51012e,'isImageSelected',_0x2b03af=>_(_0x1e8be0,_0x2670af['type'],_0x2b03af?'Replace':'Insert')['text']),_0x1bd12f['tooltip']=!0x0,_0x1bd12f;}['_createDropdownButtons'](_0x2c65bf){const {locale:_0x1c4207}=this['editor'],_0x153109=this['editor']['plugins']['get']('ImageInsertUI');return _0x2c65bf['map'](_0x5b24ee=>{const _0x28bda7=this['_createButton'](_0x1c261d,_0x5b24ee['type']);return _0x28bda7['withText']=!0x0,_0x28bda7['icon']=_0x5b24ee['icon'],_0x28bda7['bind']('label')['to'](_0x153109,'isImageSelected',_0xb8616c=>_(_0x1c4207,_0x5b24ee['type'],_0xb8616c?'Replace':'Insert')['text']),_0x28bda7;});}['_createMenuBarButtons'](_0x518e1a){return _0x518e1a['map'](_0x8c0195=>{const _0x236018=this['_createButton'](_0x15b725,_0x8c0195['type']);return _0x236018['icon']=_0x8c0195['icon'],_0x236018['label']=_0x8c0195['shortText'],_0x236018;});}}class F extends _0x37c888{['focusTracker'];['focusCycler'];constructor(_0x3aa482){super(_0x3aa482),this['focusTracker']=new _0x27f74a(),this['focusCycler']=new _0x3d4835({'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(_0x1b0bb5,_0x555c89){super(_0x1b0bb5),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-'+_0x555c89}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x35e8ab,_0x205141){const _0x325a03=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xe24d0a=>_0xe24d0a<=_0x205141)['map'](_0x4e3fda=>_0x35e8ab['replace'](/\/$/,'')+'/-/resize/'+_0x4e3fda+'x/\x20'+_0x4e3fda+'w');return{'imageFallbackUrl':_0x35e8ab,'imageSources':[{'srcset':_0x325a03['join'](',\x20'),'sizes':'(max-width:\x20'+_0x205141+'px)\x20100vw,\x20'+_0x205141+'px','type':'image/webp'}]};}function S(_0x6a7391,_0x18e986,_0x5e1bf2){const _0x28ddc8=_0x6a7391['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x28ddc8?parseInt(_0x28ddc8[0x1],0xa):_0x18e986,'height':_0x28ddc8?parseInt(_0x28ddc8[0x2],0xa):_0x5e1bf2};}function p(_0x516353,_0x2ff6cc){const _0x104eaf=new(_0x42a10d())(),_0xbbc6a3=_0x516353['plugins']['get']('ImageUtils'),_0x4190f6=_0x516353['editing']['mapper']['toViewElement'](_0x2ff6cc),_0x6f3225=_0xbbc6a3['findViewImgElement'](_0x4190f6),_0x307929=_0x516353['editing']['view']['domConverter']['viewToDom'](_0x6f3225),_0x2ba4cf=_0x2ff6cc['getAttribute']('width'),_0x46cd06=_0x2ff6cc['getAttribute']('height'),_0x18ff62='image-processing';_0x516353['editing']['view']['change'](_0x2d40a5=>{_0x2d40a5['addClass'](_0x18ff62,_0x4190f6),_0x2d40a5['setStyle']('aspect-ratio',_0x2ba4cf+'/'+_0x46cd06,_0x6f3225);}),_0x104eaf['listenTo'](_0x307929,'load',()=>{_0x104eaf['stopListening'](_0x307929,'load'),_0x516353['editing']['view']['change'](_0x1157e0=>{_0x1157e0['removeClass'](_0x18ff62,_0x4190f6),_0x1157e0['removeStyle']('aspect-ratio',_0x6f3225);});});}function G(_0x2645a4){if(Array['isArray'](_0x2645a4)){const _0x5ed68e=_0x2645a4['map'](G);return _0x227f79=>_0x5ed68e['some'](_0x141bb4=>_0x141bb4(_0x227f79));}if('origin'==_0x2645a4){const _0x75afa2=_0x1ff7f8['window']['location']['origin'];return _0x516a9d=>new URL(_0x516a9d,_0x1ff7f8['document']['baseURI'])['origin']==_0x75afa2;}return'function'==typeof _0x2645a4?_0x2645a4:_0x2645a4 instanceof RegExp?_0x2fbc22=>!(!_0x2fbc22['match'](_0x2645a4)&&!_0x2fbc22['replace'](/^https?:\/\//,'')['match'](_0x2645a4)):()=>!0x1;}function A(_0x5ccf6f,_0x50db9d){return _0x173eb8(_0x5ccf6f['target'])['includes'](_0x50db9d);}class n extends/* #__PURE__ -- @preserve */
24
- _0x232d2f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2428d5,_0x2b17a9,_0x24905c){super(),this['_editor']=_0x2428d5,this['_editing']=_0x2b17a9,this['_dialog']=_0x2428d5['plugins']['get'](_0x14d8f9),this['_api']=_0x2b17a9['ctxElement']['getAPI'](),this['_type']=_0x24905c,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:_0x40881b,model:_0xd418c8}=this['_editor'],_0x31903b=_0xd418c8['document']['selection']['getSelectedElement'](),_0x1ad171=_0x31903b&&(_0x31903b['is']('element','imageBlock')||_0x31903b['is']('element','imageInline'));this['_formView']=new x(_0x40881b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2ff150,'title':_(_0x40881b,this['_type'],_0x1ad171?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x963131['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e5f25=>!A(_0x4e5f25,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1f476c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5737aa=>{const _0xf5832=_0x1f476c['length'];for(const _0x1c8142 of _0x1f476c){const _0x4ef170=_0x1c8142===_0x1f476c[_0xf5832-0x1],{cdnUrl:_0x58c236,fileInfo:_0x4b5986}=_0x1c8142;if(!_0x58c236||!_0x4b5986)continue;const {width:_0x436f59,height:_0x3a2543}=_0x4b5986['imageInfo'],_0x18580b=S(_0x58c236,_0x436f59,_0x3a2543),_0x3e05e7=C(_0x58c236,_0x18580b['width']),_0xac50b7={'id':_0x4b5986['uuid'],'type':'image','attributes':{'imageDimension':_0x18580b,..._0x3e05e7}};this['_insertAsset'](_0xac50b7,_0x4ef170,_0x5737aa);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x12d2bb=>{'idle'===_0x12d2bb['detail']['status']&&!_0x12d2bb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2d0938,_0x292aec,_0xedd8e2){const _0x12c59d=this['_editor']['model']['document']['selection'],_0x5845eb=_0x12c59d['getSelectedElement'](),_0x408a0a=!(!_0x5845eb||!_0x5845eb['is']('element','imageInline'));_0xedd8e2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2d0938,_0x408a0a),_0x292aec||_0xedd8e2['setSelection'](_0x12c59d['getLastPosition']());}['_insertImage'](_0x890cd4,_0x141714){const _0xb20e7d=this['_editor'],{imageDimension:_0x1a2f79,imageFallbackUrl:_0x16063f,imageSources:_0x4cc73b}=_0x890cd4['attributes'];_0xb20e7d['execute']('insertImage',{'imageType':_0x141714?'imageInline':null,'source':{'uploadcareImageId':_0x890cd4['id'],'src':_0x16063f,'sources':_0x4cc73b,..._0x1a2f79}});}}class w extends _0x2b80ae{['_editing'];['_controller']=null;static get['requires'](){return[_0x14d8f9,o];}constructor(_0x35b67d){super(_0x35b67d),this['_editing']=_0x35b67d['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xf38ceb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xf38ceb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4840ad,..._0x511b95}){return _0x5ee6d3(_0x4840ad,_0x511b95);}static['getInfo'](_0x4ca38f,_0x5599a7){return _0x193740(_0x4ca38f,_0x5599a7);}}class f extends _0x5abfab{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4515a4,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x467ea1=this['editor'];if(!!!_0x467ea1['config']['get']('uploadcare'))return;_0x467ea1['plugins']['get'](_0x4515a4)['createUploadAdapter']=_0x1792e8=>new k(_0x1792e8,_0x467ea1),_0x467ea1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2e64ed,{imageElement:_0x44ddba,data:_0x3c9b13})=>{_0x467ea1['model']['change'](_0x41e079=>{_0x41e079['setAttribute']('uploadcareImageId',_0x3c9b13['uploadcareImageId'],_0x44ddba);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x165235,_0x23b66b){this['loader']=_0x165235,this['editor']=_0x23b66b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x19163b=await this['loader']['file'];return j['upload']({'file':_0x19163b,'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':_0x54f43e=>{_0x54f43e&&_0x54f43e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54f43e['value']);}})['then'](async _0x4d7e68=>{const {imageFallbackUrl:_0x4adae2,imageSources:_0x4de56b}=C(_0x4d7e68['cdnUrl'],_0x4d7e68['imageInfo']['width']);return{'uploadcareImageId':_0x4d7e68['uuid'],'default':_0x4adae2,'sources':_0x4de56b};})['catch'](()=>{const _0x5527b7=t('Cannot\x20upload\x20file:')+('\x20'+_0x19163b['name']+'.');return Promise['reject'](_0x5527b7);});}['abort'](){this['controller']['abort']();}}class o extends _0x5abfab{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x14d8f9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xccd4e9){super(_0xccd4e9),this['ucContextId']=_0x616a26();}['init'](){const _0x1a7993=this['editor'];_0x1a7993['commands']['add']('uploadcare',new w(_0x1a7993));}['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 _0x4570c6=_0x1ff7f8['document']['querySelector']('input[uploadcare-file-input]');_0x4570c6&&_0x4570c6['remove']();}),async function(_0x4839f6){const _0x109f3f=_0x5f1131([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]),_0x13d670=0x535f8c3a,_0x3a368e=0x5358f15a^_0x13d670,_0x2edeea=window[_0x5f1131([0x44,0x61,0x74,0x65])][_0x5f1131([0x6e,0x6f,0x77])](),_0x12dd3b=_0x4839f6[_0x5f1131([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41a742=new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bf48f=>{_0x12dd3b[_0x5f1131([0x6f,0x6e,0x63,0x65])](_0x5f1131([0x72,0x65,0x61,0x64,0x79]),_0x5bf48f);}),_0x36c5d8={[_0x5f1131([0x6b,0x74,0x79])]:_0x5f1131([0x45,0x43]),[_0x5f1131([0x75,0x73,0x65])]:_0x5f1131([0x73,0x69,0x67]),[_0x5f1131([0x63,0x72,0x76])]:_0x5f1131([0x50,0x2d,0x32,0x35,0x36]),[_0x5f1131([0x78])]:_0x5f1131([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]),[_0x5f1131([0x79])]:_0x5f1131([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]),[_0x5f1131([0x61,0x6c,0x67])]:_0x5f1131([0x45,0x53,0x32,0x35,0x36])},_0x1ba451=_0x12dd3b[_0x5f1131([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f1131([0x67,0x65,0x74])](_0x5f1131([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x172aef(){let _0x3702af,_0x567215=null,_0x17f561=null;try{if(_0x1ba451==_0x5f1131([0x47,0x50,0x4c]))return _0x5f1131([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3702af=_0x54a468(),!_0x3702af)return _0x5f1131([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3702af[_0x5f1131([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17f561=_0x572f41(_0x3702af[_0x5f1131([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3702af[_0x5f1131([0x6a,0x74,0x69])])),await _0x318fdf()?_0x415e10()?_0x750c2f()?_0x5f1131([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d8de7()?(_0x3702af[_0x5f1131([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1131([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567215=_0x37fa45(_0x5f1131([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3702af[_0x5f1131([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1131([0x74,0x72,0x69,0x61,0x6c])&&(_0x567215=_0x37fa45(_0x5f1131([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe526dc()):_0x5f1131([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1131([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f1131([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f1131([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x750c2f(){const _0x474d6c=[_0x5f1131([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f1131([0x74,0x72,0x69,0x61,0x6c])][_0x5f1131([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3702af[_0x5f1131([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2edeea/0x3e8:0xe10*_0x3a368e;return _0x3702af[_0x5f1131([0x65,0x78,0x70])]<_0x474d6c;}function _0x415e10(){const _0x181789=_0x3702af[_0x5f1131([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x181789&&(!!_0x181789[_0x5f1131([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1131([0x2a]))||!!_0x181789[_0x5f1131([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1131([0x55,0x50,0x4c,0x43])));}function _0x5d8de7(){const _0x4a9a6c=_0x3702af[_0x5f1131([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a9a6c||0x0==_0x4a9a6c[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36406a}=new URL(window[_0x5f1131([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4a9a6c[_0x5f1131([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36406a))return!0x0;const _0x414261=_0x36406a[_0x5f1131([0x73,0x70,0x6c,0x69,0x74])](_0x5f1131([0x2e]));return _0x4a9a6c[_0x5f1131([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x339825=>_0x339825[_0x5f1131([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1131([0x2a])))[_0x5f1131([0x6d,0x61,0x70])](_0x571083=>_0x571083[_0x5f1131([0x73,0x70,0x6c,0x69,0x74])](_0x5f1131([0x2e])))[_0x5f1131([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146811=>_0x146811[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x414261[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1131([0x6d,0x61,0x70])](_0x1a5324=>Array(_0x414261[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a5324[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1131([0x66,0x69,0x6c,0x6c])](_0x1a5324[0x0]===_0x5f1131([0x2a])?_0x5f1131([0x2a]):'')[_0x5f1131([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a5324))[_0x5f1131([0x73,0x6f,0x6d,0x65])](_0x15278b=>_0x414261[_0x5f1131([0x65,0x76,0x65,0x72,0x79])]((_0x9bfa76,_0x7fcab2)=>_0x15278b[_0x7fcab2]===_0x9bfa76||_0x15278b[_0x7fcab2]===_0x5f1131([0x2a])));}function _0xe526dc(){return _0x567215&&_0x17f561?new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5008e1,_0x1dfd20)=>{_0x567215[_0x5f1131([0x74,0x68,0x65,0x6e])](_0x5008e1,_0x1dfd20),_0x17f561[_0x5f1131([0x74,0x68,0x65,0x6e])](_0x18611c=>{_0x18611c!=_0x5f1131([0x56,0x61,0x6c,0x69,0x64])&&_0x5008e1(_0x18611c);},_0x1dfd20);}):_0x567215||_0x17f561||_0x5f1131([0x56,0x61,0x6c,0x69,0x64]);}}function _0x572f41(_0xba230a,_0x567f86){return new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea6f3=>{if(_0xee8f66())return _0x1ea6f3(_0x5f1131([0x56,0x61,0x6c,0x69,0x64]));_0x3941c6(),_0x12dd3b[_0x5f1131([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f1131([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a95d7=!0x1;const _0x45ecc9=_0x616a26();function _0x3ca68f(_0x15796a){return!!_0x15796a&&(typeof _0x15796a===_0x5f1131([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15796a===_0x5f1131([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15796a[_0x5f1131([0x74,0x68,0x65,0x6e])]===_0x5f1131([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15796a[_0x5f1131([0x63,0x61,0x74,0x63,0x68])]===_0x5f1131([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47ddaa(_0x248b5a){_0xd535e3(_0x248b5a)[_0x5f1131([0x74,0x68,0x65,0x6e])](_0x43d0f8=>{if(!_0x43d0f8||_0x43d0f8[_0x5f1131([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f1131([0x6f,0x6b]))return _0x5f1131([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1feb81(_0x141d62(_0x45ecc9+_0x567f86))!=_0x43d0f8[_0x5f1131([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f1131([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1131([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1131([0x74,0x68,0x65,0x6e])](_0xb26a10=>(_0x3b0a65(),_0xb26a10),()=>{const _0x38d4da=_0x2d77b4();return null==_0x38d4da?(_0x3b0a65(),_0x5f1131([0x56,0x61,0x6c,0x69,0x64])):_0x5f1131(_0x2edeea-_0x38d4da>(0x7753083a^_0x13d670)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1131([0x74,0x68,0x65,0x6e])](_0x1ea6f3)[_0x5f1131([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ea6f3(_0x5f1131([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5957c4=0x536962ba^_0x13d670;function _0x3b0a65(){const _0x2e45de=_0x5f1131([0x6c,0x6c,0x63,0x74,0x2d])+_0x1feb81(_0x141d62(_0xba230a)),_0x506b65=_0x4a30d7(_0x1feb81(window[_0x5f1131([0x4d,0x61,0x74,0x68])][_0x5f1131([0x63,0x65,0x69,0x6c])](_0x2edeea/_0x5957c4)));window[_0x5f1131([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1131([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e45de,_0x506b65);}function _0x2d77b4(){const _0x553632=_0x5f1131([0x6c,0x6c,0x63,0x74,0x2d])+_0x1feb81(_0x141d62(_0xba230a)),_0x2b8282=window[_0x5f1131([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1131([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x553632);return _0x2b8282?window[_0x5f1131([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a30d7(_0x2b8282),0x10)*_0x5957c4:null;}function _0xd535e3(_0x24c28c){return new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1506b8,_0x29e21a)=>{_0x24c28c[_0x5f1131([0x74,0x68,0x65,0x6e])](_0x1506b8,_0x29e21a),window[_0x5f1131([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29e21a,0x535e58fa^_0x13d670);});}}_0x12dd3b[_0x5f1131([0x6f,0x6e])](_0x5f1131([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43cf6b,_0x4276d5)=>{if(_0x4276d5[0x0]!=_0xba230a)return _0x1ea6f3(_0x5f1131([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4276d5[0x1]={..._0x4276d5[0x1],[_0x5f1131([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45ecc9};},{[_0x5f1131([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1131([0x68,0x69,0x67,0x68])}),_0x12dd3b[_0x5f1131([0x6f,0x6e])](_0x5f1131([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b2056=>{_0x3ca68f(_0x5b2056[_0x5f1131([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a95d7=!0x0,_0x47ddaa(_0x5b2056[_0x5f1131([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f1131([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1131([0x6c,0x6f,0x77])}),_0x41a742[_0x5f1131([0x74,0x68,0x65,0x6e])](()=>{_0x2a95d7||_0x1ea6f3(_0x5f1131([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xee8f66(){return _0x12dd3b[_0x5f1131([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1131([0x76,0x69,0x65,0x77])][_0x5f1131([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f1131([0x61,0x75,0x74,0x6f]);}function _0x3941c6(){_0x12dd3b[_0x5f1131([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1131([0x76,0x69,0x65,0x77])][_0x5f1131([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f1131([0x61,0x75,0x74,0x6f]);}}function _0x37fa45(_0x3a81dc){const _0x504f15=[new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508902=>setTimeout(_0x508902,0x5356b2f6^_0x13d670)),_0x41a742[_0x5f1131([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2647d6=>{let _0x3a6ae1=0x0;_0x12dd3b[_0x5f1131([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1131([0x6f,0x6e])](_0x5f1131([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fa146,_0x1b847a)=>{_0x1b847a[0x0][_0x5f1131([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a6ae1++,_0x3a6ae1==(0x535f89d2^_0x13d670)&&(_0x2647d6(),_0x3fa146[_0x5f1131([0x6f,0x66,0x66])]());});}))];return window[_0x5f1131([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f1131([0x72,0x61,0x63,0x65])](_0x504f15)[_0x5f1131([0x74,0x68,0x65,0x6e])](()=>_0x3a81dc);}async function _0x151353(){await _0x41a742,_0x12dd3b[_0x5f1131([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1131([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e36f7,_0x12dd3b[_0x5f1131([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1131([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e36f7,_0x12dd3b[_0x5f1131([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f1131([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x232797(_0x27448c){const _0x3d7e7c=_0x48eb39();_0x12dd3b[_0x3d7e7c]=_0x5f1131([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27448c,_0x27448c!=_0x5f1131([0x56,0x61,0x6c,0x69,0x64])&&_0x151353();}function _0x48eb39(){const _0x1d4f85=window[_0x5f1131([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f1131([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f1131([0x6e,0x6f,0x77])]())[_0x5f1131([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f1131([0x2e]),'');let _0x103a69=_0x5f1131([0x68]);for(let _0x1f2d7b=0x0;_0x1f2d7b<_0x1d4f85[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f2d7b+=0x2){let _0x1c3d4a=window[_0x5f1131([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d4f85[_0x5f1131([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f2d7b,_0x1f2d7b+0x2));_0x1c3d4a>=_0x109f3f[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c3d4a-=_0x109f3f[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x103a69+=_0x109f3f[_0x1c3d4a];}return _0x103a69;}function _0x54a468(){const _0x4a11b5=_0x1ba451[_0x5f1131([0x73,0x70,0x6c,0x69,0x74])](_0x5f1131([0x2e]));if(0x3!=_0x4a11b5[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f4cb8(_0x4a11b5[0x1]);function _0x2f4cb8(_0x42c431){const _0x4884ee=_0x5c7a4d(_0x42c431);return _0x4884ee&&_0x5843cb()?_0x4884ee:null;function _0x5843cb(){const _0x3b9aec=_0x4884ee[_0x5f1131([0x6a,0x74,0x69])],_0x2732fb=window[_0x5f1131([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b9aec[_0x5f1131([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b9aec[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5462e6={..._0x4884ee,[_0x5f1131([0x6a,0x74,0x69])]:_0x3b9aec[_0x5f1131([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b9aec[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5462e6[_0x5f1131([0x76,0x63])],_0x141d62(_0x5462e6)==_0x2732fb;}}}async function _0x318fdf(){let _0xf41eb3=!0x0;try{const _0x53ed0d=_0x1ba451[_0x5f1131([0x73,0x70,0x6c,0x69,0x74])](_0x5f1131([0x2e])),[_0x30ad02,_0x2a6a9e,_0x39af7d]=_0x53ed0d;return _0x181027(_0x30ad02),await _0x294823(_0x30ad02,_0x2a6a9e,_0x39af7d),_0xf41eb3;}catch{return!0x1;}function _0x181027(_0x35fbc1){const _0x41df8e=_0x5c7a4d(_0x35fbc1);_0x41df8e&&_0x41df8e[_0x5f1131([0x61,0x6c,0x67])]==_0x5f1131([0x45,0x53,0x32,0x35,0x36])||(_0xf41eb3=!0x1);}async function _0x294823(_0x1a369c,_0x58ad03,_0x49df2c){const _0x7f8493=window[_0x5f1131([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f1131([0x66,0x72,0x6f,0x6d])](_0x2ef835(_0x49df2c),_0x3cdcd4=>_0x3cdcd4[_0x5f1131([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27f353=new window[(_0x5f1131([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f1131([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a369c+_0x5f1131([0x2e])+_0x58ad03),_0x35f7cf=window[_0x5f1131([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f1131([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35f7cf)return;const _0x1ee9d1=await _0x35f7cf[_0x5f1131([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f1131([0x6a,0x77,0x6b]),_0x36c5d8,{[_0x5f1131([0x6e,0x61,0x6d,0x65])]:_0x5f1131([0x45,0x43,0x44,0x53,0x41]),[_0x5f1131([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f1131([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f1131([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35f7cf[_0x5f1131([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f1131([0x6e,0x61,0x6d,0x65])]:_0x5f1131([0x45,0x43,0x44,0x53,0x41]),[_0x5f1131([0x68,0x61,0x73,0x68])]:{[_0x5f1131([0x6e,0x61,0x6d,0x65])]:_0x5f1131([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ee9d1,_0x7f8493,_0x27f353)||(_0xf41eb3=!0x1);}}function _0x5c7a4d(_0x339411){return _0x339411[_0x5f1131([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f1131([0x65,0x79]))?JSON[_0x5f1131([0x70,0x61,0x72,0x73,0x65])](_0x2ef835(_0x339411)):null;}function _0x2ef835(_0x46e24f){return window[_0x5f1131([0x61,0x74,0x6f,0x62])](_0x46e24f[_0x5f1131([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f1131([0x2b]))[_0x5f1131([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f1131([0x2f])));}function _0x141d62(_0xc67d39){let _0x4202bc=0x1505;function _0x35902d(_0x3ce241){for(let _0x5a67d8=0x0;_0x5a67d8<_0x3ce241[_0x5f1131([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a67d8++){const _0x1dd5f8=_0x3ce241[_0x5f1131([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a67d8);_0x4202bc=(_0x4202bc<<0x5)+_0x4202bc+_0x1dd5f8,_0x4202bc&=_0x4202bc;}}function _0xa5f843(_0x20ba5a){Array[_0x5f1131([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20ba5a)?_0x20ba5a[_0x5f1131([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa5f843):_0x20ba5a&&typeof _0x20ba5a==_0x5f1131([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f1131([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20ba5a)[_0x5f1131([0x73,0x6f,0x72,0x74])]()[_0x5f1131([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x222ac9,_0x587bf0])=>{_0x35902d(_0x222ac9),_0xa5f843(_0x587bf0);}):_0x35902d(window[_0x5f1131([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20ba5a));}return _0xa5f843(_0xc67d39),_0x4202bc>>>0x0;}function _0x1feb81(_0x4e38cf){return _0x4e38cf[_0x5f1131([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f1131([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f1131([0x30]));}function _0x4a30d7(_0x5fdb82){return _0x5fdb82[_0x5f1131([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f1131([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f1131([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e36f7(){}function _0x5f1131(_0x1d93c8){return _0x1d93c8['map'](_0x522d6e=>String['fromCharCode'](_0x522d6e))['join']('');}_0x232797(await _0x172aef());}(this);}['_initSchema'](){const _0x3751a4=this['editor']['model']['schema'];_0x3751a4['isRegistered']('imageBlock')&&_0x3751a4['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3751a4['isRegistered']('imageInline')&&_0x3751a4['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5b04ed=this['editor'];_0x5b04ed['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5b04ed['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x12585e=>_0x12585e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x418e29=_0x5b04ed['commands']['get']('replaceImageSource');_0x418e29&&this['listenTo'](_0x418e29,'cleanupImage',(_0x609358,[_0x5b6391,_0x56a61a])=>{_0x5b6391['removeAttribute']('uploadcareImageId',_0x56a61a);});}['_initConfig'](){const _0xf31dc2=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5c3579=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x27a560(_0x1ff7f8['document'],'uc-config',{..._0xf31dc2,'pubkey':_0x5c3579,'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']=_0x116a41=>{if('closeMax'==_0x116a41)return'#uc-icon-arrow-down';},_0x1ff7f8['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x27a560(_0x1ff7f8['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1ff7f8['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5cc3b1=this['editor']['commands']['get']('insertImage');_0x5cc3b1&&this['listenTo'](_0x5cc3b1,'execute',()=>{const _0x10ad38=this['editor']['model']['document']['selection']['getSelectedElement']();_0x10ad38&&_0x10ad38['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x10ad38);});});const _0x232657=this['editor']['commands']['get']('uploadcareImageReplace');_0x232657&&this['listenTo'](_0x232657,'execute',()=>{const _0x435458=this['editor']['model']['document']['selection']['getSelectedElement']();_0x435458&&_0x435458['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x435458);});});}}class tt extends _0x5abfab{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10319d){super(_0x10319d),_0x10319d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x23b23e['defineComponents'](_0x23b23e),this['_defineLocale']();}['_defineLocale'](){const _0x19bb08=this['editor']['config']['get']('uploadcare.locale'),_0x2367d7=this['editor']['locale']['contentLanguage'];_0x19bb08&&_0x23b23e['defineLocale'](_0x2367d7,_0x19bb08);}}class ii extends _0x37c888{constructor(_0x217764){super(_0x217764);const t=_0x217764['t'],_0x8c903e=this['bindTemplate'],_0x29cd35=new _0x24a6ac();_0x29cd35['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':[_0x29cd35,{'text':_0x8c903e['to']('imageUploadProgress',_0x45e24f=>t('Loading\x20image...')+'\x20('+(_0x45e24f||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 _0x37c888{constructor(_0x56e2e3){super(_0x56e2e3);const t=_0x56e2e3['t'];this['set']('errorType',null);const _0x518dc7=new _0x1c261d(_0x56e2e3);_0x518dc7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x518dc7['withText']=!0x0,_0x518dc7['class']='ck-button-action',_0x518dc7['on']('execute',()=>{this['fire']('retry');}),_0x518dc7['bind']('isVisible')['to'](this,'errorType',_0x4b0e2f=>'NotFound'!==_0x4b0e2f);const _0x4b64d3=new _0x24777d();_0x4b64d3['content']=_0x2e5658,_0x4b64d3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xbef177=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':[_0x4b64d3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xbef177['to']('errorType',_0x26aea7=>t('NotFound'!==_0x26aea7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x518dc7]},{'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 _0x37c888{constructor(_0x5a85c5,_0x23488a){super(_0x5a85c5);const _0x379788=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x23488a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x379788['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xe43843,_0x4d4ccf,_0x5890cf){super(_0xe43843),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xe43843),this['_errorView']=new ti(_0xe43843),this['_editingView']=new ei(_0xe43843,_0x5890cf),this['_focusableView']=new _0x37c888(_0xe43843),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4d4ccf),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'],_0x2c36b7=>{this['_addUploadcareImageEditorListeners'](_0x2c36b7);});}),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'](_0xec68c1,_0x49d950){const _0x39d0e4='uc-cloud-image-editor',_0xf6db8d=_0xec68c1['querySelector'](_0x39d0e4);if(_0xf6db8d)return _0x49d950(_0xf6db8d);const _0x28ce59=new MutationObserver(_0x2f5c37=>{const _0x39557e=_0x2f5c37['filter'](_0x1a8fc0=>_0x1a8fc0['target']===_0xec68c1&&_0x1a8fc0['addedNodes']['length']>0x0&&_0x1a8fc0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x39d0e4);_0x39557e['length']&&(_0x28ce59['disconnect'](),_0x49d950(_0x39557e[0x0]['addedNodes'][0x0]));});_0x28ce59['observe'](_0xec68c1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2ba89a){_0x2ba89a['addEventListener']('apply',_0x9b3278=>{this['fire']('apply',{'imageSrc':_0x9b3278['detail']['cdnUrl']});}),_0x2ba89a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x232d2f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d8caf,_0x17b460,_0x4d6159){super(),this['_editor']=_0x3d8caf,this['_dialog']=_0x17b460,this['_imageElement']=_0x4d6159,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 _0x29428f=this['_imageElement'],_0x3d178e=_0x29428f['getAttribute']('uploadcareImageId'),_0x8ae947=_0x29428f['getAttribute']('src');if(_0x3d178e)await this['_loadImageInfo'](_0x3d178e,_0x8ae947);else{if(this['_imageCache']['has'](_0x8ae947)){const _0x39726f=this['_imageCache']['get'](_0x8ae947);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x39726f['url'],this['imageDimension']=_0x39726f['dimension'],this['imageId']=_0x39726f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x30a5e4}=this['_editor'],t=_0x30a5e4['t'],_0x34cabb=new X(_0x30a5e4,this['imageStatus'],this['_attributes']);_0x34cabb['bind']('status')['to'](this,'imageStatus'),_0x34cabb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34cabb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34cabb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34cabb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3fe653,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34cabb,'position':_0x963131['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34cabb['focus']();},'onHide':()=>{_0x34cabb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5cf66c=>!A(_0x5cf66c,_0x34cabb['element'])}});}['_loadImageInfo'](_0x41ecee,_0x398623){return j['getInfo'](_0x41ecee,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x31514c=>{const {width:_0x95c4bc,height:_0x4cf888}=_0x31514c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x398623,this['imageDimension']={'width':_0x95c4bc,'height':_0x4cf888},this['imageId']=_0x41ecee;})['catch'](_0x301988=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x301988['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x512720,_0x1ad6d4){return this['_getImageAsFile'](_0x512720)['then'](_0x1b658d=>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':_0x1ad6d4['signal'],'file':_0x1b658d,'onProgress':_0x29caa0=>{_0x29caa0&&_0x29caa0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x29caa0['value']));}}))['then'](_0x4066a3=>{const {width:_0x1fb767,height:_0x2291ec}=_0x4066a3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4066a3['cdnUrl'],this['imageDimension']={'width':_0x1fb767,'height':_0x2291ec},this['imageId']=_0x4066a3['uuid'],this['imageUploadProgress']=null;const _0x4f1b5c=_0x512720['getAttribute']('src');this['_imageCache']['set'](_0x4f1b5c,{'id':_0x4066a3['uuid'],'url':_0x4066a3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3509d3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3509d3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x26ce9f,_0x5ed4c0){_0x26ce9f['on']('apply',(_0x6d2c3d,_0x592f73)=>{this['_replaceImage'](_0x5ed4c0,_0x592f73['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x26ce9f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x26ce9f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x328047,_0x24fb67,_0x434f7a){const _0x2522d8=this['_editor'],{width:_0x5d76e3,height:_0x301bb6}=S(_0x24fb67,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x49ca49,imageSources:_0x3b2f3c}=C(_0x24fb67,_0x5d76e3);_0x2522d8['model']['change'](_0x32f7be=>{if('$graveyard'===_0x328047['root']['rootName']){_0x2522d8['execute']('insertImage',{'imageType':_0x328047['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x328047['getAttributes']()),'uploadcareImageId':_0x434f7a,'src':_0x49ca49,'sources':_0x3b2f3c,'width':_0x5d76e3,'height':_0x301bb6}});const _0x1f07e9=_0x328047['getChildren']();_0x328047=_0x2522d8['model']['document']['selection']['getSelectedElement']();for(const _0x1e8afa of _0x1f07e9)_0x32f7be['append'](_0x32f7be['cloneElement'](_0x1e8afa),_0x328047);}else _0x32f7be['setSelection'](_0x328047,'on'),_0x2522d8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x328047['getAttributes']()),'uploadcareImageId':_0x434f7a,'src':_0x49ca49,'sources':_0x3b2f3c,'width':_0x5d76e3,'height':_0x301bb6},_0x328047);_0x32f7be['setSelection'](_0x328047,'on');});}async['_getImageAsFile'](_0x511164){const _0x1ef92a=_0x1ff7f8['window'],_0x4add4f=_0x1ff7f8['document']['location']['href'],_0x47b336=new _0x1ef92a['URL'](_0x511164['getAttribute']('src'),_0x4add4f);if('data:'===_0x47b336['protocol']){const _0x646382=_0x47b336['href']['split'](','),_0x205a7b=_0x646382[0x0]['match'](/:(.*?);/)[0x1],_0x4141a9=_0x205a7b['split']('/')[0x1],_0x17cee6=_0x1ef92a['atob'](_0x646382[_0x646382['length']-0x1]);let _0x4f914a=_0x17cee6['length'];const _0x536f55=new _0x1ef92a['Uint8Array'](_0x4f914a);for(;_0x4f914a--;)_0x536f55[_0x4f914a]=_0x17cee6['charCodeAt'](_0x4f914a);return new _0x1ef92a['File']([_0x536f55],'image.'+_0x4141a9,{'type':_0x205a7b});}const _0x4378d8=_0x47b336['href']['split']('/'),_0x5e1424=_0x4378d8[_0x4378d8['length']-0x1],_0x4d8701=_0x5e1424['split']('.')[0x1];return _0x1ef92a['fetch'](_0x47b336['href'])['then'](_0x3cf79a=>_0x3cf79a['clone']()['blob']())['then'](_0x1ad022=>new _0x1ef92a['File']([_0x1ad022],_0x5e1424,{'type':'image/'+_0x4d8701}));}}class O extends _0x2b80ae{['imageEditController'];static get['requires'](){return[_0x14d8f9];}['_isEditable'];constructor(_0x470676){super(_0x470676),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x582cf1){const _0x50a1b1=G(_0x582cf1);return _0x466498=>!(!_0x466498||!_0x466498['is']('element','imageBlock')&&!_0x466498['is']('element','imageInline'))&&(!!_0x466498['hasAttribute']('uploadcareImageId')||!!_0x466498['hasAttribute']('src')&&_0x50a1b1(_0x466498['getAttribute']('src')));}(_0x470676['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5e273c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5e273c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1a2148=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a2148&&(_0x1a2148['is']('element','imageBlock')||_0x1a2148['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x14d8f9),_0x1a2148),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2b80ae{['refresh'](){const _0x171a0a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x171a0a&&(_0x171a0a['is']('element','imageBlock')||_0x171a0a['is']('element','imageInline')));}['execute'](_0x27767c){const _0x3cd249=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x13fa4c=>{_0x13fa4c['setAttributes'](_0x27767c,_0x3cd249),_0x13fa4c['removeAttribute']('srcset',_0x3cd249),_0x13fa4c['removeAttribute']('sizes',_0x3cd249);});}}class m extends _0x5abfab{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x7c5aa5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53e9c8}=this;_0x53e9c8['commands']['add']('uploadcareImageEdit',new O(_0x53e9c8)),_0x53e9c8['commands']['add']('uploadcareImageReplace',new R(_0x53e9c8));}}class g extends _0x5abfab{['_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 _0x28930e=this['editor'];_0x28930e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f4338=>{const _0x3ce39b=_0x28930e['commands']['get']('uploadcareImageEdit'),_0x2a7dc2=new _0x1c261d(_0x5f4338),t=_0x5f4338['t'];return _0x2a7dc2['set']({'icon':_0x3fe653,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a7dc2['bind']('isEnabled')['to'](_0x3ce39b),_0x2a7dc2['bind']('isOn')['to'](_0x3ce39b,'isActive'),this['listenTo'](_0x2a7dc2,'execute',()=>{_0x28930e['execute']('uploadcareImageEdit'),_0x28930e['editing']['view']['focus']();}),_0x2a7dc2;}),this['_initConfig']();}['_initConfig'](){const _0x2cc6c9=_0x27a560(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2cc6c9),this['listenTo'](this['editor'],'destroy',()=>{_0x2cc6c9['remove']();});}}class et extends _0x5abfab{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 _0x54dfe8,Command as _0xe39ee5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x14d8cf,IconGooglePhotos as _0x3d1a27,IconGoogleDrive as _0x477afc,IconFacebook as _0x5908ee,IconDropbox as _0xa08ba,IconUploadcareLink as _0x2ed0d4,IconUploadcareImageUpload as _0x3eb178,IconError as _0x50190e,IconUploadcareImageEdit as _0x229863}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5daf73,MenuBarMenuListItemButtonView as _0x4c2bd6,View as _0x38dafa,FocusCycler as _0x38d5e1,Dialog as _0xecb4bf,DialogViewPosition as _0x3cd61b,SpinnerView as _0x17d711,IconView as _0x753a6,Notification as _0x18e121}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x48c647,DomEmitterMixin as _0x345c71,global as _0x23de26,getAncestors as _0x30a563,ObservableMixin as _0x5b1743,uid as _0x4b8245,createElement as _0x2c5601}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x59d10a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2d9894,info as _0x19efb0}from'@uploadcare/upload-client';import*as _0x399022 from'@uploadcare/file-uploader';var i=function(_0x52bfb9){return _0x52bfb9['Local']='local',_0x52bfb9['URL']='url',_0x52bfb9['Dropbox']='dropbox',_0x52bfb9['GDrive']='gdrive',_0x52bfb9['Facebook']='facebook',_0x52bfb9['GPhotos']='gphotos',_0x52bfb9['OneDrive']='onedrive',_0x52bfb9;}({});function _(_0x24227c,_0x576424,_0x49d7df){const t=_0x24227c['t'],_0xbe458b=_0x24227c['t'];switch(_0x576424){case i['Local']:return{'text':_0xbe458b('Insert'===_0x49d7df?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xbe458b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x49d7df?_0xbe458b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xbe458b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x49d7df?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x49d7df?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x49d7df?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x49d7df?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x49d7df?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x576424;}}class e extends _0x54dfe8{['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 _0x1975d6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ada67;for(const _0x33fada in _0x1975d6){const _0x1cf372=_0x33fada,_0x32e257=_0x1975d6[_0x1cf372];if('uploadcareLicenseKeyValid'==_0x32e257||'uploadcareLicenseKeyInvalid'==_0x32e257||'uploadcareLicenseKeyExpired'==_0x32e257||'uploadcareLicenseKeyDomainLimit'==_0x32e257||'uploadcareLicenseKeyNotAllowed'==_0x32e257||'uploadcareLicenseKeyEvaluationLimit'==_0x32e257||'uploadcareLicenseKeyTrialLimit'==_0x32e257||'uploadcareLicenseKeyUsageLimit'==_0x32e257){delete _0x1975d6[_0x1cf372],_0x1ada67=_0x32e257,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1ada67&&_0x1975d6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1ada67&&_0x1975d6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1ada67&&_0x1975d6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1ada67&&_0x1975d6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1ada67&&_0x1975d6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1ada67&&_0x1975d6['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1ada67&&_0x1975d6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x33ea25}=this,_0x2c91aa=_0x33ea25['commands']['get']('uploadcare');if(!_0x2c91aa)return;const _0x417ca2=this['_normalizeConfigSourceList'](_0x33ea25['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1779f1,_0x464b07)=>{const _0x4c7dc7=this['_getIntegrationKey'](_0x464b07['type']);return _0x1779f1[_0x4c7dc7]||(_0x1779f1[_0x4c7dc7]=[]),_0x1779f1[_0x4c7dc7]['push'](_0x464b07),_0x1779f1;},{});_0x33ea25['plugins']['has']('ImageInsertUI')&&_0x33ea25['commands']['get']('uploadcare')&&Object['entries'](_0x417ca2)['forEach'](([_0x111afd,_0x410024])=>{_0x33ea25['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x111afd,'observable':()=>_0x2c91aa,'buttonViewCreator':()=>this['_createToolbarButton'](_0x410024),'formViewCreator':()=>this['_createDropdownButtons'](_0x410024),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x410024),'override':'assetManager'!==_0x111afd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4c136a){const {locale:_0x54224d}=this['editor'];return _0x4c136a['map'](_0x1cf02b=>{const _0x93035a=_(_0x54224d,_0x1cf02b,'Insert');switch(_0x1cf02b){case i['Local']:return{'icon':_0x3eb178,'type':i['Local'],..._0x93035a};case i['URL']:return{'icon':_0x2ed0d4,'type':i['URL'],..._0x93035a};case i['Dropbox']:return{'icon':_0xa08ba,'type':i['Dropbox'],..._0x93035a};case i['Facebook']:return{'icon':_0x5908ee,'type':i['Facebook'],..._0x93035a};case i['GDrive']:return{'icon':_0x477afc,'type':i['GDrive'],..._0x93035a};case i['GPhotos']:return{'icon':_0x3d1a27,'type':i['GPhotos'],..._0x93035a};case i['OneDrive']:return{'icon':_0x14d8cf,'type':i['OneDrive'],..._0x93035a};}});}['_getIntegrationKey'](_0x32b4be){switch(_0x32b4be){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3c1e68,_0x54a6c9){const _0x488ea1=this['editor'],_0x21492c=new _0x3c1e68(_0x488ea1['locale']),_0x3adef4=_0x488ea1['commands']['get']('uploadcare');return _0x21492c['bind']('isEnabled')['to'](_0x3adef4),_0x21492c['on']('execute',()=>{_0x3adef4['execute'](_0x54a6c9);}),_0x21492c;}['_createToolbarButton'](_0x51a052){const {locale:_0x4a0c99}=this['editor'],_0x5ea590=this['editor']['plugins']['get']('ImageInsertUI'),_0x19efbd=_0x51a052[0x0],_0x256d06=this['_createButton'](_0x5daf73,_0x19efbd['type']);return _0x256d06['icon']=_0x19efbd['icon'],_0x256d06['bind']('label')['to'](_0x5ea590,'isImageSelected',_0x113d2e=>_(_0x4a0c99,_0x19efbd['type'],_0x113d2e?'Replace':'Insert')['text']),_0x256d06['tooltip']=!0x0,_0x256d06;}['_createDropdownButtons'](_0x4d5ee2){const {locale:_0x5766d5}=this['editor'],_0x3b3923=this['editor']['plugins']['get']('ImageInsertUI');return _0x4d5ee2['map'](_0x3a1856=>{const _0x18a054=this['_createButton'](_0x5daf73,_0x3a1856['type']);return _0x18a054['withText']=!0x0,_0x18a054['icon']=_0x3a1856['icon'],_0x18a054['bind']('label')['to'](_0x3b3923,'isImageSelected',_0x150b77=>_(_0x5766d5,_0x3a1856['type'],_0x150b77?'Replace':'Insert')['text']),_0x18a054;});}['_createMenuBarButtons'](_0x20528f){return _0x20528f['map'](_0x1d6ae3=>{const _0x32b454=this['_createButton'](_0x4c2bd6,_0x1d6ae3['type']);return _0x32b454['icon']=_0x1d6ae3['icon'],_0x32b454['label']=_0x1d6ae3['shortText'],_0x32b454;});}}class F extends _0x38dafa{['focusTracker'];['focusCycler'];constructor(_0x4d7539){super(_0x4d7539),this['focusTracker']=new _0x48c647(),this['focusCycler']=new _0x38d5e1({'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(_0x2ef828,_0x4ec642){super(_0x2ef828),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-'+_0x4ec642}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x29b913,_0x4564fb){const _0x192b6e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x420137=>_0x420137<=_0x4564fb)['map'](_0x2f06d6=>_0x29b913['replace'](/\/$/,'')+'/-/resize/'+_0x2f06d6+'x/\x20'+_0x2f06d6+'w');return{'imageFallbackUrl':_0x29b913,'imageSources':[{'srcset':_0x192b6e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4564fb+'px)\x20100vw,\x20'+_0x4564fb+'px','type':'image/webp'}]};}function S(_0x36e33e,_0x3a347e,_0x2f83e1){const _0x171266=_0x36e33e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x171266?parseInt(_0x171266[0x1],0xa):_0x3a347e,'height':_0x171266?parseInt(_0x171266[0x2],0xa):_0x2f83e1};}function p(_0x33131d,_0x32e360){const _0x33cd89=new(_0x345c71())(),_0x3b5e1c=_0x33131d['plugins']['get']('ImageUtils'),_0x2955ec=_0x33131d['editing']['mapper']['toViewElement'](_0x32e360),_0x20c21d=_0x3b5e1c['findViewImgElement'](_0x2955ec),_0x4ee50b=_0x33131d['editing']['view']['domConverter']['viewToDom'](_0x20c21d),_0x12672b=_0x32e360['getAttribute']('width'),_0x1e7b4c=_0x32e360['getAttribute']('height'),_0x31cf38='image-processing';_0x33131d['editing']['view']['change'](_0x2d0993=>{_0x2d0993['addClass'](_0x31cf38,_0x2955ec),_0x2d0993['setStyle']('aspect-ratio',_0x12672b+'/'+_0x1e7b4c,_0x20c21d);}),_0x33cd89['listenTo'](_0x4ee50b,'load',()=>{_0x33cd89['stopListening'](_0x4ee50b,'load'),_0x33131d['editing']['view']['change'](_0x24ef11=>{_0x24ef11['removeClass'](_0x31cf38,_0x2955ec),_0x24ef11['removeStyle']('aspect-ratio',_0x20c21d);});});}function G(_0x3023f3){if(Array['isArray'](_0x3023f3)){const _0x5d2f4a=_0x3023f3['map'](G);return _0x5bbfc3=>_0x5d2f4a['some'](_0x5262b0=>_0x5262b0(_0x5bbfc3));}if('origin'==_0x3023f3){const _0x41460a=_0x23de26['window']['location']['origin'];return _0x564a45=>new URL(_0x564a45,_0x23de26['document']['baseURI'])['origin']==_0x41460a;}return'function'==typeof _0x3023f3?_0x3023f3:_0x3023f3 instanceof RegExp?_0x497440=>!(!_0x497440['match'](_0x3023f3)&&!_0x497440['replace'](/^https?:\/\//,'')['match'](_0x3023f3)):()=>!0x1;}function A(_0x52ed86,_0x4c0857){return _0x30a563(_0x52ed86['target'])['includes'](_0x4c0857);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5b1743(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x142ccd,_0x21a567,_0x3d835e){super(),this['_editor']=_0x142ccd,this['_editing']=_0x21a567,this['_dialog']=_0x142ccd['plugins']['get'](_0xecb4bf),this['_api']=_0x21a567['ctxElement']['getAPI'](),this['_type']=_0x3d835e,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:_0x4a89b9,model:_0x1269ee}=this['_editor'],_0x5d1371=_0x1269ee['document']['selection']['getSelectedElement'](),_0x3a9862=_0x5d1371&&(_0x5d1371['is']('element','imageBlock')||_0x5d1371['is']('element','imageInline'));this['_formView']=new x(_0x4a89b9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3eb178,'title':_(_0x4a89b9,this['_type'],_0x3a9862?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3cd61b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1ccd97=>!A(_0x1ccd97,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x16214e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x44e3f2=>{const _0x32ed4e=_0x16214e['length'];for(const _0x21ff8c of _0x16214e){const _0x5ee9a2=_0x21ff8c===_0x16214e[_0x32ed4e-0x1],{cdnUrl:_0x158e5a,fileInfo:_0x55dd62}=_0x21ff8c;if(!_0x158e5a||!_0x55dd62)continue;const {width:_0x59f7f4,height:_0x1c9a20}=_0x55dd62['imageInfo'],_0x3b5bdd=S(_0x158e5a,_0x59f7f4,_0x1c9a20),_0x252667=C(_0x158e5a,_0x3b5bdd['width']),_0x231752={'id':_0x55dd62['uuid'],'type':'image','attributes':{'imageDimension':_0x3b5bdd,..._0x252667}};this['_insertAsset'](_0x231752,_0x5ee9a2,_0x44e3f2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xa72d7f=>{'idle'===_0xa72d7f['detail']['status']&&!_0xa72d7f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xd2b9f4,_0x143263,_0x12d557){const _0x7814fe=this['_editor']['model']['document']['selection'],_0x1620a1=_0x7814fe['getSelectedElement'](),_0x38cab9=!(!_0x1620a1||!_0x1620a1['is']('element','imageInline'));_0x12d557['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xd2b9f4,_0x38cab9),_0x143263||_0x12d557['setSelection'](_0x7814fe['getLastPosition']());}['_insertImage'](_0x68fcd,_0x2ff880){const _0x209831=this['_editor'],{imageDimension:_0xa85458,imageFallbackUrl:_0x3c2e5e,imageSources:_0x1399ce}=_0x68fcd['attributes'];_0x209831['execute']('insertImage',{'imageType':_0x2ff880?'imageInline':null,'source':{'uploadcareImageId':_0x68fcd['id'],'src':_0x3c2e5e,'sources':_0x1399ce,..._0xa85458}});}}class w extends _0xe39ee5{['_editing'];['_controller']=null;static get['requires'](){return[_0xecb4bf,o];}constructor(_0x2770cb){super(_0x2770cb),this['_editing']=_0x2770cb['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x353c91){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x353c91);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x27d681,..._0x30f4bd}){return _0x2d9894(_0x27d681,_0x30f4bd);}static['getInfo'](_0x26483b,_0x8335ef){return _0x19efb0(_0x26483b,_0x8335ef);}}class f extends _0x54dfe8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x59d10a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x440491=this['editor'];if(!!!_0x440491['config']['get']('uploadcare'))return;_0x440491['plugins']['get'](_0x59d10a)['createUploadAdapter']=_0x581e61=>new k(_0x581e61,_0x440491),_0x440491['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5806ad,{imageElement:_0x42637f,data:_0x3b29d3})=>{_0x440491['model']['change'](_0x4f3f1b=>{_0x4f3f1b['setAttribute']('uploadcareImageId',_0x3b29d3['uploadcareImageId'],_0x42637f);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x431be6,_0x4b3d53){this['loader']=_0x431be6,this['editor']=_0x4b3d53,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x458169=await this['loader']['file'];return j['upload']({'file':_0x458169,'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':_0x3751da=>{_0x3751da&&_0x3751da['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3751da['value']);}})['then'](async _0x5793a3=>{const {imageFallbackUrl:_0x21d365,imageSources:_0x19a2ee}=C(_0x5793a3['cdnUrl'],_0x5793a3['imageInfo']['width']);return{'uploadcareImageId':_0x5793a3['uuid'],'default':_0x21d365,'sources':_0x19a2ee};})['catch'](()=>{const _0x5b2afb=t('Cannot\x20upload\x20file:')+('\x20'+_0x458169['name']+'.');return Promise['reject'](_0x5b2afb);});}['abort'](){this['controller']['abort']();}}class o extends _0x54dfe8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xecb4bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x533459){super(_0x533459),this['ucContextId']=_0x4b8245();}['init'](){const _0x1079e2=this['editor'];_0x1079e2['commands']['add']('uploadcare',new w(_0x1079e2));}['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 _0x383e41=_0x23de26['document']['querySelector']('input[uploadcare-file-input]');_0x383e41&&_0x383e41['remove']();}),async function(_0x320c68){const _0x131dca=_0x401d7a([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]),_0x19e8f8=0x535f8c3a,_0x461fde=0x5358f142^_0x19e8f8,_0x41b751=window[_0x401d7a([0x44,0x61,0x74,0x65])][_0x401d7a([0x6e,0x6f,0x77])](),_0x31da21=_0x320c68[_0x401d7a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1af08f=new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30a267=>{_0x31da21[_0x401d7a([0x6f,0x6e,0x63,0x65])](_0x401d7a([0x72,0x65,0x61,0x64,0x79]),_0x30a267);}),_0x3d5696={[_0x401d7a([0x6b,0x74,0x79])]:_0x401d7a([0x45,0x43]),[_0x401d7a([0x75,0x73,0x65])]:_0x401d7a([0x73,0x69,0x67]),[_0x401d7a([0x63,0x72,0x76])]:_0x401d7a([0x50,0x2d,0x32,0x35,0x36]),[_0x401d7a([0x78])]:_0x401d7a([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]),[_0x401d7a([0x79])]:_0x401d7a([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]),[_0x401d7a([0x61,0x6c,0x67])]:_0x401d7a([0x45,0x53,0x32,0x35,0x36])},_0x2b6de7=_0x31da21[_0x401d7a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x401d7a([0x67,0x65,0x74])](_0x401d7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x150d50(){let _0x1610b8,_0x3d3659=null,_0x46065f=null;try{if(_0x2b6de7==_0x401d7a([0x47,0x50,0x4c]))return _0x401d7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1610b8=_0xa835b3(),!_0x1610b8)return _0x401d7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1610b8[_0x401d7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46065f=_0x261c11(_0x1610b8[_0x401d7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1610b8[_0x401d7a([0x6a,0x74,0x69])])),await _0x514d96()?_0x368fc4()?_0x20052e()?_0x401d7a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x509e7a()?(_0x1610b8[_0x401d7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401d7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d3659=_0x36d71e(_0x401d7a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1610b8[_0x401d7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401d7a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d3659=_0x36d71e(_0x401d7a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4eb0b0()):_0x401d7a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x401d7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x401d7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x401d7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20052e(){const _0x5a418d=[_0x401d7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x401d7a([0x74,0x72,0x69,0x61,0x6c])][_0x401d7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1610b8[_0x401d7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b751/0x3e8:0xe10*_0x461fde;return _0x1610b8[_0x401d7a([0x65,0x78,0x70])]<_0x5a418d;}function _0x368fc4(){const _0x45490d=_0x1610b8[_0x401d7a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45490d&&(!!_0x45490d[_0x401d7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401d7a([0x2a]))||!!_0x45490d[_0x401d7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401d7a([0x55,0x50,0x4c,0x43])));}function _0x509e7a(){const _0x521efe=_0x1610b8[_0x401d7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x521efe||0x0==_0x521efe[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d70ab}=new URL(window[_0x401d7a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x521efe[_0x401d7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d70ab))return!0x0;const _0x30b30b=_0x5d70ab[_0x401d7a([0x73,0x70,0x6c,0x69,0x74])](_0x401d7a([0x2e]));return _0x521efe[_0x401d7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fbe48=>_0x1fbe48[_0x401d7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401d7a([0x2a])))[_0x401d7a([0x6d,0x61,0x70])](_0x2ac949=>_0x2ac949[_0x401d7a([0x73,0x70,0x6c,0x69,0x74])](_0x401d7a([0x2e])))[_0x401d7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3be9d1=>_0x3be9d1[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30b30b[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401d7a([0x6d,0x61,0x70])](_0x4af17c=>Array(_0x30b30b[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4af17c[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401d7a([0x66,0x69,0x6c,0x6c])](_0x4af17c[0x0]===_0x401d7a([0x2a])?_0x401d7a([0x2a]):'')[_0x401d7a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4af17c))[_0x401d7a([0x73,0x6f,0x6d,0x65])](_0x185eae=>_0x30b30b[_0x401d7a([0x65,0x76,0x65,0x72,0x79])]((_0x28f770,_0x231288)=>_0x185eae[_0x231288]===_0x28f770||_0x185eae[_0x231288]===_0x401d7a([0x2a])));}function _0x4eb0b0(){return _0x3d3659&&_0x46065f?new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27a921,_0x182bdd)=>{_0x3d3659[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x27a921,_0x182bdd),_0x46065f[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x5774d2=>{_0x5774d2!=_0x401d7a([0x56,0x61,0x6c,0x69,0x64])&&_0x27a921(_0x5774d2);},_0x182bdd);}):_0x3d3659||_0x46065f||_0x401d7a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x261c11(_0x36386c,_0x2f666f){return new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6414f0=>{if(_0xb223b4())return _0x6414f0(_0x401d7a([0x56,0x61,0x6c,0x69,0x64]));_0x2d8c81(),_0x31da21[_0x401d7a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x401d7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23219b=!0x1;const _0x34529b=_0x4b8245();function _0x3e6e17(_0x3f866a){return!!_0x3f866a&&(typeof _0x3f866a===_0x401d7a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f866a===_0x401d7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f866a[_0x401d7a([0x74,0x68,0x65,0x6e])]===_0x401d7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f866a[_0x401d7a([0x63,0x61,0x74,0x63,0x68])]===_0x401d7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9d70ad(_0x1e620a){_0x58a1db(_0x1e620a)[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x510d75=>{if(!_0x510d75||_0x510d75[_0x401d7a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x401d7a([0x6f,0x6b]))return _0x401d7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eba83(_0x1d2c3b(_0x34529b+_0x2f666f))!=_0x510d75[_0x401d7a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x401d7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x401d7a([0x56,0x61,0x6c,0x69,0x64]);})[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x176b87=>(_0xc04eed(),_0x176b87),()=>{const _0x27016a=_0x2a2650();return null==_0x27016a?(_0xc04eed(),_0x401d7a([0x56,0x61,0x6c,0x69,0x64])):_0x401d7a(_0x41b751-_0x27016a>(0x7753083a^_0x19e8f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x6414f0)[_0x401d7a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6414f0(_0x401d7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5bac73=0x536962ba^_0x19e8f8;function _0xc04eed(){const _0x1956f1=_0x401d7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eba83(_0x1d2c3b(_0x36386c)),_0x43478b=_0xe692b3(_0x2eba83(window[_0x401d7a([0x4d,0x61,0x74,0x68])][_0x401d7a([0x63,0x65,0x69,0x6c])](_0x41b751/_0x5bac73)));window[_0x401d7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401d7a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1956f1,_0x43478b);}function _0x2a2650(){const _0x57be18=_0x401d7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eba83(_0x1d2c3b(_0x36386c)),_0x408078=window[_0x401d7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401d7a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57be18);return _0x408078?window[_0x401d7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe692b3(_0x408078),0x10)*_0x5bac73:null;}function _0x58a1db(_0xfceb87){return new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x288a6b,_0x5f37a6)=>{_0xfceb87[_0x401d7a([0x74,0x68,0x65,0x6e])](_0x288a6b,_0x5f37a6),window[_0x401d7a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f37a6,0x535e58fa^_0x19e8f8);});}}_0x31da21[_0x401d7a([0x6f,0x6e])](_0x401d7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x239b7b,_0x38b888)=>{if(_0x38b888[0x0]!=_0x36386c)return _0x6414f0(_0x401d7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38b888[0x1]={..._0x38b888[0x1],[_0x401d7a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34529b};},{[_0x401d7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401d7a([0x68,0x69,0x67,0x68])}),_0x31da21[_0x401d7a([0x6f,0x6e])](_0x401d7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27e315=>{_0x3e6e17(_0x27e315[_0x401d7a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23219b=!0x0,_0x9d70ad(_0x27e315[_0x401d7a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x401d7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401d7a([0x6c,0x6f,0x77])}),_0x1af08f[_0x401d7a([0x74,0x68,0x65,0x6e])](()=>{_0x23219b||_0x6414f0(_0x401d7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb223b4(){return _0x31da21[_0x401d7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401d7a([0x76,0x69,0x65,0x77])][_0x401d7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x401d7a([0x61,0x75,0x74,0x6f]);}function _0x2d8c81(){_0x31da21[_0x401d7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401d7a([0x76,0x69,0x65,0x77])][_0x401d7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x401d7a([0x61,0x75,0x74,0x6f]);}}function _0x36d71e(_0x356b10){const _0x11ab53=[new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290702=>setTimeout(_0x290702,0x5356b2f6^_0x19e8f8)),_0x1af08f[_0x401d7a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e95ed=>{let _0x3f8335=0x0;_0x31da21[_0x401d7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x401d7a([0x6f,0x6e])](_0x401d7a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x481acc,_0x206280)=>{_0x206280[0x0][_0x401d7a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f8335++,_0x3f8335==(0x535f89d2^_0x19e8f8)&&(_0x4e95ed(),_0x481acc[_0x401d7a([0x6f,0x66,0x66])]());});}))];return window[_0x401d7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x401d7a([0x72,0x61,0x63,0x65])](_0x11ab53)[_0x401d7a([0x74,0x68,0x65,0x6e])](()=>_0x356b10);}async function _0x57056b(){await _0x1af08f,_0x31da21[_0x401d7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x401d7a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cd0c6,_0x31da21[_0x401d7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x401d7a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cd0c6,_0x31da21[_0x401d7a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x401d7a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f605f(_0x1dc4f7){const _0x1dab3e=_0x22398c();_0x31da21[_0x1dab3e]=_0x401d7a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dc4f7,_0x1dc4f7!=_0x401d7a([0x56,0x61,0x6c,0x69,0x64])&&_0x57056b();}function _0x22398c(){const _0x1db958=window[_0x401d7a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x401d7a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x401d7a([0x6e,0x6f,0x77])]())[_0x401d7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x401d7a([0x2e]),'');let _0x20218f=_0x401d7a([0x68]);for(let _0x51fa79=0x0;_0x51fa79<_0x1db958[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51fa79+=0x2){let _0x27b413=window[_0x401d7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1db958[_0x401d7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51fa79,_0x51fa79+0x2));_0x27b413>=_0x131dca[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27b413-=_0x131dca[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20218f+=_0x131dca[_0x27b413];}return _0x20218f;}function _0xa835b3(){const _0x52cfcc=_0x2b6de7[_0x401d7a([0x73,0x70,0x6c,0x69,0x74])](_0x401d7a([0x2e]));if(0x3!=_0x52cfcc[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cb46c(_0x52cfcc[0x1]);function _0x5cb46c(_0x2f85e0){const _0x208157=_0x665c96(_0x2f85e0);return _0x208157&&_0x23c332()?_0x208157:null;function _0x23c332(){const _0x4d015f=_0x208157[_0x401d7a([0x6a,0x74,0x69])],_0x6f0d8=window[_0x401d7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d015f[_0x401d7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d015f[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5aa673={..._0x208157,[_0x401d7a([0x6a,0x74,0x69])]:_0x4d015f[_0x401d7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d015f[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5aa673[_0x401d7a([0x76,0x63])],_0x1d2c3b(_0x5aa673)==_0x6f0d8;}}}async function _0x514d96(){let _0x118a3e=!0x0;try{const _0x987b5f=_0x2b6de7[_0x401d7a([0x73,0x70,0x6c,0x69,0x74])](_0x401d7a([0x2e])),[_0x103d94,_0x32b8fd,_0x4a5648]=_0x987b5f;return _0x91ed21(_0x103d94),await _0x2640ff(_0x103d94,_0x32b8fd,_0x4a5648),_0x118a3e;}catch{return!0x1;}function _0x91ed21(_0x22b495){const _0x2ee5e7=_0x665c96(_0x22b495);_0x2ee5e7&&_0x2ee5e7[_0x401d7a([0x61,0x6c,0x67])]==_0x401d7a([0x45,0x53,0x32,0x35,0x36])||(_0x118a3e=!0x1);}async function _0x2640ff(_0x357465,_0x470ae0,_0x3ed9fc){const _0x47019d=window[_0x401d7a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x401d7a([0x66,0x72,0x6f,0x6d])](_0x2dfc8c(_0x3ed9fc),_0x18b460=>_0x18b460[_0x401d7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b4dc7=new window[(_0x401d7a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x401d7a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x357465+_0x401d7a([0x2e])+_0x470ae0),_0x4604d3=window[_0x401d7a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x401d7a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4604d3)return;const _0x125794=await _0x4604d3[_0x401d7a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x401d7a([0x6a,0x77,0x6b]),_0x3d5696,{[_0x401d7a([0x6e,0x61,0x6d,0x65])]:_0x401d7a([0x45,0x43,0x44,0x53,0x41]),[_0x401d7a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x401d7a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x401d7a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4604d3[_0x401d7a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x401d7a([0x6e,0x61,0x6d,0x65])]:_0x401d7a([0x45,0x43,0x44,0x53,0x41]),[_0x401d7a([0x68,0x61,0x73,0x68])]:{[_0x401d7a([0x6e,0x61,0x6d,0x65])]:_0x401d7a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x125794,_0x47019d,_0x1b4dc7)||(_0x118a3e=!0x1);}}function _0x665c96(_0x567da3){return _0x567da3[_0x401d7a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x401d7a([0x65,0x79]))?JSON[_0x401d7a([0x70,0x61,0x72,0x73,0x65])](_0x2dfc8c(_0x567da3)):null;}function _0x2dfc8c(_0x1adac6){return window[_0x401d7a([0x61,0x74,0x6f,0x62])](_0x1adac6[_0x401d7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x401d7a([0x2b]))[_0x401d7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x401d7a([0x2f])));}function _0x1d2c3b(_0x3ac613){let _0x22a512=0x1505;function _0x2ca7e4(_0x24d0e6){for(let _0x33742e=0x0;_0x33742e<_0x24d0e6[_0x401d7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33742e++){const _0x475e80=_0x24d0e6[_0x401d7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33742e);_0x22a512=(_0x22a512<<0x5)+_0x22a512+_0x475e80,_0x22a512&=_0x22a512;}}function _0x3c73aa(_0x4d39c5){Array[_0x401d7a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d39c5)?_0x4d39c5[_0x401d7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c73aa):_0x4d39c5&&typeof _0x4d39c5==_0x401d7a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x401d7a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d39c5)[_0x401d7a([0x73,0x6f,0x72,0x74])]()[_0x401d7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30c458,_0x3e4575])=>{_0x2ca7e4(_0x30c458),_0x3c73aa(_0x3e4575);}):_0x2ca7e4(window[_0x401d7a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d39c5));}return _0x3c73aa(_0x3ac613),_0x22a512>>>0x0;}function _0x2eba83(_0x319413){return _0x319413[_0x401d7a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x401d7a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x401d7a([0x30]));}function _0xe692b3(_0x225b49){return _0x225b49[_0x401d7a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x401d7a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x401d7a([0x6a,0x6f,0x69,0x6e])]('');}function _0x5cd0c6(){}function _0x401d7a(_0x1fe08e){return _0x1fe08e['map'](_0x141d92=>String['fromCharCode'](_0x141d92))['join']('');}_0x4f605f(await _0x150d50());}(this);}['_initSchema'](){const _0x599f08=this['editor']['model']['schema'];_0x599f08['isRegistered']('imageBlock')&&_0x599f08['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x599f08['isRegistered']('imageInline')&&_0x599f08['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x416703=this['editor'];_0x416703['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x416703['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2538e0=>_0x2538e0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39df73=_0x416703['commands']['get']('replaceImageSource');_0x39df73&&this['listenTo'](_0x39df73,'cleanupImage',(_0x53ac61,[_0x524cf0,_0x5ee384])=>{_0x524cf0['removeAttribute']('uploadcareImageId',_0x5ee384);});}['_initConfig'](){const _0x395968=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3b9528=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2c5601(_0x23de26['document'],'uc-config',{..._0x395968,'pubkey':_0x3b9528,'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']=_0x2bc301=>{if('closeMax'==_0x2bc301)return'#uc-icon-arrow-down';},_0x23de26['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2c5601(_0x23de26['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x23de26['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3743d6=this['editor']['commands']['get']('insertImage');_0x3743d6&&this['listenTo'](_0x3743d6,'execute',()=>{const _0x3d7ce9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d7ce9&&_0x3d7ce9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d7ce9);});});const _0x5f258e=this['editor']['commands']['get']('uploadcareImageReplace');_0x5f258e&&this['listenTo'](_0x5f258e,'execute',()=>{const _0xe11ec1=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe11ec1&&_0xe11ec1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xe11ec1);});});}}class tt extends _0x54dfe8{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x272f67){super(_0x272f67),_0x272f67['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x399022['defineComponents'](_0x399022),this['_defineLocale']();}['_defineLocale'](){const _0x31585e=this['editor']['config']['get']('uploadcare.locale'),_0x7a8756=this['editor']['locale']['contentLanguage'];_0x31585e&&_0x399022['defineLocale'](_0x7a8756,_0x31585e);}}class ii extends _0x38dafa{constructor(_0x25559c){super(_0x25559c);const t=_0x25559c['t'],_0x286ca0=this['bindTemplate'],_0x593ba6=new _0x17d711();_0x593ba6['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':[_0x593ba6,{'text':_0x286ca0['to']('imageUploadProgress',_0x5a6834=>t('Loading\x20image...')+'\x20('+(_0x5a6834||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 _0x38dafa{constructor(_0x617d27){super(_0x617d27);const t=_0x617d27['t'];this['set']('errorType',null);const _0x141d42=new _0x5daf73(_0x617d27);_0x141d42['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x141d42['withText']=!0x0,_0x141d42['class']='ck-button-action',_0x141d42['on']('execute',()=>{this['fire']('retry');}),_0x141d42['bind']('isVisible')['to'](this,'errorType',_0x3569be=>'NotFound'!==_0x3569be);const _0x4ef691=new _0x753a6();_0x4ef691['content']=_0x50190e,_0x4ef691['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1da6be=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':[_0x4ef691,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1da6be['to']('errorType',_0xe849b2=>t('NotFound'!==_0xe849b2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x141d42]},{'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 _0x38dafa{constructor(_0x2bd78a,_0x4b9294){super(_0x2bd78a);const _0x55b499=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4b9294,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x55b499['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x9245a5,_0x3bac20,_0x48140e){super(_0x9245a5),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x9245a5),this['_errorView']=new ti(_0x9245a5),this['_editingView']=new ei(_0x9245a5,_0x48140e),this['_focusableView']=new _0x38dafa(_0x9245a5),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3bac20),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'],_0x398dba=>{this['_addUploadcareImageEditorListeners'](_0x398dba);});}),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'](_0xd24f48,_0x7730c6){const _0x19fd51='uc-cloud-image-editor',_0x21273c=_0xd24f48['querySelector'](_0x19fd51);if(_0x21273c)return _0x7730c6(_0x21273c);const _0x3809b9=new MutationObserver(_0x5a9c6b=>{const _0x295233=_0x5a9c6b['filter'](_0x5554d2=>_0x5554d2['target']===_0xd24f48&&_0x5554d2['addedNodes']['length']>0x0&&_0x5554d2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x19fd51);_0x295233['length']&&(_0x3809b9['disconnect'](),_0x7730c6(_0x295233[0x0]['addedNodes'][0x0]));});_0x3809b9['observe'](_0xd24f48,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3628ab){_0x3628ab['addEventListener']('apply',_0x5a8606=>{this['fire']('apply',{'imageSrc':_0x5a8606['detail']['cdnUrl']});}),_0x3628ab['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5b1743(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1433e9,_0x52f128,_0x2ff2b0){super(),this['_editor']=_0x1433e9,this['_dialog']=_0x52f128,this['_imageElement']=_0x2ff2b0,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 _0x20d5c2=this['_imageElement'],_0x54bcdd=_0x20d5c2['getAttribute']('uploadcareImageId'),_0x558dd8=_0x20d5c2['getAttribute']('src');if(_0x54bcdd)await this['_loadImageInfo'](_0x54bcdd,_0x558dd8);else{if(this['_imageCache']['has'](_0x558dd8)){const _0x437bc1=this['_imageCache']['get'](_0x558dd8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x437bc1['url'],this['imageDimension']=_0x437bc1['dimension'],this['imageId']=_0x437bc1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x43e2cc}=this['_editor'],t=_0x43e2cc['t'],_0x1a5850=new X(_0x43e2cc,this['imageStatus'],this['_attributes']);_0x1a5850['bind']('status')['to'](this,'imageStatus'),_0x1a5850['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a5850['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a5850['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a5850,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x229863,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a5850,'position':_0x3cd61b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a5850['focus']();},'onHide':()=>{_0x1a5850['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xf8b1d0=>!A(_0xf8b1d0,_0x1a5850['element'])}});}['_loadImageInfo'](_0x40fadd,_0x5ae691){return j['getInfo'](_0x40fadd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4f9011=>{const {width:_0x28da4f,height:_0xc281e0}=_0x4f9011['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ae691,this['imageDimension']={'width':_0x28da4f,'height':_0xc281e0},this['imageId']=_0x40fadd;})['catch'](_0x24ce00=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24ce00['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x49a662,_0x4934cb){return this['_getImageAsFile'](_0x49a662)['then'](_0x511196=>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':_0x4934cb['signal'],'file':_0x511196,'onProgress':_0x79d5b6=>{_0x79d5b6&&_0x79d5b6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x79d5b6['value']));}}))['then'](_0x7d93b9=>{const {width:_0x47aa52,height:_0x4fb6d7}=_0x7d93b9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7d93b9['cdnUrl'],this['imageDimension']={'width':_0x47aa52,'height':_0x4fb6d7},this['imageId']=_0x7d93b9['uuid'],this['imageUploadProgress']=null;const _0x525c66=_0x49a662['getAttribute']('src');this['_imageCache']['set'](_0x525c66,{'id':_0x7d93b9['uuid'],'url':_0x7d93b9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x11a3f0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x11a3f0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38bb17,_0x2678a0){_0x38bb17['on']('apply',(_0x5a23ed,_0x40a6a7)=>{this['_replaceImage'](_0x2678a0,_0x40a6a7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38bb17['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38bb17['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5366f4,_0x475f33,_0x45d75e){const _0xfc24dc=this['_editor'],{width:_0x472dd6,height:_0x308b52}=S(_0x475f33,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x119c95,imageSources:_0x4de0d4}=C(_0x475f33,_0x472dd6);_0xfc24dc['model']['change'](_0x2a7ae0=>{if('$graveyard'===_0x5366f4['root']['rootName']){_0xfc24dc['execute']('insertImage',{'imageType':_0x5366f4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5366f4['getAttributes']()),'uploadcareImageId':_0x45d75e,'src':_0x119c95,'sources':_0x4de0d4,'width':_0x472dd6,'height':_0x308b52}});const _0x157892=_0x5366f4['getChildren']();_0x5366f4=_0xfc24dc['model']['document']['selection']['getSelectedElement']();for(const _0x26a747 of _0x157892)_0x2a7ae0['append'](_0x2a7ae0['cloneElement'](_0x26a747),_0x5366f4);}else _0x2a7ae0['setSelection'](_0x5366f4,'on'),_0xfc24dc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5366f4['getAttributes']()),'uploadcareImageId':_0x45d75e,'src':_0x119c95,'sources':_0x4de0d4,'width':_0x472dd6,'height':_0x308b52},_0x5366f4);_0x2a7ae0['setSelection'](_0x5366f4,'on');});}async['_getImageAsFile'](_0x3a1545){const _0x4ae688=_0x23de26['window'],_0x91255d=_0x23de26['document']['location']['href'],_0x4cd1f9=new _0x4ae688['URL'](_0x3a1545['getAttribute']('src'),_0x91255d);if('data:'===_0x4cd1f9['protocol']){const _0x3852e9=_0x4cd1f9['href']['split'](','),_0xf07bba=_0x3852e9[0x0]['match'](/:(.*?);/)[0x1],_0x21e2e5=_0xf07bba['split']('/')[0x1],_0x19f677=_0x4ae688['atob'](_0x3852e9[_0x3852e9['length']-0x1]);let _0x231b90=_0x19f677['length'];const _0x5ae200=new _0x4ae688['Uint8Array'](_0x231b90);for(;_0x231b90--;)_0x5ae200[_0x231b90]=_0x19f677['charCodeAt'](_0x231b90);return new _0x4ae688['File']([_0x5ae200],'image.'+_0x21e2e5,{'type':_0xf07bba});}const _0x3f0b5f=_0x4cd1f9['href']['split']('/'),_0x315ee8=_0x3f0b5f[_0x3f0b5f['length']-0x1],_0x4620de=_0x315ee8['split']('.')[0x1];return _0x4ae688['fetch'](_0x4cd1f9['href'])['then'](_0x56d709=>_0x56d709['clone']()['blob']())['then'](_0x131680=>new _0x4ae688['File']([_0x131680],_0x315ee8,{'type':'image/'+_0x4620de}));}}class O extends _0xe39ee5{['imageEditController'];static get['requires'](){return[_0xecb4bf];}['_isEditable'];constructor(_0x17ede5){super(_0x17ede5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x19a2c2){const _0x4a2beb=G(_0x19a2c2);return _0x1dfc7f=>!(!_0x1dfc7f||!_0x1dfc7f['is']('element','imageBlock')&&!_0x1dfc7f['is']('element','imageInline'))&&(!!_0x1dfc7f['hasAttribute']('uploadcareImageId')||!!_0x1dfc7f['hasAttribute']('src')&&_0x4a2beb(_0x1dfc7f['getAttribute']('src')));}(_0x17ede5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x24e691=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x24e691);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3dc457=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3dc457&&(_0x3dc457['is']('element','imageBlock')||_0x3dc457['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xecb4bf),_0x3dc457),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xe39ee5{['refresh'](){const _0x418f11=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x418f11&&(_0x418f11['is']('element','imageBlock')||_0x418f11['is']('element','imageInline')));}['execute'](_0x5a0c3c){const _0x186463=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3b6e09=>{_0x3b6e09['setAttributes'](_0x5a0c3c,_0x186463),_0x3b6e09['removeAttribute']('srcset',_0x186463),_0x3b6e09['removeAttribute']('sizes',_0x186463);});}}class m extends _0x54dfe8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x18e121,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x371d35}=this;_0x371d35['commands']['add']('uploadcareImageEdit',new O(_0x371d35)),_0x371d35['commands']['add']('uploadcareImageReplace',new R(_0x371d35));}}class g extends _0x54dfe8{['_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 _0x1ef73f=this['editor'];_0x1ef73f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x55da90=>{const _0x4447ae=_0x1ef73f['commands']['get']('uploadcareImageEdit'),_0x2dc067=new _0x5daf73(_0x55da90),t=_0x55da90['t'];return _0x2dc067['set']({'icon':_0x229863,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2dc067['bind']('isEnabled')['to'](_0x4447ae),_0x2dc067['bind']('isOn')['to'](_0x4447ae,'isActive'),this['listenTo'](_0x2dc067,'execute',()=>{_0x1ef73f['execute']('uploadcareImageEdit'),_0x1ef73f['editing']['view']['focus']();}),_0x2dc067;}),this['_initConfig']();}['_initConfig'](){const _0x5d8dda=_0x2c5601(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d8dda),this['listenTo'](this['editor'],'destroy',()=>{_0x5d8dda['remove']();});}}class et extends _0x54dfe8{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x12a3b4=>0x1!=_0x12a3b4}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1a8e33=>0x1!=_0x1a8e33}};
@@ -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
+ (_0x3006e4=>{const {af:{dictionary:_0x44b4e4,getPluralForm:_0x40118e}}={'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':_0x4aa8fe=>0x1!=_0x4aa8fe}};_0x3006e4['af']||={'dictionary':{},'getPluralForm':null},_0x3006e4['af']['dictionary']=Object['assign'](_0x3006e4['af']['dictionary'],_0x44b4e4),_0x3006e4['af']['getPluralForm']=_0x40118e;})(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':_0x47bf01=>0x0==_0x47bf01?0x0:0x1==_0x47bf01?0x1:0x2==_0x47bf01?0x2:_0x47bf01%0x64>=0x3&&_0x47bf01%0x64<=0xa?0x3:_0x47bf01%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
+ (_0x3b29d2=>{const {ar:{dictionary:_0xa8ddf6,getPluralForm:_0x5a7574}}={'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':_0xcb0c25=>0x0==_0xcb0c25?0x0:0x1==_0xcb0c25?0x1:0x2==_0xcb0c25?0x2:_0xcb0c25%0x64>=0x3&&_0xcb0c25%0x64<=0xa?0x3:_0xcb0c25%0x64>=0xb?0x4:0x5}};_0x3b29d2['ar']||={'dictionary':{},'getPluralForm':null},_0x3b29d2['ar']['dictionary']=Object['assign'](_0x3b29d2['ar']['dictionary'],_0xa8ddf6),_0x3b29d2['ar']['getPluralForm']=_0x5a7574;})(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':_0x38d21e=>0x1!=_0x38d21e}};
@@ -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
+ (_0x36651c=>{const {ast:{dictionary:_0x4cf5db,getPluralForm:_0x1874c2}}={'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':_0x339afc=>0x1!=_0x339afc}};_0x36651c['ast']||={'dictionary':{},'getPluralForm':null},_0x36651c['ast']['dictionary']=Object['assign'](_0x36651c['ast']['dictionary'],_0x4cf5db),_0x36651c['ast']['getPluralForm']=_0x1874c2;})(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':_0x18c952=>0x1!=_0x18c952}};
@@ -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
+ (_0x51c67a=>{const {az:{dictionary:_0x1acd62,getPluralForm:_0x170eea}}={'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':_0x216a25=>0x1!=_0x216a25}};_0x51c67a['az']||={'dictionary':{},'getPluralForm':null},_0x51c67a['az']['dictionary']=Object['assign'](_0x51c67a['az']['dictionary'],_0x1acd62),_0x51c67a['az']['getPluralForm']=_0x170eea;})(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':_0x3a9b29=>_0x3a9b29%0xa==0x1&&_0x3a9b29%0x64!=0xb?0x0:_0x3a9b29%0xa>=0x2&&_0x3a9b29%0xa<=0x4&&(_0x3a9b29%0x64<0xa||_0x3a9b29%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
+ (_0x14cdfe=>{const {be:{dictionary:_0x36b75d,getPluralForm:_0x30901c}}={'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':_0x5296dc=>_0x5296dc%0xa==0x1&&_0x5296dc%0x64!=0xb?0x0:_0x5296dc%0xa>=0x2&&_0x5296dc%0xa<=0x4&&(_0x5296dc%0x64<0xa||_0x5296dc%0x64>=0x14)?0x1:0x2}};_0x14cdfe['be']||={'dictionary':{},'getPluralForm':null},_0x14cdfe['be']['dictionary']=Object['assign'](_0x14cdfe['be']['dictionary'],_0x36b75d),_0x14cdfe['be']['getPluralForm']=_0x30901c;})(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':_0xda385d=>0x1!=_0xda385d}};
@@ -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
+ (_0x4ad982=>{const {bg:{dictionary:_0x5de482,getPluralForm:_0x16924e}}={'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':_0xc08470=>0x1!=_0xc08470}};_0x4ad982['bg']||={'dictionary':{},'getPluralForm':null},_0x4ad982['bg']['dictionary']=Object['assign'](_0x4ad982['bg']['dictionary'],_0x5de482),_0x4ad982['bg']['getPluralForm']=_0x16924e;})(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':_0x3a6b09=>0x1!=_0x3a6b09}};
@@ -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
+ (_0x290080=>{const {bn:{dictionary:_0x5ee633,getPluralForm:_0x5543bd}}={'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':_0x1f28b6=>0x1!=_0x1f28b6}};_0x290080['bn']||={'dictionary':{},'getPluralForm':null},_0x290080['bn']['dictionary']=Object['assign'](_0x290080['bn']['dictionary'],_0x5ee633),_0x290080['bn']['getPluralForm']=_0x5543bd;})(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':_0xfef60e=>_0xfef60e%0xa==0x1&&_0xfef60e%0x64!=0xb?0x0:_0xfef60e%0xa>=0x2&&_0xfef60e%0xa<=0x4&&(_0xfef60e%0x64<0xa||_0xfef60e%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
+ (_0x5ef93f=>{const {bs:{dictionary:_0x5116b3,getPluralForm:_0x3c625f}}={'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':_0x301c3c=>_0x301c3c%0xa==0x1&&_0x301c3c%0x64!=0xb?0x0:_0x301c3c%0xa>=0x2&&_0x301c3c%0xa<=0x4&&(_0x301c3c%0x64<0xa||_0x301c3c%0x64>=0x14)?0x1:0x2}};_0x5ef93f['bs']||={'dictionary':{},'getPluralForm':null},_0x5ef93f['bs']['dictionary']=Object['assign'](_0x5ef93f['bs']['dictionary'],_0x5116b3),_0x5ef93f['bs']['getPluralForm']=_0x3c625f;})(window['CKEDITOR_TRANSLATIONS']||={});