@emailmaker/emailmaker 1.0.111-dev.7 → 1.0.111-dev.8

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 (47) hide show
  1. package/README.md +1 -1
  2. package/{emailmaker-core.3e49164c.js → emailmaker-core.e66b6bbd.js} +1 -1
  3. package/emailmaker-esm.js +3 -3
  4. package/emailmaker.d.ts +27 -27
  5. package/emailmaker.js +9 -3
  6. package/iframe/js/amp.DVZOiCd2.js +1 -1
  7. package/iframe/js/chunk.oX6nCJbK.js +1 -1
  8. package/iframe/js/iframe-eblock.js +1 -1
  9. package/iframe/js/iframe.js +1 -1
  10. package/iframe/js/rules.BSaCN7eK.js +1 -1
  11. package/iframe/js/sanitize-html.Brggoo7U.js +1 -1
  12. package/package.json +1 -1
  13. package/runtime/@ant-design/cssinjs/index.js +1 -1
  14. package/runtime/@ant-design/icons/index.js +1 -1
  15. package/runtime/THIRD_PARTY_LICENSES.txt +38 -1
  16. package/runtime/antd/index.js +1 -1
  17. package/runtime/dayjs/index.js +1 -1
  18. package/runtime/uuid/index.js +1 -1
  19. package/static/core/{42aed026.js → 147560ac.js} +1 -1
  20. package/static/core/{a006f6f7.js → 1503d3c5.js} +1 -1
  21. package/static/core/{35624a31.js → 29b5cf4c.js} +1 -1
  22. package/static/core/{a1a8a556.js → 38431fd5.js} +1 -1
  23. package/static/core/{7692b5d1.js → 3c618aaa.js} +1 -1
  24. package/static/core/{3e187db3.js → 3da55a10.js} +1 -1
  25. package/static/core/{c173a170.js → 4c9ffe8a.js} +1 -1
  26. package/static/core/{1533d54f.js → 6c508e07.js} +3 -3
  27. package/static/core/{695f6357.js → 6df5e514.js} +1 -1
  28. package/static/core/{a15add90.js → 73e3b6fe.js} +1 -1
  29. package/static/core/{549d710f.js → a207410a.js} +1 -1
  30. package/static/core/{6f768da1.js → a2f4a86d.js} +1 -1
  31. package/static/core/{c0a64fe8.js → d19f3661.js} +1 -1
  32. package/static/core/{1f86e870.js → ea9209aa.js} +1 -1
  33. package/static/runtime/es-BM3Z0tyv.js +444 -0
  34. package/static/runtime/es-aqetrgqU.js +5 -0
  35. package/static/runtime/es-su3SZyyq.js +72 -0
  36. package/ui-kit/index.js +8 -8
  37. package/vite/index.cjs +1 -1
  38. package/vite/index.js +1 -1
  39. package/static/runtime/DownloadOutlined-D8I-Z3GJ.js +0 -57
  40. package/static/runtime/es-BC0iT53n.js +0 -387
  41. package/static/runtime/es-DSH7b6d8.js +0 -4
  42. package/static/runtime/es-XShFVIAB.js +0 -1
  43. package/static/runtime/objectWithoutProperties-7yjmsvQX.js +0 -2
  44. /package/iframe/{iframe-eblock.3e49164c.html → iframe-eblock.e66b6bbd.html} +0 -0
  45. /package/iframe/{iframe.3e49164c.html → iframe.e66b6bbd.html} +0 -0
  46. /package/static/runtime/{dayjs.min-BL8gJgHn.js → dayjs.min-CoDbPFFV.js} +0 -0
  47. /package/static/runtime/{dist-Cgj1taBx.js → dist-DkqHVs-N.js} +0 -0
@@ -1,4 +1,4 @@
1
- __emailmaker__.define(`static/core/35624a31.js`,[`require`,`exports`,`module`,`static/core/68277bd8.js`,`static/core/f246e3aa.js`,`static/core/de9b2072.js`,`react`,`prop-types`,`react-dom`,`react-router-dom`],function(e,t,n){let r=e(`./68277bd8.js`),i=e(`./f246e3aa.js`),a=e(`./de9b2072.js`),o=e(`react`);o=r.l(o);let s=e(`prop-types`);s=r.l(s);let c=e(`react-dom`),l=e(`react-router-dom`);var u=class e{_isDisposed=!1;constructor(e=[]){this._inner=e}addDisposable(t){return this._inner.push(t),t instanceof e&&t.addDispose(()=>{this.removeDisposable(t)}),t}addDispose(e){this.addDisposable({dispose:e})}removeDisposable(e){let t=this._inner.indexOf(e);t>=0&&this._inner.splice(t,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(let e of[...this._inner])e.dispose()}}};function d(e){return`service_container_${e}`}var f=class e extends u{_injectCallbacks=[];_injections=Object.create(null);_runCallbacks(e){this._injectCallbacks.forEach(t=>t(e))}constructor(e=null){super(),this._parent=e,e&&this.addDisposable(e.onInject(e=>this._runCallbacks(e)))}onInject=e=>(this._injectCallbacks.push(e),{dispose:()=>{let t=this._injectCallbacks.indexOf(e);t>=0&&this._injectCallbacks.splice(t,1)}});inject(e,t){this._injections[e]=()=>t,this._runCallbacks(e)}injectFactory(e,t,n){let r=this._injections[e],i=typeof r==`function`?r():r,a=this._injections[e]=()=>(i=t(this,i),i);n&&a(),this._runCallbacks(e)}_find(e,t=!0){return this._injections[e]||t&&this._parent?._find(e)}_onInject(e,t,n=new u){return n.addDisposable(this.onInject(r=>{e===r&&(n.dispose(),t(this.getInstance(r)))})),this._parent&&n.addDisposable(this._parent._onInject(e,t,n)),this.addDisposable(n),n}getInstance(e,t=!0){let n=this._find(e,t);if(typeof n==`function`)return n()}getOrCreateInstance(e,t){let n=this._find(e);if(typeof n==`function`)return n();let r=t(this);return this.inject(e,r),r}getInstanceAsync(e){let t=this._find(e);return typeof t==`function`?Promise.resolve(t()):new Promise(t=>this._onInject(e,()=>t(this.getInstance(e))))}addService(e,t){let n=d(e);this.injectFactory(n,(e,n=[])=>n.indexOf(t)<0?[...n,t]:n);let r=new u;return r.addDispose(()=>{this.injectFactory(n,(e,n=[])=>n.filter(e=>e!==t))}),r}addServiceFactory(e,t,n){let r=d(e),i;this.injectFactory(r,(e,n=[])=>(i=t(e,i),i===void 0?n:n.indexOf(i)<0?[...n,i]:n),n);let a=new u;return a.addDispose(()=>{this.injectFactory(r,(e,t=[])=>i===void 0?t:t.filter(e=>e!==i))}),a}getServices(e){let t=d(e);return[...this.getInstance(t,!1)||[],...this._parent?.getServices(e)||[]]}createChild(){return new e(this)}getOrCreateIsolatedContainer(t){return this.getOrCreateInstance(t,()=>{let n=this._parent?.getOrCreateIsolatedContainer(t);return new e(n)})}dispose(){this._injections=Object.create(null)}};function p(e){return e.startsWith(`__`)?e:`__${e}__`}function m(e){if(typeof globalThis>`u`)throw Error(`[di] globalThis is required for namespace container access.`);let t=p(e),n=globalThis;return n[t]??={}}function h(e){return typeof e==`object`&&!!e&&typeof e.inject==`function`&&typeof e.getInstance==`function`}function g(e){return p(e||`emailmaker`)}function _(e){let t=m(g(e));if(h(t.container))return t.container;let n=new f(null);return t.container=n,n}function v(e){return _(e)}function y(){let e=new Date().getTime(),t=typeof performance<`u`&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,function(n){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(n===`x`?r:r&3|8).toString(16)})}function b(e=y()){return e}function x(){return`core`}function S(e){if(typeof globalThis>`u`)return;let t=x(),n=globalThis[e]??{};globalThis[e]=n;let r=n.__diagnostics??={},i=r.diModuleEval??={evalCount:0,records:[],duplicateWarned:!1};i.records.push({buildSource:t,timestamp:Date.now(),stack:Error().stack}),i.evalCount+=1,!(i.evalCount<=1||i.duplicateWarned)&&(i.duplicateWarned=!0,i.evalCount,i.records)}function C(){return`__emailmaker__`}function w(e,t){if(S(t),typeof globalThis>`u`)return e;let n=x(),r=globalThis,i=r[t]=r[t]||{},a=i.__diagnostics=i.__diagnostics||{},o=a.dependencyResolver=a.dependencyResolver||{entries:[],warnings:[]},s={container:e,source:`packages/runtime-core/di/index.ts`,buildSource:n,timestamp:Date.now(),stack:Error().stack};if(o.entries.push(s),o.entries.length>1){let e=o.entries[0];if(o.entries.some(t=>t.container!==e.container)&&!o.duplicateWarningShown){o.duplicateWarningShown=!0;let e={message:`[di] Multiple DependencyResolver instances detected on namespace`,namespaceKey:t,buildSource:n,entries:o.entries};o.warnings.push(e)}}return e}var T;function E(){if(T)return T;let e=C();return T=w(_(e),e),T}var D=new Proxy({},{get(e,t,n){let r=E(),i=Reflect.get(r,t,n);return typeof i==`function`?i.bind(r):i}}),ee=class e extends Error{code;httpStatus;details;constructor(t,n,r,i){super(t),this.name=`FileManagerApiError`,this.code=n,this.httpStatus=r,this.details=i;let a=Error.captureStackTrace;a&&a(this,e)}},O=class extends u{_listeners=[];constructor(e={}){super(),this._options=e}getListeners(e){return this._listeners.flatMap(([t])=>typeof t==`function`?t:t.getListeners(e))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,n){if(this.isDisposed())return{dispose:()=>{}};let r=this._listeners,i=this._options;n&&typeof e==`function`&&(e=e.bind(n));let a=r.findIndex(([,e])=>e<t),o=[e,t];return r.splice(a>=0?a:r.length,0,o),r.length===1&&i.onFirstListenerAdd&&i.onFirstListenerAdd(),{dispose:()=>{let e=r.indexOf(o);e>=0&&(r.splice(e,1),!r.length&&i.onLastListenerRemove&&i.onLastListenerRemove())}}}on=this._addListener.bind(this);event=this._addListener.bind(this);once=(e,t=0,n)=>{let r=this._addListener((...t)=>(r?.dispose(),n?e.call(n,...t):e(...t)),t);return r};un=e=>{let t=this._listeners.findIndex(([t])=>t===e);t>=0&&(this._listeners.splice(t,1),this._listeners.length===0&&this._options.onLastListenerRemove&&this._options.onLastListenerRemove())};dispose(){this._listeners.splice(0,this._listeners.length),this._options.onLastListenerRemove&&this._options.onLastListenerRemove(),super.dispose()}},k=class extends O{execute(e,t){for(let n of t)try{n(...e)}catch{}}fire(...e){if(!this.isDisposed()){let t=this.execute(e,this.getListeners(e));return t===void 0?void 0:t}}},te=class extends k{execute([e],t){for(let n of t)try{n(e)}catch{}}},ne=class extends k{_suspendCounter=0;_wasFired=!1;execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(let n of t)try{n(e)}catch{}}suspend(){this._suspendCounter++}resume(){--this._suspendCounter===0&&this._wasFired&&(this.fire(),this._wasFired=!1)}},re=class extends k{async execute([e],t){let n=[];for(let r of t)try{n.push(await r(e))}catch{}return n}};function A(e,t=0){let n=new O,r=e(n,t);return r&&n.addDisposable(r),n.event}function ie(e,t,n=0){let r=new k,i=e((...e)=>{if(t(...e))return r.fire(...e)},n);return i&&r.addDisposable(i),r.event}function ae(e,t=0,n=0){let r=new k,i,a,o=e((...e)=>{a=e,i||=setTimeout(()=>{a&&r.fire(...a),i=void 0},t)},n);return o&&r.addDisposable(o),r.event}var oe=class{_listeners=[];add(e,t=0,n){let r={fn:n?e.bind(n):e,priority:t};return this._listeners.push(r),{dispose:()=>{let e=this._listeners.indexOf(r);e>=0&&this._listeners.splice(e,1)}}}async run(e){let t=[...this._listeners].sort((e,t)=>t.priority-e.priority);for(let{fn:n}of t){let t=await n(e);typeof t==`object`&&t&&!Array.isArray(t)&&!(t instanceof Date)&&!(t instanceof RegExp)&&Object.assign(e,t)}return e}},se=b(`ELEMENT_INSERT_HTML_PIPELINE`),ce=b(`BLOCK_INSERT_HTML_PIPELINE`);function le(e){return e.getOrCreateInstance(se,()=>new oe)}function ue(e){return e.getOrCreateInstance(ce,()=>new oe)}async function de(e,t){return e?le(e).run({...t}):t}async function fe(e,t){return e?ue(e).run({...t}):t}function j(e){return e}function pe(e){return e&&typeof e==`object`}function me(e,t){return e&&typeof e==`object`&&e.operationId===t}var he=j(`INIT_MESSAGE`),ge=j(``);function _e(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}var M=class extends u{_listeners=Object.create(null);addListenerAsync=(e,t,n=0,r)=>{let i=this._listeners[e]||(this._listeners[e]=[]);r&&typeof t==`function`&&(t=t.bind(r));let a=i.findIndex(([e,t])=>n<=t),o=[t,n];return this.isDisposed()||i.splice(a>=0?a:i.length,0,o),{dispose(){let e=i.indexOf(o);e>=0&&i.splice(e,1)}}};fireAsync=(e,t)=>{if(!this.isDisposed()){let n=this._listeners[e]||(this._listeners[e]=[]),r;for(let e=0;e<n.length;e++){let t=n[e][0],i=r;r=e=>t(e,i)}if(r)return r(t)}};addListener=(e,t,n=0)=>this.addListenerAsync(e,(e,n)=>{try{t(e)}catch{}return n&&n(e)},n)},ve=class extends u{_target;_inited=!1;_emitter=this.addDisposable(new M);constructor(e,t){super(),this._singleton=t,window.addEventListener(`message`,this._onReceiveMessage),this.addListener(he,()=>{this._inited||(this._inited=!0,this.send(he))}),e&&this.setTarget(e)}_onReceiveMessage=e=>{let t=e.data;if(pe(t)&&e.source==this.target||this._singleton&&me(t,he)){let n=this._emitter.fireAsync(t.operationId||ge,t.operationId===void 0?e:t.data),r=t.result,i=t.error;r&&i&&Promise.resolve(n).then(e=>this._sendMessage(r,e),e=>this._sendMessage(i,e))}};setTarget(e){this._target!==e&&(this._target=e,e&&this._postMessage(e,{operationId:he,data:{}}))}getTarget(){return this._target}get target(){return this._target}_postMessage(e,t){try{e.postMessage(t,`*`)}catch(e){throw e?.name===`DataCloneError`&&typeof t?.data==`object`&&t?.data!==null&&t.data,e}}_sendMessage(e,t,n=!0){if(!n&&!this.isInited())return;let r=this.addDisposable(this.onInit(n=>{let i=e?{operationId:e,data:t}:t;try{this._postMessage(n,{...i})}finally{r.dispose()}}))}send(e,t,n){return typeof e==`string`?this._sendMessage(e,t,n):this._sendMessage(ge,e,t)}sendAsync(e,t,n=!0){if(!n&&!this.isInited())return Promise.resolve();let r=j(_e()),i=j(_e());return new Promise((n,a)=>{let o=this.addDisposable(new u);o.addDisposable(this.onInit(s=>{try{this._postMessage(s,{operationId:e,data:t,result:r,error:i})}catch(e){o.dispose(),a(e);return}o.addDisposable(this._onMessage(r,e=>{n(e),o.dispose()})),o.addDisposable(this._onMessage(i,e=>{a(e),o.dispose()}))}))})}_onMessage(e,t,n=0){return this._emitter.addListener(e,t,n)}addListener(e,t,n){return t?this._onMessage(e,t,n):this._onMessage(ge,e)}addListenerAsyncPipe(e,t,n=0){return this._emitter.addListenerAsync(e,t,n)}addListenerAsync(e,t,n=0){return this._emitter.addListenerAsync(e,async(e,n)=>{let r=await t(e);return n?n(e):r},n)}isInited(){return this._inited}get inited(){return this._inited}onInit(e,t=!0,n=0){let r=this.addDisposable(new u);return this._inited&&this._target?t&&Promise.resolve().then(()=>{!this._inited||!this._target?r.addDisposable(this.onInit(e,t,n)):e(this._target)}):r.addDisposable(this._onMessage(he,()=>{e(this._target)},n)),r}dispose(){window.removeEventListener(`message`,this._onReceiveMessage),super.dispose()}};function ye(e){return b(e)}var be=b(),xe=ye(`HANDLE_ATOM_INSERT`),Se=b(),Ce=j(`SANDBOX_EXTENSION_SCRIPT_STATUS`),we=b(`MESSAGE_SERVICE`),Te=ye(`SETTINGS_PANEL_EVENT`),Ee=`advanced`,De=ye(`MODAL_SHOW_EVENT`),Oe=ye(`MODAL_CLOSE_EVENT`),ke=ye(`MODAL_UPDATE_EVENT`),Ae=`application_block_inserted`,je=class{constructor(e){this._context=e}get _container(){return this._context.container}handleBeforeInject(e,t,n){return this._container.getOrCreateInstance(ce,()=>new oe).add(e,t??0,n)}handleInject(e,t,n){let r=this._container.getOrCreateInstance(we,()=>new ve),i=n?e.bind(n):e;return r.addListener(Ae,i,t)}},Me=class{_factories=new Map;add(e,t){let n=e;return this._factories.set(n,t),{dispose:()=>{this._factories.get(n)===t&&this._factories.delete(n)}}}get(e){return this._factories.get(e)}},Ne=b(`DomComponentRegistry`);function Pe(e,t=Ne){return D.getOrCreateInstance(t,()=>new Me)}function Fe(e){return typeof e==`function`}function Ie(e){return(0,o.isValidElement)(e)}function Le(e){return typeof e==`function`||Ie(e)}function Re(e){return typeof e==`object`&&!!e&&`type`in e&&`props`in e&&!Ie(e)}function ze(e,t){return(0,o.createElement)(e,t)}function Be(e){return class extends o.Component{_ref=(0,o.createRef)();_instance;componentDidMount(){this._ref.current&&(this._instance=e(this.props),this._ref.current.appendChild(this._instance.node))}componentDidUpdate(e){this._instance?.update&&this._instance.update(this.props)}componentWillUnmount(){this._instance?.dispose&&this._instance.dispose()}render(){return(0,o.createElement)(`div`,{ref:this._ref})}}}var Ve=class{_components=new Map;_domAdapters=new Map;constructor(e){this._domComponentRegistry=e}add(e,t){return this.override(e,()=>t)}addDom(e,t){let n=e;this._domAdapters.delete(n);let r=this._domComponentRegistry.add(e,t);return{dispose:()=>{this._domAdapters.delete(n),r.dispose()}}}override(e,t){let n=e,r=this._components.get(n);r||(r={replacers:[]},this._components.set(n,r));let i=()=>{let e=r.replacers.findIndex(e=>e.replacer===t);e>=0&&(r.replacers.splice(e,1),this._recomputeComponent(n,r))};return r.replacers.push({replacer:t,dispose:i}),this._recomputeComponent(n,r),{dispose:i}}_recomputeComponent(e,t){t.component=t.replacers.reduce((e,{replacer:t})=>t(e),void 0)}get(e){if(Le(e))return e;let t=e,n=this._components.get(t);if(n?.component)return n.component;let r=this._domComponentRegistry.get(e);if(r){let e=this._domAdapters.get(t);return e||(e=Be(r),this._domAdapters.set(t,e)),e}}_resolveComponentInput(e){if(e==null)return null;if(typeof e==`number`||typeof e==`boolean`||Ie(e))return e;if(typeof e==`string`){let t=this.get(e);return Ie(t)?t:t?ze(t):e}if(Fe(e))return ze(e);if(Re(e)){let t=this.get(e.type);return Ie(t)?t:t?ze(t,e.props):null}return null}getReactNode(e){return this._resolveComponentInput(e)}getReactElement(e){let t=this._resolveComponentInput(e);return Ie(t)?t:typeof t==`string`||t==null||typeof t==`boolean`||typeof t==`number`?(0,o.createElement)(o.Fragment,null,t):(0,o.createElement)(o.Fragment,null)}},He=b(`ComponentRegistry`);function Ue(e,t=He){return D.getOrCreateInstance(t,()=>new Ve(Pe(D,Ne)))}function We(e,t){return e.getOrCreateInstance(t,()=>new re)}var Ge=class{constructor(e){this._context=e}get _container(){return this._context.container}getNames(){return new Promise(e=>{let t=this._container.addService(be,{execute:n=>{t.dispose(),e(n.value.map(e=>({name:e.name,html:e.html})))}})})}update(e,t){let n=this._container,r=Ue(n);return n.addService(be,{execute:n=>{let i=n.value.find(t=>t.name===e);if(i){let{icon:e,title:n,fallbackTooltip:a,...o}=t;e&&(i.icon=r.getReactNode(e)),n&&(i.title=r.getReactNode(n)),a&&(i.fallbackTooltip=r.getReactNode(a)),Object.assign(i,o)}}})}delete(e){this._container.addService(be,{execute:t=>{let n=t.value.findIndex(t=>t.name===e);n>=0&&t.value.splice(n,1)}})}insert(e,t){let n=this._container,r=Ue(n);return n.addService(be,{execute:n=>{n.value.splice(t??n.value.length,0,{...e,title:r.getReactNode(e.title),icon:r.getReactNode(e.icon),fallbackTooltip:r.getReactNode(e.fallbackTooltip)})}})}handleBeforeInject(e,t,n){return this._container.getOrCreateInstance(se,()=>new oe).add(e,t??0,n)}handleInject(e,t,n){return We(this._container,xe).event(t=>{e({name:t.name,className:t.className||``,html:t.html})},t,n)}},Ke=class{_messageService;constructor(e){this._messageService=e.container.getOrCreateInstance(we,()=>new ve)}send(e,t,n){this._messageService.send(e,t,n)}sendAsync(e,t,n=!0){return this._messageService.sendAsync(e,t,n)}addListener(e,t,n){return this._messageService.addListener(e,t,n)}addListenerAsync(e,t,n=0){return this._messageService.addListenerAsync(e,t,n)}onInit(e,t=!0,n=0){return this._messageService.onInit(e,t,n)}isInited(){return this._messageService.isInited()}};function qe(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>t!==void 0))}var Je=class{_showModalEmitter;_closeModalEmitter;_updateModalEmitter;constructor(e){this._context=e;let t=e.container;this._showModalEmitter=We(t,De),this._closeModalEmitter=We(t,Oe),this._updateModalEmitter=We(t,ke)}get _container(){return this._context.container}show(e){let t=Ue(this._container),n=`modal_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,r=e.modalProps;return this._showModalEmitter.fire({...e,content:t.getReactNode(e.content),title:t.getReactNode(e.title),id:n,modalProps:r?{...r,footer:t.getReactNode(r.footer),okText:t.getReactNode(r.okText),cancelText:t.getReactNode(r.cancelText),closeIcon:t.getReactNode(r.closeIcon)}:void 0}),n}close(e){this._closeModalEmitter.fire(e)}closeAll(){this._closeModalEmitter.fire()}update(e,t){let n=Ue(this._container),r=t.modalProps;this._updateModalEmitter.fire(qe({...t,content:n.getReactNode(t.content),title:n.getReactNode(t.title),id:e,modalProps:r?{...r,footer:n.getReactNode(r.footer),okText:n.getReactNode(r.okText),cancelText:n.getReactNode(r.cancelText),closeIcon:n.getReactNode(r.closeIcon)}:void 0}))}},Ye=class{loaded;ready;_loadedSettled=!1;_readySettled=!1;constructor(e,t){this._registration=e,this._loadedDisposable=t,this.loaded=new Promise((e,t)=>{let n=()=>this._loadedDisposable.dispose();this._resolveLoaded=()=>{this._loadedSettled||(this._loadedSettled=!0,this._readySettled&&n(),e())},this._rejectLoaded=e=>{this._loadedSettled||(this._loadedSettled=!0,this._readySettled&&n(),t(e))}}),this.ready=new Promise((e,t)=>{let n=()=>this._loadedDisposable.dispose();this._resolveReady=()=>{this._readySettled||(this._readySettled=!0,this._loadedSettled&&n(),e())},this._rejectReady=e=>{this._readySettled||(this._readySettled=!0,this._loadedSettled&&n(),t(e))}})}_resolveLoaded=()=>{};_rejectLoaded=()=>{};_resolveReady=()=>{};_rejectReady=()=>{};resolveLoaded(){this._resolveLoaded()}resolveReady(){this._resolveReady()}rejectLoad(e){this._rejectLoaded(e),this._rejectReady(e)}rejectReady(e){this._rejectReady(e)}dispose(){this._registration.dispose();let e=Error(`Sandbox script registration disposed before completion.`);this.rejectLoad(e),this.rejectReady(e)}},Xe=class{constructor(e){this._context=e}get _container(){return this._context.container}get _messageService(){return this._container.getOrCreateInstance(we,()=>new ve)}_createScriptHandle(e,t){let n=new Ye(t,this._messageService.addListener(Ce,t=>{if(t.key===e){if(t.phase===`load`&&t.status===`success`){n.resolveLoaded();return}if(t.phase===`ready`&&t.status===`success`){n.resolveReady();return}if(t.phase===`load`){n.rejectLoad(Error(t.error||`Sandbox script "${e}" failed to load.`));return}n.rejectReady(Error(t.error||`Sandbox script "${e}" failed to initialize.`))}}));return n}registerSandboxCSS(e){return this._container.addService(Se,{type:`link`,key:e,parent:`head`,attributes:{rel:`stylesheet`,type:`text/css`,href:e}})}registerSandboxCSSCode(e,t){return this._container.addService(Se,{type:`style`,key:e,parent:`head`,attributes:{type:`text/css`},innerHTML:t})}registerSandboxScript(e){let t=this._container.addService(Se,{type:`script`,key:e,parent:`head`,attributes:{src:e,type:`text/javascript`}});return this._createScriptHandle(e,t)}registerSandboxScriptCode(e,t){let n=this._container.addService(Se,{type:`script`,key:e,parent:`head`,attributes:{type:`text/javascript`},innerHTML:t});return this._createScriptHandle(e,n)}};function Ze(){let e=globalThis.crypto;if(e&&typeof e.randomUUID==`function`)return e.randomUUID();if(e&&typeof e.getRandomValues==`function`){let t=new Uint8Array(16);return e.getRandomValues(t),Array.from(t,e=>e.toString(16).padStart(2,`0`)).join(``)}return`nohwcrypto-${Date.now()}`}function Qe(){return`__settingsPanel:${Ze()}`}function $e(e,t){return{type:e,props:t}}function et(e){return(0,o.isValidElement)(e)}function tt(e){return typeof e==`object`&&!!e&&`type`in e&&`props`in e&&!et(e)}function nt(e,t,n){if(t==null||typeof t==`number`||typeof t==`boolean`||typeof t==`string`)return t;if(et(t)){let r=Qe();return n(e.add(r,t)),$e(r,{})}if(typeof t==`function`){let r=Qe();return n(e.add(r,t)),$e(r,{})}if(tt(t)){let r=t.type;if(typeof r==`string`)return t;if(et(r)||typeof r==`function`){let i=Qe();return n(e.add(i,r)),$e(i,t.props)}return t}return t}var rt={SandboxScriptApi:Xe,ElementsApi:Ge,BlocksApi:je,MessageService:Ke,SettingsPanelApi:class{_panelRegistrationDisposables=[];constructor(e){this._context=e}get _container(){return this._context.container}_clearPanelRegistrations(){for(let e of this._panelRegistrationDisposables)e.dispose();this._panelRegistrationDisposables.length=0}_trackRegistration(e){this._panelRegistrationDisposables.push(e)}showSettingsPanel(e){this._clearPanelRegistrations();let t=Ue(this._container),n=e=>this._trackRegistration(e),r=nt(t,e.content,n),i=e.advancedTabs?.map(e=>({...e,content:nt(t,e.content,n)})),a=e.instanceKey??Ze();We(this._container,Te).fire({...e,content:r,advancedTabs:i,instanceKey:a,type:Ee})}closeSettingsPanel(){this._clearPanelRegistrations(),We(this._container,Te).fire(null)}},ModalApi:Je};function N(e){return b(e)}var it;(function(e){e.BEFORE_SAVE_EMAIL=N(),e.ON_SAVEBUTTON_CLICK_ID=N(),e.ON_NEXTBUTTON_CLICK_ID=N(),e.ON_PREVIOUSBUTTON_CLICK_ID=N(),e.ON_MODEL_CHANGE=N(),e.WILL_EMAIL_INIT_ID=N(),e.ON_EMAIL_INIT_ID=N(),e.ON_BLOCK_INIT_ID=N(),e.ON_CONTENT_CHANGED_ID=N(),e.ON_PREHEADER_CHANGED_ID=N(),e.ON_SUBJECT_CHANGED_ID=N(),e.ON_EMAIL_CHANGED_ID=N(),e.ON_BLOCK_CHANGED_ID=N(),e.ON_CHUNKS_LOADED=N(),e.ON_SEND_TESTEMAIL_ID=N(),e.ON_SEND_LIVEPREVIEW_ID=N(),e.ON_SHARE_ID=N(),e.ON_SHOW_PREVIEW_ID=N(),e.ON_EMAIL_CLONE_ID=N(),e.ON_SEND_EMAIL_MODAL_ID=N(),e.ON_NOTIFICATION=N(),e.READ_LOCALE=N(),e.ON_TRANSLATE_ID=N(),e.ON_CODE_VALIDATE_ID=N(),e.UPLOAD_EVENT_ID=N(),e.PROXY_URL_EVENT_ID=N(),e.FILE_PROXY_EVENT_ID=N(),e.ON_LIMIT_ID=N(),e.ON_GLOBAL_BLOCK_PROPAGATE_UPDATE_ID=N(),e.ON_BROWSER_EXTENSION_DETECTED_ID=N()})(it||={});function at(e,t){return e.getOrCreateInstance(t,()=>new re).event}function ot(e,t){return e.getOrCreateInstance(t,()=>new re)}var st=`Not implemented in plugin`,ct=b(),lt=b(),ut=b(),dt=b(),ft=b(),pt=b(),mt=b(),ht=b(`PluginCollection`),gt=N(`APP_LOAD_EVENT`),_t=N(`CONFIG_CHANGED_EVENT`),P=function(e){return e.Json=`application/json`,e.FormData=`multipart/form-data`,e.UrlEncoded=`application/x-www-form-urlencoded`,e.Text=`text/plain`,e}({}),vt=class{baseUrl=`https://api.emailmaker.ru/wp-json`;securityData=null;securityWorker;abortControllers=new Map;customFetch=(...e)=>fetch(...e);baseApiParams={credentials:`same-origin`,headers:{},redirect:`follow`,referrerPolicy:`no-referrer`};constructor(e={}){Object.assign(this,e)}setSecurityData=e=>{this.securityData=e};encodeQueryParam(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent(typeof t==`number`?t:`${t}`)}`}addQueryParam(e,t){return this.encodeQueryParam(t,e[t])}addArrayQueryParam(e,t){return e[t].map(e=>this.encodeQueryParam(t,e)).join(`&`)}toQueryString(e){let t=e||{};return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>Array.isArray(t[e])?this.addArrayQueryParam(t,e):this.addQueryParam(t,e)).join(`&`)}addQueryParams(e){let t=this.toQueryString(e);return t?`?${t}`:``}contentFormatters={[P.Json]:e=>e!==null&&(typeof e==`object`||typeof e==`string`)?JSON.stringify(e):e,[P.Text]:e=>e!==null&&typeof e!=`string`?JSON.stringify(e):e,[P.FormData]:e=>Object.keys(e||{}).reduce((t,n)=>{let r=e[n];return t.append(n,r instanceof Blob?r:typeof r==`object`&&r?JSON.stringify(r):`${r}`),t},new FormData),[P.UrlEncoded]:e=>this.toQueryString(e)};mergeRequestParams(e,t){return{...this.baseApiParams,...e,...t||{},headers:{...this.baseApiParams.headers||{},...e.headers||{},...t&&t.headers||{}}}}createAbortSignal=e=>{if(this.abortControllers.has(e)){let t=this.abortControllers.get(e);return t?t.signal:void 0}let t=new AbortController;return this.abortControllers.set(e,t),t.signal};abortRequest=e=>{let t=this.abortControllers.get(e);t&&(t.abort(),this.abortControllers.delete(e))};async request({body:e,secure:t,path:n,type:r,query:i,format:a,baseUrl:o,cancelToken:s,extraQuery:c,proxyHandler:l,...u}){let d=(typeof t==`boolean`?t:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{},f=this.mergeRequestParams(u,d);c&&(i=i?{...i,...c}:c);let p=i&&this.toQueryString(i),m=this.contentFormatters[r||P.Json],h=a||f.format,g=`${o||this.baseUrl||``}${n}${p?`?${p}`:``}`,_=l?l(g,{body:e,secure:t,path:n,type:r,query:i,format:a,baseUrl:o,cancelToken:s,extraQuery:c,proxyHandler:l,...u}):g,v=new Request(_,{...f,headers:{...f.headers||{},...r&&r!==P.FormData?{"Content-Type":r}:{}},signal:(s?this.createAbortSignal(s):f.signal)||null,body:e==null?null:m(e)});return this.customFetch(v).then(async e=>{let t=e;t.data=null,t.error=null,t.meta={request:v,response:t};let n=h?await e[h]().then(e=>(t.ok?t.data=e:t.error={data:e},t)).catch(e=>(t.error=e,t)):t;return s&&this.abortControllers.delete(s),n})}},yt=class extends vt{limits={get_limits:(e,t={})=>this.request({path:`/limits/v1`,method:`GET`,query:e,...t}),stats_list:(e={})=>this.request({path:`/limits/v1/stats`,method:`GET`,...e}),stats_detail:({type:e,...t},n={})=>this.request({path:`/limits/v1/stats/${e}`,method:`GET`,...n}),warnings_list:(e={})=>this.request({path:`/limits/v1/warnings`,method:`GET`,...e}),reset_to_subscription_base_create:(e={})=>this.request({path:`/limits/v1/reset-to-subscription-base`,method:`POST`,...e}),update_create:(e={})=>this.request({path:`/limits/v1/update`,method:`POST`,...e})};unisenderProxy={get_unisender_proxy:(e,t={})=>this.request({path:`/unisender-proxy/v1`,method:`GET`,query:e,...t}),create_message_create:(e={})=>this.request({path:`/unisender-proxy/v1/create-message`,method:`POST`,...e})};bdpwr={get_bdpwr:(e,t={})=>this.request({path:`/bdpwr/v1`,method:`GET`,query:e,...t}),reset_password_create:(e={})=>this.request({path:`/bdpwr/v1/reset-password`,method:`POST`,...e}),set_password_create:(e={})=>this.request({path:`/bdpwr/v1/set-password`,method:`POST`,...e}),validate_code_create:(e={})=>this.request({path:`/bdpwr/v1/validate-code`,method:`POST`,...e})};corsProxy={get_cors_proxy:(e,t={})=>this.request({path:`/cors-proxy/V1`,method:`GET`,query:e,...t}),get_list:(e,t={})=>this.request({path:`/cors-proxy/V1/get`,method:`GET`,query:e,...t})};saveFile={get_save_file:(e,t={})=>this.request({path:`/save-file/v1`,method:`GET`,query:e,...t}),ai_create:(e,t={})=>this.request({path:`/save-file/v1/ai`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_status_list:(e,t={})=>this.request({path:`/save-file/v1/ai-status`,method:`GET`,query:e,...t}),test_list:(e={})=>this.request({path:`/save-file/v1/test`,method:`GET`,...e}),upload_create:(e,t={})=>this.request({path:`/save-file/v1/upload`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),shortener_create:(e,t={})=>this.request({path:`/save-file/v1/shortener`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),get_link_create:(e,t={})=>this.request({path:`/save-file/v1/get-link`,method:`POST`,body:e,type:P.UrlEncoded,...t}),send_email_create:(e,t={})=>this.request({path:`/save-file/v1/send-email`,method:`POST`,body:e,type:P.UrlEncoded,...t})};aiGenerator={get_ai_generator:(e,t={})=>this.request({path:`/ai-generator/v1`,method:`GET`,query:e,...t}),ai_create:(e,t={})=>this.request({path:`/ai-generator/v1/ai`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_status_list:(e,t={})=>this.request({path:`/ai-generator/v1/ai-status`,method:`GET`,query:e,...t}),test_list:(e={})=>this.request({path:`/ai-generator/v1/test`,method:`GET`,...e}),clear_history_list:(e,t={})=>this.request({path:`/ai-generator/v1/clear-history`,method:`GET`,query:e,...t}),save_task_create:(e,t={})=>this.request({path:`/ai-generator/v1/save-task`,method:`POST`,body:e,type:P.UrlEncoded,...t}),identificate_blocks_create:(e,t={})=>this.request({path:`/ai-generator/v1/identificate_blocks`,method:`POST`,body:e,type:P.UrlEncoded,...t}),create_subject_create:(e,t={})=>this.request({path:`/ai-generator/v1/create_subject`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_subj2_create:(e={})=>this.request({path:`/ai-generator/v1/ai-subj-2`,method:`POST`,...e})};auth={get_auth:(e,t={})=>this.request({path:`/auth/v1`,method:`GET`,query:e,...t}),users_register_create:(e,t={})=>this.request({path:`/auth/v1/users/register`,method:`POST`,body:e,type:P.UrlEncoded,...t}),check_auth_list:(e={})=>this.request({path:`/auth/v1/check_auth`,method:`GET`,...e}),yandex_callback_create:(e,t={})=>this.request({path:`/auth/v1/yandex/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),google_callback_create:(e,t={})=>this.request({path:`/auth/v1/google/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),elama_callback_list:(e,t={})=>this.request({path:`/auth/v1/elama/callback`,method:`GET`,query:e,...t}),elama_callback_create:(e,t={})=>this.request({path:`/auth/v1/elama/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),elama_refresh_token_list:(e,t={})=>this.request({path:`/auth/v1/elama/refresh_token`,method:`GET`,query:e,...t}),elama_refresh_token_create:(e,t={})=>this.request({path:`/auth/v1/elama/refresh_token`,method:`POST`,body:e,type:P.UrlEncoded,...t})};inbox={get_inbox:(e,t={})=>this.request({path:`/inbox/v1`,method:`GET`,query:e,...t}),check_inbox_create:(e,t={})=>this.request({path:`/inbox/v1/check-inbox`,method:`POST`,body:e,type:P.UrlEncoded,...t})};promo={get_promo:(e,t={})=>this.request({path:`/promo/v1`,method:`GET`,query:e,...t}),set_code_create:(e,t={})=>this.request({path:`/promo/v1/set_code`,method:`POST`,body:e,type:P.UrlEncoded,...t}),get_code_info_list:(e,t={})=>this.request({path:`/promo/v1/get_code_info`,method:`GET`,query:e,...t}),get_referral_data_list:(e={})=>this.request({path:`/promo/v1/get_referral_data`,method:`GET`,...e})};optimization={get_optimization:(e,t={})=>this.request({path:`/optimization/v1`,method:`GET`,query:e,...t}),validate_images_create:(e,t={})=>this.request({path:`/optimization/v1/validate/images`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),validate_links_create:(e,t={})=>this.request({path:`/optimization/v1/validate/links`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),validate_spamassasin_create:(e,t={})=>this.request({path:`/optimization/v1/validate/spamassasin`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t})};previewSettings={get_preview_settings:(e,t={})=>this.request({path:`/preview_settings/v1`,method:`GET`,query:e,...t}),preview_emails_detail:({id:e,...t},n={})=>this.request({path:`/preview_settings/v1/preview/emails/${e}`,method:`GET`,...n}),preview_emails_partial_update:({id:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/preview/emails/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,...r}),projects_temporary_user_create:({projectId:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/projects/${e}/temporary_user`,method:`POST`,body:n,type:P.UrlEncoded,...r}),projects_temporary_user_delete:({projectId:e,...t},n={})=>this.request({path:`/preview_settings/v1/projects/${e}/temporary_user`,method:`DELETE`,...n}),emails_temporary_access_list:({emailId:e,...t},n={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access`,method:`GET`,...n}),emails_temporary_access_create:({emailId:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access`,method:`POST`,body:n,type:P.UrlEncoded,...r}),emails_temporary_access_delete:({emailId:e,targetUserId:t,...n},r={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access/${t}`,method:`DELETE`,...r})};emFiles={get_em_files:(e,t={})=>this.request({path:`/em-files/v1`,method:`GET`,query:e,...t}),folders_list:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`GET`,query:e,format:`json`,...t}),folders_create:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),folders_delete:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),empty_trash_create:(e,t={})=>this.request({path:`/em-files/v1/empty-trash`,method:`POST`,body:e,type:P.UrlEncoded,...t}),files_list:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`GET`,query:e,format:`json`,...t}),files_create:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_delete:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_partial_update:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_upload_by_url_create:(e,t={})=>this.request({path:`/em-files/v1/files/upload-by-url`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_rename_partial_update:(e,t={})=>this.request({path:`/em-files/v1/files/rename`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),items_move_partial_update:(e,t={})=>this.request({path:`/em-files/v1/items/move`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),file_dimensions_list:(e,t={})=>this.request({path:`/em-files/v1/file/dimensions`,method:`GET`,query:e,format:`json`,...t}),cache_clear_create:(e,t={})=>this.request({path:`/em-files/v1/cache/clear`,method:`POST`,body:e,type:P.UrlEncoded,...t})};projects={get_projects:(e,t={})=>this.request({path:`/projects/v1`,method:`GET`,query:e,...t}),flush_email_template_cache_create:(e={})=>this.request({path:`/projects/v1/flush-email-template-cache`,method:`POST`,...e}),list_advanced_list:(e,t={})=>this.request({path:`/projects/v1/list_advanced`,method:`GET`,query:e,...t}),top_used_list:(e,t={})=>this.request({path:`/projects/v1/top-used`,method:`GET`,query:e,...t}),members_bulk_create:(e,t={})=>this.request({path:`/projects/v1/members/bulk`,method:`POST`,body:e,type:P.UrlEncoded,...t}),flush_project_cache_create:(e,t={})=>this.request({path:`/projects/v1/flush-project-cache`,method:`POST`,body:e,type:P.UrlEncoded,...t}),profile_options_list:(e={})=>this.request({path:`/projects/v1/profile/options`,method:`GET`,...e}),profile_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/profile/${e}`,method:`GET`,...n}),profile_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/profile/${e}`,method:`PATCH`,...n}),storage_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}`,method:`GET`,...n}),storage_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}`,method:`PATCH`,...n}),storage_test_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}/test`,method:`POST`,...n}),integrations_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/integrations/${e}`,method:`GET`,query:t,...n}),integrations_partial_update:({projectId:e,...t},n,r={})=>this.request({path:`/projects/v1/integrations/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,...r}),members_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/members/${e}`,method:`GET`,...n}),styles_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/styles/${e}`,method:`GET`,...n}),styles_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/styles/${e}`,method:`PATCH`,...n}),social_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/social/${e}`,method:`GET`,...n}),social_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/social/${e}`,method:`PATCH`,...n}),developer_credentials_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}`,method:`GET`,...n}),developer_credentials_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}`,method:`PATCH`,...n}),developer_credentials_rotate_secret_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}/rotate-secret`,method:`POST`,...n}),developer_credentials_verify_secret_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}/verify-secret`,method:`POST`,...n}),developer_kit_postman_collection_list:(e={})=>this.request({path:`/projects/v1/developer-kit/postman-collection`,method:`GET`,...e}),usage_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/usage/${e}`,method:`GET`,...n}),billing_context_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/billing-context/${e}`,method:`GET`,...n}),settings_summary_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/settings-summary/${e}`,method:`GET`,...n})};wp={get_wp:(e,t={})=>this.request({path:`/wp/v2`,method:`GET`,query:e,...t}),confirmation_list:(e,t={})=>this.request({path:`/wp/v2/confirmation`,method:`GET`,query:e,...t}),users_register_create:(e={})=>this.request({path:`/wp/v2/users/register`,method:`POST`,...e}),users_lostpassword_create:(e={})=>this.request({path:`/wp/v2/users/lostpassword`,method:`POST`,...e}),users_lost_password_create:(e={})=>this.request({path:`/wp/v2/users/lost-password`,method:`POST`,...e}),posts_list:(e,t={})=>this.request({path:`/wp/v2/posts`,method:`GET`,query:e,format:`json`,...t}),posts_create:(e,t={})=>this.request({path:`/wp/v2/posts`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),posts_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}`,method:`GET`,query:t,format:`json`,...n}),posts_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),posts_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),posts_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),posts_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),posts_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/posts/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),pages_list:(e,t={})=>this.request({path:`/wp/v2/pages`,method:`GET`,query:e,format:`json`,...t}),pages_create:(e,t={})=>this.request({path:`/wp/v2/pages`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),pages_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}`,method:`GET`,query:t,format:`json`,...n}),pages_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),pages_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),pages_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),pages_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),pages_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/pages/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),media_list:(e,t={})=>this.request({path:`/wp/v2/media`,method:`GET`,query:e,format:`json`,...t}),media_create:(e,t={})=>this.request({path:`/wp/v2/media`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),media_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/media/${e}`,method:`GET`,query:t,format:`json`,...n}),media_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_post_process_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}/post-process`,method:`POST`,body:n,type:P.UrlEncoded,...r}),media_edit_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}/edit`,method:`POST`,body:n,type:P.UrlEncoded,...r}),menu_items_list:(e,t={})=>this.request({path:`/wp/v2/menu-items`,method:`GET`,query:e,format:`json`,...t}),menu_items_create:(e,t={})=>this.request({path:`/wp/v2/menu-items`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),menu_items_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`GET`,query:t,format:`json`,...n}),menu_items_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),menu_items_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),blocks_list:(e,t={})=>this.request({path:`/wp/v2/blocks`,method:`GET`,query:e,format:`json`,...t}),blocks_create:(e,t={})=>this.request({path:`/wp/v2/blocks`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blocks_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`GET`,query:t,format:`json`,...n}),blocks_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),blocks_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),blocks_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),blocks_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),blocks_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),templates_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),templates_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),templates_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/templates/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_list:(e,t={})=>this.request({path:`/wp/v2/templates`,method:`GET`,query:e,format:`json`,...t}),templates_create:(e,t={})=>this.request({path:`/wp/v2/templates`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),templates_lookup_list:(e,t={})=>this.request({path:`/wp/v2/templates/lookup`,method:`GET`,query:e,...t}),templates_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}`,method:`GET`,query:t,format:`json`,...n}),templates_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),template_parts_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),template_parts_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),template_parts_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),template_parts_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),template_parts_list:(e,t={})=>this.request({path:`/wp/v2/template-parts`,method:`GET`,query:e,format:`json`,...t}),template_parts_create:(e,t={})=>this.request({path:`/wp/v2/template-parts`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),template_parts_lookup_list:(e,t={})=>this.request({path:`/wp/v2/template-parts/lookup`,method:`GET`,query:e,...t}),template_parts_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`GET`,query:t,format:`json`,...n}),template_parts_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),global_styles_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),global_styles_themes_variations_list:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/themes/${e}/variations`,method:`GET`,...n}),global_styles_themes_detail:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/themes/${e}`,method:`GET`,...n}),global_styles_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`GET`,format:`json`,...n}),global_styles_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_list:(e,t={})=>this.request({path:`/wp/v2/navigation`,method:`GET`,query:e,format:`json`,...t}),navigation_create:(e,t={})=>this.request({path:`/wp/v2/navigation`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),navigation_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`GET`,query:t,format:`json`,...n}),navigation_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),navigation_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),navigation_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),navigation_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),navigation_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),font_families_list:(e,t={})=>this.request({path:`/wp/v2/font-families`,method:`GET`,query:e,format:`json`,...t}),font_families_create:(e,t={})=>this.request({path:`/wp/v2/font-families`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),font_families_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`GET`,query:t,format:`json`,...n}),font_families_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_font_faces_list:({fontFamilyId:e,...t},n={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:`GET`,query:t,format:`json`,...n}),font_families_font_faces_create:({fontFamilyId:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_font_faces_detail:({fontFamilyId:e,id:t,...n},r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:`GET`,query:n,format:`json`,...r}),font_families_font_faces_delete:({fontFamilyId:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),eblock_list:(e,t={})=>this.request({path:`/wp/v2/eblock`,method:`GET`,query:e,format:`json`,...t}),eblock_create:(e,t={})=>this.request({path:`/wp/v2/eblock`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),eblock_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`GET`,query:t,format:`json`,...n}),eblock_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),eblock_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),eblock_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),eblock_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),eblock_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),email_list:(e,t={})=>this.request({path:`/wp/v2/email`,method:`GET`,query:e,format:`json`,...t}),email_create:(e,t={})=>this.request({path:`/wp/v2/email`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),email_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}`,method:`GET`,query:t,format:`json`,...n}),email_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),email_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),email_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),email_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),email_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/email/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),notification_list:(e,t={})=>this.request({path:`/wp/v2/notification`,method:`GET`,query:e,format:`json`,...t}),notification_create:(e,t={})=>this.request({path:`/wp/v2/notification`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),notification_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/notification/${e}`,method:`GET`,query:t,format:`json`,...n}),notification_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),notification_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/notification/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),payment_list:(e,t={})=>this.request({path:`/wp/v2/payment`,method:`GET`,query:e,format:`json`,...t}),payment_create:(e,t={})=>this.request({path:`/wp/v2/payment`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),payment_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/payment/${e}`,method:`GET`,query:t,format:`json`,...n}),payment_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_list:(e,t={})=>this.request({path:`/wp/v2/project`,method:`GET`,query:e,format:`json`,...t}),project_create:(e,t={})=>this.request({path:`/wp/v2/project`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),project_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/project/${e}`,method:`GET`,query:t,format:`json`,...n}),project_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/project/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),project_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),project_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),subscription_list:(e,t={})=>this.request({path:`/wp/v2/subscription`,method:`GET`,query:e,format:`json`,...t}),subscription_create:(e,t={})=>this.request({path:`/wp/v2/subscription`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),subscription_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`GET`,query:t,format:`json`,...n}),subscription_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_list:(e,t={})=>this.request({path:`/wp/v2/user_promocodes`,method:`GET`,query:e,format:`json`,...t}),user_promocodes_create:(e,t={})=>this.request({path:`/wp/v2/user_promocodes`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),user_promocodes_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`GET`,query:t,format:`json`,...n}),user_promocodes_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),types_list:(e,t={})=>this.request({path:`/wp/v2/types`,method:`GET`,query:e,format:`json`,...t}),types_detail:({type:e,...t},n={})=>this.request({path:`/wp/v2/types/${e}`,method:`GET`,query:t,format:`json`,...n}),statuses_list:(e,t={})=>this.request({path:`/wp/v2/statuses`,method:`GET`,query:e,format:`json`,...t}),statuses_detail:({status:e,...t},n={})=>this.request({path:`/wp/v2/statuses/${e}`,method:`GET`,query:t,format:`json`,...n}),taxonomies_list:(e,t={})=>this.request({path:`/wp/v2/taxonomies`,method:`GET`,query:e,format:`json`,...t}),taxonomies_detail:({taxonomy:e,...t},n={})=>this.request({path:`/wp/v2/taxonomies/${e}`,method:`GET`,query:t,format:`json`,...n}),categories_list:(e,t={})=>this.request({path:`/wp/v2/categories`,method:`GET`,query:e,format:`json`,...t}),categories_create:(e,t={})=>this.request({path:`/wp/v2/categories`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),categories_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/categories/${e}`,method:`GET`,query:t,format:`json`,...n}),categories_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_list:(e,t={})=>this.request({path:`/wp/v2/tags`,method:`GET`,query:e,format:`json`,...t}),tags_create:(e,t={})=>this.request({path:`/wp/v2/tags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),tags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/tags/${e}`,method:`GET`,query:t,format:`json`,...n}),tags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_list:(e,t={})=>this.request({path:`/wp/v2/menus`,method:`GET`,query:e,format:`json`,...t}),menus_create:(e,t={})=>this.request({path:`/wp/v2/menus`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),menus_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/menus/${e}`,method:`GET`,query:t,format:`json`,...n}),menus_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_list:(e,t={})=>this.request({path:`/wp/v2/wp_pattern_category`,method:`GET`,query:e,format:`json`,...t}),wp_pattern_category_create:(e,t={})=>this.request({path:`/wp/v2/wp_pattern_category`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),wp_pattern_category_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`GET`,query:t,format:`json`,...n}),wp_pattern_category_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_list:(e,t={})=>this.request({path:`/wp/v2/group`,method:`GET`,query:e,format:`json`,...t}),group_create:(e,t={})=>this.request({path:`/wp/v2/group`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),group_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/group/${e}`,method:`GET`,query:t,format:`json`,...n}),group_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_list:(e,t={})=>this.request({path:`/wp/v2/blockfolder`,method:`GET`,query:e,format:`json`,...t}),blockfolder_create:(e,t={})=>this.request({path:`/wp/v2/blockfolder`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blockfolder_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`GET`,query:t,format:`json`,...n}),blockfolder_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_list:(e,t={})=>this.request({path:`/wp/v2/blocktags`,method:`GET`,query:e,format:`json`,...t}),blocktags_create:(e,t={})=>this.request({path:`/wp/v2/blocktags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blocktags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`GET`,query:t,format:`json`,...n}),blocktags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_list:(e,t={})=>this.request({path:`/wp/v2/emailtags`,method:`GET`,query:e,format:`json`,...t}),emailtags_create:(e,t={})=>this.request({path:`/wp/v2/emailtags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),emailtags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`GET`,query:t,format:`json`,...n}),emailtags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_list:(e,t={})=>this.request({path:`/wp/v2/folder`,method:`GET`,query:e,format:`json`,...t}),folder_create:(e,t={})=>this.request({path:`/wp/v2/folder`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),folder_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/folder/${e}`,method:`GET`,query:t,format:`json`,...n}),folder_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_list:(e,t={})=>this.request({path:`/wp/v2/users`,method:`GET`,query:e,format:`json`,...t}),users_create:(e,t={})=>this.request({path:`/wp/v2/users`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}`,method:`GET`,query:t,format:`json`,...n}),users_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_me_list:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`GET`,query:e,format:`json`,...t}),users_me_create:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_update:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`PUT`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_partial_update:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_delete:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_application_passwords_list:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`GET`,query:t,format:`json`,...n}),users_application_passwords_create:({userId:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_application_passwords_delete:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`DELETE`,format:`json`,...n}),users_application_passwords_introspect_list:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/introspect`,method:`GET`,query:t,format:`json`,...n}),users_application_passwords_detail:({userId:e,uuid:t,...n},r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`GET`,query:n,format:`json`,...r}),users_application_passwords_create2:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`POST`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_update:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`PUT`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_partial_update:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`PATCH`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_delete2:({userId:e,uuid:t,...n},r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`DELETE`,format:`json`,...r}),comments_list:(e,t={})=>this.request({path:`/wp/v2/comments`,method:`GET`,query:e,format:`json`,...t}),comments_create:(e,t={})=>this.request({path:`/wp/v2/comments`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),comments_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/comments/${e}`,method:`GET`,query:t,format:`json`,...n}),comments_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),search_list:(e,t={})=>this.request({path:`/wp/v2/search`,method:`GET`,query:e,format:`json`,...t}),block_renderer_detail:({name:e,...t},n={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:`GET`,query:t,format:`json`,...n}),block_renderer_create:({name:e,...t},n,r={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),block_types_list:(e,t={})=>this.request({path:`/wp/v2/block-types`,method:`GET`,query:e,format:`json`,...t}),block_types_detail:({namespace:e,...t},n={})=>this.request({path:`/wp/v2/block-types/${e}`,method:`GET`,query:t,format:`json`,...n}),block_types_detail2:({name:e,namespace:t,...n},r={})=>this.request({path:`/wp/v2/block-types/${t}/${e}`,method:`GET`,query:n,format:`json`,...r}),settings_list:(e={})=>this.request({path:`/wp/v2/settings`,method:`GET`,format:`json`,...e}),settings_create:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),settings_update:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`PUT`,body:e,type:P.UrlEncoded,format:`json`,...t}),settings_partial_update:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),themes_list:(e,t={})=>this.request({path:`/wp/v2/themes`,method:`GET`,query:e,format:`json`,...t}),themes_detail:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/themes/${e}`,method:`GET`,format:`json`,...n}),plugins_list:(e,t={})=>this.request({path:`/wp/v2/plugins`,method:`GET`,query:e,format:`json`,...t}),plugins_create:(e,t={})=>this.request({path:`/wp/v2/plugins`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),plugins_detail:({plugin:e,...t},n={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`GET`,query:t,format:`json`,...n}),plugins_create2:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_update:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_partial_update:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_delete:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_list:(e,t={})=>this.request({path:`/wp/v2/sidebars`,method:`GET`,query:e,format:`json`,...t}),sidebars_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`GET`,query:t,format:`json`,...n}),sidebars_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),widget_types_list:(e,t={})=>this.request({path:`/wp/v2/widget-types`,method:`GET`,query:e,format:`json`,...t}),widget_types_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/widget-types/${e}`,method:`GET`,query:t,format:`json`,...n}),widget_types_encode_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widget-types/${e}/encode`,method:`POST`,body:n,type:P.UrlEncoded,...r}),widget_types_render_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widget-types/${e}/render`,method:`POST`,body:n,type:P.UrlEncoded,...r}),widgets_list:(e,t={})=>this.request({path:`/wp/v2/widgets`,method:`GET`,query:e,format:`json`,...t}),widgets_create:(e,t={})=>this.request({path:`/wp/v2/widgets`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),widgets_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`GET`,query:t,format:`json`,...n}),widgets_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),block_directory_search_list:(e,t={})=>this.request({path:`/wp/v2/block-directory/search`,method:`GET`,query:e,format:`json`,...t}),pattern_directory_patterns_list:(e,t={})=>this.request({path:`/wp/v2/pattern-directory/patterns`,method:`GET`,query:e,format:`json`,...t}),block_patterns_patterns_list:(e={})=>this.request({path:`/wp/v2/block-patterns/patterns`,method:`GET`,format:`json`,...e}),block_patterns_categories_list:(e={})=>this.request({path:`/wp/v2/block-patterns/categories`,method:`GET`,format:`json`,...e}),menu_locations_list:(e,t={})=>this.request({path:`/wp/v2/menu-locations`,method:`GET`,query:e,format:`json`,...t}),menu_locations_detail:({location:e,...t},n={})=>this.request({path:`/wp/v2/menu-locations/${e}`,method:`GET`,query:t,format:`json`,...n}),font_collections_list:(e,t={})=>this.request({path:`/wp/v2/font-collections`,method:`GET`,query:e,format:`json`,...t}),font_collections_detail:({slug:e,...t},n={})=>this.request({path:`/wp/v2/font-collections/${e}`,method:`GET`,query:t,format:`json`,...n}),icons_list:(e,t={})=>this.request({path:`/wp/v2/icons`,method:`GET`,query:e,format:`json`,...t}),icons_detail:({name:e,...t},n={})=>this.request({path:`/wp/v2/icons/${e}`,method:`GET`,query:t,format:`json`,...n})};userToProject={get_user_to_project:(e,t={})=>this.request({path:`/user_to_project/v1`,method:`GET`,query:e,...t}),add_user_create:(e,t={})=>this.request({path:`/user_to_project/v1/add_user`,method:`POST`,body:e,type:P.UrlEncoded,...t})};payment={get_payment:(e,t={})=>this.request({path:`/payment/v1`,method:`GET`,query:e,...t}),check_duplicate_list:(e,t={})=>this.request({path:`/payment/v1/check_duplicate`,method:`GET`,query:e,...t}),check_duplicate_create:(e,t={})=>this.request({path:`/payment/v1/check_duplicate`,method:`POST`,body:e,type:P.UrlEncoded,...t}),subscription_payment_create:(e,t={})=>this.request({path:`/payment/v1/subscription_payment`,method:`POST`,body:e,type:P.UrlEncoded,...t}),refund_create:(e,t={})=>this.request({path:`/payment/v1/refund`,method:`POST`,body:e,type:P.UrlEncoded,...t}),package_purchase_create:(e,t={})=>this.request({path:`/payment/v1/package_purchase`,method:`POST`,body:e,type:P.UrlEncoded,...t})};counters={get_counters:(e,t={})=>this.request({path:`/counters/v1`,method:`GET`,query:e,...t}),increment_counter_partial_update:(e={})=>this.request({path:`/counters/v1/increment_counter`,method:`PATCH`,...e})};users={get_users:(e,t={})=>this.request({path:`/users/v1`,method:`GET`,query:e,...t}),is_paying_user_list:(e={})=>this.request({path:`/users/v1/is_paying_user`,method:`GET`,...e})};email={get_email:(e,t={})=>this.request({path:`/email/v2`,method:`GET`,query:e,...t}),export_batches_create:(e={})=>this.request({path:`/email/v2/export/batches`,method:`POST`,...e}),export_batches_detail:({batchId:e,...t},n={})=>this.request({path:`/email/v2/export/batches/${e}`,method:`GET`,...n}),export_download_list:(e,t={})=>this.request({path:`/email/v2/export/download`,method:`GET`,query:e,...t}),templates_list:(e,t={})=>this.request({path:`/email/v2/templates`,method:`GET`,query:e,...t}),html_list:(e,t={})=>this.request({path:`/email/v2/html`,method:`GET`,query:e,...t}),copy_create:(e,t={})=>this.request({path:`/email/v2/copy`,method:`POST`,body:e,type:P.UrlEncoded,...t})};wpOpenapi={wp_openapi_list:(e,t={})=>this.request({path:`/wp-openapi`,method:`GET`,query:e,...t}),stoplight_ui_list:(e={})=>this.request({path:`/wp-openapi/stoplight-ui`,method:`GET`,...e}),get_wp_openapi:(e,t={})=>this.request({path:`/wp-openapi/v1`,method:`GET`,query:e,...t}),schema_list:(e,t={})=>this.request({path:`/wp-openapi/v1/schema`,method:`GET`,query:e,...t})};subscription={get_subscription:(e,t={})=>this.request({path:`/subscription/v2`,method:`GET`,query:e,...t}),activate_trial_list:(e={})=>this.request({path:`/subscription/v2/activate_trial`,method:`GET`,...e}),me_list:(e={})=>this.request({path:`/subscription/v2/me`,method:`GET`,...e}),me_notification_preferences_update:(e={})=>this.request({path:`/subscription/v2/me/notification-preferences`,method:`PUT`,...e})};app={get_app:(e,t={})=>this.request({path:`/app/v1`,method:`GET`,query:e,...t}),app_init_create:(e,t={})=>this.request({path:`/app/v1/app_init`,method:`POST`,body:e,type:P.UrlEncoded,...t})};jwtAuth={get_jwt_auth:(e,t={})=>this.request({path:`/jwt-auth/v1`,method:`GET`,query:e,...t}),token_create:(e={})=>this.request({path:`/jwt-auth/v1/token`,method:`POST`,...e}),token_validate_create:(e={})=>this.request({path:`/jwt-auth/v1/token/validate`,method:`POST`,...e})};translations={translations_list:(e,t={})=>this.request({path:`/translations`,method:`GET`,query:e,...t}),post_translations:(e={})=>this.request({path:`/translations/v1`,method:`POST`,...e}),get_translations:(e,t={})=>this.request({path:`/translations/v1`,method:`GET`,query:e,...t}),get_translations2:({file:e,...t},n={})=>this.request({path:`/translations/v1/${e}`,method:`GET`,...n}),get_translations3:({id:e,file:t,...n},r={})=>this.request({path:`/translations/v1/${t}/${e}`,method:`GET`,...r})};em1CSync={get_em1_c_sync:(e,t={})=>this.request({path:`/em-1c-sync/v1`,method:`GET`,query:e,...t}),invoice_request_create:(e={})=>this.request({path:`/em-1c-sync/v1/invoice-request`,method:`POST`,...e}),invoice_create:(e={})=>this.request({path:`/em-1c-sync/v1/invoice`,method:`POST`,...e}),ack_create:(e={})=>this.request({path:`/em-1c-sync/v1/ack`,method:`POST`,...e}),test_receiver_create:(e={})=>this.request({path:`/em-1c-sync/v1/test-receiver`,method:`POST`,...e})};prmonline={get_prmonline:(e,t={})=>this.request({path:`/prmonline/v1`,method:`GET`,query:e,...t}),save_ref_create:(e={})=>this.request({path:`/prmonline/v1/save-ref`,method:`POST`,...e}),track_list:(e={})=>this.request({path:`/prmonline/v1/track`,method:`GET`,...e}),track_create:(e={})=>this.request({path:`/prmonline/v1/track`,method:`POST`,...e})};wpMailSmtp={get_wp_mail_smtp:(e,t={})=>this.request({path:`/wp-mail-smtp/v1`,method:`GET`,query:e,...t}),e_detail:({data:e,...t},n={})=>this.request({path:`/wp-mail-smtp/v1/e/${e}`,method:`GET`,...n})};wpSiteHealth={get_wp_site_health:(e,t={})=>this.request({path:`/wp-site-health/v1`,method:`GET`,query:e,...t}),tests_background_updates_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/background-updates`,method:`GET`,format:`json`,...e}),tests_loopback_requests_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/loopback-requests`,method:`GET`,format:`json`,...e}),tests_https_status_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/https-status`,method:`GET`,format:`json`,...e}),tests_dotorg_communication_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/dotorg-communication`,method:`GET`,format:`json`,...e}),tests_authorization_header_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/authorization-header`,method:`GET`,format:`json`,...e}),directory_sizes_list:(e={})=>this.request({path:`/wp-site-health/v1/directory-sizes`,method:`GET`,...e}),tests_page_cache_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/page-cache`,method:`GET`,...e})};wpBlockEditor={get_wp_block_editor:(e,t={})=>this.request({path:`/wp-block-editor/v1`,method:`GET`,query:e,...t}),url_details_list:(e,t={})=>this.request({path:`/wp-block-editor/v1/url-details`,method:`GET`,query:e,...t}),export_list:(e={})=>this.request({path:`/wp-block-editor/v1/export`,method:`GET`,...e}),navigation_fallback_list:(e={})=>this.request({path:`/wp-block-editor/v1/navigation-fallback`,method:`GET`,format:`json`,...e})};wpAbilities={get_wp_abilities:(e,t={})=>this.request({path:`/wp-abilities/v1`,method:`GET`,query:e,...t}),categories_list:(e,t={})=>this.request({path:`/wp-abilities/v1/categories`,method:`GET`,query:e,format:`json`,...t}),categories_detail:({slug:e,...t},n={})=>this.request({path:`/wp-abilities/v1/categories/${e}`,method:`GET`,format:`json`,...n}),abilities_run_list:({name:e,...t},n={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`GET`,query:t,format:`json`,...n}),abilities_run_create:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_update:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_partial_update:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_delete:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_list:(e,t={})=>this.request({path:`/wp-abilities/v1/abilities`,method:`GET`,query:e,format:`json`,...t}),abilities_detail:({name:e,...t},n={})=>this.request({path:`/wp-abilities/v1/abilities/${e}`,method:`GET`,format:`json`,...n})}},bt=b(`client`),xt=b(`ai_client`),St=b(),Ct=b(),wt=`INJECTION`;function Tt(e){return e.getState}function F(e){if(Tt(e)){let t=e.getState()[wt];return t&&D.getInstance(t)}else return e}i.n();var Et=3e5,Dt=new Map,Ot=new Map,kt=new Set([`generic`,`stockImages`,`emFiles`,`cdn`]),At=/^https:\/\/(?:media\d*|i)\.giphy\.com\/media/i,jt=/^https:\/\/api\.giphy\.com\/v1\/gifs/i,Mt=/^https:\/\/images\.unsplash\.com/i,Nt=/^https:\/\/api\.unsplash\.com/i,Pt=/^https:\/\/assets\.streamlinehq\.com/i,Ft=/^https:\/\/public-api\.streamlinehq\.com/i;function It(e){return typeof e==`string`&&e.trim().length>0}function Lt(){let e=`https://px0.racs.rest/`;if(It(e))return e;let t=i.t.env.REACT_APP_UNSPLASH_PROXY;return It(t)?t:void 0}function Rt(){return{stockImagesProxyUrl:`https://api.emailmaker.ru/services/stock_images`,stockImagesProxyUrlApi:`https://api.emailmaker.ru/services/stock_images_api`,genericProxyUrl:Lt()}}function zt(e){let t=[],{stockImagesProxyUrl:n,stockImagesProxyUrlApi:r,genericProxyUrl:i}=Rt();return r&&t.push({id:`mode-default-stock-images-api`,match:`https://api.unsplash.com/{path}`,proxyBase:r,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),n&&t.push({id:`mode-default-stock-images-cdn`,match:`https://images.unsplash.com/{path}`,proxyBase:n,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),i&&t.push({id:`mode-default-generic`,proxyBase:i,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),t.length>0?t:void 0}function Bt(e){return!!e}function Vt(e,t=!1){return e?.resourceProxy===void 0?Bt(t)?e?.resourceProxy:zt(e):e.resourceProxy}function Ht(e){return e?.backendProxy}function Ut(e){return e.replace(/\/$/,``)}function Wt(e){return/^https?:\/\//i.test(e)}function Gt(e){return e===`/`?``:e.replace(/\/$/,``)}function Kt(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function qt(e){let t=new Set;return e.filter(e=>!e.url||t.has(e.url)?!1:(t.add(e.url),!0))}function Jt(e){let t=e?.resourceProxyPolicy?.recoveryTtlMs;return typeof t==`number`&&t>0?t:Et}function Yt(){return`https://emcdn.ru`}function Xt(e){return!Kt(e)||`match`in e||`rewrite`in e||`proxyBase`in e?!1:Object.keys(e).some(e=>kt.has(e))}function Zt(e){if(e!=null)return Kt(e)&&(`value`in e||`replace`in e)?e.value:e}function Qt(e,t=`generic`,n=!1){let r=Vt(e,n);if(r)return Xt(r)?Zt(r[t]??r.generic):r}function $t(e,t=!1){let n=Vt(e,t);return n?Xt(n)?Object.keys(n).filter(e=>kt.has(e)).map(e=>Zt(n[e])).filter(Boolean):[n]:[]}function en(e){let t=Ht(e);return t?[t]:[]}function tn(e,t=!1){if(Bt(t))return{proxyBlobFetch:!0,proxyCdn:!0,proxyEmFiles:!0,proxyStockImages:!0};let{stockImagesProxyUrl:n,stockImagesProxyUrlApi:r,genericProxyUrl:i}=Rt();return It(i),{proxyBlobFetch:!0,proxyCdn:!1,proxyEmFiles:!1,proxyStockImages:It(n)||It(r)}}function nn(e){return{proxyEmFiles:!0,proxyAi:!1}}function rn(e,t,n=!1){let r=tn(t,n),i=t?.resourceProxyPolicy;switch(e){case`cdn`:return i?.proxyCdn??r.proxyCdn;case`emFiles`:return i?.proxyEmFiles??r.proxyEmFiles;case`stockImages`:return i?.proxyStockImages??r.proxyStockImages;default:return i?.proxyBlobFetch??r.proxyBlobFetch}}function an(e,t){let n=nn(t),r=t?.backendProxyPolicy;switch(e){case`emFiles`:return r?.proxyEmFiles??n.proxyEmFiles;case`ai`:return r?.proxyAi??n.proxyAi;default:return!0}}var on={url:`.+`,url_encoded:`.+`,origin:`https?:\\/\\/[^\\/?#]+`,origin_encoded:`.+`,proxy_url:`https?:\\/\\/[^\\/?#]+`,proxy_url_encoded:`.+`,path:`[^?#]*`,pathname:`[^?#]*`,path_with_slash:`\\/[^?#]*`,pathname_with_slash:`\\/[^?#]*`,query:`[^#]*`,search:`\\?[^#]*`,hash:`#.*`,fragment:`.*`,pathname_after_wp_json:`[^?#]*`,pathname_after_wp_json_with_slash:`\\/[^?#]*`,rest_namespace:`[^/?#]*`,rest_version:`[^/?#]*`,rest_route:`[^?#]*`,rest_route_with_slash:`\\/[^?#]*`};function sn(e){let t=[],n=e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`).replace(/\\\{([a-z_]+)\\\}/gi,(e,n)=>(t.push(n),`(${on[n]||`.+`})`));return{regex:RegExp(`^${n}$`,`i`),tokens:t}}function cn(e){return/[?#]/.test(e)||/\{(?:url|url_encoded|query|search|hash|fragment)\}/i.test(e)}function ln(e,t){if(cn(t))return e;try{let t=new URL(e);return`${t.origin}${t.pathname}`}catch{return e.split(/[?#]/)[0]||e}}function un(e,t,n){if(n.endsWith(`_encoded`))return!0;let r=e.slice(0,t),i=r.lastIndexOf(`#`),a=r.lastIndexOf(`?`),o=r.lastIndexOf(`&`),s=r.lastIndexOf(`=`);return s>Math.max(a,o)&&s>i}function dn(e){try{let t=new URL(e),n=t.pathname.replace(/^\/+/,``),r=t.search.replace(/^\?/,``),i=t.hash.replace(/^#/,``),a=n.replace(/^wp-json\/?/i,``),o=a?`/${a}`:`/`,s=a.match(/^([^/]+)(?:\/([^/]+))?(?:\/(.*))?$/),c=s?.[1]||``,l=s?.[2]||``,u=s?.[3]||``;return{url:e,url_encoded:encodeURIComponent(e),origin:t.origin,origin_encoded:encodeURIComponent(t.origin),proxy_url:t.origin,proxy_url_encoded:encodeURIComponent(t.origin),path:n,pathname:n,path_with_slash:t.pathname||`/`,pathname_with_slash:t.pathname||`/`,query:r,search:t.search,hash:t.hash,fragment:i,pathname_after_wp_json:a,pathname_after_wp_json_with_slash:o,rest_namespace:c,rest_version:l,rest_route:u,rest_route_with_slash:u?`/${u}`:`/`}}catch{return}}function fn(e,t){if(!e)return{};if(Array.isArray(e)){for(let n of e){let e=fn(n,t);if(e!==void 0)return e}return}if(e===`*`)return{};let n=ln(t,e),{regex:r,tokens:i}=sn(e),a=r.exec(n);if(!a)return;let o={};return i.forEach((e,t)=>{o[`matched_${e}`]=a[t+1]||``}),o}function pn(e,t,n={}){let r=dn(t);if(!r)return t;let i={...r,...n},a=``,o=0,s=/\{([a-z_]+)\}/gi,c;for(;c=s.exec(e);){a+=e.slice(o,c.index);let t=i[c[1]]??``,n=un(e,c.index,c[1])?encodeURIComponent(t):t;a+=n,o=c.index+c[0].length}a+=e.slice(o);try{let e=new URL(a),n=new URL(t);return!a.includes(`{search}`)&&!a.includes(`{query}`)&&n.search&&n.searchParams.forEach((t,n)=>{e.searchParams.has(n)||e.searchParams.append(n,t)}),!a.includes(`{hash}`)&&!a.includes(`{fragment}`)&&n.hash&&!e.hash&&(e.hash=n.hash),e.toString()}catch{return a}}function mn(e,t){try{let n=new URL(t);return`${Ut(e)}/${n.pathname.replace(/^\//,``)}${n.search}${n.hash}`}catch{return t}}function hn(e,t){let n=Ut(e);return t?Wt(t)?t:t.startsWith(`?`)||t.startsWith(`#`)?`${n}${t}`:`${n}${t.startsWith(`/`)?``:`/`}${t}`:n}function gn(e,t,n,r){let i=e.match;return i?Array.isArray(i)?i.some(i=>gn({...e,match:i},t,n,r)):typeof i==`function`?!!i({url:t,resourceType:n,intent:r}):i===`*`?!0:fn(i,t)!==void 0:!0}function _n(e,t,n,r,i,a){if(e==null)return[];let o=Array.isArray(e)?e:[e],s=[];return o.forEach((e,o)=>{if(!e)return;if(typeof e==`string`){let i=e.includes(`{`)&&e.includes(`}`)?pn(e,t):mn(e,t);s.push({key:`${n}:${o}`,url:i,source:r});return}if(!Kt(e)||!(`rewrite`in e))return;let c=e;if(!gn(c,t,i,a))return;let l=(typeof c.match==`string`||Array.isArray(c.match))&&fn(c.match,t)||{},u=typeof c.proxyBase==`string`&&c.proxyBase.trim()?c.proxyBase.trim():void 0;(Array.isArray(c.rewrite)?c.rewrite:[c.rewrite]).filter(Boolean).forEach((e,d)=>{let f=typeof e==`function`?(()=>{let n=e({url:t,proxyBase:u,resourceType:i,intent:a,...l}),r=u&&!Wt(n)?hn(u,n):n;return r.includes(`{`)&&r.includes(`}`)?pn(r,t,l):r})():u?pn(hn(u,e),t,l):e.includes(`{`)&&e.includes(`}`)?pn(e,t,l):mn(e,t);s.push({key:`${n}:${c.id||`rule`}:${o}:${d}`,url:f,source:r})})}),qt(s)}function vn(e,t,n,r){let i=e.match;return i?Array.isArray(i)?i.some(i=>vn({...e,match:i},t,n,r)):typeof i==`function`?!!i({url:t,method:r,requestType:n}):i===`*`?!0:fn(i,t)!==void 0:!0}function yn(e,t,n,r=`generic`){if(e==null)return[];let i=Array.isArray(e)?e:[e],a=[];return i.forEach((e,i)=>{if(!e)return;if(typeof e==`string`){let n=e.includes(`{`)&&e.includes(`}`)?pn(e,t):mn(e,t);a.push({key:`backend:${i}`,url:n,source:`resource`});return}if(!Kt(e)||!(`rewrite`in e))return;let o=e;if(!vn(o,t,r,n))return;let s=(typeof o.match==`string`||Array.isArray(o.match))&&fn(o.match,t)||{},c=typeof o.proxyBase==`string`&&o.proxyBase.trim()?o.proxyBase.trim():void 0;(Array.isArray(o.rewrite)?o.rewrite:[o.rewrite]).filter(Boolean).forEach((e,l)=>{let u=typeof e==`function`?(()=>{let i=e({url:t,proxyBase:c,method:n,requestType:r,...s}),a=c&&!Wt(i)?hn(c,i):i;return a.includes(`{`)&&a.includes(`}`)?pn(a,t,s):a})():c?pn(hn(c,e),t,s):e.includes(`{`)&&e.includes(`}`)?pn(e,t,s):mn(e,t);a.push({key:`backend:${o.id||`rule`}:${i}:${l}`,url:u,source:`resource`})})}),qt(a)}function bn(e,t,n){return[e,...n.map(e=>e.url)].join(`|`)}function xn(e,t){if(!e||t.length<2)return t;let n=Dt.get(e);if(!n?.activeUrl)return t;let r=t.find(e=>e.url===n.activeUrl);return r?[r,...t.filter(e=>e.url!==n.activeUrl)]:t}function Sn(e){e&&Ot.get(e)?.forEach(e=>{try{e()}catch{}})}function Cn(e,t){if(!e)return()=>void 0;let n=Ot.get(e)||new Set;return n.add(t),Ot.set(e,n),()=>{let n=Ot.get(e);n&&(n.delete(t),n.size===0&&Ot.delete(e))}}function wn(e,t){if(!e)return!1;let n=Dt.get(e);return!!n?.failedUntil&&n.activeUrl===t.url&&n.failedUntil>Date.now()}function Tn(e,t){let n=xn(e,t);if(!e||n.length<2)return n;let r=[],i=[];return n.forEach(t=>{wn(e,t)?i.push(t):r.push(t)}),[...r,...i]}function En(e,t){if(!e)return;let n=Dt.get(e);Dt.set(e,{activeUrl:t.url}),(n?.activeUrl!==t.url||n?.failedUntil)&&Sn(e)}function Dn(e,t,n){if(!e)return;let r=Jt(n),i={activeUrl:t.url,failedUntil:Date.now()+r},a=Dt.get(e);Dt.set(e,i),(a?.activeUrl!==i.activeUrl||a?.failedUntil!==i.failedUntil)&&Sn(e)}function On(e){return Pt.test(e)||Ft.test(e)}function kn(e){return At.test(e)||jt.test(e)}function An(e){return On(e)||kn(e)}function jn(e,t){let n=Yt();return n&&e.startsWith(Ut(n))?`cdn`:Mt.test(e)||Nt.test(e)?`stockImages`:`generic`}function Mn(e){try{let t=new URL(e);return/(?:^|\/)wp-json\/em-files\/v\d+(?:\/|$)/i.test(t.pathname)?`emFiles`:/(?:^|\/)wp-json\/ai-generator\/v\d+(?:\/|$)/i.test(t.pathname)?`ai`:`generic`}catch{return`generic`}}function Nn(e,t){try{let n=new URL(e),r=new URL(t),i=Gt(r.pathname),a=i===``?!0:n.pathname===i||n.pathname.startsWith(`${i}/`);if(n.origin!==r.origin||!a)return null;let o=n.searchParams.get(`url`);if(o)return o;let s=n.searchParams.get(`proxy_url`);if(!s)return null;let c=new URL(s),l=i===``?n.pathname.replace(/^\/+/,``):n.pathname.slice(i.length).replace(/^\/+/,``);return c.pathname=l?`/${l}`:`/`,n.searchParams.forEach((e,t)=>{t===`proxy_url`||t===`url`||c.searchParams.has(t)||c.searchParams.append(t,e)}),n.hash&&!c.hash&&(c.hash=n.hash),c.toString()}catch{return null}}function Pn(e,t=[]){return e==null||(Array.isArray(e)?e:[e]).forEach(e=>{if(e){if(typeof e==`string`){let n=e.split(`{`)[0]?.trim();n&&t.push(Ut(n));return}!Kt(e)||!(`rewrite`in e)||(typeof e.proxyBase==`string`&&e.proxyBase.trim()&&t.push(Ut(e.proxyBase.trim())),(Array.isArray(e.rewrite)?e.rewrite:[e.rewrite]).forEach(e=>{if(typeof e!=`string`)return;let n=e.split(`{`)[0]?.trim();n&&t.push(Ut(n))}))}}),t}function Fn(e,t,n=!1){return $t(t,n).flatMap(e=>Pn(e)).filter(Boolean).some(t=>t&&e.startsWith(t))}function In(e,t){return en(t).flatMap(e=>Pn(e)).filter(Boolean).some(t=>t&&e.startsWith(t))}function Ln(e,t,n=!1){let r=$t(t,n).flatMap(e=>Pn(e)).filter(Boolean);for(let t of r){let n=Nn(e,t);if(n)return n}return null}function Rn(e,t,n=!1){return Fn(e,t,n)}function zn(e,t,n=!1){return Ln(e,t,n)||e}function Bn(e,t,n=!1){return!!Qt(t,e,n)&&rn(e,t,n)}function Vn(e,t){return!!Ht(t)&&an(e,t)}function Hn(e,t,n,r=!1){if(Bt(r)||t===`downloadBlob`)return!1;switch(e){case`stockImages`:return rn(e,n,r);default:return!1}}function Un(e,t={}){let n=t.config,r=zn(e,n,t.standalone),i=t.resourceType||jn(r,n),a=t.intent||`display`;if(An(r))return{resourceType:`generic`,intent:a,candidates:[]};let o=Bn(i,n,t.standalone)?_n(Qt(n,i,t.standalone),r,i,`resource`,i,a):[];return{resourceType:i,intent:a,candidates:o,stabilityKey:o.length?bn(i,a,o):void 0}}function Wn(e,t={}){let n=t.requestType||Mn(e);return Vn(n,t.config)?yn(Ht(t.config),e,t.method,n):[]}function Gn(e,t={},n){let r=t.intent||n;if(Rn(e,t.config,t.standalone)){let n=zn(e,t.config,t.standalone),i=t.resourceType||jn(n,t.config),a={key:`already-proxied`,url:e,source:`direct`};return{chain:{resourceType:i,intent:r,candidates:[a]},candidates:[a]}}let i=zn(e,t.config,t.standalone),a=Un(i,{...t,intent:r}),o=Tn(a.stabilityKey,a.candidates),s=Hn(a.resourceType,r,t.config,t.standalone);return{chain:a,candidates:qt([...o,...s?[]:[{key:`direct`,url:i,source:`direct`}]])}}function Kn(e,t,n={},r){let{chain:i,candidates:a}=Gn(e,n,r),o=a.find(e=>e.url===t);return!o||o.source!==`resource`?null:{chain:i,candidate:o}}function qn(e,t={}){return Gn(e,t,`display`).candidates.map(e=>e.url)}function Jn(e,t,n={}){let r=Kn(e,t,n,`display`);r&&En(r.chain.stabilityKey,r.candidate)}function Yn(e,t,n={}){let r=Kn(e,t,n,`display`);r&&Dn(r.chain.stabilityKey,r.candidate,n.config)}function Xn(e,t,n,r=!1){return{src:e,changed:n,exhausted:r,reason:t}}function Zn(e,t={}){let{chain:n,candidates:r}=Gn(e,t,t.intent||`display`),i=n.stabilityKey?Dt.get(n.stabilityKey):void 0,a=r[0]?.url||e;return{originalUrl:e,resourceType:n.resourceType,intent:n.intent,stabilityKey:n.stabilityKey,currentSrc:a,runtimeState:i?{...i}:void 0,candidates:r.map(e=>({...e,isCurrent:e.url===a,isFailed:wn(n.stabilityKey,e),failedUntil:i?.activeUrl===e.url?i?.failedUntil:void 0}))}}function Qn(e,t={}){let n=Gn(e,t,`display`),r=n.candidates,i=r[0]?.url||e,a=Math.max(0,r.findIndex(e=>e.url===i)),o=()=>{let o=Gn(e,t,`display`),s=o.candidates,c=s[0]?.url||e;return!c||c===i?(n=o,r=s,a=Math.max(0,s.findIndex(e=>e.url===i)),Xn(i,`unchanged`,!1)):(n=o,r=s,i=c,a=Math.max(0,s.findIndex(e=>e.url===i)),Xn(i,`runtime-update`,!0))};return{get src(){return i},get stabilityKey(){return n.chain.stabilityKey},handleChangeSrc:()=>o(),handleSuccess:()=>{Jn(e,i,t)},handleError:()=>{Yn(e,i,t);let n=o();if(n.changed&&n.src)return n;let s=r[a+1];return!s||s.url===i?Xn(null,`exhausted`,!1,!0):(i=s.url,a+=1,Xn(i,`candidate-fallback`,!0))},subscribeToSrcChange:e=>Cn(n.chain.stabilityKey,()=>{let t=o();t.changed&&e(t)}),getDebugSnapshot:()=>Zn(e,t)}}function $n(e,t={}){return qn(e,t)[0]||e}async function er(e,t={}){if(Rn(e,t.config,t.standalone))return fetch(e,t.init);let n=t.config,{chain:r,candidates:i}=Gn(e,t,t.intent||`downloadBlob`),a;for(let e of i)try{let n=await fetch(e.url,t.init);if(!n.ok)throw Error(`Proxy fetch failed with status ${n.status}`);if(t.validateBlob){let e=await n.clone().blob();if(!await t.validateBlob(e))throw Error(`Proxy validation failed`)}return e.source===`resource`&&En(r.stabilityKey,e),n}catch(t){a=t,e.source===`resource`&&Dn(r.stabilityKey,e,n)}throw a instanceof Error?a:Error(`Failed to fetch resource through proxy chain`)}function tr(e,t={}){return In(e,t.config)?[e]:Wn(e,t).map(e=>e.url)}function nr(e,t){let n=Yt(),r=t.filter(Boolean).map(e=>String(e).replace(/^\/+|\/+$/g,``));return n?`${Ut(n)}/${r.join(`/`)}`:r.join(`/`)}function rr(e,t){let n=Yt();return!!n&&e.startsWith(Ut(n))}r.i();var ir=e=>{let t=new FormData,n=(e,t,r)=>{if(t!=null){if(t instanceof Blob){e.append(r,t);return}if(Array.isArray(t)){t.forEach((t,i)=>{n(e,t,r?`${r}[${i}]`:`${i}`)});return}if(typeof t==`object`){Object.keys(t).forEach(i=>{let a=t[i];n(e,a,r?`${r}[${i}]`:i)});return}e.append(r,String(t))}};return n(t,e),t};function ar(e){for(;e.endsWith(`/`);)e=e.slice(0,e.length-1);return`${e}/wp-json`}var or={baseUrl:`https://app.emailmaker.ru/api//wp-json`,baseApiParams:{secure:!0,credentials:`same-origin`,format:`json`},securityWorker:()=>({credentials:`same-origin`})};or.baseUrl=ar(`https://app.emailmaker.ru/api/`);var sr=new Map;function cr(e){if(e)return e.getState().configSlice?.config}var lr=class extends yt{constructor(e={},t){super(e),this.container=t}buildRequestUrl(e){let{path:t,baseUrl:n,extraQuery:r}=e,{query:i}=e;r&&(i=i?{...i,...r}:r);let a=i&&this.toQueryString(i);return`${n||this.baseUrl||``}${t}${a?`?${a}`:``}`}buildRequestKey(e,t){return`${t.toUpperCase()} ${e}`}getBackendProxyCandidates(e,t){let n=tr(e,{config:cr(this.container?.getInstance(dt)),method:t,standalone:this.container?.getInstance(mt)!==void 0}),r=n.length>0?n:[e],i=this.buildRequestKey(e,t),a=sr.get(i);return!a||!r.includes(a)?r:[a,...r.filter(e=>e!==a)]}shouldRetryResponse(e){return e.status===502||e.status===503||e.status===504}async request(e){let t=this.buildRequestUrl(e),n=e.method||`GET`,r=this.buildRequestKey(t,n),i=this.getBackendProxyCandidates(t,n),a,o;for(let n of i){let s=e=>e===t?n:e;try{let t=await super.request({...e,proxyHandler:s});if(!t.ok&&this.shouldRetryResponse(t)&&n!==i[i.length-1]){o=t,sr.get(r)===n&&sr.delete(r);continue}return sr.set(r,n),t}catch(e){if(a=e,sr.get(r)===n&&sr.delete(r),e instanceof DOMException&&e.name===`AbortError`)throw e}}if(o)return o;throw a instanceof Error?a:Error(`Backend proxy chain failed`)}};function ur(e=or){let t=new Map;return{create(n,r){let i=new lr({...e,...n},r);return i.contentFormatters[`multipart/form-data`]=ir,t.set(i,{options:n,container:r}),i},getOptions(){return e},setOptions(n){e=n;for(let[n,r]of t)Object.assign(n,{...e,...r.options})}}}var dr=b();function fr(e){return e.getOrCreateInstance(dr,()=>ur())}function pr(e,t={}){let n=Tt(e)?F(e):e;return fr(n).create(t,n)}var mr=b(),hr=b(),gr=b(),_r=e=>{e.inject(gr,{execute:async(t,n={})=>{let r=e.getServices(mr),i=t instanceof Request?t:new Request(t,n);for(let e of r){let t=await e.execute(i);t instanceof Request&&(i=t)}let a=await fetch(i),o=e.getServices(hr);for(let e of o)a=await e.execute(a);return a}})},vr=e=>{_r(e);let t=e.getInstance(gr);e.inject(bt,pr(e,{customFetch:t?.execute||fetch}))},yr;(function(e){let t=`https://racs.emcdn.ru/v3`;function n(e,n){let r={method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify(n)};return fetch(`${t}?resource=${e}&dataset=${document.location.hostname}`,r)}e.post=n;async function r(e,n=0){let r={method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:`{"filter":{},"limit":${n}}`};return await(await fetch(`${t}/get?resource=${e}&dataset=${document.location.hostname}`,r)).json()}e.getAll=r})(yr||={});var br={text:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:16,fontSizeDim:`px`,lineHeight:21,lineHeightDim:`px`,color:`#5a5a5a`,contrastColor:`#FFFFFF`,textAlign:`left`,paddingBottom:10,paddingBottomDim:`px`},headings:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:24,fontSizeDim:`px`,lineHeight:32,lineHeightDim:`px`,color:`#333333`,contrastColor:`#FFFFFF`,textAlign:`left`,paddingTop:20,paddingTopDim:`px`,paddingBottom:20,paddingBottomDim:`px`,letterSpacing:0,letterSpacingDim:`px`,bold:!0,italic:!1},links:{color:`#1C52DC`,contrastColor:`#FFFFFF`,underline:!0},buttons:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:16,fontSizeDim:`px`,letterSpacing:0,letterSpacingDim:`px`,color:`#FFFFFF`,contrastColor:`#1C52DC`,bold:!1,italic:!1,backgroundColor:`#1C52DC`,contrastBackgroundColor:`#FFFFFF`,marginTop:10,marginTopDim:`px`,marginBottom:10,marginBottomDim:`px`,border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:5,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null},textAlign:`center`,padding:{all:null,top:null,right:null,bottom:null,left:null}},block:{backgroundColor:`#FFFFFF`,contrastBackgroundColor:`#1C52DC`,padding:{all:null,top:null,right:null,bottom:null,left:null}},cards:{contrastBackgroundColor:`#1C52DC`,contrastTextColor:`#FFFFFF`,baseBackgroundColor:`#F8F8F8`,baseTextColor:`#333333`,border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:10,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null}}},xr=`ERROR`,Sr=`useblocks`,Cr={isPlugin:!0},wr={isEditor:!1},Tr={em_token:`em_token`,em_elements_view:`em_elements_view`,em_new_block:`em_new_block`,em_new_email:`em_new_email`,em_id:`em_id`,em_name:`em_name`,em_email:`em_email`,em_locale:`em_locale`,em_carrotquest_hash:`em_carrotquest_hash`,em_ducalis_hash:`em_ducalis_hash`,em_email_subscription_consent:`em_email_subscription_consent`,em_folder:`em_folder`,promocode:`promocode`,em_active_tab:`em_active_tab`},Er={em_color_scheme:`em_color_scheme`,em_code_mode_pane_sizes:`em_code_mode_pane_sizes`,em_preview_pane_sizes:`em_preview_pane_sizes`,em_default_sizes:`em_default_sizes`,em_pane_sizes:`em_pane_sizes`,em_test_emails:`em_test_emails`,em_menu_is_locked:`em_menu_is_locked`,em_code_mode_settings:`em_code_mode_settings`,em_folder_is_open:`em_folder_is_open`,em_active_tab:`em_active_tab`,em_ai_settings:`em_ai_settings`,em_last_active_page:`em_last_active_page`},Dr=`deleted`,Or=`not all`,kr=`light`,Ar=`dark`,jr=`system`,Mr=`(prefers-color-scheme: light)`,Nr=`(prefers-color-scheme: dark)`,Pr={auth:`/auth`,projects_index:`/`,projects:`/projects`,project:`/projects/:projectId/emails`,email:`/projects/:projectId/emails/:emailId`,create_email:`/projects/:projectId/emails/new`,billing:`/billing`},Fr={ADD_NEW_PROJECT_MODAL:`ADD_NEW_PROJECT_MODAL`,EDIT_PROJECT_MODAL:`EDIT_PROJECT_MODAL`,BLOCKS_MODAL:`BLOCKS_MODAL`,EDIT_PROFILE_MODAL:`EDIT_PROFILE_MODAL`,SEND_TEST_EMAIL:`SEND_TEST_EMAIL`,ADD_NEW_EBLOCK_MODAL:`ADD_NEW_EBLOCK_MODAL`,ADD_NEW_EMAIL_MODAL:`ADD_NEW_EMAIL_MODAL`,ADD_NEW_AI_EMAIL:`ADD_NEW_AI_EMAIL`,SWITCH_TO_PLAN_MODAL:`SWITCH_TO_PLAN_MODAL`,IMAGE_EDITOR_MODAL:`IMAGE_EDITOR_MODAL`,ADD_NEW_FOLDER_MODAL:`ADD_NEW_FOLDER_MODAL`,EDIT_FOLDER_NAME_MODAL:`EDIT_FOLDER_NAME_MODAL`,ADD_NEW_GROUP_MODAL:`ADD_NEW_GROUP_MODAL`,EDIT_GROUP_NAME_MODAL:`EDIT_GROUP_NAME_MODAL`,RENAME_EMAIL_MODAL:`RENAME_EMAIL_MODAL`,RENAME_BLOCK_MODAL:`RENAME_BLOCK_MODAL`,UPLOAD_IMAGE_MODAL:`UPLOAD_IMAGE_MODAL`,UPLOAD_BACKGROUND_MODAL:`UPLOAD_BACKGROUND_MODAL`,UPLOAD_IMAGE_MODAL_AI:`UPLOAD_IMAGE_MODAL_AI`,UPLOAD_BACKGROUND_MODAL_AI:`UPLOAD_BACKGROUND_MODAL_AI`,UPLOAD_IMAGE_MODAL_STOCK:`UPLOAD_IMAGE_MODAL_STOCK`,UPLOAD_BACKGROUND_MODAL_STOCK:`UPLOAD_BACKGROUND_MODAL_STOCK`,UPLOAD_IMAGE_MODAL_GIF:`UPLOAD_IMAGE_MODAL_GIF`,UPLOAD_BACKGROUND_MODAL_GIF:`UPLOAD_BACKGROUND_MODAL_GIF`,UPLOAD_IMAGE_MODAL_EDIT:`UPLOAD_IMAGE_MODAL_EDIT`,UPLOAD_BACKGROUND_MODAL_EDIT:`UPLOAD_BACKGROUND_MODAL_EDIT`,UPLOAD_IMAGE_MODAL_UPLOAD:`UPLOAD_IMAGE_MODAL_UPLOAD`,UPLOAD_BACKGROUND_MODAL_UPLOAD:`UPLOAD_BACKGROUND_MODAL_UPLOAD`},Ir=`application/x-emailmaker-social-reorder`,Lr={MESSAGE:`message`,INIT_PREVIEW:`init_preview`,UPDATE_PREVIEW:`update_preview`,UPDATE_EDITOR:`update_editor`,UPDATE_EDITOR_POSITION:`update_editor_position`,UPDATE_SIDE_MENU_EDITOR:`update_side_menu_editor`,SAVE_EMAIL:`saveEmail`,SANDBOX_ELEMENT_SETTINGS_SET:`sandbox_element_settings_set`,SANDBOX_CURRENT_IMAGE_RELOAD:`sandbox_current_image_reload`,SANDBOX_NATIVE_IMAGE_DROP_CLEAR:`sandbox_native-image-drop-clear`,SANDBOX_EMAIL_SETTINGS_SET:`sandbox_email_settings_set`,SANDBOX_BLOCK_SETTINGS_SET:`sandbox_block_settings_set`,SANDBOX_ELEMENT_PARENT_GET:`sandbox_element_parent_get`,SANDBOX_ELEMENT_PARENT_TABLE_GET:`sandbox_element_parent_table_get`,SANDBOX_ELEMENT_PREV_GET:`sandbox_element_prev_get`,SANDBOX_ELEMENT_NEXT_GET:`sandbox_element_next_get`,SANDBOX_ELEMENT_REMOVE:`sandbox_element_remove`,SANDBOX_ELEMENT_ACTIVE_RESET:`sandbox_element_active_reset`,SANDBOX_ELEMENT_ACTIVE_SET:`sandbox_element_active_set`,SANDBOX_ELEMENT_HOVER_SET:`sandbox_element_hover_set`,SANDBOX_ELEMENT_IMG_LINK:`sandbox_element_img_link`,SANDBOX_ELEMENT_TEXT:`sandbox_element_text`,SANDBOX_EMAIL_CONTENT_GET:`sandbox_email_content_get`,SANDBOX_SET_POSITION_TO_IMG:`sandbox_set_position_to_img`,SANDBOX_SET_POSITION_TO_LINK:`sandbox_set_position_to_link`,SANDBOX_ACCORDION_ADD_SECTION:`sandbox_accordion_add_section`,SANDBOX_ACCORDION_REMOVE_SECTION:`sandbox_accordion_remove_section`,APPLICATION_FOCUS_IN_IFRAME:`application_focus_in_iframe`,APPLICATION_EMAIL_SETTINGS_SET:`application_email_settings_set`,APPLICATION_BLOCK_SETTINGS_SET:`application_block_settings_set`,APPLICATION_ELEMENT_SETTINGS_SET:`application_element_settings_set`,_APPLICATION_ELEMENT_SETTINGS_SET:j(`application_element_settings_set`),APPLICATION_ELEMENT_SETTINGS_CLOSE:`application_element_settings_close`,APPLICATION_ACTION:`application_action`,APPLICATION_EBLOCK_ADD:`application_eblock_add`,APPLICATION_EBLOCK_PROPAGATE_UPDATE:`application_eblock_propagate_update`,SANDBOX_EBLOCK_SET_EM_BLOCK_ID:`sandbox_eblock_set_em_block_id`,APPLICATION_SCROLL_TO:`application_scroll-to`,APPLICATION_SCROLL_BLOCK_SHOW:`application_scroll-block-show`,APPLICATION_SCROLL_BLOCK_HIDE:`application_scroll-block-hide`,APPLICATION_DISCUSS_SET_ID:`application_discuss_set_id`,APPLICATION_DISCUSS_GET_COMMENT:`application_discuss_get_comment`,APPLICATION_DISCUSS_NO_COMMENT:`application_discuss_no_comment`,APPLICATION_DISCUSS_SAVE_TARGET:`application_discuss_save_target`,APPLICATION_IFRAME_SET_HEIGHT:`application_iframe_set_height`,APPLICATION_COMMON_STYLES_UPDATE:`application_commonStyles_update`,APPLICATION_EMAIL_CONTENT_GET:`application_email_content_get`,APPLICATION_OPEN_IMAGE_AI_POPUP:`application_open-image-ai-popup`,APPLICATION_OPEN_IMAGE_UPLOAD_POPUP:`application_open-image-upload-popup`,APPLICATION_OPEN_IMAGE_EDIT_POPUP:`application_open-image-edit-popup`,APPLICATION_OPEN_IMAGE_GIF_POPUP:`application_open-image-gif-popup`,APPLICATION_OPEN_IMAGE_STOCK_POPUP:`application_open-image-stock-popup`,APPLICATION_CLOSE_IMAGE_EDIT_POPUP:`application_close-image-edit-popup`,APPLICATION_NATIVE_IMAGE_DROP:`application_native-image-drop`,APPLICATION_SUBJECT_UPDATE:j(`application_subject_update`),APPLICATION_PREHEADER_UPDATE:j(`application_preheader_update`),APPLICATION_DOMPARSER_ERROR:j(`application_domparser_error`),APPLICATION_UPDATE_ENTITY:j(`application_update_entity`),APPLICATION_IFRAME_DRAG_EVENT:j(`application_iframe_drag_event`),APPLICATION_HAS_AMP:j(`application_has_amp`),APPLICATION_PREVIEW_ALERT_SHOW:`application_preview_alert_show`,APPLICATION_ATOM_INSERTED:j(`application_atom_inserted`),APPLICATION_TEMPLATE_NOT_EM_ALERT_SHOW:`application_template_not_em_alert_show`,SANDBOX_WINDOW_CHARACTERISTIC:`sandbox_window-characteristic`,SANDBOX_IFRAME_SETSIZE:`sandbox_iframe-setsize`,SANDBOX_BLOCK_INSERT:`sandbox_block-insert`,SANDBOX_ATOM_INSERT:`sandbox_atom-insert`,SANDBOX_DRAG_CANCEL:`sandbox_drag-cancel`,UPDATE_EDITOR_POSITION_FROM_EDITOR:`update_position_from_editor`,UPDATE_EDITOR_POSITION_FROM_IFRAME:`update_position_from_iframe`,SANDBOX_CHANGE_PREVIEW:`sandbox_change_preview`,APPLICATION_CHANGE_PREVIEW:`application_change_preview`,SANDBOX_LOCK_EDIT:`sandbox_lock_edit`,SANDBOX_FLOATBLOCK_ADD:`sandbox_floatBlock_add`,SANDBOX_FLOATBLOCK_REMOVE:`sandbox_floatBlock_remove`,EDITOR_CHANGE_FOCUS:`editor_change_focus`,SANDBOX_RESIZED:`sandbox_resized`,SANDBOX_LOCK_DISCUSS:`sandbox_lock_discuss`,SANDBOX_DISCUSS_SET_TARGET:`sandbox_discuss_set_target`,SANDBOX_DISCUSS_REMOVE_TARGET:`sandbox_discuss_remove_target`,SANDBOX_DISCUSS_RESET:`sandbox_discuss_reset`,SANDBOX_DISCUSS_GET_TARGET:`sandbox_discuss_get_target`,SANDBOX_READY:j(`SANDBOX_READY`),SANDBOX_FLOATBLOCK_WRAP:`sandbox_floatblock_wrap`,SANDBOX_FLOATBLOCK_DIR:`sandbox_floatblock_dir`,SANDBOX_SUBJECT_UPDATE:j(`sandbox_subject_update`),SANDBOX_PREHEADER_UPDATE:j(`sandbox_preheader_update`),SANDBOX_DRAG_EVENT:j(`sandbox_drag_event`),SANDBOX_ADD_MERGETAG:j(`sandbox_add_mergetag`),SANDBOX_TRANSLATIONS:j(`sandbox_send_translations`),SANDBOX_SET_THEME_VARIABLES:j(`sandbox_send_theme_variables`),SANDBOX_SET_ENTITY:j(`sandbox_set_entity`),SANDBOX_INIT_START:j(`sandbox_init_start`),SANDBOX_INITED:j(`sandbox_inited`),SANDBOX_UPDATE_ENTITY:j(`sandbox_update_entity`),RELOAD:j(`reload`),SANDBOX_ADD_EXTENSIONS:j(`sandbox_add_extensions`),SANDBOX_REMOVE_EXTENSIONS:j(`sandbox_remove_extensions`),SANDBOX_ADD_SCRIPT:j(`sandbox_add_script`),SANDBOX_IS_EMAIL_EMPTY:j(`sandbox_is_email_empty`),SANDBOX_SWITCH_THEME:j(`sandbox_switch_theme`)},Rr={language:`html`,detectIndentation:!1,wordWrap:`on`,wrappingIndent:`same`,smoothScrolling:!0,automaticLayout:!0,tabSize:2,indentSize:2},zr=function(e){return e.IMG=`img`,e.TEXT=`text`,e.LINK=`a`,e.TABLE=`table`,e.VINDENT=`vindent`,e.TD=`td`,e.STRUCTURE=`structure`,e.GROUP=`group`,e.BUTTON=`button`,e.DIV=`div`,e.FLOAT_BLOCK=`floatBlock`,e.VAR=`var`,e.EMPTY_TABLE=`emptyTable`,e.EMPTY_TD=`emptyTd`,e.COUNTDOWN=`countdown`,e.VIDEO=`video`,e.COLUMN=`column`,e.CAROUSEL=`carousel`,e.ACCORDION=`accordion`,e.CUSTOM_TABLE=`customTable`,e.SOCIAL=`social`,e}({}),Br={ALL:`All`,STANDARD:`Standard`,PROJECT:`Project`},Vr=`Appearance`,Hr=`Structure`,Ur=`Settings`,Wr=`Properties`,Gr=`History`,Kr=`Disabled_tab`,qr=`Edit selected element`,Jr=`UTM parameters`,Yr=`Table properties`,Xr=`Edit selected table cells`,Zr=`#b9b1b1`,Qr=`Edit`,$r=`AiChat`,ei=`Build`,ti=`Styles`,ni=`Discuss`,ri=`Blocks`,ii=`Atoms`,ai=`Optimise`,oi={top:{width:null,style:null,color:null},right:{width:null,style:null,color:null},bottom:{width:null,style:null,color:null},left:{width:null,style:null,color:null},all:{width:null,style:null,color:null}},si=`block`,ci=`email`,li=`cards`,ui=`list`,di=`pending`,fi=`d41d8`,pi=`valid`,mi=`warnings`,hi=`errors`,gi={LINKS:`Links`,IMAGES:`Images`,SPAM_ASSASSIN:`Spam assassin`,PROBLEMS:`Problems`},_i=`1865`,vi=127017,yi=`desktop`,bi=`mobile`,xi=`emailtags`,Si=`blocktags`,Ci=e=>({REORDER_ATOM:e(`Reorder element`),CLONE_ATOM:e(`Clone element`),REMOVE_ATOM:e(`Remove element`),EDIT_ATOM:e(`Edit element`),CHANGE_IMAGE:e(`Change image`),REORDER_BLOCK:e(`Reorder block`),REORDER_BLOCK_UP:e(`Move up`),REORDER_BLOCK_DOWN:e(`Move down`),EDIT_BLOCK:e(`Edit block`),CLONE_BLOCK:e(`Clone block`),MERGE_BLOCK:e(`Merge with the chosen block`),UNMERGE_BLOCK:e(`Split blocks`),COPY_BLOCK_TO_CLIPBOARD:e(`Copy block to clipboard`),PASTE_BLOCK_FROM_CLIPBOARD:e(`Paste block from clipboard`),REMOVE_BLOCK:e(`Remove block`),SAVE_TO_BLOCKS:e(`Save to Blocks`),UPDATE_GLOBAL_BLOCK_IN_TEMPLATES:e(`Push block update to all templates`),ADD_BLOCK:e(`Add block`),ADD_EMPTY_BLOCK:e(`Add an empty block`),ADD_SAVED_BLOCK:e(`Add a saved block`),ADD_COMMON_BLOCK:e(`Add a common block`),ADD_TEMPLATE_BLOCK:e(`Add a template block`),ADD_SEARCH_BLOCK:e(`Search a block`),REORDER_GROUP:e(`Reorder group`),EDIT_GROUP:e(`Edit group`),CLONE_GROUP:e(`Clone group`),REMOVE_GROUP:e(`Remove group`),ADD_GROUP:e(`Add group`),LINK:e(`link`),TABLE_COLUMN:e(`cell`),TABLE:e(`table`),FLOAT_BLOCK:e(`column`),CONTAINER:e(`container`),PICTURE:e(`picture`),CAROUSEL:e(`carousel`),ACCORDION:e(`accordion`),SOCIAL:e(`Social media`),VERTICAL_INDENT:e(`indent`),TEXT:e(`text`),BUTTON:e(`button`),VAR:e(`variable`),STRUCTURE:e(`block`),EMAIL:e(`email`),GROUP:e(`group`),TYPOGRAF:e(`Typograf`),COUNTDOWN:e(`countdown`),ELEMENT:e(`element`),VIDEO:e(`video`),ELEMENT_PATH_LINK:e(`Link`),ELEMENT_PATH_BLOCK:e(`Block`),ELEMENT_PATH_ATOM:e(`Element`),ELEMENT_PATH_TD:e(`Cell`),ELEMENT_PATH_TABLE:e(`Table`),ELEMENT_PATH_FLOATBLOCK:e(`Column`),ELEMENT_PATH_TEXT:e(`Text`),ELEMENT_PATH_DIV:e(`Container`),ELEMENT_PATH_GROUP:e(`Group`),ELEMENT_PATH_EMAIL:e(`Email`),ELEMENT_PATH_IMG:e(`Picture`),ELEMENT_PATH_VINDENT:e(`Indent`),ELEMENT_PATH_BUTTON:e(`Button`),ELEMENT_PATH_CAROUSEL:e(`Carousel`),ELEMENT_PATH_ACCORDION:e(`Accordion`),ELEMENT_PATH_SOCIAL:e(`Social media`),ELEMENT_PATH_SECTION:e(`Section`),TINYMCE_CHANGECASE:e(`Case Change`),TINYMCE_UPPERCASE:e(`Uppercase`),TINYMCE_LOWERCASE:e(`Lowercase`),PASTE_HERE:e(`Drop here`),INSERT_COLUMN_BEFORE_TABLE:e(`Insert column before`),INSERT_COLUMN_AFTER_TABLE:e(`Insert column after`),INSERT_ROW_BEFORE_TABLE:e(`Insert row before`),INSERT_ROW_AFTER_TABLE:e(`Insert row after`),MERGE_RIGHT_CELL_TABLE:e(`Merge right cell`),MERGE_LEFT_CELL_TABLE:e(`Merge left cell`),MERGE_TOP_CELL_TABLE:e(`Merge top cell`),MERGE_BOTTOM_CELL_TABLE:e(`Merge bottom cell`),SPLIT_CELL_TABLE:e(`Split cell`),REMOVE_COLUMN_TABLE:e(`Remove column`),REMOVE_ROW_TABLE:e(`Remove row`),DROP_BLOCK_HINT:e(`Click or drag a block`)}),wi={Applications:`Apps`,Articles:`Article`,Banners:`Banners`,Buttons:`Buttons`,"Call to Action":`Call to Action`,Contacts:`Contacts`,Content:`Content`,"E-Commerce":`E-Commerce`,Feature:`Features`,Footer:`Footers`,Header:`Headers`,Lists:`Lists`,Menu:`Menus`,Other:`Others`,Polls:`Polls`,Promocodes:`Promocodes`,Separators:`Separators`},Ti={maker:`https://ai-mail.emcdn.ru`,blocks:`https://ai-mail.useblocks.io`},Ei=`
1
+ __emailmaker__.define(`static/core/29b5cf4c.js`,[`require`,`exports`,`module`,`static/core/68277bd8.js`,`static/core/f246e3aa.js`,`static/core/de9b2072.js`,`react`,`prop-types`,`react-dom`,`react-router-dom`],function(e,t,n){let r=e(`./68277bd8.js`),i=e(`./f246e3aa.js`),a=e(`./de9b2072.js`),o=e(`react`);o=r.l(o);let s=e(`prop-types`);s=r.l(s);let c=e(`react-dom`),l=e(`react-router-dom`);var u=class e{_isDisposed=!1;constructor(e=[]){this._inner=e}addDisposable(t){return this._inner.push(t),t instanceof e&&t.addDispose(()=>{this.removeDisposable(t)}),t}addDispose(e){this.addDisposable({dispose:e})}removeDisposable(e){let t=this._inner.indexOf(e);t>=0&&this._inner.splice(t,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(let e of[...this._inner])e.dispose()}}};function d(e){return`service_container_${e}`}var f=class e extends u{_injectCallbacks=[];_injections=Object.create(null);_runCallbacks(e){this._injectCallbacks.forEach(t=>t(e))}constructor(e=null){super(),this._parent=e,e&&this.addDisposable(e.onInject(e=>this._runCallbacks(e)))}onInject=e=>(this._injectCallbacks.push(e),{dispose:()=>{let t=this._injectCallbacks.indexOf(e);t>=0&&this._injectCallbacks.splice(t,1)}});inject(e,t){this._injections[e]=()=>t,this._runCallbacks(e)}injectFactory(e,t,n){let r=this._injections[e],i=typeof r==`function`?r():r,a=this._injections[e]=()=>(i=t(this,i),i);n&&a(),this._runCallbacks(e)}_find(e,t=!0){return this._injections[e]||t&&this._parent?._find(e)}_onInject(e,t,n=new u){return n.addDisposable(this.onInject(r=>{e===r&&(n.dispose(),t(this.getInstance(r)))})),this._parent&&n.addDisposable(this._parent._onInject(e,t,n)),this.addDisposable(n),n}getInstance(e,t=!0){let n=this._find(e,t);if(typeof n==`function`)return n()}getOrCreateInstance(e,t){let n=this._find(e);if(typeof n==`function`)return n();let r=t(this);return this.inject(e,r),r}getInstanceAsync(e){let t=this._find(e);return typeof t==`function`?Promise.resolve(t()):new Promise(t=>this._onInject(e,()=>t(this.getInstance(e))))}addService(e,t){let n=d(e);this.injectFactory(n,(e,n=[])=>n.indexOf(t)<0?[...n,t]:n);let r=new u;return r.addDispose(()=>{this.injectFactory(n,(e,n=[])=>n.filter(e=>e!==t))}),r}addServiceFactory(e,t,n){let r=d(e),i;this.injectFactory(r,(e,n=[])=>(i=t(e,i),i===void 0?n:n.indexOf(i)<0?[...n,i]:n),n);let a=new u;return a.addDispose(()=>{this.injectFactory(r,(e,t=[])=>i===void 0?t:t.filter(e=>e!==i))}),a}getServices(e){let t=d(e);return[...this.getInstance(t,!1)||[],...this._parent?.getServices(e)||[]]}createChild(){return new e(this)}getOrCreateIsolatedContainer(t){return this.getOrCreateInstance(t,()=>{let n=this._parent?.getOrCreateIsolatedContainer(t);return new e(n)})}dispose(){this._injections=Object.create(null)}};function p(e){return e.startsWith(`__`)?e:`__${e}__`}function m(e){if(typeof globalThis>`u`)throw Error(`[di] globalThis is required for namespace container access.`);let t=p(e),n=globalThis;return n[t]??={}}function h(e){return typeof e==`object`&&!!e&&typeof e.inject==`function`&&typeof e.getInstance==`function`}function g(e){return p(e||`emailmaker`)}function _(e){let t=m(g(e));if(h(t.container))return t.container;let n=new f(null);return t.container=n,n}function v(e){return _(e)}function y(){let e=new Date().getTime(),t=typeof performance<`u`&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,function(n){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(n===`x`?r:r&3|8).toString(16)})}function b(e=y()){return e}function x(){return`core`}function S(e){if(typeof globalThis>`u`)return;let t=x(),n=globalThis[e]??{};globalThis[e]=n;let r=n.__diagnostics??={},i=r.diModuleEval??={evalCount:0,records:[],duplicateWarned:!1};i.records.push({buildSource:t,timestamp:Date.now(),stack:Error().stack}),i.evalCount+=1,!(i.evalCount<=1||i.duplicateWarned)&&(i.duplicateWarned=!0,i.evalCount,i.records)}function C(){return`__emailmaker__`}function w(e,t){if(S(t),typeof globalThis>`u`)return e;let n=x(),r=globalThis,i=r[t]=r[t]||{},a=i.__diagnostics=i.__diagnostics||{},o=a.dependencyResolver=a.dependencyResolver||{entries:[],warnings:[]},s={container:e,source:`packages/runtime-core/di/index.ts`,buildSource:n,timestamp:Date.now(),stack:Error().stack};if(o.entries.push(s),o.entries.length>1){let e=o.entries[0];if(o.entries.some(t=>t.container!==e.container)&&!o.duplicateWarningShown){o.duplicateWarningShown=!0;let e={message:`[di] Multiple DependencyResolver instances detected on namespace`,namespaceKey:t,buildSource:n,entries:o.entries};o.warnings.push(e)}}return e}var T;function E(){if(T)return T;let e=C();return T=w(_(e),e),T}var D=new Proxy({},{get(e,t,n){let r=E(),i=Reflect.get(r,t,n);return typeof i==`function`?i.bind(r):i}}),ee=class e extends Error{code;httpStatus;details;constructor(t,n,r,i){super(t),this.name=`FileManagerApiError`,this.code=n,this.httpStatus=r,this.details=i;let a=Error.captureStackTrace;a&&a(this,e)}},O=class extends u{_listeners=[];constructor(e={}){super(),this._options=e}getListeners(e){return this._listeners.flatMap(([t])=>typeof t==`function`?t:t.getListeners(e))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,n){if(this.isDisposed())return{dispose:()=>{}};let r=this._listeners,i=this._options;n&&typeof e==`function`&&(e=e.bind(n));let a=r.findIndex(([,e])=>e<t),o=[e,t];return r.splice(a>=0?a:r.length,0,o),r.length===1&&i.onFirstListenerAdd&&i.onFirstListenerAdd(),{dispose:()=>{let e=r.indexOf(o);e>=0&&(r.splice(e,1),!r.length&&i.onLastListenerRemove&&i.onLastListenerRemove())}}}on=this._addListener.bind(this);event=this._addListener.bind(this);once=(e,t=0,n)=>{let r=this._addListener((...t)=>(r?.dispose(),n?e.call(n,...t):e(...t)),t);return r};un=e=>{let t=this._listeners.findIndex(([t])=>t===e);t>=0&&(this._listeners.splice(t,1),this._listeners.length===0&&this._options.onLastListenerRemove&&this._options.onLastListenerRemove())};dispose(){this._listeners.splice(0,this._listeners.length),this._options.onLastListenerRemove&&this._options.onLastListenerRemove(),super.dispose()}},k=class extends O{execute(e,t){for(let n of t)try{n(...e)}catch{}}fire(...e){if(!this.isDisposed()){let t=this.execute(e,this.getListeners(e));return t===void 0?void 0:t}}},te=class extends k{execute([e],t){for(let n of t)try{n(e)}catch{}}},ne=class extends k{_suspendCounter=0;_wasFired=!1;execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(let n of t)try{n(e)}catch{}}suspend(){this._suspendCounter++}resume(){--this._suspendCounter===0&&this._wasFired&&(this.fire(),this._wasFired=!1)}},re=class extends k{async execute([e],t){let n=[];for(let r of t)try{n.push(await r(e))}catch{}return n}};function A(e,t=0){let n=new O,r=e(n,t);return r&&n.addDisposable(r),n.event}function ie(e,t,n=0){let r=new k,i=e((...e)=>{if(t(...e))return r.fire(...e)},n);return i&&r.addDisposable(i),r.event}function ae(e,t=0,n=0){let r=new k,i,a,o=e((...e)=>{a=e,i||=setTimeout(()=>{a&&r.fire(...a),i=void 0},t)},n);return o&&r.addDisposable(o),r.event}var oe=class{_listeners=[];add(e,t=0,n){let r={fn:n?e.bind(n):e,priority:t};return this._listeners.push(r),{dispose:()=>{let e=this._listeners.indexOf(r);e>=0&&this._listeners.splice(e,1)}}}async run(e){let t=[...this._listeners].sort((e,t)=>t.priority-e.priority);for(let{fn:n}of t){let t=await n(e);typeof t==`object`&&t&&!Array.isArray(t)&&!(t instanceof Date)&&!(t instanceof RegExp)&&Object.assign(e,t)}return e}},se=b(`ELEMENT_INSERT_HTML_PIPELINE`),ce=b(`BLOCK_INSERT_HTML_PIPELINE`);function le(e){return e.getOrCreateInstance(se,()=>new oe)}function ue(e){return e.getOrCreateInstance(ce,()=>new oe)}async function de(e,t){return e?le(e).run({...t}):t}async function fe(e,t){return e?ue(e).run({...t}):t}function j(e){return e}function pe(e){return e&&typeof e==`object`}function me(e,t){return e&&typeof e==`object`&&e.operationId===t}var he=j(`INIT_MESSAGE`),ge=j(``);function _e(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}var M=class extends u{_listeners=Object.create(null);addListenerAsync=(e,t,n=0,r)=>{let i=this._listeners[e]||(this._listeners[e]=[]);r&&typeof t==`function`&&(t=t.bind(r));let a=i.findIndex(([e,t])=>n<=t),o=[t,n];return this.isDisposed()||i.splice(a>=0?a:i.length,0,o),{dispose(){let e=i.indexOf(o);e>=0&&i.splice(e,1)}}};fireAsync=(e,t)=>{if(!this.isDisposed()){let n=this._listeners[e]||(this._listeners[e]=[]),r;for(let e=0;e<n.length;e++){let t=n[e][0],i=r;r=e=>t(e,i)}if(r)return r(t)}};addListener=(e,t,n=0)=>this.addListenerAsync(e,(e,n)=>{try{t(e)}catch{}return n&&n(e)},n)},ve=class extends u{_target;_inited=!1;_emitter=this.addDisposable(new M);constructor(e,t){super(),this._singleton=t,window.addEventListener(`message`,this._onReceiveMessage),this.addListener(he,()=>{this._inited||(this._inited=!0,this.send(he))}),e&&this.setTarget(e)}_onReceiveMessage=e=>{let t=e.data;if(pe(t)&&e.source==this.target||this._singleton&&me(t,he)){let n=this._emitter.fireAsync(t.operationId||ge,t.operationId===void 0?e:t.data),r=t.result,i=t.error;r&&i&&Promise.resolve(n).then(e=>this._sendMessage(r,e),e=>this._sendMessage(i,e))}};setTarget(e){this._target!==e&&(this._target=e,e&&this._postMessage(e,{operationId:he,data:{}}))}getTarget(){return this._target}get target(){return this._target}_postMessage(e,t){try{e.postMessage(t,`*`)}catch(e){throw e?.name===`DataCloneError`&&typeof t?.data==`object`&&t?.data!==null&&t.data,e}}_sendMessage(e,t,n=!0){if(!n&&!this.isInited())return;let r=this.addDisposable(this.onInit(n=>{let i=e?{operationId:e,data:t}:t;try{this._postMessage(n,{...i})}finally{r.dispose()}}))}send(e,t,n){return typeof e==`string`?this._sendMessage(e,t,n):this._sendMessage(ge,e,t)}sendAsync(e,t,n=!0){if(!n&&!this.isInited())return Promise.resolve();let r=j(_e()),i=j(_e());return new Promise((n,a)=>{let o=this.addDisposable(new u);o.addDisposable(this.onInit(s=>{try{this._postMessage(s,{operationId:e,data:t,result:r,error:i})}catch(e){o.dispose(),a(e);return}o.addDisposable(this._onMessage(r,e=>{n(e),o.dispose()})),o.addDisposable(this._onMessage(i,e=>{a(e),o.dispose()}))}))})}_onMessage(e,t,n=0){return this._emitter.addListener(e,t,n)}addListener(e,t,n){return t?this._onMessage(e,t,n):this._onMessage(ge,e)}addListenerAsyncPipe(e,t,n=0){return this._emitter.addListenerAsync(e,t,n)}addListenerAsync(e,t,n=0){return this._emitter.addListenerAsync(e,async(e,n)=>{let r=await t(e);return n?n(e):r},n)}isInited(){return this._inited}get inited(){return this._inited}onInit(e,t=!0,n=0){let r=this.addDisposable(new u);return this._inited&&this._target?t&&Promise.resolve().then(()=>{!this._inited||!this._target?r.addDisposable(this.onInit(e,t,n)):e(this._target)}):r.addDisposable(this._onMessage(he,()=>{e(this._target)},n)),r}dispose(){window.removeEventListener(`message`,this._onReceiveMessage),super.dispose()}};function ye(e){return b(e)}var be=b(),xe=ye(`HANDLE_ATOM_INSERT`),Se=b(),Ce=j(`SANDBOX_EXTENSION_SCRIPT_STATUS`),we=b(`MESSAGE_SERVICE`),Te=ye(`SETTINGS_PANEL_EVENT`),Ee=`advanced`,De=ye(`MODAL_SHOW_EVENT`),Oe=ye(`MODAL_CLOSE_EVENT`),ke=ye(`MODAL_UPDATE_EVENT`),Ae=`application_block_inserted`,je=class{constructor(e){this._context=e}get _container(){return this._context.container}handleBeforeInject(e,t,n){return this._container.getOrCreateInstance(ce,()=>new oe).add(e,t??0,n)}handleInject(e,t,n){let r=this._container.getOrCreateInstance(we,()=>new ve),i=n?e.bind(n):e;return r.addListener(Ae,i,t)}},Me=class{_factories=new Map;add(e,t){let n=e;return this._factories.set(n,t),{dispose:()=>{this._factories.get(n)===t&&this._factories.delete(n)}}}get(e){return this._factories.get(e)}},Ne=b(`DomComponentRegistry`);function Pe(e,t=Ne){return D.getOrCreateInstance(t,()=>new Me)}function Fe(e){return typeof e==`function`}function Ie(e){return(0,o.isValidElement)(e)}function Le(e){return typeof e==`function`||Ie(e)}function Re(e){return typeof e==`object`&&!!e&&`type`in e&&`props`in e&&!Ie(e)}function ze(e,t){return(0,o.createElement)(e,t)}function Be(e){return class extends o.Component{_ref=(0,o.createRef)();_instance;componentDidMount(){this._ref.current&&(this._instance=e(this.props),this._ref.current.appendChild(this._instance.node))}componentDidUpdate(e){this._instance?.update&&this._instance.update(this.props)}componentWillUnmount(){this._instance?.dispose&&this._instance.dispose()}render(){return(0,o.createElement)(`div`,{ref:this._ref})}}}var Ve=class{_components=new Map;_domAdapters=new Map;constructor(e){this._domComponentRegistry=e}add(e,t){return this.override(e,()=>t)}addDom(e,t){let n=e;this._domAdapters.delete(n);let r=this._domComponentRegistry.add(e,t);return{dispose:()=>{this._domAdapters.delete(n),r.dispose()}}}override(e,t){let n=e,r=this._components.get(n);r||(r={replacers:[]},this._components.set(n,r));let i=()=>{let e=r.replacers.findIndex(e=>e.replacer===t);e>=0&&(r.replacers.splice(e,1),this._recomputeComponent(n,r))};return r.replacers.push({replacer:t,dispose:i}),this._recomputeComponent(n,r),{dispose:i}}_recomputeComponent(e,t){t.component=t.replacers.reduce((e,{replacer:t})=>t(e),void 0)}get(e){if(Le(e))return e;let t=e,n=this._components.get(t);if(n?.component)return n.component;let r=this._domComponentRegistry.get(e);if(r){let e=this._domAdapters.get(t);return e||(e=Be(r),this._domAdapters.set(t,e)),e}}_resolveComponentInput(e){if(e==null)return null;if(typeof e==`number`||typeof e==`boolean`||Ie(e))return e;if(typeof e==`string`){let t=this.get(e);return Ie(t)?t:t?ze(t):e}if(Fe(e))return ze(e);if(Re(e)){let t=this.get(e.type);return Ie(t)?t:t?ze(t,e.props):null}return null}getReactNode(e){return this._resolveComponentInput(e)}getReactElement(e){let t=this._resolveComponentInput(e);return Ie(t)?t:typeof t==`string`||t==null||typeof t==`boolean`||typeof t==`number`?(0,o.createElement)(o.Fragment,null,t):(0,o.createElement)(o.Fragment,null)}},He=b(`ComponentRegistry`);function Ue(e,t=He){return D.getOrCreateInstance(t,()=>new Ve(Pe(D,Ne)))}function We(e,t){return e.getOrCreateInstance(t,()=>new re)}var Ge=class{constructor(e){this._context=e}get _container(){return this._context.container}getNames(){return new Promise(e=>{let t=this._container.addService(be,{execute:n=>{t.dispose(),e(n.value.map(e=>({name:e.name,html:e.html})))}})})}update(e,t){let n=this._container,r=Ue(n);return n.addService(be,{execute:n=>{let i=n.value.find(t=>t.name===e);if(i){let{icon:e,title:n,fallbackTooltip:a,...o}=t;e&&(i.icon=r.getReactNode(e)),n&&(i.title=r.getReactNode(n)),a&&(i.fallbackTooltip=r.getReactNode(a)),Object.assign(i,o)}}})}delete(e){this._container.addService(be,{execute:t=>{let n=t.value.findIndex(t=>t.name===e);n>=0&&t.value.splice(n,1)}})}insert(e,t){let n=this._container,r=Ue(n);return n.addService(be,{execute:n=>{n.value.splice(t??n.value.length,0,{...e,title:r.getReactNode(e.title),icon:r.getReactNode(e.icon),fallbackTooltip:r.getReactNode(e.fallbackTooltip)})}})}handleBeforeInject(e,t,n){return this._container.getOrCreateInstance(se,()=>new oe).add(e,t??0,n)}handleInject(e,t,n){return We(this._container,xe).event(t=>{e({name:t.name,className:t.className||``,html:t.html})},t,n)}},Ke=class{_messageService;constructor(e){this._messageService=e.container.getOrCreateInstance(we,()=>new ve)}send(e,t,n){this._messageService.send(e,t,n)}sendAsync(e,t,n=!0){return this._messageService.sendAsync(e,t,n)}addListener(e,t,n){return this._messageService.addListener(e,t,n)}addListenerAsync(e,t,n=0){return this._messageService.addListenerAsync(e,t,n)}onInit(e,t=!0,n=0){return this._messageService.onInit(e,t,n)}isInited(){return this._messageService.isInited()}};function qe(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>t!==void 0))}var Je=class{_showModalEmitter;_closeModalEmitter;_updateModalEmitter;constructor(e){this._context=e;let t=e.container;this._showModalEmitter=We(t,De),this._closeModalEmitter=We(t,Oe),this._updateModalEmitter=We(t,ke)}get _container(){return this._context.container}show(e){let t=Ue(this._container),n=`modal_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,r=e.modalProps;return this._showModalEmitter.fire({...e,content:t.getReactNode(e.content),title:t.getReactNode(e.title),id:n,modalProps:r?{...r,footer:t.getReactNode(r.footer),okText:t.getReactNode(r.okText),cancelText:t.getReactNode(r.cancelText),closeIcon:t.getReactNode(r.closeIcon)}:void 0}),n}close(e){this._closeModalEmitter.fire(e)}closeAll(){this._closeModalEmitter.fire()}update(e,t){let n=Ue(this._container),r=t.modalProps;this._updateModalEmitter.fire(qe({...t,content:n.getReactNode(t.content),title:n.getReactNode(t.title),id:e,modalProps:r?{...r,footer:n.getReactNode(r.footer),okText:n.getReactNode(r.okText),cancelText:n.getReactNode(r.cancelText),closeIcon:n.getReactNode(r.closeIcon)}:void 0}))}},Ye=class{loaded;ready;_loadedSettled=!1;_readySettled=!1;constructor(e,t){this._registration=e,this._loadedDisposable=t,this.loaded=new Promise((e,t)=>{let n=()=>this._loadedDisposable.dispose();this._resolveLoaded=()=>{this._loadedSettled||(this._loadedSettled=!0,this._readySettled&&n(),e())},this._rejectLoaded=e=>{this._loadedSettled||(this._loadedSettled=!0,this._readySettled&&n(),t(e))}}),this.ready=new Promise((e,t)=>{let n=()=>this._loadedDisposable.dispose();this._resolveReady=()=>{this._readySettled||(this._readySettled=!0,this._loadedSettled&&n(),e())},this._rejectReady=e=>{this._readySettled||(this._readySettled=!0,this._loadedSettled&&n(),t(e))}})}_resolveLoaded=()=>{};_rejectLoaded=()=>{};_resolveReady=()=>{};_rejectReady=()=>{};resolveLoaded(){this._resolveLoaded()}resolveReady(){this._resolveReady()}rejectLoad(e){this._rejectLoaded(e),this._rejectReady(e)}rejectReady(e){this._rejectReady(e)}dispose(){this._registration.dispose();let e=Error(`Sandbox script registration disposed before completion.`);this.rejectLoad(e),this.rejectReady(e)}},Xe=class{constructor(e){this._context=e}get _container(){return this._context.container}get _messageService(){return this._container.getOrCreateInstance(we,()=>new ve)}_createScriptHandle(e,t){let n=new Ye(t,this._messageService.addListener(Ce,t=>{if(t.key===e){if(t.phase===`load`&&t.status===`success`){n.resolveLoaded();return}if(t.phase===`ready`&&t.status===`success`){n.resolveReady();return}if(t.phase===`load`){n.rejectLoad(Error(t.error||`Sandbox script "${e}" failed to load.`));return}n.rejectReady(Error(t.error||`Sandbox script "${e}" failed to initialize.`))}}));return n}registerSandboxCSS(e){return this._container.addService(Se,{type:`link`,key:e,parent:`head`,attributes:{rel:`stylesheet`,type:`text/css`,href:e}})}registerSandboxCSSCode(e,t){return this._container.addService(Se,{type:`style`,key:e,parent:`head`,attributes:{type:`text/css`},innerHTML:t})}registerSandboxScript(e){let t=this._container.addService(Se,{type:`script`,key:e,parent:`head`,attributes:{src:e,type:`text/javascript`}});return this._createScriptHandle(e,t)}registerSandboxScriptCode(e,t){let n=this._container.addService(Se,{type:`script`,key:e,parent:`head`,attributes:{type:`text/javascript`},innerHTML:t});return this._createScriptHandle(e,n)}};function Ze(){let e=globalThis.crypto;if(e&&typeof e.randomUUID==`function`)return e.randomUUID();if(e&&typeof e.getRandomValues==`function`){let t=new Uint8Array(16);return e.getRandomValues(t),Array.from(t,e=>e.toString(16).padStart(2,`0`)).join(``)}return`nohwcrypto-${Date.now()}`}function Qe(){return`__settingsPanel:${Ze()}`}function $e(e,t){return{type:e,props:t}}function et(e){return(0,o.isValidElement)(e)}function tt(e){return typeof e==`object`&&!!e&&`type`in e&&`props`in e&&!et(e)}function nt(e,t,n){if(t==null||typeof t==`number`||typeof t==`boolean`||typeof t==`string`)return t;if(et(t)){let r=Qe();return n(e.add(r,t)),$e(r,{})}if(typeof t==`function`){let r=Qe();return n(e.add(r,t)),$e(r,{})}if(tt(t)){let r=t.type;if(typeof r==`string`)return t;if(et(r)||typeof r==`function`){let i=Qe();return n(e.add(i,r)),$e(i,t.props)}return t}return t}var rt={SandboxScriptApi:Xe,ElementsApi:Ge,BlocksApi:je,MessageService:Ke,SettingsPanelApi:class{_panelRegistrationDisposables=[];constructor(e){this._context=e}get _container(){return this._context.container}_clearPanelRegistrations(){for(let e of this._panelRegistrationDisposables)e.dispose();this._panelRegistrationDisposables.length=0}_trackRegistration(e){this._panelRegistrationDisposables.push(e)}showSettingsPanel(e){this._clearPanelRegistrations();let t=Ue(this._container),n=e=>this._trackRegistration(e),r=nt(t,e.content,n),i=e.advancedTabs?.map(e=>({...e,content:nt(t,e.content,n)})),a=e.instanceKey??Ze();We(this._container,Te).fire({...e,content:r,advancedTabs:i,instanceKey:a,type:Ee})}closeSettingsPanel(){this._clearPanelRegistrations(),We(this._container,Te).fire(null)}},ModalApi:Je};function N(e){return b(e)}var it;(function(e){e.BEFORE_SAVE_EMAIL=N(),e.ON_SAVEBUTTON_CLICK_ID=N(),e.ON_NEXTBUTTON_CLICK_ID=N(),e.ON_PREVIOUSBUTTON_CLICK_ID=N(),e.ON_MODEL_CHANGE=N(),e.WILL_EMAIL_INIT_ID=N(),e.ON_EMAIL_INIT_ID=N(),e.ON_BLOCK_INIT_ID=N(),e.ON_CONTENT_CHANGED_ID=N(),e.ON_PREHEADER_CHANGED_ID=N(),e.ON_SUBJECT_CHANGED_ID=N(),e.ON_EMAIL_CHANGED_ID=N(),e.ON_BLOCK_CHANGED_ID=N(),e.ON_CHUNKS_LOADED=N(),e.ON_SEND_TESTEMAIL_ID=N(),e.ON_SEND_LIVEPREVIEW_ID=N(),e.ON_SHARE_ID=N(),e.ON_SHOW_PREVIEW_ID=N(),e.ON_EMAIL_CLONE_ID=N(),e.ON_SEND_EMAIL_MODAL_ID=N(),e.ON_NOTIFICATION=N(),e.READ_LOCALE=N(),e.ON_TRANSLATE_ID=N(),e.ON_CODE_VALIDATE_ID=N(),e.UPLOAD_EVENT_ID=N(),e.PROXY_URL_EVENT_ID=N(),e.FILE_PROXY_EVENT_ID=N(),e.ON_LIMIT_ID=N(),e.ON_GLOBAL_BLOCK_PROPAGATE_UPDATE_ID=N(),e.ON_BROWSER_EXTENSION_DETECTED_ID=N()})(it||={});function at(e,t){return e.getOrCreateInstance(t,()=>new re).event}function ot(e,t){return e.getOrCreateInstance(t,()=>new re)}var st=`Not implemented in plugin`,ct=b(),lt=b(),ut=b(),dt=b(),ft=b(),pt=b(),mt=b(),ht=b(`PluginCollection`),gt=N(`APP_LOAD_EVENT`),_t=N(`CONFIG_CHANGED_EVENT`),P=function(e){return e.Json=`application/json`,e.FormData=`multipart/form-data`,e.UrlEncoded=`application/x-www-form-urlencoded`,e.Text=`text/plain`,e}({}),vt=class{baseUrl=`https://api.emailmaker.ru/wp-json`;securityData=null;securityWorker;abortControllers=new Map;customFetch=(...e)=>fetch(...e);baseApiParams={credentials:`same-origin`,headers:{},redirect:`follow`,referrerPolicy:`no-referrer`};constructor(e={}){Object.assign(this,e)}setSecurityData=e=>{this.securityData=e};encodeQueryParam(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent(typeof t==`number`?t:`${t}`)}`}addQueryParam(e,t){return this.encodeQueryParam(t,e[t])}addArrayQueryParam(e,t){return e[t].map(e=>this.encodeQueryParam(t,e)).join(`&`)}toQueryString(e){let t=e||{};return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>Array.isArray(t[e])?this.addArrayQueryParam(t,e):this.addQueryParam(t,e)).join(`&`)}addQueryParams(e){let t=this.toQueryString(e);return t?`?${t}`:``}contentFormatters={[P.Json]:e=>e!==null&&(typeof e==`object`||typeof e==`string`)?JSON.stringify(e):e,[P.Text]:e=>e!==null&&typeof e!=`string`?JSON.stringify(e):e,[P.FormData]:e=>Object.keys(e||{}).reduce((t,n)=>{let r=e[n];return t.append(n,r instanceof Blob?r:typeof r==`object`&&r?JSON.stringify(r):`${r}`),t},new FormData),[P.UrlEncoded]:e=>this.toQueryString(e)};mergeRequestParams(e,t){return{...this.baseApiParams,...e,...t||{},headers:{...this.baseApiParams.headers||{},...e.headers||{},...t&&t.headers||{}}}}createAbortSignal=e=>{if(this.abortControllers.has(e)){let t=this.abortControllers.get(e);return t?t.signal:void 0}let t=new AbortController;return this.abortControllers.set(e,t),t.signal};abortRequest=e=>{let t=this.abortControllers.get(e);t&&(t.abort(),this.abortControllers.delete(e))};async request({body:e,secure:t,path:n,type:r,query:i,format:a,baseUrl:o,cancelToken:s,extraQuery:c,proxyHandler:l,...u}){let d=(typeof t==`boolean`?t:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{},f=this.mergeRequestParams(u,d);c&&(i=i?{...i,...c}:c);let p=i&&this.toQueryString(i),m=this.contentFormatters[r||P.Json],h=a||f.format,g=`${o||this.baseUrl||``}${n}${p?`?${p}`:``}`,_=l?l(g,{body:e,secure:t,path:n,type:r,query:i,format:a,baseUrl:o,cancelToken:s,extraQuery:c,proxyHandler:l,...u}):g,v=new Request(_,{...f,headers:{...f.headers||{},...r&&r!==P.FormData?{"Content-Type":r}:{}},signal:(s?this.createAbortSignal(s):f.signal)||null,body:e==null?null:m(e)});return this.customFetch(v).then(async e=>{let t=e;t.data=null,t.error=null,t.meta={request:v,response:t};let n=h?await e[h]().then(e=>(t.ok?t.data=e:t.error={data:e},t)).catch(e=>(t.error=e,t)):t;return s&&this.abortControllers.delete(s),n})}},yt=class extends vt{limits={get_limits:(e,t={})=>this.request({path:`/limits/v1`,method:`GET`,query:e,...t}),stats_list:(e={})=>this.request({path:`/limits/v1/stats`,method:`GET`,...e}),stats_detail:({type:e,...t},n={})=>this.request({path:`/limits/v1/stats/${e}`,method:`GET`,...n}),warnings_list:(e={})=>this.request({path:`/limits/v1/warnings`,method:`GET`,...e}),reset_to_subscription_base_create:(e={})=>this.request({path:`/limits/v1/reset-to-subscription-base`,method:`POST`,...e}),update_create:(e={})=>this.request({path:`/limits/v1/update`,method:`POST`,...e})};unisenderProxy={get_unisender_proxy:(e,t={})=>this.request({path:`/unisender-proxy/v1`,method:`GET`,query:e,...t}),create_message_create:(e={})=>this.request({path:`/unisender-proxy/v1/create-message`,method:`POST`,...e})};bdpwr={get_bdpwr:(e,t={})=>this.request({path:`/bdpwr/v1`,method:`GET`,query:e,...t}),reset_password_create:(e={})=>this.request({path:`/bdpwr/v1/reset-password`,method:`POST`,...e}),set_password_create:(e={})=>this.request({path:`/bdpwr/v1/set-password`,method:`POST`,...e}),validate_code_create:(e={})=>this.request({path:`/bdpwr/v1/validate-code`,method:`POST`,...e})};corsProxy={get_cors_proxy:(e,t={})=>this.request({path:`/cors-proxy/V1`,method:`GET`,query:e,...t}),get_list:(e,t={})=>this.request({path:`/cors-proxy/V1/get`,method:`GET`,query:e,...t})};saveFile={get_save_file:(e,t={})=>this.request({path:`/save-file/v1`,method:`GET`,query:e,...t}),ai_create:(e,t={})=>this.request({path:`/save-file/v1/ai`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_status_list:(e,t={})=>this.request({path:`/save-file/v1/ai-status`,method:`GET`,query:e,...t}),test_list:(e={})=>this.request({path:`/save-file/v1/test`,method:`GET`,...e}),upload_create:(e,t={})=>this.request({path:`/save-file/v1/upload`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),shortener_create:(e,t={})=>this.request({path:`/save-file/v1/shortener`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),get_link_create:(e,t={})=>this.request({path:`/save-file/v1/get-link`,method:`POST`,body:e,type:P.UrlEncoded,...t}),send_email_create:(e,t={})=>this.request({path:`/save-file/v1/send-email`,method:`POST`,body:e,type:P.UrlEncoded,...t})};aiGenerator={get_ai_generator:(e,t={})=>this.request({path:`/ai-generator/v1`,method:`GET`,query:e,...t}),ai_create:(e,t={})=>this.request({path:`/ai-generator/v1/ai`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_status_list:(e,t={})=>this.request({path:`/ai-generator/v1/ai-status`,method:`GET`,query:e,...t}),test_list:(e={})=>this.request({path:`/ai-generator/v1/test`,method:`GET`,...e}),clear_history_list:(e,t={})=>this.request({path:`/ai-generator/v1/clear-history`,method:`GET`,query:e,...t}),save_task_create:(e,t={})=>this.request({path:`/ai-generator/v1/save-task`,method:`POST`,body:e,type:P.UrlEncoded,...t}),identificate_blocks_create:(e,t={})=>this.request({path:`/ai-generator/v1/identificate_blocks`,method:`POST`,body:e,type:P.UrlEncoded,...t}),create_subject_create:(e,t={})=>this.request({path:`/ai-generator/v1/create_subject`,method:`POST`,body:e,type:P.UrlEncoded,...t}),ai_subj2_create:(e={})=>this.request({path:`/ai-generator/v1/ai-subj-2`,method:`POST`,...e})};auth={get_auth:(e,t={})=>this.request({path:`/auth/v1`,method:`GET`,query:e,...t}),users_register_create:(e,t={})=>this.request({path:`/auth/v1/users/register`,method:`POST`,body:e,type:P.UrlEncoded,...t}),check_auth_list:(e={})=>this.request({path:`/auth/v1/check_auth`,method:`GET`,...e}),yandex_callback_create:(e,t={})=>this.request({path:`/auth/v1/yandex/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),google_callback_create:(e,t={})=>this.request({path:`/auth/v1/google/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),elama_callback_list:(e,t={})=>this.request({path:`/auth/v1/elama/callback`,method:`GET`,query:e,...t}),elama_callback_create:(e,t={})=>this.request({path:`/auth/v1/elama/callback`,method:`POST`,body:e,type:P.UrlEncoded,...t}),elama_refresh_token_list:(e,t={})=>this.request({path:`/auth/v1/elama/refresh_token`,method:`GET`,query:e,...t}),elama_refresh_token_create:(e,t={})=>this.request({path:`/auth/v1/elama/refresh_token`,method:`POST`,body:e,type:P.UrlEncoded,...t})};inbox={get_inbox:(e,t={})=>this.request({path:`/inbox/v1`,method:`GET`,query:e,...t}),check_inbox_create:(e,t={})=>this.request({path:`/inbox/v1/check-inbox`,method:`POST`,body:e,type:P.UrlEncoded,...t})};promo={get_promo:(e,t={})=>this.request({path:`/promo/v1`,method:`GET`,query:e,...t}),set_code_create:(e,t={})=>this.request({path:`/promo/v1/set_code`,method:`POST`,body:e,type:P.UrlEncoded,...t}),get_code_info_list:(e,t={})=>this.request({path:`/promo/v1/get_code_info`,method:`GET`,query:e,...t}),get_referral_data_list:(e={})=>this.request({path:`/promo/v1/get_referral_data`,method:`GET`,...e})};optimization={get_optimization:(e,t={})=>this.request({path:`/optimization/v1`,method:`GET`,query:e,...t}),validate_images_create:(e,t={})=>this.request({path:`/optimization/v1/validate/images`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),validate_links_create:(e,t={})=>this.request({path:`/optimization/v1/validate/links`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),validate_spamassasin_create:(e,t={})=>this.request({path:`/optimization/v1/validate/spamassasin`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t})};previewSettings={get_preview_settings:(e,t={})=>this.request({path:`/preview_settings/v1`,method:`GET`,query:e,...t}),preview_emails_detail:({id:e,...t},n={})=>this.request({path:`/preview_settings/v1/preview/emails/${e}`,method:`GET`,...n}),preview_emails_partial_update:({id:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/preview/emails/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,...r}),projects_temporary_user_create:({projectId:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/projects/${e}/temporary_user`,method:`POST`,body:n,type:P.UrlEncoded,...r}),projects_temporary_user_delete:({projectId:e,...t},n={})=>this.request({path:`/preview_settings/v1/projects/${e}/temporary_user`,method:`DELETE`,...n}),emails_temporary_access_list:({emailId:e,...t},n={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access`,method:`GET`,...n}),emails_temporary_access_create:({emailId:e,...t},n,r={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access`,method:`POST`,body:n,type:P.UrlEncoded,...r}),emails_temporary_access_delete:({emailId:e,targetUserId:t,...n},r={})=>this.request({path:`/preview_settings/v1/emails/${e}/temporary_access/${t}`,method:`DELETE`,...r})};emFiles={get_em_files:(e,t={})=>this.request({path:`/em-files/v1`,method:`GET`,query:e,...t}),folders_list:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`GET`,query:e,format:`json`,...t}),folders_create:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),folders_delete:(e,t={})=>this.request({path:`/em-files/v1/folders`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),empty_trash_create:(e,t={})=>this.request({path:`/em-files/v1/empty-trash`,method:`POST`,body:e,type:P.UrlEncoded,...t}),files_list:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`GET`,query:e,format:`json`,...t}),files_create:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_delete:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_partial_update:(e,t={})=>this.request({path:`/em-files/v1/files`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_upload_by_url_create:(e,t={})=>this.request({path:`/em-files/v1/files/upload-by-url`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),files_rename_partial_update:(e,t={})=>this.request({path:`/em-files/v1/files/rename`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),items_move_partial_update:(e,t={})=>this.request({path:`/em-files/v1/items/move`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),file_dimensions_list:(e,t={})=>this.request({path:`/em-files/v1/file/dimensions`,method:`GET`,query:e,format:`json`,...t}),cache_clear_create:(e,t={})=>this.request({path:`/em-files/v1/cache/clear`,method:`POST`,body:e,type:P.UrlEncoded,...t})};projects={get_projects:(e,t={})=>this.request({path:`/projects/v1`,method:`GET`,query:e,...t}),flush_email_template_cache_create:(e={})=>this.request({path:`/projects/v1/flush-email-template-cache`,method:`POST`,...e}),list_advanced_list:(e,t={})=>this.request({path:`/projects/v1/list_advanced`,method:`GET`,query:e,...t}),top_used_list:(e,t={})=>this.request({path:`/projects/v1/top-used`,method:`GET`,query:e,...t}),members_bulk_create:(e,t={})=>this.request({path:`/projects/v1/members/bulk`,method:`POST`,body:e,type:P.UrlEncoded,...t}),flush_project_cache_create:(e,t={})=>this.request({path:`/projects/v1/flush-project-cache`,method:`POST`,body:e,type:P.UrlEncoded,...t}),profile_options_list:(e={})=>this.request({path:`/projects/v1/profile/options`,method:`GET`,...e}),profile_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/profile/${e}`,method:`GET`,...n}),profile_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/profile/${e}`,method:`PATCH`,...n}),storage_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}`,method:`GET`,...n}),storage_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}`,method:`PATCH`,...n}),storage_test_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/storage/${e}/test`,method:`POST`,...n}),integrations_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/integrations/${e}`,method:`GET`,query:t,...n}),integrations_partial_update:({projectId:e,...t},n,r={})=>this.request({path:`/projects/v1/integrations/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,...r}),members_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/members/${e}`,method:`GET`,...n}),styles_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/styles/${e}`,method:`GET`,...n}),styles_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/styles/${e}`,method:`PATCH`,...n}),social_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/social/${e}`,method:`GET`,...n}),social_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/social/${e}`,method:`PATCH`,...n}),developer_credentials_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}`,method:`GET`,...n}),developer_credentials_partial_update:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}`,method:`PATCH`,...n}),developer_credentials_rotate_secret_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}/rotate-secret`,method:`POST`,...n}),developer_credentials_verify_secret_create:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/developer-credentials/${e}/verify-secret`,method:`POST`,...n}),developer_kit_postman_collection_list:(e={})=>this.request({path:`/projects/v1/developer-kit/postman-collection`,method:`GET`,...e}),usage_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/usage/${e}`,method:`GET`,...n}),billing_context_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/billing-context/${e}`,method:`GET`,...n}),settings_summary_detail:({projectId:e,...t},n={})=>this.request({path:`/projects/v1/settings-summary/${e}`,method:`GET`,...n})};wp={get_wp:(e,t={})=>this.request({path:`/wp/v2`,method:`GET`,query:e,...t}),confirmation_list:(e,t={})=>this.request({path:`/wp/v2/confirmation`,method:`GET`,query:e,...t}),users_register_create:(e={})=>this.request({path:`/wp/v2/users/register`,method:`POST`,...e}),users_lostpassword_create:(e={})=>this.request({path:`/wp/v2/users/lostpassword`,method:`POST`,...e}),users_lost_password_create:(e={})=>this.request({path:`/wp/v2/users/lost-password`,method:`POST`,...e}),posts_list:(e,t={})=>this.request({path:`/wp/v2/posts`,method:`GET`,query:e,format:`json`,...t}),posts_create:(e,t={})=>this.request({path:`/wp/v2/posts`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),posts_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}`,method:`GET`,query:t,format:`json`,...n}),posts_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),posts_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),posts_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),posts_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),posts_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),posts_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/posts/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),pages_list:(e,t={})=>this.request({path:`/wp/v2/pages`,method:`GET`,query:e,format:`json`,...t}),pages_create:(e,t={})=>this.request({path:`/wp/v2/pages`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),pages_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}`,method:`GET`,query:t,format:`json`,...n}),pages_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),pages_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),pages_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),pages_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),pages_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),pages_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/pages/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),media_list:(e,t={})=>this.request({path:`/wp/v2/media`,method:`GET`,query:e,format:`json`,...t}),media_create:(e,t={})=>this.request({path:`/wp/v2/media`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),media_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/media/${e}`,method:`GET`,query:t,format:`json`,...n}),media_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),media_post_process_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}/post-process`,method:`POST`,body:n,type:P.UrlEncoded,...r}),media_edit_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/media/${e}/edit`,method:`POST`,body:n,type:P.UrlEncoded,...r}),menu_items_list:(e,t={})=>this.request({path:`/wp/v2/menu-items`,method:`GET`,query:e,format:`json`,...t}),menu_items_create:(e,t={})=>this.request({path:`/wp/v2/menu-items`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),menu_items_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`GET`,query:t,format:`json`,...n}),menu_items_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),menu_items_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menu_items_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),blocks_list:(e,t={})=>this.request({path:`/wp/v2/blocks`,method:`GET`,query:e,format:`json`,...t}),blocks_create:(e,t={})=>this.request({path:`/wp/v2/blocks`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blocks_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`GET`,query:t,format:`json`,...n}),blocks_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),blocks_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),blocks_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),blocks_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),blocks_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocks_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),templates_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),templates_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),templates_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/templates/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),templates_list:(e,t={})=>this.request({path:`/wp/v2/templates`,method:`GET`,query:e,format:`json`,...t}),templates_create:(e,t={})=>this.request({path:`/wp/v2/templates`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),templates_lookup_list:(e,t={})=>this.request({path:`/wp/v2/templates/lookup`,method:`GET`,query:e,...t}),templates_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/templates/${e}`,method:`GET`,query:t,format:`json`,...n}),templates_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),templates_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/templates/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),template_parts_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),template_parts_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),template_parts_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),template_parts_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),template_parts_list:(e,t={})=>this.request({path:`/wp/v2/template-parts`,method:`GET`,query:e,format:`json`,...t}),template_parts_create:(e,t={})=>this.request({path:`/wp/v2/template-parts`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),template_parts_lookup_list:(e,t={})=>this.request({path:`/wp/v2/template-parts/lookup`,method:`GET`,query:e,...t}),template_parts_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`GET`,query:t,format:`json`,...n}),template_parts_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),template_parts_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),global_styles_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),global_styles_themes_variations_list:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/themes/${e}/variations`,method:`GET`,...n}),global_styles_themes_detail:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/themes/${e}`,method:`GET`,...n}),global_styles_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`GET`,format:`json`,...n}),global_styles_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),global_styles_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_list:(e,t={})=>this.request({path:`/wp/v2/navigation`,method:`GET`,query:e,format:`json`,...t}),navigation_create:(e,t={})=>this.request({path:`/wp/v2/navigation`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),navigation_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`GET`,query:t,format:`json`,...n}),navigation_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),navigation_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),navigation_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),navigation_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),navigation_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),navigation_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),font_families_list:(e,t={})=>this.request({path:`/wp/v2/font-families`,method:`GET`,query:e,format:`json`,...t}),font_families_create:(e,t={})=>this.request({path:`/wp/v2/font-families`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),font_families_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`GET`,query:t,format:`json`,...n}),font_families_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_font_faces_list:({fontFamilyId:e,...t},n={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:`GET`,query:t,format:`json`,...n}),font_families_font_faces_create:({fontFamilyId:e,...t},n,r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),font_families_font_faces_detail:({fontFamilyId:e,id:t,...n},r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:`GET`,query:n,format:`json`,...r}),font_families_font_faces_delete:({fontFamilyId:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),eblock_list:(e,t={})=>this.request({path:`/wp/v2/eblock`,method:`GET`,query:e,format:`json`,...t}),eblock_create:(e,t={})=>this.request({path:`/wp/v2/eblock`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),eblock_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`GET`,query:t,format:`json`,...n}),eblock_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),eblock_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),eblock_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),eblock_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),eblock_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),eblock_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),email_list:(e,t={})=>this.request({path:`/wp/v2/email`,method:`GET`,query:e,format:`json`,...t}),email_create:(e,t={})=>this.request({path:`/wp/v2/email`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),email_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}`,method:`GET`,query:t,format:`json`,...n}),email_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),email_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),email_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),email_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),email_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),email_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/email/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),notification_list:(e,t={})=>this.request({path:`/wp/v2/notification`,method:`GET`,query:e,format:`json`,...t}),notification_create:(e,t={})=>this.request({path:`/wp/v2/notification`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),notification_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/notification/${e}`,method:`GET`,query:t,format:`json`,...n}),notification_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_autosaves_list:({id:e,...t},n={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:`GET`,query:t,format:`json`,...n}),notification_autosaves_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),notification_autosaves_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/notification/${e}/autosaves/${t}`,method:`GET`,query:n,format:`json`,...r}),payment_list:(e,t={})=>this.request({path:`/wp/v2/payment`,method:`GET`,query:e,format:`json`,...t}),payment_create:(e,t={})=>this.request({path:`/wp/v2/payment`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),payment_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/payment/${e}`,method:`GET`,query:t,format:`json`,...n}),payment_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),payment_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/payment/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_list:(e,t={})=>this.request({path:`/wp/v2/project`,method:`GET`,query:e,format:`json`,...t}),project_create:(e,t={})=>this.request({path:`/wp/v2/project`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),project_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/project/${e}`,method:`GET`,query:t,format:`json`,...n}),project_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/project/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),project_revisions_list:({parent:e,...t},n={})=>this.request({path:`/wp/v2/project/${e}/revisions`,method:`GET`,query:t,format:`json`,...n}),project_revisions_detail:({parent:e,id:t,...n},r={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:`GET`,query:n,format:`json`,...r}),project_revisions_delete:({parent:e,id:t,...n},r,i={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:`DELETE`,body:r,type:P.UrlEncoded,format:`json`,...i}),subscription_list:(e,t={})=>this.request({path:`/wp/v2/subscription`,method:`GET`,query:e,format:`json`,...t}),subscription_create:(e,t={})=>this.request({path:`/wp/v2/subscription`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),subscription_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`GET`,query:t,format:`json`,...n}),subscription_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),subscription_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/subscription/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_list:(e,t={})=>this.request({path:`/wp/v2/user_promocodes`,method:`GET`,query:e,format:`json`,...t}),user_promocodes_create:(e,t={})=>this.request({path:`/wp/v2/user_promocodes`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),user_promocodes_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`GET`,query:t,format:`json`,...n}),user_promocodes_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),user_promocodes_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),types_list:(e,t={})=>this.request({path:`/wp/v2/types`,method:`GET`,query:e,format:`json`,...t}),types_detail:({type:e,...t},n={})=>this.request({path:`/wp/v2/types/${e}`,method:`GET`,query:t,format:`json`,...n}),statuses_list:(e,t={})=>this.request({path:`/wp/v2/statuses`,method:`GET`,query:e,format:`json`,...t}),statuses_detail:({status:e,...t},n={})=>this.request({path:`/wp/v2/statuses/${e}`,method:`GET`,query:t,format:`json`,...n}),taxonomies_list:(e,t={})=>this.request({path:`/wp/v2/taxonomies`,method:`GET`,query:e,format:`json`,...t}),taxonomies_detail:({taxonomy:e,...t},n={})=>this.request({path:`/wp/v2/taxonomies/${e}`,method:`GET`,query:t,format:`json`,...n}),categories_list:(e,t={})=>this.request({path:`/wp/v2/categories`,method:`GET`,query:e,format:`json`,...t}),categories_create:(e,t={})=>this.request({path:`/wp/v2/categories`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),categories_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/categories/${e}`,method:`GET`,query:t,format:`json`,...n}),categories_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),categories_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/categories/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_list:(e,t={})=>this.request({path:`/wp/v2/tags`,method:`GET`,query:e,format:`json`,...t}),tags_create:(e,t={})=>this.request({path:`/wp/v2/tags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),tags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/tags/${e}`,method:`GET`,query:t,format:`json`,...n}),tags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),tags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/tags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_list:(e,t={})=>this.request({path:`/wp/v2/menus`,method:`GET`,query:e,format:`json`,...t}),menus_create:(e,t={})=>this.request({path:`/wp/v2/menus`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),menus_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/menus/${e}`,method:`GET`,query:t,format:`json`,...n}),menus_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),menus_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/menus/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_list:(e,t={})=>this.request({path:`/wp/v2/wp_pattern_category`,method:`GET`,query:e,format:`json`,...t}),wp_pattern_category_create:(e,t={})=>this.request({path:`/wp/v2/wp_pattern_category`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),wp_pattern_category_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`GET`,query:t,format:`json`,...n}),wp_pattern_category_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),wp_pattern_category_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_list:(e,t={})=>this.request({path:`/wp/v2/group`,method:`GET`,query:e,format:`json`,...t}),group_create:(e,t={})=>this.request({path:`/wp/v2/group`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),group_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/group/${e}`,method:`GET`,query:t,format:`json`,...n}),group_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),group_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/group/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_list:(e,t={})=>this.request({path:`/wp/v2/blockfolder`,method:`GET`,query:e,format:`json`,...t}),blockfolder_create:(e,t={})=>this.request({path:`/wp/v2/blockfolder`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blockfolder_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`GET`,query:t,format:`json`,...n}),blockfolder_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blockfolder_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_list:(e,t={})=>this.request({path:`/wp/v2/blocktags`,method:`GET`,query:e,format:`json`,...t}),blocktags_create:(e,t={})=>this.request({path:`/wp/v2/blocktags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),blocktags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`GET`,query:t,format:`json`,...n}),blocktags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),blocktags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_list:(e,t={})=>this.request({path:`/wp/v2/emailtags`,method:`GET`,query:e,format:`json`,...t}),emailtags_create:(e,t={})=>this.request({path:`/wp/v2/emailtags`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),emailtags_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`GET`,query:t,format:`json`,...n}),emailtags_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),emailtags_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_list:(e,t={})=>this.request({path:`/wp/v2/folder`,method:`GET`,query:e,format:`json`,...t}),folder_create:(e,t={})=>this.request({path:`/wp/v2/folder`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),folder_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/folder/${e}`,method:`GET`,query:t,format:`json`,...n}),folder_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),folder_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/folder/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_list:(e,t={})=>this.request({path:`/wp/v2/users`,method:`GET`,query:e,format:`json`,...t}),users_create:(e,t={})=>this.request({path:`/wp/v2/users`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}`,method:`GET`,query:t,format:`json`,...n}),users_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_me_list:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`GET`,query:e,format:`json`,...t}),users_me_create:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_update:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`PUT`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_partial_update:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_me_delete:(e,t={})=>this.request({path:`/wp/v2/users/me`,method:`DELETE`,body:e,type:P.UrlEncoded,format:`json`,...t}),users_application_passwords_list:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`GET`,query:t,format:`json`,...n}),users_application_passwords_create:({userId:e,...t},n,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),users_application_passwords_delete:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:`DELETE`,format:`json`,...n}),users_application_passwords_introspect_list:({userId:e,...t},n={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/introspect`,method:`GET`,query:t,format:`json`,...n}),users_application_passwords_detail:({userId:e,uuid:t,...n},r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`GET`,query:n,format:`json`,...r}),users_application_passwords_create2:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`POST`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_update:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`PUT`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_partial_update:({userId:e,uuid:t,...n},r,i={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`PATCH`,body:r,type:P.UrlEncoded,format:`json`,...i}),users_application_passwords_delete2:({userId:e,uuid:t,...n},r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:`DELETE`,format:`json`,...r}),comments_list:(e,t={})=>this.request({path:`/wp/v2/comments`,method:`GET`,query:e,format:`json`,...t}),comments_create:(e,t={})=>this.request({path:`/wp/v2/comments`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),comments_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/comments/${e}`,method:`GET`,query:t,format:`json`,...n}),comments_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),comments_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/comments/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),search_list:(e,t={})=>this.request({path:`/wp/v2/search`,method:`GET`,query:e,format:`json`,...t}),block_renderer_detail:({name:e,...t},n={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:`GET`,query:t,format:`json`,...n}),block_renderer_create:({name:e,...t},n,r={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),block_types_list:(e,t={})=>this.request({path:`/wp/v2/block-types`,method:`GET`,query:e,format:`json`,...t}),block_types_detail:({namespace:e,...t},n={})=>this.request({path:`/wp/v2/block-types/${e}`,method:`GET`,query:t,format:`json`,...n}),block_types_detail2:({name:e,namespace:t,...n},r={})=>this.request({path:`/wp/v2/block-types/${t}/${e}`,method:`GET`,query:n,format:`json`,...r}),settings_list:(e={})=>this.request({path:`/wp/v2/settings`,method:`GET`,format:`json`,...e}),settings_create:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),settings_update:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`PUT`,body:e,type:P.UrlEncoded,format:`json`,...t}),settings_partial_update:(e,t={})=>this.request({path:`/wp/v2/settings`,method:`PATCH`,body:e,type:P.UrlEncoded,format:`json`,...t}),themes_list:(e,t={})=>this.request({path:`/wp/v2/themes`,method:`GET`,query:e,format:`json`,...t}),themes_detail:({stylesheet:e,...t},n={})=>this.request({path:`/wp/v2/themes/${e}`,method:`GET`,format:`json`,...n}),plugins_list:(e,t={})=>this.request({path:`/wp/v2/plugins`,method:`GET`,query:e,format:`json`,...t}),plugins_create:(e,t={})=>this.request({path:`/wp/v2/plugins`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),plugins_detail:({plugin:e,...t},n={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`GET`,query:t,format:`json`,...n}),plugins_create2:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_update:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_partial_update:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),plugins_delete:({plugin:e,...t},n,r={})=>this.request({path:`/wp/v2/plugins/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_list:(e,t={})=>this.request({path:`/wp/v2/sidebars`,method:`GET`,query:e,format:`json`,...t}),sidebars_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`GET`,query:t,format:`json`,...n}),sidebars_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),sidebars_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),widget_types_list:(e,t={})=>this.request({path:`/wp/v2/widget-types`,method:`GET`,query:e,format:`json`,...t}),widget_types_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/widget-types/${e}`,method:`GET`,query:t,format:`json`,...n}),widget_types_encode_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widget-types/${e}/encode`,method:`POST`,body:n,type:P.UrlEncoded,...r}),widget_types_render_create:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widget-types/${e}/render`,method:`POST`,body:n,type:P.UrlEncoded,...r}),widgets_list:(e,t={})=>this.request({path:`/wp/v2/widgets`,method:`GET`,query:e,format:`json`,...t}),widgets_create:(e,t={})=>this.request({path:`/wp/v2/widgets`,method:`POST`,body:e,type:P.UrlEncoded,format:`json`,...t}),widgets_detail:({id:e,...t},n={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`GET`,query:t,format:`json`,...n}),widgets_create2:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_partial_update:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),widgets_delete:({id:e,...t},n,r={})=>this.request({path:`/wp/v2/widgets/${e}`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),block_directory_search_list:(e,t={})=>this.request({path:`/wp/v2/block-directory/search`,method:`GET`,query:e,format:`json`,...t}),pattern_directory_patterns_list:(e,t={})=>this.request({path:`/wp/v2/pattern-directory/patterns`,method:`GET`,query:e,format:`json`,...t}),block_patterns_patterns_list:(e={})=>this.request({path:`/wp/v2/block-patterns/patterns`,method:`GET`,format:`json`,...e}),block_patterns_categories_list:(e={})=>this.request({path:`/wp/v2/block-patterns/categories`,method:`GET`,format:`json`,...e}),menu_locations_list:(e,t={})=>this.request({path:`/wp/v2/menu-locations`,method:`GET`,query:e,format:`json`,...t}),menu_locations_detail:({location:e,...t},n={})=>this.request({path:`/wp/v2/menu-locations/${e}`,method:`GET`,query:t,format:`json`,...n}),font_collections_list:(e,t={})=>this.request({path:`/wp/v2/font-collections`,method:`GET`,query:e,format:`json`,...t}),font_collections_detail:({slug:e,...t},n={})=>this.request({path:`/wp/v2/font-collections/${e}`,method:`GET`,query:t,format:`json`,...n}),icons_list:(e,t={})=>this.request({path:`/wp/v2/icons`,method:`GET`,query:e,format:`json`,...t}),icons_detail:({name:e,...t},n={})=>this.request({path:`/wp/v2/icons/${e}`,method:`GET`,query:t,format:`json`,...n})};userToProject={get_user_to_project:(e,t={})=>this.request({path:`/user_to_project/v1`,method:`GET`,query:e,...t}),add_user_create:(e,t={})=>this.request({path:`/user_to_project/v1/add_user`,method:`POST`,body:e,type:P.UrlEncoded,...t})};payment={get_payment:(e,t={})=>this.request({path:`/payment/v1`,method:`GET`,query:e,...t}),check_duplicate_list:(e,t={})=>this.request({path:`/payment/v1/check_duplicate`,method:`GET`,query:e,...t}),check_duplicate_create:(e,t={})=>this.request({path:`/payment/v1/check_duplicate`,method:`POST`,body:e,type:P.UrlEncoded,...t}),subscription_payment_create:(e,t={})=>this.request({path:`/payment/v1/subscription_payment`,method:`POST`,body:e,type:P.UrlEncoded,...t}),subscription_cancelled_create:(e={})=>this.request({path:`/payment/v1/subscription_cancelled`,method:`POST`,...e}),refund_create:(e,t={})=>this.request({path:`/payment/v1/refund`,method:`POST`,body:e,type:P.UrlEncoded,...t}),package_purchase_create:(e,t={})=>this.request({path:`/payment/v1/package_purchase`,method:`POST`,body:e,type:P.UrlEncoded,...t})};counters={get_counters:(e,t={})=>this.request({path:`/counters/v1`,method:`GET`,query:e,...t}),increment_counter_partial_update:(e={})=>this.request({path:`/counters/v1/increment_counter`,method:`PATCH`,...e})};users={get_users:(e,t={})=>this.request({path:`/users/v1`,method:`GET`,query:e,...t}),is_paying_user_list:(e={})=>this.request({path:`/users/v1/is_paying_user`,method:`GET`,...e})};email={get_email:(e,t={})=>this.request({path:`/email/v2`,method:`GET`,query:e,...t}),export_batches_create:(e={})=>this.request({path:`/email/v2/export/batches`,method:`POST`,...e}),export_batches_detail:({batchId:e,...t},n={})=>this.request({path:`/email/v2/export/batches/${e}`,method:`GET`,...n}),export_download_list:(e,t={})=>this.request({path:`/email/v2/export/download`,method:`GET`,query:e,...t}),templates_list:(e,t={})=>this.request({path:`/email/v2/templates`,method:`GET`,query:e,...t}),html_list:(e,t={})=>this.request({path:`/email/v2/html`,method:`GET`,query:e,...t}),copy_create:(e,t={})=>this.request({path:`/email/v2/copy`,method:`POST`,body:e,type:P.UrlEncoded,...t})};wpOpenapi={wp_openapi_list:(e,t={})=>this.request({path:`/wp-openapi`,method:`GET`,query:e,...t}),stoplight_ui_list:(e={})=>this.request({path:`/wp-openapi/stoplight-ui`,method:`GET`,...e}),get_wp_openapi:(e,t={})=>this.request({path:`/wp-openapi/v1`,method:`GET`,query:e,...t}),schema_list:(e,t={})=>this.request({path:`/wp-openapi/v1/schema`,method:`GET`,query:e,...t})};subscription={get_subscription:(e,t={})=>this.request({path:`/subscription/v2`,method:`GET`,query:e,...t}),activate_trial_list:(e={})=>this.request({path:`/subscription/v2/activate_trial`,method:`GET`,...e}),me_list:(e={})=>this.request({path:`/subscription/v2/me`,method:`GET`,...e}),me_notification_preferences_update:(e={})=>this.request({path:`/subscription/v2/me/notification-preferences`,method:`PUT`,...e})};app={get_app:(e,t={})=>this.request({path:`/app/v1`,method:`GET`,query:e,...t}),app_init_create:(e,t={})=>this.request({path:`/app/v1/app_init`,method:`POST`,body:e,type:P.UrlEncoded,...t})};jwtAuth={get_jwt_auth:(e,t={})=>this.request({path:`/jwt-auth/v1`,method:`GET`,query:e,...t}),token_create:(e={})=>this.request({path:`/jwt-auth/v1/token`,method:`POST`,...e}),token_validate_create:(e={})=>this.request({path:`/jwt-auth/v1/token/validate`,method:`POST`,...e})};translations={translations_list:(e,t={})=>this.request({path:`/translations`,method:`GET`,query:e,...t}),post_translations:(e={})=>this.request({path:`/translations/v1`,method:`POST`,...e}),get_translations:(e,t={})=>this.request({path:`/translations/v1`,method:`GET`,query:e,...t}),get_translations2:({file:e,...t},n={})=>this.request({path:`/translations/v1/${e}`,method:`GET`,...n}),get_translations3:({id:e,file:t,...n},r={})=>this.request({path:`/translations/v1/${t}/${e}`,method:`GET`,...r})};em1CSync={get_em1_c_sync:(e,t={})=>this.request({path:`/em-1c-sync/v1`,method:`GET`,query:e,...t}),invoice_request_create:(e={})=>this.request({path:`/em-1c-sync/v1/invoice-request`,method:`POST`,...e}),invoice_create:(e={})=>this.request({path:`/em-1c-sync/v1/invoice`,method:`POST`,...e}),ack_create:(e={})=>this.request({path:`/em-1c-sync/v1/ack`,method:`POST`,...e}),test_receiver_create:(e={})=>this.request({path:`/em-1c-sync/v1/test-receiver`,method:`POST`,...e})};prmonline={get_prmonline:(e,t={})=>this.request({path:`/prmonline/v1`,method:`GET`,query:e,...t}),save_ref_create:(e={})=>this.request({path:`/prmonline/v1/save-ref`,method:`POST`,...e}),track_list:(e={})=>this.request({path:`/prmonline/v1/track`,method:`GET`,...e}),track_create:(e={})=>this.request({path:`/prmonline/v1/track`,method:`POST`,...e})};wpMailSmtp={get_wp_mail_smtp:(e,t={})=>this.request({path:`/wp-mail-smtp/v1`,method:`GET`,query:e,...t}),e_detail:({data:e,...t},n={})=>this.request({path:`/wp-mail-smtp/v1/e/${e}`,method:`GET`,...n})};wpSiteHealth={get_wp_site_health:(e,t={})=>this.request({path:`/wp-site-health/v1`,method:`GET`,query:e,...t}),tests_background_updates_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/background-updates`,method:`GET`,format:`json`,...e}),tests_loopback_requests_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/loopback-requests`,method:`GET`,format:`json`,...e}),tests_https_status_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/https-status`,method:`GET`,format:`json`,...e}),tests_dotorg_communication_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/dotorg-communication`,method:`GET`,format:`json`,...e}),tests_authorization_header_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/authorization-header`,method:`GET`,format:`json`,...e}),directory_sizes_list:(e={})=>this.request({path:`/wp-site-health/v1/directory-sizes`,method:`GET`,...e}),tests_page_cache_list:(e={})=>this.request({path:`/wp-site-health/v1/tests/page-cache`,method:`GET`,...e})};wpBlockEditor={get_wp_block_editor:(e,t={})=>this.request({path:`/wp-block-editor/v1`,method:`GET`,query:e,...t}),url_details_list:(e,t={})=>this.request({path:`/wp-block-editor/v1/url-details`,method:`GET`,query:e,...t}),export_list:(e={})=>this.request({path:`/wp-block-editor/v1/export`,method:`GET`,...e}),navigation_fallback_list:(e={})=>this.request({path:`/wp-block-editor/v1/navigation-fallback`,method:`GET`,format:`json`,...e})};wpAbilities={get_wp_abilities:(e,t={})=>this.request({path:`/wp-abilities/v1`,method:`GET`,query:e,...t}),categories_list:(e,t={})=>this.request({path:`/wp-abilities/v1/categories`,method:`GET`,query:e,format:`json`,...t}),categories_detail:({slug:e,...t},n={})=>this.request({path:`/wp-abilities/v1/categories/${e}`,method:`GET`,format:`json`,...n}),abilities_run_list:({name:e,...t},n={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`GET`,query:t,format:`json`,...n}),abilities_run_create:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`POST`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_update:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`PUT`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_partial_update:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`PATCH`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_run_delete:({name:e,...t},n,r={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:`DELETE`,body:n,type:P.UrlEncoded,format:`json`,...r}),abilities_list:(e,t={})=>this.request({path:`/wp-abilities/v1/abilities`,method:`GET`,query:e,format:`json`,...t}),abilities_detail:({name:e,...t},n={})=>this.request({path:`/wp-abilities/v1/abilities/${e}`,method:`GET`,format:`json`,...n})}},bt=b(`client`),xt=b(`ai_client`),St=b(),Ct=b(),wt=`INJECTION`;function Tt(e){return e.getState}function F(e){if(Tt(e)){let t=e.getState()[wt];return t&&D.getInstance(t)}else return e}i.n();var Et=3e5,Dt=new Map,Ot=new Map,kt=new Set([`generic`,`stockImages`,`emFiles`,`cdn`]),At=/^https:\/\/(?:media\d*|i)\.giphy\.com\/media/i,jt=/^https:\/\/api\.giphy\.com\/v1\/gifs/i,Mt=/^https:\/\/images\.unsplash\.com/i,Nt=/^https:\/\/api\.unsplash\.com/i,Pt=/^https:\/\/assets\.streamlinehq\.com/i,Ft=/^https:\/\/public-api\.streamlinehq\.com/i;function It(e){return typeof e==`string`&&e.trim().length>0}function Lt(){let e=`https://px0.racs.rest/`;if(It(e))return e;let t=i.t.env.REACT_APP_UNSPLASH_PROXY;return It(t)?t:void 0}function Rt(){return{stockImagesProxyUrl:`https://api.emailmaker.ru/services/stock_images`,stockImagesProxyUrlApi:`https://api.emailmaker.ru/services/stock_images_api`,genericProxyUrl:Lt()}}function zt(e){let t=[],{stockImagesProxyUrl:n,stockImagesProxyUrlApi:r,genericProxyUrl:i}=Rt();return r&&t.push({id:`mode-default-stock-images-api`,match:`https://api.unsplash.com/{path}`,proxyBase:r,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),n&&t.push({id:`mode-default-stock-images-cdn`,match:`https://images.unsplash.com/{path}`,proxyBase:n,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),i&&t.push({id:`mode-default-generic`,proxyBase:i,rewrite:`{path}?proxy_url={origin}{search}{hash}`}),t.length>0?t:void 0}function Bt(e){return!!e}function Vt(e,t=!1){return e?.resourceProxy===void 0?Bt(t)?e?.resourceProxy:zt(e):e.resourceProxy}function Ht(e){return e?.backendProxy}function Ut(e){return e.replace(/\/$/,``)}function Wt(e){return/^https?:\/\//i.test(e)}function Gt(e){return e===`/`?``:e.replace(/\/$/,``)}function Kt(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function qt(e){let t=new Set;return e.filter(e=>!e.url||t.has(e.url)?!1:(t.add(e.url),!0))}function Jt(e){let t=e?.resourceProxyPolicy?.recoveryTtlMs;return typeof t==`number`&&t>0?t:Et}function Yt(){return`https://emcdn.ru`}function Xt(e){return!Kt(e)||`match`in e||`rewrite`in e||`proxyBase`in e?!1:Object.keys(e).some(e=>kt.has(e))}function Zt(e){if(e!=null)return Kt(e)&&(`value`in e||`replace`in e)?e.value:e}function Qt(e,t=`generic`,n=!1){let r=Vt(e,n);if(r)return Xt(r)?Zt(r[t]??r.generic):r}function $t(e,t=!1){let n=Vt(e,t);return n?Xt(n)?Object.keys(n).filter(e=>kt.has(e)).map(e=>Zt(n[e])).filter(Boolean):[n]:[]}function en(e){let t=Ht(e);return t?[t]:[]}function tn(e,t=!1){if(Bt(t))return{proxyBlobFetch:!0,proxyCdn:!0,proxyEmFiles:!0,proxyStockImages:!0};let{stockImagesProxyUrl:n,stockImagesProxyUrlApi:r,genericProxyUrl:i}=Rt();return It(i),{proxyBlobFetch:!0,proxyCdn:!1,proxyEmFiles:!1,proxyStockImages:It(n)||It(r)}}function nn(e){return{proxyEmFiles:!0,proxyAi:!1}}function rn(e,t,n=!1){let r=tn(t,n),i=t?.resourceProxyPolicy;switch(e){case`cdn`:return i?.proxyCdn??r.proxyCdn;case`emFiles`:return i?.proxyEmFiles??r.proxyEmFiles;case`stockImages`:return i?.proxyStockImages??r.proxyStockImages;default:return i?.proxyBlobFetch??r.proxyBlobFetch}}function an(e,t){let n=nn(t),r=t?.backendProxyPolicy;switch(e){case`emFiles`:return r?.proxyEmFiles??n.proxyEmFiles;case`ai`:return r?.proxyAi??n.proxyAi;default:return!0}}var on={url:`.+`,url_encoded:`.+`,origin:`https?:\\/\\/[^\\/?#]+`,origin_encoded:`.+`,proxy_url:`https?:\\/\\/[^\\/?#]+`,proxy_url_encoded:`.+`,path:`[^?#]*`,pathname:`[^?#]*`,path_with_slash:`\\/[^?#]*`,pathname_with_slash:`\\/[^?#]*`,query:`[^#]*`,search:`\\?[^#]*`,hash:`#.*`,fragment:`.*`,pathname_after_wp_json:`[^?#]*`,pathname_after_wp_json_with_slash:`\\/[^?#]*`,rest_namespace:`[^/?#]*`,rest_version:`[^/?#]*`,rest_route:`[^?#]*`,rest_route_with_slash:`\\/[^?#]*`};function sn(e){let t=[],n=e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`).replace(/\\\{([a-z_]+)\\\}/gi,(e,n)=>(t.push(n),`(${on[n]||`.+`})`));return{regex:RegExp(`^${n}$`,`i`),tokens:t}}function cn(e){return/[?#]/.test(e)||/\{(?:url|url_encoded|query|search|hash|fragment)\}/i.test(e)}function ln(e,t){if(cn(t))return e;try{let t=new URL(e);return`${t.origin}${t.pathname}`}catch{return e.split(/[?#]/)[0]||e}}function un(e,t,n){if(n.endsWith(`_encoded`))return!0;let r=e.slice(0,t),i=r.lastIndexOf(`#`),a=r.lastIndexOf(`?`),o=r.lastIndexOf(`&`),s=r.lastIndexOf(`=`);return s>Math.max(a,o)&&s>i}function dn(e){try{let t=new URL(e),n=t.pathname.replace(/^\/+/,``),r=t.search.replace(/^\?/,``),i=t.hash.replace(/^#/,``),a=n.replace(/^wp-json\/?/i,``),o=a?`/${a}`:`/`,s=a.match(/^([^/]+)(?:\/([^/]+))?(?:\/(.*))?$/),c=s?.[1]||``,l=s?.[2]||``,u=s?.[3]||``;return{url:e,url_encoded:encodeURIComponent(e),origin:t.origin,origin_encoded:encodeURIComponent(t.origin),proxy_url:t.origin,proxy_url_encoded:encodeURIComponent(t.origin),path:n,pathname:n,path_with_slash:t.pathname||`/`,pathname_with_slash:t.pathname||`/`,query:r,search:t.search,hash:t.hash,fragment:i,pathname_after_wp_json:a,pathname_after_wp_json_with_slash:o,rest_namespace:c,rest_version:l,rest_route:u,rest_route_with_slash:u?`/${u}`:`/`}}catch{return}}function fn(e,t){if(!e)return{};if(Array.isArray(e)){for(let n of e){let e=fn(n,t);if(e!==void 0)return e}return}if(e===`*`)return{};let n=ln(t,e),{regex:r,tokens:i}=sn(e),a=r.exec(n);if(!a)return;let o={};return i.forEach((e,t)=>{o[`matched_${e}`]=a[t+1]||``}),o}function pn(e,t,n={}){let r=dn(t);if(!r)return t;let i={...r,...n},a=``,o=0,s=/\{([a-z_]+)\}/gi,c;for(;c=s.exec(e);){a+=e.slice(o,c.index);let t=i[c[1]]??``,n=un(e,c.index,c[1])?encodeURIComponent(t):t;a+=n,o=c.index+c[0].length}a+=e.slice(o);try{let e=new URL(a),n=new URL(t);return!a.includes(`{search}`)&&!a.includes(`{query}`)&&n.search&&n.searchParams.forEach((t,n)=>{e.searchParams.has(n)||e.searchParams.append(n,t)}),!a.includes(`{hash}`)&&!a.includes(`{fragment}`)&&n.hash&&!e.hash&&(e.hash=n.hash),e.toString()}catch{return a}}function mn(e,t){try{let n=new URL(t);return`${Ut(e)}/${n.pathname.replace(/^\//,``)}${n.search}${n.hash}`}catch{return t}}function hn(e,t){let n=Ut(e);return t?Wt(t)?t:t.startsWith(`?`)||t.startsWith(`#`)?`${n}${t}`:`${n}${t.startsWith(`/`)?``:`/`}${t}`:n}function gn(e,t,n,r){let i=e.match;return i?Array.isArray(i)?i.some(i=>gn({...e,match:i},t,n,r)):typeof i==`function`?!!i({url:t,resourceType:n,intent:r}):i===`*`?!0:fn(i,t)!==void 0:!0}function _n(e,t,n,r,i,a){if(e==null)return[];let o=Array.isArray(e)?e:[e],s=[];return o.forEach((e,o)=>{if(!e)return;if(typeof e==`string`){let i=e.includes(`{`)&&e.includes(`}`)?pn(e,t):mn(e,t);s.push({key:`${n}:${o}`,url:i,source:r});return}if(!Kt(e)||!(`rewrite`in e))return;let c=e;if(!gn(c,t,i,a))return;let l=(typeof c.match==`string`||Array.isArray(c.match))&&fn(c.match,t)||{},u=typeof c.proxyBase==`string`&&c.proxyBase.trim()?c.proxyBase.trim():void 0;(Array.isArray(c.rewrite)?c.rewrite:[c.rewrite]).filter(Boolean).forEach((e,d)=>{let f=typeof e==`function`?(()=>{let n=e({url:t,proxyBase:u,resourceType:i,intent:a,...l}),r=u&&!Wt(n)?hn(u,n):n;return r.includes(`{`)&&r.includes(`}`)?pn(r,t,l):r})():u?pn(hn(u,e),t,l):e.includes(`{`)&&e.includes(`}`)?pn(e,t,l):mn(e,t);s.push({key:`${n}:${c.id||`rule`}:${o}:${d}`,url:f,source:r})})}),qt(s)}function vn(e,t,n,r){let i=e.match;return i?Array.isArray(i)?i.some(i=>vn({...e,match:i},t,n,r)):typeof i==`function`?!!i({url:t,method:r,requestType:n}):i===`*`?!0:fn(i,t)!==void 0:!0}function yn(e,t,n,r=`generic`){if(e==null)return[];let i=Array.isArray(e)?e:[e],a=[];return i.forEach((e,i)=>{if(!e)return;if(typeof e==`string`){let n=e.includes(`{`)&&e.includes(`}`)?pn(e,t):mn(e,t);a.push({key:`backend:${i}`,url:n,source:`resource`});return}if(!Kt(e)||!(`rewrite`in e))return;let o=e;if(!vn(o,t,r,n))return;let s=(typeof o.match==`string`||Array.isArray(o.match))&&fn(o.match,t)||{},c=typeof o.proxyBase==`string`&&o.proxyBase.trim()?o.proxyBase.trim():void 0;(Array.isArray(o.rewrite)?o.rewrite:[o.rewrite]).filter(Boolean).forEach((e,l)=>{let u=typeof e==`function`?(()=>{let i=e({url:t,proxyBase:c,method:n,requestType:r,...s}),a=c&&!Wt(i)?hn(c,i):i;return a.includes(`{`)&&a.includes(`}`)?pn(a,t,s):a})():c?pn(hn(c,e),t,s):e.includes(`{`)&&e.includes(`}`)?pn(e,t,s):mn(e,t);a.push({key:`backend:${o.id||`rule`}:${i}:${l}`,url:u,source:`resource`})})}),qt(a)}function bn(e,t,n){return[e,...n.map(e=>e.url)].join(`|`)}function xn(e,t){if(!e||t.length<2)return t;let n=Dt.get(e);if(!n?.activeUrl)return t;let r=t.find(e=>e.url===n.activeUrl);return r?[r,...t.filter(e=>e.url!==n.activeUrl)]:t}function Sn(e){e&&Ot.get(e)?.forEach(e=>{try{e()}catch{}})}function Cn(e,t){if(!e)return()=>void 0;let n=Ot.get(e)||new Set;return n.add(t),Ot.set(e,n),()=>{let n=Ot.get(e);n&&(n.delete(t),n.size===0&&Ot.delete(e))}}function wn(e,t){if(!e)return!1;let n=Dt.get(e);return!!n?.failedUntil&&n.activeUrl===t.url&&n.failedUntil>Date.now()}function Tn(e,t){let n=xn(e,t);if(!e||n.length<2)return n;let r=[],i=[];return n.forEach(t=>{wn(e,t)?i.push(t):r.push(t)}),[...r,...i]}function En(e,t){if(!e)return;let n=Dt.get(e);Dt.set(e,{activeUrl:t.url}),(n?.activeUrl!==t.url||n?.failedUntil)&&Sn(e)}function Dn(e,t,n){if(!e)return;let r=Jt(n),i={activeUrl:t.url,failedUntil:Date.now()+r},a=Dt.get(e);Dt.set(e,i),(a?.activeUrl!==i.activeUrl||a?.failedUntil!==i.failedUntil)&&Sn(e)}function On(e){return Pt.test(e)||Ft.test(e)}function kn(e){return At.test(e)||jt.test(e)}function An(e){return On(e)||kn(e)}function jn(e,t){let n=Yt();return n&&e.startsWith(Ut(n))?`cdn`:Mt.test(e)||Nt.test(e)?`stockImages`:`generic`}function Mn(e){try{let t=new URL(e);return/(?:^|\/)wp-json\/em-files\/v\d+(?:\/|$)/i.test(t.pathname)?`emFiles`:/(?:^|\/)wp-json\/ai-generator\/v\d+(?:\/|$)/i.test(t.pathname)?`ai`:`generic`}catch{return`generic`}}function Nn(e,t){try{let n=new URL(e),r=new URL(t),i=Gt(r.pathname),a=i===``?!0:n.pathname===i||n.pathname.startsWith(`${i}/`);if(n.origin!==r.origin||!a)return null;let o=n.searchParams.get(`url`);if(o)return o;let s=n.searchParams.get(`proxy_url`);if(!s)return null;let c=new URL(s),l=i===``?n.pathname.replace(/^\/+/,``):n.pathname.slice(i.length).replace(/^\/+/,``);return c.pathname=l?`/${l}`:`/`,n.searchParams.forEach((e,t)=>{t===`proxy_url`||t===`url`||c.searchParams.has(t)||c.searchParams.append(t,e)}),n.hash&&!c.hash&&(c.hash=n.hash),c.toString()}catch{return null}}function Pn(e,t=[]){return e==null||(Array.isArray(e)?e:[e]).forEach(e=>{if(e){if(typeof e==`string`){let n=e.split(`{`)[0]?.trim();n&&t.push(Ut(n));return}!Kt(e)||!(`rewrite`in e)||(typeof e.proxyBase==`string`&&e.proxyBase.trim()&&t.push(Ut(e.proxyBase.trim())),(Array.isArray(e.rewrite)?e.rewrite:[e.rewrite]).forEach(e=>{if(typeof e!=`string`)return;let n=e.split(`{`)[0]?.trim();n&&t.push(Ut(n))}))}}),t}function Fn(e,t,n=!1){return $t(t,n).flatMap(e=>Pn(e)).filter(Boolean).some(t=>t&&e.startsWith(t))}function In(e,t){return en(t).flatMap(e=>Pn(e)).filter(Boolean).some(t=>t&&e.startsWith(t))}function Ln(e,t,n=!1){let r=$t(t,n).flatMap(e=>Pn(e)).filter(Boolean);for(let t of r){let n=Nn(e,t);if(n)return n}return null}function Rn(e,t,n=!1){return Fn(e,t,n)}function zn(e,t,n=!1){return Ln(e,t,n)||e}function Bn(e,t,n=!1){return!!Qt(t,e,n)&&rn(e,t,n)}function Vn(e,t){return!!Ht(t)&&an(e,t)}function Hn(e,t,n,r=!1){if(Bt(r)||t===`downloadBlob`)return!1;switch(e){case`stockImages`:return rn(e,n,r);default:return!1}}function Un(e,t={}){let n=t.config,r=zn(e,n,t.standalone),i=t.resourceType||jn(r,n),a=t.intent||`display`;if(An(r))return{resourceType:`generic`,intent:a,candidates:[]};let o=Bn(i,n,t.standalone)?_n(Qt(n,i,t.standalone),r,i,`resource`,i,a):[];return{resourceType:i,intent:a,candidates:o,stabilityKey:o.length?bn(i,a,o):void 0}}function Wn(e,t={}){let n=t.requestType||Mn(e);return Vn(n,t.config)?yn(Ht(t.config),e,t.method,n):[]}function Gn(e,t={},n){let r=t.intent||n;if(Rn(e,t.config,t.standalone)){let n=zn(e,t.config,t.standalone),i=t.resourceType||jn(n,t.config),a={key:`already-proxied`,url:e,source:`direct`};return{chain:{resourceType:i,intent:r,candidates:[a]},candidates:[a]}}let i=zn(e,t.config,t.standalone),a=Un(i,{...t,intent:r}),o=Tn(a.stabilityKey,a.candidates),s=Hn(a.resourceType,r,t.config,t.standalone);return{chain:a,candidates:qt([...o,...s?[]:[{key:`direct`,url:i,source:`direct`}]])}}function Kn(e,t,n={},r){let{chain:i,candidates:a}=Gn(e,n,r),o=a.find(e=>e.url===t);return!o||o.source!==`resource`?null:{chain:i,candidate:o}}function qn(e,t={}){return Gn(e,t,`display`).candidates.map(e=>e.url)}function Jn(e,t,n={}){let r=Kn(e,t,n,`display`);r&&En(r.chain.stabilityKey,r.candidate)}function Yn(e,t,n={}){let r=Kn(e,t,n,`display`);r&&Dn(r.chain.stabilityKey,r.candidate,n.config)}function Xn(e,t,n,r=!1){return{src:e,changed:n,exhausted:r,reason:t}}function Zn(e,t={}){let{chain:n,candidates:r}=Gn(e,t,t.intent||`display`),i=n.stabilityKey?Dt.get(n.stabilityKey):void 0,a=r[0]?.url||e;return{originalUrl:e,resourceType:n.resourceType,intent:n.intent,stabilityKey:n.stabilityKey,currentSrc:a,runtimeState:i?{...i}:void 0,candidates:r.map(e=>({...e,isCurrent:e.url===a,isFailed:wn(n.stabilityKey,e),failedUntil:i?.activeUrl===e.url?i?.failedUntil:void 0}))}}function Qn(e,t={}){let n=Gn(e,t,`display`),r=n.candidates,i=r[0]?.url||e,a=Math.max(0,r.findIndex(e=>e.url===i)),o=()=>{let o=Gn(e,t,`display`),s=o.candidates,c=s[0]?.url||e;return!c||c===i?(n=o,r=s,a=Math.max(0,s.findIndex(e=>e.url===i)),Xn(i,`unchanged`,!1)):(n=o,r=s,i=c,a=Math.max(0,s.findIndex(e=>e.url===i)),Xn(i,`runtime-update`,!0))};return{get src(){return i},get stabilityKey(){return n.chain.stabilityKey},handleChangeSrc:()=>o(),handleSuccess:()=>{Jn(e,i,t)},handleError:()=>{Yn(e,i,t);let n=o();if(n.changed&&n.src)return n;let s=r[a+1];return!s||s.url===i?Xn(null,`exhausted`,!1,!0):(i=s.url,a+=1,Xn(i,`candidate-fallback`,!0))},subscribeToSrcChange:e=>Cn(n.chain.stabilityKey,()=>{let t=o();t.changed&&e(t)}),getDebugSnapshot:()=>Zn(e,t)}}function $n(e,t={}){return qn(e,t)[0]||e}async function er(e,t={}){if(Rn(e,t.config,t.standalone))return fetch(e,t.init);let n=t.config,{chain:r,candidates:i}=Gn(e,t,t.intent||`downloadBlob`),a;for(let e of i)try{let n=await fetch(e.url,t.init);if(!n.ok)throw Error(`Proxy fetch failed with status ${n.status}`);if(t.validateBlob){let e=await n.clone().blob();if(!await t.validateBlob(e))throw Error(`Proxy validation failed`)}return e.source===`resource`&&En(r.stabilityKey,e),n}catch(t){a=t,e.source===`resource`&&Dn(r.stabilityKey,e,n)}throw a instanceof Error?a:Error(`Failed to fetch resource through proxy chain`)}function tr(e,t={}){return In(e,t.config)?[e]:Wn(e,t).map(e=>e.url)}function nr(e,t){let n=Yt(),r=t.filter(Boolean).map(e=>String(e).replace(/^\/+|\/+$/g,``));return n?`${Ut(n)}/${r.join(`/`)}`:r.join(`/`)}function rr(e,t){let n=Yt();return!!n&&e.startsWith(Ut(n))}r.i();var ir=e=>{let t=new FormData,n=(e,t,r)=>{if(t!=null){if(t instanceof Blob){e.append(r,t);return}if(Array.isArray(t)){t.forEach((t,i)=>{n(e,t,r?`${r}[${i}]`:`${i}`)});return}if(typeof t==`object`){Object.keys(t).forEach(i=>{let a=t[i];n(e,a,r?`${r}[${i}]`:i)});return}e.append(r,String(t))}};return n(t,e),t};function ar(e){for(;e.endsWith(`/`);)e=e.slice(0,e.length-1);return`${e}/wp-json`}var or={baseUrl:`https://app.emailmaker.ru/api//wp-json`,baseApiParams:{secure:!0,credentials:`same-origin`,format:`json`},securityWorker:()=>({credentials:`same-origin`})};or.baseUrl=ar(`https://app.emailmaker.ru/api/`);var sr=new Map;function cr(e){if(e)return e.getState().configSlice?.config}var lr=class extends yt{constructor(e={},t){super(e),this.container=t}buildRequestUrl(e){let{path:t,baseUrl:n,extraQuery:r}=e,{query:i}=e;r&&(i=i?{...i,...r}:r);let a=i&&this.toQueryString(i);return`${n||this.baseUrl||``}${t}${a?`?${a}`:``}`}buildRequestKey(e,t){return`${t.toUpperCase()} ${e}`}getBackendProxyCandidates(e,t){let n=tr(e,{config:cr(this.container?.getInstance(dt)),method:t,standalone:this.container?.getInstance(mt)!==void 0}),r=n.length>0?n:[e],i=this.buildRequestKey(e,t),a=sr.get(i);return!a||!r.includes(a)?r:[a,...r.filter(e=>e!==a)]}shouldRetryResponse(e){return e.status===502||e.status===503||e.status===504}async request(e){let t=this.buildRequestUrl(e),n=e.method||`GET`,r=this.buildRequestKey(t,n),i=this.getBackendProxyCandidates(t,n),a,o;for(let n of i){let s=e=>e===t?n:e;try{let t=await super.request({...e,proxyHandler:s});if(!t.ok&&this.shouldRetryResponse(t)&&n!==i[i.length-1]){o=t,sr.get(r)===n&&sr.delete(r);continue}return sr.set(r,n),t}catch(e){if(a=e,sr.get(r)===n&&sr.delete(r),e instanceof DOMException&&e.name===`AbortError`)throw e}}if(o)return o;throw a instanceof Error?a:Error(`Backend proxy chain failed`)}};function ur(e=or){let t=new Map;return{create(n,r){let i=new lr({...e,...n},r);return i.contentFormatters[`multipart/form-data`]=ir,t.set(i,{options:n,container:r}),i},getOptions(){return e},setOptions(n){e=n;for(let[n,r]of t)Object.assign(n,{...e,...r.options})}}}var dr=b();function fr(e){return e.getOrCreateInstance(dr,()=>ur())}function pr(e,t={}){let n=Tt(e)?F(e):e;return fr(n).create(t,n)}var mr=b(),hr=b(),gr=b(),_r=e=>{e.inject(gr,{execute:async(t,n={})=>{let r=e.getServices(mr),i=t instanceof Request?t:new Request(t,n);for(let e of r){let t=await e.execute(i);t instanceof Request&&(i=t)}let a=await fetch(i),o=e.getServices(hr);for(let e of o)a=await e.execute(a);return a}})},vr=e=>{_r(e);let t=e.getInstance(gr);e.inject(bt,pr(e,{customFetch:t?.execute||fetch}))},yr;(function(e){let t=`https://racs.emcdn.ru/v3`;function n(e,n){let r={method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify(n)};return fetch(`${t}?resource=${e}&dataset=${document.location.hostname}`,r)}e.post=n;async function r(e,n=0){let r={method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:`{"filter":{},"limit":${n}}`};return await(await fetch(`${t}/get?resource=${e}&dataset=${document.location.hostname}`,r)).json()}e.getAll=r})(yr||={});var br={text:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:16,fontSizeDim:`px`,lineHeight:21,lineHeightDim:`px`,color:`#5a5a5a`,contrastColor:`#FFFFFF`,textAlign:`left`,paddingBottom:10,paddingBottomDim:`px`},headings:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:24,fontSizeDim:`px`,lineHeight:32,lineHeightDim:`px`,color:`#333333`,contrastColor:`#FFFFFF`,textAlign:`left`,paddingTop:20,paddingTopDim:`px`,paddingBottom:20,paddingBottomDim:`px`,letterSpacing:0,letterSpacingDim:`px`,bold:!0,italic:!1},links:{color:`#1C52DC`,contrastColor:`#FFFFFF`,underline:!0},buttons:{fontFamily:[`Safe Fonts`,`-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif`],fontSize:16,fontSizeDim:`px`,letterSpacing:0,letterSpacingDim:`px`,color:`#FFFFFF`,contrastColor:`#1C52DC`,bold:!1,italic:!1,backgroundColor:`#1C52DC`,contrastBackgroundColor:`#FFFFFF`,marginTop:10,marginTopDim:`px`,marginBottom:10,marginBottomDim:`px`,border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:5,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null},textAlign:`center`,padding:{all:null,top:null,right:null,bottom:null,left:null}},block:{backgroundColor:`#FFFFFF`,contrastBackgroundColor:`#1C52DC`,padding:{all:null,top:null,right:null,bottom:null,left:null}},cards:{contrastBackgroundColor:`#1C52DC`,contrastTextColor:`#FFFFFF`,baseBackgroundColor:`#F8F8F8`,baseTextColor:`#333333`,border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:10,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null}}},xr=`ERROR`,Sr=`useblocks`,Cr={isPlugin:!0},wr={isEditor:!1},Tr={em_token:`em_token`,em_elements_view:`em_elements_view`,em_new_block:`em_new_block`,em_new_email:`em_new_email`,em_id:`em_id`,em_name:`em_name`,em_email:`em_email`,em_locale:`em_locale`,em_carrotquest_hash:`em_carrotquest_hash`,em_ducalis_hash:`em_ducalis_hash`,em_email_subscription_consent:`em_email_subscription_consent`,em_folder:`em_folder`,promocode:`promocode`,em_active_tab:`em_active_tab`},Er={em_color_scheme:`em_color_scheme`,em_code_mode_pane_sizes:`em_code_mode_pane_sizes`,em_preview_pane_sizes:`em_preview_pane_sizes`,em_default_sizes:`em_default_sizes`,em_pane_sizes:`em_pane_sizes`,em_test_emails:`em_test_emails`,em_menu_is_locked:`em_menu_is_locked`,em_code_mode_settings:`em_code_mode_settings`,em_folder_is_open:`em_folder_is_open`,em_active_tab:`em_active_tab`,em_ai_settings:`em_ai_settings`,em_last_active_page:`em_last_active_page`},Dr=`deleted`,Or=`not all`,kr=`light`,Ar=`dark`,jr=`system`,Mr=`(prefers-color-scheme: light)`,Nr=`(prefers-color-scheme: dark)`,Pr={auth:`/auth`,projects_index:`/`,projects:`/projects`,project:`/projects/:projectId/emails`,email:`/projects/:projectId/emails/:emailId`,create_email:`/projects/:projectId/emails/new`,billing:`/billing`},Fr={ADD_NEW_PROJECT_MODAL:`ADD_NEW_PROJECT_MODAL`,EDIT_PROJECT_MODAL:`EDIT_PROJECT_MODAL`,BLOCKS_MODAL:`BLOCKS_MODAL`,EDIT_PROFILE_MODAL:`EDIT_PROFILE_MODAL`,SEND_TEST_EMAIL:`SEND_TEST_EMAIL`,ADD_NEW_EBLOCK_MODAL:`ADD_NEW_EBLOCK_MODAL`,ADD_NEW_EMAIL_MODAL:`ADD_NEW_EMAIL_MODAL`,ADD_NEW_AI_EMAIL:`ADD_NEW_AI_EMAIL`,SWITCH_TO_PLAN_MODAL:`SWITCH_TO_PLAN_MODAL`,IMAGE_EDITOR_MODAL:`IMAGE_EDITOR_MODAL`,ADD_NEW_FOLDER_MODAL:`ADD_NEW_FOLDER_MODAL`,EDIT_FOLDER_NAME_MODAL:`EDIT_FOLDER_NAME_MODAL`,ADD_NEW_GROUP_MODAL:`ADD_NEW_GROUP_MODAL`,EDIT_GROUP_NAME_MODAL:`EDIT_GROUP_NAME_MODAL`,RENAME_EMAIL_MODAL:`RENAME_EMAIL_MODAL`,RENAME_BLOCK_MODAL:`RENAME_BLOCK_MODAL`,UPLOAD_IMAGE_MODAL:`UPLOAD_IMAGE_MODAL`,UPLOAD_BACKGROUND_MODAL:`UPLOAD_BACKGROUND_MODAL`,UPLOAD_IMAGE_MODAL_AI:`UPLOAD_IMAGE_MODAL_AI`,UPLOAD_BACKGROUND_MODAL_AI:`UPLOAD_BACKGROUND_MODAL_AI`,UPLOAD_IMAGE_MODAL_STOCK:`UPLOAD_IMAGE_MODAL_STOCK`,UPLOAD_BACKGROUND_MODAL_STOCK:`UPLOAD_BACKGROUND_MODAL_STOCK`,UPLOAD_IMAGE_MODAL_GIF:`UPLOAD_IMAGE_MODAL_GIF`,UPLOAD_BACKGROUND_MODAL_GIF:`UPLOAD_BACKGROUND_MODAL_GIF`,UPLOAD_IMAGE_MODAL_EDIT:`UPLOAD_IMAGE_MODAL_EDIT`,UPLOAD_BACKGROUND_MODAL_EDIT:`UPLOAD_BACKGROUND_MODAL_EDIT`,UPLOAD_IMAGE_MODAL_UPLOAD:`UPLOAD_IMAGE_MODAL_UPLOAD`,UPLOAD_BACKGROUND_MODAL_UPLOAD:`UPLOAD_BACKGROUND_MODAL_UPLOAD`},Ir=`application/x-emailmaker-social-reorder`,Lr={MESSAGE:`message`,INIT_PREVIEW:`init_preview`,UPDATE_PREVIEW:`update_preview`,UPDATE_EDITOR:`update_editor`,UPDATE_EDITOR_POSITION:`update_editor_position`,UPDATE_SIDE_MENU_EDITOR:`update_side_menu_editor`,SAVE_EMAIL:`saveEmail`,SANDBOX_ELEMENT_SETTINGS_SET:`sandbox_element_settings_set`,SANDBOX_CURRENT_IMAGE_RELOAD:`sandbox_current_image_reload`,SANDBOX_NATIVE_IMAGE_DROP_CLEAR:`sandbox_native-image-drop-clear`,SANDBOX_EMAIL_SETTINGS_SET:`sandbox_email_settings_set`,SANDBOX_BLOCK_SETTINGS_SET:`sandbox_block_settings_set`,SANDBOX_ELEMENT_PARENT_GET:`sandbox_element_parent_get`,SANDBOX_ELEMENT_PARENT_TABLE_GET:`sandbox_element_parent_table_get`,SANDBOX_ELEMENT_PREV_GET:`sandbox_element_prev_get`,SANDBOX_ELEMENT_NEXT_GET:`sandbox_element_next_get`,SANDBOX_ELEMENT_REMOVE:`sandbox_element_remove`,SANDBOX_ELEMENT_ACTIVE_RESET:`sandbox_element_active_reset`,SANDBOX_ELEMENT_ACTIVE_SET:`sandbox_element_active_set`,SANDBOX_ELEMENT_HOVER_SET:`sandbox_element_hover_set`,SANDBOX_ELEMENT_IMG_LINK:`sandbox_element_img_link`,SANDBOX_ELEMENT_TEXT:`sandbox_element_text`,SANDBOX_EMAIL_CONTENT_GET:`sandbox_email_content_get`,SANDBOX_SET_POSITION_TO_IMG:`sandbox_set_position_to_img`,SANDBOX_SET_POSITION_TO_LINK:`sandbox_set_position_to_link`,SANDBOX_ACCORDION_ADD_SECTION:`sandbox_accordion_add_section`,SANDBOX_ACCORDION_REMOVE_SECTION:`sandbox_accordion_remove_section`,APPLICATION_FOCUS_IN_IFRAME:`application_focus_in_iframe`,APPLICATION_EMAIL_SETTINGS_SET:`application_email_settings_set`,APPLICATION_BLOCK_SETTINGS_SET:`application_block_settings_set`,APPLICATION_ELEMENT_SETTINGS_SET:`application_element_settings_set`,_APPLICATION_ELEMENT_SETTINGS_SET:j(`application_element_settings_set`),APPLICATION_ELEMENT_SETTINGS_CLOSE:`application_element_settings_close`,APPLICATION_ACTION:`application_action`,APPLICATION_EBLOCK_ADD:`application_eblock_add`,APPLICATION_EBLOCK_PROPAGATE_UPDATE:`application_eblock_propagate_update`,SANDBOX_EBLOCK_SET_EM_BLOCK_ID:`sandbox_eblock_set_em_block_id`,APPLICATION_SCROLL_TO:`application_scroll-to`,APPLICATION_SCROLL_BLOCK_SHOW:`application_scroll-block-show`,APPLICATION_SCROLL_BLOCK_HIDE:`application_scroll-block-hide`,APPLICATION_DISCUSS_SET_ID:`application_discuss_set_id`,APPLICATION_DISCUSS_GET_COMMENT:`application_discuss_get_comment`,APPLICATION_DISCUSS_NO_COMMENT:`application_discuss_no_comment`,APPLICATION_DISCUSS_SAVE_TARGET:`application_discuss_save_target`,APPLICATION_IFRAME_SET_HEIGHT:`application_iframe_set_height`,APPLICATION_COMMON_STYLES_UPDATE:`application_commonStyles_update`,APPLICATION_EMAIL_CONTENT_GET:`application_email_content_get`,APPLICATION_OPEN_IMAGE_AI_POPUP:`application_open-image-ai-popup`,APPLICATION_OPEN_IMAGE_UPLOAD_POPUP:`application_open-image-upload-popup`,APPLICATION_OPEN_IMAGE_EDIT_POPUP:`application_open-image-edit-popup`,APPLICATION_OPEN_IMAGE_GIF_POPUP:`application_open-image-gif-popup`,APPLICATION_OPEN_IMAGE_STOCK_POPUP:`application_open-image-stock-popup`,APPLICATION_CLOSE_IMAGE_EDIT_POPUP:`application_close-image-edit-popup`,APPLICATION_NATIVE_IMAGE_DROP:`application_native-image-drop`,APPLICATION_SUBJECT_UPDATE:j(`application_subject_update`),APPLICATION_PREHEADER_UPDATE:j(`application_preheader_update`),APPLICATION_DOMPARSER_ERROR:j(`application_domparser_error`),APPLICATION_UPDATE_ENTITY:j(`application_update_entity`),APPLICATION_IFRAME_DRAG_EVENT:j(`application_iframe_drag_event`),APPLICATION_HAS_AMP:j(`application_has_amp`),APPLICATION_PREVIEW_ALERT_SHOW:`application_preview_alert_show`,APPLICATION_ATOM_INSERTED:j(`application_atom_inserted`),APPLICATION_TEMPLATE_NOT_EM_ALERT_SHOW:`application_template_not_em_alert_show`,SANDBOX_WINDOW_CHARACTERISTIC:`sandbox_window-characteristic`,SANDBOX_IFRAME_SETSIZE:`sandbox_iframe-setsize`,SANDBOX_BLOCK_INSERT:`sandbox_block-insert`,SANDBOX_ATOM_INSERT:`sandbox_atom-insert`,SANDBOX_DRAG_CANCEL:`sandbox_drag-cancel`,UPDATE_EDITOR_POSITION_FROM_EDITOR:`update_position_from_editor`,UPDATE_EDITOR_POSITION_FROM_IFRAME:`update_position_from_iframe`,SANDBOX_CHANGE_PREVIEW:`sandbox_change_preview`,APPLICATION_CHANGE_PREVIEW:`application_change_preview`,SANDBOX_LOCK_EDIT:`sandbox_lock_edit`,SANDBOX_FLOATBLOCK_ADD:`sandbox_floatBlock_add`,SANDBOX_FLOATBLOCK_REMOVE:`sandbox_floatBlock_remove`,EDITOR_CHANGE_FOCUS:`editor_change_focus`,SANDBOX_RESIZED:`sandbox_resized`,SANDBOX_LOCK_DISCUSS:`sandbox_lock_discuss`,SANDBOX_DISCUSS_SET_TARGET:`sandbox_discuss_set_target`,SANDBOX_DISCUSS_REMOVE_TARGET:`sandbox_discuss_remove_target`,SANDBOX_DISCUSS_RESET:`sandbox_discuss_reset`,SANDBOX_DISCUSS_GET_TARGET:`sandbox_discuss_get_target`,SANDBOX_READY:j(`SANDBOX_READY`),SANDBOX_FLOATBLOCK_WRAP:`sandbox_floatblock_wrap`,SANDBOX_FLOATBLOCK_DIR:`sandbox_floatblock_dir`,SANDBOX_SUBJECT_UPDATE:j(`sandbox_subject_update`),SANDBOX_PREHEADER_UPDATE:j(`sandbox_preheader_update`),SANDBOX_DRAG_EVENT:j(`sandbox_drag_event`),SANDBOX_ADD_MERGETAG:j(`sandbox_add_mergetag`),SANDBOX_TRANSLATIONS:j(`sandbox_send_translations`),SANDBOX_SET_THEME_VARIABLES:j(`sandbox_send_theme_variables`),SANDBOX_SET_ENTITY:j(`sandbox_set_entity`),SANDBOX_INIT_START:j(`sandbox_init_start`),SANDBOX_INITED:j(`sandbox_inited`),SANDBOX_UPDATE_ENTITY:j(`sandbox_update_entity`),RELOAD:j(`reload`),SANDBOX_ADD_EXTENSIONS:j(`sandbox_add_extensions`),SANDBOX_REMOVE_EXTENSIONS:j(`sandbox_remove_extensions`),SANDBOX_ADD_SCRIPT:j(`sandbox_add_script`),SANDBOX_IS_EMAIL_EMPTY:j(`sandbox_is_email_empty`),SANDBOX_SWITCH_THEME:j(`sandbox_switch_theme`)},Rr={language:`html`,detectIndentation:!1,wordWrap:`on`,wrappingIndent:`same`,smoothScrolling:!0,automaticLayout:!0,tabSize:2,indentSize:2},zr=function(e){return e.IMG=`img`,e.TEXT=`text`,e.LINK=`a`,e.TABLE=`table`,e.VINDENT=`vindent`,e.TD=`td`,e.STRUCTURE=`structure`,e.GROUP=`group`,e.BUTTON=`button`,e.DIV=`div`,e.FLOAT_BLOCK=`floatBlock`,e.VAR=`var`,e.EMPTY_TABLE=`emptyTable`,e.EMPTY_TD=`emptyTd`,e.COUNTDOWN=`countdown`,e.VIDEO=`video`,e.COLUMN=`column`,e.CAROUSEL=`carousel`,e.ACCORDION=`accordion`,e.CUSTOM_TABLE=`customTable`,e.SOCIAL=`social`,e}({}),Br={ALL:`All`,STANDARD:`Standard`,PROJECT:`Project`},Vr=`Appearance`,Hr=`Structure`,Ur=`Settings`,Wr=`Properties`,Gr=`History`,Kr=`Disabled_tab`,qr=`Edit selected element`,Jr=`UTM parameters`,Yr=`Table properties`,Xr=`Edit selected table cells`,Zr=`#b9b1b1`,Qr=`Edit`,$r=`AiChat`,ei=`Build`,ti=`Styles`,ni=`Discuss`,ri=`Blocks`,ii=`Atoms`,ai=`Optimise`,oi={top:{width:null,style:null,color:null},right:{width:null,style:null,color:null},bottom:{width:null,style:null,color:null},left:{width:null,style:null,color:null},all:{width:null,style:null,color:null}},si=`block`,ci=`email`,li=`cards`,ui=`list`,di=`pending`,fi=`d41d8`,pi=`valid`,mi=`warnings`,hi=`errors`,gi={LINKS:`Links`,IMAGES:`Images`,SPAM_ASSASSIN:`Spam assassin`,PROBLEMS:`Problems`},_i=`1865`,vi=127017,yi=`desktop`,bi=`mobile`,xi=`emailtags`,Si=`blocktags`,Ci=e=>({REORDER_ATOM:e(`Reorder element`),CLONE_ATOM:e(`Clone element`),REMOVE_ATOM:e(`Remove element`),EDIT_ATOM:e(`Edit element`),CHANGE_IMAGE:e(`Change image`),REORDER_BLOCK:e(`Reorder block`),REORDER_BLOCK_UP:e(`Move up`),REORDER_BLOCK_DOWN:e(`Move down`),EDIT_BLOCK:e(`Edit block`),CLONE_BLOCK:e(`Clone block`),MERGE_BLOCK:e(`Merge with the chosen block`),UNMERGE_BLOCK:e(`Split blocks`),COPY_BLOCK_TO_CLIPBOARD:e(`Copy block to clipboard`),PASTE_BLOCK_FROM_CLIPBOARD:e(`Paste block from clipboard`),REMOVE_BLOCK:e(`Remove block`),SAVE_TO_BLOCKS:e(`Save to Blocks`),UPDATE_GLOBAL_BLOCK_IN_TEMPLATES:e(`Push block update to all templates`),ADD_BLOCK:e(`Add block`),ADD_EMPTY_BLOCK:e(`Add an empty block`),ADD_SAVED_BLOCK:e(`Add a saved block`),ADD_COMMON_BLOCK:e(`Add a common block`),ADD_TEMPLATE_BLOCK:e(`Add a template block`),ADD_SEARCH_BLOCK:e(`Search a block`),REORDER_GROUP:e(`Reorder group`),EDIT_GROUP:e(`Edit group`),CLONE_GROUP:e(`Clone group`),REMOVE_GROUP:e(`Remove group`),ADD_GROUP:e(`Add group`),LINK:e(`link`),TABLE_COLUMN:e(`cell`),TABLE:e(`table`),FLOAT_BLOCK:e(`column`),CONTAINER:e(`container`),PICTURE:e(`picture`),CAROUSEL:e(`carousel`),ACCORDION:e(`accordion`),SOCIAL:e(`Social media`),VERTICAL_INDENT:e(`indent`),TEXT:e(`text`),BUTTON:e(`button`),VAR:e(`variable`),STRUCTURE:e(`block`),EMAIL:e(`email`),GROUP:e(`group`),TYPOGRAF:e(`Typograf`),COUNTDOWN:e(`countdown`),ELEMENT:e(`element`),VIDEO:e(`video`),ELEMENT_PATH_LINK:e(`Link`),ELEMENT_PATH_BLOCK:e(`Block`),ELEMENT_PATH_ATOM:e(`Element`),ELEMENT_PATH_TD:e(`Cell`),ELEMENT_PATH_TABLE:e(`Table`),ELEMENT_PATH_FLOATBLOCK:e(`Column`),ELEMENT_PATH_TEXT:e(`Text`),ELEMENT_PATH_DIV:e(`Container`),ELEMENT_PATH_GROUP:e(`Group`),ELEMENT_PATH_EMAIL:e(`Email`),ELEMENT_PATH_IMG:e(`Picture`),ELEMENT_PATH_VINDENT:e(`Indent`),ELEMENT_PATH_BUTTON:e(`Button`),ELEMENT_PATH_CAROUSEL:e(`Carousel`),ELEMENT_PATH_ACCORDION:e(`Accordion`),ELEMENT_PATH_SOCIAL:e(`Social media`),ELEMENT_PATH_SECTION:e(`Section`),TINYMCE_CHANGECASE:e(`Case Change`),TINYMCE_UPPERCASE:e(`Uppercase`),TINYMCE_LOWERCASE:e(`Lowercase`),PASTE_HERE:e(`Drop here`),INSERT_COLUMN_BEFORE_TABLE:e(`Insert column before`),INSERT_COLUMN_AFTER_TABLE:e(`Insert column after`),INSERT_ROW_BEFORE_TABLE:e(`Insert row before`),INSERT_ROW_AFTER_TABLE:e(`Insert row after`),MERGE_RIGHT_CELL_TABLE:e(`Merge right cell`),MERGE_LEFT_CELL_TABLE:e(`Merge left cell`),MERGE_TOP_CELL_TABLE:e(`Merge top cell`),MERGE_BOTTOM_CELL_TABLE:e(`Merge bottom cell`),SPLIT_CELL_TABLE:e(`Split cell`),REMOVE_COLUMN_TABLE:e(`Remove column`),REMOVE_ROW_TABLE:e(`Remove row`),DROP_BLOCK_HINT:e(`Click or drag a block`)}),wi={Applications:`Apps`,Articles:`Article`,Banners:`Banners`,Buttons:`Buttons`,"Call to Action":`Call to Action`,Contacts:`Contacts`,Content:`Content`,"E-Commerce":`E-Commerce`,Feature:`Features`,Footer:`Footers`,Header:`Headers`,Lists:`Lists`,Menu:`Menus`,Other:`Others`,Polls:`Polls`,Promocodes:`Promocodes`,Separators:`Separators`},Ti={maker:`https://ai-mail.emcdn.ru`,blocks:`https://ai-mail.useblocks.io`},Ei=`
2
2
  <svg width="176" height="26" viewBox="0 0 1011 140" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M439.573 130.401V5.63195H464.743V130.401H439.573Z" fill="currentColor"/>
4
4
  <path d="M389.906 130.401V42.8892H415.077V130.401H389.906ZM402.492 29.026C398.297 29.026 394.676 27.7264 391.63 25.127C388.585 22.4699 387.062 18.9464 387.062 14.5563C387.062 10.1086 388.585 6.58501 391.63 3.98566C394.676 1.32855 398.297 0 402.492 0C406.687 0 410.307 1.32855 413.353 3.98566C416.399 6.58501 417.922 10.1086 417.922 14.5563C417.922 18.9464 416.399 22.4699 413.353 25.127C410.307 27.7264 406.687 29.026 402.492 29.026Z" fill="currentColor"/>