@ckeditor/ckeditor5-uploadcare 47.7.1 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a8265,Command as _0x50fcb7}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4e0182,IconGooglePhotos as _0x270cfd,IconGoogleDrive as _0x4c41ed,IconFacebook as _0xa50d41,IconDropbox as _0x1649ed,IconUploadcareLink as _0x1bd2f5,IconUploadcareImageUpload as _0x573d88,IconError as _0x18ad94,IconUploadcareImageEdit as _0x439420}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1cf473,MenuBarMenuListItemButtonView as _0x5891f7,View as _0x281ed3,FocusCycler as _0x33eb03,Dialog as _0x48281d,DialogViewPosition as _0x26b981,SpinnerView as _0x1ed863,IconView as _0x1cfb12,Notification as _0xc77335}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1f72be,DomEmitterMixin as _0x4fe6ed,global as _0x353e91,getAncestors as _0x1fbdc0,ObservableMixin as _0xdd4748,uid as _0x6e08c5,createElement as _0x39a7c7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5cf537}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x322f8d,info as _0x4afe4b}from'@uploadcare/upload-client';import*as _0x3507d0 from'@uploadcare/file-uploader';var i=function(_0x593a04){return _0x593a04['Local']='local',_0x593a04['URL']='url',_0x593a04['Dropbox']='dropbox',_0x593a04['GDrive']='gdrive',_0x593a04['Facebook']='facebook',_0x593a04['GPhotos']='gphotos',_0x593a04['OneDrive']='onedrive',_0x593a04;}({});function _(_0x18c9b0,_0x498667,_0x1c48a7){const t=_0x18c9b0['t'],_0x442154=_0x18c9b0['t'];switch(_0x498667){case i['Local']:return{'text':_0x442154('Insert'===_0x1c48a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x442154('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1c48a7?_0x442154('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x442154('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1c48a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1c48a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1c48a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1c48a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1c48a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x498667;}}class e extends _0x1a8265{['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 _0x4e9ff0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xdfa28e;for(const _0x59faea in _0x4e9ff0){const _0x4191f3=_0x59faea,_0x5949e1=_0x4e9ff0[_0x4191f3];if('uploadcareLicenseKeyValid'==_0x5949e1||'uploadcareLicenseKeyInvalid'==_0x5949e1||'uploadcareLicenseKeyExpired'==_0x5949e1||'uploadcareLicenseKeyDomainLimit'==_0x5949e1||'uploadcareLicenseKeyNotAllowed'==_0x5949e1||'uploadcareLicenseKeyEvaluationLimit'==_0x5949e1||'uploadcareLicenseKeyUsageLimit'==_0x5949e1){delete _0x4e9ff0[_0x4191f3],_0xdfa28e=_0x5949e1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0xdfa28e&&_0x4e9ff0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5045bb}=this,_0x3948b6=_0x5045bb['commands']['get']('uploadcare');if(!_0x3948b6)return;const _0x22cac0=this['_normalizeConfigSourceList'](_0x5045bb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3aa698,_0x53f178)=>{const _0x4e4484=this['_getIntegrationKey'](_0x53f178['type']);return _0x3aa698[_0x4e4484]||(_0x3aa698[_0x4e4484]=[]),_0x3aa698[_0x4e4484]['push'](_0x53f178),_0x3aa698;},{});_0x5045bb['plugins']['has']('ImageInsertUI')&&_0x5045bb['commands']['get']('uploadcare')&&Object['entries'](_0x22cac0)['forEach'](([_0x99608e,_0x7c068a])=>{_0x5045bb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x99608e,'observable':()=>_0x3948b6,'buttonViewCreator':()=>this['_createToolbarButton'](_0x7c068a),'formViewCreator':()=>this['_createDropdownButtons'](_0x7c068a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x7c068a),'override':'assetManager'!==_0x99608e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2fd197){const {locale:_0x365107}=this['editor'];return _0x2fd197['map'](_0x31842a=>{const _0x5d8368=_(_0x365107,_0x31842a,'Insert');switch(_0x31842a){case i['Local']:return{'icon':_0x573d88,'type':i['Local'],..._0x5d8368};case i['URL']:return{'icon':_0x1bd2f5,'type':i['URL'],..._0x5d8368};case i['Dropbox']:return{'icon':_0x1649ed,'type':i['Dropbox'],..._0x5d8368};case i['Facebook']:return{'icon':_0xa50d41,'type':i['Facebook'],..._0x5d8368};case i['GDrive']:return{'icon':_0x4c41ed,'type':i['GDrive'],..._0x5d8368};case i['GPhotos']:return{'icon':_0x270cfd,'type':i['GPhotos'],..._0x5d8368};case i['OneDrive']:return{'icon':_0x4e0182,'type':i['OneDrive'],..._0x5d8368};}});}['_getIntegrationKey'](_0x437dcb){switch(_0x437dcb){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x117d55,_0x3dfa2c){const _0x335891=this['editor'],_0xdc208e=new _0x117d55(_0x335891['locale']),_0x245079=_0x335891['commands']['get']('uploadcare');return _0xdc208e['bind']('isEnabled')['to'](_0x245079),_0xdc208e['on']('execute',()=>{_0x245079['execute'](_0x3dfa2c);}),_0xdc208e;}['_createToolbarButton'](_0x402079){const {locale:_0x3072ef}=this['editor'],_0xbe598c=this['editor']['plugins']['get']('ImageInsertUI'),_0x47440e=_0x402079[0x0],_0x2e968d=this['_createButton'](_0x1cf473,_0x47440e['type']);return _0x2e968d['icon']=_0x47440e['icon'],_0x2e968d['bind']('label')['to'](_0xbe598c,'isImageSelected',_0x2b0abe=>_(_0x3072ef,_0x47440e['type'],_0x2b0abe?'Replace':'Insert')['text']),_0x2e968d['tooltip']=!0x0,_0x2e968d;}['_createDropdownButtons'](_0x3ab87c){const {locale:_0x4fb805}=this['editor'],_0x208ba3=this['editor']['plugins']['get']('ImageInsertUI');return _0x3ab87c['map'](_0x49a2c6=>{const _0x10bb2c=this['_createButton'](_0x1cf473,_0x49a2c6['type']);return _0x10bb2c['withText']=!0x0,_0x10bb2c['icon']=_0x49a2c6['icon'],_0x10bb2c['bind']('label')['to'](_0x208ba3,'isImageSelected',_0x556643=>_(_0x4fb805,_0x49a2c6['type'],_0x556643?'Replace':'Insert')['text']),_0x10bb2c;});}['_createMenuBarButtons'](_0x3cd673){return _0x3cd673['map'](_0xf9e6e=>{const _0x380c21=this['_createButton'](_0x5891f7,_0xf9e6e['type']);return _0x380c21['icon']=_0xf9e6e['icon'],_0x380c21['label']=_0xf9e6e['shortText'],_0x380c21;});}}class F extends _0x281ed3{['focusTracker'];['focusCycler'];constructor(_0x315dbd){super(_0x315dbd),this['focusTracker']=new _0x1f72be(),this['focusCycler']=new _0x33eb03({'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(_0x518230,_0x4cce90){super(_0x518230),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-'+_0x4cce90}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2a2f93,_0x3a57f6){const _0x3568df=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x42a966=>_0x42a966<=_0x3a57f6)['map'](_0xe8e649=>_0x2a2f93['replace'](/\/$/,'')+'/-/resize/'+_0xe8e649+'x/\x20'+_0xe8e649+'w');return{'imageFallbackUrl':_0x2a2f93,'imageSources':[{'srcset':_0x3568df['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3a57f6+'px)\x20100vw,\x20'+_0x3a57f6+'px','type':'image/webp'}]};}function S(_0x4d2656,_0x247de9,_0x114f5a){const _0x514e59=_0x4d2656['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x514e59?parseInt(_0x514e59[0x1],0xa):_0x247de9,'height':_0x514e59?parseInt(_0x514e59[0x2],0xa):_0x114f5a};}function p(_0x2eb62a,_0x2e4348){const _0x3df36b=new(_0x4fe6ed())(),_0xa73ca6=_0x2eb62a['plugins']['get']('ImageUtils'),_0x74f222=_0x2eb62a['editing']['mapper']['toViewElement'](_0x2e4348),_0x47e4d4=_0xa73ca6['findViewImgElement'](_0x74f222),_0x20feeb=_0x2eb62a['editing']['view']['domConverter']['viewToDom'](_0x47e4d4),_0x18d54c=_0x2e4348['getAttribute']('width'),_0x34b3ee=_0x2e4348['getAttribute']('height'),_0xc727ad='image-processing';_0x2eb62a['editing']['view']['change'](_0x1fa185=>{_0x1fa185['addClass'](_0xc727ad,_0x74f222),_0x1fa185['setStyle']('aspect-ratio',_0x18d54c+'/'+_0x34b3ee,_0x47e4d4);}),_0x3df36b['listenTo'](_0x20feeb,'load',()=>{_0x3df36b['stopListening'](_0x20feeb,'load'),_0x2eb62a['editing']['view']['change'](_0x3d6beb=>{_0x3d6beb['removeClass'](_0xc727ad,_0x74f222),_0x3d6beb['removeStyle']('aspect-ratio',_0x47e4d4);});});}function z(_0x3b1a2d){if(Array['isArray'](_0x3b1a2d)){const _0x230458=_0x3b1a2d['map'](z);return _0x3f28c8=>_0x230458['some'](_0x3e590e=>_0x3e590e(_0x3f28c8));}if('origin'==_0x3b1a2d){const _0x5c6173=_0x353e91['window']['location']['origin'];return _0x49d7b3=>new URL(_0x49d7b3,_0x353e91['document']['baseURI'])['origin']==_0x5c6173;}return'function'==typeof _0x3b1a2d?_0x3b1a2d:_0x3b1a2d instanceof RegExp?_0x2f1ad0=>!(!_0x2f1ad0['match'](_0x3b1a2d)&&!_0x2f1ad0['replace'](/^https?:\/\//,'')['match'](_0x3b1a2d)):()=>!0x1;}function A(_0x40bce7,_0x2e2e92){return _0x1fbdc0(_0x40bce7['target'])['includes'](_0x2e2e92);}class n extends/* #__PURE__ -- @preserve */
24
- _0xdd4748(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x325ed9,_0x654e43,_0x17123e){super(),this['_editor']=_0x325ed9,this['_editing']=_0x654e43,this['_dialog']=_0x325ed9['plugins']['get'](_0x48281d),this['_api']=_0x654e43['ctxElement']['getAPI'](),this['_type']=_0x17123e,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:_0x23fb73,model:_0x343f88}=this['_editor'],_0x51d1f8=_0x343f88['document']['selection']['getSelectedElement'](),_0x2cd9e8=_0x51d1f8&&(_0x51d1f8['is']('element','imageBlock')||_0x51d1f8['is']('element','imageInline'));this['_formView']=new x(_0x23fb73,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x573d88,'title':_(_0x23fb73,this['_type'],_0x2cd9e8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x26b981['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x102547=>!A(_0x102547,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4907e9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x113d6=>{const _0x449284=_0x4907e9['length'];for(const _0x279b01 of _0x4907e9){const _0x4368f4=_0x279b01===_0x4907e9[_0x449284-0x1],{cdnUrl:_0x474968,fileInfo:_0x17ecba}=_0x279b01;if(!_0x474968||!_0x17ecba)continue;const {width:_0x23fdba,height:_0x4edbb4}=_0x17ecba['imageInfo'],_0x14d566=S(_0x474968,_0x23fdba,_0x4edbb4),_0x2d8776=C(_0x474968,_0x14d566['width']),_0x352fa9={'id':_0x17ecba['uuid'],'type':'image','attributes':{'imageDimension':_0x14d566,..._0x2d8776}};this['_insertAsset'](_0x352fa9,_0x4368f4,_0x113d6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x22589d=>{'idle'===_0x22589d['detail']['status']&&!_0x22589d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x169436,_0x15867e,_0x23f961){const _0x5162d9=this['_editor']['model']['document']['selection'],_0x4e3513=_0x5162d9['getSelectedElement'](),_0x388de7=!(!_0x4e3513||!_0x4e3513['is']('element','imageInline'));_0x23f961['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x169436,_0x388de7),_0x15867e||_0x23f961['setSelection'](_0x5162d9['getLastPosition']());}['_insertImage'](_0x48359e,_0x4fd6d6){const _0x5bc488=this['_editor'],{imageDimension:_0x30b350,imageFallbackUrl:_0x560519,imageSources:_0x342268}=_0x48359e['attributes'];_0x5bc488['execute']('insertImage',{'imageType':_0x4fd6d6?'imageInline':null,'source':{'uploadcareImageId':_0x48359e['id'],'src':_0x560519,'sources':_0x342268,..._0x30b350}});}}class w extends _0x50fcb7{['_editing'];['_controller']=null;static get['requires'](){return[_0x48281d,o];}constructor(_0x9dffdc){super(_0x9dffdc),this['_editing']=_0x9dffdc['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x238c88){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x238c88);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x14b1ec,..._0x2fa0f6}){return _0x322f8d(_0x14b1ec,_0x2fa0f6);}static['getInfo'](_0x473172,_0x51f606){return _0x4afe4b(_0x473172,_0x51f606);}}class f extends _0x1a8265{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5cf537,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x46ff6f=this['editor'];if(!!!_0x46ff6f['config']['get']('uploadcare'))return;_0x46ff6f['plugins']['get'](_0x5cf537)['createUploadAdapter']=_0x47230d=>new k(_0x47230d,_0x46ff6f),_0x46ff6f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38f4c1,{imageElement:_0x10432b,data:_0x5aa467})=>{_0x46ff6f['model']['change'](_0x5a0215=>{_0x5a0215['setAttribute']('uploadcareImageId',_0x5aa467['uploadcareImageId'],_0x10432b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x24f934,_0x3a319d){this['loader']=_0x24f934,this['editor']=_0x3a319d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4b2f1c=await this['loader']['file'];return j['upload']({'file':_0x4b2f1c,'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':_0x32d7e3=>{_0x32d7e3&&_0x32d7e3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x32d7e3['value']);}})['then'](async _0x461311=>{const {imageFallbackUrl:_0x31d59a,imageSources:_0x27b7c3}=C(_0x461311['cdnUrl'],_0x461311['imageInfo']['width']);return{'uploadcareImageId':_0x461311['uuid'],'default':_0x31d59a,'sources':_0x27b7c3};})['catch'](()=>{const _0x5b43d1=t('Cannot\x20upload\x20file:')+('\x20'+_0x4b2f1c['name']+'.');return Promise['reject'](_0x5b43d1);});}['abort'](){this['controller']['abort']();}}class o extends _0x1a8265{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x48281d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3f9c12){super(_0x3f9c12),this['ucContextId']=_0x6e08c5();}['init'](){const _0x40bdb=this['editor'];_0x40bdb['commands']['add']('uploadcare',new w(_0x40bdb));}['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 _0x22165c=_0x353e91['document']['querySelector']('input[uploadcare-file-input]');_0x22165c&&_0x22165c['remove']();}),async function(_0x454dda){const _0x570012=_0x575cf0([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]),_0x1121a6=0x535f8c3a,_0x31876e=0x5358042a^_0x1121a6,_0x18be0d=window[_0x575cf0([0x44,0x61,0x74,0x65])][_0x575cf0([0x6e,0x6f,0x77])](),_0xf5ab0d=_0x454dda[_0x575cf0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12eae5=new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15282d=>{_0xf5ab0d[_0x575cf0([0x6f,0x6e,0x63,0x65])](_0x575cf0([0x72,0x65,0x61,0x64,0x79]),_0x15282d);}),_0x39b794={[_0x575cf0([0x6b,0x74,0x79])]:_0x575cf0([0x45,0x43]),[_0x575cf0([0x75,0x73,0x65])]:_0x575cf0([0x73,0x69,0x67]),[_0x575cf0([0x63,0x72,0x76])]:_0x575cf0([0x50,0x2d,0x32,0x35,0x36]),[_0x575cf0([0x78])]:_0x575cf0([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]),[_0x575cf0([0x79])]:_0x575cf0([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]),[_0x575cf0([0x61,0x6c,0x67])]:_0x575cf0([0x45,0x53,0x32,0x35,0x36])},_0x54914f=_0xf5ab0d[_0x575cf0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x575cf0([0x67,0x65,0x74])](_0x575cf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x542dc6(){let _0x2cfc30,_0x6244be=null,_0x32fd56=null;try{if(_0x54914f==_0x575cf0([0x47,0x50,0x4c]))return _0x575cf0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2cfc30=_0x1d4b26(),!_0x2cfc30)return _0x575cf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2cfc30[_0x575cf0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32fd56=_0x5dd3b8(_0x2cfc30[_0x575cf0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2cfc30[_0x575cf0([0x6a,0x74,0x69])])),await _0x35d889()?_0x223cc5()?_0x25ee2c()?_0x575cf0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x517388()?(_0x2cfc30[_0x575cf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x575cf0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6244be=_0x36cb67(_0x575cf0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3632d5()):_0x575cf0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x575cf0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x575cf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x575cf0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25ee2c(){const _0x41b88d=[_0x575cf0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x575cf0([0x74,0x72,0x69,0x61,0x6c])][_0x575cf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cfc30[_0x575cf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18be0d/0x3e8:0xe10*_0x31876e;return _0x2cfc30[_0x575cf0([0x65,0x78,0x70])]<_0x41b88d;}function _0x223cc5(){const _0x516e27=_0x2cfc30[_0x575cf0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x516e27&&(!!_0x516e27[_0x575cf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575cf0([0x2a]))||!!_0x516e27[_0x575cf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575cf0([0x55,0x50,0x4c,0x43])));}function _0x517388(){const _0x1e6116=_0x2cfc30[_0x575cf0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e6116||0x0==_0x1e6116[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e8954}=new URL(window[_0x575cf0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e6116[_0x575cf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e8954))return!0x0;const _0x575a92=_0x5e8954[_0x575cf0([0x73,0x70,0x6c,0x69,0x74])](_0x575cf0([0x2e]));return _0x1e6116[_0x575cf0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cea41=>_0x2cea41[_0x575cf0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575cf0([0x2a])))[_0x575cf0([0x6d,0x61,0x70])](_0x394221=>_0x394221[_0x575cf0([0x73,0x70,0x6c,0x69,0x74])](_0x575cf0([0x2e])))[_0x575cf0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59c867=>_0x59c867[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x575a92[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x575cf0([0x6d,0x61,0x70])](_0x207283=>Array(_0x575a92[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x207283[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x575cf0([0x66,0x69,0x6c,0x6c])](_0x207283[0x0]===_0x575cf0([0x2a])?_0x575cf0([0x2a]):'')[_0x575cf0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x207283))[_0x575cf0([0x73,0x6f,0x6d,0x65])](_0x5c70cd=>_0x575a92[_0x575cf0([0x65,0x76,0x65,0x72,0x79])]((_0x387e13,_0x54145a)=>_0x5c70cd[_0x54145a]===_0x387e13||_0x5c70cd[_0x54145a]===_0x575cf0([0x2a])));}function _0x3632d5(){return _0x6244be&&_0x32fd56?new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a9298,_0x2d82d5)=>{_0x6244be[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x5a9298,_0x2d82d5),_0x32fd56[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x4d4e9c=>{_0x4d4e9c!=_0x575cf0([0x56,0x61,0x6c,0x69,0x64])&&_0x5a9298(_0x4d4e9c);},_0x2d82d5);}):_0x6244be||_0x32fd56||_0x575cf0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5dd3b8(_0x4b1eb8,_0x48ee47){return new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3837a4=>{if(_0x3ae31c())return _0x3837a4(_0x575cf0([0x56,0x61,0x6c,0x69,0x64]));_0x564a72(),_0xf5ab0d[_0x575cf0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x575cf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x244698=!0x1;const _0x53d1af=_0x6e08c5();function _0xdc7df(_0x3b64e3){return!!_0x3b64e3&&(typeof _0x3b64e3===_0x575cf0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b64e3===_0x575cf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b64e3[_0x575cf0([0x74,0x68,0x65,0x6e])]===_0x575cf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b64e3[_0x575cf0([0x63,0x61,0x74,0x63,0x68])]===_0x575cf0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31536f(_0x59faca){_0x498643(_0x59faca)[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x1b233c=>{if(!_0x1b233c||_0x1b233c[_0x575cf0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x575cf0([0x6f,0x6b]))return _0x575cf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6db1b2(_0x380efe(_0x53d1af+_0x48ee47))!=_0x1b233c[_0x575cf0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x575cf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x575cf0([0x56,0x61,0x6c,0x69,0x64]);})[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x171130=>(_0x1ad387(),_0x171130),()=>{const _0x302ffc=_0xf35e45();return null==_0x302ffc?(_0x1ad387(),_0x575cf0([0x56,0x61,0x6c,0x69,0x64])):_0x575cf0(_0x18be0d-_0x302ffc>(0x7753083a^_0x1121a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x3837a4)[_0x575cf0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3837a4(_0x575cf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c136d=0x536962ba^_0x1121a6;function _0x1ad387(){const _0x5da58f=_0x575cf0([0x6c,0x6c,0x63,0x74,0x2d])+_0x6db1b2(_0x380efe(_0x4b1eb8)),_0x525222=_0x371b41(_0x6db1b2(window[_0x575cf0([0x4d,0x61,0x74,0x68])][_0x575cf0([0x63,0x65,0x69,0x6c])](_0x18be0d/_0x4c136d)));window[_0x575cf0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x575cf0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5da58f,_0x525222);}function _0xf35e45(){const _0x48bdfd=_0x575cf0([0x6c,0x6c,0x63,0x74,0x2d])+_0x6db1b2(_0x380efe(_0x4b1eb8)),_0x2c1d16=window[_0x575cf0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x575cf0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48bdfd);return _0x2c1d16?window[_0x575cf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x371b41(_0x2c1d16),0x10)*_0x4c136d:null;}function _0x498643(_0x5e630e){return new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x371358,_0x40f4f7)=>{_0x5e630e[_0x575cf0([0x74,0x68,0x65,0x6e])](_0x371358,_0x40f4f7),window[_0x575cf0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40f4f7,0x535e58fa^_0x1121a6);});}}_0xf5ab0d[_0x575cf0([0x6f,0x6e])](_0x575cf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x835e1c,_0x42d12b)=>{if(_0x42d12b[0x0]!=_0x4b1eb8)return _0x3837a4(_0x575cf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42d12b[0x1]={..._0x42d12b[0x1],[_0x575cf0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53d1af};},{[_0x575cf0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x575cf0([0x68,0x69,0x67,0x68])}),_0xf5ab0d[_0x575cf0([0x6f,0x6e])](_0x575cf0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x195ea4=>{_0xdc7df(_0x195ea4[_0x575cf0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x244698=!0x0,_0x31536f(_0x195ea4[_0x575cf0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x575cf0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x575cf0([0x6c,0x6f,0x77])}),_0x12eae5[_0x575cf0([0x74,0x68,0x65,0x6e])](()=>{_0x244698||_0x3837a4(_0x575cf0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ae31c(){return _0xf5ab0d[_0x575cf0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x575cf0([0x76,0x69,0x65,0x77])][_0x575cf0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x575cf0([0x61,0x75,0x74,0x6f]);}function _0x564a72(){_0xf5ab0d[_0x575cf0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x575cf0([0x76,0x69,0x65,0x77])][_0x575cf0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x575cf0([0x61,0x75,0x74,0x6f]);}}function _0x36cb67(_0x2c13f6){const _0x617033=[new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21f9f5=>setTimeout(_0x21f9f5,0x5356b2f6^_0x1121a6)),_0x12eae5[_0x575cf0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x570afe=>{let _0x2044dc=0x0;_0xf5ab0d[_0x575cf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x575cf0([0x6f,0x6e])](_0x575cf0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e5c4b,_0x3db0ca)=>{_0x3db0ca[0x0][_0x575cf0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2044dc++,_0x2044dc==(0x535f89d2^_0x1121a6)&&(_0x570afe(),_0x4e5c4b[_0x575cf0([0x6f,0x66,0x66])]());});}))];return window[_0x575cf0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x575cf0([0x72,0x61,0x63,0x65])](_0x617033)[_0x575cf0([0x74,0x68,0x65,0x6e])](()=>_0x2c13f6);}async function _0x242928(){await _0x12eae5,_0xf5ab0d[_0x575cf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x575cf0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x236d97,_0xf5ab0d[_0x575cf0([0x6d,0x6f,0x64,0x65,0x6c])][_0x575cf0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x236d97,_0xf5ab0d[_0x575cf0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x575cf0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb857ac(_0x56abd8){const _0xddcc25=_0x9737e9();_0xf5ab0d[_0xddcc25]=_0x575cf0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56abd8,_0x56abd8!=_0x575cf0([0x56,0x61,0x6c,0x69,0x64])&&_0x242928();}function _0x9737e9(){const _0x539968=window[_0x575cf0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x575cf0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x575cf0([0x6e,0x6f,0x77])]())[_0x575cf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x575cf0([0x2e]),'');let _0x3acf90=_0x575cf0([0x68]);for(let _0x1f5f3a=0x0;_0x1f5f3a<_0x539968[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f5f3a+=0x2){let _0x3f30d9=window[_0x575cf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x539968[_0x575cf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f5f3a,_0x1f5f3a+0x2));_0x3f30d9>=_0x570012[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f30d9-=_0x570012[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3acf90+=_0x570012[_0x3f30d9];}return _0x3acf90;}function _0x1d4b26(){const _0x1bc131=_0x54914f[_0x575cf0([0x73,0x70,0x6c,0x69,0x74])](_0x575cf0([0x2e]));if(0x3!=_0x1bc131[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d657f(_0x1bc131[0x1]);function _0x1d657f(_0x13b005){const _0x296fdb=_0x587880(_0x13b005);return _0x296fdb&&_0x5dd9a3()?_0x296fdb:null;function _0x5dd9a3(){const _0x156d25=_0x296fdb[_0x575cf0([0x6a,0x74,0x69])],_0x355a31=window[_0x575cf0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156d25[_0x575cf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x156d25[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59ba71={..._0x296fdb,[_0x575cf0([0x6a,0x74,0x69])]:_0x156d25[_0x575cf0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x156d25[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59ba71[_0x575cf0([0x76,0x63])],_0x380efe(_0x59ba71)==_0x355a31;}}}async function _0x35d889(){let _0x4fa34f=!0x0;try{const _0x110eba=_0x54914f[_0x575cf0([0x73,0x70,0x6c,0x69,0x74])](_0x575cf0([0x2e])),[_0x57f614,_0x137a28,_0x160876]=_0x110eba;return _0x360757(_0x57f614),await _0x1fcdce(_0x57f614,_0x137a28,_0x160876),_0x4fa34f;}catch{return!0x1;}function _0x360757(_0x32d05b){const _0x572c03=_0x587880(_0x32d05b);_0x572c03&&_0x572c03[_0x575cf0([0x61,0x6c,0x67])]==_0x575cf0([0x45,0x53,0x32,0x35,0x36])||(_0x4fa34f=!0x1);}async function _0x1fcdce(_0x4093a3,_0x8cc8a7,_0x57ce2d){const _0xf4e36d=window[_0x575cf0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x575cf0([0x66,0x72,0x6f,0x6d])](_0x5288ae(_0x57ce2d),_0x1733bd=>_0x1733bd[_0x575cf0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18467f=new window[(_0x575cf0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x575cf0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4093a3+_0x575cf0([0x2e])+_0x8cc8a7),_0xad6e3d=window[_0x575cf0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x575cf0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xad6e3d)return;const _0x3d52f9=await _0xad6e3d[_0x575cf0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x575cf0([0x6a,0x77,0x6b]),_0x39b794,{[_0x575cf0([0x6e,0x61,0x6d,0x65])]:_0x575cf0([0x45,0x43,0x44,0x53,0x41]),[_0x575cf0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x575cf0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x575cf0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xad6e3d[_0x575cf0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x575cf0([0x6e,0x61,0x6d,0x65])]:_0x575cf0([0x45,0x43,0x44,0x53,0x41]),[_0x575cf0([0x68,0x61,0x73,0x68])]:{[_0x575cf0([0x6e,0x61,0x6d,0x65])]:_0x575cf0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d52f9,_0xf4e36d,_0x18467f)||(_0x4fa34f=!0x1);}}function _0x587880(_0x4e5d34){return _0x4e5d34[_0x575cf0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x575cf0([0x65,0x79]))?JSON[_0x575cf0([0x70,0x61,0x72,0x73,0x65])](_0x5288ae(_0x4e5d34)):null;}function _0x5288ae(_0x44e431){return window[_0x575cf0([0x61,0x74,0x6f,0x62])](_0x44e431[_0x575cf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x575cf0([0x2b]))[_0x575cf0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x575cf0([0x2f])));}function _0x380efe(_0x2e194b){let _0x1962ac=0x1505;function _0xa3351c(_0x3748d3){for(let _0x2a76b4=0x0;_0x2a76b4<_0x3748d3[_0x575cf0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a76b4++){const _0xc4d3dc=_0x3748d3[_0x575cf0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a76b4);_0x1962ac=(_0x1962ac<<0x5)+_0x1962ac+_0xc4d3dc,_0x1962ac&=_0x1962ac;}}function _0x5a2902(_0xa64ebd){Array[_0x575cf0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa64ebd)?_0xa64ebd[_0x575cf0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a2902):_0xa64ebd&&typeof _0xa64ebd==_0x575cf0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x575cf0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa64ebd)[_0x575cf0([0x73,0x6f,0x72,0x74])]()[_0x575cf0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c823e,_0x1ea989])=>{_0xa3351c(_0x1c823e),_0x5a2902(_0x1ea989);}):_0xa3351c(window[_0x575cf0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa64ebd));}return _0x5a2902(_0x2e194b),_0x1962ac>>>0x0;}function _0x6db1b2(_0x43fbc7){return _0x43fbc7[_0x575cf0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x575cf0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x575cf0([0x30]));}function _0x371b41(_0x3a1585){return _0x3a1585[_0x575cf0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x575cf0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x575cf0([0x6a,0x6f,0x69,0x6e])]('');}function _0x236d97(){}function _0x575cf0(_0x54e7d9){return _0x54e7d9['map'](_0xcd3073=>String['fromCharCode'](_0xcd3073))['join']('');}_0xb857ac(await _0x542dc6());}(this);}['_initSchema'](){const _0x47401a=this['editor']['model']['schema'];_0x47401a['isRegistered']('imageBlock')&&_0x47401a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x47401a['isRegistered']('imageInline')&&_0x47401a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x59eec9=this['editor'];_0x59eec9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x59eec9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x296d4f=>_0x296d4f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5baabd=_0x59eec9['commands']['get']('replaceImageSource');_0x5baabd&&this['listenTo'](_0x5baabd,'cleanupImage',(_0x4534b6,[_0x11336c,_0x120ca1])=>{_0x11336c['removeAttribute']('uploadcareImageId',_0x120ca1);});}['_initConfig'](){const _0x2defa1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1631ad=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x39a7c7(_0x353e91['document'],'uc-config',{..._0x2defa1,'pubkey':_0x1631ad,'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']=_0x17bc4b=>{if('closeMax'==_0x17bc4b)return'#uc-icon-arrow-down';},_0x353e91['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x39a7c7(_0x353e91['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x353e91['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x57a904=this['editor']['commands']['get']('insertImage');_0x57a904&&this['listenTo'](_0x57a904,'execute',()=>{const _0x44c6f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44c6f7&&_0x44c6f7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44c6f7);});});const _0x2fa320=this['editor']['commands']['get']('uploadcareImageReplace');_0x2fa320&&this['listenTo'](_0x2fa320,'execute',()=>{const _0x27f9ff=this['editor']['model']['document']['selection']['getSelectedElement']();_0x27f9ff&&_0x27f9ff['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x27f9ff);});});}}class tt extends _0x1a8265{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf3eba5){super(_0xf3eba5),_0xf3eba5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3507d0['defineComponents'](_0x3507d0),this['_defineLocale']();}['_defineLocale'](){const _0x428066=this['editor']['config']['get']('uploadcare.locale'),_0x2b15b7=this['editor']['locale']['contentLanguage'];_0x428066&&_0x3507d0['defineLocale'](_0x2b15b7,_0x428066);}}class ii extends _0x281ed3{constructor(_0x352c88){super(_0x352c88);const t=_0x352c88['t'],_0xcc2d6f=this['bindTemplate'],_0x4189ee=new _0x1ed863();_0x4189ee['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':[_0x4189ee,{'text':_0xcc2d6f['to']('imageUploadProgress',_0x175669=>t('Loading\x20image...')+'\x20('+(_0x175669||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 _0x281ed3{constructor(_0x568657){super(_0x568657);const t=_0x568657['t'];this['set']('errorType',null);const _0x4cae9f=new _0x1cf473(_0x568657);_0x4cae9f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4cae9f['withText']=!0x0,_0x4cae9f['class']='ck-button-action',_0x4cae9f['on']('execute',()=>{this['fire']('retry');}),_0x4cae9f['bind']('isVisible')['to'](this,'errorType',_0x5e7a30=>'NotFound'!==_0x5e7a30);const _0x156d8f=new _0x1cfb12();_0x156d8f['content']=_0x18ad94,_0x156d8f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x186bf0=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':[_0x156d8f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x186bf0['to']('errorType',_0xe937cb=>t('NotFound'!==_0xe937cb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4cae9f]},{'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 _0x281ed3{constructor(_0x4dec35,_0x30948a){super(_0x4dec35);const _0x2955e5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x30948a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2955e5['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x433bd2,_0x39b7ac,_0xd68848){super(_0x433bd2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x433bd2),this['_errorView']=new ti(_0x433bd2),this['_editingView']=new ei(_0x433bd2,_0xd68848),this['_focusableView']=new _0x281ed3(_0x433bd2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x39b7ac),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'],_0x1bf62d=>{this['_addUploadcareImageEditorListeners'](_0x1bf62d);});}),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'](_0x3c2dee,_0x5a78e3){const _0x4667da='uc-cloud-image-editor',_0x4d739c=_0x3c2dee['querySelector'](_0x4667da);if(_0x4d739c)return _0x5a78e3(_0x4d739c);const _0x2b928c=new MutationObserver(_0x239b0e=>{const _0xa5cca7=_0x239b0e['filter'](_0x4fc364=>_0x4fc364['target']===_0x3c2dee&&_0x4fc364['addedNodes']['length']>0x0&&_0x4fc364['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4667da);_0xa5cca7['length']&&(_0x2b928c['disconnect'](),_0x5a78e3(_0xa5cca7[0x0]['addedNodes'][0x0]));});_0x2b928c['observe'](_0x3c2dee,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2fc4b4){_0x2fc4b4['addEventListener']('apply',_0x56747d=>{this['fire']('apply',{'imageSrc':_0x56747d['detail']['cdnUrl']});}),_0x2fc4b4['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0xdd4748(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xcf7efb,_0x2efacc,_0x4ea997){super(),this['_editor']=_0xcf7efb,this['_dialog']=_0x2efacc,this['_imageElement']=_0x4ea997,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 _0xb1e86d=this['_imageElement'],_0x394333=_0xb1e86d['getAttribute']('uploadcareImageId'),_0x5985fd=_0xb1e86d['getAttribute']('src');if(_0x394333)await this['_loadImageInfo'](_0x394333,_0x5985fd);else{if(this['_imageCache']['has'](_0x5985fd)){const _0xe53d6b=this['_imageCache']['get'](_0x5985fd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe53d6b['url'],this['imageDimension']=_0xe53d6b['dimension'],this['imageId']=_0xe53d6b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a5c05}=this['_editor'],t=_0x2a5c05['t'],_0x3f1677=new X(_0x2a5c05,this['imageStatus'],this['_attributes']);_0x3f1677['bind']('status')['to'](this,'imageStatus'),_0x3f1677['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3f1677['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3f1677['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3f1677,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x439420,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3f1677,'position':_0x26b981['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3f1677['focus']();},'onHide':()=>{_0x3f1677['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45a934=>!A(_0x45a934,_0x3f1677['element'])}});}['_loadImageInfo'](_0x48e91c,_0x2233ac){return j['getInfo'](_0x48e91c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x30899e=>{const {width:_0x485cd1,height:_0x1e21b5}=_0x30899e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2233ac,this['imageDimension']={'width':_0x485cd1,'height':_0x1e21b5},this['imageId']=_0x48e91c;})['catch'](_0x309259=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x309259['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x581bec,_0x10c100){return this['_getImageAsFile'](_0x581bec)['then'](_0x59b100=>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':_0x10c100['signal'],'file':_0x59b100,'onProgress':_0x4c2aa2=>{_0x4c2aa2&&_0x4c2aa2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4c2aa2['value']));}}))['then'](_0x5ef8ad=>{const {width:_0xa2a379,height:_0x3ddfff}=_0x5ef8ad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ef8ad['cdnUrl'],this['imageDimension']={'width':_0xa2a379,'height':_0x3ddfff},this['imageId']=_0x5ef8ad['uuid'],this['imageUploadProgress']=null;const _0x43383b=_0x581bec['getAttribute']('src');this['_imageCache']['set'](_0x43383b,{'id':_0x5ef8ad['uuid'],'url':_0x5ef8ad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x446de7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x446de7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3978e2,_0x39dec7){_0x3978e2['on']('apply',(_0x50e47c,_0x272ec4)=>{this['_replaceImage'](_0x39dec7,_0x272ec4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3978e2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3978e2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x43075d,_0x27eb5e,_0x4519e4){const _0x102c37=this['_editor'],{width:_0x13fe8b,height:_0x148014}=S(_0x27eb5e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x36523d,imageSources:_0x38fbb8}=C(_0x27eb5e,_0x13fe8b);_0x102c37['model']['change'](_0x40f4e5=>{if('$graveyard'===_0x43075d['root']['rootName']){_0x102c37['execute']('insertImage',{'imageType':_0x43075d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x43075d['getAttributes']()),'uploadcareImageId':_0x4519e4,'src':_0x36523d,'sources':_0x38fbb8,'width':_0x13fe8b,'height':_0x148014}});const _0x28bd5a=_0x43075d['getChildren']();_0x43075d=_0x102c37['model']['document']['selection']['getSelectedElement']();for(const _0x16b67a of _0x28bd5a)_0x40f4e5['append'](_0x40f4e5['cloneElement'](_0x16b67a),_0x43075d);}else _0x40f4e5['setSelection'](_0x43075d,'on'),_0x102c37['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x43075d['getAttributes']()),'uploadcareImageId':_0x4519e4,'src':_0x36523d,'sources':_0x38fbb8,'width':_0x13fe8b,'height':_0x148014},_0x43075d);_0x40f4e5['setSelection'](_0x43075d,'on');});}async['_getImageAsFile'](_0x3e5cf5){const _0x260cb0=_0x353e91['window'],_0x18c6dd=_0x353e91['document']['location']['href'],_0x2eee34=new _0x260cb0['URL'](_0x3e5cf5['getAttribute']('src'),_0x18c6dd);if('data:'===_0x2eee34['protocol']){const _0x1ed6bf=_0x2eee34['href']['split'](','),_0x18ec02=_0x1ed6bf[0x0]['match'](/:(.*?);/)[0x1],_0x1af124=_0x18ec02['split']('/')[0x1],_0x222baa=_0x260cb0['atob'](_0x1ed6bf[_0x1ed6bf['length']-0x1]);let _0x81cbc5=_0x222baa['length'];const _0x487ae7=new _0x260cb0['Uint8Array'](_0x81cbc5);for(;_0x81cbc5--;)_0x487ae7[_0x81cbc5]=_0x222baa['charCodeAt'](_0x81cbc5);return new _0x260cb0['File']([_0x487ae7],'image.'+_0x1af124,{'type':_0x18ec02});}const _0x1ff291=_0x2eee34['href']['split']('/'),_0x55bed1=_0x1ff291[_0x1ff291['length']-0x1],_0x5dd772=_0x55bed1['split']('.')[0x1];return _0x260cb0['fetch'](_0x2eee34['href'])['then'](_0x22d002=>_0x22d002['clone']()['blob']())['then'](_0x4b5ad8=>new _0x260cb0['File']([_0x4b5ad8],_0x55bed1,{'type':'image/'+_0x5dd772}));}}class Q extends _0x50fcb7{['imageEditController'];static get['requires'](){return[_0x48281d];}['_isEditable'];constructor(_0x2df011){super(_0x2df011),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x455771){const _0x11ad91=z(_0x455771);return _0x77419d=>!(!_0x77419d||!_0x77419d['is']('element','imageBlock')&&!_0x77419d['is']('element','imageInline'))&&(!!_0x77419d['hasAttribute']('uploadcareImageId')||!!_0x77419d['hasAttribute']('src')&&_0x11ad91(_0x77419d['getAttribute']('src')));}(_0x2df011['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xdebdbc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xdebdbc);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x437c7e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x437c7e&&(_0x437c7e['is']('element','imageBlock')||_0x437c7e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x48281d),_0x437c7e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x50fcb7{['refresh'](){const _0x39d107=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x39d107&&(_0x39d107['is']('element','imageBlock')||_0x39d107['is']('element','imageInline')));}['execute'](_0x1cd75f){const _0x36199b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5bc2e4=>{_0x5bc2e4['setAttributes'](_0x1cd75f,_0x36199b),_0x5bc2e4['removeAttribute']('srcset',_0x36199b),_0x5bc2e4['removeAttribute']('sizes',_0x36199b);});}}class m extends _0x1a8265{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xc77335,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x54a134}=this;_0x54a134['commands']['add']('uploadcareImageEdit',new Q(_0x54a134)),_0x54a134['commands']['add']('uploadcareImageReplace',new V(_0x54a134));}}class g extends _0x1a8265{['_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 _0x5e122c=this['editor'];_0x5e122c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x56bac8=>{const _0x302af5=_0x5e122c['commands']['get']('uploadcareImageEdit'),_0x23682a=new _0x1cf473(_0x56bac8),t=_0x56bac8['t'];return _0x23682a['set']({'icon':_0x439420,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x23682a['bind']('isEnabled')['to'](_0x302af5),_0x23682a['bind']('isOn')['to'](_0x302af5,'isActive'),this['listenTo'](_0x23682a,'execute',()=>{_0x5e122c['execute']('uploadcareImageEdit'),_0x5e122c['editing']['view']['focus']();}),_0x23682a;}),this['_initConfig']();}['_initConfig'](){const _0xe06e20=_0x39a7c7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xe06e20),this['listenTo'](this['editor'],'destroy',()=>{_0xe06e20['remove']();});}}class et extends _0x1a8265{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 _0x255482,Command as _0x3c0480}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2d0ffa,IconGooglePhotos as _0x1fd628,IconGoogleDrive as _0x5deb37,IconFacebook as _0x20c02a,IconDropbox as _0x579233,IconUploadcareLink as _0x246722,IconUploadcareImageUpload as _0x4fae08,IconError as _0x4d52d3,IconUploadcareImageEdit as _0x4df171}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x47f1bc,MenuBarMenuListItemButtonView as _0x55db95,View as _0xbf8bdc,FocusCycler as _0x4af3ea,Dialog as _0x4a275e,DialogViewPosition as _0x45ce63,SpinnerView as _0x16704e,IconView as _0x3be545,Notification as _0x497dbb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4b3fd8,DomEmitterMixin as _0xed2d6a,global as _0x26e9f1,getAncestors as _0x3171d0,ObservableMixin as _0x371542,uid as _0x3d2a50,createElement as _0x4f923f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3ee90c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xcb0f29,info as _0x2b89ec}from'@uploadcare/upload-client';import*as _0x393298 from'@uploadcare/file-uploader';var i=function(_0x46e6a6){return _0x46e6a6['Local']='local',_0x46e6a6['URL']='url',_0x46e6a6['Dropbox']='dropbox',_0x46e6a6['GDrive']='gdrive',_0x46e6a6['Facebook']='facebook',_0x46e6a6['GPhotos']='gphotos',_0x46e6a6['OneDrive']='onedrive',_0x46e6a6;}({});function _(_0x17f0a9,_0x27883e,_0x399956){const t=_0x17f0a9['t'],_0x3031a8=_0x17f0a9['t'];switch(_0x27883e){case i['Local']:return{'text':_0x3031a8('Insert'===_0x399956?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3031a8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x399956?_0x3031a8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3031a8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x399956?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x399956?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x399956?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x399956?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x399956?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27883e;}}class e extends _0x255482{['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 _0x19dd3a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ee6ad;for(const _0xea6092 in _0x19dd3a){const _0x4b029f=_0xea6092,_0x2027ac=_0x19dd3a[_0x4b029f];if('uploadcareLicenseKeyValid'==_0x2027ac||'uploadcareLicenseKeyInvalid'==_0x2027ac||'uploadcareLicenseKeyExpired'==_0x2027ac||'uploadcareLicenseKeyDomainLimit'==_0x2027ac||'uploadcareLicenseKeyNotAllowed'==_0x2027ac||'uploadcareLicenseKeyEvaluationLimit'==_0x2027ac||'uploadcareLicenseKeyUsageLimit'==_0x2027ac){delete _0x19dd3a[_0x4b029f],_0x5ee6ad=_0x2027ac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5ee6ad&&_0x19dd3a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x25f5a4}=this,_0x32ef0a=_0x25f5a4['commands']['get']('uploadcare');if(!_0x32ef0a)return;const _0x13aa0f=this['_normalizeConfigSourceList'](_0x25f5a4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x478c66,_0x1d4f77)=>{const _0x4881ed=this['_getIntegrationKey'](_0x1d4f77['type']);return _0x478c66[_0x4881ed]||(_0x478c66[_0x4881ed]=[]),_0x478c66[_0x4881ed]['push'](_0x1d4f77),_0x478c66;},{});_0x25f5a4['plugins']['has']('ImageInsertUI')&&_0x25f5a4['commands']['get']('uploadcare')&&Object['entries'](_0x13aa0f)['forEach'](([_0xb3c3b1,_0x12477b])=>{_0x25f5a4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xb3c3b1,'observable':()=>_0x32ef0a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x12477b),'formViewCreator':()=>this['_createDropdownButtons'](_0x12477b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x12477b),'override':'assetManager'!==_0xb3c3b1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1a9c6b){const {locale:_0x12cb7d}=this['editor'];return _0x1a9c6b['map'](_0xa2ffb9=>{const _0x544766=_(_0x12cb7d,_0xa2ffb9,'Insert');switch(_0xa2ffb9){case i['Local']:return{'icon':_0x4fae08,'type':i['Local'],..._0x544766};case i['URL']:return{'icon':_0x246722,'type':i['URL'],..._0x544766};case i['Dropbox']:return{'icon':_0x579233,'type':i['Dropbox'],..._0x544766};case i['Facebook']:return{'icon':_0x20c02a,'type':i['Facebook'],..._0x544766};case i['GDrive']:return{'icon':_0x5deb37,'type':i['GDrive'],..._0x544766};case i['GPhotos']:return{'icon':_0x1fd628,'type':i['GPhotos'],..._0x544766};case i['OneDrive']:return{'icon':_0x2d0ffa,'type':i['OneDrive'],..._0x544766};}});}['_getIntegrationKey'](_0x22335f){switch(_0x22335f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x27172e,_0x1c5b9b){const _0x383f19=this['editor'],_0x19bf73=new _0x27172e(_0x383f19['locale']),_0x1481c6=_0x383f19['commands']['get']('uploadcare');return _0x19bf73['bind']('isEnabled')['to'](_0x1481c6),_0x19bf73['on']('execute',()=>{_0x1481c6['execute'](_0x1c5b9b);}),_0x19bf73;}['_createToolbarButton'](_0x5cd697){const {locale:_0x229550}=this['editor'],_0x1245a4=this['editor']['plugins']['get']('ImageInsertUI'),_0x53b05f=_0x5cd697[0x0],_0x30a06d=this['_createButton'](_0x47f1bc,_0x53b05f['type']);return _0x30a06d['icon']=_0x53b05f['icon'],_0x30a06d['bind']('label')['to'](_0x1245a4,'isImageSelected',_0x407620=>_(_0x229550,_0x53b05f['type'],_0x407620?'Replace':'Insert')['text']),_0x30a06d['tooltip']=!0x0,_0x30a06d;}['_createDropdownButtons'](_0x45692b){const {locale:_0x2ef03d}=this['editor'],_0x5c0e3e=this['editor']['plugins']['get']('ImageInsertUI');return _0x45692b['map'](_0x5c5f6a=>{const _0x259ee3=this['_createButton'](_0x47f1bc,_0x5c5f6a['type']);return _0x259ee3['withText']=!0x0,_0x259ee3['icon']=_0x5c5f6a['icon'],_0x259ee3['bind']('label')['to'](_0x5c0e3e,'isImageSelected',_0x23c42b=>_(_0x2ef03d,_0x5c5f6a['type'],_0x23c42b?'Replace':'Insert')['text']),_0x259ee3;});}['_createMenuBarButtons'](_0x21686c){return _0x21686c['map'](_0x15506f=>{const _0x372738=this['_createButton'](_0x55db95,_0x15506f['type']);return _0x372738['icon']=_0x15506f['icon'],_0x372738['label']=_0x15506f['shortText'],_0x372738;});}}class F extends _0xbf8bdc{['focusTracker'];['focusCycler'];constructor(_0x2dd2cb){super(_0x2dd2cb),this['focusTracker']=new _0x4b3fd8(),this['focusCycler']=new _0x4af3ea({'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 H extends F{constructor(_0xfc7e08,_0x4e71b0){super(_0xfc7e08),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-'+_0x4e71b0}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function A(_0x288360,_0x137f1e){const _0x1421e9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x416988=>_0x416988<=_0x137f1e)['map'](_0x1ad994=>_0x288360['replace'](/\/$/,'')+'/-/resize/'+_0x1ad994+'x/\x20'+_0x1ad994+'w');return{'imageFallbackUrl':_0x288360,'imageSources':[{'srcset':_0x1421e9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x137f1e+'px)\x20100vw,\x20'+_0x137f1e+'px','type':'image/webp'}]};}function x(_0x346045,_0x3d6509,_0x2d8f5e){const _0x30e90f=_0x346045['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x30e90f?parseInt(_0x30e90f[0x1],0xa):_0x3d6509,'height':_0x30e90f?parseInt(_0x30e90f[0x2],0xa):_0x2d8f5e};}function p(_0x4375f1,_0x93e68d){const _0x475300=new(_0xed2d6a())(),_0x25a963=_0x4375f1['plugins']['get']('ImageUtils'),_0x20dea8=_0x4375f1['editing']['mapper']['toViewElement'](_0x93e68d),_0x16e964=_0x25a963['findViewImgElement'](_0x20dea8),_0x5f1ecb=_0x4375f1['editing']['view']['domConverter']['viewToDom'](_0x16e964),_0x329efe=_0x93e68d['getAttribute']('width'),_0x5d00fe=_0x93e68d['getAttribute']('height'),_0x6f074d='image-processing';_0x4375f1['editing']['view']['change'](_0x52190f=>{_0x52190f['addClass'](_0x6f074d,_0x20dea8),_0x52190f['setStyle']('aspect-ratio',_0x329efe+'/'+_0x5d00fe,_0x16e964);}),_0x475300['listenTo'](_0x5f1ecb,'load',()=>{_0x475300['stopListening'](_0x5f1ecb,'load'),_0x4375f1['editing']['view']['change'](_0x15e532=>{_0x15e532['removeClass'](_0x6f074d,_0x20dea8),_0x15e532['removeStyle']('aspect-ratio',_0x16e964);});});}function z(_0x53d153){if(Array['isArray'](_0x53d153)){const _0x45bef7=_0x53d153['map'](z);return _0x13533e=>_0x45bef7['some'](_0xbd667d=>_0xbd667d(_0x13533e));}if('origin'==_0x53d153){const _0x396a63=_0x26e9f1['window']['location']['origin'];return _0x56b2f7=>new URL(_0x56b2f7,_0x26e9f1['document']['baseURI'])['origin']==_0x396a63;}return'function'==typeof _0x53d153?_0x53d153:_0x53d153 instanceof RegExp?_0x1da886=>!(!_0x1da886['match'](_0x53d153)&&!_0x1da886['replace'](/^https?:\/\//,'')['match'](_0x53d153)):()=>!0x1;}function C(_0x54e068,_0x15b8ae){return _0x3171d0(_0x54e068['target'])['includes'](_0x15b8ae);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x371542(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xeebced,_0x50cc27,_0x55ab83){super(),this['_editor']=_0xeebced,this['_editing']=_0x50cc27,this['_dialog']=_0xeebced['plugins']['get'](_0x4a275e),this['_api']=_0x50cc27['ctxElement']['getAPI'](),this['_type']=_0x55ab83,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:_0x2ce743,model:_0x3d1210}=this['_editor'],_0x3fe736=_0x3d1210['document']['selection']['getSelectedElement'](),_0x442e80=_0x3fe736&&(_0x3fe736['is']('element','imageBlock')||_0x3fe736['is']('element','imageInline'));this['_formView']=new H(_0x2ce743,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4fae08,'title':_(_0x2ce743,this['_type'],_0x442e80?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x45ce63['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57dd5c=>!C(_0x57dd5c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3fa9c2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x525d72=>{const _0x2b079a=_0x3fa9c2['length'];for(const _0x455fa8 of _0x3fa9c2){const _0x458a11=_0x455fa8===_0x3fa9c2[_0x2b079a-0x1],{cdnUrl:_0x163ea4,fileInfo:_0x579851}=_0x455fa8;if(!_0x163ea4||!_0x579851)continue;const {width:_0x5e635b,height:_0x214d3f}=_0x579851['imageInfo'],_0x30d695=x(_0x163ea4,_0x5e635b,_0x214d3f),_0x1adc26=A(_0x163ea4,_0x30d695['width']),_0x51f798={'id':_0x579851['uuid'],'type':'image','attributes':{'imageDimension':_0x30d695,..._0x1adc26}};this['_insertAsset'](_0x51f798,_0x458a11,_0x525d72);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2a09e4=>{'idle'===_0x2a09e4['detail']['status']&&!_0x2a09e4['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x19008d,_0x26052a,_0x3f0875){const _0x4ba9cc=this['_editor']['model']['document']['selection'],_0x3a5067=_0x4ba9cc['getSelectedElement'](),_0x165f4c=!(!_0x3a5067||!_0x3a5067['is']('element','imageInline'));_0x3f0875['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x19008d,_0x165f4c),_0x26052a||_0x3f0875['setSelection'](_0x4ba9cc['getLastPosition']());}['_insertImage'](_0x150003,_0x326c08){const _0x2cbea9=this['_editor'],{imageDimension:_0x5467d4,imageFallbackUrl:_0x1a14b6,imageSources:_0x4fd9e9}=_0x150003['attributes'];_0x2cbea9['execute']('insertImage',{'imageType':_0x326c08?'imageInline':null,'source':{'uploadcareImageId':_0x150003['id'],'src':_0x1a14b6,'sources':_0x4fd9e9,..._0x5467d4}});}}class w extends _0x3c0480{['_editing'];['_controller']=null;static get['requires'](){return[_0x4a275e,o];}constructor(_0x354b50){super(_0x354b50),this['_editing']=_0x354b50['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x19c06c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x19c06c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5f36f0,..._0x29cc96}){return _0xcb0f29(_0x5f36f0,_0x29cc96);}static['getInfo'](_0x55cf70,_0xf3df54){return _0x2b89ec(_0x55cf70,_0xf3df54);}}class f extends _0x255482{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ee90c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4ccacc=this['editor'];if(!!!_0x4ccacc['config']['get']('uploadcare'))return;_0x4ccacc['plugins']['get'](_0x3ee90c)['createUploadAdapter']=_0x5b9de7=>new Adapter(_0x5b9de7,_0x4ccacc),_0x4ccacc['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x52c57e,{imageElement:_0x402adf,data:_0x2032e6})=>{_0x4ccacc['model']['change'](_0xe1d5cd=>{_0xe1d5cd['setAttribute']('uploadcareImageId',_0x2032e6['uploadcareImageId'],_0x402adf);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x59af05,_0x63c85b){this['loader']=_0x59af05,this['editor']=_0x63c85b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2b1ca5=await this['loader']['file'];return j['upload']({'file':_0x2b1ca5,'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':_0x293ce1=>{_0x293ce1&&_0x293ce1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x293ce1['value']);}})['then'](async _0x2244a5=>{const {imageFallbackUrl:_0x3e3688,imageSources:_0x1541ad}=A(_0x2244a5['cdnUrl'],_0x2244a5['imageInfo']['width']);return{'uploadcareImageId':_0x2244a5['uuid'],'default':_0x3e3688,'sources':_0x1541ad};})['catch'](()=>{const _0x127ccf=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b1ca5['name']+'.');return Promise['reject'](_0x127ccf);});}['abort'](){this['controller']['abort']();}}class o extends _0x255482{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4a275e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x163085){super(_0x163085),this['ucContextId']=_0x3d2a50();}['init'](){const _0x4ad17a=this['editor'];_0x4ad17a['commands']['add']('uploadcare',new w(_0x4ad17a));}['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 _0x73a63e=_0x26e9f1['document']['querySelector']('input[uploadcare-file-input]');_0x73a63e&&_0x73a63e['remove']();}),async function(_0xe4542b){const _0x3fa003=_0x34c840([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]),_0x1ab817=0x535f8c3a,_0x491b1a=0x53580652^_0x1ab817,_0x175d91=window[_0x34c840([0x44,0x61,0x74,0x65])][_0x34c840([0x6e,0x6f,0x77])](),_0x61d584=_0xe4542b[_0x34c840([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cb464=new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xae9617=>{_0x61d584[_0x34c840([0x6f,0x6e,0x63,0x65])](_0x34c840([0x72,0x65,0x61,0x64,0x79]),_0xae9617);}),_0x1d6585={[_0x34c840([0x6b,0x74,0x79])]:_0x34c840([0x45,0x43]),[_0x34c840([0x75,0x73,0x65])]:_0x34c840([0x73,0x69,0x67]),[_0x34c840([0x63,0x72,0x76])]:_0x34c840([0x50,0x2d,0x32,0x35,0x36]),[_0x34c840([0x78])]:_0x34c840([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]),[_0x34c840([0x79])]:_0x34c840([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]),[_0x34c840([0x61,0x6c,0x67])]:_0x34c840([0x45,0x53,0x32,0x35,0x36])},_0x10f102=_0x61d584[_0x34c840([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34c840([0x67,0x65,0x74])](_0x34c840([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3044e4(){let _0x3509ca,_0x2c239b=null,_0x44de80=null;try{if(_0x10f102==_0x34c840([0x47,0x50,0x4c]))return _0x34c840([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3509ca=_0x3a492c(),!_0x3509ca)return _0x34c840([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3509ca[_0x34c840([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44de80=_0x4a0576(_0x3509ca[_0x34c840([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3509ca[_0x34c840([0x6a,0x74,0x69])])),await _0xbca152()?_0x87033e()?_0x121958()?_0x34c840([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xec1964()?(_0x3509ca[_0x34c840([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c840([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c239b=_0x50ca6b(_0x34c840([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48c266()):_0x34c840([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34c840([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34c840([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34c840([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x121958(){const _0x16eaae=[_0x34c840([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34c840([0x74,0x72,0x69,0x61,0x6c])][_0x34c840([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3509ca[_0x34c840([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x175d91/0x3e8:0xe10*_0x491b1a;return _0x3509ca[_0x34c840([0x65,0x78,0x70])]<_0x16eaae;}function _0x87033e(){const _0x1dcc25=_0x3509ca[_0x34c840([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dcc25&&(!!_0x1dcc25[_0x34c840([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c840([0x2a]))||!!_0x1dcc25[_0x34c840([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c840([0x55,0x50,0x4c,0x43])));}function _0xec1964(){const _0x42a256=_0x3509ca[_0x34c840([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42a256||0x0==_0x42a256[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39298a}=new URL(window[_0x34c840([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42a256[_0x34c840([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39298a))return!0x0;const _0x54b031=_0x39298a[_0x34c840([0x73,0x70,0x6c,0x69,0x74])](_0x34c840([0x2e]));return _0x42a256[_0x34c840([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227865=>_0x227865[_0x34c840([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c840([0x2a])))[_0x34c840([0x6d,0x61,0x70])](_0x2f84e1=>_0x2f84e1[_0x34c840([0x73,0x70,0x6c,0x69,0x74])](_0x34c840([0x2e])))[_0x34c840([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404d78=>_0x404d78[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54b031[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c840([0x6d,0x61,0x70])](_0x5017bc=>Array(_0x54b031[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5017bc[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c840([0x66,0x69,0x6c,0x6c])](_0x5017bc[0x0]===_0x34c840([0x2a])?_0x34c840([0x2a]):'')[_0x34c840([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5017bc))[_0x34c840([0x73,0x6f,0x6d,0x65])](_0x5e0358=>_0x54b031[_0x34c840([0x65,0x76,0x65,0x72,0x79])]((_0x5105e5,_0x2a38b9)=>_0x5e0358[_0x2a38b9]===_0x5105e5||_0x5e0358[_0x2a38b9]===_0x34c840([0x2a])));}function _0x48c266(){return _0x2c239b&&_0x44de80?new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eac4c,_0x22a72e)=>{_0x2c239b[_0x34c840([0x74,0x68,0x65,0x6e])](_0x5eac4c,_0x22a72e),_0x44de80[_0x34c840([0x74,0x68,0x65,0x6e])](_0x2330b0=>{_0x2330b0!=_0x34c840([0x56,0x61,0x6c,0x69,0x64])&&_0x5eac4c(_0x2330b0);},_0x22a72e);}):_0x2c239b||_0x44de80||_0x34c840([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a0576(_0x462c8a,_0x462b4b){return new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1d5c=>{if(_0x30c3c7())return _0x1b1d5c(_0x34c840([0x56,0x61,0x6c,0x69,0x64]));_0x3c4372(),_0x61d584[_0x34c840([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34c840([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x573ff6=!0x1;const _0x6ec077=_0x3d2a50();function _0x18ca6a(_0x223685){return!!_0x223685&&(typeof _0x223685===_0x34c840([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x223685===_0x34c840([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x223685[_0x34c840([0x74,0x68,0x65,0x6e])]===_0x34c840([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x223685[_0x34c840([0x63,0x61,0x74,0x63,0x68])]===_0x34c840([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11435c(_0x3cefd7){_0xa569a(_0x3cefd7)[_0x34c840([0x74,0x68,0x65,0x6e])](_0x148e14=>{if(!_0x148e14||_0x148e14[_0x34c840([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34c840([0x6f,0x6b]))return _0x34c840([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181c48(_0x22601b(_0x6ec077+_0x462b4b))!=_0x148e14[_0x34c840([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34c840([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34c840([0x56,0x61,0x6c,0x69,0x64]);})[_0x34c840([0x74,0x68,0x65,0x6e])](_0x4da33b=>(_0x4c9bb3(),_0x4da33b),()=>{const _0x567d51=_0xeebf3d();return null==_0x567d51?(_0x4c9bb3(),_0x34c840([0x56,0x61,0x6c,0x69,0x64])):_0x34c840(_0x175d91-_0x567d51>(0x7753083a^_0x1ab817)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34c840([0x74,0x68,0x65,0x6e])](_0x1b1d5c)[_0x34c840([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b1d5c(_0x34c840([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f7c4c=0x536962ba^_0x1ab817;function _0x4c9bb3(){const _0x236484=_0x34c840([0x6c,0x6c,0x63,0x74,0x2d])+_0x181c48(_0x22601b(_0x462c8a)),_0x3645f8=_0x2dd26b(_0x181c48(window[_0x34c840([0x4d,0x61,0x74,0x68])][_0x34c840([0x63,0x65,0x69,0x6c])](_0x175d91/_0x1f7c4c)));window[_0x34c840([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c840([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x236484,_0x3645f8);}function _0xeebf3d(){const _0x48a693=_0x34c840([0x6c,0x6c,0x63,0x74,0x2d])+_0x181c48(_0x22601b(_0x462c8a)),_0x400774=window[_0x34c840([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c840([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48a693);return _0x400774?window[_0x34c840([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dd26b(_0x400774),0x10)*_0x1f7c4c:null;}function _0xa569a(_0x370416){return new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dba23,_0x424115)=>{_0x370416[_0x34c840([0x74,0x68,0x65,0x6e])](_0x1dba23,_0x424115),window[_0x34c840([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x424115,0x535e58fa^_0x1ab817);});}}_0x61d584[_0x34c840([0x6f,0x6e])](_0x34c840([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e22c4,_0x36b662)=>{if(_0x36b662[0x0]!=_0x462c8a)return _0x1b1d5c(_0x34c840([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36b662[0x1]={..._0x36b662[0x1],[_0x34c840([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6ec077};},{[_0x34c840([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c840([0x68,0x69,0x67,0x68])}),_0x61d584[_0x34c840([0x6f,0x6e])](_0x34c840([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3292e1=>{_0x18ca6a(_0x3292e1[_0x34c840([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x573ff6=!0x0,_0x11435c(_0x3292e1[_0x34c840([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34c840([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c840([0x6c,0x6f,0x77])}),_0x1cb464[_0x34c840([0x74,0x68,0x65,0x6e])](()=>{_0x573ff6||_0x1b1d5c(_0x34c840([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30c3c7(){return _0x61d584[_0x34c840([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c840([0x76,0x69,0x65,0x77])][_0x34c840([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34c840([0x61,0x75,0x74,0x6f]);}function _0x3c4372(){_0x61d584[_0x34c840([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c840([0x76,0x69,0x65,0x77])][_0x34c840([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34c840([0x61,0x75,0x74,0x6f]);}}function _0x50ca6b(_0x582b0e){const _0x3f1a52=[new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x573cbd=>setTimeout(_0x573cbd,0x5356b2f6^_0x1ab817)),_0x1cb464[_0x34c840([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37caae=>{let _0x1dab4e=0x0;_0x61d584[_0x34c840([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c840([0x6f,0x6e])](_0x34c840([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2eda9f,_0x3f4aba)=>{_0x3f4aba[0x0][_0x34c840([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dab4e++,_0x1dab4e==(0x535f89d2^_0x1ab817)&&(_0x37caae(),_0x2eda9f[_0x34c840([0x6f,0x66,0x66])]());});}))];return window[_0x34c840([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34c840([0x72,0x61,0x63,0x65])](_0x3f1a52)[_0x34c840([0x74,0x68,0x65,0x6e])](()=>_0x582b0e);}async function _0x29bcd8(){await _0x1cb464,_0x61d584[_0x34c840([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c840([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c261d,_0x61d584[_0x34c840([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c840([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c261d,_0x61d584[_0x34c840([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34c840([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45ac97(_0x374260){const _0x309c63=_0x413ad4();_0x61d584[_0x309c63]=_0x34c840([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x374260,_0x374260!=_0x34c840([0x56,0x61,0x6c,0x69,0x64])&&_0x29bcd8();}function _0x413ad4(){const _0x1a5695=window[_0x34c840([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34c840([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34c840([0x6e,0x6f,0x77])]())[_0x34c840([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34c840([0x2e]),'');let _0x89333e=_0x34c840([0x68]);for(let _0x25babf=0x0;_0x25babf<_0x1a5695[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25babf+=0x2){let _0xc05786=window[_0x34c840([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5695[_0x34c840([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25babf,_0x25babf+0x2));_0xc05786>=_0x3fa003[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc05786-=_0x3fa003[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x89333e+=_0x3fa003[_0xc05786];}return _0x89333e;}function _0x3a492c(){const _0x44ed62=_0x10f102[_0x34c840([0x73,0x70,0x6c,0x69,0x74])](_0x34c840([0x2e]));if(0x3!=_0x44ed62[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c511b(_0x44ed62[0x1]);function _0x4c511b(_0x2cefb5){const _0x19c916=_0x4d5875(_0x2cefb5);return _0x19c916&&_0x45e605()?_0x19c916:null;function _0x45e605(){const _0x4d7055=_0x19c916[_0x34c840([0x6a,0x74,0x69])],_0x151865=window[_0x34c840([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d7055[_0x34c840([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d7055[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19038f={..._0x19c916,[_0x34c840([0x6a,0x74,0x69])]:_0x4d7055[_0x34c840([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d7055[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19038f[_0x34c840([0x76,0x63])],_0x22601b(_0x19038f)==_0x151865;}}}async function _0xbca152(){let _0x20129b=!0x0;try{const _0x533625=_0x10f102[_0x34c840([0x73,0x70,0x6c,0x69,0x74])](_0x34c840([0x2e])),[_0x33637c,_0x97192c,_0x749ad5]=_0x533625;return _0x5714df(_0x33637c),await _0x4c6b3f(_0x33637c,_0x97192c,_0x749ad5),_0x20129b;}catch{return!0x1;}function _0x5714df(_0x40444d){const _0x330bda=_0x4d5875(_0x40444d);_0x330bda&&_0x330bda[_0x34c840([0x61,0x6c,0x67])]==_0x34c840([0x45,0x53,0x32,0x35,0x36])||(_0x20129b=!0x1);}async function _0x4c6b3f(_0xc23a6e,_0x21e2fb,_0x3c44d9){const _0x557524=window[_0x34c840([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34c840([0x66,0x72,0x6f,0x6d])](_0x23977f(_0x3c44d9),_0x52874e=>_0x52874e[_0x34c840([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x569ee6=new window[(_0x34c840([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34c840([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc23a6e+_0x34c840([0x2e])+_0x21e2fb),_0x36b210=window[_0x34c840([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34c840([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36b210)return;const _0x232352=await _0x36b210[_0x34c840([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34c840([0x6a,0x77,0x6b]),_0x1d6585,{[_0x34c840([0x6e,0x61,0x6d,0x65])]:_0x34c840([0x45,0x43,0x44,0x53,0x41]),[_0x34c840([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34c840([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34c840([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36b210[_0x34c840([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34c840([0x6e,0x61,0x6d,0x65])]:_0x34c840([0x45,0x43,0x44,0x53,0x41]),[_0x34c840([0x68,0x61,0x73,0x68])]:{[_0x34c840([0x6e,0x61,0x6d,0x65])]:_0x34c840([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x232352,_0x557524,_0x569ee6)||(_0x20129b=!0x1);}}function _0x4d5875(_0x3875b0){return _0x3875b0[_0x34c840([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34c840([0x65,0x79]))?JSON[_0x34c840([0x70,0x61,0x72,0x73,0x65])](_0x23977f(_0x3875b0)):null;}function _0x23977f(_0x17592f){return window[_0x34c840([0x61,0x74,0x6f,0x62])](_0x17592f[_0x34c840([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34c840([0x2b]))[_0x34c840([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34c840([0x2f])));}function _0x22601b(_0x5627ad){let _0x4ac5f6=0x1505;function _0x3081ce(_0x80555e){for(let _0x5e503d=0x0;_0x5e503d<_0x80555e[_0x34c840([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e503d++){const _0x312276=_0x80555e[_0x34c840([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e503d);_0x4ac5f6=(_0x4ac5f6<<0x5)+_0x4ac5f6+_0x312276,_0x4ac5f6&=_0x4ac5f6;}}function _0x16bb47(_0x56e1a5){Array[_0x34c840([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56e1a5)?_0x56e1a5[_0x34c840([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16bb47):_0x56e1a5&&typeof _0x56e1a5==_0x34c840([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34c840([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56e1a5)[_0x34c840([0x73,0x6f,0x72,0x74])]()[_0x34c840([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c72c5,_0x22ec8e])=>{_0x3081ce(_0x1c72c5),_0x16bb47(_0x22ec8e);}):_0x3081ce(window[_0x34c840([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56e1a5));}return _0x16bb47(_0x5627ad),_0x4ac5f6>>>0x0;}function _0x181c48(_0x4d8abc){return _0x4d8abc[_0x34c840([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34c840([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34c840([0x30]));}function _0x2dd26b(_0x457d8a){return _0x457d8a[_0x34c840([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34c840([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34c840([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c261d(){}function _0x34c840(_0x449cc4){return _0x449cc4['map'](_0x23f5bf=>String['fromCharCode'](_0x23f5bf))['join']('');}_0x45ac97(await _0x3044e4());}(this);}['_initSchema'](){const _0x4af3bd=this['editor']['model']['schema'];_0x4af3bd['isRegistered']('imageBlock')&&_0x4af3bd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4af3bd['isRegistered']('imageInline')&&_0x4af3bd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x57bab9=this['editor'];_0x57bab9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x57bab9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x474ab9=>_0x474ab9['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5aae7f=_0x57bab9['commands']['get']('replaceImageSource');_0x5aae7f&&this['listenTo'](_0x5aae7f,'cleanupImage',(_0x1ecd88,[_0x29a66a,_0x349808])=>{_0x29a66a['removeAttribute']('uploadcareImageId',_0x349808);});}['_initConfig'](){const _0x4f8f78=this['editor']['config']['get']('uploadcare.uploader')||{},_0x174565=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4f923f(_0x26e9f1['document'],'uc-config',{..._0x4f8f78,'pubkey':_0x174565,'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']=_0x3730ae=>{if('closeMax'==_0x3730ae)return'#uc-icon-arrow-down';},_0x26e9f1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4f923f(_0x26e9f1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x26e9f1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x12cc9e=this['editor']['commands']['get']('insertImage');_0x12cc9e&&this['listenTo'](_0x12cc9e,'execute',()=>{const _0x33f238=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33f238&&_0x33f238['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x33f238);});});const _0x4dd82e=this['editor']['commands']['get']('uploadcareImageReplace');_0x4dd82e&&this['listenTo'](_0x4dd82e,'execute',()=>{const _0xc2fc15=this['editor']['model']['document']['selection']['getSelectedElement']();_0xc2fc15&&_0xc2fc15['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xc2fc15);});});}}class Uploadcare extends _0x255482{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37ba0f){super(_0x37ba0f),_0x37ba0f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x393298['defineComponents'](_0x393298),this['_defineLocale']();}['_defineLocale'](){const _0x5647ab=this['editor']['config']['get']('uploadcare.locale'),_0x4d739c=this['editor']['locale']['contentLanguage'];_0x5647ab&&_0x393298['defineLocale'](_0x4d739c,_0x5647ab);}}class ii extends _0xbf8bdc{constructor(_0x30afc9){super(_0x30afc9);const t=_0x30afc9['t'],_0x4221b2=this['bindTemplate'],_0x3c186b=new _0x16704e();_0x3c186b['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':[_0x3c186b,{'text':_0x4221b2['to']('imageUploadProgress',_0x50a3e0=>t('Loading\x20image...')+'\x20('+(_0x50a3e0||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 _0xbf8bdc{constructor(_0x23e2ec){super(_0x23e2ec);const t=_0x23e2ec['t'];this['set']('errorType',null);const _0x6de958=new _0x47f1bc(_0x23e2ec);_0x6de958['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x6de958['withText']=!0x0,_0x6de958['class']='ck-button-action',_0x6de958['on']('execute',()=>{this['fire']('retry');}),_0x6de958['bind']('isVisible')['to'](this,'errorType',_0x1486bd=>'NotFound'!==_0x1486bd);const _0x4eb7d3=new _0x3be545();_0x4eb7d3['content']=_0x4d52d3,_0x4eb7d3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x19a645=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':[_0x4eb7d3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x19a645['to']('errorType',_0x5f10f7=>t('NotFound'!==_0x5f10f7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x6de958]},{'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 _0xbf8bdc{constructor(_0xf70a94,_0x301488){super(_0xf70a94);const _0xcc21cd=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x301488,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xcc21cd['to']('imageSrc')}});}}class W extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x473040,_0x51699a,_0x20fc24){super(_0x473040),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x473040),this['_errorView']=new ti(_0x473040),this['_editingView']=new ei(_0x473040,_0x20fc24),this['_focusableView']=new _0xbf8bdc(_0x473040),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x51699a),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'],_0x3184e7=>{this['_addUploadcareImageEditorListeners'](_0x3184e7);});}),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'](_0x1c42a3,_0x5865ed){const _0x7d38a0='uc-cloud-image-editor',_0x42712e=_0x1c42a3['querySelector'](_0x7d38a0);if(_0x42712e)return _0x5865ed(_0x42712e);const _0x1fbb7b=new MutationObserver(_0x17bbe6=>{const _0x24867f=_0x17bbe6['filter'](_0x425de4=>_0x425de4['target']===_0x1c42a3&&_0x425de4['addedNodes']['length']>0x0&&_0x425de4['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x7d38a0);_0x24867f['length']&&(_0x1fbb7b['disconnect'](),_0x5865ed(_0x24867f[0x0]['addedNodes'][0x0]));});_0x1fbb7b['observe'](_0x1c42a3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5bc905){_0x5bc905['addEventListener']('apply',_0x51ffa7=>{this['fire']('apply',{'imageSrc':_0x51ffa7['detail']['cdnUrl']});}),_0x5bc905['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x371542(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4d1089,_0x1954f2,_0xa4464a){super(),this['_editor']=_0x4d1089,this['_dialog']=_0x1954f2,this['_imageElement']=_0xa4464a,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 _0x548f6b=this['_imageElement'],_0x1632c5=_0x548f6b['getAttribute']('uploadcareImageId'),_0x29a82d=_0x548f6b['getAttribute']('src');if(_0x1632c5)await this['_loadImageInfo'](_0x1632c5,_0x29a82d);else{if(this['_imageCache']['has'](_0x29a82d)){const _0x1a2d9f=this['_imageCache']['get'](_0x29a82d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a2d9f['url'],this['imageDimension']=_0x1a2d9f['dimension'],this['imageId']=_0x1a2d9f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5bf24d}=this['_editor'],t=_0x5bf24d['t'],_0x3b55a3=new W(_0x5bf24d,this['imageStatus'],this['_attributes']);_0x3b55a3['bind']('status')['to'](this,'imageStatus'),_0x3b55a3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3b55a3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3b55a3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3b55a3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4df171,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3b55a3,'position':_0x45ce63['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3b55a3['focus']();},'onHide':()=>{_0x3b55a3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x319cf3=>!C(_0x319cf3,_0x3b55a3['element'])}});}['_loadImageInfo'](_0x343fdc,_0xc04062){return j['getInfo'](_0x343fdc,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x25b25b=>{const {width:_0x5038f2,height:_0x53ef9a}=_0x25b25b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc04062,this['imageDimension']={'width':_0x5038f2,'height':_0x53ef9a},this['imageId']=_0x343fdc;})['catch'](_0x324e57=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x324e57['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4618da,_0x910282){return this['_getImageAsFile'](_0x4618da)['then'](_0x38985a=>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':_0x910282['signal'],'file':_0x38985a,'onProgress':_0x1833d6=>{_0x1833d6&&_0x1833d6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1833d6['value']));}}))['then'](_0x42ab76=>{const {width:_0x5c5121,height:_0x5cf4d0}=_0x42ab76['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42ab76['cdnUrl'],this['imageDimension']={'width':_0x5c5121,'height':_0x5cf4d0},this['imageId']=_0x42ab76['uuid'],this['imageUploadProgress']=null;const _0x3c73aa=_0x4618da['getAttribute']('src');this['_imageCache']['set'](_0x3c73aa,{'id':_0x42ab76['uuid'],'url':_0x42ab76['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f4562=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f4562['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5c151b,_0x227bf1){_0x5c151b['on']('apply',(_0x3f3e99,_0x163577)=>{this['_replaceImage'](_0x227bf1,_0x163577['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5c151b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5c151b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4b6b5a,_0x2eaa97,_0x35c390){const _0x4e6af2=this['_editor'],{width:_0xb8a2bb,height:_0x149f0e}=x(_0x2eaa97,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2a4478,imageSources:_0xe1d926}=A(_0x2eaa97,_0xb8a2bb);_0x4e6af2['model']['change'](_0x2bb4e9=>{if('$graveyard'===_0x4b6b5a['root']['rootName']){_0x4e6af2['execute']('insertImage',{'imageType':_0x4b6b5a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4b6b5a['getAttributes']()),'uploadcareImageId':_0x35c390,'src':_0x2a4478,'sources':_0xe1d926,'width':_0xb8a2bb,'height':_0x149f0e}});const _0x4d0057=_0x4b6b5a['getChildren']();_0x4b6b5a=_0x4e6af2['model']['document']['selection']['getSelectedElement']();for(const _0x18e569 of _0x4d0057)_0x2bb4e9['append'](_0x2bb4e9['cloneElement'](_0x18e569),_0x4b6b5a);}else _0x2bb4e9['setSelection'](_0x4b6b5a,'on'),_0x4e6af2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4b6b5a['getAttributes']()),'uploadcareImageId':_0x35c390,'src':_0x2a4478,'sources':_0xe1d926,'width':_0xb8a2bb,'height':_0x149f0e},_0x4b6b5a);_0x2bb4e9['setSelection'](_0x4b6b5a,'on');});}async['_getImageAsFile'](_0xc2e8db){const _0x1d16d9=_0x26e9f1['window'],_0x472dfd=_0x26e9f1['document']['location']['href'],_0x2c4179=new _0x1d16d9['URL'](_0xc2e8db['getAttribute']('src'),_0x472dfd);if('data:'===_0x2c4179['protocol']){const _0xe28c61=_0x2c4179['href']['split'](','),_0x5d6539=_0xe28c61[0x0]['match'](/:(.*?);/)[0x1],_0x2830ac=_0x5d6539['split']('/')[0x1],_0x364f02=_0x1d16d9['atob'](_0xe28c61[_0xe28c61['length']-0x1]);let _0x6cc55e=_0x364f02['length'];const _0x240597=new _0x1d16d9['Uint8Array'](_0x6cc55e);for(;_0x6cc55e--;)_0x240597[_0x6cc55e]=_0x364f02['charCodeAt'](_0x6cc55e);return new _0x1d16d9['File']([_0x240597],'image.'+_0x2830ac,{'type':_0x5d6539});}const _0x46b424=_0x2c4179['href']['split']('/'),_0x47f968=_0x46b424[_0x46b424['length']-0x1],_0x4f4ee8=_0x47f968['split']('.')[0x1];return _0x1d16d9['fetch'](_0x2c4179['href'])['then'](_0x2609ef=>_0x2609ef['clone']()['blob']())['then'](_0xc5849f=>new _0x1d16d9['File']([_0xc5849f],_0x47f968,{'type':'image/'+_0x4f4ee8}));}}class Q extends _0x3c0480{['imageEditController'];static get['requires'](){return[_0x4a275e];}['_isEditable'];constructor(_0x32b468){super(_0x32b468),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3dc2a1){const _0x50dc7c=z(_0x3dc2a1);return _0x4d5f8c=>!(!_0x4d5f8c||!_0x4d5f8c['is']('element','imageBlock')&&!_0x4d5f8c['is']('element','imageInline'))&&(!!_0x4d5f8c['hasAttribute']('uploadcareImageId')||!!_0x4d5f8c['hasAttribute']('src')&&_0x50dc7c(_0x4d5f8c['getAttribute']('src')));}(_0x32b468['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3827e9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3827e9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xd117a9=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd117a9&&(_0xd117a9['is']('element','imageBlock')||_0xd117a9['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x4a275e),_0xd117a9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class S extends _0x3c0480{['refresh'](){const _0x457fce=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x457fce&&(_0x457fce['is']('element','imageBlock')||_0x457fce['is']('element','imageInline')));}['execute'](_0x4dd948){const _0x34567a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x271513=>{_0x271513['setAttributes'](_0x4dd948,_0x34567a),_0x271513['removeAttribute']('srcset',_0x34567a),_0x271513['removeAttribute']('sizes',_0x34567a);});}}class m extends _0x255482{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x497dbb,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3054de}=this;_0x3054de['commands']['add']('uploadcareImageEdit',new Q(_0x3054de)),_0x3054de['commands']['add']('uploadcareImageReplace',new S(_0x3054de));}}class g extends _0x255482{['_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 _0x4301d2=this['editor'];_0x4301d2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3fabe7=>{const _0x53b038=_0x4301d2['commands']['get']('uploadcareImageEdit'),_0xccd605=new _0x47f1bc(_0x3fabe7),t=_0x3fabe7['t'];return _0xccd605['set']({'icon':_0x4df171,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xccd605['bind']('isEnabled')['to'](_0x53b038),_0xccd605['bind']('isOn')['to'](_0x53b038,'isActive'),this['listenTo'](_0xccd605,'execute',()=>{_0x4301d2['execute']('uploadcareImageEdit'),_0x4301d2['editing']['view']['focus']();}),_0xccd605;}),this['_initConfig']();}['_initConfig'](){const _0x10e30f=_0x4f923f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x10e30f),this['listenTo'](this['editor'],'destroy',()=>{_0x10e30f['remove']();});}}class UploadcareImageEdit extends _0x255482{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Uploadcare,w as UploadcareCommand,o as UploadcareEditing,UploadcareImageEdit,Q 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':_0x55dcbe=>0x1!=_0x55dcbe}};
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':_0x251b0d=>0x1!=_0x251b0d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1797db=>{const {af:{dictionary:_0x29edba,getPluralForm:_0x4e3017}}={'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':_0x580449=>0x1!=_0x580449}};_0x1797db['af']||={'dictionary':{},'getPluralForm':null},_0x1797db['af']['dictionary']=Object['assign'](_0x1797db['af']['dictionary'],_0x29edba),_0x1797db['af']['getPluralForm']=_0x4e3017;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x358cd0=>{const {af:{dictionary:_0x24699d,getPluralForm:_0x3447f4}}={'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':_0x42930f=>0x1!=_0x42930f}};_0x358cd0['af']||={'dictionary':{},'getPluralForm':null},_0x358cd0['af']['dictionary']=Object['assign'](_0x358cd0['af']['dictionary'],_0x24699d),_0x358cd0['af']['getPluralForm']=_0x3447f4;})(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':_0x3d270b=>0x0==_0x3d270b?0x0:0x1==_0x3d270b?0x1:0x2==_0x3d270b?0x2:_0x3d270b%0x64>=0x3&&_0x3d270b%0x64<=0xa?0x3:_0x3d270b%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':_0x56f631=>0x0==_0x56f631?0x0:0x1==_0x56f631?0x1:0x2==_0x56f631?0x2:_0x56f631%0x64>=0x3&&_0x56f631%0x64<=0xa?0x3:_0x56f631%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x278e38=>{const {ar:{dictionary:_0x4622a9,getPluralForm:_0x4c28}}={'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':_0x4270be=>0x0==_0x4270be?0x0:0x1==_0x4270be?0x1:0x2==_0x4270be?0x2:_0x4270be%0x64>=0x3&&_0x4270be%0x64<=0xa?0x3:_0x4270be%0x64>=0xb?0x4:0x5}};_0x278e38['ar']||={'dictionary':{},'getPluralForm':null},_0x278e38['ar']['dictionary']=Object['assign'](_0x278e38['ar']['dictionary'],_0x4622a9),_0x278e38['ar']['getPluralForm']=_0x4c28;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x572ed5=>{const {ar:{dictionary:_0x5e1325,getPluralForm:_0x2d68d5}}={'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':_0x3ce9ba=>0x0==_0x3ce9ba?0x0:0x1==_0x3ce9ba?0x1:0x2==_0x3ce9ba?0x2:_0x3ce9ba%0x64>=0x3&&_0x3ce9ba%0x64<=0xa?0x3:_0x3ce9ba%0x64>=0xb?0x4:0x5}};_0x572ed5['ar']||={'dictionary':{},'getPluralForm':null},_0x572ed5['ar']['dictionary']=Object['assign'](_0x572ed5['ar']['dictionary'],_0x5e1325),_0x572ed5['ar']['getPluralForm']=_0x2d68d5;})(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':_0x250cda=>0x1!=_0x250cda}};
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':_0x4b466d=>0x1!=_0x4b466d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2fea80=>{const {ast:{dictionary:_0x278415,getPluralForm:_0x2cebb9}}={'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':_0x5dad10=>0x1!=_0x5dad10}};_0x2fea80['ast']||={'dictionary':{},'getPluralForm':null},_0x2fea80['ast']['dictionary']=Object['assign'](_0x2fea80['ast']['dictionary'],_0x278415),_0x2fea80['ast']['getPluralForm']=_0x2cebb9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31d154=>{const {ast:{dictionary:_0x30f046,getPluralForm:_0x444abf}}={'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':_0x6586f5=>0x1!=_0x6586f5}};_0x31d154['ast']||={'dictionary':{},'getPluralForm':null},_0x31d154['ast']['dictionary']=Object['assign'](_0x31d154['ast']['dictionary'],_0x30f046),_0x31d154['ast']['getPluralForm']=_0x444abf;})(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':_0x2695da=>0x1!=_0x2695da}};
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':_0x1ffbc7=>0x1!=_0x1ffbc7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13140f=>{const {az:{dictionary:_0x62b296,getPluralForm:_0xec10b4}}={'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':_0x35cd54=>0x1!=_0x35cd54}};_0x13140f['az']||={'dictionary':{},'getPluralForm':null},_0x13140f['az']['dictionary']=Object['assign'](_0x13140f['az']['dictionary'],_0x62b296),_0x13140f['az']['getPluralForm']=_0xec10b4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54c8da=>{const {az:{dictionary:_0x35180b,getPluralForm:_0x4c9674}}={'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':_0x23b9a7=>0x1!=_0x23b9a7}};_0x54c8da['az']||={'dictionary':{},'getPluralForm':null},_0x54c8da['az']['dictionary']=Object['assign'](_0x54c8da['az']['dictionary'],_0x35180b),_0x54c8da['az']['getPluralForm']=_0x4c9674;})(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':_0xd160db=>_0xd160db%0xa==0x1&&_0xd160db%0x64!=0xb?0x0:_0xd160db%0xa>=0x2&&_0xd160db%0xa<=0x4&&(_0xd160db%0x64<0xa||_0xd160db%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':_0x31d9f4=>_0x31d9f4%0xa==0x1&&_0x31d9f4%0x64!=0xb?0x0:_0x31d9f4%0xa>=0x2&&_0x31d9f4%0xa<=0x4&&(_0x31d9f4%0x64<0xa||_0x31d9f4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x261407=>{const {be:{dictionary:_0x2c2a4e,getPluralForm:_0x4f0dcd}}={'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':_0x49c076=>_0x49c076%0xa==0x1&&_0x49c076%0x64!=0xb?0x0:_0x49c076%0xa>=0x2&&_0x49c076%0xa<=0x4&&(_0x49c076%0x64<0xa||_0x49c076%0x64>=0x14)?0x1:0x2}};_0x261407['be']||={'dictionary':{},'getPluralForm':null},_0x261407['be']['dictionary']=Object['assign'](_0x261407['be']['dictionary'],_0x2c2a4e),_0x261407['be']['getPluralForm']=_0x4f0dcd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x527bed=>{const {be:{dictionary:_0x501383,getPluralForm:_0x1a14c5}}={'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':_0x163729=>_0x163729%0xa==0x1&&_0x163729%0x64!=0xb?0x0:_0x163729%0xa>=0x2&&_0x163729%0xa<=0x4&&(_0x163729%0x64<0xa||_0x163729%0x64>=0x14)?0x1:0x2}};_0x527bed['be']||={'dictionary':{},'getPluralForm':null},_0x527bed['be']['dictionary']=Object['assign'](_0x527bed['be']['dictionary'],_0x501383),_0x527bed['be']['getPluralForm']=_0x1a14c5;})(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':_0x1174bd=>0x1!=_0x1174bd}};
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':_0x435e72=>0x1!=_0x435e72}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc11d0f=>{const {bg:{dictionary:_0x4813cc,getPluralForm:_0x28b987}}={'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':_0x493f69=>0x1!=_0x493f69}};_0xc11d0f['bg']||={'dictionary':{},'getPluralForm':null},_0xc11d0f['bg']['dictionary']=Object['assign'](_0xc11d0f['bg']['dictionary'],_0x4813cc),_0xc11d0f['bg']['getPluralForm']=_0x28b987;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43d527=>{const {bg:{dictionary:_0x48a192,getPluralForm:_0x37500a}}={'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':_0x42f9b1=>0x1!=_0x42f9b1}};_0x43d527['bg']||={'dictionary':{},'getPluralForm':null},_0x43d527['bg']['dictionary']=Object['assign'](_0x43d527['bg']['dictionary'],_0x48a192),_0x43d527['bg']['getPluralForm']=_0x37500a;})(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':_0x5006e3=>0x1!=_0x5006e3}};
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':_0x2b714b=>0x1!=_0x2b714b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c0d87=>{const {bn:{dictionary:_0x285c3c,getPluralForm:_0x25b212}}={'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':_0x5b94aa=>0x1!=_0x5b94aa}};_0x2c0d87['bn']||={'dictionary':{},'getPluralForm':null},_0x2c0d87['bn']['dictionary']=Object['assign'](_0x2c0d87['bn']['dictionary'],_0x285c3c),_0x2c0d87['bn']['getPluralForm']=_0x25b212;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x79a69f=>{const {bn:{dictionary:_0x3946e4,getPluralForm:_0x3a88b7}}={'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':_0x1722b9=>0x1!=_0x1722b9}};_0x79a69f['bn']||={'dictionary':{},'getPluralForm':null},_0x79a69f['bn']['dictionary']=Object['assign'](_0x79a69f['bn']['dictionary'],_0x3946e4),_0x79a69f['bn']['getPluralForm']=_0x3a88b7;})(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':_0x4a7bf5=>_0x4a7bf5%0xa==0x1&&_0x4a7bf5%0x64!=0xb?0x0:_0x4a7bf5%0xa>=0x2&&_0x4a7bf5%0xa<=0x4&&(_0x4a7bf5%0x64<0xa||_0x4a7bf5%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':_0xbb973e=>_0xbb973e%0xa==0x1&&_0xbb973e%0x64!=0xb?0x0:_0xbb973e%0xa>=0x2&&_0xbb973e%0xa<=0x4&&(_0xbb973e%0x64<0xa||_0xbb973e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e81fb=>{const {bs:{dictionary:_0x3236b9,getPluralForm:_0x3cbd6d}}={'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':_0x38b41b=>_0x38b41b%0xa==0x1&&_0x38b41b%0x64!=0xb?0x0:_0x38b41b%0xa>=0x2&&_0x38b41b%0xa<=0x4&&(_0x38b41b%0x64<0xa||_0x38b41b%0x64>=0x14)?0x1:0x2}};_0x5e81fb['bs']||={'dictionary':{},'getPluralForm':null},_0x5e81fb['bs']['dictionary']=Object['assign'](_0x5e81fb['bs']['dictionary'],_0x3236b9),_0x5e81fb['bs']['getPluralForm']=_0x3cbd6d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3adde5=>{const {bs:{dictionary:_0x3783a2,getPluralForm:_0x28d2db}}={'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':_0xf08bd4=>_0xf08bd4%0xa==0x1&&_0xf08bd4%0x64!=0xb?0x0:_0xf08bd4%0xa>=0x2&&_0xf08bd4%0xa<=0x4&&(_0xf08bd4%0x64<0xa||_0xf08bd4%0x64>=0x14)?0x1:0x2}};_0x3adde5['bs']||={'dictionary':{},'getPluralForm':null},_0x3adde5['bs']['dictionary']=Object['assign'](_0x3adde5['bs']['dictionary'],_0x3783a2),_0x3adde5['bs']['getPluralForm']=_0x28d2db;})(window['CKEDITOR_TRANSLATIONS']||={});