@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251210.0 → 0.0.0-internal-20251218.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 _0x329bae,Command as _0x20b5ee}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x131f66,IconGooglePhotos as _0x3e201d,IconGoogleDrive as _0x1a17a0,IconFacebook as _0x498d1b,IconDropbox as _0x492e6b,IconUploadcareLink as _0x53147d,IconUploadcareImageUpload as _0x13ae20,IconError as _0x418b23,IconUploadcareImageEdit as _0x227974}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3276d3,MenuBarMenuListItemButtonView as _0x38b804,View as _0x5293a8,FocusCycler as _0x5d25fe,Dialog as _0x4de77a,DialogViewPosition as _0x5da77f,SpinnerView as _0x429b12,IconView as _0x3609df,Notification as _0x1b8796}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x553d55,DomEmitterMixin as _0x469110,global as _0x3b0030,getAncestors as _0x433f6d,ObservableMixin as _0x484df6,uid as _0x135ee9,createElement as _0x4e2172}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x400795}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4a8354,info as _0x3fd26e}from'@uploadcare/upload-client';import*as _0x5520b4 from'@uploadcare/file-uploader';var i=function(_0x48e391){return _0x48e391['Local']='local',_0x48e391['URL']='url',_0x48e391['Dropbox']='dropbox',_0x48e391['GDrive']='gdrive',_0x48e391['Facebook']='facebook',_0x48e391['GPhotos']='gphotos',_0x48e391['OneDrive']='onedrive',_0x48e391;}({});function _(_0x573d0c,_0x4e03e6,_0x329ed7){const t=_0x573d0c['t'],_0x3b2dab=_0x573d0c['t'];switch(_0x4e03e6){case i['Local']:return{'text':_0x3b2dab('Insert'===_0x329ed7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b2dab('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x329ed7?_0x3b2dab('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b2dab('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4e03e6;}}class e extends _0x329bae{['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 _0x5a4d45=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fa5ee;for(const _0x264049 in _0x5a4d45){const _0x40b485=_0x264049,_0x343aa0=_0x5a4d45[_0x40b485];if('uploadcareLicenseKeyValid'==_0x343aa0||'uploadcareLicenseKeyInvalid'==_0x343aa0||'uploadcareLicenseKeyExpired'==_0x343aa0||'uploadcareLicenseKeyDomainLimit'==_0x343aa0||'uploadcareLicenseKeyNotAllowed'==_0x343aa0||'uploadcareLicenseKeyEvaluationLimit'==_0x343aa0||'uploadcareLicenseKeyTrialLimit'==_0x343aa0||'uploadcareLicenseKeyUsageLimit'==_0x343aa0){delete _0x5a4d45[_0x40b485],_0x1fa5ee=_0x343aa0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1a1c82}=this,_0x3a283c=_0x1a1c82['commands']['get']('uploadcare');if(!_0x3a283c)return;const _0x1678d4=this['_normalizeConfigSourceList'](_0x1a1c82['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x885eb9,_0x366a5d)=>{const _0x54840d=this['_getIntegrationKey'](_0x366a5d['type']);return _0x885eb9[_0x54840d]||(_0x885eb9[_0x54840d]=[]),_0x885eb9[_0x54840d]['push'](_0x366a5d),_0x885eb9;},{});_0x1a1c82['plugins']['has']('ImageInsertUI')&&_0x1a1c82['commands']['get']('uploadcare')&&Object['entries'](_0x1678d4)['forEach'](([_0xa75991,_0x5bbd9d])=>{_0x1a1c82['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xa75991,'observable':()=>_0x3a283c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5bbd9d),'formViewCreator':()=>this['_createDropdownButtons'](_0x5bbd9d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5bbd9d),'override':'assetManager'!==_0xa75991});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3e9f5b){const {locale:_0x446d0f}=this['editor'];return _0x3e9f5b['map'](_0x10a6b9=>{const _0x48ec93=_(_0x446d0f,_0x10a6b9,'Insert');switch(_0x10a6b9){case i['Local']:return{'icon':_0x13ae20,'type':i['Local'],..._0x48ec93};case i['URL']:return{'icon':_0x53147d,'type':i['URL'],..._0x48ec93};case i['Dropbox']:return{'icon':_0x492e6b,'type':i['Dropbox'],..._0x48ec93};case i['Facebook']:return{'icon':_0x498d1b,'type':i['Facebook'],..._0x48ec93};case i['GDrive']:return{'icon':_0x1a17a0,'type':i['GDrive'],..._0x48ec93};case i['GPhotos']:return{'icon':_0x3e201d,'type':i['GPhotos'],..._0x48ec93};case i['OneDrive']:return{'icon':_0x131f66,'type':i['OneDrive'],..._0x48ec93};}});}['_getIntegrationKey'](_0xb4560b){switch(_0xb4560b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1d19b3,_0x4de118){const _0x2829cb=this['editor'],_0x56d6e8=new _0x1d19b3(_0x2829cb['locale']),_0x5f568f=_0x2829cb['commands']['get']('uploadcare');return _0x56d6e8['bind']('isEnabled')['to'](_0x5f568f),_0x56d6e8['on']('execute',()=>{_0x5f568f['execute'](_0x4de118);}),_0x56d6e8;}['_createToolbarButton'](_0x2d0e3c){const {locale:_0x4edcf4}=this['editor'],_0x4be1fe=this['editor']['plugins']['get']('ImageInsertUI'),_0x2be78e=_0x2d0e3c[0x0],_0x1dd4ef=this['_createButton'](_0x3276d3,_0x2be78e['type']);return _0x1dd4ef['icon']=_0x2be78e['icon'],_0x1dd4ef['bind']('label')['to'](_0x4be1fe,'isImageSelected',_0x46be36=>_(_0x4edcf4,_0x2be78e['type'],_0x46be36?'Replace':'Insert')['text']),_0x1dd4ef['tooltip']=!0x0,_0x1dd4ef;}['_createDropdownButtons'](_0x1f7793){const {locale:_0x5df376}=this['editor'],_0x43fa11=this['editor']['plugins']['get']('ImageInsertUI');return _0x1f7793['map'](_0x1a36f0=>{const _0x1ba44b=this['_createButton'](_0x3276d3,_0x1a36f0['type']);return _0x1ba44b['withText']=!0x0,_0x1ba44b['icon']=_0x1a36f0['icon'],_0x1ba44b['bind']('label')['to'](_0x43fa11,'isImageSelected',_0x63e81a=>_(_0x5df376,_0x1a36f0['type'],_0x63e81a?'Replace':'Insert')['text']),_0x1ba44b;});}['_createMenuBarButtons'](_0x46ff25){return _0x46ff25['map'](_0x20acfe=>{const _0x2bbbde=this['_createButton'](_0x38b804,_0x20acfe['type']);return _0x2bbbde['icon']=_0x20acfe['icon'],_0x2bbbde['label']=_0x20acfe['shortText'],_0x2bbbde;});}}class F extends _0x5293a8{['focusTracker'];['focusCycler'];constructor(_0x2f8550){super(_0x2f8550),this['focusTracker']=new _0x553d55(),this['focusCycler']=new _0x5d25fe({'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(_0x4ef2f6,_0x142d23){super(_0x4ef2f6),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-'+_0x142d23}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5e046a,_0x15e013){const _0x2ed706=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2620eb=>_0x2620eb<=_0x15e013)['map'](_0x4345c2=>_0x5e046a['replace'](/\/$/,'')+'/-/resize/'+_0x4345c2+'x/\x20'+_0x4345c2+'w');return{'imageFallbackUrl':_0x5e046a,'imageSources':[{'srcset':_0x2ed706['join'](',\x20'),'sizes':'(max-width:\x20'+_0x15e013+'px)\x20100vw,\x20'+_0x15e013+'px','type':'image/webp'}]};}function S(_0x2722f4,_0x5b3f7f,_0x5c3f6b){const _0x38d1f3=_0x2722f4['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x38d1f3?parseInt(_0x38d1f3[0x1],0xa):_0x5b3f7f,'height':_0x38d1f3?parseInt(_0x38d1f3[0x2],0xa):_0x5c3f6b};}function p(_0x339f4e,_0x29c26b){const _0x311c5b=new(_0x469110())(),_0x270fc9=_0x339f4e['plugins']['get']('ImageUtils'),_0x126141=_0x339f4e['editing']['mapper']['toViewElement'](_0x29c26b),_0x50a761=_0x270fc9['findViewImgElement'](_0x126141),_0x34b084=_0x339f4e['editing']['view']['domConverter']['viewToDom'](_0x50a761),_0x2f23d6=_0x29c26b['getAttribute']('width'),_0x866dcf=_0x29c26b['getAttribute']('height'),_0x57fa61='image-processing';_0x339f4e['editing']['view']['change'](_0x4e24aa=>{_0x4e24aa['addClass'](_0x57fa61,_0x126141),_0x4e24aa['setStyle']('aspect-ratio',_0x2f23d6+'/'+_0x866dcf,_0x50a761);}),_0x311c5b['listenTo'](_0x34b084,'load',()=>{_0x311c5b['stopListening'](_0x34b084,'load'),_0x339f4e['editing']['view']['change'](_0x3e8f43=>{_0x3e8f43['removeClass'](_0x57fa61,_0x126141),_0x3e8f43['removeStyle']('aspect-ratio',_0x50a761);});});}function G(_0x13b3b9){if(Array['isArray'](_0x13b3b9)){const _0x2b04ba=_0x13b3b9['map'](G);return _0x58b6b8=>_0x2b04ba['some'](_0x5eb974=>_0x5eb974(_0x58b6b8));}if('origin'==_0x13b3b9){const _0x41c021=_0x3b0030['window']['location']['origin'];return _0x4f16ea=>new URL(_0x4f16ea,_0x3b0030['document']['baseURI'])['origin']==_0x41c021;}return'function'==typeof _0x13b3b9?_0x13b3b9:_0x13b3b9 instanceof RegExp?_0x526646=>!(!_0x526646['match'](_0x13b3b9)&&!_0x526646['replace'](/^https?:\/\//,'')['match'](_0x13b3b9)):()=>!0x1;}function A(_0x7a1968,_0xe327dd){return _0x433f6d(_0x7a1968['target'])['includes'](_0xe327dd);}class n extends/* #__PURE__ -- @preserve */
24
- _0x484df6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x28b2ac,_0x3454e8,_0xff3266){super(),this['_editor']=_0x28b2ac,this['_editing']=_0x3454e8,this['_dialog']=_0x28b2ac['plugins']['get'](_0x4de77a),this['_api']=_0x3454e8['ctxElement']['getAPI'](),this['_type']=_0xff3266,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:_0x49cf03,model:_0x43fcd1}=this['_editor'],_0xa3ba02=_0x43fcd1['document']['selection']['getSelectedElement'](),_0x5919a4=_0xa3ba02&&(_0xa3ba02['is']('element','imageBlock')||_0xa3ba02['is']('element','imageInline'));this['_formView']=new x(_0x49cf03,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x13ae20,'title':_(_0x49cf03,this['_type'],_0x5919a4?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5da77f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc39257=>!A(_0xc39257,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x565a0e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4e739a=>{const _0xfa3e4a=_0x565a0e['length'];for(const _0x77fd78 of _0x565a0e){const _0x5db16e=_0x77fd78===_0x565a0e[_0xfa3e4a-0x1],{cdnUrl:_0x107ed8,fileInfo:_0x27b694}=_0x77fd78;if(!_0x107ed8||!_0x27b694)continue;const {width:_0x30eb82,height:_0xe34c06}=_0x27b694['imageInfo'],_0x4d88d8=S(_0x107ed8,_0x30eb82,_0xe34c06),_0x46d8ab=C(_0x107ed8,_0x4d88d8['width']),_0x555c38={'id':_0x27b694['uuid'],'type':'image','attributes':{'imageDimension':_0x4d88d8,..._0x46d8ab}};this['_insertAsset'](_0x555c38,_0x5db16e,_0x4e739a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5519de=>{'idle'===_0x5519de['detail']['status']&&!_0x5519de['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4fe592,_0x19cdcb,_0xda8e5){const _0x436c2e=this['_editor']['model']['document']['selection'],_0x3d8fa6=_0x436c2e['getSelectedElement'](),_0x1a497b=!(!_0x3d8fa6||!_0x3d8fa6['is']('element','imageInline'));_0xda8e5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4fe592,_0x1a497b),_0x19cdcb||_0xda8e5['setSelection'](_0x436c2e['getLastPosition']());}['_insertImage'](_0x46e3bf,_0x1124aa){const _0x3fdf2a=this['_editor'],{imageDimension:_0x216be8,imageFallbackUrl:_0x39bf79,imageSources:_0x12e07e}=_0x46e3bf['attributes'];_0x3fdf2a['execute']('insertImage',{'imageType':_0x1124aa?'imageInline':null,'source':{'uploadcareImageId':_0x46e3bf['id'],'src':_0x39bf79,'sources':_0x12e07e,..._0x216be8}});}}class w extends _0x20b5ee{['_editing'];['_controller']=null;static get['requires'](){return[_0x4de77a,o];}constructor(_0x57e9e3){super(_0x57e9e3),this['_editing']=_0x57e9e3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x161829){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x161829);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x566a80,..._0x6a0c3f}){return _0x4a8354(_0x566a80,_0x6a0c3f);}static['getInfo'](_0x1d7dca,_0x24d203){return _0x3fd26e(_0x1d7dca,_0x24d203);}}class f extends _0x329bae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x400795,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x18ba40=this['editor'];if(!!!_0x18ba40['config']['get']('uploadcare'))return;_0x18ba40['plugins']['get'](_0x400795)['createUploadAdapter']=_0x5ce4bd=>new k(_0x5ce4bd,_0x18ba40),_0x18ba40['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x297087,{imageElement:_0x5ae603,data:_0x62d584})=>{_0x18ba40['model']['change'](_0x5ae657=>{_0x5ae657['setAttribute']('uploadcareImageId',_0x62d584['uploadcareImageId'],_0x5ae603);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3df5fb,_0x5e8c1e){this['loader']=_0x3df5fb,this['editor']=_0x5e8c1e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56c42e=await this['loader']['file'];return j['upload']({'file':_0x56c42e,'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':_0x955765=>{_0x955765&&_0x955765['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x955765['value']);}})['then'](async _0x29a904=>{const {imageFallbackUrl:_0xec78f5,imageSources:_0x5b5e17}=C(_0x29a904['cdnUrl'],_0x29a904['imageInfo']['width']);return{'uploadcareImageId':_0x29a904['uuid'],'default':_0xec78f5,'sources':_0x5b5e17};})['catch'](()=>{const _0xc05ba2=t('Cannot\x20upload\x20file:')+('\x20'+_0x56c42e['name']+'.');return Promise['reject'](_0xc05ba2);});}['abort'](){this['controller']['abort']();}}class o extends _0x329bae{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4de77a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x36bfe7){super(_0x36bfe7),this['ucContextId']=_0x135ee9();}['init'](){const _0x382bfa=this['editor'];_0x382bfa['commands']['add']('uploadcare',new w(_0x382bfa));}['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 _0x5ba34e=_0x3b0030['document']['querySelector']('input[uploadcare-file-input]');_0x5ba34e&&_0x5ba34e['remove']();}),async function(_0xf73f1){const _0x5d5915=_0xa6a349([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]),_0x15e168=0x535f8c3a,_0x25c079=0x5358f7ba^_0x15e168,_0x2da524=window[_0xa6a349([0x44,0x61,0x74,0x65])][_0xa6a349([0x6e,0x6f,0x77])](),_0x180ab6=_0xf73f1[_0xa6a349([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bcafe=new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2efef7=>{_0x180ab6[_0xa6a349([0x6f,0x6e,0x63,0x65])](_0xa6a349([0x72,0x65,0x61,0x64,0x79]),_0x2efef7);}),_0x2191b6={[_0xa6a349([0x6b,0x74,0x79])]:_0xa6a349([0x45,0x43]),[_0xa6a349([0x75,0x73,0x65])]:_0xa6a349([0x73,0x69,0x67]),[_0xa6a349([0x63,0x72,0x76])]:_0xa6a349([0x50,0x2d,0x32,0x35,0x36]),[_0xa6a349([0x78])]:_0xa6a349([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]),[_0xa6a349([0x79])]:_0xa6a349([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]),[_0xa6a349([0x61,0x6c,0x67])]:_0xa6a349([0x45,0x53,0x32,0x35,0x36])},_0x1ed9dd=_0x180ab6[_0xa6a349([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa6a349([0x67,0x65,0x74])](_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d12e6(){let _0x3ac9ba,_0x3d762e=null,_0x252344=null;try{if(_0x1ed9dd==_0xa6a349([0x47,0x50,0x4c]))return _0xa6a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ac9ba=_0x3fc24f(),!_0x3ac9ba)return _0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ac9ba[_0xa6a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x252344=_0x1f7db8(_0x3ac9ba[_0xa6a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ac9ba[_0xa6a349([0x6a,0x74,0x69])])),await _0x305bc4()?_0x4d6ccb()?_0x5e23d9()?_0xa6a349([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x107b34()?(_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d762e=_0x2f844c(_0xa6a349([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6a349([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d762e=_0x2f844c(_0xa6a349([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x273860()):_0xa6a349([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa6a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e23d9(){const _0x6f5cad=[_0xa6a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa6a349([0x74,0x72,0x69,0x61,0x6c])][_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2da524/0x3e8:0xe10*_0x25c079;return _0x3ac9ba[_0xa6a349([0x65,0x78,0x70])]<_0x6f5cad;}function _0x4d6ccb(){const _0x28f009=_0x3ac9ba[_0xa6a349([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f009&&(!!_0x28f009[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x2a]))||!!_0x28f009[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x55,0x50,0x4c,0x43])));}function _0x107b34(){const _0x18fbca=_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18fbca||0x0==_0x18fbca[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f98d7}=new URL(window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18fbca[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f98d7))return!0x0;const _0x3f973e=_0x2f98d7[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e]));return _0x18fbca[_0xa6a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbeeb16=>_0xbeeb16[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x2a])))[_0xa6a349([0x6d,0x61,0x70])](_0x3fcb0a=>_0x3fcb0a[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e])))[_0xa6a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40e868=>_0x40e868[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f973e[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6a349([0x6d,0x61,0x70])](_0x46e9d4=>Array(_0x3f973e[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46e9d4[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6a349([0x66,0x69,0x6c,0x6c])](_0x46e9d4[0x0]===_0xa6a349([0x2a])?_0xa6a349([0x2a]):'')[_0xa6a349([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46e9d4))[_0xa6a349([0x73,0x6f,0x6d,0x65])](_0x5152ee=>_0x3f973e[_0xa6a349([0x65,0x76,0x65,0x72,0x79])]((_0x537622,_0x25c31e)=>_0x5152ee[_0x25c31e]===_0x537622||_0x5152ee[_0x25c31e]===_0xa6a349([0x2a])));}function _0x273860(){return _0x3d762e&&_0x252344?new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x527829,_0x5c6e11)=>{_0x3d762e[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x527829,_0x5c6e11),_0x252344[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x47c326=>{_0x47c326!=_0xa6a349([0x56,0x61,0x6c,0x69,0x64])&&_0x527829(_0x47c326);},_0x5c6e11);}):_0x3d762e||_0x252344||_0xa6a349([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f7db8(_0x424be8,_0x34a8c8){return new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372604=>{if(_0x4f8b89())return _0x372604(_0xa6a349([0x56,0x61,0x6c,0x69,0x64]));_0x5a4906(),_0x180ab6[_0xa6a349([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31e2ce=!0x1;const _0x3d12a3=_0x135ee9();function _0x2a38a4(_0x3a1000){return!!_0x3a1000&&(typeof _0x3a1000===_0xa6a349([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a1000===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a1000[_0xa6a349([0x74,0x68,0x65,0x6e])]===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a1000[_0xa6a349([0x63,0x61,0x74,0x63,0x68])]===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1635c2(_0x35064e){_0x22566f(_0x35064e)[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x3e3948=>{if(!_0x3e3948||_0x3e3948[_0xa6a349([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa6a349([0x6f,0x6b]))return _0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b9491(_0x5d422b(_0x3d12a3+_0x34a8c8))!=_0x3e3948[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa6a349([0x56,0x61,0x6c,0x69,0x64]);})[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x8a0588=>(_0x5c3ab7(),_0x8a0588),()=>{const _0x436609=_0x590bf2();return null==_0x436609?(_0x5c3ab7(),_0xa6a349([0x56,0x61,0x6c,0x69,0x64])):_0xa6a349(_0x2da524-_0x436609>(0x7753083a^_0x15e168)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x372604)[_0xa6a349([0x63,0x61,0x74,0x63,0x68])](()=>{_0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8efbf=0x536962ba^_0x15e168;function _0x5c3ab7(){const _0x2b3225=_0xa6a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9491(_0x5d422b(_0x424be8)),_0xda2764=_0x34e3bb(_0x2b9491(window[_0xa6a349([0x4d,0x61,0x74,0x68])][_0xa6a349([0x63,0x65,0x69,0x6c])](_0x2da524/_0x8efbf)));window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6a349([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b3225,_0xda2764);}function _0x590bf2(){const _0xf196d0=_0xa6a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9491(_0x5d422b(_0x424be8)),_0x4a80c4=window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6a349([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf196d0);return _0x4a80c4?window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34e3bb(_0x4a80c4),0x10)*_0x8efbf:null;}function _0x22566f(_0x586663){return new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26aa59,_0x247974)=>{_0x586663[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x26aa59,_0x247974),window[_0xa6a349([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x247974,0x535e58fa^_0x15e168);});}}_0x180ab6[_0xa6a349([0x6f,0x6e])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa0b951,_0x1d3131)=>{if(_0x1d3131[0x0]!=_0x424be8)return _0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d3131[0x1]={..._0x1d3131[0x1],[_0xa6a349([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d12a3};},{[_0xa6a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6a349([0x68,0x69,0x67,0x68])}),_0x180ab6[_0xa6a349([0x6f,0x6e])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13fc4a=>{_0x2a38a4(_0x13fc4a[_0xa6a349([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31e2ce=!0x0,_0x1635c2(_0x13fc4a[_0xa6a349([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa6a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6a349([0x6c,0x6f,0x77])}),_0x2bcafe[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>{_0x31e2ce||_0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f8b89(){return _0x180ab6[_0xa6a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6a349([0x76,0x69,0x65,0x77])][_0xa6a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa6a349([0x61,0x75,0x74,0x6f]);}function _0x5a4906(){_0x180ab6[_0xa6a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6a349([0x76,0x69,0x65,0x77])][_0xa6a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa6a349([0x61,0x75,0x74,0x6f]);}}function _0x2f844c(_0x334590){const _0x410c96=[new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1704c3=>setTimeout(_0x1704c3,0x5356b2f6^_0x15e168)),_0x2bcafe[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fb46=>{let _0x29c781=0x0;_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x6f,0x6e])](_0xa6a349([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e436,_0x5743ab)=>{_0x5743ab[0x0][_0xa6a349([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29c781++,_0x29c781==(0x535f8dc2^_0x15e168)&&(_0x12fb46(),_0x30e436[_0xa6a349([0x6f,0x66,0x66])]());});}))];return window[_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa6a349([0x72,0x61,0x63,0x65])](_0x410c96)[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>_0x334590);}async function _0x2ff31f(){await _0x2bcafe,_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x172889,_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x172889,_0x180ab6[_0xa6a349([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e1b99(_0x33ee8c){const _0x1f6031=_0x64a97c();_0x180ab6[_0x1f6031]=_0xa6a349([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33ee8c,_0x33ee8c!=_0xa6a349([0x56,0x61,0x6c,0x69,0x64])&&_0x2ff31f();}function _0x64a97c(){const _0x488d09=window[_0xa6a349([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa6a349([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa6a349([0x6e,0x6f,0x77])]())[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa6a349([0x2e]),'');let _0x50c8b8=_0xa6a349([0x68]);for(let _0x448958=0x0;_0x448958<_0x488d09[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x448958+=0x2){let _0x510740=window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x488d09[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x448958,_0x448958+0x2));_0x510740>=_0x5d5915[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x510740-=_0x5d5915[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50c8b8+=_0x5d5915[_0x510740];}return _0x50c8b8;}function _0x3fc24f(){const _0x10c6f3=_0x1ed9dd[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e]));if(0x3!=_0x10c6f3[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x376f94(_0x10c6f3[0x1]);function _0x376f94(_0x21b40b){const _0x3f2cb5=_0x51932c(_0x21b40b);return _0x3f2cb5&&_0x55bd6b()?_0x3f2cb5:null;function _0x55bd6b(){const _0x40545d=_0x3f2cb5[_0xa6a349([0x6a,0x74,0x69])],_0x21d8b8=window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40545d[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40545d[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc877={..._0x3f2cb5,[_0xa6a349([0x6a,0x74,0x69])]:_0x40545d[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40545d[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc877[_0xa6a349([0x76,0x63])],_0x5d422b(_0xc877)==_0x21d8b8;}}}async function _0x305bc4(){let _0x3ea6ea=!0x0;try{const _0x3c6283=_0x1ed9dd[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e])),[_0x17879c,_0x403ee2,_0x2a08a5]=_0x3c6283;return _0x33b4b7(_0x17879c),await _0x304b28(_0x17879c,_0x403ee2,_0x2a08a5),_0x3ea6ea;}catch{return!0x1;}function _0x33b4b7(_0x5f3ccc){const _0x54a6a4=_0x51932c(_0x5f3ccc);_0x54a6a4&&_0x54a6a4[_0xa6a349([0x61,0x6c,0x67])]==_0xa6a349([0x45,0x53,0x32,0x35,0x36])||(_0x3ea6ea=!0x1);}async function _0x304b28(_0x5417ff,_0x21198f,_0x529cd8){const _0x50998f=window[_0xa6a349([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa6a349([0x66,0x72,0x6f,0x6d])](_0xce6845(_0x529cd8),_0x12e077=>_0x12e077[_0xa6a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27e736=new window[(_0xa6a349([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa6a349([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5417ff+_0xa6a349([0x2e])+_0x21198f),_0x2c63a1=window[_0xa6a349([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa6a349([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c63a1)return;const _0xe3298d=await _0x2c63a1[_0xa6a349([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa6a349([0x6a,0x77,0x6b]),_0x2191b6,{[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x45,0x43,0x44,0x53,0x41]),[_0xa6a349([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa6a349([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c63a1[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x45,0x43,0x44,0x53,0x41]),[_0xa6a349([0x68,0x61,0x73,0x68])]:{[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe3298d,_0x50998f,_0x27e736)||(_0x3ea6ea=!0x1);}}function _0x51932c(_0x24a88d){return _0x24a88d[_0xa6a349([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa6a349([0x65,0x79]))?JSON[_0xa6a349([0x70,0x61,0x72,0x73,0x65])](_0xce6845(_0x24a88d)):null;}function _0xce6845(_0xd30ca4){return window[_0xa6a349([0x61,0x74,0x6f,0x62])](_0xd30ca4[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa6a349([0x2b]))[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa6a349([0x2f])));}function _0x5d422b(_0xa3370b){let _0x644714=0x1505;function _0x185dbd(_0x5c4fa0){for(let _0x2538d4=0x0;_0x2538d4<_0x5c4fa0[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2538d4++){const _0x27d28f=_0x5c4fa0[_0xa6a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2538d4);_0x644714=(_0x644714<<0x5)+_0x644714+_0x27d28f,_0x644714&=_0x644714;}}function _0x33365b(_0x38b765){Array[_0xa6a349([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38b765)?_0x38b765[_0xa6a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33365b):_0x38b765&&typeof _0x38b765==_0xa6a349([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa6a349([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38b765)[_0xa6a349([0x73,0x6f,0x72,0x74])]()[_0xa6a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15034f,_0x34c44c])=>{_0x185dbd(_0x15034f),_0x33365b(_0x34c44c);}):_0x185dbd(window[_0xa6a349([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38b765));}return _0x33365b(_0xa3370b),_0x644714>>>0x0;}function _0x2b9491(_0x3bcc63){return _0x3bcc63[_0xa6a349([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa6a349([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa6a349([0x30]));}function _0x34e3bb(_0xa44d04){return _0xa44d04[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa6a349([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa6a349([0x6a,0x6f,0x69,0x6e])]('');}function _0x172889(){}function _0xa6a349(_0x4d56bf){return _0x4d56bf['map'](_0x5984bb=>String['fromCharCode'](_0x5984bb))['join']('');}_0x4e1b99(await _0x1d12e6());}(this);}['_initSchema'](){const _0x5146e3=this['editor']['model']['schema'];_0x5146e3['isRegistered']('imageBlock')&&_0x5146e3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5146e3['isRegistered']('imageInline')&&_0x5146e3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2b7a54=this['editor'];_0x2b7a54['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2b7a54['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x137a7e=>_0x137a7e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x427e68=_0x2b7a54['commands']['get']('replaceImageSource');_0x427e68&&this['listenTo'](_0x427e68,'cleanupImage',(_0x1e1956,[_0x56bbd4,_0x3475e4])=>{_0x56bbd4['removeAttribute']('uploadcareImageId',_0x3475e4);});}['_initConfig'](){const _0x4a5785=this['editor']['config']['get']('uploadcare.uploader')||{},_0x54b406=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4e2172(_0x3b0030['document'],'uc-config',{..._0x4a5785,'pubkey':_0x54b406,'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']=_0x4b449e=>{if('closeMax'==_0x4b449e)return'#uc-icon-arrow-down';},_0x3b0030['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4e2172(_0x3b0030['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b0030['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x91c715=this['editor']['commands']['get']('insertImage');_0x91c715&&this['listenTo'](_0x91c715,'execute',()=>{const _0x28c93b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28c93b&&_0x28c93b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x28c93b);});});const _0x2b6c84=this['editor']['commands']['get']('uploadcareImageReplace');_0x2b6c84&&this['listenTo'](_0x2b6c84,'execute',()=>{const _0x50bd5f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x50bd5f&&_0x50bd5f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x50bd5f);});});}}class tt extends _0x329bae{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe9d80c){super(_0xe9d80c),_0xe9d80c['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5520b4['defineComponents'](_0x5520b4),this['_defineLocale']();}['_defineLocale'](){const _0x1ff726=this['editor']['config']['get']('uploadcare.locale'),_0x21eb55=this['editor']['locale']['contentLanguage'];_0x1ff726&&_0x5520b4['defineLocale'](_0x21eb55,_0x1ff726);}}class ii extends _0x5293a8{constructor(_0x5c628d){super(_0x5c628d);const t=_0x5c628d['t'],_0x2b47e9=this['bindTemplate'],_0x3b7b5d=new _0x429b12();_0x3b7b5d['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':[_0x3b7b5d,{'text':_0x2b47e9['to']('imageUploadProgress',_0x502e81=>t('Loading\x20image...')+'\x20('+(_0x502e81||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 _0x5293a8{constructor(_0x46823e){super(_0x46823e);const t=_0x46823e['t'];this['set']('errorType',null);const _0x4424be=new _0x3276d3(_0x46823e);_0x4424be['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4424be['withText']=!0x0,_0x4424be['class']='ck-button-action',_0x4424be['on']('execute',()=>{this['fire']('retry');}),_0x4424be['bind']('isVisible')['to'](this,'errorType',_0x55eb30=>'NotFound'!==_0x55eb30);const _0x281a7c=new _0x3609df();_0x281a7c['content']=_0x418b23,_0x281a7c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49f2be=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':[_0x281a7c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49f2be['to']('errorType',_0xde3763=>t('NotFound'!==_0xde3763?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4424be]},{'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 _0x5293a8{constructor(_0x27868f,_0x91e325){super(_0x27868f);const _0x474ceb=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x91e325,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x474ceb['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x570ee2,_0x279342,_0x221b51){super(_0x570ee2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x570ee2),this['_errorView']=new ti(_0x570ee2),this['_editingView']=new ei(_0x570ee2,_0x221b51),this['_focusableView']=new _0x5293a8(_0x570ee2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x279342),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'],_0x81a16f=>{this['_addUploadcareImageEditorListeners'](_0x81a16f);});}),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'](_0x6813fc,_0x26860b){const _0x419bd9='uc-cloud-image-editor',_0x593d5d=_0x6813fc['querySelector'](_0x419bd9);if(_0x593d5d)return _0x26860b(_0x593d5d);const _0x89f8eb=new MutationObserver(_0x278547=>{const _0x3a68dc=_0x278547['filter'](_0x3d69fb=>_0x3d69fb['target']===_0x6813fc&&_0x3d69fb['addedNodes']['length']>0x0&&_0x3d69fb['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x419bd9);_0x3a68dc['length']&&(_0x89f8eb['disconnect'](),_0x26860b(_0x3a68dc[0x0]['addedNodes'][0x0]));});_0x89f8eb['observe'](_0x6813fc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x8f0cf3){_0x8f0cf3['addEventListener']('apply',_0x36ca19=>{this['fire']('apply',{'imageSrc':_0x36ca19['detail']['cdnUrl']});}),_0x8f0cf3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x484df6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d1f67,_0x4d2eab,_0x17dc96){super(),this['_editor']=_0x5d1f67,this['_dialog']=_0x4d2eab,this['_imageElement']=_0x17dc96,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 _0x37450f=this['_imageElement'],_0x37fecc=_0x37450f['getAttribute']('uploadcareImageId'),_0x389e08=_0x37450f['getAttribute']('src');if(_0x37fecc)await this['_loadImageInfo'](_0x37fecc,_0x389e08);else{if(this['_imageCache']['has'](_0x389e08)){const _0xe11a4a=this['_imageCache']['get'](_0x389e08);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe11a4a['url'],this['imageDimension']=_0xe11a4a['dimension'],this['imageId']=_0xe11a4a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x57b63c}=this['_editor'],t=_0x57b63c['t'],_0x41e611=new X(_0x57b63c,this['imageStatus'],this['_attributes']);_0x41e611['bind']('status')['to'](this,'imageStatus'),_0x41e611['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41e611['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41e611['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41e611,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x227974,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41e611,'position':_0x5da77f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41e611['focus']();},'onHide':()=>{_0x41e611['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ee439=>!A(_0x3ee439,_0x41e611['element'])}});}['_loadImageInfo'](_0xd1d5f,_0x41d474){return j['getInfo'](_0xd1d5f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1cc5d9=>{const {width:_0x177f94,height:_0x19cb2a}=_0x1cc5d9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41d474,this['imageDimension']={'width':_0x177f94,'height':_0x19cb2a},this['imageId']=_0xd1d5f;})['catch'](_0x1e6e29=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e6e29['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x138838,_0x3f8d7a){return this['_getImageAsFile'](_0x138838)['then'](_0x463a1a=>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':_0x3f8d7a['signal'],'file':_0x463a1a,'onProgress':_0x306a74=>{_0x306a74&&_0x306a74['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x306a74['value']));}}))['then'](_0x287097=>{const {width:_0x293084,height:_0x77aff4}=_0x287097['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x287097['cdnUrl'],this['imageDimension']={'width':_0x293084,'height':_0x77aff4},this['imageId']=_0x287097['uuid'],this['imageUploadProgress']=null;const _0x217b25=_0x138838['getAttribute']('src');this['_imageCache']['set'](_0x217b25,{'id':_0x287097['uuid'],'url':_0x287097['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e7818=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e7818['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5b1886,_0x55a13d){_0x5b1886['on']('apply',(_0x399c7e,_0x47c982)=>{this['_replaceImage'](_0x55a13d,_0x47c982['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5b1886['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5b1886['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x325c6d,_0x432030,_0x981eb9){const _0x3f019d=this['_editor'],{width:_0x2663fe,height:_0xdb6795}=S(_0x432030,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x310e06,imageSources:_0x548b68}=C(_0x432030,_0x2663fe);_0x3f019d['model']['change'](_0x2eaf43=>{if('$graveyard'===_0x325c6d['root']['rootName']){_0x3f019d['execute']('insertImage',{'imageType':_0x325c6d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x325c6d['getAttributes']()),'uploadcareImageId':_0x981eb9,'src':_0x310e06,'sources':_0x548b68,'width':_0x2663fe,'height':_0xdb6795}});const _0x23c9fd=_0x325c6d['getChildren']();_0x325c6d=_0x3f019d['model']['document']['selection']['getSelectedElement']();for(const _0x59eda5 of _0x23c9fd)_0x2eaf43['append'](_0x2eaf43['cloneElement'](_0x59eda5),_0x325c6d);}else _0x2eaf43['setSelection'](_0x325c6d,'on'),_0x3f019d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x325c6d['getAttributes']()),'uploadcareImageId':_0x981eb9,'src':_0x310e06,'sources':_0x548b68,'width':_0x2663fe,'height':_0xdb6795},_0x325c6d);_0x2eaf43['setSelection'](_0x325c6d,'on');});}async['_getImageAsFile'](_0x24c10a){const _0x5b843d=_0x3b0030['window'],_0x4a77e3=_0x3b0030['document']['location']['href'],_0x5ea35c=new _0x5b843d['URL'](_0x24c10a['getAttribute']('src'),_0x4a77e3);if('data:'===_0x5ea35c['protocol']){const _0x256e7c=_0x5ea35c['href']['split'](','),_0x2d1dd9=_0x256e7c[0x0]['match'](/:(.*?);/)[0x1],_0xf66235=_0x2d1dd9['split']('/')[0x1],_0x5bc602=_0x5b843d['atob'](_0x256e7c[_0x256e7c['length']-0x1]);let _0x74cb86=_0x5bc602['length'];const _0x177b2d=new _0x5b843d['Uint8Array'](_0x74cb86);for(;_0x74cb86--;)_0x177b2d[_0x74cb86]=_0x5bc602['charCodeAt'](_0x74cb86);return new _0x5b843d['File']([_0x177b2d],'image.'+_0xf66235,{'type':_0x2d1dd9});}const _0x5565ce=_0x5ea35c['href']['split']('/'),_0x20f375=_0x5565ce[_0x5565ce['length']-0x1],_0x40adc8=_0x20f375['split']('.')[0x1];return _0x5b843d['fetch'](_0x5ea35c['href'])['then'](_0x2879b0=>_0x2879b0['clone']()['blob']())['then'](_0x216dcc=>new _0x5b843d['File']([_0x216dcc],_0x20f375,{'type':'image/'+_0x40adc8}));}}class O extends _0x20b5ee{['imageEditController'];static get['requires'](){return[_0x4de77a];}['_isEditable'];constructor(_0x5e6b04){super(_0x5e6b04),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x500d33){const _0x5a96b6=G(_0x500d33);return _0x50090e=>!(!_0x50090e||!_0x50090e['is']('element','imageBlock')&&!_0x50090e['is']('element','imageInline'))&&(!!_0x50090e['hasAttribute']('uploadcareImageId')||!!_0x50090e['hasAttribute']('src')&&_0x5a96b6(_0x50090e['getAttribute']('src')));}(_0x5e6b04['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4eaaf1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4eaaf1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x48b8bc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48b8bc&&(_0x48b8bc['is']('element','imageBlock')||_0x48b8bc['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4de77a),_0x48b8bc),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x20b5ee{['refresh'](){const _0x15af73=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x15af73&&(_0x15af73['is']('element','imageBlock')||_0x15af73['is']('element','imageInline')));}['execute'](_0x327cb8){const _0x6def35=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4d91b1=>{_0x4d91b1['setAttributes'](_0x327cb8,_0x6def35),_0x4d91b1['removeAttribute']('srcset',_0x6def35),_0x4d91b1['removeAttribute']('sizes',_0x6def35);});}}class m extends _0x329bae{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1b8796,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25b608}=this;_0x25b608['commands']['add']('uploadcareImageEdit',new O(_0x25b608)),_0x25b608['commands']['add']('uploadcareImageReplace',new R(_0x25b608));}}class g extends _0x329bae{['_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 _0x19cef1=this['editor'];_0x19cef1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x121c67=>{const _0x1c38fd=_0x19cef1['commands']['get']('uploadcareImageEdit'),_0x5b5be6=new _0x3276d3(_0x121c67),t=_0x121c67['t'];return _0x5b5be6['set']({'icon':_0x227974,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5b5be6['bind']('isEnabled')['to'](_0x1c38fd),_0x5b5be6['bind']('isOn')['to'](_0x1c38fd,'isActive'),this['listenTo'](_0x5b5be6,'execute',()=>{_0x19cef1['execute']('uploadcareImageEdit'),_0x19cef1['editing']['view']['focus']();}),_0x5b5be6;}),this['_initConfig']();}['_initConfig'](){const _0x60c5c5=_0x4e2172(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x60c5c5),this['listenTo'](this['editor'],'destroy',()=>{_0x60c5c5['remove']();});}}class et extends _0x329bae{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 _0x13c8f3,Command as _0x332752}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1c5b20,IconGooglePhotos as _0x3af568,IconGoogleDrive as _0x251263,IconFacebook as _0x1c7e5d,IconDropbox as _0x2a6b09,IconUploadcareLink as _0x5162de,IconUploadcareImageUpload as _0x3dace1,IconError as _0x1639cc,IconUploadcareImageEdit as _0x327887}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x538ecb,MenuBarMenuListItemButtonView as _0x168012,View as _0x212904,FocusCycler as _0x3ac7f2,Dialog as _0xb06da8,DialogViewPosition as _0x539d28,SpinnerView as _0x238fc7,IconView as _0x10a779,Notification as _0xdc8daa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x304ffc,DomEmitterMixin as _0x4dbb18,global as _0x593370,getAncestors as _0x4231c9,ObservableMixin as _0x2b8bff,uid as _0x48ff0b,createElement as _0x4ab736}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x37d4c1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5c281c,info as _0x4f675d}from'@uploadcare/upload-client';import*as _0x3af135 from'@uploadcare/file-uploader';var i=function(_0x15fdbe){return _0x15fdbe['Local']='local',_0x15fdbe['URL']='url',_0x15fdbe['Dropbox']='dropbox',_0x15fdbe['GDrive']='gdrive',_0x15fdbe['Facebook']='facebook',_0x15fdbe['GPhotos']='gphotos',_0x15fdbe['OneDrive']='onedrive',_0x15fdbe;}({});function _(_0x2cbd63,_0x2238cf,_0x395176){const t=_0x2cbd63['t'],_0x66cdbc=_0x2cbd63['t'];switch(_0x2238cf){case i['Local']:return{'text':_0x66cdbc('Insert'===_0x395176?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x66cdbc('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x395176?_0x66cdbc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x66cdbc('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x395176?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x395176?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x395176?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x395176?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x395176?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2238cf;}}class e extends _0x13c8f3{['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 _0x5d9b39=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16a674;for(const _0x145012 in _0x5d9b39){const _0x336a9a=_0x145012,_0x1dd6c0=_0x5d9b39[_0x336a9a];if('uploadcareLicenseKeyValid'==_0x1dd6c0||'uploadcareLicenseKeyInvalid'==_0x1dd6c0||'uploadcareLicenseKeyExpired'==_0x1dd6c0||'uploadcareLicenseKeyDomainLimit'==_0x1dd6c0||'uploadcareLicenseKeyNotAllowed'==_0x1dd6c0||'uploadcareLicenseKeyEvaluationLimit'==_0x1dd6c0||'uploadcareLicenseKeyTrialLimit'==_0x1dd6c0||'uploadcareLicenseKeyUsageLimit'==_0x1dd6c0){delete _0x5d9b39[_0x336a9a],_0x16a674=_0x1dd6c0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x16a674&&_0x5d9b39['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x16a674&&_0x5d9b39['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x16a674&&_0x5d9b39['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x16a674&&_0x5d9b39['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x16a674&&_0x5d9b39['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x16a674&&_0x5d9b39['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x16a674&&_0x5d9b39['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x271083}=this,_0x5398dd=_0x271083['commands']['get']('uploadcare');if(!_0x5398dd)return;const _0x5de15f=this['_normalizeConfigSourceList'](_0x271083['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4ec7fd,_0x3be88f)=>{const _0x438bcc=this['_getIntegrationKey'](_0x3be88f['type']);return _0x4ec7fd[_0x438bcc]||(_0x4ec7fd[_0x438bcc]=[]),_0x4ec7fd[_0x438bcc]['push'](_0x3be88f),_0x4ec7fd;},{});_0x271083['plugins']['has']('ImageInsertUI')&&_0x271083['commands']['get']('uploadcare')&&Object['entries'](_0x5de15f)['forEach'](([_0x50a467,_0x30f96d])=>{_0x271083['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x50a467,'observable':()=>_0x5398dd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x30f96d),'formViewCreator':()=>this['_createDropdownButtons'](_0x30f96d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x30f96d),'override':'assetManager'!==_0x50a467});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x521ee9){const {locale:_0x11e581}=this['editor'];return _0x521ee9['map'](_0x59dead=>{const _0x437e3b=_(_0x11e581,_0x59dead,'Insert');switch(_0x59dead){case i['Local']:return{'icon':_0x3dace1,'type':i['Local'],..._0x437e3b};case i['URL']:return{'icon':_0x5162de,'type':i['URL'],..._0x437e3b};case i['Dropbox']:return{'icon':_0x2a6b09,'type':i['Dropbox'],..._0x437e3b};case i['Facebook']:return{'icon':_0x1c7e5d,'type':i['Facebook'],..._0x437e3b};case i['GDrive']:return{'icon':_0x251263,'type':i['GDrive'],..._0x437e3b};case i['GPhotos']:return{'icon':_0x3af568,'type':i['GPhotos'],..._0x437e3b};case i['OneDrive']:return{'icon':_0x1c5b20,'type':i['OneDrive'],..._0x437e3b};}});}['_getIntegrationKey'](_0x37deda){switch(_0x37deda){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1cf27a,_0x1c284d){const _0x3116c2=this['editor'],_0x537046=new _0x1cf27a(_0x3116c2['locale']),_0x5f25e3=_0x3116c2['commands']['get']('uploadcare');return _0x537046['bind']('isEnabled')['to'](_0x5f25e3),_0x537046['on']('execute',()=>{_0x5f25e3['execute'](_0x1c284d);}),_0x537046;}['_createToolbarButton'](_0x3c3c75){const {locale:_0x3283f1}=this['editor'],_0x48d0a9=this['editor']['plugins']['get']('ImageInsertUI'),_0x41a84e=_0x3c3c75[0x0],_0x334b73=this['_createButton'](_0x538ecb,_0x41a84e['type']);return _0x334b73['icon']=_0x41a84e['icon'],_0x334b73['bind']('label')['to'](_0x48d0a9,'isImageSelected',_0xd65488=>_(_0x3283f1,_0x41a84e['type'],_0xd65488?'Replace':'Insert')['text']),_0x334b73['tooltip']=!0x0,_0x334b73;}['_createDropdownButtons'](_0xf3c441){const {locale:_0xf6e4c5}=this['editor'],_0xd5c5d3=this['editor']['plugins']['get']('ImageInsertUI');return _0xf3c441['map'](_0x29a357=>{const _0x3b195b=this['_createButton'](_0x538ecb,_0x29a357['type']);return _0x3b195b['withText']=!0x0,_0x3b195b['icon']=_0x29a357['icon'],_0x3b195b['bind']('label')['to'](_0xd5c5d3,'isImageSelected',_0x1234b6=>_(_0xf6e4c5,_0x29a357['type'],_0x1234b6?'Replace':'Insert')['text']),_0x3b195b;});}['_createMenuBarButtons'](_0xc3c806){return _0xc3c806['map'](_0x20c68f=>{const _0x146878=this['_createButton'](_0x168012,_0x20c68f['type']);return _0x146878['icon']=_0x20c68f['icon'],_0x146878['label']=_0x20c68f['shortText'],_0x146878;});}}class F extends _0x212904{['focusTracker'];['focusCycler'];constructor(_0x5daaad){super(_0x5daaad),this['focusTracker']=new _0x304ffc(),this['focusCycler']=new _0x3ac7f2({'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(_0x112fd4,_0x4313b3){super(_0x112fd4),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-'+_0x4313b3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5e8993,_0x84cb6c){const _0x214737=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1610f6=>_0x1610f6<=_0x84cb6c)['map'](_0x62c512=>_0x5e8993['replace'](/\/$/,'')+'/-/resize/'+_0x62c512+'x/\x20'+_0x62c512+'w');return{'imageFallbackUrl':_0x5e8993,'imageSources':[{'srcset':_0x214737['join'](',\x20'),'sizes':'(max-width:\x20'+_0x84cb6c+'px)\x20100vw,\x20'+_0x84cb6c+'px','type':'image/webp'}]};}function S(_0x7cf71e,_0x1a642e,_0x11439b){const _0x3c024e=_0x7cf71e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3c024e?parseInt(_0x3c024e[0x1],0xa):_0x1a642e,'height':_0x3c024e?parseInt(_0x3c024e[0x2],0xa):_0x11439b};}function p(_0x3ce08b,_0xfba1a1){const _0x625c8d=new(_0x4dbb18())(),_0x3ac3f6=_0x3ce08b['plugins']['get']('ImageUtils'),_0x150c8b=_0x3ce08b['editing']['mapper']['toViewElement'](_0xfba1a1),_0x22ef4d=_0x3ac3f6['findViewImgElement'](_0x150c8b),_0x49f85f=_0x3ce08b['editing']['view']['domConverter']['viewToDom'](_0x22ef4d),_0x5d577d=_0xfba1a1['getAttribute']('width'),_0x34f951=_0xfba1a1['getAttribute']('height'),_0x13e5ac='image-processing';_0x3ce08b['editing']['view']['change'](_0xf7aff7=>{_0xf7aff7['addClass'](_0x13e5ac,_0x150c8b),_0xf7aff7['setStyle']('aspect-ratio',_0x5d577d+'/'+_0x34f951,_0x22ef4d);}),_0x625c8d['listenTo'](_0x49f85f,'load',()=>{_0x625c8d['stopListening'](_0x49f85f,'load'),_0x3ce08b['editing']['view']['change'](_0x115721=>{_0x115721['removeClass'](_0x13e5ac,_0x150c8b),_0x115721['removeStyle']('aspect-ratio',_0x22ef4d);});});}function G(_0x292f17){if(Array['isArray'](_0x292f17)){const _0x549d8c=_0x292f17['map'](G);return _0x2a81c1=>_0x549d8c['some'](_0x5647a2=>_0x5647a2(_0x2a81c1));}if('origin'==_0x292f17){const _0x19e6d0=_0x593370['window']['location']['origin'];return _0x357a71=>new URL(_0x357a71,_0x593370['document']['baseURI'])['origin']==_0x19e6d0;}return'function'==typeof _0x292f17?_0x292f17:_0x292f17 instanceof RegExp?_0x455fb1=>!(!_0x455fb1['match'](_0x292f17)&&!_0x455fb1['replace'](/^https?:\/\//,'')['match'](_0x292f17)):()=>!0x1;}function A(_0x270b9e,_0x447e32){return _0x4231c9(_0x270b9e['target'])['includes'](_0x447e32);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2b8bff(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x56d729,_0x54b443,_0x285c1c){super(),this['_editor']=_0x56d729,this['_editing']=_0x54b443,this['_dialog']=_0x56d729['plugins']['get'](_0xb06da8),this['_api']=_0x54b443['ctxElement']['getAPI'](),this['_type']=_0x285c1c,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:_0x391903,model:_0x2bd95b}=this['_editor'],_0x4e2b40=_0x2bd95b['document']['selection']['getSelectedElement'](),_0x23f3b8=_0x4e2b40&&(_0x4e2b40['is']('element','imageBlock')||_0x4e2b40['is']('element','imageInline'));this['_formView']=new x(_0x391903,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3dace1,'title':_(_0x391903,this['_type'],_0x23f3b8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x539d28['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x442ffb=>!A(_0x442ffb,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x32a4db}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1e05b3=>{const _0x12f215=_0x32a4db['length'];for(const _0x4cfb28 of _0x32a4db){const _0xdeecc0=_0x4cfb28===_0x32a4db[_0x12f215-0x1],{cdnUrl:_0x160b66,fileInfo:_0x2eaf7e}=_0x4cfb28;if(!_0x160b66||!_0x2eaf7e)continue;const {width:_0x12b956,height:_0x5316e3}=_0x2eaf7e['imageInfo'],_0x1ccca8=S(_0x160b66,_0x12b956,_0x5316e3),_0x31469c=C(_0x160b66,_0x1ccca8['width']),_0x1cc901={'id':_0x2eaf7e['uuid'],'type':'image','attributes':{'imageDimension':_0x1ccca8,..._0x31469c}};this['_insertAsset'](_0x1cc901,_0xdeecc0,_0x1e05b3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1cada6=>{'idle'===_0x1cada6['detail']['status']&&!_0x1cada6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x56ed97,_0x2ceacc,_0x433fb1){const _0xe15034=this['_editor']['model']['document']['selection'],_0x55e753=_0xe15034['getSelectedElement'](),_0xff9fa6=!(!_0x55e753||!_0x55e753['is']('element','imageInline'));_0x433fb1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x56ed97,_0xff9fa6),_0x2ceacc||_0x433fb1['setSelection'](_0xe15034['getLastPosition']());}['_insertImage'](_0x4e9369,_0x9c75ff){const _0x2b2505=this['_editor'],{imageDimension:_0x51b25c,imageFallbackUrl:_0x3ac0fc,imageSources:_0x1e3768}=_0x4e9369['attributes'];_0x2b2505['execute']('insertImage',{'imageType':_0x9c75ff?'imageInline':null,'source':{'uploadcareImageId':_0x4e9369['id'],'src':_0x3ac0fc,'sources':_0x1e3768,..._0x51b25c}});}}class w extends _0x332752{['_editing'];['_controller']=null;static get['requires'](){return[_0xb06da8,o];}constructor(_0x139d7c){super(_0x139d7c),this['_editing']=_0x139d7c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x44dbd6){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x44dbd6);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x49a93b,..._0x428682}){return _0x5c281c(_0x49a93b,_0x428682);}static['getInfo'](_0x254747,_0x1c1b69){return _0x4f675d(_0x254747,_0x1c1b69);}}class f extends _0x13c8f3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37d4c1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5903c6=this['editor'];if(!!!_0x5903c6['config']['get']('uploadcare'))return;_0x5903c6['plugins']['get'](_0x37d4c1)['createUploadAdapter']=_0x29e9d8=>new k(_0x29e9d8,_0x5903c6),_0x5903c6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c0004,{imageElement:_0x2442eb,data:_0x509b9d})=>{_0x5903c6['model']['change'](_0x1e2ed3=>{_0x1e2ed3['setAttribute']('uploadcareImageId',_0x509b9d['uploadcareImageId'],_0x2442eb);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3d3015,_0x26f27b){this['loader']=_0x3d3015,this['editor']=_0x26f27b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1ca84a=await this['loader']['file'];return j['upload']({'file':_0x1ca84a,'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':_0x196902=>{_0x196902&&_0x196902['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x196902['value']);}})['then'](async _0x1b6245=>{const {imageFallbackUrl:_0x4f4f6b,imageSources:_0x27cced}=C(_0x1b6245['cdnUrl'],_0x1b6245['imageInfo']['width']);return{'uploadcareImageId':_0x1b6245['uuid'],'default':_0x4f4f6b,'sources':_0x27cced};})['catch'](()=>{const _0x3e939a=t('Cannot\x20upload\x20file:')+('\x20'+_0x1ca84a['name']+'.');return Promise['reject'](_0x3e939a);});}['abort'](){this['controller']['abort']();}}class o extends _0x13c8f3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xb06da8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x239e70){super(_0x239e70),this['ucContextId']=_0x48ff0b();}['init'](){const _0x198c8c=this['editor'];_0x198c8c['commands']['add']('uploadcare',new w(_0x198c8c));}['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 _0x8f5c6f=_0x593370['document']['querySelector']('input[uploadcare-file-input]');_0x8f5c6f&&_0x8f5c6f['remove']();}),async function(_0x5cde54){const _0x4d6214=_0x4a01ea([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]),_0x51f122=0x535f8c3a,_0x2072fd=0x5358f07a^_0x51f122,_0x1a5b94=window[_0x4a01ea([0x44,0x61,0x74,0x65])][_0x4a01ea([0x6e,0x6f,0x77])](),_0x5e26ac=_0x5cde54[_0x4a01ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xaf6dcb=new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27176d=>{_0x5e26ac[_0x4a01ea([0x6f,0x6e,0x63,0x65])](_0x4a01ea([0x72,0x65,0x61,0x64,0x79]),_0x27176d);}),_0x1333d7={[_0x4a01ea([0x6b,0x74,0x79])]:_0x4a01ea([0x45,0x43]),[_0x4a01ea([0x75,0x73,0x65])]:_0x4a01ea([0x73,0x69,0x67]),[_0x4a01ea([0x63,0x72,0x76])]:_0x4a01ea([0x50,0x2d,0x32,0x35,0x36]),[_0x4a01ea([0x78])]:_0x4a01ea([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]),[_0x4a01ea([0x79])]:_0x4a01ea([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]),[_0x4a01ea([0x61,0x6c,0x67])]:_0x4a01ea([0x45,0x53,0x32,0x35,0x36])},_0x4501ac=_0x5e26ac[_0x4a01ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a01ea([0x67,0x65,0x74])](_0x4a01ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15270c(){let _0x181881,_0x860f36=null,_0x3e79a5=null;try{if(_0x4501ac==_0x4a01ea([0x47,0x50,0x4c]))return _0x4a01ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x181881=_0x3727a1(),!_0x181881)return _0x4a01ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x181881[_0x4a01ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e79a5=_0x26b37b(_0x181881[_0x4a01ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x181881[_0x4a01ea([0x6a,0x74,0x69])])),await _0x517c4d()?_0xc3106f()?_0x32c2f3()?_0x4a01ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x506671()?(_0x181881[_0x4a01ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a01ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x860f36=_0x3d9d2e(_0x4a01ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x181881[_0x4a01ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a01ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x860f36=_0x3d9d2e(_0x4a01ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x272fb7()):_0x4a01ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a01ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a01ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a01ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32c2f3(){const _0x56e2d3=[_0x4a01ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a01ea([0x74,0x72,0x69,0x61,0x6c])][_0x4a01ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x181881[_0x4a01ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a5b94/0x3e8:0xe10*_0x2072fd;return _0x181881[_0x4a01ea([0x65,0x78,0x70])]<_0x56e2d3;}function _0xc3106f(){const _0x3f41e5=_0x181881[_0x4a01ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f41e5&&(!!_0x3f41e5[_0x4a01ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a01ea([0x2a]))||!!_0x3f41e5[_0x4a01ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a01ea([0x55,0x50,0x4c,0x43])));}function _0x506671(){const _0x1c68e8=_0x181881[_0x4a01ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c68e8||0x0==_0x1c68e8[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56b18f}=new URL(window[_0x4a01ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c68e8[_0x4a01ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b18f))return!0x0;const _0x234661=_0x56b18f[_0x4a01ea([0x73,0x70,0x6c,0x69,0x74])](_0x4a01ea([0x2e]));return _0x1c68e8[_0x4a01ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16773b=>_0x16773b[_0x4a01ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a01ea([0x2a])))[_0x4a01ea([0x6d,0x61,0x70])](_0x41a772=>_0x41a772[_0x4a01ea([0x73,0x70,0x6c,0x69,0x74])](_0x4a01ea([0x2e])))[_0x4a01ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a3db2=>_0x2a3db2[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x234661[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a01ea([0x6d,0x61,0x70])](_0x5cd9b5=>Array(_0x234661[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cd9b5[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a01ea([0x66,0x69,0x6c,0x6c])](_0x5cd9b5[0x0]===_0x4a01ea([0x2a])?_0x4a01ea([0x2a]):'')[_0x4a01ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cd9b5))[_0x4a01ea([0x73,0x6f,0x6d,0x65])](_0x298881=>_0x234661[_0x4a01ea([0x65,0x76,0x65,0x72,0x79])]((_0x21475b,_0x275ede)=>_0x298881[_0x275ede]===_0x21475b||_0x298881[_0x275ede]===_0x4a01ea([0x2a])));}function _0x272fb7(){return _0x860f36&&_0x3e79a5?new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x507971,_0x5df001)=>{_0x860f36[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x507971,_0x5df001),_0x3e79a5[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x5f0d98=>{_0x5f0d98!=_0x4a01ea([0x56,0x61,0x6c,0x69,0x64])&&_0x507971(_0x5f0d98);},_0x5df001);}):_0x860f36||_0x3e79a5||_0x4a01ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26b37b(_0xd776a8,_0x2949ef){return new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104a2a=>{if(_0x216d7c())return _0x104a2a(_0x4a01ea([0x56,0x61,0x6c,0x69,0x64]));_0x414806(),_0x5e26ac[_0x4a01ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a01ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6b893d=!0x1;const _0x438800=_0x48ff0b();function _0x8ace1(_0x47cb24){return!!_0x47cb24&&(typeof _0x47cb24===_0x4a01ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47cb24===_0x4a01ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47cb24[_0x4a01ea([0x74,0x68,0x65,0x6e])]===_0x4a01ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47cb24[_0x4a01ea([0x63,0x61,0x74,0x63,0x68])]===_0x4a01ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38edd3(_0x2967de){_0x521f69(_0x2967de)[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x456f5e=>{if(!_0x456f5e||_0x456f5e[_0x4a01ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a01ea([0x6f,0x6b]))return _0x4a01ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46c90b(_0x2921c5(_0x438800+_0x2949ef))!=_0x456f5e[_0x4a01ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a01ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a01ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x4da701=>(_0x1aff97(),_0x4da701),()=>{const _0x19709f=_0x31a186();return null==_0x19709f?(_0x1aff97(),_0x4a01ea([0x56,0x61,0x6c,0x69,0x64])):_0x4a01ea(_0x1a5b94-_0x19709f>(0x7753083a^_0x51f122)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x104a2a)[_0x4a01ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x104a2a(_0x4a01ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38a3b3=0x536962ba^_0x51f122;function _0x1aff97(){const _0x1f74d7=_0x4a01ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x46c90b(_0x2921c5(_0xd776a8)),_0x3cf3a9=_0x8dcd40(_0x46c90b(window[_0x4a01ea([0x4d,0x61,0x74,0x68])][_0x4a01ea([0x63,0x65,0x69,0x6c])](_0x1a5b94/_0x38a3b3)));window[_0x4a01ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a01ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f74d7,_0x3cf3a9);}function _0x31a186(){const _0x51e2af=_0x4a01ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x46c90b(_0x2921c5(_0xd776a8)),_0x31653a=window[_0x4a01ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a01ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51e2af);return _0x31653a?window[_0x4a01ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8dcd40(_0x31653a),0x10)*_0x38a3b3:null;}function _0x521f69(_0x5148cb){return new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5be525,_0x30af97)=>{_0x5148cb[_0x4a01ea([0x74,0x68,0x65,0x6e])](_0x5be525,_0x30af97),window[_0x4a01ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30af97,0x535e58fa^_0x51f122);});}}_0x5e26ac[_0x4a01ea([0x6f,0x6e])](_0x4a01ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50eff6,_0xd4ecef)=>{if(_0xd4ecef[0x0]!=_0xd776a8)return _0x104a2a(_0x4a01ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd4ecef[0x1]={..._0xd4ecef[0x1],[_0x4a01ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x438800};},{[_0x4a01ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a01ea([0x68,0x69,0x67,0x68])}),_0x5e26ac[_0x4a01ea([0x6f,0x6e])](_0x4a01ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2694e2=>{_0x8ace1(_0x2694e2[_0x4a01ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6b893d=!0x0,_0x38edd3(_0x2694e2[_0x4a01ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a01ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a01ea([0x6c,0x6f,0x77])}),_0xaf6dcb[_0x4a01ea([0x74,0x68,0x65,0x6e])](()=>{_0x6b893d||_0x104a2a(_0x4a01ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x216d7c(){return _0x5e26ac[_0x4a01ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a01ea([0x76,0x69,0x65,0x77])][_0x4a01ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a01ea([0x61,0x75,0x74,0x6f]);}function _0x414806(){_0x5e26ac[_0x4a01ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a01ea([0x76,0x69,0x65,0x77])][_0x4a01ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a01ea([0x61,0x75,0x74,0x6f]);}}function _0x3d9d2e(_0x6af17f){const _0x356c84=[new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x176909=>setTimeout(_0x176909,0x5356b2f6^_0x51f122)),_0xaf6dcb[_0x4a01ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34905e=>{let _0x5c85ac=0x0;_0x5e26ac[_0x4a01ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a01ea([0x6f,0x6e])](_0x4a01ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11ee89,_0x4895d5)=>{_0x4895d5[0x0][_0x4a01ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c85ac++,_0x5c85ac==(0x535f8dc2^_0x51f122)&&(_0x34905e(),_0x11ee89[_0x4a01ea([0x6f,0x66,0x66])]());});}))];return window[_0x4a01ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a01ea([0x72,0x61,0x63,0x65])](_0x356c84)[_0x4a01ea([0x74,0x68,0x65,0x6e])](()=>_0x6af17f);}async function _0x5b690c(){await _0xaf6dcb,_0x5e26ac[_0x4a01ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a01ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15c214,_0x5e26ac[_0x4a01ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a01ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15c214,_0x5e26ac[_0x4a01ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a01ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e8e07(_0x40dec7){const _0x341bfe=_0x1273c6();_0x5e26ac[_0x341bfe]=_0x4a01ea([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40dec7,_0x40dec7!=_0x4a01ea([0x56,0x61,0x6c,0x69,0x64])&&_0x5b690c();}function _0x1273c6(){const _0x7e49f=window[_0x4a01ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a01ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a01ea([0x6e,0x6f,0x77])]())[_0x4a01ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a01ea([0x2e]),'');let _0x372b22=_0x4a01ea([0x68]);for(let _0x33f974=0x0;_0x33f974<_0x7e49f[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33f974+=0x2){let _0xa036aa=window[_0x4a01ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7e49f[_0x4a01ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33f974,_0x33f974+0x2));_0xa036aa>=_0x4d6214[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa036aa-=_0x4d6214[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x372b22+=_0x4d6214[_0xa036aa];}return _0x372b22;}function _0x3727a1(){const _0x16ff5b=_0x4501ac[_0x4a01ea([0x73,0x70,0x6c,0x69,0x74])](_0x4a01ea([0x2e]));if(0x3!=_0x16ff5b[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40dda9(_0x16ff5b[0x1]);function _0x40dda9(_0x1fa909){const _0x4dd238=_0x1b12e1(_0x1fa909);return _0x4dd238&&_0x503653()?_0x4dd238:null;function _0x503653(){const _0x5606a8=_0x4dd238[_0x4a01ea([0x6a,0x74,0x69])],_0x3f18e3=window[_0x4a01ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5606a8[_0x4a01ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5606a8[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23537e={..._0x4dd238,[_0x4a01ea([0x6a,0x74,0x69])]:_0x5606a8[_0x4a01ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5606a8[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23537e[_0x4a01ea([0x76,0x63])],_0x2921c5(_0x23537e)==_0x3f18e3;}}}async function _0x517c4d(){let _0x2a96e8=!0x0;try{const _0x256352=_0x4501ac[_0x4a01ea([0x73,0x70,0x6c,0x69,0x74])](_0x4a01ea([0x2e])),[_0x264418,_0x35fdcb,_0xcb26f1]=_0x256352;return _0x55eaeb(_0x264418),await _0x5b0c0a(_0x264418,_0x35fdcb,_0xcb26f1),_0x2a96e8;}catch{return!0x1;}function _0x55eaeb(_0x41d88b){const _0x584d36=_0x1b12e1(_0x41d88b);_0x584d36&&_0x584d36[_0x4a01ea([0x61,0x6c,0x67])]==_0x4a01ea([0x45,0x53,0x32,0x35,0x36])||(_0x2a96e8=!0x1);}async function _0x5b0c0a(_0x2a8f9d,_0xce6770,_0x2dbe6f){const _0x5e1171=window[_0x4a01ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a01ea([0x66,0x72,0x6f,0x6d])](_0x2392ff(_0x2dbe6f),_0x22923e=>_0x22923e[_0x4a01ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5872e9=new window[(_0x4a01ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a01ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a8f9d+_0x4a01ea([0x2e])+_0xce6770),_0x148c0d=window[_0x4a01ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a01ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x148c0d)return;const _0x12621e=await _0x148c0d[_0x4a01ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a01ea([0x6a,0x77,0x6b]),_0x1333d7,{[_0x4a01ea([0x6e,0x61,0x6d,0x65])]:_0x4a01ea([0x45,0x43,0x44,0x53,0x41]),[_0x4a01ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a01ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a01ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x148c0d[_0x4a01ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a01ea([0x6e,0x61,0x6d,0x65])]:_0x4a01ea([0x45,0x43,0x44,0x53,0x41]),[_0x4a01ea([0x68,0x61,0x73,0x68])]:{[_0x4a01ea([0x6e,0x61,0x6d,0x65])]:_0x4a01ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12621e,_0x5e1171,_0x5872e9)||(_0x2a96e8=!0x1);}}function _0x1b12e1(_0x560b12){return _0x560b12[_0x4a01ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a01ea([0x65,0x79]))?JSON[_0x4a01ea([0x70,0x61,0x72,0x73,0x65])](_0x2392ff(_0x560b12)):null;}function _0x2392ff(_0x2b56f0){return window[_0x4a01ea([0x61,0x74,0x6f,0x62])](_0x2b56f0[_0x4a01ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a01ea([0x2b]))[_0x4a01ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a01ea([0x2f])));}function _0x2921c5(_0x5d29df){let _0x32d2b4=0x1505;function _0x3f71b8(_0x336e10){for(let _0x544d6b=0x0;_0x544d6b<_0x336e10[_0x4a01ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x544d6b++){const _0x3b647f=_0x336e10[_0x4a01ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x544d6b);_0x32d2b4=(_0x32d2b4<<0x5)+_0x32d2b4+_0x3b647f,_0x32d2b4&=_0x32d2b4;}}function _0x1f77ae(_0x1fbb1d){Array[_0x4a01ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fbb1d)?_0x1fbb1d[_0x4a01ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f77ae):_0x1fbb1d&&typeof _0x1fbb1d==_0x4a01ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a01ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fbb1d)[_0x4a01ea([0x73,0x6f,0x72,0x74])]()[_0x4a01ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47fadc,_0x28f814])=>{_0x3f71b8(_0x47fadc),_0x1f77ae(_0x28f814);}):_0x3f71b8(window[_0x4a01ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fbb1d));}return _0x1f77ae(_0x5d29df),_0x32d2b4>>>0x0;}function _0x46c90b(_0x565925){return _0x565925[_0x4a01ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a01ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a01ea([0x30]));}function _0x8dcd40(_0x576330){return _0x576330[_0x4a01ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a01ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a01ea([0x6a,0x6f,0x69,0x6e])]('');}function _0x15c214(){}function _0x4a01ea(_0x43c342){return _0x43c342['map'](_0x298529=>String['fromCharCode'](_0x298529))['join']('');}_0x5e8e07(await _0x15270c());}(this);}['_initSchema'](){const _0x194548=this['editor']['model']['schema'];_0x194548['isRegistered']('imageBlock')&&_0x194548['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x194548['isRegistered']('imageInline')&&_0x194548['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5ef2f4=this['editor'];_0x5ef2f4['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5ef2f4['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x33bb7e=>_0x33bb7e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x43c047=_0x5ef2f4['commands']['get']('replaceImageSource');_0x43c047&&this['listenTo'](_0x43c047,'cleanupImage',(_0x2c44ed,[_0x472ab9,_0x85d167])=>{_0x472ab9['removeAttribute']('uploadcareImageId',_0x85d167);});}['_initConfig'](){const _0x423d64=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1e68d9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ab736(_0x593370['document'],'uc-config',{..._0x423d64,'pubkey':_0x1e68d9,'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']=_0x17cb75=>{if('closeMax'==_0x17cb75)return'#uc-icon-arrow-down';},_0x593370['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ab736(_0x593370['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x593370['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x54574f=this['editor']['commands']['get']('insertImage');_0x54574f&&this['listenTo'](_0x54574f,'execute',()=>{const _0x2a8f6a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a8f6a&&_0x2a8f6a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a8f6a);});});const _0x36fd1b=this['editor']['commands']['get']('uploadcareImageReplace');_0x36fd1b&&this['listenTo'](_0x36fd1b,'execute',()=>{const _0x53f773=this['editor']['model']['document']['selection']['getSelectedElement']();_0x53f773&&_0x53f773['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x53f773);});});}}class tt extends _0x13c8f3{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2cb270){super(_0x2cb270),_0x2cb270['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3af135['defineComponents'](_0x3af135),this['_defineLocale']();}['_defineLocale'](){const _0x20aacf=this['editor']['config']['get']('uploadcare.locale'),_0x21a5f1=this['editor']['locale']['contentLanguage'];_0x20aacf&&_0x3af135['defineLocale'](_0x21a5f1,_0x20aacf);}}class ii extends _0x212904{constructor(_0x4cc09e){super(_0x4cc09e);const t=_0x4cc09e['t'],_0x3dd428=this['bindTemplate'],_0x3aa2ab=new _0x238fc7();_0x3aa2ab['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':[_0x3aa2ab,{'text':_0x3dd428['to']('imageUploadProgress',_0x2e0d2d=>t('Loading\x20image...')+'\x20('+(_0x2e0d2d||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 _0x212904{constructor(_0xe50202){super(_0xe50202);const t=_0xe50202['t'];this['set']('errorType',null);const _0x42eb8b=new _0x538ecb(_0xe50202);_0x42eb8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x42eb8b['withText']=!0x0,_0x42eb8b['class']='ck-button-action',_0x42eb8b['on']('execute',()=>{this['fire']('retry');}),_0x42eb8b['bind']('isVisible')['to'](this,'errorType',_0x4089b1=>'NotFound'!==_0x4089b1);const _0x58c33f=new _0x10a779();_0x58c33f['content']=_0x1639cc,_0x58c33f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1e7cd0=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':[_0x58c33f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1e7cd0['to']('errorType',_0x14c263=>t('NotFound'!==_0x14c263?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x42eb8b]},{'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 _0x212904{constructor(_0x2aa247,_0x1ac47f){super(_0x2aa247);const _0x442ed6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1ac47f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x442ed6['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1779d1,_0x550127,_0x418083){super(_0x1779d1),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1779d1),this['_errorView']=new ti(_0x1779d1),this['_editingView']=new ei(_0x1779d1,_0x418083),this['_focusableView']=new _0x212904(_0x1779d1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x550127),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'],_0x2f46c4=>{this['_addUploadcareImageEditorListeners'](_0x2f46c4);});}),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'](_0x4e8b48,_0x156731){const _0x4635ae='uc-cloud-image-editor',_0x212771=_0x4e8b48['querySelector'](_0x4635ae);if(_0x212771)return _0x156731(_0x212771);const _0x64612a=new MutationObserver(_0x393aa8=>{const _0xe90d93=_0x393aa8['filter'](_0x2d9509=>_0x2d9509['target']===_0x4e8b48&&_0x2d9509['addedNodes']['length']>0x0&&_0x2d9509['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4635ae);_0xe90d93['length']&&(_0x64612a['disconnect'](),_0x156731(_0xe90d93[0x0]['addedNodes'][0x0]));});_0x64612a['observe'](_0x4e8b48,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1dde02){_0x1dde02['addEventListener']('apply',_0x56583f=>{this['fire']('apply',{'imageSrc':_0x56583f['detail']['cdnUrl']});}),_0x1dde02['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x2b8bff(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c4d92,_0x2d5ef2,_0x4cbdcd){super(),this['_editor']=_0x4c4d92,this['_dialog']=_0x2d5ef2,this['_imageElement']=_0x4cbdcd,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 _0x20dadd=this['_imageElement'],_0x1f8a80=_0x20dadd['getAttribute']('uploadcareImageId'),_0x557530=_0x20dadd['getAttribute']('src');if(_0x1f8a80)await this['_loadImageInfo'](_0x1f8a80,_0x557530);else{if(this['_imageCache']['has'](_0x557530)){const _0x337928=this['_imageCache']['get'](_0x557530);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x337928['url'],this['imageDimension']=_0x337928['dimension'],this['imageId']=_0x337928['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x412267}=this['_editor'],t=_0x412267['t'],_0x9327cc=new X(_0x412267,this['imageStatus'],this['_attributes']);_0x9327cc['bind']('status')['to'](this,'imageStatus'),_0x9327cc['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x9327cc['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x9327cc['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x9327cc,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x327887,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x9327cc,'position':_0x539d28['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x9327cc['focus']();},'onHide':()=>{_0x9327cc['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4f535c=>!A(_0x4f535c,_0x9327cc['element'])}});}['_loadImageInfo'](_0x2815dd,_0x58d0e3){return j['getInfo'](_0x2815dd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x48345c=>{const {width:_0x196e00,height:_0xd446e9}=_0x48345c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58d0e3,this['imageDimension']={'width':_0x196e00,'height':_0xd446e9},this['imageId']=_0x2815dd;})['catch'](_0x328221=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x328221['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4c5926,_0x2a687d){return this['_getImageAsFile'](_0x4c5926)['then'](_0x56bd00=>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':_0x2a687d['signal'],'file':_0x56bd00,'onProgress':_0x590acb=>{_0x590acb&&_0x590acb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x590acb['value']));}}))['then'](_0x502864=>{const {width:_0x36fc5f,height:_0x53b0d7}=_0x502864['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x502864['cdnUrl'],this['imageDimension']={'width':_0x36fc5f,'height':_0x53b0d7},this['imageId']=_0x502864['uuid'],this['imageUploadProgress']=null;const _0x2d1064=_0x4c5926['getAttribute']('src');this['_imageCache']['set'](_0x2d1064,{'id':_0x502864['uuid'],'url':_0x502864['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a2e2a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a2e2a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5161f3,_0x13dddb){_0x5161f3['on']('apply',(_0x3a13ac,_0x21829c)=>{this['_replaceImage'](_0x13dddb,_0x21829c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5161f3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5161f3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4c7948,_0x5a7b69,_0x3c6699){const _0x2a2c94=this['_editor'],{width:_0x15f720,height:_0x5db0d9}=S(_0x5a7b69,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4fc7f7,imageSources:_0x4b7b67}=C(_0x5a7b69,_0x15f720);_0x2a2c94['model']['change'](_0x47afe5=>{if('$graveyard'===_0x4c7948['root']['rootName']){_0x2a2c94['execute']('insertImage',{'imageType':_0x4c7948['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4c7948['getAttributes']()),'uploadcareImageId':_0x3c6699,'src':_0x4fc7f7,'sources':_0x4b7b67,'width':_0x15f720,'height':_0x5db0d9}});const _0x42a725=_0x4c7948['getChildren']();_0x4c7948=_0x2a2c94['model']['document']['selection']['getSelectedElement']();for(const _0x2e0bf2 of _0x42a725)_0x47afe5['append'](_0x47afe5['cloneElement'](_0x2e0bf2),_0x4c7948);}else _0x47afe5['setSelection'](_0x4c7948,'on'),_0x2a2c94['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4c7948['getAttributes']()),'uploadcareImageId':_0x3c6699,'src':_0x4fc7f7,'sources':_0x4b7b67,'width':_0x15f720,'height':_0x5db0d9},_0x4c7948);_0x47afe5['setSelection'](_0x4c7948,'on');});}async['_getImageAsFile'](_0x48e7c6){const _0x5ef9fc=_0x593370['window'],_0x85d92b=_0x593370['document']['location']['href'],_0x1a166e=new _0x5ef9fc['URL'](_0x48e7c6['getAttribute']('src'),_0x85d92b);if('data:'===_0x1a166e['protocol']){const _0x3b1dd6=_0x1a166e['href']['split'](','),_0x7c9d5d=_0x3b1dd6[0x0]['match'](/:(.*?);/)[0x1],_0x3ff1a5=_0x7c9d5d['split']('/')[0x1],_0x19e3aa=_0x5ef9fc['atob'](_0x3b1dd6[_0x3b1dd6['length']-0x1]);let _0x3c2615=_0x19e3aa['length'];const _0x4adc3c=new _0x5ef9fc['Uint8Array'](_0x3c2615);for(;_0x3c2615--;)_0x4adc3c[_0x3c2615]=_0x19e3aa['charCodeAt'](_0x3c2615);return new _0x5ef9fc['File']([_0x4adc3c],'image.'+_0x3ff1a5,{'type':_0x7c9d5d});}const _0x1233a6=_0x1a166e['href']['split']('/'),_0x31f9b8=_0x1233a6[_0x1233a6['length']-0x1],_0x1cfeb5=_0x31f9b8['split']('.')[0x1];return _0x5ef9fc['fetch'](_0x1a166e['href'])['then'](_0x6d1388=>_0x6d1388['clone']()['blob']())['then'](_0x517386=>new _0x5ef9fc['File']([_0x517386],_0x31f9b8,{'type':'image/'+_0x1cfeb5}));}}class O extends _0x332752{['imageEditController'];static get['requires'](){return[_0xb06da8];}['_isEditable'];constructor(_0xa66a44){super(_0xa66a44),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2d4326){const _0x9f2e82=G(_0x2d4326);return _0x5a2ed3=>!(!_0x5a2ed3||!_0x5a2ed3['is']('element','imageBlock')&&!_0x5a2ed3['is']('element','imageInline'))&&(!!_0x5a2ed3['hasAttribute']('uploadcareImageId')||!!_0x5a2ed3['hasAttribute']('src')&&_0x9f2e82(_0x5a2ed3['getAttribute']('src')));}(_0xa66a44['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x395205=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x395205);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x43dec0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43dec0&&(_0x43dec0['is']('element','imageBlock')||_0x43dec0['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xb06da8),_0x43dec0),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x332752{['refresh'](){const _0x3e13a5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3e13a5&&(_0x3e13a5['is']('element','imageBlock')||_0x3e13a5['is']('element','imageInline')));}['execute'](_0x427b90){const _0x1d6ac8=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x55aa64=>{_0x55aa64['setAttributes'](_0x427b90,_0x1d6ac8),_0x55aa64['removeAttribute']('srcset',_0x1d6ac8),_0x55aa64['removeAttribute']('sizes',_0x1d6ac8);});}}class m extends _0x13c8f3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xdc8daa,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c46b1}=this;_0x4c46b1['commands']['add']('uploadcareImageEdit',new O(_0x4c46b1)),_0x4c46b1['commands']['add']('uploadcareImageReplace',new R(_0x4c46b1));}}class g extends _0x13c8f3{['_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 _0x897419=this['editor'];_0x897419['ui']['componentFactory']['add']('uploadcareImageEdit',_0x208a9c=>{const _0x15423f=_0x897419['commands']['get']('uploadcareImageEdit'),_0x3a8c16=new _0x538ecb(_0x208a9c),t=_0x208a9c['t'];return _0x3a8c16['set']({'icon':_0x327887,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a8c16['bind']('isEnabled')['to'](_0x15423f),_0x3a8c16['bind']('isOn')['to'](_0x15423f,'isActive'),this['listenTo'](_0x3a8c16,'execute',()=>{_0x897419['execute']('uploadcareImageEdit'),_0x897419['editing']['view']['focus']();}),_0x3a8c16;}),this['_initConfig']();}['_initConfig'](){const _0x32fc87=_0x4ab736(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32fc87),this['listenTo'](this['editor'],'destroy',()=>{_0x32fc87['remove']();});}}class et extends _0x13c8f3{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':_0x8e6e49=>0x1!=_0x8e6e49}};
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':_0x1c6891=>0x1!=_0x1c6891}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c1b09=>{const {af:{dictionary:_0x4697a2,getPluralForm:_0x40994b}}={'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':_0x24b452=>0x1!=_0x24b452}};_0x5c1b09['af']||={'dictionary':{},'getPluralForm':null},_0x5c1b09['af']['dictionary']=Object['assign'](_0x5c1b09['af']['dictionary'],_0x4697a2),_0x5c1b09['af']['getPluralForm']=_0x40994b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xef3a51=>{const {af:{dictionary:_0x440e41,getPluralForm:_0x387477}}={'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':_0x5db0f8=>0x1!=_0x5db0f8}};_0xef3a51['af']||={'dictionary':{},'getPluralForm':null},_0xef3a51['af']['dictionary']=Object['assign'](_0xef3a51['af']['dictionary'],_0x440e41),_0xef3a51['af']['getPluralForm']=_0x387477;})(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':_0x1d140f=>0x0==_0x1d140f?0x0:0x1==_0x1d140f?0x1:0x2==_0x1d140f?0x2:_0x1d140f%0x64>=0x3&&_0x1d140f%0x64<=0xa?0x3:_0x1d140f%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':_0x5887f4=>0x0==_0x5887f4?0x0:0x1==_0x5887f4?0x1:0x2==_0x5887f4?0x2:_0x5887f4%0x64>=0x3&&_0x5887f4%0x64<=0xa?0x3:_0x5887f4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a7897=>{const {ar:{dictionary:_0x331ef5,getPluralForm:_0x8f3dc2}}={'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':_0x31c1c6=>0x0==_0x31c1c6?0x0:0x1==_0x31c1c6?0x1:0x2==_0x31c1c6?0x2:_0x31c1c6%0x64>=0x3&&_0x31c1c6%0x64<=0xa?0x3:_0x31c1c6%0x64>=0xb?0x4:0x5}};_0x4a7897['ar']||={'dictionary':{},'getPluralForm':null},_0x4a7897['ar']['dictionary']=Object['assign'](_0x4a7897['ar']['dictionary'],_0x331ef5),_0x4a7897['ar']['getPluralForm']=_0x8f3dc2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56d6ee=>{const {ar:{dictionary:_0x5100b3,getPluralForm:_0x35a0cb}}={'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':_0x5858dd=>0x0==_0x5858dd?0x0:0x1==_0x5858dd?0x1:0x2==_0x5858dd?0x2:_0x5858dd%0x64>=0x3&&_0x5858dd%0x64<=0xa?0x3:_0x5858dd%0x64>=0xb?0x4:0x5}};_0x56d6ee['ar']||={'dictionary':{},'getPluralForm':null},_0x56d6ee['ar']['dictionary']=Object['assign'](_0x56d6ee['ar']['dictionary'],_0x5100b3),_0x56d6ee['ar']['getPluralForm']=_0x35a0cb;})(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':_0x281780=>0x1!=_0x281780}};
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':_0x5a90d5=>0x1!=_0x5a90d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xfdabd0=>{const {ast:{dictionary:_0x886464,getPluralForm:_0x3f9b78}}={'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':_0x50a413=>0x1!=_0x50a413}};_0xfdabd0['ast']||={'dictionary':{},'getPluralForm':null},_0xfdabd0['ast']['dictionary']=Object['assign'](_0xfdabd0['ast']['dictionary'],_0x886464),_0xfdabd0['ast']['getPluralForm']=_0x3f9b78;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25ffa7=>{const {ast:{dictionary:_0x34e54c,getPluralForm:_0x58ef3a}}={'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':_0x5dd251=>0x1!=_0x5dd251}};_0x25ffa7['ast']||={'dictionary':{},'getPluralForm':null},_0x25ffa7['ast']['dictionary']=Object['assign'](_0x25ffa7['ast']['dictionary'],_0x34e54c),_0x25ffa7['ast']['getPluralForm']=_0x58ef3a;})(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':_0xc716b5=>0x1!=_0xc716b5}};
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':_0x4e1e7f=>0x1!=_0x4e1e7f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x264c55=>{const {az:{dictionary:_0x2399c1,getPluralForm:_0x22496f}}={'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':_0x491106=>0x1!=_0x491106}};_0x264c55['az']||={'dictionary':{},'getPluralForm':null},_0x264c55['az']['dictionary']=Object['assign'](_0x264c55['az']['dictionary'],_0x2399c1),_0x264c55['az']['getPluralForm']=_0x22496f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd9d5ce=>{const {az:{dictionary:_0x1f2795,getPluralForm:_0x2083e6}}={'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':_0x1dd0b1=>0x1!=_0x1dd0b1}};_0xd9d5ce['az']||={'dictionary':{},'getPluralForm':null},_0xd9d5ce['az']['dictionary']=Object['assign'](_0xd9d5ce['az']['dictionary'],_0x1f2795),_0xd9d5ce['az']['getPluralForm']=_0x2083e6;})(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':_0x4006e2=>_0x4006e2%0xa==0x1&&_0x4006e2%0x64!=0xb?0x0:_0x4006e2%0xa>=0x2&&_0x4006e2%0xa<=0x4&&(_0x4006e2%0x64<0xa||_0x4006e2%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':_0x2c6420=>_0x2c6420%0xa==0x1&&_0x2c6420%0x64!=0xb?0x0:_0x2c6420%0xa>=0x2&&_0x2c6420%0xa<=0x4&&(_0x2c6420%0x64<0xa||_0x2c6420%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5892c4=>{const {be:{dictionary:_0x2e1c93,getPluralForm:_0x5ddc2b}}={'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':_0x36d2ca=>_0x36d2ca%0xa==0x1&&_0x36d2ca%0x64!=0xb?0x0:_0x36d2ca%0xa>=0x2&&_0x36d2ca%0xa<=0x4&&(_0x36d2ca%0x64<0xa||_0x36d2ca%0x64>=0x14)?0x1:0x2}};_0x5892c4['be']||={'dictionary':{},'getPluralForm':null},_0x5892c4['be']['dictionary']=Object['assign'](_0x5892c4['be']['dictionary'],_0x2e1c93),_0x5892c4['be']['getPluralForm']=_0x5ddc2b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc0eb3c=>{const {be:{dictionary:_0x302cc5,getPluralForm:_0x2f1bd3}}={'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':_0x4a9390=>_0x4a9390%0xa==0x1&&_0x4a9390%0x64!=0xb?0x0:_0x4a9390%0xa>=0x2&&_0x4a9390%0xa<=0x4&&(_0x4a9390%0x64<0xa||_0x4a9390%0x64>=0x14)?0x1:0x2}};_0xc0eb3c['be']||={'dictionary':{},'getPluralForm':null},_0xc0eb3c['be']['dictionary']=Object['assign'](_0xc0eb3c['be']['dictionary'],_0x302cc5),_0xc0eb3c['be']['getPluralForm']=_0x2f1bd3;})(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':_0x563ea2=>0x1!=_0x563ea2}};
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':_0x44b72f=>0x1!=_0x44b72f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ad4e2=>{const {bg:{dictionary:_0x59dc92,getPluralForm:_0x1bc986}}={'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':_0x3b8166=>0x1!=_0x3b8166}};_0x4ad4e2['bg']||={'dictionary':{},'getPluralForm':null},_0x4ad4e2['bg']['dictionary']=Object['assign'](_0x4ad4e2['bg']['dictionary'],_0x59dc92),_0x4ad4e2['bg']['getPluralForm']=_0x1bc986;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c38bc=>{const {bg:{dictionary:_0x3dc12f,getPluralForm:_0x4b9000}}={'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':_0x526d49=>0x1!=_0x526d49}};_0x2c38bc['bg']||={'dictionary':{},'getPluralForm':null},_0x2c38bc['bg']['dictionary']=Object['assign'](_0x2c38bc['bg']['dictionary'],_0x3dc12f),_0x2c38bc['bg']['getPluralForm']=_0x4b9000;})(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':_0x2b3ea2=>0x1!=_0x2b3ea2}};
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':_0x480534=>0x1!=_0x480534}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31f39b=>{const {bn:{dictionary:_0x4797a9,getPluralForm:_0x3d7a90}}={'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':_0x4ad1f0=>0x1!=_0x4ad1f0}};_0x31f39b['bn']||={'dictionary':{},'getPluralForm':null},_0x31f39b['bn']['dictionary']=Object['assign'](_0x31f39b['bn']['dictionary'],_0x4797a9),_0x31f39b['bn']['getPluralForm']=_0x3d7a90;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cc487=>{const {bn:{dictionary:_0xf5247d,getPluralForm:_0x18f415}}={'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':_0x173b7b=>0x1!=_0x173b7b}};_0x1cc487['bn']||={'dictionary':{},'getPluralForm':null},_0x1cc487['bn']['dictionary']=Object['assign'](_0x1cc487['bn']['dictionary'],_0xf5247d),_0x1cc487['bn']['getPluralForm']=_0x18f415;})(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':_0x57f045=>_0x57f045%0xa==0x1&&_0x57f045%0x64!=0xb?0x0:_0x57f045%0xa>=0x2&&_0x57f045%0xa<=0x4&&(_0x57f045%0x64<0xa||_0x57f045%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':_0x42f9fc=>_0x42f9fc%0xa==0x1&&_0x42f9fc%0x64!=0xb?0x0:_0x42f9fc%0xa>=0x2&&_0x42f9fc%0xa<=0x4&&(_0x42f9fc%0x64<0xa||_0x42f9fc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23e28a=>{const {bs:{dictionary:_0x3e416a,getPluralForm:_0x58adbc}}={'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':_0x14ce7c=>_0x14ce7c%0xa==0x1&&_0x14ce7c%0x64!=0xb?0x0:_0x14ce7c%0xa>=0x2&&_0x14ce7c%0xa<=0x4&&(_0x14ce7c%0x64<0xa||_0x14ce7c%0x64>=0x14)?0x1:0x2}};_0x23e28a['bs']||={'dictionary':{},'getPluralForm':null},_0x23e28a['bs']['dictionary']=Object['assign'](_0x23e28a['bs']['dictionary'],_0x3e416a),_0x23e28a['bs']['getPluralForm']=_0x58adbc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x402d02=>{const {bs:{dictionary:_0x35ef35,getPluralForm:_0x4838dd}}={'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':_0x22e43=>_0x22e43%0xa==0x1&&_0x22e43%0x64!=0xb?0x0:_0x22e43%0xa>=0x2&&_0x22e43%0xa<=0x4&&(_0x22e43%0x64<0xa||_0x22e43%0x64>=0x14)?0x1:0x2}};_0x402d02['bs']||={'dictionary':{},'getPluralForm':null},_0x402d02['bs']['dictionary']=Object['assign'](_0x402d02['bs']['dictionary'],_0x35ef35),_0x402d02['bs']['getPluralForm']=_0x4838dd;})(window['CKEDITOR_TRANSLATIONS']||={});