@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.0 → 45.2.0-alpha.2

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 _0x13b5a6,Command as _0x239875}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5e933c,IconGooglePhotos as _0x598214,IconGoogleDrive as _0x8ec3fa,IconFacebook as _0x4caebd,IconDropbox as _0x508000,IconUploadcareLink as _0x13056a,IconUploadcareImageUpload as _0x331016,IconError as et,IconUploadcareImageEdit as _0x4468a6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x258063,MenuBarMenuListItemButtonView as _0xaba270,View as _0x2b59c2,FocusCycler as _0x142dc4,Dialog as _0x454718,DialogViewPosition as _0xbb20ed,SpinnerView as _0x3d4338,IconView as at,Notification as _0x239462}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x45a97c,DomEmitterMixin as _0x329450,global as _0x5baf73,getAncestors as _0x369f03,ObservableMixin as _0x77b3ae,createElement as _0x2dbd9b,uid as _0x370baa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x38ac84}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x39f8cd,info as _0x5cf597}from'@uploadcare/upload-client';import*as _0xb3bcfc from'@uploadcare/file-uploader';var o=function(_0x10db94){return _0x10db94['Local']='local',_0x10db94['URL']='url',_0x10db94['Dropbox']='dropbox',_0x10db94['GDrive']='gdrive',_0x10db94['Facebook']='facebook',_0x10db94['GPhotos']='gphotos',_0x10db94['OneDrive']='onedrive',_0x10db94;}({});function _(_0x348a05,_0xdeac80,_0x4a1b77){const t=_0x348a05['t'],_0x4af02e=_0x348a05['t'];switch(_0xdeac80){case o['Local']:return{'text':_0x4af02e('Insert'===_0x4a1b77?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4af02e('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4a1b77?_0x4af02e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4af02e('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4a1b77?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4a1b77?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4a1b77?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4a1b77?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4a1b77?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xdeac80;}}class e extends _0x13b5a6{['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 _0x4d3ff2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e71ff;for(const _0xb0daee in _0x4d3ff2){const _0x3ecdf8=_0xb0daee,_0x2ef3cb=_0x4d3ff2[_0x3ecdf8];if('uploadcareLicenseKeyValid'==_0x2ef3cb||'uploadcareLicenseKeyInvalid'==_0x2ef3cb||'uploadcareLicenseKeyExpired'==_0x2ef3cb||'uploadcareLicenseKeyDomainLimit'==_0x2ef3cb||'uploadcareLicenseKeyNotAllowed'==_0x2ef3cb||'uploadcareLicenseKeyEvaluationLimit'==_0x2ef3cb||'uploadcareLicenseKeyTrialLimit'==_0x2ef3cb||'uploadcareLicenseKeyUsageLimit'==_0x2ef3cb){delete _0x4d3ff2[_0x3ecdf8],_0x2e71ff=_0x2ef3cb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2e71ff&&_0x4d3ff2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3f959f}=this,_0x4208fe=_0x3f959f['commands']['get']('uploadcare');if(!_0x4208fe)return;const _0x346551=this['_normalizeConfigSourceList'](_0x3f959f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2ee955,_0x2f3153)=>{const _0x3d9655=this['_getIntegrationKey'](_0x2f3153['type']);return _0x2ee955[_0x3d9655]||(_0x2ee955[_0x3d9655]=[]),_0x2ee955[_0x3d9655]['push'](_0x2f3153),_0x2ee955;},{});_0x3f959f['plugins']['has']('ImageInsertUI')&&_0x3f959f['commands']['get']('uploadcare')&&Object['entries'](_0x346551)['forEach'](([_0xb989e4,_0x51a988])=>{_0x3f959f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xb989e4,'observable':()=>_0x4208fe,'buttonViewCreator':()=>this['_createToolbarButton'](_0x51a988),'formViewCreator':()=>this['_createDropdownButtons'](_0x51a988),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x51a988),'override':'assetManager'!==_0xb989e4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xfa8e2b){const {locale:_0x49f742}=this['editor'];return _0xfa8e2b['map'](_0xa292e2=>{const _0x19b39a=_(_0x49f742,_0xa292e2,'Insert');switch(_0xa292e2){case o['Local']:return{'icon':_0x331016,'type':o['Local'],..._0x19b39a};case o['URL']:return{'icon':_0x13056a,'type':o['URL'],..._0x19b39a};case o['Dropbox']:return{'icon':_0x508000,'type':o['Dropbox'],..._0x19b39a};case o['Facebook']:return{'icon':_0x4caebd,'type':o['Facebook'],..._0x19b39a};case o['GDrive']:return{'icon':_0x8ec3fa,'type':o['GDrive'],..._0x19b39a};case o['GPhotos']:return{'icon':_0x598214,'type':o['GPhotos'],..._0x19b39a};case o['OneDrive']:return{'icon':_0x5e933c,'type':o['OneDrive'],..._0x19b39a};}});}['_getIntegrationKey'](_0x264f2d){switch(_0x264f2d){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4bd0d8,_0x5927aa){const _0x1c5fed=this['editor'],_0x393e04=new _0x4bd0d8(_0x1c5fed['locale']),_0x35bb1a=_0x1c5fed['commands']['get']('uploadcare');return _0x393e04['bind']('isEnabled')['to'](_0x35bb1a),_0x393e04['on']('execute',()=>{_0x35bb1a['execute'](_0x5927aa);}),_0x393e04;}['_createToolbarButton'](_0x209576){const {locale:_0x1baf79}=this['editor'],_0x6be287=this['editor']['plugins']['get']('ImageInsertUI'),_0x16e666=_0x209576[0x0],_0x31aa42=this['_createButton'](_0x258063,_0x16e666['type']);return _0x31aa42['icon']=_0x16e666['icon'],_0x31aa42['bind']('label')['to'](_0x6be287,'isImageSelected',_0xbbb59d=>_(_0x1baf79,_0x16e666['type'],_0xbbb59d?'Replace':'Insert')['text']),_0x31aa42['tooltip']=!0x0,_0x31aa42;}['_createDropdownButtons'](_0x19a5ba){const {locale:_0x171d37}=this['editor'],_0x48a506=this['editor']['plugins']['get']('ImageInsertUI');return _0x19a5ba['map'](_0x55baaf=>{const _0x370d98=this['_createButton'](_0x258063,_0x55baaf['type']);return _0x370d98['withText']=!0x0,_0x370d98['icon']=_0x55baaf['icon'],_0x370d98['bind']('label')['to'](_0x48a506,'isImageSelected',_0x236b52=>_(_0x171d37,_0x55baaf['type'],_0x236b52?'Replace':'Insert')['text']),_0x370d98;});}['_createMenuBarButtons'](_0x21d78b){return _0x21d78b['map'](_0x3fa6a0=>{const _0x23720a=this['_createButton'](_0xaba270,_0x3fa6a0['type']);return _0x23720a['icon']=_0x3fa6a0['icon'],_0x23720a['label']=_0x3fa6a0['shortText'],_0x23720a;});}}class q extends _0x2b59c2{['focusTracker'];['focusCycler'];constructor(_0x47c119){super(_0x47c119),this['focusTracker']=new _0x45a97c(),this['focusCycler']=new _0x142dc4({'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(_0x1ba22a){super(_0x1ba22a),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(_0x1a53ec,_0x5b4896){const _0x4d97af=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x25d36c=>_0x25d36c<=_0x5b4896)['map'](_0x9046bc=>_0x1a53ec['replace'](/\/$/,'')+'/-/resize/'+_0x9046bc+'x/\x20'+_0x9046bc+'w');return{'imageFallbackUrl':_0x1a53ec,'imageSources':[{'srcset':_0x4d97af['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5b4896+'px)\x20100vw,\x20'+_0x5b4896+'px','type':'image/webp'}]};}function A(_0x238c7c,_0x176eda,_0x540bfe){const _0x5965cb=_0x238c7c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5965cb?parseInt(_0x5965cb[0x1],0xa):_0x176eda,'height':_0x5965cb?parseInt(_0x5965cb[0x2],0xa):_0x540bfe};}function m(_0x5d823e,_0x77ec7a){const _0x481694=Object['create'](_0x329450),_0x39f6f1=_0x5d823e['plugins']['get']('ImageUtils'),_0x547341=_0x5d823e['editing']['mapper']['toViewElement'](_0x77ec7a),_0x19dc3a=_0x39f6f1['findViewImgElement'](_0x547341),_0x432d84=_0x5d823e['editing']['view']['domConverter']['viewToDom'](_0x19dc3a),_0x2e5014=_0x77ec7a['getAttribute']('width'),_0x27e8e6=_0x77ec7a['getAttribute']('height'),_0x4c05ff='image-processing';_0x5d823e['editing']['view']['change'](_0x1efb09=>{_0x1efb09['addClass'](_0x4c05ff,_0x547341),_0x1efb09['setStyle']('aspect-ratio',_0x2e5014+'/'+_0x27e8e6,_0x19dc3a);}),_0x481694['listenTo'](_0x432d84,'load',()=>{_0x481694['stopListening'](_0x432d84,'load'),_0x5d823e['editing']['view']['change'](_0x43de04=>{_0x43de04['removeClass'](_0x4c05ff,_0x547341),_0x43de04['removeStyle']('aspect-ratio',_0x19dc3a);});});}function V(_0x559e4f){if(Array['isArray'](_0x559e4f)){const _0x192c57=_0x559e4f['map'](V);return _0x128a4e=>_0x192c57['some'](_0x5dbd08=>_0x5dbd08(_0x128a4e));}if('origin'==_0x559e4f){const _0x4fdf67=_0x5baf73['window']['location']['origin'];return _0x1f5b6a=>new URL(_0x1f5b6a,_0x5baf73['document']['baseURI'])['origin']==_0x4fdf67;}return'function'==typeof _0x559e4f?_0x559e4f:_0x559e4f instanceof RegExp?_0x4ec31b=>!(!_0x4ec31b['match'](_0x559e4f)&&!_0x4ec31b['replace'](/^https?:\/\//,'')['match'](_0x559e4f)):()=>!0x1;}function F(_0x56848e,_0x597f5f){return _0x369f03(_0x56848e['target'])['includes'](_0x597f5f);}class l extends/* #__PURE__ -- @preserve */
24
- _0x77b3ae(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5f5a73,_0x2ccfd4,_0x339000){super(),this['_editor']=_0x5f5a73,this['_editing']=_0x2ccfd4,this['_dialog']=_0x5f5a73['plugins']['get'](_0x454718),this['_api']=_0x2ccfd4['ctxElement']['getAPI'](),this['_type']=_0x339000,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:_0x52a089,model:_0x58b70b}=this['_editor'],_0x7d0495=_0x58b70b['document']['selection']['getSelectedElement'](),_0x36c2f1=_0x7d0495&&(_0x7d0495['is']('element','imageBlock')||_0x7d0495['is']('element','imageInline'));this['_formView']=new S(_0x52a089),this['_dialog']['show']({'id':'uploadCare','icon':_0x331016,'title':_(_0x52a089,this['_type'],_0x36c2f1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xbb20ed['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x451846=>!F(_0x451846,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x397a2d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3211a4=>{const _0x4dc3be=_0x397a2d['length'];for(const _0x4cfae1 of _0x397a2d){const _0x3dc129=_0x4cfae1===_0x397a2d[_0x4dc3be-0x1],{cdnUrl:_0x1b8d1f,fileInfo:_0x429ba8}=_0x4cfae1;if(!_0x1b8d1f||!_0x429ba8)continue;const {width:_0x21667a,height:_0x22e27d}=_0x429ba8['imageInfo'],_0x39c3e0=A(_0x1b8d1f,_0x21667a,_0x22e27d),_0x2e706b=E(_0x1b8d1f,_0x39c3e0['width']),_0x4ee4eb={'id':_0x429ba8['uuid'],'type':'image','attributes':{'imageDimension':_0x39c3e0,..._0x2e706b}};this['_insertAsset'](_0x4ee4eb,_0x3dc129,_0x3211a4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1f265a=>{'idle'===_0x1f265a['detail']['status']&&!_0x1f265a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x7aedb,_0x28d0ed,_0x1e5fd8){const _0x1e34e7=this['_editor']['model']['document']['selection'],_0x533a31=_0x1e34e7['getSelectedElement'](),_0x52ef75=!(!_0x533a31||!_0x533a31['is']('element','imageInline'));_0x1e5fd8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x7aedb,_0x52ef75),_0x28d0ed||_0x1e5fd8['setSelection'](_0x1e34e7['getLastPosition']());}['_insertImage'](_0xc08e7,_0x1eb2f0){const _0x2f47ed=this['_editor'],{imageDimension:_0x7911e4,imageFallbackUrl:_0x1cb6c8,imageSources:_0x2e31d6}=_0xc08e7['attributes'];_0x2f47ed['execute']('insertImage',{'imageType':_0x1eb2f0?'imageInline':null,'source':{'uploadcareImageId':_0xc08e7['id'],'src':_0x1cb6c8,'sources':_0x2e31d6,..._0x7911e4}});}}class n extends _0x239875{['_editing'];['_controller']=null;static get['requires'](){return[_0x454718,i];}constructor(_0x123217){super(_0x123217),this['_editing']=_0x123217['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5f575f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5f575f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5e104b,publicKey:_0x2275a4,signal:_0x465438,onProgress:_0x5e8b6d}){return _0x39f8cd(_0x5e104b,{'publicKey':_0x2275a4,'store':'auto','signal':_0x465438,'onProgress':_0x5e8b6d});}static['getInfo'](_0x3f6c31,_0x273262){return _0x5cf597(_0x3f6c31,_0x273262);}}class p extends _0x13b5a6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x38ac84,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1793db=this['editor'];if(!!!_0x1793db['config']['get']('uploadcare'))return;_0x1793db['plugins']['get'](_0x38ac84)['createUploadAdapter']=_0x21aafb=>new x(_0x21aafb,_0x1793db),_0x1793db['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xc1ca23,{imageElement:_0x4a4675,data:_0x4aed27})=>{_0x1793db['model']['change'](_0x290090=>{_0x290090['setAttribute']('uploadcareImageId',_0x4aed27['uploadcareImageId'],_0x4a4675);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x247fc4,_0x24d47b){this['loader']=_0x247fc4,this['editor']=_0x24d47b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4aa0c2=this['editor']['config']['get']('uploadcare.pubkey'),_0x5bfdc3=await this['loader']['file'];return C['upload']({'file':_0x5bfdc3,'publicKey':_0x4aa0c2,'signal':this['controller']['signal'],'onProgress':_0x191aa1=>{_0x191aa1&&_0x191aa1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x191aa1['value']);}})['then'](async _0x2e2dbe=>{const {imageFallbackUrl:_0x360d42,imageSources:_0x50b3ad}=E(_0x2e2dbe['cdnUrl'],_0x2e2dbe['imageInfo']['width']);return{'uploadcareImageId':_0x2e2dbe['uuid'],'default':_0x360d42,'sources':_0x50b3ad};})['catch'](()=>{const _0x118e92=t('Cannot\x20upload\x20file:')+('\x20'+_0x5bfdc3['name']+'.');return Promise['reject'](_0x118e92);});}['abort'](){this['controller']['abort']();}}class i extends _0x13b5a6{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x454718];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2231c5=this['editor'];_0x2231c5['commands']['add']('uploadcare',new n(_0x2231c5));}['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 _0x4111ef=_0x5baf73['document']['querySelector']('input[uploadcare-file-input]');_0x4111ef&&_0x4111ef['remove']();}),async function(_0x10893c){const _0x5ab90f=_0x3b39cb([0x56,0x6c,0x43,0x48,0x69,0x50,0x4a,0x4f,0x59,0x54,0x53,0x66,0x75,0x6e,0x49,0x72,0x67,0x55,0x77,0x44,0x38,0x4b,0x35,0x61,0x6d,0x64,0x4c,0x74,0x6a,0x6b,0x42,0x31,0x4d,0x52,0x63,0x39,0x34,0x57,0x70,0x62,0x65,0x30,0x68,0x78,0x58,0x46,0x7a,0x45,0x76,0x37,0x47,0x71,0x73,0x79,0x6f,0x4e,0x32,0x5a,0x36,0x41,0x51,0x33]),_0x6bd5eb=0x7f0686cd,_0x487a37=0x7f01efed^_0x6bd5eb,_0xcd4a67=window[_0x3b39cb([0x44,0x61,0x74,0x65])][_0x3b39cb([0x6e,0x6f,0x77])](),_0x146d45=_0x10893c[_0x3b39cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x565e72=new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53828c=>{_0x146d45[_0x3b39cb([0x6f,0x6e,0x63,0x65])](_0x3b39cb([0x72,0x65,0x61,0x64,0x79]),_0x53828c);}),_0x3aceb3={[_0x3b39cb([0x6b,0x74,0x79])]:_0x3b39cb([0x45,0x43]),[_0x3b39cb([0x75,0x73,0x65])]:_0x3b39cb([0x73,0x69,0x67]),[_0x3b39cb([0x63,0x72,0x76])]:_0x3b39cb([0x50,0x2d,0x32,0x35,0x36]),[_0x3b39cb([0x78])]:_0x3b39cb([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]),[_0x3b39cb([0x79])]:_0x3b39cb([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]),[_0x3b39cb([0x61,0x6c,0x67])]:_0x3b39cb([0x45,0x53,0x32,0x35,0x36])},_0x128b2f=_0x146d45[_0x3b39cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b39cb([0x67,0x65,0x74])](_0x3b39cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35184b(){let _0x2b0e3e,_0x1844ef=null,_0x1e63ae=null;try{if(_0x128b2f==_0x3b39cb([0x47,0x50,0x4c]))return _0x3b39cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b0e3e=_0x3a64ec(),!_0x2b0e3e)return _0x3b39cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b0e3e[_0x3b39cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e63ae=_0x5815fc(_0x2b0e3e[_0x3b39cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b0e3e[_0x3b39cb([0x6a,0x74,0x69])])),await _0x1394f1()?_0x21d13d()?_0x401f83()?_0x3b39cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x584eaf()?(_0x2b0e3e[_0x3b39cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b39cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1844ef=_0x38bd31(_0x3b39cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b0e3e[_0x3b39cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b39cb([0x74,0x72,0x69,0x61,0x6c])&&(_0x1844ef=_0x38bd31(_0x3b39cb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5348b3()):_0x3b39cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b39cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b39cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b39cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x401f83(){const _0xeb03a9=[_0x3b39cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b39cb([0x74,0x72,0x69,0x61,0x6c])][_0x3b39cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b0e3e[_0x3b39cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcd4a67/0x3e8:0xe10*_0x487a37;return _0x2b0e3e[_0x3b39cb([0x65,0x78,0x70])]<_0xeb03a9;}function _0x21d13d(){const _0x30254e=_0x2b0e3e[_0x3b39cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30254e&&(!!_0x30254e[_0x3b39cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b39cb([0x2a]))||!!_0x30254e[_0x3b39cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b39cb([0x55,0x50,0x4c,0x43])));}function _0x584eaf(){const _0x49c444=_0x2b0e3e[_0x3b39cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49c444||0x0==_0x49c444[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3daa40}=new URL(window[_0x3b39cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49c444[_0x3b39cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3daa40))return!0x0;const _0x19fb82=_0x3daa40[_0x3b39cb([0x73,0x70,0x6c,0x69,0x74])](_0x3b39cb([0x2e]));return _0x49c444[_0x3b39cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4738f7=>_0x4738f7[_0x3b39cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b39cb([0x2a])))[_0x3b39cb([0x6d,0x61,0x70])](_0x1710fa=>_0x1710fa[_0x3b39cb([0x73,0x70,0x6c,0x69,0x74])](_0x3b39cb([0x2e])))[_0x3b39cb([0x73,0x6f,0x6d,0x65])](_0x33bad4=>_0x19fb82[_0x3b39cb([0x65,0x76,0x65,0x72,0x79])]((_0x593415,_0x5929d8)=>_0x33bad4[_0x5929d8]===_0x593415||_0x33bad4[_0x5929d8]===_0x3b39cb([0x2a])));}function _0x5348b3(){return _0x1844ef&&_0x1e63ae?new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb08a32,_0x1324af)=>{_0x1844ef[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0xb08a32,_0x1324af),_0x1e63ae[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0x14fad0=>{_0x14fad0!=_0x3b39cb([0x56,0x61,0x6c,0x69,0x64])&&_0xb08a32(_0x14fad0);},_0x1324af);}):_0x1844ef||_0x1e63ae||_0x3b39cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5815fc(_0xe5c6e1,_0x3df662){return new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273f45=>{if(_0x53f999())return _0x273f45(_0x3b39cb([0x56,0x61,0x6c,0x69,0x64]));_0x3f8dd5(),_0x146d45[_0x3b39cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b39cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11ac5e=!0x1;const _0x1e6a24=_0x370baa();function _0x4dc192(_0x198527){return!!_0x198527&&(typeof _0x198527===_0x3b39cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x198527===_0x3b39cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x198527[_0x3b39cb([0x74,0x68,0x65,0x6e])]===_0x3b39cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x198527[_0x3b39cb([0x63,0x61,0x74,0x63,0x68])]===_0x3b39cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x175ae3(_0x593b07){_0x4566f2(_0x593b07)[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0x1fab22=>{if(!_0x1fab22||_0x1fab22[_0x3b39cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b39cb([0x6f,0x6b]))return _0x3b39cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xac28dd(_0x1d1b73(_0x1e6a24+_0x3df662))!=_0x1fab22[_0x3b39cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b39cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b39cb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0x7e5ded=>(_0xd480dd(),_0x7e5ded),()=>{const _0x1a63ab=_0x428903();return null==_0x1a63ab?(_0xd480dd(),_0x3b39cb([0x56,0x61,0x6c,0x69,0x64])):_0x3b39cb(_0xcd4a67-_0x1a63ab>(0x5b0a02cd^_0x6bd5eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0x273f45)[_0x3b39cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x273f45(_0x3b39cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f077f=0x7f30684d^_0x6bd5eb;function _0xd480dd(){const _0x1cb61b=_0x3b39cb([0x6c,0x6c,0x63,0x74,0x2d])+_0xac28dd(_0x1d1b73(_0xe5c6e1)),_0x48c897=_0x3156f0(_0xac28dd(window[_0x3b39cb([0x4d,0x61,0x74,0x68])][_0x3b39cb([0x63,0x65,0x69,0x6c])](_0xcd4a67/_0x1f077f)));window[_0x3b39cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b39cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cb61b,_0x48c897);}function _0x428903(){const _0x5c3146=_0x3b39cb([0x6c,0x6c,0x63,0x74,0x2d])+_0xac28dd(_0x1d1b73(_0xe5c6e1)),_0xb6bdc1=window[_0x3b39cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b39cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c3146);return _0xb6bdc1?window[_0x3b39cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3156f0(_0xb6bdc1),0x10)*_0x1f077f:null;}function _0x4566f2(_0xfda50b){return new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d15f4,_0x3e774e)=>{_0xfda50b[_0x3b39cb([0x74,0x68,0x65,0x6e])](_0x1d15f4,_0x3e774e),window[_0x3b39cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e774e,0x7f07520d^_0x6bd5eb);});}}_0x146d45[_0x3b39cb([0x6f,0x6e])](_0x3b39cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x64debb,_0x22adef)=>{if(_0x22adef[0x0]!=_0xe5c6e1)return _0x273f45(_0x3b39cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22adef[0x1]={..._0x22adef[0x1],[_0x3b39cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e6a24};},{[_0x3b39cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b39cb([0x68,0x69,0x67,0x68])}),_0x146d45[_0x3b39cb([0x6f,0x6e])](_0x3b39cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3eba39=>{_0x4dc192(_0x3eba39[_0x3b39cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11ac5e=!0x0,_0x175ae3(_0x3eba39[_0x3b39cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b39cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b39cb([0x6c,0x6f,0x77])}),_0x565e72[_0x3b39cb([0x74,0x68,0x65,0x6e])](()=>{_0x11ac5e||_0x273f45(_0x3b39cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53f999(){return _0x146d45[_0x3b39cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b39cb([0x76,0x69,0x65,0x77])][_0x3b39cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b39cb([0x61,0x75,0x74,0x6f]);}function _0x3f8dd5(){_0x146d45[_0x3b39cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b39cb([0x76,0x69,0x65,0x77])][_0x3b39cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b39cb([0x61,0x75,0x74,0x6f]);}}function _0x38bd31(_0xe34b5b){const _0x2ff4a4=[new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1312e9=>setTimeout(_0x1312e9,0x7f0fb801^_0x6bd5eb)),_0x565e72[_0x3b39cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599285=>{let _0x3d0e20=0x0;_0x146d45[_0x3b39cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b39cb([0x6f,0x6e])](_0x3b39cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53ac4b,_0x39b35a)=>{_0x39b35a[0x0][_0x3b39cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d0e20++,_0x3d0e20==(0x7f068735^_0x6bd5eb)&&(_0x599285(),_0x53ac4b[_0x3b39cb([0x6f,0x66,0x66])]());});}))];return window[_0x3b39cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b39cb([0x72,0x61,0x63,0x65])](_0x2ff4a4)[_0x3b39cb([0x74,0x68,0x65,0x6e])](()=>_0xe34b5b);}async function _0x3c4bb1(){await _0x565e72,_0x146d45[_0x3b39cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b39cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e07f2,_0x146d45[_0x3b39cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b39cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e07f2,_0x146d45[_0x3b39cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b39cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cde46(_0x20effc){const _0x47d5ab=_0x3896af();_0x146d45[_0x47d5ab]=_0x3b39cb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20effc,_0x20effc!=_0x3b39cb([0x56,0x61,0x6c,0x69,0x64])&&_0x3c4bb1();}function _0x3896af(){const _0xea0c2f=window[_0x3b39cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b39cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b39cb([0x6e,0x6f,0x77])]())[_0x3b39cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b39cb([0x2e]),'');let _0x2ae775=_0x3b39cb([0x56]);for(let _0x21b091=0x0;_0x21b091<_0xea0c2f[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21b091+=0x2){let _0x569878=window[_0x3b39cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea0c2f[_0x3b39cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21b091,_0x21b091+0x2));_0x569878>=_0x5ab90f[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x569878-=_0x5ab90f[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ae775+=_0x5ab90f[_0x569878];}return _0x2ae775;}function _0x3a64ec(){const _0x706945=_0x128b2f[_0x3b39cb([0x73,0x70,0x6c,0x69,0x74])](_0x3b39cb([0x2e]));if(0x3!=_0x706945[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x399410(_0x706945[0x1]);function _0x399410(_0x15f30d){const _0x1f10ab=_0x5b4b79(_0x15f30d);return _0x1f10ab&&_0x3021df()?_0x1f10ab:null;function _0x3021df(){const _0x473877=_0x1f10ab[_0x3b39cb([0x6a,0x74,0x69])],_0x5b0035=window[_0x3b39cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x473877[_0x3b39cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x473877[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f66bc={..._0x1f10ab,[_0x3b39cb([0x6a,0x74,0x69])]:_0x473877[_0x3b39cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x473877[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f66bc[_0x3b39cb([0x76,0x63])],_0x1d1b73(_0x3f66bc)==_0x5b0035;}}}async function _0x1394f1(){let _0x4b2a0a=!0x0;try{const _0x9cef7d=_0x128b2f[_0x3b39cb([0x73,0x70,0x6c,0x69,0x74])](_0x3b39cb([0x2e])),[_0x4ad4d5,_0x337c5f,_0x12f718]=_0x9cef7d;return _0x5b1823(_0x4ad4d5),await _0x2011ff(_0x4ad4d5,_0x337c5f,_0x12f718),_0x4b2a0a;}catch{return!0x1;}function _0x5b1823(_0x12b89b){const _0x191ebe=_0x5b4b79(_0x12b89b);_0x191ebe&&_0x191ebe[_0x3b39cb([0x61,0x6c,0x67])]==_0x3b39cb([0x45,0x53,0x32,0x35,0x36])||(_0x4b2a0a=!0x1);}async function _0x2011ff(_0x43ea2f,_0x210168,_0x50ac65){const _0x2cbee6=window[_0x3b39cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b39cb([0x66,0x72,0x6f,0x6d])](_0x225aa3(_0x50ac65),_0x4e027b=>_0x4e027b[_0x3b39cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd855d8=new window[(_0x3b39cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b39cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ea2f+_0x3b39cb([0x2e])+_0x210168),_0x30a6aa=window[_0x3b39cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b39cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30a6aa)return;const _0x54ef4d=await _0x30a6aa[_0x3b39cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b39cb([0x6a,0x77,0x6b]),_0x3aceb3,{[_0x3b39cb([0x6e,0x61,0x6d,0x65])]:_0x3b39cb([0x45,0x43,0x44,0x53,0x41]),[_0x3b39cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b39cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b39cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30a6aa[_0x3b39cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b39cb([0x6e,0x61,0x6d,0x65])]:_0x3b39cb([0x45,0x43,0x44,0x53,0x41]),[_0x3b39cb([0x68,0x61,0x73,0x68])]:{[_0x3b39cb([0x6e,0x61,0x6d,0x65])]:_0x3b39cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54ef4d,_0x2cbee6,_0xd855d8)||(_0x4b2a0a=!0x1);}}function _0x5b4b79(_0x241e64){return _0x241e64[_0x3b39cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b39cb([0x65,0x79]))?JSON[_0x3b39cb([0x70,0x61,0x72,0x73,0x65])](_0x225aa3(_0x241e64)):null;}function _0x225aa3(_0x56dab0){return window[_0x3b39cb([0x61,0x74,0x6f,0x62])](_0x56dab0[_0x3b39cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b39cb([0x2b]))[_0x3b39cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b39cb([0x2f])));}function _0x1d1b73(_0x170b5f){let _0x444621=0x1505;function _0x398efc(_0x26b53a){for(let _0x2688cb=0x0;_0x2688cb<_0x26b53a[_0x3b39cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2688cb++){const _0x6575b3=_0x26b53a[_0x3b39cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2688cb);_0x444621=(_0x444621<<0x5)+_0x444621+_0x6575b3,_0x444621&=_0x444621;}}function _0x540632(_0x2219dc){Array[_0x3b39cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2219dc)?_0x2219dc[_0x3b39cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x540632):_0x2219dc&&typeof _0x2219dc==_0x3b39cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b39cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2219dc)[_0x3b39cb([0x73,0x6f,0x72,0x74])]()[_0x3b39cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ba006,_0x420514])=>{_0x398efc(_0x4ba006),_0x540632(_0x420514);}):_0x398efc(window[_0x3b39cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2219dc));}return _0x540632(_0x170b5f),_0x444621>>>0x0;}function _0xac28dd(_0x454a0c){return _0x454a0c[_0x3b39cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b39cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b39cb([0x30]));}function _0x3156f0(_0x1f2776){return _0x1f2776[_0x3b39cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b39cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b39cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e07f2(){}function _0x3b39cb(_0x34ae2b){return _0x34ae2b['map'](_0x29eaf0=>String['fromCharCode'](_0x29eaf0))['join']('');}_0x3cde46(await _0x35184b());}(this);}['_initSchema'](){const _0x1daebc=this['editor']['model']['schema'];_0x1daebc['isRegistered']('imageBlock')&&_0x1daebc['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1daebc['isRegistered']('imageInline')&&_0x1daebc['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x7e5133=this['editor'];_0x7e5133['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x7e5133['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1c1413=>_0x1c1413['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2a69aa=_0x7e5133['commands']['get']('replaceImageSource');_0x2a69aa&&this['listenTo'](_0x2a69aa,'cleanupImage',(_0x5ecab6,[_0x1536cd,_0x3fb28d])=>{_0x1536cd['removeAttribute']('uploadcareImageId',_0x3fb28d);});}['_initConfig'](){const _0xc74040=this['editor']['config']['get']('uploadcare.uploader')||{},_0x37fec9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2dbd9b(_0x5baf73['document'],'uc-config',{..._0xc74040,'pubkey':_0x37fec9,'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']=_0x4764d3=>{if('closeMax'==_0x4764d3)return'#uc-icon-arrow-down';},_0x5baf73['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2dbd9b(_0x5baf73['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x5baf73['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2cf106=this['editor']['commands']['get']('insertImage');_0x2cf106&&this['listenTo'](_0x2cf106,'execute',()=>{const _0x3e99c8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3e99c8&&_0x3e99c8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3e99c8);});});const _0x11a0b5=this['editor']['commands']['get']('uploadcareImageReplace');_0x11a0b5&&this['listenTo'](_0x11a0b5,'execute',()=>{const _0x4dab57=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4dab57&&_0x4dab57['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4dab57);});});}}class u extends _0x13b5a6{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cab63){super(_0x3cab63),_0x3cab63['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0xb3bcfc['defineComponents'](_0xb3bcfc);}}class ta extends _0x2b59c2{constructor(_0x19067c){super(_0x19067c);const t=_0x19067c['t'],_0x736b9=this['bindTemplate'],_0x34b1d2=new _0x3d4338();_0x34b1d2['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':[_0x34b1d2,{'text':_0x736b9['to']('imageUploadProgress',_0x29eb00=>t('Loading\x20image...')+'\x20('+(_0x29eb00||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 _0x2b59c2{constructor(_0x36ab10){super(_0x36ab10);const t=_0x36ab10['t'];this['set']('errorType',null);const _0x20feb7=new _0x258063(_0x36ab10);_0x20feb7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x20feb7['withText']=!0x0,_0x20feb7['class']='ck-button-action',_0x20feb7['on']('execute',()=>{this['fire']('retry');}),_0x20feb7['bind']('isVisible')['to'](this,'errorType',_0x109fa7=>'NotFound'!==_0x109fa7);const _0x383090=new at();_0x383090['content']=et,_0x383090['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x406877=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':[_0x383090,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x406877['to']('errorType',_0x361f26=>t('NotFound'!==_0x361f26?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x20feb7]},{'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 _0x2b59c2{constructor(_0xb9addf,_0x1fd677){super(_0xb9addf);const _0x20f6b8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1fd677,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x20f6b8['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xa289ec,_0x12df92,_0x31adcf){super(_0xa289ec),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xa289ec),this['_errorView']=new rt(_0xa289ec),this['_editingView']=new tt(_0xa289ec,_0x31adcf),this['_focusableView']=new _0x2b59c2(_0xa289ec),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x12df92),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'],_0x432e50=>{this['_addUploadcareImageEditorListeners'](_0x432e50);});}),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'](_0x3832ed,_0x1eea04){const _0x10aa81='uc-cloud-image-editor',_0x4d47b9=_0x3832ed['querySelector'](_0x10aa81);if(_0x4d47b9)return _0x1eea04(_0x4d47b9);const _0x81c289=new MutationObserver(_0x34f53b=>{const _0x49a91d=_0x34f53b['filter'](_0xcdef84=>_0xcdef84['target']===_0x3832ed&&_0xcdef84['addedNodes']['length']>0x0&&_0xcdef84['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x10aa81);_0x49a91d['length']&&(_0x81c289['disconnect'](),_0x1eea04(_0x49a91d[0x0]['addedNodes'][0x0]));});_0x81c289['observe'](_0x3832ed,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5b101b){_0x5b101b['addEventListener']('apply',_0x46ab4f=>{this['fire']('apply',{'imageSrc':_0x46ab4f['detail']['cdnUrl']});}),_0x5b101b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x77b3ae(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x104fea,_0x1c7c00,_0x5f0675){super(),this['_editor']=_0x104fea,this['_dialog']=_0x1c7c00,this['_imageElement']=_0x5f0675,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 _0x37cc84=this['_imageElement'],_0x3924f6=_0x37cc84['getAttribute']('uploadcareImageId'),_0x395c2=_0x37cc84['getAttribute']('src');if(_0x3924f6)await this['_loadImageInfo'](_0x3924f6,_0x395c2);else{if(this['_imageCache']['has'](_0x395c2)){const _0x509055=this['_imageCache']['get'](_0x395c2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x509055['url'],this['imageDimension']=_0x509055['dimension'],this['imageId']=_0x509055['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x174865}=this['_editor'],t=_0x174865['t'],_0x18ef54=new Z(_0x174865,this['imageStatus'],this['_attributes']);_0x18ef54['bind']('status')['to'](this,'imageStatus'),_0x18ef54['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x18ef54['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x18ef54['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x18ef54,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4468a6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x18ef54,'position':_0xbb20ed['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x18ef54['focus']();},'onHide':()=>{_0x18ef54['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25cdcb=>!F(_0x25cdcb,_0x18ef54['element'])}});}['_loadImageInfo'](_0x1bd24b,_0x453dc1){return C['getInfo'](_0x1bd24b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x482bf0=>{const {width:_0x5cf38b,height:_0x414485}=_0x482bf0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x453dc1,this['imageDimension']={'width':_0x5cf38b,'height':_0x414485},this['imageId']=_0x1bd24b;})['catch'](_0x5b6b5d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b6b5d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x13b9a5,_0x5399f4){return this['_getImageAsFile'](_0x13b9a5)['then'](_0x262a9d=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5399f4['signal'],'file':_0x262a9d,'onProgress':_0x43dcae=>{_0x43dcae&&_0x43dcae['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x43dcae['value']));}}))['then'](_0x11f618=>{const {width:_0xac7943,height:_0x1aa447}=_0x11f618['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11f618['cdnUrl'],this['imageDimension']={'width':_0xac7943,'height':_0x1aa447},this['imageId']=_0x11f618['uuid'],this['imageUploadProgress']=null;const _0x9ba1f2=_0x13b9a5['getAttribute']('src');this['_imageCache']['set'](_0x9ba1f2,{'id':_0x11f618['uuid'],'url':_0x11f618['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x7bb073=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7bb073['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2c30f7,_0x543e4a){_0x2c30f7['on']('apply',(_0x5b9803,_0x14ccef)=>{this['_replaceImage'](_0x543e4a,_0x14ccef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2c30f7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2c30f7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xbb6086,_0x4c5cce,_0x4d440f){const _0x52938f=this['_editor'],{width:_0x5e9fe2,height:_0x4d6163}=A(_0x4c5cce,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x206316,imageSources:_0x3e73b5}=E(_0x4c5cce,_0x5e9fe2);_0x52938f['model']['change'](_0xb4f23d=>{if('$graveyard'===_0xbb6086['root']['rootName']){_0x52938f['execute']('insertImage',{'imageType':_0xbb6086['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xbb6086['getAttributes']()),'uploadcareImageId':_0x4d440f,'src':_0x206316,'sources':_0x3e73b5,'width':_0x5e9fe2,'height':_0x4d6163}});const _0x2dfdac=_0xbb6086['getChildren']();_0xbb6086=_0x52938f['model']['document']['selection']['getSelectedElement']();for(const _0x5c1981 of _0x2dfdac)_0xb4f23d['append'](_0xb4f23d['cloneElement'](_0x5c1981),_0xbb6086);}else _0xb4f23d['setSelection'](_0xbb6086,'on'),_0x52938f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xbb6086['getAttributes']()),'uploadcareImageId':_0x4d440f,'src':_0x206316,'sources':_0x3e73b5,'width':_0x5e9fe2,'height':_0x4d6163},_0xbb6086);_0xb4f23d['setSelection'](_0xbb6086,'on');});}async['_getImageAsFile'](_0x1a5ac4){const _0x55feb1=_0x5baf73['window'],_0x3003d2=_0x5baf73['document']['location']['href'],_0x39f707=new _0x55feb1['URL'](_0x1a5ac4['getAttribute']('src'),_0x3003d2);if('data:'===_0x39f707['protocol']){const _0x322bf1=_0x39f707['href']['split'](','),_0x563f59=_0x322bf1[0x0]['match'](/:(.*?);/)[0x1],_0x2b7e73=_0x563f59['split']('/')[0x1],_0x2a2189=_0x55feb1['atob'](_0x322bf1[_0x322bf1['length']-0x1]);let _0x111c91=_0x2a2189['length'];const _0x355f9e=new _0x55feb1['Uint8Array'](_0x111c91);for(;_0x111c91--;)_0x355f9e[_0x111c91]=_0x2a2189['charCodeAt'](_0x111c91);return new _0x55feb1['File']([_0x355f9e],'image.'+_0x2b7e73,{'type':_0x563f59});}const _0x51aa57=_0x39f707['href']['split']('/'),_0x1777c0=_0x51aa57[_0x51aa57['length']-0x1],_0xaa180=_0x1777c0['split']('.')[0x1];return _0x55feb1['fetch'](_0x39f707['href'])['then'](_0x3d68b9=>_0x3d68b9['clone']()['blob']())['then'](_0xfa1166=>new _0x55feb1['File']([_0xfa1166],_0x1777c0,{'type':'image/'+_0xaa180}));}}class J extends _0x239875{['imageEditController'];static get['requires'](){return[_0x454718];}['_isEditable'];constructor(_0x164c6b){super(_0x164c6b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2ebc3d){const _0xc6ab26=V(_0x2ebc3d);return _0x5b4923=>!(!_0x5b4923||!_0x5b4923['is']('element','imageBlock')&&!_0x5b4923['is']('element','imageInline'))&&(!!_0x5b4923['hasAttribute']('uploadcareImageId')||!!_0x5b4923['hasAttribute']('src')&&_0xc6ab26(_0x5b4923['getAttribute']('src')));}(_0x164c6b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x637c7d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x637c7d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3fdd5c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3fdd5c&&(_0x3fdd5c['is']('element','imageBlock')||_0x3fdd5c['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x454718),_0x3fdd5c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x239875{['refresh'](){const _0x354847=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x354847&&(_0x354847['is']('element','imageBlock')||_0x354847['is']('element','imageInline')));}['execute'](_0x504460){const _0x1059ab=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3df263=>{_0x3df263['setAttributes'](_0x504460,_0x1059ab),_0x3df263['removeAttribute']('srcset',_0x1059ab),_0x3df263['removeAttribute']('sizes',_0x1059ab);});}}class g extends _0x13b5a6{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x239462,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a21b3}=this;_0x4a21b3['commands']['add']('uploadcareImageEdit',new J(_0x4a21b3)),_0x4a21b3['commands']['add']('uploadcareImageReplace',new O(_0x4a21b3));}}class j extends _0x13b5a6{['_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 _0x1b4135=this['editor'];_0x1b4135['ui']['componentFactory']['add']('uploadcareImageEdit',_0x11114e=>{const _0x3005c4=_0x1b4135['commands']['get']('uploadcareImageEdit'),_0x198f9a=new _0x258063(_0x11114e),t=_0x11114e['t'];return _0x198f9a['set']({'icon':_0x4468a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x198f9a['bind']('isEnabled')['to'](_0x3005c4),_0x198f9a['bind']('isOn')['to'](_0x3005c4,'isActive'),this['listenTo'](_0x198f9a,'execute',()=>{_0x1b4135['execute']('uploadcareImageEdit'),_0x1b4135['editing']['view']['focus']();}),_0x198f9a;}),this['_initConfig']();}['_initConfig'](){const _0x403152=_0x2dbd9b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x403152),this['listenTo'](this['editor'],'destroy',()=>{_0x403152['remove']();});}}class P extends _0x13b5a6{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 _0x128a65,Command as _0x1e0355}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x523d13,IconGooglePhotos as _0x247426,IconGoogleDrive as _0x147bce,IconFacebook as _0x27183d,IconDropbox as _0x3319fa,IconUploadcareLink as _0x2fa362,IconUploadcareImageUpload as _0xa9f76f,IconError as et,IconUploadcareImageEdit as _0x3e5dc3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x337682,MenuBarMenuListItemButtonView as _0x296405,View as _0x264a83,FocusCycler as _0x5392c3,Dialog as _0x57994a,DialogViewPosition as _0x3d6b47,SpinnerView as _0x33c0a2,IconView as at,Notification as _0x569ceb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5e8085,DomEmitterMixin as _0x3747b7,global as _0xa4a0f7,getAncestors as _0x12b2e7,ObservableMixin as _0x5ec8fb,createElement as _0x218a85,uid as _0x48dc45}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x26d1b2}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2f59a6,info as _0x4d9cbe}from'@uploadcare/upload-client';import*as _0x691045 from'@uploadcare/file-uploader';var o=function(_0x447874){return _0x447874['Local']='local',_0x447874['URL']='url',_0x447874['Dropbox']='dropbox',_0x447874['GDrive']='gdrive',_0x447874['Facebook']='facebook',_0x447874['GPhotos']='gphotos',_0x447874['OneDrive']='onedrive',_0x447874;}({});function _(_0x1538c4,_0x190e84,_0xe6e7ba){const t=_0x1538c4['t'],_0x5b0a27=_0x1538c4['t'];switch(_0x190e84){case o['Local']:return{'text':_0x5b0a27('Insert'===_0xe6e7ba?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5b0a27('From\x20computer')};case o['URL']:return{'text':'Insert'===_0xe6e7ba?_0x5b0a27('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5b0a27('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0xe6e7ba?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0xe6e7ba?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0xe6e7ba?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0xe6e7ba?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0xe6e7ba?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x190e84;}}class e extends _0x128a65{['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 _0x533e7c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d9acf;for(const _0x48df87 in _0x533e7c){const _0xdc1c25=_0x48df87,_0xbc3f64=_0x533e7c[_0xdc1c25];if('uploadcareLicenseKeyValid'==_0xbc3f64||'uploadcareLicenseKeyInvalid'==_0xbc3f64||'uploadcareLicenseKeyExpired'==_0xbc3f64||'uploadcareLicenseKeyDomainLimit'==_0xbc3f64||'uploadcareLicenseKeyNotAllowed'==_0xbc3f64||'uploadcareLicenseKeyEvaluationLimit'==_0xbc3f64||'uploadcareLicenseKeyTrialLimit'==_0xbc3f64||'uploadcareLicenseKeyUsageLimit'==_0xbc3f64){delete _0x533e7c[_0xdc1c25],_0x5d9acf=_0xbc3f64,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5d9acf&&_0x533e7c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5d9acf&&_0x533e7c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5d9acf&&_0x533e7c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5d9acf&&_0x533e7c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5d9acf&&_0x533e7c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5d9acf&&_0x533e7c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5d9acf&&_0x533e7c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5eef4c}=this,_0x1749a4=_0x5eef4c['commands']['get']('uploadcare');if(!_0x1749a4)return;const _0x18a350=this['_normalizeConfigSourceList'](_0x5eef4c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1799d1,_0x2461f8)=>{const _0x5577a3=this['_getIntegrationKey'](_0x2461f8['type']);return _0x1799d1[_0x5577a3]||(_0x1799d1[_0x5577a3]=[]),_0x1799d1[_0x5577a3]['push'](_0x2461f8),_0x1799d1;},{});_0x5eef4c['plugins']['has']('ImageInsertUI')&&_0x5eef4c['commands']['get']('uploadcare')&&Object['entries'](_0x18a350)['forEach'](([_0x3d83ce,_0x41adc0])=>{_0x5eef4c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3d83ce,'observable':()=>_0x1749a4,'buttonViewCreator':()=>this['_createToolbarButton'](_0x41adc0),'formViewCreator':()=>this['_createDropdownButtons'](_0x41adc0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x41adc0),'override':'assetManager'!==_0x3d83ce});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x636593){const {locale:_0x25bbcc}=this['editor'];return _0x636593['map'](_0x3179d1=>{const _0xdc6c7b=_(_0x25bbcc,_0x3179d1,'Insert');switch(_0x3179d1){case o['Local']:return{'icon':_0xa9f76f,'type':o['Local'],..._0xdc6c7b};case o['URL']:return{'icon':_0x2fa362,'type':o['URL'],..._0xdc6c7b};case o['Dropbox']:return{'icon':_0x3319fa,'type':o['Dropbox'],..._0xdc6c7b};case o['Facebook']:return{'icon':_0x27183d,'type':o['Facebook'],..._0xdc6c7b};case o['GDrive']:return{'icon':_0x147bce,'type':o['GDrive'],..._0xdc6c7b};case o['GPhotos']:return{'icon':_0x247426,'type':o['GPhotos'],..._0xdc6c7b};case o['OneDrive']:return{'icon':_0x523d13,'type':o['OneDrive'],..._0xdc6c7b};}});}['_getIntegrationKey'](_0x1ad9f2){switch(_0x1ad9f2){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1012d0,_0x41a1dd){const _0x3b06d7=this['editor'],_0x240a25=new _0x1012d0(_0x3b06d7['locale']),_0x27a2f4=_0x3b06d7['commands']['get']('uploadcare');return _0x240a25['bind']('isEnabled')['to'](_0x27a2f4),_0x240a25['on']('execute',()=>{_0x27a2f4['execute'](_0x41a1dd);}),_0x240a25;}['_createToolbarButton'](_0x4f3a13){const {locale:_0x176999}=this['editor'],_0xbcb390=this['editor']['plugins']['get']('ImageInsertUI'),_0xb231c=_0x4f3a13[0x0],_0x34c939=this['_createButton'](_0x337682,_0xb231c['type']);return _0x34c939['icon']=_0xb231c['icon'],_0x34c939['bind']('label')['to'](_0xbcb390,'isImageSelected',_0x5aacea=>_(_0x176999,_0xb231c['type'],_0x5aacea?'Replace':'Insert')['text']),_0x34c939['tooltip']=!0x0,_0x34c939;}['_createDropdownButtons'](_0x426105){const {locale:_0x39727c}=this['editor'],_0x26894c=this['editor']['plugins']['get']('ImageInsertUI');return _0x426105['map'](_0x4c37e1=>{const _0x74da31=this['_createButton'](_0x337682,_0x4c37e1['type']);return _0x74da31['withText']=!0x0,_0x74da31['icon']=_0x4c37e1['icon'],_0x74da31['bind']('label')['to'](_0x26894c,'isImageSelected',_0x45718f=>_(_0x39727c,_0x4c37e1['type'],_0x45718f?'Replace':'Insert')['text']),_0x74da31;});}['_createMenuBarButtons'](_0x462df2){return _0x462df2['map'](_0xc861fb=>{const _0x2bbbfa=this['_createButton'](_0x296405,_0xc861fb['type']);return _0x2bbbfa['icon']=_0xc861fb['icon'],_0x2bbbfa['label']=_0xc861fb['shortText'],_0x2bbbfa;});}}class q extends _0x264a83{['focusTracker'];['focusCycler'];constructor(_0x3b3e4e){super(_0x3b3e4e),this['focusTracker']=new _0x5e8085(),this['focusCycler']=new _0x5392c3({'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(_0x12717a){super(_0x12717a),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(_0x2a51dd,_0x204dcd){const _0x4696ca=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2c1430=>_0x2c1430<=_0x204dcd)['map'](_0xd1ffe=>_0x2a51dd['replace'](/\/$/,'')+'/-/resize/'+_0xd1ffe+'x/\x20'+_0xd1ffe+'w');return{'imageFallbackUrl':_0x2a51dd,'imageSources':[{'srcset':_0x4696ca['join'](',\x20'),'sizes':'(max-width:\x20'+_0x204dcd+'px)\x20100vw,\x20'+_0x204dcd+'px','type':'image/webp'}]};}function A(_0xb993c4,_0x25878d,_0x5955c6){const _0x340244=_0xb993c4['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x340244?parseInt(_0x340244[0x1],0xa):_0x25878d,'height':_0x340244?parseInt(_0x340244[0x2],0xa):_0x5955c6};}function m(_0x3a90d4,_0x5a8878){const _0xdcb7a1=Object['create'](_0x3747b7),_0x4f4e6c=_0x3a90d4['plugins']['get']('ImageUtils'),_0x1f3e23=_0x3a90d4['editing']['mapper']['toViewElement'](_0x5a8878),_0x1ebca9=_0x4f4e6c['findViewImgElement'](_0x1f3e23),_0x3f2a69=_0x3a90d4['editing']['view']['domConverter']['viewToDom'](_0x1ebca9),_0x9821c9=_0x5a8878['getAttribute']('width'),_0x555d77=_0x5a8878['getAttribute']('height'),_0x2bd2f5='image-processing';_0x3a90d4['editing']['view']['change'](_0x5046ae=>{_0x5046ae['addClass'](_0x2bd2f5,_0x1f3e23),_0x5046ae['setStyle']('aspect-ratio',_0x9821c9+'/'+_0x555d77,_0x1ebca9);}),_0xdcb7a1['listenTo'](_0x3f2a69,'load',()=>{_0xdcb7a1['stopListening'](_0x3f2a69,'load'),_0x3a90d4['editing']['view']['change'](_0x1e71f4=>{_0x1e71f4['removeClass'](_0x2bd2f5,_0x1f3e23),_0x1e71f4['removeStyle']('aspect-ratio',_0x1ebca9);});});}function V(_0x901ab9){if(Array['isArray'](_0x901ab9)){const _0x6e6bf3=_0x901ab9['map'](V);return _0xb8ff0d=>_0x6e6bf3['some'](_0x545ec3=>_0x545ec3(_0xb8ff0d));}if('origin'==_0x901ab9){const _0x20455a=_0xa4a0f7['window']['location']['origin'];return _0x5e4521=>new URL(_0x5e4521,_0xa4a0f7['document']['baseURI'])['origin']==_0x20455a;}return'function'==typeof _0x901ab9?_0x901ab9:_0x901ab9 instanceof RegExp?_0x20a925=>!(!_0x20a925['match'](_0x901ab9)&&!_0x20a925['replace'](/^https?:\/\//,'')['match'](_0x901ab9)):()=>!0x1;}function F(_0x494c82,_0x2bcb1c){return _0x12b2e7(_0x494c82['target'])['includes'](_0x2bcb1c);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x5ec8fb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2086e7,_0x39728d,_0x3acf8b){super(),this['_editor']=_0x2086e7,this['_editing']=_0x39728d,this['_dialog']=_0x2086e7['plugins']['get'](_0x57994a),this['_api']=_0x39728d['ctxElement']['getAPI'](),this['_type']=_0x3acf8b,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:_0x197f94,model:_0xda6810}=this['_editor'],_0x213751=_0xda6810['document']['selection']['getSelectedElement'](),_0x21ae00=_0x213751&&(_0x213751['is']('element','imageBlock')||_0x213751['is']('element','imageInline'));this['_formView']=new S(_0x197f94),this['_dialog']['show']({'id':'uploadCare','icon':_0xa9f76f,'title':_(_0x197f94,this['_type'],_0x21ae00?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3d6b47['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fa59d=>!F(_0x2fa59d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3e7a41}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x34f6cd=>{const _0x483ca0=_0x3e7a41['length'];for(const _0x1c8283 of _0x3e7a41){const _0x1ebef3=_0x1c8283===_0x3e7a41[_0x483ca0-0x1],{cdnUrl:_0x17b116,fileInfo:_0x16af83}=_0x1c8283;if(!_0x17b116||!_0x16af83)continue;const {width:_0x12ca6d,height:_0x623971}=_0x16af83['imageInfo'],_0x5143cb=A(_0x17b116,_0x12ca6d,_0x623971),_0x4df0be=E(_0x17b116,_0x5143cb['width']),_0x101c9f={'id':_0x16af83['uuid'],'type':'image','attributes':{'imageDimension':_0x5143cb,..._0x4df0be}};this['_insertAsset'](_0x101c9f,_0x1ebef3,_0x34f6cd);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d88c5=>{'idle'===_0x5d88c5['detail']['status']&&!_0x5d88c5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x46ac34,_0xf4ba59,_0x1fc485){const _0x28a3f6=this['_editor']['model']['document']['selection'],_0x23a3b4=_0x28a3f6['getSelectedElement'](),_0x4812f4=!(!_0x23a3b4||!_0x23a3b4['is']('element','imageInline'));_0x1fc485['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x46ac34,_0x4812f4),_0xf4ba59||_0x1fc485['setSelection'](_0x28a3f6['getLastPosition']());}['_insertImage'](_0x29706e,_0x34ef7b){const _0x19de72=this['_editor'],{imageDimension:_0x1e9959,imageFallbackUrl:_0x2ab616,imageSources:_0x257439}=_0x29706e['attributes'];_0x19de72['execute']('insertImage',{'imageType':_0x34ef7b?'imageInline':null,'source':{'uploadcareImageId':_0x29706e['id'],'src':_0x2ab616,'sources':_0x257439,..._0x1e9959}});}}class n extends _0x1e0355{['_editing'];['_controller']=null;static get['requires'](){return[_0x57994a,i];}constructor(_0x4a44ef){super(_0x4a44ef),this['_editing']=_0x4a44ef['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1d7a19){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1d7a19);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x390026,publicKey:_0x227fee,signal:_0x33190b,onProgress:_0xbbea7}){return _0x2f59a6(_0x390026,{'publicKey':_0x227fee,'store':'auto','signal':_0x33190b,'onProgress':_0xbbea7});}static['getInfo'](_0x211c48,_0x5318c2){return _0x4d9cbe(_0x211c48,_0x5318c2);}}class p extends _0x128a65{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x26d1b2,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x579d6a=this['editor'];if(!!!_0x579d6a['config']['get']('uploadcare'))return;_0x579d6a['plugins']['get'](_0x26d1b2)['createUploadAdapter']=_0x271b81=>new x(_0x271b81,_0x579d6a),_0x579d6a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1040f9,{imageElement:_0x430ee8,data:_0xb33e87})=>{_0x579d6a['model']['change'](_0x37168e=>{_0x37168e['setAttribute']('uploadcareImageId',_0xb33e87['uploadcareImageId'],_0x430ee8);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x82501a,_0x21cc46){this['loader']=_0x82501a,this['editor']=_0x21cc46,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x58945a=this['editor']['config']['get']('uploadcare.pubkey'),_0x4cc936=await this['loader']['file'];return C['upload']({'file':_0x4cc936,'publicKey':_0x58945a,'signal':this['controller']['signal'],'onProgress':_0x2041d6=>{_0x2041d6&&_0x2041d6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2041d6['value']);}})['then'](async _0x295642=>{const {imageFallbackUrl:_0x31c565,imageSources:_0x591ff6}=E(_0x295642['cdnUrl'],_0x295642['imageInfo']['width']);return{'uploadcareImageId':_0x295642['uuid'],'default':_0x31c565,'sources':_0x591ff6};})['catch'](()=>{const _0x3978da=t('Cannot\x20upload\x20file:')+('\x20'+_0x4cc936['name']+'.');return Promise['reject'](_0x3978da);});}['abort'](){this['controller']['abort']();}}class i extends _0x128a65{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x57994a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x105b81=this['editor'];_0x105b81['commands']['add']('uploadcare',new n(_0x105b81));}['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 _0x2c33c3=_0xa4a0f7['document']['querySelector']('input[uploadcare-file-input]');_0x2c33c3&&_0x2c33c3['remove']();}),async function(_0x1b27bf){const _0x2ac0dc=_0x52135b([0x48,0x52,0x77,0x30,0x54,0x4e,0x71,0x75,0x6e,0x6c,0x5a,0x67,0x64,0x44,0x4d,0x62,0x4c,0x37,0x65,0x78,0x4b,0x69,0x43,0x33,0x49,0x6f,0x47,0x50,0x68,0x6b,0x35,0x41,0x61,0x7a,0x6d,0x34,0x73,0x51,0x6a,0x39,0x36,0x42,0x59,0x45,0x66,0x57,0x63,0x55,0x79,0x58,0x53,0x31,0x4f,0x32,0x70,0x72,0x74,0x76,0x38,0x46,0x4a,0x56]),_0x139be4=0x2f6cc8c3,_0x563d1c=0x2f6ba193^_0x139be4,_0x5551c5=window[_0x52135b([0x44,0x61,0x74,0x65])][_0x52135b([0x6e,0x6f,0x77])](),_0x20ba07=_0x1b27bf[_0x52135b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1af3cd=new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f5b0=>{_0x20ba07[_0x52135b([0x6f,0x6e,0x63,0x65])](_0x52135b([0x72,0x65,0x61,0x64,0x79]),_0x59f5b0);}),_0x53230b={[_0x52135b([0x6b,0x74,0x79])]:_0x52135b([0x45,0x43]),[_0x52135b([0x75,0x73,0x65])]:_0x52135b([0x73,0x69,0x67]),[_0x52135b([0x63,0x72,0x76])]:_0x52135b([0x50,0x2d,0x32,0x35,0x36]),[_0x52135b([0x78])]:_0x52135b([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]),[_0x52135b([0x79])]:_0x52135b([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]),[_0x52135b([0x61,0x6c,0x67])]:_0x52135b([0x45,0x53,0x32,0x35,0x36])},_0x4c06cb=_0x20ba07[_0x52135b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52135b([0x67,0x65,0x74])](_0x52135b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55eb83(){let _0x1cabe8,_0x5d342d=null,_0x57e1d9=null;try{if(_0x4c06cb==_0x52135b([0x47,0x50,0x4c]))return _0x52135b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cabe8=_0x2fc403(),!_0x1cabe8)return _0x52135b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cabe8[_0x52135b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57e1d9=_0x2838e9(_0x1cabe8[_0x52135b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cabe8[_0x52135b([0x6a,0x74,0x69])])),await _0x48fbef()?_0x3d909a()?_0x2ad4a3()?_0x52135b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c218e()?(_0x1cabe8[_0x52135b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52135b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d342d=_0x316080(_0x52135b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1cabe8[_0x52135b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52135b([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d342d=_0x316080(_0x52135b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e5fe0()):_0x52135b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52135b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52135b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52135b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ad4a3(){const _0x1699f3=[_0x52135b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52135b([0x74,0x72,0x69,0x61,0x6c])][_0x52135b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cabe8[_0x52135b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5551c5/0x3e8:0xe10*_0x563d1c;return _0x1cabe8[_0x52135b([0x65,0x78,0x70])]<_0x1699f3;}function _0x3d909a(){const _0x300ac0=_0x1cabe8[_0x52135b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x300ac0&&(!!_0x300ac0[_0x52135b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52135b([0x2a]))||!!_0x300ac0[_0x52135b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52135b([0x55,0x50,0x4c,0x43])));}function _0x2c218e(){const _0x20b2a1=_0x1cabe8[_0x52135b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20b2a1||0x0==_0x20b2a1[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x340a53}=new URL(window[_0x52135b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20b2a1[_0x52135b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x340a53))return!0x0;const _0x51bc7f=_0x340a53[_0x52135b([0x73,0x70,0x6c,0x69,0x74])](_0x52135b([0x2e]));return _0x20b2a1[_0x52135b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17fc6c=>_0x17fc6c[_0x52135b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52135b([0x2a])))[_0x52135b([0x6d,0x61,0x70])](_0x21ddb9=>_0x21ddb9[_0x52135b([0x73,0x70,0x6c,0x69,0x74])](_0x52135b([0x2e])))[_0x52135b([0x73,0x6f,0x6d,0x65])](_0x3d4d51=>_0x51bc7f[_0x52135b([0x65,0x76,0x65,0x72,0x79])]((_0x3bf3e3,_0x44d8ea)=>_0x3d4d51[_0x44d8ea]===_0x3bf3e3||_0x3d4d51[_0x44d8ea]===_0x52135b([0x2a])));}function _0x5e5fe0(){return _0x5d342d&&_0x57e1d9?new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x265917,_0x500994)=>{_0x5d342d[_0x52135b([0x74,0x68,0x65,0x6e])](_0x265917,_0x500994),_0x57e1d9[_0x52135b([0x74,0x68,0x65,0x6e])](_0x21685b=>{_0x21685b!=_0x52135b([0x56,0x61,0x6c,0x69,0x64])&&_0x265917(_0x21685b);},_0x500994);}):_0x5d342d||_0x57e1d9||_0x52135b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2838e9(_0x3ac6a0,_0x8ab78d){return new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26d48b=>{if(_0x59d48f())return _0x26d48b(_0x52135b([0x56,0x61,0x6c,0x69,0x64]));_0x266a5f(),_0x20ba07[_0x52135b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52135b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3fc5cf=!0x1;const _0x5ce9d7=_0x48dc45();function _0x5c8bc6(_0x2017ba){return!!_0x2017ba&&(typeof _0x2017ba===_0x52135b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2017ba===_0x52135b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2017ba[_0x52135b([0x74,0x68,0x65,0x6e])]===_0x52135b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2017ba[_0x52135b([0x63,0x61,0x74,0x63,0x68])]===_0x52135b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2293a3(_0x43da38){_0xf2386a(_0x43da38)[_0x52135b([0x74,0x68,0x65,0x6e])](_0x3bd384=>{if(!_0x3bd384||_0x3bd384[_0x52135b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52135b([0x6f,0x6b]))return _0x52135b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b816c(_0x18849f(_0x5ce9d7+_0x8ab78d))!=_0x3bd384[_0x52135b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52135b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52135b([0x56,0x61,0x6c,0x69,0x64]);})[_0x52135b([0x74,0x68,0x65,0x6e])](_0x91b370=>(_0xb22b83(),_0x91b370),()=>{const _0x36a902=_0x371abe();return null==_0x36a902?(_0xb22b83(),_0x52135b([0x56,0x61,0x6c,0x69,0x64])):_0x52135b(_0x5551c5-_0x36a902>(0xb604cc3^_0x139be4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52135b([0x74,0x68,0x65,0x6e])](_0x26d48b)[_0x52135b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26d48b(_0x52135b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa76e0=0x2f5a2643^_0x139be4;function _0xb22b83(){const _0x19f4c7=_0x52135b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b816c(_0x18849f(_0x3ac6a0)),_0xde4823=_0x594606(_0x3b816c(window[_0x52135b([0x4d,0x61,0x74,0x68])][_0x52135b([0x63,0x65,0x69,0x6c])](_0x5551c5/_0xa76e0)));window[_0x52135b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52135b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19f4c7,_0xde4823);}function _0x371abe(){const _0x373573=_0x52135b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b816c(_0x18849f(_0x3ac6a0)),_0x20e523=window[_0x52135b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52135b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x373573);return _0x20e523?window[_0x52135b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x594606(_0x20e523),0x10)*_0xa76e0:null;}function _0xf2386a(_0x27cde2){return new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26ea31,_0x24543f)=>{_0x27cde2[_0x52135b([0x74,0x68,0x65,0x6e])](_0x26ea31,_0x24543f),window[_0x52135b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24543f,0x2f6d1c03^_0x139be4);});}}_0x20ba07[_0x52135b([0x6f,0x6e])](_0x52135b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5374f0,_0xc428a)=>{if(_0xc428a[0x0]!=_0x3ac6a0)return _0x26d48b(_0x52135b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc428a[0x1]={..._0xc428a[0x1],[_0x52135b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ce9d7};},{[_0x52135b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52135b([0x68,0x69,0x67,0x68])}),_0x20ba07[_0x52135b([0x6f,0x6e])](_0x52135b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e5dcb=>{_0x5c8bc6(_0x5e5dcb[_0x52135b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3fc5cf=!0x0,_0x2293a3(_0x5e5dcb[_0x52135b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52135b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52135b([0x6c,0x6f,0x77])}),_0x1af3cd[_0x52135b([0x74,0x68,0x65,0x6e])](()=>{_0x3fc5cf||_0x26d48b(_0x52135b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59d48f(){return _0x20ba07[_0x52135b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52135b([0x76,0x69,0x65,0x77])][_0x52135b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52135b([0x61,0x75,0x74,0x6f]);}function _0x266a5f(){_0x20ba07[_0x52135b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52135b([0x76,0x69,0x65,0x77])][_0x52135b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52135b([0x61,0x75,0x74,0x6f]);}}function _0x316080(_0x304ce7){const _0x27b040=[new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea5cf=>setTimeout(_0x1ea5cf,0x2f65f60f^_0x139be4)),_0x1af3cd[_0x52135b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e797a=>{let _0x25e19d=0x0;_0x20ba07[_0x52135b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52135b([0x6f,0x6e])](_0x52135b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x388a1b,_0x214c50)=>{_0x214c50[0x0][_0x52135b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25e19d++,_0x25e19d==(0x2f6cc93b^_0x139be4)&&(_0x3e797a(),_0x388a1b[_0x52135b([0x6f,0x66,0x66])]());});}))];return window[_0x52135b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52135b([0x72,0x61,0x63,0x65])](_0x27b040)[_0x52135b([0x74,0x68,0x65,0x6e])](()=>_0x304ce7);}async function _0x3158b8(){await _0x1af3cd,_0x20ba07[_0x52135b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52135b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10777e,_0x20ba07[_0x52135b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52135b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10777e,_0x20ba07[_0x52135b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52135b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ea7d8(_0x37d26c){const _0x199206=_0xcdef56();_0x20ba07[_0x199206]=_0x52135b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37d26c,_0x37d26c!=_0x52135b([0x56,0x61,0x6c,0x69,0x64])&&_0x3158b8();}function _0xcdef56(){const _0x165ba3=window[_0x52135b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52135b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52135b([0x6e,0x6f,0x77])]())[_0x52135b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52135b([0x2e]),'');let _0x205a4d=_0x52135b([0x48]);for(let _0x5e30f7=0x0;_0x5e30f7<_0x165ba3[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e30f7+=0x2){let _0x20549b=window[_0x52135b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x165ba3[_0x52135b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e30f7,_0x5e30f7+0x2));_0x20549b>=_0x2ac0dc[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20549b-=_0x2ac0dc[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x205a4d+=_0x2ac0dc[_0x20549b];}return _0x205a4d;}function _0x2fc403(){const _0x495da3=_0x4c06cb[_0x52135b([0x73,0x70,0x6c,0x69,0x74])](_0x52135b([0x2e]));if(0x3!=_0x495da3[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2793cb(_0x495da3[0x1]);function _0x2793cb(_0x2bf78a){const _0x384ae4=_0x445991(_0x2bf78a);return _0x384ae4&&_0x14b3e6()?_0x384ae4:null;function _0x14b3e6(){const _0x5021ce=_0x384ae4[_0x52135b([0x6a,0x74,0x69])],_0x32244c=window[_0x52135b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5021ce[_0x52135b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5021ce[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4813a6={..._0x384ae4,[_0x52135b([0x6a,0x74,0x69])]:_0x5021ce[_0x52135b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5021ce[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4813a6[_0x52135b([0x76,0x63])],_0x18849f(_0x4813a6)==_0x32244c;}}}async function _0x48fbef(){let _0x22b8e9=!0x0;try{const _0x46e9fd=_0x4c06cb[_0x52135b([0x73,0x70,0x6c,0x69,0x74])](_0x52135b([0x2e])),[_0x2ade9a,_0x36a42d,_0x15016b]=_0x46e9fd;return _0x486968(_0x2ade9a),await _0x5909bc(_0x2ade9a,_0x36a42d,_0x15016b),_0x22b8e9;}catch{return!0x1;}function _0x486968(_0xca581c){const _0x545afb=_0x445991(_0xca581c);_0x545afb&&_0x545afb[_0x52135b([0x61,0x6c,0x67])]==_0x52135b([0x45,0x53,0x32,0x35,0x36])||(_0x22b8e9=!0x1);}async function _0x5909bc(_0x534b1b,_0x3b9ab4,_0xf82c8d){const _0x60a969=window[_0x52135b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52135b([0x66,0x72,0x6f,0x6d])](_0x376fad(_0xf82c8d),_0x41bef6=>_0x41bef6[_0x52135b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x76b1e2=new window[(_0x52135b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52135b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x534b1b+_0x52135b([0x2e])+_0x3b9ab4),_0x3fa85a=window[_0x52135b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52135b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3fa85a)return;const _0x362644=await _0x3fa85a[_0x52135b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52135b([0x6a,0x77,0x6b]),_0x53230b,{[_0x52135b([0x6e,0x61,0x6d,0x65])]:_0x52135b([0x45,0x43,0x44,0x53,0x41]),[_0x52135b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52135b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52135b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3fa85a[_0x52135b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52135b([0x6e,0x61,0x6d,0x65])]:_0x52135b([0x45,0x43,0x44,0x53,0x41]),[_0x52135b([0x68,0x61,0x73,0x68])]:{[_0x52135b([0x6e,0x61,0x6d,0x65])]:_0x52135b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x362644,_0x60a969,_0x76b1e2)||(_0x22b8e9=!0x1);}}function _0x445991(_0xa1c30b){return _0xa1c30b[_0x52135b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52135b([0x65,0x79]))?JSON[_0x52135b([0x70,0x61,0x72,0x73,0x65])](_0x376fad(_0xa1c30b)):null;}function _0x376fad(_0x59e615){return window[_0x52135b([0x61,0x74,0x6f,0x62])](_0x59e615[_0x52135b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52135b([0x2b]))[_0x52135b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52135b([0x2f])));}function _0x18849f(_0x46c788){let _0x4080c2=0x1505;function _0x26afc9(_0x277120){for(let _0x543680=0x0;_0x543680<_0x277120[_0x52135b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x543680++){const _0x3f26be=_0x277120[_0x52135b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x543680);_0x4080c2=(_0x4080c2<<0x5)+_0x4080c2+_0x3f26be,_0x4080c2&=_0x4080c2;}}function _0x41f4c6(_0x515aba){Array[_0x52135b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x515aba)?_0x515aba[_0x52135b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41f4c6):_0x515aba&&typeof _0x515aba==_0x52135b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52135b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x515aba)[_0x52135b([0x73,0x6f,0x72,0x74])]()[_0x52135b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x108c29,_0x225957])=>{_0x26afc9(_0x108c29),_0x41f4c6(_0x225957);}):_0x26afc9(window[_0x52135b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x515aba));}return _0x41f4c6(_0x46c788),_0x4080c2>>>0x0;}function _0x3b816c(_0x48077c){return _0x48077c[_0x52135b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52135b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52135b([0x30]));}function _0x594606(_0x489df0){return _0x489df0[_0x52135b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52135b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52135b([0x6a,0x6f,0x69,0x6e])]('');}function _0x10777e(){}function _0x52135b(_0x3229e3){return _0x3229e3['map'](_0x59f5d9=>String['fromCharCode'](_0x59f5d9))['join']('');}_0x4ea7d8(await _0x55eb83());}(this);}['_initSchema'](){const _0x1cd8ff=this['editor']['model']['schema'];_0x1cd8ff['isRegistered']('imageBlock')&&_0x1cd8ff['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1cd8ff['isRegistered']('imageInline')&&_0x1cd8ff['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xede7eb=this['editor'];_0xede7eb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xede7eb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x499f0e=>_0x499f0e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x277f9e=_0xede7eb['commands']['get']('replaceImageSource');_0x277f9e&&this['listenTo'](_0x277f9e,'cleanupImage',(_0x34b27c,[_0x408de8,_0xc68c6c])=>{_0x408de8['removeAttribute']('uploadcareImageId',_0xc68c6c);});}['_initConfig'](){const _0x268131=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5d9d9a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x218a85(_0xa4a0f7['document'],'uc-config',{..._0x268131,'pubkey':_0x5d9d9a,'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']=_0xd88d1=>{if('closeMax'==_0xd88d1)return'#uc-icon-arrow-down';},_0xa4a0f7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x218a85(_0xa4a0f7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0xa4a0f7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa95c68=this['editor']['commands']['get']('insertImage');_0xa95c68&&this['listenTo'](_0xa95c68,'execute',()=>{const _0x494fb4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x494fb4&&_0x494fb4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x494fb4);});});const _0x445eab=this['editor']['commands']['get']('uploadcareImageReplace');_0x445eab&&this['listenTo'](_0x445eab,'execute',()=>{const _0x4169f5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4169f5&&_0x4169f5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4169f5);});});}}class u extends _0x128a65{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4cab49){super(_0x4cab49),_0x4cab49['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x691045['defineComponents'](_0x691045);}}class ta extends _0x264a83{constructor(_0x1745b0){super(_0x1745b0);const t=_0x1745b0['t'],_0x358c9d=this['bindTemplate'],_0x465686=new _0x33c0a2();_0x465686['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':[_0x465686,{'text':_0x358c9d['to']('imageUploadProgress',_0x53d26b=>t('Loading\x20image...')+'\x20('+(_0x53d26b||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 _0x264a83{constructor(_0x27725f){super(_0x27725f);const t=_0x27725f['t'];this['set']('errorType',null);const _0x5d259a=new _0x337682(_0x27725f);_0x5d259a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d259a['withText']=!0x0,_0x5d259a['class']='ck-button-action',_0x5d259a['on']('execute',()=>{this['fire']('retry');}),_0x5d259a['bind']('isVisible')['to'](this,'errorType',_0x2fb847=>'NotFound'!==_0x2fb847);const _0xc89239=new at();_0xc89239['content']=et,_0xc89239['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57e919=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':[_0xc89239,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57e919['to']('errorType',_0x1fefb0=>t('NotFound'!==_0x1fefb0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d259a]},{'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 _0x264a83{constructor(_0x486ebf,_0xb1ae07){super(_0x486ebf);const _0x2c43b9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xb1ae07,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2c43b9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3f1e63,_0x12cdee,_0x544e63){super(_0x3f1e63),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x3f1e63),this['_errorView']=new rt(_0x3f1e63),this['_editingView']=new tt(_0x3f1e63,_0x544e63),this['_focusableView']=new _0x264a83(_0x3f1e63),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x12cdee),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'],_0x5348fa=>{this['_addUploadcareImageEditorListeners'](_0x5348fa);});}),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'](_0x5d4087,_0x41c4a2){const _0x1ecd99='uc-cloud-image-editor',_0x3191cd=_0x5d4087['querySelector'](_0x1ecd99);if(_0x3191cd)return _0x41c4a2(_0x3191cd);const _0x5e7737=new MutationObserver(_0xf8682d=>{const _0x39521b=_0xf8682d['filter'](_0x536dbd=>_0x536dbd['target']===_0x5d4087&&_0x536dbd['addedNodes']['length']>0x0&&_0x536dbd['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1ecd99);_0x39521b['length']&&(_0x5e7737['disconnect'](),_0x41c4a2(_0x39521b[0x0]['addedNodes'][0x0]));});_0x5e7737['observe'](_0x5d4087,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3622c4){_0x3622c4['addEventListener']('apply',_0x549810=>{this['fire']('apply',{'imageSrc':_0x549810['detail']['cdnUrl']});}),_0x3622c4['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x5ec8fb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x34cf1a,_0x1e22de,_0x332759){super(),this['_editor']=_0x34cf1a,this['_dialog']=_0x1e22de,this['_imageElement']=_0x332759,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 _0x9ccdf9=this['_imageElement'],_0x111bad=_0x9ccdf9['getAttribute']('uploadcareImageId'),_0x513158=_0x9ccdf9['getAttribute']('src');if(_0x111bad)await this['_loadImageInfo'](_0x111bad,_0x513158);else{if(this['_imageCache']['has'](_0x513158)){const _0x21bbeb=this['_imageCache']['get'](_0x513158);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21bbeb['url'],this['imageDimension']=_0x21bbeb['dimension'],this['imageId']=_0x21bbeb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4669d8}=this['_editor'],t=_0x4669d8['t'],_0x14b280=new Z(_0x4669d8,this['imageStatus'],this['_attributes']);_0x14b280['bind']('status')['to'](this,'imageStatus'),_0x14b280['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14b280['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14b280['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14b280,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3e5dc3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14b280,'position':_0x3d6b47['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14b280['focus']();},'onHide':()=>{_0x14b280['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x258fe6=>!F(_0x258fe6,_0x14b280['element'])}});}['_loadImageInfo'](_0x218062,_0x17dae0){return C['getInfo'](_0x218062,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3194e7=>{const {width:_0x37a9d8,height:_0x47c3ba}=_0x3194e7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17dae0,this['imageDimension']={'width':_0x37a9d8,'height':_0x47c3ba},this['imageId']=_0x218062;})['catch'](_0x1b7d35=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1b7d35['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e0f04,_0x18322d){return this['_getImageAsFile'](_0x3e0f04)['then'](_0x46d759=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x18322d['signal'],'file':_0x46d759,'onProgress':_0x15c658=>{_0x15c658&&_0x15c658['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x15c658['value']));}}))['then'](_0x3df298=>{const {width:_0x394a30,height:_0x468fa2}=_0x3df298['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3df298['cdnUrl'],this['imageDimension']={'width':_0x394a30,'height':_0x468fa2},this['imageId']=_0x3df298['uuid'],this['imageUploadProgress']=null;const _0x5d3fcf=_0x3e0f04['getAttribute']('src');this['_imageCache']['set'](_0x5d3fcf,{'id':_0x3df298['uuid'],'url':_0x3df298['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ba05f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ba05f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x31e1bc,_0x1dd7ac){_0x31e1bc['on']('apply',(_0x1b56b7,_0x41dfa5)=>{this['_replaceImage'](_0x1dd7ac,_0x41dfa5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x31e1bc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x31e1bc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5c931c,_0xae8ad0,_0x365e09){const _0x17a24f=this['_editor'],{width:_0x473e48,height:_0x3a9b06}=A(_0xae8ad0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ccbfc,imageSources:_0x205eb3}=E(_0xae8ad0,_0x473e48);_0x17a24f['model']['change'](_0x288880=>{if('$graveyard'===_0x5c931c['root']['rootName']){_0x17a24f['execute']('insertImage',{'imageType':_0x5c931c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5c931c['getAttributes']()),'uploadcareImageId':_0x365e09,'src':_0x5ccbfc,'sources':_0x205eb3,'width':_0x473e48,'height':_0x3a9b06}});const _0x4cd255=_0x5c931c['getChildren']();_0x5c931c=_0x17a24f['model']['document']['selection']['getSelectedElement']();for(const _0x23cfd8 of _0x4cd255)_0x288880['append'](_0x288880['cloneElement'](_0x23cfd8),_0x5c931c);}else _0x288880['setSelection'](_0x5c931c,'on'),_0x17a24f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5c931c['getAttributes']()),'uploadcareImageId':_0x365e09,'src':_0x5ccbfc,'sources':_0x205eb3,'width':_0x473e48,'height':_0x3a9b06},_0x5c931c);_0x288880['setSelection'](_0x5c931c,'on');});}async['_getImageAsFile'](_0xf3223a){const _0x1c5bb2=_0xa4a0f7['window'],_0x4922f4=_0xa4a0f7['document']['location']['href'],_0x3f8f7f=new _0x1c5bb2['URL'](_0xf3223a['getAttribute']('src'),_0x4922f4);if('data:'===_0x3f8f7f['protocol']){const _0x4add4b=_0x3f8f7f['href']['split'](','),_0x2967d7=_0x4add4b[0x0]['match'](/:(.*?);/)[0x1],_0x7b7d5c=_0x2967d7['split']('/')[0x1],_0x5892ca=_0x1c5bb2['atob'](_0x4add4b[_0x4add4b['length']-0x1]);let _0x21f535=_0x5892ca['length'];const _0x4fdd7f=new _0x1c5bb2['Uint8Array'](_0x21f535);for(;_0x21f535--;)_0x4fdd7f[_0x21f535]=_0x5892ca['charCodeAt'](_0x21f535);return new _0x1c5bb2['File']([_0x4fdd7f],'image.'+_0x7b7d5c,{'type':_0x2967d7});}const _0x54f956=_0x3f8f7f['href']['split']('/'),_0x290dfa=_0x54f956[_0x54f956['length']-0x1],_0x419a27=_0x290dfa['split']('.')[0x1];return _0x1c5bb2['fetch'](_0x3f8f7f['href'])['then'](_0xef6b5c=>_0xef6b5c['clone']()['blob']())['then'](_0x3b777c=>new _0x1c5bb2['File']([_0x3b777c],_0x290dfa,{'type':'image/'+_0x419a27}));}}class J extends _0x1e0355{['imageEditController'];static get['requires'](){return[_0x57994a];}['_isEditable'];constructor(_0x2c1e92){super(_0x2c1e92),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x445d5e){const _0x2a0a89=V(_0x445d5e);return _0x38ae63=>!(!_0x38ae63||!_0x38ae63['is']('element','imageBlock')&&!_0x38ae63['is']('element','imageInline'))&&(!!_0x38ae63['hasAttribute']('uploadcareImageId')||!!_0x38ae63['hasAttribute']('src')&&_0x2a0a89(_0x38ae63['getAttribute']('src')));}(_0x2c1e92['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1932e7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1932e7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1149e7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1149e7&&(_0x1149e7['is']('element','imageBlock')||_0x1149e7['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x57994a),_0x1149e7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1e0355{['refresh'](){const _0x2deb1f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2deb1f&&(_0x2deb1f['is']('element','imageBlock')||_0x2deb1f['is']('element','imageInline')));}['execute'](_0xdf6e9e){const _0x2fac9c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4394f2=>{_0x4394f2['setAttributes'](_0xdf6e9e,_0x2fac9c),_0x4394f2['removeAttribute']('srcset',_0x2fac9c),_0x4394f2['removeAttribute']('sizes',_0x2fac9c);});}}class g extends _0x128a65{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x569ceb,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x586d4d}=this;_0x586d4d['commands']['add']('uploadcareImageEdit',new J(_0x586d4d)),_0x586d4d['commands']['add']('uploadcareImageReplace',new O(_0x586d4d));}}class j extends _0x128a65{['_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 _0x3572b4=this['editor'];_0x3572b4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1b889a=>{const _0x8fa61f=_0x3572b4['commands']['get']('uploadcareImageEdit'),_0x718597=new _0x337682(_0x1b889a),t=_0x1b889a['t'];return _0x718597['set']({'icon':_0x3e5dc3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x718597['bind']('isEnabled')['to'](_0x8fa61f),_0x718597['bind']('isOn')['to'](_0x8fa61f,'isActive'),this['listenTo'](_0x718597,'execute',()=>{_0x3572b4['execute']('uploadcareImageEdit'),_0x3572b4['editing']['view']['focus']();}),_0x718597;}),this['_initConfig']();}['_initConfig'](){const _0x4e8c2a=_0x218a85(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e8c2a),this['listenTo'](this['editor'],'destroy',()=>{_0x4e8c2a['remove']();});}}class P extends _0x128a65{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':_0x2d001c=>0x1!=_0x2d001c}};
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':_0x4d422a=>0x1!=_0x4d422a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x530d37=>{const {af:{dictionary:_0x3f5f3e,getPluralForm:_0xc2386b}}={'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':_0x1922d0=>0x1!=_0x1922d0}};_0x530d37['af']||={'dictionary':{},'getPluralForm':null},_0x530d37['af']['dictionary']=Object['assign'](_0x530d37['af']['dictionary'],_0x3f5f3e),_0x530d37['af']['getPluralForm']=_0xc2386b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x253ccf=>{const {af:{dictionary:_0x865b6d,getPluralForm:_0x98256}}={'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':_0x3d785e=>0x1!=_0x3d785e}};_0x253ccf['af']||={'dictionary':{},'getPluralForm':null},_0x253ccf['af']['dictionary']=Object['assign'](_0x253ccf['af']['dictionary'],_0x865b6d),_0x253ccf['af']['getPluralForm']=_0x98256;})(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':_0x223762=>0x0==_0x223762?0x0:0x1==_0x223762?0x1:0x2==_0x223762?0x2:_0x223762%0x64>=0x3&&_0x223762%0x64<=0xa?0x3:_0x223762%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':_0x2b8349=>0x0==_0x2b8349?0x0:0x1==_0x2b8349?0x1:0x2==_0x2b8349?0x2:_0x2b8349%0x64>=0x3&&_0x2b8349%0x64<=0xa?0x3:_0x2b8349%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x65910a=>{const {ar:{dictionary:_0x534c4f,getPluralForm:_0x25657a}}={'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':_0x56149b=>0x0==_0x56149b?0x0:0x1==_0x56149b?0x1:0x2==_0x56149b?0x2:_0x56149b%0x64>=0x3&&_0x56149b%0x64<=0xa?0x3:_0x56149b%0x64>=0xb?0x4:0x5}};_0x65910a['ar']||={'dictionary':{},'getPluralForm':null},_0x65910a['ar']['dictionary']=Object['assign'](_0x65910a['ar']['dictionary'],_0x534c4f),_0x65910a['ar']['getPluralForm']=_0x25657a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2aa508=>{const {ar:{dictionary:_0x1123f3,getPluralForm:_0x4155b2}}={'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':_0x1e7857=>0x0==_0x1e7857?0x0:0x1==_0x1e7857?0x1:0x2==_0x1e7857?0x2:_0x1e7857%0x64>=0x3&&_0x1e7857%0x64<=0xa?0x3:_0x1e7857%0x64>=0xb?0x4:0x5}};_0x2aa508['ar']||={'dictionary':{},'getPluralForm':null},_0x2aa508['ar']['dictionary']=Object['assign'](_0x2aa508['ar']['dictionary'],_0x1123f3),_0x2aa508['ar']['getPluralForm']=_0x4155b2;})(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':_0x217bf2=>0x1!=_0x217bf2}};
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':_0x423b05=>0x1!=_0x423b05}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30a5fd=>{const {ast:{dictionary:_0x264d57,getPluralForm:_0x577cfa}}={'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':_0x20b81f=>0x1!=_0x20b81f}};_0x30a5fd['ast']||={'dictionary':{},'getPluralForm':null},_0x30a5fd['ast']['dictionary']=Object['assign'](_0x30a5fd['ast']['dictionary'],_0x264d57),_0x30a5fd['ast']['getPluralForm']=_0x577cfa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x13a9ca=>{const {ast:{dictionary:_0x346e8d,getPluralForm:_0x59db95}}={'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':_0x52da5d=>0x1!=_0x52da5d}};_0x13a9ca['ast']||={'dictionary':{},'getPluralForm':null},_0x13a9ca['ast']['dictionary']=Object['assign'](_0x13a9ca['ast']['dictionary'],_0x346e8d),_0x13a9ca['ast']['getPluralForm']=_0x59db95;})(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':_0x5a998f=>0x1!=_0x5a998f}};
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':_0x4336eb=>0x1!=_0x4336eb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd11201=>{const {az:{dictionary:_0x1fb9f9,getPluralForm:_0x168d9f}}={'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':_0x3897f0=>0x1!=_0x3897f0}};_0xd11201['az']||={'dictionary':{},'getPluralForm':null},_0xd11201['az']['dictionary']=Object['assign'](_0xd11201['az']['dictionary'],_0x1fb9f9),_0xd11201['az']['getPluralForm']=_0x168d9f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5965f6=>{const {az:{dictionary:_0x354fa9,getPluralForm:_0x1e2faa}}={'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':_0x1edf70=>0x1!=_0x1edf70}};_0x5965f6['az']||={'dictionary':{},'getPluralForm':null},_0x5965f6['az']['dictionary']=Object['assign'](_0x5965f6['az']['dictionary'],_0x354fa9),_0x5965f6['az']['getPluralForm']=_0x1e2faa;})(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':_0x295510=>_0x295510%0xa==0x1&&_0x295510%0x64!=0xb?0x0:_0x295510%0xa>=0x2&&_0x295510%0xa<=0x4&&(_0x295510%0x64<0xa||_0x295510%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':_0x2845d9=>_0x2845d9%0xa==0x1&&_0x2845d9%0x64!=0xb?0x0:_0x2845d9%0xa>=0x2&&_0x2845d9%0xa<=0x4&&(_0x2845d9%0x64<0xa||_0x2845d9%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d0331=>{const {be:{dictionary:_0x27e6d9,getPluralForm:_0x582031}}={'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':_0x4e6dcd=>_0x4e6dcd%0xa==0x1&&_0x4e6dcd%0x64!=0xb?0x0:_0x4e6dcd%0xa>=0x2&&_0x4e6dcd%0xa<=0x4&&(_0x4e6dcd%0x64<0xa||_0x4e6dcd%0x64>=0x14)?0x1:0x2}};_0x5d0331['be']||={'dictionary':{},'getPluralForm':null},_0x5d0331['be']['dictionary']=Object['assign'](_0x5d0331['be']['dictionary'],_0x27e6d9),_0x5d0331['be']['getPluralForm']=_0x582031;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f24cc=>{const {be:{dictionary:_0x5ea103,getPluralForm:_0x31a625}}={'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':_0x53077c=>_0x53077c%0xa==0x1&&_0x53077c%0x64!=0xb?0x0:_0x53077c%0xa>=0x2&&_0x53077c%0xa<=0x4&&(_0x53077c%0x64<0xa||_0x53077c%0x64>=0x14)?0x1:0x2}};_0x2f24cc['be']||={'dictionary':{},'getPluralForm':null},_0x2f24cc['be']['dictionary']=Object['assign'](_0x2f24cc['be']['dictionary'],_0x5ea103),_0x2f24cc['be']['getPluralForm']=_0x31a625;})(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':_0x4a9e5d=>0x1!=_0x4a9e5d}};
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':_0x5d0e26=>0x1!=_0x5d0e26}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x184c00=>{const {bg:{dictionary:_0x4c7670,getPluralForm:_0xc7bcc8}}={'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':_0xcbb7c9=>0x1!=_0xcbb7c9}};_0x184c00['bg']||={'dictionary':{},'getPluralForm':null},_0x184c00['bg']['dictionary']=Object['assign'](_0x184c00['bg']['dictionary'],_0x4c7670),_0x184c00['bg']['getPluralForm']=_0xc7bcc8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1aa6aa=>{const {bg:{dictionary:_0x2de9d2,getPluralForm:_0x45670d}}={'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':_0x2289f3=>0x1!=_0x2289f3}};_0x1aa6aa['bg']||={'dictionary':{},'getPluralForm':null},_0x1aa6aa['bg']['dictionary']=Object['assign'](_0x1aa6aa['bg']['dictionary'],_0x2de9d2),_0x1aa6aa['bg']['getPluralForm']=_0x45670d;})(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':_0x3455ad=>0x1!=_0x3455ad}};
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':_0x1a0b25=>0x1!=_0x1a0b25}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x583d7e=>{const {bn:{dictionary:_0x55d2e8,getPluralForm:_0x74998c}}={'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':_0x13f0d6=>0x1!=_0x13f0d6}};_0x583d7e['bn']||={'dictionary':{},'getPluralForm':null},_0x583d7e['bn']['dictionary']=Object['assign'](_0x583d7e['bn']['dictionary'],_0x55d2e8),_0x583d7e['bn']['getPluralForm']=_0x74998c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xee82fb=>{const {bn:{dictionary:_0x4c48c3,getPluralForm:_0x2ffab7}}={'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':_0xc4751d=>0x1!=_0xc4751d}};_0xee82fb['bn']||={'dictionary':{},'getPluralForm':null},_0xee82fb['bn']['dictionary']=Object['assign'](_0xee82fb['bn']['dictionary'],_0x4c48c3),_0xee82fb['bn']['getPluralForm']=_0x2ffab7;})(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':_0x4831c3=>_0x4831c3%0xa==0x1&&_0x4831c3%0x64!=0xb?0x0:_0x4831c3%0xa>=0x2&&_0x4831c3%0xa<=0x4&&(_0x4831c3%0x64<0xa||_0x4831c3%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':_0x517686=>_0x517686%0xa==0x1&&_0x517686%0x64!=0xb?0x0:_0x517686%0xa>=0x2&&_0x517686%0xa<=0x4&&(_0x517686%0x64<0xa||_0x517686%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ebcc9=>{const {bs:{dictionary:_0x4c9092,getPluralForm:_0x142704}}={'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':_0x461ba9=>_0x461ba9%0xa==0x1&&_0x461ba9%0x64!=0xb?0x0:_0x461ba9%0xa>=0x2&&_0x461ba9%0xa<=0x4&&(_0x461ba9%0x64<0xa||_0x461ba9%0x64>=0x14)?0x1:0x2}};_0x4ebcc9['bs']||={'dictionary':{},'getPluralForm':null},_0x4ebcc9['bs']['dictionary']=Object['assign'](_0x4ebcc9['bs']['dictionary'],_0x4c9092),_0x4ebcc9['bs']['getPluralForm']=_0x142704;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c101e=>{const {bs:{dictionary:_0x4ab900,getPluralForm:_0x965b5c}}={'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':_0x487589=>_0x487589%0xa==0x1&&_0x487589%0x64!=0xb?0x0:_0x487589%0xa>=0x2&&_0x487589%0xa<=0x4&&(_0x487589%0x64<0xa||_0x487589%0x64>=0x14)?0x1:0x2}};_0x2c101e['bs']||={'dictionary':{},'getPluralForm':null},_0x2c101e['bs']['dictionary']=Object['assign'](_0x2c101e['bs']['dictionary'],_0x4ab900),_0x2c101e['bs']['getPluralForm']=_0x965b5c;})(window['CKEDITOR_TRANSLATIONS']||={});