@emailmaker/emailmaker 1.0.32 → 1.0.33

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 (390) hide show
  1. package/README.md +1 -1
  2. package/iframe/{iframe-eblock.eefae9b7403d0fa06227.html → iframe-eblock.a8bef4943d19ed8120eb.html} +1 -1
  3. package/iframe/{iframe.eefae9b7403d0fa06227.html → iframe.a8bef4943d19ed8120eb.html} +1 -1
  4. package/iframe/js/cssbeautify.js +1 -1
  5. package/iframe/sandbox-eblock.js +1 -1
  6. package/iframe/sandbox.js +1 -1
  7. package/package.json +1 -1
  8. package/asset-manifest.json +0 -373
  9. package/css.worker.js +0 -2
  10. package/css.worker.js.LICENSE.txt +0 -6
  11. package/editor.worker.js +0 -1
  12. package/emailmaker-esm.js +0 -1
  13. package/emailmaker.d.ts +0 -1055
  14. package/emailmaker.js +0 -1
  15. package/html.worker.js +0 -2
  16. package/html.worker.js.LICENSE.txt +0 -14
  17. package/json.worker.js +0 -2
  18. package/json.worker.js.LICENSE.txt +0 -6
  19. package/plugin.html +0 -273
  20. package/plugin_blocks_test.html +0 -144
  21. package/plugin_default.html +0 -56
  22. package/plugin_s.html +0 -31
  23. package/static/css/1795.3b54559d.css +0 -1
  24. package/static/css/2256.d0db3199.css +0 -1
  25. package/static/css/3215.3a2b7cfe.css +0 -1
  26. package/static/css/4877.237f7f6b.css +0 -1
  27. package/static/css/5571.4415a91e.css +0 -1
  28. package/static/css/698.9a48c3be.css +0 -1
  29. package/static/css/984.b0f773d2.css +0 -1
  30. package/static/js/1028.4360e11f.js +0 -1
  31. package/static/js/1052.d1f85a29.js +0 -1
  32. package/static/js/1101.c32ce4f7.chunk.js +0 -2
  33. package/static/js/1101.c32ce4f7.chunk.js.LICENSE.txt +0 -6
  34. package/static/js/119.9a0f51df.chunk.js +0 -2
  35. package/static/js/119.9a0f51df.chunk.js.LICENSE.txt +0 -6
  36. package/static/js/1197.7e9444b1.js +0 -1
  37. package/static/js/1212.15b852ca.js +0 -1
  38. package/static/js/127.9f5a0761.chunk.js +0 -2
  39. package/static/js/127.9f5a0761.chunk.js.LICENSE.txt +0 -6
  40. package/static/js/1271.d2ba7d58.chunk.js +0 -2
  41. package/static/js/1271.d2ba7d58.chunk.js.LICENSE.txt +0 -6
  42. package/static/js/1283.b7058deb.chunk.js +0 -2
  43. package/static/js/1283.b7058deb.chunk.js.LICENSE.txt +0 -6
  44. package/static/js/1307.74cb7b10.js +0 -1
  45. package/static/js/1366.f647b62f.js +0 -2
  46. package/static/js/1366.f647b62f.js.LICENSE.txt +0 -6
  47. package/static/js/1399.cb6eb2fa.js +0 -1
  48. package/static/js/1403.68211890.js +0 -1
  49. package/static/js/1472.c8712709.js +0 -1
  50. package/static/js/1619.bb9c2d4f.chunk.js +0 -2
  51. package/static/js/1619.bb9c2d4f.chunk.js.LICENSE.txt +0 -6
  52. package/static/js/1663.cd15901b.chunk.js +0 -2
  53. package/static/js/1663.cd15901b.chunk.js.LICENSE.txt +0 -6
  54. package/static/js/1667.101647da.js +0 -1
  55. package/static/js/1729.b71e4a99.chunk.js +0 -1
  56. package/static/js/1792.f185436f.js +0 -1
  57. package/static/js/1795.a481592d.js +0 -1
  58. package/static/js/1818.053eb89f.chunk.js +0 -2
  59. package/static/js/1818.053eb89f.chunk.js.LICENSE.txt +0 -6
  60. package/static/js/1821.a8efb62e.chunk.js +0 -2
  61. package/static/js/1821.a8efb62e.chunk.js.LICENSE.txt +0 -6
  62. package/static/js/197.a135382e.js +0 -1
  63. package/static/js/2016.e08ef9ce.js +0 -1
  64. package/static/js/2029.041a1c1a.chunk.js +0 -2
  65. package/static/js/2029.041a1c1a.chunk.js.LICENSE.txt +0 -6
  66. package/static/js/2179.73130a54.chunk.js +0 -2
  67. package/static/js/2179.73130a54.chunk.js.LICENSE.txt +0 -6
  68. package/static/js/222.280bf6b3.js +0 -1
  69. package/static/js/2223.17806e9a.js +0 -2
  70. package/static/js/2223.17806e9a.js.LICENSE.txt +0 -10
  71. package/static/js/2225.d78bdfb7.js +0 -1
  72. package/static/js/2256.225fba63.js +0 -1
  73. package/static/js/227.5fd33eeb.chunk.js +0 -2
  74. package/static/js/227.5fd33eeb.chunk.js.LICENSE.txt +0 -10
  75. package/static/js/2464.2c009f8c.js +0 -2
  76. package/static/js/2464.2c009f8c.js.LICENSE.txt +0 -6
  77. package/static/js/2475.c86d0c20.chunk.js +0 -2
  78. package/static/js/2475.c86d0c20.chunk.js.LICENSE.txt +0 -6
  79. package/static/js/2547.9cdcf5fd.chunk.js +0 -2
  80. package/static/js/2547.9cdcf5fd.chunk.js.LICENSE.txt +0 -6
  81. package/static/js/2581.4558746b.chunk.js +0 -2
  82. package/static/js/2581.4558746b.chunk.js.LICENSE.txt +0 -6
  83. package/static/js/2582.d77da683.js +0 -2
  84. package/static/js/2582.d77da683.js.LICENSE.txt +0 -31
  85. package/static/js/2642.53da04d8.js +0 -1
  86. package/static/js/2675.dbe09fe1.chunk.js +0 -2
  87. package/static/js/2675.dbe09fe1.chunk.js.LICENSE.txt +0 -6
  88. package/static/js/2851.fea52359.chunk.js +0 -2
  89. package/static/js/2851.fea52359.chunk.js.LICENSE.txt +0 -6
  90. package/static/js/2896.fac80e3c.js +0 -2
  91. package/static/js/2896.fac80e3c.js.LICENSE.txt +0 -6
  92. package/static/js/2935.c0d4b469.chunk.js +0 -2
  93. package/static/js/2935.c0d4b469.chunk.js.LICENSE.txt +0 -6
  94. package/static/js/2951.3f25f72c.chunk.js +0 -2
  95. package/static/js/2951.3f25f72c.chunk.js.LICENSE.txt +0 -6
  96. package/static/js/3041.e05fa027.js +0 -1
  97. package/static/js/3068.591718b0.chunk.js +0 -2
  98. package/static/js/3068.591718b0.chunk.js.LICENSE.txt +0 -6
  99. package/static/js/3142.6792174f.js +0 -1
  100. package/static/js/3148.2e2f27ce.js +0 -1
  101. package/static/js/3299.983ba49b.chunk.js +0 -2
  102. package/static/js/3299.983ba49b.chunk.js.LICENSE.txt +0 -6
  103. package/static/js/3303.576ded0e.js +0 -1
  104. package/static/js/3447.2a559817.chunk.js +0 -2
  105. package/static/js/3447.2a559817.chunk.js.LICENSE.txt +0 -6
  106. package/static/js/353.3e6b29fb.js +0 -1
  107. package/static/js/3555.3ae2b597.chunk.js +0 -2
  108. package/static/js/3555.3ae2b597.chunk.js.LICENSE.txt +0 -6
  109. package/static/js/3651.8f2624f3.js +0 -1
  110. package/static/js/3682.d155b110.js +0 -2
  111. package/static/js/3682.d155b110.js.LICENSE.txt +0 -18
  112. package/static/js/3683.9414adf5.chunk.js +0 -2
  113. package/static/js/3683.9414adf5.chunk.js.LICENSE.txt +0 -6
  114. package/static/js/3704.aef08abb.js +0 -1
  115. package/static/js/3763.5f775790.chunk.js +0 -2
  116. package/static/js/3763.5f775790.chunk.js.LICENSE.txt +0 -6
  117. package/static/js/3768.f13fcea4.js +0 -1
  118. package/static/js/393.2f571faf.chunk.js +0 -2
  119. package/static/js/393.2f571faf.chunk.js.LICENSE.txt +0 -6
  120. package/static/js/3960.89f3c9f4.chunk.js +0 -2
  121. package/static/js/3960.89f3c9f4.chunk.js.LICENSE.txt +0 -6
  122. package/static/js/3991.d0073826.js +0 -1
  123. package/static/js/4001.0602b191.chunk.js +0 -2
  124. package/static/js/4001.0602b191.chunk.js.LICENSE.txt +0 -6
  125. package/static/js/4047.25747214.chunk.js +0 -2
  126. package/static/js/4047.25747214.chunk.js.LICENSE.txt +0 -6
  127. package/static/js/4087.48b614cb.js +0 -1
  128. package/static/js/4122.efa76a71.js +0 -1
  129. package/static/js/4159.cd6afba9.chunk.js +0 -2
  130. package/static/js/4159.cd6afba9.chunk.js.LICENSE.txt +0 -6
  131. package/static/js/4231.0dca1f81.js +0 -1
  132. package/static/js/4299.440bc3d2.chunk.js +0 -2
  133. package/static/js/4299.440bc3d2.chunk.js.LICENSE.txt +0 -6
  134. package/static/js/4325.e27cebb3.chunk.js +0 -2
  135. package/static/js/4325.e27cebb3.chunk.js.LICENSE.txt +0 -6
  136. package/static/js/4384.d7dc931a.js +0 -2
  137. package/static/js/4384.d7dc931a.js.LICENSE.txt +0 -15
  138. package/static/js/4417.4b3f75b4.chunk.js +0 -2
  139. package/static/js/4417.4b3f75b4.chunk.js.LICENSE.txt +0 -6
  140. package/static/js/4498.0767c1ee.js +0 -1
  141. package/static/js/451.d254d20c.chunk.js +0 -2
  142. package/static/js/451.d254d20c.chunk.js.LICENSE.txt +0 -6
  143. package/static/js/4627.cedc745b.chunk.js +0 -2
  144. package/static/js/4627.cedc745b.chunk.js.LICENSE.txt +0 -6
  145. package/static/js/4805.1ac956f6.js +0 -1
  146. package/static/js/4845.c3ae91f2.js +0 -1
  147. package/static/js/4867.ae5eb9c0.chunk.js +0 -2
  148. package/static/js/4867.ae5eb9c0.chunk.js.LICENSE.txt +0 -6
  149. package/static/js/4877.6ed62a0e.js +0 -1
  150. package/static/js/51.0157cb43.chunk.js +0 -2
  151. package/static/js/51.0157cb43.chunk.js.LICENSE.txt +0 -6
  152. package/static/js/515.16219a24.js +0 -2
  153. package/static/js/515.16219a24.js.LICENSE.txt +0 -6
  154. package/static/js/5243.c58a8a21.chunk.js +0 -2
  155. package/static/js/5243.c58a8a21.chunk.js.LICENSE.txt +0 -6
  156. package/static/js/5315.1a03f762.chunk.js +0 -2
  157. package/static/js/5315.1a03f762.chunk.js.LICENSE.txt +0 -6
  158. package/static/js/5319.92df1268.js +0 -1
  159. package/static/js/5339.df02c3e0.chunk.js +0 -2
  160. package/static/js/5339.df02c3e0.chunk.js.LICENSE.txt +0 -6
  161. package/static/js/5445.7db0b349.chunk.js +0 -2
  162. package/static/js/5445.7db0b349.chunk.js.LICENSE.txt +0 -6
  163. package/static/js/5475.dc9057be.chunk.js +0 -2
  164. package/static/js/5475.dc9057be.chunk.js.LICENSE.txt +0 -6
  165. package/static/js/5491.d8b1b7b0.chunk.js +0 -2
  166. package/static/js/5491.d8b1b7b0.chunk.js.LICENSE.txt +0 -6
  167. package/static/js/5497.a3910de2.js +0 -1
  168. package/static/js/5571.11726031.js +0 -1
  169. package/static/js/577.ca8a62c4.chunk.js +0 -2
  170. package/static/js/577.ca8a62c4.chunk.js.LICENSE.txt +0 -6
  171. package/static/js/5796.4b4a1748.js +0 -2
  172. package/static/js/5796.4b4a1748.js.LICENSE.txt +0 -1
  173. package/static/js/5853.ce87dead.chunk.js +0 -2
  174. package/static/js/5853.ce87dead.chunk.js.LICENSE.txt +0 -6
  175. package/static/js/5873.5fdbcd6c.js +0 -1
  176. package/static/js/5916.3a56abae.js +0 -1
  177. package/static/js/5923.e8e7b96d.chunk.js +0 -2
  178. package/static/js/5923.e8e7b96d.chunk.js.LICENSE.txt +0 -6
  179. package/static/js/5927.4afcefc8.chunk.js +0 -1
  180. package/static/js/5957.d2ad88af.js +0 -2
  181. package/static/js/5957.d2ad88af.js.LICENSE.txt +0 -9
  182. package/static/js/5974.9d34d7d3.js +0 -1
  183. package/static/js/6021.7f32cea2.chunk.js +0 -2
  184. package/static/js/6021.7f32cea2.chunk.js.LICENSE.txt +0 -6
  185. package/static/js/6051.6cefb17a.chunk.js +0 -2
  186. package/static/js/6051.6cefb17a.chunk.js.LICENSE.txt +0 -6
  187. package/static/js/6075.38c621ae.chunk.js +0 -2
  188. package/static/js/6075.38c621ae.chunk.js.LICENSE.txt +0 -6
  189. package/static/js/6083.0ef791dc.chunk.js +0 -2
  190. package/static/js/6083.0ef791dc.chunk.js.LICENSE.txt +0 -6
  191. package/static/js/6091.804a3e5a.js +0 -2
  192. package/static/js/6091.804a3e5a.js.LICENSE.txt +0 -6
  193. package/static/js/6133.0da38de9.js +0 -1
  194. package/static/js/6154.eda7a5eb.js +0 -1
  195. package/static/js/6161.6a73be6e.chunk.js +0 -2
  196. package/static/js/6161.6a73be6e.chunk.js.LICENSE.txt +0 -6
  197. package/static/js/6242.14f46d39.js +0 -2
  198. package/static/js/6242.14f46d39.js.LICENSE.txt +0 -43
  199. package/static/js/6275.19545c93.chunk.js +0 -2
  200. package/static/js/6275.19545c93.chunk.js.LICENSE.txt +0 -6
  201. package/static/js/6300.1ed0e3a4.js +0 -1
  202. package/static/js/6547.377fc02b.chunk.js +0 -2
  203. package/static/js/6547.377fc02b.chunk.js.LICENSE.txt +0 -6
  204. package/static/js/6567.cad55045.js +0 -1
  205. package/static/js/6643.1eb62a36.chunk.js +0 -2
  206. package/static/js/6643.1eb62a36.chunk.js.LICENSE.txt +0 -6
  207. package/static/js/6691.1ee2f23b.chunk.js +0 -2
  208. package/static/js/6691.1ee2f23b.chunk.js.LICENSE.txt +0 -6
  209. package/static/js/6701.8bd3807d.chunk.js +0 -2
  210. package/static/js/6701.8bd3807d.chunk.js.LICENSE.txt +0 -6
  211. package/static/js/6739.22d13837.chunk.js +0 -2
  212. package/static/js/6739.22d13837.chunk.js.LICENSE.txt +0 -6
  213. package/static/js/687.147e9138.js +0 -1
  214. package/static/js/6915.e4ede32f.chunk.js +0 -2
  215. package/static/js/6915.e4ede32f.chunk.js.LICENSE.txt +0 -6
  216. package/static/js/698.aebcf9cd.js +0 -1
  217. package/static/js/7018.f481e3a0.js +0 -1
  218. package/static/js/7051.c0c7cf26.chunk.js +0 -2
  219. package/static/js/7051.c0c7cf26.chunk.js.LICENSE.txt +0 -6
  220. package/static/js/7059.9c893bc0.chunk.js +0 -2
  221. package/static/js/7059.9c893bc0.chunk.js.LICENSE.txt +0 -6
  222. package/static/js/7187.7e67eebe.chunk.js +0 -2
  223. package/static/js/7187.7e67eebe.chunk.js.LICENSE.txt +0 -6
  224. package/static/js/721.4c6f728a.chunk.js +0 -2
  225. package/static/js/721.4c6f728a.chunk.js.LICENSE.txt +0 -6
  226. package/static/js/7471.fe46efd9.js +0 -1
  227. package/static/js/7533.a49f7784.js +0 -1
  228. package/static/js/7635.9d5d1322.chunk.js +0 -2
  229. package/static/js/7635.9d5d1322.chunk.js.LICENSE.txt +0 -6
  230. package/static/js/7698.f82d28d4.js +0 -1
  231. package/static/js/7779.0d221377.chunk.js +0 -2
  232. package/static/js/7779.0d221377.chunk.js.LICENSE.txt +0 -6
  233. package/static/js/7795.c0e8c528.chunk.js +0 -2
  234. package/static/js/7795.c0e8c528.chunk.js.LICENSE.txt +0 -6
  235. package/static/js/7824.e0daa1f7.chunk.js +0 -1
  236. package/static/js/7963.a4acc856.chunk.js +0 -2
  237. package/static/js/7963.a4acc856.chunk.js.LICENSE.txt +0 -6
  238. package/static/js/8003.a4a62303.chunk.js +0 -2
  239. package/static/js/8003.a4a62303.chunk.js.LICENSE.txt +0 -6
  240. package/static/js/8015.b608b9db.chunk.js +0 -2
  241. package/static/js/8015.b608b9db.chunk.js.LICENSE.txt +0 -6
  242. package/static/js/8030.0b457006.js +0 -1
  243. package/static/js/8075.bea74e99.js +0 -1
  244. package/static/js/8179.acf16a1a.chunk.js +0 -1
  245. package/static/js/823.48325ac1.js +0 -2
  246. package/static/js/823.48325ac1.js.LICENSE.txt +0 -7
  247. package/static/js/8236.bdefaa6b.js +0 -2
  248. package/static/js/8236.bdefaa6b.js.LICENSE.txt +0 -42
  249. package/static/js/8309.7e81b18b.js +0 -1
  250. package/static/js/8319.7ea4b259.chunk.js +0 -2
  251. package/static/js/8319.7ea4b259.chunk.js.LICENSE.txt +0 -6
  252. package/static/js/8345.e3795419.js +0 -1
  253. package/static/js/851.23920710.chunk.js +0 -2
  254. package/static/js/851.23920710.chunk.js.LICENSE.txt +0 -6
  255. package/static/js/8671.6a83db75.js +0 -1
  256. package/static/js/8679.f65e4d91.chunk.js +0 -2
  257. package/static/js/8679.f65e4d91.chunk.js.LICENSE.txt +0 -6
  258. package/static/js/8689.5fdcff24.chunk.js +0 -1
  259. package/static/js/8694.60896e26.js +0 -1
  260. package/static/js/8696.301b3f9b.js +0 -1
  261. package/static/js/8738.3ba7b2e7.js +0 -2
  262. package/static/js/8738.3ba7b2e7.js.LICENSE.txt +0 -87
  263. package/static/js/8740.a2a83fd4.js +0 -1
  264. package/static/js/8779.f6f8b6f7.chunk.js +0 -2
  265. package/static/js/8779.f6f8b6f7.chunk.js.LICENSE.txt +0 -6
  266. package/static/js/883.616a487d.chunk.js +0 -2
  267. package/static/js/883.616a487d.chunk.js.LICENSE.txt +0 -6
  268. package/static/js/8879.10db9af5.js +0 -2
  269. package/static/js/8879.10db9af5.js.LICENSE.txt +0 -86
  270. package/static/js/8881.ce638df9.chunk.js +0 -2
  271. package/static/js/8881.ce638df9.chunk.js.LICENSE.txt +0 -6
  272. package/static/js/8911.8253711c.chunk.js +0 -2
  273. package/static/js/8911.8253711c.chunk.js.LICENSE.txt +0 -6
  274. package/static/js/9005.62fb383a.chunk.js +0 -2
  275. package/static/js/9005.62fb383a.chunk.js.LICENSE.txt +0 -6
  276. package/static/js/9019.7efd13af.js +0 -2
  277. package/static/js/9019.7efd13af.js.LICENSE.txt +0 -96
  278. package/static/js/9055.1f85af27.js +0 -1
  279. package/static/js/9061.3366c9e5.js +0 -1
  280. package/static/js/9101.08739c9d.js +0 -1
  281. package/static/js/9267.67d8f2bb.chunk.js +0 -2
  282. package/static/js/9267.67d8f2bb.chunk.js.LICENSE.txt +0 -6
  283. package/static/js/9328.74394e00.js +0 -1
  284. package/static/js/9603.4321e1c5.chunk.js +0 -2
  285. package/static/js/9603.4321e1c5.chunk.js.LICENSE.txt +0 -6
  286. package/static/js/9649.ff98467b.js +0 -1
  287. package/static/js/9653.3c3fd842.js +0 -1
  288. package/static/js/9763.2e0a4d2d.chunk.js +0 -2
  289. package/static/js/9763.2e0a4d2d.chunk.js.LICENSE.txt +0 -6
  290. package/static/js/9796.52daf89f.js +0 -1
  291. package/static/js/9878.cca6854e.js +0 -2
  292. package/static/js/9878.cca6854e.js.LICENSE.txt +0 -8
  293. package/static/js/9898.93cc5558.chunk.js +0 -2
  294. package/static/js/9898.93cc5558.chunk.js.LICENSE.txt +0 -6
  295. package/static/js/9907.c26468b0.js +0 -1
  296. package/static/js/9935.52cd750c.chunk.js +0 -2
  297. package/static/js/9935.52cd750c.chunk.js.LICENSE.txt +0 -6
  298. package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +0 -1
  299. package/static/js/ant-locale/locale1.5b1308da.chunk.js +0 -1
  300. package/static/js/ant-locale/locale10.f74ae841.chunk.js +0 -1
  301. package/static/js/ant-locale/locale11.cf703a34.chunk.js +0 -1
  302. package/static/js/ant-locale/locale13.9bcbe954.chunk.js +0 -1
  303. package/static/js/ant-locale/locale14.138842ea.chunk.js +0 -1
  304. package/static/js/ant-locale/locale15.e80eb12a.chunk.js +0 -1
  305. package/static/js/ant-locale/locale16.49bc0148.chunk.js +0 -1
  306. package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +0 -1
  307. package/static/js/ant-locale/locale18.f9e62843.chunk.js +0 -1
  308. package/static/js/ant-locale/locale19.c98c053a.chunk.js +0 -1
  309. package/static/js/ant-locale/locale2.b54c0d79.chunk.js +0 -1
  310. package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +0 -1
  311. package/static/js/ant-locale/locale21.7764c4b3.chunk.js +0 -1
  312. package/static/js/ant-locale/locale22.5cbb9959.chunk.js +0 -1
  313. package/static/js/ant-locale/locale23.2342f692.chunk.js +0 -1
  314. package/static/js/ant-locale/locale24.3c622cfa.chunk.js +0 -1
  315. package/static/js/ant-locale/locale25.7658de4e.chunk.js +0 -1
  316. package/static/js/ant-locale/locale26.b7e751bd.chunk.js +0 -1
  317. package/static/js/ant-locale/locale27.a47676d9.chunk.js +0 -1
  318. package/static/js/ant-locale/locale28.c89eee28.chunk.js +0 -1
  319. package/static/js/ant-locale/locale3.48f0afe7.chunk.js +0 -1
  320. package/static/js/ant-locale/locale30.4d3672db.chunk.js +0 -1
  321. package/static/js/ant-locale/locale31.406215d5.chunk.js +0 -1
  322. package/static/js/ant-locale/locale32.6167b5e8.chunk.js +0 -1
  323. package/static/js/ant-locale/locale33.4be05b3c.chunk.js +0 -1
  324. package/static/js/ant-locale/locale34.3813ab2f.chunk.js +0 -1
  325. package/static/js/ant-locale/locale35.d58b9c31.chunk.js +0 -1
  326. package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +0 -1
  327. package/static/js/ant-locale/locale37.1c16e25b.chunk.js +0 -1
  328. package/static/js/ant-locale/locale38.dfa6d712.chunk.js +0 -1
  329. package/static/js/ant-locale/locale39.31c90381.chunk.js +0 -1
  330. package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +0 -1
  331. package/static/js/ant-locale/locale40.fe7ab935.chunk.js +0 -1
  332. package/static/js/ant-locale/locale41.4dee0621.chunk.js +0 -1
  333. package/static/js/ant-locale/locale42.7061d0fc.chunk.js +0 -1
  334. package/static/js/ant-locale/locale43.b3c810a8.chunk.js +0 -1
  335. package/static/js/ant-locale/locale44.df0a5a76.chunk.js +0 -1
  336. package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +0 -1
  337. package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +0 -1
  338. package/static/js/ant-locale/locale47.b84733ce.chunk.js +0 -1
  339. package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +0 -1
  340. package/static/js/ant-locale/locale49.c67382b7.chunk.js +0 -1
  341. package/static/js/ant-locale/locale5.b2b61134.chunk.js +0 -1
  342. package/static/js/ant-locale/locale50.6520fd45.chunk.js +0 -1
  343. package/static/js/ant-locale/locale51.9b89fb56.chunk.js +0 -1
  344. package/static/js/ant-locale/locale52.11d21631.chunk.js +0 -1
  345. package/static/js/ant-locale/locale53.cea142dd.chunk.js +0 -1
  346. package/static/js/ant-locale/locale54.16ef125d.chunk.js +0 -1
  347. package/static/js/ant-locale/locale55.b1a653c1.chunk.js +0 -1
  348. package/static/js/ant-locale/locale56.83c76bd5.chunk.js +0 -1
  349. package/static/js/ant-locale/locale57.e685764a.chunk.js +0 -1
  350. package/static/js/ant-locale/locale58.d003f49e.chunk.js +0 -1
  351. package/static/js/ant-locale/locale59.556522b5.chunk.js +0 -1
  352. package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +0 -1
  353. package/static/js/ant-locale/locale61.30fe9720.chunk.js +0 -1
  354. package/static/js/ant-locale/locale62.b21e6edb.chunk.js +0 -1
  355. package/static/js/ant-locale/locale63.8e66417e.chunk.js +0 -1
  356. package/static/js/ant-locale/locale64.fdae6858.chunk.js +0 -1
  357. package/static/js/ant-locale/locale65.58003560.chunk.js +0 -1
  358. package/static/js/ant-locale/locale66.94ea41f2.chunk.js +0 -1
  359. package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +0 -1
  360. package/static/js/ant-locale/locale69.27295717.chunk.js +0 -1
  361. package/static/js/ant-locale/locale7.1509b3e0.chunk.js +0 -1
  362. package/static/js/ant-locale/locale70.964bc038.chunk.js +0 -1
  363. package/static/js/ant-locale/locale71.99926e0d.chunk.js +0 -1
  364. package/static/js/ant-locale/locale8.134136c4.chunk.js +0 -1
  365. package/static/js/ant-locale/locale9.9b87d751.chunk.js +0 -1
  366. package/static/js/emailmaker_core.80378bf9.js +0 -1
  367. package/static/js/mergeTags/locale0.23c595c1.chunk.js +0 -1
  368. package/static/js/mergeTags/locale1.3448e6cb.chunk.js +0 -1
  369. package/static/js/mocks.90ebae7c.chunk.js +0 -1
  370. package/static/media/ai-image.7c42c2e1.png +0 -0
  371. package/static/media/codicon.f13d28f3.ttf +0 -0
  372. package/static/media/empty-image.1827d656.png +0 -0
  373. package/static/media/frame_dark.318d7ed5.png +0 -0
  374. package/static/media/frame_light.22a9b4ec.png +0 -0
  375. package/static/media/frame_template_gallery.85693b39.png +0 -0
  376. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  377. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  378. package/static/media/sign_up_01.33327158.png +0 -0
  379. package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
  380. package/static/media/sign_up_02.d99d2aa6.png +0 -0
  381. package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
  382. package/static/media/sign_up_03.5545ffad.png +0 -0
  383. package/static/media/sign_up_03_blocks.126601f7.png +0 -0
  384. package/static/media/sign_up_04.398a4ca5.png +0 -0
  385. package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
  386. package/static/media/sign_up_05.4c58df1b.png +0 -0
  387. package/static/media/sign_up_05_blocks.431b6844.png +0 -0
  388. package/static/media/video.854adea5.png +0 -0
  389. package/ts.worker.js +0 -2
  390. package/ts.worker.js.LICENSE.txt +0 -21
@@ -1,43 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
- /**
17
- * @license React
18
- * react-dom.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */
25
-
26
- /**
27
- * @license React
28
- * react-is.production.min.js
29
- *
30
- * Copyright (c) Facebook, Inc. and its affiliates.
31
- *
32
- * This source code is licensed under the MIT license found in the
33
- * LICENSE file in the root directory of this source tree.
34
- */
35
-
36
- /** @license React v16.13.1
37
- * react-is.production.min.js
38
- *
39
- * Copyright (c) Facebook, Inc. and its affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6275.19545c93.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6275],{6275:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>i,language:()=>r});var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6300],{62179:(e,t,i)=>{i.d(t,{T:()=>f});var o,s=i(15370),n=i(1754),r=i(19821),a=i(24156),d=i(16915),l=i(74663),c=i(26819),h=i(50424),u=i(99588),g=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},p=function(e,t){return function(i,o){t(i,o,e)}},m=function(e,t,i,o){return new(i||(i=Promise))((function(s,n){function r(e){try{d(o.next(e))}catch(t){n(t)}}function a(e){try{d(o.throw(e))}catch(t){n(t)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}d((o=o.apply(e,t||[])).next())}))};let f=class e{constructor(e,t,i){this._options=e,this._languageService=t,this._openerService=i,this._onDidRenderAsync=new l.vl,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,i){if(!e){return{element:document.createElement("span"),dispose:()=>{}}}const o=new c.Cm;return{element:o.add((0,s.G)(e,Object.assign(Object.assign({},this._getRenderOptions(e,o)),t),i)).element,dispose:()=>o.dispose()}}_getRenderOptions(t,i){return{codeBlockRenderer:(t,i)=>m(this,void 0,void 0,(function*(){var o,s,n;let r;t?r=this._languageService.getLanguageIdByLanguageName(t):this._options.editor&&(r=null===(o=this._options.editor.getModel())||void 0===o?void 0:o.getLanguageId()),r||(r=u.vH);const a=yield(0,d.Yj)(this._languageService,i,r),l=document.createElement("span");if(l.innerHTML=null!==(n=null===(s=e._ttpTokenizer)||void 0===s?void 0:s.createHTML(a))&&void 0!==n?n:a,this._options.editor){const e=this._options.editor.getOption(45);(0,h.M)(l,e)}else this._options.codeBlockFontFamily&&(l.style.fontFamily=this._options.codeBlockFontFamily);return void 0!==this._options.codeBlockFontSize&&(l.style.fontSize=this._options.codeBlockFontSize),l})),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:t.isTrusted}).catch(a.dz),disposables:i}}}};f._ttpTokenizer=null===(o=window.trustedTypes)||void 0===o?void 0:o.createPolicy("tokenizeToString",{createHTML:e=>e}),f=g([p(1,r.L),p(2,n.Cr)],f)},5179:(e,t,i)=>{i.d(t,{k:()=>u});var o=i(89527),s=i(86683),n=i(26819),r=i(50051),a=i(15186),d=i(38016),l=i(40350),c=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},h=function(e,t){return function(i,o){t(i,o,e)}};let u=class e{constructor(t,i){this._messageWidget=new n.HE,this._messageListeners=new n.Cm,this._editor=t,this._visible=e.MESSAGE_VISIBLE.bindTo(i),this._editorListener=this._editor.onDidAttemptReadOnlyEdit((()=>this._onDidAttemptReadOnlyEdit()))}static get(t){return t.getContribution(e.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let i;(0,o.xE)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new p(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidChangeCursorPosition((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidDispose((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidChangeModel((()=>this.closeMessage()))),this._messageListeners.add(new s.pc((()=>this.closeMessage()),3e3)),this._messageListeners.add(this._editor.onMouseMove((e=>{e.target.position&&(i?i.containsPosition(e.target.position)||this.closeMessage():i=new a.Q(t.lineNumber-3,1,e.target.position.lineNumber+3,1))})))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(p.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&(this._editor.isSimpleWidget?this.showMessage(d.kg("editor.simple.readonly","Cannot edit in read-only input"),this._editor.getPosition()):this.showMessage(d.kg("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition()))}};u.ID="editor.contrib.messageController",u.MESSAGE_VISIBLE=new l.N1("messageVisible",!1,d.kg("messageVisible","Whether the editor is currently showing an inline message")),u=c([h(1,l.fN)],u);const g=r.DX.bindToContribution(u.get);(0,r.E_)(new g({id:"leaveEditorMessage",precondition:u.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class p{constructor(e,{lineNumber:t,column:i},o){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage"),this._domNode.style.marginLeft="-6px";const s=document.createElement("div");s.classList.add("anchor","top"),this._domNode.appendChild(s);const n=document.createElement("div");n.classList.add("message"),n.textContent=o,this._domNode.appendChild(n);const r=document.createElement("div");r.classList.add("anchor","below"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){const t=()=>{e.dispose(),clearTimeout(i),e.getDomNode().removeEventListener("animationend",t)},i=setTimeout(t,110);return e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2],positionAffinity:1}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}(0,r.HW)(u.ID,u)},22351:(e,t,i)=>{i.r(t),i.d(t,{AddSelectionToNextFindMatchAction:()=>R,AddSelectionToPreviousFindMatchAction:()=>P,CompatChangeAll:()=>I,FocusNextCursor:()=>$,FocusPreviousCursor:()=>G,InsertCursorAbove:()=>w,InsertCursorBelow:()=>M,MoveSelectionToNextFindMatchAction:()=>H,MoveSelectionToPreviousFindMatchAction:()=>O,MultiCursorSelectionController:()=>N,MultiCursorSelectionControllerAction:()=>F,MultiCursorSession:()=>D,MultiCursorSessionResult:()=>E,SelectHighlightsAction:()=>A,SelectionHighlighter:()=>W});var o=i(89527),s=i(86683),n=i(44948),r=i(26819),a=i(50051),d=i(29065),l=i(15186),c=i(21429),h=i(29671),u=i(72330),g=i(28715),p=i(74805),m=i(38016),f=i(21850),v=i(40350),C=i(93467),_=i(86471),b=i(68975),y=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},k=function(e,t){return function(i,o){t(i,o,e)}};function S(e,t){const i=t.filter((t=>!e.find((e=>e.equals(t)))));if(i.length>=1){const e=i.map((e=>`line ${e.viewState.position.lineNumber} column ${e.viewState.position.column}`)).join(", "),t=1===i.length?m.kg("cursorAdded","Cursor added: {0}",e):m.kg("cursorsAdded","Cursors added: {0}",e);(0,o.h5)(t)}}class w extends a.ks{constructor(){super({id:"editor.action.insertCursorAbove",label:m.kg("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:h.R.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,i){if(!t.hasModel())return;let o=!0;i&&!1===i.logicalLine&&(o=!1);const s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();const n=s.getCursorStates();s.setCursorStates(i.source,3,d.c.addCursorUp(s,n,o)),s.revealTopMostCursor(i.source),S(n,s.getCursorStates())}}class M extends a.ks{constructor(){super({id:"editor.action.insertCursorBelow",label:m.kg("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:h.R.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,i){if(!t.hasModel())return;let o=!0;i&&!1===i.logicalLine&&(o=!1);const s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();const n=s.getCursorStates();s.setCursorStates(i.source,3,d.c.addCursorDown(s,n,o)),s.revealBottomMostCursor(i.source),S(n,s.getCursorStates())}}class x extends a.ks{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:m.kg("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:h.R.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let o=e.startLineNumber;o<e.endLineNumber;o++){const e=t.getLineMaxColumn(o);i.push(new c.L(o,e,o,e))}e.endColumn>1&&i.push(new c.L(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const i=t.getModel(),o=t.getSelections(),s=t._getViewModel(),n=s.getCursorStates(),r=[];o.forEach((e=>this.getCursorsForSelection(e,i,r))),r.length>0&&t.setSelections(r),S(n,s.getCursorStates())}}class T extends a.ks{constructor(){super({id:"editor.action.addCursorsToBottom",label:m.kg("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;const i=t.getSelections(),o=t.getModel().getLineCount(),s=[];for(let a=i[0].startLineNumber;a<=o;a++)s.push(new c.L(a,i[0].startColumn,a,i[0].endColumn));const n=t._getViewModel(),r=n.getCursorStates();s.length>0&&t.setSelections(s),S(r,n.getCursorStates())}}class L extends a.ks{constructor(){super({id:"editor.action.addCursorsToTop",label:m.kg("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;const i=t.getSelections(),o=[];for(let r=i[0].startLineNumber;r>=1;r--)o.push(new c.L(r,i[0].startColumn,r,i[0].endColumn));const s=t._getViewModel(),n=s.getCursorStates();o.length>0&&t.setSelections(o),S(n,s.getCursorStates())}}class E{constructor(e,t,i){this.selections=e,this.revealRange=t,this.revealScrollType=i}}class D{constructor(e,t,i,o,s,n,r){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=i,this.searchText=o,this.wholeWord=s,this.matchCase=n,this.currentMatch=r}static create(e,t){if(!e.hasModel())return null;const i=t.getState();if(!e.hasTextFocus()&&i.isRevealed&&i.searchString.length>0)return new D(e,t,!1,i.searchString,i.wholeWord,i.matchCase,null);let o,s,n=!1;const r=e.getSelections();1===r.length&&r[0].isEmpty()?(n=!0,o=!0,s=!0):(o=i.wholeWord,s=i.matchCase);const a=e.getSelection();let d,l=null;if(a.isEmpty()){const t=e.getConfiguredWordAtPosition(a.getStartPosition());if(!t)return null;d=t.word,l=new c.L(a.startLineNumber,t.startColumn,a.startLineNumber,t.endColumn)}else d=e.getModel().getValueInRange(a).replace(/\r\n/g,"\n");return new D(e,t,n,d,o,s,l)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new E(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new E(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(118):null,!1);return i?new c.L(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new E(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new E(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],i=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(118):null,!1);return i?new c.L(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null}selectAll(e){if(!this._editor.hasModel())return[];this.findController.highlightFindOptions();const t=this._editor.getModel();return e?t.findMatches(this.searchText,e,!1,this.matchCase,this.wholeWord?this._editor.getOption(118):null,!1,1073741824):t.findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(118):null,!1,1073741824)}}class N extends r.jG{constructor(e){super(),this._sessionDispose=this._register(new r.Cm),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(N.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=D.create(this._editor,e);if(!t)return;this._session=t;const i={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(i.wholeWordOverride=1,i.matchCaseOverride=1,i.isRegexOverride=2),e.getState().change(i,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection((e=>{this._ignoreSelectionChange||this._endSession()}))),this._sessionDispose.add(this._editor.onDidBlurEditorText((()=>{this._endSession()}))),this._sessionDispose.add(e.getState().onFindReplaceStateChange((e=>{(e.matchCase||e.wholeWord)&&this._endSession()})))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;const i=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return i?new c.L(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){const t=this._editor.getSelections();if(t.length>1){const i=e.getState().matchCase;if(!V(this._editor.getModel(),t,i)){const e=this._editor.getModel(),i=[];for(let o=0,s=t.length;o<s;o++)i[o]=this._expandEmptyToWord(e,t[o]);return void this._editor.setSelections(i)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null;const i=e.getState();if(i.isRevealed&&i.searchString.length>0&&i.isRegex){const e=this._editor.getModel();t=i.searchScope?e.findMatches(i.searchString,i.searchScope,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(118):null,!1,1073741824):e.findMatches(i.searchString,!0,i.isRegex,i.matchCase,i.wholeWord?this._editor.getOption(118):null,!1,1073741824)}else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll(i.searchScope)}if(t.length>0){const e=this._editor.getSelection();for(let i=0,o=t.length;i<o;i++){const o=t[i];if(o.range.intersectRanges(e)){t[i]=t[0],t[0]=o;break}}this._setSelections(t.map((e=>new c.L(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn))))}}}N.ID="editor.contrib.multiCursorController";class F extends a.ks{run(e,t){const i=N.get(t);if(!i)return;const o=p.CommonFindController.get(t);if(!o)return;const s=t._getViewModel();if(s){const e=s.getCursorStates();this._run(i,o),S(e,s.getCursorStates())}}}class R extends F{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:m.kg("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:h.R.focus,primary:2082,weight:100},menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class P extends F{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:m.kg("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class H extends F{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:m.kg("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:h.R.focus,primary:(0,n.m5)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class O extends F{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:m.kg("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}class A extends F{constructor(){super({id:"editor.action.selectHighlights",label:m.kg("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:h.R.focus,primary:3114,weight:100},menuOpts:{menuId:f.D8.MenubarSelectionMenu,group:"3_multi",title:m.kg({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}class I extends F{constructor(){super({id:"editor.action.changeAll",label:m.kg("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:v.M$.and(h.R.writable,h.R.editorTextFocus),kbOpts:{kbExpr:h.R.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}class B{constructor(e,t,i,o,s){this._model=e,this._searchText=t,this._matchCase=i,this._wordSeparators=o,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,s&&this._model===s._model&&this._searchText===s._searchText&&this._matchCase===s._matchCase&&this._wordSeparators===s._wordSeparators&&this._modelVersionId===s._modelVersionId&&(this._cachedFindMatches=s._cachedFindMatches)}findMatches(){return null===this._cachedFindMatches&&(this._cachedFindMatches=this._model.findMatches(this._searchText,!0,!1,this._matchCase,this._wordSeparators,!1).map((e=>e.range)),this._cachedFindMatches.sort(l.Q.compareRangesUsingStarts)),this._cachedFindMatches}}let W=class e extends r.jG{constructor(e,t){super(),this._languageFeaturesService=t,this.editor=e,this._isEnabled=e.getOption(98),this._decorations=e.createDecorationsCollection(),this.updateSoon=this._register(new s.uC((()=>this._update()),300)),this.state=null,this._register(e.onDidChangeConfiguration((t=>{this._isEnabled=e.getOption(98)}))),this._register(e.onDidChangeCursorSelection((e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())}))),this._register(e.onDidChangeModel((e=>{this._setState(null)}))),this._register(e.onDidChangeModelContent((e=>{this._isEnabled&&this.updateSoon.schedule()})));const i=p.CommonFindController.get(e);i&&this._register(i.getState().onFindReplaceStateChange((e=>{this._update()})))}_update(){this._setState(e._createState(this.state,this._isEnabled,this.editor))}static _createState(e,t,i){if(!t)return null;if(!i.hasModel())return null;const o=i.getSelection();if(o.startLineNumber!==o.endLineNumber)return null;const s=N.get(i);if(!s)return null;const n=p.CommonFindController.get(i);if(!n)return null;let r=s.getSession(n);if(!r){const e=i.getSelections();if(e.length>1){const t=n.getState().matchCase;if(!V(i.getModel(),e,t))return null}r=D.create(i,n)}if(!r)return null;if(r.currentMatch)return null;if(/^[ \t]+$/.test(r.searchText))return null;if(r.searchText.length>200)return null;const a=n.getState(),d=a.matchCase;if(a.isRevealed){let e=a.searchString;d||(e=e.toLowerCase());let t=r.searchText;if(d||(t=t.toLowerCase()),e===t&&r.matchCase===a.matchCase&&r.wholeWord===a.wholeWord&&!a.isRegex)return null}return new B(i.getModel(),r.searchText,r.matchCase,r.wholeWord?i.getOption(118):null,e)}_setState(t){if(this.state=t,!this.state)return void this._decorations.clear();if(!this.editor.hasModel())return;const i=this.editor.getModel();if(i.isTooLargeForTokenization())return;const o=this.state.findMatches(),s=this.editor.getSelections();s.sort(l.Q.compareRangesUsingStarts);const n=[];for(let e=0,d=0,c=o.length,h=s.length;e<c;){const t=o[e];if(d>=h)n.push(t),e++;else{const i=l.Q.compareRangesUsingStarts(t,s[d]);i<0?(!s[d].isEmpty()&&l.Q.areIntersecting(t,s[d])||n.push(t),e++):(i>0||e++,d++)}}const r=this._languageFeaturesService.documentHighlightProvider.has(i)&&this.editor.getOption(73),a=n.map((t=>({range:t,options:r?e._SELECTION_HIGHLIGHT:e._SELECTION_HIGHLIGHT_OVERVIEW})));this._decorations.set(a)}dispose(){this._setState(null),super.dispose()}};function V(e,t,i){const o=j(e,t[0],!i);for(let s=1,n=t.length;s<n;s++){const n=t[s];if(n.isEmpty())return!1;if(o!==j(e,n,!i))return!1}return!0}function j(e,t,i){const o=e.getValueInRange(t);return i?o.toLowerCase():o}W.ID="editor.contrib.selectionHighlighter",W._SELECTION_HIGHLIGHT_OVERVIEW=g.kI.register({description:"selection-highlight-overview",stickiness:1,className:"selectionHighlight",minimap:{color:(0,_.Yf)(C.Xp1),position:u.R3.Inline},overviewRuler:{color:(0,_.Yf)(C.z5H),position:u.A5.Center}}),W._SELECTION_HIGHLIGHT=g.kI.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight"}),W=y([k(1,b.u)],W);class $ extends a.ks{constructor(){super({id:"editor.action.focusNextCursor",label:m.kg("mutlicursor.focusNextCursor","Focus Next Cursor"),description:{description:m.kg("mutlicursor.focusNextCursor.description","Focuses the next cursor"),args:[]},alias:"Focus Next Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;const o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();const s=Array.from(o.getCursorStates()),n=s.shift();n&&(s.push(n),o.setCursorStates(i.source,3,s),o.revealPrimaryCursor(i.source,!0),S(s,o.getCursorStates()))}}class G extends a.ks{constructor(){super({id:"editor.action.focusPreviousCursor",label:m.kg("mutlicursor.focusPreviousCursor","Focus Previous Cursor"),description:{description:m.kg("mutlicursor.focusPreviousCursor.description","Focuses the previous cursor"),args:[]},alias:"Focus Previous Cursor",precondition:void 0})}run(e,t,i){if(!t.hasModel())return;const o=t._getViewModel();if(o.cursorConfig.readOnly)return;o.model.pushStackElement();const s=Array.from(o.getCursorStates()),n=s.pop();n&&(s.unshift(n),o.setCursorStates(i.source,3,s),o.revealPrimaryCursor(i.source,!0),S(s,o.getCursorStates()))}}(0,a.HW)(N.ID,N),(0,a.HW)(W.ID,W),(0,a.Fl)(w),(0,a.Fl)(M),(0,a.Fl)(x),(0,a.Fl)(R),(0,a.Fl)(P),(0,a.Fl)(H),(0,a.Fl)(O),(0,a.Fl)(A),(0,a.Fl)(I),(0,a.Fl)(T),(0,a.Fl)(L),(0,a.Fl)($),(0,a.Fl)(G)},13604:(e,t,i)=>{i.r(t),i.d(t,{TriggerParameterHintsAction:()=>K});var o=i(26819),s=i(50051),n=i(29671),r=i(63404),a=i(74832),d=i(24156),l=i(4562),c=i(54605),h=i(62612),u=i(68975),g=i(65573),p=i(84562),m=i(40350),f=function(e,t,i,o){return new(i||(i=Promise))((function(s,n){function r(e){try{d(o.next(e))}catch(t){n(t)}}function a(e){try{d(o.throw(e))}catch(t){n(t)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}d((o=o.apply(e,t||[])).next())}))};const v={Visible:new m.N1("parameterHintsVisible",!1),MultipleSignatures:new m.N1("parameterHintsMultipleSignatures",!1)};function C(e,t,i,o,s){return f(this,void 0,void 0,(function*(){const n=e.ordered(t);for(const e of n)try{const n=yield e.provideSignatureHelp(t,i,s,o);if(n)return n}catch(r){(0,d.M_)(r)}}))}p.wb.registerCommand("_executeSignatureHelpProvider",((e,...t)=>f(void 0,void 0,void 0,(function*(){const[i,o,s]=t;(0,l.j)(c.r.isUri(i)),(0,l.j)(h.y.isIPosition(o)),(0,l.j)("string"===typeof s||!s);const n=e.get(u.u),d=yield e.get(g.b).createModelReference(i);try{const e=yield C(n.signatureHelpProvider,d.object.textEditorModel,h.y.lift(o),{triggerKind:r.WA.Invoke,isRetrigger:!1,triggerCharacter:s},a.X.None);if(!e)return;return setTimeout((()=>e.dispose()),0),e.value}finally{d.dispose()}}))));var _,b=i(38016),y=i(93218),k=i(38278),S=i(89527),w=i(12947),M=i(82747),x=i(74663),T=i(53817),L=i(19821),E=i(62179),D=i(86683),N=i(2945),F=function(e,t,i,o){return new(i||(i=Promise))((function(s,n){function r(e){try{d(o.next(e))}catch(t){n(t)}}function a(e){try{d(o.throw(e))}catch(t){n(t)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}d((o=o.apply(e,t||[])).next())}))};!function(e){e.Default={type:0};e.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}};e.Active=class{constructor(e){this.hints=e,this.type=1}}}(_||(_={}));class R extends o.jG{constructor(e,t,i=R.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new x.vl),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=_.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new o.HE),this.triggerChars=new N.y,this.retriggerChars=new N.y,this.triggerId=0,this.editor=e,this.providers=t,this.throttledDelayer=new D.ve(i),this._register(this.editor.onDidBlurEditorWidget((()=>this.cancel()))),this._register(this.editor.onDidChangeConfiguration((()=>this.onEditorConfigurationChange()))),this._register(this.editor.onDidChangeModel((e=>this.onModelChanged()))),this._register(this.editor.onDidChangeModelLanguage((e=>this.onModelChanged()))),this._register(this.editor.onDidChangeCursorSelection((e=>this.onCursorChange(e)))),this._register(this.editor.onDidChangeModelContent((e=>this.onModelContentChange()))),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType((e=>this.onDidType(e)))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=_.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const i=this.editor.getModel();if(!i||!this.providers.has(i))return;const o=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger((()=>this.doTrigger(o)),t).catch(d.dz)}next(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=t%e===e-1,o=this.editor.getOption(77).cycle;!(e<2||i)||o?this.updateActiveSignature(i&&o?0:t+1):this.cancel()}previous(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,i=0===t,o=this.editor.getOption(77).cycle;!(e<2||i)||o?this.updateActiveSignature(i&&o?e-1:t-1):this.cancel()}updateActiveSignature(e){1===this.state.type&&(this.state=new _.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return F(this,void 0,void 0,(function*(){const t=1===this.state.type||2===this.state.type,i=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;const o=this._pendingTriggers.reduce(P);this._pendingTriggers=[];const s={triggerKind:o.triggerKind,triggerCharacter:o.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;const n=this.editor.getModel(),r=this.editor.getPosition();this.state=new _.Pending((0,D.SS)((e=>C(this.providers,n,r,s,e))),i);try{const t=yield this.state.request;return e!==this.triggerId?(null===t||void 0===t||t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new _.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null===t||void 0===t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(a){return e===this.triggerId&&(this.state=_.Default),(0,d.dz)(a),!1}}))}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new N.y,this.retriggerChars=new N.y;const e=this.editor.getModel();if(e)for(const t of this.providers.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,i=e.charCodeAt(t);(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:r.WA.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:r.WA.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:r.WA.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(77).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function P(e,t){switch(t.triggerKind){case r.WA.Invoke:return t;case r.WA.ContentChange:return e;case r.WA.TriggerCharacter:default:return t}}R.DEFAULT_DELAY=120;var H=i(1754),O=i(93467),A=i(59793),I=i(88834),B=i(86471),W=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},V=function(e,t){return function(i,o){t(i,o,e)}};const j=k.$,$=(0,A.pU)("parameter-hints-next",M.W6.chevronDown,b.kg("parameterHintsNextIcon","Icon for show next parameter hint.")),G=(0,A.pU)("parameter-hints-previous",M.W6.chevronUp,b.kg("parameterHintsPreviousIcon","Icon for show previous parameter hint."));let Q=class e extends o.jG{constructor(e,t,i,s,n){super(),this.editor=e,this.renderDisposeables=this._register(new o.Cm),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new E.T({editor:e},s,i)),this.model=this._register(new R(e,n.signatureHelpProvider)),this.keyVisible=v.Visible.bindTo(t),this.keyMultipleSignatures=v.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints((e=>{e?(this.show(),this.render(e)):this.hide()})))}createParameterHintDOMNodes(){const e=j(".editor-widget.parameter-hints-widget"),t=k.BC(e,j(".phwrapper"));t.tabIndex=-1;const i=k.BC(t,j(".controls")),o=k.BC(i,j(".button"+B.L0.asCSSSelector(G))),s=k.BC(i,j(".overloads")),n=k.BC(i,j(".button"+B.L0.asCSSSelector($)));this._register(k.ko(o,"click",(e=>{k.fs.stop(e),this.previous()}))),this._register(k.ko(n,"click",(e=>{k.fs.stop(e),this.next()})));const r=j(".body"),a=new w.MU(r,{alwaysConsumeMouseWheel:!0});this._register(a),t.appendChild(a.getDomNode());const d=k.BC(r,j(".signature")),l=k.BC(r,j(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:d,overloads:s,docs:l,scrollbar:a},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection((e=>{this.visible&&this.editor.layoutContentWidget(this)})));const c=()=>{if(!this.domNodes)return;const e=this.editor.getOption(45);this.domNodes.element.style.fontSize=`${e.fontSize}px`,this.domNodes.element.style.lineHeight=""+e.lineHeight/e.fontSize};c(),this._register(x.Jh.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((e=>e.hasChanged(45))).on(c,null)),this._register(this.editor.onDidLayoutChange((e=>this.updateMaxHeight()))),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout((()=>{var e;null===(e=this.domNodes)||void 0===e||e.element.classList.add("visible")}),100),this.editor.layoutContentWidget(this))}hide(){var e;this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,null===(e=this.domNodes)||void 0===e||e.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;const i=e.signatures.length>1;this.domNodes.element.classList.toggle("multiple",i),this.keyMultipleSignatures.set(i),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const o=e.signatures[e.activeSignature];if(!o)return;const s=k.BC(this.domNodes.signature,j(".code")),n=this.editor.getOption(45);s.style.fontSize=`${n.fontSize}px`,s.style.fontFamily=n.fontFamily;const r=o.parameters.length>0,a=null!==(t=o.activeParameter)&&void 0!==t?t:e.activeParameter;if(r)this.renderParameters(s,o,a);else{k.BC(s,j("span")).textContent=o.label}const d=o.parameters[a];if(null===d||void 0===d?void 0:d.documentation){const e=j("span.documentation");if("string"===typeof d.documentation)e.textContent=d.documentation;else{const t=this.renderMarkdownDocs(d.documentation);e.appendChild(t.element)}k.BC(this.domNodes.docs,j("p",{},e))}if(void 0===o.documentation);else if("string"===typeof o.documentation)k.BC(this.domNodes.docs,j("p",{},o.documentation));else{const e=this.renderMarkdownDocs(o.documentation);k.BC(this.domNodes.docs,e.element)}const l=this.hasDocs(o,d);if(this.domNodes.signature.classList.toggle("has-docs",l),this.domNodes.docs.classList.toggle("empty",!l),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,"0")+"/"+e.signatures.length,d){let e="";const t=o.parameters[a];e=Array.isArray(t.label)?o.label.substring(t.label[0],t.label[1]):t.label,t.documentation&&(e+="string"===typeof t.documentation?`, ${t.documentation}`:`, ${t.documentation.value}`),o.documentation&&(e+="string"===typeof o.documentation?`, ${o.documentation}`:`, ${o.documentation.value}`),this.announcedLabel!==e&&(S.xE(b.kg("hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){const t=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var e;null===(e=this.domNodes)||void 0===e||e.scrollbar.scanDomNode()}}));return t.element.classList.add("markdown-docs"),t}hasDocs(e,t){return!!(t&&"string"===typeof t.documentation&&(0,l.eU)(t.documentation).length>0)||(!!(t&&"object"===typeof t.documentation&&(0,l.eU)(t.documentation).value.length>0)||(!!(e.documentation&&"string"===typeof e.documentation&&(0,l.eU)(e.documentation).length>0)||!!(e.documentation&&"object"===typeof e.documentation&&(0,l.eU)(e.documentation.value).length>0)))}renderParameters(e,t,i){const[o,s]=this.getParameterLabelOffsets(t,i),n=document.createElement("span");n.textContent=t.label.substring(0,o);const r=document.createElement("span");r.textContent=t.label.substring(o,s),r.className="parameter active";const a=document.createElement("span");a.textContent=t.label.substring(s),k.BC(e,n,r,a)}getParameterLabelOffsets(e,t){const i=e.parameters[t];if(i){if(Array.isArray(i.label))return i.label;if(i.label.length){const t=new RegExp(`(\\W|^)${(0,T.bm)(i.label)}(?=\\W|$)`,"g");t.test(e.label);const o=t.lastIndex-i.label.length;return o>=0?[o,t.lastIndex]:[0,0]}return[0,0]}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;const e=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=e;const t=this.domNodes.element.getElementsByClassName("phwrapper");t.length&&(t[0].style.maxHeight=e)}};Q.ID="editor.widget.parameterHintsWidget",Q=W([V(1,m.fN),V(2,H.Cr),V(3,L.L),V(4,u.u)],Q);const z=(0,O.x1A)("editorHoverWidget.highlightForeground",{dark:O.QI5,light:O.QI5,hcDark:O.QI5,hcLight:O.QI5},b.kg("editorHoverWidgetHighlightForeground","Foreground color of the active item in the parameter hint."));(0,B.zy)(((e,t)=>{const i=e.getColor(O.oZ8);if(i){const o=(0,I.Bb)(e.type)?2:1;t.addRule(`.monaco-editor .parameter-hints-widget { border: ${o}px solid ${i}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${i.transparent(.5)}; }`)}const o=e.getColor(O.WfR);o&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${o}; }`);const s=e.getColor(O.vwp);s&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${s}; }`);const n=e.getColor(O.FEE);n&&t.addRule(`.monaco-editor .parameter-hints-widget a:hover { color: ${n}; }`);const r=e.getColor(O.Xo2);r&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${r}; }`);const a=e.getColor(O.S6W);a&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${a}; }`);const d=e.getColor(z);d&&t.addRule(`.monaco-editor .parameter-hints-widget .parameter.active { color: ${d}}`)}));var U=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},q=function(e,t){return function(i,o){t(i,o,e)}};let X=class e extends o.jG{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(Q,this.editor))}static get(t){return t.getContribution(e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};X.ID="editor.controller.parameterHints",X=U([q(1,y._Y)],X);class K extends s.ks{constructor(){super({id:"editor.action.triggerParameterHints",label:b.kg("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:n.R.hasSignatureHelpProvider,kbOpts:{kbExpr:n.R.editorTextFocus,primary:3082,weight:100}})}run(e,t){const i=X.get(t);i&&i.trigger({triggerKind:r.WA.Invoke})}}(0,s.HW)(X.ID,X),(0,s.Fl)(K);const Y=s.DX.bindToContribution(X.get);(0,s.E_)(new Y({id:"closeParameterHints",precondition:v.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:n.R.focus,primary:9,secondary:[1033]}})),(0,s.E_)(new Y({id:"showPrevParameterHint",precondition:m.M$.and(v.Visible,v.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:n.R.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,s.E_)(new Y({id:"showNextParameterHint",precondition:m.M$.and(v.Visible,v.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:n.R.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},11293:(e,t,i)=>{i.d(t,{zn:()=>k,x2:()=>S,j6:()=>T,RL:()=>M,zl:()=>N,n6:()=>F,z0:()=>L,_X:()=>E,e3:()=>D});var o=i(38278),s=i(25990),n=i(48624),r=i(82747),a=i(60196),d=i(74663),l=i(32291),c=i(50051),h=i(10664),u=i(59629),g=i(21937),p=i(38016),m=i(48696),f=i(40350),v=i(44785),C=i(93218),_=i(93467),b=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},y=function(e,t){return function(i,o){t(i,o,e)}};const k=(0,C.u1)("IPeekViewService");var S;(0,v.v)(k,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){const i=this._widgets.get(e);i&&(i.listener.dispose(),i.widget.dispose());this._widgets.set(e,{widget:t,listener:t.onDidClose((()=>{const i=this._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),this._widgets.delete(e))}))})}}),function(e){e.inPeekEditor=new f.N1("inReferenceSearchEditor",!0,p.kg("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),e.notInPeekEditor=e.inPeekEditor.toNegated()}(S||(S={}));let w=class{constructor(e,t){e instanceof u.t&&S.inPeekEditor.bindTo(t)}dispose(){}};function M(e){const t=e.get(h.T).getFocusedCodeEditor();return t instanceof u.t?t.getParentEditor():t}w.ID="editor.contrib.referenceController",w=b([y(1,f.fN)],w),(0,c.HW)(w.ID,w);const x={headerBackgroundColor:a.Q1.white,primaryHeadingColor:a.Q1.fromHex("#333333"),secondaryHeadingColor:a.Q1.fromHex("#6c6c6cb3")};let T=class extends g.Pg{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new d.vl,this.onDidClose=this._onDidClose.event,l.co(this.options,x,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){const t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();const e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=o.$(".head"),this._bodyElement=o.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const i=o.$(".peekview-title");this.options.supportOnTitleClick&&(i.classList.add("clickable"),o.b2(i,"click",(e=>this._onTitleClick(e)))),o.BC(this._headElement,i),this._fillTitleIcon(i),this._primaryHeading=o.$("span.filename"),this._secondaryHeading=o.$("span.dirname"),this._metaHeading=o.$("span.meta"),o.BC(i,this._primaryHeading,this._secondaryHeading,this._metaHeading);const a=o.$(".peekview-actions");o.BC(this._headElement,a);const d=this._getActionBarOptions();this._actionbarWidget=new s.E(a,d),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new n.rc("peekview.close",p.kg("label.close","Close"),r.W6.close.classNames,!0,(()=>(this.dispose(),Promise.resolve()))),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:m.rN.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:o.w_(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,o.WU(this._metaHeading)):o.jD(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0)return void this.dispose();const i=Math.ceil(1.2*this.editor.getOption(60)),o=Math.round(e-(i+2));this._doLayoutHead(i,t),this._doLayoutBody(o,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};T=b([y(2,C._Y)],T);const L=(0,_.x1A)("peekViewTitle.background",{dark:(0,_.JO0)(_.pOz,.1),light:(0,_.JO0)(_.pOz,.1),hcDark:null,hcLight:null},p.kg("peekViewTitleBackground","Background color of the peek view title area.")),E=(0,_.x1A)("peekViewTitleLabel.foreground",{dark:a.Q1.white,light:a.Q1.black,hcDark:a.Q1.white,hcLight:_.By2},p.kg("peekViewTitleForeground","Color of the peek view title.")),D=(0,_.x1A)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161",hcDark:"#FFFFFF99",hcLight:"#292929"},p.kg("peekViewTitleInfoForeground","Color of the peek view title info.")),N=(0,_.x1A)("peekView.border",{dark:_.pOz,light:_.pOz,hcDark:_.b1q,hcLight:_.b1q},p.kg("peekViewBorder","Color of the peek view borders and arrow.")),F=(0,_.x1A)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hcDark:a.Q1.black,hcLight:a.Q1.white},p.kg("peekViewResultsBackground","Background color of the peek view result list.")),R=((0,_.x1A)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hcDark:a.Q1.white,hcLight:_.By2},p.kg("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),(0,_.x1A)("peekViewResult.fileForeground",{dark:a.Q1.white,light:"#1E1E1E",hcDark:a.Q1.white,hcLight:_.By2},p.kg("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),(0,_.x1A)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hcDark:null,hcLight:null},p.kg("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),(0,_.x1A)("peekViewResult.selectionForeground",{dark:a.Q1.white,light:"#6C6C6C",hcDark:a.Q1.white,hcLight:_.By2},p.kg("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),(0,_.x1A)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hcDark:a.Q1.black,hcLight:a.Q1.white},p.kg("peekViewEditorBackground","Background color of the peek view editor.")));(0,_.x1A)("peekViewEditorGutter.background",{dark:R,light:R,hcDark:R,hcLight:R},p.kg("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),(0,_.x1A)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hcDark:null,hcLight:null},p.kg("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),(0,_.x1A)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hcDark:null,hcLight:null},p.kg("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),(0,_.x1A)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hcDark:_.buw,hcLight:_.buw},p.kg("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},63721:(e,t,i)=>{i.d(t,{C:()=>n});var o=i(86241),s=i(25773);class n extends s.l{constructor(e,t,i,o,s,n){super(e,t,i,o,s,n)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:(0,o.pS)(i.label)||i.id});return t}}},80022:(e,t,i)=>{i.d(t,{o:()=>c});var o=i(82382),s=i(26819),n=i(4562),r=i(73397),a=i(72330),d=i(80764),l=i(86471);class c{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;const o=new s.Cm;e.canAcceptInBackground=!!(null===(i=this.options)||void 0===i?void 0:i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const n=o.add(new s.HE);return n.value=this.doProvide(e,t),o.add(this.onDidActiveTextEditorControlChange((()=>{n.value=void 0,n.value=this.doProvide(e,t)}))),o}doProvide(e,t){const i=new s.Cm,a=this.activeTextEditorControl;if(a&&this.canProvideWithTextEditor(a)){const d={editor:a},l=(0,r.jA)(a);if(l){let e=(0,n.UH)(a.saveViewState());i.add(l.onDidChangeCursorPosition((()=>{e=(0,n.UH)(a.saveViewState())}))),d.restoreViewState=()=>{e&&a===this.activeTextEditorControl&&a.restoreViewState(e)},i.add((0,o.O)(t.onCancellationRequested)((()=>{var e;return null===(e=d.restoreViewState)||void 0===e?void 0:e.call(d)})))}i.add((0,s.s)((()=>this.clearDecorations(a)))),i.add(this.provideWithTextEditor(d,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return(0,r.Np)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations((e=>{const i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const o=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:(0,l.Yf)(d.vp),position:a.A5.Full}}}],[s,n]=e.deltaDecorations(i,o);this.rangeHighlightDecorationId={rangeHighlightId:s,overviewRulerDecorationId:n}}))}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations((e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])})),this.rangeHighlightDecorationId=void 0)}}},79268:(e,t,i)=>{i.d(t,{o:()=>a});var o=i(26819),s=i(73397),n=i(80022),r=i(38016);class a extends n.o{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=(0,r.kg)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,o.jG.None}provideWithTextEditor(e,t,i){const n=e.editor,r=new o.Cm;r.add(t.onDidAccept((i=>{const[o]=t.selectedItems;if(o){if(!this.isValidLineNumber(n,o.lineNumber))return;this.gotoLocation(e,{range:this.toRange(o.lineNumber,o.column),keyMods:t.keyMods,preserveFocus:i.inBackground}),i.inBackground||t.hide()}})));const d=()=>{const e=this.parsePosition(n,t.value.trim().substr(a.PREFIX.length)),i=this.getPickLabel(n,e.lineNumber,e.column);if(t.items=[{lineNumber:e.lineNumber,column:e.column,label:i}],t.ariaLabel=i,!this.isValidLineNumber(n,e.lineNumber))return void this.clearDecorations(n);const o=this.toRange(e.lineNumber,e.column);n.revealRangeInCenter(o,0),this.addDecorations(n,o)};d(),r.add(t.onDidChangeValue((()=>d())));const l=(0,s.jA)(n);if(l){2===l.getOptions().get(61).renderType&&(l.updateOptions({lineNumbers:"on"}),r.add((0,o.s)((()=>l.updateOptions({lineNumbers:"relative"})))))}return r}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const i=t.split(/,|:|#/).map((e=>parseInt(e,10))).filter((e=>!isNaN(e))),o=this.lineCount(e)+1;return{lineNumber:i[0]>0?i[0]:o+i[0],column:i[1]}}getPickLabel(e,t,i){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,i)?(0,r.kg)("gotoLineColumnLabel","Go to line {0} and character {1}.",t,i):(0,r.kg)("gotoLineLabel","Go to line {0}.",t);const o=e.getPosition()||{lineNumber:1,column:1},s=this.lineCount(e);return s>1?(0,r.kg)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",o.lineNumber,o.column,s):(0,r.kg)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",o.lineNumber,o.column)}isValidLineNumber(e,t){return!(!t||"number"!==typeof t)&&(t>0&&t<=this.lineCount(e))}isValidColumn(e,t,i){if(!i||"number"!==typeof i)return!1;const o=this.getModel(e);if(!o)return!1;const s={lineNumber:t,column:i};return o.validatePosition(s).equals(s)}lineCount(e){var t,i;return null!==(i=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==i?i:0}}a.PREFIX=":"},39862:(e,t,i)=>{i.d(t,{O:()=>_});var o=i(86683),s=i(74832),n=i(82747),r=i(81555),a=i(26819),d=i(53817),l=i(15186),c=i(63404),h=i(38302),u=i(80022),g=i(38016),p=i(68975),m=i(39869),f=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},v=function(e,t){return function(i,o){t(i,o,e)}},C=function(e,t,i,o){return new(i||(i=Promise))((function(s,n){function r(e){try{d(o.next(e))}catch(t){n(t)}}function a(e){try{d(o.throw(e))}catch(t){n(t)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}d((o=o.apply(e,t||[])).next())}))};let _=class e extends u.o{constructor(e,t,i=Object.create(null)){super(i),this._languageFeaturesService=e,this._outlineModelService=t,this.options=i,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,(0,g.kg)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),a.jG.None}provideWithTextEditor(e,t,i){const o=e.editor,s=this.getModel(o);return s?this._languageFeaturesService.documentSymbolProvider.has(s)?this.doProvideWithEditorSymbols(e,s,t,i):this.doProvideWithoutEditorSymbols(e,s,t,i):a.jG.None}doProvideWithoutEditorSymbols(e,t,i,o){const s=new a.Cm;return this.provideLabelPick(i,(0,g.kg)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{C(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,s))&&!o.isCancellationRequested&&s.add(this.doProvideWithEditorSymbols(e,t,i,o))}))})(),s}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return C(this,void 0,void 0,(function*(){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;const i=new o.Zv,s=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange((()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(s.dispose(),i.complete(!0))})));return t.add((0,a.s)((()=>i.complete(!1)))),i.p}))}doProvideWithEditorSymbols(t,i,o,n){var d;const c=t.editor,h=new a.Cm;h.add(o.onDidAccept((e=>{const[i]=o.selectedItems;i&&i.range&&(this.gotoLocation(t,{range:i.range.selection,keyMods:o.keyMods,preserveFocus:e.inBackground}),e.inBackground||o.hide())}))),h.add(o.onDidTriggerItemButton((({item:e})=>{e&&e.range&&(this.gotoLocation(t,{range:e.range.selection,keyMods:o.keyMods,forceSideBySide:!0}),o.hide())})));const u=this.getDocumentSymbols(i,n);let p;const f=t=>C(this,void 0,void 0,(function*(){null===p||void 0===p||p.dispose(!0),o.busy=!1,p=new s.Q(n),o.busy=!0;try{const i=(0,r.Ib)(o.value.substr(e.PREFIX.length).trim()),s=yield this.doGetSymbolPicks(u,i,void 0,p.token);if(n.isCancellationRequested)return;if(s.length>0){if(o.items=s,t&&0===i.original.length){const e=(0,m.Uk)(s,(e=>Boolean("separator"!==e.type&&e.range&&l.Q.containsPosition(e.range.decoration,t))));e&&(o.activeItems=[e])}}else i.original.length>0?this.provideLabelPick(o,(0,g.kg)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(o,(0,g.kg)("noSymbolResults","No editor symbols"))}finally{n.isCancellationRequested||(o.busy=!1)}}));h.add(o.onDidChangeValue((()=>f(void 0)))),f(null===(d=c.getSelection())||void 0===d?void 0:d.getPosition());let v=2;return h.add(o.onDidChangeActive((()=>{const[e]=o.activeItems;if(e&&e.range){if(v-- >0)return;c.revealRangeInCenter(e.range.selection,0),this.addDecorations(c,e.range.decoration)}}))),h}doGetSymbolPicks(t,i,o,s){return C(this,void 0,void 0,(function*(){const a=yield t;if(s.isCancellationRequested)return[];const h=0===i.original.indexOf(e.SCOPE_PREFIX),u=h?1:0;let p,m;i.values&&i.values.length>1?(p=(0,r.AH)(i.values[0]),m=(0,r.AH)(i.values.slice(1))):p=i;const f=[];for(let _=0;_<a.length;_++){const k=a[_],S=(0,d.Bq)(k.name),w=`$(${c.gP.toIcon(k.kind).id}) ${S}`,M=w.length-S.length;let x,T,L,E,D=k.containerName;if((null===o||void 0===o?void 0:o.extraContainerLabel)&&(D=D?`${o.extraContainerLabel} \u2022 ${D}`:o.extraContainerLabel),i.original.length>u){let F=!1;if(p!==i&&([x,T]=(0,r.nw)(w,Object.assign(Object.assign({},i),{values:void 0}),u,M),"number"===typeof x&&(F=!0)),"number"!==typeof x&&([x,T]=(0,r.nw)(w,p,u,M),"number"!==typeof x))continue;if(!F&&m){if(D&&m.original.length>0&&([L,E]=(0,r.nw)(D,m)),"number"!==typeof L)continue;"number"===typeof x&&(x+=L)}}const N=k.tags&&k.tags.indexOf(1)>=0;f.push({index:_,kind:k.kind,score:x,label:w,ariaLabel:S,description:D,highlights:N?void 0:{label:T,description:E},range:{selection:l.Q.collapseToStart(k.selectionRange),decoration:k.range},strikethrough:N,buttons:(()=>{var e,t;const i=(null===(e=this.options)||void 0===e?void 0:e.openSideBySideDirection)?null===(t=this.options)||void 0===t?void 0:t.openSideBySideDirection():void 0;if(i)return[{iconClass:"right"===i?n.W6.splitHorizontal.classNames:n.W6.splitVertical.classNames,tooltip:"right"===i?(0,g.kg)("openToSide","Open to the Side"):(0,g.kg)("openToBottom","Open to the Bottom")}]})()})}const v=f.sort(((e,t)=>h?this.compareByKindAndScore(e,t):this.compareByScore(e,t)));let C=[];if(h){let R,P,H=0;function O(){P&&"number"===typeof R&&H>0&&(P.label=(0,d.GP)(y[R]||b,H))}for(const A of v)R!==A.kind?(O(),R=A.kind,H=1,P={type:"separator"},C.push(P)):H++,C.push(A);O()}else v.length>0&&(C=[{label:(0,g.kg)("symbols","symbols ({0})",f.length),type:"separator"},...v]);return C}))}compareByScore(e,t){if("number"!==typeof e.score&&"number"===typeof t.score)return 1;if("number"===typeof e.score&&"number"!==typeof t.score)return-1;if("number"===typeof e.score&&"number"===typeof t.score){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){const i=y[e.kind]||b,o=y[t.kind]||b,s=i.localeCompare(o);return 0===s?this.compareByScore(e,t):s}getDocumentSymbols(e,t){return C(this,void 0,void 0,(function*(){const i=yield this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()}))}};_.PREFIX="@",_.SCOPE_PREFIX=":",_.PREFIX_BY_CATEGORY=`${_.PREFIX}${_.SCOPE_PREFIX}`,_=f([v(0,p.u),v(1,h.gW)],_);const b=(0,g.kg)("property","properties ({0})"),y={5:(0,g.kg)("method","methods ({0})"),11:(0,g.kg)("function","functions ({0})"),8:(0,g.kg)("_constructor","constructors ({0})"),12:(0,g.kg)("variable","variables ({0})"),4:(0,g.kg)("class","classes ({0})"),22:(0,g.kg)("struct","structs ({0})"),23:(0,g.kg)("event","events ({0})"),24:(0,g.kg)("operator","operators ({0})"),10:(0,g.kg)("interface","interfaces ({0})"),2:(0,g.kg)("namespace","namespaces ({0})"),3:(0,g.kg)("package","packages ({0})"),25:(0,g.kg)("typeParameter","type parameters ({0})"),1:(0,g.kg)("modules","modules ({0})"),6:(0,g.kg)("property","properties ({0})"),9:(0,g.kg)("enum","enumerations ({0})"),21:(0,g.kg)("enumMember","enumeration members ({0})"),14:(0,g.kg)("string","strings ({0})"),0:(0,g.kg)("file","files ({0})"),17:(0,g.kg)("array","arrays ({0})"),15:(0,g.kg)("number","numbers ({0})"),16:(0,g.kg)("boolean","booleans ({0})"),18:(0,g.kg)("object","objects ({0})"),19:(0,g.kg)("key","keys ({0})"),7:(0,g.kg)("field","fields ({0})"),13:(0,g.kg)("constant","constants ({0})")}},81565:()=>{}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6547.377fc02b.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6547],{56547:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>u,language:()=>b});var i,r,o=n(38903),a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,p=(e,t,n,i)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let r of d(t))m.call(e,r)||r===n||a(e,r,{get:()=>t[r],enumerable:!(i=s(t,r))||i.enumerable});return e},l={};p(l,i=o,"default"),r&&p(r,i,"default");var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${c.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:l.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},b={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6567],{84612:(e,t,a)=>{a.d(t,{EQ:()=>u,YG:()=>d,Zs:()=>n,gb:()=>l});var r=a(33298),o=a(14315),i=a(44141);const s="Ai",n=(0,r.xP)({reducerPath:"AiApi",tagTypes:[s],baseQuery:(0,i.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/save-file/v1/"}),endpoints:e=>({sendMessage:e.mutation({queryFn:({body:e},t)=>(0,i.KU)(t).saveFile.ai_create(e,{type:o.cM.FormData})}),getDialog:e.query({queryFn:({entity_id:e,connection:t="chat"},a)=>(0,i.KU)(a).saveFile.ai_status_list({connection:t,entity_id:e}),providesTags:e=>null!==e&&void 0!==e&&e.documents?[...e.documents.map((({id:e})=>({type:s,id:e}))),{type:s,id:"LIST"}]:[{type:s,id:"LIST"}]})})}),{useSendMessageMutation:u,useGetDialogQuery:l,useLazyGetDialogQuery:d}=n},58819:(e,t,a)=>{a.d(t,{Ll:()=>d,MN:()=>c,Uu:()=>n,y4:()=>p});var r=a(33298),o=a(44141),i=a(85163),s=a(14004);const n=(0,r.xP)({reducerPath:"AiApiGenerator",baseQuery:s.i,endpoints:e=>({generateIdForTask:e.mutation({queryFn:(e,t)=>(0,o.u$)(t).tasks.tasksControllerCreateTask(e).then((e=>e))}),clearAiChat:e.query({queryFn:(e,t)=>(0,o.KU)(t).aiGenerator.clear_history_list(e).then((e=>e))}),getGeneratedContent:e.query({queryFn:e=>({data:[]}),async onCacheEntryAdded({id:e,setError:t},a){const{updateCachedData:r,cacheEntryRemoved:s}=a;let n=(0,o.KU)(a).baseUrl.indexOf("emailmaker")>=0?i.e3.maker:i.e3.blocks;const u=new EventSource(`${n}/tasks/${e}`);u.onmessage=e=>{const t=JSON.parse(e.data);r((e=>{e.push(t)}))},u.onerror=e=>{t("Error connecting to EventSource"),u.close()},await s,u.close()}}),getAiGenerateStatus:e.mutation({query:e=>({url:"/constructor/v1/ai-save-task",method:"POST",body:e})})})}),{useGenerateIdForTaskMutation:u,useGetGeneratedContentQuery:l,useLazyClearAiChatQuery:d,useLazyGetGeneratedContentQuery:p,useGetAiGenerateStatusMutation:c}=n},53200:(e,t,a)=>{a.d(t,{B:()=>s,N:()=>n});var r=a(33298),o=a(14315),i=a(44141);const s=(0,r.xP)({reducerPath:"addUserToProjectApi",baseQuery:(0,i.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/user_to_project/v1/add_user"}),endpoints:e=>({addUserToProject:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).userToProject.add_user_create(e,{type:o.cM.FormData})})})}),{useAddUserToProjectMutation:n}=s},39990:(e,t,a)=>{a.d(t,{Q2:()=>d,b9:()=>y,Lj:()=>h,CR:()=>c,W5:()=>g,i2:()=>f,on:()=>m,hZ:()=>_});var r=a(33298),o=a(14315),i=a(31770);function s({title:{rendered:e}={rendered:""},acf:{limits:t,price:a},...r}){return{...r,title:e,limits:t,price:a}}var n=a(814);function u({acf:{autosaves:e,hide_mergetags:t,theme:a,newsletter_consent:r,code_editor:o,counters:i,subscription:s,subscription_end:u,recurring_payments:l,subscription_id:d,promocode:p,subscription_amount:c,enterprise_users_limit:m,enterprise_price:y,enterprise_12_price:_,privacy_policy_agreement:g,last_used_project:f,email_confirmation:h,email_builder_config:b},id:v,...q}){return{...q,id:(0,n.WY)(v),autosaves:e,hide_mergetags:t,theme:a,newsletter_consent:r,code_editor:o,counters:Object.keys(i).reduce(((e,t)=>(e[t]=Number(i[t]),e)),{}),subscription:s,subscription_end:u,recurring_payments:l,subscription_id:d,promocode:p,subscription_amount:c,enterprise_users_limit:m,enterprise_price:y,enterprise_12_price:_,privacy_policy_agreement:g,last_used_project:f,email_confirmation:h,email_builder_config:b}}var l=a(44141);const d=(0,r.xP)({reducerPath:"authorizationApi",baseQuery:(0,l.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({userRegistration:e.mutation({queryFn:(e,t)=>(0,l.KU)(t).wp.users_register_create({body:e,type:o.cM.Json})}),emailUserRegistration:e.mutation({query:e=>({url:`${"https://app.emailmaker.ru/api/".replaceAll(/[\\/]$/g,"")}/wp-json/auth/v1/users/register`,method:"POST",body:e})}),getMailConfirmation:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.confirmation_list({...e})}),getSchema:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.users_me_list(void 0,{method:"OPTIONS",extraQuery:{_fields:"schema"}})}),getMe:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.users_me_list(null).then((0,i.SC)((e=>e instanceof Array?e[0]:e))).then((0,i.SC)(u))}),getUser:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.users_detail({id:e}).then((0,i.SC)(u))}),editMe:e.mutation({queryFn(e,t){const a=(0,l.KU)(t),r=(0,n.TB)(function({autosaves:e,theme:t,newsletter_consent:a,code_editor:r,counters:o,subscription:i,subscription_end:s,recurring_payments:u,subscription_id:l,promocode:d,subscription_amount:p,enterprise_users_limit:c,enterprise_price:m,enterprise_12_price:y,privacy_policy_agreement:_,locale:g,last_used_project:f,email_confirmation:h,email_builder_config:b,id:v,...q}){return{...q,id:(0,n.mQ)(v),locale:g,acf:{autosaves:e,theme:t,newsletter_consent:a,code_editor:r,counters:o,subscription:i,subscription_end:s,recurring_payments:u,subscription_id:l,promocode:d,subscription_amount:p,enterprise_users_limit:c,enterprise_price:m,enterprise_12_price:y,privacy_policy_agreement:_,last_used_project:f,email_confirmation:h,email_builder_config:b}}}(e),!0);return a.wp.users_me_create(r,{type:o.cM.Json}).then((0,i.SC)(u))}}),getSubscriptions:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.subscription_list(void 0).then((0,i.Ih)(s))})})}),{useUserRegistrationMutation:p,useGetMeQuery:c,useLazyGetMeQuery:m,useEditMeMutation:y,useLazyGetSchemaQuery:_,useGetSubscriptionsQuery:g,useLazyGetMailConfirmationQuery:f,useEmailUserRegistrationMutation:h}=d},55701:(e,t,a)=>{a.d(t,{VM:()=>y,pP:()=>k,Gr:()=>w,yW:()=>I,OZ:()=>T,J4:()=>h,bg:()=>g,SB:()=>_,h1:()=>v,OD:()=>q,kz:()=>U,lx:()=>b,R2:()=>f});var r=a(33298),o=a(14315),i=a(31770),s=a(814),n=a(71210);function u({id:e,type:t,title:{rendered:a}={rendered:""},excerpt:r,author:o,acf:{subject:i,description:u,html:l,project:d,related_email:p,tags:c,type:m,is_template:y,lock:_},...g}){return{...g,id:String(e),author:String(o),renderGuid:(0,n.l)(),description:u,html:l,excerpt:null===r||void 0===r?void 0:r.rendered,project:(0,s.pT)(d)?d.ID:d,project_author:(0,s.pT)(d)?d.post_author:void 0,project_title:(0,s.pT)(d)?d.post_title:void 0,tags:c,is_template:y,type:m,related_email:(0,s.WY)((0,s.pT)(p)?p.ID:p),title:a,lock:_}}function l({title:e,subject:t,description:a,renderGuid:r,html:o,project:i,tags:n,type:u,related_email:l,is_template:d,lock:p,author:c,...m}){return{...m,author:(0,s.mQ)(c),title:e,acf:{description:a,related_email:(0,s.mQ)(l),html:o,project:i,tags:n,type:u,is_template:d,lock:p}}}function d({id:e,title:{rendered:t}={rendered:""},acf:{html:a},excerpt:r,parent:o,author:i,...n}){return{...n,id:(0,s.WY)(e),author:(0,s.WY)(i),parent:(0,s.WY)(o),title:t,html:a,excerpt:(0,s.pT)(r)?r.rendered:r}}var p=a(44141),c=a(30725),m=a(85163);const y=(0,r.xP)({reducerPath:"blocksApi",tagTypes:["Blocks","TemplatesBlocks","ParentsBlocks","Block"],baseQuery:(0,p.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getBlocks:e.query({queryFn(e,t){var a,r;const o=(0,p.KU)(t),s={order:"desc",orderby:"modified"},n={};if(e.notEmbed||(n._embed=""),e.projectId&&(n._embed="author",n._fields="id,title,blocktags,blockfolder,group,modified,date,type,acf.lock,acf.project.ID,acf.type,author,acf.is_template,acf.html",s["filter[meta_key]"]="project",s["filter[meta_value]"]=e.projectId),e.fields&&(n._fields=e.fields),e.page&&(s.page=e.page),e.order&&(s.order=e.order),e.orderby&&(s.orderby=e.orderby),e.folderTag&&e.folderTag!==m.y2?(s["filter[tax_query][relation]"]="AND",s["filter[tax_query][0][taxonomy]"]="blockfolder",s["filter[tax_query][0][field]"]="id",s["filter[tax_query][0][terms]"]=e.folderTag):!e.hasOwnProperty("folderTag")||e.folderTag===m.y2&&("object"!==typeof e.folderTag||null!==e.folderTag)||null!==(a=e.tags)&&void 0!==a&&a.length||"trash"===e.status||(s["filter[tax_query][0][taxonomy]"]="blockfolder",s["filter[tax_query][0][operator]"]="NOT EXISTS"),(null===(r=e.tags)||void 0===r?void 0:r.length)>0&&"trash"!==e.status){s["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];s[`filter[tax_query][${t+1}][taxonomy]`]="blocktags",s[`filter[tax_query][${t+1}][field]`]="id",s[`filter[tax_query][${t+1}][terms]`]=a}}return e.type&&(s["filter[meta_query][2][key]"]="type",s["filter[meta_query][2][value]"]=e.type),e.name&&(s.search=e.name),e.pageSize&&(s.per_page=e.pageSize),"trash"===e.status&&(n.status="trash"),o.wp.eblock_list(s,{extraQuery:n}).then((0,i.Ih)(u))},providesTags:(e,t,a,r)=>{var o,i;const s=null===r||void 0===r?void 0:r.response,n=(null===s||void 0===s?void 0:s.headers.get("X-WP-Total"))||0;return e?[...e.map((({id:e})=>{var t;return{type:"Blocks",id:`${a.folderTag||(null===(t=a.tags)||void 0===t?void 0:t[0])||a.projectId}_${a.page}_${a.status}_${n}`}})),{type:"Blocks",id:`${a.folderTag||(null===(o=a.tags)||void 0===o?void 0:o[0])||a.projectId}_${a.page}_${a.status}_${n}`}]:[{type:"Blocks",id:`${a.folderTag||(null===(i=a.tags)||void 0===i?void 0:i[0])||a.projectId}_${a.page}_${a.status}_${n}`}]},keepUnusedDataFor:0}),getBlocksSchema:e.query({queryFn:(e,t)=>(0,p.KU)(t).wp.eblock_list(void 0,{method:"OPTIONS",extraQuery:{_fields:"schema.properties.acf"}})}),getParentEmailBlocks:e.query({queryFn(e,t){var a;const r=(0,p.KU)(t),o={"filter[meta_query][0][compare]":"LIKE"},s={};if(e.notEmbed||(s._embed=""),e.emailId&&(o["filter[meta_query][0][key]"]="related_email",o["filter[meta_query][0][value]"]=e.emailId),e.fields&&(s._fields=e.fields),e.page&&(o.page=e.page),(null===(a=e.tags)||void 0===a?void 0:a.length)>0){o["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];o[`filter[tax_query][${t}][taxonomy]`]="blocktags",o[`filter[tax_query][${t}][field]`]="id",o[`filter[tax_query][${t}][terms]`]=a}}return e.type&&(o["filter[meta_query][2][key]"]="type",o["filter[meta_query][2][value]"]=e.type),e.name&&(o.search=e.name),e.pageSize&&(o.per_page=e.pageSize),r.wp.eblock_list(o,{extraQuery:s}).then((0,i.Ih)(u))},providesTags:e=>e?[...e.map((({id:e})=>({type:"ParentsBlocks",id:e}))),{type:"ParentsBlocks",id:"LIST"}]:[{type:"ParentsBlocks",id:"LIST"}],keepUnusedDataFor:0}),getTemplateBlocks:e.query({queryFn:(e,t)=>{var a;const r=(0,p.KU)(t),o={"filter[meta_query][1][key]":"is_template","filter[meta_query][1][value]":"1",orderby:"modified",order:"desc"},s={};if(e.notEmbed||(s._embed=""),e.fields&&(s._fields=e.fields),e.page&&(o.page=e.page),(null===(a=e.tags)||void 0===a?void 0:a.length)>0){o["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];o[`filter[tax_query][${t}][taxonomy]`]="blocktags",o[`filter[tax_query][${t}][field]`]="id",o[`filter[tax_query][${t}][terms]`]=a}}return e.type&&(o["filter[meta_query][2][key]"]="type",o["filter[meta_query][2][value]"]=e.type),e.name&&(o.search=e.name),e.pageSize&&(o.per_page=e.pageSize),r.wp.eblock_list(o,{extraQuery:s}).then((0,i.Ih)(u))},providesTags:e=>e?[...e.map((({id:e})=>({type:"TemplatesBlocks",id:e}))),{type:"TemplatesBlocks",id:"LIST"}]:[{type:"TemplatesBlocks",id:"LIST"}],keepUnusedDataFor:0}),getBlock:e.query({queryFn:(e,t)=>(0,p.KU)(t).wp.eblock_detail({id:(0,s.mQ)(e)},{extraQuery:{_embed:""}}).then((0,i.SC)(u)),providesTags:(e,t,a)=>[{type:"Block",id:a}],keepUnusedDataFor:0}),getBlockHistory:e.query({queryFn:({blockId:e,page:t=1},a)=>(0,p.KU)(a).wp.eblock_revisions_detail({parent:e,per_page:20,page:t},{extraQuery:{_fields:"author,slug,date,modified,title,acf.html,acf.common_styles,id"}}).then((a=>(0,i.SA)(a,((a,r)=>({data:a.filter((e=>e.acf.html)).map((e=>({...e,acf:{...e.acf,html:e.acf.html}}))).map(d),totalPages:+r.response.headers.get("X-WP-TotalPages"),args:{blockId:e,page:t}}))))),keepUnusedDataFor:0}),addBlock:e.mutation({queryFn:(e,t)=>(0,p.KU)(t).wp.eblock_create({...l(e),status:"publish"},{type:o.cM.Json}).then((0,i.SC)(u)),invalidatesTags:[{type:"Blocks",id:"LIST"}]}),editBlock:e.mutation({queryFn:(0,c.p)((e=>({blockId:t,source:a,...r},n)=>{const d=(0,p.KU)(e),c=(0,s.TB)(l(r));return d.wp.eblock_partial_update(t,c,{type:o.cM.Json,extraQuery:{_embed:"wp:term"}}).then((0,i.SC)(u))}))}),deleteBlock:e.mutation({queryFn(e,t){const a=(0,p.KU)(t);let r,o;return"object"===typeof e?(r=e.id,o=e.force):(r=e,o=!1),a.wp.eblock_delete(r,{force:o}).then((0,i.PI)(u))},invalidatesTags:(e,t,a)=>[{type:"Blocks",id:a}]}),addTag:e.mutation({queryFn:(e,t)=>(0,p.KU)(t).wp.blocktags_create({...e},{type:o.cM.Json})}),getDeletableTag:e.query({queryFn:([e,t],a)=>(0,p.KU)(a).wp.eblock_list({status:["private"],"filter[meta_key]":"project","filter[meta_value]":e,blocktags:[t]},{extraQuery:{"_fields[]":"blocktags"}}).then((0,i.Ih)(u))}),autoSaveBlock:e.mutation({queryFn({blockId:e,body:t},a){const r=(0,p.KU)(a),n=function({parent:e,title:t,html:a,project:r,author:o,...i}){return{...i,author:(0,s.mQ)(o),parent:(0,s.mQ)(e),title:t,"acf[html]":a,"acf[project]":r}}(t);return r.wp.eblock_autosaves_create(e,n,{type:o.cM.Json}).then((0,i.SC)(d))}})})}),{useGetBlocksQuery:_,useGetBlockQuery:g,useLazyGetBlockQuery:f,useGetBlockHistoryQuery:h,useLazyGetBlockHistoryQuery:b,useGetBlocksSchemaQuery:v,useGetParentEmailBlocksQuery:q,useAddBlockMutation:k,useEditBlockMutation:T,useAddTagMutation:w,useAutoSaveBlockMutation:I,useGetTemplateBlocksQuery:U}=y},18777:(e,t,a)=>{a.d(t,{Jg:()=>d,z2:()=>c,HI:()=>m,vn:()=>_,kk:()=>y,Cf:()=>p});var r=a(33298),o=a(14315),i=a(31770),s=a(814);function n({id:e,post:t,parent:a,author:r,content:{rendered:o},acf:{status:i,target_id:n},...u}){return{...u,id:(0,s.WY)(e),post:(0,s.WY)(t),parent:(0,s.WY)(a),author:(0,s.WY)(r),content:o,target_id:n,comment_status:i}}var u=a(44141);const l="Comments",d=(0,r.xP)({reducerPath:"commentsApi",tagTypes:[l],baseQuery:(0,u.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getComments:e.query({queryFn:function(e,t){return(0,u.KU)(t).wp.comments_list({post:[(0,s.mQ)(e)],per_page:50,order:"asc"}).then((0,i.Ih)(n))},providesTags:e=>e?[...e.map((({id:e})=>({type:l,id:e}))),{type:l,id:"LIST"}]:[{type:l,id:"LIST"}]}),addComment:e.mutation({queryFn({subjectId:e,author:t,parent:a,content:r,author_name:l,author_email:d,targetId:p},c){const m=(0,u.KU)(c),y={post:(0,s.mQ)(e),author:(0,s.mQ)(t),author_name:l,author_email:d},_={};return r&&(y.content=r),a&&(y.parent=(0,s.mQ)(a)),p&&(_["acf[target_id]"]=p),m.wp.comments_create(y,{type:o.cM.UrlEncoded,extraQuery:_}).then((0,i.SC)(n))},invalidatesTags:[{type:l,id:"LIST"}]}),deleteComment:e.mutation({queryFn:(e,t)=>(0,u.KU)(t).wp.comments_delete(e,{}).then((0,i.PI)(n)),invalidatesTags:[{type:l,id:"LIST"}]}),editComment:e.mutation({queryFn({commentId:e,content:t,status:a,targetId:r},s){const l=(0,u.KU)(s),d={},p={};return t&&(d.content=t),a&&(p["acf[status]"]=a),r&&(p["acf[targetId]"]=r),l.wp.comments_update(e,d,{type:o.cM.UrlEncoded,extraQuery:p}).then((0,i.SC)(n))},invalidatesTags:[{type:l,id:"LIST"}]}),deleteTarget:e.mutation({queryFn:(e,t)=>(0,u.KU)(t).wp.comments_delete(e,{},{extraQuery:{"acf[target_id]":""}}).then((0,i.PI)(n)),invalidatesTags:[{type:l,id:"LIST"}]})})}),{useGetCommentsQuery:p,useAddCommentMutation:c,useDeleteCommentMutation:m,useEditCommentMutation:y,useDeleteTargetMutation:_}=d},56920:(e,t,a)=>{a.d(t,{C:()=>s,F:()=>i});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"confirmationMailApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/",responseHandler:e=>e.text()}),endpoints:e=>({getConfirmationMail:e.query({query:({userId:e,email:t})=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/f0da9c0f-ed12-4d23-8a86-b86f7bf1a276?user_id=${e}&user_email=${t}`)}`})})})}),{useLazyGetConfirmationMailQuery:s}=i},21981:(e,t,a)=>{a.d(t,{m4:()=>m});var r=a(33298),o=a(14315),i=a(31770),s=a(91967),n=a(5446),u=a(814),l=a(60317),d=a(44141),p=a(30725),c=a(85163);const m=(0,r.xP)({reducerPath:"elementsApi",tagTypes:["Elements","Element","ElementAutosaves"],baseQuery:(0,d.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getElements:e.query({queryFn(e,t){var a,r;const o=(0,d.KU)(t),n={order:"desc",orderby:"modified"},u={};if(e.notEmbed||(u._embed=""),e.projectId&&(u._embed="author",u._fields="id,title,emailtags,folder,group,modified,date,type,acf.lock,acf.project.ID,author,acf.is_template",n["filter[meta_key]"]="project",n["filter[meta_value]"]=e.projectId),e.fields&&(u._fields=e.fields),e.page&&(n.page=e.page),e.order&&(n.order=e.order),e.orderby&&(n.orderby=e.orderby),e.folderTag&&e.folderTag!==c.y2?(n["filter[tax_query][relation]"]="AND",n["filter[tax_query][0][taxonomy]"]="folder",n["filter[tax_query][0][field]"]="id",n["filter[tax_query][0][terms]"]=e.folderTag):e.folderTag===c.y2&&("object"!==typeof e.folderTag||null!==e.folderTag)||null!==(a=e.tags)&&void 0!==a&&a.length||"trash"===e.status||(n["filter[tax_query][0][taxonomy]"]="folder",n["filter[tax_query][0][operator]"]="NOT EXISTS"),(null===(r=e.tags)||void 0===r?void 0:r.length)>0&&"trash"!==e.status){n["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];n[`filter[tax_query][${t+1}][taxonomy]`]="emailtags",n[`filter[tax_query][${t+1}][field]`]="id",n[`filter[tax_query][${t+1}][terms]`]=a}}return e.name&&(n.search=e.name),e.pageSize&&(n.per_page=e.pageSize),"trash"===e.status&&(u.status="trash"),o.wp.email_list(n,{extraQuery:u}).then((0,i.Ih)(s.V))},providesTags:(e,t,a,{response:r})=>{var o,i;const s=(null===r||void 0===r?void 0:r.headers.get("X-WP-Total"))||0;return e?[...e.map((({id:e})=>{var t;return{type:"Elements",id:`${a.folderTag||(null===(t=a.tags)||void 0===t?void 0:t[0])||a.projectId}_${a.page}_${a.status}_${s}`}})),{type:"Elements",id:`${a.folderTag||(null===(o=a.tags)||void 0===o?void 0:o[0])||a.projectId}_${a.page}_${a.status}_${s}`}]:[{type:"Elements",id:`${a.folderTag||(null===(i=a.tags)||void 0===i?void 0:i[0])||a.projectId}_${a.page}_${a.status}_${s}`}]},keepUnusedDataFor:0}),getTemplateElements:e.query({queryFn(e,t){var a;const r=(0,d.KU)(t),o={"filter[meta_query][1][key]":"is_template","filter[meta_query][1][value]":"1","filter[meta_query][0][compare]":"LIKE",orderby:"modified",order:"desc"},n={_embed:"wp:term",_fields:"_embedded,id,title,emailtags,folder,group,modified,date,type,acf.lock,acf.project.ID"};if(e.emailId&&(o["filter[meta_query][0][key]"]="parent_email",o["filter[meta_query][0][value]"]=e.emailId),e.fields&&(n._fields=e.fields),e.page&&(o.page=e.page),(null===(a=e.tags)||void 0===a?void 0:a.length)>0){o["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];o[`filter[tax_query][${t}][taxonomy]`]="emailtags",o[`filter[tax_query][${t}][field]`]="id",o[`filter[tax_query][${t}][terms]`]=a}}return e.type&&(o["filter[meta_query][2][key]"]="type",o["filter[meta_query][2][value]"]=e.type),e.name&&(o.search="name"),e.pageSize&&(o.per_page=e.pageSize),r.wp.email_list(o,{extraQuery:n}).then((0,i.Ih)(s.V))},keepUnusedDataFor:0}),getElement:e.query({queryFn:(e,t)=>(0,d.KU)(t).wp.email_detail({id:(0,u.mQ)(e)},{extraQuery:{_embed:"wp:term",_fields:"_embedded,id,author,title,emailtags,folder,group,modified,date,type,\n acf.description,\n acf.html,\n acf.common_styles,\n acf.is_template,\n acf.lock,\n acf.parent_email,\n acf.project,\n acf.secret_hash,\n acf.subject,\n acf.utm_parameters\n "}}).then((0,i.SC)(s.V)),providesTags:(e,t,a)=>[{type:"Email",id:a}],keepUnusedDataFor:0}),getElementHistory:e.query({queryFn:({emailId:e,page:t=1},a)=>(0,d.KU)(a).wp.email_revisions_detail({parent:e,per_page:20,page:t},{extraQuery:{_fields:"author,slug,date,modified,title,acf.html,acf.common_styles,id"}}).then((a=>(0,i.SA)(a,((a,r)=>({data:a.filter((e=>e.acf.html)).map((e=>({...e,acf:{...e.acf,html:e.acf.html}}))).map(n.F),totalPages:+r.response.headers.get("X-WP-TotalPages"),args:{emailId:e,page:t}}))))),providesTags:e=>e?[...e.data.map((({id:e})=>({type:"EmailAutosaves",id:e}))),{type:"EmailAutosaves",id:"LIST"}]:[{type:"EmailAutosaves",id:"LIST"}],keepUnusedDataFor:0}),addElement:e.mutation({queryFn:(0,p.p)((e=>({source:t,...a})=>(0,d.KU)(e).wp.email_create({status:"publish",...(0,s.v)(a)},{type:o.cM.Json}).then((0,i.SC)(s.V)))),invalidatesTags:[{type:"Elements",id:"LIST"}]}),editElement:e.mutation({queryFn:(0,p.p)((e=>({emailId:t,source:a,...r})=>{const n=(0,d.KU)(e),l=(0,u.TB)((0,s.v)(r));return n.wp.email_partial_update(t,l,{type:o.cM.Json,extraQuery:{_embed:"wp:term",_fields:"_embedded,id,author,title,emailtags,folder,group,modified,date,type,acf.description,acf.html,acf.common_styles,acf.is_template,acf.lock,acf.parent_email,acf.project,acf.secret_hash,acf.subject,acf.utm_parameters"}}).then((0,i.SC)(s.V))}))}),deleteElement:e.mutation({queryFn(e,t){const a=(0,d.KU)(t);let r,o;return"object"===typeof e?(r=e.id,o=e.force):(r=e,o=!1),a.wp.email_delete(r,{force:o}).then((0,i.PI)(s.V))},invalidatesTags:(e,t,a)=>[{type:"Elements",id:a}]}),addTag:e.mutation({queryFn:(e,t)=>(0,d.KU)(t).wp.emailtags_create({...e},{type:o.cM.Json})}),getDeletableTag:e.query({queryFn:([e,t],a)=>(0,d.KU)(a).wp.email_list({status:["private"],"filter[meta_key]":"project","filter[meta_value]":e,emailtags:[t]},{extraQuery:{"_fields[]":"emailtags"}}).then((0,i.Ih)(s.V))}),autoSaveElement:e.mutation({queryFn({emailId:e,body:t},a){const r=(0,d.KU)(a),s=(0,l.B)(t);return r.wp.email_autosaves_create(e,s,{type:o.cM.FormData}).then((0,i.SC)(n.F))}})})}),{useGetElementsQuery:y,useGetTemplateElementsQuery:_,useGetElementQuery:g,useLazyGetElementQuery:f,useGetElementHistoryQuery:h,useLazyGetElementHistoryQuery:b,useAddElementMutation:v,useEditElementMutation:q,useDeleteElementMutation:k,useGetDeletableTagQuery:T,useAddTagMutation:w,useAutoSaveElementMutation:I}=m},47036:(e,t,a)=>{a.d(t,{c:()=>d,f:()=>l});var r=a(33298),o=a(31052),i=a(31770),s=a(91967),n=a(39217);const u="EmailRaw",l=(0,r.xP)({reducerPath:"emailRawApi",tagTypes:[u],baseQuery:(0,o.cw)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getEmailRaw:e.query({queryFn:function({emailId:e,secret_hash:t},a){return(0,n.mg)(a).wp.email_detail({id:e},{extraQuery:{secret_hash:t}}).then((0,i.SC)(s.V))},providesTags:(e,t,a)=>[{type:u,id:a}]})})}),{useGetEmailRawQuery:d}=l},17581:(e,t,a)=>{a.d(t,{GY:()=>m,Gr:()=>w,Kh:()=>v,LX:()=>I,PX:()=>_,Xw:()=>y,YE:()=>b,YV:()=>h,_3:()=>f,dN:()=>q,sl:()=>g});var r=a(33298),o=a(14315),i=a(31770),s=a(91967),n=a(5446),u=a(814),l=a(60317),d=a(44141),p=a(30725),c=a(85163);const m=(0,r.xP)({reducerPath:"emailsApi",tagTypes:["Emails","Email","EmailAutosaves","TemplateEmail"],baseQuery:(0,d.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getEmails:e.query({queryFn(e,t){var a,r;const o=(0,d.KU)(t),n={order:"desc",orderby:"modified"},u={};if(e.notEmbed||(u._embed=""),e.projectId&&(u._embed="author",u._fields="id,title,emailtags,folder,group,modified,date,type,acf.lock,acf.project.ID,author,acf.is_template",n["filter[meta_key]"]="project",n["filter[meta_value]"]=e.projectId),e.fields&&(u._fields=e.fields),e.page&&(n.page=e.page),e.order&&(n.order=e.order),e.orderby&&(n.orderby=e.orderby),e.folderTag&&e.folderTag!==c.y2?(n["filter[tax_query][relation]"]="AND",n["filter[tax_query][0][taxonomy]"]="folder",n["filter[tax_query][0][field]"]="id",n["filter[tax_query][0][terms]"]=e.folderTag):e.folderTag===c.y2&&("object"!==typeof e.folderTag||null!==e.folderTag)||null!==(a=e.tags)&&void 0!==a&&a.length||"trash"===e.status||(n["filter[tax_query][0][taxonomy]"]="folder",n["filter[tax_query][0][operator]"]="NOT EXISTS"),(null===(r=e.tags)||void 0===r?void 0:r.length)>0&&"trash"!==e.status){n["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];n[`filter[tax_query][${t+1}][taxonomy]`]="emailtags",n[`filter[tax_query][${t+1}][field]`]="id",n[`filter[tax_query][${t+1}][terms]`]=a}}return e.name&&(n.search=e.name),e.pageSize&&(n.per_page=e.pageSize),"trash"===e.status&&(u.status="trash"),o.wp.email_list(n,{extraQuery:u}).then((0,i.Ih)(s.V))},providesTags:(e,t,a,{response:r})=>{var o,i;const s=(null===r||void 0===r?void 0:r.headers.get("X-WP-Total"))||0;return e?[...e.map((({id:e})=>{var t;return{type:"Emails",id:`${a.folderTag||(null===(t=a.tags)||void 0===t?void 0:t[0])||a.projectId}_${a.page}_${a.status}_${s}`}})),{type:"Emails",id:`${a.folderTag||(null===(o=a.tags)||void 0===o?void 0:o[0])||a.projectId}_${a.page}_${a.status}_${s}`}]:[{type:"Emails",id:`${a.folderTag||(null===(i=a.tags)||void 0===i?void 0:i[0])||a.projectId}_${a.page}_${a.status}_${s}`}]},keepUnusedDataFor:0}),getTemplateEmails:e.query({queryFn(e,t){var a;const r=(0,d.KU)(t),o={"filter[meta_query][1][key]":"is_template","filter[meta_query][1][value]":"1","filter[meta_query][0][compare]":"LIKE",orderby:"modified",order:"desc"},n={_embed:"wp:term",_fields:"_embedded,id,title,emailtags,folder,group,modified,date,type,acf.lock,acf.project.ID"};if(e.emailId&&(o["filter[meta_query][0][key]"]="parent_email",o["filter[meta_query][0][value]"]=e.emailId),e.fields&&(n._fields=e.fields),e.page&&(o.page=e.page),(null===(a=e.tags)||void 0===a?void 0:a.length)>0){o["filter[tax_query][relation]"]="AND";for(let t=0,a=e.tags.length;t<a;t++){const a=e.tags[t];o[`filter[tax_query][${t}][taxonomy]`]="emailtags",o[`filter[tax_query][${t}][field]`]="id",o[`filter[tax_query][${t}][terms]`]=a}}return e.type&&(o["filter[meta_query][2][key]"]="type",o["filter[meta_query][2][value]"]=e.type),e.name&&(o.search="name"),e.pageSize&&(o.per_page=e.pageSize),r.wp.email_list(o,{extraQuery:n}).then((0,i.Ih)(s.V))},keepUnusedDataFor:0}),getEmail:e.query({queryFn:(e,t)=>(0,d.KU)(t).wp.email_detail({id:(0,u.mQ)(e)},{extraQuery:{_embed:"wp:term",_fields:"_embedded,id,author,title,emailtags,folder,group,modified,date,type,\n acf.description,\n acf.html,\n acf.common_styles,\n acf.is_template,\n acf.lock,\n acf.parent_email,\n acf.project,\n acf.secret_hash,\n acf.subject,\n acf.utm_parameters\n "}}).then((0,i.SC)(s.V)),providesTags:(e,t,a)=>[{type:"Email",id:a}],keepUnusedDataFor:0}),getTemplateEmail:e.query({queryFn:(e,t)=>(0,d.KU)(t).wp.email_detail({id:(0,u.mQ)(e)},{extraQuery:{_embed:"wp:term",_fields:"_embedded,id,author,title,emailtags,folder,group,modified,date,type,\n acf.description,\n acf.html,\n acf.common_styles,\n acf.is_template,\n acf.lock,\n acf.parent_email,\n acf.project,\n acf.secret_hash,\n acf.subject,\n acf.utm_parameters\n "}}).then((0,i.SC)(s.V)),providesTags:(e,t,a)=>[{type:"TemplateEmail",id:a}],keepUnusedDataFor:0}),getEmailHistory:e.query({queryFn:({emailId:e,page:t=1},a)=>(0,d.KU)(a).wp.email_revisions_detail({parent:e,per_page:20,page:t},{extraQuery:{_fields:"author,slug,date,modified,title,acf.html,acf.common_styles,id"}}).then((a=>(0,i.SA)(a,((a,r)=>({data:a.filter((e=>e.acf.html)).map((e=>({...e,acf:{...e.acf,html:e.acf.html}}))).map(n.F),totalPages:+r.response.headers.get("X-WP-TotalPages"),args:{emailId:e,page:t}}))))),providesTags:e=>e?[...e.data.map((({id:e})=>({type:"EmailAutosaves",id:e}))),{type:"EmailAutosaves",id:"LIST"}]:[{type:"EmailAutosaves",id:"LIST"}],keepUnusedDataFor:0}),addEmail:e.mutation({queryFn:(0,p.p)((e=>({source:t,...a})=>(0,d.KU)(e).wp.email_create({status:"publish",...(0,s.v)(a)},{type:o.cM.Json}).then((0,i.SC)(s.V)))),invalidatesTags:[{type:"Emails",id:"LIST"}]}),editEmail:e.mutation({queryFn:(0,p.p)((e=>({emailId:t,source:a,...r})=>{const n=(0,d.KU)(e),l=(0,u.TB)((0,s.v)(r));return n.wp.email_partial_update(t,l,{type:o.cM.Json,extraQuery:{_embed:"wp:term",_fields:"_embedded,id,author,title,emailtags,folder,group,modified,date,type,acf.description,acf.html,acf.common_styles,acf.is_template,acf.lock,acf.parent_email,acf.project,acf.secret_hash,acf.subject,acf.utm_parameters"}}).then((0,i.SC)(s.V))}))}),deleteEmail:e.mutation({queryFn(e,t){const a=(0,d.KU)(t);let r,o;return"object"===typeof e?(r=e.id,o=e.force):(r=e,o=!1),a.wp.email_delete(r,{force:o}).then((0,i.PI)(s.V))},invalidatesTags:(e,t,a)=>[{type:"Emails",id:a}]}),addTag:e.mutation({queryFn:(e,t)=>(0,d.KU)(t).wp.emailtags_create({...e},{type:o.cM.Json})}),getDeletableTag:e.query({queryFn:([e,t],a)=>(0,d.KU)(a).wp.email_list({status:["private"],"filter[meta_key]":"project","filter[meta_value]":e,emailtags:[t]},{extraQuery:{"_fields[]":"emailtags"}}).then((0,i.Ih)(s.V))}),autoSaveEmail:e.mutation({queryFn({emailId:e,body:t},a){const r=(0,d.KU)(a),s=(0,l.B)(t);return r.wp.email_autosaves_create(e,s,{type:o.cM.FormData}).then((0,i.SC)(n.F))}})})}),{useGetEmailsQuery:y,useGetTemplateEmailsQuery:_,useGetEmailQuery:g,useLazyGetEmailQuery:f,useGetEmailHistoryQuery:h,useLazyGetEmailHistoryQuery:b,useAddEmailMutation:v,useEditEmailMutation:q,useDeleteEmailMutation:k,useGetDeletableTagQuery:T,useAddTagMutation:w,useAutoSaveEmailMutation:I}=m},62677:(e,t,a)=>{a.d(t,{C:()=>i,N:()=>s});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"webHookApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/"}),endpoints:e=>({postDataByWebHook:e.mutation({query:({url:e,body:t})=>({url:`?proxy_url=${encodeURIComponent(e)}`,method:"POST",body:t})})})}),{usePostDataByWebHookMutation:s}=i},35317:(e,t,a)=>{a.d(t,{O:()=>s,y:()=>i});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"getCheckoutUrlApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/"}),endpoints:e=>({GetCheckoutUrl:e.mutation({query:e=>({url:`?proxy_url=${encodeURIComponent({}.REACT_APP_PIPEDREAM_GET_CHECKOUT_URL)}`,method:"POST",body:e})})})}),{useGetCheckoutUrlMutation:s}=i},141:(e,t,a)=>{a.d(t,{k:()=>i,x:()=>s});var r=a(33298),o=a(44141);const i=(0,r.xP)({reducerPath:"googleAuthApi",baseQuery:(0,o.hI)({baseUrl:"https://app.emailmaker.ru/api//wp-json/auth/v1/google/callback"}),endpoints:e=>({validateGoogleToken:e.mutation({query:e=>({url:"",method:"POST",body:e})})})}),{useValidateGoogleTokenMutation:s}=i},95679:(e,t,a)=>{a.d(t,{CL:()=>s,FQ:()=>n,Jg:()=>g,Mv:()=>c,eo:()=>h,gg:()=>v,h4:()=>d});var r=a(33298),o=a(14315),i=a(44141);const s=(0,r.xP)({reducerPath:"imageApi",baseQuery:void 0,endpoints:e=>({getImageInfo:e.query({queryFn:async function(e,t){try{var a,r;const o=(null===(a=t.getState().configSlice)||void 0===a||null===(r=a.config)||void 0===r?void 0:r.imageInfoToolUrl)||"https://scr.emcdn.ru/imageinfo",i=await fetch(`${o}?url=${encodeURIComponent(e)}`);return{data:await i.json()}}catch(o){console.log(o)}}}),getSearchImage:e.query({queryFn:async function({query:e,page:t}){const a=e.keywords.replace(/[^\w\d\s\u0430-\u044f\u0451\u0410-\u042f\u0401]|_/g,"").replace(/[\s_-]+/g," ");try{let r=`https://api.unsplash.com/search/photos?client_id=S5iNcLqYgRBIOLQdluHdTsCJnjCvahzhG7JfYQOrV7o&lang=ru&per_page=18&query=${a}&page=${t}`;""!==e.color&&(r+=`&color=${e.color}`),""!==e.orientation&&(r+=`&orientation=${e.orientation}`);const o=await fetch(r);return{data:await o.json()}}catch(r){console.log(r)}}}),getUnsplashImage:e.query({queryFn:async function(e){try{const t=await fetch(`${e}&client_id=S5iNcLqYgRBIOLQdluHdTsCJnjCvahzhG7JfYQOrV7o`);return{data:await t.json()}}catch(t){console.log(t)}}}),sendAiImageRequest:e.query({queryFn:async function({body:e},t){try{const a=(0,i.KU)(t);return await a.saveFile.ai_create(e,{type:o.cM.FormData})}catch(a){console.log(a)}}}),getAiImage:e.query({queryFn:async function(e,t){try{const a=(0,i.KU)(t);return await a.saveFile.ai_status_list(e)}catch(a){console.log(a)}}}),getAiImageSSE:e.query({queryFn:e=>({data:[]}),async onCacheEntryAdded({task_id:e,entity_id:t},{updateCachedData:a,cacheDataLoaded:r,cacheEntryRemoved:o}){const i="https://app.emailmaker.ru/api/".replaceAll(/[\\/]$/g,""),s=new EventSource(` ${i}/wp-json/ai-generator/v1/ai-status?entity_id=${t}&stream=1&task_id=${e}`);s.onmessage=e=>{const t=JSON.parse(e.data);a((e=>{e.push(t)}))},s.onerror=e=>{s.close()},await o,s.close()}}),getSearchGif:e.query({queryFn:async function({query:e,page:t}){const a=e.keywords.replace(/[^\w\d\s\u0430-\u044f\u0451\u0410-\u042f\u0401]|_/g,"").replace(/[\s_-]+/g," ");try{let e=`https://api.giphy.com/v1/gifs/search?api_key=Nh77eBlPeMn1ed9MBAvL542NUGeNO26F&q=${a}&limit=25&offset=${t}&lang=en`;const r=await fetch(e);return{data:await r.json()}}catch(r){console.log(r)}}})})}),{useLazyGetImageInfoQuery:n,useGetImageInfoQuery:u,useGetSearchImageQuery:l,useLazyGetSearchImageQuery:d,useSendAiImageRequestQuery:p,useLazySendAiImageRequestQuery:c,useGetAiImageQuery:m,useLazyGetAiImageQuery:y,useGetUnsplashImageQuery:_,useLazyGetUnsplashImageQuery:g,useGetSearchGifQuery:f,useLazyGetSearchGifQuery:h,useGetAiImageSSEQuery:b,useLazyGetAiImageSSEQuery:v}=s},94381:(e,t,a)=>{a.d(t,{Ad:()=>n,HO:()=>p,Yj:()=>d});var r=a(33298),o=a(31052),i=a(44141);const s="LOCALES",n=(0,r.xP)({reducerPath:"localesApi",tagTypes:[s],baseQuery:(0,o.cw)({baseUrl:"https://app.emailmaker.ru/api/wp-json/translations/v1"}),endpoints:e=>({getLocale:e.query({async queryFn({id:e},t){const a=(0,i.KU)(t);try{return await a.translations.get_translations3(e,"react_app")}catch(r){return console.log(r),a.translations.get_translations3("en_US","react_app")}},providesTags:(e,t,a)=>[{type:s,id:a}]}),getLocales:e.query({queryFn:function(e,t){return(0,i.KU)(t).translations.get_translations2("react_app")},providesTags:(e,t,a)=>[{type:s,id:a}]})})}),{useGetLocalesQuery:u,useGetLocaleQuery:l,useLazyGetLocaleQuery:d,useLazyGetLocalesQuery:p}=n},91967:(e,t,a)=>{a.d(t,{V:()=>i,v:()=>s});var r=a(814),o=a(71210);function i({id:e,title:{rendered:t}={rendered:""},type:a,guid:i,acf:{lock:s,subject:n,description:u,html:l,project:d,tags:p,utm_parameters:c,parent_email:m,common_styles:y,is_template:_},author:g,...f}){return{...f,id:(0,r.WY)(e),author:(0,r.WY)(g),title:t,lock:s,renderGuid:(0,o.l)(),description:u,html:l,project:(0,r.pT)(d)?d.ID:d,project_author:(0,r.pT)(d)?d.post_author:void 0,project_title:(0,r.pT)(d)?d.post_title:void 0,tags:p,utm_parameters:c,parent_email:(0,r.WY)(m instanceof Array&&m[0]?m[0].ID:m),common_styles:y,is_template:_}}function s({title:e,lock:t,subject:a,description:o,html:i,project:s,tags:n,renderGuid:u,utm_parameters:l,parent_email:d,common_styles:p,is_template:c,author:m,...y}){return{...y,author:(0,r.mQ)(m),title:e,acf:{lock:t,description:o,html:i,project:s,tags:n,utm_parameters:l,parent_email:(0,r.mQ)(d),common_styles:p,is_template:c}}}},60317:(e,t,a)=>{a.d(t,{B:()=>o});var r=a(814);function o({parent:e,title:t,html:a,project:o,subject:i,preheader:s,common_styles:n,author:u,...l}){return{...l,author:(0,r.mQ)(u),title:t,parent:(0,r.mQ)(e),"acf[html]":a,"acf[project]":o}}},5446:(e,t,a)=>{a.d(t,{F:()=>o});var r=a(814);function o({id:e,title:{rendered:t}={rendered:""},acf:{html:a},parent:o,excerpt:i,author:s,...n}){return{...n,author:(0,r.WY)(s),id:(0,r.WY)(e),parent:(0,r.WY)(o),title:t,html:a,excerpt:(0,r.pT)(i)?i.rendered:i}}},814:(e,t,a)=>{function r(e,t=!1){const a={};for(const o of Object.keys(e)){let i=e[o];void 0===i||"number"===typeof i&&Number.isNaN(i)||(t&&"object"===typeof i&&null!==i&&(i=r(i)),a[o]=i)}return a}function o(e){return"object"===typeof e&&e}function i(e){const t=Number(e);return isNaN(t)?e:t}function s(e){return"number"===typeof e?String(e):e}a.d(t,{TB:()=>r,WY:()=>s,mQ:()=>i,pT:()=>o})},62689:(e,t,a)=>{a.d(t,{vx:()=>l,I9:()=>d,bw:()=>p});var r=a(33298),o=a(14315),i=a(31770);function s({title:e,acf:{seen:t,type:a},...r}){return{...r,seen:t,type:a,title:e.rendered}}var n=a(44141);const u="Notifications",l=(0,r.xP)({reducerPath:"notificationsApi",tagTypes:[u],baseQuery:(0,n.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getNotifications:e.query({queryFn:(e,t)=>(0,n.KU)(t).wp.notification_list({author:[Number(e)]}).then((0,i.Ih)(s)),providesTags:e=>e?[...e.map((({id:e})=>({type:u,id:e}))),{type:u,id:"LIST"}]:[{type:u,id:"LIST"}]}),notificationShown:e.mutation({queryFn:({id:e,datetime:t},a)=>(0,n.KU)(a).wp.notification_create2(e,{},{type:o.cM.Json,extraQuery:{"acf[seen]":t}}).then((0,i.SC)(s)),invalidatesTags:[{type:u,id:"LIST"}]})})}),{useGetNotificationsQuery:d,useNotificationShownMutation:p}=l},88528:(e,t,a)=>{a.d(t,{Ju:()=>u,Sr:()=>l,ku:()=>n,tO:()=>s});var r=a(33298),o=a(44141);const i="Optimise",s=(0,r.xP)({reducerPath:"optimiseApi",tagTypes:[i],baseQuery:async(e,t,a)=>{const r=(0,o.KU)(t).baseUrl.replaceAll(/[\\/]$/g,""),i=(0,o.hI)({baseUrl:`${r}/optimization/v1/validate`});let s=await i(e,t,a);if(s.error){let e=s.error;if("function"===typeof e.json)try{e=await e.json()}catch{e=await e,console.log("error",e)}return{error:e}}return s},endpoints:e=>({editLinks:e.mutation({query:e=>({headers:{"Content-Type":"application/json",Accept:"application/json"},method:"POST",type:"application/json",url:"/links",body:e}),invalidatesTags:[i]}),editImages:e.mutation({query:e=>({headers:{"Content-Type":"application/json",Accept:"application/json"},method:"POST",type:"application/json",url:"/images",body:e})}),editSpam:e.mutation({query:e=>({headers:{"Content-Type":"application/json",Accept:"application/json"},method:"POST",type:"application/json",url:"/spamassasin",body:e})})})}),{useEditLinksMutation:n,useEditImagesMutation:u,useEditSpamMutation:l}=s},84568:(e,t,a)=>{a.d(t,{Nq:()=>p,lD:()=>y,OD:()=>_,fo:()=>m,su:()=>c});var r=a(33298),o=a(14315),i=a(31770),s=a(814);function n({title:{rendered:e}={rendered:""},acf:{members:t,projects_test_emails:a,ftp_settings:r,emails:o,blocks:i,webhook:n},...u}){return{...u,title:e,members:(0,s.pT)(t)?{admins:t.admins&&t.admins.map((e=>({...e,ID:(0,s.WY)(e.ID)}))),users:t.users&&t.users.map((e=>({...e,ID:(0,s.WY)(e.ID)}))),invited_users:t.invited_users&&t.invited_users.map((e=>({...e,ID:(0,s.WY)(e.ID)}))),owner:(0,s.pT)(t.owner)?{...t.owner,ID:(0,s.WY)(t.owner.ID)}:t.owner}:void 0,projects_test_emails:a,ftp_settings:r,webhook:n,emails:o,blocks:i}}function u({title:e,members:t,projects_test_emails:a,ftp_settings:r,webhook:o,emails:i,blocks:n,...u}){const l=e=>({ID:(0,s.mQ)(e.ID||e)}),d=e=>{return(t=e,Array.isArray(t)?t:t?[t]:[]).map(l);var t};return{...u,title:e,acf:{members:t&&{admins:d(t.admins),users:d(t.users),invited_users:d(t.invited_users),owner:t.owner&&l(t.owner)},webhook:o,projects_test_emails:a,ftp_settings:r,emails:i,blocks:n}}}var l=a(44141);const d="Projects",p=(0,r.xP)({reducerPath:"projectsApi",tagTypes:[d,"project"],baseQuery:(0,l.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({getProjects:e.query({queryFn(e={page:1},t){const a=(0,l.KU)(t),r={status:["private"]};return e.page&&(r.page=e.page),e.order&&(r.order=e.order),e.orderby&&(r.orderby=e.order),a.wp.project_list(r).then((0,i.Ih)(n))},providesTags:e=>e?[...e.map((({id:e})=>({type:d,id:e}))),{type:d,id:"LIST"}]:[{type:d,id:"LIST"}]}),getProject:e.query({queryFn:(e,t)=>(0,l.KU)(t).wp.project_detail({id:e},{extraQuery:{_embed:"wp:term"}}).then((0,i.SC)(n)),providesTags:(e,t,a)=>[{type:"project",id:a}]}),addProject:e.mutation({queryFn:(e,t)=>(0,l.KU)(t).wp.project_create({status:"private",...u(e)},{type:o.cM.Json}).then((0,i.SC)(n)),invalidatesTags:[{type:d,id:"LIST"}]}),editProject:e.mutation({queryFn({projectId:e,...t},a){const r=(0,l.KU)(a),d=(0,s.TB)(u(t),!0);return r.wp.project_partial_update(e,d,{type:o.cM.Json}).then((0,i.SC)(n))},invalidatesTags:(e,t,{projectId:a})=>[{type:d,id:a}]}),deleteProject:e.mutation({queryFn:(e,t)=>(0,l.KU)(t).wp.project_delete(e,{}).then((0,i.PI)(n)),invalidatesTags:(e,t,a)=>[{type:d,id:a}]})})}),{useGetProjectsQuery:c,useGetProjectQuery:m,useAddProjectMutation:y,useEditProjectMutation:_}=p},15865:(e,t,a)=>{a.d(t,{So:()=>i});var r=a(33298),o=a(44141);const i=(0,r.xP)({reducerPath:"promoApi",baseQuery:(0,o.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/promo/v1/"}),endpoints:e=>({checkPromo:e.mutation({queryFn:({code:e,type:t},a)=>(0,o.KU)(a).promo.set_code_create({code:e,type:t})}),getPromoInfo:e.query({queryFn:({code:e},t)=>(0,o.KU)(t).promo.get_code_info_list({code:e})})})}),{useCheckPromoMutation:s,useGetPromoInfoQuery:n}=i},46312:(e,t,a)=>{a.d(t,{Z8:()=>i,mI:()=>n});var r=a(33298),o=a(44141);const i=(0,r.xP)({reducerPath:"proxyApi",tagTypes:["Proxy"],baseQuery:(0,o.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/cors-proxy/v1/get"}),endpoints:e=>({getFile:e.query({queryFn({url:e,tryFetch:t=!0,type:a},r){const i=(0,o.KU)(r),s=t?fetch(e):Promise.reject(),n=e=>(e=>{switch(a){case"json":return e.json();case"text":return e.text();default:return e.blob()}})(e).then((e=>({data:e})));return s.then((e=>n(e))).catch((()=>i.corsProxy.get_list({format:"blob",extraQuery:{url:encodeURIComponent(e)}})))}})})}),{useGetFileQuery:s,useLazyGetFileQuery:n}=i},65119:(e,t,a)=>{a.d(t,{Lv:()=>u,kg:()=>l,yR:()=>n});var r=a(33298),o=a(31052),i=a(14315),s=a(39217);const n=(0,r.xP)({reducerPath:"recoverPasswordApi",baseQuery:(0,o.cw)({baseUrl:"https://app.emailmaker.ru/api/wp-json/bdpwr/v1/"}),endpoints:e=>({resetPassword:e.mutation({queryFn:(e,t)=>(0,s.mg)(t).bdpwr.reset_password_create({body:e,type:i.cM.Json})}),setPassword:e.mutation({queryFn:(e,t)=>(0,s.mg)(t).bdpwr.set_password_create({body:e,type:i.cM.Json})}),validateRecoverPasswordCode:e.mutation({queryFn:(e,t)=>(0,s.mg)(t).bdpwr.validate_code_create({body:e,type:i.cM.Json})})})}),{useResetPasswordMutation:u,useSetPasswordMutation:l,useValidateRecoverPasswordCodeMutation:d}=n},76793:(e,t,a)=>{a.d(t,{Cl:()=>s,KA:()=>i});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"recurrenceSubscriptionsOffApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/"}),endpoints:e=>({getCanselRecurrence:e.query({query:e=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${e.sid}&user_id=${e.uid}`)}`})})})}),{useLazyGetCanselRecurrenceQuery:s,useGetCanselRecurrenceQuery:n}=i},843:(e,t,a)=>{a.d(t,{IJ:()=>s,Sd:()=>i});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"recurrenceSubscriptionsOnApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/"}),endpoints:e=>({getRecurrence:e.query({query:e=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${e.sid}&user_id=${e.uid}`)}`})})})}),{useLazyGetRecurrenceQuery:s,useGetRecurrenceQuery:n}=i},40869:(e,t,a)=>{a.d(t,{E:()=>s,M:()=>i});var r=a(33298),o=a(31052);const i=(0,r.xP)({reducerPath:"requestPlaneApi",baseQuery:(0,o.cw)({baseUrl:"https://px0.emailmaker.ru/"}),endpoints:e=>({getRequest:e.mutation({query:e=>({url:`?proxy_url=${encodeURIComponent("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8")}`,method:"POST",body:e})})})}),{useGetRequestMutation:s}=i},63531:(e,t,a)=>{a.d(t,{Zf:()=>l,dS:()=>n,lg:()=>u,tb:()=>d,yH:()=>s});var r=a(33298),o=a(14315),i=a(44141);const s=(0,r.xP)({reducerPath:"saveFileApi",tagTypes:["Images"],baseQuery:(0,i.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/save-file/v1/"}),endpoints:e=>({uploadImage:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).saveFile.upload_create(e,{type:o.cM.FormData})}),sendTestEmail:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).saveFile.send_email_create(e,{type:o.cM.FormData})}),sendLivePreview:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).saveFile.get_link_create(e,{type:o.cM.FormData})}),sendShortLink:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).saveFile.shortener_create(e,{type:o.cM.FormData})})})}),{useUploadImageMutation:n,useSendTestEmailMutation:u,useSendLivePreviewMutation:l,useSendShortLinkMutation:d}=s},93563:(e,t,a)=>{a.d(t,{$s:()=>p,Jz:()=>n,Yb:()=>d,f1:()=>l,kE:()=>s});var r=a(33298),o=a(44141);const i=()=>window.location.toString().includes("/blocks")?"block":"",s=(0,r.xP)({reducerPath:"taxonomiesApi",tagTypes:["Taxonomies","folder","block_folder"],baseQuery:(0,o.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/wp/v2/"}),endpoints:e=>({addFolder:e.mutation({queryFn:(e,t)=>(0,o.KU)(t).wp[i()+"folder_create"](e).then((e=>e))}),editFolder:e.mutation({queryFn:({id:e,data:t},a)=>(0,o.KU)(a).wp[i()+"folder_partial_update"](e,t).then((e=>e))}),deleteFolder:e.mutation({queryFn:(e,t)=>(0,o.KU)(t).wp[i()+"folder_delete"](e,{force:!0}).then((e=>e))}),getFolders:e.query({queryFn:(e,t)=>(0,o.KU)(t).wp[i()+"folder_list"]({per_page:100,...e}).then((e=>e)),providesTags:(e,t,a)=>[{type:"folder",id:a}]}),addEmailsTag:e.mutation({queryFn:(e,t)=>(0,o.KU)(t).wp.emailtags_create(e).then((e=>e))}),editEmailsTag:e.mutation({queryFn:({id:e,...t},a)=>(0,o.KU)(a).wp.emailtags_partial_update(e,t).then((e=>e))}),deleteEmailsTag:e.mutation({queryFn:(e,t)=>(0,o.KU)(t).wp.emailtags_delete(e,{force:!0}).then((e=>e))}),getTags:e.query({queryFn:(e,t)=>(0,o.KU)(t).wp[(window.location.toString().includes("/blocks")?"block":"email")+"tags_list"]({per_page:100,...e}).then((e=>e))})})}),{useGetFoldersQuery:n,useGetTagsQuery:u,useLazyGetFoldersQuery:l,useAddFolderMutation:d,useEditFolderMutation:p}=s},83351:(e,t,a)=>{a.d(t,{OV:()=>s,UH:()=>u,uX:()=>n});var r=a(33298),o=a(14315),i=a(44141);const s=(0,r.xP)({reducerPath:"tokenApi",baseQuery:(0,i.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/jwt-auth/v1/"}),endpoints:e=>({tokenCreate:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).jwtAuth.token_create({body:e,type:o.cM.Json})}),tokenValidate:e.mutation({queryFn:(e,t)=>(0,i.KU)(t).jwtAuth.token_validate_create({type:o.cM.Json})})})}),{useTokenCreateMutation:n,useTokenValidateMutation:u}=s},1779:(e,t,a)=>{a.d(t,{S:()=>i,p:()=>s});var r=a(33298),o=a(44141);const i=(0,r.xP)({reducerPath:"yandexAuthApi",baseQuery:(0,o.hI)({baseUrl:"https://app.emailmaker.ru/api/wp-json/auth/v1/yandex/callback"}),endpoints:e=>({validateYandexToken:e.mutation({query:e=>({url:"",method:"POST",body:e})})})}),{useValidateYandexTokenMutation:s}=i}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6643.1eb62a36.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6643],{76643:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>o,language:()=>s});var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},s={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6691.1ee2f23b.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6691],{46691:(e,n,s)=>{s.r(n),s.d(n,{conf:()=>i,language:()=>o});var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6701.8bd3807d.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6701],{6701:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>i,language:()=>s});var i={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},s={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6739.22d13837.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[6739],{16739:(e,s,o)=>{o.r(s),o.d(s,{conf:()=>t,language:()=>a});var t={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},a={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}}}]);
@@ -1,6 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/