@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250528.0 → 0.0.0-nightly-20250530.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x418ad9,Command as _0x5db902}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x27fb42,IconGooglePhotos as _0x57c6ad,IconGoogleDrive as _0x311dd5,IconFacebook as _0x306870,IconDropbox as _0x6c6ea0,IconUploadcareLink as _0x41e123,IconUploadcareImageUpload as _0x14f9ac,IconError as et,IconUploadcareImageEdit as _0x4b5ec4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2b2bea,MenuBarMenuListItemButtonView as _0x35baf1,View as _0x38ff45,FocusCycler as _0x178b3e,Dialog as _0x34c46e,DialogViewPosition as _0x8f90ea,SpinnerView as _0x20485c,IconView as at,Notification as _0x5596c3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x151b29,DomEmitterMixin as _0x72d9e3,global as _0x4acc62,getAncestors as _0x5418b6,ObservableMixin as _0x200662,createElement as _0x1764c0,uid as _0x649e01}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x121c1c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x410983,info as _0x1ac59a}from'@uploadcare/upload-client';import*as _0x457d67 from'@uploadcare/file-uploader';var o=function(_0xa9264a){return _0xa9264a['Local']='local',_0xa9264a['URL']='url',_0xa9264a['Dropbox']='dropbox',_0xa9264a['GDrive']='gdrive',_0xa9264a['Facebook']='facebook',_0xa9264a['GPhotos']='gphotos',_0xa9264a['OneDrive']='onedrive',_0xa9264a;}({});function _(_0x5cdfff,_0x2e7932,_0x28e949){const t=_0x5cdfff['t'],_0x20f640=_0x5cdfff['t'];switch(_0x2e7932){case o['Local']:return{'text':_0x20f640('Insert'===_0x28e949?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x20f640('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x28e949?_0x20f640('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x20f640('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x28e949?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x28e949?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x28e949?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x28e949?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x28e949?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2e7932;}}class e extends _0x418ad9{['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 _0x315810=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8024a7;for(const _0x70c1b6 in _0x315810){const _0x505424=_0x70c1b6,_0xa998dc=_0x315810[_0x505424];if('uploadcareLicenseKeyValid'==_0xa998dc||'uploadcareLicenseKeyInvalid'==_0xa998dc||'uploadcareLicenseKeyExpired'==_0xa998dc||'uploadcareLicenseKeyDomainLimit'==_0xa998dc||'uploadcareLicenseKeyNotAllowed'==_0xa998dc||'uploadcareLicenseKeyEvaluationLimit'==_0xa998dc||'uploadcareLicenseKeyTrialLimit'==_0xa998dc||'uploadcareLicenseKeyUsageLimit'==_0xa998dc){delete _0x315810[_0x505424],_0x8024a7=_0xa998dc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x8024a7&&_0x315810['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x8024a7&&_0x315810['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x8024a7&&_0x315810['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x8024a7&&_0x315810['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x8024a7&&_0x315810['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x8024a7&&_0x315810['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x8024a7&&_0x315810['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b232a}=this,_0x17ae9d=_0x5b232a['commands']['get']('uploadcare');if(!_0x17ae9d)return;const _0x46f8ac=this['_normalizeConfigSourceList'](_0x5b232a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5a3698,_0x390333)=>{const _0x1b44c9=this['_getIntegrationKey'](_0x390333['type']);return _0x5a3698[_0x1b44c9]||(_0x5a3698[_0x1b44c9]=[]),_0x5a3698[_0x1b44c9]['push'](_0x390333),_0x5a3698;},{});_0x5b232a['plugins']['has']('ImageInsertUI')&&_0x5b232a['commands']['get']('uploadcare')&&Object['entries'](_0x46f8ac)['forEach'](([_0x3d31e1,_0x2807d2])=>{_0x5b232a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3d31e1,'observable':()=>_0x17ae9d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2807d2),'formViewCreator':()=>this['_createDropdownButtons'](_0x2807d2),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2807d2),'override':'assetManager'!==_0x3d31e1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xdc1e4a){const {locale:_0x5bbaf2}=this['editor'];return _0xdc1e4a['map'](_0xb28c26=>{const _0x1e4c75=_(_0x5bbaf2,_0xb28c26,'Insert');switch(_0xb28c26){case o['Local']:return{'icon':_0x14f9ac,'type':o['Local'],..._0x1e4c75};case o['URL']:return{'icon':_0x41e123,'type':o['URL'],..._0x1e4c75};case o['Dropbox']:return{'icon':_0x6c6ea0,'type':o['Dropbox'],..._0x1e4c75};case o['Facebook']:return{'icon':_0x306870,'type':o['Facebook'],..._0x1e4c75};case o['GDrive']:return{'icon':_0x311dd5,'type':o['GDrive'],..._0x1e4c75};case o['GPhotos']:return{'icon':_0x57c6ad,'type':o['GPhotos'],..._0x1e4c75};case o['OneDrive']:return{'icon':_0x27fb42,'type':o['OneDrive'],..._0x1e4c75};}});}['_getIntegrationKey'](_0x50e9bf){switch(_0x50e9bf){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x56e90c,_0x4d863c){const _0x432918=this['editor'],_0x3fae4e=new _0x56e90c(_0x432918['locale']),_0x246253=_0x432918['commands']['get']('uploadcare');return _0x3fae4e['bind']('isEnabled')['to'](_0x246253),_0x3fae4e['on']('execute',()=>{_0x246253['execute'](_0x4d863c);}),_0x3fae4e;}['_createToolbarButton'](_0x375340){const {locale:_0x818499}=this['editor'],_0xcfe412=this['editor']['plugins']['get']('ImageInsertUI'),_0x32637c=_0x375340[0x0],_0x5dbcd4=this['_createButton'](_0x2b2bea,_0x32637c['type']);return _0x5dbcd4['icon']=_0x32637c['icon'],_0x5dbcd4['bind']('label')['to'](_0xcfe412,'isImageSelected',_0x23fd30=>_(_0x818499,_0x32637c['type'],_0x23fd30?'Replace':'Insert')['text']),_0x5dbcd4['tooltip']=!0x0,_0x5dbcd4;}['_createDropdownButtons'](_0x5292e9){const {locale:_0x195aaa}=this['editor'],_0x7768e3=this['editor']['plugins']['get']('ImageInsertUI');return _0x5292e9['map'](_0x16a1f8=>{const _0x497351=this['_createButton'](_0x2b2bea,_0x16a1f8['type']);return _0x497351['withText']=!0x0,_0x497351['icon']=_0x16a1f8['icon'],_0x497351['bind']('label')['to'](_0x7768e3,'isImageSelected',_0x4ce510=>_(_0x195aaa,_0x16a1f8['type'],_0x4ce510?'Replace':'Insert')['text']),_0x497351;});}['_createMenuBarButtons'](_0x4cd94b){return _0x4cd94b['map'](_0x10a78c=>{const _0x34e2eb=this['_createButton'](_0x35baf1,_0x10a78c['type']);return _0x34e2eb['icon']=_0x10a78c['icon'],_0x34e2eb['label']=_0x10a78c['shortText'],_0x34e2eb;});}}class q extends _0x38ff45{['focusTracker'];['focusCycler'];constructor(_0x148ddc){super(_0x148ddc),this['focusTracker']=new _0x151b29(),this['focusCycler']=new _0x178b3e({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x4da8d7){super(_0x4da8d7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x54dd9b,_0x41f34e){const _0x44bdf7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2c14c5=>_0x2c14c5<=_0x41f34e)['map'](_0x109374=>_0x54dd9b['replace'](/\/$/,'')+'/-/resize/'+_0x109374+'x/\x20'+_0x109374+'w');return{'imageFallbackUrl':_0x54dd9b,'imageSources':[{'srcset':_0x44bdf7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x41f34e+'px)\x20100vw,\x20'+_0x41f34e+'px','type':'image/webp'}]};}function A(_0x29c6a8,_0x1b2a5b,_0x19ef81){const _0xaf23a0=_0x29c6a8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xaf23a0?parseInt(_0xaf23a0[0x1],0xa):_0x1b2a5b,'height':_0xaf23a0?parseInt(_0xaf23a0[0x2],0xa):_0x19ef81};}function m(_0x36f3ec,_0x1c07d9){const _0x38c14=Object['create'](_0x72d9e3),_0x33f742=_0x36f3ec['plugins']['get']('ImageUtils'),_0x54bb3b=_0x36f3ec['editing']['mapper']['toViewElement'](_0x1c07d9),_0x336c19=_0x33f742['findViewImgElement'](_0x54bb3b),_0x2f12f7=_0x36f3ec['editing']['view']['domConverter']['viewToDom'](_0x336c19),_0x24b55d=_0x1c07d9['getAttribute']('width'),_0x21ecf9=_0x1c07d9['getAttribute']('height'),_0xb45d41='image-processing';_0x36f3ec['editing']['view']['change'](_0x265365=>{_0x265365['addClass'](_0xb45d41,_0x54bb3b),_0x265365['setStyle']('aspect-ratio',_0x24b55d+'/'+_0x21ecf9,_0x336c19);}),_0x38c14['listenTo'](_0x2f12f7,'load',()=>{_0x38c14['stopListening'](_0x2f12f7,'load'),_0x36f3ec['editing']['view']['change'](_0x23e452=>{_0x23e452['removeClass'](_0xb45d41,_0x54bb3b),_0x23e452['removeStyle']('aspect-ratio',_0x336c19);});});}function V(_0x1f0f59){if(Array['isArray'](_0x1f0f59)){const _0x6761e0=_0x1f0f59['map'](V);return _0x5f3d2c=>_0x6761e0['some'](_0xe988ed=>_0xe988ed(_0x5f3d2c));}if('origin'==_0x1f0f59){const _0x7f09f2=_0x4acc62['window']['location']['origin'];return _0x1924cb=>new URL(_0x1924cb,_0x4acc62['document']['baseURI'])['origin']==_0x7f09f2;}return'function'==typeof _0x1f0f59?_0x1f0f59:_0x1f0f59 instanceof RegExp?_0x2ed8bf=>!(!_0x2ed8bf['match'](_0x1f0f59)&&!_0x2ed8bf['replace'](/^https?:\/\//,'')['match'](_0x1f0f59)):()=>!0x1;}function F(_0x52df57,_0x80bffa){return _0x5418b6(_0x52df57['target'])['includes'](_0x80bffa);}class l extends/* #__PURE__ -- @preserve */
24
- _0x200662(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x48c81f,_0x487e32,_0x33495e){super(),this['_editor']=_0x48c81f,this['_editing']=_0x487e32,this['_dialog']=_0x48c81f['plugins']['get'](_0x34c46e),this['_api']=_0x487e32['ctxElement']['getAPI'](),this['_type']=_0x33495e,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:_0x15339c,model:_0x175478}=this['_editor'],_0x406c44=_0x175478['document']['selection']['getSelectedElement'](),_0x5cb956=_0x406c44&&(_0x406c44['is']('element','imageBlock')||_0x406c44['is']('element','imageInline'));this['_formView']=new S(_0x15339c),this['_dialog']['show']({'id':'uploadCare','icon':_0x14f9ac,'title':_(_0x15339c,this['_type'],_0x5cb956?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x8f90ea['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x16275f=>!F(_0x16275f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x21f31e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4e5181=>{const _0x4f930d=_0x21f31e['length'];for(const _0x29d5fc of _0x21f31e){const _0x4683a5=_0x29d5fc===_0x21f31e[_0x4f930d-0x1],{cdnUrl:_0x5b74fe,fileInfo:_0x11a228}=_0x29d5fc;if(!_0x5b74fe||!_0x11a228)continue;const {width:_0xa1de4b,height:_0x2632b4}=_0x11a228['imageInfo'],_0x38fc86=A(_0x5b74fe,_0xa1de4b,_0x2632b4),_0x1d02ee=E(_0x5b74fe,_0x38fc86['width']),_0x259700={'id':_0x11a228['uuid'],'type':'image','attributes':{'imageDimension':_0x38fc86,..._0x1d02ee}};this['_insertAsset'](_0x259700,_0x4683a5,_0x4e5181);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x28e79b=>{'idle'===_0x28e79b['detail']['status']&&!_0x28e79b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x246210,_0x26910f,_0x10dacd){const _0x314266=this['_editor']['model']['document']['selection'],_0x36a582=_0x314266['getSelectedElement'](),_0x2cd73f=!(!_0x36a582||!_0x36a582['is']('element','imageInline'));_0x10dacd['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x246210,_0x2cd73f),_0x26910f||_0x10dacd['setSelection'](_0x314266['getLastPosition']());}['_insertImage'](_0xabd4fb,_0xb7429f){const _0x20af3a=this['_editor'],{imageDimension:_0x262b1c,imageFallbackUrl:_0x2e7492,imageSources:_0x56b77d}=_0xabd4fb['attributes'];_0x20af3a['execute']('insertImage',{'imageType':_0xb7429f?'imageInline':null,'source':{'uploadcareImageId':_0xabd4fb['id'],'src':_0x2e7492,'sources':_0x56b77d,..._0x262b1c}});}}class n extends _0x5db902{['_editing'];['_controller']=null;static get['requires'](){return[_0x34c46e,i];}constructor(_0x8d187f){super(_0x8d187f),this['_editing']=_0x8d187f['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5f2818){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5f2818);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x6f2087,publicKey:_0x18f1c0,signal:_0x414140,onProgress:_0x26368d}){return _0x410983(_0x6f2087,{'publicKey':_0x18f1c0,'store':'auto','signal':_0x414140,'onProgress':_0x26368d});}static['getInfo'](_0x4aac8a,_0x3bbaa3){return _0x1ac59a(_0x4aac8a,_0x3bbaa3);}}class p extends _0x418ad9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x121c1c,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b002f=this['editor'];if(!!!_0x3b002f['config']['get']('uploadcare'))return;_0x3b002f['plugins']['get'](_0x121c1c)['createUploadAdapter']=_0xa9298e=>new x(_0xa9298e,_0x3b002f),_0x3b002f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e898e,{imageElement:_0x326d82,data:_0x2d6035})=>{_0x3b002f['model']['change'](_0x5b377a=>{_0x5b377a['setAttribute']('uploadcareImageId',_0x2d6035['uploadcareImageId'],_0x326d82);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x55ad43,_0x2c7868){this['loader']=_0x55ad43,this['editor']=_0x2c7868,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2ba9ef=this['editor']['config']['get']('uploadcare.pubkey'),_0x5dddd2=await this['loader']['file'];return C['upload']({'file':_0x5dddd2,'publicKey':_0x2ba9ef,'signal':this['controller']['signal'],'onProgress':_0x56149c=>{_0x56149c&&_0x56149c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x56149c['value']);}})['then'](async _0xf5b2c=>{const {imageFallbackUrl:_0x2598e3,imageSources:_0x3b2c87}=E(_0xf5b2c['cdnUrl'],_0xf5b2c['imageInfo']['width']);return{'uploadcareImageId':_0xf5b2c['uuid'],'default':_0x2598e3,'sources':_0x3b2c87};})['catch'](()=>{const _0x20d6f3=t('Cannot\x20upload\x20file:')+('\x20'+_0x5dddd2['name']+'.');return Promise['reject'](_0x20d6f3);});}['abort'](){this['controller']['abort']();}}class i extends _0x418ad9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x34c46e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1bf980=this['editor'];_0x1bf980['commands']['add']('uploadcare',new n(_0x1bf980));}['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 _0x41c00d=_0x4acc62['document']['querySelector']('input[uploadcare-file-input]');_0x41c00d&&_0x41c00d['remove']();}),async function(_0x11b1f4){const _0x3fb08f=_0x5ce7aa([0x4f,0x6b,0x49,0x30,0x39,0x75,0x57,0x36,0x77,0x56,0x4d,0x66,0x72,0x73,0x7a,0x51,0x4a,0x63,0x53,0x6d,0x52,0x41,0x6e,0x5a,0x58,0x48,0x33,0x46,0x64,0x34,0x4c,0x74,0x61,0x76,0x71,0x42,0x55,0x69,0x65,0x6f,0x70,0x68,0x79,0x6a,0x6c,0x45,0x32,0x59,0x38,0x78,0x4e,0x43,0x4b,0x35,0x44,0x31,0x37,0x62,0x54,0x67,0x50,0x47]),_0x5c6d1d=0x7f801b70,_0x1e6b49=0x7f877250^_0x5c6d1d,_0x51c2b2=window[_0x5ce7aa([0x44,0x61,0x74,0x65])][_0x5ce7aa([0x6e,0x6f,0x77])](),_0x580227=_0x11b1f4[_0x5ce7aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6f17e0=new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13a206=>{_0x580227[_0x5ce7aa([0x6f,0x6e,0x63,0x65])](_0x5ce7aa([0x72,0x65,0x61,0x64,0x79]),_0x13a206);}),_0x4280ad={[_0x5ce7aa([0x6b,0x74,0x79])]:_0x5ce7aa([0x45,0x43]),[_0x5ce7aa([0x75,0x73,0x65])]:_0x5ce7aa([0x73,0x69,0x67]),[_0x5ce7aa([0x63,0x72,0x76])]:_0x5ce7aa([0x50,0x2d,0x32,0x35,0x36]),[_0x5ce7aa([0x78])]:_0x5ce7aa([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]),[_0x5ce7aa([0x79])]:_0x5ce7aa([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]),[_0x5ce7aa([0x61,0x6c,0x67])]:_0x5ce7aa([0x45,0x53,0x32,0x35,0x36])},_0x28effc=_0x580227[_0x5ce7aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ce7aa([0x67,0x65,0x74])](_0x5ce7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2974ed(){let _0x3ea3e9,_0x3e919e=null,_0x4cc51a=null;try{if(_0x28effc==_0x5ce7aa([0x47,0x50,0x4c]))return _0x5ce7aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ea3e9=_0x15a2d0(),!_0x3ea3e9)return _0x5ce7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ea3e9[_0x5ce7aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cc51a=_0x2a8337(_0x3ea3e9[_0x5ce7aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ea3e9[_0x5ce7aa([0x6a,0x74,0x69])])),await _0x2ddd1e()?_0x391de5()?_0x554a1a()?_0x5ce7aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd97a4()?(_0x3ea3e9[_0x5ce7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ce7aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e919e=_0x5a6a34(_0x5ce7aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ea3e9[_0x5ce7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ce7aa([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e919e=_0x5a6a34(_0x5ce7aa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59de01()):_0x5ce7aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ce7aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ce7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ce7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x554a1a(){const _0x1f9ba6=[_0x5ce7aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ce7aa([0x74,0x72,0x69,0x61,0x6c])][_0x5ce7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ea3e9[_0x5ce7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51c2b2/0x3e8:0xe10*_0x1e6b49;return _0x3ea3e9[_0x5ce7aa([0x65,0x78,0x70])]<_0x1f9ba6;}function _0x391de5(){const _0xc007f0=_0x3ea3e9[_0x5ce7aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc007f0&&(!!_0xc007f0[_0x5ce7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce7aa([0x2a]))||!!_0xc007f0[_0x5ce7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce7aa([0x55,0x50,0x4c,0x43])));}function _0xd97a4(){const _0x11cca6=_0x3ea3e9[_0x5ce7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11cca6||0x0==_0x11cca6[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b39bb}=new URL(window[_0x5ce7aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11cca6[_0x5ce7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b39bb))return!0x0;const _0x1d2733=_0x1b39bb[_0x5ce7aa([0x73,0x70,0x6c,0x69,0x74])](_0x5ce7aa([0x2e]));return _0x11cca6[_0x5ce7aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33dc26=>_0x33dc26[_0x5ce7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce7aa([0x2a])))[_0x5ce7aa([0x6d,0x61,0x70])](_0x4f19eb=>_0x4f19eb[_0x5ce7aa([0x73,0x70,0x6c,0x69,0x74])](_0x5ce7aa([0x2e])))[_0x5ce7aa([0x73,0x6f,0x6d,0x65])](_0x3772f1=>_0x1d2733[_0x5ce7aa([0x65,0x76,0x65,0x72,0x79])]((_0x589cd8,_0x1a2189)=>_0x3772f1[_0x1a2189]===_0x589cd8||_0x3772f1[_0x1a2189]===_0x5ce7aa([0x2a])));}function _0x59de01(){return _0x3e919e&&_0x4cc51a?new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39478f,_0x3d93ad)=>{_0x3e919e[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0x39478f,_0x3d93ad),_0x4cc51a[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0x5146ce=>{_0x5146ce!=_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64])&&_0x39478f(_0x5146ce);},_0x3d93ad);}):_0x3e919e||_0x4cc51a||_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a8337(_0x194082,_0x5c5ff0){return new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2efbc3=>{if(_0x498dd6())return _0x2efbc3(_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64]));_0x3c8772(),_0x580227[_0x5ce7aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ce7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x581fde=!0x1;const _0x2602db=_0x649e01();function _0x415097(_0x3e74ac){return!!_0x3e74ac&&(typeof _0x3e74ac===_0x5ce7aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e74ac===_0x5ce7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e74ac[_0x5ce7aa([0x74,0x68,0x65,0x6e])]===_0x5ce7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e74ac[_0x5ce7aa([0x63,0x61,0x74,0x63,0x68])]===_0x5ce7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2695fe(_0x50cf8d){_0x4c5741(_0x50cf8d)[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0xbc8660=>{if(!_0xbc8660||_0xbc8660[_0x5ce7aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ce7aa([0x6f,0x6b]))return _0x5ce7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcafeda(_0x12161c(_0x2602db+_0x5c5ff0))!=_0xbc8660[_0x5ce7aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ce7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0x2d4cbe=>(_0xfb2d91(),_0x2d4cbe),()=>{const _0x25df7b=_0x273885();return null==_0x25df7b?(_0xfb2d91(),_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64])):_0x5ce7aa(_0x51c2b2-_0x25df7b>(0x5b8c9f70^_0x5c6d1d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0x2efbc3)[_0x5ce7aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2efbc3(_0x5ce7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x485898=0x7fb6f5f0^_0x5c6d1d;function _0xfb2d91(){const _0x42639a=_0x5ce7aa([0x6c,0x6c,0x63,0x74,0x2d])+_0xcafeda(_0x12161c(_0x194082)),_0x57d65a=_0xc4f045(_0xcafeda(window[_0x5ce7aa([0x4d,0x61,0x74,0x68])][_0x5ce7aa([0x63,0x65,0x69,0x6c])](_0x51c2b2/_0x485898)));window[_0x5ce7aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ce7aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42639a,_0x57d65a);}function _0x273885(){const _0x21fc25=_0x5ce7aa([0x6c,0x6c,0x63,0x74,0x2d])+_0xcafeda(_0x12161c(_0x194082)),_0x56b7c5=window[_0x5ce7aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ce7aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21fc25);return _0x56b7c5?window[_0x5ce7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4f045(_0x56b7c5),0x10)*_0x485898:null;}function _0x4c5741(_0x2ba32d){return new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eeb22,_0x12d7af)=>{_0x2ba32d[_0x5ce7aa([0x74,0x68,0x65,0x6e])](_0x3eeb22,_0x12d7af),window[_0x5ce7aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12d7af,0x7f81cfb0^_0x5c6d1d);});}}_0x580227[_0x5ce7aa([0x6f,0x6e])](_0x5ce7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x420714,_0x3bdae9)=>{if(_0x3bdae9[0x0]!=_0x194082)return _0x2efbc3(_0x5ce7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bdae9[0x1]={..._0x3bdae9[0x1],[_0x5ce7aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2602db};},{[_0x5ce7aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ce7aa([0x68,0x69,0x67,0x68])}),_0x580227[_0x5ce7aa([0x6f,0x6e])](_0x5ce7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b80d8=>{_0x415097(_0x4b80d8[_0x5ce7aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x581fde=!0x0,_0x2695fe(_0x4b80d8[_0x5ce7aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ce7aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ce7aa([0x6c,0x6f,0x77])}),_0x6f17e0[_0x5ce7aa([0x74,0x68,0x65,0x6e])](()=>{_0x581fde||_0x2efbc3(_0x5ce7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x498dd6(){return _0x580227[_0x5ce7aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ce7aa([0x76,0x69,0x65,0x77])][_0x5ce7aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ce7aa([0x61,0x75,0x74,0x6f]);}function _0x3c8772(){_0x580227[_0x5ce7aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ce7aa([0x76,0x69,0x65,0x77])][_0x5ce7aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ce7aa([0x61,0x75,0x74,0x6f]);}}function _0x5a6a34(_0x43a31b){const _0xbcd5b4=[new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27137d=>setTimeout(_0x27137d,0x7f8925bc^_0x5c6d1d)),_0x6f17e0[_0x5ce7aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474a6e=>{let _0x533ec1=0x0;_0x580227[_0x5ce7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce7aa([0x6f,0x6e])](_0x5ce7aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5064a6,_0x3f0d40)=>{_0x3f0d40[0x0][_0x5ce7aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x533ec1++,_0x533ec1==(0x7f801a88^_0x5c6d1d)&&(_0x474a6e(),_0x5064a6[_0x5ce7aa([0x6f,0x66,0x66])]());});}))];return window[_0x5ce7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ce7aa([0x72,0x61,0x63,0x65])](_0xbcd5b4)[_0x5ce7aa([0x74,0x68,0x65,0x6e])](()=>_0x43a31b);}async function _0x5a7325(){await _0x6f17e0,_0x580227[_0x5ce7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce7aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a3049,_0x580227[_0x5ce7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ce7aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a3049,_0x580227[_0x5ce7aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ce7aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f1875(_0x2ce480){const _0x39fb2c=_0x2ffb92();_0x580227[_0x39fb2c]=_0x5ce7aa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ce480,_0x2ce480!=_0x5ce7aa([0x56,0x61,0x6c,0x69,0x64])&&_0x5a7325();}function _0x2ffb92(){const _0x5a07ca=window[_0x5ce7aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ce7aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ce7aa([0x6e,0x6f,0x77])]())[_0x5ce7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ce7aa([0x2e]),'');let _0x303e38=_0x5ce7aa([0x4f]);for(let _0x158750=0x0;_0x158750<_0x5a07ca[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158750+=0x2){let _0xde5266=window[_0x5ce7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a07ca[_0x5ce7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x158750,_0x158750+0x2));_0xde5266>=_0x3fb08f[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xde5266-=_0x3fb08f[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x303e38+=_0x3fb08f[_0xde5266];}return _0x303e38;}function _0x15a2d0(){const _0x1f8862=_0x28effc[_0x5ce7aa([0x73,0x70,0x6c,0x69,0x74])](_0x5ce7aa([0x2e]));if(0x3!=_0x1f8862[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x317b9d(_0x1f8862[0x1]);function _0x317b9d(_0x529ff8){const _0x47a5b2=_0x1279de(_0x529ff8);return _0x47a5b2&&_0x2cd8d8()?_0x47a5b2:null;function _0x2cd8d8(){const _0x5525eb=_0x47a5b2[_0x5ce7aa([0x6a,0x74,0x69])],_0x4f14c9=window[_0x5ce7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5525eb[_0x5ce7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5525eb[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f24d5={..._0x47a5b2,[_0x5ce7aa([0x6a,0x74,0x69])]:_0x5525eb[_0x5ce7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5525eb[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f24d5[_0x5ce7aa([0x76,0x63])],_0x12161c(_0x5f24d5)==_0x4f14c9;}}}async function _0x2ddd1e(){let _0x1844ba=!0x0;try{const _0xed8f49=_0x28effc[_0x5ce7aa([0x73,0x70,0x6c,0x69,0x74])](_0x5ce7aa([0x2e])),[_0x18a05d,_0x4d87b0,_0x36e8c0]=_0xed8f49;return _0x182d83(_0x18a05d),await _0x4e3224(_0x18a05d,_0x4d87b0,_0x36e8c0),_0x1844ba;}catch{return!0x1;}function _0x182d83(_0x461679){const _0x51931a=_0x1279de(_0x461679);_0x51931a&&_0x51931a[_0x5ce7aa([0x61,0x6c,0x67])]==_0x5ce7aa([0x45,0x53,0x32,0x35,0x36])||(_0x1844ba=!0x1);}async function _0x4e3224(_0x42be35,_0x4e4fd7,_0x22f606){const _0x46b630=window[_0x5ce7aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ce7aa([0x66,0x72,0x6f,0x6d])](_0x16491e(_0x22f606),_0x1ec02f=>_0x1ec02f[_0x5ce7aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a6211=new window[(_0x5ce7aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ce7aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42be35+_0x5ce7aa([0x2e])+_0x4e4fd7),_0x1b31ed=window[_0x5ce7aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ce7aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b31ed)return;const _0x4258d2=await _0x1b31ed[_0x5ce7aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ce7aa([0x6a,0x77,0x6b]),_0x4280ad,{[_0x5ce7aa([0x6e,0x61,0x6d,0x65])]:_0x5ce7aa([0x45,0x43,0x44,0x53,0x41]),[_0x5ce7aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ce7aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ce7aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b31ed[_0x5ce7aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ce7aa([0x6e,0x61,0x6d,0x65])]:_0x5ce7aa([0x45,0x43,0x44,0x53,0x41]),[_0x5ce7aa([0x68,0x61,0x73,0x68])]:{[_0x5ce7aa([0x6e,0x61,0x6d,0x65])]:_0x5ce7aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4258d2,_0x46b630,_0x3a6211)||(_0x1844ba=!0x1);}}function _0x1279de(_0x47a076){return _0x47a076[_0x5ce7aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ce7aa([0x65,0x79]))?JSON[_0x5ce7aa([0x70,0x61,0x72,0x73,0x65])](_0x16491e(_0x47a076)):null;}function _0x16491e(_0x2e5f9c){return window[_0x5ce7aa([0x61,0x74,0x6f,0x62])](_0x2e5f9c[_0x5ce7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ce7aa([0x2b]))[_0x5ce7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ce7aa([0x2f])));}function _0x12161c(_0x3a2da6){let _0x47d31e=0x1505;function _0x77e12(_0xa23eb2){for(let _0x346b8e=0x0;_0x346b8e<_0xa23eb2[_0x5ce7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x346b8e++){const _0x12e956=_0xa23eb2[_0x5ce7aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x346b8e);_0x47d31e=(_0x47d31e<<0x5)+_0x47d31e+_0x12e956,_0x47d31e&=_0x47d31e;}}function _0x277153(_0x2ce74d){Array[_0x5ce7aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ce74d)?_0x2ce74d[_0x5ce7aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x277153):_0x2ce74d&&typeof _0x2ce74d==_0x5ce7aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ce7aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ce74d)[_0x5ce7aa([0x73,0x6f,0x72,0x74])]()[_0x5ce7aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56b076,_0x5a469e])=>{_0x77e12(_0x56b076),_0x277153(_0x5a469e);}):_0x77e12(window[_0x5ce7aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ce74d));}return _0x277153(_0x3a2da6),_0x47d31e>>>0x0;}function _0xcafeda(_0x5717a1){return _0x5717a1[_0x5ce7aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ce7aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ce7aa([0x30]));}function _0xc4f045(_0x3e0318){return _0x3e0318[_0x5ce7aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ce7aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ce7aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a3049(){}function _0x5ce7aa(_0x41f776){return _0x41f776['map'](_0x233786=>String['fromCharCode'](_0x233786))['join']('');}_0x3f1875(await _0x2974ed());}(this);}['_initSchema'](){const _0x2738a2=this['editor']['model']['schema'];_0x2738a2['isRegistered']('imageBlock')&&_0x2738a2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2738a2['isRegistered']('imageInline')&&_0x2738a2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x423097=this['editor'];_0x423097['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x423097['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6d73aa=>_0x6d73aa['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x510dea=_0x423097['commands']['get']('replaceImageSource');_0x510dea&&this['listenTo'](_0x510dea,'cleanupImage',(_0x2dd775,[_0x2c7e62,_0x1233da])=>{_0x2c7e62['removeAttribute']('uploadcareImageId',_0x1233da);});}['_initConfig'](){const _0x4d2e80=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1be02d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1764c0(_0x4acc62['document'],'uc-config',{..._0x4d2e80,'pubkey':_0x1be02d,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x35baa8=>{if('closeMax'==_0x35baa8)return'#uc-icon-arrow-down';},_0x4acc62['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1764c0(_0x4acc62['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4acc62['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1a7a64=this['editor']['commands']['get']('insertImage');_0x1a7a64&&this['listenTo'](_0x1a7a64,'execute',()=>{const _0x554415=this['editor']['model']['document']['selection']['getSelectedElement']();_0x554415&&_0x554415['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x554415);});});const _0x960d5b=this['editor']['commands']['get']('uploadcareImageReplace');_0x960d5b&&this['listenTo'](_0x960d5b,'execute',()=>{const _0x2a5f12=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a5f12&&_0x2a5f12['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2a5f12);});});}}class u extends _0x418ad9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c20fe){super(_0x2c20fe),_0x2c20fe['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x457d67['defineComponents'](_0x457d67);}}class ta extends _0x38ff45{constructor(_0x29df98){super(_0x29df98);const t=_0x29df98['t'],_0x74f67f=this['bindTemplate'],_0x1ebf0f=new _0x20485c();_0x1ebf0f['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':[_0x1ebf0f,{'text':_0x74f67f['to']('imageUploadProgress',_0x41273e=>t('Loading\x20image...')+'\x20('+(_0x41273e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x38ff45{constructor(_0x15581b){super(_0x15581b);const t=_0x15581b['t'];this['set']('errorType',null);const _0x49f243=new _0x2b2bea(_0x15581b);_0x49f243['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x49f243['withText']=!0x0,_0x49f243['class']='ck-button-action',_0x49f243['on']('execute',()=>{this['fire']('retry');}),_0x49f243['bind']('isVisible')['to'](this,'errorType',_0x49b64f=>'NotFound'!==_0x49b64f);const _0x484352=new at();_0x484352['content']=et,_0x484352['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2f4a82=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':[_0x484352,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2f4a82['to']('errorType',_0x137238=>t('NotFound'!==_0x137238?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x49f243]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x38ff45{constructor(_0xa16be6,_0x446b86){super(_0xa16be6);const _0x4769b9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x446b86,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4769b9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xc7b0e7,_0x3faef7,_0x1c5a6d){super(_0xc7b0e7),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xc7b0e7),this['_errorView']=new rt(_0xc7b0e7),this['_editingView']=new tt(_0xc7b0e7,_0x1c5a6d),this['_focusableView']=new _0x38ff45(_0xc7b0e7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3faef7),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'],_0x47238e=>{this['_addUploadcareImageEditorListeners'](_0x47238e);});}),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'](_0x145c14,_0x4cc7fc){const _0x9e9634='uc-cloud-image-editor',_0x59fb23=_0x145c14['querySelector'](_0x9e9634);if(_0x59fb23)return _0x4cc7fc(_0x59fb23);const _0x134198=new MutationObserver(_0x2e9f60=>{const _0x186a10=_0x2e9f60['filter'](_0x2bfefc=>_0x2bfefc['target']===_0x145c14&&_0x2bfefc['addedNodes']['length']>0x0&&_0x2bfefc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x9e9634);_0x186a10['length']&&(_0x134198['disconnect'](),_0x4cc7fc(_0x186a10[0x0]['addedNodes'][0x0]));});_0x134198['observe'](_0x145c14,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5ab153){_0x5ab153['addEventListener']('apply',_0x36ed2c=>{this['fire']('apply',{'imageSrc':_0x36ed2c['detail']['cdnUrl']});}),_0x5ab153['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x200662(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x14b47d,_0x2c7a5c,_0x17f8e6){super(),this['_editor']=_0x14b47d,this['_dialog']=_0x2c7a5c,this['_imageElement']=_0x17f8e6,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 _0x20880d=this['_imageElement'],_0x571ea4=_0x20880d['getAttribute']('uploadcareImageId'),_0x1381e=_0x20880d['getAttribute']('src');if(_0x571ea4)await this['_loadImageInfo'](_0x571ea4,_0x1381e);else{if(this['_imageCache']['has'](_0x1381e)){const _0x38b4b2=this['_imageCache']['get'](_0x1381e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38b4b2['url'],this['imageDimension']=_0x38b4b2['dimension'],this['imageId']=_0x38b4b2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e8303}=this['_editor'],t=_0x4e8303['t'],_0x39df85=new Z(_0x4e8303,this['imageStatus'],this['_attributes']);_0x39df85['bind']('status')['to'](this,'imageStatus'),_0x39df85['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x39df85['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x39df85['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x39df85,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4b5ec4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x39df85,'position':_0x8f90ea['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x39df85['focus']();},'onHide':()=>{_0x39df85['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xf4f555=>!F(_0xf4f555,_0x39df85['element'])}});}['_loadImageInfo'](_0x3a697b,_0x3e9224){return C['getInfo'](_0x3a697b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x415ccc=>{const {width:_0x516f35,height:_0x11361d}=_0x415ccc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e9224,this['imageDimension']={'width':_0x516f35,'height':_0x11361d},this['imageId']=_0x3a697b;})['catch'](_0x2e9b1b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e9b1b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e1fe7,_0x1b3459){return this['_getImageAsFile'](_0x1e1fe7)['then'](_0x43d305=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1b3459['signal'],'file':_0x43d305,'onProgress':_0x2bffcf=>{_0x2bffcf&&_0x2bffcf['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2bffcf['value']));}}))['then'](_0x3f81cb=>{const {width:_0x35dd17,height:_0x55f40a}=_0x3f81cb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f81cb['cdnUrl'],this['imageDimension']={'width':_0x35dd17,'height':_0x55f40a},this['imageId']=_0x3f81cb['uuid'],this['imageUploadProgress']=null;const _0x5f0df9=_0x1e1fe7['getAttribute']('src');this['_imageCache']['set'](_0x5f0df9,{'id':_0x3f81cb['uuid'],'url':_0x3f81cb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d2a9d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d2a9d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xce8f37,_0xfdfe43){_0xce8f37['on']('apply',(_0x15b231,_0x1acdc)=>{this['_replaceImage'](_0xfdfe43,_0x1acdc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xce8f37['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xce8f37['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2be131,_0x3ae6af,_0x47771f){const _0xb24c05=this['_editor'],{width:_0x2037bf,height:_0x5b995b}=A(_0x3ae6af,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x53dfef,imageSources:_0x2aea32}=E(_0x3ae6af,_0x2037bf);_0xb24c05['model']['change'](_0x3a021f=>{if('$graveyard'===_0x2be131['root']['rootName']){_0xb24c05['execute']('insertImage',{'imageType':_0x2be131['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2be131['getAttributes']()),'uploadcareImageId':_0x47771f,'src':_0x53dfef,'sources':_0x2aea32,'width':_0x2037bf,'height':_0x5b995b}});const _0xb34647=_0x2be131['getChildren']();_0x2be131=_0xb24c05['model']['document']['selection']['getSelectedElement']();for(const _0x2718a7 of _0xb34647)_0x3a021f['append'](_0x3a021f['cloneElement'](_0x2718a7),_0x2be131);}else _0x3a021f['setSelection'](_0x2be131,'on'),_0xb24c05['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2be131['getAttributes']()),'uploadcareImageId':_0x47771f,'src':_0x53dfef,'sources':_0x2aea32,'width':_0x2037bf,'height':_0x5b995b},_0x2be131);_0x3a021f['setSelection'](_0x2be131,'on');});}async['_getImageAsFile'](_0x1ac933){const _0x291f04=_0x4acc62['window'],_0x2927d6=_0x4acc62['document']['location']['href'],_0x7ad8a=new _0x291f04['URL'](_0x1ac933['getAttribute']('src'),_0x2927d6);if('data:'===_0x7ad8a['protocol']){const _0x47c9b6=_0x7ad8a['href']['split'](','),_0x46ba0a=_0x47c9b6[0x0]['match'](/:(.*?);/)[0x1],_0x25edea=_0x46ba0a['split']('/')[0x1],_0x23a004=_0x291f04['atob'](_0x47c9b6[_0x47c9b6['length']-0x1]);let _0x5a1f64=_0x23a004['length'];const _0x34504b=new _0x291f04['Uint8Array'](_0x5a1f64);for(;_0x5a1f64--;)_0x34504b[_0x5a1f64]=_0x23a004['charCodeAt'](_0x5a1f64);return new _0x291f04['File']([_0x34504b],'image.'+_0x25edea,{'type':_0x46ba0a});}const _0x438cfe=_0x7ad8a['href']['split']('/'),_0x131412=_0x438cfe[_0x438cfe['length']-0x1],_0x4aecc0=_0x131412['split']('.')[0x1];return _0x291f04['fetch'](_0x7ad8a['href'])['then'](_0x557fde=>_0x557fde['clone']()['blob']())['then'](_0x4d04cb=>new _0x291f04['File']([_0x4d04cb],_0x131412,{'type':'image/'+_0x4aecc0}));}}class J extends _0x5db902{['imageEditController'];static get['requires'](){return[_0x34c46e];}['_isEditable'];constructor(_0x35ecd3){super(_0x35ecd3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x52d680){const _0x3edab6=V(_0x52d680);return _0x54faee=>!(!_0x54faee||!_0x54faee['is']('element','imageBlock')&&!_0x54faee['is']('element','imageInline'))&&(!!_0x54faee['hasAttribute']('uploadcareImageId')||!!_0x54faee['hasAttribute']('src')&&_0x3edab6(_0x54faee['getAttribute']('src')));}(_0x35ecd3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xf57c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xf57c0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x139286=this['editor']['model']['document']['selection']['getSelectedElement']();_0x139286&&(_0x139286['is']('element','imageBlock')||_0x139286['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x34c46e),_0x139286),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x5db902{['refresh'](){const _0x43290f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x43290f&&(_0x43290f['is']('element','imageBlock')||_0x43290f['is']('element','imageInline')));}['execute'](_0x3d1d89){const _0x162438=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4ebabc=>{_0x4ebabc['setAttributes'](_0x3d1d89,_0x162438),_0x4ebabc['removeAttribute']('srcset',_0x162438),_0x4ebabc['removeAttribute']('sizes',_0x162438);});}}class g extends _0x418ad9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5596c3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb05434}=this;_0xb05434['commands']['add']('uploadcareImageEdit',new J(_0xb05434)),_0xb05434['commands']['add']('uploadcareImageReplace',new O(_0xb05434));}}class j extends _0x418ad9{['_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 _0x396edc=this['editor'];_0x396edc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a48bf=>{const _0x1e64ff=_0x396edc['commands']['get']('uploadcareImageEdit'),_0x15fb05=new _0x2b2bea(_0x3a48bf),t=_0x3a48bf['t'];return _0x15fb05['set']({'icon':_0x4b5ec4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x15fb05['bind']('isEnabled')['to'](_0x1e64ff),_0x15fb05['bind']('isOn')['to'](_0x1e64ff,'isActive'),this['listenTo'](_0x15fb05,'execute',()=>{_0x396edc['execute']('uploadcareImageEdit'),_0x396edc['editing']['view']['focus']();}),_0x15fb05;}),this['_initConfig']();}['_initConfig'](){const _0x21bb51=_0x1764c0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x21bb51),this['listenTo'](this['editor'],'destroy',()=>{_0x21bb51['remove']();});}}class P extends _0x418ad9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x5b75e9,Command as _0x20fdfd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x9c5400,IconGooglePhotos as _0x223159,IconGoogleDrive as _0x3fdf2a,IconFacebook as _0x16eb55,IconDropbox as _0x5bb71a,IconUploadcareLink as _0x24a154,IconUploadcareImageUpload as _0x3855a5,IconError as et,IconUploadcareImageEdit as _0x14721f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x26c3ec,MenuBarMenuListItemButtonView as _0x3b8fdc,View as _0x2f70b4,FocusCycler as _0x59ecab,Dialog as _0x4ee34a,DialogViewPosition as _0x4dacec,SpinnerView as _0x13cb79,IconView as at,Notification as _0x474b27}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4a2eed,DomEmitterMixin as _0xafef0f,global as _0x78ead0,getAncestors as _0x118ce0,ObservableMixin as _0x44d8b7,createElement as _0x2d8450,uid as _0x3bc82d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x33fcbe}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2f02f0,info as _0x29388b}from'@uploadcare/upload-client';import*as _0x247562 from'@uploadcare/file-uploader';var o=function(_0x4d4694){return _0x4d4694['Local']='local',_0x4d4694['URL']='url',_0x4d4694['Dropbox']='dropbox',_0x4d4694['GDrive']='gdrive',_0x4d4694['Facebook']='facebook',_0x4d4694['GPhotos']='gphotos',_0x4d4694['OneDrive']='onedrive',_0x4d4694;}({});function _(_0x3e07a4,_0x369c4e,_0x44526d){const t=_0x3e07a4['t'],_0x137ab0=_0x3e07a4['t'];switch(_0x369c4e){case o['Local']:return{'text':_0x137ab0('Insert'===_0x44526d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x137ab0('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x44526d?_0x137ab0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x137ab0('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x44526d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x44526d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x44526d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x44526d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x44526d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x369c4e;}}class e extends _0x5b75e9{['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 _0x5b7467=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x818230;for(const _0x1c62dd in _0x5b7467){const _0x38d87e=_0x1c62dd,_0x1e0744=_0x5b7467[_0x38d87e];if('uploadcareLicenseKeyValid'==_0x1e0744||'uploadcareLicenseKeyInvalid'==_0x1e0744||'uploadcareLicenseKeyExpired'==_0x1e0744||'uploadcareLicenseKeyDomainLimit'==_0x1e0744||'uploadcareLicenseKeyNotAllowed'==_0x1e0744||'uploadcareLicenseKeyEvaluationLimit'==_0x1e0744||'uploadcareLicenseKeyTrialLimit'==_0x1e0744||'uploadcareLicenseKeyUsageLimit'==_0x1e0744){delete _0x5b7467[_0x38d87e],_0x818230=_0x1e0744,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x818230&&_0x5b7467['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x818230&&_0x5b7467['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x818230&&_0x5b7467['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x818230&&_0x5b7467['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x818230&&_0x5b7467['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x818230&&_0x5b7467['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x818230&&_0x5b7467['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b51e4}=this,_0x499e87=_0x5b51e4['commands']['get']('uploadcare');if(!_0x499e87)return;const _0x580a5d=this['_normalizeConfigSourceList'](_0x5b51e4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4bc675,_0x25dc9b)=>{const _0x30e262=this['_getIntegrationKey'](_0x25dc9b['type']);return _0x4bc675[_0x30e262]||(_0x4bc675[_0x30e262]=[]),_0x4bc675[_0x30e262]['push'](_0x25dc9b),_0x4bc675;},{});_0x5b51e4['plugins']['has']('ImageInsertUI')&&_0x5b51e4['commands']['get']('uploadcare')&&Object['entries'](_0x580a5d)['forEach'](([_0x461e49,_0xcbb650])=>{_0x5b51e4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x461e49,'observable':()=>_0x499e87,'buttonViewCreator':()=>this['_createToolbarButton'](_0xcbb650),'formViewCreator':()=>this['_createDropdownButtons'](_0xcbb650),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xcbb650),'override':'assetManager'!==_0x461e49});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3cfe73){const {locale:_0x4f752e}=this['editor'];return _0x3cfe73['map'](_0x1cd4cb=>{const _0x4fda5f=_(_0x4f752e,_0x1cd4cb,'Insert');switch(_0x1cd4cb){case o['Local']:return{'icon':_0x3855a5,'type':o['Local'],..._0x4fda5f};case o['URL']:return{'icon':_0x24a154,'type':o['URL'],..._0x4fda5f};case o['Dropbox']:return{'icon':_0x5bb71a,'type':o['Dropbox'],..._0x4fda5f};case o['Facebook']:return{'icon':_0x16eb55,'type':o['Facebook'],..._0x4fda5f};case o['GDrive']:return{'icon':_0x3fdf2a,'type':o['GDrive'],..._0x4fda5f};case o['GPhotos']:return{'icon':_0x223159,'type':o['GPhotos'],..._0x4fda5f};case o['OneDrive']:return{'icon':_0x9c5400,'type':o['OneDrive'],..._0x4fda5f};}});}['_getIntegrationKey'](_0x2456fe){switch(_0x2456fe){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc75fc9,_0x1e984f){const _0x1379c5=this['editor'],_0x131338=new _0xc75fc9(_0x1379c5['locale']),_0x48dc0e=_0x1379c5['commands']['get']('uploadcare');return _0x131338['bind']('isEnabled')['to'](_0x48dc0e),_0x131338['on']('execute',()=>{_0x48dc0e['execute'](_0x1e984f);}),_0x131338;}['_createToolbarButton'](_0x3e1a69){const {locale:_0x55ed75}=this['editor'],_0x4671b6=this['editor']['plugins']['get']('ImageInsertUI'),_0x4931f8=_0x3e1a69[0x0],_0x5b7ced=this['_createButton'](_0x26c3ec,_0x4931f8['type']);return _0x5b7ced['icon']=_0x4931f8['icon'],_0x5b7ced['bind']('label')['to'](_0x4671b6,'isImageSelected',_0x95b06c=>_(_0x55ed75,_0x4931f8['type'],_0x95b06c?'Replace':'Insert')['text']),_0x5b7ced['tooltip']=!0x0,_0x5b7ced;}['_createDropdownButtons'](_0x371a72){const {locale:_0x5eda5d}=this['editor'],_0x4cb7b5=this['editor']['plugins']['get']('ImageInsertUI');return _0x371a72['map'](_0x2a0ffc=>{const _0x24ec64=this['_createButton'](_0x26c3ec,_0x2a0ffc['type']);return _0x24ec64['withText']=!0x0,_0x24ec64['icon']=_0x2a0ffc['icon'],_0x24ec64['bind']('label')['to'](_0x4cb7b5,'isImageSelected',_0x5b43e3=>_(_0x5eda5d,_0x2a0ffc['type'],_0x5b43e3?'Replace':'Insert')['text']),_0x24ec64;});}['_createMenuBarButtons'](_0x4455dd){return _0x4455dd['map'](_0x4f1168=>{const _0x1805f3=this['_createButton'](_0x3b8fdc,_0x4f1168['type']);return _0x1805f3['icon']=_0x4f1168['icon'],_0x1805f3['label']=_0x4f1168['shortText'],_0x1805f3;});}}class q extends _0x2f70b4{['focusTracker'];['focusCycler'];constructor(_0x5f35f0){super(_0x5f35f0),this['focusTracker']=new _0x4a2eed(),this['focusCycler']=new _0x59ecab({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x3911d0){super(_0x3911d0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x5a9bb8,_0x22bf25){const _0x50b507=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x135d62=>_0x135d62<=_0x22bf25)['map'](_0x47a483=>_0x5a9bb8['replace'](/\/$/,'')+'/-/resize/'+_0x47a483+'x/\x20'+_0x47a483+'w');return{'imageFallbackUrl':_0x5a9bb8,'imageSources':[{'srcset':_0x50b507['join'](',\x20'),'sizes':'(max-width:\x20'+_0x22bf25+'px)\x20100vw,\x20'+_0x22bf25+'px','type':'image/webp'}]};}function A(_0x8977a7,_0x1c51a4,_0x1adf97){const _0x3b8572=_0x8977a7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3b8572?parseInt(_0x3b8572[0x1],0xa):_0x1c51a4,'height':_0x3b8572?parseInt(_0x3b8572[0x2],0xa):_0x1adf97};}function m(_0x49190f,_0x717a2b){const _0x3cada7=Object['create'](_0xafef0f),_0x344d8e=_0x49190f['plugins']['get']('ImageUtils'),_0x35c5b8=_0x49190f['editing']['mapper']['toViewElement'](_0x717a2b),_0x4316d0=_0x344d8e['findViewImgElement'](_0x35c5b8),_0x505eb6=_0x49190f['editing']['view']['domConverter']['viewToDom'](_0x4316d0),_0x5982bd=_0x717a2b['getAttribute']('width'),_0x56478c=_0x717a2b['getAttribute']('height'),_0x4ca482='image-processing';_0x49190f['editing']['view']['change'](_0x2846ee=>{_0x2846ee['addClass'](_0x4ca482,_0x35c5b8),_0x2846ee['setStyle']('aspect-ratio',_0x5982bd+'/'+_0x56478c,_0x4316d0);}),_0x3cada7['listenTo'](_0x505eb6,'load',()=>{_0x3cada7['stopListening'](_0x505eb6,'load'),_0x49190f['editing']['view']['change'](_0xc4e27f=>{_0xc4e27f['removeClass'](_0x4ca482,_0x35c5b8),_0xc4e27f['removeStyle']('aspect-ratio',_0x4316d0);});});}function V(_0x42d477){if(Array['isArray'](_0x42d477)){const _0xe7d0c9=_0x42d477['map'](V);return _0x533934=>_0xe7d0c9['some'](_0xbd1701=>_0xbd1701(_0x533934));}if('origin'==_0x42d477){const _0x2a44c6=_0x78ead0['window']['location']['origin'];return _0x4d61b7=>new URL(_0x4d61b7,_0x78ead0['document']['baseURI'])['origin']==_0x2a44c6;}return'function'==typeof _0x42d477?_0x42d477:_0x42d477 instanceof RegExp?_0x387922=>!(!_0x387922['match'](_0x42d477)&&!_0x387922['replace'](/^https?:\/\//,'')['match'](_0x42d477)):()=>!0x1;}function F(_0x536e57,_0x181972){return _0x118ce0(_0x536e57['target'])['includes'](_0x181972);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x44d8b7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2e878d,_0x184c4b,_0x96cec7){super(),this['_editor']=_0x2e878d,this['_editing']=_0x184c4b,this['_dialog']=_0x2e878d['plugins']['get'](_0x4ee34a),this['_api']=_0x184c4b['ctxElement']['getAPI'](),this['_type']=_0x96cec7,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:_0xaf6124,model:_0x45bd60}=this['_editor'],_0xc770ed=_0x45bd60['document']['selection']['getSelectedElement'](),_0x4bfbd3=_0xc770ed&&(_0xc770ed['is']('element','imageBlock')||_0xc770ed['is']('element','imageInline'));this['_formView']=new S(_0xaf6124),this['_dialog']['show']({'id':'uploadCare','icon':_0x3855a5,'title':_(_0xaf6124,this['_type'],_0x4bfbd3?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4dacec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x202d86=>!F(_0x202d86,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2858be}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x73996b=>{const _0x4a18b5=_0x2858be['length'];for(const _0x4f4a0d of _0x2858be){const _0x26832d=_0x4f4a0d===_0x2858be[_0x4a18b5-0x1],{cdnUrl:_0x1f6c65,fileInfo:_0x513a86}=_0x4f4a0d;if(!_0x1f6c65||!_0x513a86)continue;const {width:_0x392fca,height:_0x27ada6}=_0x513a86['imageInfo'],_0x42d682=A(_0x1f6c65,_0x392fca,_0x27ada6),_0x4fc0ba=E(_0x1f6c65,_0x42d682['width']),_0x27b4bf={'id':_0x513a86['uuid'],'type':'image','attributes':{'imageDimension':_0x42d682,..._0x4fc0ba}};this['_insertAsset'](_0x27b4bf,_0x26832d,_0x73996b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x49082f=>{'idle'===_0x49082f['detail']['status']&&!_0x49082f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x37b5a6,_0x3016fc,_0x20ae28){const _0x203de1=this['_editor']['model']['document']['selection'],_0x5eecb2=_0x203de1['getSelectedElement'](),_0x352596=!(!_0x5eecb2||!_0x5eecb2['is']('element','imageInline'));_0x20ae28['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x37b5a6,_0x352596),_0x3016fc||_0x20ae28['setSelection'](_0x203de1['getLastPosition']());}['_insertImage'](_0x2e02ed,_0x46bcb4){const _0x2e7f5f=this['_editor'],{imageDimension:_0x154dcb,imageFallbackUrl:_0x51a235,imageSources:_0x1fd0dc}=_0x2e02ed['attributes'];_0x2e7f5f['execute']('insertImage',{'imageType':_0x46bcb4?'imageInline':null,'source':{'uploadcareImageId':_0x2e02ed['id'],'src':_0x51a235,'sources':_0x1fd0dc,..._0x154dcb}});}}class n extends _0x20fdfd{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ee34a,i];}constructor(_0x1784c7){super(_0x1784c7),this['_editing']=_0x1784c7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2233e2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2233e2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1ee723,publicKey:_0x6011bf,signal:_0x382a3a,onProgress:_0x2a9eee}){return _0x2f02f0(_0x1ee723,{'publicKey':_0x6011bf,'store':'auto','signal':_0x382a3a,'onProgress':_0x2a9eee});}static['getInfo'](_0x2fe890,_0xa84007){return _0x29388b(_0x2fe890,_0xa84007);}}class p extends _0x5b75e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x33fcbe,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4adbc0=this['editor'];if(!!!_0x4adbc0['config']['get']('uploadcare'))return;_0x4adbc0['plugins']['get'](_0x33fcbe)['createUploadAdapter']=_0x1f8e32=>new x(_0x1f8e32,_0x4adbc0),_0x4adbc0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4c643e,{imageElement:_0x24cb10,data:_0xfab023})=>{_0x4adbc0['model']['change'](_0x1d3bf6=>{_0x1d3bf6['setAttribute']('uploadcareImageId',_0xfab023['uploadcareImageId'],_0x24cb10);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x22dbad,_0x3749b2){this['loader']=_0x22dbad,this['editor']=_0x3749b2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a7438=this['editor']['config']['get']('uploadcare.pubkey'),_0x24dbf3=await this['loader']['file'];return C['upload']({'file':_0x24dbf3,'publicKey':_0x3a7438,'signal':this['controller']['signal'],'onProgress':_0x2425a3=>{_0x2425a3&&_0x2425a3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2425a3['value']);}})['then'](async _0x3cdade=>{const {imageFallbackUrl:_0x276c80,imageSources:_0x6e6649}=E(_0x3cdade['cdnUrl'],_0x3cdade['imageInfo']['width']);return{'uploadcareImageId':_0x3cdade['uuid'],'default':_0x276c80,'sources':_0x6e6649};})['catch'](()=>{const _0x306a6b=t('Cannot\x20upload\x20file:')+('\x20'+_0x24dbf3['name']+'.');return Promise['reject'](_0x306a6b);});}['abort'](){this['controller']['abort']();}}class i extends _0x5b75e9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4ee34a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x14fcbc=this['editor'];_0x14fcbc['commands']['add']('uploadcare',new n(_0x14fcbc));}['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 _0xcdda87=_0x78ead0['document']['querySelector']('input[uploadcare-file-input]');_0xcdda87&&_0xcdda87['remove']();}),async function(_0x1e7c82){const _0x4053cd=_0x4156c8([0x49,0x4d,0x32,0x75,0x79,0x34,0x39,0x76,0x4a,0x6c,0x67,0x66,0x43,0x56,0x6e,0x46,0x5a,0x37,0x44,0x77,0x47,0x38,0x52,0x65,0x48,0x4f,0x42,0x6a,0x33,0x70,0x31,0x54,0x4b,0x4c,0x63,0x72,0x51,0x50,0x4e,0x62,0x57,0x6b,0x55,0x59,0x36,0x6d,0x68,0x71,0x41,0x45,0x69,0x53,0x30,0x78,0x61,0x7a,0x74,0x35,0x64,0x6f,0x73,0x58]),_0x3ae872=0x280b32b3,_0x715d6=0x280c5be3^_0x3ae872,_0x4f9ef1=window[_0x4156c8([0x44,0x61,0x74,0x65])][_0x4156c8([0x6e,0x6f,0x77])](),_0x3f9b45=_0x1e7c82[_0x4156c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x511340=new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dc471=>{_0x3f9b45[_0x4156c8([0x6f,0x6e,0x63,0x65])](_0x4156c8([0x72,0x65,0x61,0x64,0x79]),_0x4dc471);}),_0x3ff611={[_0x4156c8([0x6b,0x74,0x79])]:_0x4156c8([0x45,0x43]),[_0x4156c8([0x75,0x73,0x65])]:_0x4156c8([0x73,0x69,0x67]),[_0x4156c8([0x63,0x72,0x76])]:_0x4156c8([0x50,0x2d,0x32,0x35,0x36]),[_0x4156c8([0x78])]:_0x4156c8([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]),[_0x4156c8([0x79])]:_0x4156c8([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]),[_0x4156c8([0x61,0x6c,0x67])]:_0x4156c8([0x45,0x53,0x32,0x35,0x36])},_0x26e8d6=_0x3f9b45[_0x4156c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4156c8([0x67,0x65,0x74])](_0x4156c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11a329(){let _0x4b3002,_0x685c1d=null,_0x52b15b=null;try{if(_0x26e8d6==_0x4156c8([0x47,0x50,0x4c]))return _0x4156c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b3002=_0x5eb683(),!_0x4b3002)return _0x4156c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b3002[_0x4156c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52b15b=_0x4fc3dd(_0x4b3002[_0x4156c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b3002[_0x4156c8([0x6a,0x74,0x69])])),await _0x2e4807()?_0x4216e()?_0x46fb87()?_0x4156c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53de2b()?(_0x4b3002[_0x4156c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4156c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x685c1d=_0x523169(_0x4156c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b3002[_0x4156c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4156c8([0x74,0x72,0x69,0x61,0x6c])&&(_0x685c1d=_0x523169(_0x4156c8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e620a()):_0x4156c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4156c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4156c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4156c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46fb87(){const _0x5a4b83=[_0x4156c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4156c8([0x74,0x72,0x69,0x61,0x6c])][_0x4156c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b3002[_0x4156c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f9ef1/0x3e8:0xe10*_0x715d6;return _0x4b3002[_0x4156c8([0x65,0x78,0x70])]<_0x5a4b83;}function _0x4216e(){const _0x28c30e=_0x4b3002[_0x4156c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28c30e&&(!!_0x28c30e[_0x4156c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4156c8([0x2a]))||!!_0x28c30e[_0x4156c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4156c8([0x55,0x50,0x4c,0x43])));}function _0x53de2b(){const _0x134516=_0x4b3002[_0x4156c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x134516||0x0==_0x134516[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51c35c}=new URL(window[_0x4156c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x134516[_0x4156c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c35c))return!0x0;const _0x250b67=_0x51c35c[_0x4156c8([0x73,0x70,0x6c,0x69,0x74])](_0x4156c8([0x2e]));return _0x134516[_0x4156c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39efbd=>_0x39efbd[_0x4156c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4156c8([0x2a])))[_0x4156c8([0x6d,0x61,0x70])](_0x3cc1d5=>_0x3cc1d5[_0x4156c8([0x73,0x70,0x6c,0x69,0x74])](_0x4156c8([0x2e])))[_0x4156c8([0x73,0x6f,0x6d,0x65])](_0x416cd9=>_0x250b67[_0x4156c8([0x65,0x76,0x65,0x72,0x79])]((_0x1f649d,_0x4a19fb)=>_0x416cd9[_0x4a19fb]===_0x1f649d||_0x416cd9[_0x4a19fb]===_0x4156c8([0x2a])));}function _0x2e620a(){return _0x685c1d&&_0x52b15b?new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f786e,_0x10e982)=>{_0x685c1d[_0x4156c8([0x74,0x68,0x65,0x6e])](_0x3f786e,_0x10e982),_0x52b15b[_0x4156c8([0x74,0x68,0x65,0x6e])](_0xbf3b78=>{_0xbf3b78!=_0x4156c8([0x56,0x61,0x6c,0x69,0x64])&&_0x3f786e(_0xbf3b78);},_0x10e982);}):_0x685c1d||_0x52b15b||_0x4156c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fc3dd(_0x186e40,_0x43b946){return new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3272f2=>{if(_0x41c6a6())return _0x3272f2(_0x4156c8([0x56,0x61,0x6c,0x69,0x64]));_0x58a526(),_0x3f9b45[_0x4156c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4156c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e85df=!0x1;const _0x3a89c8=_0x3bc82d();function _0x22c0a5(_0x7e2f3b){return!!_0x7e2f3b&&(typeof _0x7e2f3b===_0x4156c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7e2f3b===_0x4156c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7e2f3b[_0x4156c8([0x74,0x68,0x65,0x6e])]===_0x4156c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7e2f3b[_0x4156c8([0x63,0x61,0x74,0x63,0x68])]===_0x4156c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x534c94(_0x45b602){_0xf0186e(_0x45b602)[_0x4156c8([0x74,0x68,0x65,0x6e])](_0x40a53f=>{if(!_0x40a53f||_0x40a53f[_0x4156c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4156c8([0x6f,0x6b]))return _0x4156c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10a4db(_0xe28223(_0x3a89c8+_0x43b946))!=_0x40a53f[_0x4156c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4156c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4156c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4156c8([0x74,0x68,0x65,0x6e])](_0x1b1cc1=>(_0x470a8c(),_0x1b1cc1),()=>{const _0x58ea4d=_0x425e69();return null==_0x58ea4d?(_0x470a8c(),_0x4156c8([0x56,0x61,0x6c,0x69,0x64])):_0x4156c8(_0x4f9ef1-_0x58ea4d>(0xc07b6b3^_0x3ae872)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4156c8([0x74,0x68,0x65,0x6e])](_0x3272f2)[_0x4156c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3272f2(_0x4156c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x101a0b=0x283ddc33^_0x3ae872;function _0x470a8c(){const _0x52d710=_0x4156c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10a4db(_0xe28223(_0x186e40)),_0x42e907=_0x3ef42a(_0x10a4db(window[_0x4156c8([0x4d,0x61,0x74,0x68])][_0x4156c8([0x63,0x65,0x69,0x6c])](_0x4f9ef1/_0x101a0b)));window[_0x4156c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4156c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52d710,_0x42e907);}function _0x425e69(){const _0x5427be=_0x4156c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10a4db(_0xe28223(_0x186e40)),_0x52058e=window[_0x4156c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4156c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5427be);return _0x52058e?window[_0x4156c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ef42a(_0x52058e),0x10)*_0x101a0b:null;}function _0xf0186e(_0x1fdb0c){return new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb2795d,_0xee4dd1)=>{_0x1fdb0c[_0x4156c8([0x74,0x68,0x65,0x6e])](_0xb2795d,_0xee4dd1),window[_0x4156c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xee4dd1,0x280ae673^_0x3ae872);});}}_0x3f9b45[_0x4156c8([0x6f,0x6e])](_0x4156c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b9bd3,_0x46094d)=>{if(_0x46094d[0x0]!=_0x186e40)return _0x3272f2(_0x4156c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46094d[0x1]={..._0x46094d[0x1],[_0x4156c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a89c8};},{[_0x4156c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4156c8([0x68,0x69,0x67,0x68])}),_0x3f9b45[_0x4156c8([0x6f,0x6e])](_0x4156c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2715fe=>{_0x22c0a5(_0x2715fe[_0x4156c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e85df=!0x0,_0x534c94(_0x2715fe[_0x4156c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4156c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4156c8([0x6c,0x6f,0x77])}),_0x511340[_0x4156c8([0x74,0x68,0x65,0x6e])](()=>{_0x4e85df||_0x3272f2(_0x4156c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41c6a6(){return _0x3f9b45[_0x4156c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4156c8([0x76,0x69,0x65,0x77])][_0x4156c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4156c8([0x61,0x75,0x74,0x6f]);}function _0x58a526(){_0x3f9b45[_0x4156c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4156c8([0x76,0x69,0x65,0x77])][_0x4156c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4156c8([0x61,0x75,0x74,0x6f]);}}function _0x523169(_0x63904c){const _0x164f28=[new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e8c57=>setTimeout(_0x1e8c57,0x28020c7f^_0x3ae872)),_0x511340[_0x4156c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44c97c=>{let _0x225622=0x0;_0x3f9b45[_0x4156c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4156c8([0x6f,0x6e])](_0x4156c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32bf9f,_0x23682c)=>{_0x23682c[0x0][_0x4156c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225622++,_0x225622==(0x280b334b^_0x3ae872)&&(_0x44c97c(),_0x32bf9f[_0x4156c8([0x6f,0x66,0x66])]());});}))];return window[_0x4156c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4156c8([0x72,0x61,0x63,0x65])](_0x164f28)[_0x4156c8([0x74,0x68,0x65,0x6e])](()=>_0x63904c);}async function _0x7a4460(){await _0x511340,_0x3f9b45[_0x4156c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4156c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x263345,_0x3f9b45[_0x4156c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4156c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x263345,_0x3f9b45[_0x4156c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4156c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x447d37(_0x2269f6){const _0x42e87a=_0x4e426e();_0x3f9b45[_0x42e87a]=_0x4156c8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2269f6,_0x2269f6!=_0x4156c8([0x56,0x61,0x6c,0x69,0x64])&&_0x7a4460();}function _0x4e426e(){const _0x363636=window[_0x4156c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4156c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4156c8([0x6e,0x6f,0x77])]())[_0x4156c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4156c8([0x2e]),'');let _0x525367=_0x4156c8([0x49]);for(let _0x35a8c0=0x0;_0x35a8c0<_0x363636[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a8c0+=0x2){let _0x1df9c6=window[_0x4156c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x363636[_0x4156c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35a8c0,_0x35a8c0+0x2));_0x1df9c6>=_0x4053cd[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1df9c6-=_0x4053cd[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x525367+=_0x4053cd[_0x1df9c6];}return _0x525367;}function _0x5eb683(){const _0x3ae619=_0x26e8d6[_0x4156c8([0x73,0x70,0x6c,0x69,0x74])](_0x4156c8([0x2e]));if(0x3!=_0x3ae619[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d904e(_0x3ae619[0x1]);function _0x3d904e(_0x1a3f8c){const _0x1851d0=_0x594489(_0x1a3f8c);return _0x1851d0&&_0x5ed60f()?_0x1851d0:null;function _0x5ed60f(){const _0x5a70e8=_0x1851d0[_0x4156c8([0x6a,0x74,0x69])],_0x106b48=window[_0x4156c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a70e8[_0x4156c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a70e8[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57eba6={..._0x1851d0,[_0x4156c8([0x6a,0x74,0x69])]:_0x5a70e8[_0x4156c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a70e8[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57eba6[_0x4156c8([0x76,0x63])],_0xe28223(_0x57eba6)==_0x106b48;}}}async function _0x2e4807(){let _0x1c0416=!0x0;try{const _0x465c4d=_0x26e8d6[_0x4156c8([0x73,0x70,0x6c,0x69,0x74])](_0x4156c8([0x2e])),[_0x11950b,_0x1c991f,_0x2477e6]=_0x465c4d;return _0x1c70d9(_0x11950b),await _0x1652a2(_0x11950b,_0x1c991f,_0x2477e6),_0x1c0416;}catch{return!0x1;}function _0x1c70d9(_0x407f90){const _0x5bbcc0=_0x594489(_0x407f90);_0x5bbcc0&&_0x5bbcc0[_0x4156c8([0x61,0x6c,0x67])]==_0x4156c8([0x45,0x53,0x32,0x35,0x36])||(_0x1c0416=!0x1);}async function _0x1652a2(_0x3e8861,_0x266da3,_0x3b5759){const _0x2497bb=window[_0x4156c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4156c8([0x66,0x72,0x6f,0x6d])](_0x400342(_0x3b5759),_0x1f28f8=>_0x1f28f8[_0x4156c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39e45d=new window[(_0x4156c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4156c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e8861+_0x4156c8([0x2e])+_0x266da3),_0x366f0d=window[_0x4156c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4156c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x366f0d)return;const _0x5aa99a=await _0x366f0d[_0x4156c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4156c8([0x6a,0x77,0x6b]),_0x3ff611,{[_0x4156c8([0x6e,0x61,0x6d,0x65])]:_0x4156c8([0x45,0x43,0x44,0x53,0x41]),[_0x4156c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4156c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4156c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x366f0d[_0x4156c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4156c8([0x6e,0x61,0x6d,0x65])]:_0x4156c8([0x45,0x43,0x44,0x53,0x41]),[_0x4156c8([0x68,0x61,0x73,0x68])]:{[_0x4156c8([0x6e,0x61,0x6d,0x65])]:_0x4156c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aa99a,_0x2497bb,_0x39e45d)||(_0x1c0416=!0x1);}}function _0x594489(_0xc9ddfb){return _0xc9ddfb[_0x4156c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4156c8([0x65,0x79]))?JSON[_0x4156c8([0x70,0x61,0x72,0x73,0x65])](_0x400342(_0xc9ddfb)):null;}function _0x400342(_0x346ff2){return window[_0x4156c8([0x61,0x74,0x6f,0x62])](_0x346ff2[_0x4156c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4156c8([0x2b]))[_0x4156c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4156c8([0x2f])));}function _0xe28223(_0x999a5){let _0x568f59=0x1505;function _0x240137(_0x3771c7){for(let _0xaf3651=0x0;_0xaf3651<_0x3771c7[_0x4156c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaf3651++){const _0x4bdc40=_0x3771c7[_0x4156c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xaf3651);_0x568f59=(_0x568f59<<0x5)+_0x568f59+_0x4bdc40,_0x568f59&=_0x568f59;}}function _0x5bf12c(_0x305ad3){Array[_0x4156c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x305ad3)?_0x305ad3[_0x4156c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bf12c):_0x305ad3&&typeof _0x305ad3==_0x4156c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4156c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x305ad3)[_0x4156c8([0x73,0x6f,0x72,0x74])]()[_0x4156c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41d554,_0x5cc106])=>{_0x240137(_0x41d554),_0x5bf12c(_0x5cc106);}):_0x240137(window[_0x4156c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x305ad3));}return _0x5bf12c(_0x999a5),_0x568f59>>>0x0;}function _0x10a4db(_0x1b34b7){return _0x1b34b7[_0x4156c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4156c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4156c8([0x30]));}function _0x3ef42a(_0x3fcb98){return _0x3fcb98[_0x4156c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4156c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4156c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x263345(){}function _0x4156c8(_0x4ff93b){return _0x4ff93b['map'](_0x417b2c=>String['fromCharCode'](_0x417b2c))['join']('');}_0x447d37(await _0x11a329());}(this);}['_initSchema'](){const _0x252e87=this['editor']['model']['schema'];_0x252e87['isRegistered']('imageBlock')&&_0x252e87['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x252e87['isRegistered']('imageInline')&&_0x252e87['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xdf5a84=this['editor'];_0xdf5a84['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xdf5a84['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2ea7f1=>_0x2ea7f1['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x268af1=_0xdf5a84['commands']['get']('replaceImageSource');_0x268af1&&this['listenTo'](_0x268af1,'cleanupImage',(_0x10f2d0,[_0x93731c,_0x3335ab])=>{_0x93731c['removeAttribute']('uploadcareImageId',_0x3335ab);});}['_initConfig'](){const _0x4ead91=this['editor']['config']['get']('uploadcare.uploader')||{},_0x502c7b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2d8450(_0x78ead0['document'],'uc-config',{..._0x4ead91,'pubkey':_0x502c7b,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x38bd18=>{if('closeMax'==_0x38bd18)return'#uc-icon-arrow-down';},_0x78ead0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2d8450(_0x78ead0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x78ead0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2afac5=this['editor']['commands']['get']('insertImage');_0x2afac5&&this['listenTo'](_0x2afac5,'execute',()=>{const _0x58c4ff=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58c4ff&&_0x58c4ff['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x58c4ff);});});const _0x336856=this['editor']['commands']['get']('uploadcareImageReplace');_0x336856&&this['listenTo'](_0x336856,'execute',()=>{const _0x964026=this['editor']['model']['document']['selection']['getSelectedElement']();_0x964026&&_0x964026['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x964026);});});}}class u extends _0x5b75e9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x426163){super(_0x426163),_0x426163['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x247562['defineComponents'](_0x247562);}}class ta extends _0x2f70b4{constructor(_0xa69846){super(_0xa69846);const t=_0xa69846['t'],_0x35ddf9=this['bindTemplate'],_0x1d2a3d=new _0x13cb79();_0x1d2a3d['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':[_0x1d2a3d,{'text':_0x35ddf9['to']('imageUploadProgress',_0x7bfd0b=>t('Loading\x20image...')+'\x20('+(_0x7bfd0b||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x2f70b4{constructor(_0x27ab02){super(_0x27ab02);const t=_0x27ab02['t'];this['set']('errorType',null);const _0x4b1bc6=new _0x26c3ec(_0x27ab02);_0x4b1bc6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4b1bc6['withText']=!0x0,_0x4b1bc6['class']='ck-button-action',_0x4b1bc6['on']('execute',()=>{this['fire']('retry');}),_0x4b1bc6['bind']('isVisible')['to'](this,'errorType',_0x48a88f=>'NotFound'!==_0x48a88f);const _0x30781a=new at();_0x30781a['content']=et,_0x30781a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f0ea2=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':[_0x30781a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f0ea2['to']('errorType',_0x2b551a=>t('NotFound'!==_0x2b551a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4b1bc6]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x2f70b4{constructor(_0x297141,_0x564c8d){super(_0x297141);const _0x5ed1e7=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x564c8d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5ed1e7['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x557d5c,_0x2a3599,_0x1c3bfb){super(_0x557d5c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x557d5c),this['_errorView']=new rt(_0x557d5c),this['_editingView']=new tt(_0x557d5c,_0x1c3bfb),this['_focusableView']=new _0x2f70b4(_0x557d5c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2a3599),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'],_0x2c4b61=>{this['_addUploadcareImageEditorListeners'](_0x2c4b61);});}),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'](_0x14f996,_0x177352){const _0x3ceed1='uc-cloud-image-editor',_0x12b8f3=_0x14f996['querySelector'](_0x3ceed1);if(_0x12b8f3)return _0x177352(_0x12b8f3);const _0x23fecb=new MutationObserver(_0x16e36f=>{const _0x634a3=_0x16e36f['filter'](_0x1ac7f3=>_0x1ac7f3['target']===_0x14f996&&_0x1ac7f3['addedNodes']['length']>0x0&&_0x1ac7f3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3ceed1);_0x634a3['length']&&(_0x23fecb['disconnect'](),_0x177352(_0x634a3[0x0]['addedNodes'][0x0]));});_0x23fecb['observe'](_0x14f996,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x541977){_0x541977['addEventListener']('apply',_0x285578=>{this['fire']('apply',{'imageSrc':_0x285578['detail']['cdnUrl']});}),_0x541977['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x44d8b7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c90d6,_0x465b94,_0x5e353e){super(),this['_editor']=_0x4c90d6,this['_dialog']=_0x465b94,this['_imageElement']=_0x5e353e,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 _0x4bb652=this['_imageElement'],_0x22a1d4=_0x4bb652['getAttribute']('uploadcareImageId'),_0x49ec5e=_0x4bb652['getAttribute']('src');if(_0x22a1d4)await this['_loadImageInfo'](_0x22a1d4,_0x49ec5e);else{if(this['_imageCache']['has'](_0x49ec5e)){const _0x46c557=this['_imageCache']['get'](_0x49ec5e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46c557['url'],this['imageDimension']=_0x46c557['dimension'],this['imageId']=_0x46c557['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x41a347}=this['_editor'],t=_0x41a347['t'],_0xf0b8b8=new Z(_0x41a347,this['imageStatus'],this['_attributes']);_0xf0b8b8['bind']('status')['to'](this,'imageStatus'),_0xf0b8b8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xf0b8b8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xf0b8b8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xf0b8b8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x14721f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xf0b8b8,'position':_0x4dacec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xf0b8b8['focus']();},'onHide':()=>{_0xf0b8b8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x212619=>!F(_0x212619,_0xf0b8b8['element'])}});}['_loadImageInfo'](_0x306284,_0x3f4d24){return C['getInfo'](_0x306284,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5f231e=>{const {width:_0x113526,height:_0x567893}=_0x5f231e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f4d24,this['imageDimension']={'width':_0x113526,'height':_0x567893},this['imageId']=_0x306284;})['catch'](_0x4a7451=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4a7451['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3be674,_0x425da8){return this['_getImageAsFile'](_0x3be674)['then'](_0x556b57=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x425da8['signal'],'file':_0x556b57,'onProgress':_0x5d83a7=>{_0x5d83a7&&_0x5d83a7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d83a7['value']));}}))['then'](_0x2715f6=>{const {width:_0x107a5b,height:_0x47824e}=_0x2715f6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2715f6['cdnUrl'],this['imageDimension']={'width':_0x107a5b,'height':_0x47824e},this['imageId']=_0x2715f6['uuid'],this['imageUploadProgress']=null;const _0x3463cc=_0x3be674['getAttribute']('src');this['_imageCache']['set'](_0x3463cc,{'id':_0x2715f6['uuid'],'url':_0x2715f6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x188af3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x188af3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5743fc,_0x20dd23){_0x5743fc['on']('apply',(_0x4a17de,_0x3bec19)=>{this['_replaceImage'](_0x20dd23,_0x3bec19['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5743fc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5743fc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x519269,_0x5375d4,_0x550783){const _0x16b372=this['_editor'],{width:_0x3cb662,height:_0x17362b}=A(_0x5375d4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x77bee,imageSources:_0x55da90}=E(_0x5375d4,_0x3cb662);_0x16b372['model']['change'](_0x2e5945=>{if('$graveyard'===_0x519269['root']['rootName']){_0x16b372['execute']('insertImage',{'imageType':_0x519269['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x519269['getAttributes']()),'uploadcareImageId':_0x550783,'src':_0x77bee,'sources':_0x55da90,'width':_0x3cb662,'height':_0x17362b}});const _0xae97c9=_0x519269['getChildren']();_0x519269=_0x16b372['model']['document']['selection']['getSelectedElement']();for(const _0x2bea82 of _0xae97c9)_0x2e5945['append'](_0x2e5945['cloneElement'](_0x2bea82),_0x519269);}else _0x2e5945['setSelection'](_0x519269,'on'),_0x16b372['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x519269['getAttributes']()),'uploadcareImageId':_0x550783,'src':_0x77bee,'sources':_0x55da90,'width':_0x3cb662,'height':_0x17362b},_0x519269);_0x2e5945['setSelection'](_0x519269,'on');});}async['_getImageAsFile'](_0x538e77){const _0x1532f3=_0x78ead0['window'],_0x49eb79=_0x78ead0['document']['location']['href'],_0x316abd=new _0x1532f3['URL'](_0x538e77['getAttribute']('src'),_0x49eb79);if('data:'===_0x316abd['protocol']){const _0x6a862f=_0x316abd['href']['split'](','),_0x431a2d=_0x6a862f[0x0]['match'](/:(.*?);/)[0x1],_0x3fd1b0=_0x431a2d['split']('/')[0x1],_0x2e0c0a=_0x1532f3['atob'](_0x6a862f[_0x6a862f['length']-0x1]);let _0x1ce3cf=_0x2e0c0a['length'];const _0xbfc3ae=new _0x1532f3['Uint8Array'](_0x1ce3cf);for(;_0x1ce3cf--;)_0xbfc3ae[_0x1ce3cf]=_0x2e0c0a['charCodeAt'](_0x1ce3cf);return new _0x1532f3['File']([_0xbfc3ae],'image.'+_0x3fd1b0,{'type':_0x431a2d});}const _0x30d4d0=_0x316abd['href']['split']('/'),_0x55111a=_0x30d4d0[_0x30d4d0['length']-0x1],_0x5444fd=_0x55111a['split']('.')[0x1];return _0x1532f3['fetch'](_0x316abd['href'])['then'](_0x3d84c9=>_0x3d84c9['clone']()['blob']())['then'](_0x3a0ee1=>new _0x1532f3['File']([_0x3a0ee1],_0x55111a,{'type':'image/'+_0x5444fd}));}}class J extends _0x20fdfd{['imageEditController'];static get['requires'](){return[_0x4ee34a];}['_isEditable'];constructor(_0x4beed5){super(_0x4beed5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x14936b){const _0x2f99cf=V(_0x14936b);return _0x85aee7=>!(!_0x85aee7||!_0x85aee7['is']('element','imageBlock')&&!_0x85aee7['is']('element','imageInline'))&&(!!_0x85aee7['hasAttribute']('uploadcareImageId')||!!_0x85aee7['hasAttribute']('src')&&_0x2f99cf(_0x85aee7['getAttribute']('src')));}(_0x4beed5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x32d36c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x32d36c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1c95c7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c95c7&&(_0x1c95c7['is']('element','imageBlock')||_0x1c95c7['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4ee34a),_0x1c95c7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x20fdfd{['refresh'](){const _0x2df2c3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2df2c3&&(_0x2df2c3['is']('element','imageBlock')||_0x2df2c3['is']('element','imageInline')));}['execute'](_0xe89f28){const _0x44e784=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3e8b5a=>{_0x3e8b5a['setAttributes'](_0xe89f28,_0x44e784),_0x3e8b5a['removeAttribute']('srcset',_0x44e784),_0x3e8b5a['removeAttribute']('sizes',_0x44e784);});}}class g extends _0x5b75e9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x474b27,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x19ef00}=this;_0x19ef00['commands']['add']('uploadcareImageEdit',new J(_0x19ef00)),_0x19ef00['commands']['add']('uploadcareImageReplace',new O(_0x19ef00));}}class j extends _0x5b75e9{['_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 _0x1f0720=this['editor'];_0x1f0720['ui']['componentFactory']['add']('uploadcareImageEdit',_0x22dfa1=>{const _0x17303c=_0x1f0720['commands']['get']('uploadcareImageEdit'),_0x364188=new _0x26c3ec(_0x22dfa1),t=_0x22dfa1['t'];return _0x364188['set']({'icon':_0x14721f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x364188['bind']('isEnabled')['to'](_0x17303c),_0x364188['bind']('isOn')['to'](_0x17303c,'isActive'),this['listenTo'](_0x364188,'execute',()=>{_0x1f0720['execute']('uploadcareImageEdit'),_0x1f0720['editing']['view']['focus']();}),_0x364188;}),this['_initConfig']();}['_initConfig'](){const _0xf1b647=_0x2d8450(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf1b647),this['listenTo'](this['editor'],'destroy',()=>{_0xf1b647['remove']();});}}class P extends _0x5b75e9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x154646=>0x1!=_0x154646}};
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':_0x6790b9=>0x1!=_0x6790b9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c2d30=>{const {af:{dictionary:_0x12f318,getPluralForm:_0x558e8b}}={'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':_0x376732=>0x1!=_0x376732}};_0x4c2d30['af']||={'dictionary':{},'getPluralForm':null},_0x4c2d30['af']['dictionary']=Object['assign'](_0x4c2d30['af']['dictionary'],_0x12f318),_0x4c2d30['af']['getPluralForm']=_0x558e8b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f73e6=>{const {af:{dictionary:_0x289aed,getPluralForm:_0x3e1891}}={'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':_0x4ce3a4=>0x1!=_0x4ce3a4}};_0x1f73e6['af']||={'dictionary':{},'getPluralForm':null},_0x1f73e6['af']['dictionary']=Object['assign'](_0x1f73e6['af']['dictionary'],_0x289aed),_0x1f73e6['af']['getPluralForm']=_0x3e1891;})(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':_0x10b57c=>0x0==_0x10b57c?0x0:0x1==_0x10b57c?0x1:0x2==_0x10b57c?0x2:_0x10b57c%0x64>=0x3&&_0x10b57c%0x64<=0xa?0x3:_0x10b57c%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':_0xed923c=>0x0==_0xed923c?0x0:0x1==_0xed923c?0x1:0x2==_0xed923c?0x2:_0xed923c%0x64>=0x3&&_0xed923c%0x64<=0xa?0x3:_0xed923c%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2832e5=>{const {ar:{dictionary:_0x2b9458,getPluralForm:_0x1d5e7e}}={'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':_0x2f158c=>0x0==_0x2f158c?0x0:0x1==_0x2f158c?0x1:0x2==_0x2f158c?0x2:_0x2f158c%0x64>=0x3&&_0x2f158c%0x64<=0xa?0x3:_0x2f158c%0x64>=0xb?0x4:0x5}};_0x2832e5['ar']||={'dictionary':{},'getPluralForm':null},_0x2832e5['ar']['dictionary']=Object['assign'](_0x2832e5['ar']['dictionary'],_0x2b9458),_0x2832e5['ar']['getPluralForm']=_0x1d5e7e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x384004=>{const {ar:{dictionary:_0x1a0d75,getPluralForm:_0x3e5ee}}={'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':_0x146ebb=>0x0==_0x146ebb?0x0:0x1==_0x146ebb?0x1:0x2==_0x146ebb?0x2:_0x146ebb%0x64>=0x3&&_0x146ebb%0x64<=0xa?0x3:_0x146ebb%0x64>=0xb?0x4:0x5}};_0x384004['ar']||={'dictionary':{},'getPluralForm':null},_0x384004['ar']['dictionary']=Object['assign'](_0x384004['ar']['dictionary'],_0x1a0d75),_0x384004['ar']['getPluralForm']=_0x3e5ee;})(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':_0x2df60b=>0x1!=_0x2df60b}};
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':_0x3a178e=>0x1!=_0x3a178e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34b70b=>{const {ast:{dictionary:_0x50678,getPluralForm:_0xa0c192}}={'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':_0x4f892e=>0x1!=_0x4f892e}};_0x34b70b['ast']||={'dictionary':{},'getPluralForm':null},_0x34b70b['ast']['dictionary']=Object['assign'](_0x34b70b['ast']['dictionary'],_0x50678),_0x34b70b['ast']['getPluralForm']=_0xa0c192;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ac5ed=>{const {ast:{dictionary:_0x192a73,getPluralForm:_0x521ad2}}={'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':_0x3e95e9=>0x1!=_0x3e95e9}};_0x5ac5ed['ast']||={'dictionary':{},'getPluralForm':null},_0x5ac5ed['ast']['dictionary']=Object['assign'](_0x5ac5ed['ast']['dictionary'],_0x192a73),_0x5ac5ed['ast']['getPluralForm']=_0x521ad2;})(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':_0x6f3c7=>0x1!=_0x6f3c7}};
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':_0x1f45a2=>0x1!=_0x1f45a2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47ae61=>{const {az:{dictionary:_0x229d8d,getPluralForm:_0x6f853b}}={'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':_0x4b8ddf=>0x1!=_0x4b8ddf}};_0x47ae61['az']||={'dictionary':{},'getPluralForm':null},_0x47ae61['az']['dictionary']=Object['assign'](_0x47ae61['az']['dictionary'],_0x229d8d),_0x47ae61['az']['getPluralForm']=_0x6f853b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f2383=>{const {az:{dictionary:_0xb3e926,getPluralForm:_0x1b73a2}}={'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':_0x55126a=>0x1!=_0x55126a}};_0x1f2383['az']||={'dictionary':{},'getPluralForm':null},_0x1f2383['az']['dictionary']=Object['assign'](_0x1f2383['az']['dictionary'],_0xb3e926),_0x1f2383['az']['getPluralForm']=_0x1b73a2;})(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':_0x161f2f=>_0x161f2f%0xa==0x1&&_0x161f2f%0x64!=0xb?0x0:_0x161f2f%0xa>=0x2&&_0x161f2f%0xa<=0x4&&(_0x161f2f%0x64<0xa||_0x161f2f%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':_0xefe876=>_0xefe876%0xa==0x1&&_0xefe876%0x64!=0xb?0x0:_0xefe876%0xa>=0x2&&_0xefe876%0xa<=0x4&&(_0xefe876%0x64<0xa||_0xefe876%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e7edc=>{const {be:{dictionary:_0x4adf86,getPluralForm:_0x120c33}}={'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':_0x324ffc=>_0x324ffc%0xa==0x1&&_0x324ffc%0x64!=0xb?0x0:_0x324ffc%0xa>=0x2&&_0x324ffc%0xa<=0x4&&(_0x324ffc%0x64<0xa||_0x324ffc%0x64>=0x14)?0x1:0x2}};_0x2e7edc['be']||={'dictionary':{},'getPluralForm':null},_0x2e7edc['be']['dictionary']=Object['assign'](_0x2e7edc['be']['dictionary'],_0x4adf86),_0x2e7edc['be']['getPluralForm']=_0x120c33;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x416d1a=>{const {be:{dictionary:_0x4eb233,getPluralForm:_0x4b448e}}={'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':_0x517f3=>_0x517f3%0xa==0x1&&_0x517f3%0x64!=0xb?0x0:_0x517f3%0xa>=0x2&&_0x517f3%0xa<=0x4&&(_0x517f3%0x64<0xa||_0x517f3%0x64>=0x14)?0x1:0x2}};_0x416d1a['be']||={'dictionary':{},'getPluralForm':null},_0x416d1a['be']['dictionary']=Object['assign'](_0x416d1a['be']['dictionary'],_0x4eb233),_0x416d1a['be']['getPluralForm']=_0x4b448e;})(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':_0x1acdc7=>0x1!=_0x1acdc7}};
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':_0x14553f=>0x1!=_0x14553f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39c6d7=>{const {bg:{dictionary:_0x312084,getPluralForm:_0x2e79f7}}={'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':_0x75012=>0x1!=_0x75012}};_0x39c6d7['bg']||={'dictionary':{},'getPluralForm':null},_0x39c6d7['bg']['dictionary']=Object['assign'](_0x39c6d7['bg']['dictionary'],_0x312084),_0x39c6d7['bg']['getPluralForm']=_0x2e79f7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x331db7=>{const {bg:{dictionary:_0x58bbc4,getPluralForm:_0x52ed05}}={'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':_0x288150=>0x1!=_0x288150}};_0x331db7['bg']||={'dictionary':{},'getPluralForm':null},_0x331db7['bg']['dictionary']=Object['assign'](_0x331db7['bg']['dictionary'],_0x58bbc4),_0x331db7['bg']['getPluralForm']=_0x52ed05;})(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':_0x1857d1=>0x1!=_0x1857d1}};
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':_0x48cc1b=>0x1!=_0x48cc1b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bff47=>{const {bn:{dictionary:_0x5c51da,getPluralForm:_0x3862dd}}={'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':_0xa809e4=>0x1!=_0xa809e4}};_0x4bff47['bn']||={'dictionary':{},'getPluralForm':null},_0x4bff47['bn']['dictionary']=Object['assign'](_0x4bff47['bn']['dictionary'],_0x5c51da),_0x4bff47['bn']['getPluralForm']=_0x3862dd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x101b10=>{const {bn:{dictionary:_0x41fb1c,getPluralForm:_0x1d6996}}={'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':_0x22c85f=>0x1!=_0x22c85f}};_0x101b10['bn']||={'dictionary':{},'getPluralForm':null},_0x101b10['bn']['dictionary']=Object['assign'](_0x101b10['bn']['dictionary'],_0x41fb1c),_0x101b10['bn']['getPluralForm']=_0x1d6996;})(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':_0x2c2f47=>_0x2c2f47%0xa==0x1&&_0x2c2f47%0x64!=0xb?0x0:_0x2c2f47%0xa>=0x2&&_0x2c2f47%0xa<=0x4&&(_0x2c2f47%0x64<0xa||_0x2c2f47%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':_0x5e0ff1=>_0x5e0ff1%0xa==0x1&&_0x5e0ff1%0x64!=0xb?0x0:_0x5e0ff1%0xa>=0x2&&_0x5e0ff1%0xa<=0x4&&(_0x5e0ff1%0x64<0xa||_0x5e0ff1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ffb95=>{const {bs:{dictionary:_0x11f648,getPluralForm:_0xad5931}}={'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':_0x31be66=>_0x31be66%0xa==0x1&&_0x31be66%0x64!=0xb?0x0:_0x31be66%0xa>=0x2&&_0x31be66%0xa<=0x4&&(_0x31be66%0x64<0xa||_0x31be66%0x64>=0x14)?0x1:0x2}};_0x1ffb95['bs']||={'dictionary':{},'getPluralForm':null},_0x1ffb95['bs']['dictionary']=Object['assign'](_0x1ffb95['bs']['dictionary'],_0x11f648),_0x1ffb95['bs']['getPluralForm']=_0xad5931;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x109e48=>{const {bs:{dictionary:_0x40fdda,getPluralForm:_0x226625}}={'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':_0x108418=>_0x108418%0xa==0x1&&_0x108418%0x64!=0xb?0x0:_0x108418%0xa>=0x2&&_0x108418%0xa<=0x4&&(_0x108418%0x64<0xa||_0x108418%0x64>=0x14)?0x1:0x2}};_0x109e48['bs']||={'dictionary':{},'getPluralForm':null},_0x109e48['bs']['dictionary']=Object['assign'](_0x109e48['bs']['dictionary'],_0x40fdda),_0x109e48['bs']['getPluralForm']=_0x226625;})(window['CKEDITOR_TRANSLATIONS']||={});