@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250429.0 → 0.0.0-nightly-20250501.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 _0x497d2a,Command as _0x3c531a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3a692e,IconGooglePhotos as _0x7191a9,IconGoogleDrive as _0x1a322a,IconFacebook as _0x141bfb,IconDropbox as _0x368c6c,IconUploadcareLink as _0x40f929,IconUploadcareImageUpload as _0x15154a,IconError as et,IconUploadcareImageEdit as _0x268f3d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4c8e35,MenuBarMenuListItemButtonView as _0x437bd6,View as _0x3a39e1,FocusCycler as _0x268cff,Dialog as _0x51364e,DialogViewPosition as _0x3013eb,SpinnerView as _0x493a2b,IconView as at,Notification as _0x5e7584}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x466592,DomEmitterMixin as _0x785a88,global as _0x50ce71,getAncestors as _0xdf8e19,ObservableMixin as _0x34c110,createElement as _0x2041d2,uid as _0x12def6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x31a40d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x42a401,info as _0x4a1479}from'@uploadcare/upload-client';import*as _0x56f1f3 from'@uploadcare/file-uploader';var o=function(_0x3bc16b){return _0x3bc16b['Local']='local',_0x3bc16b['URL']='url',_0x3bc16b['Dropbox']='dropbox',_0x3bc16b['GDrive']='gdrive',_0x3bc16b['Facebook']='facebook',_0x3bc16b['GPhotos']='gphotos',_0x3bc16b['OneDrive']='onedrive',_0x3bc16b;}({});function _(_0x43ec9c,_0x4fe37a,_0x4a62ac){const t=_0x43ec9c['t'],_0x594c29=_0x43ec9c['t'];switch(_0x4fe37a){case o['Local']:return{'text':_0x594c29('Insert'===_0x4a62ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x594c29('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4a62ac?_0x594c29('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x594c29('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4a62ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4fe37a;}}class e extends _0x497d2a{['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 _0x11864f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b6d11;for(const _0x255ee8 in _0x11864f){const _0x4bd4bf=_0x255ee8,_0x240fd3=_0x11864f[_0x4bd4bf];if('uploadcareLicenseKeyValid'==_0x240fd3||'uploadcareLicenseKeyInvalid'==_0x240fd3||'uploadcareLicenseKeyExpired'==_0x240fd3||'uploadcareLicenseKeyDomainLimit'==_0x240fd3||'uploadcareLicenseKeyNotAllowed'==_0x240fd3||'uploadcareLicenseKeyEvaluationLimit'==_0x240fd3||'uploadcareLicenseKeyTrialLimit'==_0x240fd3||'uploadcareLicenseKeyUsageLimit'==_0x240fd3){delete _0x11864f[_0x4bd4bf],_0x2b6d11=_0x240fd3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2b6d11&&_0x11864f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2b6d11&&_0x11864f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2b6d11&&_0x11864f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2b6d11&&_0x11864f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3b2cd5}=this,_0xa0a02c=_0x3b2cd5['commands']['get']('uploadcare');if(!_0xa0a02c)return;const _0x1ff6bf=this['_normalizeConfigSourceList'](_0x3b2cd5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xd9b8f3,_0x5926f4)=>{const _0xfc2db8=this['_getIntegrationKey'](_0x5926f4['type']);return _0xd9b8f3[_0xfc2db8]||(_0xd9b8f3[_0xfc2db8]=[]),_0xd9b8f3[_0xfc2db8]['push'](_0x5926f4),_0xd9b8f3;},{});_0x3b2cd5['plugins']['has']('ImageInsertUI')&&_0x3b2cd5['commands']['get']('uploadcare')&&Object['entries'](_0x1ff6bf)['forEach'](([_0x15c0f5,_0x4ce805])=>{_0x3b2cd5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x15c0f5,'observable':()=>_0xa0a02c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4ce805),'formViewCreator':()=>this['_createDropdownButtons'](_0x4ce805),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4ce805),'override':'assetManager'!==_0x15c0f5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x6be48){const {locale:_0x21c82c}=this['editor'];return _0x6be48['map'](_0x550c58=>{const _0x4a6acc=_(_0x21c82c,_0x550c58,'Insert');switch(_0x550c58){case o['Local']:return{'icon':_0x15154a,'type':o['Local'],..._0x4a6acc};case o['URL']:return{'icon':_0x40f929,'type':o['URL'],..._0x4a6acc};case o['Dropbox']:return{'icon':_0x368c6c,'type':o['Dropbox'],..._0x4a6acc};case o['Facebook']:return{'icon':_0x141bfb,'type':o['Facebook'],..._0x4a6acc};case o['GDrive']:return{'icon':_0x1a322a,'type':o['GDrive'],..._0x4a6acc};case o['GPhotos']:return{'icon':_0x7191a9,'type':o['GPhotos'],..._0x4a6acc};case o['OneDrive']:return{'icon':_0x3a692e,'type':o['OneDrive'],..._0x4a6acc};}});}['_getIntegrationKey'](_0x5640a4){switch(_0x5640a4){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x595b1a,_0x592919){const _0x50ca21=this['editor'],_0x5623fe=new _0x595b1a(_0x50ca21['locale']),_0x1972ed=_0x50ca21['commands']['get']('uploadcare');return _0x5623fe['bind']('isEnabled')['to'](_0x1972ed),_0x5623fe['on']('execute',()=>{_0x1972ed['execute'](_0x592919);}),_0x5623fe;}['_createToolbarButton'](_0x1510d3){const {locale:_0x2b4022}=this['editor'],_0x3babc4=this['editor']['plugins']['get']('ImageInsertUI'),_0x2896ac=_0x1510d3[0x0],_0x729d79=this['_createButton'](_0x4c8e35,_0x2896ac['type']);return _0x729d79['icon']=_0x2896ac['icon'],_0x729d79['bind']('label')['to'](_0x3babc4,'isImageSelected',_0x352fc7=>_(_0x2b4022,_0x2896ac['type'],_0x352fc7?'Replace':'Insert')['text']),_0x729d79['tooltip']=!0x0,_0x729d79;}['_createDropdownButtons'](_0x543aee){const {locale:_0x1eba51}=this['editor'],_0xebaec5=this['editor']['plugins']['get']('ImageInsertUI');return _0x543aee['map'](_0x2f7d13=>{const _0x23a010=this['_createButton'](_0x4c8e35,_0x2f7d13['type']);return _0x23a010['withText']=!0x0,_0x23a010['icon']=_0x2f7d13['icon'],_0x23a010['bind']('label')['to'](_0xebaec5,'isImageSelected',_0xbec8c7=>_(_0x1eba51,_0x2f7d13['type'],_0xbec8c7?'Replace':'Insert')['text']),_0x23a010;});}['_createMenuBarButtons'](_0xfe9757){return _0xfe9757['map'](_0x7b8123=>{const _0x1edf7a=this['_createButton'](_0x437bd6,_0x7b8123['type']);return _0x1edf7a['icon']=_0x7b8123['icon'],_0x1edf7a['label']=_0x7b8123['shortText'],_0x1edf7a;});}}class q extends _0x3a39e1{['focusTracker'];['focusCycler'];constructor(_0x4763f8){super(_0x4763f8),this['focusTracker']=new _0x466592(),this['focusCycler']=new _0x268cff({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x55d822){super(_0x55d822),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x34e56a,_0x44b754){const _0x252206=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2971d1=>_0x2971d1<=_0x44b754)['map'](_0x56ef4e=>_0x34e56a['replace'](/\/$/,'')+'/-/resize/'+_0x56ef4e+'x/\x20'+_0x56ef4e+'w');return{'imageFallbackUrl':_0x34e56a,'imageSources':[{'srcset':_0x252206['join'](',\x20'),'sizes':'(max-width:\x20'+_0x44b754+'px)\x20100vw,\x20'+_0x44b754+'px','type':'image/webp'}]};}function A(_0xb9efe9,_0x62bfa2,_0x31315b){const _0x5b6334=_0xb9efe9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b6334?parseInt(_0x5b6334[0x1],0xa):_0x62bfa2,'height':_0x5b6334?parseInt(_0x5b6334[0x2],0xa):_0x31315b};}function m(_0xe858d2,_0x27ce72){const _0x1dcc02=Object['create'](_0x785a88),_0x74d96c=_0xe858d2['plugins']['get']('ImageUtils'),_0x1331ae=_0xe858d2['editing']['mapper']['toViewElement'](_0x27ce72),_0x399a91=_0x74d96c['findViewImgElement'](_0x1331ae),_0xe60af6=_0xe858d2['editing']['view']['domConverter']['viewToDom'](_0x399a91),_0x1be5d6=_0x27ce72['getAttribute']('width'),_0x75c2b3=_0x27ce72['getAttribute']('height'),_0x4e511a='image-processing';_0xe858d2['editing']['view']['change'](_0x4191fd=>{_0x4191fd['addClass'](_0x4e511a,_0x1331ae),_0x4191fd['setStyle']('aspect-ratio',_0x1be5d6+'/'+_0x75c2b3,_0x399a91);}),_0x1dcc02['listenTo'](_0xe60af6,'load',()=>{_0x1dcc02['stopListening'](_0xe60af6,'load'),_0xe858d2['editing']['view']['change'](_0x16024f=>{_0x16024f['removeClass'](_0x4e511a,_0x1331ae),_0x16024f['removeStyle']('aspect-ratio',_0x399a91);});});}function V(_0xc37006){if(Array['isArray'](_0xc37006)){const _0x285c46=_0xc37006['map'](V);return _0xbd6344=>_0x285c46['some'](_0x25b190=>_0x25b190(_0xbd6344));}if('origin'==_0xc37006){const _0x1d6f7a=_0x50ce71['window']['location']['origin'];return _0x26ebd0=>new URL(_0x26ebd0,_0x50ce71['document']['baseURI'])['origin']==_0x1d6f7a;}return'function'==typeof _0xc37006?_0xc37006:_0xc37006 instanceof RegExp?_0x3fb7a0=>!(!_0x3fb7a0['match'](_0xc37006)&&!_0x3fb7a0['replace'](/^https?:\/\//,'')['match'](_0xc37006)):()=>!0x1;}function F(_0x24b76a,_0x5161f3){return _0xdf8e19(_0x24b76a['target'])['includes'](_0x5161f3);}class l extends/* #__PURE__ -- @preserve */
24
- _0x34c110(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4b887e,_0xd6fd50,_0x32964d){super(),this['_editor']=_0x4b887e,this['_editing']=_0xd6fd50,this['_dialog']=_0x4b887e['plugins']['get'](_0x51364e),this['_api']=_0xd6fd50['ctxElement']['getAPI'](),this['_type']=_0x32964d,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:_0x250a5e,model:_0x2a1c1d}=this['_editor'],_0x4edfbe=_0x2a1c1d['document']['selection']['getSelectedElement'](),_0x119937=_0x4edfbe&&(_0x4edfbe['is']('element','imageBlock')||_0x4edfbe['is']('element','imageInline'));this['_formView']=new S(_0x250a5e),this['_dialog']['show']({'id':'uploadCare','icon':_0x15154a,'title':_(_0x250a5e,this['_type'],_0x119937?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3013eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e3f11=>!F(_0x3e3f11,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4b8df5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x18324b=>{const _0x3b6517=_0x4b8df5['length'];for(const _0x153e7f of _0x4b8df5){const _0x23ca62=_0x153e7f===_0x4b8df5[_0x3b6517-0x1],{cdnUrl:_0x349259,fileInfo:_0x3a355c}=_0x153e7f;if(!_0x349259||!_0x3a355c)continue;const {width:_0x42e072,height:_0x46e648}=_0x3a355c['imageInfo'],_0x202c5b=A(_0x349259,_0x42e072,_0x46e648),_0x434364=E(_0x349259,_0x202c5b['width']),_0x3b8fef={'id':_0x3a355c['uuid'],'type':'image','attributes':{'imageDimension':_0x202c5b,..._0x434364}};this['_insertAsset'](_0x3b8fef,_0x23ca62,_0x18324b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x125fd2=>{'idle'===_0x125fd2['detail']['status']&&!_0x125fd2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3e3d95,_0x3d590e,_0x7307ef){const _0x1c78ef=this['_editor']['model']['document']['selection'],_0x5a6f5f=_0x1c78ef['getSelectedElement'](),_0x51155a=!(!_0x5a6f5f||!_0x5a6f5f['is']('element','imageInline'));_0x7307ef['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3e3d95,_0x51155a),_0x3d590e||_0x7307ef['setSelection'](_0x1c78ef['getLastPosition']());}['_insertImage'](_0xd99f22,_0x2d3ea1){const _0x59850d=this['_editor'],{imageDimension:_0x4d9b27,imageFallbackUrl:_0x4aebc6,imageSources:_0x57787d}=_0xd99f22['attributes'];_0x59850d['execute']('insertImage',{'imageType':_0x2d3ea1?'imageInline':null,'source':{'uploadcareImageId':_0xd99f22['id'],'src':_0x4aebc6,'sources':_0x57787d,..._0x4d9b27}});}}class n extends _0x3c531a{['_editing'];['_controller']=null;static get['requires'](){return[_0x51364e,i];}constructor(_0x5431be){super(_0x5431be),this['_editing']=_0x5431be['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x489feb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x489feb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x9af951,publicKey:_0x52b4eb,signal:_0x20d95b,onProgress:_0x20d5bb}){return _0x42a401(_0x9af951,{'publicKey':_0x52b4eb,'store':'auto','signal':_0x20d95b,'onProgress':_0x20d5bb});}static['getInfo'](_0x1ae86f,_0x42de11){return _0x4a1479(_0x1ae86f,_0x42de11);}}class p extends _0x497d2a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31a40d,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2535f5=this['editor'];if(!!!_0x2535f5['config']['get']('uploadcare'))return;_0x2535f5['plugins']['get'](_0x31a40d)['createUploadAdapter']=_0x1e4f73=>new x(_0x1e4f73,_0x2535f5),_0x2535f5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x598ee5,{imageElement:_0x416e1d,data:_0x2257d3})=>{_0x2535f5['model']['change'](_0x9e25af=>{_0x9e25af['setAttribute']('uploadcareImageId',_0x2257d3['uploadcareImageId'],_0x416e1d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x54cd8c,_0x230bf8){this['loader']=_0x54cd8c,this['editor']=_0x230bf8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x511ca2=this['editor']['config']['get']('uploadcare.pubkey'),_0x22896e=await this['loader']['file'];return C['upload']({'file':_0x22896e,'publicKey':_0x511ca2,'signal':this['controller']['signal'],'onProgress':_0x34db4f=>{_0x34db4f&&_0x34db4f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x34db4f['value']);}})['then'](async _0x892274=>{const {imageFallbackUrl:_0x370637,imageSources:_0x94f693}=E(_0x892274['cdnUrl'],_0x892274['imageInfo']['width']);return{'uploadcareImageId':_0x892274['uuid'],'default':_0x370637,'sources':_0x94f693};})['catch'](()=>{const _0x812b41=t('Cannot\x20upload\x20file:')+('\x20'+_0x22896e['name']+'.');return Promise['reject'](_0x812b41);});}['abort'](){this['controller']['abort']();}}class i extends _0x497d2a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x51364e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x36e8cb=this['editor'];_0x36e8cb['commands']['add']('uploadcare',new n(_0x36e8cb));}['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 _0x2995e1=_0x50ce71['document']['querySelector']('input[uploadcare-file-input]');_0x2995e1&&_0x2995e1['remove']();}),async function(_0x410b31){const _0x2fbe05=_0x3fe537([0x4b,0x30,0x52,0x44,0x38,0x70,0x31,0x63,0x6a,0x62,0x58,0x4d,0x36,0x7a,0x54,0x66,0x33,0x6c,0x53,0x45,0x4e,0x41,0x72,0x6f,0x47,0x6b,0x68,0x4f,0x48,0x59,0x49,0x73,0x50,0x56,0x37,0x57,0x4c,0x46,0x51,0x55,0x32,0x6d,0x64,0x6e,0x5a,0x71,0x78,0x77,0x75,0x39,0x43,0x42,0x34,0x74,0x65,0x67,0x35,0x76,0x69,0x61,0x4a,0x79]),_0x36336c=0x187d0544,_0xcbd084=0x187a632c^_0x36336c,_0x4fedde=window[_0x3fe537([0x44,0x61,0x74,0x65])][_0x3fe537([0x6e,0x6f,0x77])](),_0x23c9fc=_0x410b31[_0x3fe537([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11d2c6=new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7d3b=>{_0x23c9fc[_0x3fe537([0x6f,0x6e,0x63,0x65])](_0x3fe537([0x72,0x65,0x61,0x64,0x79]),_0x5c7d3b);}),_0x3aabea={[_0x3fe537([0x6b,0x74,0x79])]:_0x3fe537([0x45,0x43]),[_0x3fe537([0x75,0x73,0x65])]:_0x3fe537([0x73,0x69,0x67]),[_0x3fe537([0x63,0x72,0x76])]:_0x3fe537([0x50,0x2d,0x32,0x35,0x36]),[_0x3fe537([0x78])]:_0x3fe537([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]),[_0x3fe537([0x79])]:_0x3fe537([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]),[_0x3fe537([0x61,0x6c,0x67])]:_0x3fe537([0x45,0x53,0x32,0x35,0x36])},_0x5ae3d7=_0x23c9fc[_0x3fe537([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fe537([0x67,0x65,0x74])](_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x268a44(){let _0x225be3,_0x3ecbb7=null,_0x47f7eb=null;try{if(_0x5ae3d7==_0x3fe537([0x47,0x50,0x4c]))return _0x3fe537([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x225be3=_0x4a2449(),!_0x225be3)return _0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x225be3[_0x3fe537([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47f7eb=_0xf7fe8c(_0x225be3[_0x3fe537([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x225be3[_0x3fe537([0x6a,0x74,0x69])])),await _0x2f0612()?_0x133e8f()?_0x551cbb()?_0x3fe537([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e75d4()?(_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe537([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ecbb7=_0x7df6d2(_0x3fe537([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe537([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ecbb7=_0x7df6d2(_0x3fe537([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278b3c()):_0x3fe537([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe537([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x49e337){return _0x3fe537([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x551cbb(){const _0x3f1928=[_0x3fe537([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fe537([0x74,0x72,0x69,0x61,0x6c])][_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fedde/0x3e8:0xe10*_0xcbd084;return _0x225be3[_0x3fe537([0x65,0x78,0x70])]<_0x3f1928;}function _0x133e8f(){const _0xd78c87=_0x225be3[_0x3fe537([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd78c87&&(!!_0xd78c87[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x2a]))||!!_0xd78c87[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x55,0x50,0x4c,0x43])));}function _0x3e75d4(){const _0xf674d4=_0x225be3[_0x3fe537([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf674d4||0x0==_0xf674d4[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bfea3}=new URL(window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf674d4[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfea3))return!0x0;const _0xcd9ee2=_0x3bfea3[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e]));return _0xf674d4[_0x3fe537([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b07dd=>_0x3b07dd[_0x3fe537([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe537([0x2a])))[_0x3fe537([0x6d,0x61,0x70])](_0x575827=>_0x575827[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e])))[_0x3fe537([0x73,0x6f,0x6d,0x65])](_0x54510d=>_0xcd9ee2[_0x3fe537([0x65,0x76,0x65,0x72,0x79])]((_0xe2b3da,_0x34e7da)=>_0x54510d[_0x34e7da]===_0xe2b3da||_0x54510d[_0x34e7da]===_0x3fe537([0x2a])));}function _0x278b3c(){return _0x3ecbb7&&_0x47f7eb?new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a055b,_0x5eb432)=>{_0x3ecbb7[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x2a055b,_0x5eb432),_0x47f7eb[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x266ba2=>{_0x266ba2!=_0x3fe537([0x56,0x61,0x6c,0x69,0x64])&&_0x2a055b(_0x266ba2);},_0x5eb432);}):_0x3ecbb7||_0x47f7eb||_0x3fe537([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf7fe8c(_0x5caefe,_0x442576){return new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b155=>{if(_0x7dec())return _0x28b155(_0x3fe537([0x56,0x61,0x6c,0x69,0x64]));_0x476b4a(),_0x23c9fc[_0x3fe537([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd3921f=!0x1;const _0x11d437=_0x12def6();function _0xb076d6(_0x33cbc4){return!!_0x33cbc4&&(typeof _0x33cbc4===_0x3fe537([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33cbc4===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33cbc4[_0x3fe537([0x74,0x68,0x65,0x6e])]===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33cbc4[_0x3fe537([0x63,0x61,0x74,0x63,0x68])]===_0x3fe537([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f4fc4(_0x2406b9){_0x2de212(_0x2406b9)[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x196158=>{if(!_0x196158||_0x196158[_0x3fe537([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fe537([0x6f,0x6b]))return _0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x381157(_0x24b4b4(_0x11d437+_0x442576))!=_0x196158[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe537([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe537([0x74,0x68,0x65,0x6e])](_0xcf8529=>(_0x5304f4(),_0xcf8529),()=>{const _0x11625b=_0x5e96d9();return null==_0x11625b?(_0x5304f4(),_0x3fe537([0x56,0x61,0x6c,0x69,0x64])):_0x3fe537(_0x4fedde-_0x11625b>(0x3c718144^_0x36336c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x28b155)[_0x3fe537([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2eaced=0x184bebc4^_0x36336c;function _0x5304f4(){const _0x1f6c57=_0x3fe537([0x6c,0x6c,0x63,0x74,0x2d])+_0x381157(_0x24b4b4(_0x5caefe)),_0x9e8999=_0x44f561(_0x381157(window[_0x3fe537([0x4d,0x61,0x74,0x68])][_0x3fe537([0x63,0x65,0x69,0x6c])](_0x4fedde/_0x2eaced)));window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe537([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f6c57,_0x9e8999);}function _0x5e96d9(){const _0x1b2e54=_0x3fe537([0x6c,0x6c,0x63,0x74,0x2d])+_0x381157(_0x24b4b4(_0x5caefe)),_0x1ce307=window[_0x3fe537([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe537([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b2e54);return _0x1ce307?window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44f561(_0x1ce307),0x10)*_0x2eaced:null;}function _0x2de212(_0x85ce61){return new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a615b,_0x4d336a)=>{_0x85ce61[_0x3fe537([0x74,0x68,0x65,0x6e])](_0x2a615b,_0x4d336a),window[_0x3fe537([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d336a,0x187cd184^_0x36336c);});}}_0x23c9fc[_0x3fe537([0x6f,0x6e])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57984f,_0x4bb3b3)=>{if(_0x4bb3b3[0x0]!=_0x5caefe)return _0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bb3b3[0x1]={..._0x4bb3b3[0x1],[_0x3fe537([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11d437};},{[_0x3fe537([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe537([0x68,0x69,0x67,0x68])}),_0x23c9fc[_0x3fe537([0x6f,0x6e])](_0x3fe537([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x251196=>{_0xb076d6(_0x251196[_0x3fe537([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd3921f=!0x0,_0x1f4fc4(_0x251196[_0x3fe537([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fe537([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe537([0x6c,0x6f,0x77])}),_0x11d2c6[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>{_0xd3921f||_0x28b155(_0x3fe537([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7dec(){return _0x23c9fc[_0x3fe537([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe537([0x76,0x69,0x65,0x77])][_0x3fe537([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fe537([0x61,0x75,0x74,0x6f]);}function _0x476b4a(){_0x23c9fc[_0x3fe537([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe537([0x76,0x69,0x65,0x77])][_0x3fe537([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe537([0x61,0x75,0x74,0x6f]);}}function _0x7df6d2(_0x5cb4b5){const _0x4e530b=[new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346171=>setTimeout(_0x346171,0x18743b88^_0x36336c)),_0x11d2c6[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9986=>{let _0x1df391=0x0;_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x6f,0x6e])](_0x3fe537([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38732f,_0x4c4d90)=>{_0x4c4d90[0x0][_0x3fe537([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1df391++,_0x1df391==(0x187d04bc^_0x36336c)&&(_0x1f9986(),_0x38732f[_0x3fe537([0x6f,0x66,0x66])]());});}))];return window[_0x3fe537([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe537([0x72,0x61,0x63,0x65])](_0x4e530b)[_0x3fe537([0x74,0x68,0x65,0x6e])](()=>_0x5cb4b5);}async function _0x2307cf(){await _0x11d2c6,_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e73dd,_0x23c9fc[_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe537([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e73dd,_0x23c9fc[_0x3fe537([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fe537([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a6519(_0x33a5b7){const _0x141683=_0x4b5b96();_0x23c9fc[_0x141683]=_0x3fe537([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33a5b7,_0x33a5b7!=_0x3fe537([0x56,0x61,0x6c,0x69,0x64])&&_0x2307cf();}function _0x4b5b96(){const _0x935c1b=window[_0x3fe537([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fe537([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fe537([0x6e,0x6f,0x77])]())[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fe537([0x2e]),'');let _0x3a67e2=_0x3fe537([0x4b]);for(let _0x5603a9=0x0;_0x5603a9<_0x935c1b[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5603a9+=0x2){let _0x659347=window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x935c1b[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5603a9,_0x5603a9+0x2));_0x659347>=_0x2fbe05[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x659347-=_0x2fbe05[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a67e2+=_0x2fbe05[_0x659347];}return _0x3a67e2;}function _0x4a2449(){const _0x24d2f4=_0x5ae3d7[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e]));if(0x3!=_0x24d2f4[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50cd9b(_0x24d2f4[0x1]);function _0x50cd9b(_0x5553b9){const _0x3e58eb=_0x58df96(_0x5553b9);return _0x3e58eb&&_0xc5327b()?_0x3e58eb:null;function _0xc5327b(){const _0x43bd90=_0x3e58eb[_0x3fe537([0x6a,0x74,0x69])],_0x5215c8=window[_0x3fe537([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43bd90[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43bd90[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18aba8={..._0x3e58eb,[_0x3fe537([0x6a,0x74,0x69])]:_0x43bd90[_0x3fe537([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43bd90[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18aba8[_0x3fe537([0x76,0x63])],_0x24b4b4(_0x18aba8)==_0x5215c8;}}}async function _0x2f0612(){let _0x4c7241=!0x0;try{const _0x4974e6=_0x5ae3d7[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])](_0x3fe537([0x2e])),[_0x18a810,_0xbfd6df,_0x5a035d]=_0x4974e6;return _0x4e7712(_0x18a810),await _0x45c92e(_0x18a810,_0xbfd6df,_0x5a035d),_0x4c7241;}catch(_0x4834ea){return!0x1;}function _0x4e7712(_0x9c9fd7){const _0x554ff8=_0x58df96(_0x9c9fd7);_0x554ff8&&_0x554ff8[_0x3fe537([0x61,0x6c,0x67])]==_0x3fe537([0x45,0x53,0x32,0x35,0x36])||(_0x4c7241=!0x1);}async function _0x45c92e(_0x3c3c25,_0x33536b,_0x3c03ac){const _0x4791dd=window[_0x3fe537([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fe537([0x66,0x72,0x6f,0x6d])](_0x2b7b58(_0x3c03ac),_0x3fc862=>_0x3fc862[_0x3fe537([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9bb705=new window[(_0x3fe537([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fe537([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c3c25+_0x3fe537([0x2e])+_0x33536b),_0x479907=window[_0x3fe537([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fe537([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x479907)return;const _0x3aab00=await _0x479907[_0x3fe537([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fe537([0x6a,0x77,0x6b]),_0x3aabea,{[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x45,0x43,0x44,0x53,0x41]),[_0x3fe537([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fe537([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x479907[_0x3fe537([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x45,0x43,0x44,0x53,0x41]),[_0x3fe537([0x68,0x61,0x73,0x68])]:{[_0x3fe537([0x6e,0x61,0x6d,0x65])]:_0x3fe537([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3aab00,_0x4791dd,_0x9bb705)||(_0x4c7241=!0x1);}}function _0x58df96(_0x936ac1){return _0x936ac1[_0x3fe537([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fe537([0x65,0x79]))?JSON[_0x3fe537([0x70,0x61,0x72,0x73,0x65])](_0x2b7b58(_0x936ac1)):null;}function _0x2b7b58(_0x5d4fda){return window[_0x3fe537([0x61,0x74,0x6f,0x62])](_0x5d4fda[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fe537([0x2b]))[_0x3fe537([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fe537([0x2f])));}function _0x24b4b4(_0x5f4a5b){let _0x41d9db=0x1505;function _0x2c8af7(_0x16916e){for(let _0x55d90d=0x0;_0x55d90d<_0x16916e[_0x3fe537([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55d90d++){const _0x48e35a=_0x16916e[_0x3fe537([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55d90d);_0x41d9db=(_0x41d9db<<0x5)+_0x41d9db+_0x48e35a,_0x41d9db&=_0x41d9db;}}function _0x469cc6(_0xffc7d5){Array[_0x3fe537([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xffc7d5)?_0xffc7d5[_0x3fe537([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x469cc6):_0xffc7d5&&typeof _0xffc7d5==_0x3fe537([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fe537([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xffc7d5)[_0x3fe537([0x73,0x6f,0x72,0x74])]()[_0x3fe537([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5811f6,_0x2bd2a7])=>{_0x2c8af7(_0x5811f6),_0x469cc6(_0x2bd2a7);}):_0x2c8af7(window[_0x3fe537([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xffc7d5));}return _0x469cc6(_0x5f4a5b),_0x41d9db>>>0x0;}function _0x381157(_0x14ce21){return _0x14ce21[_0x3fe537([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fe537([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fe537([0x30]));}function _0x44f561(_0x5dbdc1){return _0x5dbdc1[_0x3fe537([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fe537([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fe537([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e73dd(){}function _0x3fe537(_0x387bc6){return _0x387bc6['map'](_0x1809e5=>String['fromCharCode'](_0x1809e5))['join']('');}_0x2a6519(await _0x268a44());}(this);}['_initSchema'](){const _0x552fbd=this['editor']['model']['schema'];_0x552fbd['isRegistered']('imageBlock')&&_0x552fbd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x552fbd['isRegistered']('imageInline')&&_0x552fbd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f2fe6=this['editor'];_0x2f2fe6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f2fe6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x431091=>_0x431091['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x380755=_0x2f2fe6['commands']['get']('replaceImageSource');_0x380755&&this['listenTo'](_0x380755,'cleanupImage',(_0x7490d8,[_0x3bb0c9,_0x4b4d9d])=>{_0x3bb0c9['removeAttribute']('uploadcareImageId',_0x4b4d9d);});}['_initConfig'](){const _0x598967=this['editor']['config']['get']('uploadcare.uploader')||{},_0x48e9db=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2041d2(_0x50ce71['document'],'uc-config',{..._0x598967,'pubkey':_0x48e9db,'ctx-name':'uploader','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']=_0x4635d0=>{if('closeMax'==_0x4635d0)return'#uc-icon-arrow-down';},_0x50ce71['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2041d2(_0x50ce71['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x50ce71['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x55059a=this['editor']['commands']['get']('insertImage');_0x55059a&&this['listenTo'](_0x55059a,'execute',()=>{const _0x1a3868=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a3868&&_0x1a3868['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1a3868);});});const _0x18b891=this['editor']['commands']['get']('uploadcareImageReplace');_0x18b891&&this['listenTo'](_0x18b891,'execute',()=>{const _0x194b65=this['editor']['model']['document']['selection']['getSelectedElement']();_0x194b65&&_0x194b65['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x194b65);});});}}class u extends _0x497d2a{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f9422){super(_0x1f9422),_0x1f9422['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x56f1f3['defineComponents'](_0x56f1f3);}}class ta extends _0x3a39e1{constructor(_0x56438b){super(_0x56438b);const t=_0x56438b['t'],_0x3a5369=this['bindTemplate'],_0x4689a7=new _0x493a2b();_0x4689a7['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':[_0x4689a7,{'text':_0x3a5369['to']('imageUploadProgress',_0x5f14fa=>t('Loading\x20image...')+'\x20('+(_0x5f14fa||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 rt extends _0x3a39e1{constructor(_0xc5aabf){super(_0xc5aabf);const t=_0xc5aabf['t'];this['set']('errorType',null);const _0x569d06=new _0x4c8e35(_0xc5aabf);_0x569d06['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x569d06['withText']=!0x0,_0x569d06['class']='ck-button-action',_0x569d06['on']('execute',()=>{this['fire']('retry');}),_0x569d06['bind']('isVisible')['to'](this,'errorType',_0x37380a=>'NotFound'!==_0x37380a);const _0x3d3ae9=new at();_0x3d3ae9['content']=et,_0x3d3ae9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52740c=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':[_0x3d3ae9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52740c['to']('errorType',_0x33ce26=>t('NotFound'!==_0x33ce26?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x569d06]},{'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 tt extends _0x3a39e1{constructor(_0x4305e4,_0x598bcf){super(_0x4305e4);const _0x55ab8a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x598bcf,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x55ab8a['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1412a3,_0x5b40e3,_0xa0a7de){super(_0x1412a3),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x1412a3),this['_errorView']=new rt(_0x1412a3),this['_editingView']=new tt(_0x1412a3,_0xa0a7de),this['_focusableView']=new _0x3a39e1(_0x1412a3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b40e3),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'],_0x532eca=>{this['_addUploadcareImageEditorListeners'](_0x532eca);});}),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'](_0x566a67,_0x29d16f){const _0x4237db='uc-cloud-image-editor',_0x25d01f=_0x566a67['querySelector'](_0x4237db);if(_0x25d01f)return _0x29d16f(_0x25d01f);const _0x395128=new MutationObserver(_0x48e727=>{const _0x57ce21=_0x48e727['filter'](_0x5d64ab=>_0x5d64ab['target']===_0x566a67&&_0x5d64ab['addedNodes']['length']>0x0&&_0x5d64ab['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4237db);_0x57ce21['length']&&(_0x395128['disconnect'](),_0x29d16f(_0x57ce21[0x0]['addedNodes'][0x0]));});_0x395128['observe'](_0x566a67,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x31f597){_0x31f597['addEventListener']('apply',_0x24c9b5=>{this['fire']('apply',{'imageSrc':_0x24c9b5['detail']['cdnUrl']});}),_0x31f597['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x34c110(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x545051,_0x491828,_0x2f1946){super(),this['_editor']=_0x545051,this['_dialog']=_0x491828,this['_imageElement']=_0x2f1946,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 _0x15d578=this['_imageElement'],_0x5aeaf0=_0x15d578['getAttribute']('uploadcareImageId'),_0x2172b9=_0x15d578['getAttribute']('src');if(_0x5aeaf0)await this['_loadImageInfo'](_0x5aeaf0,_0x2172b9);else{if(this['_imageCache']['has'](_0x2172b9)){const _0x2bed63=this['_imageCache']['get'](_0x2172b9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bed63['url'],this['imageDimension']=_0x2bed63['dimension'],this['imageId']=_0x2bed63['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x28c60f}=this['_editor'],t=_0x28c60f['t'],_0x34784c=new Z(_0x28c60f,this['imageStatus'],this['_attributes']);_0x34784c['bind']('status')['to'](this,'imageStatus'),_0x34784c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34784c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34784c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34784c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x268f3d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34784c,'position':_0x3013eb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34784c['focus']();},'onHide':()=>{_0x34784c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xeb7957=>!F(_0xeb7957,_0x34784c['element'])}});}['_loadImageInfo'](_0xf99ee0,_0x18a1bd){return C['getInfo'](_0xf99ee0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x14eb47=>{const {width:_0x16459e,height:_0x10c1a8}=_0x14eb47['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18a1bd,this['imageDimension']={'width':_0x16459e,'height':_0x10c1a8},this['imageId']=_0xf99ee0;})['catch'](_0x45b677=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45b677['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cac4d,_0x12f9b8){return this['_getImageAsFile'](_0x2cac4d)['then'](_0x40dfc5=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x12f9b8['signal'],'file':_0x40dfc5,'onProgress':_0x12a44a=>{_0x12a44a&&_0x12a44a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12a44a['value']));}}))['then'](_0x789229=>{const {width:_0x32f78c,height:_0x388dd7}=_0x789229['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x789229['cdnUrl'],this['imageDimension']={'width':_0x32f78c,'height':_0x388dd7},this['imageId']=_0x789229['uuid'],this['imageUploadProgress']=null;const _0x2ace93=_0x2cac4d['getAttribute']('src');this['_imageCache']['set'](_0x2ace93,{'id':_0x789229['uuid'],'url':_0x789229['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb450c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb450c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x200013,_0x3e14d1){_0x200013['on']('apply',(_0x2abc49,_0x163a0b)=>{this['_replaceImage'](_0x3e14d1,_0x163a0b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x200013['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x200013['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3dcb9d,_0x3fabcb,_0x15dc45){const _0x5e6045=this['_editor'],{width:_0x31b5a0,height:_0x18f3a9}=A(_0x3fabcb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c9f4a,imageSources:_0x4014c6}=E(_0x3fabcb,_0x31b5a0);_0x5e6045['model']['change'](_0x5dd32c=>{if('$graveyard'===_0x3dcb9d['root']['rootName']){_0x5e6045['execute']('insertImage',{'imageType':_0x3dcb9d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3dcb9d['getAttributes']()),'uploadcareImageId':_0x15dc45,'src':_0x5c9f4a,'sources':_0x4014c6,'width':_0x31b5a0,'height':_0x18f3a9}});const _0x5a6d63=_0x3dcb9d['getChildren']();_0x3dcb9d=_0x5e6045['model']['document']['selection']['getSelectedElement']();for(const _0x4de9bc of _0x5a6d63)_0x5dd32c['append'](_0x5dd32c['cloneElement'](_0x4de9bc),_0x3dcb9d);}else _0x5dd32c['setSelection'](_0x3dcb9d,'on'),_0x5e6045['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3dcb9d['getAttributes']()),'uploadcareImageId':_0x15dc45,'src':_0x5c9f4a,'sources':_0x4014c6,'width':_0x31b5a0,'height':_0x18f3a9},_0x3dcb9d);_0x5dd32c['setSelection'](_0x3dcb9d,'on');});}async['_getImageAsFile'](_0x244853){const _0x282e17=_0x50ce71['window'],_0x501cfa=_0x50ce71['document']['location']['href'],_0x33a3ba=new _0x282e17['URL'](_0x244853['getAttribute']('src'),_0x501cfa);if('data:'===_0x33a3ba['protocol']){const _0x312b80=_0x33a3ba['href']['split'](','),_0x1a0621=_0x312b80[0x0]['match'](/:(.*?);/)[0x1],_0x4b39fa=_0x1a0621['split']('/')[0x1],_0xf3e75e=_0x282e17['atob'](_0x312b80[_0x312b80['length']-0x1]);let _0x418911=_0xf3e75e['length'];const _0xf782db=new _0x282e17['Uint8Array'](_0x418911);for(;_0x418911--;)_0xf782db[_0x418911]=_0xf3e75e['charCodeAt'](_0x418911);return new _0x282e17['File']([_0xf782db],'image.'+_0x4b39fa,{'type':_0x1a0621});}const _0x14a06a=_0x33a3ba['href']['split']('/'),_0x3162e4=_0x14a06a[_0x14a06a['length']-0x1],_0x56f54a=_0x3162e4['split']('.')[0x1];return _0x282e17['fetch'](_0x33a3ba['href'])['then'](_0x1bf1b0=>_0x1bf1b0['clone']()['blob']())['then'](_0xa7d208=>new _0x282e17['File']([_0xa7d208],_0x3162e4,{'type':'image/'+_0x56f54a}));}}class J extends _0x3c531a{['imageEditController'];static get['requires'](){return[_0x51364e];}['_isEditable'];constructor(_0xdace43){super(_0xdace43),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x537837){const _0x41bdac=V(_0x537837);return _0x4c1935=>!(!_0x4c1935||!_0x4c1935['is']('element','imageBlock')&&!_0x4c1935['is']('element','imageInline'))&&(!!_0x4c1935['hasAttribute']('uploadcareImageId')||!!_0x4c1935['hasAttribute']('src')&&_0x41bdac(_0x4c1935['getAttribute']('src')));}(_0xdace43['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x37fef0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x37fef0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4950f6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4950f6&&(_0x4950f6['is']('element','imageBlock')||_0x4950f6['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x51364e),_0x4950f6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3c531a{['refresh'](){const _0x5c5b4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5c5b4&&(_0x5c5b4['is']('element','imageBlock')||_0x5c5b4['is']('element','imageInline')));}['execute'](_0x49661c){const _0x7e1c5a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2d40cc=>{_0x2d40cc['setAttributes'](_0x49661c,_0x7e1c5a),_0x2d40cc['removeAttribute']('srcset',_0x7e1c5a),_0x2d40cc['removeAttribute']('sizes',_0x7e1c5a);});}}class g extends _0x497d2a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5e7584,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5dec9b}=this;_0x5dec9b['commands']['add']('uploadcareImageEdit',new J(_0x5dec9b)),_0x5dec9b['commands']['add']('uploadcareImageReplace',new O(_0x5dec9b));}}class j extends _0x497d2a{['_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 _0x46e165=this['editor'];_0x46e165['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2ec6f8=>{const _0x24afad=_0x46e165['commands']['get']('uploadcareImageEdit'),_0x184e9d=new _0x4c8e35(_0x2ec6f8),t=_0x2ec6f8['t'];return _0x184e9d['set']({'icon':_0x268f3d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x184e9d['bind']('isEnabled')['to'](_0x24afad),_0x184e9d['bind']('isOn')['to'](_0x24afad,'isActive'),this['listenTo'](_0x184e9d,'execute',()=>{_0x46e165['execute']('uploadcareImageEdit'),_0x46e165['editing']['view']['focus']();}),_0x184e9d;}),this['_initConfig']();}['_initConfig'](){const _0x3c46ab=_0x2041d2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c46ab),this['listenTo'](this['editor'],'destroy',()=>{_0x3c46ab['remove']();});}}class P extends _0x497d2a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x2ce6e9,Command as _0x2c91d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x46cc72,IconGooglePhotos as _0x4f330e,IconGoogleDrive as _0x51d864,IconFacebook as _0x729aca,IconDropbox as _0x341bb1,IconUploadcareLink as _0x5dcc25,IconUploadcareImageUpload as _0x3ee2fa,IconError as et,IconUploadcareImageEdit as _0x2b9487}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x595a9c,MenuBarMenuListItemButtonView as _0x260a60,View as _0x52d5a5,FocusCycler as _0x4aa877,Dialog as _0xb26418,DialogViewPosition as _0x13a466,SpinnerView as _0x3e3f9d,IconView as at,Notification as _0x219423}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x46d91b,DomEmitterMixin as _0x2feabc,global as _0x493f5e,getAncestors as _0x105941,ObservableMixin as _0x1dc02b,createElement as _0x325d07,uid as _0x366936}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xff2905}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5b641d,info as _0x255ab}from'@uploadcare/upload-client';import*as _0x4c8d4c from'@uploadcare/file-uploader';var o=function(_0x4948f3){return _0x4948f3['Local']='local',_0x4948f3['URL']='url',_0x4948f3['Dropbox']='dropbox',_0x4948f3['GDrive']='gdrive',_0x4948f3['Facebook']='facebook',_0x4948f3['GPhotos']='gphotos',_0x4948f3['OneDrive']='onedrive',_0x4948f3;}({});function _(_0x403529,_0x1f28d6,_0x3a42f7){const t=_0x403529['t'],_0x9e0f18=_0x403529['t'];switch(_0x1f28d6){case o['Local']:return{'text':_0x9e0f18('Insert'===_0x3a42f7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x9e0f18('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3a42f7?_0x9e0f18('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x9e0f18('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f28d6;}}class e extends _0x2ce6e9{['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 _0x1fd255=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xac4607;for(const _0x1aea66 in _0x1fd255){const _0x28ae30=_0x1aea66,_0x140f15=_0x1fd255[_0x28ae30];if('uploadcareLicenseKeyValid'==_0x140f15||'uploadcareLicenseKeyInvalid'==_0x140f15||'uploadcareLicenseKeyExpired'==_0x140f15||'uploadcareLicenseKeyDomainLimit'==_0x140f15||'uploadcareLicenseKeyNotAllowed'==_0x140f15||'uploadcareLicenseKeyEvaluationLimit'==_0x140f15||'uploadcareLicenseKeyTrialLimit'==_0x140f15||'uploadcareLicenseKeyUsageLimit'==_0x140f15){delete _0x1fd255[_0x28ae30],_0xac4607=_0x140f15,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xac4607&&_0x1fd255['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xac4607&&_0x1fd255['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xac4607&&_0x1fd255['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x59758c}=this,_0x4b0f47=_0x59758c['commands']['get']('uploadcare');if(!_0x4b0f47)return;const _0x39bfd6=this['_normalizeConfigSourceList'](_0x59758c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x291eff,_0x209fac)=>{const _0x4780c9=this['_getIntegrationKey'](_0x209fac['type']);return _0x291eff[_0x4780c9]||(_0x291eff[_0x4780c9]=[]),_0x291eff[_0x4780c9]['push'](_0x209fac),_0x291eff;},{});_0x59758c['plugins']['has']('ImageInsertUI')&&_0x59758c['commands']['get']('uploadcare')&&Object['entries'](_0x39bfd6)['forEach'](([_0x40dba7,_0x43264b])=>{_0x59758c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x40dba7,'observable':()=>_0x4b0f47,'buttonViewCreator':()=>this['_createToolbarButton'](_0x43264b),'formViewCreator':()=>this['_createDropdownButtons'](_0x43264b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x43264b),'override':'assetManager'!==_0x40dba7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x332c3b){const {locale:_0x418b30}=this['editor'];return _0x332c3b['map'](_0x1850f4=>{const _0x2b5f28=_(_0x418b30,_0x1850f4,'Insert');switch(_0x1850f4){case o['Local']:return{'icon':_0x3ee2fa,'type':o['Local'],..._0x2b5f28};case o['URL']:return{'icon':_0x5dcc25,'type':o['URL'],..._0x2b5f28};case o['Dropbox']:return{'icon':_0x341bb1,'type':o['Dropbox'],..._0x2b5f28};case o['Facebook']:return{'icon':_0x729aca,'type':o['Facebook'],..._0x2b5f28};case o['GDrive']:return{'icon':_0x51d864,'type':o['GDrive'],..._0x2b5f28};case o['GPhotos']:return{'icon':_0x4f330e,'type':o['GPhotos'],..._0x2b5f28};case o['OneDrive']:return{'icon':_0x46cc72,'type':o['OneDrive'],..._0x2b5f28};}});}['_getIntegrationKey'](_0x17e32){switch(_0x17e32){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x24495a,_0x15ee37){const _0x42671d=this['editor'],_0x89800=new _0x24495a(_0x42671d['locale']),_0x44b5d0=_0x42671d['commands']['get']('uploadcare');return _0x89800['bind']('isEnabled')['to'](_0x44b5d0),_0x89800['on']('execute',()=>{_0x44b5d0['execute'](_0x15ee37);}),_0x89800;}['_createToolbarButton'](_0x22a8bf){const {locale:_0x542e04}=this['editor'],_0x423404=this['editor']['plugins']['get']('ImageInsertUI'),_0x35bca8=_0x22a8bf[0x0],_0x24d575=this['_createButton'](_0x595a9c,_0x35bca8['type']);return _0x24d575['icon']=_0x35bca8['icon'],_0x24d575['bind']('label')['to'](_0x423404,'isImageSelected',_0x533a49=>_(_0x542e04,_0x35bca8['type'],_0x533a49?'Replace':'Insert')['text']),_0x24d575['tooltip']=!0x0,_0x24d575;}['_createDropdownButtons'](_0xe67a37){const {locale:_0x412db1}=this['editor'],_0x260518=this['editor']['plugins']['get']('ImageInsertUI');return _0xe67a37['map'](_0x2a2c1e=>{const _0x1ec187=this['_createButton'](_0x595a9c,_0x2a2c1e['type']);return _0x1ec187['withText']=!0x0,_0x1ec187['icon']=_0x2a2c1e['icon'],_0x1ec187['bind']('label')['to'](_0x260518,'isImageSelected',_0x49c1de=>_(_0x412db1,_0x2a2c1e['type'],_0x49c1de?'Replace':'Insert')['text']),_0x1ec187;});}['_createMenuBarButtons'](_0x75b752){return _0x75b752['map'](_0x522a00=>{const _0x43da39=this['_createButton'](_0x260a60,_0x522a00['type']);return _0x43da39['icon']=_0x522a00['icon'],_0x43da39['label']=_0x522a00['shortText'],_0x43da39;});}}class q extends _0x52d5a5{['focusTracker'];['focusCycler'];constructor(_0x3b943a){super(_0x3b943a),this['focusTracker']=new _0x46d91b(),this['focusCycler']=new _0x4aa877({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x3667b9){super(_0x3667b9),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x4520b3,_0x21bdb1){const _0x1db3a4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x173edd=>_0x173edd<=_0x21bdb1)['map'](_0x102796=>_0x4520b3['replace'](/\/$/,'')+'/-/resize/'+_0x102796+'x/\x20'+_0x102796+'w');return{'imageFallbackUrl':_0x4520b3,'imageSources':[{'srcset':_0x1db3a4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x21bdb1+'px)\x20100vw,\x20'+_0x21bdb1+'px','type':'image/webp'}]};}function A(_0xcd1c4b,_0x27493a,_0x57419f){const _0x121057=_0xcd1c4b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x121057?parseInt(_0x121057[0x1],0xa):_0x27493a,'height':_0x121057?parseInt(_0x121057[0x2],0xa):_0x57419f};}function m(_0x3115a4,_0xf04645){const _0x4e9424=Object['create'](_0x2feabc),_0x34782e=_0x3115a4['plugins']['get']('ImageUtils'),_0x4250b7=_0x3115a4['editing']['mapper']['toViewElement'](_0xf04645),_0x33b3a1=_0x34782e['findViewImgElement'](_0x4250b7),_0x2cefd6=_0x3115a4['editing']['view']['domConverter']['viewToDom'](_0x33b3a1),_0x4e3d42=_0xf04645['getAttribute']('width'),_0x2f692e=_0xf04645['getAttribute']('height'),_0x1b3d2a='image-processing';_0x3115a4['editing']['view']['change'](_0x353315=>{_0x353315['addClass'](_0x1b3d2a,_0x4250b7),_0x353315['setStyle']('aspect-ratio',_0x4e3d42+'/'+_0x2f692e,_0x33b3a1);}),_0x4e9424['listenTo'](_0x2cefd6,'load',()=>{_0x4e9424['stopListening'](_0x2cefd6,'load'),_0x3115a4['editing']['view']['change'](_0x52b492=>{_0x52b492['removeClass'](_0x1b3d2a,_0x4250b7),_0x52b492['removeStyle']('aspect-ratio',_0x33b3a1);});});}function V(_0xb771f8){if(Array['isArray'](_0xb771f8)){const _0x59787c=_0xb771f8['map'](V);return _0x44efdb=>_0x59787c['some'](_0x336070=>_0x336070(_0x44efdb));}if('origin'==_0xb771f8){const _0x1a5ca5=_0x493f5e['window']['location']['origin'];return _0x132332=>new URL(_0x132332,_0x493f5e['document']['baseURI'])['origin']==_0x1a5ca5;}return'function'==typeof _0xb771f8?_0xb771f8:_0xb771f8 instanceof RegExp?_0x5c2524=>!(!_0x5c2524['match'](_0xb771f8)&&!_0x5c2524['replace'](/^https?:\/\//,'')['match'](_0xb771f8)):()=>!0x1;}function F(_0x1cec59,_0x534ce1){return _0x105941(_0x1cec59['target'])['includes'](_0x534ce1);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x1dc02b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x466e5c,_0x28cb83,_0x3c2f26){super(),this['_editor']=_0x466e5c,this['_editing']=_0x28cb83,this['_dialog']=_0x466e5c['plugins']['get'](_0xb26418),this['_api']=_0x28cb83['ctxElement']['getAPI'](),this['_type']=_0x3c2f26,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:_0x2e19d5,model:_0x4b3a03}=this['_editor'],_0x5e323b=_0x4b3a03['document']['selection']['getSelectedElement'](),_0x32c1ac=_0x5e323b&&(_0x5e323b['is']('element','imageBlock')||_0x5e323b['is']('element','imageInline'));this['_formView']=new S(_0x2e19d5),this['_dialog']['show']({'id':'uploadCare','icon':_0x3ee2fa,'title':_(_0x2e19d5,this['_type'],_0x32c1ac?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x13a466['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xab4c85=>!F(_0xab4c85,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4d76f1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ed0aa=>{const _0x49f1ea=_0x4d76f1['length'];for(const _0x1e185b of _0x4d76f1){const _0xa88fad=_0x1e185b===_0x4d76f1[_0x49f1ea-0x1],{cdnUrl:_0x2afa4f,fileInfo:_0x4a8643}=_0x1e185b;if(!_0x2afa4f||!_0x4a8643)continue;const {width:_0x52b1cd,height:_0x35870f}=_0x4a8643['imageInfo'],_0x4fe576=A(_0x2afa4f,_0x52b1cd,_0x35870f),_0x17dd6c=E(_0x2afa4f,_0x4fe576['width']),_0x3654cd={'id':_0x4a8643['uuid'],'type':'image','attributes':{'imageDimension':_0x4fe576,..._0x17dd6c}};this['_insertAsset'](_0x3654cd,_0xa88fad,_0x2ed0aa);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b87e7=>{'idle'===_0x5b87e7['detail']['status']&&!_0x5b87e7['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x164e6d,_0x5d213f,_0x66ef0a){const _0x31082d=this['_editor']['model']['document']['selection'],_0x187793=_0x31082d['getSelectedElement'](),_0x145b31=!(!_0x187793||!_0x187793['is']('element','imageInline'));_0x66ef0a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x164e6d,_0x145b31),_0x5d213f||_0x66ef0a['setSelection'](_0x31082d['getLastPosition']());}['_insertImage'](_0x2ec4a3,_0x5ad560){const _0xab96c7=this['_editor'],{imageDimension:_0xfa5de,imageFallbackUrl:_0xa669fe,imageSources:_0xa6fc91}=_0x2ec4a3['attributes'];_0xab96c7['execute']('insertImage',{'imageType':_0x5ad560?'imageInline':null,'source':{'uploadcareImageId':_0x2ec4a3['id'],'src':_0xa669fe,'sources':_0xa6fc91,..._0xfa5de}});}}class n extends _0x2c91d4{['_editing'];['_controller']=null;static get['requires'](){return[_0xb26418,i];}constructor(_0x2eb6ae){super(_0x2eb6ae),this['_editing']=_0x2eb6ae['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2b5f6c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2b5f6c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x231720,publicKey:_0x4cdebb,signal:_0x4068b3,onProgress:_0x2fde1b}){return _0x5b641d(_0x231720,{'publicKey':_0x4cdebb,'store':'auto','signal':_0x4068b3,'onProgress':_0x2fde1b});}static['getInfo'](_0x4b96d9,_0x3ea6f3){return _0x255ab(_0x4b96d9,_0x3ea6f3);}}class p extends _0x2ce6e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xff2905,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2ec06f=this['editor'];if(!!!_0x2ec06f['config']['get']('uploadcare'))return;_0x2ec06f['plugins']['get'](_0xff2905)['createUploadAdapter']=_0x4cab38=>new x(_0x4cab38,_0x2ec06f),_0x2ec06f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x378d59,{imageElement:_0x37971a,data:_0x5b126f})=>{_0x2ec06f['model']['change'](_0x2e6fe6=>{_0x2e6fe6['setAttribute']('uploadcareImageId',_0x5b126f['uploadcareImageId'],_0x37971a);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x21fa13,_0x4a1ef1){this['loader']=_0x21fa13,this['editor']=_0x4a1ef1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4aa217=this['editor']['config']['get']('uploadcare.pubkey'),_0x1963c6=await this['loader']['file'];return C['upload']({'file':_0x1963c6,'publicKey':_0x4aa217,'signal':this['controller']['signal'],'onProgress':_0x1f7cf0=>{_0x1f7cf0&&_0x1f7cf0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f7cf0['value']);}})['then'](async _0x14b008=>{const {imageFallbackUrl:_0x487c59,imageSources:_0x51d06c}=E(_0x14b008['cdnUrl'],_0x14b008['imageInfo']['width']);return{'uploadcareImageId':_0x14b008['uuid'],'default':_0x487c59,'sources':_0x51d06c};})['catch'](()=>{const _0x22fd8e=t('Cannot\x20upload\x20file:')+('\x20'+_0x1963c6['name']+'.');return Promise['reject'](_0x22fd8e);});}['abort'](){this['controller']['abort']();}}class i extends _0x2ce6e9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0xb26418];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x349739=this['editor'];_0x349739['commands']['add']('uploadcare',new n(_0x349739));}['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 _0x58ef2d=_0x493f5e['document']['querySelector']('input[uploadcare-file-input]');_0x58ef2d&&_0x58ef2d['remove']();}),async function(_0x3a5e0a){const _0x23a3af=_0x41b776([0x6d,0x37,0x68,0x63,0x62,0x39,0x72,0x32,0x4c,0x53,0x76,0x6f,0x43,0x30,0x69,0x58,0x59,0x34,0x46,0x64,0x78,0x41,0x61,0x50,0x5a,0x48,0x45,0x33,0x35,0x4e,0x38,0x75,0x7a,0x4d,0x4f,0x67,0x51,0x54,0x71,0x66,0x56,0x36,0x42,0x31,0x6a,0x73,0x55,0x44,0x52,0x4a,0x70,0x6b,0x49,0x47,0x79,0x74,0x77,0x57,0x4b,0x65,0x6e,0x6c]),_0x903fb=0x1a06e2bb,_0x2487c4=0x1a018423^_0x903fb,_0x3295ba=window[_0x41b776([0x44,0x61,0x74,0x65])][_0x41b776([0x6e,0x6f,0x77])](),_0x4abc8f=_0x3a5e0a[_0x41b776([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fdc5f=new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x413ccc=>{_0x4abc8f[_0x41b776([0x6f,0x6e,0x63,0x65])](_0x41b776([0x72,0x65,0x61,0x64,0x79]),_0x413ccc);}),_0x170c78={[_0x41b776([0x6b,0x74,0x79])]:_0x41b776([0x45,0x43]),[_0x41b776([0x75,0x73,0x65])]:_0x41b776([0x73,0x69,0x67]),[_0x41b776([0x63,0x72,0x76])]:_0x41b776([0x50,0x2d,0x32,0x35,0x36]),[_0x41b776([0x78])]:_0x41b776([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]),[_0x41b776([0x79])]:_0x41b776([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]),[_0x41b776([0x61,0x6c,0x67])]:_0x41b776([0x45,0x53,0x32,0x35,0x36])},_0x437afd=_0x4abc8f[_0x41b776([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41b776([0x67,0x65,0x74])](_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d943e(){let _0x50d641,_0x427a02=null,_0xf2632a=null;try{if(_0x437afd==_0x41b776([0x47,0x50,0x4c]))return _0x41b776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50d641=_0x1043ba(),!_0x50d641)return _0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50d641[_0x41b776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf2632a=_0x41adbe(_0x50d641[_0x41b776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50d641[_0x41b776([0x6a,0x74,0x69])])),await _0x39d0cc()?_0x263bce()?_0x2a21b3()?_0x41b776([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31edf7()?(_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41b776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x427a02=_0x29f154(_0x41b776([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41b776([0x74,0x72,0x69,0x61,0x6c])&&(_0x427a02=_0x29f154(_0x41b776([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55d2b0()):_0x41b776([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41b776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x690b36){return _0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a21b3(){const _0x5658a0=[_0x41b776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41b776([0x74,0x72,0x69,0x61,0x6c])][_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3295ba/0x3e8:0xe10*_0x2487c4;return _0x50d641[_0x41b776([0x65,0x78,0x70])]<_0x5658a0;}function _0x263bce(){const _0x5d8ae0=_0x50d641[_0x41b776([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d8ae0&&(!!_0x5d8ae0[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x2a]))||!!_0x5d8ae0[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x55,0x50,0x4c,0x43])));}function _0x31edf7(){const _0x3df9db=_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df9db||0x0==_0x3df9db[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd31c56}=new URL(window[_0x41b776([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df9db[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd31c56))return!0x0;const _0xb98c51=_0xd31c56[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e]));return _0x3df9db[_0x41b776([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ae706=>_0x4ae706[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x2a])))[_0x41b776([0x6d,0x61,0x70])](_0x3d3ea1=>_0x3d3ea1[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e])))[_0x41b776([0x73,0x6f,0x6d,0x65])](_0x1ea8ed=>_0xb98c51[_0x41b776([0x65,0x76,0x65,0x72,0x79])]((_0x2c6fc7,_0x2e31de)=>_0x1ea8ed[_0x2e31de]===_0x2c6fc7||_0x1ea8ed[_0x2e31de]===_0x41b776([0x2a])));}function _0x55d2b0(){return _0x427a02&&_0xf2632a?new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c35ae,_0x2654c5)=>{_0x427a02[_0x41b776([0x74,0x68,0x65,0x6e])](_0x3c35ae,_0x2654c5),_0xf2632a[_0x41b776([0x74,0x68,0x65,0x6e])](_0x10e6fb=>{_0x10e6fb!=_0x41b776([0x56,0x61,0x6c,0x69,0x64])&&_0x3c35ae(_0x10e6fb);},_0x2654c5);}):_0x427a02||_0xf2632a||_0x41b776([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41adbe(_0x14b587,_0x44a400){return new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2918a0=>{if(_0x5d42b9())return _0x2918a0(_0x41b776([0x56,0x61,0x6c,0x69,0x64]));_0x12a543(),_0x4abc8f[_0x41b776([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f97dc=!0x1;const _0x18aa9a=_0x366936();function _0x571e37(_0x5557e0){return!!_0x5557e0&&(typeof _0x5557e0===_0x41b776([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5557e0===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5557e0[_0x41b776([0x74,0x68,0x65,0x6e])]===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5557e0[_0x41b776([0x63,0x61,0x74,0x63,0x68])]===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ee229(_0x442d84){_0x41403e(_0x442d84)[_0x41b776([0x74,0x68,0x65,0x6e])](_0x127c86=>{if(!_0x127c86||_0x127c86[_0x41b776([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41b776([0x6f,0x6b]))return _0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ca9e7(_0x4521de(_0x18aa9a+_0x44a400))!=_0x127c86[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41b776([0x56,0x61,0x6c,0x69,0x64]);})[_0x41b776([0x74,0x68,0x65,0x6e])](_0x30447b=>(_0x10871e(),_0x30447b),()=>{const _0x34bb3f=_0x37c9f5();return null==_0x34bb3f?(_0x10871e(),_0x41b776([0x56,0x61,0x6c,0x69,0x64])):_0x41b776(_0x3295ba-_0x34bb3f>(0x3e0a66bb^_0x903fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41b776([0x74,0x68,0x65,0x6e])](_0x2918a0)[_0x41b776([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1af05f=0x1a300c3b^_0x903fb;function _0x10871e(){const _0x46154b=_0x41b776([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca9e7(_0x4521de(_0x14b587)),_0x3ac9b3=_0x45f02a(_0x5ca9e7(window[_0x41b776([0x4d,0x61,0x74,0x68])][_0x41b776([0x63,0x65,0x69,0x6c])](_0x3295ba/_0x1af05f)));window[_0x41b776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b776([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46154b,_0x3ac9b3);}function _0x37c9f5(){const _0x14d891=_0x41b776([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca9e7(_0x4521de(_0x14b587)),_0x3bc673=window[_0x41b776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b776([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14d891);return _0x3bc673?window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45f02a(_0x3bc673),0x10)*_0x1af05f:null;}function _0x41403e(_0x53625e){return new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3778,_0x110845)=>{_0x53625e[_0x41b776([0x74,0x68,0x65,0x6e])](_0x5d3778,_0x110845),window[_0x41b776([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x110845,0x1a07367b^_0x903fb);});}}_0x4abc8f[_0x41b776([0x6f,0x6e])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29ac48,_0x1a3509)=>{if(_0x1a3509[0x0]!=_0x14b587)return _0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a3509[0x1]={..._0x1a3509[0x1],[_0x41b776([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18aa9a};},{[_0x41b776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b776([0x68,0x69,0x67,0x68])}),_0x4abc8f[_0x41b776([0x6f,0x6e])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bcaf7=>{_0x571e37(_0x2bcaf7[_0x41b776([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f97dc=!0x0,_0x3ee229(_0x2bcaf7[_0x41b776([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41b776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b776([0x6c,0x6f,0x77])}),_0x3fdc5f[_0x41b776([0x74,0x68,0x65,0x6e])](()=>{_0x2f97dc||_0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d42b9(){return _0x4abc8f[_0x41b776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b776([0x76,0x69,0x65,0x77])][_0x41b776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41b776([0x61,0x75,0x74,0x6f]);}function _0x12a543(){_0x4abc8f[_0x41b776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b776([0x76,0x69,0x65,0x77])][_0x41b776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41b776([0x61,0x75,0x74,0x6f]);}}function _0x29f154(_0x516bb9){const _0x3f7079=[new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1466=>setTimeout(_0x3e1466,0x1a0fdc77^_0x903fb)),_0x3fdc5f[_0x41b776([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aa017=>{let _0x555532=0x0;_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x6f,0x6e])](_0x41b776([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x277867,_0x5ac800)=>{_0x5ac800[0x0][_0x41b776([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x555532++,_0x555532==(0x1a06e343^_0x903fb)&&(_0x4aa017(),_0x277867[_0x41b776([0x6f,0x66,0x66])]());});}))];return window[_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41b776([0x72,0x61,0x63,0x65])](_0x3f7079)[_0x41b776([0x74,0x68,0x65,0x6e])](()=>_0x516bb9);}async function _0x4e0b65(){await _0x3fdc5f,_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xfc345f,_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xfc345f,_0x4abc8f[_0x41b776([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41b776([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ef763(_0x345fbf){const _0x35a358=_0x990ad0();_0x4abc8f[_0x35a358]=_0x41b776([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x345fbf,_0x345fbf!=_0x41b776([0x56,0x61,0x6c,0x69,0x64])&&_0x4e0b65();}function _0x990ad0(){const _0xa1daf6=window[_0x41b776([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41b776([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41b776([0x6e,0x6f,0x77])]())[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41b776([0x2e]),'');let _0xcad76b=_0x41b776([0x6d]);for(let _0x4f2de6=0x0;_0x4f2de6<_0xa1daf6[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2de6+=0x2){let _0x139573=window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa1daf6[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2de6,_0x4f2de6+0x2));_0x139573>=_0x23a3af[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x139573-=_0x23a3af[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcad76b+=_0x23a3af[_0x139573];}return _0xcad76b;}function _0x1043ba(){const _0x6b0f9e=_0x437afd[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e]));if(0x3!=_0x6b0f9e[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc9a2e4(_0x6b0f9e[0x1]);function _0xc9a2e4(_0x97c686){const _0x2c8efb=_0x504ffc(_0x97c686);return _0x2c8efb&&_0x1b12ba()?_0x2c8efb:null;function _0x1b12ba(){const _0x526aeb=_0x2c8efb[_0x41b776([0x6a,0x74,0x69])],_0x4ea616=window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x526aeb[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x526aeb[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34e67d={..._0x2c8efb,[_0x41b776([0x6a,0x74,0x69])]:_0x526aeb[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x526aeb[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34e67d[_0x41b776([0x76,0x63])],_0x4521de(_0x34e67d)==_0x4ea616;}}}async function _0x39d0cc(){let _0x2f206e=!0x0;try{const _0x5a6208=_0x437afd[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e])),[_0x1f8d7f,_0x5b8a46,_0x3c5a3f]=_0x5a6208;return _0x5089c3(_0x1f8d7f),await _0x51dc22(_0x1f8d7f,_0x5b8a46,_0x3c5a3f),_0x2f206e;}catch(_0x148396){return!0x1;}function _0x5089c3(_0x594ec4){const _0x3fe914=_0x504ffc(_0x594ec4);_0x3fe914&&_0x3fe914[_0x41b776([0x61,0x6c,0x67])]==_0x41b776([0x45,0x53,0x32,0x35,0x36])||(_0x2f206e=!0x1);}async function _0x51dc22(_0x1f38ac,_0x129227,_0x29b96f){const _0x53d67a=window[_0x41b776([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41b776([0x66,0x72,0x6f,0x6d])](_0x2258fc(_0x29b96f),_0x338e60=>_0x338e60[_0x41b776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe33fac=new window[(_0x41b776([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41b776([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f38ac+_0x41b776([0x2e])+_0x129227),_0x5d0570=window[_0x41b776([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41b776([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d0570)return;const _0x54c30d=await _0x5d0570[_0x41b776([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41b776([0x6a,0x77,0x6b]),_0x170c78,{[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x45,0x43,0x44,0x53,0x41]),[_0x41b776([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41b776([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d0570[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x45,0x43,0x44,0x53,0x41]),[_0x41b776([0x68,0x61,0x73,0x68])]:{[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54c30d,_0x53d67a,_0xe33fac)||(_0x2f206e=!0x1);}}function _0x504ffc(_0x5c7c0f){return _0x5c7c0f[_0x41b776([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41b776([0x65,0x79]))?JSON[_0x41b776([0x70,0x61,0x72,0x73,0x65])](_0x2258fc(_0x5c7c0f)):null;}function _0x2258fc(_0x491700){return window[_0x41b776([0x61,0x74,0x6f,0x62])](_0x491700[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41b776([0x2b]))[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41b776([0x2f])));}function _0x4521de(_0x11b6e6){let _0x32db6f=0x1505;function _0x1bedc1(_0x4f38ac){for(let _0x3fb090=0x0;_0x3fb090<_0x4f38ac[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fb090++){const _0x39a21d=_0x4f38ac[_0x41b776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fb090);_0x32db6f=(_0x32db6f<<0x5)+_0x32db6f+_0x39a21d,_0x32db6f&=_0x32db6f;}}function _0x1097dc(_0x118f5e){Array[_0x41b776([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x118f5e)?_0x118f5e[_0x41b776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1097dc):_0x118f5e&&typeof _0x118f5e==_0x41b776([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41b776([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x118f5e)[_0x41b776([0x73,0x6f,0x72,0x74])]()[_0x41b776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc157a1,_0x997772])=>{_0x1bedc1(_0xc157a1),_0x1097dc(_0x997772);}):_0x1bedc1(window[_0x41b776([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x118f5e));}return _0x1097dc(_0x11b6e6),_0x32db6f>>>0x0;}function _0x5ca9e7(_0x370fe6){return _0x370fe6[_0x41b776([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41b776([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41b776([0x30]));}function _0x45f02a(_0x3b311c){return _0x3b311c[_0x41b776([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41b776([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41b776([0x6a,0x6f,0x69,0x6e])]('');}function _0xfc345f(){}function _0x41b776(_0x1ebf7d){return _0x1ebf7d['map'](_0x41e6a5=>String['fromCharCode'](_0x41e6a5))['join']('');}_0x3ef763(await _0x4d943e());}(this);}['_initSchema'](){const _0x348d83=this['editor']['model']['schema'];_0x348d83['isRegistered']('imageBlock')&&_0x348d83['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x348d83['isRegistered']('imageInline')&&_0x348d83['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4f9685=this['editor'];_0x4f9685['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4f9685['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2fc0b0=>_0x2fc0b0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4dc57d=_0x4f9685['commands']['get']('replaceImageSource');_0x4dc57d&&this['listenTo'](_0x4dc57d,'cleanupImage',(_0x2c2dee,[_0x57be25,_0x362603])=>{_0x57be25['removeAttribute']('uploadcareImageId',_0x362603);});}['_initConfig'](){const _0x54f43a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x29d760=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x325d07(_0x493f5e['document'],'uc-config',{..._0x54f43a,'pubkey':_0x29d760,'ctx-name':'uploader','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']=_0x5767af=>{if('closeMax'==_0x5767af)return'#uc-icon-arrow-down';},_0x493f5e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x325d07(_0x493f5e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x493f5e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x18ad53=this['editor']['commands']['get']('insertImage');_0x18ad53&&this['listenTo'](_0x18ad53,'execute',()=>{const _0x326f9d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x326f9d&&_0x326f9d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x326f9d);});});const _0x439302=this['editor']['commands']['get']('uploadcareImageReplace');_0x439302&&this['listenTo'](_0x439302,'execute',()=>{const _0x4f9a45=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f9a45&&_0x4f9a45['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4f9a45);});});}}class u extends _0x2ce6e9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8ce885){super(_0x8ce885),_0x8ce885['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4c8d4c['defineComponents'](_0x4c8d4c);}}class ta extends _0x52d5a5{constructor(_0xccfe07){super(_0xccfe07);const t=_0xccfe07['t'],_0x1a973b=this['bindTemplate'],_0x51dd8a=new _0x3e3f9d();_0x51dd8a['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':[_0x51dd8a,{'text':_0x1a973b['to']('imageUploadProgress',_0x2cc7eb=>t('Loading\x20image...')+'\x20('+(_0x2cc7eb||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 rt extends _0x52d5a5{constructor(_0x10fd40){super(_0x10fd40);const t=_0x10fd40['t'];this['set']('errorType',null);const _0x26eaf9=new _0x595a9c(_0x10fd40);_0x26eaf9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26eaf9['withText']=!0x0,_0x26eaf9['class']='ck-button-action',_0x26eaf9['on']('execute',()=>{this['fire']('retry');}),_0x26eaf9['bind']('isVisible')['to'](this,'errorType',_0x2d122b=>'NotFound'!==_0x2d122b);const _0xb0ac52=new at();_0xb0ac52['content']=et,_0xb0ac52['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3701b2=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':[_0xb0ac52,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3701b2['to']('errorType',_0x5b3c22=>t('NotFound'!==_0x5b3c22?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26eaf9]},{'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 tt extends _0x52d5a5{constructor(_0x44aeae,_0x33689d){super(_0x44aeae);const _0x1f5c17=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x33689d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1f5c17['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4cd868,_0x5068e2,_0x3985f6){super(_0x4cd868),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4cd868),this['_errorView']=new rt(_0x4cd868),this['_editingView']=new tt(_0x4cd868,_0x3985f6),this['_focusableView']=new _0x52d5a5(_0x4cd868),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5068e2),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'],_0x1a805b=>{this['_addUploadcareImageEditorListeners'](_0x1a805b);});}),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'](_0x41e5f6,_0x583b8c){const _0x1c104e='uc-cloud-image-editor',_0x643137=_0x41e5f6['querySelector'](_0x1c104e);if(_0x643137)return _0x583b8c(_0x643137);const _0x26b06d=new MutationObserver(_0x32443a=>{const _0x4a07c1=_0x32443a['filter'](_0x38b29d=>_0x38b29d['target']===_0x41e5f6&&_0x38b29d['addedNodes']['length']>0x0&&_0x38b29d['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1c104e);_0x4a07c1['length']&&(_0x26b06d['disconnect'](),_0x583b8c(_0x4a07c1[0x0]['addedNodes'][0x0]));});_0x26b06d['observe'](_0x41e5f6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d3979){_0x3d3979['addEventListener']('apply',_0x338c4f=>{this['fire']('apply',{'imageSrc':_0x338c4f['detail']['cdnUrl']});}),_0x3d3979['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x1dc02b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x782878,_0x24d957,_0x3f6cf1){super(),this['_editor']=_0x782878,this['_dialog']=_0x24d957,this['_imageElement']=_0x3f6cf1,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 _0x49bf16=this['_imageElement'],_0x3b24a8=_0x49bf16['getAttribute']('uploadcareImageId'),_0x1ba967=_0x49bf16['getAttribute']('src');if(_0x3b24a8)await this['_loadImageInfo'](_0x3b24a8,_0x1ba967);else{if(this['_imageCache']['has'](_0x1ba967)){const _0x88404b=this['_imageCache']['get'](_0x1ba967);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x88404b['url'],this['imageDimension']=_0x88404b['dimension'],this['imageId']=_0x88404b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52a6f5}=this['_editor'],t=_0x52a6f5['t'],_0x1e59d2=new Z(_0x52a6f5,this['imageStatus'],this['_attributes']);_0x1e59d2['bind']('status')['to'](this,'imageStatus'),_0x1e59d2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1e59d2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1e59d2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1e59d2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b9487,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1e59d2,'position':_0x13a466['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1e59d2['focus']();},'onHide':()=>{_0x1e59d2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51b607=>!F(_0x51b607,_0x1e59d2['element'])}});}['_loadImageInfo'](_0x3d5eb4,_0x550a8f){return C['getInfo'](_0x3d5eb4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x43a354=>{const {width:_0x1f2ffa,height:_0x4413b3}=_0x43a354['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x550a8f,this['imageDimension']={'width':_0x1f2ffa,'height':_0x4413b3},this['imageId']=_0x3d5eb4;})['catch'](_0x3f9a67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f9a67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x27ab3e,_0x106fa4){return this['_getImageAsFile'](_0x27ab3e)['then'](_0x1bfa93=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x106fa4['signal'],'file':_0x1bfa93,'onProgress':_0x529fc7=>{_0x529fc7&&_0x529fc7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x529fc7['value']));}}))['then'](_0x9deed4=>{const {width:_0x432662,height:_0x373adc}=_0x9deed4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x9deed4['cdnUrl'],this['imageDimension']={'width':_0x432662,'height':_0x373adc},this['imageId']=_0x9deed4['uuid'],this['imageUploadProgress']=null;const _0x27b30c=_0x27ab3e['getAttribute']('src');this['_imageCache']['set'](_0x27b30c,{'id':_0x9deed4['uuid'],'url':_0x9deed4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x28e93d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28e93d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24c97c,_0x34b2c4){_0x24c97c['on']('apply',(_0x5ae7c0,_0x57a4fb)=>{this['_replaceImage'](_0x34b2c4,_0x57a4fb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24c97c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24c97c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xf61c70,_0x23d4b0,_0x5eb6af){const _0x4c6ff9=this['_editor'],{width:_0x84d480,height:_0x48fd01}=A(_0x23d4b0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3021e4,imageSources:_0x8eadba}=E(_0x23d4b0,_0x84d480);_0x4c6ff9['model']['change'](_0x5c594d=>{if('$graveyard'===_0xf61c70['root']['rootName']){_0x4c6ff9['execute']('insertImage',{'imageType':_0xf61c70['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xf61c70['getAttributes']()),'uploadcareImageId':_0x5eb6af,'src':_0x3021e4,'sources':_0x8eadba,'width':_0x84d480,'height':_0x48fd01}});const _0x3f9495=_0xf61c70['getChildren']();_0xf61c70=_0x4c6ff9['model']['document']['selection']['getSelectedElement']();for(const _0x132f9a of _0x3f9495)_0x5c594d['append'](_0x5c594d['cloneElement'](_0x132f9a),_0xf61c70);}else _0x5c594d['setSelection'](_0xf61c70,'on'),_0x4c6ff9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xf61c70['getAttributes']()),'uploadcareImageId':_0x5eb6af,'src':_0x3021e4,'sources':_0x8eadba,'width':_0x84d480,'height':_0x48fd01},_0xf61c70);_0x5c594d['setSelection'](_0xf61c70,'on');});}async['_getImageAsFile'](_0x2e5a16){const _0xeffa06=_0x493f5e['window'],_0x3454c5=_0x493f5e['document']['location']['href'],_0x50e30e=new _0xeffa06['URL'](_0x2e5a16['getAttribute']('src'),_0x3454c5);if('data:'===_0x50e30e['protocol']){const _0x56bf23=_0x50e30e['href']['split'](','),_0x386475=_0x56bf23[0x0]['match'](/:(.*?);/)[0x1],_0x506afd=_0x386475['split']('/')[0x1],_0x357a30=_0xeffa06['atob'](_0x56bf23[_0x56bf23['length']-0x1]);let _0x3ea5d7=_0x357a30['length'];const _0xac6340=new _0xeffa06['Uint8Array'](_0x3ea5d7);for(;_0x3ea5d7--;)_0xac6340[_0x3ea5d7]=_0x357a30['charCodeAt'](_0x3ea5d7);return new _0xeffa06['File']([_0xac6340],'image.'+_0x506afd,{'type':_0x386475});}const _0x3ce1ee=_0x50e30e['href']['split']('/'),_0x453f2f=_0x3ce1ee[_0x3ce1ee['length']-0x1],_0x409a80=_0x453f2f['split']('.')[0x1];return _0xeffa06['fetch'](_0x50e30e['href'])['then'](_0x1a40f3=>_0x1a40f3['clone']()['blob']())['then'](_0x472e9a=>new _0xeffa06['File']([_0x472e9a],_0x453f2f,{'type':'image/'+_0x409a80}));}}class J extends _0x2c91d4{['imageEditController'];static get['requires'](){return[_0xb26418];}['_isEditable'];constructor(_0x5e18d1){super(_0x5e18d1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4e4c48){const _0x2ae280=V(_0x4e4c48);return _0x43ce41=>!(!_0x43ce41||!_0x43ce41['is']('element','imageBlock')&&!_0x43ce41['is']('element','imageInline'))&&(!!_0x43ce41['hasAttribute']('uploadcareImageId')||!!_0x43ce41['hasAttribute']('src')&&_0x2ae280(_0x43ce41['getAttribute']('src')));}(_0x5e18d1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x347a5c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x347a5c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x33a3d8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33a3d8&&(_0x33a3d8['is']('element','imageBlock')||_0x33a3d8['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0xb26418),_0x33a3d8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2c91d4{['refresh'](){const _0x5938d9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5938d9&&(_0x5938d9['is']('element','imageBlock')||_0x5938d9['is']('element','imageInline')));}['execute'](_0x5d7b4b){const _0x1dbb3e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1e806e=>{_0x1e806e['setAttributes'](_0x5d7b4b,_0x1dbb3e),_0x1e806e['removeAttribute']('srcset',_0x1dbb3e),_0x1e806e['removeAttribute']('sizes',_0x1dbb3e);});}}class g extends _0x2ce6e9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x219423,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bd4d2}=this;_0x2bd4d2['commands']['add']('uploadcareImageEdit',new J(_0x2bd4d2)),_0x2bd4d2['commands']['add']('uploadcareImageReplace',new O(_0x2bd4d2));}}class j extends _0x2ce6e9{['_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 _0x489e66=this['editor'];_0x489e66['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4df903=>{const _0x9fbd50=_0x489e66['commands']['get']('uploadcareImageEdit'),_0x50998f=new _0x595a9c(_0x4df903),t=_0x4df903['t'];return _0x50998f['set']({'icon':_0x2b9487,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x50998f['bind']('isEnabled')['to'](_0x9fbd50),_0x50998f['bind']('isOn')['to'](_0x9fbd50,'isActive'),this['listenTo'](_0x50998f,'execute',()=>{_0x489e66['execute']('uploadcareImageEdit'),_0x489e66['editing']['view']['focus']();}),_0x50998f;}),this['_initConfig']();}['_initConfig'](){const _0x4a83fc=_0x325d07(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4a83fc),this['listenTo'](this['editor'],'destroy',()=>{_0x4a83fc['remove']();});}}class P extends _0x2ce6e9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x359947=>0x1!=_0x359947}};
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':_0x374187=>0x1!=_0x374187}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2da122=>{const {af:{dictionary:_0x473cbb,getPluralForm:_0x1ebed3}}={'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':_0x5bc1b0=>0x1!=_0x5bc1b0}};_0x2da122['af']||={'dictionary':{},'getPluralForm':null},_0x2da122['af']['dictionary']=Object['assign'](_0x2da122['af']['dictionary'],_0x473cbb),_0x2da122['af']['getPluralForm']=_0x1ebed3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x418190=>{const {af:{dictionary:_0x186e50,getPluralForm:_0x475142}}={'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':_0xa9024=>0x1!=_0xa9024}};_0x418190['af']||={'dictionary':{},'getPluralForm':null},_0x418190['af']['dictionary']=Object['assign'](_0x418190['af']['dictionary'],_0x186e50),_0x418190['af']['getPluralForm']=_0x475142;})(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':_0x20df4a=>0x0==_0x20df4a?0x0:0x1==_0x20df4a?0x1:0x2==_0x20df4a?0x2:_0x20df4a%0x64>=0x3&&_0x20df4a%0x64<=0xa?0x3:_0x20df4a%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':_0x2111b4=>0x0==_0x2111b4?0x0:0x1==_0x2111b4?0x1:0x2==_0x2111b4?0x2:_0x2111b4%0x64>=0x3&&_0x2111b4%0x64<=0xa?0x3:_0x2111b4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x149a0c=>{const {ar:{dictionary:_0x1f1af8,getPluralForm:_0x5b3397}}={'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':_0x5af632=>0x0==_0x5af632?0x0:0x1==_0x5af632?0x1:0x2==_0x5af632?0x2:_0x5af632%0x64>=0x3&&_0x5af632%0x64<=0xa?0x3:_0x5af632%0x64>=0xb?0x4:0x5}};_0x149a0c['ar']||={'dictionary':{},'getPluralForm':null},_0x149a0c['ar']['dictionary']=Object['assign'](_0x149a0c['ar']['dictionary'],_0x1f1af8),_0x149a0c['ar']['getPluralForm']=_0x5b3397;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa58aeb=>{const {ar:{dictionary:_0x2cdf7a,getPluralForm:_0x4925d2}}={'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':_0x1301bc=>0x0==_0x1301bc?0x0:0x1==_0x1301bc?0x1:0x2==_0x1301bc?0x2:_0x1301bc%0x64>=0x3&&_0x1301bc%0x64<=0xa?0x3:_0x1301bc%0x64>=0xb?0x4:0x5}};_0xa58aeb['ar']||={'dictionary':{},'getPluralForm':null},_0xa58aeb['ar']['dictionary']=Object['assign'](_0xa58aeb['ar']['dictionary'],_0x2cdf7a),_0xa58aeb['ar']['getPluralForm']=_0x4925d2;})(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':_0x3d112e=>0x1!=_0x3d112e}};
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':_0x427b59=>0x1!=_0x427b59}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x345629=>{const {ast:{dictionary:_0x19d47d,getPluralForm:_0x5ea8c0}}={'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':_0x48e568=>0x1!=_0x48e568}};_0x345629['ast']||={'dictionary':{},'getPluralForm':null},_0x345629['ast']['dictionary']=Object['assign'](_0x345629['ast']['dictionary'],_0x19d47d),_0x345629['ast']['getPluralForm']=_0x5ea8c0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48c616=>{const {ast:{dictionary:_0x5a8f6d,getPluralForm:_0x159d7b}}={'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':_0x3f3c53=>0x1!=_0x3f3c53}};_0x48c616['ast']||={'dictionary':{},'getPluralForm':null},_0x48c616['ast']['dictionary']=Object['assign'](_0x48c616['ast']['dictionary'],_0x5a8f6d),_0x48c616['ast']['getPluralForm']=_0x159d7b;})(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':_0x4ee8f3=>0x1!=_0x4ee8f3}};
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':_0x3b92cc=>0x1!=_0x3b92cc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31c928=>{const {az:{dictionary:_0x39e5d1,getPluralForm:_0x2b20cd}}={'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':_0x55c4a4=>0x1!=_0x55c4a4}};_0x31c928['az']||={'dictionary':{},'getPluralForm':null},_0x31c928['az']['dictionary']=Object['assign'](_0x31c928['az']['dictionary'],_0x39e5d1),_0x31c928['az']['getPluralForm']=_0x2b20cd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f17a2=>{const {az:{dictionary:_0x4d96af,getPluralForm:_0x59ff14}}={'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':_0x4092bd=>0x1!=_0x4092bd}};_0x2f17a2['az']||={'dictionary':{},'getPluralForm':null},_0x2f17a2['az']['dictionary']=Object['assign'](_0x2f17a2['az']['dictionary'],_0x4d96af),_0x2f17a2['az']['getPluralForm']=_0x59ff14;})(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':_0x3439d9=>_0x3439d9%0xa==0x1&&_0x3439d9%0x64!=0xb?0x0:_0x3439d9%0xa>=0x2&&_0x3439d9%0xa<=0x4&&(_0x3439d9%0x64<0xa||_0x3439d9%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':_0x537bf2=>_0x537bf2%0xa==0x1&&_0x537bf2%0x64!=0xb?0x0:_0x537bf2%0xa>=0x2&&_0x537bf2%0xa<=0x4&&(_0x537bf2%0x64<0xa||_0x537bf2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe8a71f=>{const {be:{dictionary:_0x2ccf25,getPluralForm:_0x93ca}}={'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':_0x1190d4=>_0x1190d4%0xa==0x1&&_0x1190d4%0x64!=0xb?0x0:_0x1190d4%0xa>=0x2&&_0x1190d4%0xa<=0x4&&(_0x1190d4%0x64<0xa||_0x1190d4%0x64>=0x14)?0x1:0x2}};_0xe8a71f['be']||={'dictionary':{},'getPluralForm':null},_0xe8a71f['be']['dictionary']=Object['assign'](_0xe8a71f['be']['dictionary'],_0x2ccf25),_0xe8a71f['be']['getPluralForm']=_0x93ca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d3d78=>{const {be:{dictionary:_0x1dc916,getPluralForm:_0xee2be1}}={'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':_0x4dfe90=>_0x4dfe90%0xa==0x1&&_0x4dfe90%0x64!=0xb?0x0:_0x4dfe90%0xa>=0x2&&_0x4dfe90%0xa<=0x4&&(_0x4dfe90%0x64<0xa||_0x4dfe90%0x64>=0x14)?0x1:0x2}};_0x5d3d78['be']||={'dictionary':{},'getPluralForm':null},_0x5d3d78['be']['dictionary']=Object['assign'](_0x5d3d78['be']['dictionary'],_0x1dc916),_0x5d3d78['be']['getPluralForm']=_0xee2be1;})(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':_0x23055b=>0x1!=_0x23055b}};
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':_0x3c378d=>0x1!=_0x3c378d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14ade7=>{const {bg:{dictionary:_0xf663b8,getPluralForm:_0xcf4464}}={'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':_0x18c194=>0x1!=_0x18c194}};_0x14ade7['bg']||={'dictionary':{},'getPluralForm':null},_0x14ade7['bg']['dictionary']=Object['assign'](_0x14ade7['bg']['dictionary'],_0xf663b8),_0x14ade7['bg']['getPluralForm']=_0xcf4464;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22ed87=>{const {bg:{dictionary:_0x49f9b7,getPluralForm:_0x2c1334}}={'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':_0x20cf31=>0x1!=_0x20cf31}};_0x22ed87['bg']||={'dictionary':{},'getPluralForm':null},_0x22ed87['bg']['dictionary']=Object['assign'](_0x22ed87['bg']['dictionary'],_0x49f9b7),_0x22ed87['bg']['getPluralForm']=_0x2c1334;})(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':_0x19f552=>0x1!=_0x19f552}};
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':_0x3bca43=>0x1!=_0x3bca43}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55baaa=>{const {bn:{dictionary:_0x153aa1,getPluralForm:_0x4996d1}}={'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':_0x5c6dbc=>0x1!=_0x5c6dbc}};_0x55baaa['bn']||={'dictionary':{},'getPluralForm':null},_0x55baaa['bn']['dictionary']=Object['assign'](_0x55baaa['bn']['dictionary'],_0x153aa1),_0x55baaa['bn']['getPluralForm']=_0x4996d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31e9ad=>{const {bn:{dictionary:_0x576a7b,getPluralForm:_0x1edb74}}={'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':_0x459600=>0x1!=_0x459600}};_0x31e9ad['bn']||={'dictionary':{},'getPluralForm':null},_0x31e9ad['bn']['dictionary']=Object['assign'](_0x31e9ad['bn']['dictionary'],_0x576a7b),_0x31e9ad['bn']['getPluralForm']=_0x1edb74;})(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':_0x498b0a=>_0x498b0a%0xa==0x1&&_0x498b0a%0x64!=0xb?0x0:_0x498b0a%0xa>=0x2&&_0x498b0a%0xa<=0x4&&(_0x498b0a%0x64<0xa||_0x498b0a%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':_0x8b501a=>_0x8b501a%0xa==0x1&&_0x8b501a%0x64!=0xb?0x0:_0x8b501a%0xa>=0x2&&_0x8b501a%0xa<=0x4&&(_0x8b501a%0x64<0xa||_0x8b501a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b261d=>{const {bs:{dictionary:_0x4493b2,getPluralForm:_0x3a6ddd}}={'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':_0x7e3fbb=>_0x7e3fbb%0xa==0x1&&_0x7e3fbb%0x64!=0xb?0x0:_0x7e3fbb%0xa>=0x2&&_0x7e3fbb%0xa<=0x4&&(_0x7e3fbb%0x64<0xa||_0x7e3fbb%0x64>=0x14)?0x1:0x2}};_0x4b261d['bs']||={'dictionary':{},'getPluralForm':null},_0x4b261d['bs']['dictionary']=Object['assign'](_0x4b261d['bs']['dictionary'],_0x4493b2),_0x4b261d['bs']['getPluralForm']=_0x3a6ddd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12daca=>{const {bs:{dictionary:_0x5622c4,getPluralForm:_0x238f09}}={'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':_0x494641=>_0x494641%0xa==0x1&&_0x494641%0x64!=0xb?0x0:_0x494641%0xa>=0x2&&_0x494641%0xa<=0x4&&(_0x494641%0x64<0xa||_0x494641%0x64>=0x14)?0x1:0x2}};_0x12daca['bs']||={'dictionary':{},'getPluralForm':null},_0x12daca['bs']['dictionary']=Object['assign'](_0x12daca['bs']['dictionary'],_0x5622c4),_0x12daca['bs']['getPluralForm']=_0x238f09;})(window['CKEDITOR_TRANSLATIONS']||={});