@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250826.0 → 0.0.0-nightly-20250827.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 (175) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +10 -10
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.js +2 -2
  154. package/src/ui/uploadcareformview.js +1 -1
  155. package/src/uploadcare.js +1 -1
  156. package/src/uploadcarecommand.js +1 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. 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 _0x2c681b,Command as _0x48e403}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4b261b,IconGooglePhotos as _0xf23152,IconGoogleDrive as _0x4790e0,IconFacebook as _0x65b161,IconDropbox as _0x4aa7b1,IconUploadcareLink as _0x427f12,IconUploadcareImageUpload as _0x64136b,IconError as _0x754c18,IconUploadcareImageEdit as _0x4fda93}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2d304f,MenuBarMenuListItemButtonView as _0x130484,View as _0x190d11,FocusCycler as _0x15270b,Dialog as _0x15d45f,DialogViewPosition as _0x225e3e,SpinnerView as _0x5a3007,IconView as _0x13fb2d,Notification as _0x8e4201}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x31ffdb,DomEmitterMixin as _0x283c1a,global as _0x3e4ebd,getAncestors as _0x1df314,ObservableMixin as _0x36c90a,uid as _0x16a617,createElement as _0x1e526f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x16972c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x48c9c8,info as _0x3737dd}from'@uploadcare/upload-client';import*as _0x135cd4 from'@uploadcare/file-uploader';var i=function(_0x10daa0){return _0x10daa0['Local']='local',_0x10daa0['URL']='url',_0x10daa0['Dropbox']='dropbox',_0x10daa0['GDrive']='gdrive',_0x10daa0['Facebook']='facebook',_0x10daa0['GPhotos']='gphotos',_0x10daa0['OneDrive']='onedrive',_0x10daa0;}({});function _(_0x5f0402,_0x42c58a,_0xbe9d5a){const t=_0x5f0402['t'],_0x427373=_0x5f0402['t'];switch(_0x42c58a){case i['Local']:return{'text':_0x427373('Insert'===_0xbe9d5a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x427373('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xbe9d5a?_0x427373('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x427373('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xbe9d5a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xbe9d5a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xbe9d5a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xbe9d5a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xbe9d5a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x42c58a;}}class e extends _0x2c681b{['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 _0x442ec2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x241340;for(const _0x2355ee in _0x442ec2){const _0x16fd1a=_0x2355ee,_0x1f13f8=_0x442ec2[_0x16fd1a];if('uploadcareLicenseKeyValid'==_0x1f13f8||'uploadcareLicenseKeyInvalid'==_0x1f13f8||'uploadcareLicenseKeyExpired'==_0x1f13f8||'uploadcareLicenseKeyDomainLimit'==_0x1f13f8||'uploadcareLicenseKeyNotAllowed'==_0x1f13f8||'uploadcareLicenseKeyEvaluationLimit'==_0x1f13f8||'uploadcareLicenseKeyTrialLimit'==_0x1f13f8||'uploadcareLicenseKeyUsageLimit'==_0x1f13f8){delete _0x442ec2[_0x16fd1a],_0x241340=_0x1f13f8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x241340&&_0x442ec2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x241340&&_0x442ec2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x241340&&_0x442ec2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x241340&&_0x442ec2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x241340&&_0x442ec2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x241340&&_0x442ec2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x241340&&_0x442ec2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1d3af8}=this,_0x2b89e6=_0x1d3af8['commands']['get']('uploadcare');if(!_0x2b89e6)return;const _0x3f678e=this['_normalizeConfigSourceList'](_0x1d3af8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x41352b,_0x7867d8)=>{const _0x283232=this['_getIntegrationKey'](_0x7867d8['type']);return _0x41352b[_0x283232]||(_0x41352b[_0x283232]=[]),_0x41352b[_0x283232]['push'](_0x7867d8),_0x41352b;},{});_0x1d3af8['plugins']['has']('ImageInsertUI')&&_0x1d3af8['commands']['get']('uploadcare')&&Object['entries'](_0x3f678e)['forEach'](([_0x4f100b,_0x509833])=>{_0x1d3af8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4f100b,'observable':()=>_0x2b89e6,'buttonViewCreator':()=>this['_createToolbarButton'](_0x509833),'formViewCreator':()=>this['_createDropdownButtons'](_0x509833),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x509833),'override':'assetManager'!==_0x4f100b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1c3572){const {locale:_0x5a1e85}=this['editor'];return _0x1c3572['map'](_0x4c50f5=>{const _0x45c29f=_(_0x5a1e85,_0x4c50f5,'Insert');switch(_0x4c50f5){case i['Local']:return{'icon':_0x64136b,'type':i['Local'],..._0x45c29f};case i['URL']:return{'icon':_0x427f12,'type':i['URL'],..._0x45c29f};case i['Dropbox']:return{'icon':_0x4aa7b1,'type':i['Dropbox'],..._0x45c29f};case i['Facebook']:return{'icon':_0x65b161,'type':i['Facebook'],..._0x45c29f};case i['GDrive']:return{'icon':_0x4790e0,'type':i['GDrive'],..._0x45c29f};case i['GPhotos']:return{'icon':_0xf23152,'type':i['GPhotos'],..._0x45c29f};case i['OneDrive']:return{'icon':_0x4b261b,'type':i['OneDrive'],..._0x45c29f};}});}['_getIntegrationKey'](_0x6872e3){switch(_0x6872e3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x23f41e,_0x48cfa1){const _0x3e5e1b=this['editor'],_0x335488=new _0x23f41e(_0x3e5e1b['locale']),_0x797895=_0x3e5e1b['commands']['get']('uploadcare');return _0x335488['bind']('isEnabled')['to'](_0x797895),_0x335488['on']('execute',()=>{_0x797895['execute'](_0x48cfa1);}),_0x335488;}['_createToolbarButton'](_0x2e5a71){const {locale:_0x1b3aad}=this['editor'],_0x5a088e=this['editor']['plugins']['get']('ImageInsertUI'),_0x210692=_0x2e5a71[0x0],_0x42773b=this['_createButton'](_0x2d304f,_0x210692['type']);return _0x42773b['icon']=_0x210692['icon'],_0x42773b['bind']('label')['to'](_0x5a088e,'isImageSelected',_0x2e89c2=>_(_0x1b3aad,_0x210692['type'],_0x2e89c2?'Replace':'Insert')['text']),_0x42773b['tooltip']=!0x0,_0x42773b;}['_createDropdownButtons'](_0x4eecaf){const {locale:_0x420913}=this['editor'],_0x138c34=this['editor']['plugins']['get']('ImageInsertUI');return _0x4eecaf['map'](_0x393a6b=>{const _0x2d769e=this['_createButton'](_0x2d304f,_0x393a6b['type']);return _0x2d769e['withText']=!0x0,_0x2d769e['icon']=_0x393a6b['icon'],_0x2d769e['bind']('label')['to'](_0x138c34,'isImageSelected',_0x349f30=>_(_0x420913,_0x393a6b['type'],_0x349f30?'Replace':'Insert')['text']),_0x2d769e;});}['_createMenuBarButtons'](_0x8c1ff8){return _0x8c1ff8['map'](_0x3a365b=>{const _0x2dcada=this['_createButton'](_0x130484,_0x3a365b['type']);return _0x2dcada['icon']=_0x3a365b['icon'],_0x2dcada['label']=_0x3a365b['shortText'],_0x2dcada;});}}class F extends _0x190d11{['focusTracker'];['focusCycler'];constructor(_0x140a1b){super(_0x140a1b),this['focusTracker']=new _0x31ffdb(),this['focusCycler']=new _0x15270b({'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(_0x3e0428,_0x27b376){super(_0x3e0428),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-'+_0x27b376}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x56aeca,_0x314b3e){const _0x38e3dc=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xb0edd7=>_0xb0edd7<=_0x314b3e)['map'](_0x32a81b=>_0x56aeca['replace'](/\/$/,'')+'/-/resize/'+_0x32a81b+'x/\x20'+_0x32a81b+'w');return{'imageFallbackUrl':_0x56aeca,'imageSources':[{'srcset':_0x38e3dc['join'](',\x20'),'sizes':'(max-width:\x20'+_0x314b3e+'px)\x20100vw,\x20'+_0x314b3e+'px','type':'image/webp'}]};}function C(_0x2b80a0,_0xf05e7d,_0x216408){const _0x16cde6=_0x2b80a0['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x16cde6?parseInt(_0x16cde6[0x1],0xa):_0xf05e7d,'height':_0x16cde6?parseInt(_0x16cde6[0x2],0xa):_0x216408};}function p(_0x560ced,_0x5a7020){const _0x177478=new(_0x283c1a())(),_0x5566b0=_0x560ced['plugins']['get']('ImageUtils'),_0x176969=_0x560ced['editing']['mapper']['toViewElement'](_0x5a7020),_0x337a8d=_0x5566b0['findViewImgElement'](_0x176969),_0x2fbe2d=_0x560ced['editing']['view']['domConverter']['viewToDom'](_0x337a8d),_0x5e814b=_0x5a7020['getAttribute']('width'),_0x336df0=_0x5a7020['getAttribute']('height'),_0x2d3878='image-processing';_0x560ced['editing']['view']['change'](_0x2798a7=>{_0x2798a7['addClass'](_0x2d3878,_0x176969),_0x2798a7['setStyle']('aspect-ratio',_0x5e814b+'/'+_0x336df0,_0x337a8d);}),_0x177478['listenTo'](_0x2fbe2d,'load',()=>{_0x177478['stopListening'](_0x2fbe2d,'load'),_0x560ced['editing']['view']['change'](_0x3ccd50=>{_0x3ccd50['removeClass'](_0x2d3878,_0x176969),_0x3ccd50['removeStyle']('aspect-ratio',_0x337a8d);});});}function z(_0x3654ea){if(Array['isArray'](_0x3654ea)){const _0x3202fa=_0x3654ea['map'](z);return _0x21f1ac=>_0x3202fa['some'](_0x24dd2b=>_0x24dd2b(_0x21f1ac));}if('origin'==_0x3654ea){const _0x1c38b1=_0x3e4ebd['window']['location']['origin'];return _0x3903f4=>new URL(_0x3903f4,_0x3e4ebd['document']['baseURI'])['origin']==_0x1c38b1;}return'function'==typeof _0x3654ea?_0x3654ea:_0x3654ea instanceof RegExp?_0x313059=>!(!_0x313059['match'](_0x3654ea)&&!_0x313059['replace'](/^https?:\/\//,'')['match'](_0x3654ea)):()=>!0x1;}function S(_0x1edbae,_0x2b3fc0){return _0x1df314(_0x1edbae['target'])['includes'](_0x2b3fc0);}class n extends/* #__PURE__ -- @preserve */
24
- _0x36c90a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x110c94,_0x102d09,_0x28623f){super(),this['_editor']=_0x110c94,this['_editing']=_0x102d09,this['_dialog']=_0x110c94['plugins']['get'](_0x15d45f),this['_api']=_0x102d09['ctxElement']['getAPI'](),this['_type']=_0x28623f,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:_0x24cc1b,model:_0x2afe1d}=this['_editor'],_0x5954fe=_0x2afe1d['document']['selection']['getSelectedElement'](),_0xaa3975=_0x5954fe&&(_0x5954fe['is']('element','imageBlock')||_0x5954fe['is']('element','imageInline'));this['_formView']=new x(_0x24cc1b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x64136b,'title':_(_0x24cc1b,this['_type'],_0xaa3975?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x225e3e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5df844=>!S(_0x5df844,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x127afe}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa6e33c=>{const _0x35c790=_0x127afe['length'];for(const _0x322aca of _0x127afe){const _0x52ee10=_0x322aca===_0x127afe[_0x35c790-0x1],{cdnUrl:_0x2d8a5b,fileInfo:_0x123fb1}=_0x322aca;if(!_0x2d8a5b||!_0x123fb1)continue;const {width:_0x43030e,height:_0x478ce5}=_0x123fb1['imageInfo'],_0x1bc8da=C(_0x2d8a5b,_0x43030e,_0x478ce5),_0x41ae4b=k(_0x2d8a5b,_0x1bc8da['width']),_0x277314={'id':_0x123fb1['uuid'],'type':'image','attributes':{'imageDimension':_0x1bc8da,..._0x41ae4b}};this['_insertAsset'](_0x277314,_0x52ee10,_0xa6e33c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4cc7d6=>{'idle'===_0x4cc7d6['detail']['status']&&!_0x4cc7d6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x40531f,_0x2a5717,_0x1514a1){const _0x4cff9f=this['_editor']['model']['document']['selection'],_0x512969=_0x4cff9f['getSelectedElement'](),_0x3a9ad9=!(!_0x512969||!_0x512969['is']('element','imageInline'));_0x1514a1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x40531f,_0x3a9ad9),_0x2a5717||_0x1514a1['setSelection'](_0x4cff9f['getLastPosition']());}['_insertImage'](_0x38ca3a,_0x10c0a2){const _0x5c44d5=this['_editor'],{imageDimension:_0x211ea6,imageFallbackUrl:_0x84510f,imageSources:_0x311411}=_0x38ca3a['attributes'];_0x5c44d5['execute']('insertImage',{'imageType':_0x10c0a2?'imageInline':null,'source':{'uploadcareImageId':_0x38ca3a['id'],'src':_0x84510f,'sources':_0x311411,..._0x211ea6}});}}class w extends _0x48e403{['_editing'];['_controller']=null;static get['requires'](){return[_0x15d45f,o];}constructor(_0x129a19){super(_0x129a19),this['_editing']=_0x129a19['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3022c4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3022c4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x527753,publicKey:_0x47cf3e,signal:_0x2f8a68,onProgress:_0x380c3a}){return _0x48c9c8(_0x527753,{'publicKey':_0x47cf3e,'store':'auto','signal':_0x2f8a68,'onProgress':_0x380c3a});}static['getInfo'](_0x76e226,_0x176dbe){return _0x3737dd(_0x76e226,_0x176dbe);}}class f extends _0x2c681b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x16972c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4806c0=this['editor'];if(!!!_0x4806c0['config']['get']('uploadcare'))return;_0x4806c0['plugins']['get'](_0x16972c)['createUploadAdapter']=_0x38ec62=>new A(_0x38ec62,_0x4806c0),_0x4806c0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x14853c,{imageElement:_0x301b61,data:_0xa88665})=>{_0x4806c0['model']['change'](_0x391931=>{_0x391931['setAttribute']('uploadcareImageId',_0xa88665['uploadcareImageId'],_0x301b61);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5c972a,_0x16c1aa){this['loader']=_0x5c972a,this['editor']=_0x16c1aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x58258a=this['editor']['config']['get']('uploadcare.pubkey'),_0x224fe6=await this['loader']['file'];return j['upload']({'file':_0x224fe6,'publicKey':_0x58258a,'signal':this['controller']['signal'],'onProgress':_0x4aeace=>{_0x4aeace&&_0x4aeace['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4aeace['value']);}})['then'](async _0x31bd4c=>{const {imageFallbackUrl:_0x54ae26,imageSources:_0x515729}=k(_0x31bd4c['cdnUrl'],_0x31bd4c['imageInfo']['width']);return{'uploadcareImageId':_0x31bd4c['uuid'],'default':_0x54ae26,'sources':_0x515729};})['catch'](()=>{const _0xf72628=t('Cannot\x20upload\x20file:')+('\x20'+_0x224fe6['name']+'.');return Promise['reject'](_0xf72628);});}['abort'](){this['controller']['abort']();}}class o extends _0x2c681b{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x15d45f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x54a160){super(_0x54a160),this['ucContextId']=_0x16a617();}['init'](){const _0x420b3b=this['editor'];_0x420b3b['commands']['add']('uploadcare',new w(_0x420b3b));}['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 _0xc55580=_0x3e4ebd['document']['querySelector']('input[uploadcare-file-input]');_0xc55580&&_0xc55580['remove']();}),async function(_0x54e2c0){const _0x153b68=_0x1e607f([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x24c41f=0x3d8d0df,_0x40e38a=0x3dfa14f^_0x24c41f,_0x899e44=window[_0x1e607f([0x44,0x61,0x74,0x65])][_0x1e607f([0x6e,0x6f,0x77])](),_0x435d45=_0x54e2c0[_0x1e607f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3995fb=new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abb88=>{_0x435d45[_0x1e607f([0x6f,0x6e,0x63,0x65])](_0x1e607f([0x72,0x65,0x61,0x64,0x79]),_0x1abb88);}),_0x8470a7={[_0x1e607f([0x6b,0x74,0x79])]:_0x1e607f([0x45,0x43]),[_0x1e607f([0x75,0x73,0x65])]:_0x1e607f([0x73,0x69,0x67]),[_0x1e607f([0x63,0x72,0x76])]:_0x1e607f([0x50,0x2d,0x32,0x35,0x36]),[_0x1e607f([0x78])]:_0x1e607f([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]),[_0x1e607f([0x79])]:_0x1e607f([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]),[_0x1e607f([0x61,0x6c,0x67])]:_0x1e607f([0x45,0x53,0x32,0x35,0x36])},_0x177298=_0x435d45[_0x1e607f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e607f([0x67,0x65,0x74])](_0x1e607f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x570803(){let _0x137a66,_0x249503=null,_0x533e3b=null;try{if(_0x177298==_0x1e607f([0x47,0x50,0x4c]))return _0x1e607f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x137a66=_0x26e202(),!_0x137a66)return _0x1e607f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x137a66[_0x1e607f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x533e3b=_0x17521d(_0x137a66[_0x1e607f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x137a66[_0x1e607f([0x6a,0x74,0x69])])),await _0x101430()?_0x1db94c()?_0x416e62()?_0x1e607f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1038f6()?(_0x137a66[_0x1e607f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e607f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x249503=_0x520ff1(_0x1e607f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x137a66[_0x1e607f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e607f([0x74,0x72,0x69,0x61,0x6c])&&(_0x249503=_0x520ff1(_0x1e607f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b4930()):_0x1e607f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e607f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e607f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e607f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x416e62(){const _0x379e55=[_0x1e607f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e607f([0x74,0x72,0x69,0x61,0x6c])][_0x1e607f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x137a66[_0x1e607f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x899e44/0x3e8:0xe10*_0x40e38a;return _0x137a66[_0x1e607f([0x65,0x78,0x70])]<_0x379e55;}function _0x1db94c(){const _0x59d715=_0x137a66[_0x1e607f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59d715&&(!!_0x59d715[_0x1e607f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e607f([0x2a]))||!!_0x59d715[_0x1e607f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e607f([0x55,0x50,0x4c,0x43])));}function _0x1038f6(){const _0x4ba292=_0x137a66[_0x1e607f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ba292||0x0==_0x4ba292[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a0aa9}=new URL(window[_0x1e607f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ba292[_0x1e607f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a0aa9))return!0x0;const _0x1ac3e1=_0x3a0aa9[_0x1e607f([0x73,0x70,0x6c,0x69,0x74])](_0x1e607f([0x2e]));return _0x4ba292[_0x1e607f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x323b35=>_0x323b35[_0x1e607f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e607f([0x2a])))[_0x1e607f([0x6d,0x61,0x70])](_0x32dbca=>_0x32dbca[_0x1e607f([0x73,0x70,0x6c,0x69,0x74])](_0x1e607f([0x2e])))[_0x1e607f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a796c=>_0x5a796c[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ac3e1[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e607f([0x6d,0x61,0x70])](_0x42cdee=>Array(_0x1ac3e1[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42cdee[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e607f([0x66,0x69,0x6c,0x6c])](_0x42cdee[0x0]===_0x1e607f([0x2a])?_0x1e607f([0x2a]):'')[_0x1e607f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42cdee))[_0x1e607f([0x73,0x6f,0x6d,0x65])](_0x590649=>_0x1ac3e1[_0x1e607f([0x65,0x76,0x65,0x72,0x79])]((_0x18941e,_0x46be2a)=>_0x590649[_0x46be2a]===_0x18941e||_0x590649[_0x46be2a]===_0x1e607f([0x2a])));}function _0x2b4930(){return _0x249503&&_0x533e3b?new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cf050,_0x1eb916)=>{_0x249503[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x2cf050,_0x1eb916),_0x533e3b[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x2a0e35=>{_0x2a0e35!=_0x1e607f([0x56,0x61,0x6c,0x69,0x64])&&_0x2cf050(_0x2a0e35);},_0x1eb916);}):_0x249503||_0x533e3b||_0x1e607f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17521d(_0x25ee71,_0x2e5570){return new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26b40d=>{if(_0x400e68())return _0x26b40d(_0x1e607f([0x56,0x61,0x6c,0x69,0x64]));_0x4d8ce8(),_0x435d45[_0x1e607f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e607f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e65b0=!0x1;const _0x1a58ee=_0x16a617();function _0x5801a2(_0x724b7f){return!!_0x724b7f&&(typeof _0x724b7f===_0x1e607f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x724b7f===_0x1e607f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x724b7f[_0x1e607f([0x74,0x68,0x65,0x6e])]===_0x1e607f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x724b7f[_0x1e607f([0x63,0x61,0x74,0x63,0x68])]===_0x1e607f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c37f1(_0x32bcee){_0xc3c6a6(_0x32bcee)[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x514ee1=>{if(!_0x514ee1||_0x514ee1[_0x1e607f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e607f([0x6f,0x6b]))return _0x1e607f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1346a5(_0x268f7f(_0x1a58ee+_0x2e5570))!=_0x514ee1[_0x1e607f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e607f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e607f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x3872d9=>(_0x5f4eb3(),_0x3872d9),()=>{const _0x4ce58b=_0x35ad71();return null==_0x4ce58b?(_0x5f4eb3(),_0x1e607f([0x56,0x61,0x6c,0x69,0x64])):_0x1e607f(_0x899e44-_0x4ce58b>(0x27d454df^_0x24c41f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x26b40d)[_0x1e607f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26b40d(_0x1e607f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3db3ed=0x3ee3e5f^_0x24c41f;function _0x5f4eb3(){const _0x457a38=_0x1e607f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1346a5(_0x268f7f(_0x25ee71)),_0x24ccee=_0x56cba6(_0x1346a5(window[_0x1e607f([0x4d,0x61,0x74,0x68])][_0x1e607f([0x63,0x65,0x69,0x6c])](_0x899e44/_0x3db3ed)));window[_0x1e607f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e607f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x457a38,_0x24ccee);}function _0x35ad71(){const _0x39fa29=_0x1e607f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1346a5(_0x268f7f(_0x25ee71)),_0x3aa114=window[_0x1e607f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e607f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39fa29);return _0x3aa114?window[_0x1e607f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56cba6(_0x3aa114),0x10)*_0x3db3ed:null;}function _0xc3c6a6(_0x2b077e){return new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5463c3,_0x422136)=>{_0x2b077e[_0x1e607f([0x74,0x68,0x65,0x6e])](_0x5463c3,_0x422136),window[_0x1e607f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x422136,0x3d9041f^_0x24c41f);});}}_0x435d45[_0x1e607f([0x6f,0x6e])](_0x1e607f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f81d1,_0x20f874)=>{if(_0x20f874[0x0]!=_0x25ee71)return _0x26b40d(_0x1e607f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20f874[0x1]={..._0x20f874[0x1],[_0x1e607f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a58ee};},{[_0x1e607f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e607f([0x68,0x69,0x67,0x68])}),_0x435d45[_0x1e607f([0x6f,0x6e])](_0x1e607f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41b9e7=>{_0x5801a2(_0x41b9e7[_0x1e607f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e65b0=!0x0,_0x1c37f1(_0x41b9e7[_0x1e607f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e607f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e607f([0x6c,0x6f,0x77])}),_0x3995fb[_0x1e607f([0x74,0x68,0x65,0x6e])](()=>{_0x2e65b0||_0x26b40d(_0x1e607f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x400e68(){return _0x435d45[_0x1e607f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e607f([0x76,0x69,0x65,0x77])][_0x1e607f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e607f([0x61,0x75,0x74,0x6f]);}function _0x4d8ce8(){_0x435d45[_0x1e607f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e607f([0x76,0x69,0x65,0x77])][_0x1e607f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e607f([0x61,0x75,0x74,0x6f]);}}function _0x520ff1(_0x4ddf56){const _0x55f2ef=[new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a5c4d=>setTimeout(_0x3a5c4d,0x3d1ee13^_0x24c41f)),_0x3995fb[_0x1e607f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3568cb=>{let _0xa687bc=0x0;_0x435d45[_0x1e607f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e607f([0x6f,0x6e])](_0x1e607f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x583a6d,_0x549734)=>{_0x549734[0x0][_0x1e607f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa687bc++,_0xa687bc==(0x3d8d127^_0x24c41f)&&(_0x3568cb(),_0x583a6d[_0x1e607f([0x6f,0x66,0x66])]());});}))];return window[_0x1e607f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e607f([0x72,0x61,0x63,0x65])](_0x55f2ef)[_0x1e607f([0x74,0x68,0x65,0x6e])](()=>_0x4ddf56);}async function _0x3ff1df(){await _0x3995fb,_0x435d45[_0x1e607f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e607f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf81d21,_0x435d45[_0x1e607f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e607f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf81d21,_0x435d45[_0x1e607f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e607f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3867cf(_0x4c273f){const _0x5ad4db=_0x280e8d();_0x435d45[_0x5ad4db]=_0x1e607f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c273f,_0x4c273f!=_0x1e607f([0x56,0x61,0x6c,0x69,0x64])&&_0x3ff1df();}function _0x280e8d(){const _0x2af23c=window[_0x1e607f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e607f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e607f([0x6e,0x6f,0x77])]())[_0x1e607f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e607f([0x2e]),'');let _0x3f680b=_0x1e607f([0x52]);for(let _0x4c589f=0x0;_0x4c589f<_0x2af23c[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c589f+=0x2){let _0xaeead8=window[_0x1e607f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af23c[_0x1e607f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c589f,_0x4c589f+0x2));_0xaeead8>=_0x153b68[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xaeead8-=_0x153b68[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f680b+=_0x153b68[_0xaeead8];}return _0x3f680b;}function _0x26e202(){const _0x38f87f=_0x177298[_0x1e607f([0x73,0x70,0x6c,0x69,0x74])](_0x1e607f([0x2e]));if(0x3!=_0x38f87f[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5bdbe(_0x38f87f[0x1]);function _0x5bdbe(_0x2f1499){const _0xd9ec9=_0x37c33f(_0x2f1499);return _0xd9ec9&&_0x591dda()?_0xd9ec9:null;function _0x591dda(){const _0x20fe88=_0xd9ec9[_0x1e607f([0x6a,0x74,0x69])],_0x1ea159=window[_0x1e607f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20fe88[_0x1e607f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20fe88[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6f617d={..._0xd9ec9,[_0x1e607f([0x6a,0x74,0x69])]:_0x20fe88[_0x1e607f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20fe88[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6f617d[_0x1e607f([0x76,0x63])],_0x268f7f(_0x6f617d)==_0x1ea159;}}}async function _0x101430(){let _0x230175=!0x0;try{const _0x5b6ea4=_0x177298[_0x1e607f([0x73,0x70,0x6c,0x69,0x74])](_0x1e607f([0x2e])),[_0x32bcc2,_0x5da842,_0x13f3d2]=_0x5b6ea4;return _0xff55f7(_0x32bcc2),await _0x1a6271(_0x32bcc2,_0x5da842,_0x13f3d2),_0x230175;}catch{return!0x1;}function _0xff55f7(_0x1cc9ca){const _0x31f246=_0x37c33f(_0x1cc9ca);_0x31f246&&_0x31f246[_0x1e607f([0x61,0x6c,0x67])]==_0x1e607f([0x45,0x53,0x32,0x35,0x36])||(_0x230175=!0x1);}async function _0x1a6271(_0x493216,_0x32428d,_0x561a4a){const _0x3fd231=window[_0x1e607f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e607f([0x66,0x72,0x6f,0x6d])](_0x57840a(_0x561a4a),_0x27421f=>_0x27421f[_0x1e607f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x422567=new window[(_0x1e607f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e607f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493216+_0x1e607f([0x2e])+_0x32428d),_0x54f9aa=window[_0x1e607f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e607f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54f9aa)return;const _0x119b05=await _0x54f9aa[_0x1e607f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e607f([0x6a,0x77,0x6b]),_0x8470a7,{[_0x1e607f([0x6e,0x61,0x6d,0x65])]:_0x1e607f([0x45,0x43,0x44,0x53,0x41]),[_0x1e607f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e607f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e607f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54f9aa[_0x1e607f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e607f([0x6e,0x61,0x6d,0x65])]:_0x1e607f([0x45,0x43,0x44,0x53,0x41]),[_0x1e607f([0x68,0x61,0x73,0x68])]:{[_0x1e607f([0x6e,0x61,0x6d,0x65])]:_0x1e607f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x119b05,_0x3fd231,_0x422567)||(_0x230175=!0x1);}}function _0x37c33f(_0x216088){return _0x216088[_0x1e607f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e607f([0x65,0x79]))?JSON[_0x1e607f([0x70,0x61,0x72,0x73,0x65])](_0x57840a(_0x216088)):null;}function _0x57840a(_0x18a5f6){return window[_0x1e607f([0x61,0x74,0x6f,0x62])](_0x18a5f6[_0x1e607f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e607f([0x2b]))[_0x1e607f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e607f([0x2f])));}function _0x268f7f(_0x522a36){let _0x19c17e=0x1505;function _0x27f469(_0x2204d6){for(let _0x1b74f9=0x0;_0x1b74f9<_0x2204d6[_0x1e607f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b74f9++){const _0x15e104=_0x2204d6[_0x1e607f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b74f9);_0x19c17e=(_0x19c17e<<0x5)+_0x19c17e+_0x15e104,_0x19c17e&=_0x19c17e;}}function _0x47e449(_0x5bd7a5){Array[_0x1e607f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bd7a5)?_0x5bd7a5[_0x1e607f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47e449):_0x5bd7a5&&typeof _0x5bd7a5==_0x1e607f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e607f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bd7a5)[_0x1e607f([0x73,0x6f,0x72,0x74])]()[_0x1e607f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc31b,_0x37844b])=>{_0x27f469(_0x2bc31b),_0x47e449(_0x37844b);}):_0x27f469(window[_0x1e607f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bd7a5));}return _0x47e449(_0x522a36),_0x19c17e>>>0x0;}function _0x1346a5(_0x2d47b8){return _0x2d47b8[_0x1e607f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e607f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e607f([0x30]));}function _0x56cba6(_0x20c91d){return _0x20c91d[_0x1e607f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e607f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e607f([0x6a,0x6f,0x69,0x6e])]('');}function _0xf81d21(){}function _0x1e607f(_0x18c3e2){return _0x18c3e2['map'](_0x15ca7c=>String['fromCharCode'](_0x15ca7c))['join']('');}_0x3867cf(await _0x570803());}(this);}['_initSchema'](){const _0x5b97a9=this['editor']['model']['schema'];_0x5b97a9['isRegistered']('imageBlock')&&_0x5b97a9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5b97a9['isRegistered']('imageInline')&&_0x5b97a9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3d4d39=this['editor'];_0x3d4d39['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3d4d39['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4a6292=>_0x4a6292['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b544d=_0x3d4d39['commands']['get']('replaceImageSource');_0x4b544d&&this['listenTo'](_0x4b544d,'cleanupImage',(_0x35ce63,[_0x320f36,_0x1767b0])=>{_0x320f36['removeAttribute']('uploadcareImageId',_0x1767b0);});}['_initConfig'](){const _0x5a9f4c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5e39bb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1e526f(_0x3e4ebd['document'],'uc-config',{..._0x5a9f4c,'pubkey':_0x5e39bb,'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']=_0x150cd1=>{if('closeMax'==_0x150cd1)return'#uc-icon-arrow-down';},_0x3e4ebd['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1e526f(_0x3e4ebd['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3e4ebd['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x59a871=this['editor']['commands']['get']('insertImage');_0x59a871&&this['listenTo'](_0x59a871,'execute',()=>{const _0x401485=this['editor']['model']['document']['selection']['getSelectedElement']();_0x401485&&_0x401485['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x401485);});});const _0x34f878=this['editor']['commands']['get']('uploadcareImageReplace');_0x34f878&&this['listenTo'](_0x34f878,'execute',()=>{const _0x3c3e7b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c3e7b&&_0x3c3e7b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c3e7b);});});}}class tt extends _0x2c681b{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2bc2a5){super(_0x2bc2a5),_0x2bc2a5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x135cd4['defineComponents'](_0x135cd4);}}class ii extends _0x190d11{constructor(_0x2e43a5){super(_0x2e43a5);const t=_0x2e43a5['t'],_0x243c94=this['bindTemplate'],_0x38ac3e=new _0x5a3007();_0x38ac3e['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':[_0x38ac3e,{'text':_0x243c94['to']('imageUploadProgress',_0x2dd812=>t('Loading\x20image...')+'\x20('+(_0x2dd812||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 _0x190d11{constructor(_0x4a1f96){super(_0x4a1f96);const t=_0x4a1f96['t'];this['set']('errorType',null);const _0x42923b=new _0x2d304f(_0x4a1f96);_0x42923b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x42923b['withText']=!0x0,_0x42923b['class']='ck-button-action',_0x42923b['on']('execute',()=>{this['fire']('retry');}),_0x42923b['bind']('isVisible')['to'](this,'errorType',_0x40b47a=>'NotFound'!==_0x40b47a);const _0x144553=new _0x13fb2d();_0x144553['content']=_0x754c18,_0x144553['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1775e6=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':[_0x144553,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1775e6['to']('errorType',_0x48bf87=>t('NotFound'!==_0x48bf87?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x42923b]},{'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 _0x190d11{constructor(_0x44ac27,_0x24ef58){super(_0x44ac27);const _0x269cf0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x24ef58,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x269cf0['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x55b56d,_0x29f3eb,_0xf0e9a){super(_0x55b56d),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x55b56d),this['_errorView']=new ti(_0x55b56d),this['_editingView']=new ei(_0x55b56d,_0xf0e9a),this['_focusableView']=new _0x190d11(_0x55b56d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x29f3eb),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'],_0x99ad94=>{this['_addUploadcareImageEditorListeners'](_0x99ad94);});}),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'](_0x29f362,_0x40d2e8){const _0x1d30d0='uc-cloud-image-editor',_0x47512e=_0x29f362['querySelector'](_0x1d30d0);if(_0x47512e)return _0x40d2e8(_0x47512e);const _0x107220=new MutationObserver(_0x5e9c97=>{const _0x3c9372=_0x5e9c97['filter'](_0x1067b8=>_0x1067b8['target']===_0x29f362&&_0x1067b8['addedNodes']['length']>0x0&&_0x1067b8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1d30d0);_0x3c9372['length']&&(_0x107220['disconnect'](),_0x40d2e8(_0x3c9372[0x0]['addedNodes'][0x0]));});_0x107220['observe'](_0x29f362,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x294a8a){_0x294a8a['addEventListener']('apply',_0x362261=>{this['fire']('apply',{'imageSrc':_0x362261['detail']['cdnUrl']});}),_0x294a8a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x36c90a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5b11ff,_0x251c8b,_0x4b46cb){super(),this['_editor']=_0x5b11ff,this['_dialog']=_0x251c8b,this['_imageElement']=_0x4b46cb,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 _0x2163e0=this['_imageElement'],_0x4e7319=_0x2163e0['getAttribute']('uploadcareImageId'),_0x1651d2=_0x2163e0['getAttribute']('src');if(_0x4e7319)await this['_loadImageInfo'](_0x4e7319,_0x1651d2);else{if(this['_imageCache']['has'](_0x1651d2)){const _0x10706d=this['_imageCache']['get'](_0x1651d2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10706d['url'],this['imageDimension']=_0x10706d['dimension'],this['imageId']=_0x10706d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5439f1}=this['_editor'],t=_0x5439f1['t'],_0xbe05c6=new X(_0x5439f1,this['imageStatus'],this['_attributes']);_0xbe05c6['bind']('status')['to'](this,'imageStatus'),_0xbe05c6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xbe05c6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xbe05c6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xbe05c6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fda93,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xbe05c6,'position':_0x225e3e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xbe05c6['focus']();},'onHide':()=>{_0xbe05c6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3dffc3=>!S(_0x3dffc3,_0xbe05c6['element'])}});}['_loadImageInfo'](_0x205436,_0x1d904c){return j['getInfo'](_0x205436,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xa90846=>{const {width:_0x5d7521,height:_0x162330}=_0xa90846['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d904c,this['imageDimension']={'width':_0x5d7521,'height':_0x162330},this['imageId']=_0x205436;})['catch'](_0x466d66=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x466d66['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x571ad4,_0x5ae4aa){return this['_getImageAsFile'](_0x571ad4)['then'](_0x2a0d77=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ae4aa['signal'],'file':_0x2a0d77,'onProgress':_0x568d97=>{_0x568d97&&_0x568d97['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x568d97['value']));}}))['then'](_0x3151d3=>{const {width:_0x43d713,height:_0x67ee46}=_0x3151d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3151d3['cdnUrl'],this['imageDimension']={'width':_0x43d713,'height':_0x67ee46},this['imageId']=_0x3151d3['uuid'],this['imageUploadProgress']=null;const _0x39632c=_0x571ad4['getAttribute']('src');this['_imageCache']['set'](_0x39632c,{'id':_0x3151d3['uuid'],'url':_0x3151d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x252d5b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x252d5b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x10d152,_0x46eff0){_0x10d152['on']('apply',(_0x1aa7f1,_0x5407a1)=>{this['_replaceImage'](_0x46eff0,_0x5407a1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x10d152['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x10d152['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x34bede,_0x26d1f5,_0x5ec2f4){const _0x169dbd=this['_editor'],{width:_0x254ff7,height:_0x59b51c}=C(_0x26d1f5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f7ccd,imageSources:_0x3797f0}=k(_0x26d1f5,_0x254ff7);_0x169dbd['model']['change'](_0x555cb3=>{if('$graveyard'===_0x34bede['root']['rootName']){_0x169dbd['execute']('insertImage',{'imageType':_0x34bede['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x34bede['getAttributes']()),'uploadcareImageId':_0x5ec2f4,'src':_0x2f7ccd,'sources':_0x3797f0,'width':_0x254ff7,'height':_0x59b51c}});const _0x1b849a=_0x34bede['getChildren']();_0x34bede=_0x169dbd['model']['document']['selection']['getSelectedElement']();for(const _0xdb1dae of _0x1b849a)_0x555cb3['append'](_0x555cb3['cloneElement'](_0xdb1dae),_0x34bede);}else _0x555cb3['setSelection'](_0x34bede,'on'),_0x169dbd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x34bede['getAttributes']()),'uploadcareImageId':_0x5ec2f4,'src':_0x2f7ccd,'sources':_0x3797f0,'width':_0x254ff7,'height':_0x59b51c},_0x34bede);_0x555cb3['setSelection'](_0x34bede,'on');});}async['_getImageAsFile'](_0x5e03d2){const _0x4c2f82=_0x3e4ebd['window'],_0x155848=_0x3e4ebd['document']['location']['href'],_0x633210=new _0x4c2f82['URL'](_0x5e03d2['getAttribute']('src'),_0x155848);if('data:'===_0x633210['protocol']){const _0x5584bc=_0x633210['href']['split'](','),_0xf3a9a1=_0x5584bc[0x0]['match'](/:(.*?);/)[0x1],_0x47fdf4=_0xf3a9a1['split']('/')[0x1],_0x2d0873=_0x4c2f82['atob'](_0x5584bc[_0x5584bc['length']-0x1]);let _0x1a57c7=_0x2d0873['length'];const _0x5603c3=new _0x4c2f82['Uint8Array'](_0x1a57c7);for(;_0x1a57c7--;)_0x5603c3[_0x1a57c7]=_0x2d0873['charCodeAt'](_0x1a57c7);return new _0x4c2f82['File']([_0x5603c3],'image.'+_0x47fdf4,{'type':_0xf3a9a1});}const _0x2ed050=_0x633210['href']['split']('/'),_0x4e62f9=_0x2ed050[_0x2ed050['length']-0x1],_0x3a3a32=_0x4e62f9['split']('.')[0x1];return _0x4c2f82['fetch'](_0x633210['href'])['then'](_0x1b9592=>_0x1b9592['clone']()['blob']())['then'](_0x556c19=>new _0x4c2f82['File']([_0x556c19],_0x4e62f9,{'type':'image/'+_0x3a3a32}));}}class Q extends _0x48e403{['imageEditController'];static get['requires'](){return[_0x15d45f];}['_isEditable'];constructor(_0x3ffb42){super(_0x3ffb42),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x54e1ca){const _0x92d91a=z(_0x54e1ca);return _0x403c6a=>!(!_0x403c6a||!_0x403c6a['is']('element','imageBlock')&&!_0x403c6a['is']('element','imageInline'))&&(!!_0x403c6a['hasAttribute']('uploadcareImageId')||!!_0x403c6a['hasAttribute']('src')&&_0x92d91a(_0x403c6a['getAttribute']('src')));}(_0x3ffb42['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x594f95=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x594f95);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3f0b63=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3f0b63&&(_0x3f0b63['is']('element','imageBlock')||_0x3f0b63['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x15d45f),_0x3f0b63),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x48e403{['refresh'](){const _0x2a4527=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2a4527&&(_0x2a4527['is']('element','imageBlock')||_0x2a4527['is']('element','imageInline')));}['execute'](_0x4fcea4){const _0x4e4a3d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1b450e=>{_0x1b450e['setAttributes'](_0x4fcea4,_0x4e4a3d),_0x1b450e['removeAttribute']('srcset',_0x4e4a3d),_0x1b450e['removeAttribute']('sizes',_0x4e4a3d);});}}class m extends _0x2c681b{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x8e4201,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b5b3e}=this;_0x5b5b3e['commands']['add']('uploadcareImageEdit',new Q(_0x5b5b3e)),_0x5b5b3e['commands']['add']('uploadcareImageReplace',new V(_0x5b5b3e));}}class g extends _0x2c681b{['_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 _0x94f79c=this['editor'];_0x94f79c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2cca97=>{const _0x41f37a=_0x94f79c['commands']['get']('uploadcareImageEdit'),_0x2b0759=new _0x2d304f(_0x2cca97),t=_0x2cca97['t'];return _0x2b0759['set']({'icon':_0x4fda93,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2b0759['bind']('isEnabled')['to'](_0x41f37a),_0x2b0759['bind']('isOn')['to'](_0x41f37a,'isActive'),this['listenTo'](_0x2b0759,'execute',()=>{_0x94f79c['execute']('uploadcareImageEdit'),_0x94f79c['editing']['view']['focus']();}),_0x2b0759;}),this['_initConfig']();}['_initConfig'](){const _0x1fc417=_0x1e526f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1fc417),this['listenTo'](this['editor'],'destroy',()=>{_0x1fc417['remove']();});}}class et extends _0x2c681b{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 _0x1dc2e4,Command as _0x251f04}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2b8ec9,IconGooglePhotos as _0x26227e,IconGoogleDrive as _0x581ab5,IconFacebook as _0xba1587,IconDropbox as _0x16f6a5,IconUploadcareLink as _0x52e5fa,IconUploadcareImageUpload as _0x59310f,IconError as _0x444a34,IconUploadcareImageEdit as _0x30c04c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x28b561,MenuBarMenuListItemButtonView as _0x2b06a4,View as _0x36c0ef,FocusCycler as _0xfac465,Dialog as _0xfbf8ac,DialogViewPosition as _0x47d3a6,SpinnerView as _0x192bed,IconView as _0x59f953,Notification as _0x583e2a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3f54de,DomEmitterMixin as _0x58e70c,global as _0x464a3a,getAncestors as _0x23ccae,ObservableMixin as _0x8f7705,uid as _0x26dabf,createElement as _0x4e3bc3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x55e51a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x12e5c8,info as _0x599f46}from'@uploadcare/upload-client';import*as _0x2fd6a5 from'@uploadcare/file-uploader';var i=function(_0x5e2e6f){return _0x5e2e6f['Local']='local',_0x5e2e6f['URL']='url',_0x5e2e6f['Dropbox']='dropbox',_0x5e2e6f['GDrive']='gdrive',_0x5e2e6f['Facebook']='facebook',_0x5e2e6f['GPhotos']='gphotos',_0x5e2e6f['OneDrive']='onedrive',_0x5e2e6f;}({});function _(_0x1395ca,_0x58df23,_0x5b9aa9){const t=_0x1395ca['t'],_0x33b18b=_0x1395ca['t'];switch(_0x58df23){case i['Local']:return{'text':_0x33b18b('Insert'===_0x5b9aa9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x33b18b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5b9aa9?_0x33b18b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x33b18b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5b9aa9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5b9aa9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5b9aa9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5b9aa9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5b9aa9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58df23;}}class e extends _0x1dc2e4{['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 _0x359e0c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40edab;for(const _0x2203f5 in _0x359e0c){const _0x4b3b16=_0x2203f5,_0x37beca=_0x359e0c[_0x4b3b16];if('uploadcareLicenseKeyValid'==_0x37beca||'uploadcareLicenseKeyInvalid'==_0x37beca||'uploadcareLicenseKeyExpired'==_0x37beca||'uploadcareLicenseKeyDomainLimit'==_0x37beca||'uploadcareLicenseKeyNotAllowed'==_0x37beca||'uploadcareLicenseKeyEvaluationLimit'==_0x37beca||'uploadcareLicenseKeyTrialLimit'==_0x37beca||'uploadcareLicenseKeyUsageLimit'==_0x37beca){delete _0x359e0c[_0x4b3b16],_0x40edab=_0x37beca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x40edab&&_0x359e0c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x40edab&&_0x359e0c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x40edab&&_0x359e0c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x40edab&&_0x359e0c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x40edab&&_0x359e0c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x40edab&&_0x359e0c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x40edab&&_0x359e0c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x17d83b}=this,_0x1737b9=_0x17d83b['commands']['get']('uploadcare');if(!_0x1737b9)return;const _0x2be072=this['_normalizeConfigSourceList'](_0x17d83b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x282f38,_0x2cabc1)=>{const _0x23cb28=this['_getIntegrationKey'](_0x2cabc1['type']);return _0x282f38[_0x23cb28]||(_0x282f38[_0x23cb28]=[]),_0x282f38[_0x23cb28]['push'](_0x2cabc1),_0x282f38;},{});_0x17d83b['plugins']['has']('ImageInsertUI')&&_0x17d83b['commands']['get']('uploadcare')&&Object['entries'](_0x2be072)['forEach'](([_0xbe4f9f,_0x13c06f])=>{_0x17d83b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xbe4f9f,'observable':()=>_0x1737b9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x13c06f),'formViewCreator':()=>this['_createDropdownButtons'](_0x13c06f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x13c06f),'override':'assetManager'!==_0xbe4f9f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xd4eacc){const {locale:_0x4aaff3}=this['editor'];return _0xd4eacc['map'](_0x10d254=>{const _0x39a492=_(_0x4aaff3,_0x10d254,'Insert');switch(_0x10d254){case i['Local']:return{'icon':_0x59310f,'type':i['Local'],..._0x39a492};case i['URL']:return{'icon':_0x52e5fa,'type':i['URL'],..._0x39a492};case i['Dropbox']:return{'icon':_0x16f6a5,'type':i['Dropbox'],..._0x39a492};case i['Facebook']:return{'icon':_0xba1587,'type':i['Facebook'],..._0x39a492};case i['GDrive']:return{'icon':_0x581ab5,'type':i['GDrive'],..._0x39a492};case i['GPhotos']:return{'icon':_0x26227e,'type':i['GPhotos'],..._0x39a492};case i['OneDrive']:return{'icon':_0x2b8ec9,'type':i['OneDrive'],..._0x39a492};}});}['_getIntegrationKey'](_0x42c09c){switch(_0x42c09c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x17b58d,_0x168e4b){const _0x40a9a9=this['editor'],_0x1501f9=new _0x17b58d(_0x40a9a9['locale']),_0x76b280=_0x40a9a9['commands']['get']('uploadcare');return _0x1501f9['bind']('isEnabled')['to'](_0x76b280),_0x1501f9['on']('execute',()=>{_0x76b280['execute'](_0x168e4b);}),_0x1501f9;}['_createToolbarButton'](_0x1e1d05){const {locale:_0x3c9ddd}=this['editor'],_0x1d77bd=this['editor']['plugins']['get']('ImageInsertUI'),_0x16d9a2=_0x1e1d05[0x0],_0x514b05=this['_createButton'](_0x28b561,_0x16d9a2['type']);return _0x514b05['icon']=_0x16d9a2['icon'],_0x514b05['bind']('label')['to'](_0x1d77bd,'isImageSelected',_0x5a2bd3=>_(_0x3c9ddd,_0x16d9a2['type'],_0x5a2bd3?'Replace':'Insert')['text']),_0x514b05['tooltip']=!0x0,_0x514b05;}['_createDropdownButtons'](_0x414127){const {locale:_0x291659}=this['editor'],_0x10ba36=this['editor']['plugins']['get']('ImageInsertUI');return _0x414127['map'](_0x4e49bf=>{const _0x5a90f5=this['_createButton'](_0x28b561,_0x4e49bf['type']);return _0x5a90f5['withText']=!0x0,_0x5a90f5['icon']=_0x4e49bf['icon'],_0x5a90f5['bind']('label')['to'](_0x10ba36,'isImageSelected',_0x4eb9a9=>_(_0x291659,_0x4e49bf['type'],_0x4eb9a9?'Replace':'Insert')['text']),_0x5a90f5;});}['_createMenuBarButtons'](_0x18bc3a){return _0x18bc3a['map'](_0x1cec3d=>{const _0x2d3138=this['_createButton'](_0x2b06a4,_0x1cec3d['type']);return _0x2d3138['icon']=_0x1cec3d['icon'],_0x2d3138['label']=_0x1cec3d['shortText'],_0x2d3138;});}}class F extends _0x36c0ef{['focusTracker'];['focusCycler'];constructor(_0x43af32){super(_0x43af32),this['focusTracker']=new _0x3f54de(),this['focusCycler']=new _0xfac465({'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(_0x52df1c,_0x5e5479){super(_0x52df1c),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-'+_0x5e5479}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3f8ce0,_0x7080d7){const _0xbd2f91=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xbb54bc=>_0xbb54bc<=_0x7080d7)['map'](_0x182739=>_0x3f8ce0['replace'](/\/$/,'')+'/-/resize/'+_0x182739+'x/\x20'+_0x182739+'w');return{'imageFallbackUrl':_0x3f8ce0,'imageSources':[{'srcset':_0xbd2f91['join'](',\x20'),'sizes':'(max-width:\x20'+_0x7080d7+'px)\x20100vw,\x20'+_0x7080d7+'px','type':'image/webp'}]};}function S(_0x49abbc,_0x32b2c5,_0x5e87bf){const _0x1943ae=_0x49abbc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1943ae?parseInt(_0x1943ae[0x1],0xa):_0x32b2c5,'height':_0x1943ae?parseInt(_0x1943ae[0x2],0xa):_0x5e87bf};}function p(_0xf7bdbe,_0x2a240e){const _0x5d1ecc=new(_0x58e70c())(),_0xa63f94=_0xf7bdbe['plugins']['get']('ImageUtils'),_0xcd3c10=_0xf7bdbe['editing']['mapper']['toViewElement'](_0x2a240e),_0x39c47e=_0xa63f94['findViewImgElement'](_0xcd3c10),_0x4f0c71=_0xf7bdbe['editing']['view']['domConverter']['viewToDom'](_0x39c47e),_0x4ef096=_0x2a240e['getAttribute']('width'),_0x1284d1=_0x2a240e['getAttribute']('height'),_0x555eaf='image-processing';_0xf7bdbe['editing']['view']['change'](_0x52649f=>{_0x52649f['addClass'](_0x555eaf,_0xcd3c10),_0x52649f['setStyle']('aspect-ratio',_0x4ef096+'/'+_0x1284d1,_0x39c47e);}),_0x5d1ecc['listenTo'](_0x4f0c71,'load',()=>{_0x5d1ecc['stopListening'](_0x4f0c71,'load'),_0xf7bdbe['editing']['view']['change'](_0x199870=>{_0x199870['removeClass'](_0x555eaf,_0xcd3c10),_0x199870['removeStyle']('aspect-ratio',_0x39c47e);});});}function G(_0x50aea0){if(Array['isArray'](_0x50aea0)){const _0x5d74ab=_0x50aea0['map'](G);return _0x17ad04=>_0x5d74ab['some'](_0x3a5bee=>_0x3a5bee(_0x17ad04));}if('origin'==_0x50aea0){const _0xa615f3=_0x464a3a['window']['location']['origin'];return _0x3d8bf0=>new URL(_0x3d8bf0,_0x464a3a['document']['baseURI'])['origin']==_0xa615f3;}return'function'==typeof _0x50aea0?_0x50aea0:_0x50aea0 instanceof RegExp?_0x102ac0=>!(!_0x102ac0['match'](_0x50aea0)&&!_0x102ac0['replace'](/^https?:\/\//,'')['match'](_0x50aea0)):()=>!0x1;}function A(_0x545d56,_0x33565e){return _0x23ccae(_0x545d56['target'])['includes'](_0x33565e);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x8f7705(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3e8b70,_0x12fcee,_0xf8b66f){super(),this['_editor']=_0x3e8b70,this['_editing']=_0x12fcee,this['_dialog']=_0x3e8b70['plugins']['get'](_0xfbf8ac),this['_api']=_0x12fcee['ctxElement']['getAPI'](),this['_type']=_0xf8b66f,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:_0xa5dc02,model:_0x509979}=this['_editor'],_0x37ca6d=_0x509979['document']['selection']['getSelectedElement'](),_0xa86dd8=_0x37ca6d&&(_0x37ca6d['is']('element','imageBlock')||_0x37ca6d['is']('element','imageInline'));this['_formView']=new x(_0xa5dc02,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x59310f,'title':_(_0xa5dc02,this['_type'],_0xa86dd8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x47d3a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1761b0=>!A(_0x1761b0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5c339f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa6f4c9=>{const _0x1de27a=_0x5c339f['length'];for(const _0x51871a of _0x5c339f){const _0x4930a4=_0x51871a===_0x5c339f[_0x1de27a-0x1],{cdnUrl:_0x23024b,fileInfo:_0x151520}=_0x51871a;if(!_0x23024b||!_0x151520)continue;const {width:_0x591212,height:_0x4769d1}=_0x151520['imageInfo'],_0x15ab4b=S(_0x23024b,_0x591212,_0x4769d1),_0xb5c249=C(_0x23024b,_0x15ab4b['width']),_0x5bc660={'id':_0x151520['uuid'],'type':'image','attributes':{'imageDimension':_0x15ab4b,..._0xb5c249}};this['_insertAsset'](_0x5bc660,_0x4930a4,_0xa6f4c9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x25b746=>{'idle'===_0x25b746['detail']['status']&&!_0x25b746['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x37510e,_0x5f0729,_0xd8ab68){const _0x32b41b=this['_editor']['model']['document']['selection'],_0x26ed5a=_0x32b41b['getSelectedElement'](),_0x39f19d=!(!_0x26ed5a||!_0x26ed5a['is']('element','imageInline'));_0xd8ab68['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x37510e,_0x39f19d),_0x5f0729||_0xd8ab68['setSelection'](_0x32b41b['getLastPosition']());}['_insertImage'](_0x19f614,_0x21713b){const _0x586a05=this['_editor'],{imageDimension:_0x52999c,imageFallbackUrl:_0x14fae4,imageSources:_0x254211}=_0x19f614['attributes'];_0x586a05['execute']('insertImage',{'imageType':_0x21713b?'imageInline':null,'source':{'uploadcareImageId':_0x19f614['id'],'src':_0x14fae4,'sources':_0x254211,..._0x52999c}});}}class w extends _0x251f04{['_editing'];['_controller']=null;static get['requires'](){return[_0xfbf8ac,o];}constructor(_0x27520f){super(_0x27520f),this['_editing']=_0x27520f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x230b5d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x230b5d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xf310cc,..._0x5c04cd}){return _0x12e5c8(_0xf310cc,_0x5c04cd);}static['getInfo'](_0x545e2c,_0x323e69){return _0x599f46(_0x545e2c,_0x323e69);}}class f extends _0x1dc2e4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x55e51a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x16a408=this['editor'];if(!!!_0x16a408['config']['get']('uploadcare'))return;_0x16a408['plugins']['get'](_0x55e51a)['createUploadAdapter']=_0x4a7c77=>new k(_0x4a7c77,_0x16a408),_0x16a408['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5418d6,{imageElement:_0x66b7ae,data:_0x2e39eb})=>{_0x16a408['model']['change'](_0x521a4b=>{_0x521a4b['setAttribute']('uploadcareImageId',_0x2e39eb['uploadcareImageId'],_0x66b7ae);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x21c664,_0x434280){this['loader']=_0x21c664,this['editor']=_0x434280,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x48a90c=await this['loader']['file'];return j['upload']({'file':_0x48a90c,'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':_0x1b8acc=>{_0x1b8acc&&_0x1b8acc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b8acc['value']);}})['then'](async _0x5bfe47=>{const {imageFallbackUrl:_0x207d6c,imageSources:_0x5dc3e4}=C(_0x5bfe47['cdnUrl'],_0x5bfe47['imageInfo']['width']);return{'uploadcareImageId':_0x5bfe47['uuid'],'default':_0x207d6c,'sources':_0x5dc3e4};})['catch'](()=>{const _0x409fc1=t('Cannot\x20upload\x20file:')+('\x20'+_0x48a90c['name']+'.');return Promise['reject'](_0x409fc1);});}['abort'](){this['controller']['abort']();}}class o extends _0x1dc2e4{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xfbf8ac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x289d3f){super(_0x289d3f),this['ucContextId']=_0x26dabf();}['init'](){const _0x16209a=this['editor'];_0x16209a['commands']['add']('uploadcare',new w(_0x16209a));}['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 _0x3fb3c7=_0x464a3a['document']['querySelector']('input[uploadcare-file-input]');_0x3fb3c7&&_0x3fb3c7['remove']();}),async function(_0x2ce83d){const _0x9e651e=_0x285b18([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x320ff0=0x3d8d0df,_0x4234d1=0x3dfa177^_0x320ff0,_0xe52f5d=window[_0x285b18([0x44,0x61,0x74,0x65])][_0x285b18([0x6e,0x6f,0x77])](),_0x787a1d=_0x2ce83d[_0x285b18([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45ff40=new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29083d=>{_0x787a1d[_0x285b18([0x6f,0x6e,0x63,0x65])](_0x285b18([0x72,0x65,0x61,0x64,0x79]),_0x29083d);}),_0x21a155={[_0x285b18([0x6b,0x74,0x79])]:_0x285b18([0x45,0x43]),[_0x285b18([0x75,0x73,0x65])]:_0x285b18([0x73,0x69,0x67]),[_0x285b18([0x63,0x72,0x76])]:_0x285b18([0x50,0x2d,0x32,0x35,0x36]),[_0x285b18([0x78])]:_0x285b18([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]),[_0x285b18([0x79])]:_0x285b18([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]),[_0x285b18([0x61,0x6c,0x67])]:_0x285b18([0x45,0x53,0x32,0x35,0x36])},_0x193a3b=_0x787a1d[_0x285b18([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x285b18([0x67,0x65,0x74])](_0x285b18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7fe872(){let _0x149e5a,_0x38e6ab=null,_0x482097=null;try{if(_0x193a3b==_0x285b18([0x47,0x50,0x4c]))return _0x285b18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x149e5a=_0x3d29ce(),!_0x149e5a)return _0x285b18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x149e5a[_0x285b18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x482097=_0x37dbef(_0x149e5a[_0x285b18([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x149e5a[_0x285b18([0x6a,0x74,0x69])])),await _0x2dd191()?_0x9ac357()?_0x832551()?_0x285b18([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ca77b()?(_0x149e5a[_0x285b18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x285b18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38e6ab=_0x5e2527(_0x285b18([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x149e5a[_0x285b18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x285b18([0x74,0x72,0x69,0x61,0x6c])&&(_0x38e6ab=_0x5e2527(_0x285b18([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d20d4()):_0x285b18([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x285b18([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x285b18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x285b18([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x832551(){const _0x5a38c9=[_0x285b18([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x285b18([0x74,0x72,0x69,0x61,0x6c])][_0x285b18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x149e5a[_0x285b18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe52f5d/0x3e8:0xe10*_0x4234d1;return _0x149e5a[_0x285b18([0x65,0x78,0x70])]<_0x5a38c9;}function _0x9ac357(){const _0x2e1afb=_0x149e5a[_0x285b18([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e1afb&&(!!_0x2e1afb[_0x285b18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285b18([0x2a]))||!!_0x2e1afb[_0x285b18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285b18([0x55,0x50,0x4c,0x43])));}function _0x4ca77b(){const _0x37ffa5=_0x149e5a[_0x285b18([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37ffa5||0x0==_0x37ffa5[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d008c}=new URL(window[_0x285b18([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37ffa5[_0x285b18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d008c))return!0x0;const _0x5a1500=_0x4d008c[_0x285b18([0x73,0x70,0x6c,0x69,0x74])](_0x285b18([0x2e]));return _0x37ffa5[_0x285b18([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eec3b=>_0x5eec3b[_0x285b18([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285b18([0x2a])))[_0x285b18([0x6d,0x61,0x70])](_0x557d66=>_0x557d66[_0x285b18([0x73,0x70,0x6c,0x69,0x74])](_0x285b18([0x2e])))[_0x285b18([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x211218=>_0x211218[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a1500[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x285b18([0x6d,0x61,0x70])](_0xc915d0=>Array(_0x5a1500[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc915d0[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x285b18([0x66,0x69,0x6c,0x6c])](_0xc915d0[0x0]===_0x285b18([0x2a])?_0x285b18([0x2a]):'')[_0x285b18([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc915d0))[_0x285b18([0x73,0x6f,0x6d,0x65])](_0x2c22fa=>_0x5a1500[_0x285b18([0x65,0x76,0x65,0x72,0x79])]((_0xef4399,_0x36340b)=>_0x2c22fa[_0x36340b]===_0xef4399||_0x2c22fa[_0x36340b]===_0x285b18([0x2a])));}function _0x4d20d4(){return _0x38e6ab&&_0x482097?new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f26a3,_0x142936)=>{_0x38e6ab[_0x285b18([0x74,0x68,0x65,0x6e])](_0x1f26a3,_0x142936),_0x482097[_0x285b18([0x74,0x68,0x65,0x6e])](_0x32acdf=>{_0x32acdf!=_0x285b18([0x56,0x61,0x6c,0x69,0x64])&&_0x1f26a3(_0x32acdf);},_0x142936);}):_0x38e6ab||_0x482097||_0x285b18([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37dbef(_0x3c9d53,_0x1e73a7){return new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48dc6c=>{if(_0x1e65c8())return _0x48dc6c(_0x285b18([0x56,0x61,0x6c,0x69,0x64]));_0x5e5654(),_0x787a1d[_0x285b18([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x285b18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29cd4a=!0x1;const _0x2262a2=_0x26dabf();function _0x393768(_0x3dd780){return!!_0x3dd780&&(typeof _0x3dd780===_0x285b18([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3dd780===_0x285b18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3dd780[_0x285b18([0x74,0x68,0x65,0x6e])]===_0x285b18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3dd780[_0x285b18([0x63,0x61,0x74,0x63,0x68])]===_0x285b18([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11eb6c(_0x386c46){_0x3cffb1(_0x386c46)[_0x285b18([0x74,0x68,0x65,0x6e])](_0x154620=>{if(!_0x154620||_0x154620[_0x285b18([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x285b18([0x6f,0x6b]))return _0x285b18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x193e62(_0x18f42d(_0x2262a2+_0x1e73a7))!=_0x154620[_0x285b18([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x285b18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x285b18([0x56,0x61,0x6c,0x69,0x64]);})[_0x285b18([0x74,0x68,0x65,0x6e])](_0x575281=>(_0x81813f(),_0x575281),()=>{const _0x108e7f=_0x274b92();return null==_0x108e7f?(_0x81813f(),_0x285b18([0x56,0x61,0x6c,0x69,0x64])):_0x285b18(_0xe52f5d-_0x108e7f>(0x27d454df^_0x320ff0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x285b18([0x74,0x68,0x65,0x6e])](_0x48dc6c)[_0x285b18([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48dc6c(_0x285b18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54d401=0x3ee3e5f^_0x320ff0;function _0x81813f(){const _0x5c243b=_0x285b18([0x6c,0x6c,0x63,0x74,0x2d])+_0x193e62(_0x18f42d(_0x3c9d53)),_0x316d9b=_0xa5abdb(_0x193e62(window[_0x285b18([0x4d,0x61,0x74,0x68])][_0x285b18([0x63,0x65,0x69,0x6c])](_0xe52f5d/_0x54d401)));window[_0x285b18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x285b18([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c243b,_0x316d9b);}function _0x274b92(){const _0x393b53=_0x285b18([0x6c,0x6c,0x63,0x74,0x2d])+_0x193e62(_0x18f42d(_0x3c9d53)),_0x4bd1ed=window[_0x285b18([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x285b18([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x393b53);return _0x4bd1ed?window[_0x285b18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa5abdb(_0x4bd1ed),0x10)*_0x54d401:null;}function _0x3cffb1(_0x371780){return new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8edce1,_0x53bcc0)=>{_0x371780[_0x285b18([0x74,0x68,0x65,0x6e])](_0x8edce1,_0x53bcc0),window[_0x285b18([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53bcc0,0x3d9041f^_0x320ff0);});}}_0x787a1d[_0x285b18([0x6f,0x6e])](_0x285b18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dfcae,_0x2aad56)=>{if(_0x2aad56[0x0]!=_0x3c9d53)return _0x48dc6c(_0x285b18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aad56[0x1]={..._0x2aad56[0x1],[_0x285b18([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2262a2};},{[_0x285b18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x285b18([0x68,0x69,0x67,0x68])}),_0x787a1d[_0x285b18([0x6f,0x6e])](_0x285b18([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3613c7=>{_0x393768(_0x3613c7[_0x285b18([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29cd4a=!0x0,_0x11eb6c(_0x3613c7[_0x285b18([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x285b18([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x285b18([0x6c,0x6f,0x77])}),_0x45ff40[_0x285b18([0x74,0x68,0x65,0x6e])](()=>{_0x29cd4a||_0x48dc6c(_0x285b18([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e65c8(){return _0x787a1d[_0x285b18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x285b18([0x76,0x69,0x65,0x77])][_0x285b18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x285b18([0x61,0x75,0x74,0x6f]);}function _0x5e5654(){_0x787a1d[_0x285b18([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x285b18([0x76,0x69,0x65,0x77])][_0x285b18([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x285b18([0x61,0x75,0x74,0x6f]);}}function _0x5e2527(_0x47830f){const _0x2b72fb=[new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3471db=>setTimeout(_0x3471db,0x3d1ee13^_0x320ff0)),_0x45ff40[_0x285b18([0x74,0x68,0x65,0x6e])](()=>new window[(_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1df818=>{let _0x18ec99=0x0;_0x787a1d[_0x285b18([0x6d,0x6f,0x64,0x65,0x6c])][_0x285b18([0x6f,0x6e])](_0x285b18([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483f2f,_0x59e25b)=>{_0x59e25b[0x0][_0x285b18([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18ec99++,_0x18ec99==(0x3d8d127^_0x320ff0)&&(_0x1df818(),_0x483f2f[_0x285b18([0x6f,0x66,0x66])]());});}))];return window[_0x285b18([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x285b18([0x72,0x61,0x63,0x65])](_0x2b72fb)[_0x285b18([0x74,0x68,0x65,0x6e])](()=>_0x47830f);}async function _0x1055b7(){await _0x45ff40,_0x787a1d[_0x285b18([0x6d,0x6f,0x64,0x65,0x6c])][_0x285b18([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29150f,_0x787a1d[_0x285b18([0x6d,0x6f,0x64,0x65,0x6c])][_0x285b18([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29150f,_0x787a1d[_0x285b18([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x285b18([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25c63c(_0x49663d){const _0x5a7655=_0x4d5eb5();_0x787a1d[_0x5a7655]=_0x285b18([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49663d,_0x49663d!=_0x285b18([0x56,0x61,0x6c,0x69,0x64])&&_0x1055b7();}function _0x4d5eb5(){const _0x270d08=window[_0x285b18([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x285b18([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x285b18([0x6e,0x6f,0x77])]())[_0x285b18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x285b18([0x2e]),'');let _0x197b6f=_0x285b18([0x52]);for(let _0x3dbda4=0x0;_0x3dbda4<_0x270d08[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dbda4+=0x2){let _0x1ba401=window[_0x285b18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x270d08[_0x285b18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dbda4,_0x3dbda4+0x2));_0x1ba401>=_0x9e651e[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ba401-=_0x9e651e[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x197b6f+=_0x9e651e[_0x1ba401];}return _0x197b6f;}function _0x3d29ce(){const _0x3d166d=_0x193a3b[_0x285b18([0x73,0x70,0x6c,0x69,0x74])](_0x285b18([0x2e]));if(0x3!=_0x3d166d[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ec73b(_0x3d166d[0x1]);function _0x1ec73b(_0x353ad6){const _0x76615c=_0x4ad2ed(_0x353ad6);return _0x76615c&&_0x12f83f()?_0x76615c:null;function _0x12f83f(){const _0x2eac93=_0x76615c[_0x285b18([0x6a,0x74,0x69])],_0x534210=window[_0x285b18([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eac93[_0x285b18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eac93[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b950b={..._0x76615c,[_0x285b18([0x6a,0x74,0x69])]:_0x2eac93[_0x285b18([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2eac93[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b950b[_0x285b18([0x76,0x63])],_0x18f42d(_0x4b950b)==_0x534210;}}}async function _0x2dd191(){let _0x32eec6=!0x0;try{const _0xfb0880=_0x193a3b[_0x285b18([0x73,0x70,0x6c,0x69,0x74])](_0x285b18([0x2e])),[_0x183c8f,_0xff4138,_0x35f7ab]=_0xfb0880;return _0xfcec66(_0x183c8f),await _0x5ce5e6(_0x183c8f,_0xff4138,_0x35f7ab),_0x32eec6;}catch{return!0x1;}function _0xfcec66(_0x1c6b66){const _0x114a29=_0x4ad2ed(_0x1c6b66);_0x114a29&&_0x114a29[_0x285b18([0x61,0x6c,0x67])]==_0x285b18([0x45,0x53,0x32,0x35,0x36])||(_0x32eec6=!0x1);}async function _0x5ce5e6(_0x56f89f,_0x5c6461,_0x2cb810){const _0x3162af=window[_0x285b18([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x285b18([0x66,0x72,0x6f,0x6d])](_0x40ed68(_0x2cb810),_0x113530=>_0x113530[_0x285b18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31df2d=new window[(_0x285b18([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x285b18([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56f89f+_0x285b18([0x2e])+_0x5c6461),_0x2e1f1c=window[_0x285b18([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x285b18([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e1f1c)return;const _0x1a0eab=await _0x2e1f1c[_0x285b18([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x285b18([0x6a,0x77,0x6b]),_0x21a155,{[_0x285b18([0x6e,0x61,0x6d,0x65])]:_0x285b18([0x45,0x43,0x44,0x53,0x41]),[_0x285b18([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x285b18([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x285b18([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e1f1c[_0x285b18([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x285b18([0x6e,0x61,0x6d,0x65])]:_0x285b18([0x45,0x43,0x44,0x53,0x41]),[_0x285b18([0x68,0x61,0x73,0x68])]:{[_0x285b18([0x6e,0x61,0x6d,0x65])]:_0x285b18([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a0eab,_0x3162af,_0x31df2d)||(_0x32eec6=!0x1);}}function _0x4ad2ed(_0x3c0427){return _0x3c0427[_0x285b18([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x285b18([0x65,0x79]))?JSON[_0x285b18([0x70,0x61,0x72,0x73,0x65])](_0x40ed68(_0x3c0427)):null;}function _0x40ed68(_0x4340ee){return window[_0x285b18([0x61,0x74,0x6f,0x62])](_0x4340ee[_0x285b18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x285b18([0x2b]))[_0x285b18([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x285b18([0x2f])));}function _0x18f42d(_0x404a39){let _0xf2e749=0x1505;function _0xed2b5(_0x5a8246){for(let _0x56472c=0x0;_0x56472c<_0x5a8246[_0x285b18([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56472c++){const _0x54d4aa=_0x5a8246[_0x285b18([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56472c);_0xf2e749=(_0xf2e749<<0x5)+_0xf2e749+_0x54d4aa,_0xf2e749&=_0xf2e749;}}function _0x5ce208(_0x585d48){Array[_0x285b18([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x585d48)?_0x585d48[_0x285b18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ce208):_0x585d48&&typeof _0x585d48==_0x285b18([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x285b18([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x585d48)[_0x285b18([0x73,0x6f,0x72,0x74])]()[_0x285b18([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe2f4d,_0x573ce3])=>{_0xed2b5(_0xe2f4d),_0x5ce208(_0x573ce3);}):_0xed2b5(window[_0x285b18([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x585d48));}return _0x5ce208(_0x404a39),_0xf2e749>>>0x0;}function _0x193e62(_0x3e5d07){return _0x3e5d07[_0x285b18([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x285b18([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x285b18([0x30]));}function _0xa5abdb(_0x3e56b4){return _0x3e56b4[_0x285b18([0x73,0x70,0x6c,0x69,0x74])]('')[_0x285b18([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x285b18([0x6a,0x6f,0x69,0x6e])]('');}function _0x29150f(){}function _0x285b18(_0x2b1031){return _0x2b1031['map'](_0x26b36=>String['fromCharCode'](_0x26b36))['join']('');}_0x25c63c(await _0x7fe872());}(this);}['_initSchema'](){const _0x627cd6=this['editor']['model']['schema'];_0x627cd6['isRegistered']('imageBlock')&&_0x627cd6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x627cd6['isRegistered']('imageInline')&&_0x627cd6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4b94cb=this['editor'];_0x4b94cb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4b94cb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1fae0d=>_0x1fae0d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x16d1fb=_0x4b94cb['commands']['get']('replaceImageSource');_0x16d1fb&&this['listenTo'](_0x16d1fb,'cleanupImage',(_0x1d7954,[_0x4ab44b,_0x5de64f])=>{_0x4ab44b['removeAttribute']('uploadcareImageId',_0x5de64f);});}['_initConfig'](){const _0x1780a4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1f5913=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4e3bc3(_0x464a3a['document'],'uc-config',{..._0x1780a4,'pubkey':_0x1f5913,'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']=_0xa14a09=>{if('closeMax'==_0xa14a09)return'#uc-icon-arrow-down';},_0x464a3a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4e3bc3(_0x464a3a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x464a3a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5e99b7=this['editor']['commands']['get']('insertImage');_0x5e99b7&&this['listenTo'](_0x5e99b7,'execute',()=>{const _0x2cf26b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2cf26b&&_0x2cf26b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2cf26b);});});const _0x1a47fe=this['editor']['commands']['get']('uploadcareImageReplace');_0x1a47fe&&this['listenTo'](_0x1a47fe,'execute',()=>{const _0x3750c1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3750c1&&_0x3750c1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3750c1);});});}}class tt extends _0x1dc2e4{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa1f510){super(_0xa1f510),_0xa1f510['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2fd6a5['defineComponents'](_0x2fd6a5);}}class ii extends _0x36c0ef{constructor(_0x4a8529){super(_0x4a8529);const t=_0x4a8529['t'],_0x3ae646=this['bindTemplate'],_0x48cbb9=new _0x192bed();_0x48cbb9['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':[_0x48cbb9,{'text':_0x3ae646['to']('imageUploadProgress',_0x873b94=>t('Loading\x20image...')+'\x20('+(_0x873b94||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 _0x36c0ef{constructor(_0x17bc76){super(_0x17bc76);const t=_0x17bc76['t'];this['set']('errorType',null);const _0x4c574c=new _0x28b561(_0x17bc76);_0x4c574c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c574c['withText']=!0x0,_0x4c574c['class']='ck-button-action',_0x4c574c['on']('execute',()=>{this['fire']('retry');}),_0x4c574c['bind']('isVisible')['to'](this,'errorType',_0xb11eaa=>'NotFound'!==_0xb11eaa);const _0x3d1910=new _0x59f953();_0x3d1910['content']=_0x444a34,_0x3d1910['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16ae35=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':[_0x3d1910,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16ae35['to']('errorType',_0x12417b=>t('NotFound'!==_0x12417b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c574c]},{'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 _0x36c0ef{constructor(_0xb694a0,_0x3edeb0){super(_0xb694a0);const _0x26e776=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3edeb0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x26e776['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x50bfcf,_0x4f4a54,_0x16979c){super(_0x50bfcf),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x50bfcf),this['_errorView']=new ti(_0x50bfcf),this['_editingView']=new ei(_0x50bfcf,_0x16979c),this['_focusableView']=new _0x36c0ef(_0x50bfcf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4f4a54),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'],_0x48764b=>{this['_addUploadcareImageEditorListeners'](_0x48764b);});}),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'](_0x55dee2,_0x2373da){const _0x2f0b4a='uc-cloud-image-editor',_0x45f63d=_0x55dee2['querySelector'](_0x2f0b4a);if(_0x45f63d)return _0x2373da(_0x45f63d);const _0x343bc9=new MutationObserver(_0x205a1a=>{const _0x4f9828=_0x205a1a['filter'](_0x2ea17c=>_0x2ea17c['target']===_0x55dee2&&_0x2ea17c['addedNodes']['length']>0x0&&_0x2ea17c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2f0b4a);_0x4f9828['length']&&(_0x343bc9['disconnect'](),_0x2373da(_0x4f9828[0x0]['addedNodes'][0x0]));});_0x343bc9['observe'](_0x55dee2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x390eff){_0x390eff['addEventListener']('apply',_0x42c78e=>{this['fire']('apply',{'imageSrc':_0x42c78e['detail']['cdnUrl']});}),_0x390eff['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x8f7705(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2b569f,_0x1ce7dd,_0x4e3298){super(),this['_editor']=_0x2b569f,this['_dialog']=_0x1ce7dd,this['_imageElement']=_0x4e3298,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 _0x5e74cb=this['_imageElement'],_0x48889b=_0x5e74cb['getAttribute']('uploadcareImageId'),_0x1c60c4=_0x5e74cb['getAttribute']('src');if(_0x48889b)await this['_loadImageInfo'](_0x48889b,_0x1c60c4);else{if(this['_imageCache']['has'](_0x1c60c4)){const _0x14d247=this['_imageCache']['get'](_0x1c60c4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14d247['url'],this['imageDimension']=_0x14d247['dimension'],this['imageId']=_0x14d247['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa60546}=this['_editor'],t=_0xa60546['t'],_0x891221=new X(_0xa60546,this['imageStatus'],this['_attributes']);_0x891221['bind']('status')['to'](this,'imageStatus'),_0x891221['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x891221['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x891221['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x891221,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x30c04c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x891221,'position':_0x47d3a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x891221['focus']();},'onHide':()=>{_0x891221['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x581b3d=>!A(_0x581b3d,_0x891221['element'])}});}['_loadImageInfo'](_0x57eb17,_0x1d39a0){return j['getInfo'](_0x57eb17,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x220668=>{const {width:_0x3d3d43,height:_0x1e2907}=_0x220668['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d39a0,this['imageDimension']={'width':_0x3d3d43,'height':_0x1e2907},this['imageId']=_0x57eb17;})['catch'](_0x3a33bf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a33bf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x465015,_0x65c7aa){return this['_getImageAsFile'](_0x465015)['then'](_0x2ac51b=>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':_0x65c7aa['signal'],'file':_0x2ac51b,'onProgress':_0x1c5ed4=>{_0x1c5ed4&&_0x1c5ed4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c5ed4['value']));}}))['then'](_0x2b2331=>{const {width:_0x976289,height:_0x43d2d9}=_0x2b2331['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b2331['cdnUrl'],this['imageDimension']={'width':_0x976289,'height':_0x43d2d9},this['imageId']=_0x2b2331['uuid'],this['imageUploadProgress']=null;const _0x340e96=_0x465015['getAttribute']('src');this['_imageCache']['set'](_0x340e96,{'id':_0x2b2331['uuid'],'url':_0x2b2331['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x14a943=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14a943['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1c6705,_0x1c69d9){_0x1c6705['on']('apply',(_0x3f4030,_0x336669)=>{this['_replaceImage'](_0x1c69d9,_0x336669['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1c6705['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1c6705['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x119e79,_0x482919,_0x5043b6){const _0x29c916=this['_editor'],{width:_0xa8fb0d,height:_0x4a0716}=S(_0x482919,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5088ce,imageSources:_0xe69efe}=C(_0x482919,_0xa8fb0d);_0x29c916['model']['change'](_0x184782=>{if('$graveyard'===_0x119e79['root']['rootName']){_0x29c916['execute']('insertImage',{'imageType':_0x119e79['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x119e79['getAttributes']()),'uploadcareImageId':_0x5043b6,'src':_0x5088ce,'sources':_0xe69efe,'width':_0xa8fb0d,'height':_0x4a0716}});const _0x5e082a=_0x119e79['getChildren']();_0x119e79=_0x29c916['model']['document']['selection']['getSelectedElement']();for(const _0x25bcfe of _0x5e082a)_0x184782['append'](_0x184782['cloneElement'](_0x25bcfe),_0x119e79);}else _0x184782['setSelection'](_0x119e79,'on'),_0x29c916['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x119e79['getAttributes']()),'uploadcareImageId':_0x5043b6,'src':_0x5088ce,'sources':_0xe69efe,'width':_0xa8fb0d,'height':_0x4a0716},_0x119e79);_0x184782['setSelection'](_0x119e79,'on');});}async['_getImageAsFile'](_0x479765){const _0x12aa60=_0x464a3a['window'],_0xe0dcec=_0x464a3a['document']['location']['href'],_0x2103cc=new _0x12aa60['URL'](_0x479765['getAttribute']('src'),_0xe0dcec);if('data:'===_0x2103cc['protocol']){const _0x1e551f=_0x2103cc['href']['split'](','),_0x30996a=_0x1e551f[0x0]['match'](/:(.*?);/)[0x1],_0x24a451=_0x30996a['split']('/')[0x1],_0x155c68=_0x12aa60['atob'](_0x1e551f[_0x1e551f['length']-0x1]);let _0x41940a=_0x155c68['length'];const _0x38e619=new _0x12aa60['Uint8Array'](_0x41940a);for(;_0x41940a--;)_0x38e619[_0x41940a]=_0x155c68['charCodeAt'](_0x41940a);return new _0x12aa60['File']([_0x38e619],'image.'+_0x24a451,{'type':_0x30996a});}const _0x3ab6af=_0x2103cc['href']['split']('/'),_0x4ddeba=_0x3ab6af[_0x3ab6af['length']-0x1],_0xb7f734=_0x4ddeba['split']('.')[0x1];return _0x12aa60['fetch'](_0x2103cc['href'])['then'](_0x546b91=>_0x546b91['clone']()['blob']())['then'](_0x5a7a18=>new _0x12aa60['File']([_0x5a7a18],_0x4ddeba,{'type':'image/'+_0xb7f734}));}}class O extends _0x251f04{['imageEditController'];static get['requires'](){return[_0xfbf8ac];}['_isEditable'];constructor(_0x203a43){super(_0x203a43),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x286384){const _0x20cd3c=G(_0x286384);return _0x25db8c=>!(!_0x25db8c||!_0x25db8c['is']('element','imageBlock')&&!_0x25db8c['is']('element','imageInline'))&&(!!_0x25db8c['hasAttribute']('uploadcareImageId')||!!_0x25db8c['hasAttribute']('src')&&_0x20cd3c(_0x25db8c['getAttribute']('src')));}(_0x203a43['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2230db=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2230db);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x39d324=this['editor']['model']['document']['selection']['getSelectedElement']();_0x39d324&&(_0x39d324['is']('element','imageBlock')||_0x39d324['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xfbf8ac),_0x39d324),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x251f04{['refresh'](){const _0x4acecd=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4acecd&&(_0x4acecd['is']('element','imageBlock')||_0x4acecd['is']('element','imageInline')));}['execute'](_0xef4f92){const _0x149cbc=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x126242=>{_0x126242['setAttributes'](_0xef4f92,_0x149cbc),_0x126242['removeAttribute']('srcset',_0x149cbc),_0x126242['removeAttribute']('sizes',_0x149cbc);});}}class m extends _0x1dc2e4{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x583e2a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xad5dec}=this;_0xad5dec['commands']['add']('uploadcareImageEdit',new O(_0xad5dec)),_0xad5dec['commands']['add']('uploadcareImageReplace',new R(_0xad5dec));}}class g extends _0x1dc2e4{['_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 _0x2127ed=this['editor'];_0x2127ed['ui']['componentFactory']['add']('uploadcareImageEdit',_0x14bd10=>{const _0x730dda=_0x2127ed['commands']['get']('uploadcareImageEdit'),_0x176b3c=new _0x28b561(_0x14bd10),t=_0x14bd10['t'];return _0x176b3c['set']({'icon':_0x30c04c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x176b3c['bind']('isEnabled')['to'](_0x730dda),_0x176b3c['bind']('isOn')['to'](_0x730dda,'isActive'),this['listenTo'](_0x176b3c,'execute',()=>{_0x2127ed['execute']('uploadcareImageEdit'),_0x2127ed['editing']['view']['focus']();}),_0x176b3c;}),this['_initConfig']();}['_initConfig'](){const _0xa8eb8e=_0x4e3bc3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa8eb8e),this['listenTo'](this['editor'],'destroy',()=>{_0xa8eb8e['remove']();});}}class et extends _0x1dc2e4{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':_0x4a8d92=>0x1!=_0x4a8d92}};
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':_0x316233=>0x1!=_0x316233}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c753c=>{const {af:{dictionary:_0x872d44,getPluralForm:_0xa27177}}={'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':_0x230b6e=>0x1!=_0x230b6e}};_0x3c753c['af']||={'dictionary':{},'getPluralForm':null},_0x3c753c['af']['dictionary']=Object['assign'](_0x3c753c['af']['dictionary'],_0x872d44),_0x3c753c['af']['getPluralForm']=_0xa27177;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x541050=>{const {af:{dictionary:_0x14c677,getPluralForm:_0xbbcf3f}}={'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':_0x756d1a=>0x1!=_0x756d1a}};_0x541050['af']||={'dictionary':{},'getPluralForm':null},_0x541050['af']['dictionary']=Object['assign'](_0x541050['af']['dictionary'],_0x14c677),_0x541050['af']['getPluralForm']=_0xbbcf3f;})(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':_0x4f1c34=>0x0==_0x4f1c34?0x0:0x1==_0x4f1c34?0x1:0x2==_0x4f1c34?0x2:_0x4f1c34%0x64>=0x3&&_0x4f1c34%0x64<=0xa?0x3:_0x4f1c34%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':_0x154c05=>0x0==_0x154c05?0x0:0x1==_0x154c05?0x1:0x2==_0x154c05?0x2:_0x154c05%0x64>=0x3&&_0x154c05%0x64<=0xa?0x3:_0x154c05%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3db3b2=>{const {ar:{dictionary:_0x43cdf0,getPluralForm:_0x5c3db8}}={'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':_0x11fbdf=>0x0==_0x11fbdf?0x0:0x1==_0x11fbdf?0x1:0x2==_0x11fbdf?0x2:_0x11fbdf%0x64>=0x3&&_0x11fbdf%0x64<=0xa?0x3:_0x11fbdf%0x64>=0xb?0x4:0x5}};_0x3db3b2['ar']||={'dictionary':{},'getPluralForm':null},_0x3db3b2['ar']['dictionary']=Object['assign'](_0x3db3b2['ar']['dictionary'],_0x43cdf0),_0x3db3b2['ar']['getPluralForm']=_0x5c3db8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26a4b1=>{const {ar:{dictionary:_0x137196,getPluralForm:_0x36b0a3}}={'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':_0x3a53cd=>0x0==_0x3a53cd?0x0:0x1==_0x3a53cd?0x1:0x2==_0x3a53cd?0x2:_0x3a53cd%0x64>=0x3&&_0x3a53cd%0x64<=0xa?0x3:_0x3a53cd%0x64>=0xb?0x4:0x5}};_0x26a4b1['ar']||={'dictionary':{},'getPluralForm':null},_0x26a4b1['ar']['dictionary']=Object['assign'](_0x26a4b1['ar']['dictionary'],_0x137196),_0x26a4b1['ar']['getPluralForm']=_0x36b0a3;})(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':_0x650289=>0x1!=_0x650289}};
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':_0x396279=>0x1!=_0x396279}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40b733=>{const {ast:{dictionary:_0x113300,getPluralForm:_0x1052dd}}={'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':_0x50b349=>0x1!=_0x50b349}};_0x40b733['ast']||={'dictionary':{},'getPluralForm':null},_0x40b733['ast']['dictionary']=Object['assign'](_0x40b733['ast']['dictionary'],_0x113300),_0x40b733['ast']['getPluralForm']=_0x1052dd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d0a1b=>{const {ast:{dictionary:_0x3ccc13,getPluralForm:_0x8aeffc}}={'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':_0x1f4581=>0x1!=_0x1f4581}};_0x3d0a1b['ast']||={'dictionary':{},'getPluralForm':null},_0x3d0a1b['ast']['dictionary']=Object['assign'](_0x3d0a1b['ast']['dictionary'],_0x3ccc13),_0x3d0a1b['ast']['getPluralForm']=_0x8aeffc;})(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':_0xca4c87=>0x1!=_0xca4c87}};
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':_0x3a917d=>0x1!=_0x3a917d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13449c=>{const {az:{dictionary:_0x350b25,getPluralForm:_0x2da8a1}}={'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':_0x164667=>0x1!=_0x164667}};_0x13449c['az']||={'dictionary':{},'getPluralForm':null},_0x13449c['az']['dictionary']=Object['assign'](_0x13449c['az']['dictionary'],_0x350b25),_0x13449c['az']['getPluralForm']=_0x2da8a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x301c84=>{const {az:{dictionary:_0x20e18d,getPluralForm:_0x37e0fe}}={'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':_0x19413c=>0x1!=_0x19413c}};_0x301c84['az']||={'dictionary':{},'getPluralForm':null},_0x301c84['az']['dictionary']=Object['assign'](_0x301c84['az']['dictionary'],_0x20e18d),_0x301c84['az']['getPluralForm']=_0x37e0fe;})(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':_0x16f9e7=>_0x16f9e7%0xa==0x1&&_0x16f9e7%0x64!=0xb?0x0:_0x16f9e7%0xa>=0x2&&_0x16f9e7%0xa<=0x4&&(_0x16f9e7%0x64<0xa||_0x16f9e7%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':_0x12e8c0=>_0x12e8c0%0xa==0x1&&_0x12e8c0%0x64!=0xb?0x0:_0x12e8c0%0xa>=0x2&&_0x12e8c0%0xa<=0x4&&(_0x12e8c0%0x64<0xa||_0x12e8c0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d5b32=>{const {be:{dictionary:_0x25577b,getPluralForm:_0x5e42ad}}={'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':_0xe6c0f1=>_0xe6c0f1%0xa==0x1&&_0xe6c0f1%0x64!=0xb?0x0:_0xe6c0f1%0xa>=0x2&&_0xe6c0f1%0xa<=0x4&&(_0xe6c0f1%0x64<0xa||_0xe6c0f1%0x64>=0x14)?0x1:0x2}};_0x5d5b32['be']||={'dictionary':{},'getPluralForm':null},_0x5d5b32['be']['dictionary']=Object['assign'](_0x5d5b32['be']['dictionary'],_0x25577b),_0x5d5b32['be']['getPluralForm']=_0x5e42ad;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25cce2=>{const {be:{dictionary:_0x27e2e0,getPluralForm:_0x3df00a}}={'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':_0xa2a729=>_0xa2a729%0xa==0x1&&_0xa2a729%0x64!=0xb?0x0:_0xa2a729%0xa>=0x2&&_0xa2a729%0xa<=0x4&&(_0xa2a729%0x64<0xa||_0xa2a729%0x64>=0x14)?0x1:0x2}};_0x25cce2['be']||={'dictionary':{},'getPluralForm':null},_0x25cce2['be']['dictionary']=Object['assign'](_0x25cce2['be']['dictionary'],_0x27e2e0),_0x25cce2['be']['getPluralForm']=_0x3df00a;})(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':_0x4c9585=>0x1!=_0x4c9585}};
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':_0x3efce5=>0x1!=_0x3efce5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2aa562=>{const {bg:{dictionary:_0x27c0a0,getPluralForm:_0x404826}}={'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':_0x50a3ae=>0x1!=_0x50a3ae}};_0x2aa562['bg']||={'dictionary':{},'getPluralForm':null},_0x2aa562['bg']['dictionary']=Object['assign'](_0x2aa562['bg']['dictionary'],_0x27c0a0),_0x2aa562['bg']['getPluralForm']=_0x404826;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25dfb7=>{const {bg:{dictionary:_0x406f4e,getPluralForm:_0x5364b8}}={'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':_0x56ba39=>0x1!=_0x56ba39}};_0x25dfb7['bg']||={'dictionary':{},'getPluralForm':null},_0x25dfb7['bg']['dictionary']=Object['assign'](_0x25dfb7['bg']['dictionary'],_0x406f4e),_0x25dfb7['bg']['getPluralForm']=_0x5364b8;})(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':_0x2626e6=>0x1!=_0x2626e6}};
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':_0x3e00db=>0x1!=_0x3e00db}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x387140=>{const {bn:{dictionary:_0x3a9e1f,getPluralForm:_0x35f382}}={'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':_0x1177bb=>0x1!=_0x1177bb}};_0x387140['bn']||={'dictionary':{},'getPluralForm':null},_0x387140['bn']['dictionary']=Object['assign'](_0x387140['bn']['dictionary'],_0x3a9e1f),_0x387140['bn']['getPluralForm']=_0x35f382;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f1b7c=>{const {bn:{dictionary:_0x12d6a0,getPluralForm:_0x5e5928}}={'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':_0x568c41=>0x1!=_0x568c41}};_0x4f1b7c['bn']||={'dictionary':{},'getPluralForm':null},_0x4f1b7c['bn']['dictionary']=Object['assign'](_0x4f1b7c['bn']['dictionary'],_0x12d6a0),_0x4f1b7c['bn']['getPluralForm']=_0x5e5928;})(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':_0x51f5ef=>_0x51f5ef%0xa==0x1&&_0x51f5ef%0x64!=0xb?0x0:_0x51f5ef%0xa>=0x2&&_0x51f5ef%0xa<=0x4&&(_0x51f5ef%0x64<0xa||_0x51f5ef%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':_0x59d3be=>_0x59d3be%0xa==0x1&&_0x59d3be%0x64!=0xb?0x0:_0x59d3be%0xa>=0x2&&_0x59d3be%0xa<=0x4&&(_0x59d3be%0x64<0xa||_0x59d3be%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x542536=>{const {bs:{dictionary:_0x1d6777,getPluralForm:_0x264a9b}}={'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':_0x167eff=>_0x167eff%0xa==0x1&&_0x167eff%0x64!=0xb?0x0:_0x167eff%0xa>=0x2&&_0x167eff%0xa<=0x4&&(_0x167eff%0x64<0xa||_0x167eff%0x64>=0x14)?0x1:0x2}};_0x542536['bs']||={'dictionary':{},'getPluralForm':null},_0x542536['bs']['dictionary']=Object['assign'](_0x542536['bs']['dictionary'],_0x1d6777),_0x542536['bs']['getPluralForm']=_0x264a9b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1268fb=>{const {bs:{dictionary:_0x1f854f,getPluralForm:_0x507e6c}}={'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':_0x55e2c6=>_0x55e2c6%0xa==0x1&&_0x55e2c6%0x64!=0xb?0x0:_0x55e2c6%0xa>=0x2&&_0x55e2c6%0xa<=0x4&&(_0x55e2c6%0x64<0xa||_0x55e2c6%0x64>=0x14)?0x1:0x2}};_0x1268fb['bs']||={'dictionary':{},'getPluralForm':null},_0x1268fb['bs']['dictionary']=Object['assign'](_0x1268fb['bs']['dictionary'],_0x1f854f),_0x1268fb['bs']['getPluralForm']=_0x507e6c;})(window['CKEDITOR_TRANSLATIONS']||={});