@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251216.0 → 0.0.0-nightly-next-20251216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x262ce5,Command as _0x5d7b2d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4ae2e3,IconGooglePhotos as _0x518993,IconGoogleDrive as _0x38c07e,IconFacebook as _0x5ddc58,IconDropbox as _0x30484c,IconUploadcareLink as _0x1dc64c,IconUploadcareImageUpload as _0x11923d,IconError as _0x4d70d3,IconUploadcareImageEdit as _0x902bf1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xfb81be,MenuBarMenuListItemButtonView as _0x14d348,View as _0x2b0baa,FocusCycler as _0x4953cc,Dialog as _0x2d3411,DialogViewPosition as _0x5201d1,SpinnerView as _0x40f25e,IconView as _0x893ab0,Notification as _0x298ec2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5864f2,DomEmitterMixin as _0x369a15,global as _0x305a75,getAncestors as _0x5ded42,ObservableMixin as _0x8ad4a1,uid as _0x149acc,createElement as _0x4246ba}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x51e047}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1e428e,info as _0x50577f}from'@uploadcare/upload-client';import*as _0x147a67 from'@uploadcare/file-uploader';var i=function(_0xc3e0cf){return _0xc3e0cf['Local']='local',_0xc3e0cf['URL']='url',_0xc3e0cf['Dropbox']='dropbox',_0xc3e0cf['GDrive']='gdrive',_0xc3e0cf['Facebook']='facebook',_0xc3e0cf['GPhotos']='gphotos',_0xc3e0cf['OneDrive']='onedrive',_0xc3e0cf;}({});function _(_0x2d785b,_0x2ca3c0,_0x5bf9af){const t=_0x2d785b['t'],_0x102fca=_0x2d785b['t'];switch(_0x2ca3c0){case i['Local']:return{'text':_0x102fca('Insert'===_0x5bf9af?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x102fca('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5bf9af?_0x102fca('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x102fca('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5bf9af?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5bf9af?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5bf9af?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5bf9af?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5bf9af?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ca3c0;}}class e extends _0x262ce5{['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 _0x1caa7d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x296199;for(const _0x130a60 in _0x1caa7d){const _0x1adec3=_0x130a60,_0x269be6=_0x1caa7d[_0x1adec3];if('uploadcareLicenseKeyValid'==_0x269be6||'uploadcareLicenseKeyInvalid'==_0x269be6||'uploadcareLicenseKeyExpired'==_0x269be6||'uploadcareLicenseKeyDomainLimit'==_0x269be6||'uploadcareLicenseKeyNotAllowed'==_0x269be6||'uploadcareLicenseKeyEvaluationLimit'==_0x269be6||'uploadcareLicenseKeyTrialLimit'==_0x269be6||'uploadcareLicenseKeyUsageLimit'==_0x269be6){delete _0x1caa7d[_0x1adec3],_0x296199=_0x269be6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x296199&&_0x1caa7d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x296199&&_0x1caa7d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x296199&&_0x1caa7d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x296199&&_0x1caa7d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x296199&&_0x1caa7d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x296199&&_0x1caa7d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x296199&&_0x1caa7d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1ee5b5}=this,_0x1dd2bb=_0x1ee5b5['commands']['get']('uploadcare');if(!_0x1dd2bb)return;const _0xbb13b3=this['_normalizeConfigSourceList'](_0x1ee5b5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x16a15b,_0x50a635)=>{const _0x51cf20=this['_getIntegrationKey'](_0x50a635['type']);return _0x16a15b[_0x51cf20]||(_0x16a15b[_0x51cf20]=[]),_0x16a15b[_0x51cf20]['push'](_0x50a635),_0x16a15b;},{});_0x1ee5b5['plugins']['has']('ImageInsertUI')&&_0x1ee5b5['commands']['get']('uploadcare')&&Object['entries'](_0xbb13b3)['forEach'](([_0x4986f2,_0x25b1c1])=>{_0x1ee5b5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4986f2,'observable':()=>_0x1dd2bb,'buttonViewCreator':()=>this['_createToolbarButton'](_0x25b1c1),'formViewCreator':()=>this['_createDropdownButtons'](_0x25b1c1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x25b1c1),'override':'assetManager'!==_0x4986f2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5846b7){const {locale:_0x2e8ece}=this['editor'];return _0x5846b7['map'](_0x4d1efb=>{const _0x52d918=_(_0x2e8ece,_0x4d1efb,'Insert');switch(_0x4d1efb){case i['Local']:return{'icon':_0x11923d,'type':i['Local'],..._0x52d918};case i['URL']:return{'icon':_0x1dc64c,'type':i['URL'],..._0x52d918};case i['Dropbox']:return{'icon':_0x30484c,'type':i['Dropbox'],..._0x52d918};case i['Facebook']:return{'icon':_0x5ddc58,'type':i['Facebook'],..._0x52d918};case i['GDrive']:return{'icon':_0x38c07e,'type':i['GDrive'],..._0x52d918};case i['GPhotos']:return{'icon':_0x518993,'type':i['GPhotos'],..._0x52d918};case i['OneDrive']:return{'icon':_0x4ae2e3,'type':i['OneDrive'],..._0x52d918};}});}['_getIntegrationKey'](_0x376629){switch(_0x376629){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xd30576,_0x4ff708){const _0x119e50=this['editor'],_0x1bc9b2=new _0xd30576(_0x119e50['locale']),_0x8b61f5=_0x119e50['commands']['get']('uploadcare');return _0x1bc9b2['bind']('isEnabled')['to'](_0x8b61f5),_0x1bc9b2['on']('execute',()=>{_0x8b61f5['execute'](_0x4ff708);}),_0x1bc9b2;}['_createToolbarButton'](_0x99cf04){const {locale:_0x3ff119}=this['editor'],_0x3e3b7a=this['editor']['plugins']['get']('ImageInsertUI'),_0x5e2c55=_0x99cf04[0x0],_0x156c12=this['_createButton'](_0xfb81be,_0x5e2c55['type']);return _0x156c12['icon']=_0x5e2c55['icon'],_0x156c12['bind']('label')['to'](_0x3e3b7a,'isImageSelected',_0x168495=>_(_0x3ff119,_0x5e2c55['type'],_0x168495?'Replace':'Insert')['text']),_0x156c12['tooltip']=!0x0,_0x156c12;}['_createDropdownButtons'](_0x294f9d){const {locale:_0x58cef8}=this['editor'],_0x434f63=this['editor']['plugins']['get']('ImageInsertUI');return _0x294f9d['map'](_0x4d7abd=>{const _0x5d3c40=this['_createButton'](_0xfb81be,_0x4d7abd['type']);return _0x5d3c40['withText']=!0x0,_0x5d3c40['icon']=_0x4d7abd['icon'],_0x5d3c40['bind']('label')['to'](_0x434f63,'isImageSelected',_0xe54f54=>_(_0x58cef8,_0x4d7abd['type'],_0xe54f54?'Replace':'Insert')['text']),_0x5d3c40;});}['_createMenuBarButtons'](_0x21bab8){return _0x21bab8['map'](_0x35e9b3=>{const _0x2df078=this['_createButton'](_0x14d348,_0x35e9b3['type']);return _0x2df078['icon']=_0x35e9b3['icon'],_0x2df078['label']=_0x35e9b3['shortText'],_0x2df078;});}}class F extends _0x2b0baa{['focusTracker'];['focusCycler'];constructor(_0x5b5155){super(_0x5b5155),this['focusTracker']=new _0x5864f2(),this['focusCycler']=new _0x4953cc({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x46233d,_0x5e019b){super(_0x46233d),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-'+_0x5e019b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5d948c,_0x26fab7){const _0x15339f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x38e437=>_0x38e437<=_0x26fab7)['map'](_0x4c1fb6=>_0x5d948c['replace'](/\/$/,'')+'/-/resize/'+_0x4c1fb6+'x/\x20'+_0x4c1fb6+'w');return{'imageFallbackUrl':_0x5d948c,'imageSources':[{'srcset':_0x15339f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x26fab7+'px)\x20100vw,\x20'+_0x26fab7+'px','type':'image/webp'}]};}function S(_0x458704,_0xfc16cb,_0x3f21f3){const _0x4b702f=_0x458704['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4b702f?parseInt(_0x4b702f[0x1],0xa):_0xfc16cb,'height':_0x4b702f?parseInt(_0x4b702f[0x2],0xa):_0x3f21f3};}function p(_0x369049,_0x1de5d7){const _0x1dc7e8=new(_0x369a15())(),_0x5653a0=_0x369049['plugins']['get']('ImageUtils'),_0x197812=_0x369049['editing']['mapper']['toViewElement'](_0x1de5d7),_0x39efc0=_0x5653a0['findViewImgElement'](_0x197812),_0x1a12b5=_0x369049['editing']['view']['domConverter']['viewToDom'](_0x39efc0),_0x37da3f=_0x1de5d7['getAttribute']('width'),_0x18564d=_0x1de5d7['getAttribute']('height'),_0x37a797='image-processing';_0x369049['editing']['view']['change'](_0x20c042=>{_0x20c042['addClass'](_0x37a797,_0x197812),_0x20c042['setStyle']('aspect-ratio',_0x37da3f+'/'+_0x18564d,_0x39efc0);}),_0x1dc7e8['listenTo'](_0x1a12b5,'load',()=>{_0x1dc7e8['stopListening'](_0x1a12b5,'load'),_0x369049['editing']['view']['change'](_0x725fff=>{_0x725fff['removeClass'](_0x37a797,_0x197812),_0x725fff['removeStyle']('aspect-ratio',_0x39efc0);});});}function z(_0x449560){if(Array['isArray'](_0x449560)){const _0x409657=_0x449560['map'](z);return _0x928774=>_0x409657['some'](_0x54d827=>_0x54d827(_0x928774));}if('origin'==_0x449560){const _0x2228c1=_0x305a75['window']['location']['origin'];return _0xcf363f=>new URL(_0xcf363f,_0x305a75['document']['baseURI'])['origin']==_0x2228c1;}return'function'==typeof _0x449560?_0x449560:_0x449560 instanceof RegExp?_0x307376=>!(!_0x307376['match'](_0x449560)&&!_0x307376['replace'](/^https?:\/\//,'')['match'](_0x449560)):()=>!0x1;}function A(_0x126798,_0x5256ed){return _0x5ded42(_0x126798['target'])['includes'](_0x5256ed);}class n extends/* #__PURE__ -- @preserve */
24
- _0x8ad4a1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4832a0,_0x341d8e,_0x402c9e){super(),this['_editor']=_0x4832a0,this['_editing']=_0x341d8e,this['_dialog']=_0x4832a0['plugins']['get'](_0x2d3411),this['_api']=_0x341d8e['ctxElement']['getAPI'](),this['_type']=_0x402c9e,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:_0x5adeb7,model:_0x3cdb1c}=this['_editor'],_0x3dd074=_0x3cdb1c['document']['selection']['getSelectedElement'](),_0x1174c9=_0x3dd074&&(_0x3dd074['is']('element','imageBlock')||_0x3dd074['is']('element','imageInline'));this['_formView']=new x(_0x5adeb7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x11923d,'title':_(_0x5adeb7,this['_type'],_0x1174c9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5201d1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x218291=>!A(_0x218291,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x302da0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x587bcf=>{const _0x4a87a6=_0x302da0['length'];for(const _0x4e8204 of _0x302da0){const _0x4972e3=_0x4e8204===_0x302da0[_0x4a87a6-0x1],{cdnUrl:_0x369a16,fileInfo:_0x258fc1}=_0x4e8204;if(!_0x369a16||!_0x258fc1)continue;const {width:_0x528b7d,height:_0x288679}=_0x258fc1['imageInfo'],_0x3437f0=S(_0x369a16,_0x528b7d,_0x288679),_0x34344d=C(_0x369a16,_0x3437f0['width']),_0x419053={'id':_0x258fc1['uuid'],'type':'image','attributes':{'imageDimension':_0x3437f0,..._0x34344d}};this['_insertAsset'](_0x419053,_0x4972e3,_0x587bcf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x40f907=>{'idle'===_0x40f907['detail']['status']&&!_0x40f907['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1b7a7e,_0x4282f0,_0x2a5f7d){const _0x2fed03=this['_editor']['model']['document']['selection'],_0x4f2924=_0x2fed03['getSelectedElement'](),_0x4c54e9=!(!_0x4f2924||!_0x4f2924['is']('element','imageInline'));_0x2a5f7d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1b7a7e,_0x4c54e9),_0x4282f0||_0x2a5f7d['setSelection'](_0x2fed03['getLastPosition']());}['_insertImage'](_0x33e79a,_0x462e4f){const _0x49b33f=this['_editor'],{imageDimension:_0x2af8b5,imageFallbackUrl:_0x43af72,imageSources:_0x5507d7}=_0x33e79a['attributes'];_0x49b33f['execute']('insertImage',{'imageType':_0x462e4f?'imageInline':null,'source':{'uploadcareImageId':_0x33e79a['id'],'src':_0x43af72,'sources':_0x5507d7,..._0x2af8b5}});}}class w extends _0x5d7b2d{['_editing'];['_controller']=null;static get['requires'](){return[_0x2d3411,o];}constructor(_0x1bdb27){super(_0x1bdb27),this['_editing']=_0x1bdb27['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x303c05){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x303c05);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x371f14,..._0x40e6fc}){return _0x1e428e(_0x371f14,_0x40e6fc);}static['getInfo'](_0x2b08e3,_0x2b9328){return _0x50577f(_0x2b08e3,_0x2b9328);}}class f extends _0x262ce5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51e047,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3899be=this['editor'];if(!!!_0x3899be['config']['get']('uploadcare'))return;_0x3899be['plugins']['get'](_0x51e047)['createUploadAdapter']=_0x2a4eb0=>new k(_0x2a4eb0,_0x3899be),_0x3899be['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x12b386,{imageElement:_0x3a2833,data:_0x397781})=>{_0x3899be['model']['change'](_0x3bcc24=>{_0x3bcc24['setAttribute']('uploadcareImageId',_0x397781['uploadcareImageId'],_0x3a2833);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x310464,_0x2231f7){this['loader']=_0x310464,this['editor']=_0x2231f7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x40984f=await this['loader']['file'];return j['upload']({'file':_0x40984f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x569d30=>{_0x569d30&&_0x569d30['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x569d30['value']);}})['then'](async _0xbe72a4=>{const {imageFallbackUrl:_0x445e91,imageSources:_0x42cd7a}=C(_0xbe72a4['cdnUrl'],_0xbe72a4['imageInfo']['width']);return{'uploadcareImageId':_0xbe72a4['uuid'],'default':_0x445e91,'sources':_0x42cd7a};})['catch'](()=>{const _0x1c8af6=t('Cannot\x20upload\x20file:')+('\x20'+_0x40984f['name']+'.');return Promise['reject'](_0x1c8af6);});}['abort'](){this['controller']['abort']();}}class o extends _0x262ce5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2d3411];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x573553){super(_0x573553),this['ucContextId']=_0x149acc();}['init'](){const _0x138597=this['editor'];_0x138597['commands']['add']('uploadcare',new w(_0x138597));}['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 _0x51a227=_0x305a75['document']['querySelector']('input[uploadcare-file-input]');_0x51a227&&_0x51a227['remove']();}),async function(_0x3168de){const _0x3940e2=_0xaa54ca([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2b4e4b=0x535f8c3a,_0x580ab0=0x5358f02a^_0x2b4e4b,_0x3ac94f=window[_0xaa54ca([0x44,0x61,0x74,0x65])][_0xaa54ca([0x6e,0x6f,0x77])](),_0x54c3fc=_0x3168de[_0xaa54ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x62a638=new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59e239=>{_0x54c3fc[_0xaa54ca([0x6f,0x6e,0x63,0x65])](_0xaa54ca([0x72,0x65,0x61,0x64,0x79]),_0x59e239);}),_0x4477ac={[_0xaa54ca([0x6b,0x74,0x79])]:_0xaa54ca([0x45,0x43]),[_0xaa54ca([0x75,0x73,0x65])]:_0xaa54ca([0x73,0x69,0x67]),[_0xaa54ca([0x63,0x72,0x76])]:_0xaa54ca([0x50,0x2d,0x32,0x35,0x36]),[_0xaa54ca([0x78])]:_0xaa54ca([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]),[_0xaa54ca([0x79])]:_0xaa54ca([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]),[_0xaa54ca([0x61,0x6c,0x67])]:_0xaa54ca([0x45,0x53,0x32,0x35,0x36])},_0x330206=_0x54c3fc[_0xaa54ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xaa54ca([0x67,0x65,0x74])](_0xaa54ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e4e20(){let _0x4c0511,_0x7618b8=null,_0x922897=null;try{if(_0x330206==_0xaa54ca([0x47,0x50,0x4c]))return _0xaa54ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c0511=_0x22ed8d(),!_0x4c0511)return _0xaa54ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c0511[_0xaa54ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x922897=_0x30d5c7(_0x4c0511[_0xaa54ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c0511[_0xaa54ca([0x6a,0x74,0x69])])),await _0x4f4609()?_0x5d333c()?_0xdb8f8a()?_0xaa54ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5bba48()?(_0x4c0511[_0xaa54ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaa54ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7618b8=_0x3bb98b(_0xaa54ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c0511[_0xaa54ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaa54ca([0x74,0x72,0x69,0x61,0x6c])&&(_0x7618b8=_0x3bb98b(_0xaa54ca([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3cfd48()):_0xaa54ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xaa54ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xaa54ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xaa54ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdb8f8a(){const _0x5ae654=[_0xaa54ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xaa54ca([0x74,0x72,0x69,0x61,0x6c])][_0xaa54ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0511[_0xaa54ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ac94f/0x3e8:0xe10*_0x580ab0;return _0x4c0511[_0xaa54ca([0x65,0x78,0x70])]<_0x5ae654;}function _0x5d333c(){const _0x5f45c1=_0x4c0511[_0xaa54ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f45c1&&(!!_0x5f45c1[_0xaa54ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa54ca([0x2a]))||!!_0x5f45c1[_0xaa54ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa54ca([0x55,0x50,0x4c,0x43])));}function _0x5bba48(){const _0x2431a6=_0x4c0511[_0xaa54ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2431a6||0x0==_0x2431a6[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x280b91}=new URL(window[_0xaa54ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2431a6[_0xaa54ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280b91))return!0x0;const _0x2319a7=_0x280b91[_0xaa54ca([0x73,0x70,0x6c,0x69,0x74])](_0xaa54ca([0x2e]));return _0x2431a6[_0xaa54ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4be109=>_0x4be109[_0xaa54ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa54ca([0x2a])))[_0xaa54ca([0x6d,0x61,0x70])](_0xc56719=>_0xc56719[_0xaa54ca([0x73,0x70,0x6c,0x69,0x74])](_0xaa54ca([0x2e])))[_0xaa54ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6d0e60=>_0x6d0e60[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2319a7[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xaa54ca([0x6d,0x61,0x70])](_0x3780fb=>Array(_0x2319a7[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3780fb[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xaa54ca([0x66,0x69,0x6c,0x6c])](_0x3780fb[0x0]===_0xaa54ca([0x2a])?_0xaa54ca([0x2a]):'')[_0xaa54ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3780fb))[_0xaa54ca([0x73,0x6f,0x6d,0x65])](_0x4b3cef=>_0x2319a7[_0xaa54ca([0x65,0x76,0x65,0x72,0x79])]((_0x3f36a4,_0x448635)=>_0x4b3cef[_0x448635]===_0x3f36a4||_0x4b3cef[_0x448635]===_0xaa54ca([0x2a])));}function _0x3cfd48(){return _0x7618b8&&_0x922897?new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6e7d,_0x3083bc)=>{_0x7618b8[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x5b6e7d,_0x3083bc),_0x922897[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x5dd20d=>{_0x5dd20d!=_0xaa54ca([0x56,0x61,0x6c,0x69,0x64])&&_0x5b6e7d(_0x5dd20d);},_0x3083bc);}):_0x7618b8||_0x922897||_0xaa54ca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30d5c7(_0xa8c49,_0x497ab7){return new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560b3f=>{if(_0x11e5d4())return _0x560b3f(_0xaa54ca([0x56,0x61,0x6c,0x69,0x64]));_0x5635c2(),_0x54c3fc[_0xaa54ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xaa54ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e57d9=!0x1;const _0xba2df6=_0x149acc();function _0x548606(_0x111041){return!!_0x111041&&(typeof _0x111041===_0xaa54ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x111041===_0xaa54ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x111041[_0xaa54ca([0x74,0x68,0x65,0x6e])]===_0xaa54ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x111041[_0xaa54ca([0x63,0x61,0x74,0x63,0x68])]===_0xaa54ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28e44f(_0x144ad5){_0x5371ed(_0x144ad5)[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x22e9f5=>{if(!_0x22e9f5||_0x22e9f5[_0xaa54ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xaa54ca([0x6f,0x6b]))return _0xaa54ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x508acd(_0x4ae97b(_0xba2df6+_0x497ab7))!=_0x22e9f5[_0xaa54ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xaa54ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xaa54ca([0x56,0x61,0x6c,0x69,0x64]);})[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x1df907=>(_0x17852e(),_0x1df907),()=>{const _0x56fa29=_0x24714f();return null==_0x56fa29?(_0x17852e(),_0xaa54ca([0x56,0x61,0x6c,0x69,0x64])):_0xaa54ca(_0x3ac94f-_0x56fa29>(0x7753083a^_0x2b4e4b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x560b3f)[_0xaa54ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x560b3f(_0xaa54ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x517058=0x536962ba^_0x2b4e4b;function _0x17852e(){const _0x2d6692=_0xaa54ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x508acd(_0x4ae97b(_0xa8c49)),_0x508b44=_0xbe1da5(_0x508acd(window[_0xaa54ca([0x4d,0x61,0x74,0x68])][_0xaa54ca([0x63,0x65,0x69,0x6c])](_0x3ac94f/_0x517058)));window[_0xaa54ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaa54ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d6692,_0x508b44);}function _0x24714f(){const _0xff2de6=_0xaa54ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x508acd(_0x4ae97b(_0xa8c49)),_0x481571=window[_0xaa54ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaa54ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xff2de6);return _0x481571?window[_0xaa54ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbe1da5(_0x481571),0x10)*_0x517058:null;}function _0x5371ed(_0x53081f){return new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ef673,_0x42e446)=>{_0x53081f[_0xaa54ca([0x74,0x68,0x65,0x6e])](_0x2ef673,_0x42e446),window[_0xaa54ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42e446,0x535e58fa^_0x2b4e4b);});}}_0x54c3fc[_0xaa54ca([0x6f,0x6e])](_0xaa54ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f162e,_0x585c18)=>{if(_0x585c18[0x0]!=_0xa8c49)return _0x560b3f(_0xaa54ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x585c18[0x1]={..._0x585c18[0x1],[_0xaa54ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xba2df6};},{[_0xaa54ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaa54ca([0x68,0x69,0x67,0x68])}),_0x54c3fc[_0xaa54ca([0x6f,0x6e])](_0xaa54ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59c2ca=>{_0x548606(_0x59c2ca[_0xaa54ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e57d9=!0x0,_0x28e44f(_0x59c2ca[_0xaa54ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xaa54ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaa54ca([0x6c,0x6f,0x77])}),_0x62a638[_0xaa54ca([0x74,0x68,0x65,0x6e])](()=>{_0x1e57d9||_0x560b3f(_0xaa54ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11e5d4(){return _0x54c3fc[_0xaa54ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaa54ca([0x76,0x69,0x65,0x77])][_0xaa54ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xaa54ca([0x61,0x75,0x74,0x6f]);}function _0x5635c2(){_0x54c3fc[_0xaa54ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaa54ca([0x76,0x69,0x65,0x77])][_0xaa54ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xaa54ca([0x61,0x75,0x74,0x6f]);}}function _0x3bb98b(_0x548fd8){const _0x1e74e2=[new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4670fb=>setTimeout(_0x4670fb,0x5356b2f6^_0x2b4e4b)),_0x62a638[_0xaa54ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42aa47=>{let _0x10f9f3=0x0;_0x54c3fc[_0xaa54ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa54ca([0x6f,0x6e])](_0xaa54ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x537791,_0x372163)=>{_0x372163[0x0][_0xaa54ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10f9f3++,_0x10f9f3==(0x535f8dc2^_0x2b4e4b)&&(_0x42aa47(),_0x537791[_0xaa54ca([0x6f,0x66,0x66])]());});}))];return window[_0xaa54ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xaa54ca([0x72,0x61,0x63,0x65])](_0x1e74e2)[_0xaa54ca([0x74,0x68,0x65,0x6e])](()=>_0x548fd8);}async function _0x276f68(){await _0x62a638,_0x54c3fc[_0xaa54ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa54ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x225bb7,_0x54c3fc[_0xaa54ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa54ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x225bb7,_0x54c3fc[_0xaa54ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xaa54ca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2200f4(_0x357e1a){const _0x48a704=_0x12313a();_0x54c3fc[_0x48a704]=_0xaa54ca([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x357e1a,_0x357e1a!=_0xaa54ca([0x56,0x61,0x6c,0x69,0x64])&&_0x276f68();}function _0x12313a(){const _0x4a1e43=window[_0xaa54ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xaa54ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xaa54ca([0x6e,0x6f,0x77])]())[_0xaa54ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xaa54ca([0x2e]),'');let _0xf92160=_0xaa54ca([0x68]);for(let _0x3baa8c=0x0;_0x3baa8c<_0x4a1e43[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3baa8c+=0x2){let _0x17ef14=window[_0xaa54ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1e43[_0xaa54ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3baa8c,_0x3baa8c+0x2));_0x17ef14>=_0x3940e2[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17ef14-=_0x3940e2[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf92160+=_0x3940e2[_0x17ef14];}return _0xf92160;}function _0x22ed8d(){const _0x50775e=_0x330206[_0xaa54ca([0x73,0x70,0x6c,0x69,0x74])](_0xaa54ca([0x2e]));if(0x3!=_0x50775e[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58d84d(_0x50775e[0x1]);function _0x58d84d(_0x2a027b){const _0x248d31=_0x3c61ac(_0x2a027b);return _0x248d31&&_0x28b014()?_0x248d31:null;function _0x28b014(){const _0x255a79=_0x248d31[_0xaa54ca([0x6a,0x74,0x69])],_0x4656df=window[_0xaa54ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x255a79[_0xaa54ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x255a79[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e12fc={..._0x248d31,[_0xaa54ca([0x6a,0x74,0x69])]:_0x255a79[_0xaa54ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x255a79[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e12fc[_0xaa54ca([0x76,0x63])],_0x4ae97b(_0x4e12fc)==_0x4656df;}}}async function _0x4f4609(){let _0x25ab72=!0x0;try{const _0x448405=_0x330206[_0xaa54ca([0x73,0x70,0x6c,0x69,0x74])](_0xaa54ca([0x2e])),[_0x4bf124,_0x454140,_0x4e676f]=_0x448405;return _0x36a95c(_0x4bf124),await _0x3c43e3(_0x4bf124,_0x454140,_0x4e676f),_0x25ab72;}catch{return!0x1;}function _0x36a95c(_0x19f4ab){const _0x4bc87b=_0x3c61ac(_0x19f4ab);_0x4bc87b&&_0x4bc87b[_0xaa54ca([0x61,0x6c,0x67])]==_0xaa54ca([0x45,0x53,0x32,0x35,0x36])||(_0x25ab72=!0x1);}async function _0x3c43e3(_0x217f38,_0x3fde46,_0xc2cec9){const _0x5d3ff2=window[_0xaa54ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xaa54ca([0x66,0x72,0x6f,0x6d])](_0xb03e96(_0xc2cec9),_0x2b46eb=>_0x2b46eb[_0xaa54ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe851e8=new window[(_0xaa54ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xaa54ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x217f38+_0xaa54ca([0x2e])+_0x3fde46),_0x556ab9=window[_0xaa54ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xaa54ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x556ab9)return;const _0x5b97be=await _0x556ab9[_0xaa54ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xaa54ca([0x6a,0x77,0x6b]),_0x4477ac,{[_0xaa54ca([0x6e,0x61,0x6d,0x65])]:_0xaa54ca([0x45,0x43,0x44,0x53,0x41]),[_0xaa54ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xaa54ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xaa54ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x556ab9[_0xaa54ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xaa54ca([0x6e,0x61,0x6d,0x65])]:_0xaa54ca([0x45,0x43,0x44,0x53,0x41]),[_0xaa54ca([0x68,0x61,0x73,0x68])]:{[_0xaa54ca([0x6e,0x61,0x6d,0x65])]:_0xaa54ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b97be,_0x5d3ff2,_0xe851e8)||(_0x25ab72=!0x1);}}function _0x3c61ac(_0x4469d1){return _0x4469d1[_0xaa54ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xaa54ca([0x65,0x79]))?JSON[_0xaa54ca([0x70,0x61,0x72,0x73,0x65])](_0xb03e96(_0x4469d1)):null;}function _0xb03e96(_0x479d56){return window[_0xaa54ca([0x61,0x74,0x6f,0x62])](_0x479d56[_0xaa54ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xaa54ca([0x2b]))[_0xaa54ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xaa54ca([0x2f])));}function _0x4ae97b(_0x57c019){let _0x3fe36c=0x1505;function _0x51d5ac(_0x500210){for(let _0x7fac75=0x0;_0x7fac75<_0x500210[_0xaa54ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7fac75++){const _0x10c125=_0x500210[_0xaa54ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7fac75);_0x3fe36c=(_0x3fe36c<<0x5)+_0x3fe36c+_0x10c125,_0x3fe36c&=_0x3fe36c;}}function _0x1c7ffd(_0x1b880c){Array[_0xaa54ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b880c)?_0x1b880c[_0xaa54ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c7ffd):_0x1b880c&&typeof _0x1b880c==_0xaa54ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xaa54ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b880c)[_0xaa54ca([0x73,0x6f,0x72,0x74])]()[_0xaa54ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29ff4e,_0x4a19e2])=>{_0x51d5ac(_0x29ff4e),_0x1c7ffd(_0x4a19e2);}):_0x51d5ac(window[_0xaa54ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b880c));}return _0x1c7ffd(_0x57c019),_0x3fe36c>>>0x0;}function _0x508acd(_0x2cb639){return _0x2cb639[_0xaa54ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xaa54ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xaa54ca([0x30]));}function _0xbe1da5(_0x23d2fb){return _0x23d2fb[_0xaa54ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0xaa54ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xaa54ca([0x6a,0x6f,0x69,0x6e])]('');}function _0x225bb7(){}function _0xaa54ca(_0x7944ab){return _0x7944ab['map'](_0x4ea433=>String['fromCharCode'](_0x4ea433))['join']('');}_0x2200f4(await _0x3e4e20());}(this);}['_initSchema'](){const _0x5229ba=this['editor']['model']['schema'];_0x5229ba['isRegistered']('imageBlock')&&_0x5229ba['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5229ba['isRegistered']('imageInline')&&_0x5229ba['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5b5bb5=this['editor'];_0x5b5bb5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5b5bb5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4f9303=>_0x4f9303['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57444b=_0x5b5bb5['commands']['get']('replaceImageSource');_0x57444b&&this['listenTo'](_0x57444b,'cleanupImage',(_0x2aced9,[_0x1e54fb,_0x133bc4])=>{_0x1e54fb['removeAttribute']('uploadcareImageId',_0x133bc4);});}['_initConfig'](){const _0x363378=this['editor']['config']['get']('uploadcare.uploader')||{},_0x404c25=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4246ba(_0x305a75['document'],'uc-config',{..._0x363378,'pubkey':_0x404c25,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x43118e=>{if('closeMax'==_0x43118e)return'#uc-icon-arrow-down';},_0x305a75['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4246ba(_0x305a75['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x305a75['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x26f09c=this['editor']['commands']['get']('insertImage');_0x26f09c&&this['listenTo'](_0x26f09c,'execute',()=>{const _0x9cfec1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x9cfec1&&_0x9cfec1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x9cfec1);});});const _0x2e07e6=this['editor']['commands']['get']('uploadcareImageReplace');_0x2e07e6&&this['listenTo'](_0x2e07e6,'execute',()=>{const _0x4ecad6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4ecad6&&_0x4ecad6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4ecad6);});});}}class tt extends _0x262ce5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ea5d2){super(_0x2ea5d2),_0x2ea5d2['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x147a67['defineComponents'](_0x147a67),this['_defineLocale']();}['_defineLocale'](){const _0x7ce667=this['editor']['config']['get']('uploadcare.locale'),_0xe755ba=this['editor']['locale']['contentLanguage'];_0x7ce667&&_0x147a67['defineLocale'](_0xe755ba,_0x7ce667);}}class ii extends _0x2b0baa{constructor(_0x1bdf27){super(_0x1bdf27);const t=_0x1bdf27['t'],_0x42a960=this['bindTemplate'],_0x27bcd8=new _0x40f25e();_0x27bcd8['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':[_0x27bcd8,{'text':_0x42a960['to']('imageUploadProgress',_0x2911d7=>t('Loading\x20image...')+'\x20('+(_0x2911d7||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x2b0baa{constructor(_0x9e8dfe){super(_0x9e8dfe);const t=_0x9e8dfe['t'];this['set']('errorType',null);const _0x3cabcc=new _0xfb81be(_0x9e8dfe);_0x3cabcc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3cabcc['withText']=!0x0,_0x3cabcc['class']='ck-button-action',_0x3cabcc['on']('execute',()=>{this['fire']('retry');}),_0x3cabcc['bind']('isVisible')['to'](this,'errorType',_0x1bf747=>'NotFound'!==_0x1bf747);const _0xc68944=new _0x893ab0();_0xc68944['content']=_0x4d70d3,_0xc68944['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c893b=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':[_0xc68944,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c893b['to']('errorType',_0x35a172=>t('NotFound'!==_0x35a172?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3cabcc]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x2b0baa{constructor(_0x4896da,_0x5d6ca8){super(_0x4896da);const _0x3185db=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5d6ca8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3185db['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2c4fa6,_0x4b0c5b,_0x52ee7d){super(_0x2c4fa6),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2c4fa6),this['_errorView']=new ti(_0x2c4fa6),this['_editingView']=new ei(_0x2c4fa6,_0x52ee7d),this['_focusableView']=new _0x2b0baa(_0x2c4fa6),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4b0c5b),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'],_0x150ed3=>{this['_addUploadcareImageEditorListeners'](_0x150ed3);});}),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'](_0x1e1dd8,_0x5f5883){const _0x9685d8='uc-cloud-image-editor',_0x44f71a=_0x1e1dd8['querySelector'](_0x9685d8);if(_0x44f71a)return _0x5f5883(_0x44f71a);const _0x129a71=new MutationObserver(_0x4d6d49=>{const _0x4206f7=_0x4d6d49['filter'](_0x2f5ee9=>_0x2f5ee9['target']===_0x1e1dd8&&_0x2f5ee9['addedNodes']['length']>0x0&&_0x2f5ee9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x9685d8);_0x4206f7['length']&&(_0x129a71['disconnect'](),_0x5f5883(_0x4206f7[0x0]['addedNodes'][0x0]));});_0x129a71['observe'](_0x1e1dd8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x74191){_0x74191['addEventListener']('apply',_0x1b697b=>{this['fire']('apply',{'imageSrc':_0x1b697b['detail']['cdnUrl']});}),_0x74191['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x8ad4a1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x51cefb,_0x29d342,_0x274274){super(),this['_editor']=_0x51cefb,this['_dialog']=_0x29d342,this['_imageElement']=_0x274274,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 _0x440cde=this['_imageElement'],_0x570199=_0x440cde['getAttribute']('uploadcareImageId'),_0xcc7e6f=_0x440cde['getAttribute']('src');if(_0x570199)await this['_loadImageInfo'](_0x570199,_0xcc7e6f);else{if(this['_imageCache']['has'](_0xcc7e6f)){const _0x5aaf70=this['_imageCache']['get'](_0xcc7e6f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5aaf70['url'],this['imageDimension']=_0x5aaf70['dimension'],this['imageId']=_0x5aaf70['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xbe5a9e}=this['_editor'],t=_0xbe5a9e['t'],_0x3bd540=new X(_0xbe5a9e,this['imageStatus'],this['_attributes']);_0x3bd540['bind']('status')['to'](this,'imageStatus'),_0x3bd540['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3bd540['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3bd540['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3bd540,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x902bf1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3bd540,'position':_0x5201d1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3bd540['focus']();},'onHide':()=>{_0x3bd540['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b410e=>!A(_0x4b410e,_0x3bd540['element'])}});}['_loadImageInfo'](_0x8f5fe9,_0x488f59){return j['getInfo'](_0x8f5fe9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xe27b88=>{const {width:_0x4f1aed,height:_0x16f2e6}=_0xe27b88['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x488f59,this['imageDimension']={'width':_0x4f1aed,'height':_0x16f2e6},this['imageId']=_0x8f5fe9;})['catch'](_0x358ecf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x358ecf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x15931f,_0x4a4c19){return this['_getImageAsFile'](_0x15931f)['then'](_0x5e88b2=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4a4c19['signal'],'file':_0x5e88b2,'onProgress':_0x585184=>{_0x585184&&_0x585184['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x585184['value']));}}))['then'](_0x416f0a=>{const {width:_0x3c42f4,height:_0x51c79f}=_0x416f0a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x416f0a['cdnUrl'],this['imageDimension']={'width':_0x3c42f4,'height':_0x51c79f},this['imageId']=_0x416f0a['uuid'],this['imageUploadProgress']=null;const _0x127b2d=_0x15931f['getAttribute']('src');this['_imageCache']['set'](_0x127b2d,{'id':_0x416f0a['uuid'],'url':_0x416f0a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x40fd11=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x40fd11['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d9f5b,_0x9c2464){_0x1d9f5b['on']('apply',(_0x3b01f8,_0x521c3d)=>{this['_replaceImage'](_0x9c2464,_0x521c3d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d9f5b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d9f5b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x536d40,_0x305af7,_0x3b8aba){const _0x49607a=this['_editor'],{width:_0x6fcffb,height:_0x1a52da}=S(_0x305af7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5b2c87,imageSources:_0x5b1e92}=C(_0x305af7,_0x6fcffb);_0x49607a['model']['change'](_0x9b1f60=>{if('$graveyard'===_0x536d40['root']['rootName']){_0x49607a['execute']('insertImage',{'imageType':_0x536d40['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x536d40['getAttributes']()),'uploadcareImageId':_0x3b8aba,'src':_0x5b2c87,'sources':_0x5b1e92,'width':_0x6fcffb,'height':_0x1a52da}});const _0x1c80e0=_0x536d40['getChildren']();_0x536d40=_0x49607a['model']['document']['selection']['getSelectedElement']();for(const _0x9ccded of _0x1c80e0)_0x9b1f60['append'](_0x9b1f60['cloneElement'](_0x9ccded),_0x536d40);}else _0x9b1f60['setSelection'](_0x536d40,'on'),_0x49607a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x536d40['getAttributes']()),'uploadcareImageId':_0x3b8aba,'src':_0x5b2c87,'sources':_0x5b1e92,'width':_0x6fcffb,'height':_0x1a52da},_0x536d40);_0x9b1f60['setSelection'](_0x536d40,'on');});}async['_getImageAsFile'](_0x48d504){const _0x1fa5c5=_0x305a75['window'],_0x52664d=_0x305a75['document']['location']['href'],_0x3d73ce=new _0x1fa5c5['URL'](_0x48d504['getAttribute']('src'),_0x52664d);if('data:'===_0x3d73ce['protocol']){const _0x4b746f=_0x3d73ce['href']['split'](','),_0x18f533=_0x4b746f[0x0]['match'](/:(.*?);/)[0x1],_0x2874d1=_0x18f533['split']('/')[0x1],_0x43c4cb=_0x1fa5c5['atob'](_0x4b746f[_0x4b746f['length']-0x1]);let _0x57808d=_0x43c4cb['length'];const _0x30b7aa=new _0x1fa5c5['Uint8Array'](_0x57808d);for(;_0x57808d--;)_0x30b7aa[_0x57808d]=_0x43c4cb['charCodeAt'](_0x57808d);return new _0x1fa5c5['File']([_0x30b7aa],'image.'+_0x2874d1,{'type':_0x18f533});}const _0x1cb7a8=_0x3d73ce['href']['split']('/'),_0x323a9a=_0x1cb7a8[_0x1cb7a8['length']-0x1],_0x5f4129=_0x323a9a['split']('.')[0x1];return _0x1fa5c5['fetch'](_0x3d73ce['href'])['then'](_0x3cc2d5=>_0x3cc2d5['clone']()['blob']())['then'](_0x317804=>new _0x1fa5c5['File']([_0x317804],_0x323a9a,{'type':'image/'+_0x5f4129}));}}class Q extends _0x5d7b2d{['imageEditController'];static get['requires'](){return[_0x2d3411];}['_isEditable'];constructor(_0x2e8ee1){super(_0x2e8ee1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3f3254){const _0x47e30f=z(_0x3f3254);return _0x651675=>!(!_0x651675||!_0x651675['is']('element','imageBlock')&&!_0x651675['is']('element','imageInline'))&&(!!_0x651675['hasAttribute']('uploadcareImageId')||!!_0x651675['hasAttribute']('src')&&_0x47e30f(_0x651675['getAttribute']('src')));}(_0x2e8ee1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3b982a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3b982a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x26b9fc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x26b9fc&&(_0x26b9fc['is']('element','imageBlock')||_0x26b9fc['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x2d3411),_0x26b9fc),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x5d7b2d{['refresh'](){const _0x4f01a1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4f01a1&&(_0x4f01a1['is']('element','imageBlock')||_0x4f01a1['is']('element','imageInline')));}['execute'](_0x3bc98d){const _0x4abd39=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x287d2a=>{_0x287d2a['setAttributes'](_0x3bc98d,_0x4abd39),_0x287d2a['removeAttribute']('srcset',_0x4abd39),_0x287d2a['removeAttribute']('sizes',_0x4abd39);});}}class m extends _0x262ce5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x298ec2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4312b0}=this;_0x4312b0['commands']['add']('uploadcareImageEdit',new Q(_0x4312b0)),_0x4312b0['commands']['add']('uploadcareImageReplace',new V(_0x4312b0));}}class g extends _0x262ce5{['_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 _0x1049ec=this['editor'];_0x1049ec['ui']['componentFactory']['add']('uploadcareImageEdit',_0x261a7d=>{const _0x210d18=_0x1049ec['commands']['get']('uploadcareImageEdit'),_0x28a877=new _0xfb81be(_0x261a7d),t=_0x261a7d['t'];return _0x28a877['set']({'icon':_0x902bf1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x28a877['bind']('isEnabled')['to'](_0x210d18),_0x28a877['bind']('isOn')['to'](_0x210d18,'isActive'),this['listenTo'](_0x28a877,'execute',()=>{_0x1049ec['execute']('uploadcareImageEdit'),_0x1049ec['editing']['view']['focus']();}),_0x28a877;}),this['_initConfig']();}['_initConfig'](){const _0x119631=_0x4246ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x119631),this['listenTo'](this['editor'],'destroy',()=>{_0x119631['remove']();});}}class et extends _0x262ce5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x641c5b,Command as _0xe435e9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x73502,IconGooglePhotos as _0x200ca1,IconGoogleDrive as _0x30954a,IconFacebook as _0x5d8015,IconDropbox as _0x2f791e,IconUploadcareLink as _0x148593,IconUploadcareImageUpload as _0x2a5c6b,IconError as _0x22c2ce,IconUploadcareImageEdit as _0xc0d061}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1fac27,MenuBarMenuListItemButtonView as _0x3da619,View as _0x287b11,FocusCycler as _0x2dca00,Dialog as _0x202f44,DialogViewPosition as _0x15645d,SpinnerView as _0x5042c6,IconView as _0xe0066f,Notification as _0x450e1a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x36eff3,DomEmitterMixin as _0xe5523b,global as _0x5abc31,getAncestors as _0x5f2112,ObservableMixin as _0x1b5cd0,uid as _0x320266,createElement as _0xed1b0c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xbe3709}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5eb5e4,info as _0x358bdb}from'@uploadcare/upload-client';import*as _0x3ad123 from'@uploadcare/file-uploader';var i=function(_0x32b0b0){return _0x32b0b0['Local']='local',_0x32b0b0['URL']='url',_0x32b0b0['Dropbox']='dropbox',_0x32b0b0['GDrive']='gdrive',_0x32b0b0['Facebook']='facebook',_0x32b0b0['GPhotos']='gphotos',_0x32b0b0['OneDrive']='onedrive',_0x32b0b0;}({});function _(_0x1e4a09,_0xa953d9,_0x2f7dc4){const t=_0x1e4a09['t'],_0x563b0a=_0x1e4a09['t'];switch(_0xa953d9){case i['Local']:return{'text':_0x563b0a('Insert'===_0x2f7dc4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x563b0a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2f7dc4?_0x563b0a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x563b0a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2f7dc4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2f7dc4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2f7dc4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2f7dc4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2f7dc4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xa953d9;}}class e extends _0x641c5b{['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 _0x2fd145=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d05bb;for(const _0x57a97b in _0x2fd145){const _0x561c5a=_0x57a97b,_0x55768c=_0x2fd145[_0x561c5a];if('uploadcareLicenseKeyValid'==_0x55768c||'uploadcareLicenseKeyInvalid'==_0x55768c||'uploadcareLicenseKeyExpired'==_0x55768c||'uploadcareLicenseKeyDomainLimit'==_0x55768c||'uploadcareLicenseKeyNotAllowed'==_0x55768c||'uploadcareLicenseKeyEvaluationLimit'==_0x55768c||'uploadcareLicenseKeyTrialLimit'==_0x55768c||'uploadcareLicenseKeyUsageLimit'==_0x55768c){delete _0x2fd145[_0x561c5a],_0x5d05bb=_0x55768c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5d05bb&&_0x2fd145['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5d05bb&&_0x2fd145['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5d05bb&&_0x2fd145['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5d05bb&&_0x2fd145['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5d05bb&&_0x2fd145['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5d05bb&&_0x2fd145['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5d05bb&&_0x2fd145['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x465bb4}=this,_0x4f482a=_0x465bb4['commands']['get']('uploadcare');if(!_0x4f482a)return;const _0x14d89c=this['_normalizeConfigSourceList'](_0x465bb4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1a5f0a,_0x1f60e4)=>{const _0x22c853=this['_getIntegrationKey'](_0x1f60e4['type']);return _0x1a5f0a[_0x22c853]||(_0x1a5f0a[_0x22c853]=[]),_0x1a5f0a[_0x22c853]['push'](_0x1f60e4),_0x1a5f0a;},{});_0x465bb4['plugins']['has']('ImageInsertUI')&&_0x465bb4['commands']['get']('uploadcare')&&Object['entries'](_0x14d89c)['forEach'](([_0x428be8,_0x246e7b])=>{_0x465bb4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x428be8,'observable':()=>_0x4f482a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x246e7b),'formViewCreator':()=>this['_createDropdownButtons'](_0x246e7b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x246e7b),'override':'assetManager'!==_0x428be8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5bb621){const {locale:_0x4cc4e9}=this['editor'];return _0x5bb621['map'](_0x3b5898=>{const _0x3b1b40=_(_0x4cc4e9,_0x3b5898,'Insert');switch(_0x3b5898){case i['Local']:return{'icon':_0x2a5c6b,'type':i['Local'],..._0x3b1b40};case i['URL']:return{'icon':_0x148593,'type':i['URL'],..._0x3b1b40};case i['Dropbox']:return{'icon':_0x2f791e,'type':i['Dropbox'],..._0x3b1b40};case i['Facebook']:return{'icon':_0x5d8015,'type':i['Facebook'],..._0x3b1b40};case i['GDrive']:return{'icon':_0x30954a,'type':i['GDrive'],..._0x3b1b40};case i['GPhotos']:return{'icon':_0x200ca1,'type':i['GPhotos'],..._0x3b1b40};case i['OneDrive']:return{'icon':_0x73502,'type':i['OneDrive'],..._0x3b1b40};}});}['_getIntegrationKey'](_0x5f1c2f){switch(_0x5f1c2f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x8f75d,_0x45c5b9){const _0x29ea46=this['editor'],_0x32d5be=new _0x8f75d(_0x29ea46['locale']),_0x1a754b=_0x29ea46['commands']['get']('uploadcare');return _0x32d5be['bind']('isEnabled')['to'](_0x1a754b),_0x32d5be['on']('execute',()=>{_0x1a754b['execute'](_0x45c5b9);}),_0x32d5be;}['_createToolbarButton'](_0x94ff94){const {locale:_0x278db6}=this['editor'],_0x5b50ab=this['editor']['plugins']['get']('ImageInsertUI'),_0x251d61=_0x94ff94[0x0],_0x12f432=this['_createButton'](_0x1fac27,_0x251d61['type']);return _0x12f432['icon']=_0x251d61['icon'],_0x12f432['bind']('label')['to'](_0x5b50ab,'isImageSelected',_0x42bac0=>_(_0x278db6,_0x251d61['type'],_0x42bac0?'Replace':'Insert')['text']),_0x12f432['tooltip']=!0x0,_0x12f432;}['_createDropdownButtons'](_0x2f69bf){const {locale:_0x19a3a7}=this['editor'],_0x2290ae=this['editor']['plugins']['get']('ImageInsertUI');return _0x2f69bf['map'](_0x29c1d7=>{const _0xf5ecec=this['_createButton'](_0x1fac27,_0x29c1d7['type']);return _0xf5ecec['withText']=!0x0,_0xf5ecec['icon']=_0x29c1d7['icon'],_0xf5ecec['bind']('label')['to'](_0x2290ae,'isImageSelected',_0x31c58b=>_(_0x19a3a7,_0x29c1d7['type'],_0x31c58b?'Replace':'Insert')['text']),_0xf5ecec;});}['_createMenuBarButtons'](_0x4a899f){return _0x4a899f['map'](_0x2c333e=>{const _0xaf8562=this['_createButton'](_0x3da619,_0x2c333e['type']);return _0xaf8562['icon']=_0x2c333e['icon'],_0xaf8562['label']=_0x2c333e['shortText'],_0xaf8562;});}}class F extends _0x287b11{['focusTracker'];['focusCycler'];constructor(_0x445dbd){super(_0x445dbd),this['focusTracker']=new _0x36eff3(),this['focusCycler']=new _0x2dca00({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x37442e,_0x53a236){super(_0x37442e),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-'+_0x53a236}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x393303,_0x298614){const _0x1d400c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5e0136=>_0x5e0136<=_0x298614)['map'](_0x49a9ee=>_0x393303['replace'](/\/$/,'')+'/-/resize/'+_0x49a9ee+'x/\x20'+_0x49a9ee+'w');return{'imageFallbackUrl':_0x393303,'imageSources':[{'srcset':_0x1d400c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x298614+'px)\x20100vw,\x20'+_0x298614+'px','type':'image/webp'}]};}function S(_0xb8b989,_0x12d67c,_0x56799c){const _0x473a8d=_0xb8b989['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x473a8d?parseInt(_0x473a8d[0x1],0xa):_0x12d67c,'height':_0x473a8d?parseInt(_0x473a8d[0x2],0xa):_0x56799c};}function p(_0x41f6d6,_0x7a146c){const _0x56b1d2=new(_0xe5523b())(),_0x3e3bf0=_0x41f6d6['plugins']['get']('ImageUtils'),_0x4b1ad0=_0x41f6d6['editing']['mapper']['toViewElement'](_0x7a146c),_0xfb4669=_0x3e3bf0['findViewImgElement'](_0x4b1ad0),_0x395eb1=_0x41f6d6['editing']['view']['domConverter']['viewToDom'](_0xfb4669),_0x4f10c2=_0x7a146c['getAttribute']('width'),_0x211654=_0x7a146c['getAttribute']('height'),_0x5b7baf='image-processing';_0x41f6d6['editing']['view']['change'](_0x43b1cc=>{_0x43b1cc['addClass'](_0x5b7baf,_0x4b1ad0),_0x43b1cc['setStyle']('aspect-ratio',_0x4f10c2+'/'+_0x211654,_0xfb4669);}),_0x56b1d2['listenTo'](_0x395eb1,'load',()=>{_0x56b1d2['stopListening'](_0x395eb1,'load'),_0x41f6d6['editing']['view']['change'](_0x34f722=>{_0x34f722['removeClass'](_0x5b7baf,_0x4b1ad0),_0x34f722['removeStyle']('aspect-ratio',_0xfb4669);});});}function G(_0x2acfcf){if(Array['isArray'](_0x2acfcf)){const _0x52b5e8=_0x2acfcf['map'](G);return _0x5a57df=>_0x52b5e8['some'](_0x393d4e=>_0x393d4e(_0x5a57df));}if('origin'==_0x2acfcf){const _0x25837f=_0x5abc31['window']['location']['origin'];return _0x32ebc2=>new URL(_0x32ebc2,_0x5abc31['document']['baseURI'])['origin']==_0x25837f;}return'function'==typeof _0x2acfcf?_0x2acfcf:_0x2acfcf instanceof RegExp?_0x40da56=>!(!_0x40da56['match'](_0x2acfcf)&&!_0x40da56['replace'](/^https?:\/\//,'')['match'](_0x2acfcf)):()=>!0x1;}function A(_0x5c5366,_0x3f6cab){return _0x5f2112(_0x5c5366['target'])['includes'](_0x3f6cab);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1b5cd0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x373174,_0x39d2b7,_0xf92103){super(),this['_editor']=_0x373174,this['_editing']=_0x39d2b7,this['_dialog']=_0x373174['plugins']['get'](_0x202f44),this['_api']=_0x39d2b7['ctxElement']['getAPI'](),this['_type']=_0xf92103,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:_0x542c08,model:_0x12fdf8}=this['_editor'],_0x4f43c7=_0x12fdf8['document']['selection']['getSelectedElement'](),_0x5b6ac7=_0x4f43c7&&(_0x4f43c7['is']('element','imageBlock')||_0x4f43c7['is']('element','imageInline'));this['_formView']=new x(_0x542c08,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2a5c6b,'title':_(_0x542c08,this['_type'],_0x5b6ac7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x15645d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x62bdd5=>!A(_0x62bdd5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4297b5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1f92a0=>{const _0x592b65=_0x4297b5['length'];for(const _0x1e12d2 of _0x4297b5){const _0x2570e4=_0x1e12d2===_0x4297b5[_0x592b65-0x1],{cdnUrl:_0x416d34,fileInfo:_0x50b6}=_0x1e12d2;if(!_0x416d34||!_0x50b6)continue;const {width:_0x289233,height:_0x571d8b}=_0x50b6['imageInfo'],_0x2ae051=S(_0x416d34,_0x289233,_0x571d8b),_0x499c93=C(_0x416d34,_0x2ae051['width']),_0xd4fdc9={'id':_0x50b6['uuid'],'type':'image','attributes':{'imageDimension':_0x2ae051,..._0x499c93}};this['_insertAsset'](_0xd4fdc9,_0x2570e4,_0x1f92a0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cccee=>{'idle'===_0x5cccee['detail']['status']&&!_0x5cccee['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2f6e2c,_0x394600,_0x237132){const _0x1b834c=this['_editor']['model']['document']['selection'],_0x3f7d8f=_0x1b834c['getSelectedElement'](),_0x50d255=!(!_0x3f7d8f||!_0x3f7d8f['is']('element','imageInline'));_0x237132['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2f6e2c,_0x50d255),_0x394600||_0x237132['setSelection'](_0x1b834c['getLastPosition']());}['_insertImage'](_0xcf853a,_0x4637d7){const _0x5e7122=this['_editor'],{imageDimension:_0x470136,imageFallbackUrl:_0x252f52,imageSources:_0xe6fd93}=_0xcf853a['attributes'];_0x5e7122['execute']('insertImage',{'imageType':_0x4637d7?'imageInline':null,'source':{'uploadcareImageId':_0xcf853a['id'],'src':_0x252f52,'sources':_0xe6fd93,..._0x470136}});}}class w extends _0xe435e9{['_editing'];['_controller']=null;static get['requires'](){return[_0x202f44,o];}constructor(_0x3cebb7){super(_0x3cebb7),this['_editing']=_0x3cebb7['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1789f1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1789f1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3f3fa8,..._0x1f6291}){return _0x5eb5e4(_0x3f3fa8,_0x1f6291);}static['getInfo'](_0x2433e7,_0x3a6899){return _0x358bdb(_0x2433e7,_0x3a6899);}}class f extends _0x641c5b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbe3709,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3a28f3=this['editor'];if(!!!_0x3a28f3['config']['get']('uploadcare'))return;_0x3a28f3['plugins']['get'](_0xbe3709)['createUploadAdapter']=_0x13a571=>new k(_0x13a571,_0x3a28f3),_0x3a28f3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36dc8a,{imageElement:_0x40499c,data:_0x1e3d6b})=>{_0x3a28f3['model']['change'](_0x58096c=>{_0x58096c['setAttribute']('uploadcareImageId',_0x1e3d6b['uploadcareImageId'],_0x40499c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4e0472,_0x198476){this['loader']=_0x4e0472,this['editor']=_0x198476,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27c101=await this['loader']['file'];return j['upload']({'file':_0x27c101,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1ae053=>{_0x1ae053&&_0x1ae053['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ae053['value']);}})['then'](async _0x2415c9=>{const {imageFallbackUrl:_0x4f27d3,imageSources:_0xf3d9b6}=C(_0x2415c9['cdnUrl'],_0x2415c9['imageInfo']['width']);return{'uploadcareImageId':_0x2415c9['uuid'],'default':_0x4f27d3,'sources':_0xf3d9b6};})['catch'](()=>{const _0x1dbac8=t('Cannot\x20upload\x20file:')+('\x20'+_0x27c101['name']+'.');return Promise['reject'](_0x1dbac8);});}['abort'](){this['controller']['abort']();}}class o extends _0x641c5b{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x202f44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3f807c){super(_0x3f807c),this['ucContextId']=_0x320266();}['init'](){const _0x3e078d=this['editor'];_0x3e078d['commands']['add']('uploadcare',new w(_0x3e078d));}['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 _0x503646=_0x5abc31['document']['querySelector']('input[uploadcare-file-input]');_0x503646&&_0x503646['remove']();}),async function(_0x44f2f2){const _0x4d365d=_0x112713([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x45a2d6=0x535f8c3a,_0x5282f7=0x5358f02a^_0x45a2d6,_0x1236ca=window[_0x112713([0x44,0x61,0x74,0x65])][_0x112713([0x6e,0x6f,0x77])](),_0x4f6805=_0x44f2f2[_0x112713([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f2174=new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8be6=>{_0x4f6805[_0x112713([0x6f,0x6e,0x63,0x65])](_0x112713([0x72,0x65,0x61,0x64,0x79]),_0x5a8be6);}),_0x4cd31b={[_0x112713([0x6b,0x74,0x79])]:_0x112713([0x45,0x43]),[_0x112713([0x75,0x73,0x65])]:_0x112713([0x73,0x69,0x67]),[_0x112713([0x63,0x72,0x76])]:_0x112713([0x50,0x2d,0x32,0x35,0x36]),[_0x112713([0x78])]:_0x112713([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]),[_0x112713([0x79])]:_0x112713([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]),[_0x112713([0x61,0x6c,0x67])]:_0x112713([0x45,0x53,0x32,0x35,0x36])},_0x3cd4df=_0x4f6805[_0x112713([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x112713([0x67,0x65,0x74])](_0x112713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d08a1(){let _0x5bb653,_0x470f3c=null,_0xce4c2c=null;try{if(_0x3cd4df==_0x112713([0x47,0x50,0x4c]))return _0x112713([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bb653=_0x218b97(),!_0x5bb653)return _0x112713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bb653[_0x112713([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xce4c2c=_0x567674(_0x5bb653[_0x112713([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bb653[_0x112713([0x6a,0x74,0x69])])),await _0x26a53()?_0x1ed6bb()?_0x71d5cf()?_0x112713([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2156b2()?(_0x5bb653[_0x112713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x112713([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x470f3c=_0x5ac1fd(_0x112713([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bb653[_0x112713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x112713([0x74,0x72,0x69,0x61,0x6c])&&(_0x470f3c=_0x5ac1fd(_0x112713([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2465cf()):_0x112713([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x112713([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x112713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x112713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x71d5cf(){const _0x2061e9=[_0x112713([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x112713([0x74,0x72,0x69,0x61,0x6c])][_0x112713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bb653[_0x112713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1236ca/0x3e8:0xe10*_0x5282f7;return _0x5bb653[_0x112713([0x65,0x78,0x70])]<_0x2061e9;}function _0x1ed6bb(){const _0x58a5c1=_0x5bb653[_0x112713([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58a5c1&&(!!_0x58a5c1[_0x112713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112713([0x2a]))||!!_0x58a5c1[_0x112713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112713([0x55,0x50,0x4c,0x43])));}function _0x2156b2(){const _0x3e3ea3=_0x5bb653[_0x112713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e3ea3||0x0==_0x3e3ea3[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x585039}=new URL(window[_0x112713([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e3ea3[_0x112713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x585039))return!0x0;const _0x16046c=_0x585039[_0x112713([0x73,0x70,0x6c,0x69,0x74])](_0x112713([0x2e]));return _0x3e3ea3[_0x112713([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23cf2d=>_0x23cf2d[_0x112713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112713([0x2a])))[_0x112713([0x6d,0x61,0x70])](_0x978c42=>_0x978c42[_0x112713([0x73,0x70,0x6c,0x69,0x74])](_0x112713([0x2e])))[_0x112713([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x303edf=>_0x303edf[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16046c[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x112713([0x6d,0x61,0x70])](_0x4059fc=>Array(_0x16046c[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4059fc[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x112713([0x66,0x69,0x6c,0x6c])](_0x4059fc[0x0]===_0x112713([0x2a])?_0x112713([0x2a]):'')[_0x112713([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4059fc))[_0x112713([0x73,0x6f,0x6d,0x65])](_0x50b670=>_0x16046c[_0x112713([0x65,0x76,0x65,0x72,0x79])]((_0x3b115d,_0x11f926)=>_0x50b670[_0x11f926]===_0x3b115d||_0x50b670[_0x11f926]===_0x112713([0x2a])));}function _0x2465cf(){return _0x470f3c&&_0xce4c2c?new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e0924,_0xbaa820)=>{_0x470f3c[_0x112713([0x74,0x68,0x65,0x6e])](_0x1e0924,_0xbaa820),_0xce4c2c[_0x112713([0x74,0x68,0x65,0x6e])](_0x2a103c=>{_0x2a103c!=_0x112713([0x56,0x61,0x6c,0x69,0x64])&&_0x1e0924(_0x2a103c);},_0xbaa820);}):_0x470f3c||_0xce4c2c||_0x112713([0x56,0x61,0x6c,0x69,0x64]);}}function _0x567674(_0x7327c9,_0x1b4b31){return new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209090=>{if(_0x10206f())return _0x209090(_0x112713([0x56,0x61,0x6c,0x69,0x64]));_0x1f419d(),_0x4f6805[_0x112713([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x112713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4573d5=!0x1;const _0x141c4a=_0x320266();function _0x48a572(_0x3748ee){return!!_0x3748ee&&(typeof _0x3748ee===_0x112713([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3748ee===_0x112713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3748ee[_0x112713([0x74,0x68,0x65,0x6e])]===_0x112713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3748ee[_0x112713([0x63,0x61,0x74,0x63,0x68])]===_0x112713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x264e32(_0x4ba620){_0x3ef798(_0x4ba620)[_0x112713([0x74,0x68,0x65,0x6e])](_0x26ce02=>{if(!_0x26ce02||_0x26ce02[_0x112713([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x112713([0x6f,0x6b]))return _0x112713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb4d900(_0x5ba118(_0x141c4a+_0x1b4b31))!=_0x26ce02[_0x112713([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x112713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x112713([0x56,0x61,0x6c,0x69,0x64]);})[_0x112713([0x74,0x68,0x65,0x6e])](_0xfceccb=>(_0xfe8418(),_0xfceccb),()=>{const _0x4ef20c=_0x16aa69();return null==_0x4ef20c?(_0xfe8418(),_0x112713([0x56,0x61,0x6c,0x69,0x64])):_0x112713(_0x1236ca-_0x4ef20c>(0x7753083a^_0x45a2d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x112713([0x74,0x68,0x65,0x6e])](_0x209090)[_0x112713([0x63,0x61,0x74,0x63,0x68])](()=>{_0x209090(_0x112713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c2421=0x536962ba^_0x45a2d6;function _0xfe8418(){const _0x41670e=_0x112713([0x6c,0x6c,0x63,0x74,0x2d])+_0xb4d900(_0x5ba118(_0x7327c9)),_0x38b4a4=_0xab24da(_0xb4d900(window[_0x112713([0x4d,0x61,0x74,0x68])][_0x112713([0x63,0x65,0x69,0x6c])](_0x1236ca/_0x4c2421)));window[_0x112713([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x112713([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41670e,_0x38b4a4);}function _0x16aa69(){const _0x5954a2=_0x112713([0x6c,0x6c,0x63,0x74,0x2d])+_0xb4d900(_0x5ba118(_0x7327c9)),_0x83ae87=window[_0x112713([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x112713([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5954a2);return _0x83ae87?window[_0x112713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xab24da(_0x83ae87),0x10)*_0x4c2421:null;}function _0x3ef798(_0x11bb8a){return new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5abccc,_0xd581e5)=>{_0x11bb8a[_0x112713([0x74,0x68,0x65,0x6e])](_0x5abccc,_0xd581e5),window[_0x112713([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd581e5,0x535e58fa^_0x45a2d6);});}}_0x4f6805[_0x112713([0x6f,0x6e])](_0x112713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x204007,_0x2d7fe4)=>{if(_0x2d7fe4[0x0]!=_0x7327c9)return _0x209090(_0x112713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7fe4[0x1]={..._0x2d7fe4[0x1],[_0x112713([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x141c4a};},{[_0x112713([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x112713([0x68,0x69,0x67,0x68])}),_0x4f6805[_0x112713([0x6f,0x6e])](_0x112713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1aa064=>{_0x48a572(_0x1aa064[_0x112713([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4573d5=!0x0,_0x264e32(_0x1aa064[_0x112713([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x112713([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x112713([0x6c,0x6f,0x77])}),_0x2f2174[_0x112713([0x74,0x68,0x65,0x6e])](()=>{_0x4573d5||_0x209090(_0x112713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10206f(){return _0x4f6805[_0x112713([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x112713([0x76,0x69,0x65,0x77])][_0x112713([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x112713([0x61,0x75,0x74,0x6f]);}function _0x1f419d(){_0x4f6805[_0x112713([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x112713([0x76,0x69,0x65,0x77])][_0x112713([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x112713([0x61,0x75,0x74,0x6f]);}}function _0x5ac1fd(_0x57d8d1){const _0x4471d3=[new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417161=>setTimeout(_0x417161,0x5356b2f6^_0x45a2d6)),_0x2f2174[_0x112713([0x74,0x68,0x65,0x6e])](()=>new window[(_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d5d3=>{let _0x14c6bf=0x0;_0x4f6805[_0x112713([0x6d,0x6f,0x64,0x65,0x6c])][_0x112713([0x6f,0x6e])](_0x112713([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24f06c,_0x2f4c3b)=>{_0x2f4c3b[0x0][_0x112713([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14c6bf++,_0x14c6bf==(0x535f8dc2^_0x45a2d6)&&(_0x40d5d3(),_0x24f06c[_0x112713([0x6f,0x66,0x66])]());});}))];return window[_0x112713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x112713([0x72,0x61,0x63,0x65])](_0x4471d3)[_0x112713([0x74,0x68,0x65,0x6e])](()=>_0x57d8d1);}async function _0xf8e543(){await _0x2f2174,_0x4f6805[_0x112713([0x6d,0x6f,0x64,0x65,0x6c])][_0x112713([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52e7af,_0x4f6805[_0x112713([0x6d,0x6f,0x64,0x65,0x6c])][_0x112713([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52e7af,_0x4f6805[_0x112713([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x112713([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x561970(_0x513f9f){const _0x1501df=_0x1f2960();_0x4f6805[_0x1501df]=_0x112713([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x513f9f,_0x513f9f!=_0x112713([0x56,0x61,0x6c,0x69,0x64])&&_0xf8e543();}function _0x1f2960(){const _0x1e0317=window[_0x112713([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x112713([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x112713([0x6e,0x6f,0x77])]())[_0x112713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x112713([0x2e]),'');let _0x1642a5=_0x112713([0x68]);for(let _0x176479=0x0;_0x176479<_0x1e0317[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x176479+=0x2){let _0x3b0112=window[_0x112713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0317[_0x112713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x176479,_0x176479+0x2));_0x3b0112>=_0x4d365d[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b0112-=_0x4d365d[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1642a5+=_0x4d365d[_0x3b0112];}return _0x1642a5;}function _0x218b97(){const _0x215f0a=_0x3cd4df[_0x112713([0x73,0x70,0x6c,0x69,0x74])](_0x112713([0x2e]));if(0x3!=_0x215f0a[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x377ee2(_0x215f0a[0x1]);function _0x377ee2(_0x4c5a7d){const _0x2aceb4=_0x5b2239(_0x4c5a7d);return _0x2aceb4&&_0x19bfb9()?_0x2aceb4:null;function _0x19bfb9(){const _0x3ed9c6=_0x2aceb4[_0x112713([0x6a,0x74,0x69])],_0x4041a4=window[_0x112713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed9c6[_0x112713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ed9c6[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fea9b={..._0x2aceb4,[_0x112713([0x6a,0x74,0x69])]:_0x3ed9c6[_0x112713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ed9c6[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fea9b[_0x112713([0x76,0x63])],_0x5ba118(_0x4fea9b)==_0x4041a4;}}}async function _0x26a53(){let _0x5c9411=!0x0;try{const _0x2ac2e2=_0x3cd4df[_0x112713([0x73,0x70,0x6c,0x69,0x74])](_0x112713([0x2e])),[_0x459deb,_0x3c4acf,_0x5cd099]=_0x2ac2e2;return _0x3abfa3(_0x459deb),await _0x2811ff(_0x459deb,_0x3c4acf,_0x5cd099),_0x5c9411;}catch{return!0x1;}function _0x3abfa3(_0x322d19){const _0x52ac59=_0x5b2239(_0x322d19);_0x52ac59&&_0x52ac59[_0x112713([0x61,0x6c,0x67])]==_0x112713([0x45,0x53,0x32,0x35,0x36])||(_0x5c9411=!0x1);}async function _0x2811ff(_0x8ee9a4,_0x41ce9a,_0x5692fe){const _0x388e65=window[_0x112713([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x112713([0x66,0x72,0x6f,0x6d])](_0x780b1(_0x5692fe),_0x293a04=>_0x293a04[_0x112713([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43d8e0=new window[(_0x112713([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x112713([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8ee9a4+_0x112713([0x2e])+_0x41ce9a),_0x27c514=window[_0x112713([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x112713([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27c514)return;const _0x199ddc=await _0x27c514[_0x112713([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x112713([0x6a,0x77,0x6b]),_0x4cd31b,{[_0x112713([0x6e,0x61,0x6d,0x65])]:_0x112713([0x45,0x43,0x44,0x53,0x41]),[_0x112713([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x112713([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x112713([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27c514[_0x112713([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x112713([0x6e,0x61,0x6d,0x65])]:_0x112713([0x45,0x43,0x44,0x53,0x41]),[_0x112713([0x68,0x61,0x73,0x68])]:{[_0x112713([0x6e,0x61,0x6d,0x65])]:_0x112713([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x199ddc,_0x388e65,_0x43d8e0)||(_0x5c9411=!0x1);}}function _0x5b2239(_0x4be67c){return _0x4be67c[_0x112713([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x112713([0x65,0x79]))?JSON[_0x112713([0x70,0x61,0x72,0x73,0x65])](_0x780b1(_0x4be67c)):null;}function _0x780b1(_0x3089d0){return window[_0x112713([0x61,0x74,0x6f,0x62])](_0x3089d0[_0x112713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x112713([0x2b]))[_0x112713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x112713([0x2f])));}function _0x5ba118(_0x277546){let _0x2d2bae=0x1505;function _0x1652c2(_0x47c9dc){for(let _0x2f9b93=0x0;_0x2f9b93<_0x47c9dc[_0x112713([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f9b93++){const _0x48682f=_0x47c9dc[_0x112713([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f9b93);_0x2d2bae=(_0x2d2bae<<0x5)+_0x2d2bae+_0x48682f,_0x2d2bae&=_0x2d2bae;}}function _0x4f1e5d(_0x267965){Array[_0x112713([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x267965)?_0x267965[_0x112713([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f1e5d):_0x267965&&typeof _0x267965==_0x112713([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x112713([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x267965)[_0x112713([0x73,0x6f,0x72,0x74])]()[_0x112713([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41129f,_0x461e7c])=>{_0x1652c2(_0x41129f),_0x4f1e5d(_0x461e7c);}):_0x1652c2(window[_0x112713([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x267965));}return _0x4f1e5d(_0x277546),_0x2d2bae>>>0x0;}function _0xb4d900(_0x46669f){return _0x46669f[_0x112713([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x112713([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x112713([0x30]));}function _0xab24da(_0x50c8f1){return _0x50c8f1[_0x112713([0x73,0x70,0x6c,0x69,0x74])]('')[_0x112713([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x112713([0x6a,0x6f,0x69,0x6e])]('');}function _0x52e7af(){}function _0x112713(_0x2d9d3d){return _0x2d9d3d['map'](_0x440847=>String['fromCharCode'](_0x440847))['join']('');}_0x561970(await _0x5d08a1());}(this);}['_initSchema'](){const _0x1ff4c6=this['editor']['model']['schema'];_0x1ff4c6['isRegistered']('imageBlock')&&_0x1ff4c6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1ff4c6['isRegistered']('imageInline')&&_0x1ff4c6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x167bae=this['editor'];_0x167bae['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x167bae['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1fb468=>_0x1fb468['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2be00e=_0x167bae['commands']['get']('replaceImageSource');_0x2be00e&&this['listenTo'](_0x2be00e,'cleanupImage',(_0x508473,[_0x49fc8c,_0x3eaad1])=>{_0x49fc8c['removeAttribute']('uploadcareImageId',_0x3eaad1);});}['_initConfig'](){const _0x4bf7a4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x472834=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xed1b0c(_0x5abc31['document'],'uc-config',{..._0x4bf7a4,'pubkey':_0x472834,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1b58c6=>{if('closeMax'==_0x1b58c6)return'#uc-icon-arrow-down';},_0x5abc31['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xed1b0c(_0x5abc31['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5abc31['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x44b4bd=this['editor']['commands']['get']('insertImage');_0x44b4bd&&this['listenTo'](_0x44b4bd,'execute',()=>{const _0x5c1668=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5c1668&&_0x5c1668['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5c1668);});});const _0x3b0389=this['editor']['commands']['get']('uploadcareImageReplace');_0x3b0389&&this['listenTo'](_0x3b0389,'execute',()=>{const _0x552040=this['editor']['model']['document']['selection']['getSelectedElement']();_0x552040&&_0x552040['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x552040);});});}}class tt extends _0x641c5b{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a6fc3){super(_0x3a6fc3),_0x3a6fc3['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3ad123['defineComponents'](_0x3ad123),this['_defineLocale']();}['_defineLocale'](){const _0x81fe23=this['editor']['config']['get']('uploadcare.locale'),_0x2eac8e=this['editor']['locale']['contentLanguage'];_0x81fe23&&_0x3ad123['defineLocale'](_0x2eac8e,_0x81fe23);}}class ii extends _0x287b11{constructor(_0x111218){super(_0x111218);const t=_0x111218['t'],_0x3db857=this['bindTemplate'],_0x41f832=new _0x5042c6();_0x41f832['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':[_0x41f832,{'text':_0x3db857['to']('imageUploadProgress',_0x3ce0b6=>t('Loading\x20image...')+'\x20('+(_0x3ce0b6||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x287b11{constructor(_0x42ef87){super(_0x42ef87);const t=_0x42ef87['t'];this['set']('errorType',null);const _0xae968f=new _0x1fac27(_0x42ef87);_0xae968f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xae968f['withText']=!0x0,_0xae968f['class']='ck-button-action',_0xae968f['on']('execute',()=>{this['fire']('retry');}),_0xae968f['bind']('isVisible')['to'](this,'errorType',_0x42639e=>'NotFound'!==_0x42639e);const _0x4c991d=new _0xe0066f();_0x4c991d['content']=_0x22c2ce,_0x4c991d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x9344b9=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':[_0x4c991d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x9344b9['to']('errorType',_0x2f32d5=>t('NotFound'!==_0x2f32d5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xae968f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x287b11{constructor(_0x3a7eac,_0x3d193e){super(_0x3a7eac);const _0x103e74=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3d193e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x103e74['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x241e5e,_0x291930,_0x5f2b52){super(_0x241e5e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x241e5e),this['_errorView']=new ti(_0x241e5e),this['_editingView']=new ei(_0x241e5e,_0x5f2b52),this['_focusableView']=new _0x287b11(_0x241e5e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x291930),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'],_0x3532e0=>{this['_addUploadcareImageEditorListeners'](_0x3532e0);});}),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'](_0x3b2aaa,_0x26671c){const _0xf30094='uc-cloud-image-editor',_0x895084=_0x3b2aaa['querySelector'](_0xf30094);if(_0x895084)return _0x26671c(_0x895084);const _0x131201=new MutationObserver(_0x2e5be5=>{const _0x3fe416=_0x2e5be5['filter'](_0x3d5795=>_0x3d5795['target']===_0x3b2aaa&&_0x3d5795['addedNodes']['length']>0x0&&_0x3d5795['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xf30094);_0x3fe416['length']&&(_0x131201['disconnect'](),_0x26671c(_0x3fe416[0x0]['addedNodes'][0x0]));});_0x131201['observe'](_0x3b2aaa,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x43ab93){_0x43ab93['addEventListener']('apply',_0x4c53ae=>{this['fire']('apply',{'imageSrc':_0x4c53ae['detail']['cdnUrl']});}),_0x43ab93['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x1b5cd0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x333715,_0x2cf3c7,_0x54c580){super(),this['_editor']=_0x333715,this['_dialog']=_0x2cf3c7,this['_imageElement']=_0x54c580,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 _0x528873=this['_imageElement'],_0xba6f1b=_0x528873['getAttribute']('uploadcareImageId'),_0x1d2fd4=_0x528873['getAttribute']('src');if(_0xba6f1b)await this['_loadImageInfo'](_0xba6f1b,_0x1d2fd4);else{if(this['_imageCache']['has'](_0x1d2fd4)){const _0x61d7c=this['_imageCache']['get'](_0x1d2fd4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x61d7c['url'],this['imageDimension']=_0x61d7c['dimension'],this['imageId']=_0x61d7c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x16ecea}=this['_editor'],t=_0x16ecea['t'],_0x391c82=new X(_0x16ecea,this['imageStatus'],this['_attributes']);_0x391c82['bind']('status')['to'](this,'imageStatus'),_0x391c82['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x391c82['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x391c82['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x391c82,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc0d061,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x391c82,'position':_0x15645d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x391c82['focus']();},'onHide':()=>{_0x391c82['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x54e2bc=>!A(_0x54e2bc,_0x391c82['element'])}});}['_loadImageInfo'](_0xe8e274,_0x336344){return j['getInfo'](_0xe8e274,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xb0697f=>{const {width:_0xd4e94f,height:_0x2f02aa}=_0xb0697f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x336344,this['imageDimension']={'width':_0xd4e94f,'height':_0x2f02aa},this['imageId']=_0xe8e274;})['catch'](_0x37aee3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x37aee3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3cd712,_0x355295){return this['_getImageAsFile'](_0x3cd712)['then'](_0x155a54=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x355295['signal'],'file':_0x155a54,'onProgress':_0x20592a=>{_0x20592a&&_0x20592a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x20592a['value']));}}))['then'](_0x2788bb=>{const {width:_0xd1074c,height:_0x3971e3}=_0x2788bb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2788bb['cdnUrl'],this['imageDimension']={'width':_0xd1074c,'height':_0x3971e3},this['imageId']=_0x2788bb['uuid'],this['imageUploadProgress']=null;const _0x42ba41=_0x3cd712['getAttribute']('src');this['_imageCache']['set'](_0x42ba41,{'id':_0x2788bb['uuid'],'url':_0x2788bb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x476bda=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x476bda['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2b2177,_0x4d0c95){_0x2b2177['on']('apply',(_0x2a21f7,_0x11ffc8)=>{this['_replaceImage'](_0x4d0c95,_0x11ffc8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2b2177['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2b2177['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12748a,_0x5e5d63,_0x4e5701){const _0x457083=this['_editor'],{width:_0x33111a,height:_0x3a731a}=S(_0x5e5d63,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x296c2a,imageSources:_0x1f611e}=C(_0x5e5d63,_0x33111a);_0x457083['model']['change'](_0x1e93b3=>{if('$graveyard'===_0x12748a['root']['rootName']){_0x457083['execute']('insertImage',{'imageType':_0x12748a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12748a['getAttributes']()),'uploadcareImageId':_0x4e5701,'src':_0x296c2a,'sources':_0x1f611e,'width':_0x33111a,'height':_0x3a731a}});const _0x9adc8d=_0x12748a['getChildren']();_0x12748a=_0x457083['model']['document']['selection']['getSelectedElement']();for(const _0x5485b6 of _0x9adc8d)_0x1e93b3['append'](_0x1e93b3['cloneElement'](_0x5485b6),_0x12748a);}else _0x1e93b3['setSelection'](_0x12748a,'on'),_0x457083['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12748a['getAttributes']()),'uploadcareImageId':_0x4e5701,'src':_0x296c2a,'sources':_0x1f611e,'width':_0x33111a,'height':_0x3a731a},_0x12748a);_0x1e93b3['setSelection'](_0x12748a,'on');});}async['_getImageAsFile'](_0x2705f1){const _0x1de2c6=_0x5abc31['window'],_0x21e461=_0x5abc31['document']['location']['href'],_0x17d1f7=new _0x1de2c6['URL'](_0x2705f1['getAttribute']('src'),_0x21e461);if('data:'===_0x17d1f7['protocol']){const _0x61b9c7=_0x17d1f7['href']['split'](','),_0x1f406e=_0x61b9c7[0x0]['match'](/:(.*?);/)[0x1],_0x3fe1d7=_0x1f406e['split']('/')[0x1],_0x3ab7fb=_0x1de2c6['atob'](_0x61b9c7[_0x61b9c7['length']-0x1]);let _0x515bd6=_0x3ab7fb['length'];const _0xe16729=new _0x1de2c6['Uint8Array'](_0x515bd6);for(;_0x515bd6--;)_0xe16729[_0x515bd6]=_0x3ab7fb['charCodeAt'](_0x515bd6);return new _0x1de2c6['File']([_0xe16729],'image.'+_0x3fe1d7,{'type':_0x1f406e});}const _0x386a19=_0x17d1f7['href']['split']('/'),_0x4622a1=_0x386a19[_0x386a19['length']-0x1],_0x42313a=_0x4622a1['split']('.')[0x1];return _0x1de2c6['fetch'](_0x17d1f7['href'])['then'](_0x5bf7c1=>_0x5bf7c1['clone']()['blob']())['then'](_0x3e648e=>new _0x1de2c6['File']([_0x3e648e],_0x4622a1,{'type':'image/'+_0x42313a}));}}class O extends _0xe435e9{['imageEditController'];static get['requires'](){return[_0x202f44];}['_isEditable'];constructor(_0x23fe93){super(_0x23fe93),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x48e0e7){const _0x3d9eb0=G(_0x48e0e7);return _0x5847ec=>!(!_0x5847ec||!_0x5847ec['is']('element','imageBlock')&&!_0x5847ec['is']('element','imageInline'))&&(!!_0x5847ec['hasAttribute']('uploadcareImageId')||!!_0x5847ec['hasAttribute']('src')&&_0x3d9eb0(_0x5847ec['getAttribute']('src')));}(_0x23fe93['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x292e35=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x292e35);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1188a8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1188a8&&(_0x1188a8['is']('element','imageBlock')||_0x1188a8['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x202f44),_0x1188a8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xe435e9{['refresh'](){const _0x575dfd=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x575dfd&&(_0x575dfd['is']('element','imageBlock')||_0x575dfd['is']('element','imageInline')));}['execute'](_0x279e34){const _0x40e069=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xea3e9c=>{_0xea3e9c['setAttributes'](_0x279e34,_0x40e069),_0xea3e9c['removeAttribute']('srcset',_0x40e069),_0xea3e9c['removeAttribute']('sizes',_0x40e069);});}}class m extends _0x641c5b{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x450e1a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x61b938}=this;_0x61b938['commands']['add']('uploadcareImageEdit',new O(_0x61b938)),_0x61b938['commands']['add']('uploadcareImageReplace',new R(_0x61b938));}}class g extends _0x641c5b{['_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 _0x59c0ca=this['editor'];_0x59c0ca['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d57e2=>{const _0x77715d=_0x59c0ca['commands']['get']('uploadcareImageEdit'),_0x664fa2=new _0x1fac27(_0x5d57e2),t=_0x5d57e2['t'];return _0x664fa2['set']({'icon':_0xc0d061,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x664fa2['bind']('isEnabled')['to'](_0x77715d),_0x664fa2['bind']('isOn')['to'](_0x77715d,'isActive'),this['listenTo'](_0x664fa2,'execute',()=>{_0x59c0ca['execute']('uploadcareImageEdit'),_0x59c0ca['editing']['view']['focus']();}),_0x664fa2;}),this['_initConfig']();}['_initConfig'](){const _0x4d842a=_0xed1b0c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4d842a),this['listenTo'](this['editor'],'destroy',()=>{_0x4d842a['remove']();});}}class et extends _0x641c5b{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x312c68=>0x1!=_0x312c68}};
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':_0x289b3c=>0x1!=_0x289b3c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5b6dcc=>{const {af:{dictionary:_0x2741c7,getPluralForm:_0x165327}}={'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':_0x4295e4=>0x1!=_0x4295e4}};_0x5b6dcc['af']||={'dictionary':{},'getPluralForm':null},_0x5b6dcc['af']['dictionary']=Object['assign'](_0x5b6dcc['af']['dictionary'],_0x2741c7),_0x5b6dcc['af']['getPluralForm']=_0x165327;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31be4b=>{const {af:{dictionary:_0xe10806,getPluralForm:_0x2aab63}}={'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':_0xbfa39c=>0x1!=_0xbfa39c}};_0x31be4b['af']||={'dictionary':{},'getPluralForm':null},_0x31be4b['af']['dictionary']=Object['assign'](_0x31be4b['af']['dictionary'],_0xe10806),_0x31be4b['af']['getPluralForm']=_0x2aab63;})(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':_0x183dfd=>0x0==_0x183dfd?0x0:0x1==_0x183dfd?0x1:0x2==_0x183dfd?0x2:_0x183dfd%0x64>=0x3&&_0x183dfd%0x64<=0xa?0x3:_0x183dfd%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':_0x4bd0c6=>0x0==_0x4bd0c6?0x0:0x1==_0x4bd0c6?0x1:0x2==_0x4bd0c6?0x2:_0x4bd0c6%0x64>=0x3&&_0x4bd0c6%0x64<=0xa?0x3:_0x4bd0c6%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1da40f=>{const {ar:{dictionary:_0x5f31c4,getPluralForm:_0x38efaa}}={'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':_0x1986ab=>0x0==_0x1986ab?0x0:0x1==_0x1986ab?0x1:0x2==_0x1986ab?0x2:_0x1986ab%0x64>=0x3&&_0x1986ab%0x64<=0xa?0x3:_0x1986ab%0x64>=0xb?0x4:0x5}};_0x1da40f['ar']||={'dictionary':{},'getPluralForm':null},_0x1da40f['ar']['dictionary']=Object['assign'](_0x1da40f['ar']['dictionary'],_0x5f31c4),_0x1da40f['ar']['getPluralForm']=_0x38efaa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e9937=>{const {ar:{dictionary:_0x42fc24,getPluralForm:_0x127375}}={'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':_0x10e6ac=>0x0==_0x10e6ac?0x0:0x1==_0x10e6ac?0x1:0x2==_0x10e6ac?0x2:_0x10e6ac%0x64>=0x3&&_0x10e6ac%0x64<=0xa?0x3:_0x10e6ac%0x64>=0xb?0x4:0x5}};_0x5e9937['ar']||={'dictionary':{},'getPluralForm':null},_0x5e9937['ar']['dictionary']=Object['assign'](_0x5e9937['ar']['dictionary'],_0x42fc24),_0x5e9937['ar']['getPluralForm']=_0x127375;})(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':_0x11ea59=>0x1!=_0x11ea59}};
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':_0xe4a259=>0x1!=_0xe4a259}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2b078c=>{const {ast:{dictionary:_0x4ba89b,getPluralForm:_0x41f1bf}}={'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':_0x26e988=>0x1!=_0x26e988}};_0x2b078c['ast']||={'dictionary':{},'getPluralForm':null},_0x2b078c['ast']['dictionary']=Object['assign'](_0x2b078c['ast']['dictionary'],_0x4ba89b),_0x2b078c['ast']['getPluralForm']=_0x41f1bf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6f1742=>{const {ast:{dictionary:_0x495ccb,getPluralForm:_0x3d1acc}}={'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':_0x4b172c=>0x1!=_0x4b172c}};_0x6f1742['ast']||={'dictionary':{},'getPluralForm':null},_0x6f1742['ast']['dictionary']=Object['assign'](_0x6f1742['ast']['dictionary'],_0x495ccb),_0x6f1742['ast']['getPluralForm']=_0x3d1acc;})(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':_0x45ae7b=>0x1!=_0x45ae7b}};
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':_0x3869fc=>0x1!=_0x3869fc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13b30a=>{const {az:{dictionary:_0x74ce19,getPluralForm:_0x161e9d}}={'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':_0x4d0536=>0x1!=_0x4d0536}};_0x13b30a['az']||={'dictionary':{},'getPluralForm':null},_0x13b30a['az']['dictionary']=Object['assign'](_0x13b30a['az']['dictionary'],_0x74ce19),_0x13b30a['az']['getPluralForm']=_0x161e9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2cd397=>{const {az:{dictionary:_0x39237b,getPluralForm:_0x23dc5f}}={'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':_0x988be1=>0x1!=_0x988be1}};_0x2cd397['az']||={'dictionary':{},'getPluralForm':null},_0x2cd397['az']['dictionary']=Object['assign'](_0x2cd397['az']['dictionary'],_0x39237b),_0x2cd397['az']['getPluralForm']=_0x23dc5f;})(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':_0x267a35=>_0x267a35%0xa==0x1&&_0x267a35%0x64!=0xb?0x0:_0x267a35%0xa>=0x2&&_0x267a35%0xa<=0x4&&(_0x267a35%0x64<0xa||_0x267a35%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':_0x5d27a4=>_0x5d27a4%0xa==0x1&&_0x5d27a4%0x64!=0xb?0x0:_0x5d27a4%0xa>=0x2&&_0x5d27a4%0xa<=0x4&&(_0x5d27a4%0x64<0xa||_0x5d27a4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31417b=>{const {be:{dictionary:_0x433202,getPluralForm:_0x381dff}}={'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':_0x2703e7=>_0x2703e7%0xa==0x1&&_0x2703e7%0x64!=0xb?0x0:_0x2703e7%0xa>=0x2&&_0x2703e7%0xa<=0x4&&(_0x2703e7%0x64<0xa||_0x2703e7%0x64>=0x14)?0x1:0x2}};_0x31417b['be']||={'dictionary':{},'getPluralForm':null},_0x31417b['be']['dictionary']=Object['assign'](_0x31417b['be']['dictionary'],_0x433202),_0x31417b['be']['getPluralForm']=_0x381dff;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x47e8ad=>{const {be:{dictionary:_0x468163,getPluralForm:_0x1dd3ad}}={'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':_0x20c022=>_0x20c022%0xa==0x1&&_0x20c022%0x64!=0xb?0x0:_0x20c022%0xa>=0x2&&_0x20c022%0xa<=0x4&&(_0x20c022%0x64<0xa||_0x20c022%0x64>=0x14)?0x1:0x2}};_0x47e8ad['be']||={'dictionary':{},'getPluralForm':null},_0x47e8ad['be']['dictionary']=Object['assign'](_0x47e8ad['be']['dictionary'],_0x468163),_0x47e8ad['be']['getPluralForm']=_0x1dd3ad;})(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':_0x1bcd6d=>0x1!=_0x1bcd6d}};
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':_0x183cc5=>0x1!=_0x183cc5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd272d1=>{const {bg:{dictionary:_0x317e5a,getPluralForm:_0x1ac1c1}}={'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':_0x33c0d9=>0x1!=_0x33c0d9}};_0xd272d1['bg']||={'dictionary':{},'getPluralForm':null},_0xd272d1['bg']['dictionary']=Object['assign'](_0xd272d1['bg']['dictionary'],_0x317e5a),_0xd272d1['bg']['getPluralForm']=_0x1ac1c1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x53ee5f=>{const {bg:{dictionary:_0x3734d1,getPluralForm:_0x475ec1}}={'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':_0x42dae0=>0x1!=_0x42dae0}};_0x53ee5f['bg']||={'dictionary':{},'getPluralForm':null},_0x53ee5f['bg']['dictionary']=Object['assign'](_0x53ee5f['bg']['dictionary'],_0x3734d1),_0x53ee5f['bg']['getPluralForm']=_0x475ec1;})(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':_0xe33b8c=>0x1!=_0xe33b8c}};
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':_0x17bae3=>0x1!=_0x17bae3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x493392=>{const {bn:{dictionary:_0x314350,getPluralForm:_0x53737d}}={'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':_0x2afa8f=>0x1!=_0x2afa8f}};_0x493392['bn']||={'dictionary':{},'getPluralForm':null},_0x493392['bn']['dictionary']=Object['assign'](_0x493392['bn']['dictionary'],_0x314350),_0x493392['bn']['getPluralForm']=_0x53737d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b97b0=>{const {bn:{dictionary:_0x4a3862,getPluralForm:_0x48acce}}={'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':_0x50f88c=>0x1!=_0x50f88c}};_0x3b97b0['bn']||={'dictionary':{},'getPluralForm':null},_0x3b97b0['bn']['dictionary']=Object['assign'](_0x3b97b0['bn']['dictionary'],_0x4a3862),_0x3b97b0['bn']['getPluralForm']=_0x48acce;})(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':_0x17136d=>_0x17136d%0xa==0x1&&_0x17136d%0x64!=0xb?0x0:_0x17136d%0xa>=0x2&&_0x17136d%0xa<=0x4&&(_0x17136d%0x64<0xa||_0x17136d%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':_0x505150=>_0x505150%0xa==0x1&&_0x505150%0x64!=0xb?0x0:_0x505150%0xa>=0x2&&_0x505150%0xa<=0x4&&(_0x505150%0x64<0xa||_0x505150%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13e72a=>{const {bs:{dictionary:_0x525d59,getPluralForm:_0x2f20b6}}={'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':_0x35999c=>_0x35999c%0xa==0x1&&_0x35999c%0x64!=0xb?0x0:_0x35999c%0xa>=0x2&&_0x35999c%0xa<=0x4&&(_0x35999c%0x64<0xa||_0x35999c%0x64>=0x14)?0x1:0x2}};_0x13e72a['bs']||={'dictionary':{},'getPluralForm':null},_0x13e72a['bs']['dictionary']=Object['assign'](_0x13e72a['bs']['dictionary'],_0x525d59),_0x13e72a['bs']['getPluralForm']=_0x2f20b6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19eba2=>{const {bs:{dictionary:_0x5691f4,getPluralForm:_0x2e66c6}}={'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':_0x4d05d1=>_0x4d05d1%0xa==0x1&&_0x4d05d1%0x64!=0xb?0x0:_0x4d05d1%0xa>=0x2&&_0x4d05d1%0xa<=0x4&&(_0x4d05d1%0x64<0xa||_0x4d05d1%0x64>=0x14)?0x1:0x2}};_0x19eba2['bs']||={'dictionary':{},'getPluralForm':null},_0x19eba2['bs']['dictionary']=Object['assign'](_0x19eba2['bs']['dictionary'],_0x5691f4),_0x19eba2['bs']['getPluralForm']=_0x2e66c6;})(window['CKEDITOR_TRANSLATIONS']||={});