useblocks 1.0.104-alpha.4 → 1.0.113

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 (256) hide show
  1. package/CHANGELOG.en.md +64 -0
  2. package/CHANGELOG.md +59 -0
  3. package/README.md +127 -100
  4. package/asset-manifest.json +224 -215
  5. package/fm_notification.d.ts +16 -0
  6. package/iframe/429.js +1 -1
  7. package/iframe/766.js +1 -1
  8. package/iframe/css/sandbox-darktheme.css +23 -7
  9. package/iframe/css/sandbox.css +70 -12
  10. package/iframe/iframe-eblock.ddf2c21cb6230265e099.html +1 -0
  11. package/iframe/iframe.ddf2c21cb6230265e099.html +1 -0
  12. package/iframe/index.html +1 -1
  13. package/iframe/js/525.67635344.js +1 -0
  14. package/iframe/js/667.71a178b7.js +1 -0
  15. package/iframe/js/882.8ff0b349.js +1 -0
  16. package/iframe/sandbox-eblock.js +1 -1
  17. package/images/integrations/activecampaign.svg +4 -0
  18. package/images/integrations/bento.svg +9 -0
  19. package/images/integrations/brevo.svg +7 -0
  20. package/images/integrations/campaign_monitor.svg +10 -0
  21. package/images/integrations/constant_contact.svg +24 -0
  22. package/images/integrations/dotdigital.svg +144 -0
  23. package/images/integrations/getresponse.svg +23 -0
  24. package/images/integrations/hubspot.svg +3 -0
  25. package/images/integrations/klaviyo.svg +10 -0
  26. package/images/integrations/mailchimp.svg +9 -0
  27. package/images/integrations/salesforce.svg +20 -0
  28. package/js/amplitude.min.js +8 -10
  29. package/js/browser-image-compression.js +3062 -0
  30. package/js/sourcebuster.min.js +0 -1
  31. package/package.json +1 -1
  32. package/static/css/{8778.3f22f159.chunk.css → 2557.2ede4a53.chunk.css} +2 -2
  33. package/static/css/6310.49bbc429.chunk.css +2 -0
  34. package/static/css/{81.c6c6e3f4.chunk.css → 770.9875661a.chunk.css} +1 -1
  35. package/static/css/9617.36fe0d8e.chunk.css +2 -0
  36. package/static/css/main.15e1c81d.css +2 -0
  37. package/static/js/1241.e3e56034.js +2 -0
  38. package/static/js/1330.ef930318.js +2 -0
  39. package/static/js/1332.0cb959b4.js +2 -0
  40. package/static/js/1377.2c61acc1.js +2 -0
  41. package/static/js/1454.84d2c0a8.js +2 -0
  42. package/static/js/1502.8a2f6e6b.js +2 -0
  43. package/static/js/1510.e74cce46.js +2 -0
  44. package/static/js/1626.3320a5f3.js +2 -0
  45. package/static/js/1640.27be7178.js +2 -0
  46. package/static/js/1788.d2bc729b.js +2 -0
  47. package/static/js/{1807.edd17ae4.js → 1807.0ba6ab90.js} +3 -3
  48. package/static/js/1872.43ec6943.js +2 -0
  49. package/static/js/{1902.7004d313.js → 1902.7b351f26.js} +2 -2
  50. package/static/js/1940.f13d2898.js +3 -0
  51. package/static/js/197.6d76c202.js +2 -0
  52. package/static/js/2066.c62582aa.js +2 -0
  53. package/static/js/2114.e385ca42.js +2 -0
  54. package/static/js/2139.775a0a57.js +3 -0
  55. package/static/js/2248.39c53056.js +2 -0
  56. package/static/js/{2278.b3ed09ee.js → 2278.29663e62.js} +3 -3
  57. package/static/js/2336.4fc241a6.js +2 -0
  58. package/static/js/2408.c5572548.js +2 -0
  59. package/static/js/2438.712814b0.js +2 -0
  60. package/static/js/2557.663778e1.js +2 -0
  61. package/static/js/2827.36a23b69.js +2 -0
  62. package/static/js/284.efb80df6.js +2 -0
  63. package/static/js/2844.54191136.js +2 -0
  64. package/static/js/290.b615a90b.js +2 -0
  65. package/static/js/2917.a6e819bf.js +2 -0
  66. package/static/js/2988.2496986e.js +2 -0
  67. package/static/js/{3158.e4c478b5.js → 3158.afc3bdd1.js} +2 -2
  68. package/static/js/327.31ca6e0d.js +3 -0
  69. package/static/js/327.31ca6e0d.js.LICENSE.txt +29 -0
  70. package/static/js/3302.84e32b62.js +2 -0
  71. package/static/js/3411.311c6ae0.js +2 -0
  72. package/static/js/3624.c30f383e.js +2 -0
  73. package/static/js/3628.0deca530.js +3 -0
  74. package/static/js/{3628.833940c1.js.LICENSE.txt → 3628.0deca530.js.LICENSE.txt} +0 -15
  75. package/static/js/3711.102a68ee.js +2 -0
  76. package/static/js/3816.8f941c79.js +2 -0
  77. package/static/js/3914.72124e24.js +2 -0
  78. package/static/js/426.ad870198.js +3 -0
  79. package/static/js/426.ad870198.js.LICENSE.txt +163 -0
  80. package/static/js/4425.47aa4461.js +2 -0
  81. package/static/js/4607.f88cf27a.js +2 -0
  82. package/static/js/4686.180d7a12.js +2 -0
  83. package/static/js/4702.eb86f466.js +2 -0
  84. package/static/js/{476.285c6ca0.js → 476.531c09da.js} +2 -2
  85. package/static/js/4813.b282e8cb.js +2 -0
  86. package/static/js/4823.ddb0914d.js +2 -0
  87. package/static/js/{4863.3c9556d1.js → 4863.bc61c6b4.js} +3 -3
  88. package/static/js/494.447cdadd.js +2 -0
  89. package/static/js/5108.b3eccf14.js +2 -0
  90. package/static/js/5261.8499aaa1.js +2 -0
  91. package/static/js/5266.8ab2e97a.js +3 -0
  92. package/static/js/5266.8ab2e97a.js.LICENSE.txt +20 -0
  93. package/static/js/5322.413feb5a.js +2 -0
  94. package/static/js/5432.a1089dad.js +2 -0
  95. package/static/js/5466.50904f4e.js +2 -0
  96. package/static/js/5641.7f2999ab.js +3 -0
  97. package/static/js/{9318.9512cd6c.js.LICENSE.txt → 5641.7f2999ab.js.LICENSE.txt} +0 -9
  98. package/static/js/5653.016de6aa.js +2 -0
  99. package/static/js/5827.9dcc9443.js +2 -0
  100. package/static/js/5862.faad8f74.js +2 -0
  101. package/static/js/5864.6033ee51.js +2 -0
  102. package/static/js/5902.33cce976.js +2 -0
  103. package/static/js/5980.d73d6b51.js +2 -0
  104. package/static/js/6033.eb6097f0.js +2 -0
  105. package/static/js/6135.3b810692.js +2 -0
  106. package/static/js/6310.e0dfd60e.js +2 -0
  107. package/static/js/6418.59058d0d.js +2 -0
  108. package/static/js/6428.57a30f96.js +2 -0
  109. package/static/js/6552.271c84f5.js +2 -0
  110. package/static/js/6618.feb19bcb.js +2 -0
  111. package/static/js/6764.2a43d6d5.js +2 -0
  112. package/static/js/6832.2e6f8499.js +2 -0
  113. package/static/js/7288.efae06f4.js +2 -0
  114. package/static/js/737.b395c2b2.js +2 -0
  115. package/static/js/7426.1de30709.js +2 -0
  116. package/static/js/7673.2db4eeee.js +3 -0
  117. package/static/js/{5255.c937525e.js.LICENSE.txt → 7673.2db4eeee.js.LICENSE.txt} +9 -0
  118. package/static/js/77.9fcf0459.js +2 -0
  119. package/static/js/770.88557b4b.js +3 -0
  120. package/static/js/{7716.a8d67437.js → 7716.45cd053a.js} +3 -3
  121. package/static/js/7974.db4992e0.js +2 -0
  122. package/static/js/8181.9ceaa143.js +2 -0
  123. package/static/js/8363.7902220a.js +2 -0
  124. package/static/js/8466.d3339ec9.js +2 -0
  125. package/static/js/8534.a012d026.js +2 -0
  126. package/static/js/8580.05b41c79.js +2 -0
  127. package/static/js/8590.3e646adc.js +2 -0
  128. package/static/js/8682.b39ae089.js +2 -0
  129. package/static/js/8796.27f3a38e.js +2 -0
  130. package/static/js/8839.75fb5ef2.js +2 -0
  131. package/static/js/912.e406cb4c.js +3 -0
  132. package/static/js/9169.a1d48107.js +2 -0
  133. package/static/js/9200.f1b7e119.js +2 -0
  134. package/static/js/9487.6209c75a.js +3 -0
  135. package/static/js/9487.6209c75a.js.LICENSE.txt +24 -0
  136. package/static/js/9508.4fb40b12.js +2 -0
  137. package/static/js/9617.6cc3831b.js +3 -0
  138. package/static/js/9716.e99deec1.js +2 -0
  139. package/static/js/{9830.76800418.js → 9830.6890d559.js} +3 -3
  140. package/static/js/useblocks_core.16c5c107.js +3 -0
  141. package/useblocks-esm.js +1 -1
  142. package/useblocks.d.ts +95 -26
  143. package/useblocks.js +1 -1
  144. package/iframe/iframe-eblock.327a87d1da513ae71cd6.html +0 -1
  145. package/iframe/iframe.327a87d1da513ae71cd6.html +0 -1
  146. package/iframe/js/174.f2d7a34b.js +0 -1
  147. package/iframe/js/525.5008592e.js +0 -1
  148. package/iframe/js/882.1dcd22d2.js +0 -1
  149. package/static/css/1670.c105226d.chunk.css +0 -2
  150. package/static/css/5102.4bf6c54e.chunk.css +0 -2
  151. package/static/css/main.f1b5caa5.css +0 -2
  152. package/static/js/1157.1e6829d5.js +0 -3
  153. package/static/js/1157.1e6829d5.js.LICENSE.txt +0 -9
  154. package/static/js/1241.9f7c977b.js +0 -2
  155. package/static/js/1330.607183c7.js +0 -2
  156. package/static/js/1332.3eba834b.js +0 -2
  157. package/static/js/1377.b486b1f4.js +0 -2
  158. package/static/js/1454.23356a65.js +0 -2
  159. package/static/js/1502.6be06fc7.js +0 -2
  160. package/static/js/1510.32a77efc.js +0 -2
  161. package/static/js/1626.0cd4dd3f.js +0 -2
  162. package/static/js/1640.7ae88653.js +0 -2
  163. package/static/js/1670.d5169574.js +0 -3
  164. package/static/js/1788.e7e85733.js +0 -2
  165. package/static/js/1872.610556e1.js +0 -2
  166. package/static/js/197.64f9fd6b.js +0 -2
  167. package/static/js/2066.a4cfddd1.js +0 -2
  168. package/static/js/2114.dff67863.js +0 -2
  169. package/static/js/2139.5b04512a.js +0 -3
  170. package/static/js/2248.364643d4.js +0 -2
  171. package/static/js/2408.8dcea713.js +0 -2
  172. package/static/js/2438.02617e55.js +0 -2
  173. package/static/js/2827.e02551c9.js +0 -2
  174. package/static/js/284.df9cd8ae.js +0 -2
  175. package/static/js/2844.4c02df45.js +0 -2
  176. package/static/js/290.3b771060.js +0 -2
  177. package/static/js/2917.f75d7ce1.js +0 -2
  178. package/static/js/2988.6d43f35a.js +0 -2
  179. package/static/js/3302.9b320bc9.js +0 -2
  180. package/static/js/3411.69f4008b.js +0 -2
  181. package/static/js/3624.a7076f34.js +0 -2
  182. package/static/js/3628.833940c1.js +0 -3
  183. package/static/js/3711.d621dbad.js +0 -2
  184. package/static/js/3816.bf684fe1.js +0 -2
  185. package/static/js/3914.c63f1b85.js +0 -2
  186. package/static/js/392.15977b83.js +0 -2
  187. package/static/js/4425.39579a63.js +0 -2
  188. package/static/js/4607.25f2d561.js +0 -2
  189. package/static/js/4686.6a800b56.js +0 -2
  190. package/static/js/4702.de98cbd5.js +0 -2
  191. package/static/js/4813.ca2fe39e.js +0 -2
  192. package/static/js/4823.d4ba65be.js +0 -2
  193. package/static/js/4875.f29c6551.js +0 -3
  194. package/static/js/4875.f29c6551.js.LICENSE.txt +0 -40
  195. package/static/js/494.87c48e86.js +0 -2
  196. package/static/js/5102.027e3460.js +0 -2
  197. package/static/js/5108.473a7fe1.js +0 -2
  198. package/static/js/5255.c937525e.js +0 -3
  199. package/static/js/5261.3e64116f.js +0 -2
  200. package/static/js/5322.ce259c32.js +0 -2
  201. package/static/js/5466.a0f769cb.js +0 -2
  202. package/static/js/5612.37f3811e.js +0 -3
  203. package/static/js/5612.37f3811e.js.LICENSE.txt +0 -30
  204. package/static/js/5653.5f06277c.js +0 -2
  205. package/static/js/5827.6555a26a.js +0 -2
  206. package/static/js/5844.385b78d0.js +0 -3
  207. package/static/js/5862.225d9aac.js +0 -2
  208. package/static/js/5864.340bc721.js +0 -2
  209. package/static/js/5902.73cb2cc4.js +0 -2
  210. package/static/js/5980.fbc691ed.js +0 -2
  211. package/static/js/6033.71847c1c.js +0 -2
  212. package/static/js/6135.ceb22131.js +0 -2
  213. package/static/js/6413.0307be24.js +0 -2
  214. package/static/js/6418.5c3bf780.js +0 -2
  215. package/static/js/6428.8b233458.js +0 -2
  216. package/static/js/6525.6cf7ec98.js +0 -3
  217. package/static/js/6552.9d811323.js +0 -2
  218. package/static/js/6618.8866f1fa.js +0 -2
  219. package/static/js/6764.9e4a7f5f.js +0 -2
  220. package/static/js/6832.4c4f3da7.js +0 -2
  221. package/static/js/7288.170ea51b.js +0 -2
  222. package/static/js/737.fae14b35.js +0 -2
  223. package/static/js/7426.eaa2cbe4.js +0 -2
  224. package/static/js/77.6ea8ad5d.js +0 -2
  225. package/static/js/7974.5b71f208.js +0 -2
  226. package/static/js/81.45a57ae0.js +0 -3
  227. package/static/js/8466.ae622785.js +0 -2
  228. package/static/js/8534.10b79ff1.js +0 -2
  229. package/static/js/8580.4f0dc6d9.js +0 -2
  230. package/static/js/8590.2779de33.js +0 -2
  231. package/static/js/8682.ec99bbfe.js +0 -2
  232. package/static/js/8778.7cb8cbdb.js +0 -2
  233. package/static/js/8796.a6838d71.js +0 -2
  234. package/static/js/8839.25cace14.js +0 -2
  235. package/static/js/9169.dee65ca6.js +0 -2
  236. package/static/js/9200.63433716.js +0 -2
  237. package/static/js/9318.9512cd6c.js +0 -3
  238. package/static/js/9508.a68ced7b.js +0 -2
  239. package/static/js/9716.fb4af6bc.js +0 -2
  240. package/static/js/useblocks_core.7344d1c2.js +0 -3
  241. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  242. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  243. /package/iframe/js/{525.5008592e.js.LICENSE.txt → 525.67635344.js.LICENSE.txt} +0 -0
  244. /package/iframe/js/{174.f2d7a34b.js.LICENSE.txt → 667.71a178b7.js.LICENSE.txt} +0 -0
  245. /package/iframe/js/{882.1dcd22d2.js.LICENSE.txt → 882.8ff0b349.js.LICENSE.txt} +0 -0
  246. /package/static/js/{1807.edd17ae4.js.LICENSE.txt → 1807.0ba6ab90.js.LICENSE.txt} +0 -0
  247. /package/static/js/{2139.5b04512a.js.LICENSE.txt → 1940.f13d2898.js.LICENSE.txt} +0 -0
  248. /package/static/js/{4863.3c9556d1.js.LICENSE.txt → 2139.775a0a57.js.LICENSE.txt} +0 -0
  249. /package/static/js/{2278.b3ed09ee.js.LICENSE.txt → 2278.29663e62.js.LICENSE.txt} +0 -0
  250. /package/static/js/{6525.6cf7ec98.js.LICENSE.txt → 4863.bc61c6b4.js.LICENSE.txt} +0 -0
  251. /package/static/js/{7716.a8d67437.js.LICENSE.txt → 770.88557b4b.js.LICENSE.txt} +0 -0
  252. /package/static/js/{81.45a57ae0.js.LICENSE.txt → 7716.45cd053a.js.LICENSE.txt} +0 -0
  253. /package/static/js/{1670.d5169574.js.LICENSE.txt → 912.e406cb4c.js.LICENSE.txt} +0 -0
  254. /package/static/js/{5844.385b78d0.js.LICENSE.txt → 9617.6cc3831b.js.LICENSE.txt} +0 -0
  255. /package/static/js/{9830.76800418.js.LICENSE.txt → 9830.6890d559.js.LICENSE.txt} +0 -0
  256. /package/static/js/{useblocks_core.7344d1c2.js.LICENSE.txt → useblocks_core.16c5c107.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1872],{67599:(e,a,l)=>{l.r(a),l.d(a,{default:()=>m});const t={items_per_page:"/ leathanach",jump_to:"T\xe9igh",jump_to_confirm:"dheimhnigh",page:"",prev_page:"Leathanach Roimhe Seo",next_page:"An ch\xe9ad leathanach eile",prev_5:"5 leathanach roimhe seo",next_5:"Ar Aghaidh 5 Leathanaigh",prev_3:"3 leathanach roimhe seo",next_3:"Ar Aghaidh 3 Leathanaigh",page_size:"Page Size"};var n=l(82127),i=l(12194);const r=(0,n.A)((0,n.A)({},i.I),{},{locale:"ga_IE",today:"inniu",now:"anois",backToToday:"Ar ais inniu",ok:"ceart go leor",clear:"soil\xe9ir",week:"seachtain",month:"mh\xed",year:"bhliain",timeSelect:"roghnaigh am",dateSelect:"roghnaigh d\xe1ta",weekSelect:"Roghnaigh seachtain",monthSelect:"Roghnaigh m\xed",yearSelect:"Roghnaigh bliain",decadeSelect:"Roghnaigh deich mbliana",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"An mh\xed roimhe seo (PageUp)",nextMonth:"An mh\xed seo chugainn (PageDown)",previousYear:"Anuraidh (Control + left)",nextYear:"An bhliain seo chugainn (Control + right)",previousDecade:"Le deich mbliana anuas",nextDecade:"Deich mbliana amach romhainn",previousCentury:"An ch\xe9id seo caite",nextCentury:"An ch\xe9ad aois eile"}),o={placeholder:"Roghnaigh am",rangePlaceholder:["Am tosaigh","Am deiridh"]},h={lang:Object.assign({placeholder:"Roghnaigh d\xe1ta",yearPlaceholder:"Roghnaigh bliain",quarterPlaceholder:"Roghnaigh r\xe1ithe",monthPlaceholder:"Roghnaigh m\xed",weekPlaceholder:"Roghnaigh seachtain",rangePlaceholder:["D\xe1ta tosaigh","D\xe1ta deiridh"],rangeYearPlaceholder:["T\xfas na bliana","Deireadh na bliana"],rangeMonthPlaceholder:["Tosaigh mh\xed","Deireadh mh\xed"],rangeWeekPlaceholder:["Tosaigh an tseachtain","Deireadh na seachtaine"]},r),timePickerLocale:Object.assign({},o)},c="${label} is not a valid ${type}",m={locale:"ga",Pagination:t,DatePicker:h,TimePicker:o,Calendar:h,global:{placeholder:"Please select",close:"D\xfan"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Aghaidh",Previous:"Roimh",Finish:"Dh\xe9anamh"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}}}}]);
2
+ //# sourceMappingURL=1872.43ec6943.js.map
@@ -1,2 +1,2 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1902],{74778:(e,t,s)=>{s.d(t,{RQ:()=>r,cM:()=>o});let o=function(e){return e.Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e}({});class a{constructor(e={}){this.baseUrl="https://api.emailmaker.ru/wp-json",this.securityData=null,this.securityWorker=void 0,this.abortControllers=new Map,this.customFetch=(...e)=>fetch(...e),this.baseApiParams={credentials:"same-origin",headers:{},redirect:"follow",referrerPolicy:"no-referrer"},this.setSecurityData=e=>{this.securityData=e},this.contentFormatters={[o.Json]:e=>null===e||"object"!==typeof e&&"string"!==typeof e?e:JSON.stringify(e),[o.Text]:e=>null!==e&&"string"!==typeof e?JSON.stringify(e):e,[o.FormData]:e=>Object.keys(e||{}).reduce((t,s)=>{const o=e[s];return t.append(s,o instanceof Blob?o:"object"===typeof o&&null!==o?JSON.stringify(o):`${o}`),t},new FormData),[o.UrlEncoded]:e=>this.toQueryString(e)},this.createAbortSignal=e=>{if(this.abortControllers.has(e)){const t=this.abortControllers.get(e);return t?t.signal:void 0}const t=new AbortController;return this.abortControllers.set(e,t),t.signal},this.abortRequest=e=>{const t=this.abortControllers.get(e);t&&(t.abort(),this.abortControllers.delete(e))},this.request=async({body:e,secure:t,path:s,type:a,query:r,format:i,baseUrl:n,cancelToken:d,extraQuery:p,...h})=>{const _=("boolean"===typeof t?t:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{},l=this.mergeRequestParams(h,_);p&&(r=r?{...r,...p}:p);const m=r&&this.toQueryString(r),u=this.contentFormatters[a||o.Json],c=i||l.format,E=new Request(`${n||this.baseUrl||""}${s}${m?`?${m}`:""}`,{...l,headers:{...l.headers||{},...a&&a!==o.FormData?{"Content-Type":a}:{}},signal:(d?this.createAbortSignal(d):l.signal)||null,body:"undefined"===typeof e||null===e?null:u(e)});return this.customFetch(E).then(async e=>{const t=e;t.data=null,t.error=null,t.meta={request:E,response:t};const s=c?await e[c]().then(e=>(t.ok?t.data=e:t.error={data:e},t)).catch(e=>(t.error=e,t)):t;return d&&this.abortControllers.delete(d),s})},Object.assign(this,e)}encodeQueryParam(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent("number"===typeof t?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){const t=e||{};return Object.keys(t).filter(e=>"undefined"!==typeof t[e]).map(e=>Array.isArray(t[e])?this.addArrayQueryParam(t,e):this.addQueryParam(t,e)).join("&")}addQueryParams(e){const t=this.toQueryString(e);return t?`?${t}`:""}mergeRequestParams(e,t){return{...this.baseApiParams,...e,...t||{},headers:{...this.baseApiParams.headers||{},...e.headers||{},...t&&t.headers||{}}}}}class r extends a{constructor(...e){super(...e),this.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})},this.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})},this.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:o.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:o.UrlEncoded,format:"json",...t}),shortener_create:(e,t={})=>this.request({path:"/save-file/v1/shortener",method:"POST",body:e,type:o.UrlEncoded,format:"json",...t}),get_link_create:(e,t={})=>this.request({path:"/save-file/v1/get-link",method:"POST",body:e,type:o.UrlEncoded,...t}),send_email_create:(e,t={})=>this.request({path:"/save-file/v1/send-email",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.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:o.UrlEncoded,...t}),identificate_blocks_create:(e,t={})=>this.request({path:"/ai-generator/v1/identificate_blocks",method:"POST",body:e,type:o.UrlEncoded,...t}),create_subject_create:(e,t={})=>this.request({path:"/ai-generator/v1/create_subject",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.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:o.UrlEncoded,...t}),google_callback_create:(e,t={})=>this.request({path:"/auth/v1/google/callback",method:"POST",body:e,type:o.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:o.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:o.UrlEncoded,...t})},this.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:o.UrlEncoded,...t})},this.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:o.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})},this.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:o.UrlEncoded,...t}),validate_links_create:(e,t={})=>this.request({path:"/optimization/v1/validate/links",method:"POST",body:e,type:o.UrlEncoded,...t}),validate_spamassasin_create:(e,t={})=>this.request({path:"/optimization/v1/validate/spamassasin",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.UrlEncoded,format:"json",...t}),folders_delete:(e,t={})=>this.request({path:"/em-files/v1/folders",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),empty_trash_create:(e,t={})=>this.request({path:"/em-files/v1/empty-trash",method:"POST",body:e,type:o.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:o.UrlEncoded,format:"json",...t}),files_delete:(e,t={})=>this.request({path:"/em-files/v1/files",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),files_partial_update:(e,t={})=>this.request({path:"/em-files/v1/files",method:"PATCH",body:e,type:o.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:o.UrlEncoded,format:"json",...t}),files_rename_partial_update:(e,t={})=>this.request({path:"/em-files/v1/files/rename",method:"PATCH",body:e,type:o.UrlEncoded,format:"json",...t}),items_move_partial_update:(e,t={})=>this.request({path:"/em-files/v1/items/move",method:"PATCH",body:e,type:o.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:o.UrlEncoded,...t})},this.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:o.UrlEncoded,format:"json",...t}),posts_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}`,method:"GET",query:t,format:"json",...s}),posts_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),posts_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),posts_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),posts_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),posts_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}/revisions`,method:"GET",query:t,format:"json",...s}),posts_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),posts_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),posts_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),posts_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),posts_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/posts/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),pages_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}`,method:"GET",query:t,format:"json",...s}),pages_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),pages_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),pages_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),pages_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),pages_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}/revisions`,method:"GET",query:t,format:"json",...s}),pages_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),pages_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),pages_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),pages_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),pages_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/pages/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),media_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/media/${e}`,method:"GET",query:t,format:"json",...s}),media_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),media_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),media_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),media_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),media_post_process_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}/post-process`,method:"POST",body:s,type:o.UrlEncoded,...a}),media_edit_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}/edit`,method:"POST",body:s,type:o.UrlEncoded,...a}),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:o.UrlEncoded,format:"json",...t}),menu_items_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"GET",query:t,format:"json",...s}),menu_items_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),menu_items_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),blocks_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"GET",query:t,format:"json",...s}),blocks_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}/revisions`,method:"GET",query:t,format:"json",...s}),blocks_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),blocks_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),blocks_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),blocks_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),templates_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/templates/${e}/revisions`,method:"GET",query:t,format:"json",...s}),templates_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),templates_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),templates_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),templates_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),templates_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/templates/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.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},s={})=>this.request({path:`/wp/v2/templates/${e}`,method:"GET",query:t,format:"json",...s}),templates_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),templates_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),templates_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),templates_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions`,method:"GET",query:t,format:"json",...s}),template_parts_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),template_parts_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),template_parts_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),template_parts_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.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},s={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"GET",query:t,format:"json",...s}),template_parts_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions`,method:"GET",query:t,format:"json",...s}),global_styles_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),global_styles_themes_variations_list:({stylesheet:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/themes/${e}/variations`,method:"GET",...s}),global_styles_themes_detail:({stylesheet:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/themes/${e}`,method:"GET",...s}),global_styles_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"GET",format:"json",...s}),global_styles_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),navigation_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"GET",query:t,format:"json",...s}),navigation_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}/revisions`,method:"GET",query:t,format:"json",...s}),navigation_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),navigation_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),navigation_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),navigation_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),font_families_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"GET",query:t,format:"json",...s}),font_families_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_font_faces_list:({fontFamilyId:e,...t},s={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:"GET",query:t,format:"json",...s}),font_families_font_faces_create:({fontFamilyId:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_font_faces_detail:({fontFamilyId:e,id:t,...s},o={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:"GET",query:s,format:"json",...o}),font_families_font_faces_delete:({fontFamilyId:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),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:o.UrlEncoded,format:"json",...t}),eblock_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"GET",query:t,format:"json",...s}),eblock_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}/revisions`,method:"GET",query:t,format:"json",...s}),eblock_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),eblock_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),eblock_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),eblock_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),email_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}`,method:"GET",query:t,format:"json",...s}),email_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),email_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),email_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),email_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),email_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}/revisions`,method:"GET",query:t,format:"json",...s}),email_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),email_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),email_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),email_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),email_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/email/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),notification_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/notification/${e}`,method:"GET",query:t,format:"json",...s}),notification_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),notification_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),notification_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),notification_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),notification_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),notification_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),notification_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/notification/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),payment_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/payment/${e}`,method:"GET",query:t,format:"json",...s}),payment_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),payment_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),payment_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),payment_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),project_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/project/${e}`,method:"GET",query:t,format:"json",...s}),project_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),project_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),project_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),project_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),project_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/project/${e}/revisions`,method:"GET",query:t,format:"json",...s}),project_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),project_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),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:o.UrlEncoded,format:"json",...t}),subscription_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"GET",query:t,format:"json",...s}),subscription_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),user_promocodes_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"GET",query:t,format:"json",...s}),user_promocodes_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),types_list:(e,t={})=>this.request({path:"/wp/v2/types",method:"GET",query:e,format:"json",...t}),types_detail:({type:e,...t},s={})=>this.request({path:`/wp/v2/types/${e}`,method:"GET",query:t,format:"json",...s}),statuses_list:(e,t={})=>this.request({path:"/wp/v2/statuses",method:"GET",query:e,format:"json",...t}),statuses_detail:({status:e,...t},s={})=>this.request({path:`/wp/v2/statuses/${e}`,method:"GET",query:t,format:"json",...s}),taxonomies_list:(e,t={})=>this.request({path:"/wp/v2/taxonomies",method:"GET",query:e,format:"json",...t}),taxonomies_detail:({taxonomy:e,...t},s={})=>this.request({path:`/wp/v2/taxonomies/${e}`,method:"GET",query:t,format:"json",...s}),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:o.UrlEncoded,format:"json",...t}),categories_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/categories/${e}`,method:"GET",query:t,format:"json",...s}),categories_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),categories_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),categories_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),categories_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),tags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/tags/${e}`,method:"GET",query:t,format:"json",...s}),tags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),tags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),tags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),tags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),menus_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/menus/${e}`,method:"GET",query:t,format:"json",...s}),menus_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menus_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),menus_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),menus_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),wp_pattern_category_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"GET",query:t,format:"json",...s}),wp_pattern_category_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),group_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/group/${e}`,method:"GET",query:t,format:"json",...s}),group_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),group_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),group_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),group_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),blockfolder_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"GET",query:t,format:"json",...s}),blockfolder_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),blocktags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"GET",query:t,format:"json",...s}),blocktags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),emailtags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"GET",query:t,format:"json",...s}),emailtags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),folder_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/folder/${e}`,method:"GET",query:t,format:"json",...s}),folder_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),folder_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),folder_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),folder_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),users_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}`,method:"GET",query:t,format:"json",...s}),users_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),users_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),users_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),users_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),users_me_update:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"PUT",body:e,type:o.UrlEncoded,format:"json",...t}),users_me_partial_update:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"PATCH",body:e,type:o.UrlEncoded,format:"json",...t}),users_me_delete:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),users_application_passwords_list:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"GET",query:t,format:"json",...s}),users_application_passwords_create:({userId:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),users_application_passwords_delete:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"DELETE",format:"json",...s}),users_application_passwords_introspect_list:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/introspect`,method:"GET",query:t,format:"json",...s}),users_application_passwords_detail:({userId:e,uuid:t,...s},o={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"GET",query:s,format:"json",...o}),users_application_passwords_create2:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"POST",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_update:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"PUT",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_partial_update:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"PATCH",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_delete2:({userId:e,uuid:t,...s},o={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"DELETE",format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),comments_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/comments/${e}`,method:"GET",query:t,format:"json",...s}),comments_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),comments_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),comments_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),comments_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),search_list:(e,t={})=>this.request({path:"/wp/v2/search",method:"GET",query:e,format:"json",...t}),block_renderer_detail:({name:e,...t},s={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:"GET",query:t,format:"json",...s}),block_renderer_create:({name:e,...t},s,a={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/block-types/${e}`,method:"GET",query:t,format:"json",...s}),block_types_detail2:({name:e,namespace:t,...s},o={})=>this.request({path:`/wp/v2/block-types/${t}/${e}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),settings_update:(e,t={})=>this.request({path:"/wp/v2/settings",method:"PUT",body:e,type:o.UrlEncoded,format:"json",...t}),settings_partial_update:(e,t={})=>this.request({path:"/wp/v2/settings",method:"PATCH",body:e,type:o.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},s={})=>this.request({path:`/wp/v2/themes/${e}`,method:"GET",format:"json",...s}),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:o.UrlEncoded,format:"json",...t}),plugins_detail:({plugin:e,...t},s={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"GET",query:t,format:"json",...s}),plugins_create2:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_update:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_partial_update:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_delete:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_list:(e,t={})=>this.request({path:"/wp/v2/sidebars",method:"GET",query:e,format:"json",...t}),sidebars_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"GET",query:t,format:"json",...s}),sidebars_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/widget-types/${e}`,method:"GET",query:t,format:"json",...s}),widget_types_encode_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widget-types/${e}/encode`,method:"POST",body:s,type:o.UrlEncoded,...a}),widget_types_render_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widget-types/${e}/render`,method:"POST",body:s,type:o.UrlEncoded,...a}),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:o.UrlEncoded,format:"json",...t}),widgets_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"GET",query:t,format:"json",...s}),widgets_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/menu-locations/${e}`,method:"GET",query:t,format:"json",...s}),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},s={})=>this.request({path:`/wp/v2/font-collections/${e}`,method:"GET",query:t,format:"json",...s})},this.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:o.UrlEncoded,...t})},this.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})},this.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})},this.payment={get_payment:(e,t={})=>this.request({path:"/payment/v1",method:"GET",query:e,...t}),subscription_payment_create:(e,t={})=>this.request({path:"/payment/v1/subscription_payment",method:"POST",body:e,type:o.UrlEncoded,...t}),refund_create:(e,t={})=>this.request({path:"/payment/v1/refund",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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})},this.email={get_email:(e,t={})=>this.request({path:"/email/v2",method:"GET",query:e,...t}),templates_list:(e,t={})=>this.request({path:"/email/v2/templates",method:"GET",query:e,...t})},this.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})},this.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:o.UrlEncoded,...t})},this.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})},this.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},s={})=>this.request({path:`/translations/v1/${e}`,method:"GET",...s}),get_translations3:({id:e,file:t,...s},o={})=>this.request({path:`/translations/v1/${t}/${e}`,method:"GET",...o})},this.wpMailSmtp={get_wp_mail_smtp:(e,t={})=>this.request({path:"/wp-mail-smtp/v1",method:"GET",query:e,...t}),e_detail:({data:e,...t},s={})=>this.request({path:`/wp-mail-smtp/v1/e/${e}`,method:"GET",...s})},this.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})},this.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})},this.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},s={})=>this.request({path:`/wp-abilities/v1/categories/${e}`,method:"GET",format:"json",...s}),abilities_run_list:({name:e,...t},s={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"GET",query:t,format:"json",...s}),abilities_run_create:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_update:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_partial_update:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_delete:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_list:(e,t={})=>this.request({path:"/wp-abilities/v1/abilities",method:"GET",query:e,format:"json",...t}),abilities_detail:({name:e,...t},s={})=>this.request({path:`/wp-abilities/v1/abilities/${e}`,method:"GET",format:"json",...s})}}}},24524:(e,t,s)=>{s.d(t,{Bl:()=>r,M4:()=>n,Pz:()=>a,Zw:()=>i});var o=s(40713);const a=(0,o.Q)("client"),r=(0,o.Q)("ai_client"),i=(0,o.Q)(),n=(0,o.Q)();(0,o.Q)("autosave-recovery")},65893:(e,t,s)=>{s.d(t,{AZ:()=>i,Zc:()=>d,cZ:()=>r,dB:()=>p});var o=s(40713),a=s(59059);function r(e){return(0,o.Q)(e)}let i;var n;function d(e,t){return e.getOrCreateInstance(t,()=>new a.lt).event}function p(e,t){return e.getOrCreateInstance(t,()=>new a.lt)}(n=i||(i={})).BEFORE_SAVE_EMAIL=r(),n.ON_SAVEBUTTON_CLICK_ID=r(),n.ON_NEXTBUTTON_CLICK_ID=r(),n.ON_PREVIOUSBUTTON_CLICK_ID=r(),n.ON_MODEL_CHANGE=r(),n.WILL_EMAIL_INIT_ID=r(),n.ON_EMAIL_INIT_ID=r(),n.ON_BLOCK_INIT_ID=r(),n.ON_CONTENT_CHANGED_ID=r(),n.ON_PREHEADER_CHANGED_ID=r(),n.ON_SUBJECT_CHANGED_ID=r(),n.ON_EMAIL_CHANGED_ID=r(),n.ON_BLOCK_CHANGED_ID=r(),n.ON_CHUNKS_LOADED=r(),n.ON_SEND_TESTEMAIL_ID=r(),n.ON_SEND_LIVEPREVIEW_ID=r(),n.ON_SHARE_ID=r(),n.ON_SHOW_PREVIEW_ID=r(),n.ON_EMAIL_CLONE_ID=r(),n.ON_SEND_EMAIL_MODAL_ID=r(),n.ON_NOTIFICATION=r(),n.READ_LOCALE=r(),n.ON_TRANSLATE_ID=r(),n.ON_CODE_VALIDATE_ID=r(),n.UPLOAD_EVENT_ID=r(),n.FILE_PROXY_EVENT_ID=r(),n.ON_LIMIT_ID=r()},93506:(e,t,s)=>{s.d(t,{A9:()=>n,BD:()=>re,Bv:()=>N,CJ:()=>_,EW:()=>r,F3:()=>E,IE:()=>B,IJ:()=>u,Jy:()=>k,K0:()=>S,KI:()=>X,N7:()=>R,ND:()=>se,QV:()=>ie,Rn:()=>pe,Ru:()=>f,Sr:()=>z,T:()=>l,Tm:()=>F,UW:()=>p,V0:()=>d,Vp:()=>te,Vv:()=>g,WU:()=>P,Y$:()=>H,YY:()=>ae,_P:()=>i,bV:()=>v,dO:()=>V,e3:()=>de,e8:()=>W,eG:()=>Q,ff:()=>a,hc:()=>G,iU:()=>Z,iV:()=>x,iW:()=>j,jg:()=>ne,lx:()=>y,mU:()=>ee,mX:()=>O,nA:()=>M,nd:()=>m,om:()=>U,p5:()=>J,qG:()=>Y,rW:()=>T,rY:()=>C,rb:()=>D,rl:()=>K,ti:()=>b,vd:()=>c,xz:()=>q,y2:()=>h,yI:()=>A,yy:()=>w,z$:()=>$,zX:()=>L,zh:()=>oe,zx:()=>I});var o=s(82711);const a="ERROR",r={isPlugin:!1},i={isEditor:!1},n={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"},d={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"},p="deleted",h="all",_="not all",l="light",m="dark",u="system",c="(prefers-color-scheme: light)",E="(prefers-color-scheme: dark)",y={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"};const f={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_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_CLOSE:"application_element_settings_close",APPLICATION_ACTION:"application_action",APPLICATION_EBLOCK_ADD:"application_eblock_add",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_SUBJECT_UPDATE:(0,o.Qm)("application_subject_update"),APPLICATION_PREHEADER_UPDATE:(0,o.Qm)("application_preheader_update"),APPLICATION_DOMPARSER_ERROR:(0,o.Qm)("application_domparser_error"),APPLICATION_UPDATE_ENTITY:(0,o.Qm)("application_update_entity"),APPLICATION_IFRAME_DRAG_EVENT:(0,o.Qm)("application_iframe_drag_event"),APPLICATION_HAS_AMP:(0,o.Qm)("application_has_amp"),APPLICATION_PREVIEW_ALERT_SHOW:"application_preview_alert_show",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:(0,o.Qm)("SANDBOX_READY"),SANDBOX_FLOATBLOCK_WRAP:"sandbox_floatblock_wrap",SANDBOX_FLOATBLOCK_DIR:"sandbox_floatblock_dir",SANDBOX_SUBJECT_UPDATE:(0,o.Qm)("sandbox_subject_update"),SANDBOX_PREHEADER_UPDATE:(0,o.Qm)("sandbox_preheader_update"),SANDBOX_DRAG_EVENT:(0,o.Qm)("sandbox_drag_event"),SANDBOX_ADD_MERGETAG:(0,o.Qm)("sandbox_add_mergetag"),SANDBOX_TRANSLATIONS:(0,o.Qm)("sandbox_send_translations"),SANDBOX_SET_THEME_VARIABLES:(0,o.Qm)("sandbox_send_theme_variables"),SANDBOX_SET_ENTITY:(0,o.Qm)("sandbox_set_entity"),SANDBOX_INIT_START:(0,o.Qm)("sandbox_init_start"),SANDBOX_INITED:(0,o.Qm)("sandbox_inited"),SANDBOX_UPDATE_ENTITY:(0,o.Qm)("sandbox_update_entity"),RELOAD:(0,o.Qm)("reload"),SANDBOX_IS_EMAIL_EMPTY:(0,o.Qm)("sandbox_is_email_empty")},T={language:"html",detectIndentation:!1,wordWrap:"on",wrappingIndent:"same",smoothScrolling:!0,automaticLayout:!0,tabSize:2,indentSize:2};let v=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}({});const b={ALL:"All",STANDARD:"Standard",PROJECT:"Project"},q="Appearance",O="Structure",w="Settings",A="Properties",g="History",D="Disabled_tab",P="Edit selected element",j="UTM parameters",L="Table properties",U="Edit selected table cells",S="#b9b1b1",I="Edit",$="AiChat",N="Build",C="Styles",G="Discuss",M="Blocks",k="Atoms",R="Optimise",x={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}},B="block",F="email",H="cards",K="list",Q="pending",X="d41d8",V="valid",W="warnings",z="errors",Y={LINKS:"Links",IMAGES:"Images",SPAM_ASSASSIN:"Spam assassin",PROBLEMS:"Problems"},J="1865",Z=6892,ee=24,te="desktop",se="mobile",oe="emailtags",ae="blocktags",re={text:{fontFamily:["Google Fonts","Sans Serif","Mulish","Regular"],fontSize:16,fontSizeDim:"px",lineHeight:24,lineHeightDim:"px",color:"#595959",contrastColor:"#FFFFFF",textAlign:"left",paddingBottom:10,paddingBottomDim:"px"},headings:{fontFamily:["Google Fonts","Sans Serif","Mulish","Bold"],fontSize:28,fontSizeDim:"px",lineHeight:34,lineHeightDim:"px",color:"#000000",contrastColor:"#FFFFFF",textAlign:"left",paddingTop:20,paddingTopDim:"px",paddingBottom:20,paddingBottomDim:"px",letterSpacing:0,letterSpacingDim:"px",bold:!0,italic:!1},links:{color:"#1890ff",contrastColor:"#FFFFFF",underline:!0},buttons:{fontFamily:["Google Fonts","Sans Serif","Mulish","Medium"],fontSize:16,fontSizeDim:"px",letterSpacing:0,letterSpacingDim:"px",color:"#FFFFFF",contrastColor:"#1890ff",bold:!1,italic:!1,backgroundColor:"#1890ff",contrastBackgroundColor:"#FFFFFF",marginTop:10,marginTopDim:"px",marginBottom:10,marginBottomDim:"px",border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:6,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:"#1890ff",padding:{all:null,top:null,right:null,bottom:null,left:null}},cards:{contrastBackgroundColor:"#1890ff",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}}},ie=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"),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"),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_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")}),ne={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"},de={maker:"https://ai-mail.emcdn.ru",blocks:"https://ai-mail.useblocks.io"},pe={maker:"https://app.emailmaker.ru/api",blocks:"https://app.useblocks.io/api"}},82711:(e,t,s)=>{function o(e){return e}s.d(t,{Qm:()=>o,bg:()=>d});const a="INIT_MESSAGE";function r(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}class i{constructor(){this._children=[],this._isDisposed=!1}isDisposed(){return this._isDisposed}addDisposable(e){return this._children.push(e),e.hasOwnProperty("addDisposable")&&e.addDisposable({dispose:()=>{const t=this._children.indexOf(e);t>=0&&this._children.splice(t,1)}}),e}removeDisposable(e){const t=this._children.indexOf(e);t>=0&&this._children.splice(t,1)}dispose(){this._isDisposed=!0;for(const e of this._children)e.dispose()}}class n extends i{constructor(...e){super(...e),this._listeners=Object.create(null),this.addListenerAsync=(e,t,s=0,o)=>{const a=this._listeners[e]||(this._listeners[e]=[]);o&&"function"===typeof t&&(t=t.bind(o));const r=a.findIndex(([e,t])=>s<=t),i=[t,s];return this.isDisposed()||a.splice(r>=0?r:a.length,0,i),{dispose(){const e=a.indexOf(i);e>=0&&a.splice(e,1)}}},this.fireAsync=(e,t)=>{if(!this.isDisposed()){const s=this._listeners[e]||(this._listeners[e]=[]);let o;for(let e=0;e<s.length;e++){const t=s[e][0],a=o;o=e=>t(e,a)}if(o)return o(t)}},this.addListener=(e,t,s=0)=>this.addListenerAsync(e,(e,s)=>{try{t(e)}catch(o){}return s&&s(e)},s)}}class d extends i{constructor(e,t){super(),this._singleton=t,this._target=void 0,this._inited=!1,this._emitter=this.addDisposable(new n),this._onReceiveMessage=e=>{const t=e.data;if((s=t)&&"object"===typeof s&&e.source==this.target||this._singleton&&function(e,t){return e&&"object"===typeof e&&e.operationId===t}(t,a)){const s=this._emitter.fireAsync(t.operationId||"",void 0===t.operationId?e:t.data),o=t.result,a=t.error;o&&a&&Promise.resolve(s).then(e=>this._sendMessage(o,e),e=>this._sendMessage(a,e))}var s},window.addEventListener("message",this._onReceiveMessage),this.addListener(a,()=>{this._inited||(this._inited=!0,this.send(a))}),e&&this.setTarget(e)}setTarget(e){this._target!==e&&(this._target=e,e&&e.postMessage({operationId:a,data:{}},"*"))}getTarget(){return this._target}get target(){return this._target}_sendMessage(e,t,s=!0){if(!s&&!this.isInited())return;const o=this.addDisposable(this.onInit(s=>{const a=e?{operationId:e,data:t}:t;s.postMessage({...a},"*"),o.dispose()}))}send(e,t,s){return"string"===typeof e?this._sendMessage(e,t,s):this._sendMessage("",e,t)}sendAsync(e,t,s=!0){if(!s&&!this.isInited())return Promise.resolve();const o=r(),a=r();return new Promise((s,r)=>{const n=this.addDisposable(new i);n.addDisposable(this.onInit(i=>{i.postMessage({operationId:e,data:t,result:o,error:a},"*"),n.addDisposable(this._onMessage(o,e=>{s(e),n.dispose()})),n.addDisposable(this._onMessage(a,e=>{r(e),n.dispose()}))}))})}_onMessage(e,t,s=0){return this._emitter.addListener(e,t,s)}addListener(e,t,s){return t?this._onMessage(e,t,s):this._onMessage("",e)}addListenerAsyncPipe(e,t,s=0){return this._emitter.addListenerAsync(e,t,s)}addListenerAsync(e,t,s=0){return this._emitter.addListenerAsync(e,async(e,s)=>{const o=await t(e);return s?s(e):o},s)}isInited(){return this._inited}get inited(){return this._inited}onInit(e,t=!0,s=0){const o=this.addDisposable(new i);return this._inited&&this._target?t&&Promise.resolve().then(()=>{this._inited&&this._target?e(this._target):o.addDisposable(this.onInit(e,t,s))}):o.addDisposable(this._onMessage(a,()=>{e(this._target)},s)),o}dispose(){window.removeEventListener("message",this._onReceiveMessage),super.dispose()}}},97503:(e,t,s)=>{function o(){const e=new Date;return e.valueOf()-60*e.getTimezoneOffset()*1e3}s.d(t,{N:()=>o})},38615:(e,t,s)=>{s.d(t,{Q:()=>n,m:()=>i});var o=s(99182),a=s(82106);function r(e){return`service_container_${e}`}class i extends a.j{constructor(e){super(),this._parent=e,this._injections=Object.create(null),this._emitter=this.addDisposable(new o.v)}inject(e,t,s){if("function"===typeof t){const o=this._injections[e];let a="function"===typeof o?o():o;const r=this._injections[e]=()=>(a=t(this,a),a);s&&r()}else this._injections[e]=()=>t;this._emitter.fire(e)}_find(e){var t;return this._injections[e]||(null===(t=this._parent)||void 0===t?void 0:t._find(e))}_onInject(e,t,s=new a.j){return s.addDisposable(this._emitter.addEventListener(o=>{e===o&&(s.dispose(),t(this.getInstance(o)))})),this._parent&&s.addDisposable(this._parent._onInject(e,t,s)),this.addDisposable(s),s}getInstance(e){const t=this._find(e);if("function"===typeof t)return t()}getOrCreateInstance(e,t){const s=this._find(e);if("function"===typeof s)return s();{const s=t(this);return this.inject(e,s),s}}getInstanceAsync(e){const t=this._find(e);return"function"===typeof t?Promise.resolve(t()):new Promise(t=>this._onInject(e,()=>t(this.getInstance(e))))}addService(e,t){const s=r(e);this.inject(s,(e,s=[])=>s.indexOf(t)<0?[...s,t]:s);const o=new a.j;return o.addDispose(()=>{this.inject(s,(e,s=[])=>s.filter(e=>e!==t))}),o}getServices(e){var t;const s=r(e);return[...this.getInstance(s)||[],...(null===(t=this._parent)||void 0===t?void 0:t.getServices(e))||[]]}createChild(){return new i(this)}dispose(){this._injections=Object.create(null)}}const n=new i},40713:(e,t,s)=>{s.d(t,{Q:()=>a});var o=s(28589);function a(e=(0,o.l)()){return e}},72749:(e,t,s)=>{s.d(t,{My:()=>i,dY:()=>r,if:()=>a});var o=s(38615);const a="INJECTION";function r(e){return e.getState}function i(e){if(r(e)){const t=e.getState()[a];return t&&o.Q.getInstance(t)}return e}},82106:(e,t,s)=>{s.d(t,{j:()=>o});class o{constructor(e=[]){this._inner=e,this._isDisposed=!1}addDisposable(e){return this._inner.push(e),e instanceof o&&e.addDispose(()=>{this.removeDisposable(e)}),e}addDispose(e){this.addDisposable({dispose:e})}removeDisposable(e){const t=this._inner.indexOf(e);t>=0&&this._inner.splice(t,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of[...this._inner])e.dispose()}}}},99182:(e,t,s)=>{s.d(t,{v:()=>a});var o=s(82106);class a extends o.j{constructor(e){super(),this._options=e,this._listeners=[],this.fire=e=>{if(!this.isDisposed()){let t;const s=[...this._listeners];for(const o of s){if(!1===t)return!1;t=t instanceof Promise?t.then(e=>!1!==e&&!this.isDisposed()&&o(e)).catch(e=>{}):o(e)}return t}},this.addEventListener=e=>{const t=this._listeners,s=this._options;var o;(t.push(e),1===t.length)&&((null===(o=this._options)||void 0===o?void 0:o.onFirstListenerAdd)&&this._options.onFirstListenerAdd());return{dispose:()=>{const o=t.indexOf(e);o>=0&&(t.splice(o),t.length||(null===s||void 0===s?void 0:s.onFirstListenerAdd)&&s.onLastListenerRemove())}}},this.event=this.addEventListener}}let r;!function(e){function t(e){let t;const s=new a({onFirstListenerAdd(){t=e(s.fire)},onLastListenerRemove(){t.dispose()}});return s.event}e.snapshot=t,e.filter=function(e,s){return t(t=>e(e=>s(e)&&t(e)))},e.map=function(e,s){return t(t=>e(e=>t(s(e))))}}(r||(r={}))},28589:(e,t,s)=>{function o(){let e=(new Date).getTime(),t="undefined"!==typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(s){let o=16*Math.random();return e>0?(o=(e+o)%16|0,e=Math.floor(e/16)):(o=(t+o)%16|0,t=Math.floor(t/16)),("x"===s?o:3&o|8).toString(16)})}s.d(t,{l:()=>o})},45092:(e,t,s)=>{s.d(t,{CJ:()=>y,eT:()=>h,ft:()=>E,jY:()=>m,mg:()=>l,no:()=>c,qT:()=>d});var o=s(74778),a=s(24524),r=s(40713),i=s(72749);const n=e=>{const t=new FormData,s=(e,t,o)=>{void 0!==t&&null!==t&&(t instanceof Blob?e.append(o,t):Array.isArray(t)?t.forEach((t,a)=>{s(e,t,o?`${o}[${a}]`:`${a}`)}):"object"!==typeof t?e.append(o,String(t)):Object.keys(t).forEach(a=>{const r=t[a];s(e,r,o?`${o}[${a}]`:a)}))};return s(t,e),t};function d(e){for(;e.endsWith("/");)e=e.slice(0,e.length-1);return`${e}/wp-json`}const p={baseUrl:"https://app.useblocks.io/api/wp-json",baseApiParams:{secure:!0,credentials:"same-origin",format:"json"},securityWorker:()=>({credentials:"same-origin"})};p.baseUrl=d("https://app.useblocks.io/api");const h=(0,r.Q)();function _(e){return e.getOrCreateInstance(h,()=>function(e=p){const t=new Map;return{create(s){const a=new o.RQ({...e,...s});return a.contentFormatters["multipart/form-data"]=n,t.set(a,s),a},getOptions:()=>e,setOptions(s){e=s;for(const[o,a]of t)Object.assign(o,{...e,...a})}}}())}function l(e,t={}){return _(e=(0,i.dY)(e)?(0,i.My)(e):e).create(t)}const m=(0,r.Q)(),u=(0,r.Q)(),c=(0,r.Q)(),E=e=>{(e=>{e.inject(c,{execute:async(t,s={})=>{const o=e.getServices(m),a=new Request(t,s);for(const e of o)await e.execute(a);let r=await fetch(a);const i=e.getServices(u);for(const e of i)r=await e.execute(r);return r}})})(e);const t=e.getInstance(c);e.inject(a.Pz,l(e,{customFetch:(null===t||void 0===t?void 0:t.execute)||fetch}))};let y;!function(e){const t="https://racs.rest/v3";e.post=function(e,s){const o={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)};return fetch(`${t}?resource=${e}&dataset=${document.location.hostname}`,o)},e.getAll=async function(e,s=0){const o={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:`{"filter":{},"limit":${s}}`},a=await fetch(`${t}/get?resource=${e}&dataset=${document.location.hostname}`,o);return await a.json()}}(y||(y={}))},48952:(e,t,s)=>{function o(e,t){if(e!==t){if(!e||!t||"object"!==typeof e||"object"!==typeof t)return!1;const s=t instanceof Array;if(e instanceof Array){if(!s)return!1;const a=e.length;if(t.length!==a)return!1;for(let s=0;s<a;s++)if(!o(e[s],t[s]))return!1}else if(s)return!1;const a=Object.keys(e),r=Object.keys(t),i=a.length;if(i!==r.length)return!1;for(let n=0;n<i;n++){const s=a[n];if(!t.hasOwnProperty(s)||!o(e[s],t[s]))return!1}}return!0}s.d(t,{b:()=>o})},70529:(e,t,s)=>{s.d(t,{Cd:()=>n,Ef:()=>p,Lz:()=>i,ax:()=>d,f5:()=>a,sZ:()=>r});var o=s(40713);const a="Not implemented in plugin",r=(0,o.Q)(),i=(0,o.Q)(),n=(0,o.Q)(),d=(0,o.Q)(),p=((0,o.Q)(),(0,o.Q)(),(0,o.Q)())},71902:(e,t,s)=>{s.r(t),s.d(t,{init:()=>b});var o=s(77447),a=s(41278),r=s(21446),i=s(93363),n=s(50548),d=s(61140),p=s(47478),h=s(76132),_=s(9478),l=s(24524),m=s(79652),u=s(93506),c=s(65893),E=s(70529),y=s(82106),f=s(45092),T=s(38615);u.EW.isPlugin=!0,u._P.isEditor=!1;const v=(0,o.E)([p.e,a.Q,h.E,r.F,n.h,i.F,(0,d.X)(()=>Promise.all([s.e(6369),s.e(3158),s.e(4875),s.e(5255),s.e(9318),s.e(6413),s.e(392),s.e(1670)]).then(s.bind(s,90623)).then(e=>e.default))]);async function b(e){const t=new y.j,s=await(0,_.x)(e.element,t),o=_.s.get(s);if(o){const t=await o;if(t.getElement()===s)return await t.reset(e)}const a=await async function(){const s=T.Q.createChild();if(e.standaloneKey){s.inject(E.Ef,e.standaloneKey);const o=(0,c.Zc)(s,c.AZ.FILE_PROXY_EVENT_ID);t.addDisposable(o(async({url:e})=>(await fetch(e)).blob(),Number.MIN_VALUE))}s.inject(E.Lz,t),s.inject(l.Zw,new m.Z),(0,f.ft)(s);const o=v(s);return s.inject(E.Cd,o),await o.setOptions(e),(0,c.dB)(s,h.e).fire(o.instance),o.instance}();return s&&_.s.set(s,a),a}},93363:(e,t,s)=>{s.d(t,{F:()=>n});var o=s(24524),a=s(70529),r=s(77447),i=s(45092);const n=(0,r.l)(e=>{let t=!0;return{setOptions(s){if(s.hasOwnProperty("baseUrl")){const o=e.getInstance(i.eT),a=o.getOptions(),r=(0,i.qT)(s.baseUrl);a.baseUrl!==r&&(o.setOptions({baseUrl:r}),t=!0)}if(t){if(!e.getInstance(a.Ef)){const t=e.getInstance(o.Pz);e.inject(a.sZ,async(e,s)=>s||t.app.app_init_create({}).then(({data:e})=>e),!0)}t=!1}}}})},21446:(e,t,s)=>{s.d(t,{F:()=>_});var o=s(74778),a=s(4799),r=s(77447),i=s(93506),n=s(40713),d=s(45092);const p=(0,n.Q)(),h=(0,n.Q)(),_=(0,r.l)(e=>({setOptions(t){const s=(0,a.y)(),r=(0,d.mg)(e);e.addService(d.jY,{execute:s.decorate(async s=>{if(t.jwtAuth){let a=e.getInstance(p),n=e.getInstance(h);if(!n&&!a){const s=await r.jwtAuth.token_create({body:t.jwtAuth,type:o.cM.Json});if(s.error)throw n=i.ff,e.inject(h,i.ff),new Error(i.ff);a=s.data.token,e.inject(p,a)}n||s.headers.append("authorization",`Bearer ${a}`)}})})}}))},50548:(e,t,s)=>{s.d(t,{Y:()=>p,h:()=>h});var o=s(51171),a=s(77447),r=s(97503),i=s(45092),n=s(40713),d=s(48952);const p=(0,n.Q)(),h=(0,a.l)(e=>{let t,s,a;e.addService(i.jY,{execute:async s=>{if(t){const t=await e.getInstanceAsync(p);t&&s.headers.append("authorization",`Bearer ${t}`)}}});return{setOptions(i){const n=!(0,d.b)(s,i.user),h=a!==i.project;var _,l;(t!==i.getAuthToken||n||h)&&(t=i.getAuthToken,s=i.user,a=i.project,_=i.user,l=i.project,e.inject(p,void 0),e.inject(p,async(e,s)=>{try{let e;var a;return s&&(e=await s),t?!e||1e3*(null===(a=(0,o.A)(e))||void 0===a?void 0:a.exp)<=(0,r.N)()?await t(_,l,e):e:""}catch(i){return""}},!0))}}})},77447:(e,t,s)=>{function o(e){return function(t){return{setOptions:()=>{},instance:{},dispose:()=>{},...e(t)||{}}}}function a(e){return t=>{const s={},o=[];for(const a of e)o.push(a(t));for(const e of o)Object.assign(s,e.instance);return{instance:s,setOptions:async e=>{for(const t of o)await t.setOptions(e)},dispose:()=>{for(const e of o)e.dispose()}}}}s.d(t,{E:()=>a,l:()=>o})},61140:(e,t,s)=>{s.d(t,{X:()=>r,y:()=>a});var o=s(70529);function a(e){return t=>{let s=null,a=!1;return{async setOptions(r){if(!s&&!a){s=await e(t);const a=await t.getInstanceAsync(o.Cd);Object.assign(a.instance,s.instance||{})}s.setOptions&&await s.setOptions(r)},instance:{},dispose(){var e,t;null!==(e=s)&&void 0!==e&&e.dispose&&(null===(t=s)||void 0===t||t.dispose());a=!0}}}}function r(e){return a(async t=>(await e(t))(t))}},47478:(e,t,s)=>{s.d(t,{e:()=>n});var o=s(77447),a=s(59059),r=s(70529),i=s(36255);const n=(0,o.l)(e=>{const t=e.getInstance(r.Lz),s=new a.vl,o=(0,i.m)(s.event);t.addDispose(()=>{const t=e.getInstance(r.Cd);s.fire(t.instance)});const n=t.addDisposable(new i.U(o));return t.addDisposable(s),{setOptions({handleDestroy:e}){n.setListener(e)},instance:{handleDestroy:o,destroy:()=>t.dispose()}}})},76132:(e,t,s)=>{s.d(t,{E:()=>d,e:()=>n});var o=s(77447),a=s(70529),r=s(36255),i=s(65893);const n=(0,i.cZ)("APP_LOAD_EVENT"),d=(0,o.l)(e=>{const t=e.getInstance(a.Lz),s=(0,i.Zc)(e,n),o=(0,r.m)(s),d=new Promise((e,o)=>{const a=t.addDisposable(s(t=>{a.dispose(),e(t)}))}),p=t.addDisposable(new r.U(o));return{setOptions({handleLoad:e}){p.setListener(e)},instance:{handleLoad:o,reset:t=>d.then(s=>{const o=e.getInstance(a.Cd);return null!==o&&void 0!==o&&o.setOptions?Promise.resolve(o.setOptions(t)).then(()=>s):s})},destroy:()=>t.dispose()}})},41278:(e,t,s)=>{s.d(t,{Q:()=>d});var o=s(77447),a=s(70529),r=s(9478),i=s(65893),n=s(82106);const d=(0,o.l)(e=>{const t=e.getInstance(a.Lz),s=(0,i.Zc)(e,i.AZ.ON_CHUNKS_LOADED),o=t.addDisposable(new n.j);return s(()=>{o.dispose()}),{setOptions({initialSpinner:e,element:s}){if(!o.isDisposed()&&!1!==e){const e=e=>{if(!o.isDisposed()&&e){var t;const s=document.createElement("div");s.classList.add("blocks-app-initial-spinner-wrapper");const a=document.createElement("div");a.classList.add("blocks-app-initial-spinner"),s.appendChild(a);const r=document.createElement("style");r.setAttribute("data-useblocks","true"),r.textContent="\n.blocks-app-initial-spinner-wrapper {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.blocks-app-initial-spinner {\n width: 28px;\n height: 28px;\n border: 4px solid rgb(231 212 228 / 100%);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation_loader 1s linear infinite;\n will-change: transform;\n border-bottom-color: transparent;\n}\n\n@keyframes rotation_loader {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",null===(t=document.head)||void 0===t||t.appendChild(r),e.appendChild(s),o.addDispose(()=>{s.remove(),r.remove()})}},a=(0,r.x)(s,t);a instanceof Promise?a.then(e).catch(e=>{}):e(a)}},instance:{}}})},51171:(e,t,s)=>{function o(e){const[t,s,o]=e.split("."),a=JSON.parse(function(e){const t=e.replace(/-/g,"+").replace(/_/g,"/").padEnd(e.length+(4-e.length%4)%4,"="),s=atob(t),o=new Uint8Array(s.length);for(let a=0;a<s.length;a++)o[a]=s.charCodeAt(a);return(new TextDecoder).decode(o)}(s));return{exp:a.exp,createdAt:a.iat,data:a}}s.d(t,{A:()=>o})},59059:(e,t,s)=>{s.d(t,{HN:()=>h,IO:()=>r,P9:()=>i,lt:()=>l,pb:()=>d,sg:()=>p,vl:()=>_});var o=s(82106);class a extends o.j{constructor(...e){super(...e),this._listeners=[],this.event=this._addListener.bind(this)}getListeners(e){return this._listeners.flatMap(([t])=>"function"===typeof t?t:t.getListeners(e))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,s){if(!this.isDisposed()){const o=this._listeners;s&&"function"===typeof e&&(e=e.bind(s));const a=o.findIndex(([e,s])=>t<s),r=[e,t];return o.splice(a>=0?a:o.length,0,r),{dispose(){const e=o.indexOf(r);e>=0&&o.splice(e,1)}}}}dispose(){this._listeners.splice(0,this._listeners.length),super.dispose()}}class r extends a{constructor(...e){super(...e),this.fire=this._fire.bind(this)}execute(e,t){for(const o of t)try{o(...e)}catch(s){}}_fire(...e){if(!this.isDisposed()){const t=this.execute(e,this.getListeners(e));return"undefined"===typeof t?void 0:t}}}function i(e,t=0){const s=new a;return s.addDisposable(e(s,t)),s.event}class n extends a{constructor(e){super(),this._filter=e}getListeners(e){return this._filter(...e)?super.getListeners(e):[]}}function d(e,t,s=0){const o=new n(t);return o.addDisposable(e(o,s)),o.event}function p(e,t=0,s=0){const o=new r;let a,i=0;return o.addDisposable(e((...e)=>{a=e,i||(i=setTimeout(()=>{o.fire(...a),i=0},t))},s)),o.event}class h extends r{constructor(...e){super(...e),this._suspendCounter=0,this._wasFired=!1}proccessResult(){}execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(const o of t)try{o(e)}catch(s){}}suspend(){this._suspendCounter++}resume(){0===--this._suspendCounter&&(this._wasFired&&this.fire(),this._wasFired=!1)}}class _ extends r{execute([e],t){for(const o of t)try{o(e)}catch(s){}}}class l extends r{async execute([e],t){const s=[];for(const o of t){const t=await o(e);s.push(t)}return s}}},79652:(e,t,s)=>{s.d(t,{Z:()=>o});class o{constructor(){this._storage=Object.create(null)}get(e){const t=this._storage[e];return t&&(!t.expires||t.expires<Date.now())?t.value:""}set(e,t,s){this._storage[e]={value:t,expires:s.expires?1e3*s.expires+Date.now():void 0}}remove(e){delete this._storage[e]}}},36255:(e,t,s)=>{s.d(t,{U:()=>r,m:()=>i});var o=s(82106),a=s(59059);class r extends o.j{constructor(e){super(),this._event=e,this._listener=void 0,this._disposeEvent=void 0}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),this._disposeEvent=e?this._event(e):void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}}function i(e,t,s){const o=(0,a.P9)(e);return(e,a,r)=>{const i=o(async o=>{const a=t?t(o):o;r&&e.bind(r);const i=await e(a);return s?s(i):i},a,r);return()=>i.dispose()}}},4799:(e,t,s)=>{s.d(t,{y:()=>o});const o=e=>{const t={current:Promise.resolve(),state:e,decorate:(e,s)=>(s&&(e=e.bind(s)),function(...s){const o=t.current.then(()=>e(...s));return t.current=o.then(e=>{t.state=e},e=>{}),o})};return t}},9478:(e,t,s)=>{s.d(t,{s:()=>r,x:()=>a});var o=s(82106);function a(e,t){if("undefined"!==typeof e){if("string"===typeof e){if(e=document.querySelector(e))return e;const s=t.addDisposable(new o.j);return new Promise((t,o)=>{const a=new MutationObserver(()=>{(e=document.querySelector(e))&&(s.dispose(),t(e))});a.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),s.addDisposable({dispose:()=>a.disconnect()})})}return e}return e}const r=new Map}}]);
2
- //# sourceMappingURL=1902.7004d313.js.map
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1902],{74778:(e,t,s)=>{s.d(t,{RQ:()=>r,cM:()=>o});let o=function(e){return e.Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e}({});class a{constructor(e={}){this.baseUrl="https://api.emailmaker.ru/wp-json",this.securityData=null,this.securityWorker=void 0,this.abortControllers=new Map,this.customFetch=(...e)=>fetch(...e),this.baseApiParams={credentials:"same-origin",headers:{},redirect:"follow",referrerPolicy:"no-referrer"},this.setSecurityData=e=>{this.securityData=e},this.contentFormatters={[o.Json]:e=>null===e||"object"!==typeof e&&"string"!==typeof e?e:JSON.stringify(e),[o.Text]:e=>null!==e&&"string"!==typeof e?JSON.stringify(e):e,[o.FormData]:e=>Object.keys(e||{}).reduce((t,s)=>{const o=e[s];return t.append(s,o instanceof Blob?o:"object"===typeof o&&null!==o?JSON.stringify(o):`${o}`),t},new FormData),[o.UrlEncoded]:e=>this.toQueryString(e)},this.createAbortSignal=e=>{if(this.abortControllers.has(e)){const t=this.abortControllers.get(e);return t?t.signal:void 0}const t=new AbortController;return this.abortControllers.set(e,t),t.signal},this.abortRequest=e=>{const t=this.abortControllers.get(e);t&&(t.abort(),this.abortControllers.delete(e))},this.request=async({body:e,secure:t,path:s,type:a,query:r,format:i,baseUrl:n,cancelToken:d,extraQuery:p,..._})=>{const h=("boolean"===typeof t?t:this.baseApiParams.secure)&&this.securityWorker&&await this.securityWorker(this.securityData)||{},l=this.mergeRequestParams(_,h);p&&(r=r?{...r,...p}:p);const m=r&&this.toQueryString(r),u=this.contentFormatters[a||o.Json],c=i||l.format,E=new Request(`${n||this.baseUrl||""}${s}${m?`?${m}`:""}`,{...l,headers:{...l.headers||{},...a&&a!==o.FormData?{"Content-Type":a}:{}},signal:(d?this.createAbortSignal(d):l.signal)||null,body:"undefined"===typeof e||null===e?null:u(e)});return this.customFetch(E).then(async e=>{const t=e;t.data=null,t.error=null,t.meta={request:E,response:t};const s=c?await e[c]().then(e=>(t.ok?t.data=e:t.error={data:e},t)).catch(e=>(t.error=e,t)):t;return d&&this.abortControllers.delete(d),s})},Object.assign(this,e)}encodeQueryParam(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent("number"===typeof t?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){const t=e||{};return Object.keys(t).filter(e=>"undefined"!==typeof t[e]).map(e=>Array.isArray(t[e])?this.addArrayQueryParam(t,e):this.addQueryParam(t,e)).join("&")}addQueryParams(e){const t=this.toQueryString(e);return t?`?${t}`:""}mergeRequestParams(e,t){return{...this.baseApiParams,...e,...t||{},headers:{...this.baseApiParams.headers||{},...e.headers||{},...t&&t.headers||{}}}}}class r extends a{constructor(...e){super(...e),this.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})},this.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})},this.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:o.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:o.UrlEncoded,format:"json",...t}),shortener_create:(e,t={})=>this.request({path:"/save-file/v1/shortener",method:"POST",body:e,type:o.UrlEncoded,format:"json",...t}),get_link_create:(e,t={})=>this.request({path:"/save-file/v1/get-link",method:"POST",body:e,type:o.UrlEncoded,...t}),send_email_create:(e,t={})=>this.request({path:"/save-file/v1/send-email",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.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:o.UrlEncoded,...t}),identificate_blocks_create:(e,t={})=>this.request({path:"/ai-generator/v1/identificate_blocks",method:"POST",body:e,type:o.UrlEncoded,...t}),create_subject_create:(e,t={})=>this.request({path:"/ai-generator/v1/create_subject",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.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:o.UrlEncoded,...t}),google_callback_create:(e,t={})=>this.request({path:"/auth/v1/google/callback",method:"POST",body:e,type:o.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:o.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:o.UrlEncoded,...t})},this.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:o.UrlEncoded,...t})},this.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:o.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})},this.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:o.UrlEncoded,...t}),validate_links_create:(e,t={})=>this.request({path:"/optimization/v1/validate/links",method:"POST",body:e,type:o.UrlEncoded,...t}),validate_spamassasin_create:(e,t={})=>this.request({path:"/optimization/v1/validate/spamassasin",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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:o.UrlEncoded,format:"json",...t}),folders_delete:(e,t={})=>this.request({path:"/em-files/v1/folders",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),empty_trash_create:(e,t={})=>this.request({path:"/em-files/v1/empty-trash",method:"POST",body:e,type:o.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:o.UrlEncoded,format:"json",...t}),files_delete:(e,t={})=>this.request({path:"/em-files/v1/files",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),files_partial_update:(e,t={})=>this.request({path:"/em-files/v1/files",method:"PATCH",body:e,type:o.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:o.UrlEncoded,format:"json",...t}),files_rename_partial_update:(e,t={})=>this.request({path:"/em-files/v1/files/rename",method:"PATCH",body:e,type:o.UrlEncoded,format:"json",...t}),items_move_partial_update:(e,t={})=>this.request({path:"/em-files/v1/items/move",method:"PATCH",body:e,type:o.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:o.UrlEncoded,...t})},this.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:o.UrlEncoded,format:"json",...t}),posts_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}`,method:"GET",query:t,format:"json",...s}),posts_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),posts_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),posts_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),posts_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),posts_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}/revisions`,method:"GET",query:t,format:"json",...s}),posts_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),posts_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/posts/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),posts_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),posts_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/posts/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),posts_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/posts/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),pages_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}`,method:"GET",query:t,format:"json",...s}),pages_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),pages_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),pages_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),pages_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),pages_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}/revisions`,method:"GET",query:t,format:"json",...s}),pages_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),pages_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/pages/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),pages_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),pages_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/pages/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),pages_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/pages/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),media_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/media/${e}`,method:"GET",query:t,format:"json",...s}),media_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),media_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),media_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),media_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),media_post_process_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}/post-process`,method:"POST",body:s,type:o.UrlEncoded,...a}),media_edit_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/media/${e}/edit`,method:"POST",body:s,type:o.UrlEncoded,...a}),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:o.UrlEncoded,format:"json",...t}),menu_items_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"GET",query:t,format:"json",...s}),menu_items_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),menu_items_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menu_items_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/menu-items/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),blocks_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"GET",query:t,format:"json",...s}),blocks_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}/revisions`,method:"GET",query:t,format:"json",...s}),blocks_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),blocks_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/blocks/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),blocks_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),blocks_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocks_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/blocks/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),templates_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/templates/${e}/revisions`,method:"GET",query:t,format:"json",...s}),templates_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),templates_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/templates/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),templates_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),templates_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),templates_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/templates/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.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},s={})=>this.request({path:`/wp/v2/templates/${e}`,method:"GET",query:t,format:"json",...s}),templates_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),templates_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),templates_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),templates_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/templates/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions`,method:"GET",query:t,format:"json",...s}),template_parts_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),template_parts_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/template-parts/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),template_parts_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),template_parts_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/template-parts/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.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},s={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"GET",query:t,format:"json",...s}),template_parts_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),template_parts_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/template-parts/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions`,method:"GET",query:t,format:"json",...s}),global_styles_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/global-styles/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),global_styles_themes_variations_list:({stylesheet:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/themes/${e}/variations`,method:"GET",...s}),global_styles_themes_detail:({stylesheet:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/themes/${e}`,method:"GET",...s}),global_styles_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"GET",format:"json",...s}),global_styles_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),global_styles_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/global-styles/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),navigation_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"GET",query:t,format:"json",...s}),navigation_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}/revisions`,method:"GET",query:t,format:"json",...s}),navigation_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),navigation_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/navigation/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),navigation_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),navigation_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),navigation_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/navigation/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),font_families_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"GET",query:t,format:"json",...s}),font_families_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_font_faces_list:({fontFamilyId:e,...t},s={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:"GET",query:t,format:"json",...s}),font_families_font_faces_create:({fontFamilyId:e,...t},s,a={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),font_families_font_faces_detail:({fontFamilyId:e,id:t,...s},o={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:"GET",query:s,format:"json",...o}),font_families_font_faces_delete:({fontFamilyId:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/font-families/${e}/font-faces/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),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:o.UrlEncoded,format:"json",...t}),eblock_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"GET",query:t,format:"json",...s}),eblock_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}/revisions`,method:"GET",query:t,format:"json",...s}),eblock_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),eblock_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/eblock/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),eblock_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),eblock_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),eblock_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/eblock/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),email_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}`,method:"GET",query:t,format:"json",...s}),email_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),email_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),email_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),email_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),email_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}/revisions`,method:"GET",query:t,format:"json",...s}),email_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),email_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/email/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),email_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),email_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/email/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),email_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/email/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),notification_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/notification/${e}`,method:"GET",query:t,format:"json",...s}),notification_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),notification_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),notification_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),notification_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),notification_autosaves_list:({id:e,...t},s={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:"GET",query:t,format:"json",...s}),notification_autosaves_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/notification/${e}/autosaves`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),notification_autosaves_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/notification/${e}/autosaves/${t}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),payment_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/payment/${e}`,method:"GET",query:t,format:"json",...s}),payment_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),payment_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),payment_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),payment_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/payment/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),project_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/project/${e}`,method:"GET",query:t,format:"json",...s}),project_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),project_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),project_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),project_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/project/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),project_revisions_list:({parent:e,...t},s={})=>this.request({path:`/wp/v2/project/${e}/revisions`,method:"GET",query:t,format:"json",...s}),project_revisions_detail:({parent:e,id:t,...s},o={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:"GET",query:s,format:"json",...o}),project_revisions_delete:({parent:e,id:t,...s},a,r={})=>this.request({path:`/wp/v2/project/${e}/revisions/${t}`,method:"DELETE",body:a,type:o.UrlEncoded,format:"json",...r}),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:o.UrlEncoded,format:"json",...t}),subscription_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"GET",query:t,format:"json",...s}),subscription_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),subscription_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/subscription/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),user_promocodes_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"GET",query:t,format:"json",...s}),user_promocodes_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),user_promocodes_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/user_promocodes/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),types_list:(e,t={})=>this.request({path:"/wp/v2/types",method:"GET",query:e,format:"json",...t}),types_detail:({type:e,...t},s={})=>this.request({path:`/wp/v2/types/${e}`,method:"GET",query:t,format:"json",...s}),statuses_list:(e,t={})=>this.request({path:"/wp/v2/statuses",method:"GET",query:e,format:"json",...t}),statuses_detail:({status:e,...t},s={})=>this.request({path:`/wp/v2/statuses/${e}`,method:"GET",query:t,format:"json",...s}),taxonomies_list:(e,t={})=>this.request({path:"/wp/v2/taxonomies",method:"GET",query:e,format:"json",...t}),taxonomies_detail:({taxonomy:e,...t},s={})=>this.request({path:`/wp/v2/taxonomies/${e}`,method:"GET",query:t,format:"json",...s}),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:o.UrlEncoded,format:"json",...t}),categories_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/categories/${e}`,method:"GET",query:t,format:"json",...s}),categories_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),categories_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),categories_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),categories_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/categories/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),tags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/tags/${e}`,method:"GET",query:t,format:"json",...s}),tags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),tags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),tags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),tags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/tags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),menus_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/menus/${e}`,method:"GET",query:t,format:"json",...s}),menus_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),menus_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),menus_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),menus_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/menus/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),wp_pattern_category_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"GET",query:t,format:"json",...s}),wp_pattern_category_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),wp_pattern_category_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/wp_pattern_category/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),group_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/group/${e}`,method:"GET",query:t,format:"json",...s}),group_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),group_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),group_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),group_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/group/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),blockfolder_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"GET",query:t,format:"json",...s}),blockfolder_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blockfolder_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blockfolder/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),blocktags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"GET",query:t,format:"json",...s}),blocktags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),blocktags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/blocktags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),emailtags_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"GET",query:t,format:"json",...s}),emailtags_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),emailtags_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/emailtags/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),folder_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/folder/${e}`,method:"GET",query:t,format:"json",...s}),folder_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),folder_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),folder_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),folder_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/folder/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),users_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}`,method:"GET",query:t,format:"json",...s}),users_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),users_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),users_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),users_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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:o.UrlEncoded,format:"json",...t}),users_me_update:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"PUT",body:e,type:o.UrlEncoded,format:"json",...t}),users_me_partial_update:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"PATCH",body:e,type:o.UrlEncoded,format:"json",...t}),users_me_delete:(e,t={})=>this.request({path:"/wp/v2/users/me",method:"DELETE",body:e,type:o.UrlEncoded,format:"json",...t}),users_application_passwords_list:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"GET",query:t,format:"json",...s}),users_application_passwords_create:({userId:e,...t},s,a={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),users_application_passwords_delete:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords`,method:"DELETE",format:"json",...s}),users_application_passwords_introspect_list:({userId:e,...t},s={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/introspect`,method:"GET",query:t,format:"json",...s}),users_application_passwords_detail:({userId:e,uuid:t,...s},o={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"GET",query:s,format:"json",...o}),users_application_passwords_create2:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"POST",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_update:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"PUT",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_partial_update:({userId:e,uuid:t,...s},a,r={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"PATCH",body:a,type:o.UrlEncoded,format:"json",...r}),users_application_passwords_delete2:({userId:e,uuid:t,...s},o={})=>this.request({path:`/wp/v2/users/${e}/application-passwords/${t}`,method:"DELETE",format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),comments_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/comments/${e}`,method:"GET",query:t,format:"json",...s}),comments_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),comments_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),comments_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),comments_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/comments/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),search_list:(e,t={})=>this.request({path:"/wp/v2/search",method:"GET",query:e,format:"json",...t}),block_renderer_detail:({name:e,...t},s={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:"GET",query:t,format:"json",...s}),block_renderer_create:({name:e,...t},s,a={})=>this.request({path:`/wp/v2/block-renderer/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/block-types/${e}`,method:"GET",query:t,format:"json",...s}),block_types_detail2:({name:e,namespace:t,...s},o={})=>this.request({path:`/wp/v2/block-types/${t}/${e}`,method:"GET",query:s,format:"json",...o}),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:o.UrlEncoded,format:"json",...t}),settings_update:(e,t={})=>this.request({path:"/wp/v2/settings",method:"PUT",body:e,type:o.UrlEncoded,format:"json",...t}),settings_partial_update:(e,t={})=>this.request({path:"/wp/v2/settings",method:"PATCH",body:e,type:o.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},s={})=>this.request({path:`/wp/v2/themes/${e}`,method:"GET",format:"json",...s}),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:o.UrlEncoded,format:"json",...t}),plugins_detail:({plugin:e,...t},s={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"GET",query:t,format:"json",...s}),plugins_create2:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_update:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_partial_update:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),plugins_delete:({plugin:e,...t},s,a={})=>this.request({path:`/wp/v2/plugins/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_list:(e,t={})=>this.request({path:"/wp/v2/sidebars",method:"GET",query:e,format:"json",...t}),sidebars_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"GET",query:t,format:"json",...s}),sidebars_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),sidebars_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/sidebars/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/widget-types/${e}`,method:"GET",query:t,format:"json",...s}),widget_types_encode_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widget-types/${e}/encode`,method:"POST",body:s,type:o.UrlEncoded,...a}),widget_types_render_create:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widget-types/${e}/render`,method:"POST",body:s,type:o.UrlEncoded,...a}),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:o.UrlEncoded,format:"json",...t}),widgets_detail:({id:e,...t},s={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"GET",query:t,format:"json",...s}),widgets_create2:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_partial_update:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),widgets_delete:({id:e,...t},s,a={})=>this.request({path:`/wp/v2/widgets/${e}`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),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},s={})=>this.request({path:`/wp/v2/menu-locations/${e}`,method:"GET",query:t,format:"json",...s}),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},s={})=>this.request({path:`/wp/v2/font-collections/${e}`,method:"GET",query:t,format:"json",...s})},this.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:o.UrlEncoded,...t})},this.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})},this.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})},this.payment={get_payment:(e,t={})=>this.request({path:"/payment/v1",method:"GET",query:e,...t}),subscription_payment_create:(e,t={})=>this.request({path:"/payment/v1/subscription_payment",method:"POST",body:e,type:o.UrlEncoded,...t}),refund_create:(e,t={})=>this.request({path:"/payment/v1/refund",method:"POST",body:e,type:o.UrlEncoded,...t})},this.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})},this.email={get_email:(e,t={})=>this.request({path:"/email/v2",method:"GET",query:e,...t}),templates_list:(e,t={})=>this.request({path:"/email/v2/templates",method:"GET",query:e,...t})},this.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})},this.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:o.UrlEncoded,...t})},this.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})},this.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},s={})=>this.request({path:`/translations/v1/${e}`,method:"GET",...s}),get_translations3:({id:e,file:t,...s},o={})=>this.request({path:`/translations/v1/${t}/${e}`,method:"GET",...o})},this.wpMailSmtp={get_wp_mail_smtp:(e,t={})=>this.request({path:"/wp-mail-smtp/v1",method:"GET",query:e,...t}),e_detail:({data:e,...t},s={})=>this.request({path:`/wp-mail-smtp/v1/e/${e}`,method:"GET",...s})},this.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})},this.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})},this.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},s={})=>this.request({path:`/wp-abilities/v1/categories/${e}`,method:"GET",format:"json",...s}),abilities_run_list:({name:e,...t},s={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"GET",query:t,format:"json",...s}),abilities_run_create:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"POST",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_update:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"PUT",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_partial_update:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"PATCH",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_run_delete:({name:e,...t},s,a={})=>this.request({path:`/wp-abilities/v1/abilities/${e}/run`,method:"DELETE",body:s,type:o.UrlEncoded,format:"json",...a}),abilities_list:(e,t={})=>this.request({path:"/wp-abilities/v1/abilities",method:"GET",query:e,format:"json",...t}),abilities_detail:({name:e,...t},s={})=>this.request({path:`/wp-abilities/v1/abilities/${e}`,method:"GET",format:"json",...s})}}}},24524:(e,t,s)=>{s.d(t,{Bl:()=>r,M4:()=>n,Pz:()=>a,Zw:()=>i});var o=s(40713);const a=(0,o.Q)("client"),r=(0,o.Q)("ai_client"),i=(0,o.Q)(),n=(0,o.Q)();(0,o.Q)("autosave-recovery")},65893:(e,t,s)=>{s.d(t,{AZ:()=>i,Zc:()=>d,cZ:()=>r,dB:()=>p});var o=s(40713),a=s(59059);function r(e){return(0,o.Q)(e)}let i;var n;function d(e,t){return e.getOrCreateInstance(t,()=>new a.lt).event}function p(e,t){return e.getOrCreateInstance(t,()=>new a.lt)}(n=i||(i={})).BEFORE_SAVE_EMAIL=r(),n.ON_SAVEBUTTON_CLICK_ID=r(),n.ON_NEXTBUTTON_CLICK_ID=r(),n.ON_PREVIOUSBUTTON_CLICK_ID=r(),n.ON_MODEL_CHANGE=r(),n.WILL_EMAIL_INIT_ID=r(),n.ON_EMAIL_INIT_ID=r(),n.ON_BLOCK_INIT_ID=r(),n.ON_CONTENT_CHANGED_ID=r(),n.ON_PREHEADER_CHANGED_ID=r(),n.ON_SUBJECT_CHANGED_ID=r(),n.ON_EMAIL_CHANGED_ID=r(),n.ON_BLOCK_CHANGED_ID=r(),n.ON_CHUNKS_LOADED=r(),n.ON_SEND_TESTEMAIL_ID=r(),n.ON_SEND_LIVEPREVIEW_ID=r(),n.ON_SHARE_ID=r(),n.ON_SHOW_PREVIEW_ID=r(),n.ON_EMAIL_CLONE_ID=r(),n.ON_SEND_EMAIL_MODAL_ID=r(),n.ON_NOTIFICATION=r(),n.READ_LOCALE=r(),n.ON_TRANSLATE_ID=r(),n.ON_CODE_VALIDATE_ID=r(),n.UPLOAD_EVENT_ID=r(),n.PROXY_URL_EVENT_ID=r(),n.FILE_PROXY_EVENT_ID=r(),n.ON_LIMIT_ID=r()},93506:(e,t,s)=>{s.d(t,{A9:()=>n,BD:()=>he,Bv:()=>$,CJ:()=>h,EW:()=>r,F3:()=>E,IE:()=>V,IJ:()=>u,Jy:()=>R,K0:()=>S,KI:()=>Z,N7:()=>x,ND:()=>de,QV:()=>le,Ru:()=>T,Sr:()=>se,T:()=>l,Tm:()=>W,U1:()=>F,UW:()=>p,V0:()=>d,Vp:()=>ne,Vv:()=>D,WU:()=>P,Y$:()=>z,YY:()=>_e,_P:()=>i,bV:()=>b,dO:()=>ee,e3:()=>ue,e8:()=>te,eG:()=>J,ff:()=>a,hc:()=>M,iU:()=>re,iV:()=>Q,iW:()=>L,jg:()=>me,ky:()=>X,lx:()=>f,mU:()=>ie,mX:()=>w,nA:()=>k,nd:()=>m,om:()=>I,p5:()=>ae,qG:()=>oe,rW:()=>v,rY:()=>G,rb:()=>j,rl:()=>Y,sl:()=>B,ti:()=>q,vc:()=>y,vd:()=>c,xo:()=>H,xv:()=>K,xz:()=>O,y2:()=>_,yI:()=>g,yy:()=>A,z$:()=>C,zX:()=>U,zh:()=>pe,zx:()=>N});var o=s(82711);const a="ERROR",r={isPlugin:!1},i={isEditor:!1},n={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"},d={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"},p="deleted",_="all",h="not all",l="light",m="dark",u="system",c="(prefers-color-scheme: light)",E="(prefers-color-scheme: dark)",y={auth:"/auth",projects_index:"/",projects:"/projects",project:"/projects/:projectId/emails",email:"/projects/:projectId/emails/:emailId",create_email:"/projects/:projectId/emails/new",billing:"/billing"},f={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"};const T={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_CLOSE:"application_element_settings_close",APPLICATION_ACTION:"application_action",APPLICATION_EBLOCK_ADD:"application_eblock_add",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:(0,o.Qm)("application_subject_update"),APPLICATION_PREHEADER_UPDATE:(0,o.Qm)("application_preheader_update"),APPLICATION_DOMPARSER_ERROR:(0,o.Qm)("application_domparser_error"),APPLICATION_UPDATE_ENTITY:(0,o.Qm)("application_update_entity"),APPLICATION_IFRAME_DRAG_EVENT:(0,o.Qm)("application_iframe_drag_event"),APPLICATION_HAS_AMP:(0,o.Qm)("application_has_amp"),APPLICATION_PREVIEW_ALERT_SHOW:"application_preview_alert_show",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:(0,o.Qm)("SANDBOX_READY"),SANDBOX_FLOATBLOCK_WRAP:"sandbox_floatblock_wrap",SANDBOX_FLOATBLOCK_DIR:"sandbox_floatblock_dir",SANDBOX_SUBJECT_UPDATE:(0,o.Qm)("sandbox_subject_update"),SANDBOX_PREHEADER_UPDATE:(0,o.Qm)("sandbox_preheader_update"),SANDBOX_DRAG_EVENT:(0,o.Qm)("sandbox_drag_event"),SANDBOX_ADD_MERGETAG:(0,o.Qm)("sandbox_add_mergetag"),SANDBOX_TRANSLATIONS:(0,o.Qm)("sandbox_send_translations"),SANDBOX_SET_THEME_VARIABLES:(0,o.Qm)("sandbox_send_theme_variables"),SANDBOX_SET_ENTITY:(0,o.Qm)("sandbox_set_entity"),SANDBOX_INIT_START:(0,o.Qm)("sandbox_init_start"),SANDBOX_INITED:(0,o.Qm)("sandbox_inited"),SANDBOX_UPDATE_ENTITY:(0,o.Qm)("sandbox_update_entity"),RELOAD:(0,o.Qm)("reload"),SANDBOX_IS_EMAIL_EMPTY:(0,o.Qm)("sandbox_is_email_empty")},v={language:"html",detectIndentation:!1,wordWrap:"on",wrappingIndent:"same",smoothScrolling:!0,automaticLayout:!0,tabSize:2,indentSize:2};let b=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}({});const q={ALL:"All",STANDARD:"Standard",PROJECT:"Project"},O="Appearance",w="Structure",A="Settings",g="Properties",D="History",j="Disabled_tab",P="Edit selected element",L="UTM parameters",U="Table properties",I="Edit selected table cells",S="#b9b1b1",N="Edit",C="AiChat",$="Build",G="Styles",M="Discuss",k="Blocks",R="Atoms",x="Optimise",B="FormEditorCalendar",F="FormEditorDropdownList",H="FormEditorRadio",K="FormEditorCheckbox",X="FormEditorInput",Q={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}},V="block",W="email",z="cards",Y="list",J="pending",Z="d41d8",ee="valid",te="warnings",se="errors",oe={LINKS:"Links",IMAGES:"Images",SPAM_ASSASSIN:"Spam assassin",PROBLEMS:"Problems"},ae="1865",re=6892,ie=24,ne="desktop",de="mobile",pe="emailtags",_e="blocktags",he={text:{fontFamily:["Google Fonts","Sans Serif","Mulish","Regular"],fontSize:16,fontSizeDim:"px",lineHeight:24,lineHeightDim:"px",color:"#595959",contrastColor:"#FFFFFF",textAlign:"left",paddingBottom:10,paddingBottomDim:"px"},headings:{fontFamily:["Google Fonts","Sans Serif","Mulish","Bold"],fontSize:28,fontSizeDim:"px",lineHeight:34,lineHeightDim:"px",color:"#000000",contrastColor:"#FFFFFF",textAlign:"left",paddingTop:20,paddingTopDim:"px",paddingBottom:20,paddingBottomDim:"px",letterSpacing:0,letterSpacingDim:"px",bold:!0,italic:!1},links:{color:"#1890ff",contrastColor:"#FFFFFF",underline:!0},buttons:{fontFamily:["Google Fonts","Sans Serif","Mulish","Medium"],fontSize:16,fontSizeDim:"px",letterSpacing:0,letterSpacingDim:"px",color:"#FFFFFF",contrastColor:"#1890ff",bold:!1,italic:!1,backgroundColor:"#1890ff",contrastBackgroundColor:"#FFFFFF",marginTop:10,marginTopDim:"px",marginBottom:10,marginBottomDim:"px",border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:6,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:"#1890ff",padding:{all:null,top:null,right:null,bottom:null,left:null}},cards:{contrastBackgroundColor:"#1890ff",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}}},le=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"),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"),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_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")}),me={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"},ue={maker:"https://ai-mail.emcdn.ru",blocks:"https://ai-mail.useblocks.io"}},82711:(e,t,s)=>{function o(e){return e}s.d(t,{Qm:()=>o,bg:()=>d});const a="INIT_MESSAGE";function r(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}class i{constructor(){this._children=[],this._isDisposed=!1}isDisposed(){return this._isDisposed}addDisposable(e){return this._children.push(e),e.hasOwnProperty("addDisposable")&&e.addDisposable({dispose:()=>{const t=this._children.indexOf(e);t>=0&&this._children.splice(t,1)}}),e}removeDisposable(e){const t=this._children.indexOf(e);t>=0&&this._children.splice(t,1)}dispose(){this._isDisposed=!0;for(const e of this._children)e.dispose()}}class n extends i{constructor(...e){super(...e),this._listeners=Object.create(null),this.addListenerAsync=(e,t,s=0,o)=>{const a=this._listeners[e]||(this._listeners[e]=[]);o&&"function"===typeof t&&(t=t.bind(o));const r=a.findIndex(([e,t])=>s<=t),i=[t,s];return this.isDisposed()||a.splice(r>=0?r:a.length,0,i),{dispose(){const e=a.indexOf(i);e>=0&&a.splice(e,1)}}},this.fireAsync=(e,t)=>{if(!this.isDisposed()){const s=this._listeners[e]||(this._listeners[e]=[]);let o;for(let e=0;e<s.length;e++){const t=s[e][0],a=o;o=e=>t(e,a)}if(o)return o(t)}},this.addListener=(e,t,s=0)=>this.addListenerAsync(e,(e,s)=>{try{t(e)}catch(o){}return s&&s(e)},s)}}class d extends i{constructor(e,t){super(),this._singleton=t,this._target=void 0,this._inited=!1,this._emitter=this.addDisposable(new n),this._onReceiveMessage=e=>{const t=e.data;if((s=t)&&"object"===typeof s&&e.source==this.target||this._singleton&&function(e,t){return e&&"object"===typeof e&&e.operationId===t}(t,a)){const s=this._emitter.fireAsync(t.operationId||"",void 0===t.operationId?e:t.data),o=t.result,a=t.error;o&&a&&Promise.resolve(s).then(e=>this._sendMessage(o,e),e=>this._sendMessage(a,e))}var s},window.addEventListener("message",this._onReceiveMessage),this.addListener(a,()=>{this._inited||(this._inited=!0,this.send(a))}),e&&this.setTarget(e)}setTarget(e){this._target!==e&&(this._target=e,e&&e.postMessage({operationId:a,data:{}},"*"))}getTarget(){return this._target}get target(){return this._target}_sendMessage(e,t,s=!0){if(!s&&!this.isInited())return;const o=this.addDisposable(this.onInit(s=>{const a=e?{operationId:e,data:t}:t;s.postMessage({...a},"*"),o.dispose()}))}send(e,t,s){return"string"===typeof e?this._sendMessage(e,t,s):this._sendMessage("",e,t)}sendAsync(e,t,s=!0){if(!s&&!this.isInited())return Promise.resolve();const o=r(),a=r();return new Promise((s,r)=>{const n=this.addDisposable(new i);n.addDisposable(this.onInit(i=>{i.postMessage({operationId:e,data:t,result:o,error:a},"*"),n.addDisposable(this._onMessage(o,e=>{s(e),n.dispose()})),n.addDisposable(this._onMessage(a,e=>{r(e),n.dispose()}))}))})}_onMessage(e,t,s=0){return this._emitter.addListener(e,t,s)}addListener(e,t,s){return t?this._onMessage(e,t,s):this._onMessage("",e)}addListenerAsyncPipe(e,t,s=0){return this._emitter.addListenerAsync(e,t,s)}addListenerAsync(e,t,s=0){return this._emitter.addListenerAsync(e,async(e,s)=>{const o=await t(e);return s?s(e):o},s)}isInited(){return this._inited}get inited(){return this._inited}onInit(e,t=!0,s=0){const o=this.addDisposable(new i);return this._inited&&this._target?t&&Promise.resolve().then(()=>{this._inited&&this._target?e(this._target):o.addDisposable(this.onInit(e,t,s))}):o.addDisposable(this._onMessage(a,()=>{e(this._target)},s)),o}dispose(){window.removeEventListener("message",this._onReceiveMessage),super.dispose()}}},97503:(e,t,s)=>{function o(){const e=new Date;return e.valueOf()-60*e.getTimezoneOffset()*1e3}s.d(t,{N:()=>o})},38615:(e,t,s)=>{s.d(t,{Q:()=>n,m:()=>i});var o=s(99182),a=s(82106);function r(e){return`service_container_${e}`}class i extends a.j{constructor(e){super(),this._parent=e,this._injections=Object.create(null),this._emitter=this.addDisposable(new o.v)}inject(e,t,s){if("function"===typeof t){const o=this._injections[e];let a="function"===typeof o?o():o;const r=this._injections[e]=()=>(a=t(this,a),a);s&&r()}else this._injections[e]=()=>t;this._emitter.fire(e)}_find(e){var t;return this._injections[e]||(null===(t=this._parent)||void 0===t?void 0:t._find(e))}_onInject(e,t,s=new a.j){return s.addDisposable(this._emitter.addEventListener(o=>{e===o&&(s.dispose(),t(this.getInstance(o)))})),this._parent&&s.addDisposable(this._parent._onInject(e,t,s)),this.addDisposable(s),s}getInstance(e){const t=this._find(e);if("function"===typeof t)return t()}getOrCreateInstance(e,t){const s=this._find(e);if("function"===typeof s)return s();{const s=t(this);return this.inject(e,s),s}}getInstanceAsync(e){const t=this._find(e);return"function"===typeof t?Promise.resolve(t()):new Promise(t=>this._onInject(e,()=>t(this.getInstance(e))))}addService(e,t){const s=r(e);this.inject(s,(e,s=[])=>s.indexOf(t)<0?[...s,t]:s);const o=new a.j;return o.addDispose(()=>{this.inject(s,(e,s=[])=>s.filter(e=>e!==t))}),o}getServices(e){var t;const s=r(e);return[...this.getInstance(s)||[],...(null===(t=this._parent)||void 0===t?void 0:t.getServices(e))||[]]}createChild(){return new i(this)}dispose(){this._injections=Object.create(null)}}const n=new i},40713:(e,t,s)=>{s.d(t,{Q:()=>a});var o=s(28589);function a(e=(0,o.l)()){return e}},72749:(e,t,s)=>{s.d(t,{My:()=>i,dY:()=>r,if:()=>a});var o=s(38615);const a="INJECTION";function r(e){return e.getState}function i(e){if(r(e)){const t=e.getState()[a];return t&&o.Q.getInstance(t)}return e}},82106:(e,t,s)=>{s.d(t,{j:()=>o});class o{constructor(e=[]){this._inner=e,this._isDisposed=!1}addDisposable(e){return this._inner.push(e),e instanceof o&&e.addDispose(()=>{this.removeDisposable(e)}),e}addDispose(e){this.addDisposable({dispose:e})}removeDisposable(e){const t=this._inner.indexOf(e);t>=0&&this._inner.splice(t,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of[...this._inner])e.dispose()}}}},99182:(e,t,s)=>{s.d(t,{v:()=>a});var o=s(82106);class a extends o.j{constructor(e){super(),this._options=e,this._listeners=[],this.fire=e=>{if(!this.isDisposed()){let t;const s=[...this._listeners];for(const o of s){if(!1===t)return!1;t=t instanceof Promise?t.then(e=>!1!==e&&!this.isDisposed()&&o(e)).catch(e=>{}):o(e)}return t}},this.addEventListener=e=>{const t=this._listeners,s=this._options;var o;(t.push(e),1===t.length)&&((null===(o=this._options)||void 0===o?void 0:o.onFirstListenerAdd)&&this._options.onFirstListenerAdd());return{dispose:()=>{const o=t.indexOf(e);o>=0&&(t.splice(o),t.length||(null===s||void 0===s?void 0:s.onFirstListenerAdd)&&s.onLastListenerRemove())}}},this.event=this.addEventListener}}let r;!function(e){function t(e){let t;const s=new a({onFirstListenerAdd(){t=e(s.fire)},onLastListenerRemove(){t.dispose()}});return s.event}e.snapshot=t,e.filter=function(e,s){return t(t=>e(e=>s(e)&&t(e)))},e.map=function(e,s){return t(t=>e(e=>t(s(e))))}}(r||(r={}))},28589:(e,t,s)=>{function o(){let e=(new Date).getTime(),t="undefined"!==typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(s){let o=16*Math.random();return e>0?(o=(e+o)%16|0,e=Math.floor(e/16)):(o=(t+o)%16|0,t=Math.floor(t/16)),("x"===s?o:3&o|8).toString(16)})}s.d(t,{l:()=>o})},45092:(e,t,s)=>{s.d(t,{CJ:()=>y,eT:()=>_,ft:()=>E,jY:()=>m,mg:()=>l,no:()=>c,qT:()=>d});var o=s(74778),a=s(24524),r=s(40713),i=s(72749);const n=e=>{const t=new FormData,s=(e,t,o)=>{void 0!==t&&null!==t&&(t instanceof Blob?e.append(o,t):Array.isArray(t)?t.forEach((t,a)=>{s(e,t,o?`${o}[${a}]`:`${a}`)}):"object"!==typeof t?e.append(o,String(t)):Object.keys(t).forEach(a=>{const r=t[a];s(e,r,o?`${o}[${a}]`:a)}))};return s(t,e),t};function d(e){for(;e.endsWith("/");)e=e.slice(0,e.length-1);return`${e}/wp-json`}const p={baseUrl:"https://app.useblocks.io/api/wp-json",baseApiParams:{secure:!0,credentials:"same-origin",format:"json"},securityWorker:()=>({credentials:"same-origin"})};p.baseUrl=d("https://app.useblocks.io/api");const _=(0,r.Q)();function h(e){return e.getOrCreateInstance(_,()=>function(e=p){const t=new Map;return{create(s){const a=new o.RQ({...e,...s});return a.contentFormatters["multipart/form-data"]=n,t.set(a,s),a},getOptions:()=>e,setOptions(s){e=s;for(const[o,a]of t)Object.assign(o,{...e,...a})}}}())}function l(e,t={}){return h(e=(0,i.dY)(e)?(0,i.My)(e):e).create(t)}const m=(0,r.Q)(),u=(0,r.Q)(),c=(0,r.Q)(),E=e=>{(e=>{e.inject(c,{execute:async(t,s={})=>{const o=e.getServices(m),a=new Request(t,s);for(const e of o)await e.execute(a);let r=await fetch(a);const i=e.getServices(u);for(const e of i)r=await e.execute(r);return r}})})(e);const t=e.getInstance(c);e.inject(a.Pz,l(e,{customFetch:(null===t||void 0===t?void 0:t.execute)||fetch}))};let y;!function(e){const t="https://racs.rest/v3";e.post=function(e,s){const o={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)};return fetch(`${t}?resource=${e}&dataset=${document.location.hostname}`,o)},e.getAll=async function(e,s=0){const o={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:`{"filter":{},"limit":${s}}`},a=await fetch(`${t}/get?resource=${e}&dataset=${document.location.hostname}`,o);return await a.json()}}(y||(y={}))},48952:(e,t,s)=>{function o(e,t){if(e!==t){if(!e||!t||"object"!==typeof e||"object"!==typeof t)return!1;const s=t instanceof Array;if(e instanceof Array){if(!s)return!1;const a=e.length;if(t.length!==a)return!1;for(let s=0;s<a;s++)if(!o(e[s],t[s]))return!1}else if(s)return!1;const a=Object.keys(e),r=Object.keys(t),i=a.length;if(i!==r.length)return!1;for(let n=0;n<i;n++){const s=a[n];if(!t.hasOwnProperty(s)||!o(e[s],t[s]))return!1}}return!0}s.d(t,{b:()=>o})},70529:(e,t,s)=>{s.d(t,{Cd:()=>n,Ef:()=>p,Lz:()=>i,ax:()=>d,f5:()=>a,sZ:()=>r});var o=s(40713);const a="Not implemented in plugin",r=(0,o.Q)(),i=(0,o.Q)(),n=(0,o.Q)(),d=(0,o.Q)(),p=((0,o.Q)(),(0,o.Q)(),(0,o.Q)())},71902:(e,t,s)=>{s.r(t),s.d(t,{init:()=>b});var o=s(77447),a=s(41278),r=s(21446),i=s(93363),n=s(50548),d=s(61140),p=s(47478),_=s(76132),h=s(9478),l=s(24524),m=s(79652),u=s(93506),c=s(65893),E=s(70529),y=s(82106),f=s(45092),T=s(38615);u.EW.isPlugin=!0,u._P.isEditor=!1;const v=(0,o.E)([p.e,a.Q,_.E,r.F,n.h,i.F,(0,d.X)(()=>Promise.all([s.e(6369),s.e(3158),s.e(426),s.e(5266),s.e(7673),s.e(2336),s.e(5641),s.e(8181),s.e(8363),s.e(9617)]).then(s.bind(s,51751)).then(e=>e.default))]);async function b(e){const t=new y.j,s=await(0,h.x)(e.element,t),o=h.s.get(s);if(o){const t=await o;if(t.getElement()===s)return await t.reset(e)}const a=await async function(){const s=T.Q.createChild();if(e.standaloneKey){s.inject(E.Ef,e.standaloneKey);const o=(0,c.Zc)(s,c.AZ.FILE_PROXY_EVENT_ID);t.addDisposable(o(async({url:e})=>(await fetch(e)).blob(),Number.MIN_VALUE))}s.inject(E.Lz,t),s.inject(l.Zw,new m.Z),(0,f.ft)(s);const o=v(s);return s.inject(E.Cd,o),await o.setOptions(e),(0,c.dB)(s,_.e).fire(o.instance),o.instance}();return s&&h.s.set(s,a),a}},93363:(e,t,s)=>{s.d(t,{F:()=>n});var o=s(24524),a=s(70529),r=s(77447),i=s(45092);const n=(0,r.l)(e=>{let t=!0;return{setOptions(s){if(s.hasOwnProperty("baseUrl")){const o=e.getInstance(i.eT),a=o.getOptions(),r=(0,i.qT)(s.baseUrl);a.baseUrl!==r&&(o.setOptions({baseUrl:r}),t=!0)}if(t){if(!e.getInstance(a.Ef)){const t=e.getInstance(o.Pz);e.inject(a.sZ,async(e,s)=>s||t.app.app_init_create({}).then(({data:e})=>e),!0)}t=!1}}}})},21446:(e,t,s)=>{s.d(t,{F:()=>h});var o=s(74778),a=s(4799),r=s(77447),i=s(93506),n=s(40713),d=s(45092);const p=(0,n.Q)(),_=(0,n.Q)(),h=(0,r.l)(e=>({setOptions(t){const s=(0,a.y)(),r=(0,d.mg)(e);e.addService(d.jY,{execute:s.decorate(async s=>{if(t.jwtAuth){let a=e.getInstance(p),n=e.getInstance(_);if(!n&&!a){const s=await r.jwtAuth.token_create({body:t.jwtAuth,type:o.cM.Json});if(s.error)throw n=i.ff,e.inject(_,i.ff),new Error(i.ff);a=s.data.token,e.inject(p,a)}n||s.headers.append("authorization",`Bearer ${a}`)}})})}}))},50548:(e,t,s)=>{s.d(t,{Y:()=>p,h:()=>_});var o=s(51171),a=s(77447),r=s(97503),i=s(45092),n=s(40713),d=s(48952);const p=(0,n.Q)(),_=(0,a.l)(e=>{let t,s,a;e.addService(i.jY,{execute:async s=>{if(t){const t=await e.getInstanceAsync(p);t&&s.headers.append("authorization",`Bearer ${t}`)}}});return{setOptions(i){const n=!(0,d.b)(s,i.user),_=a!==i.project;var h,l;(t!==i.getAuthToken||n||_)&&(t=i.getAuthToken,s=i.user,a=i.project,h=i.user,l=i.project,e.inject(p,void 0),e.inject(p,async(e,s)=>{try{let e;var a;return s&&(e=await s),t?!e||1e3*(null===(a=(0,o.A)(e))||void 0===a?void 0:a.exp)<=(0,r.N)()?await t(h,l,e):e:""}catch(i){return""}},!0))}}})},77447:(e,t,s)=>{function o(e){return function(t){return{setOptions:()=>{},instance:{},dispose:()=>{},...e(t)||{}}}}function a(e){return t=>{const s={},o=[];for(const a of e)o.push(a(t));for(const e of o)Object.assign(s,e.instance);return{instance:s,setOptions:async e=>{for(const t of o)await t.setOptions(e)},dispose:()=>{for(const e of o)e.dispose()}}}}s.d(t,{E:()=>a,l:()=>o})},61140:(e,t,s)=>{s.d(t,{X:()=>r,y:()=>a});var o=s(70529);function a(e){return t=>{let s=null,a=!1;return{async setOptions(r){if(!s&&!a){s=await e(t);const a=await t.getInstanceAsync(o.Cd);Object.assign(a.instance,s.instance||{})}s.setOptions&&await s.setOptions(r)},instance:{},dispose(){var e,t;null!==(e=s)&&void 0!==e&&e.dispose&&(null===(t=s)||void 0===t||t.dispose());a=!0}}}}function r(e){return a(async t=>(await e(t))(t))}},47478:(e,t,s)=>{s.d(t,{e:()=>n});var o=s(77447),a=s(59059),r=s(70529),i=s(36255);const n=(0,o.l)(e=>{const t=e.getInstance(r.Lz),s=new a.vl,o=(0,i.m)(s.event);t.addDispose(()=>{const t=e.getInstance(r.Cd);s.fire(t.instance)});const n=t.addDisposable(new i.U(o));return t.addDisposable(s),{setOptions({handleDestroy:e}){n.setListener(e)},instance:{handleDestroy:o,destroy:()=>t.dispose()}}})},76132:(e,t,s)=>{s.d(t,{E:()=>d,e:()=>n});var o=s(77447),a=s(70529),r=s(36255),i=s(65893);const n=(0,i.cZ)("APP_LOAD_EVENT"),d=(0,o.l)(e=>{const t=e.getInstance(a.Lz),s=(0,i.Zc)(e,n),o=(0,r.m)(s),d=new Promise((e,o)=>{const a=t.addDisposable(s(t=>{a.dispose(),e(t)}))}),p=t.addDisposable(new r.U(o));return{setOptions({handleLoad:e}){p.setListener(e)},instance:{handleLoad:o,reset:t=>d.then(s=>{const o=e.getInstance(a.Cd);return null!==o&&void 0!==o&&o.setOptions?Promise.resolve(o.setOptions(t)).then(()=>s):s})},destroy:()=>t.dispose()}})},41278:(e,t,s)=>{s.d(t,{Q:()=>d});var o=s(77447),a=s(70529),r=s(9478),i=s(65893),n=s(82106);const d=(0,o.l)(e=>{const t=e.getInstance(a.Lz),s=(0,i.Zc)(e,i.AZ.ON_CHUNKS_LOADED),o=t.addDisposable(new n.j);return s(()=>{o.dispose()}),{setOptions({initialSpinner:e,element:s}){if(!o.isDisposed()&&!1!==e){const e=e=>{if(!o.isDisposed()&&e){var t;const s=document.createElement("div");s.classList.add("blocks-app-initial-spinner-wrapper");const a=document.createElement("div");a.classList.add("blocks-app-initial-spinner"),s.appendChild(a);const r=document.createElement("style");r.setAttribute("data-useblocks","true"),r.textContent="\n.blocks-app-initial-spinner-wrapper {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.blocks-app-initial-spinner {\n width: 28px;\n height: 28px;\n border: 4px solid rgb(231 212 228 / 100%);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation_loader 1s linear infinite;\n will-change: transform;\n border-bottom-color: transparent;\n}\n\n@keyframes rotation_loader {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}",null===(t=document.head)||void 0===t||t.appendChild(r),e.appendChild(s),o.addDispose(()=>{s.remove(),r.remove()})}},a=(0,r.x)(s,t);a instanceof Promise?a.then(e).catch(e=>{}):e(a)}},instance:{}}})},51171:(e,t,s)=>{function o(e){const[t,s,o]=e.split("."),a=JSON.parse(function(e){const t=e.replace(/-/g,"+").replace(/_/g,"/").padEnd(e.length+(4-e.length%4)%4,"="),s=atob(t),o=new Uint8Array(s.length);for(let a=0;a<s.length;a++)o[a]=s.charCodeAt(a);return(new TextDecoder).decode(o)}(s));return{exp:a.exp,createdAt:a.iat,data:a}}s.d(t,{A:()=>o})},59059:(e,t,s)=>{s.d(t,{HN:()=>_,IO:()=>r,P9:()=>i,lt:()=>l,pb:()=>d,sg:()=>p,vl:()=>h});var o=s(82106);class a extends o.j{constructor(...e){super(...e),this._listeners=[],this.event=this._addListener.bind(this)}getListeners(e){return this._listeners.flatMap(([t])=>"function"===typeof t?t:t.getListeners(e))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,s){if(!this.isDisposed()){const o=this._listeners;s&&"function"===typeof e&&(e=e.bind(s));const a=o.findIndex(([e,s])=>t<s),r=[e,t];return o.splice(a>=0?a:o.length,0,r),{dispose(){const e=o.indexOf(r);e>=0&&o.splice(e,1)}}}}dispose(){this._listeners.splice(0,this._listeners.length),super.dispose()}}class r extends a{constructor(...e){super(...e),this.fire=this._fire.bind(this)}execute(e,t){for(const o of t)try{o(...e)}catch(s){}}_fire(...e){if(!this.isDisposed()){const t=this.execute(e,this.getListeners(e));return"undefined"===typeof t?void 0:t}}}function i(e,t=0){const s=new a;return s.addDisposable(e(s,t)),s.event}class n extends a{constructor(e){super(),this._filter=e}getListeners(e){return this._filter(...e)?super.getListeners(e):[]}}function d(e,t,s=0){const o=new n(t);return o.addDisposable(e(o,s)),o.event}function p(e,t=0,s=0){const o=new r;let a,i=0;return o.addDisposable(e((...e)=>{a=e,i||(i=setTimeout(()=>{o.fire(...a),i=0},t))},s)),o.event}class _ extends r{constructor(...e){super(...e),this._suspendCounter=0,this._wasFired=!1}proccessResult(){}execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(const o of t)try{o(e)}catch(s){}}suspend(){this._suspendCounter++}resume(){0===--this._suspendCounter&&(this._wasFired&&this.fire(),this._wasFired=!1)}}class h extends r{execute([e],t){for(const o of t)try{o(e)}catch(s){}}}class l extends r{async execute([e],t){const s=[];for(const o of t){const t=await o(e);s.push(t)}return s}}},79652:(e,t,s)=>{s.d(t,{Z:()=>o});class o{constructor(){this._storage=Object.create(null)}get(e){const t=this._storage[e];return t&&(!t.expires||t.expires<Date.now())?t.value:""}set(e,t,s){this._storage[e]={value:t,expires:s.expires?1e3*s.expires+Date.now():void 0}}remove(e){delete this._storage[e]}}},36255:(e,t,s)=>{s.d(t,{U:()=>r,m:()=>i});var o=s(82106),a=s(59059);class r extends o.j{constructor(e){super(),this._event=e,this._listener=void 0,this._disposeEvent=void 0}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),this._disposeEvent=e?this._event(e):void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}}function i(e,t,s){const o=(0,a.P9)(e);return(e,a,r)=>{const i=o(async o=>{const a=t?t(o):o;r&&e.bind(r);const i=await e(a);return s?s(i):i},a,r);return()=>i.dispose()}}},4799:(e,t,s)=>{s.d(t,{y:()=>o});const o=e=>{const t={current:Promise.resolve(),state:e,decorate:(e,s)=>(s&&(e=e.bind(s)),function(...s){const o=t.current.then(()=>e(...s));return t.current=o.then(e=>{t.state=e},e=>{}),o})};return t}},9478:(e,t,s)=>{s.d(t,{s:()=>r,x:()=>a});var o=s(82106);function a(e,t){if("undefined"!==typeof e){if("string"===typeof e){if(e=document.querySelector(e))return e;const s=t.addDisposable(new o.j);return new Promise((t,o)=>{const a=new MutationObserver(()=>{(e=document.querySelector(e))&&(s.dispose(),t(e))});a.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),s.addDisposable({dispose:()=>a.disconnect()})})}return e}return e}const r=new Map}}]);
2
+ //# sourceMappingURL=1902.7b351f26.js.map