@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260115.0 → 0.0.0-nightly-next-20260116.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/dist/augmentation.d.ts +0 -4
  2. package/dist/index.d.ts +0 -4
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/dist/ui/uploadcarecontroller.d.ts +0 -4
  151. package/dist/ui/uploadcareformview.d.ts +0 -4
  152. package/dist/uploadcare.d.ts +0 -4
  153. package/dist/uploadcarecommand.d.ts +0 -4
  154. package/dist/uploadcareconfig.d.ts +0 -4
  155. package/dist/uploadcareediting.d.ts +0 -4
  156. package/dist/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +0 -4
  157. package/dist/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +0 -4
  158. package/dist/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +0 -4
  159. package/dist/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +0 -4
  160. package/dist/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +0 -4
  161. package/dist/uploadcareimageedit/uploadcareimageeditcommand.d.ts +0 -4
  162. package/dist/uploadcareimageedit/uploadcareimageeditediting.d.ts +0 -4
  163. package/dist/uploadcareimageedit/uploadcareimageeditui.d.ts +0 -4
  164. package/dist/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +0 -4
  165. package/dist/uploadcareimageedit.d.ts +0 -4
  166. package/dist/uploadcareui.d.ts +0 -4
  167. package/dist/uploadcareuploadadapter.d.ts +0 -4
  168. package/dist/utils/common-translations.d.ts +0 -4
  169. package/dist/utils/dialogfocusmanagerview.d.ts +0 -4
  170. package/dist/utils/editingutils.d.ts +0 -4
  171. package/dist/utils/isancestor.d.ts +0 -4
  172. package/dist/utils/uploadutils.d.ts +0 -4
  173. package/package.json +9 -9
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
package/dist/index.d.ts CHANGED
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x15d2c8,Command as _0x4d5053}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x29004f,IconGooglePhotos as _0xf9a7e6,IconGoogleDrive as _0x246e2e,IconFacebook as _0x1e874d,IconDropbox as _0x2f9dcd,IconUploadcareLink as _0xb92cd5,IconUploadcareImageUpload as _0x511932,IconError as _0x1c5869,IconUploadcareImageEdit as _0x4dd986}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x549855,MenuBarMenuListItemButtonView as _0xe4f1e0,View as _0x11b1d6,FocusCycler as _0x171ed0,Dialog as _0x31b948,DialogViewPosition as _0x2ed971,SpinnerView as _0x365f57,IconView as _0x1abb9a,Notification as _0x58bff2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1497b5,DomEmitterMixin as _0x14bc35,global as _0x4c41e4,getAncestors as _0x8eeca4,ObservableMixin as _0x1f2ac8,uid as _0x596c2d,createElement as _0x484ddd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1a1358}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x48e3e6,info as _0x59576f}from'@uploadcare/upload-client';import*as _0x37a3ae from'@uploadcare/file-uploader';var S=function(_0x81510f){return _0x81510f['Local']='local',_0x81510f['URL']='url',_0x81510f['Dropbox']='dropbox',_0x81510f['GDrive']='gdrive',_0x81510f['Facebook']='facebook',_0x81510f['GPhotos']='gphotos',_0x81510f['OneDrive']='onedrive',_0x81510f;}({});function T(_0x5bb890,_0x45ee2e,_0x1b4bf1){const t=_0x5bb890['t'],_0x548c05=_0x5bb890['t'];switch(_0x45ee2e){case S['Local']:return{'text':_0x548c05('Insert'===_0x1b4bf1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x548c05('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x1b4bf1?_0x548c05('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x548c05('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x1b4bf1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x45ee2e;}}class A extends _0x15d2c8{['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 _0x50007f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51426;for(const _0x458d28 in _0x50007f){const _0x25688f=_0x458d28,_0x2d4d4f=_0x50007f[_0x25688f];if('uploadcareLicenseKeyValid'==_0x2d4d4f||'uploadcareLicenseKeyInvalid'==_0x2d4d4f||'uploadcareLicenseKeyExpired'==_0x2d4d4f||'uploadcareLicenseKeyDomainLimit'==_0x2d4d4f||'uploadcareLicenseKeyNotAllowed'==_0x2d4d4f||'uploadcareLicenseKeyEvaluationLimit'==_0x2d4d4f||'uploadcareLicenseKeyUsageLimit'==_0x2d4d4f){delete _0x50007f[_0x25688f],_0x51426=_0x2d4d4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x51426&&_0x50007f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x51426&&_0x50007f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x51426&&_0x50007f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x51426&&_0x50007f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x51426&&_0x50007f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x51426&&_0x50007f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b21c5}=this,_0x39c7a2=_0x5b21c5['commands']['get']('uploadcare');if(!_0x39c7a2)return;const _0x3543b7=this['_normalizeConfigSourceList'](_0x5b21c5['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x429cfb,_0x3dc0e8)=>{const _0xe17519=this['_getIntegrationKey'](_0x3dc0e8['type']);return _0x429cfb[_0xe17519]||(_0x429cfb[_0xe17519]=[]),_0x429cfb[_0xe17519]['push'](_0x3dc0e8),_0x429cfb;},{});_0x5b21c5['plugins']['has']('ImageInsertUI')&&_0x5b21c5['commands']['get']('uploadcare')&&Object['entries'](_0x3543b7)['forEach'](([_0x422a2f,_0x531761])=>{_0x5b21c5['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x422a2f,'observable':()=>_0x39c7a2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x531761),'formViewCreator':()=>this['_createDropdownButtons'](_0x531761),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x531761),'override':'assetManager'!==_0x422a2f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x7114c1){const {locale:_0x146bf1}=this['editor'];return _0x7114c1['map'](_0x5717d0=>{const _0x33e0c8=T(_0x146bf1,_0x5717d0,'Insert');switch(_0x5717d0){case S['Local']:return{'icon':_0x511932,'type':S['Local'],..._0x33e0c8};case S['URL']:return{'icon':_0xb92cd5,'type':S['URL'],..._0x33e0c8};case S['Dropbox']:return{'icon':_0x2f9dcd,'type':S['Dropbox'],..._0x33e0c8};case S['Facebook']:return{'icon':_0x1e874d,'type':S['Facebook'],..._0x33e0c8};case S['GDrive']:return{'icon':_0x246e2e,'type':S['GDrive'],..._0x33e0c8};case S['GPhotos']:return{'icon':_0xf9a7e6,'type':S['GPhotos'],..._0x33e0c8};case S['OneDrive']:return{'icon':_0x29004f,'type':S['OneDrive'],..._0x33e0c8};}});}['_getIntegrationKey'](_0x68dc73){switch(_0x68dc73){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x528e15,_0x1d6a95){const _0xeff959=this['editor'],_0x25ce35=new _0x528e15(_0xeff959['locale']),_0x29dbf1=_0xeff959['commands']['get']('uploadcare');return _0x25ce35['bind']('isEnabled')['to'](_0x29dbf1),_0x25ce35['on']('execute',()=>{_0x29dbf1['execute'](_0x1d6a95);}),_0x25ce35;}['_createToolbarButton'](_0x315a68){const {locale:_0x567862}=this['editor'],_0x5832ff=this['editor']['plugins']['get']('ImageInsertUI'),_0x455cae=_0x315a68[0x0],_0x59a418=this['_createButton'](_0x549855,_0x455cae['type']);return _0x59a418['icon']=_0x455cae['icon'],_0x59a418['bind']('label')['to'](_0x5832ff,'isImageSelected',_0x232989=>T(_0x567862,_0x455cae['type'],_0x232989?'Replace':'Insert')['text']),_0x59a418['tooltip']=!0x0,_0x59a418;}['_createDropdownButtons'](_0x3c20fd){const {locale:_0x5826f7}=this['editor'],_0x58251e=this['editor']['plugins']['get']('ImageInsertUI');return _0x3c20fd['map'](_0x5397cb=>{const _0x4b83d2=this['_createButton'](_0x549855,_0x5397cb['type']);return _0x4b83d2['withText']=!0x0,_0x4b83d2['icon']=_0x5397cb['icon'],_0x4b83d2['bind']('label')['to'](_0x58251e,'isImageSelected',_0xd02b8c=>T(_0x5826f7,_0x5397cb['type'],_0xd02b8c?'Replace':'Insert')['text']),_0x4b83d2;});}['_createMenuBarButtons'](_0x45c8ea){return _0x45c8ea['map'](_0x3ab6b2=>{const _0x304716=this['_createButton'](_0xe4f1e0,_0x3ab6b2['type']);return _0x304716['icon']=_0x3ab6b2['icon'],_0x304716['label']=_0x3ab6b2['shortText'],_0x304716;});}}class K extends _0x11b1d6{['focusTracker'];['focusCycler'];constructor(_0x1c8b6f){super(_0x1c8b6f),this['focusTracker']=new _0x1497b5(),this['focusCycler']=new _0x171ed0({'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 O extends K{constructor(_0x7dcdf5,_0x8c31ba){super(_0x7dcdf5),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-'+_0x8c31ba}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x1d23dd,_0x5d9436){const _0x2c9bdd=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x317cf0=>_0x317cf0<=_0x5d9436)['map'](_0x4a3e6d=>_0x1d23dd['replace'](/\/$/,'')+'/-/resize/'+_0x4a3e6d+'x/\x20'+_0x4a3e6d+'w');return{'imageFallbackUrl':_0x1d23dd,'imageSources':[{'srcset':_0x2c9bdd['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5d9436+'px)\x20100vw,\x20'+_0x5d9436+'px','type':'image/webp'}]};}function F(_0x323274,_0x2ec712,_0x3bf11d){const _0x5b6899=_0x323274['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b6899?parseInt(_0x5b6899[0x1],0xa):_0x2ec712,'height':_0x5b6899?parseInt(_0x5b6899[0x2],0xa):_0x3bf11d};}function $(_0x501e34,_0x24d910){const _0x387bc7=new(_0x14bc35())(),_0x1c467b=_0x501e34['plugins']['get']('ImageUtils'),_0x553874=_0x501e34['editing']['mapper']['toViewElement'](_0x24d910),_0x7e8d31=_0x1c467b['findViewImgElement'](_0x553874),_0x4214e3=_0x501e34['editing']['view']['domConverter']['viewToDom'](_0x7e8d31),_0x102d16=_0x24d910['getAttribute']('width'),_0x1da4c3=_0x24d910['getAttribute']('height'),_0x5a9715='image-processing';_0x501e34['editing']['view']['change'](_0x489e9b=>{_0x489e9b['addClass'](_0x5a9715,_0x553874),_0x489e9b['setStyle']('aspect-ratio',_0x102d16+'/'+_0x1da4c3,_0x7e8d31);}),_0x387bc7['listenTo'](_0x4214e3,'load',()=>{_0x387bc7['stopListening'](_0x4214e3,'load'),_0x501e34['editing']['view']['change'](_0x426bcf=>{_0x426bcf['removeClass'](_0x5a9715,_0x553874),_0x426bcf['removeStyle']('aspect-ratio',_0x7e8d31);});});}function B(_0x17092c){if(Array['isArray'](_0x17092c)){const _0x1e2902=_0x17092c['map'](B);return _0x49ad88=>_0x1e2902['some'](_0x238b88=>_0x238b88(_0x49ad88));}if('origin'==_0x17092c){const _0x58742f=_0x4c41e4['window']['location']['origin'];return _0x1a1fb7=>new URL(_0x1a1fb7,_0x4c41e4['document']['baseURI'])['origin']==_0x58742f;}return'function'==typeof _0x17092c?_0x17092c:_0x17092c instanceof RegExp?_0x18d270=>!(!_0x18d270['match'](_0x17092c)&&!_0x18d270['replace'](/^https?:\/\//,'')['match'](_0x17092c)):()=>!0x1;}function V(_0x1a6da6,_0xde8321){return _0x8eeca4(_0x1a6da6['target'])['includes'](_0xde8321);}class j extends/* #__PURE__ -- @preserve */
24
- _0x1f2ac8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20536f,_0x450d49,_0x4f91c2){super(),this['_editor']=_0x20536f,this['_editing']=_0x450d49,this['_dialog']=_0x20536f['plugins']['get'](_0x31b948),this['_api']=_0x450d49['ctxElement']['getAPI'](),this['_type']=_0x4f91c2,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:_0x33c239,model:_0x41bb7c}=this['_editor'],_0x11f7ed=_0x41bb7c['document']['selection']['getSelectedElement'](),_0x2fbb62=_0x11f7ed&&(_0x11f7ed['is']('element','imageBlock')||_0x11f7ed['is']('element','imageInline'));this['_formView']=new O(_0x33c239,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x511932,'title':T(_0x33c239,this['_type'],_0x2fbb62?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2ed971['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58175b=>!V(_0x58175b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5e5904}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xd556cb=>{const _0x4d31d7=_0x5e5904['length'];for(const _0x2623cd of _0x5e5904){const _0x2174ac=_0x2623cd===_0x5e5904[_0x4d31d7-0x1],{cdnUrl:_0x561b40,fileInfo:_0x2771af}=_0x2623cd;if(!_0x561b40||!_0x2771af)continue;const {width:_0x2a0ed2,height:_0x30bb34}=_0x2771af['imageInfo'],_0x4f8b49=F(_0x561b40,_0x2a0ed2,_0x30bb34),_0x32cb29=D(_0x561b40,_0x4f8b49['width']),_0x302972={'id':_0x2771af['uuid'],'type':'image','attributes':{'imageDimension':_0x4f8b49,..._0x32cb29}};this['_insertAsset'](_0x302972,_0x2174ac,_0xd556cb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1967b6=>{'idle'===_0x1967b6['detail']['status']&&!_0x1967b6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x51fb6a,_0x545862,_0x5d2eb9){const _0x5d82fc=this['_editor']['model']['document']['selection'],_0x5b3961=_0x5d82fc['getSelectedElement'](),_0x1ba659=!(!_0x5b3961||!_0x5b3961['is']('element','imageInline'));_0x5d2eb9['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x51fb6a,_0x1ba659),_0x545862||_0x5d2eb9['setSelection'](_0x5d82fc['getLastPosition']());}['_insertImage'](_0x5244a9,_0x9b4ba2){const _0x4321f6=this['_editor'],{imageDimension:_0x162315,imageFallbackUrl:_0x27a75b,imageSources:_0x2e7ac0}=_0x5244a9['attributes'];_0x4321f6['execute']('insertImage',{'imageType':_0x9b4ba2?'imageInline':null,'source':{'uploadcareImageId':_0x5244a9['id'],'src':_0x27a75b,'sources':_0x2e7ac0,..._0x162315}});}}class M extends _0x4d5053{['_editing'];['_controller']=null;static get['requires'](){return[_0x31b948,z];}constructor(_0x358b13){super(_0x358b13),this['_editing']=_0x358b13['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1642d9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x1642d9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x388508,..._0x33fed2}){return _0x48e3e6(_0x388508,_0x33fed2);}static['getInfo'](_0x5691aa,_0x4798de){return _0x59576f(_0x5691aa,_0x4798de);}}class W extends _0x15d2c8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a1358,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x25ad22=this['editor'];if(!!!_0x25ad22['config']['get']('uploadcare'))return;_0x25ad22['plugins']['get'](_0x1a1358)['createUploadAdapter']=_0x1b9220=>new G(_0x1b9220,_0x25ad22),_0x25ad22['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e2394,{imageElement:_0x54fb86,data:_0x236196})=>{_0x25ad22['model']['change'](_0x283200=>{_0x283200['setAttribute']('uploadcareImageId',_0x236196['uploadcareImageId'],_0x54fb86);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x1236c7,_0x2ed2c0){this['loader']=_0x1236c7,this['editor']=_0x2ed2c0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e5cc5=await this['loader']['file'];return q['upload']({'file':_0x5e5cc5,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xb49d9e=>{_0xb49d9e&&_0xb49d9e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xb49d9e['value']);}})['then'](async _0x2a56ee=>{const {imageFallbackUrl:_0x2bddb5,imageSources:_0x439986}=D(_0x2a56ee['cdnUrl'],_0x2a56ee['imageInfo']['width']);return{'uploadcareImageId':_0x2a56ee['uuid'],'default':_0x2bddb5,'sources':_0x439986};})['catch'](()=>{const _0x4a0e2c=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e5cc5['name']+'.');return Promise['reject'](_0x4a0e2c);});}['abort'](){this['controller']['abort']();}}class z extends _0x15d2c8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x31b948];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4c9f1b){super(_0x4c9f1b),this['ucContextId']=_0x596c2d();}['init'](){const _0x49b170=this['editor'];_0x49b170['commands']['add']('uploadcare',new M(_0x49b170));}['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 _0x481daf=_0x4c41e4['document']['querySelector']('input[uploadcare-file-input]');_0x481daf&&_0x481daf['remove']();}),async function(_0xdbc32){const _0x5e150b=_0x52055d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4c272e=0x535f8c3a,_0x56833d=0x5358f2da^_0x4c272e,_0x1001ce=window[_0x52055d([0x44,0x61,0x74,0x65])][_0x52055d([0x6e,0x6f,0x77])](),_0x51e5c5=_0xdbc32[_0x52055d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40652d=new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4e5e=>{_0x51e5c5[_0x52055d([0x6f,0x6e,0x63,0x65])](_0x52055d([0x72,0x65,0x61,0x64,0x79]),_0x5e4e5e);}),_0x5da0ff={[_0x52055d([0x6b,0x74,0x79])]:_0x52055d([0x45,0x43]),[_0x52055d([0x75,0x73,0x65])]:_0x52055d([0x73,0x69,0x67]),[_0x52055d([0x63,0x72,0x76])]:_0x52055d([0x50,0x2d,0x32,0x35,0x36]),[_0x52055d([0x78])]:_0x52055d([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]),[_0x52055d([0x79])]:_0x52055d([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]),[_0x52055d([0x61,0x6c,0x67])]:_0x52055d([0x45,0x53,0x32,0x35,0x36])},_0x144de9=_0x51e5c5[_0x52055d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52055d([0x67,0x65,0x74])](_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb908c8(){let _0x104a8a,_0x79e1a6=null,_0x51396f=null;try{if(_0x144de9==_0x52055d([0x47,0x50,0x4c]))return _0x52055d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x104a8a=_0x54ea33(),!_0x104a8a)return _0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x104a8a[_0x52055d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51396f=_0x4d2b26(_0x104a8a[_0x52055d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x104a8a[_0x52055d([0x6a,0x74,0x69])])),await _0x24fb86()?_0x728469()?_0x374a76()?_0x52055d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bb8a1()?(_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52055d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x79e1a6=_0x7f500d(_0x52055d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x274d00()):_0x52055d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52055d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52055d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x374a76(){const _0x33494c=[_0x52055d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52055d([0x74,0x72,0x69,0x61,0x6c])][_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1001ce/0x3e8:0xe10*_0x56833d;return _0x104a8a[_0x52055d([0x65,0x78,0x70])]<_0x33494c;}function _0x728469(){const _0x5c93bf=_0x104a8a[_0x52055d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c93bf&&(!!_0x5c93bf[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x2a]))||!!_0x5c93bf[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x55,0x50,0x4c,0x43])));}function _0x3bb8a1(){const _0x57f7a1=_0x104a8a[_0x52055d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57f7a1||0x0==_0x57f7a1[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52e3fa}=new URL(window[_0x52055d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57f7a1[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52e3fa))return!0x0;const _0x3bbc1c=_0x52e3fa[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e]));return _0x57f7a1[_0x52055d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b70ca=>_0x1b70ca[_0x52055d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52055d([0x2a])))[_0x52055d([0x6d,0x61,0x70])](_0x28742e=>_0x28742e[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e])))[_0x52055d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a824a=>_0x3a824a[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bbc1c[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52055d([0x6d,0x61,0x70])](_0x1e6867=>Array(_0x3bbc1c[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e6867[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52055d([0x66,0x69,0x6c,0x6c])](_0x1e6867[0x0]===_0x52055d([0x2a])?_0x52055d([0x2a]):'')[_0x52055d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e6867))[_0x52055d([0x73,0x6f,0x6d,0x65])](_0x39b8a7=>_0x3bbc1c[_0x52055d([0x65,0x76,0x65,0x72,0x79])]((_0x26d45b,_0x4ac617)=>_0x39b8a7[_0x4ac617]===_0x26d45b||_0x39b8a7[_0x4ac617]===_0x52055d([0x2a])));}function _0x274d00(){return _0x79e1a6&&_0x51396f?new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbfe8d,_0x2e3cdc)=>{_0x79e1a6[_0x52055d([0x74,0x68,0x65,0x6e])](_0xbfe8d,_0x2e3cdc),_0x51396f[_0x52055d([0x74,0x68,0x65,0x6e])](_0x1eb2d4=>{_0x1eb2d4!=_0x52055d([0x56,0x61,0x6c,0x69,0x64])&&_0xbfe8d(_0x1eb2d4);},_0x2e3cdc);}):_0x79e1a6||_0x51396f||_0x52055d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d2b26(_0x111646,_0x5f3f66){return new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x833645=>{if(_0x1efdbe())return _0x833645(_0x52055d([0x56,0x61,0x6c,0x69,0x64]));_0x527f9a(),_0x51e5c5[_0x52055d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17c3cc=!0x1;const _0x202a99=_0x596c2d();function _0x4d7901(_0x545c73){return!!_0x545c73&&(typeof _0x545c73===_0x52055d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x545c73===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x545c73[_0x52055d([0x74,0x68,0x65,0x6e])]===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x545c73[_0x52055d([0x63,0x61,0x74,0x63,0x68])]===_0x52055d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x589c7f(_0x5b21e8){_0x32afca(_0x5b21e8)[_0x52055d([0x74,0x68,0x65,0x6e])](_0x5d7e69=>{if(!_0x5d7e69||_0x5d7e69[_0x52055d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52055d([0x6f,0x6b]))return _0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1873af(_0x4c8101(_0x202a99+_0x5f3f66))!=_0x5d7e69[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52055d([0x56,0x61,0x6c,0x69,0x64]);})[_0x52055d([0x74,0x68,0x65,0x6e])](_0x373bbc=>(_0x3d4135(),_0x373bbc),()=>{const _0x5bf740=_0x343d40();return null==_0x5bf740?(_0x3d4135(),_0x52055d([0x56,0x61,0x6c,0x69,0x64])):_0x52055d(_0x1001ce-_0x5bf740>(0x7753083a^_0x4c272e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52055d([0x74,0x68,0x65,0x6e])](_0x833645)[_0x52055d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x104807=0x536962ba^_0x4c272e;function _0x3d4135(){const _0x49c54d=_0x52055d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1873af(_0x4c8101(_0x111646)),_0x3ff710=_0x4ca9a9(_0x1873af(window[_0x52055d([0x4d,0x61,0x74,0x68])][_0x52055d([0x63,0x65,0x69,0x6c])](_0x1001ce/_0x104807)));window[_0x52055d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52055d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49c54d,_0x3ff710);}function _0x343d40(){const _0x4ccc3f=_0x52055d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1873af(_0x4c8101(_0x111646)),_0x5db9cd=window[_0x52055d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52055d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ccc3f);return _0x5db9cd?window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca9a9(_0x5db9cd),0x10)*_0x104807:null;}function _0x32afca(_0x224240){return new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b583,_0x38248a)=>{_0x224240[_0x52055d([0x74,0x68,0x65,0x6e])](_0x25b583,_0x38248a),window[_0x52055d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38248a,0x535e58fa^_0x4c272e);});}}_0x51e5c5[_0x52055d([0x6f,0x6e])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d4895,_0x158ccb)=>{if(_0x158ccb[0x0]!=_0x111646)return _0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x158ccb[0x1]={..._0x158ccb[0x1],[_0x52055d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x202a99};},{[_0x52055d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52055d([0x68,0x69,0x67,0x68])}),_0x51e5c5[_0x52055d([0x6f,0x6e])](_0x52055d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25e805=>{_0x4d7901(_0x25e805[_0x52055d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17c3cc=!0x0,_0x589c7f(_0x25e805[_0x52055d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52055d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52055d([0x6c,0x6f,0x77])}),_0x40652d[_0x52055d([0x74,0x68,0x65,0x6e])](()=>{_0x17c3cc||_0x833645(_0x52055d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1efdbe(){return _0x51e5c5[_0x52055d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52055d([0x76,0x69,0x65,0x77])][_0x52055d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52055d([0x61,0x75,0x74,0x6f]);}function _0x527f9a(){_0x51e5c5[_0x52055d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52055d([0x76,0x69,0x65,0x77])][_0x52055d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52055d([0x61,0x75,0x74,0x6f]);}}function _0x7f500d(_0x11e59c){const _0x3c885b=[new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ab2c=>setTimeout(_0x21ab2c,0x5356b2f6^_0x4c272e)),_0x40652d[_0x52055d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc62ce4=>{let _0x5376ee=0x0;_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x6f,0x6e])](_0x52055d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x353f99,_0x425548)=>{_0x425548[0x0][_0x52055d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5376ee++,_0x5376ee==(0x535f89d2^_0x4c272e)&&(_0xc62ce4(),_0x353f99[_0x52055d([0x6f,0x66,0x66])]());});}))];return window[_0x52055d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52055d([0x72,0x61,0x63,0x65])](_0x3c885b)[_0x52055d([0x74,0x68,0x65,0x6e])](()=>_0x11e59c);}async function _0x5537e5(){await _0x40652d,_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4931c9,_0x51e5c5[_0x52055d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52055d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4931c9,_0x51e5c5[_0x52055d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52055d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5883ba(_0x2f6b7e){const _0x2731a4=_0x267abb();_0x51e5c5[_0x2731a4]=_0x52055d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f6b7e,_0x2f6b7e!=_0x52055d([0x56,0x61,0x6c,0x69,0x64])&&_0x5537e5();}function _0x267abb(){const _0x3b30b0=window[_0x52055d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52055d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52055d([0x6e,0x6f,0x77])]())[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52055d([0x2e]),'');let _0x4cdf5e=_0x52055d([0x68]);for(let _0x59a9c7=0x0;_0x59a9c7<_0x3b30b0[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59a9c7+=0x2){let _0x2a0757=window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b30b0[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a9c7,_0x59a9c7+0x2));_0x2a0757>=_0x5e150b[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a0757-=_0x5e150b[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cdf5e+=_0x5e150b[_0x2a0757];}return _0x4cdf5e;}function _0x54ea33(){const _0x49fdef=_0x144de9[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e]));if(0x3!=_0x49fdef[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4327a0(_0x49fdef[0x1]);function _0x4327a0(_0x571c76){const _0x308421=_0x2a215c(_0x571c76);return _0x308421&&_0x4dd6db()?_0x308421:null;function _0x4dd6db(){const _0x5680b6=_0x308421[_0x52055d([0x6a,0x74,0x69])],_0x988bce=window[_0x52055d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5680b6[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5680b6[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40e3b9={..._0x308421,[_0x52055d([0x6a,0x74,0x69])]:_0x5680b6[_0x52055d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5680b6[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40e3b9[_0x52055d([0x76,0x63])],_0x4c8101(_0x40e3b9)==_0x988bce;}}}async function _0x24fb86(){let _0x8f6986=!0x0;try{const _0x12cc6e=_0x144de9[_0x52055d([0x73,0x70,0x6c,0x69,0x74])](_0x52055d([0x2e])),[_0x99372d,_0x547141,_0x2516cf]=_0x12cc6e;return _0x508942(_0x99372d),await _0x23bbff(_0x99372d,_0x547141,_0x2516cf),_0x8f6986;}catch{return!0x1;}function _0x508942(_0x59a14c){const _0x31fe6e=_0x2a215c(_0x59a14c);_0x31fe6e&&_0x31fe6e[_0x52055d([0x61,0x6c,0x67])]==_0x52055d([0x45,0x53,0x32,0x35,0x36])||(_0x8f6986=!0x1);}async function _0x23bbff(_0x529275,_0xb466b7,_0x164b20){const _0x333598=window[_0x52055d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52055d([0x66,0x72,0x6f,0x6d])](_0x1cc4c5(_0x164b20),_0x5df3ec=>_0x5df3ec[_0x52055d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d8585=new window[(_0x52055d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52055d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x529275+_0x52055d([0x2e])+_0xb466b7),_0x377230=window[_0x52055d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52055d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377230)return;const _0x3e3677=await _0x377230[_0x52055d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52055d([0x6a,0x77,0x6b]),_0x5da0ff,{[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x45,0x43,0x44,0x53,0x41]),[_0x52055d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52055d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377230[_0x52055d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x45,0x43,0x44,0x53,0x41]),[_0x52055d([0x68,0x61,0x73,0x68])]:{[_0x52055d([0x6e,0x61,0x6d,0x65])]:_0x52055d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e3677,_0x333598,_0x3d8585)||(_0x8f6986=!0x1);}}function _0x2a215c(_0x138537){return _0x138537[_0x52055d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52055d([0x65,0x79]))?JSON[_0x52055d([0x70,0x61,0x72,0x73,0x65])](_0x1cc4c5(_0x138537)):null;}function _0x1cc4c5(_0x366bbd){return window[_0x52055d([0x61,0x74,0x6f,0x62])](_0x366bbd[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52055d([0x2b]))[_0x52055d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52055d([0x2f])));}function _0x4c8101(_0x483d1e){let _0x1e2c18=0x1505;function _0x271b88(_0x35df33){for(let _0x397a46=0x0;_0x397a46<_0x35df33[_0x52055d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397a46++){const _0x3730c9=_0x35df33[_0x52055d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x397a46);_0x1e2c18=(_0x1e2c18<<0x5)+_0x1e2c18+_0x3730c9,_0x1e2c18&=_0x1e2c18;}}function _0x3d6e1f(_0x3f975a){Array[_0x52055d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f975a)?_0x3f975a[_0x52055d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d6e1f):_0x3f975a&&typeof _0x3f975a==_0x52055d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52055d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f975a)[_0x52055d([0x73,0x6f,0x72,0x74])]()[_0x52055d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d6e9f,_0x178dd6])=>{_0x271b88(_0x4d6e9f),_0x3d6e1f(_0x178dd6);}):_0x271b88(window[_0x52055d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f975a));}return _0x3d6e1f(_0x483d1e),_0x1e2c18>>>0x0;}function _0x1873af(_0xa99a98){return _0xa99a98[_0x52055d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52055d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52055d([0x30]));}function _0x4ca9a9(_0x5c72a5){return _0x5c72a5[_0x52055d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52055d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52055d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4931c9(){}function _0x52055d(_0x1379db){return _0x1379db['map'](_0x10d3f8=>String['fromCharCode'](_0x10d3f8))['join']('');}_0x5883ba(await _0xb908c8());}(this);}['_initSchema'](){const _0x1de749=this['editor']['model']['schema'];_0x1de749['isRegistered']('imageBlock')&&_0x1de749['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1de749['isRegistered']('imageInline')&&_0x1de749['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x54f8f1=this['editor'];_0x54f8f1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x54f8f1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xe54139=>_0xe54139['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f51f9=_0x54f8f1['commands']['get']('replaceImageSource');_0x2f51f9&&this['listenTo'](_0x2f51f9,'cleanupImage',(_0x825b48,[_0x3c17f4,_0x5e9a1a])=>{_0x3c17f4['removeAttribute']('uploadcareImageId',_0x5e9a1a);});}['_initConfig'](){const _0x1d9b9b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5523ee=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x484ddd(_0x4c41e4['document'],'uc-config',{..._0x1d9b9b,'pubkey':_0x5523ee,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1e2f55=>{if('closeMax'==_0x1e2f55)return'#uc-icon-arrow-down';},_0x4c41e4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x484ddd(_0x4c41e4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4c41e4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xfe73cc=this['editor']['commands']['get']('insertImage');_0xfe73cc&&this['listenTo'](_0xfe73cc,'execute',()=>{const _0x4e5cb1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e5cb1&&_0x4e5cb1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x4e5cb1);});});const _0x4b8003=this['editor']['commands']['get']('uploadcareImageReplace');_0x4b8003&&this['listenTo'](_0x4b8003,'execute',()=>{const _0x507fc5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x507fc5&&_0x507fc5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x507fc5);});});}}class H extends _0x15d2c8{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54fe6f){super(_0x54fe6f),_0x54fe6f['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x37a3ae['defineComponents'](_0x37a3ae),this['_defineLocale']();}['_defineLocale'](){const _0x496a27=this['editor']['config']['get']('uploadcare.locale'),_0x2c4dec=this['editor']['locale']['contentLanguage'];_0x496a27&&_0x37a3ae['defineLocale'](_0x2c4dec,_0x496a27);}}class J extends _0x11b1d6{constructor(_0x32eb63){super(_0x32eb63);const t=_0x32eb63['t'],_0x23cd19=this['bindTemplate'],_0x150d95=new _0x365f57();_0x150d95['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':[_0x150d95,{'text':_0x23cd19['to']('imageUploadProgress',_0xe1d522=>t('Loading\x20image...')+'\x20('+(_0xe1d522||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 Z extends _0x11b1d6{constructor(_0xaf5fc1){super(_0xaf5fc1);const t=_0xaf5fc1['t'];this['set']('errorType',null);const _0x22a224=new _0x549855(_0xaf5fc1);_0x22a224['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22a224['withText']=!0x0,_0x22a224['class']='ck-button-action',_0x22a224['on']('execute',()=>{this['fire']('retry');}),_0x22a224['bind']('isVisible')['to'](this,'errorType',_0x2a8a4b=>'NotFound'!==_0x2a8a4b);const _0x244e23=new _0x1abb9a();_0x244e23['content']=_0x1c5869,_0x244e23['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x484a5b=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':[_0x244e23,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x484a5b['to']('errorType',_0x5c1f7f=>t('NotFound'!==_0x5c1f7f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22a224]},{'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 Q extends _0x11b1d6{constructor(_0xb1a4a8,_0x3af2b){super(_0xb1a4a8);const _0x3f791c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3af2b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3f791c['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x16da36,_0x2861ec,_0x2f235e){super(_0x16da36),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x16da36),this['_errorView']=new Z(_0x16da36),this['_editingView']=new Q(_0x16da36,_0x2f235e),this['_focusableView']=new _0x11b1d6(_0x16da36),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2861ec),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'],_0x25c380=>{this['_addUploadcareImageEditorListeners'](_0x25c380);});}),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'](_0x5c1e24,_0xb027b3){const _0x222198='uc-cloud-image-editor',_0x2f524d=_0x5c1e24['querySelector'](_0x222198);if(_0x2f524d)return _0xb027b3(_0x2f524d);const _0x2b42d9=new MutationObserver(_0x18e435=>{const _0x21b240=_0x18e435['filter'](_0x4c0225=>_0x4c0225['target']===_0x5c1e24&&_0x4c0225['addedNodes']['length']>0x0&&_0x4c0225['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x222198);_0x21b240['length']&&(_0x2b42d9['disconnect'](),_0xb027b3(_0x21b240[0x0]['addedNodes'][0x0]));});_0x2b42d9['observe'](_0x5c1e24,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x58e837){_0x58e837['addEventListener']('apply',_0x412cc8=>{this['fire']('apply',{'imageSrc':_0x412cc8['detail']['cdnUrl']});}),_0x58e837['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
- _0x1f2ac8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3cd6a5,_0x595cb4,_0x5f3cf1){super(),this['_editor']=_0x3cd6a5,this['_dialog']=_0x595cb4,this['_imageElement']=_0x5f3cf1,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 _0x5a4dc1=this['_imageElement'],_0x705689=_0x5a4dc1['getAttribute']('uploadcareImageId'),_0xe1dc63=_0x5a4dc1['getAttribute']('src');if(_0x705689)await this['_loadImageInfo'](_0x705689,_0xe1dc63);else{if(this['_imageCache']['has'](_0xe1dc63)){const _0x42792f=this['_imageCache']['get'](_0xe1dc63);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42792f['url'],this['imageDimension']=_0x42792f['dimension'],this['imageId']=_0x42792f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x557055}=this['_editor'],t=_0x557055['t'],_0x489380=new X(_0x557055,this['imageStatus'],this['_attributes']);_0x489380['bind']('status')['to'](this,'imageStatus'),_0x489380['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x489380['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x489380['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x489380,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4dd986,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x489380,'position':_0x2ed971['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x489380['focus']();},'onHide':()=>{_0x489380['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5255a4=>!V(_0x5255a4,_0x489380['element'])}});}['_loadImageInfo'](_0x4500bf,_0x1bebec){return q['getInfo'](_0x4500bf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x568f8a=>{const {width:_0x5ac522,height:_0x4845b9}=_0x568f8a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bebec,this['imageDimension']={'width':_0x5ac522,'height':_0x4845b9},this['imageId']=_0x4500bf;})['catch'](_0x389670=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x389670['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x12c2bf,_0x3c664c){return this['_getImageAsFile'](_0x12c2bf)['then'](_0x497060=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3c664c['signal'],'file':_0x497060,'onProgress':_0x3b7396=>{_0x3b7396&&_0x3b7396['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b7396['value']));}}))['then'](_0x4620d3=>{const {width:_0x3ba124,height:_0x3ebc22}=_0x4620d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4620d3['cdnUrl'],this['imageDimension']={'width':_0x3ba124,'height':_0x3ebc22},this['imageId']=_0x4620d3['uuid'],this['imageUploadProgress']=null;const _0x5f5859=_0x12c2bf['getAttribute']('src');this['_imageCache']['set'](_0x5f5859,{'id':_0x4620d3['uuid'],'url':_0x4620d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x102046=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x102046['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x142586,_0xb989df){_0x142586['on']('apply',(_0x5ef8aa,_0x2865f8)=>{this['_replaceImage'](_0xb989df,_0x2865f8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x142586['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x142586['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x318926,_0x1c3a12,_0x4e19b9){const _0x4cefbc=this['_editor'],{width:_0x422952,height:_0x3b26d3}=F(_0x1c3a12,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x39c6e7,imageSources:_0xc2eab3}=D(_0x1c3a12,_0x422952);_0x4cefbc['model']['change'](_0x16fa0e=>{if('$graveyard'===_0x318926['root']['rootName']){_0x4cefbc['execute']('insertImage',{'imageType':_0x318926['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x318926['getAttributes']()),'uploadcareImageId':_0x4e19b9,'src':_0x39c6e7,'sources':_0xc2eab3,'width':_0x422952,'height':_0x3b26d3}});const _0x3a021b=_0x318926['getChildren']();_0x318926=_0x4cefbc['model']['document']['selection']['getSelectedElement']();for(const _0x13b95f of _0x3a021b)_0x16fa0e['append'](_0x16fa0e['cloneElement'](_0x13b95f),_0x318926);}else _0x16fa0e['setSelection'](_0x318926,'on'),_0x4cefbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x318926['getAttributes']()),'uploadcareImageId':_0x4e19b9,'src':_0x39c6e7,'sources':_0xc2eab3,'width':_0x422952,'height':_0x3b26d3},_0x318926);_0x16fa0e['setSelection'](_0x318926,'on');});}async['_getImageAsFile'](_0x394652){const _0x1ffb31=_0x4c41e4['window'],_0x1281b1=_0x4c41e4['document']['location']['href'],_0x36d2a2=new _0x1ffb31['URL'](_0x394652['getAttribute']('src'),_0x1281b1);if('data:'===_0x36d2a2['protocol']){const _0x35fdfc=_0x36d2a2['href']['split'](','),_0x2ee4a7=_0x35fdfc[0x0]['match'](/:(.*?);/)[0x1],_0x39d235=_0x2ee4a7['split']('/')[0x1],_0x1fb942=_0x1ffb31['atob'](_0x35fdfc[_0x35fdfc['length']-0x1]);let _0x197de2=_0x1fb942['length'];const _0x3307c6=new _0x1ffb31['Uint8Array'](_0x197de2);for(;_0x197de2--;)_0x3307c6[_0x197de2]=_0x1fb942['charCodeAt'](_0x197de2);return new _0x1ffb31['File']([_0x3307c6],'image.'+_0x39d235,{'type':_0x2ee4a7});}const _0x2f22ae=_0x36d2a2['href']['split']('/'),_0x3eb97f=_0x2f22ae[_0x2f22ae['length']-0x1],_0x3f04d3=_0x3eb97f['split']('.')[0x1];return _0x1ffb31['fetch'](_0x36d2a2['href'])['then'](_0x1212dd=>_0x1212dd['clone']()['blob']())['then'](_0x1e019c=>new _0x1ffb31['File']([_0x1e019c],_0x3eb97f,{'type':'image/'+_0x3f04d3}));}}class tt extends _0x4d5053{['imageEditController'];static get['requires'](){return[_0x31b948];}['_isEditable'];constructor(_0x151927){super(_0x151927),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x28b5dc){const _0x2fc0e8=B(_0x28b5dc);return _0x2ae708=>!(!_0x2ae708||!_0x2ae708['is']('element','imageBlock')&&!_0x2ae708['is']('element','imageInline'))&&(!!_0x2ae708['hasAttribute']('uploadcareImageId')||!!_0x2ae708['hasAttribute']('src')&&_0x2fc0e8(_0x2ae708['getAttribute']('src')));}(_0x151927['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x55cf2e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x55cf2e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x41c8ac=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41c8ac&&(_0x41c8ac['is']('element','imageBlock')||_0x41c8ac['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x31b948),_0x41c8ac),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x4d5053{['refresh'](){const _0x5964a7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5964a7&&(_0x5964a7['is']('element','imageBlock')||_0x5964a7['is']('element','imageInline')));}['execute'](_0x3a4395){const _0x2eef95=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1b0a7c=>{_0x1b0a7c['setAttributes'](_0x3a4395,_0x2eef95),_0x1b0a7c['removeAttribute']('srcset',_0x2eef95),_0x1b0a7c['removeAttribute']('sizes',_0x2eef95);});}}class it extends _0x15d2c8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x58bff2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e4f2}=this;_0x37e4f2['commands']['add']('uploadcareImageEdit',new tt(_0x37e4f2)),_0x37e4f2['commands']['add']('uploadcareImageReplace',new et(_0x37e4f2));}}class st extends _0x15d2c8{['_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 _0x349f2b=this['editor'];_0x349f2b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1cb7b5=>{const _0x3fa46b=_0x349f2b['commands']['get']('uploadcareImageEdit'),_0x5349c6=new _0x549855(_0x1cb7b5),t=_0x1cb7b5['t'];return _0x5349c6['set']({'icon':_0x4dd986,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5349c6['bind']('isEnabled')['to'](_0x3fa46b),_0x5349c6['bind']('isOn')['to'](_0x3fa46b,'isActive'),this['listenTo'](_0x5349c6,'execute',()=>{_0x349f2b['execute']('uploadcareImageEdit'),_0x349f2b['editing']['view']['focus']();}),_0x5349c6;}),this['_initConfig']();}['_initConfig'](){const _0x4829c5=_0x484ddd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4829c5),this['listenTo'](this['editor'],'destroy',()=>{_0x4829c5['remove']();});}}class nt extends _0x15d2c8{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
23
+ import{Plugin as _0x44ccce,Command as _0x7b1353}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x25e886,IconGooglePhotos as _0x4a4911,IconGoogleDrive as _0x1b2834,IconFacebook as _0x36229e,IconDropbox as _0x1c0804,IconUploadcareLink as _0x1379ff,IconUploadcareImageUpload as _0x3beef4,IconError as _0xf7269a,IconUploadcareImageEdit as _0x52c2b5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x373ec5,MenuBarMenuListItemButtonView as _0x3f0543,View as _0x458284,FocusCycler as _0x1d66f8,Dialog as _0x1d02d4,DialogViewPosition as _0x1cab68,SpinnerView as _0x358f84,IconView as _0x4749a4,Notification as _0x369f7b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x231bec,DomEmitterMixin as _0x446ec3,global as _0x355e9e,getAncestors as _0x1972ed,ObservableMixin as _0x37ff39,uid as _0x54c9c6,createElement as _0x14b6d4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3cd672}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x173de0,info as _0x384bf6}from'@uploadcare/upload-client';import*as _0xab1c24 from'@uploadcare/file-uploader';var S=function(_0x3526e1){return _0x3526e1['Local']='local',_0x3526e1['URL']='url',_0x3526e1['Dropbox']='dropbox',_0x3526e1['GDrive']='gdrive',_0x3526e1['Facebook']='facebook',_0x3526e1['GPhotos']='gphotos',_0x3526e1['OneDrive']='onedrive',_0x3526e1;}({});function T(_0x58d7ed,_0x28a6a2,_0x5ed678){const t=_0x58d7ed['t'],_0x405d74=_0x58d7ed['t'];switch(_0x28a6a2){case S['Local']:return{'text':_0x405d74('Insert'===_0x5ed678?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x405d74('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x5ed678?_0x405d74('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x405d74('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x5ed678?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x5ed678?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x5ed678?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x5ed678?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x5ed678?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x28a6a2;}}class A extends _0x44ccce{['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 _0x500bd1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x513926;for(const _0x5dee80 in _0x500bd1){const _0x107934=_0x5dee80,_0x288e97=_0x500bd1[_0x107934];if('uploadcareLicenseKeyValid'==_0x288e97||'uploadcareLicenseKeyInvalid'==_0x288e97||'uploadcareLicenseKeyExpired'==_0x288e97||'uploadcareLicenseKeyDomainLimit'==_0x288e97||'uploadcareLicenseKeyNotAllowed'==_0x288e97||'uploadcareLicenseKeyEvaluationLimit'==_0x288e97||'uploadcareLicenseKeyUsageLimit'==_0x288e97){delete _0x500bd1[_0x107934],_0x513926=_0x288e97,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x513926&&_0x500bd1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x513926&&_0x500bd1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x513926&&_0x500bd1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x513926&&_0x500bd1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x513926&&_0x500bd1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x513926&&_0x500bd1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2080d4}=this,_0x25a0f8=_0x2080d4['commands']['get']('uploadcare');if(!_0x25a0f8)return;const _0x1e7efe=this['_normalizeConfigSourceList'](_0x2080d4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x511579,_0x49d72c)=>{const _0x10acf4=this['_getIntegrationKey'](_0x49d72c['type']);return _0x511579[_0x10acf4]||(_0x511579[_0x10acf4]=[]),_0x511579[_0x10acf4]['push'](_0x49d72c),_0x511579;},{});_0x2080d4['plugins']['has']('ImageInsertUI')&&_0x2080d4['commands']['get']('uploadcare')&&Object['entries'](_0x1e7efe)['forEach'](([_0x4221e6,_0x2e4d2e])=>{_0x2080d4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4221e6,'observable':()=>_0x25a0f8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2e4d2e),'formViewCreator':()=>this['_createDropdownButtons'](_0x2e4d2e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2e4d2e),'override':'assetManager'!==_0x4221e6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x351aee){const {locale:_0x5ede13}=this['editor'];return _0x351aee['map'](_0x1bef40=>{const _0x1d0afc=T(_0x5ede13,_0x1bef40,'Insert');switch(_0x1bef40){case S['Local']:return{'icon':_0x3beef4,'type':S['Local'],..._0x1d0afc};case S['URL']:return{'icon':_0x1379ff,'type':S['URL'],..._0x1d0afc};case S['Dropbox']:return{'icon':_0x1c0804,'type':S['Dropbox'],..._0x1d0afc};case S['Facebook']:return{'icon':_0x36229e,'type':S['Facebook'],..._0x1d0afc};case S['GDrive']:return{'icon':_0x1b2834,'type':S['GDrive'],..._0x1d0afc};case S['GPhotos']:return{'icon':_0x4a4911,'type':S['GPhotos'],..._0x1d0afc};case S['OneDrive']:return{'icon':_0x25e886,'type':S['OneDrive'],..._0x1d0afc};}});}['_getIntegrationKey'](_0x4fe3df){switch(_0x4fe3df){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x44c779,_0x17bf6c){const _0x573aaf=this['editor'],_0x3aced6=new _0x44c779(_0x573aaf['locale']),_0x2f8f3a=_0x573aaf['commands']['get']('uploadcare');return _0x3aced6['bind']('isEnabled')['to'](_0x2f8f3a),_0x3aced6['on']('execute',()=>{_0x2f8f3a['execute'](_0x17bf6c);}),_0x3aced6;}['_createToolbarButton'](_0x566c83){const {locale:_0xfd7e8a}=this['editor'],_0x1f2d39=this['editor']['plugins']['get']('ImageInsertUI'),_0x26a044=_0x566c83[0x0],_0x1dc4d7=this['_createButton'](_0x373ec5,_0x26a044['type']);return _0x1dc4d7['icon']=_0x26a044['icon'],_0x1dc4d7['bind']('label')['to'](_0x1f2d39,'isImageSelected',_0x1c62ed=>T(_0xfd7e8a,_0x26a044['type'],_0x1c62ed?'Replace':'Insert')['text']),_0x1dc4d7['tooltip']=!0x0,_0x1dc4d7;}['_createDropdownButtons'](_0x3ac272){const {locale:_0x2819e8}=this['editor'],_0x4947e5=this['editor']['plugins']['get']('ImageInsertUI');return _0x3ac272['map'](_0x1d2f97=>{const _0x3ecebc=this['_createButton'](_0x373ec5,_0x1d2f97['type']);return _0x3ecebc['withText']=!0x0,_0x3ecebc['icon']=_0x1d2f97['icon'],_0x3ecebc['bind']('label')['to'](_0x4947e5,'isImageSelected',_0x495496=>T(_0x2819e8,_0x1d2f97['type'],_0x495496?'Replace':'Insert')['text']),_0x3ecebc;});}['_createMenuBarButtons'](_0x11ae28){return _0x11ae28['map'](_0x4fba09=>{const _0xed16bc=this['_createButton'](_0x3f0543,_0x4fba09['type']);return _0xed16bc['icon']=_0x4fba09['icon'],_0xed16bc['label']=_0x4fba09['shortText'],_0xed16bc;});}}class K extends _0x458284{['focusTracker'];['focusCycler'];constructor(_0x3ca348){super(_0x3ca348),this['focusTracker']=new _0x231bec(),this['focusCycler']=new _0x1d66f8({'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 O extends K{constructor(_0x49b0c3,_0x84cc28){super(_0x49b0c3),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-'+_0x84cc28}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0xf0014,_0x216455){const _0x3b4d2f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x347517=>_0x347517<=_0x216455)['map'](_0xee40f=>_0xf0014['replace'](/\/$/,'')+'/-/resize/'+_0xee40f+'x/\x20'+_0xee40f+'w');return{'imageFallbackUrl':_0xf0014,'imageSources':[{'srcset':_0x3b4d2f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x216455+'px)\x20100vw,\x20'+_0x216455+'px','type':'image/webp'}]};}function F(_0xea2de7,_0x1ed049,_0x38692b){const _0x22d910=_0xea2de7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x22d910?parseInt(_0x22d910[0x1],0xa):_0x1ed049,'height':_0x22d910?parseInt(_0x22d910[0x2],0xa):_0x38692b};}function $(_0x28c28e,_0x50dbdf){const _0x2f40df=new(_0x446ec3())(),_0x261911=_0x28c28e['plugins']['get']('ImageUtils'),_0x3f2638=_0x28c28e['editing']['mapper']['toViewElement'](_0x50dbdf),_0x353524=_0x261911['findViewImgElement'](_0x3f2638),_0x5676d3=_0x28c28e['editing']['view']['domConverter']['viewToDom'](_0x353524),_0x234c34=_0x50dbdf['getAttribute']('width'),_0x123103=_0x50dbdf['getAttribute']('height'),_0x185bcf='image-processing';_0x28c28e['editing']['view']['change'](_0x333c72=>{_0x333c72['addClass'](_0x185bcf,_0x3f2638),_0x333c72['setStyle']('aspect-ratio',_0x234c34+'/'+_0x123103,_0x353524);}),_0x2f40df['listenTo'](_0x5676d3,'load',()=>{_0x2f40df['stopListening'](_0x5676d3,'load'),_0x28c28e['editing']['view']['change'](_0x524bf5=>{_0x524bf5['removeClass'](_0x185bcf,_0x3f2638),_0x524bf5['removeStyle']('aspect-ratio',_0x353524);});});}function B(_0x2d1342){if(Array['isArray'](_0x2d1342)){const _0x1572dd=_0x2d1342['map'](B);return _0x3ea8d2=>_0x1572dd['some'](_0x7a8a9f=>_0x7a8a9f(_0x3ea8d2));}if('origin'==_0x2d1342){const _0x5ee067=_0x355e9e['window']['location']['origin'];return _0x9d0b48=>new URL(_0x9d0b48,_0x355e9e['document']['baseURI'])['origin']==_0x5ee067;}return'function'==typeof _0x2d1342?_0x2d1342:_0x2d1342 instanceof RegExp?_0x25181=>!(!_0x25181['match'](_0x2d1342)&&!_0x25181['replace'](/^https?:\/\//,'')['match'](_0x2d1342)):()=>!0x1;}function V(_0x4ed6a2,_0x1ff066){return _0x1972ed(_0x4ed6a2['target'])['includes'](_0x1ff066);}class j extends/* #__PURE__ -- @preserve */
24
+ _0x37ff39(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x14f8cd,_0x34db65,_0x20467f){super(),this['_editor']=_0x14f8cd,this['_editing']=_0x34db65,this['_dialog']=_0x14f8cd['plugins']['get'](_0x1d02d4),this['_api']=_0x34db65['ctxElement']['getAPI'](),this['_type']=_0x20467f,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:_0x522e8c,model:_0x337bf8}=this['_editor'],_0x163f99=_0x337bf8['document']['selection']['getSelectedElement'](),_0x3f8fc9=_0x163f99&&(_0x163f99['is']('element','imageBlock')||_0x163f99['is']('element','imageInline'));this['_formView']=new O(_0x522e8c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3beef4,'title':T(_0x522e8c,this['_type'],_0x3f8fc9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1cab68['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x7f7bf4=>!V(_0x7f7bf4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5b09b2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1a6113=>{const _0x373344=_0x5b09b2['length'];for(const _0x4cc716 of _0x5b09b2){const _0xa1fdc5=_0x4cc716===_0x5b09b2[_0x373344-0x1],{cdnUrl:_0x46c618,fileInfo:_0x335dec}=_0x4cc716;if(!_0x46c618||!_0x335dec)continue;const {width:_0x54e946,height:_0x252c5a}=_0x335dec['imageInfo'],_0x52f59e=F(_0x46c618,_0x54e946,_0x252c5a),_0x12ba2e=D(_0x46c618,_0x52f59e['width']),_0x353b6c={'id':_0x335dec['uuid'],'type':'image','attributes':{'imageDimension':_0x52f59e,..._0x12ba2e}};this['_insertAsset'](_0x353b6c,_0xa1fdc5,_0x1a6113);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4099d8=>{'idle'===_0x4099d8['detail']['status']&&!_0x4099d8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x29a046,_0x1ec267,_0x161a2a){const _0x1d6602=this['_editor']['model']['document']['selection'],_0x1f62f6=_0x1d6602['getSelectedElement'](),_0x27d92a=!(!_0x1f62f6||!_0x1f62f6['is']('element','imageInline'));_0x161a2a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x29a046,_0x27d92a),_0x1ec267||_0x161a2a['setSelection'](_0x1d6602['getLastPosition']());}['_insertImage'](_0x43f3cf,_0x834880){const _0x1edb76=this['_editor'],{imageDimension:_0x415337,imageFallbackUrl:_0x942cf5,imageSources:_0x4ccc3b}=_0x43f3cf['attributes'];_0x1edb76['execute']('insertImage',{'imageType':_0x834880?'imageInline':null,'source':{'uploadcareImageId':_0x43f3cf['id'],'src':_0x942cf5,'sources':_0x4ccc3b,..._0x415337}});}}class M extends _0x7b1353{['_editing'];['_controller']=null;static get['requires'](){return[_0x1d02d4,z];}constructor(_0x17f7be){super(_0x17f7be),this['_editing']=_0x17f7be['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xa85159){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0xa85159);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x4dafbe,..._0x671b10}){return _0x173de0(_0x4dafbe,_0x671b10);}static['getInfo'](_0xf75905,_0x8f0051){return _0x384bf6(_0xf75905,_0x8f0051);}}class W extends _0x44ccce{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3cd672,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x44a656=this['editor'];if(!!!_0x44a656['config']['get']('uploadcare'))return;_0x44a656['plugins']['get'](_0x3cd672)['createUploadAdapter']=_0x2b847b=>new G(_0x2b847b,_0x44a656),_0x44a656['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2c0def,{imageElement:_0x579b6c,data:_0x54f8da})=>{_0x44a656['model']['change'](_0x3e0246=>{_0x3e0246['setAttribute']('uploadcareImageId',_0x54f8da['uploadcareImageId'],_0x579b6c);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x17a797,_0x75af4){this['loader']=_0x17a797,this['editor']=_0x75af4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x468415=await this['loader']['file'];return q['upload']({'file':_0x468415,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x398358=>{_0x398358&&_0x398358['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x398358['value']);}})['then'](async _0x3ab750=>{const {imageFallbackUrl:_0x4d3405,imageSources:_0x201cc4}=D(_0x3ab750['cdnUrl'],_0x3ab750['imageInfo']['width']);return{'uploadcareImageId':_0x3ab750['uuid'],'default':_0x4d3405,'sources':_0x201cc4};})['catch'](()=>{const _0x36d08e=t('Cannot\x20upload\x20file:')+('\x20'+_0x468415['name']+'.');return Promise['reject'](_0x36d08e);});}['abort'](){this['controller']['abort']();}}class z extends _0x44ccce{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x1d02d4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xcbf484){super(_0xcbf484),this['ucContextId']=_0x54c9c6();}['init'](){const _0x292486=this['editor'];_0x292486['commands']['add']('uploadcare',new M(_0x292486));}['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 _0x4df317=_0x355e9e['document']['querySelector']('input[uploadcare-file-input]');_0x4df317&&_0x4df317['remove']();}),async function(_0x1106d4){const _0x346a01=_0x2da38f([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4c1bbc=0x535f8c3a,_0x41343b=0x5358f2c2^_0x4c1bbc,_0x16f3dc=window[_0x2da38f([0x44,0x61,0x74,0x65])][_0x2da38f([0x6e,0x6f,0x77])](),_0x3a727c=_0x1106d4[_0x2da38f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x309f76=new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e08f=>{_0x3a727c[_0x2da38f([0x6f,0x6e,0x63,0x65])](_0x2da38f([0x72,0x65,0x61,0x64,0x79]),_0x44e08f);}),_0x10aefd={[_0x2da38f([0x6b,0x74,0x79])]:_0x2da38f([0x45,0x43]),[_0x2da38f([0x75,0x73,0x65])]:_0x2da38f([0x73,0x69,0x67]),[_0x2da38f([0x63,0x72,0x76])]:_0x2da38f([0x50,0x2d,0x32,0x35,0x36]),[_0x2da38f([0x78])]:_0x2da38f([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]),[_0x2da38f([0x79])]:_0x2da38f([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]),[_0x2da38f([0x61,0x6c,0x67])]:_0x2da38f([0x45,0x53,0x32,0x35,0x36])},_0x5429ea=_0x3a727c[_0x2da38f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2da38f([0x67,0x65,0x74])](_0x2da38f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x355aba(){let _0x4a7f8f,_0xd8e2ae=null,_0x43f0ac=null;try{if(_0x5429ea==_0x2da38f([0x47,0x50,0x4c]))return _0x2da38f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a7f8f=_0x9075c(),!_0x4a7f8f)return _0x2da38f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a7f8f[_0x2da38f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43f0ac=_0x541fce(_0x4a7f8f[_0x2da38f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a7f8f[_0x2da38f([0x6a,0x74,0x69])])),await _0x430251()?_0x16c4a9()?_0x3f9dea()?_0x2da38f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1763f9()?(_0x4a7f8f[_0x2da38f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2da38f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd8e2ae=_0x225ff2(_0x2da38f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59e1de()):_0x2da38f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2da38f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2da38f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2da38f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f9dea(){const _0x98d04b=[_0x2da38f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2da38f([0x74,0x72,0x69,0x61,0x6c])][_0x2da38f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7f8f[_0x2da38f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f3dc/0x3e8:0xe10*_0x41343b;return _0x4a7f8f[_0x2da38f([0x65,0x78,0x70])]<_0x98d04b;}function _0x16c4a9(){const _0x27750e=_0x4a7f8f[_0x2da38f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27750e&&(!!_0x27750e[_0x2da38f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da38f([0x2a]))||!!_0x27750e[_0x2da38f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da38f([0x55,0x50,0x4c,0x43])));}function _0x1763f9(){const _0x50398c=_0x4a7f8f[_0x2da38f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50398c||0x0==_0x50398c[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b03a4}=new URL(window[_0x2da38f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50398c[_0x2da38f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b03a4))return!0x0;const _0x32fc8d=_0x3b03a4[_0x2da38f([0x73,0x70,0x6c,0x69,0x74])](_0x2da38f([0x2e]));return _0x50398c[_0x2da38f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dc65d=>_0x4dc65d[_0x2da38f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da38f([0x2a])))[_0x2da38f([0x6d,0x61,0x70])](_0x18c6a7=>_0x18c6a7[_0x2da38f([0x73,0x70,0x6c,0x69,0x74])](_0x2da38f([0x2e])))[_0x2da38f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46c156=>_0x46c156[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32fc8d[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2da38f([0x6d,0x61,0x70])](_0x1f1a48=>Array(_0x32fc8d[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f1a48[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2da38f([0x66,0x69,0x6c,0x6c])](_0x1f1a48[0x0]===_0x2da38f([0x2a])?_0x2da38f([0x2a]):'')[_0x2da38f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f1a48))[_0x2da38f([0x73,0x6f,0x6d,0x65])](_0x41c7ff=>_0x32fc8d[_0x2da38f([0x65,0x76,0x65,0x72,0x79])]((_0x4ea774,_0x506199)=>_0x41c7ff[_0x506199]===_0x4ea774||_0x41c7ff[_0x506199]===_0x2da38f([0x2a])));}function _0x59e1de(){return _0xd8e2ae&&_0x43f0ac?new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4437ab,_0x4ae72c)=>{_0xd8e2ae[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x4437ab,_0x4ae72c),_0x43f0ac[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x3fe333=>{_0x3fe333!=_0x2da38f([0x56,0x61,0x6c,0x69,0x64])&&_0x4437ab(_0x3fe333);},_0x4ae72c);}):_0xd8e2ae||_0x43f0ac||_0x2da38f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x541fce(_0x2baaba,_0x1b43b9){return new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a24f=>{if(_0x311813())return _0x38a24f(_0x2da38f([0x56,0x61,0x6c,0x69,0x64]));_0x15ab57(),_0x3a727c[_0x2da38f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2da38f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa003e9=!0x1;const _0x221d52=_0x54c9c6();function _0x4cf723(_0x5d3e30){return!!_0x5d3e30&&(typeof _0x5d3e30===_0x2da38f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d3e30===_0x2da38f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d3e30[_0x2da38f([0x74,0x68,0x65,0x6e])]===_0x2da38f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d3e30[_0x2da38f([0x63,0x61,0x74,0x63,0x68])]===_0x2da38f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14d683(_0x4a47c8){_0x440378(_0x4a47c8)[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x1e9538=>{if(!_0x1e9538||_0x1e9538[_0x2da38f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2da38f([0x6f,0x6b]))return _0x2da38f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e172f(_0x3e5b83(_0x221d52+_0x1b43b9))!=_0x1e9538[_0x2da38f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2da38f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2da38f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x36484b=>(_0x569514(),_0x36484b),()=>{const _0x59ece5=_0x47b9a1();return null==_0x59ece5?(_0x569514(),_0x2da38f([0x56,0x61,0x6c,0x69,0x64])):_0x2da38f(_0x16f3dc-_0x59ece5>(0x7753083a^_0x4c1bbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x38a24f)[_0x2da38f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38a24f(_0x2da38f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30426b=0x536962ba^_0x4c1bbc;function _0x569514(){const _0x427c7d=_0x2da38f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e172f(_0x3e5b83(_0x2baaba)),_0x29be8f=_0x3c6131(_0x4e172f(window[_0x2da38f([0x4d,0x61,0x74,0x68])][_0x2da38f([0x63,0x65,0x69,0x6c])](_0x16f3dc/_0x30426b)));window[_0x2da38f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2da38f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x427c7d,_0x29be8f);}function _0x47b9a1(){const _0x3416ab=_0x2da38f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e172f(_0x3e5b83(_0x2baaba)),_0x2638fd=window[_0x2da38f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2da38f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3416ab);return _0x2638fd?window[_0x2da38f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6131(_0x2638fd),0x10)*_0x30426b:null;}function _0x440378(_0x52f091){return new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b14e4,_0x4e5552)=>{_0x52f091[_0x2da38f([0x74,0x68,0x65,0x6e])](_0x4b14e4,_0x4e5552),window[_0x2da38f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e5552,0x535e58fa^_0x4c1bbc);});}}_0x3a727c[_0x2da38f([0x6f,0x6e])](_0x2da38f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51f00e,_0xb6dde8)=>{if(_0xb6dde8[0x0]!=_0x2baaba)return _0x38a24f(_0x2da38f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb6dde8[0x1]={..._0xb6dde8[0x1],[_0x2da38f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x221d52};},{[_0x2da38f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2da38f([0x68,0x69,0x67,0x68])}),_0x3a727c[_0x2da38f([0x6f,0x6e])](_0x2da38f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4562b2=>{_0x4cf723(_0x4562b2[_0x2da38f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa003e9=!0x0,_0x14d683(_0x4562b2[_0x2da38f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2da38f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2da38f([0x6c,0x6f,0x77])}),_0x309f76[_0x2da38f([0x74,0x68,0x65,0x6e])](()=>{_0xa003e9||_0x38a24f(_0x2da38f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x311813(){return _0x3a727c[_0x2da38f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2da38f([0x76,0x69,0x65,0x77])][_0x2da38f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2da38f([0x61,0x75,0x74,0x6f]);}function _0x15ab57(){_0x3a727c[_0x2da38f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2da38f([0x76,0x69,0x65,0x77])][_0x2da38f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2da38f([0x61,0x75,0x74,0x6f]);}}function _0x225ff2(_0x3285f9){const _0x33895a=[new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ee384=>setTimeout(_0x4ee384,0x5356b2f6^_0x4c1bbc)),_0x309f76[_0x2da38f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467a2c=>{let _0x272949=0x0;_0x3a727c[_0x2da38f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2da38f([0x6f,0x6e])](_0x2da38f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cba21,_0x241f75)=>{_0x241f75[0x0][_0x2da38f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x272949++,_0x272949==(0x535f89d2^_0x4c1bbc)&&(_0x467a2c(),_0x5cba21[_0x2da38f([0x6f,0x66,0x66])]());});}))];return window[_0x2da38f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2da38f([0x72,0x61,0x63,0x65])](_0x33895a)[_0x2da38f([0x74,0x68,0x65,0x6e])](()=>_0x3285f9);}async function _0x671e91(){await _0x309f76,_0x3a727c[_0x2da38f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2da38f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40947d,_0x3a727c[_0x2da38f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2da38f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40947d,_0x3a727c[_0x2da38f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2da38f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ed3b2(_0x2eb251){const _0x116954=_0x179e1b();_0x3a727c[_0x116954]=_0x2da38f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2eb251,_0x2eb251!=_0x2da38f([0x56,0x61,0x6c,0x69,0x64])&&_0x671e91();}function _0x179e1b(){const _0x13a49c=window[_0x2da38f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2da38f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2da38f([0x6e,0x6f,0x77])]())[_0x2da38f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2da38f([0x2e]),'');let _0x57fc9f=_0x2da38f([0x68]);for(let _0x49261f=0x0;_0x49261f<_0x13a49c[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49261f+=0x2){let _0x3859f7=window[_0x2da38f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a49c[_0x2da38f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49261f,_0x49261f+0x2));_0x3859f7>=_0x346a01[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3859f7-=_0x346a01[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57fc9f+=_0x346a01[_0x3859f7];}return _0x57fc9f;}function _0x9075c(){const _0x2717e2=_0x5429ea[_0x2da38f([0x73,0x70,0x6c,0x69,0x74])](_0x2da38f([0x2e]));if(0x3!=_0x2717e2[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b2cfd(_0x2717e2[0x1]);function _0x1b2cfd(_0xc2245d){const _0x5babcc=_0x5180d9(_0xc2245d);return _0x5babcc&&_0x363dc0()?_0x5babcc:null;function _0x363dc0(){const _0x5eeb40=_0x5babcc[_0x2da38f([0x6a,0x74,0x69])],_0x5891c8=window[_0x2da38f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5eeb40[_0x2da38f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5eeb40[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7599b0={..._0x5babcc,[_0x2da38f([0x6a,0x74,0x69])]:_0x5eeb40[_0x2da38f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5eeb40[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7599b0[_0x2da38f([0x76,0x63])],_0x3e5b83(_0x7599b0)==_0x5891c8;}}}async function _0x430251(){let _0x2fe777=!0x0;try{const _0x2ca8ae=_0x5429ea[_0x2da38f([0x73,0x70,0x6c,0x69,0x74])](_0x2da38f([0x2e])),[_0x56f6d3,_0x1dc96c,_0x5b2983]=_0x2ca8ae;return _0x3e27bf(_0x56f6d3),await _0x5600c6(_0x56f6d3,_0x1dc96c,_0x5b2983),_0x2fe777;}catch{return!0x1;}function _0x3e27bf(_0x33c985){const _0x311e5a=_0x5180d9(_0x33c985);_0x311e5a&&_0x311e5a[_0x2da38f([0x61,0x6c,0x67])]==_0x2da38f([0x45,0x53,0x32,0x35,0x36])||(_0x2fe777=!0x1);}async function _0x5600c6(_0x18d368,_0x388bea,_0xb2a825){const _0x46311b=window[_0x2da38f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2da38f([0x66,0x72,0x6f,0x6d])](_0x4650d0(_0xb2a825),_0x143173=>_0x143173[_0x2da38f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x419d7c=new window[(_0x2da38f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2da38f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18d368+_0x2da38f([0x2e])+_0x388bea),_0x40230a=window[_0x2da38f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2da38f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40230a)return;const _0x135631=await _0x40230a[_0x2da38f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2da38f([0x6a,0x77,0x6b]),_0x10aefd,{[_0x2da38f([0x6e,0x61,0x6d,0x65])]:_0x2da38f([0x45,0x43,0x44,0x53,0x41]),[_0x2da38f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2da38f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2da38f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40230a[_0x2da38f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2da38f([0x6e,0x61,0x6d,0x65])]:_0x2da38f([0x45,0x43,0x44,0x53,0x41]),[_0x2da38f([0x68,0x61,0x73,0x68])]:{[_0x2da38f([0x6e,0x61,0x6d,0x65])]:_0x2da38f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x135631,_0x46311b,_0x419d7c)||(_0x2fe777=!0x1);}}function _0x5180d9(_0x2c9883){return _0x2c9883[_0x2da38f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2da38f([0x65,0x79]))?JSON[_0x2da38f([0x70,0x61,0x72,0x73,0x65])](_0x4650d0(_0x2c9883)):null;}function _0x4650d0(_0x135d26){return window[_0x2da38f([0x61,0x74,0x6f,0x62])](_0x135d26[_0x2da38f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2da38f([0x2b]))[_0x2da38f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2da38f([0x2f])));}function _0x3e5b83(_0x5ed219){let _0x234779=0x1505;function _0x410dd2(_0x485028){for(let _0x50a0bf=0x0;_0x50a0bf<_0x485028[_0x2da38f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50a0bf++){const _0xfa6e7b=_0x485028[_0x2da38f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50a0bf);_0x234779=(_0x234779<<0x5)+_0x234779+_0xfa6e7b,_0x234779&=_0x234779;}}function _0x1dbb86(_0x45320d){Array[_0x2da38f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45320d)?_0x45320d[_0x2da38f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dbb86):_0x45320d&&typeof _0x45320d==_0x2da38f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2da38f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45320d)[_0x2da38f([0x73,0x6f,0x72,0x74])]()[_0x2da38f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x129632,_0x58a8d0])=>{_0x410dd2(_0x129632),_0x1dbb86(_0x58a8d0);}):_0x410dd2(window[_0x2da38f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45320d));}return _0x1dbb86(_0x5ed219),_0x234779>>>0x0;}function _0x4e172f(_0x5b74ae){return _0x5b74ae[_0x2da38f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2da38f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2da38f([0x30]));}function _0x3c6131(_0x33f6ba){return _0x33f6ba[_0x2da38f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2da38f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2da38f([0x6a,0x6f,0x69,0x6e])]('');}function _0x40947d(){}function _0x2da38f(_0xd995b){return _0xd995b['map'](_0x260478=>String['fromCharCode'](_0x260478))['join']('');}_0x5ed3b2(await _0x355aba());}(this);}['_initSchema'](){const _0x64aa06=this['editor']['model']['schema'];_0x64aa06['isRegistered']('imageBlock')&&_0x64aa06['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x64aa06['isRegistered']('imageInline')&&_0x64aa06['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3ada20=this['editor'];_0x3ada20['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3ada20['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x339954=>_0x339954['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1ffa7c=_0x3ada20['commands']['get']('replaceImageSource');_0x1ffa7c&&this['listenTo'](_0x1ffa7c,'cleanupImage',(_0x3656d7,[_0x2967d0,_0x5b5222])=>{_0x2967d0['removeAttribute']('uploadcareImageId',_0x5b5222);});}['_initConfig'](){const _0x4f7dea=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a6ec5=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x14b6d4(_0x355e9e['document'],'uc-config',{..._0x4f7dea,'pubkey':_0x3a6ec5,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x33d691=>{if('closeMax'==_0x33d691)return'#uc-icon-arrow-down';},_0x355e9e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x14b6d4(_0x355e9e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x355e9e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x361507=this['editor']['commands']['get']('insertImage');_0x361507&&this['listenTo'](_0x361507,'execute',()=>{const _0x32bb3f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32bb3f&&_0x32bb3f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x32bb3f);});});const _0x4a38e9=this['editor']['commands']['get']('uploadcareImageReplace');_0x4a38e9&&this['listenTo'](_0x4a38e9,'execute',()=>{const _0x212f55=this['editor']['model']['document']['selection']['getSelectedElement']();_0x212f55&&_0x212f55['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x212f55);});});}}class H extends _0x44ccce{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1bd3ea){super(_0x1bd3ea),_0x1bd3ea['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0xab1c24['defineComponents'](_0xab1c24),this['_defineLocale']();}['_defineLocale'](){const _0x279500=this['editor']['config']['get']('uploadcare.locale'),_0x25abd1=this['editor']['locale']['contentLanguage'];_0x279500&&_0xab1c24['defineLocale'](_0x25abd1,_0x279500);}}class J extends _0x458284{constructor(_0x5b2229){super(_0x5b2229);const t=_0x5b2229['t'],_0x29d4c4=this['bindTemplate'],_0x553cf2=new _0x358f84();_0x553cf2['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':[_0x553cf2,{'text':_0x29d4c4['to']('imageUploadProgress',_0x6222b3=>t('Loading\x20image...')+'\x20('+(_0x6222b3||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 Z extends _0x458284{constructor(_0x569a5c){super(_0x569a5c);const t=_0x569a5c['t'];this['set']('errorType',null);const _0x2b6300=new _0x373ec5(_0x569a5c);_0x2b6300['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2b6300['withText']=!0x0,_0x2b6300['class']='ck-button-action',_0x2b6300['on']('execute',()=>{this['fire']('retry');}),_0x2b6300['bind']('isVisible')['to'](this,'errorType',_0x53ee04=>'NotFound'!==_0x53ee04);const _0x5f38cc=new _0x4749a4();_0x5f38cc['content']=_0xf7269a,_0x5f38cc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4b6926=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':[_0x5f38cc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4b6926['to']('errorType',_0x47948b=>t('NotFound'!==_0x47948b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2b6300]},{'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 Q extends _0x458284{constructor(_0x3a9be9,_0x2686ec){super(_0x3a9be9);const _0x3632df=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2686ec,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3632df['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4d30a4,_0x391f0f,_0x33eed8){super(_0x4d30a4),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x4d30a4),this['_errorView']=new Z(_0x4d30a4),this['_editingView']=new Q(_0x4d30a4,_0x33eed8),this['_focusableView']=new _0x458284(_0x4d30a4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x391f0f),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'],_0x153138=>{this['_addUploadcareImageEditorListeners'](_0x153138);});}),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'](_0x5ca48a,_0x517e3d){const _0x4b2f81='uc-cloud-image-editor',_0x10cef5=_0x5ca48a['querySelector'](_0x4b2f81);if(_0x10cef5)return _0x517e3d(_0x10cef5);const _0x232525=new MutationObserver(_0x2af942=>{const _0x5a80e9=_0x2af942['filter'](_0xb65cc3=>_0xb65cc3['target']===_0x5ca48a&&_0xb65cc3['addedNodes']['length']>0x0&&_0xb65cc3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4b2f81);_0x5a80e9['length']&&(_0x232525['disconnect'](),_0x517e3d(_0x5a80e9[0x0]['addedNodes'][0x0]));});_0x232525['observe'](_0x5ca48a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3095b3){_0x3095b3['addEventListener']('apply',_0x5ecd6a=>{this['fire']('apply',{'imageSrc':_0x5ecd6a['detail']['cdnUrl']});}),_0x3095b3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
+ _0x37ff39(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1dac71,_0x3fae65,_0x3edde9){super(),this['_editor']=_0x1dac71,this['_dialog']=_0x3fae65,this['_imageElement']=_0x3edde9,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 _0x424882=this['_imageElement'],_0x39dec9=_0x424882['getAttribute']('uploadcareImageId'),_0x13a1b0=_0x424882['getAttribute']('src');if(_0x39dec9)await this['_loadImageInfo'](_0x39dec9,_0x13a1b0);else{if(this['_imageCache']['has'](_0x13a1b0)){const _0x98c4b2=this['_imageCache']['get'](_0x13a1b0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x98c4b2['url'],this['imageDimension']=_0x98c4b2['dimension'],this['imageId']=_0x98c4b2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2d6ae0}=this['_editor'],t=_0x2d6ae0['t'],_0x3dc176=new X(_0x2d6ae0,this['imageStatus'],this['_attributes']);_0x3dc176['bind']('status')['to'](this,'imageStatus'),_0x3dc176['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3dc176['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3dc176['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3dc176,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x52c2b5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3dc176,'position':_0x1cab68['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3dc176['focus']();},'onHide':()=>{_0x3dc176['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x153969=>!V(_0x153969,_0x3dc176['element'])}});}['_loadImageInfo'](_0x7a31a2,_0x5600a6){return q['getInfo'](_0x7a31a2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f0d34=>{const {width:_0x336b94,height:_0x3821f4}=_0x3f0d34['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5600a6,this['imageDimension']={'width':_0x336b94,'height':_0x3821f4},this['imageId']=_0x7a31a2;})['catch'](_0xcf1e18=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcf1e18['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x48895d,_0x479c91){return this['_getImageAsFile'](_0x48895d)['then'](_0x23906b=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x479c91['signal'],'file':_0x23906b,'onProgress':_0x3cca70=>{_0x3cca70&&_0x3cca70['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3cca70['value']));}}))['then'](_0x3e29ac=>{const {width:_0x20e283,height:_0x23aa18}=_0x3e29ac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e29ac['cdnUrl'],this['imageDimension']={'width':_0x20e283,'height':_0x23aa18},this['imageId']=_0x3e29ac['uuid'],this['imageUploadProgress']=null;const _0x321223=_0x48895d['getAttribute']('src');this['_imageCache']['set'](_0x321223,{'id':_0x3e29ac['uuid'],'url':_0x3e29ac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ebc90=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ebc90['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4a24b8,_0xc50424){_0x4a24b8['on']('apply',(_0x22720b,_0x2764cd)=>{this['_replaceImage'](_0xc50424,_0x2764cd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4a24b8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4a24b8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28ee47,_0x196258,_0x74abac){const _0x435d22=this['_editor'],{width:_0x46db49,height:_0x4b9227}=F(_0x196258,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5a231e,imageSources:_0x2970de}=D(_0x196258,_0x46db49);_0x435d22['model']['change'](_0x495794=>{if('$graveyard'===_0x28ee47['root']['rootName']){_0x435d22['execute']('insertImage',{'imageType':_0x28ee47['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28ee47['getAttributes']()),'uploadcareImageId':_0x74abac,'src':_0x5a231e,'sources':_0x2970de,'width':_0x46db49,'height':_0x4b9227}});const _0x3ecb48=_0x28ee47['getChildren']();_0x28ee47=_0x435d22['model']['document']['selection']['getSelectedElement']();for(const _0x288cd3 of _0x3ecb48)_0x495794['append'](_0x495794['cloneElement'](_0x288cd3),_0x28ee47);}else _0x495794['setSelection'](_0x28ee47,'on'),_0x435d22['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28ee47['getAttributes']()),'uploadcareImageId':_0x74abac,'src':_0x5a231e,'sources':_0x2970de,'width':_0x46db49,'height':_0x4b9227},_0x28ee47);_0x495794['setSelection'](_0x28ee47,'on');});}async['_getImageAsFile'](_0x4b98e5){const _0x57356e=_0x355e9e['window'],_0x1a5454=_0x355e9e['document']['location']['href'],_0x413e78=new _0x57356e['URL'](_0x4b98e5['getAttribute']('src'),_0x1a5454);if('data:'===_0x413e78['protocol']){const _0x171fcf=_0x413e78['href']['split'](','),_0x10e264=_0x171fcf[0x0]['match'](/:(.*?);/)[0x1],_0xe6278e=_0x10e264['split']('/')[0x1],_0x639d5e=_0x57356e['atob'](_0x171fcf[_0x171fcf['length']-0x1]);let _0x4e50ca=_0x639d5e['length'];const _0x3c3f81=new _0x57356e['Uint8Array'](_0x4e50ca);for(;_0x4e50ca--;)_0x3c3f81[_0x4e50ca]=_0x639d5e['charCodeAt'](_0x4e50ca);return new _0x57356e['File']([_0x3c3f81],'image.'+_0xe6278e,{'type':_0x10e264});}const _0x40a99f=_0x413e78['href']['split']('/'),_0x1da07c=_0x40a99f[_0x40a99f['length']-0x1],_0x32651f=_0x1da07c['split']('.')[0x1];return _0x57356e['fetch'](_0x413e78['href'])['then'](_0x3b10a8=>_0x3b10a8['clone']()['blob']())['then'](_0x1a578c=>new _0x57356e['File']([_0x1a578c],_0x1da07c,{'type':'image/'+_0x32651f}));}}class tt extends _0x7b1353{['imageEditController'];static get['requires'](){return[_0x1d02d4];}['_isEditable'];constructor(_0x27252b){super(_0x27252b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x43ba85){const _0x475cfb=B(_0x43ba85);return _0x1cc533=>!(!_0x1cc533||!_0x1cc533['is']('element','imageBlock')&&!_0x1cc533['is']('element','imageInline'))&&(!!_0x1cc533['hasAttribute']('uploadcareImageId')||!!_0x1cc533['hasAttribute']('src')&&_0x475cfb(_0x1cc533['getAttribute']('src')));}(_0x27252b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5fa523=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5fa523);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x45e0a7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x45e0a7&&(_0x45e0a7['is']('element','imageBlock')||_0x45e0a7['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x1d02d4),_0x45e0a7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x7b1353{['refresh'](){const _0x4045cb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4045cb&&(_0x4045cb['is']('element','imageBlock')||_0x4045cb['is']('element','imageInline')));}['execute'](_0x555fe3){const _0x3ec331=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x169dfc=>{_0x169dfc['setAttributes'](_0x555fe3,_0x3ec331),_0x169dfc['removeAttribute']('srcset',_0x3ec331),_0x169dfc['removeAttribute']('sizes',_0x3ec331);});}}class it extends _0x44ccce{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x369f7b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x146bbb}=this;_0x146bbb['commands']['add']('uploadcareImageEdit',new tt(_0x146bbb)),_0x146bbb['commands']['add']('uploadcareImageReplace',new et(_0x146bbb));}}class st extends _0x44ccce{['_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 _0xc241a3=this['editor'];_0xc241a3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b3e3b=>{const _0x38cf1e=_0xc241a3['commands']['get']('uploadcareImageEdit'),_0x457427=new _0x373ec5(_0x3b3e3b),t=_0x3b3e3b['t'];return _0x457427['set']({'icon':_0x52c2b5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x457427['bind']('isEnabled')['to'](_0x38cf1e),_0x457427['bind']('isOn')['to'](_0x38cf1e,'isActive'),this['listenTo'](_0x457427,'execute',()=>{_0xc241a3['execute']('uploadcareImageEdit'),_0xc241a3['editing']['view']['focus']();}),_0x457427;}),this['_initConfig']();}['_initConfig'](){const _0x35d4ae=_0x14b6d4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x35d4ae),this['listenTo'](this['editor'],'destroy',()=>{_0x35d4ae['remove']();});}}class nt extends _0x44ccce{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5a4cb0=>0x1!=_0x5a4cb0}};
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':_0x41d8b0=>0x1!=_0x41d8b0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x529939=>{const {af:{dictionary:_0x1213a8,getPluralForm:_0x3f2d43}}={'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':_0x540f99=>0x1!=_0x540f99}};_0x529939['af']||={'dictionary':{},'getPluralForm':null},_0x529939['af']['dictionary']=Object['assign'](_0x529939['af']['dictionary'],_0x1213a8),_0x529939['af']['getPluralForm']=_0x3f2d43;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f36e2=>{const {af:{dictionary:_0x46025e,getPluralForm:_0x13fcaa}}={'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':_0xac1b34=>0x1!=_0xac1b34}};_0x4f36e2['af']||={'dictionary':{},'getPluralForm':null},_0x4f36e2['af']['dictionary']=Object['assign'](_0x4f36e2['af']['dictionary'],_0x46025e),_0x4f36e2['af']['getPluralForm']=_0x13fcaa;})(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':_0x11fd04=>0x0==_0x11fd04?0x0:0x1==_0x11fd04?0x1:0x2==_0x11fd04?0x2:_0x11fd04%0x64>=0x3&&_0x11fd04%0x64<=0xa?0x3:_0x11fd04%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':_0x5eba3a=>0x0==_0x5eba3a?0x0:0x1==_0x5eba3a?0x1:0x2==_0x5eba3a?0x2:_0x5eba3a%0x64>=0x3&&_0x5eba3a%0x64<=0xa?0x3:_0x5eba3a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30db69=>{const {ar:{dictionary:_0x27c2dd,getPluralForm:_0x1ed2d1}}={'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':_0x10ba85=>0x0==_0x10ba85?0x0:0x1==_0x10ba85?0x1:0x2==_0x10ba85?0x2:_0x10ba85%0x64>=0x3&&_0x10ba85%0x64<=0xa?0x3:_0x10ba85%0x64>=0xb?0x4:0x5}};_0x30db69['ar']||={'dictionary':{},'getPluralForm':null},_0x30db69['ar']['dictionary']=Object['assign'](_0x30db69['ar']['dictionary'],_0x27c2dd),_0x30db69['ar']['getPluralForm']=_0x1ed2d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b9e5e=>{const {ar:{dictionary:_0x5c679b,getPluralForm:_0x5721e2}}={'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':_0x10deb0=>0x0==_0x10deb0?0x0:0x1==_0x10deb0?0x1:0x2==_0x10deb0?0x2:_0x10deb0%0x64>=0x3&&_0x10deb0%0x64<=0xa?0x3:_0x10deb0%0x64>=0xb?0x4:0x5}};_0x5b9e5e['ar']||={'dictionary':{},'getPluralForm':null},_0x5b9e5e['ar']['dictionary']=Object['assign'](_0x5b9e5e['ar']['dictionary'],_0x5c679b),_0x5b9e5e['ar']['getPluralForm']=_0x5721e2;})(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':_0x1a64c1=>0x1!=_0x1a64c1}};
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':_0xcf86e6=>0x1!=_0xcf86e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x118c16=>{const {ast:{dictionary:_0xc6dc4c,getPluralForm:_0x49e81b}}={'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':_0xd473e4=>0x1!=_0xd473e4}};_0x118c16['ast']||={'dictionary':{},'getPluralForm':null},_0x118c16['ast']['dictionary']=Object['assign'](_0x118c16['ast']['dictionary'],_0xc6dc4c),_0x118c16['ast']['getPluralForm']=_0x49e81b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x41106e=>{const {ast:{dictionary:_0x2d4609,getPluralForm:_0x4c9c09}}={'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':_0x23927e=>0x1!=_0x23927e}};_0x41106e['ast']||={'dictionary':{},'getPluralForm':null},_0x41106e['ast']['dictionary']=Object['assign'](_0x41106e['ast']['dictionary'],_0x2d4609),_0x41106e['ast']['getPluralForm']=_0x4c9c09;})(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':_0x48c77a=>0x1!=_0x48c77a}};
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':_0x2c0a4f=>0x1!=_0x2c0a4f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1657be=>{const {az:{dictionary:_0x574277,getPluralForm:_0x2927fe}}={'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':_0x2abddc=>0x1!=_0x2abddc}};_0x1657be['az']||={'dictionary':{},'getPluralForm':null},_0x1657be['az']['dictionary']=Object['assign'](_0x1657be['az']['dictionary'],_0x574277),_0x1657be['az']['getPluralForm']=_0x2927fe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2e1040=>{const {az:{dictionary:_0x527379,getPluralForm:_0x1d372f}}={'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':_0x41740d=>0x1!=_0x41740d}};_0x2e1040['az']||={'dictionary':{},'getPluralForm':null},_0x2e1040['az']['dictionary']=Object['assign'](_0x2e1040['az']['dictionary'],_0x527379),_0x2e1040['az']['getPluralForm']=_0x1d372f;})(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':_0x558d61=>_0x558d61%0xa==0x1&&_0x558d61%0x64!=0xb?0x0:_0x558d61%0xa>=0x2&&_0x558d61%0xa<=0x4&&(_0x558d61%0x64<0xa||_0x558d61%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':_0x14dfd0=>_0x14dfd0%0xa==0x1&&_0x14dfd0%0x64!=0xb?0x0:_0x14dfd0%0xa>=0x2&&_0x14dfd0%0xa<=0x4&&(_0x14dfd0%0x64<0xa||_0x14dfd0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58381c=>{const {be:{dictionary:_0xd80b9a,getPluralForm:_0x2dfd57}}={'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':_0x28bb9a=>_0x28bb9a%0xa==0x1&&_0x28bb9a%0x64!=0xb?0x0:_0x28bb9a%0xa>=0x2&&_0x28bb9a%0xa<=0x4&&(_0x28bb9a%0x64<0xa||_0x28bb9a%0x64>=0x14)?0x1:0x2}};_0x58381c['be']||={'dictionary':{},'getPluralForm':null},_0x58381c['be']['dictionary']=Object['assign'](_0x58381c['be']['dictionary'],_0xd80b9a),_0x58381c['be']['getPluralForm']=_0x2dfd57;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46c99f=>{const {be:{dictionary:_0x591bd3,getPluralForm:_0x2d23dd}}={'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':_0x18ae2c=>_0x18ae2c%0xa==0x1&&_0x18ae2c%0x64!=0xb?0x0:_0x18ae2c%0xa>=0x2&&_0x18ae2c%0xa<=0x4&&(_0x18ae2c%0x64<0xa||_0x18ae2c%0x64>=0x14)?0x1:0x2}};_0x46c99f['be']||={'dictionary':{},'getPluralForm':null},_0x46c99f['be']['dictionary']=Object['assign'](_0x46c99f['be']['dictionary'],_0x591bd3),_0x46c99f['be']['getPluralForm']=_0x2d23dd;})(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':_0x30165b=>0x1!=_0x30165b}};
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':_0x74f6e4=>0x1!=_0x74f6e4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c0a19=>{const {bg:{dictionary:_0x1bae37,getPluralForm:_0x39760e}}={'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':_0x1c6168=>0x1!=_0x1c6168}};_0x2c0a19['bg']||={'dictionary':{},'getPluralForm':null},_0x2c0a19['bg']['dictionary']=Object['assign'](_0x2c0a19['bg']['dictionary'],_0x1bae37),_0x2c0a19['bg']['getPluralForm']=_0x39760e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c9f0d=>{const {bg:{dictionary:_0x3b3ade,getPluralForm:_0xa70372}}={'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':_0x5373f6=>0x1!=_0x5373f6}};_0x1c9f0d['bg']||={'dictionary':{},'getPluralForm':null},_0x1c9f0d['bg']['dictionary']=Object['assign'](_0x1c9f0d['bg']['dictionary'],_0x3b3ade),_0x1c9f0d['bg']['getPluralForm']=_0xa70372;})(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':_0x176d75=>0x1!=_0x176d75}};
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':_0x58eb4c=>0x1!=_0x58eb4c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e32e2=>{const {bn:{dictionary:_0x992cac,getPluralForm:_0x27bf75}}={'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':_0x3a3d67=>0x1!=_0x3a3d67}};_0x1e32e2['bn']||={'dictionary':{},'getPluralForm':null},_0x1e32e2['bn']['dictionary']=Object['assign'](_0x1e32e2['bn']['dictionary'],_0x992cac),_0x1e32e2['bn']['getPluralForm']=_0x27bf75;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2822fc=>{const {bn:{dictionary:_0x329fe0,getPluralForm:_0xd66a05}}={'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':_0x264189=>0x1!=_0x264189}};_0x2822fc['bn']||={'dictionary':{},'getPluralForm':null},_0x2822fc['bn']['dictionary']=Object['assign'](_0x2822fc['bn']['dictionary'],_0x329fe0),_0x2822fc['bn']['getPluralForm']=_0xd66a05;})(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':_0x4fbe4d=>_0x4fbe4d%0xa==0x1&&_0x4fbe4d%0x64!=0xb?0x0:_0x4fbe4d%0xa>=0x2&&_0x4fbe4d%0xa<=0x4&&(_0x4fbe4d%0x64<0xa||_0x4fbe4d%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':_0x271cd4=>_0x271cd4%0xa==0x1&&_0x271cd4%0x64!=0xb?0x0:_0x271cd4%0xa>=0x2&&_0x271cd4%0xa<=0x4&&(_0x271cd4%0x64<0xa||_0x271cd4%0x64>=0x14)?0x1:0x2}};