@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.0 → 45.0.0-alpha.10

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 _0x5beea7,Command as _0x47adfc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2df367,IconGooglePhotos as _0x47ca5a,IconGoogleDrive as _0x5b86ca,IconFacebook as _0x2448b7,IconDropbox as _0x521b11,IconUploadcareLink as _0x99fc0d,IconUploadcareImageUpload as _0x503070,IconError as et,IconUploadcareImageEdit as _0x5638be}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x587ff3,MenuBarMenuListItemButtonView as _0x37e2a2,View as _0x3da787,FocusCycler as _0x4f8099,Dialog as _0x53697a,DialogViewPosition as _0x18e16f,SpinnerView as _0x4ab29d,IconView as at,Notification as _0x437c78}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1055fe,DomEmitterMixin as _0x3e0c46,global as _0x40853a,getAncestors as _0xbbcc4c,ObservableMixin as _0xad4dfe,createElement as _0x2349a4,uid as _0x414f68}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x164ff0}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3faa1b,info as _0x36d8fb}from'@uploadcare/upload-client';import*as _0x4e0d0c from'@uploadcare/file-uploader';var o=function(_0x2aa8da){return _0x2aa8da['Local']='local',_0x2aa8da['URL']='url',_0x2aa8da['Dropbox']='dropbox',_0x2aa8da['GDrive']='gdrive',_0x2aa8da['Facebook']='facebook',_0x2aa8da['GPhotos']='gphotos',_0x2aa8da['OneDrive']='onedrive',_0x2aa8da;}({});function _(_0x2b3152,_0x26826b,_0x27eed1){const t=_0x2b3152['t'],_0x33bb34=_0x2b3152['t'];switch(_0x26826b){case o['Local']:return{'text':_0x33bb34('Insert'===_0x27eed1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x33bb34('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x27eed1?_0x33bb34('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x33bb34('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x27eed1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x27eed1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x27eed1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x27eed1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x27eed1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x26826b;}}class e extends _0x5beea7{['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 _0x15d666=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2eaa72;for(const _0x559b4f in _0x15d666){const _0x5477c5=_0x559b4f,_0x7da567=_0x15d666[_0x5477c5];if('uploadcareLicenseKeyValid'==_0x7da567||'uploadcareLicenseKeyInvalid'==_0x7da567||'uploadcareLicenseKeyExpired'==_0x7da567||'uploadcareLicenseKeyDomainLimit'==_0x7da567||'uploadcareLicenseKeyNotAllowed'==_0x7da567||'uploadcareLicenseKeyEvaluationLimit'==_0x7da567||'uploadcareLicenseKeyTrialLimit'==_0x7da567||'uploadcareLicenseKeyUsageLimit'==_0x7da567){delete _0x15d666[_0x5477c5],_0x2eaa72=_0x7da567,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2eaa72&&_0x15d666['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2eaa72&&_0x15d666['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2eaa72&&_0x15d666['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2eaa72&&_0x15d666['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2eaa72&&_0x15d666['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2eaa72&&_0x15d666['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2eaa72&&_0x15d666['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x31671c}=this,_0x105816=_0x31671c['commands']['get']('uploadcare');if(!_0x105816)return;const _0x31ecec=this['_normalizeConfigSourceList'](_0x31671c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x320710,_0x547b90)=>{const _0x195abf=this['_getIntegrationKey'](_0x547b90['type']);return _0x320710[_0x195abf]||(_0x320710[_0x195abf]=[]),_0x320710[_0x195abf]['push'](_0x547b90),_0x320710;},{});_0x31671c['plugins']['has']('ImageInsertUI')&&_0x31671c['commands']['get']('uploadcare')&&Object['entries'](_0x31ecec)['forEach'](([_0x5a889a,_0x5c0b6b])=>{_0x31671c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5a889a,'observable':()=>_0x105816,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5c0b6b),'formViewCreator':()=>this['_createDropdownButtons'](_0x5c0b6b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5c0b6b),'override':'assetManager'!==_0x5a889a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x28a31e){const {locale:_0x5b4108}=this['editor'];return _0x28a31e['map'](_0x3dffc6=>{const _0x548a3f=_(_0x5b4108,_0x3dffc6,'Insert');switch(_0x3dffc6){case o['Local']:return{'icon':_0x503070,'type':o['Local'],..._0x548a3f};case o['URL']:return{'icon':_0x99fc0d,'type':o['URL'],..._0x548a3f};case o['Dropbox']:return{'icon':_0x521b11,'type':o['Dropbox'],..._0x548a3f};case o['Facebook']:return{'icon':_0x2448b7,'type':o['Facebook'],..._0x548a3f};case o['GDrive']:return{'icon':_0x5b86ca,'type':o['GDrive'],..._0x548a3f};case o['GPhotos']:return{'icon':_0x47ca5a,'type':o['GPhotos'],..._0x548a3f};case o['OneDrive']:return{'icon':_0x2df367,'type':o['OneDrive'],..._0x548a3f};}});}['_getIntegrationKey'](_0x298e91){switch(_0x298e91){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x32177e,_0x40e274){const _0xda45e=this['editor'],_0x495e1a=new _0x32177e(_0xda45e['locale']),_0x24e8e4=_0xda45e['commands']['get']('uploadcare');return _0x495e1a['bind']('isEnabled')['to'](_0x24e8e4),_0x495e1a['on']('execute',()=>{_0x24e8e4['execute'](_0x40e274);}),_0x495e1a;}['_createToolbarButton'](_0xc44717){const {locale:_0x448b50}=this['editor'],_0x55f69f=this['editor']['plugins']['get']('ImageInsertUI'),_0xd483d3=_0xc44717[0x0],_0x1f4dcb=this['_createButton'](_0x587ff3,_0xd483d3['type']);return _0x1f4dcb['icon']=_0xd483d3['icon'],_0x1f4dcb['bind']('label')['to'](_0x55f69f,'isImageSelected',_0x369887=>_(_0x448b50,_0xd483d3['type'],_0x369887?'Replace':'Insert')['text']),_0x1f4dcb['tooltip']=!0x0,_0x1f4dcb;}['_createDropdownButtons'](_0xbc1cfc){const {locale:_0xe5646d}=this['editor'],_0x4cf376=this['editor']['plugins']['get']('ImageInsertUI');return _0xbc1cfc['map'](_0x15d5ac=>{const _0x6ab462=this['_createButton'](_0x587ff3,_0x15d5ac['type']);return _0x6ab462['withText']=!0x0,_0x6ab462['icon']=_0x15d5ac['icon'],_0x6ab462['bind']('label')['to'](_0x4cf376,'isImageSelected',_0x4bc94f=>_(_0xe5646d,_0x15d5ac['type'],_0x4bc94f?'Replace':'Insert')['text']),_0x6ab462;});}['_createMenuBarButtons'](_0x42abf9){return _0x42abf9['map'](_0x383551=>{const _0x1d1536=this['_createButton'](_0x37e2a2,_0x383551['type']);return _0x1d1536['icon']=_0x383551['icon'],_0x1d1536['label']=_0x383551['shortText'],_0x1d1536;});}}class G extends _0x3da787{['focusTracker'];['focusCycler'];constructor(_0x161456){super(_0x161456),this['focusTracker']=new _0x1055fe(),this['focusCycler']=new _0x4f8099({'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 W extends G{constructor(_0x23a07f){super(_0x23a07f),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(_0x2dbfeb,_0x1d4502){const _0x3b9ad9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1ea240=>_0x1ea240<=_0x1d4502)['map'](_0xa801bf=>_0x2dbfeb['replace'](/\/$/,'')+'/-/resize/'+_0xa801bf+'x/\x20'+_0xa801bf+'w');return{'imageFallbackUrl':_0x2dbfeb,'imageSources':[{'srcset':_0x3b9ad9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1d4502+'px)\x20100vw,\x20'+_0x1d4502+'px','type':'image/webp'}]};}function X(_0x3dfd74,_0x1cf63d,_0x4195d1){const _0x214746=_0x3dfd74['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x214746?parseInt(_0x214746[0x1],0xa):_0x1cf63d,'height':_0x214746?parseInt(_0x214746[0x2],0xa):_0x4195d1};}function m(_0x14086e,_0x1a1e05){const _0x6a6a1c=Object['create'](_0x3e0c46),_0x3a0af8=_0x14086e['plugins']['get']('ImageUtils'),_0x4641ae=_0x14086e['editing']['mapper']['toViewElement'](_0x1a1e05),_0x5086e7=_0x3a0af8['findViewImgElement'](_0x4641ae),_0xb8bf04=_0x14086e['editing']['view']['domConverter']['viewToDom'](_0x5086e7),_0x4f9314=_0x1a1e05['getAttribute']('width'),_0x3f9719=_0x1a1e05['getAttribute']('height'),_0x3effb3='image-processing';_0x14086e['editing']['view']['change'](_0x40df72=>{_0x40df72['addClass'](_0x3effb3,_0x4641ae),_0x40df72['setStyle']('aspect-ratio',_0x4f9314+'/'+_0x3f9719,_0x5086e7);}),_0x6a6a1c['listenTo'](_0xb8bf04,'load',()=>{_0x6a6a1c['stopListening'](_0xb8bf04,'load'),_0x14086e['editing']['view']['change'](_0xdfd0ff=>{_0xdfd0ff['removeClass'](_0x3effb3,_0x4641ae),_0xdfd0ff['removeStyle']('aspect-ratio',_0x5086e7);});});}function R(_0x59244a){if(Array['isArray'](_0x59244a)){const _0x5b2393=_0x59244a['map'](R);return _0x26d8d2=>_0x5b2393['some'](_0xb6222b=>_0xb6222b(_0x26d8d2));}if('origin'==_0x59244a){const _0x5f3c9b=_0x40853a['window']['location']['origin'];return _0x8dc4b9=>new URL(_0x8dc4b9,_0x40853a['document']['baseURI'])['origin']==_0x5f3c9b;}return'function'==typeof _0x59244a?_0x59244a:_0x59244a instanceof RegExp?_0x319426=>!(!_0x319426['match'](_0x59244a)&&!_0x319426['replace'](/^https?:\/\//,'')['match'](_0x59244a)):()=>!0x1;}function Y(_0x2bc5cd,_0x2cf93d){return _0xbbcc4c(_0x2bc5cd['target'])['includes'](_0x2cf93d);}class l extends/* #__PURE__ -- @preserve */
24
- _0xad4dfe(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x440ee2,_0x21841b,_0x2676e1){super(),this['_editor']=_0x440ee2,this['_editing']=_0x21841b,this['_dialog']=_0x440ee2['plugins']['get'](_0x53697a),this['_api']=_0x21841b['ctxElement']['getAPI'](),this['_type']=_0x2676e1,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:_0x54dcba,model:_0x301f27}=this['_editor'],_0x204947=_0x301f27['document']['selection']['getSelectedElement'](),_0x18ec2a=_0x204947&&(_0x204947['is']('element','imageBlock')||_0x204947['is']('element','imageInline'));this['_formView']=new W(_0x54dcba),this['_dialog']['show']({'id':'uploadCare','icon':_0x503070,'title':_(_0x54dcba,this['_type'],_0x18ec2a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x18e16f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x56e47d=>!Y(_0x56e47d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xa0846b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x25a200=>{const _0x344849=_0xa0846b['length'];for(const _0x3ca2f0 of _0xa0846b){const _0x56f6ff=_0x3ca2f0===_0xa0846b[_0x344849-0x1],{cdnUrl:_0x5f43c3,fileInfo:_0x3d9f77}=_0x3ca2f0;if(!_0x5f43c3||!_0x3d9f77)continue;const {width:_0x42c9b7,height:_0x3e85fb}=_0x3d9f77['imageInfo'],_0x226c59=X(_0x5f43c3,_0x42c9b7,_0x3e85fb),_0x5ae5c9=E(_0x5f43c3,_0x226c59['width']),_0x574b92={'id':_0x3d9f77['uuid'],'type':'image','attributes':{'imageDimension':_0x226c59,..._0x5ae5c9}};this['_insertAsset'](_0x574b92,_0x56f6ff,_0x25a200);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xf15512=>{'idle'===_0xf15512['detail']['status']&&!_0xf15512['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3c14fb,_0x5a8fc2,_0x43c0f6){const _0x311b19=this['_editor']['model']['document']['selection'],_0x3af69d=_0x311b19['getSelectedElement'](),_0x4146ec=!(!_0x3af69d||!_0x3af69d['is']('element','imageInline'));_0x43c0f6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3c14fb,_0x4146ec),_0x5a8fc2||_0x43c0f6['setSelection'](_0x311b19['getLastPosition']());}['_insertImage'](_0x5a8d7b,_0x55ce30){const _0x4ef185=this['_editor'],{imageDimension:_0x3b4bc0,imageFallbackUrl:_0xd27c5,imageSources:_0x30eded}=_0x5a8d7b['attributes'];_0x4ef185['execute']('insertImage',{'imageType':_0x55ce30?'imageInline':null,'source':{'uploadcareImageId':_0x5a8d7b['id'],'src':_0xd27c5,'sources':_0x30eded,..._0x3b4bc0}});}}class n extends _0x47adfc{['_editing'];['_controller']=null;static get['requires'](){return[_0x53697a,i];}constructor(_0x3f6bf2){super(_0x3f6bf2),this['_editing']=_0x3f6bf2['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1442dc){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1442dc);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x9bad4c,publicKey:_0x47d78f,signal:_0x53239c,onProgress:_0x26c594}){return _0x3faa1b(_0x9bad4c,{'publicKey':_0x47d78f,'store':'auto','signal':_0x53239c,'onProgress':_0x26c594});}static['getInfo'](_0x2217f3,_0xe4e2a1){return _0x36d8fb(_0x2217f3,_0xe4e2a1);}}class p extends _0x5beea7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x164ff0,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x23a97c=this['editor'];if(!!!_0x23a97c['config']['get']('uploadcare'))return;_0x23a97c['plugins']['get'](_0x164ff0)['createUploadAdapter']=_0x2b600c=>new x(_0x2b600c,_0x23a97c),_0x23a97c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x558d4b,{imageElement:_0x15e184,data:_0x5ad65a})=>{_0x23a97c['model']['change'](_0x208f81=>{_0x208f81['setAttribute']('uploadcareImageId',_0x5ad65a['uploadcareImageId'],_0x15e184);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x191823,_0x112de6){this['loader']=_0x191823,this['editor']=_0x112de6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4cc80e=this['editor']['config']['get']('uploadcare.pubkey'),_0x2c24ad=await this['loader']['file'];return C['upload']({'file':_0x2c24ad,'publicKey':_0x4cc80e,'signal':this['controller']['signal'],'onProgress':_0x5efc41=>{_0x5efc41&&_0x5efc41['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5efc41['value']);}})['then'](async _0x43de05=>{const {imageFallbackUrl:_0x371945,imageSources:_0x1087a9}=E(_0x43de05['cdnUrl'],_0x43de05['imageInfo']['width']);return{'uploadcareImageId':_0x43de05['uuid'],'default':_0x371945,'sources':_0x1087a9};})['catch'](()=>{const _0x57da1f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c24ad['name']+'.');return Promise['reject'](_0x57da1f);});}['abort'](){this['controller']['abort']();}}class i extends _0x5beea7{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x53697a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5e0e86=this['editor'];_0x5e0e86['commands']['add']('uploadcare',new n(_0x5e0e86));}['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 _0x225f9f=_0x40853a['document']['querySelector']('input[uploadcare-file-input]');_0x225f9f&&_0x225f9f['remove']();}),async function(_0x9582ee){const _0x3320e7=_0x474e7e([0x55,0x50,0x56,0x6e,0x69,0x63,0x38,0x79,0x4a,0x74,0x32,0x53,0x75,0x30,0x64,0x68,0x47,0x51,0x34,0x4b,0x62,0x41,0x46,0x58,0x6f,0x37,0x31,0x54,0x6b,0x72,0x36,0x6c,0x35,0x67,0x78,0x39,0x33,0x4d,0x4c,0x45,0x71,0x6d,0x52,0x61,0x5a,0x7a,0x4f,0x76,0x70,0x48,0x4e,0x6a,0x42,0x65,0x49,0x77,0x44,0x66,0x43,0x59,0x57,0x73]),_0x121966=0x130b9005,_0x400c50=0x130cf33d^_0x121966,_0x2db0a3=window[_0x474e7e([0x44,0x61,0x74,0x65])][_0x474e7e([0x6e,0x6f,0x77])](),_0x52aa0a=_0x9582ee[_0x474e7e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x583608=new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fdbc0=>{_0x52aa0a[_0x474e7e([0x6f,0x6e,0x63,0x65])](_0x474e7e([0x72,0x65,0x61,0x64,0x79]),_0x2fdbc0);}),_0x1c4483={[_0x474e7e([0x6b,0x74,0x79])]:_0x474e7e([0x45,0x43]),[_0x474e7e([0x75,0x73,0x65])]:_0x474e7e([0x73,0x69,0x67]),[_0x474e7e([0x63,0x72,0x76])]:_0x474e7e([0x50,0x2d,0x32,0x35,0x36]),[_0x474e7e([0x78])]:_0x474e7e([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]),[_0x474e7e([0x79])]:_0x474e7e([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]),[_0x474e7e([0x61,0x6c,0x67])]:_0x474e7e([0x45,0x53,0x32,0x35,0x36])},_0x48f332=_0x52aa0a[_0x474e7e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x474e7e([0x67,0x65,0x74])](_0x474e7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19a028(){let _0x58c2c7,_0x4e546b=null,_0x14764d=null;try{if(_0x48f332==_0x474e7e([0x47,0x50,0x4c]))return _0x474e7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58c2c7=_0x371466(),!_0x58c2c7)return _0x474e7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58c2c7[_0x474e7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14764d=_0x16c672(_0x58c2c7[_0x474e7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58c2c7[_0x474e7e([0x6a,0x74,0x69])])),await _0xa296f1()?_0x33e263()?_0x3f7b1c()?_0x474e7e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b7276()?(_0x58c2c7[_0x474e7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x474e7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e546b=_0x103e5d(_0x474e7e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58c2c7[_0x474e7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x474e7e([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e546b=_0x103e5d(_0x474e7e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f482()):_0x474e7e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x474e7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x474e7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3e387e){return _0x474e7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f7b1c(){const _0x21bc96=[_0x474e7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x474e7e([0x74,0x72,0x69,0x61,0x6c])][_0x474e7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c2c7[_0x474e7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2db0a3/0x3e8:0xe10*_0x400c50;return _0x58c2c7[_0x474e7e([0x65,0x78,0x70])]<_0x21bc96;}function _0x33e263(){const _0x4ba6eb=_0x58c2c7[_0x474e7e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4ba6eb&&(!!_0x4ba6eb[_0x474e7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x474e7e([0x2a]))||!!_0x4ba6eb[_0x474e7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x474e7e([0x55,0x50,0x4c,0x43])));}function _0x2b7276(){const _0xc17c73=_0x58c2c7[_0x474e7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc17c73||0x0==_0xc17c73[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ab8e2}=new URL(window[_0x474e7e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc17c73[_0x474e7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ab8e2))return!0x0;const _0xc59f65=_0x4ab8e2[_0x474e7e([0x73,0x70,0x6c,0x69,0x74])](_0x474e7e([0x2e]));return _0xc17c73[_0x474e7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2006=>_0x3f2006[_0x474e7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x474e7e([0x2a])))[_0x474e7e([0x6d,0x61,0x70])](_0x9ceb68=>_0x9ceb68[_0x474e7e([0x73,0x70,0x6c,0x69,0x74])](_0x474e7e([0x2e])))[_0x474e7e([0x73,0x6f,0x6d,0x65])](_0x13021f=>_0xc59f65[_0x474e7e([0x65,0x76,0x65,0x72,0x79])]((_0x484d37,_0x1dbb89)=>_0x13021f[_0x1dbb89]===_0x484d37||_0x13021f[_0x1dbb89]===_0x474e7e([0x2a])));}function _0x49f482(){return _0x4e546b&&_0x14764d?new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xeab89c,_0x3190e5)=>{_0x4e546b[_0x474e7e([0x74,0x68,0x65,0x6e])](_0xeab89c,_0x3190e5),_0x14764d[_0x474e7e([0x74,0x68,0x65,0x6e])](_0x24d0a8=>{_0x24d0a8!=_0x474e7e([0x56,0x61,0x6c,0x69,0x64])&&_0xeab89c(_0x24d0a8);},_0x3190e5);}):_0x4e546b||_0x14764d||_0x474e7e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16c672(_0x3b7e04,_0x52f4d2){return new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24cfd9=>{if(_0x341574())return _0x24cfd9(_0x474e7e([0x56,0x61,0x6c,0x69,0x64]));_0x5c2b5f(),_0x52aa0a[_0x474e7e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x474e7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1dcf01=!0x1;const _0x70814b=_0x414f68();function _0x8f7a50(_0x59d766){return!!_0x59d766&&(typeof _0x59d766===_0x474e7e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59d766===_0x474e7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59d766[_0x474e7e([0x74,0x68,0x65,0x6e])]===_0x474e7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59d766[_0x474e7e([0x63,0x61,0x74,0x63,0x68])]===_0x474e7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x568e1e(_0x16894f){_0x31f4a3(_0x16894f)[_0x474e7e([0x74,0x68,0x65,0x6e])](_0x2d1127=>{if(!_0x2d1127||_0x2d1127[_0x474e7e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x474e7e([0x6f,0x6b]))return _0x474e7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1412cc(_0x50445e(_0x70814b+_0x52f4d2))!=_0x2d1127[_0x474e7e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x474e7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x474e7e([0x56,0x61,0x6c,0x69,0x64]);})[_0x474e7e([0x74,0x68,0x65,0x6e])](_0x2bd882=>(_0x22fd76(),_0x2bd882),()=>{const _0x5bdd6c=_0x3d2173();return null==_0x5bdd6c?(_0x22fd76(),_0x474e7e([0x56,0x61,0x6c,0x69,0x64])):_0x474e7e(_0x2db0a3-_0x5bdd6c>(0x37071405^_0x121966)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x474e7e([0x74,0x68,0x65,0x6e])](_0x24cfd9)[_0x474e7e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24cfd9(_0x474e7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fbccc=0x133d7e85^_0x121966;function _0x22fd76(){const _0x1e2097=_0x474e7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1412cc(_0x50445e(_0x3b7e04)),_0x2105b7=_0x50f88c(_0x1412cc(window[_0x474e7e([0x4d,0x61,0x74,0x68])][_0x474e7e([0x63,0x65,0x69,0x6c])](_0x2db0a3/_0x4fbccc)));window[_0x474e7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x474e7e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e2097,_0x2105b7);}function _0x3d2173(){const _0x5b818f=_0x474e7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1412cc(_0x50445e(_0x3b7e04)),_0x2cedec=window[_0x474e7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x474e7e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b818f);return _0x2cedec?window[_0x474e7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50f88c(_0x2cedec),0x10)*_0x4fbccc:null;}function _0x31f4a3(_0x3ef0f7){return new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31be59,_0x46fd9c)=>{_0x3ef0f7[_0x474e7e([0x74,0x68,0x65,0x6e])](_0x31be59,_0x46fd9c),window[_0x474e7e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46fd9c,0x130a44c5^_0x121966);});}}_0x52aa0a[_0x474e7e([0x6f,0x6e])](_0x474e7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2717b9,_0xaa7b7e)=>{if(_0xaa7b7e[0x0]!=_0x3b7e04)return _0x24cfd9(_0x474e7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xaa7b7e[0x1]={..._0xaa7b7e[0x1],[_0x474e7e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x70814b};},{[_0x474e7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x474e7e([0x68,0x69,0x67,0x68])}),_0x52aa0a[_0x474e7e([0x6f,0x6e])](_0x474e7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ae1d6=>{_0x8f7a50(_0x1ae1d6[_0x474e7e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1dcf01=!0x0,_0x568e1e(_0x1ae1d6[_0x474e7e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x474e7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x474e7e([0x6c,0x6f,0x77])}),_0x583608[_0x474e7e([0x74,0x68,0x65,0x6e])](()=>{_0x1dcf01||_0x24cfd9(_0x474e7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x341574(){return _0x52aa0a[_0x474e7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x474e7e([0x76,0x69,0x65,0x77])][_0x474e7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x474e7e([0x61,0x75,0x74,0x6f]);}function _0x5c2b5f(){_0x52aa0a[_0x474e7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x474e7e([0x76,0x69,0x65,0x77])][_0x474e7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x474e7e([0x61,0x75,0x74,0x6f]);}}function _0x103e5d(_0x27b6ad){const _0x58d5c4=[new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a4878=>setTimeout(_0x5a4878,0x1302aec9^_0x121966)),_0x583608[_0x474e7e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5350cb=>{let _0x541cb9=0x0;_0x52aa0a[_0x474e7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x474e7e([0x6f,0x6e])](_0x474e7e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b2618,_0x18905f)=>{_0x18905f[0x0][_0x474e7e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x541cb9++,_0x541cb9==(0x130b91fd^_0x121966)&&(_0x5350cb(),_0x2b2618[_0x474e7e([0x6f,0x66,0x66])]());});}))];return window[_0x474e7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x474e7e([0x72,0x61,0x63,0x65])](_0x58d5c4)[_0x474e7e([0x74,0x68,0x65,0x6e])](()=>_0x27b6ad);}async function _0x4fda4b(){await _0x583608,_0x52aa0a[_0x474e7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x474e7e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23ec6e,_0x52aa0a[_0x474e7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x474e7e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23ec6e,_0x52aa0a[_0x474e7e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x474e7e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x463bbb(_0x1461dc){const _0x281879=_0x4fcf0e();_0x52aa0a[_0x281879]=_0x474e7e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1461dc,_0x1461dc!=_0x474e7e([0x56,0x61,0x6c,0x69,0x64])&&_0x4fda4b();}function _0x4fcf0e(){const _0x4cdaa2=window[_0x474e7e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x474e7e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x474e7e([0x6e,0x6f,0x77])]())[_0x474e7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x474e7e([0x2e]),'');let _0x4615fa=_0x474e7e([0x55]);for(let _0xcd8d3a=0x0;_0xcd8d3a<_0x4cdaa2[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcd8d3a+=0x2){let _0x17dcf7=window[_0x474e7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cdaa2[_0x474e7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcd8d3a,_0xcd8d3a+0x2));_0x17dcf7>=_0x3320e7[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17dcf7-=_0x3320e7[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4615fa+=_0x3320e7[_0x17dcf7];}return _0x4615fa;}function _0x371466(){const _0x173a5d=_0x48f332[_0x474e7e([0x73,0x70,0x6c,0x69,0x74])](_0x474e7e([0x2e]));if(0x3!=_0x173a5d[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bccc6(_0x173a5d[0x1]);function _0x3bccc6(_0x3005cb){const _0x1ec645=_0xdccdc(_0x3005cb);return _0x1ec645&&_0x13ee72()?_0x1ec645:null;function _0x13ee72(){const _0x4672ce=_0x1ec645[_0x474e7e([0x6a,0x74,0x69])],_0x1a3305=window[_0x474e7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4672ce[_0x474e7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4672ce[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x463c08={..._0x1ec645,[_0x474e7e([0x6a,0x74,0x69])]:_0x4672ce[_0x474e7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4672ce[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x463c08[_0x474e7e([0x76,0x63])],_0x50445e(_0x463c08)==_0x1a3305;}}}async function _0xa296f1(){let _0x1941e4=!0x0;try{const _0x3cd109=_0x48f332[_0x474e7e([0x73,0x70,0x6c,0x69,0x74])](_0x474e7e([0x2e])),[_0x4ac8dc,_0x35a069,_0x5c4d2e]=_0x3cd109;return _0x52fb37(_0x4ac8dc),await _0xe0bb0e(_0x4ac8dc,_0x35a069,_0x5c4d2e),_0x1941e4;}catch(_0x50338a){return!0x1;}function _0x52fb37(_0x45d952){const _0x4069cd=_0xdccdc(_0x45d952);_0x4069cd&&_0x4069cd[_0x474e7e([0x61,0x6c,0x67])]==_0x474e7e([0x45,0x53,0x32,0x35,0x36])||(_0x1941e4=!0x1);}async function _0xe0bb0e(_0x37ed17,_0x4f1c35,_0x4f5220){const _0x5dda9f=window[_0x474e7e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x474e7e([0x66,0x72,0x6f,0x6d])](_0x23bb36(_0x4f5220),_0x5b481f=>_0x5b481f[_0x474e7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ac4b3=new window[(_0x474e7e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x474e7e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37ed17+_0x474e7e([0x2e])+_0x4f1c35),_0x2d321c=window[_0x474e7e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x474e7e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d321c)return;const _0x2dac55=await _0x2d321c[_0x474e7e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x474e7e([0x6a,0x77,0x6b]),_0x1c4483,{[_0x474e7e([0x6e,0x61,0x6d,0x65])]:_0x474e7e([0x45,0x43,0x44,0x53,0x41]),[_0x474e7e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x474e7e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x474e7e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d321c[_0x474e7e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x474e7e([0x6e,0x61,0x6d,0x65])]:_0x474e7e([0x45,0x43,0x44,0x53,0x41]),[_0x474e7e([0x68,0x61,0x73,0x68])]:{[_0x474e7e([0x6e,0x61,0x6d,0x65])]:_0x474e7e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2dac55,_0x5dda9f,_0x1ac4b3)||(_0x1941e4=!0x1);}}function _0xdccdc(_0x4069d0){return _0x4069d0[_0x474e7e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x474e7e([0x65,0x79]))?JSON[_0x474e7e([0x70,0x61,0x72,0x73,0x65])](_0x23bb36(_0x4069d0)):null;}function _0x23bb36(_0xae8432){return window[_0x474e7e([0x61,0x74,0x6f,0x62])](_0xae8432[_0x474e7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x474e7e([0x2b]))[_0x474e7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x474e7e([0x2f])));}function _0x50445e(_0x54e859){let _0x21d476=0x1505;function _0x179e98(_0x2702e9){for(let _0x3df453=0x0;_0x3df453<_0x2702e9[_0x474e7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3df453++){const _0x1c3704=_0x2702e9[_0x474e7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3df453);_0x21d476=(_0x21d476<<0x5)+_0x21d476+_0x1c3704,_0x21d476&=_0x21d476;}}function _0x2ecc0c(_0x5d802f){Array[_0x474e7e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d802f)?_0x5d802f[_0x474e7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ecc0c):_0x5d802f&&typeof _0x5d802f==_0x474e7e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x474e7e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d802f)[_0x474e7e([0x73,0x6f,0x72,0x74])]()[_0x474e7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1527b0,_0x3d4e8e])=>{_0x179e98(_0x1527b0),_0x2ecc0c(_0x3d4e8e);}):_0x179e98(window[_0x474e7e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d802f));}return _0x2ecc0c(_0x54e859),_0x21d476>>>0x0;}function _0x1412cc(_0x1934d3){return _0x1934d3[_0x474e7e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x474e7e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x474e7e([0x30]));}function _0x50f88c(_0x479743){return _0x479743[_0x474e7e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x474e7e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x474e7e([0x6a,0x6f,0x69,0x6e])]('');}function _0x23ec6e(){}function _0x474e7e(_0x37d029){return _0x37d029['map'](_0x59ed46=>String['fromCharCode'](_0x59ed46))['join']('');}_0x463bbb(await _0x19a028());}(this);}['_initSchema'](){const _0x8508f8=this['editor']['model']['schema'];_0x8508f8['isRegistered']('imageBlock')&&_0x8508f8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8508f8['isRegistered']('imageInline')&&_0x8508f8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2c0d9e=this['editor'];_0x2c0d9e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2c0d9e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5eb913=>_0x5eb913['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x26cb33=_0x2c0d9e['commands']['get']('replaceImageSource');_0x26cb33&&this['listenTo'](_0x26cb33,'cleanupImage',(_0x2bd62a,[_0x185635,_0x5007a0])=>{_0x185635['removeAttribute']('uploadcareImageId',_0x5007a0);});}['_initConfig'](){const _0x3a375b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x55efc1=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2349a4(_0x40853a['document'],'uc-config',{..._0x3a375b,'pubkey':_0x55efc1,'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']=_0x911081=>{if('closeMax'==_0x911081)return'#uc-icon-arrow-down';},_0x40853a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2349a4(_0x40853a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x40853a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xbfad07=this['editor']['commands']['get']('insertImage');_0xbfad07&&this['listenTo'](_0xbfad07,'execute',()=>{const _0x1e7520=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1e7520&&_0x1e7520['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1e7520);});});const _0x4b0664=this['editor']['commands']['get']('uploadcareImageReplace');_0x4b0664&&this['listenTo'](_0x4b0664,'execute',()=>{const _0xe4b296=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe4b296&&_0xe4b296['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xe4b296);});});}}class u extends _0x5beea7{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f5686){super(_0x1f5686),_0x1f5686['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4e0d0c['defineComponents'](_0x4e0d0c);}}class ta extends _0x3da787{constructor(_0x544752){super(_0x544752);const t=_0x544752['t'],_0x319559=this['bindTemplate'],_0x337b3b=new _0x4ab29d();_0x337b3b['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':[_0x337b3b,{'text':_0x319559['to']('imageUploadProgress',_0x1f42ba=>t('Loading\x20image...')+'\x20('+(_0x1f42ba||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 _0x3da787{constructor(_0x25ba81){super(_0x25ba81);const t=_0x25ba81['t'];this['set']('errorType',null);const _0x20a8e7=new _0x587ff3(_0x25ba81);_0x20a8e7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x20a8e7['withText']=!0x0,_0x20a8e7['class']='ck-button-action',_0x20a8e7['on']('execute',()=>{this['fire']('retry');}),_0x20a8e7['bind']('isVisible')['to'](this,'errorType',_0x2dcf24=>'NotFound'!==_0x2dcf24);const _0x52819c=new at();_0x52819c['content']=et,_0x52819c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x181419=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':[_0x52819c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x181419['to']('errorType',_0x28b23a=>t('NotFound'!==_0x28b23a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x20a8e7]},{'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 _0x3da787{constructor(_0xe57365,_0x505359){super(_0xe57365);const _0x23c342=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x505359,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x23c342['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4b4cef,_0x46c987,_0x2eb8ca){super(_0x4b4cef),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4b4cef),this['_errorView']=new rt(_0x4b4cef),this['_editingView']=new tt(_0x4b4cef,_0x2eb8ca),this['_focusableView']=new _0x3da787(_0x4b4cef),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x46c987),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'],_0x215f58=>{this['_addUploadcareImageEditorListeners'](_0x215f58);});}),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'](_0x44f699,_0x3fc0a6){const _0xab754c='uc-cloud-image-editor',_0x55dc08=_0x44f699['querySelector'](_0xab754c);if(_0x55dc08)return _0x3fc0a6(_0x55dc08);const _0x5da827=new MutationObserver(_0x33b79b=>{const _0xa223bd=_0x33b79b['filter'](_0x4c2b45=>_0x4c2b45['target']===_0x44f699&&_0x4c2b45['addedNodes']['length']>0x0&&_0x4c2b45['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xab754c);_0xa223bd['length']&&(_0x5da827['disconnect'](),_0x3fc0a6(_0xa223bd[0x0]['addedNodes'][0x0]));});_0x5da827['observe'](_0x44f699,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4d13fd){_0x4d13fd['addEventListener']('apply',_0x487d66=>{this['fire']('apply',{'imageSrc':_0x487d66['detail']['cdnUrl']});}),_0x4d13fd['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
- _0xad4dfe(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x172950,_0x4bd89b,_0x5f04aa){super(),this['_editor']=_0x172950,this['_dialog']=_0x4bd89b,this['_imageElement']=_0x5f04aa,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 _0x2915e0=this['_imageElement'],_0x51d221=_0x2915e0['getAttribute']('uploadcareImageId'),_0x31557a=_0x2915e0['getAttribute']('src');if(_0x51d221)await this['_loadImageInfo'](_0x51d221,_0x31557a);else{if(this['_imageCache']['has'](_0x31557a)){const _0xcb5f54=this['_imageCache']['get'](_0x31557a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcb5f54['url'],this['imageDimension']=_0xcb5f54['dimension'],this['imageId']=_0xcb5f54['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xedfe6b}=this['_editor'],t=_0xedfe6b['t'],_0x310398=new Z(_0xedfe6b,this['imageStatus'],this['_attributes']);_0x310398['bind']('status')['to'](this,'imageStatus'),_0x310398['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x310398['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x310398['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x310398,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5638be,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x310398,'position':_0x18e16f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x310398['focus']();},'onHide':()=>{_0x310398['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d968a=>!Y(_0x5d968a,_0x310398['element'])}});}['_loadImageInfo'](_0x3d79be,_0x3ff0e2){return C['getInfo'](_0x3d79be,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1111b3=>{const {width:_0x112aae,height:_0x4077f7}=_0x1111b3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ff0e2,this['imageDimension']={'width':_0x112aae,'height':_0x4077f7},this['imageId']=_0x3d79be;})['catch'](_0x35b114=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35b114['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x137723,_0xdc2f40){return this['_getImageAsFile'](_0x137723)['then'](_0xb8ea3a=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xdc2f40['signal'],'file':_0xb8ea3a,'onProgress':_0x3abe72=>{_0x3abe72&&_0x3abe72['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3abe72['value']));}}))['then'](_0x5bbf11=>{const {width:_0x252767,height:_0x2e3c59}=_0x5bbf11['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5bbf11['cdnUrl'],this['imageDimension']={'width':_0x252767,'height':_0x2e3c59},this['imageId']=_0x5bbf11['uuid'],this['imageUploadProgress']=null;const _0x5a7392=_0x137723['getAttribute']('src');this['_imageCache']['set'](_0x5a7392,{'id':_0x5bbf11['uuid'],'url':_0x5bbf11['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ae4c6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ae4c6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x377869,_0x37a026){_0x377869['on']('apply',(_0xed3ec1,_0x4b1a12)=>{this['_replaceImage'](_0x37a026,_0x4b1a12['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x377869['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x377869['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xa39d63,_0x5cd304,_0x525548){const _0x14d3b5=this['_editor'],{width:_0x325abd,height:_0x1dd264}=X(_0x5cd304,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d78eb,imageSources:_0x5a578a}=E(_0x5cd304,_0x325abd);_0x14d3b5['model']['change'](_0x4fbf10=>{if('$graveyard'===_0xa39d63['root']['rootName']){_0x14d3b5['execute']('insertImage',{'imageType':_0xa39d63['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xa39d63['getAttributes']()),'uploadcareImageId':_0x525548,'src':_0x2d78eb,'sources':_0x5a578a,'width':_0x325abd,'height':_0x1dd264}});const _0x12e022=_0xa39d63['getChildren']();_0xa39d63=_0x14d3b5['model']['document']['selection']['getSelectedElement']();for(const _0x266768 of _0x12e022)_0x4fbf10['append'](_0x4fbf10['cloneElement'](_0x266768),_0xa39d63);}else _0x4fbf10['setSelection'](_0xa39d63,'on'),_0x14d3b5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xa39d63['getAttributes']()),'uploadcareImageId':_0x525548,'src':_0x2d78eb,'sources':_0x5a578a,'width':_0x325abd,'height':_0x1dd264},_0xa39d63);_0x4fbf10['setSelection'](_0xa39d63,'on');});}async['_getImageAsFile'](_0x509e8e){const _0x28ee9c=_0x40853a['window'],_0x11164a=_0x40853a['document']['location']['href'],_0x4c5ee7=new _0x28ee9c['URL'](_0x509e8e['getAttribute']('src'),_0x11164a);if('data:'===_0x4c5ee7['protocol']){const _0x42e397=_0x4c5ee7['href']['split'](','),_0x51ae86=_0x42e397[0x0]['match'](/:(.*?);/)[0x1],_0x20f945=_0x51ae86['split']('/')[0x1],_0x16ad3d=_0x28ee9c['atob'](_0x42e397[_0x42e397['length']-0x1]);let _0x14305f=_0x16ad3d['length'];const _0x621bc9=new _0x28ee9c['Uint8Array'](_0x14305f);for(;_0x14305f--;)_0x621bc9[_0x14305f]=_0x16ad3d['charCodeAt'](_0x14305f);return new _0x28ee9c['File']([_0x621bc9],'image.'+_0x20f945,{'type':_0x51ae86});}const _0x58652a=_0x4c5ee7['href']['split']('/'),_0x8c340b=_0x58652a[_0x58652a['length']-0x1],_0x2a15bf=_0x8c340b['split']('.')[0x1];return _0x28ee9c['fetch'](_0x4c5ee7['href'])['then'](_0x17fce6=>_0x17fce6['clone']()['blob']())['then'](_0x703ea=>new _0x28ee9c['File']([_0x703ea],_0x8c340b,{'type':'image/'+_0x2a15bf}));}}class z extends _0x47adfc{['imageEditController'];static get['requires'](){return[_0x53697a];}['_isEditable'];constructor(_0x286fd7){super(_0x286fd7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xb09e59){const _0x3c1df1=R(_0xb09e59);return _0x39cfc2=>!(!_0x39cfc2||!_0x39cfc2['is']('element','imageBlock')&&!_0x39cfc2['is']('element','imageInline'))&&(!!_0x39cfc2['hasAttribute']('uploadcareImageId')||!!_0x39cfc2['hasAttribute']('src')&&_0x3c1df1(_0x39cfc2['getAttribute']('src')));}(_0x286fd7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x55be73=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x55be73);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x24cece=this['editor']['model']['document']['selection']['getSelectedElement']();_0x24cece&&(_0x24cece['is']('element','imageBlock')||_0x24cece['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x53697a),_0x24cece),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x47adfc{['refresh'](){const _0x4c22a5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4c22a5&&(_0x4c22a5['is']('element','imageBlock')||_0x4c22a5['is']('element','imageInline')));}['execute'](_0x3ed3b9){const _0x24805f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x14a061=>{_0x14a061['setAttributes'](_0x3ed3b9,_0x24805f),_0x14a061['removeAttribute']('srcset',_0x24805f),_0x14a061['removeAttribute']('sizes',_0x24805f);});}}class g extends _0x5beea7{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x437c78,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22eb8b}=this;_0x22eb8b['commands']['add']('uploadcareImageEdit',new z(_0x22eb8b)),_0x22eb8b['commands']['add']('uploadcareImageReplace',new O(_0x22eb8b));}}class j extends _0x5beea7{['_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 _0x1fa67b=this['editor'];_0x1fa67b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2caf66=>{const _0x561a85=_0x1fa67b['commands']['get']('uploadcareImageEdit'),_0x3889fe=new _0x587ff3(_0x2caf66),t=_0x2caf66['t'];return _0x3889fe['set']({'icon':_0x5638be,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3889fe['bind']('isEnabled')['to'](_0x561a85),_0x3889fe['bind']('isOn')['to'](_0x561a85,'isActive'),this['listenTo'](_0x3889fe,'execute',()=>{_0x1fa67b['execute']('uploadcareImageEdit'),_0x1fa67b['editing']['view']['focus']();}),_0x3889fe;}),this['_initConfig']();}['_initConfig'](){const _0x2a0afb=_0x2349a4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a0afb),this['listenTo'](this['editor'],'destroy',()=>{_0x2a0afb['remove']();});}}class P extends _0x5beea7{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 _0x1ea684,Command as _0x116f96}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x34ed8d,IconGooglePhotos as _0x1c9e88,IconGoogleDrive as _0x257d56,IconFacebook as _0x3fcc2a,IconDropbox as _0x1c4d83,IconUploadcareLink as _0x7e2265,IconUploadcareImageUpload as _0x25ba5c,IconError as et,IconUploadcareImageEdit as _0x4a1503}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x41db23,MenuBarMenuListItemButtonView as _0x24f8e0,View as _0x15b594,FocusCycler as _0x396d0a,Dialog as _0x1c3622,DialogViewPosition as _0x4b51b9,SpinnerView as _0xf8fcb3,IconView as at,Notification as _0x525d53}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4ad3cf,DomEmitterMixin as _0x5a42ec,global as _0x1cdeb7,getAncestors as _0x16836b,ObservableMixin as _0x3284b9,createElement as _0x76639e,uid as _0x419551}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x25c78c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x203273,info as _0x4d0433}from'@uploadcare/upload-client';import*as _0x44e753 from'@uploadcare/file-uploader';var o=function(_0x1ec809){return _0x1ec809['Local']='local',_0x1ec809['URL']='url',_0x1ec809['Dropbox']='dropbox',_0x1ec809['GDrive']='gdrive',_0x1ec809['Facebook']='facebook',_0x1ec809['GPhotos']='gphotos',_0x1ec809['OneDrive']='onedrive',_0x1ec809;}({});function _(_0x3e1c7a,_0x552698,_0x458baf){const t=_0x3e1c7a['t'],_0x176052=_0x3e1c7a['t'];switch(_0x552698){case o['Local']:return{'text':_0x176052('Insert'===_0x458baf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x176052('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x458baf?_0x176052('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x176052('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x458baf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x458baf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x458baf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x458baf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x458baf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x552698;}}class e extends _0x1ea684{['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 _0x38f27f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c4340;for(const _0x312d39 in _0x38f27f){const _0x3d32b2=_0x312d39,_0xefbef8=_0x38f27f[_0x3d32b2];if('uploadcareLicenseKeyValid'==_0xefbef8||'uploadcareLicenseKeyInvalid'==_0xefbef8||'uploadcareLicenseKeyExpired'==_0xefbef8||'uploadcareLicenseKeyDomainLimit'==_0xefbef8||'uploadcareLicenseKeyNotAllowed'==_0xefbef8||'uploadcareLicenseKeyEvaluationLimit'==_0xefbef8||'uploadcareLicenseKeyTrialLimit'==_0xefbef8||'uploadcareLicenseKeyUsageLimit'==_0xefbef8){delete _0x38f27f[_0x3d32b2],_0x2c4340=_0xefbef8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2c4340&&_0x38f27f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2c4340&&_0x38f27f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2c4340&&_0x38f27f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2c4340&&_0x38f27f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2c4340&&_0x38f27f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2c4340&&_0x38f27f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2c4340&&_0x38f27f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x9dab85}=this,_0x437650=_0x9dab85['commands']['get']('uploadcare');if(!_0x437650)return;const _0x40e997=this['_normalizeConfigSourceList'](_0x9dab85['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x21545e,_0xc7858f)=>{const _0x3fb109=this['_getIntegrationKey'](_0xc7858f['type']);return _0x21545e[_0x3fb109]||(_0x21545e[_0x3fb109]=[]),_0x21545e[_0x3fb109]['push'](_0xc7858f),_0x21545e;},{});_0x9dab85['plugins']['has']('ImageInsertUI')&&_0x9dab85['commands']['get']('uploadcare')&&Object['entries'](_0x40e997)['forEach'](([_0x19a36b,_0x3f6b48])=>{_0x9dab85['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x19a36b,'observable':()=>_0x437650,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3f6b48),'formViewCreator':()=>this['_createDropdownButtons'](_0x3f6b48),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3f6b48),'override':'assetManager'!==_0x19a36b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3a0ce7){const {locale:_0x1150bb}=this['editor'];return _0x3a0ce7['map'](_0x268615=>{const _0x2dd5a2=_(_0x1150bb,_0x268615,'Insert');switch(_0x268615){case o['Local']:return{'icon':_0x25ba5c,'type':o['Local'],..._0x2dd5a2};case o['URL']:return{'icon':_0x7e2265,'type':o['URL'],..._0x2dd5a2};case o['Dropbox']:return{'icon':_0x1c4d83,'type':o['Dropbox'],..._0x2dd5a2};case o['Facebook']:return{'icon':_0x3fcc2a,'type':o['Facebook'],..._0x2dd5a2};case o['GDrive']:return{'icon':_0x257d56,'type':o['GDrive'],..._0x2dd5a2};case o['GPhotos']:return{'icon':_0x1c9e88,'type':o['GPhotos'],..._0x2dd5a2};case o['OneDrive']:return{'icon':_0x34ed8d,'type':o['OneDrive'],..._0x2dd5a2};}});}['_getIntegrationKey'](_0x327ae2){switch(_0x327ae2){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5adbce,_0x41e0df){const _0x35c2ee=this['editor'],_0x43dba2=new _0x5adbce(_0x35c2ee['locale']),_0x3a0682=_0x35c2ee['commands']['get']('uploadcare');return _0x43dba2['bind']('isEnabled')['to'](_0x3a0682),_0x43dba2['on']('execute',()=>{_0x3a0682['execute'](_0x41e0df);}),_0x43dba2;}['_createToolbarButton'](_0x5c329b){const {locale:_0x116b99}=this['editor'],_0xcc213e=this['editor']['plugins']['get']('ImageInsertUI'),_0x42bb4b=_0x5c329b[0x0],_0x559b5c=this['_createButton'](_0x41db23,_0x42bb4b['type']);return _0x559b5c['icon']=_0x42bb4b['icon'],_0x559b5c['bind']('label')['to'](_0xcc213e,'isImageSelected',_0x3d9784=>_(_0x116b99,_0x42bb4b['type'],_0x3d9784?'Replace':'Insert')['text']),_0x559b5c['tooltip']=!0x0,_0x559b5c;}['_createDropdownButtons'](_0x5374f8){const {locale:_0x287de5}=this['editor'],_0x49cc67=this['editor']['plugins']['get']('ImageInsertUI');return _0x5374f8['map'](_0x269621=>{const _0x4f58fe=this['_createButton'](_0x41db23,_0x269621['type']);return _0x4f58fe['withText']=!0x0,_0x4f58fe['icon']=_0x269621['icon'],_0x4f58fe['bind']('label')['to'](_0x49cc67,'isImageSelected',_0x58bc7d=>_(_0x287de5,_0x269621['type'],_0x58bc7d?'Replace':'Insert')['text']),_0x4f58fe;});}['_createMenuBarButtons'](_0x14e3ab){return _0x14e3ab['map'](_0xa9fee4=>{const _0x3d5d2b=this['_createButton'](_0x24f8e0,_0xa9fee4['type']);return _0x3d5d2b['icon']=_0xa9fee4['icon'],_0x3d5d2b['label']=_0xa9fee4['shortText'],_0x3d5d2b;});}}class q extends _0x15b594{['focusTracker'];['focusCycler'];constructor(_0x1d9fec){super(_0x1d9fec),this['focusTracker']=new _0x4ad3cf(),this['focusCycler']=new _0x396d0a({'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(_0x25accb){super(_0x25accb),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(_0x176fb5,_0x3f0dfc){const _0x59745c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x31eb48=>_0x31eb48<=_0x3f0dfc)['map'](_0x5aaeed=>_0x176fb5['replace'](/\/$/,'')+'/-/resize/'+_0x5aaeed+'x/\x20'+_0x5aaeed+'w');return{'imageFallbackUrl':_0x176fb5,'imageSources':[{'srcset':_0x59745c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3f0dfc+'px)\x20100vw,\x20'+_0x3f0dfc+'px','type':'image/webp'}]};}function A(_0x51f30d,_0xe989ed,_0x11dcbf){const _0x33a0ca=_0x51f30d['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33a0ca?parseInt(_0x33a0ca[0x1],0xa):_0xe989ed,'height':_0x33a0ca?parseInt(_0x33a0ca[0x2],0xa):_0x11dcbf};}function m(_0x3d2c47,_0x53e6f6){const _0x2ce211=Object['create'](_0x5a42ec),_0x34876d=_0x3d2c47['plugins']['get']('ImageUtils'),_0x5b0d37=_0x3d2c47['editing']['mapper']['toViewElement'](_0x53e6f6),_0x2056be=_0x34876d['findViewImgElement'](_0x5b0d37),_0x21a3f1=_0x3d2c47['editing']['view']['domConverter']['viewToDom'](_0x2056be),_0x9faca3=_0x53e6f6['getAttribute']('width'),_0x41cb66=_0x53e6f6['getAttribute']('height'),_0x38ac6d='image-processing';_0x3d2c47['editing']['view']['change'](_0xe304b4=>{_0xe304b4['addClass'](_0x38ac6d,_0x5b0d37),_0xe304b4['setStyle']('aspect-ratio',_0x9faca3+'/'+_0x41cb66,_0x2056be);}),_0x2ce211['listenTo'](_0x21a3f1,'load',()=>{_0x2ce211['stopListening'](_0x21a3f1,'load'),_0x3d2c47['editing']['view']['change'](_0x171f6c=>{_0x171f6c['removeClass'](_0x38ac6d,_0x5b0d37),_0x171f6c['removeStyle']('aspect-ratio',_0x2056be);});});}function V(_0xe5d45a){if(Array['isArray'](_0xe5d45a)){const _0x39aaad=_0xe5d45a['map'](V);return _0x49f5f2=>_0x39aaad['some'](_0x1a3293=>_0x1a3293(_0x49f5f2));}if('origin'==_0xe5d45a){const _0x1bc30d=_0x1cdeb7['window']['location']['origin'];return _0x506164=>new URL(_0x506164,_0x1cdeb7['document']['baseURI'])['origin']==_0x1bc30d;}return'function'==typeof _0xe5d45a?_0xe5d45a:_0xe5d45a instanceof RegExp?_0x26f1e3=>!(!_0x26f1e3['match'](_0xe5d45a)&&!_0x26f1e3['replace'](/^https?:\/\//,'')['match'](_0xe5d45a)):()=>!0x1;}function F(_0x1ef350,_0x7264a4){return _0x16836b(_0x1ef350['target'])['includes'](_0x7264a4);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x3284b9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x18b720,_0x162328,_0x5cb149){super(),this['_editor']=_0x18b720,this['_editing']=_0x162328,this['_dialog']=_0x18b720['plugins']['get'](_0x1c3622),this['_api']=_0x162328['ctxElement']['getAPI'](),this['_type']=_0x5cb149,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:_0xfc1d01,model:_0x4cea2d}=this['_editor'],_0x55d5ac=_0x4cea2d['document']['selection']['getSelectedElement'](),_0x1989ac=_0x55d5ac&&(_0x55d5ac['is']('element','imageBlock')||_0x55d5ac['is']('element','imageInline'));this['_formView']=new S(_0xfc1d01),this['_dialog']['show']({'id':'uploadCare','icon':_0x25ba5c,'title':_(_0xfc1d01,this['_type'],_0x1989ac?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4b51b9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2bbb08=>!F(_0x2bbb08,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x37948e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1c113f=>{const _0x573f6a=_0x37948e['length'];for(const _0xeedfa5 of _0x37948e){const _0x393ab3=_0xeedfa5===_0x37948e[_0x573f6a-0x1],{cdnUrl:_0x13af07,fileInfo:_0x54ad8b}=_0xeedfa5;if(!_0x13af07||!_0x54ad8b)continue;const {width:_0x296f66,height:_0x12a7be}=_0x54ad8b['imageInfo'],_0x1ce2cb=A(_0x13af07,_0x296f66,_0x12a7be),_0x54d4d2=E(_0x13af07,_0x1ce2cb['width']),_0x313c07={'id':_0x54ad8b['uuid'],'type':'image','attributes':{'imageDimension':_0x1ce2cb,..._0x54d4d2}};this['_insertAsset'](_0x313c07,_0x393ab3,_0x1c113f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xbd74de=>{'idle'===_0xbd74de['detail']['status']&&!_0xbd74de['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xdd4143,_0x578f94,_0x21d1dd){const _0x50808f=this['_editor']['model']['document']['selection'],_0x2fcf64=_0x50808f['getSelectedElement'](),_0x238bcf=!(!_0x2fcf64||!_0x2fcf64['is']('element','imageInline'));_0x21d1dd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xdd4143,_0x238bcf),_0x578f94||_0x21d1dd['setSelection'](_0x50808f['getLastPosition']());}['_insertImage'](_0x338a2a,_0x4d88c3){const _0x1458cd=this['_editor'],{imageDimension:_0x52bb12,imageFallbackUrl:_0x1bad4d,imageSources:_0x269516}=_0x338a2a['attributes'];_0x1458cd['execute']('insertImage',{'imageType':_0x4d88c3?'imageInline':null,'source':{'uploadcareImageId':_0x338a2a['id'],'src':_0x1bad4d,'sources':_0x269516,..._0x52bb12}});}}class n extends _0x116f96{['_editing'];['_controller']=null;static get['requires'](){return[_0x1c3622,i];}constructor(_0x4ed62b){super(_0x4ed62b),this['_editing']=_0x4ed62b['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x54317c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x54317c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x8591d5,publicKey:_0x45700c,signal:_0x204243,onProgress:_0x884cf3}){return _0x203273(_0x8591d5,{'publicKey':_0x45700c,'store':'auto','signal':_0x204243,'onProgress':_0x884cf3});}static['getInfo'](_0x41e6c0,_0x39016a){return _0x4d0433(_0x41e6c0,_0x39016a);}}class p extends _0x1ea684{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25c78c,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4643bf=this['editor'];if(!!!_0x4643bf['config']['get']('uploadcare'))return;_0x4643bf['plugins']['get'](_0x25c78c)['createUploadAdapter']=_0x44027e=>new x(_0x44027e,_0x4643bf),_0x4643bf['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29c6e0,{imageElement:_0x18618d,data:_0x39a9dc})=>{_0x4643bf['model']['change'](_0x4dfc6e=>{_0x4dfc6e['setAttribute']('uploadcareImageId',_0x39a9dc['uploadcareImageId'],_0x18618d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x14b0ea,_0x58346a){this['loader']=_0x14b0ea,this['editor']=_0x58346a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x35bfb0=this['editor']['config']['get']('uploadcare.pubkey'),_0x477203=await this['loader']['file'];return C['upload']({'file':_0x477203,'publicKey':_0x35bfb0,'signal':this['controller']['signal'],'onProgress':_0x1726b9=>{_0x1726b9&&_0x1726b9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1726b9['value']);}})['then'](async _0x3d0a8b=>{const {imageFallbackUrl:_0xa14f72,imageSources:_0x3bafa1}=E(_0x3d0a8b['cdnUrl'],_0x3d0a8b['imageInfo']['width']);return{'uploadcareImageId':_0x3d0a8b['uuid'],'default':_0xa14f72,'sources':_0x3bafa1};})['catch'](()=>{const _0x547e02=t('Cannot\x20upload\x20file:')+('\x20'+_0x477203['name']+'.');return Promise['reject'](_0x547e02);});}['abort'](){this['controller']['abort']();}}class i extends _0x1ea684{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1c3622];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x56989d=this['editor'];_0x56989d['commands']['add']('uploadcare',new n(_0x56989d));}['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 _0x115807=_0x1cdeb7['document']['querySelector']('input[uploadcare-file-input]');_0x115807&&_0x115807['remove']();}),async function(_0x429c46){const _0x40ad9f=_0x3e0e14([0x6a,0x4f,0x77,0x76,0x55,0x53,0x58,0x43,0x57,0x78,0x5a,0x36,0x79,0x30,0x61,0x72,0x45,0x44,0x6c,0x4a,0x50,0x4e,0x75,0x39,0x37,0x38,0x33,0x42,0x32,0x56,0x63,0x66,0x49,0x59,0x54,0x73,0x6e,0x47,0x35,0x41,0x4b,0x69,0x67,0x31,0x52,0x4d,0x7a,0x48,0x65,0x70,0x71,0x46,0x68,0x6d,0x64,0x34,0x74,0x6f,0x6b,0x4c,0x62,0x51]),_0x17a952=0x504ac03c,_0x270fab=0x504da414^_0x17a952,_0x3c9024=window[_0x3e0e14([0x44,0x61,0x74,0x65])][_0x3e0e14([0x6e,0x6f,0x77])](),_0x1def2b=_0x429c46[_0x3e0e14([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d940d=new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ce9a2=>{_0x1def2b[_0x3e0e14([0x6f,0x6e,0x63,0x65])](_0x3e0e14([0x72,0x65,0x61,0x64,0x79]),_0x1ce9a2);}),_0x5921d7={[_0x3e0e14([0x6b,0x74,0x79])]:_0x3e0e14([0x45,0x43]),[_0x3e0e14([0x75,0x73,0x65])]:_0x3e0e14([0x73,0x69,0x67]),[_0x3e0e14([0x63,0x72,0x76])]:_0x3e0e14([0x50,0x2d,0x32,0x35,0x36]),[_0x3e0e14([0x78])]:_0x3e0e14([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]),[_0x3e0e14([0x79])]:_0x3e0e14([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]),[_0x3e0e14([0x61,0x6c,0x67])]:_0x3e0e14([0x45,0x53,0x32,0x35,0x36])},_0x5da21f=_0x1def2b[_0x3e0e14([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e0e14([0x67,0x65,0x74])](_0x3e0e14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bbc7a(){let _0x12d261,_0x4f680b=null,_0x426f9e=null;try{if(_0x5da21f==_0x3e0e14([0x47,0x50,0x4c]))return _0x3e0e14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12d261=_0x506038(),!_0x12d261)return _0x3e0e14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12d261[_0x3e0e14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x426f9e=_0x4eb325(_0x12d261[_0x3e0e14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12d261[_0x3e0e14([0x6a,0x74,0x69])])),await _0x1d88bc()?_0x38359c()?_0x5a0be4()?_0x3e0e14([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdb41f1()?(_0x12d261[_0x3e0e14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0e14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f680b=_0x45f984(_0x3e0e14([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12d261[_0x3e0e14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0e14([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f680b=_0x45f984(_0x3e0e14([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x224e6d()):_0x3e0e14([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0e14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e0e14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e418e){return _0x3e0e14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a0be4(){const _0x1a86f0=[_0x3e0e14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e0e14([0x74,0x72,0x69,0x61,0x6c])][_0x3e0e14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d261[_0x3e0e14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c9024/0x3e8:0xe10*_0x270fab;return _0x12d261[_0x3e0e14([0x65,0x78,0x70])]<_0x1a86f0;}function _0x38359c(){const _0x5cd1ca=_0x12d261[_0x3e0e14([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5cd1ca&&(!!_0x5cd1ca[_0x3e0e14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e14([0x2a]))||!!_0x5cd1ca[_0x3e0e14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e14([0x55,0x50,0x4c,0x43])));}function _0xdb41f1(){const _0x5979af=_0x12d261[_0x3e0e14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5979af||0x0==_0x5979af[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25e1d1}=new URL(window[_0x3e0e14([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5979af[_0x3e0e14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25e1d1))return!0x0;const _0x5a774b=_0x25e1d1[_0x3e0e14([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e14([0x2e]));return _0x5979af[_0x3e0e14([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e3c77=>_0x3e3c77[_0x3e0e14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0e14([0x2a])))[_0x3e0e14([0x6d,0x61,0x70])](_0x4ce2cd=>_0x4ce2cd[_0x3e0e14([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e14([0x2e])))[_0x3e0e14([0x73,0x6f,0x6d,0x65])](_0xac2377=>_0x5a774b[_0x3e0e14([0x65,0x76,0x65,0x72,0x79])]((_0xb6a60b,_0x3c5883)=>_0xac2377[_0x3c5883]===_0xb6a60b||_0xac2377[_0x3c5883]===_0x3e0e14([0x2a])));}function _0x224e6d(){return _0x4f680b&&_0x426f9e?new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1df12a,_0x1bcf77)=>{_0x4f680b[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x1df12a,_0x1bcf77),_0x426f9e[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x57a627=>{_0x57a627!=_0x3e0e14([0x56,0x61,0x6c,0x69,0x64])&&_0x1df12a(_0x57a627);},_0x1bcf77);}):_0x4f680b||_0x426f9e||_0x3e0e14([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4eb325(_0x3f8f6c,_0x55f4ec){return new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e790c=>{if(_0x359148())return _0x1e790c(_0x3e0e14([0x56,0x61,0x6c,0x69,0x64]));_0x5f9127(),_0x1def2b[_0x3e0e14([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e0e14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1da3a3=!0x1;const _0x51663d=_0x419551();function _0x2b44ad(_0x523748){return!!_0x523748&&(typeof _0x523748===_0x3e0e14([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x523748===_0x3e0e14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x523748[_0x3e0e14([0x74,0x68,0x65,0x6e])]===_0x3e0e14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x523748[_0x3e0e14([0x63,0x61,0x74,0x63,0x68])]===_0x3e0e14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14db79(_0x3d92f6){_0x34afb4(_0x3d92f6)[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x41dffe=>{if(!_0x41dffe||_0x41dffe[_0x3e0e14([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e0e14([0x6f,0x6b]))return _0x3e0e14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x565b3e(_0x287940(_0x51663d+_0x55f4ec))!=_0x41dffe[_0x3e0e14([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e0e14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0e14([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x3f1e65=>(_0x1a08a3(),_0x3f1e65),()=>{const _0x56b1a4=_0x4fb615();return null==_0x56b1a4?(_0x1a08a3(),_0x3e0e14([0x56,0x61,0x6c,0x69,0x64])):_0x3e0e14(_0x3c9024-_0x56b1a4>(0x7446443c^_0x17a952)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x1e790c)[_0x3e0e14([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e790c(_0x3e0e14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x585ba6=0x507c2ebc^_0x17a952;function _0x1a08a3(){const _0x43b3be=_0x3e0e14([0x6c,0x6c,0x63,0x74,0x2d])+_0x565b3e(_0x287940(_0x3f8f6c)),_0x4d4e04=_0x243cc0(_0x565b3e(window[_0x3e0e14([0x4d,0x61,0x74,0x68])][_0x3e0e14([0x63,0x65,0x69,0x6c])](_0x3c9024/_0x585ba6)));window[_0x3e0e14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0e14([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43b3be,_0x4d4e04);}function _0x4fb615(){const _0x579dfe=_0x3e0e14([0x6c,0x6c,0x63,0x74,0x2d])+_0x565b3e(_0x287940(_0x3f8f6c)),_0x555367=window[_0x3e0e14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0e14([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x579dfe);return _0x555367?window[_0x3e0e14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243cc0(_0x555367),0x10)*_0x585ba6:null;}function _0x34afb4(_0x13dcd0){return new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53b4c7,_0x6d1b60)=>{_0x13dcd0[_0x3e0e14([0x74,0x68,0x65,0x6e])](_0x53b4c7,_0x6d1b60),window[_0x3e0e14([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6d1b60,0x504b14fc^_0x17a952);});}}_0x1def2b[_0x3e0e14([0x6f,0x6e])](_0x3e0e14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x837551,_0x22b481)=>{if(_0x22b481[0x0]!=_0x3f8f6c)return _0x1e790c(_0x3e0e14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22b481[0x1]={..._0x22b481[0x1],[_0x3e0e14([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51663d};},{[_0x3e0e14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0e14([0x68,0x69,0x67,0x68])}),_0x1def2b[_0x3e0e14([0x6f,0x6e])](_0x3e0e14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17a7ef=>{_0x2b44ad(_0x17a7ef[_0x3e0e14([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1da3a3=!0x0,_0x14db79(_0x17a7ef[_0x3e0e14([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e0e14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0e14([0x6c,0x6f,0x77])}),_0x1d940d[_0x3e0e14([0x74,0x68,0x65,0x6e])](()=>{_0x1da3a3||_0x1e790c(_0x3e0e14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x359148(){return _0x1def2b[_0x3e0e14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0e14([0x76,0x69,0x65,0x77])][_0x3e0e14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e0e14([0x61,0x75,0x74,0x6f]);}function _0x5f9127(){_0x1def2b[_0x3e0e14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0e14([0x76,0x69,0x65,0x77])][_0x3e0e14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e0e14([0x61,0x75,0x74,0x6f]);}}function _0x45f984(_0x104de8){const _0x9e7c1a=[new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15a006=>setTimeout(_0x15a006,0x5043fef0^_0x17a952)),_0x1d940d[_0x3e0e14([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x127074=>{let _0x22d25a=0x0;_0x1def2b[_0x3e0e14([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e14([0x6f,0x6e])](_0x3e0e14([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22b4ed,_0x5561e0)=>{_0x5561e0[0x0][_0x3e0e14([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22d25a++,_0x22d25a==(0x504ac1c4^_0x17a952)&&(_0x127074(),_0x22b4ed[_0x3e0e14([0x6f,0x66,0x66])]());});}))];return window[_0x3e0e14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e0e14([0x72,0x61,0x63,0x65])](_0x9e7c1a)[_0x3e0e14([0x74,0x68,0x65,0x6e])](()=>_0x104de8);}async function _0x5df3f7(){await _0x1d940d,_0x1def2b[_0x3e0e14([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e14([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a4515,_0x1def2b[_0x3e0e14([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0e14([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a4515,_0x1def2b[_0x3e0e14([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e0e14([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e038d(_0x83f68a){const _0x47441b=_0x259b48();_0x1def2b[_0x47441b]=_0x3e0e14([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x83f68a,_0x83f68a!=_0x3e0e14([0x56,0x61,0x6c,0x69,0x64])&&_0x5df3f7();}function _0x259b48(){const _0x4ccdfe=window[_0x3e0e14([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e0e14([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e0e14([0x6e,0x6f,0x77])]())[_0x3e0e14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e0e14([0x2e]),'');let _0x220a55=_0x3e0e14([0x6a]);for(let _0x1d136e=0x0;_0x1d136e<_0x4ccdfe[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d136e+=0x2){let _0x736095=window[_0x3e0e14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ccdfe[_0x3e0e14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d136e,_0x1d136e+0x2));_0x736095>=_0x40ad9f[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x736095-=_0x40ad9f[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x220a55+=_0x40ad9f[_0x736095];}return _0x220a55;}function _0x506038(){const _0x400057=_0x5da21f[_0x3e0e14([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e14([0x2e]));if(0x3!=_0x400057[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x436725(_0x400057[0x1]);function _0x436725(_0x5ac58e){const _0x58a722=_0x2524ff(_0x5ac58e);return _0x58a722&&_0x6996ce()?_0x58a722:null;function _0x6996ce(){const _0x59a839=_0x58a722[_0x3e0e14([0x6a,0x74,0x69])],_0x3047b7=window[_0x3e0e14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a839[_0x3e0e14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a839[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39d1bc={..._0x58a722,[_0x3e0e14([0x6a,0x74,0x69])]:_0x59a839[_0x3e0e14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a839[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39d1bc[_0x3e0e14([0x76,0x63])],_0x287940(_0x39d1bc)==_0x3047b7;}}}async function _0x1d88bc(){let _0x3a1bb0=!0x0;try{const _0x3b4ba8=_0x5da21f[_0x3e0e14([0x73,0x70,0x6c,0x69,0x74])](_0x3e0e14([0x2e])),[_0x61ab30,_0x1a7282,_0x1896d5]=_0x3b4ba8;return _0x5d4ba5(_0x61ab30),await _0x5a1fdb(_0x61ab30,_0x1a7282,_0x1896d5),_0x3a1bb0;}catch(_0x2c0cf6){return!0x1;}function _0x5d4ba5(_0x37bff7){const _0x280670=_0x2524ff(_0x37bff7);_0x280670&&_0x280670[_0x3e0e14([0x61,0x6c,0x67])]==_0x3e0e14([0x45,0x53,0x32,0x35,0x36])||(_0x3a1bb0=!0x1);}async function _0x5a1fdb(_0xfcad30,_0x564792,_0x3a6f2d){const _0x4fc9d4=window[_0x3e0e14([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e0e14([0x66,0x72,0x6f,0x6d])](_0x2d4aa4(_0x3a6f2d),_0x1bcf38=>_0x1bcf38[_0x3e0e14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x287586=new window[(_0x3e0e14([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e0e14([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfcad30+_0x3e0e14([0x2e])+_0x564792),_0x13b527=window[_0x3e0e14([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e0e14([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13b527)return;const _0xe6488f=await _0x13b527[_0x3e0e14([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e0e14([0x6a,0x77,0x6b]),_0x5921d7,{[_0x3e0e14([0x6e,0x61,0x6d,0x65])]:_0x3e0e14([0x45,0x43,0x44,0x53,0x41]),[_0x3e0e14([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e0e14([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e0e14([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13b527[_0x3e0e14([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e0e14([0x6e,0x61,0x6d,0x65])]:_0x3e0e14([0x45,0x43,0x44,0x53,0x41]),[_0x3e0e14([0x68,0x61,0x73,0x68])]:{[_0x3e0e14([0x6e,0x61,0x6d,0x65])]:_0x3e0e14([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe6488f,_0x4fc9d4,_0x287586)||(_0x3a1bb0=!0x1);}}function _0x2524ff(_0x36c15a){return _0x36c15a[_0x3e0e14([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e0e14([0x65,0x79]))?JSON[_0x3e0e14([0x70,0x61,0x72,0x73,0x65])](_0x2d4aa4(_0x36c15a)):null;}function _0x2d4aa4(_0x5d56e6){return window[_0x3e0e14([0x61,0x74,0x6f,0x62])](_0x5d56e6[_0x3e0e14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e0e14([0x2b]))[_0x3e0e14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e0e14([0x2f])));}function _0x287940(_0x419332){let _0x53e9ab=0x1505;function _0x3533cb(_0x3fc852){for(let _0x5c9ab1=0x0;_0x5c9ab1<_0x3fc852[_0x3e0e14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9ab1++){const _0x2df074=_0x3fc852[_0x3e0e14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c9ab1);_0x53e9ab=(_0x53e9ab<<0x5)+_0x53e9ab+_0x2df074,_0x53e9ab&=_0x53e9ab;}}function _0x22fcdc(_0x147d3a){Array[_0x3e0e14([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x147d3a)?_0x147d3a[_0x3e0e14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22fcdc):_0x147d3a&&typeof _0x147d3a==_0x3e0e14([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e0e14([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x147d3a)[_0x3e0e14([0x73,0x6f,0x72,0x74])]()[_0x3e0e14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e5971,_0x4aa9d4])=>{_0x3533cb(_0x4e5971),_0x22fcdc(_0x4aa9d4);}):_0x3533cb(window[_0x3e0e14([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x147d3a));}return _0x22fcdc(_0x419332),_0x53e9ab>>>0x0;}function _0x565b3e(_0x57244e){return _0x57244e[_0x3e0e14([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e0e14([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e0e14([0x30]));}function _0x243cc0(_0x1bc851){return _0x1bc851[_0x3e0e14([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e0e14([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e0e14([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a4515(){}function _0x3e0e14(_0x1ab4fb){return _0x1ab4fb['map'](_0x31d7f0=>String['fromCharCode'](_0x31d7f0))['join']('');}_0x5e038d(await _0x5bbc7a());}(this);}['_initSchema'](){const _0x560989=this['editor']['model']['schema'];_0x560989['isRegistered']('imageBlock')&&_0x560989['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x560989['isRegistered']('imageInline')&&_0x560989['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x20af9f=this['editor'];_0x20af9f['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x20af9f['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5f47c6=>_0x5f47c6['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x26a270=_0x20af9f['commands']['get']('replaceImageSource');_0x26a270&&this['listenTo'](_0x26a270,'cleanupImage',(_0x3e6f9f,[_0xf0a40e,_0x3f70b8])=>{_0xf0a40e['removeAttribute']('uploadcareImageId',_0x3f70b8);});}['_initConfig'](){const _0x3af031=this['editor']['config']['get']('uploadcare.uploader')||{},_0x25a24a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x76639e(_0x1cdeb7['document'],'uc-config',{..._0x3af031,'pubkey':_0x25a24a,'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']=_0x4c81c7=>{if('closeMax'==_0x4c81c7)return'#uc-icon-arrow-down';},_0x1cdeb7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x76639e(_0x1cdeb7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1cdeb7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4a2524=this['editor']['commands']['get']('insertImage');_0x4a2524&&this['listenTo'](_0x4a2524,'execute',()=>{const _0x2cf9fa=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2cf9fa&&_0x2cf9fa['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2cf9fa);});});const _0x1f2d21=this['editor']['commands']['get']('uploadcareImageReplace');_0x1f2d21&&this['listenTo'](_0x1f2d21,'execute',()=>{const _0x41dda0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41dda0&&_0x41dda0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x41dda0);});});}}class u extends _0x1ea684{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4eaf7a){super(_0x4eaf7a),_0x4eaf7a['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x44e753['defineComponents'](_0x44e753);}}class ta extends _0x15b594{constructor(_0x11a391){super(_0x11a391);const t=_0x11a391['t'],_0x406b70=this['bindTemplate'],_0x2f80be=new _0xf8fcb3();_0x2f80be['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':[_0x2f80be,{'text':_0x406b70['to']('imageUploadProgress',_0x27870b=>t('Loading\x20image...')+'\x20('+(_0x27870b||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 _0x15b594{constructor(_0x2ccc5f){super(_0x2ccc5f);const t=_0x2ccc5f['t'];this['set']('errorType',null);const _0x9f87c3=new _0x41db23(_0x2ccc5f);_0x9f87c3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x9f87c3['withText']=!0x0,_0x9f87c3['class']='ck-button-action',_0x9f87c3['on']('execute',()=>{this['fire']('retry');}),_0x9f87c3['bind']('isVisible')['to'](this,'errorType',_0x2687dc=>'NotFound'!==_0x2687dc);const _0x27602f=new at();_0x27602f['content']=et,_0x27602f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x195fd7=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':[_0x27602f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x195fd7['to']('errorType',_0x4e0918=>t('NotFound'!==_0x4e0918?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x9f87c3]},{'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 _0x15b594{constructor(_0x28cd22,_0x5c1684){super(_0x28cd22);const _0x233fe9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5c1684,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x233fe9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xc80601,_0x2c3d70,_0x14ebd){super(_0xc80601),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xc80601),this['_errorView']=new rt(_0xc80601),this['_editingView']=new tt(_0xc80601,_0x14ebd),this['_focusableView']=new _0x15b594(_0xc80601),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2c3d70),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'],_0x15be29=>{this['_addUploadcareImageEditorListeners'](_0x15be29);});}),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'](_0x33ae43,_0x3783eb){const _0x5bdaa7='uc-cloud-image-editor',_0x3a6260=_0x33ae43['querySelector'](_0x5bdaa7);if(_0x3a6260)return _0x3783eb(_0x3a6260);const _0x502f12=new MutationObserver(_0x164d86=>{const _0x46d580=_0x164d86['filter'](_0x59e457=>_0x59e457['target']===_0x33ae43&&_0x59e457['addedNodes']['length']>0x0&&_0x59e457['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5bdaa7);_0x46d580['length']&&(_0x502f12['disconnect'](),_0x3783eb(_0x46d580[0x0]['addedNodes'][0x0]));});_0x502f12['observe'](_0x33ae43,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x260961){_0x260961['addEventListener']('apply',_0x4ad96f=>{this['fire']('apply',{'imageSrc':_0x4ad96f['detail']['cdnUrl']});}),_0x260961['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x3284b9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x303034,_0x57ad65,_0x5ad739){super(),this['_editor']=_0x303034,this['_dialog']=_0x57ad65,this['_imageElement']=_0x5ad739,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 _0x51c710=this['_imageElement'],_0x5be057=_0x51c710['getAttribute']('uploadcareImageId'),_0x4fced1=_0x51c710['getAttribute']('src');if(_0x5be057)await this['_loadImageInfo'](_0x5be057,_0x4fced1);else{if(this['_imageCache']['has'](_0x4fced1)){const _0x43ead1=this['_imageCache']['get'](_0x4fced1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43ead1['url'],this['imageDimension']=_0x43ead1['dimension'],this['imageId']=_0x43ead1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x21756c}=this['_editor'],t=_0x21756c['t'],_0x13926b=new Z(_0x21756c,this['imageStatus'],this['_attributes']);_0x13926b['bind']('status')['to'](this,'imageStatus'),_0x13926b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x13926b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x13926b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x13926b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a1503,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x13926b,'position':_0x4b51b9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x13926b['focus']();},'onHide':()=>{_0x13926b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b014b=>!F(_0x1b014b,_0x13926b['element'])}});}['_loadImageInfo'](_0x19726e,_0x5668ba){return C['getInfo'](_0x19726e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x370339=>{const {width:_0x2e23e7,height:_0x24d9f0}=_0x370339['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5668ba,this['imageDimension']={'width':_0x2e23e7,'height':_0x24d9f0},this['imageId']=_0x19726e;})['catch'](_0x2398e5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2398e5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x555594,_0x599eac){return this['_getImageAsFile'](_0x555594)['then'](_0x3fd887=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x599eac['signal'],'file':_0x3fd887,'onProgress':_0x27017c=>{_0x27017c&&_0x27017c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27017c['value']));}}))['then'](_0x16d449=>{const {width:_0x2d7091,height:_0x4c38bd}=_0x16d449['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16d449['cdnUrl'],this['imageDimension']={'width':_0x2d7091,'height':_0x4c38bd},this['imageId']=_0x16d449['uuid'],this['imageUploadProgress']=null;const _0x2e7d55=_0x555594['getAttribute']('src');this['_imageCache']['set'](_0x2e7d55,{'id':_0x16d449['uuid'],'url':_0x16d449['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x42fce5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42fce5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x7efe60,_0x1c9cb1){_0x7efe60['on']('apply',(_0x38dfb1,_0x5d2570)=>{this['_replaceImage'](_0x1c9cb1,_0x5d2570['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x7efe60['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x7efe60['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x290f04,_0x517433,_0x56a35e){const _0x76a133=this['_editor'],{width:_0x5aceaa,height:_0x11eb8b}=A(_0x517433,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x285bf3,imageSources:_0x5e63e2}=E(_0x517433,_0x5aceaa);_0x76a133['model']['change'](_0x48a48d=>{if('$graveyard'===_0x290f04['root']['rootName']){_0x76a133['execute']('insertImage',{'imageType':_0x290f04['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x290f04['getAttributes']()),'uploadcareImageId':_0x56a35e,'src':_0x285bf3,'sources':_0x5e63e2,'width':_0x5aceaa,'height':_0x11eb8b}});const _0x239bed=_0x290f04['getChildren']();_0x290f04=_0x76a133['model']['document']['selection']['getSelectedElement']();for(const _0xab0093 of _0x239bed)_0x48a48d['append'](_0x48a48d['cloneElement'](_0xab0093),_0x290f04);}else _0x48a48d['setSelection'](_0x290f04,'on'),_0x76a133['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x290f04['getAttributes']()),'uploadcareImageId':_0x56a35e,'src':_0x285bf3,'sources':_0x5e63e2,'width':_0x5aceaa,'height':_0x11eb8b},_0x290f04);_0x48a48d['setSelection'](_0x290f04,'on');});}async['_getImageAsFile'](_0x25fc3a){const _0x3faedd=_0x1cdeb7['window'],_0x4015d3=_0x1cdeb7['document']['location']['href'],_0x29f0a7=new _0x3faedd['URL'](_0x25fc3a['getAttribute']('src'),_0x4015d3);if('data:'===_0x29f0a7['protocol']){const _0x410fa9=_0x29f0a7['href']['split'](','),_0x5e2579=_0x410fa9[0x0]['match'](/:(.*?);/)[0x1],_0x2c054b=_0x5e2579['split']('/')[0x1],_0x1cf47e=_0x3faedd['atob'](_0x410fa9[_0x410fa9['length']-0x1]);let _0x463da7=_0x1cf47e['length'];const _0x2ffe36=new _0x3faedd['Uint8Array'](_0x463da7);for(;_0x463da7--;)_0x2ffe36[_0x463da7]=_0x1cf47e['charCodeAt'](_0x463da7);return new _0x3faedd['File']([_0x2ffe36],'image.'+_0x2c054b,{'type':_0x5e2579});}const _0x369c2f=_0x29f0a7['href']['split']('/'),_0x116683=_0x369c2f[_0x369c2f['length']-0x1],_0x17b586=_0x116683['split']('.')[0x1];return _0x3faedd['fetch'](_0x29f0a7['href'])['then'](_0x366049=>_0x366049['clone']()['blob']())['then'](_0x273e2e=>new _0x3faedd['File']([_0x273e2e],_0x116683,{'type':'image/'+_0x17b586}));}}class J extends _0x116f96{['imageEditController'];static get['requires'](){return[_0x1c3622];}['_isEditable'];constructor(_0x3ae546){super(_0x3ae546),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x55a581){const _0x505098=V(_0x55a581);return _0x3a1cf6=>!(!_0x3a1cf6||!_0x3a1cf6['is']('element','imageBlock')&&!_0x3a1cf6['is']('element','imageInline'))&&(!!_0x3a1cf6['hasAttribute']('uploadcareImageId')||!!_0x3a1cf6['hasAttribute']('src')&&_0x505098(_0x3a1cf6['getAttribute']('src')));}(_0x3ae546['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2f637d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2f637d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1af169=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1af169&&(_0x1af169['is']('element','imageBlock')||_0x1af169['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1c3622),_0x1af169),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x116f96{['refresh'](){const _0x115aee=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x115aee&&(_0x115aee['is']('element','imageBlock')||_0x115aee['is']('element','imageInline')));}['execute'](_0x3c5461){const _0x5c47d2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x156030=>{_0x156030['setAttributes'](_0x3c5461,_0x5c47d2),_0x156030['removeAttribute']('srcset',_0x5c47d2),_0x156030['removeAttribute']('sizes',_0x5c47d2);});}}class g extends _0x1ea684{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x525d53,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b4910}=this;_0x1b4910['commands']['add']('uploadcareImageEdit',new J(_0x1b4910)),_0x1b4910['commands']['add']('uploadcareImageReplace',new O(_0x1b4910));}}class j extends _0x1ea684{['_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 _0x11484b=this['editor'];_0x11484b['ui']['componentFactory']['add']('uploadcareImageEdit',_0xe3097a=>{const _0xf8ba50=_0x11484b['commands']['get']('uploadcareImageEdit'),_0x5bdf35=new _0x41db23(_0xe3097a),t=_0xe3097a['t'];return _0x5bdf35['set']({'icon':_0x4a1503,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5bdf35['bind']('isEnabled')['to'](_0xf8ba50),_0x5bdf35['bind']('isOn')['to'](_0xf8ba50,'isActive'),this['listenTo'](_0x5bdf35,'execute',()=>{_0x11484b['execute']('uploadcareImageEdit'),_0x11484b['editing']['view']['focus']();}),_0x5bdf35;}),this['_initConfig']();}['_initConfig'](){const _0x3d6ecb=_0x76639e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3d6ecb),this['listenTo'](this['editor'],'destroy',()=>{_0x3d6ecb['remove']();});}}class P extends _0x1ea684{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':_0x5e8bc6=>0x1!=_0x5e8bc6}};
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':_0x541c90=>0x1!=_0x541c90}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4234f1=>{const {af:{dictionary:_0x88f6fb,getPluralForm:_0x5d72ce}}={'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':_0x358bd1=>0x1!=_0x358bd1}};_0x4234f1['af']||={'dictionary':{},'getPluralForm':null},_0x4234f1['af']['dictionary']=Object['assign'](_0x4234f1['af']['dictionary'],_0x88f6fb),_0x4234f1['af']['getPluralForm']=_0x5d72ce;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x76c7e6=>{const {af:{dictionary:_0x2de845,getPluralForm:_0x549d11}}={'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':_0x5fe4b8=>0x1!=_0x5fe4b8}};_0x76c7e6['af']||={'dictionary':{},'getPluralForm':null},_0x76c7e6['af']['dictionary']=Object['assign'](_0x76c7e6['af']['dictionary'],_0x2de845),_0x76c7e6['af']['getPluralForm']=_0x549d11;})(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':_0x8ae787=>0x0==_0x8ae787?0x0:0x1==_0x8ae787?0x1:0x2==_0x8ae787?0x2:_0x8ae787%0x64>=0x3&&_0x8ae787%0x64<=0xa?0x3:_0x8ae787%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':_0x5c37bd=>0x0==_0x5c37bd?0x0:0x1==_0x5c37bd?0x1:0x2==_0x5c37bd?0x2:_0x5c37bd%0x64>=0x3&&_0x5c37bd%0x64<=0xa?0x3:_0x5c37bd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x41b0d5=>{const {ar:{dictionary:_0x8c7ed7,getPluralForm:_0x12969b}}={'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':_0x232962=>0x0==_0x232962?0x0:0x1==_0x232962?0x1:0x2==_0x232962?0x2:_0x232962%0x64>=0x3&&_0x232962%0x64<=0xa?0x3:_0x232962%0x64>=0xb?0x4:0x5}};_0x41b0d5['ar']||={'dictionary':{},'getPluralForm':null},_0x41b0d5['ar']['dictionary']=Object['assign'](_0x41b0d5['ar']['dictionary'],_0x8c7ed7),_0x41b0d5['ar']['getPluralForm']=_0x12969b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4cab40=>{const {ar:{dictionary:_0x1f5d30,getPluralForm:_0x24d4c6}}={'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':_0x18189b=>0x0==_0x18189b?0x0:0x1==_0x18189b?0x1:0x2==_0x18189b?0x2:_0x18189b%0x64>=0x3&&_0x18189b%0x64<=0xa?0x3:_0x18189b%0x64>=0xb?0x4:0x5}};_0x4cab40['ar']||={'dictionary':{},'getPluralForm':null},_0x4cab40['ar']['dictionary']=Object['assign'](_0x4cab40['ar']['dictionary'],_0x1f5d30),_0x4cab40['ar']['getPluralForm']=_0x24d4c6;})(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':_0x24f0bc=>0x1!=_0x24f0bc}};
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':_0x7a658e=>0x1!=_0x7a658e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a3764=>{const {ast:{dictionary:_0x5c095d,getPluralForm:_0x2dd2e8}}={'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':_0x14b71d=>0x1!=_0x14b71d}};_0x5a3764['ast']||={'dictionary':{},'getPluralForm':null},_0x5a3764['ast']['dictionary']=Object['assign'](_0x5a3764['ast']['dictionary'],_0x5c095d),_0x5a3764['ast']['getPluralForm']=_0x2dd2e8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b1f00=>{const {ast:{dictionary:_0x44aa83,getPluralForm:_0x1f627f}}={'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':_0x3d40a7=>0x1!=_0x3d40a7}};_0x2b1f00['ast']||={'dictionary':{},'getPluralForm':null},_0x2b1f00['ast']['dictionary']=Object['assign'](_0x2b1f00['ast']['dictionary'],_0x44aa83),_0x2b1f00['ast']['getPluralForm']=_0x1f627f;})(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':_0xdf960=>0x1!=_0xdf960}};
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':_0x102cb2=>0x1!=_0x102cb2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c4d2f=>{const {az:{dictionary:_0x280dd8,getPluralForm:_0x37f620}}={'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':_0x1e5e1d=>0x1!=_0x1e5e1d}};_0x3c4d2f['az']||={'dictionary':{},'getPluralForm':null},_0x3c4d2f['az']['dictionary']=Object['assign'](_0x3c4d2f['az']['dictionary'],_0x280dd8),_0x3c4d2f['az']['getPluralForm']=_0x37f620;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2971f9=>{const {az:{dictionary:_0x1b2dd1,getPluralForm:_0x187782}}={'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':_0xb4f252=>0x1!=_0xb4f252}};_0x2971f9['az']||={'dictionary':{},'getPluralForm':null},_0x2971f9['az']['dictionary']=Object['assign'](_0x2971f9['az']['dictionary'],_0x1b2dd1),_0x2971f9['az']['getPluralForm']=_0x187782;})(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':_0x114f6a=>_0x114f6a%0xa==0x1&&_0x114f6a%0x64!=0xb?0x0:_0x114f6a%0xa>=0x2&&_0x114f6a%0xa<=0x4&&(_0x114f6a%0x64<0xa||_0x114f6a%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':_0x236adc=>_0x236adc%0xa==0x1&&_0x236adc%0x64!=0xb?0x0:_0x236adc%0xa>=0x2&&_0x236adc%0xa<=0x4&&(_0x236adc%0x64<0xa||_0x236adc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38b91e=>{const {be:{dictionary:_0x126136,getPluralForm:_0x23468a}}={'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':_0x307c3a=>_0x307c3a%0xa==0x1&&_0x307c3a%0x64!=0xb?0x0:_0x307c3a%0xa>=0x2&&_0x307c3a%0xa<=0x4&&(_0x307c3a%0x64<0xa||_0x307c3a%0x64>=0x14)?0x1:0x2}};_0x38b91e['be']||={'dictionary':{},'getPluralForm':null},_0x38b91e['be']['dictionary']=Object['assign'](_0x38b91e['be']['dictionary'],_0x126136),_0x38b91e['be']['getPluralForm']=_0x23468a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x103d36=>{const {be:{dictionary:_0x6f6e75,getPluralForm:_0x417863}}={'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':_0x53aeec=>_0x53aeec%0xa==0x1&&_0x53aeec%0x64!=0xb?0x0:_0x53aeec%0xa>=0x2&&_0x53aeec%0xa<=0x4&&(_0x53aeec%0x64<0xa||_0x53aeec%0x64>=0x14)?0x1:0x2}};_0x103d36['be']||={'dictionary':{},'getPluralForm':null},_0x103d36['be']['dictionary']=Object['assign'](_0x103d36['be']['dictionary'],_0x6f6e75),_0x103d36['be']['getPluralForm']=_0x417863;})(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':_0x53872e=>0x1!=_0x53872e}};
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':_0x253e41=>0x1!=_0x253e41}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e7201=>{const {bg:{dictionary:_0x22d6e5,getPluralForm:_0x606ef7}}={'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':_0x47581b=>0x1!=_0x47581b}};_0x1e7201['bg']||={'dictionary':{},'getPluralForm':null},_0x1e7201['bg']['dictionary']=Object['assign'](_0x1e7201['bg']['dictionary'],_0x22d6e5),_0x1e7201['bg']['getPluralForm']=_0x606ef7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56c271=>{const {bg:{dictionary:_0x26d652,getPluralForm:_0x3bbffc}}={'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':_0x545316=>0x1!=_0x545316}};_0x56c271['bg']||={'dictionary':{},'getPluralForm':null},_0x56c271['bg']['dictionary']=Object['assign'](_0x56c271['bg']['dictionary'],_0x26d652),_0x56c271['bg']['getPluralForm']=_0x3bbffc;})(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':_0x3a09c4=>0x1!=_0x3a09c4}};
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':_0x1bd49e=>0x1!=_0x1bd49e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x532c91=>{const {bn:{dictionary:_0x49c00d,getPluralForm:_0x12cdd4}}={'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':_0x44f75b=>0x1!=_0x44f75b}};_0x532c91['bn']||={'dictionary':{},'getPluralForm':null},_0x532c91['bn']['dictionary']=Object['assign'](_0x532c91['bn']['dictionary'],_0x49c00d),_0x532c91['bn']['getPluralForm']=_0x12cdd4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15f949=>{const {bn:{dictionary:_0x2170b8,getPluralForm:_0x1de8ec}}={'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':_0x4d5c56=>0x1!=_0x4d5c56}};_0x15f949['bn']||={'dictionary':{},'getPluralForm':null},_0x15f949['bn']['dictionary']=Object['assign'](_0x15f949['bn']['dictionary'],_0x2170b8),_0x15f949['bn']['getPluralForm']=_0x1de8ec;})(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':_0x2043d8=>_0x2043d8%0xa==0x1&&_0x2043d8%0x64!=0xb?0x0:_0x2043d8%0xa>=0x2&&_0x2043d8%0xa<=0x4&&(_0x2043d8%0x64<0xa||_0x2043d8%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':_0x3d9982=>_0x3d9982%0xa==0x1&&_0x3d9982%0x64!=0xb?0x0:_0x3d9982%0xa>=0x2&&_0x3d9982%0xa<=0x4&&(_0x3d9982%0x64<0xa||_0x3d9982%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x219592=>{const {bs:{dictionary:_0x581f47,getPluralForm:_0x1fd0dc}}={'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':_0x11b63e=>_0x11b63e%0xa==0x1&&_0x11b63e%0x64!=0xb?0x0:_0x11b63e%0xa>=0x2&&_0x11b63e%0xa<=0x4&&(_0x11b63e%0x64<0xa||_0x11b63e%0x64>=0x14)?0x1:0x2}};_0x219592['bs']||={'dictionary':{},'getPluralForm':null},_0x219592['bs']['dictionary']=Object['assign'](_0x219592['bs']['dictionary'],_0x581f47),_0x219592['bs']['getPluralForm']=_0x1fd0dc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4522f2=>{const {bs:{dictionary:_0x277469,getPluralForm:_0x58c61f}}={'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':_0x41f0b0=>_0x41f0b0%0xa==0x1&&_0x41f0b0%0x64!=0xb?0x0:_0x41f0b0%0xa>=0x2&&_0x41f0b0%0xa<=0x4&&(_0x41f0b0%0x64<0xa||_0x41f0b0%0x64>=0x14)?0x1:0x2}};_0x4522f2['bs']||={'dictionary':{},'getPluralForm':null},_0x4522f2['bs']['dictionary']=Object['assign'](_0x4522f2['bs']['dictionary'],_0x277469),_0x4522f2['bs']['getPluralForm']=_0x58c61f;})(window['CKEDITOR_TRANSLATIONS']||={});