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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x41de67,Command as _0x174483}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4bf4da,IconGooglePhotos as _0x3a008b,IconGoogleDrive as _0x54c2e8,IconFacebook as _0x28d522,IconDropbox as _0xc8e607,IconUploadcareLink as _0xea9b6b,IconUploadcareImageUpload as _0x5ea018,IconError as _0xcf25c4,IconUploadcareImageEdit as _0x18b5b9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x156676,MenuBarMenuListItemButtonView as _0x30d3c5,View as _0x15083e,FocusCycler as _0x1f8f86,Dialog as _0x31ce98,DialogViewPosition as _0x1e43bb,SpinnerView as _0x4ba61f,IconView as _0x317ea9,Notification as _0x2defa5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x57b503,DomEmitterMixin as _0x34b8de,global as _0x467307,getAncestors as _0x163278,ObservableMixin as _0x18f8fd,uid as _0x7f336,createElement as _0x1d1cba}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x55a376}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x637d98,info as _0x3adbb2}from'@uploadcare/upload-client';import*as _0x2df21c from'@uploadcare/file-uploader';var i=function(_0x3ee6f4){return _0x3ee6f4['Local']='local',_0x3ee6f4['URL']='url',_0x3ee6f4['Dropbox']='dropbox',_0x3ee6f4['GDrive']='gdrive',_0x3ee6f4['Facebook']='facebook',_0x3ee6f4['GPhotos']='gphotos',_0x3ee6f4['OneDrive']='onedrive',_0x3ee6f4;}({});function _(_0x25c7c9,_0x3c362c,_0x7b4e14){const t=_0x25c7c9['t'],_0x5d60d8=_0x25c7c9['t'];switch(_0x3c362c){case i['Local']:return{'text':_0x5d60d8('Insert'===_0x7b4e14?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d60d8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x7b4e14?_0x5d60d8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d60d8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x7b4e14?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x7b4e14?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x7b4e14?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x7b4e14?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x7b4e14?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3c362c;}}class e extends _0x41de67{['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 _0x556468=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x505733;for(const _0x5e3f40 in _0x556468){const _0x12c310=_0x5e3f40,_0x2c921f=_0x556468[_0x12c310];if('uploadcareLicenseKeyValid'==_0x2c921f||'uploadcareLicenseKeyInvalid'==_0x2c921f||'uploadcareLicenseKeyExpired'==_0x2c921f||'uploadcareLicenseKeyDomainLimit'==_0x2c921f||'uploadcareLicenseKeyNotAllowed'==_0x2c921f||'uploadcareLicenseKeyEvaluationLimit'==_0x2c921f||'uploadcareLicenseKeyTrialLimit'==_0x2c921f||'uploadcareLicenseKeyUsageLimit'==_0x2c921f){delete _0x556468[_0x12c310],_0x505733=_0x2c921f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x505733&&_0x556468['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x505733&&_0x556468['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x505733&&_0x556468['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x505733&&_0x556468['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x505733&&_0x556468['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x505733&&_0x556468['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x505733&&_0x556468['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x442795}=this,_0x3a1963=_0x442795['commands']['get']('uploadcare');if(!_0x3a1963)return;const _0x597923=this['_normalizeConfigSourceList'](_0x442795['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2d631f,_0x5c91e5)=>{const _0x4d85de=this['_getIntegrationKey'](_0x5c91e5['type']);return _0x2d631f[_0x4d85de]||(_0x2d631f[_0x4d85de]=[]),_0x2d631f[_0x4d85de]['push'](_0x5c91e5),_0x2d631f;},{});_0x442795['plugins']['has']('ImageInsertUI')&&_0x442795['commands']['get']('uploadcare')&&Object['entries'](_0x597923)['forEach'](([_0x53e1d9,_0x4dcdc2])=>{_0x442795['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x53e1d9,'observable':()=>_0x3a1963,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4dcdc2),'formViewCreator':()=>this['_createDropdownButtons'](_0x4dcdc2),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4dcdc2),'override':'assetManager'!==_0x53e1d9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x34ae4b){const {locale:_0x37ae4d}=this['editor'];return _0x34ae4b['map'](_0x2c2567=>{const _0x495b46=_(_0x37ae4d,_0x2c2567,'Insert');switch(_0x2c2567){case i['Local']:return{'icon':_0x5ea018,'type':i['Local'],..._0x495b46};case i['URL']:return{'icon':_0xea9b6b,'type':i['URL'],..._0x495b46};case i['Dropbox']:return{'icon':_0xc8e607,'type':i['Dropbox'],..._0x495b46};case i['Facebook']:return{'icon':_0x28d522,'type':i['Facebook'],..._0x495b46};case i['GDrive']:return{'icon':_0x54c2e8,'type':i['GDrive'],..._0x495b46};case i['GPhotos']:return{'icon':_0x3a008b,'type':i['GPhotos'],..._0x495b46};case i['OneDrive']:return{'icon':_0x4bf4da,'type':i['OneDrive'],..._0x495b46};}});}['_getIntegrationKey'](_0x4357a6){switch(_0x4357a6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x21d439,_0x106db5){const _0x4adbf5=this['editor'],_0x1753f8=new _0x21d439(_0x4adbf5['locale']),_0xfdfc6e=_0x4adbf5['commands']['get']('uploadcare');return _0x1753f8['bind']('isEnabled')['to'](_0xfdfc6e),_0x1753f8['on']('execute',()=>{_0xfdfc6e['execute'](_0x106db5);}),_0x1753f8;}['_createToolbarButton'](_0x1ec696){const {locale:_0x14ef60}=this['editor'],_0x52bf10=this['editor']['plugins']['get']('ImageInsertUI'),_0x3b658d=_0x1ec696[0x0],_0x1a5fb9=this['_createButton'](_0x156676,_0x3b658d['type']);return _0x1a5fb9['icon']=_0x3b658d['icon'],_0x1a5fb9['bind']('label')['to'](_0x52bf10,'isImageSelected',_0xb3cc56=>_(_0x14ef60,_0x3b658d['type'],_0xb3cc56?'Replace':'Insert')['text']),_0x1a5fb9['tooltip']=!0x0,_0x1a5fb9;}['_createDropdownButtons'](_0xff0dd8){const {locale:_0x583548}=this['editor'],_0x154316=this['editor']['plugins']['get']('ImageInsertUI');return _0xff0dd8['map'](_0x4d2eb3=>{const _0x356d20=this['_createButton'](_0x156676,_0x4d2eb3['type']);return _0x356d20['withText']=!0x0,_0x356d20['icon']=_0x4d2eb3['icon'],_0x356d20['bind']('label')['to'](_0x154316,'isImageSelected',_0x2adba4=>_(_0x583548,_0x4d2eb3['type'],_0x2adba4?'Replace':'Insert')['text']),_0x356d20;});}['_createMenuBarButtons'](_0x18e2d8){return _0x18e2d8['map'](_0x459973=>{const _0x5628f8=this['_createButton'](_0x30d3c5,_0x459973['type']);return _0x5628f8['icon']=_0x459973['icon'],_0x5628f8['label']=_0x459973['shortText'],_0x5628f8;});}}class F extends _0x15083e{['focusTracker'];['focusCycler'];constructor(_0x193ee4){super(_0x193ee4),this['focusTracker']=new _0x57b503(),this['focusCycler']=new _0x1f8f86({'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(_0x3d2b25,_0x1b93e5){super(_0x3d2b25),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-'+_0x1b93e5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x240409,_0x3325c7){const _0x3c64ed=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x597b31=>_0x597b31<=_0x3325c7)['map'](_0x5114b2=>_0x240409['replace'](/\/$/,'')+'/-/resize/'+_0x5114b2+'x/\x20'+_0x5114b2+'w');return{'imageFallbackUrl':_0x240409,'imageSources':[{'srcset':_0x3c64ed['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3325c7+'px)\x20100vw,\x20'+_0x3325c7+'px','type':'image/webp'}]};}function S(_0x202826,_0x42b961,_0x3a134e){const _0x344b20=_0x202826['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x344b20?parseInt(_0x344b20[0x1],0xa):_0x42b961,'height':_0x344b20?parseInt(_0x344b20[0x2],0xa):_0x3a134e};}function p(_0x43623a,_0x169f7f){const _0x58efda=new(_0x34b8de())(),_0x5efec8=_0x43623a['plugins']['get']('ImageUtils'),_0x5cc209=_0x43623a['editing']['mapper']['toViewElement'](_0x169f7f),_0x323681=_0x5efec8['findViewImgElement'](_0x5cc209),_0xada4ab=_0x43623a['editing']['view']['domConverter']['viewToDom'](_0x323681),_0x9a9a4=_0x169f7f['getAttribute']('width'),_0x37a7c5=_0x169f7f['getAttribute']('height'),_0xc60f75='image-processing';_0x43623a['editing']['view']['change'](_0x41d9fa=>{_0x41d9fa['addClass'](_0xc60f75,_0x5cc209),_0x41d9fa['setStyle']('aspect-ratio',_0x9a9a4+'/'+_0x37a7c5,_0x323681);}),_0x58efda['listenTo'](_0xada4ab,'load',()=>{_0x58efda['stopListening'](_0xada4ab,'load'),_0x43623a['editing']['view']['change'](_0x5f3b2f=>{_0x5f3b2f['removeClass'](_0xc60f75,_0x5cc209),_0x5f3b2f['removeStyle']('aspect-ratio',_0x323681);});});}function z(_0x42c8e3){if(Array['isArray'](_0x42c8e3)){const _0x46201a=_0x42c8e3['map'](z);return _0x550602=>_0x46201a['some'](_0x5b316b=>_0x5b316b(_0x550602));}if('origin'==_0x42c8e3){const _0x20849d=_0x467307['window']['location']['origin'];return _0x59f64=>new URL(_0x59f64,_0x467307['document']['baseURI'])['origin']==_0x20849d;}return'function'==typeof _0x42c8e3?_0x42c8e3:_0x42c8e3 instanceof RegExp?_0x528557=>!(!_0x528557['match'](_0x42c8e3)&&!_0x528557['replace'](/^https?:\/\//,'')['match'](_0x42c8e3)):()=>!0x1;}function A(_0x3ec5c4,_0x30ba27){return _0x163278(_0x3ec5c4['target'])['includes'](_0x30ba27);}class n extends/* #__PURE__ -- @preserve */
24
- _0x18f8fd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x159cf1,_0x107db0,_0xabdb6){super(),this['_editor']=_0x159cf1,this['_editing']=_0x107db0,this['_dialog']=_0x159cf1['plugins']['get'](_0x31ce98),this['_api']=_0x107db0['ctxElement']['getAPI'](),this['_type']=_0xabdb6,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:_0x13d26c,model:_0xc95f84}=this['_editor'],_0x4bd916=_0xc95f84['document']['selection']['getSelectedElement'](),_0x108271=_0x4bd916&&(_0x4bd916['is']('element','imageBlock')||_0x4bd916['is']('element','imageInline'));this['_formView']=new x(_0x13d26c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5ea018,'title':_(_0x13d26c,this['_type'],_0x108271?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e43bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1e8130=>!A(_0x1e8130,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x32be64}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4b331d=>{const _0x2311dc=_0x32be64['length'];for(const _0x80c6b5 of _0x32be64){const _0x4ab7e3=_0x80c6b5===_0x32be64[_0x2311dc-0x1],{cdnUrl:_0x335b66,fileInfo:_0x3a909f}=_0x80c6b5;if(!_0x335b66||!_0x3a909f)continue;const {width:_0x5ad147,height:_0x30a3aa}=_0x3a909f['imageInfo'],_0x1ee1a3=S(_0x335b66,_0x5ad147,_0x30a3aa),_0x54c823=C(_0x335b66,_0x1ee1a3['width']),_0x329fdb={'id':_0x3a909f['uuid'],'type':'image','attributes':{'imageDimension':_0x1ee1a3,..._0x54c823}};this['_insertAsset'](_0x329fdb,_0x4ab7e3,_0x4b331d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x18f106=>{'idle'===_0x18f106['detail']['status']&&!_0x18f106['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x56ec08,_0x2a3325,_0x4e1b19){const _0x3c0283=this['_editor']['model']['document']['selection'],_0x25f74f=_0x3c0283['getSelectedElement'](),_0x89a5e8=!(!_0x25f74f||!_0x25f74f['is']('element','imageInline'));_0x4e1b19['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x56ec08,_0x89a5e8),_0x2a3325||_0x4e1b19['setSelection'](_0x3c0283['getLastPosition']());}['_insertImage'](_0x130136,_0x142c6c){const _0x37b996=this['_editor'],{imageDimension:_0xee8978,imageFallbackUrl:_0x543f86,imageSources:_0x3e21b0}=_0x130136['attributes'];_0x37b996['execute']('insertImage',{'imageType':_0x142c6c?'imageInline':null,'source':{'uploadcareImageId':_0x130136['id'],'src':_0x543f86,'sources':_0x3e21b0,..._0xee8978}});}}class w extends _0x174483{['_editing'];['_controller']=null;static get['requires'](){return[_0x31ce98,o];}constructor(_0xc439a6){super(_0xc439a6),this['_editing']=_0xc439a6['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2bfa50){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2bfa50);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x699135,..._0x852fda}){return _0x637d98(_0x699135,_0x852fda);}static['getInfo'](_0x1ae32f,_0x2aed74){return _0x3adbb2(_0x1ae32f,_0x2aed74);}}class f extends _0x41de67{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x55a376,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x148832=this['editor'];if(!!!_0x148832['config']['get']('uploadcare'))return;_0x148832['plugins']['get'](_0x55a376)['createUploadAdapter']=_0x3c8518=>new k(_0x3c8518,_0x148832),_0x148832['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57fbbb,{imageElement:_0xa39b8b,data:_0x4f960d})=>{_0x148832['model']['change'](_0x5c979c=>{_0x5c979c['setAttribute']('uploadcareImageId',_0x4f960d['uploadcareImageId'],_0xa39b8b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x527a53,_0x1692e2){this['loader']=_0x527a53,this['editor']=_0x1692e2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41b960=await this['loader']['file'];return j['upload']({'file':_0x41b960,'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':_0x3d66f1=>{_0x3d66f1&&_0x3d66f1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d66f1['value']);}})['then'](async _0x3ebbbf=>{const {imageFallbackUrl:_0x17ebe5,imageSources:_0x3484da}=C(_0x3ebbbf['cdnUrl'],_0x3ebbbf['imageInfo']['width']);return{'uploadcareImageId':_0x3ebbbf['uuid'],'default':_0x17ebe5,'sources':_0x3484da};})['catch'](()=>{const _0x16d5b7=t('Cannot\x20upload\x20file:')+('\x20'+_0x41b960['name']+'.');return Promise['reject'](_0x16d5b7);});}['abort'](){this['controller']['abort']();}}class o extends _0x41de67{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x31ce98];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1ac7d8){super(_0x1ac7d8),this['ucContextId']=_0x7f336();}['init'](){const _0x26d74c=this['editor'];_0x26d74c['commands']['add']('uploadcare',new w(_0x26d74c));}['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 _0x2c7c92=_0x467307['document']['querySelector']('input[uploadcare-file-input]');_0x2c7c92&&_0x2c7c92['remove']();}),async function(_0x2efbdc){const _0x5b6c5f=_0x1332f7([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x74b8d1=0x535f8c3a,_0x5aa94e=0x5358f13a^_0x74b8d1,_0x20838b=window[_0x1332f7([0x44,0x61,0x74,0x65])][_0x1332f7([0x6e,0x6f,0x77])](),_0x5123df=_0x2efbdc[_0x1332f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xaf9e0=new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fc73=>{_0x5123df[_0x1332f7([0x6f,0x6e,0x63,0x65])](_0x1332f7([0x72,0x65,0x61,0x64,0x79]),_0x3fc73);}),_0x44bf39={[_0x1332f7([0x6b,0x74,0x79])]:_0x1332f7([0x45,0x43]),[_0x1332f7([0x75,0x73,0x65])]:_0x1332f7([0x73,0x69,0x67]),[_0x1332f7([0x63,0x72,0x76])]:_0x1332f7([0x50,0x2d,0x32,0x35,0x36]),[_0x1332f7([0x78])]:_0x1332f7([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]),[_0x1332f7([0x79])]:_0x1332f7([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]),[_0x1332f7([0x61,0x6c,0x67])]:_0x1332f7([0x45,0x53,0x32,0x35,0x36])},_0x6f7be1=_0x5123df[_0x1332f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1332f7([0x67,0x65,0x74])](_0x1332f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf4c437(){let _0x2dfb5e,_0x3533ba=null,_0x47b277=null;try{if(_0x6f7be1==_0x1332f7([0x47,0x50,0x4c]))return _0x1332f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2dfb5e=_0x569488(),!_0x2dfb5e)return _0x1332f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2dfb5e[_0x1332f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47b277=_0x502c85(_0x2dfb5e[_0x1332f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2dfb5e[_0x1332f7([0x6a,0x74,0x69])])),await _0x12d4bb()?_0x1fd663()?_0x109a37()?_0x1332f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e30fe()?(_0x2dfb5e[_0x1332f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1332f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3533ba=_0x27b5c7(_0x1332f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2dfb5e[_0x1332f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1332f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x3533ba=_0x27b5c7(_0x1332f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x346177()):_0x1332f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1332f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1332f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1332f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x109a37(){const _0x3bc1d9=[_0x1332f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1332f7([0x74,0x72,0x69,0x61,0x6c])][_0x1332f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dfb5e[_0x1332f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20838b/0x3e8:0xe10*_0x5aa94e;return _0x2dfb5e[_0x1332f7([0x65,0x78,0x70])]<_0x3bc1d9;}function _0x1fd663(){const _0x32c0a2=_0x2dfb5e[_0x1332f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32c0a2&&(!!_0x32c0a2[_0x1332f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1332f7([0x2a]))||!!_0x32c0a2[_0x1332f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1332f7([0x55,0x50,0x4c,0x43])));}function _0x2e30fe(){const _0x54436e=_0x2dfb5e[_0x1332f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54436e||0x0==_0x54436e[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10fd52}=new URL(window[_0x1332f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x54436e[_0x1332f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10fd52))return!0x0;const _0x2df8ac=_0x10fd52[_0x1332f7([0x73,0x70,0x6c,0x69,0x74])](_0x1332f7([0x2e]));return _0x54436e[_0x1332f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b99e1=>_0x4b99e1[_0x1332f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1332f7([0x2a])))[_0x1332f7([0x6d,0x61,0x70])](_0x5a8da1=>_0x5a8da1[_0x1332f7([0x73,0x70,0x6c,0x69,0x74])](_0x1332f7([0x2e])))[_0x1332f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x62cd83=>_0x62cd83[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2df8ac[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1332f7([0x6d,0x61,0x70])](_0x47a453=>Array(_0x2df8ac[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47a453[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1332f7([0x66,0x69,0x6c,0x6c])](_0x47a453[0x0]===_0x1332f7([0x2a])?_0x1332f7([0x2a]):'')[_0x1332f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47a453))[_0x1332f7([0x73,0x6f,0x6d,0x65])](_0x44e0b4=>_0x2df8ac[_0x1332f7([0x65,0x76,0x65,0x72,0x79])]((_0x25fe7,_0x4544d7)=>_0x44e0b4[_0x4544d7]===_0x25fe7||_0x44e0b4[_0x4544d7]===_0x1332f7([0x2a])));}function _0x346177(){return _0x3533ba&&_0x47b277?new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa067,_0x43e40b)=>{_0x3533ba[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x5aa067,_0x43e40b),_0x47b277[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x40c94d=>{_0x40c94d!=_0x1332f7([0x56,0x61,0x6c,0x69,0x64])&&_0x5aa067(_0x40c94d);},_0x43e40b);}):_0x3533ba||_0x47b277||_0x1332f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x502c85(_0x47f678,_0x419587){return new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f2634=>{if(_0x2112ad())return _0x2f2634(_0x1332f7([0x56,0x61,0x6c,0x69,0x64]));_0x119f8e(),_0x5123df[_0x1332f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1332f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbf69f7=!0x1;const _0x49c69a=_0x7f336();function _0x23becd(_0x37b749){return!!_0x37b749&&(typeof _0x37b749===_0x1332f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37b749===_0x1332f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37b749[_0x1332f7([0x74,0x68,0x65,0x6e])]===_0x1332f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37b749[_0x1332f7([0x63,0x61,0x74,0x63,0x68])]===_0x1332f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c3809(_0x2e604a){_0x48b676(_0x2e604a)[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x333e7f=>{if(!_0x333e7f||_0x333e7f[_0x1332f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1332f7([0x6f,0x6b]))return _0x1332f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212cdb(_0x57dbff(_0x49c69a+_0x419587))!=_0x333e7f[_0x1332f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1332f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1332f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x4263c1=>(_0x216f99(),_0x4263c1),()=>{const _0x10681b=_0x84e438();return null==_0x10681b?(_0x216f99(),_0x1332f7([0x56,0x61,0x6c,0x69,0x64])):_0x1332f7(_0x20838b-_0x10681b>(0x7753083a^_0x74b8d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x2f2634)[_0x1332f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f2634(_0x1332f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f27a7=0x536962ba^_0x74b8d1;function _0x216f99(){const _0x576099=_0x1332f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cdb(_0x57dbff(_0x47f678)),_0xdd253c=_0x100604(_0x212cdb(window[_0x1332f7([0x4d,0x61,0x74,0x68])][_0x1332f7([0x63,0x65,0x69,0x6c])](_0x20838b/_0x5f27a7)));window[_0x1332f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1332f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x576099,_0xdd253c);}function _0x84e438(){const _0x28cb8b=_0x1332f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cdb(_0x57dbff(_0x47f678)),_0x1760ae=window[_0x1332f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1332f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28cb8b);return _0x1760ae?window[_0x1332f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x100604(_0x1760ae),0x10)*_0x5f27a7:null;}function _0x48b676(_0x4db95b){return new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x249aae,_0x85f6e0)=>{_0x4db95b[_0x1332f7([0x74,0x68,0x65,0x6e])](_0x249aae,_0x85f6e0),window[_0x1332f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x85f6e0,0x535e58fa^_0x74b8d1);});}}_0x5123df[_0x1332f7([0x6f,0x6e])](_0x1332f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f2af8,_0x709411)=>{if(_0x709411[0x0]!=_0x47f678)return _0x2f2634(_0x1332f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x709411[0x1]={..._0x709411[0x1],[_0x1332f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49c69a};},{[_0x1332f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1332f7([0x68,0x69,0x67,0x68])}),_0x5123df[_0x1332f7([0x6f,0x6e])](_0x1332f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xccdfd7=>{_0x23becd(_0xccdfd7[_0x1332f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbf69f7=!0x0,_0x1c3809(_0xccdfd7[_0x1332f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1332f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1332f7([0x6c,0x6f,0x77])}),_0xaf9e0[_0x1332f7([0x74,0x68,0x65,0x6e])](()=>{_0xbf69f7||_0x2f2634(_0x1332f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2112ad(){return _0x5123df[_0x1332f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1332f7([0x76,0x69,0x65,0x77])][_0x1332f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1332f7([0x61,0x75,0x74,0x6f]);}function _0x119f8e(){_0x5123df[_0x1332f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1332f7([0x76,0x69,0x65,0x77])][_0x1332f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1332f7([0x61,0x75,0x74,0x6f]);}}function _0x27b5c7(_0x135c7a){const _0xfa96b5=[new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172202=>setTimeout(_0x172202,0x5356b2f6^_0x74b8d1)),_0xaf9e0[_0x1332f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cf194=>{let _0x3ab159=0x0;_0x5123df[_0x1332f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1332f7([0x6f,0x6e])](_0x1332f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x110481,_0x178fa5)=>{_0x178fa5[0x0][_0x1332f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ab159++,_0x3ab159==(0x535f89d2^_0x74b8d1)&&(_0x4cf194(),_0x110481[_0x1332f7([0x6f,0x66,0x66])]());});}))];return window[_0x1332f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1332f7([0x72,0x61,0x63,0x65])](_0xfa96b5)[_0x1332f7([0x74,0x68,0x65,0x6e])](()=>_0x135c7a);}async function _0x4edafa(){await _0xaf9e0,_0x5123df[_0x1332f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1332f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x107a72,_0x5123df[_0x1332f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1332f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x107a72,_0x5123df[_0x1332f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1332f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ceda6(_0x4c8ae0){const _0x74c9ed=_0x3a7fe9();_0x5123df[_0x74c9ed]=_0x1332f7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c8ae0,_0x4c8ae0!=_0x1332f7([0x56,0x61,0x6c,0x69,0x64])&&_0x4edafa();}function _0x3a7fe9(){const _0x1fd52d=window[_0x1332f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1332f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1332f7([0x6e,0x6f,0x77])]())[_0x1332f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1332f7([0x2e]),'');let _0xcb499c=_0x1332f7([0x68]);for(let _0x123284=0x0;_0x123284<_0x1fd52d[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x123284+=0x2){let _0x5f588e=window[_0x1332f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fd52d[_0x1332f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x123284,_0x123284+0x2));_0x5f588e>=_0x5b6c5f[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f588e-=_0x5b6c5f[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcb499c+=_0x5b6c5f[_0x5f588e];}return _0xcb499c;}function _0x569488(){const _0x1ae079=_0x6f7be1[_0x1332f7([0x73,0x70,0x6c,0x69,0x74])](_0x1332f7([0x2e]));if(0x3!=_0x1ae079[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x437e86(_0x1ae079[0x1]);function _0x437e86(_0x596fa1){const _0x55ab45=_0x37dd64(_0x596fa1);return _0x55ab45&&_0x1a9c69()?_0x55ab45:null;function _0x1a9c69(){const _0x394503=_0x55ab45[_0x1332f7([0x6a,0x74,0x69])],_0x2f4a14=window[_0x1332f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x394503[_0x1332f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x394503[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x170f63={..._0x55ab45,[_0x1332f7([0x6a,0x74,0x69])]:_0x394503[_0x1332f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x394503[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x170f63[_0x1332f7([0x76,0x63])],_0x57dbff(_0x170f63)==_0x2f4a14;}}}async function _0x12d4bb(){let _0x23d236=!0x0;try{const _0x3e6184=_0x6f7be1[_0x1332f7([0x73,0x70,0x6c,0x69,0x74])](_0x1332f7([0x2e])),[_0x258ddb,_0x4e14ed,_0x4c0461]=_0x3e6184;return _0x3dce1e(_0x258ddb),await _0x19957a(_0x258ddb,_0x4e14ed,_0x4c0461),_0x23d236;}catch{return!0x1;}function _0x3dce1e(_0x33542b){const _0x73cea3=_0x37dd64(_0x33542b);_0x73cea3&&_0x73cea3[_0x1332f7([0x61,0x6c,0x67])]==_0x1332f7([0x45,0x53,0x32,0x35,0x36])||(_0x23d236=!0x1);}async function _0x19957a(_0x1de0e2,_0x288264,_0x2668df){const _0x5b3399=window[_0x1332f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1332f7([0x66,0x72,0x6f,0x6d])](_0x4b9e1b(_0x2668df),_0x3eadd0=>_0x3eadd0[_0x1332f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ef888=new window[(_0x1332f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1332f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1de0e2+_0x1332f7([0x2e])+_0x288264),_0x30c1c1=window[_0x1332f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1332f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30c1c1)return;const _0xff9d77=await _0x30c1c1[_0x1332f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1332f7([0x6a,0x77,0x6b]),_0x44bf39,{[_0x1332f7([0x6e,0x61,0x6d,0x65])]:_0x1332f7([0x45,0x43,0x44,0x53,0x41]),[_0x1332f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1332f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1332f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30c1c1[_0x1332f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1332f7([0x6e,0x61,0x6d,0x65])]:_0x1332f7([0x45,0x43,0x44,0x53,0x41]),[_0x1332f7([0x68,0x61,0x73,0x68])]:{[_0x1332f7([0x6e,0x61,0x6d,0x65])]:_0x1332f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xff9d77,_0x5b3399,_0x5ef888)||(_0x23d236=!0x1);}}function _0x37dd64(_0x3815ed){return _0x3815ed[_0x1332f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1332f7([0x65,0x79]))?JSON[_0x1332f7([0x70,0x61,0x72,0x73,0x65])](_0x4b9e1b(_0x3815ed)):null;}function _0x4b9e1b(_0x519faa){return window[_0x1332f7([0x61,0x74,0x6f,0x62])](_0x519faa[_0x1332f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1332f7([0x2b]))[_0x1332f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1332f7([0x2f])));}function _0x57dbff(_0x345fec){let _0x395fac=0x1505;function _0x1723b1(_0x12665c){for(let _0x395365=0x0;_0x395365<_0x12665c[_0x1332f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395365++){const _0x12453a=_0x12665c[_0x1332f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395365);_0x395fac=(_0x395fac<<0x5)+_0x395fac+_0x12453a,_0x395fac&=_0x395fac;}}function _0x381afe(_0x1cd5ea){Array[_0x1332f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cd5ea)?_0x1cd5ea[_0x1332f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x381afe):_0x1cd5ea&&typeof _0x1cd5ea==_0x1332f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1332f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cd5ea)[_0x1332f7([0x73,0x6f,0x72,0x74])]()[_0x1332f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d974f,_0x281dc1])=>{_0x1723b1(_0x1d974f),_0x381afe(_0x281dc1);}):_0x1723b1(window[_0x1332f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cd5ea));}return _0x381afe(_0x345fec),_0x395fac>>>0x0;}function _0x212cdb(_0x5f3d72){return _0x5f3d72[_0x1332f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1332f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1332f7([0x30]));}function _0x100604(_0x3b1f74){return _0x3b1f74[_0x1332f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1332f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1332f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x107a72(){}function _0x1332f7(_0x2039cf){return _0x2039cf['map'](_0x4af289=>String['fromCharCode'](_0x4af289))['join']('');}_0x2ceda6(await _0xf4c437());}(this);}['_initSchema'](){const _0x152816=this['editor']['model']['schema'];_0x152816['isRegistered']('imageBlock')&&_0x152816['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x152816['isRegistered']('imageInline')&&_0x152816['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x46e9a5=this['editor'];_0x46e9a5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x46e9a5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x268a37=>_0x268a37['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4ac3a9=_0x46e9a5['commands']['get']('replaceImageSource');_0x4ac3a9&&this['listenTo'](_0x4ac3a9,'cleanupImage',(_0x49c501,[_0x3597df,_0x1b8d54])=>{_0x3597df['removeAttribute']('uploadcareImageId',_0x1b8d54);});}['_initConfig'](){const _0x5bb30b=this['editor']['config']['get']('uploadcare.uploader')||{},_0xc81da6=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1d1cba(_0x467307['document'],'uc-config',{..._0x5bb30b,'pubkey':_0xc81da6,'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']=_0x4914d1=>{if('closeMax'==_0x4914d1)return'#uc-icon-arrow-down';},_0x467307['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1d1cba(_0x467307['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x467307['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x403468=this['editor']['commands']['get']('insertImage');_0x403468&&this['listenTo'](_0x403468,'execute',()=>{const _0x57460f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x57460f&&_0x57460f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x57460f);});});const _0x3f498f=this['editor']['commands']['get']('uploadcareImageReplace');_0x3f498f&&this['listenTo'](_0x3f498f,'execute',()=>{const _0xf6e395=this['editor']['model']['document']['selection']['getSelectedElement']();_0xf6e395&&_0xf6e395['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xf6e395);});});}}class tt extends _0x41de67{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3c8b8a){super(_0x3c8b8a),_0x3c8b8a['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2df21c['defineComponents'](_0x2df21c),this['_defineLocale']();}['_defineLocale'](){const _0x337df3=this['editor']['config']['get']('uploadcare.locale'),_0x245dce=this['editor']['locale']['contentLanguage'];_0x337df3&&_0x2df21c['defineLocale'](_0x245dce,_0x337df3);}}class ii extends _0x15083e{constructor(_0x275ec7){super(_0x275ec7);const t=_0x275ec7['t'],_0x5e5ac5=this['bindTemplate'],_0x15c344=new _0x4ba61f();_0x15c344['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':[_0x15c344,{'text':_0x5e5ac5['to']('imageUploadProgress',_0x3250a0=>t('Loading\x20image...')+'\x20('+(_0x3250a0||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 _0x15083e{constructor(_0x236fee){super(_0x236fee);const t=_0x236fee['t'];this['set']('errorType',null);const _0x3b0fc2=new _0x156676(_0x236fee);_0x3b0fc2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3b0fc2['withText']=!0x0,_0x3b0fc2['class']='ck-button-action',_0x3b0fc2['on']('execute',()=>{this['fire']('retry');}),_0x3b0fc2['bind']('isVisible')['to'](this,'errorType',_0x2b0df1=>'NotFound'!==_0x2b0df1);const _0x42f52a=new _0x317ea9();_0x42f52a['content']=_0xcf25c4,_0x42f52a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f70ed=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':[_0x42f52a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f70ed['to']('errorType',_0x497058=>t('NotFound'!==_0x497058?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3b0fc2]},{'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 _0x15083e{constructor(_0x13c1d6,_0x49872c){super(_0x13c1d6);const _0x1cb70f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x49872c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1cb70f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x530da7,_0x2bd563,_0x25d5f9){super(_0x530da7),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x530da7),this['_errorView']=new ti(_0x530da7),this['_editingView']=new ei(_0x530da7,_0x25d5f9),this['_focusableView']=new _0x15083e(_0x530da7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2bd563),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'],_0x525131=>{this['_addUploadcareImageEditorListeners'](_0x525131);});}),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'](_0x18dfb4,_0x1713d3){const _0x554435='uc-cloud-image-editor',_0x1ba179=_0x18dfb4['querySelector'](_0x554435);if(_0x1ba179)return _0x1713d3(_0x1ba179);const _0x5e9762=new MutationObserver(_0x36e7d7=>{const _0x597a1c=_0x36e7d7['filter'](_0x7a0957=>_0x7a0957['target']===_0x18dfb4&&_0x7a0957['addedNodes']['length']>0x0&&_0x7a0957['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x554435);_0x597a1c['length']&&(_0x5e9762['disconnect'](),_0x1713d3(_0x597a1c[0x0]['addedNodes'][0x0]));});_0x5e9762['observe'](_0x18dfb4,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xdc92e){_0xdc92e['addEventListener']('apply',_0x5cffa8=>{this['fire']('apply',{'imageSrc':_0x5cffa8['detail']['cdnUrl']});}),_0xdc92e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x18f8fd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x27a3cb,_0x54dc31,_0x58cc77){super(),this['_editor']=_0x27a3cb,this['_dialog']=_0x54dc31,this['_imageElement']=_0x58cc77,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 _0x26c6b4=this['_imageElement'],_0x322224=_0x26c6b4['getAttribute']('uploadcareImageId'),_0x489ef5=_0x26c6b4['getAttribute']('src');if(_0x322224)await this['_loadImageInfo'](_0x322224,_0x489ef5);else{if(this['_imageCache']['has'](_0x489ef5)){const _0x25de36=this['_imageCache']['get'](_0x489ef5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25de36['url'],this['imageDimension']=_0x25de36['dimension'],this['imageId']=_0x25de36['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5f85fd}=this['_editor'],t=_0x5f85fd['t'],_0x228bc9=new X(_0x5f85fd,this['imageStatus'],this['_attributes']);_0x228bc9['bind']('status')['to'](this,'imageStatus'),_0x228bc9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x228bc9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x228bc9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x228bc9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18b5b9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x228bc9,'position':_0x1e43bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x228bc9['focus']();},'onHide':()=>{_0x228bc9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x54363a=>!A(_0x54363a,_0x228bc9['element'])}});}['_loadImageInfo'](_0x2009e5,_0x79020e){return j['getInfo'](_0x2009e5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x36709d=>{const {width:_0x2ecb1b,height:_0x1bc26b}=_0x36709d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x79020e,this['imageDimension']={'width':_0x2ecb1b,'height':_0x1bc26b},this['imageId']=_0x2009e5;})['catch'](_0x257a68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x257a68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1abc6b,_0x244428){return this['_getImageAsFile'](_0x1abc6b)['then'](_0x58ea94=>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':_0x244428['signal'],'file':_0x58ea94,'onProgress':_0x550e90=>{_0x550e90&&_0x550e90['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x550e90['value']));}}))['then'](_0x48ef53=>{const {width:_0x474544,height:_0x2cb09f}=_0x48ef53['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48ef53['cdnUrl'],this['imageDimension']={'width':_0x474544,'height':_0x2cb09f},this['imageId']=_0x48ef53['uuid'],this['imageUploadProgress']=null;const _0x3b392a=_0x1abc6b['getAttribute']('src');this['_imageCache']['set'](_0x3b392a,{'id':_0x48ef53['uuid'],'url':_0x48ef53['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ba1f0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ba1f0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x551ad9,_0x371150){_0x551ad9['on']('apply',(_0xbd4ba3,_0x2394f8)=>{this['_replaceImage'](_0x371150,_0x2394f8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x551ad9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x551ad9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1e52ee,_0x107987,_0x41b483){const _0x4544a4=this['_editor'],{width:_0x7c8fd2,height:_0x54e17f}=S(_0x107987,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x216bf5,imageSources:_0x4507c5}=C(_0x107987,_0x7c8fd2);_0x4544a4['model']['change'](_0xb20ba9=>{if('$graveyard'===_0x1e52ee['root']['rootName']){_0x4544a4['execute']('insertImage',{'imageType':_0x1e52ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1e52ee['getAttributes']()),'uploadcareImageId':_0x41b483,'src':_0x216bf5,'sources':_0x4507c5,'width':_0x7c8fd2,'height':_0x54e17f}});const _0x420cda=_0x1e52ee['getChildren']();_0x1e52ee=_0x4544a4['model']['document']['selection']['getSelectedElement']();for(const _0xcf7a40 of _0x420cda)_0xb20ba9['append'](_0xb20ba9['cloneElement'](_0xcf7a40),_0x1e52ee);}else _0xb20ba9['setSelection'](_0x1e52ee,'on'),_0x4544a4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1e52ee['getAttributes']()),'uploadcareImageId':_0x41b483,'src':_0x216bf5,'sources':_0x4507c5,'width':_0x7c8fd2,'height':_0x54e17f},_0x1e52ee);_0xb20ba9['setSelection'](_0x1e52ee,'on');});}async['_getImageAsFile'](_0x43a02d){const _0x228868=_0x467307['window'],_0x598f0b=_0x467307['document']['location']['href'],_0x591237=new _0x228868['URL'](_0x43a02d['getAttribute']('src'),_0x598f0b);if('data:'===_0x591237['protocol']){const _0x11026d=_0x591237['href']['split'](','),_0x248c87=_0x11026d[0x0]['match'](/:(.*?);/)[0x1],_0x4e8b1e=_0x248c87['split']('/')[0x1],_0x19cf61=_0x228868['atob'](_0x11026d[_0x11026d['length']-0x1]);let _0x59fddb=_0x19cf61['length'];const _0x4a60ea=new _0x228868['Uint8Array'](_0x59fddb);for(;_0x59fddb--;)_0x4a60ea[_0x59fddb]=_0x19cf61['charCodeAt'](_0x59fddb);return new _0x228868['File']([_0x4a60ea],'image.'+_0x4e8b1e,{'type':_0x248c87});}const _0x44f2fe=_0x591237['href']['split']('/'),_0x517a3f=_0x44f2fe[_0x44f2fe['length']-0x1],_0x45f39c=_0x517a3f['split']('.')[0x1];return _0x228868['fetch'](_0x591237['href'])['then'](_0x56e550=>_0x56e550['clone']()['blob']())['then'](_0x5d32c7=>new _0x228868['File']([_0x5d32c7],_0x517a3f,{'type':'image/'+_0x45f39c}));}}class Q extends _0x174483{['imageEditController'];static get['requires'](){return[_0x31ce98];}['_isEditable'];constructor(_0x181f70){super(_0x181f70),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5e004b){const _0xed3591=z(_0x5e004b);return _0x40cf24=>!(!_0x40cf24||!_0x40cf24['is']('element','imageBlock')&&!_0x40cf24['is']('element','imageInline'))&&(!!_0x40cf24['hasAttribute']('uploadcareImageId')||!!_0x40cf24['hasAttribute']('src')&&_0xed3591(_0x40cf24['getAttribute']('src')));}(_0x181f70['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2362bc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2362bc);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x52d0ed=this['editor']['model']['document']['selection']['getSelectedElement']();_0x52d0ed&&(_0x52d0ed['is']('element','imageBlock')||_0x52d0ed['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x31ce98),_0x52d0ed),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x174483{['refresh'](){const _0x32ee3e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x32ee3e&&(_0x32ee3e['is']('element','imageBlock')||_0x32ee3e['is']('element','imageInline')));}['execute'](_0x26e214){const _0x438c73=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x23aa79=>{_0x23aa79['setAttributes'](_0x26e214,_0x438c73),_0x23aa79['removeAttribute']('srcset',_0x438c73),_0x23aa79['removeAttribute']('sizes',_0x438c73);});}}class m extends _0x41de67{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2defa5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2aef7a}=this;_0x2aef7a['commands']['add']('uploadcareImageEdit',new Q(_0x2aef7a)),_0x2aef7a['commands']['add']('uploadcareImageReplace',new V(_0x2aef7a));}}class g extends _0x41de67{['_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 _0xe0ad00=this['editor'];_0xe0ad00['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa96adc=>{const _0x5efd8c=_0xe0ad00['commands']['get']('uploadcareImageEdit'),_0x21e2e3=new _0x156676(_0xa96adc),t=_0xa96adc['t'];return _0x21e2e3['set']({'icon':_0x18b5b9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x21e2e3['bind']('isEnabled')['to'](_0x5efd8c),_0x21e2e3['bind']('isOn')['to'](_0x5efd8c,'isActive'),this['listenTo'](_0x21e2e3,'execute',()=>{_0xe0ad00['execute']('uploadcareImageEdit'),_0xe0ad00['editing']['view']['focus']();}),_0x21e2e3;}),this['_initConfig']();}['_initConfig'](){const _0x1f17f5=_0x1d1cba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f17f5),this['listenTo'](this['editor'],'destroy',()=>{_0x1f17f5['remove']();});}}class et extends _0x41de67{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 _0x2f79a5,Command as _0x1830ed}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5a3636,IconGooglePhotos as _0x25a960,IconGoogleDrive as _0x441b45,IconFacebook as _0x21451d,IconDropbox as _0x503848,IconUploadcareLink as _0x96e075,IconUploadcareImageUpload as _0x553ef2,IconError as _0x19ea19,IconUploadcareImageEdit as _0x5d9d5d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x484af9,MenuBarMenuListItemButtonView as _0x502fb9,View as _0x119922,FocusCycler as _0x38110b,Dialog as _0x2e6c28,DialogViewPosition as _0x297a66,SpinnerView as _0x7ad9c6,IconView as _0x1494c4,Notification as _0xc388b8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x35fa52,DomEmitterMixin as _0x185c38,global as _0x4ac7e1,getAncestors as _0x18759c,ObservableMixin as _0xb0242e,uid as _0x3c0092,createElement as _0x414e74}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x390e61}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x24cf34,info as _0x3eb9c5}from'@uploadcare/upload-client';import*as _0x49e498 from'@uploadcare/file-uploader';var i=function(_0x325a14){return _0x325a14['Local']='local',_0x325a14['URL']='url',_0x325a14['Dropbox']='dropbox',_0x325a14['GDrive']='gdrive',_0x325a14['Facebook']='facebook',_0x325a14['GPhotos']='gphotos',_0x325a14['OneDrive']='onedrive',_0x325a14;}({});function _(_0x2d6b06,_0x183019,_0x49e077){const t=_0x2d6b06['t'],_0x1a5b55=_0x2d6b06['t'];switch(_0x183019){case i['Local']:return{'text':_0x1a5b55('Insert'===_0x49e077?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1a5b55('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x49e077?_0x1a5b55('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1a5b55('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x49e077?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x49e077?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x49e077?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x49e077?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x49e077?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x183019;}}class e extends _0x2f79a5{['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 _0x2921dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x636830;for(const _0x3756a6 in _0x2921dd){const _0x13fbcb=_0x3756a6,_0x1b801e=_0x2921dd[_0x13fbcb];if('uploadcareLicenseKeyValid'==_0x1b801e||'uploadcareLicenseKeyInvalid'==_0x1b801e||'uploadcareLicenseKeyExpired'==_0x1b801e||'uploadcareLicenseKeyDomainLimit'==_0x1b801e||'uploadcareLicenseKeyNotAllowed'==_0x1b801e||'uploadcareLicenseKeyEvaluationLimit'==_0x1b801e||'uploadcareLicenseKeyTrialLimit'==_0x1b801e||'uploadcareLicenseKeyUsageLimit'==_0x1b801e){delete _0x2921dd[_0x13fbcb],_0x636830=_0x1b801e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x636830&&_0x2921dd['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x636830&&_0x2921dd['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x636830&&_0x2921dd['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x636830&&_0x2921dd['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x636830&&_0x2921dd['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x636830&&_0x2921dd['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x636830&&_0x2921dd['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3ddc7d}=this,_0x186551=_0x3ddc7d['commands']['get']('uploadcare');if(!_0x186551)return;const _0x58b055=this['_normalizeConfigSourceList'](_0x3ddc7d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5082e3,_0x3632d5)=>{const _0x51cbed=this['_getIntegrationKey'](_0x3632d5['type']);return _0x5082e3[_0x51cbed]||(_0x5082e3[_0x51cbed]=[]),_0x5082e3[_0x51cbed]['push'](_0x3632d5),_0x5082e3;},{});_0x3ddc7d['plugins']['has']('ImageInsertUI')&&_0x3ddc7d['commands']['get']('uploadcare')&&Object['entries'](_0x58b055)['forEach'](([_0xdc1109,_0x963191])=>{_0x3ddc7d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xdc1109,'observable':()=>_0x186551,'buttonViewCreator':()=>this['_createToolbarButton'](_0x963191),'formViewCreator':()=>this['_createDropdownButtons'](_0x963191),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x963191),'override':'assetManager'!==_0xdc1109});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x336b77){const {locale:_0x2f656b}=this['editor'];return _0x336b77['map'](_0x3e0c24=>{const _0x538112=_(_0x2f656b,_0x3e0c24,'Insert');switch(_0x3e0c24){case i['Local']:return{'icon':_0x553ef2,'type':i['Local'],..._0x538112};case i['URL']:return{'icon':_0x96e075,'type':i['URL'],..._0x538112};case i['Dropbox']:return{'icon':_0x503848,'type':i['Dropbox'],..._0x538112};case i['Facebook']:return{'icon':_0x21451d,'type':i['Facebook'],..._0x538112};case i['GDrive']:return{'icon':_0x441b45,'type':i['GDrive'],..._0x538112};case i['GPhotos']:return{'icon':_0x25a960,'type':i['GPhotos'],..._0x538112};case i['OneDrive']:return{'icon':_0x5a3636,'type':i['OneDrive'],..._0x538112};}});}['_getIntegrationKey'](_0x1d7d8d){switch(_0x1d7d8d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x34ec55,_0x1a3fe1){const _0x5a35ae=this['editor'],_0x11c2d2=new _0x34ec55(_0x5a35ae['locale']),_0x4b2f3c=_0x5a35ae['commands']['get']('uploadcare');return _0x11c2d2['bind']('isEnabled')['to'](_0x4b2f3c),_0x11c2d2['on']('execute',()=>{_0x4b2f3c['execute'](_0x1a3fe1);}),_0x11c2d2;}['_createToolbarButton'](_0x2ec1c0){const {locale:_0x53378e}=this['editor'],_0x2ce9b0=this['editor']['plugins']['get']('ImageInsertUI'),_0x1d6bf9=_0x2ec1c0[0x0],_0x481616=this['_createButton'](_0x484af9,_0x1d6bf9['type']);return _0x481616['icon']=_0x1d6bf9['icon'],_0x481616['bind']('label')['to'](_0x2ce9b0,'isImageSelected',_0x4e0a99=>_(_0x53378e,_0x1d6bf9['type'],_0x4e0a99?'Replace':'Insert')['text']),_0x481616['tooltip']=!0x0,_0x481616;}['_createDropdownButtons'](_0x2cc312){const {locale:_0x519454}=this['editor'],_0x3b39cd=this['editor']['plugins']['get']('ImageInsertUI');return _0x2cc312['map'](_0x266041=>{const _0x1bb680=this['_createButton'](_0x484af9,_0x266041['type']);return _0x1bb680['withText']=!0x0,_0x1bb680['icon']=_0x266041['icon'],_0x1bb680['bind']('label')['to'](_0x3b39cd,'isImageSelected',_0x2ebdf1=>_(_0x519454,_0x266041['type'],_0x2ebdf1?'Replace':'Insert')['text']),_0x1bb680;});}['_createMenuBarButtons'](_0x1c4d27){return _0x1c4d27['map'](_0x52e912=>{const _0xe8d872=this['_createButton'](_0x502fb9,_0x52e912['type']);return _0xe8d872['icon']=_0x52e912['icon'],_0xe8d872['label']=_0x52e912['shortText'],_0xe8d872;});}}class F extends _0x119922{['focusTracker'];['focusCycler'];constructor(_0x27a6ae){super(_0x27a6ae),this['focusTracker']=new _0x35fa52(),this['focusCycler']=new _0x38110b({'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(_0x41ec54,_0x1379aa){super(_0x41ec54),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-'+_0x1379aa}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3ef60c,_0x143b90){const _0x40d2d1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4d6d22=>_0x4d6d22<=_0x143b90)['map'](_0x1115ff=>_0x3ef60c['replace'](/\/$/,'')+'/-/resize/'+_0x1115ff+'x/\x20'+_0x1115ff+'w');return{'imageFallbackUrl':_0x3ef60c,'imageSources':[{'srcset':_0x40d2d1['join'](',\x20'),'sizes':'(max-width:\x20'+_0x143b90+'px)\x20100vw,\x20'+_0x143b90+'px','type':'image/webp'}]};}function S(_0xf21d4f,_0x384449,_0x32247f){const _0x1d41b7=_0xf21d4f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d41b7?parseInt(_0x1d41b7[0x1],0xa):_0x384449,'height':_0x1d41b7?parseInt(_0x1d41b7[0x2],0xa):_0x32247f};}function p(_0x3ebfab,_0x1bcc98){const _0x5ee908=new(_0x185c38())(),_0x363fbf=_0x3ebfab['plugins']['get']('ImageUtils'),_0x12778e=_0x3ebfab['editing']['mapper']['toViewElement'](_0x1bcc98),_0x928d5e=_0x363fbf['findViewImgElement'](_0x12778e),_0x228d63=_0x3ebfab['editing']['view']['domConverter']['viewToDom'](_0x928d5e),_0x386a32=_0x1bcc98['getAttribute']('width'),_0x1cf159=_0x1bcc98['getAttribute']('height'),_0x58ebe5='image-processing';_0x3ebfab['editing']['view']['change'](_0x3c33cb=>{_0x3c33cb['addClass'](_0x58ebe5,_0x12778e),_0x3c33cb['setStyle']('aspect-ratio',_0x386a32+'/'+_0x1cf159,_0x928d5e);}),_0x5ee908['listenTo'](_0x228d63,'load',()=>{_0x5ee908['stopListening'](_0x228d63,'load'),_0x3ebfab['editing']['view']['change'](_0x48ac56=>{_0x48ac56['removeClass'](_0x58ebe5,_0x12778e),_0x48ac56['removeStyle']('aspect-ratio',_0x928d5e);});});}function G(_0x24199b){if(Array['isArray'](_0x24199b)){const _0x281559=_0x24199b['map'](G);return _0x2d4200=>_0x281559['some'](_0x2f1bf9=>_0x2f1bf9(_0x2d4200));}if('origin'==_0x24199b){const _0x425de0=_0x4ac7e1['window']['location']['origin'];return _0x2cd5e6=>new URL(_0x2cd5e6,_0x4ac7e1['document']['baseURI'])['origin']==_0x425de0;}return'function'==typeof _0x24199b?_0x24199b:_0x24199b instanceof RegExp?_0x597412=>!(!_0x597412['match'](_0x24199b)&&!_0x597412['replace'](/^https?:\/\//,'')['match'](_0x24199b)):()=>!0x1;}function A(_0x429110,_0x1f5c54){return _0x18759c(_0x429110['target'])['includes'](_0x1f5c54);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xb0242e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4b0005,_0x13e7ce,_0x547d62){super(),this['_editor']=_0x4b0005,this['_editing']=_0x13e7ce,this['_dialog']=_0x4b0005['plugins']['get'](_0x2e6c28),this['_api']=_0x13e7ce['ctxElement']['getAPI'](),this['_type']=_0x547d62,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:_0x3f03a8,model:_0x58790b}=this['_editor'],_0x368819=_0x58790b['document']['selection']['getSelectedElement'](),_0x408a03=_0x368819&&(_0x368819['is']('element','imageBlock')||_0x368819['is']('element','imageInline'));this['_formView']=new x(_0x3f03a8,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x553ef2,'title':_(_0x3f03a8,this['_type'],_0x408a03?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x297a66['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x182bf0=>!A(_0x182bf0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2e19f4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x51bee9=>{const _0x40acc9=_0x2e19f4['length'];for(const _0x170752 of _0x2e19f4){const _0x283d19=_0x170752===_0x2e19f4[_0x40acc9-0x1],{cdnUrl:_0x41d02c,fileInfo:_0x5d2712}=_0x170752;if(!_0x41d02c||!_0x5d2712)continue;const {width:_0x55c05d,height:_0x39bf58}=_0x5d2712['imageInfo'],_0x2b1e95=S(_0x41d02c,_0x55c05d,_0x39bf58),_0x18305b=C(_0x41d02c,_0x2b1e95['width']),_0x4ad92b={'id':_0x5d2712['uuid'],'type':'image','attributes':{'imageDimension':_0x2b1e95,..._0x18305b}};this['_insertAsset'](_0x4ad92b,_0x283d19,_0x51bee9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cdc1d=>{'idle'===_0x5cdc1d['detail']['status']&&!_0x5cdc1d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x221ac9,_0xdb6704,_0x482ce1){const _0x2c7ad9=this['_editor']['model']['document']['selection'],_0xd39847=_0x2c7ad9['getSelectedElement'](),_0xd0044d=!(!_0xd39847||!_0xd39847['is']('element','imageInline'));_0x482ce1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x221ac9,_0xd0044d),_0xdb6704||_0x482ce1['setSelection'](_0x2c7ad9['getLastPosition']());}['_insertImage'](_0x2f0a84,_0x38cdcc){const _0x122cfa=this['_editor'],{imageDimension:_0x4b8add,imageFallbackUrl:_0x5cdce2,imageSources:_0x33a00d}=_0x2f0a84['attributes'];_0x122cfa['execute']('insertImage',{'imageType':_0x38cdcc?'imageInline':null,'source':{'uploadcareImageId':_0x2f0a84['id'],'src':_0x5cdce2,'sources':_0x33a00d,..._0x4b8add}});}}class w extends _0x1830ed{['_editing'];['_controller']=null;static get['requires'](){return[_0x2e6c28,o];}constructor(_0x5148e9){super(_0x5148e9),this['_editing']=_0x5148e9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x45f308){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x45f308);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x955f4,..._0x13b97a}){return _0x24cf34(_0x955f4,_0x13b97a);}static['getInfo'](_0x2e8701,_0x4e9160){return _0x3eb9c5(_0x2e8701,_0x4e9160);}}class f extends _0x2f79a5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x390e61,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x532221=this['editor'];if(!!!_0x532221['config']['get']('uploadcare'))return;_0x532221['plugins']['get'](_0x390e61)['createUploadAdapter']=_0x5312ac=>new k(_0x5312ac,_0x532221),_0x532221['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x980089,{imageElement:_0x22c9d4,data:_0x13df57})=>{_0x532221['model']['change'](_0x5dbcb0=>{_0x5dbcb0['setAttribute']('uploadcareImageId',_0x13df57['uploadcareImageId'],_0x22c9d4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x35aa85,_0x5b4fd4){this['loader']=_0x35aa85,this['editor']=_0x5b4fd4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x26e407=await this['loader']['file'];return j['upload']({'file':_0x26e407,'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':_0xc67a02=>{_0xc67a02&&_0xc67a02['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xc67a02['value']);}})['then'](async _0x376e24=>{const {imageFallbackUrl:_0x17911b,imageSources:_0x8f0e5}=C(_0x376e24['cdnUrl'],_0x376e24['imageInfo']['width']);return{'uploadcareImageId':_0x376e24['uuid'],'default':_0x17911b,'sources':_0x8f0e5};})['catch'](()=>{const _0x2f0296=t('Cannot\x20upload\x20file:')+('\x20'+_0x26e407['name']+'.');return Promise['reject'](_0x2f0296);});}['abort'](){this['controller']['abort']();}}class o extends _0x2f79a5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2e6c28];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3421d5){super(_0x3421d5),this['ucContextId']=_0x3c0092();}['init'](){const _0x137403=this['editor'];_0x137403['commands']['add']('uploadcare',new w(_0x137403));}['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 _0x2431f4=_0x4ac7e1['document']['querySelector']('input[uploadcare-file-input]');_0x2431f4&&_0x2431f4['remove']();}),async function(_0x332dac){const _0x55cded=_0x126b79([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x13bcf6=0x535f8c3a,_0x1885d7=0x5358f13a^_0x13bcf6,_0x52667c=window[_0x126b79([0x44,0x61,0x74,0x65])][_0x126b79([0x6e,0x6f,0x77])](),_0xa8df5e=_0x332dac[_0x126b79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59be24=new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c97ae=>{_0xa8df5e[_0x126b79([0x6f,0x6e,0x63,0x65])](_0x126b79([0x72,0x65,0x61,0x64,0x79]),_0x1c97ae);}),_0x120ca7={[_0x126b79([0x6b,0x74,0x79])]:_0x126b79([0x45,0x43]),[_0x126b79([0x75,0x73,0x65])]:_0x126b79([0x73,0x69,0x67]),[_0x126b79([0x63,0x72,0x76])]:_0x126b79([0x50,0x2d,0x32,0x35,0x36]),[_0x126b79([0x78])]:_0x126b79([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]),[_0x126b79([0x79])]:_0x126b79([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]),[_0x126b79([0x61,0x6c,0x67])]:_0x126b79([0x45,0x53,0x32,0x35,0x36])},_0x81a596=_0xa8df5e[_0x126b79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x126b79([0x67,0x65,0x74])](_0x126b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x172d06(){let _0x44b950,_0x318556=null,_0x32b2f4=null;try{if(_0x81a596==_0x126b79([0x47,0x50,0x4c]))return _0x126b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44b950=_0x5dd5e0(),!_0x44b950)return _0x126b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44b950[_0x126b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32b2f4=_0x51bd60(_0x44b950[_0x126b79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44b950[_0x126b79([0x6a,0x74,0x69])])),await _0x570984()?_0x380e00()?_0x2f16d4()?_0x126b79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19d8a2()?(_0x44b950[_0x126b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x318556=_0x494d0f(_0x126b79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44b950[_0x126b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126b79([0x74,0x72,0x69,0x61,0x6c])&&(_0x318556=_0x494d0f(_0x126b79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x165f0c()):_0x126b79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x126b79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x126b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x126b79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f16d4(){const _0x495492=[_0x126b79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x126b79([0x74,0x72,0x69,0x61,0x6c])][_0x126b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b950[_0x126b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52667c/0x3e8:0xe10*_0x1885d7;return _0x44b950[_0x126b79([0x65,0x78,0x70])]<_0x495492;}function _0x380e00(){const _0x4a14c5=_0x44b950[_0x126b79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a14c5&&(!!_0x4a14c5[_0x126b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b79([0x2a]))||!!_0x4a14c5[_0x126b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b79([0x55,0x50,0x4c,0x43])));}function _0x19d8a2(){const _0x433a6f=_0x44b950[_0x126b79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x433a6f||0x0==_0x433a6f[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x128d59}=new URL(window[_0x126b79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x433a6f[_0x126b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128d59))return!0x0;const _0xd8fbf=_0x128d59[_0x126b79([0x73,0x70,0x6c,0x69,0x74])](_0x126b79([0x2e]));return _0x433a6f[_0x126b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x400b7b=>_0x400b7b[_0x126b79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126b79([0x2a])))[_0x126b79([0x6d,0x61,0x70])](_0x155760=>_0x155760[_0x126b79([0x73,0x70,0x6c,0x69,0x74])](_0x126b79([0x2e])))[_0x126b79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e1d17=>_0x5e1d17[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd8fbf[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126b79([0x6d,0x61,0x70])](_0x2c4186=>Array(_0xd8fbf[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c4186[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126b79([0x66,0x69,0x6c,0x6c])](_0x2c4186[0x0]===_0x126b79([0x2a])?_0x126b79([0x2a]):'')[_0x126b79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c4186))[_0x126b79([0x73,0x6f,0x6d,0x65])](_0x531596=>_0xd8fbf[_0x126b79([0x65,0x76,0x65,0x72,0x79])]((_0x4430c2,_0x295ab3)=>_0x531596[_0x295ab3]===_0x4430c2||_0x531596[_0x295ab3]===_0x126b79([0x2a])));}function _0x165f0c(){return _0x318556&&_0x32b2f4?new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39d22e,_0x5c40a7)=>{_0x318556[_0x126b79([0x74,0x68,0x65,0x6e])](_0x39d22e,_0x5c40a7),_0x32b2f4[_0x126b79([0x74,0x68,0x65,0x6e])](_0x2b2992=>{_0x2b2992!=_0x126b79([0x56,0x61,0x6c,0x69,0x64])&&_0x39d22e(_0x2b2992);},_0x5c40a7);}):_0x318556||_0x32b2f4||_0x126b79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51bd60(_0x99f5ac,_0x3eab88){return new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6ccbf0=>{if(_0x67ab8d())return _0x6ccbf0(_0x126b79([0x56,0x61,0x6c,0x69,0x64]));_0x2b4a44(),_0xa8df5e[_0x126b79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x126b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40d010=!0x1;const _0x5d689a=_0x3c0092();function _0x5e1149(_0x29665a){return!!_0x29665a&&(typeof _0x29665a===_0x126b79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29665a===_0x126b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29665a[_0x126b79([0x74,0x68,0x65,0x6e])]===_0x126b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29665a[_0x126b79([0x63,0x61,0x74,0x63,0x68])]===_0x126b79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38bd13(_0x49a520){_0x32562e(_0x49a520)[_0x126b79([0x74,0x68,0x65,0x6e])](_0x3eb0b4=>{if(!_0x3eb0b4||_0x3eb0b4[_0x126b79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x126b79([0x6f,0x6b]))return _0x126b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24a2f3(_0x433e8a(_0x5d689a+_0x3eab88))!=_0x3eb0b4[_0x126b79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x126b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x126b79([0x56,0x61,0x6c,0x69,0x64]);})[_0x126b79([0x74,0x68,0x65,0x6e])](_0x12d3cd=>(_0x31e640(),_0x12d3cd),()=>{const _0x47b786=_0x3061a0();return null==_0x47b786?(_0x31e640(),_0x126b79([0x56,0x61,0x6c,0x69,0x64])):_0x126b79(_0x52667c-_0x47b786>(0x7753083a^_0x13bcf6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x126b79([0x74,0x68,0x65,0x6e])](_0x6ccbf0)[_0x126b79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6ccbf0(_0x126b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44d149=0x536962ba^_0x13bcf6;function _0x31e640(){const _0x294463=_0x126b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x24a2f3(_0x433e8a(_0x99f5ac)),_0x6a8208=_0x1af99a(_0x24a2f3(window[_0x126b79([0x4d,0x61,0x74,0x68])][_0x126b79([0x63,0x65,0x69,0x6c])](_0x52667c/_0x44d149)));window[_0x126b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126b79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x294463,_0x6a8208);}function _0x3061a0(){const _0x111eef=_0x126b79([0x6c,0x6c,0x63,0x74,0x2d])+_0x24a2f3(_0x433e8a(_0x99f5ac)),_0x42d062=window[_0x126b79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126b79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x111eef);return _0x42d062?window[_0x126b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af99a(_0x42d062),0x10)*_0x44d149:null;}function _0x32562e(_0x418236){return new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43db31,_0x10266a)=>{_0x418236[_0x126b79([0x74,0x68,0x65,0x6e])](_0x43db31,_0x10266a),window[_0x126b79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10266a,0x535e58fa^_0x13bcf6);});}}_0xa8df5e[_0x126b79([0x6f,0x6e])](_0x126b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aaa39,_0x339834)=>{if(_0x339834[0x0]!=_0x99f5ac)return _0x6ccbf0(_0x126b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x339834[0x1]={..._0x339834[0x1],[_0x126b79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d689a};},{[_0x126b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126b79([0x68,0x69,0x67,0x68])}),_0xa8df5e[_0x126b79([0x6f,0x6e])](_0x126b79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x359d26=>{_0x5e1149(_0x359d26[_0x126b79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40d010=!0x0,_0x38bd13(_0x359d26[_0x126b79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x126b79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126b79([0x6c,0x6f,0x77])}),_0x59be24[_0x126b79([0x74,0x68,0x65,0x6e])](()=>{_0x40d010||_0x6ccbf0(_0x126b79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x67ab8d(){return _0xa8df5e[_0x126b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126b79([0x76,0x69,0x65,0x77])][_0x126b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x126b79([0x61,0x75,0x74,0x6f]);}function _0x2b4a44(){_0xa8df5e[_0x126b79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126b79([0x76,0x69,0x65,0x77])][_0x126b79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x126b79([0x61,0x75,0x74,0x6f]);}}function _0x494d0f(_0x3b3a19){const _0x264257=[new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x393c9b=>setTimeout(_0x393c9b,0x5356b2f6^_0x13bcf6)),_0x59be24[_0x126b79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1352c0=>{let _0x3e74e3=0x0;_0xa8df5e[_0x126b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x126b79([0x6f,0x6e])](_0x126b79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e6d68,_0x3125fa)=>{_0x3125fa[0x0][_0x126b79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e74e3++,_0x3e74e3==(0x535f89d2^_0x13bcf6)&&(_0x1352c0(),_0x4e6d68[_0x126b79([0x6f,0x66,0x66])]());});}))];return window[_0x126b79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x126b79([0x72,0x61,0x63,0x65])](_0x264257)[_0x126b79([0x74,0x68,0x65,0x6e])](()=>_0x3b3a19);}async function _0x42e89e(){await _0x59be24,_0xa8df5e[_0x126b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x126b79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x533dad,_0xa8df5e[_0x126b79([0x6d,0x6f,0x64,0x65,0x6c])][_0x126b79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x533dad,_0xa8df5e[_0x126b79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x126b79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cf6d2(_0x3d3ac2){const _0x48808d=_0x2dae30();_0xa8df5e[_0x48808d]=_0x126b79([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d3ac2,_0x3d3ac2!=_0x126b79([0x56,0x61,0x6c,0x69,0x64])&&_0x42e89e();}function _0x2dae30(){const _0x40bdbf=window[_0x126b79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x126b79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x126b79([0x6e,0x6f,0x77])]())[_0x126b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x126b79([0x2e]),'');let _0x31eebc=_0x126b79([0x68]);for(let _0x269368=0x0;_0x269368<_0x40bdbf[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x269368+=0x2){let _0x18a06f=window[_0x126b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40bdbf[_0x126b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x269368,_0x269368+0x2));_0x18a06f>=_0x55cded[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18a06f-=_0x55cded[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31eebc+=_0x55cded[_0x18a06f];}return _0x31eebc;}function _0x5dd5e0(){const _0x3b2bc5=_0x81a596[_0x126b79([0x73,0x70,0x6c,0x69,0x74])](_0x126b79([0x2e]));if(0x3!=_0x3b2bc5[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x397a41(_0x3b2bc5[0x1]);function _0x397a41(_0x1d113c){const _0x158849=_0x293297(_0x1d113c);return _0x158849&&_0x367724()?_0x158849:null;function _0x367724(){const _0x5abf0e=_0x158849[_0x126b79([0x6a,0x74,0x69])],_0x56628e=window[_0x126b79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5abf0e[_0x126b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5abf0e[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23abe2={..._0x158849,[_0x126b79([0x6a,0x74,0x69])]:_0x5abf0e[_0x126b79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5abf0e[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23abe2[_0x126b79([0x76,0x63])],_0x433e8a(_0x23abe2)==_0x56628e;}}}async function _0x570984(){let _0x222359=!0x0;try{const _0x4c2bd4=_0x81a596[_0x126b79([0x73,0x70,0x6c,0x69,0x74])](_0x126b79([0x2e])),[_0xc204dc,_0x280482,_0x2e601c]=_0x4c2bd4;return _0x3eaba8(_0xc204dc),await _0x56fc54(_0xc204dc,_0x280482,_0x2e601c),_0x222359;}catch{return!0x1;}function _0x3eaba8(_0x3ac7a6){const _0x10030b=_0x293297(_0x3ac7a6);_0x10030b&&_0x10030b[_0x126b79([0x61,0x6c,0x67])]==_0x126b79([0x45,0x53,0x32,0x35,0x36])||(_0x222359=!0x1);}async function _0x56fc54(_0x405fa4,_0x3dabdf,_0xc29fb2){const _0xed7538=window[_0x126b79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x126b79([0x66,0x72,0x6f,0x6d])](_0x1c6716(_0xc29fb2),_0x454373=>_0x454373[_0x126b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14482c=new window[(_0x126b79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x126b79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x405fa4+_0x126b79([0x2e])+_0x3dabdf),_0x5a4f89=window[_0x126b79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x126b79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a4f89)return;const _0xd8e5b6=await _0x5a4f89[_0x126b79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x126b79([0x6a,0x77,0x6b]),_0x120ca7,{[_0x126b79([0x6e,0x61,0x6d,0x65])]:_0x126b79([0x45,0x43,0x44,0x53,0x41]),[_0x126b79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x126b79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x126b79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a4f89[_0x126b79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x126b79([0x6e,0x61,0x6d,0x65])]:_0x126b79([0x45,0x43,0x44,0x53,0x41]),[_0x126b79([0x68,0x61,0x73,0x68])]:{[_0x126b79([0x6e,0x61,0x6d,0x65])]:_0x126b79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd8e5b6,_0xed7538,_0x14482c)||(_0x222359=!0x1);}}function _0x293297(_0x48ac46){return _0x48ac46[_0x126b79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x126b79([0x65,0x79]))?JSON[_0x126b79([0x70,0x61,0x72,0x73,0x65])](_0x1c6716(_0x48ac46)):null;}function _0x1c6716(_0x4ddc52){return window[_0x126b79([0x61,0x74,0x6f,0x62])](_0x4ddc52[_0x126b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x126b79([0x2b]))[_0x126b79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x126b79([0x2f])));}function _0x433e8a(_0x53632f){let _0x23c846=0x1505;function _0x87ab(_0x5cfd6f){for(let _0x4aa595=0x0;_0x4aa595<_0x5cfd6f[_0x126b79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4aa595++){const _0x50fa2f=_0x5cfd6f[_0x126b79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4aa595);_0x23c846=(_0x23c846<<0x5)+_0x23c846+_0x50fa2f,_0x23c846&=_0x23c846;}}function _0x2ab192(_0xecb802){Array[_0x126b79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xecb802)?_0xecb802[_0x126b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ab192):_0xecb802&&typeof _0xecb802==_0x126b79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x126b79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xecb802)[_0x126b79([0x73,0x6f,0x72,0x74])]()[_0x126b79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ab822,_0x4f70ae])=>{_0x87ab(_0x1ab822),_0x2ab192(_0x4f70ae);}):_0x87ab(window[_0x126b79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xecb802));}return _0x2ab192(_0x53632f),_0x23c846>>>0x0;}function _0x24a2f3(_0x12a230){return _0x12a230[_0x126b79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x126b79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x126b79([0x30]));}function _0x1af99a(_0x4b1799){return _0x4b1799[_0x126b79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x126b79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x126b79([0x6a,0x6f,0x69,0x6e])]('');}function _0x533dad(){}function _0x126b79(_0x190a7a){return _0x190a7a['map'](_0x51d8c8=>String['fromCharCode'](_0x51d8c8))['join']('');}_0x3cf6d2(await _0x172d06());}(this);}['_initSchema'](){const _0x1b5ad6=this['editor']['model']['schema'];_0x1b5ad6['isRegistered']('imageBlock')&&_0x1b5ad6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1b5ad6['isRegistered']('imageInline')&&_0x1b5ad6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3136ee=this['editor'];_0x3136ee['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3136ee['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x383b11=>_0x383b11['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x50299b=_0x3136ee['commands']['get']('replaceImageSource');_0x50299b&&this['listenTo'](_0x50299b,'cleanupImage',(_0x5c4d55,[_0x59490b,_0x548c78])=>{_0x59490b['removeAttribute']('uploadcareImageId',_0x548c78);});}['_initConfig'](){const _0x513691=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2939e6=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x414e74(_0x4ac7e1['document'],'uc-config',{..._0x513691,'pubkey':_0x2939e6,'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']=_0x258182=>{if('closeMax'==_0x258182)return'#uc-icon-arrow-down';},_0x4ac7e1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x414e74(_0x4ac7e1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4ac7e1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5a3172=this['editor']['commands']['get']('insertImage');_0x5a3172&&this['listenTo'](_0x5a3172,'execute',()=>{const _0x5e1395=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5e1395&&_0x5e1395['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5e1395);});});const _0x24a4c1=this['editor']['commands']['get']('uploadcareImageReplace');_0x24a4c1&&this['listenTo'](_0x24a4c1,'execute',()=>{const _0x2b0ecd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b0ecd&&_0x2b0ecd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2b0ecd);});});}}class tt extends _0x2f79a5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x250d4f){super(_0x250d4f),_0x250d4f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x49e498['defineComponents'](_0x49e498),this['_defineLocale']();}['_defineLocale'](){const _0xd15c67=this['editor']['config']['get']('uploadcare.locale'),_0x4563cc=this['editor']['locale']['contentLanguage'];_0xd15c67&&_0x49e498['defineLocale'](_0x4563cc,_0xd15c67);}}class ii extends _0x119922{constructor(_0x36a4e0){super(_0x36a4e0);const t=_0x36a4e0['t'],_0x25b67c=this['bindTemplate'],_0x543f83=new _0x7ad9c6();_0x543f83['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':[_0x543f83,{'text':_0x25b67c['to']('imageUploadProgress',_0xf629ff=>t('Loading\x20image...')+'\x20('+(_0xf629ff||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 _0x119922{constructor(_0x145744){super(_0x145744);const t=_0x145744['t'];this['set']('errorType',null);const _0x1b0cd3=new _0x484af9(_0x145744);_0x1b0cd3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b0cd3['withText']=!0x0,_0x1b0cd3['class']='ck-button-action',_0x1b0cd3['on']('execute',()=>{this['fire']('retry');}),_0x1b0cd3['bind']('isVisible')['to'](this,'errorType',_0x4ae395=>'NotFound'!==_0x4ae395);const _0x1b549c=new _0x1494c4();_0x1b549c['content']=_0x19ea19,_0x1b549c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f0df7=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':[_0x1b549c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f0df7['to']('errorType',_0x3e0a8f=>t('NotFound'!==_0x3e0a8f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b0cd3]},{'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 _0x119922{constructor(_0x4b28d0,_0x18f429){super(_0x4b28d0);const _0x17fe18=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x18f429,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x17fe18['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3c86a2,_0x4829d8,_0x1f75f6){super(_0x3c86a2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3c86a2),this['_errorView']=new ti(_0x3c86a2),this['_editingView']=new ei(_0x3c86a2,_0x1f75f6),this['_focusableView']=new _0x119922(_0x3c86a2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4829d8),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'],_0x11f5f4=>{this['_addUploadcareImageEditorListeners'](_0x11f5f4);});}),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'](_0x34ac9c,_0x41eb43){const _0x23408b='uc-cloud-image-editor',_0x17d2e8=_0x34ac9c['querySelector'](_0x23408b);if(_0x17d2e8)return _0x41eb43(_0x17d2e8);const _0x5b8c6a=new MutationObserver(_0x453bec=>{const _0x599d17=_0x453bec['filter'](_0xfcc656=>_0xfcc656['target']===_0x34ac9c&&_0xfcc656['addedNodes']['length']>0x0&&_0xfcc656['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x23408b);_0x599d17['length']&&(_0x5b8c6a['disconnect'](),_0x41eb43(_0x599d17[0x0]['addedNodes'][0x0]));});_0x5b8c6a['observe'](_0x34ac9c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1ac745){_0x1ac745['addEventListener']('apply',_0x5834dd=>{this['fire']('apply',{'imageSrc':_0x5834dd['detail']['cdnUrl']});}),_0x1ac745['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xb0242e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x9c7986,_0x2e028e,_0x4546c4){super(),this['_editor']=_0x9c7986,this['_dialog']=_0x2e028e,this['_imageElement']=_0x4546c4,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 _0x5bfddd=this['_imageElement'],_0x5838ee=_0x5bfddd['getAttribute']('uploadcareImageId'),_0x1563ee=_0x5bfddd['getAttribute']('src');if(_0x5838ee)await this['_loadImageInfo'](_0x5838ee,_0x1563ee);else{if(this['_imageCache']['has'](_0x1563ee)){const _0x5c97eb=this['_imageCache']['get'](_0x1563ee);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c97eb['url'],this['imageDimension']=_0x5c97eb['dimension'],this['imageId']=_0x5c97eb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x41f410}=this['_editor'],t=_0x41f410['t'],_0x41d100=new X(_0x41f410,this['imageStatus'],this['_attributes']);_0x41d100['bind']('status')['to'](this,'imageStatus'),_0x41d100['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41d100['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41d100['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41d100,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d9d5d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41d100,'position':_0x297a66['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41d100['focus']();},'onHide':()=>{_0x41d100['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ff7e3=>!A(_0x3ff7e3,_0x41d100['element'])}});}['_loadImageInfo'](_0x32e875,_0x1065a0){return j['getInfo'](_0x32e875,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x9de78a=>{const {width:_0x1ee9b2,height:_0x524137}=_0x9de78a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1065a0,this['imageDimension']={'width':_0x1ee9b2,'height':_0x524137},this['imageId']=_0x32e875;})['catch'](_0x5ec250=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ec250['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5ebe96,_0x2e8286){return this['_getImageAsFile'](_0x5ebe96)['then'](_0x3fa770=>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':_0x2e8286['signal'],'file':_0x3fa770,'onProgress':_0x2c3d6b=>{_0x2c3d6b&&_0x2c3d6b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2c3d6b['value']));}}))['then'](_0x40bc40=>{const {width:_0x394a31,height:_0x23b3a9}=_0x40bc40['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40bc40['cdnUrl'],this['imageDimension']={'width':_0x394a31,'height':_0x23b3a9},this['imageId']=_0x40bc40['uuid'],this['imageUploadProgress']=null;const _0x894a87=_0x5ebe96['getAttribute']('src');this['_imageCache']['set'](_0x894a87,{'id':_0x40bc40['uuid'],'url':_0x40bc40['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xce19bd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xce19bd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x17c1c3,_0x2639db){_0x17c1c3['on']('apply',(_0x42e3fc,_0x13b52d)=>{this['_replaceImage'](_0x2639db,_0x13b52d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x17c1c3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x17c1c3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x506c1a,_0x39d6cf,_0x36b681){const _0x2c1bc4=this['_editor'],{width:_0x1d04b8,height:_0x4c73bb}=S(_0x39d6cf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f3f9e,imageSources:_0x3b0f69}=C(_0x39d6cf,_0x1d04b8);_0x2c1bc4['model']['change'](_0x5e5b8e=>{if('$graveyard'===_0x506c1a['root']['rootName']){_0x2c1bc4['execute']('insertImage',{'imageType':_0x506c1a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x506c1a['getAttributes']()),'uploadcareImageId':_0x36b681,'src':_0x4f3f9e,'sources':_0x3b0f69,'width':_0x1d04b8,'height':_0x4c73bb}});const _0x3b3d6e=_0x506c1a['getChildren']();_0x506c1a=_0x2c1bc4['model']['document']['selection']['getSelectedElement']();for(const _0x3a97f4 of _0x3b3d6e)_0x5e5b8e['append'](_0x5e5b8e['cloneElement'](_0x3a97f4),_0x506c1a);}else _0x5e5b8e['setSelection'](_0x506c1a,'on'),_0x2c1bc4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x506c1a['getAttributes']()),'uploadcareImageId':_0x36b681,'src':_0x4f3f9e,'sources':_0x3b0f69,'width':_0x1d04b8,'height':_0x4c73bb},_0x506c1a);_0x5e5b8e['setSelection'](_0x506c1a,'on');});}async['_getImageAsFile'](_0x4e616c){const _0x39e53c=_0x4ac7e1['window'],_0x3ac222=_0x4ac7e1['document']['location']['href'],_0x54f5a5=new _0x39e53c['URL'](_0x4e616c['getAttribute']('src'),_0x3ac222);if('data:'===_0x54f5a5['protocol']){const _0x2c7ab5=_0x54f5a5['href']['split'](','),_0x382c96=_0x2c7ab5[0x0]['match'](/:(.*?);/)[0x1],_0x512f45=_0x382c96['split']('/')[0x1],_0x4ed75c=_0x39e53c['atob'](_0x2c7ab5[_0x2c7ab5['length']-0x1]);let _0x3c2bb8=_0x4ed75c['length'];const _0x25eb1=new _0x39e53c['Uint8Array'](_0x3c2bb8);for(;_0x3c2bb8--;)_0x25eb1[_0x3c2bb8]=_0x4ed75c['charCodeAt'](_0x3c2bb8);return new _0x39e53c['File']([_0x25eb1],'image.'+_0x512f45,{'type':_0x382c96});}const _0x29e455=_0x54f5a5['href']['split']('/'),_0x1b9ddf=_0x29e455[_0x29e455['length']-0x1],_0x53527f=_0x1b9ddf['split']('.')[0x1];return _0x39e53c['fetch'](_0x54f5a5['href'])['then'](_0xf30b89=>_0xf30b89['clone']()['blob']())['then'](_0xbf2db=>new _0x39e53c['File']([_0xbf2db],_0x1b9ddf,{'type':'image/'+_0x53527f}));}}class O extends _0x1830ed{['imageEditController'];static get['requires'](){return[_0x2e6c28];}['_isEditable'];constructor(_0x5d2379){super(_0x5d2379),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1a750f){const _0x4c85cb=G(_0x1a750f);return _0x1dc681=>!(!_0x1dc681||!_0x1dc681['is']('element','imageBlock')&&!_0x1dc681['is']('element','imageInline'))&&(!!_0x1dc681['hasAttribute']('uploadcareImageId')||!!_0x1dc681['hasAttribute']('src')&&_0x4c85cb(_0x1dc681['getAttribute']('src')));}(_0x5d2379['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x111df7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x111df7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5edff7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5edff7&&(_0x5edff7['is']('element','imageBlock')||_0x5edff7['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2e6c28),_0x5edff7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x1830ed{['refresh'](){const _0x3abfde=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3abfde&&(_0x3abfde['is']('element','imageBlock')||_0x3abfde['is']('element','imageInline')));}['execute'](_0x4e8f11){const _0x579c48=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x309a5b=>{_0x309a5b['setAttributes'](_0x4e8f11,_0x579c48),_0x309a5b['removeAttribute']('srcset',_0x579c48),_0x309a5b['removeAttribute']('sizes',_0x579c48);});}}class m extends _0x2f79a5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xc388b8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3e6153}=this;_0x3e6153['commands']['add']('uploadcareImageEdit',new O(_0x3e6153)),_0x3e6153['commands']['add']('uploadcareImageReplace',new R(_0x3e6153));}}class g extends _0x2f79a5{['_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 _0xc6b9d8=this['editor'];_0xc6b9d8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x971d0a=>{const _0x45fac6=_0xc6b9d8['commands']['get']('uploadcareImageEdit'),_0x3481d8=new _0x484af9(_0x971d0a),t=_0x971d0a['t'];return _0x3481d8['set']({'icon':_0x5d9d5d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3481d8['bind']('isEnabled')['to'](_0x45fac6),_0x3481d8['bind']('isOn')['to'](_0x45fac6,'isActive'),this['listenTo'](_0x3481d8,'execute',()=>{_0xc6b9d8['execute']('uploadcareImageEdit'),_0xc6b9d8['editing']['view']['focus']();}),_0x3481d8;}),this['_initConfig']();}['_initConfig'](){const _0x20ee2c=_0x414e74(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x20ee2c),this['listenTo'](this['editor'],'destroy',()=>{_0x20ee2c['remove']();});}}class et extends _0x2f79a5{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':_0x12a3b4=>0x1!=_0x12a3b4}};
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':_0x4dc4e5=>0x1!=_0x4dc4e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x161e57=>{const {af:{dictionary:_0x258a0f,getPluralForm:_0x3c488c}}={'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':_0x1b2eb9=>0x1!=_0x1b2eb9}};_0x161e57['af']||={'dictionary':{},'getPluralForm':null},_0x161e57['af']['dictionary']=Object['assign'](_0x161e57['af']['dictionary'],_0x258a0f),_0x161e57['af']['getPluralForm']=_0x3c488c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14293b=>{const {af:{dictionary:_0x5a5fd6,getPluralForm:_0x435a96}}={'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':_0x388443=>0x1!=_0x388443}};_0x14293b['af']||={'dictionary':{},'getPluralForm':null},_0x14293b['af']['dictionary']=Object['assign'](_0x14293b['af']['dictionary'],_0x5a5fd6),_0x14293b['af']['getPluralForm']=_0x435a96;})(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':_0x24c249=>0x0==_0x24c249?0x0:0x1==_0x24c249?0x1:0x2==_0x24c249?0x2:_0x24c249%0x64>=0x3&&_0x24c249%0x64<=0xa?0x3:_0x24c249%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':_0x113a90=>0x0==_0x113a90?0x0:0x1==_0x113a90?0x1:0x2==_0x113a90?0x2:_0x113a90%0x64>=0x3&&_0x113a90%0x64<=0xa?0x3:_0x113a90%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236369=>{const {ar:{dictionary:_0x126399,getPluralForm:_0x43504f}}={'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':_0x3b42c6=>0x0==_0x3b42c6?0x0:0x1==_0x3b42c6?0x1:0x2==_0x3b42c6?0x2:_0x3b42c6%0x64>=0x3&&_0x3b42c6%0x64<=0xa?0x3:_0x3b42c6%0x64>=0xb?0x4:0x5}};_0x236369['ar']||={'dictionary':{},'getPluralForm':null},_0x236369['ar']['dictionary']=Object['assign'](_0x236369['ar']['dictionary'],_0x126399),_0x236369['ar']['getPluralForm']=_0x43504f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x100885=>{const {ar:{dictionary:_0x10f8e5,getPluralForm:_0x1abf04}}={'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':_0x25b575=>0x0==_0x25b575?0x0:0x1==_0x25b575?0x1:0x2==_0x25b575?0x2:_0x25b575%0x64>=0x3&&_0x25b575%0x64<=0xa?0x3:_0x25b575%0x64>=0xb?0x4:0x5}};_0x100885['ar']||={'dictionary':{},'getPluralForm':null},_0x100885['ar']['dictionary']=Object['assign'](_0x100885['ar']['dictionary'],_0x10f8e5),_0x100885['ar']['getPluralForm']=_0x1abf04;})(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':_0x34a326=>0x1!=_0x34a326}};
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':_0x289ef8=>0x1!=_0x289ef8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x366b20=>{const {ast:{dictionary:_0x19da04,getPluralForm:_0x20d2a4}}={'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':_0x3d3487=>0x1!=_0x3d3487}};_0x366b20['ast']||={'dictionary':{},'getPluralForm':null},_0x366b20['ast']['dictionary']=Object['assign'](_0x366b20['ast']['dictionary'],_0x19da04),_0x366b20['ast']['getPluralForm']=_0x20d2a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55af6d=>{const {ast:{dictionary:_0xcd205c,getPluralForm:_0x399ac9}}={'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':_0xe9c729=>0x1!=_0xe9c729}};_0x55af6d['ast']||={'dictionary':{},'getPluralForm':null},_0x55af6d['ast']['dictionary']=Object['assign'](_0x55af6d['ast']['dictionary'],_0xcd205c),_0x55af6d['ast']['getPluralForm']=_0x399ac9;})(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':_0x450fdb=>0x1!=_0x450fdb}};
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':_0x110e65=>0x1!=_0x110e65}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ac392=>{const {az:{dictionary:_0x33bfe1,getPluralForm:_0x163249}}={'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':_0x4e8d0b=>0x1!=_0x4e8d0b}};_0x5ac392['az']||={'dictionary':{},'getPluralForm':null},_0x5ac392['az']['dictionary']=Object['assign'](_0x5ac392['az']['dictionary'],_0x33bfe1),_0x5ac392['az']['getPluralForm']=_0x163249;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c213a=>{const {az:{dictionary:_0xc0302f,getPluralForm:_0x3e209b}}={'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':_0x3dd3b0=>0x1!=_0x3dd3b0}};_0x2c213a['az']||={'dictionary':{},'getPluralForm':null},_0x2c213a['az']['dictionary']=Object['assign'](_0x2c213a['az']['dictionary'],_0xc0302f),_0x2c213a['az']['getPluralForm']=_0x3e209b;})(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':_0x4b7d4b=>_0x4b7d4b%0xa==0x1&&_0x4b7d4b%0x64!=0xb?0x0:_0x4b7d4b%0xa>=0x2&&_0x4b7d4b%0xa<=0x4&&(_0x4b7d4b%0x64<0xa||_0x4b7d4b%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':_0x395dfd=>_0x395dfd%0xa==0x1&&_0x395dfd%0x64!=0xb?0x0:_0x395dfd%0xa>=0x2&&_0x395dfd%0xa<=0x4&&(_0x395dfd%0x64<0xa||_0x395dfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2edd4d=>{const {be:{dictionary:_0x10a14c,getPluralForm:_0x197d25}}={'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':_0x5ab8f5=>_0x5ab8f5%0xa==0x1&&_0x5ab8f5%0x64!=0xb?0x0:_0x5ab8f5%0xa>=0x2&&_0x5ab8f5%0xa<=0x4&&(_0x5ab8f5%0x64<0xa||_0x5ab8f5%0x64>=0x14)?0x1:0x2}};_0x2edd4d['be']||={'dictionary':{},'getPluralForm':null},_0x2edd4d['be']['dictionary']=Object['assign'](_0x2edd4d['be']['dictionary'],_0x10a14c),_0x2edd4d['be']['getPluralForm']=_0x197d25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16002e=>{const {be:{dictionary:_0x3b5f7b,getPluralForm:_0x3154e5}}={'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':_0x40e6ad=>_0x40e6ad%0xa==0x1&&_0x40e6ad%0x64!=0xb?0x0:_0x40e6ad%0xa>=0x2&&_0x40e6ad%0xa<=0x4&&(_0x40e6ad%0x64<0xa||_0x40e6ad%0x64>=0x14)?0x1:0x2}};_0x16002e['be']||={'dictionary':{},'getPluralForm':null},_0x16002e['be']['dictionary']=Object['assign'](_0x16002e['be']['dictionary'],_0x3b5f7b),_0x16002e['be']['getPluralForm']=_0x3154e5;})(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':_0x20220a=>0x1!=_0x20220a}};
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':_0x5de941=>0x1!=_0x5de941}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20f068=>{const {bg:{dictionary:_0x2637a8,getPluralForm:_0x45c5a1}}={'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':_0x53c3b3=>0x1!=_0x53c3b3}};_0x20f068['bg']||={'dictionary':{},'getPluralForm':null},_0x20f068['bg']['dictionary']=Object['assign'](_0x20f068['bg']['dictionary'],_0x2637a8),_0x20f068['bg']['getPluralForm']=_0x45c5a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a7db1=>{const {bg:{dictionary:_0xa61a04,getPluralForm:_0x34db4d}}={'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':_0x4b57a9=>0x1!=_0x4b57a9}};_0x2a7db1['bg']||={'dictionary':{},'getPluralForm':null},_0x2a7db1['bg']['dictionary']=Object['assign'](_0x2a7db1['bg']['dictionary'],_0xa61a04),_0x2a7db1['bg']['getPluralForm']=_0x34db4d;})(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':_0x55b7fc=>0x1!=_0x55b7fc}};
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':_0x2c8f34=>0x1!=_0x2c8f34}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d565d=>{const {bn:{dictionary:_0x91af8c,getPluralForm:_0x474ea0}}={'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':_0x3f9c3c=>0x1!=_0x3f9c3c}};_0x1d565d['bn']||={'dictionary':{},'getPluralForm':null},_0x1d565d['bn']['dictionary']=Object['assign'](_0x1d565d['bn']['dictionary'],_0x91af8c),_0x1d565d['bn']['getPluralForm']=_0x474ea0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4de793=>{const {bn:{dictionary:_0x32b1fb,getPluralForm:_0x5ea6bc}}={'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':_0x2fc1f4=>0x1!=_0x2fc1f4}};_0x4de793['bn']||={'dictionary':{},'getPluralForm':null},_0x4de793['bn']['dictionary']=Object['assign'](_0x4de793['bn']['dictionary'],_0x32b1fb),_0x4de793['bn']['getPluralForm']=_0x5ea6bc;})(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':_0x5dd018=>_0x5dd018%0xa==0x1&&_0x5dd018%0x64!=0xb?0x0:_0x5dd018%0xa>=0x2&&_0x5dd018%0xa<=0x4&&(_0x5dd018%0x64<0xa||_0x5dd018%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':_0x3ef0ea=>_0x3ef0ea%0xa==0x1&&_0x3ef0ea%0x64!=0xb?0x0:_0x3ef0ea%0xa>=0x2&&_0x3ef0ea%0xa<=0x4&&(_0x3ef0ea%0x64<0xa||_0x3ef0ea%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20ef72=>{const {bs:{dictionary:_0x5ca74f,getPluralForm:_0xe320df}}={'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':_0x3f60fe=>_0x3f60fe%0xa==0x1&&_0x3f60fe%0x64!=0xb?0x0:_0x3f60fe%0xa>=0x2&&_0x3f60fe%0xa<=0x4&&(_0x3f60fe%0x64<0xa||_0x3f60fe%0x64>=0x14)?0x1:0x2}};_0x20ef72['bs']||={'dictionary':{},'getPluralForm':null},_0x20ef72['bs']['dictionary']=Object['assign'](_0x20ef72['bs']['dictionary'],_0x5ca74f),_0x20ef72['bs']['getPluralForm']=_0xe320df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4415c9=>{const {bs:{dictionary:_0x39f1f4,getPluralForm:_0x3311aa}}={'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':_0x5d2ff3=>_0x5d2ff3%0xa==0x1&&_0x5d2ff3%0x64!=0xb?0x0:_0x5d2ff3%0xa>=0x2&&_0x5d2ff3%0xa<=0x4&&(_0x5d2ff3%0x64<0xa||_0x5d2ff3%0x64>=0x14)?0x1:0x2}};_0x4415c9['bs']||={'dictionary':{},'getPluralForm':null},_0x4415c9['bs']['dictionary']=Object['assign'](_0x4415c9['bs']['dictionary'],_0x39f1f4),_0x4415c9['bs']['getPluralForm']=_0x3311aa;})(window['CKEDITOR_TRANSLATIONS']||={});