useblocks 1.0.33 → 1.0.34
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.
- package/README.md +1 -1
- package/asset-manifest.json +377 -0
- package/css.worker.js +2 -0
- package/css.worker.js.LICENSE.txt +6 -0
- package/editor.worker.js +1 -0
- package/html.worker.js +2 -0
- package/html.worker.js.LICENSE.txt +14 -0
- package/iframe/{iframe-eblock.4d894a419fe4ff94d516.html → iframe-eblock.ddd7daa2df902eb62faf.html} +1 -1
- package/iframe/{iframe.4d894a419fe4ff94d516.html → iframe.ddd7daa2df902eb62faf.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/json.worker.js +2 -0
- package/json.worker.js.LICENSE.txt +6 -0
- package/package.json +1 -1
- package/plugin.html +281 -0
- package/plugin_blocks_test.html +144 -0
- package/plugin_default.html +56 -0
- package/plugin_s.html +31 -0
- package/static/css/1795.3b54559d.css +1 -0
- package/static/css/2256.15cb333e.css +1 -0
- package/static/css/4877.237f7f6b.css +1 -0
- package/static/css/5571.e9720eda.css +1 -0
- package/static/css/6677.3a2b7cfe.css +1 -0
- package/static/css/698.9a48c3be.css +1 -0
- package/static/css/984.b0f773d2.css +1 -0
- package/static/js/1049.4172dffd.chunk.js +2 -0
- package/static/js/1049.4172dffd.chunk.js.LICENSE.txt +6 -0
- package/static/js/1052.d1f85a29.js +1 -0
- package/static/js/1185.6bf6f9aa.chunk.js +2 -0
- package/static/js/1185.6bf6f9aa.chunk.js.LICENSE.txt +6 -0
- package/static/js/1212.15b852ca.js +1 -0
- package/static/js/1265.a2619e5d.chunk.js +2 -0
- package/static/js/1265.a2619e5d.chunk.js.LICENSE.txt +6 -0
- package/static/js/1307.74cb7b10.js +1 -0
- package/static/js/1329.579d774a.chunk.js +2 -0
- package/static/js/1329.579d774a.chunk.js.LICENSE.txt +6 -0
- package/static/js/1399.71fa61b5.js +1 -0
- package/static/js/1403.68211890.js +1 -0
- package/static/js/1459.3976d721.chunk.js +2 -0
- package/static/js/1459.3976d721.chunk.js.LICENSE.txt +6 -0
- package/static/js/1472.683ade96.js +1 -0
- package/static/js/150.e6ab4dd6.js +2 -0
- package/static/js/150.e6ab4dd6.js.LICENSE.txt +1 -0
- package/static/js/1579.1a9c02cc.chunk.js +2 -0
- package/static/js/1579.1a9c02cc.chunk.js.LICENSE.txt +6 -0
- package/static/js/1653.4c4a3135.chunk.js +2 -0
- package/static/js/1653.4c4a3135.chunk.js.LICENSE.txt +6 -0
- package/static/js/1729.b71e4a99.chunk.js +1 -0
- package/static/js/1795.02f7d573.js +1 -0
- package/static/js/1841.5da7bf01.chunk.js +2 -0
- package/static/js/1841.5da7bf01.chunk.js.LICENSE.txt +6 -0
- package/static/js/1861.b8c224a2.chunk.js +2 -0
- package/static/js/1861.b8c224a2.chunk.js.LICENSE.txt +6 -0
- package/static/js/192.c5769095.js +1 -0
- package/static/js/197.a135382e.js +1 -0
- package/static/js/2016.e08ef9ce.js +1 -0
- package/static/js/2049.ae85de41.chunk.js +2 -0
- package/static/js/2049.ae85de41.chunk.js.LICENSE.txt +6 -0
- package/static/js/2088.1813eba6.js +1 -0
- package/static/js/2132.3e700acc.js +2 -0
- package/static/js/2132.3e700acc.js.LICENSE.txt +6 -0
- package/static/js/2217.2e801f1a.chunk.js +2 -0
- package/static/js/2217.2e801f1a.chunk.js.LICENSE.txt +6 -0
- package/static/js/2223.17806e9a.js +2 -0
- package/static/js/2223.17806e9a.js.LICENSE.txt +10 -0
- package/static/js/2256.8cc91416.js +1 -0
- package/static/js/2273.9a82beda.chunk.js +2 -0
- package/static/js/2273.9a82beda.chunk.js.LICENSE.txt +6 -0
- package/static/js/2279.8fca3f80.js +1 -0
- package/static/js/2353.e7f622b0.chunk.js +2 -0
- package/static/js/2353.e7f622b0.chunk.js.LICENSE.txt +6 -0
- package/static/js/2464.2c009f8c.js +2 -0
- package/static/js/2464.2c009f8c.js.LICENSE.txt +6 -0
- package/static/js/2469.b6573b5d.js +1 -0
- package/static/js/2579.ad196e9b.js +1 -0
- package/static/js/2582.b2b22fe0.js +2 -0
- package/static/js/2582.b2b22fe0.js.LICENSE.txt +31 -0
- package/static/js/2617.84f5300d.js +1 -0
- package/static/js/2642.53da04d8.js +1 -0
- package/static/js/2896.fac80e3c.js +2 -0
- package/static/js/2896.fac80e3c.js.LICENSE.txt +6 -0
- package/static/js/2987.6e35b276.chunk.js +2 -0
- package/static/js/2987.6e35b276.chunk.js.LICENSE.txt +6 -0
- package/static/js/3031.84c39f37.chunk.js +2 -0
- package/static/js/3031.84c39f37.chunk.js.LICENSE.txt +6 -0
- package/static/js/3142.506128bd.js +1 -0
- package/static/js/3143.1ba23572.chunk.js +2 -0
- package/static/js/3143.1ba23572.chunk.js.LICENSE.txt +6 -0
- package/static/js/3273.17658f13.chunk.js +2 -0
- package/static/js/3273.17658f13.chunk.js.LICENSE.txt +6 -0
- package/static/js/3303.576ded0e.js +1 -0
- package/static/js/3393.192ef5c3.chunk.js +2 -0
- package/static/js/3393.192ef5c3.chunk.js.LICENSE.txt +6 -0
- package/static/js/3441.c99ed155.chunk.js +2 -0
- package/static/js/3441.c99ed155.chunk.js.LICENSE.txt +6 -0
- package/static/js/3501.86e3c48e.chunk.js +2 -0
- package/static/js/3501.86e3c48e.chunk.js.LICENSE.txt +6 -0
- package/static/js/3511.80b2af5b.chunk.js +2 -0
- package/static/js/3511.80b2af5b.chunk.js.LICENSE.txt +6 -0
- package/static/js/353.3e6b29fb.js +1 -0
- package/static/js/3593.e62e49f2.chunk.js +2 -0
- package/static/js/3593.e62e49f2.chunk.js.LICENSE.txt +6 -0
- package/static/js/3665.12d06fc4.chunk.js +2 -0
- package/static/js/3665.12d06fc4.chunk.js.LICENSE.txt +6 -0
- package/static/js/3682.d155b110.js +2 -0
- package/static/js/3682.d155b110.js.LICENSE.txt +18 -0
- package/static/js/3713.ecd8d4d5.chunk.js +2 -0
- package/static/js/3713.ecd8d4d5.chunk.js.LICENSE.txt +6 -0
- package/static/js/3724.b7878b14.js +1 -0
- package/static/js/3737.df8953d0.chunk.js +2 -0
- package/static/js/3737.df8953d0.chunk.js.LICENSE.txt +6 -0
- package/static/js/3744.86c2957a.js +1 -0
- package/static/js/3921.99dffea2.chunk.js +2 -0
- package/static/js/3921.99dffea2.chunk.js.LICENSE.txt +6 -0
- package/static/js/3959.42824ee0.js +1 -0
- package/static/js/3969.d76517dd.chunk.js +2 -0
- package/static/js/3969.d76517dd.chunk.js.LICENSE.txt +6 -0
- package/static/js/3991.d0073826.js +1 -0
- package/static/js/4009.088de4c8.js +1 -0
- package/static/js/4046.b9a6a0d1.chunk.js +1 -0
- package/static/js/4047.9b1db1a0.chunk.js +2 -0
- package/static/js/4047.9b1db1a0.chunk.js.LICENSE.txt +6 -0
- package/static/js/4161.10fa2db8.chunk.js +2 -0
- package/static/js/4161.10fa2db8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4197.8eec4e1e.chunk.js +2 -0
- package/static/js/4197.8eec4e1e.chunk.js.LICENSE.txt +6 -0
- package/static/js/4231.0dca1f81.js +1 -0
- package/static/js/433.e0f675e7.chunk.js +2 -0
- package/static/js/433.e0f675e7.chunk.js.LICENSE.txt +6 -0
- package/static/js/4337.cfa4be7c.chunk.js +2 -0
- package/static/js/4337.cfa4be7c.chunk.js.LICENSE.txt +6 -0
- package/static/js/4384.d7dc931a.js +2 -0
- package/static/js/4384.d7dc931a.js.LICENSE.txt +15 -0
- package/static/js/4465.1af39ca8.chunk.js +2 -0
- package/static/js/4465.1af39ca8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4471.c28a2129.chunk.js +2 -0
- package/static/js/4471.c28a2129.chunk.js.LICENSE.txt +6 -0
- package/static/js/4609.b1d09cb3.chunk.js +2 -0
- package/static/js/4609.b1d09cb3.chunk.js.LICENSE.txt +6 -0
- package/static/js/4675.5a245a7a.js +1 -0
- package/static/js/4877.79afdd18.js +1 -0
- package/static/js/493.56a9ec50.chunk.js +2 -0
- package/static/js/493.56a9ec50.chunk.js.LICENSE.txt +6 -0
- package/static/js/4957.824c7499.chunk.js +2 -0
- package/static/js/4957.824c7499.chunk.js.LICENSE.txt +6 -0
- package/static/js/4963.d5f498ed.chunk.js +2 -0
- package/static/js/4963.d5f498ed.chunk.js.LICENSE.txt +6 -0
- package/static/js/5130.5a4cb31f.js +2 -0
- package/static/js/5130.5a4cb31f.js.LICENSE.txt +6 -0
- package/static/js/515.16219a24.js +2 -0
- package/static/js/515.16219a24.js.LICENSE.txt +6 -0
- package/static/js/5234.f4717ce4.js +1 -0
- package/static/js/5256.5152ffd5.js +1 -0
- package/static/js/5571.e9032e61.js +1 -0
- package/static/js/5606.a93f532c.js +1 -0
- package/static/js/5873.5fdbcd6c.js +1 -0
- package/static/js/5927.4c81b127.chunk.js +1 -0
- package/static/js/5957.d2ad88af.js +2 -0
- package/static/js/5957.d2ad88af.js.LICENSE.txt +9 -0
- package/static/js/5969.2b9f0751.js +1 -0
- package/static/js/5974.1a3cdd81.js +1 -0
- package/static/js/6133.0da38de9.js +1 -0
- package/static/js/6154.eda7a5eb.js +1 -0
- package/static/js/6177.cfd53511.chunk.js +2 -0
- package/static/js/6177.cfd53511.chunk.js.LICENSE.txt +6 -0
- package/static/js/6209.367effd7.chunk.js +2 -0
- package/static/js/6209.367effd7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6210.e0532bdd.js +1 -0
- package/static/js/6219.e2ba95f7.chunk.js +2 -0
- package/static/js/6219.e2ba95f7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6242.14f46d39.js +2 -0
- package/static/js/6242.14f46d39.js.LICENSE.txt +43 -0
- package/static/js/6289.46413f79.chunk.js +2 -0
- package/static/js/6289.46413f79.chunk.js.LICENSE.txt +6 -0
- package/static/js/6305.13b451ab.chunk.js +2 -0
- package/static/js/6305.13b451ab.chunk.js.LICENSE.txt +6 -0
- package/static/js/6313.16f2ea70.chunk.js +2 -0
- package/static/js/6313.16f2ea70.chunk.js.LICENSE.txt +6 -0
- package/static/js/6403.fdddaab8.js +1 -0
- package/static/js/6487.1bcde185.js +1 -0
- package/static/js/6529.67b52fe1.chunk.js +2 -0
- package/static/js/6529.67b52fe1.chunk.js.LICENSE.txt +6 -0
- package/static/js/6545.798ceede.chunk.js +2 -0
- package/static/js/6545.798ceede.chunk.js.LICENSE.txt +6 -0
- package/static/js/6567.636a8f84.js +1 -0
- package/static/js/657.c68af219.js +1 -0
- package/static/js/6633.2645f8a5.chunk.js +2 -0
- package/static/js/6633.2645f8a5.chunk.js.LICENSE.txt +6 -0
- package/static/js/665.6b528187.chunk.js +2 -0
- package/static/js/665.6b528187.chunk.js.LICENSE.txt +6 -0
- package/static/js/6659.3f40e62e.chunk.js +2 -0
- package/static/js/6659.3f40e62e.chunk.js.LICENSE.txt +6 -0
- package/static/js/6712.a85c5bf3.js +1 -0
- package/static/js/6873.36666f3b.chunk.js +2 -0
- package/static/js/6873.36666f3b.chunk.js.LICENSE.txt +6 -0
- package/static/js/6931.f1bfddce.chunk.js +2 -0
- package/static/js/6931.f1bfddce.chunk.js.LICENSE.txt +6 -0
- package/static/js/6945.feae0e01.js +1 -0
- package/static/js/6978.4572de86.chunk.js +2 -0
- package/static/js/6978.4572de86.chunk.js.LICENSE.txt +6 -0
- package/static/js/698.7fc7c6dc.js +1 -0
- package/static/js/7099.df805007.js +1 -0
- package/static/js/7137.ce26a473.chunk.js +2 -0
- package/static/js/7137.ce26a473.chunk.js.LICENSE.txt +6 -0
- package/static/js/7167.8d977301.js +1 -0
- package/static/js/7297.55905776.chunk.js +2 -0
- package/static/js/7297.55905776.chunk.js.LICENSE.txt +6 -0
- package/static/js/7386.e4419bd3.js +1 -0
- package/static/js/7400.a9f59fa2.js +1 -0
- package/static/js/7457.9d3d73f0.chunk.js +2 -0
- package/static/js/7457.9d3d73f0.chunk.js.LICENSE.txt +6 -0
- package/static/js/747.e69631e9.chunk.js +2 -0
- package/static/js/747.e69631e9.chunk.js.LICENSE.txt +6 -0
- package/static/js/753.3912652b.chunk.js +2 -0
- package/static/js/753.3912652b.chunk.js.LICENSE.txt +6 -0
- package/static/js/7698.28da948c.js +1 -0
- package/static/js/7768.49b35c46.js +1 -0
- package/static/js/7773.dbe2ce9b.js +1 -0
- package/static/js/7813.a2698e19.chunk.js +2 -0
- package/static/js/7813.a2698e19.chunk.js.LICENSE.txt +6 -0
- package/static/js/790.05e9f9b9.js +1 -0
- package/static/js/799.7d4b7962.chunk.js +2 -0
- package/static/js/799.7d4b7962.chunk.js.LICENSE.txt +6 -0
- package/static/js/8073.b0e835de.chunk.js +2 -0
- package/static/js/8073.b0e835de.chunk.js.LICENSE.txt +6 -0
- package/static/js/8154.ef02a714.js +1 -0
- package/static/js/8161.5ffffff0.chunk.js +2 -0
- package/static/js/8161.5ffffff0.chunk.js.LICENSE.txt +6 -0
- package/static/js/8179.acf16a1a.chunk.js +1 -0
- package/static/js/823.48325ac1.js +2 -0
- package/static/js/823.48325ac1.js.LICENSE.txt +7 -0
- package/static/js/8236.b3951f96.js +2 -0
- package/static/js/8236.b3951f96.js.LICENSE.txt +42 -0
- package/static/js/8325.41ced5ea.chunk.js +2 -0
- package/static/js/8325.41ced5ea.chunk.js.LICENSE.txt +6 -0
- package/static/js/8345.e3795419.js +1 -0
- package/static/js/8401.c2682208.chunk.js +2 -0
- package/static/js/8401.c2682208.chunk.js.LICENSE.txt +6 -0
- package/static/js/8405.427451ca.chunk.js +2 -0
- package/static/js/8405.427451ca.chunk.js.LICENSE.txt +6 -0
- package/static/js/8417.dd8c3bf1.chunk.js +2 -0
- package/static/js/8417.dd8c3bf1.chunk.js.LICENSE.txt +6 -0
- package/static/js/8447.56f9c146.js +1 -0
- package/static/js/8449.3924eedc.chunk.js +2 -0
- package/static/js/8449.3924eedc.chunk.js.LICENSE.txt +6 -0
- package/static/js/8545.5232cd96.chunk.js +2 -0
- package/static/js/8545.5232cd96.chunk.js.LICENSE.txt +6 -0
- package/static/js/8571.3cd299f9.chunk.js +2 -0
- package/static/js/8571.3cd299f9.chunk.js.LICENSE.txt +6 -0
- package/static/js/8573.2eb0c558.chunk.js +2 -0
- package/static/js/8573.2eb0c558.chunk.js.LICENSE.txt +6 -0
- package/static/js/8576.7d2900f8.js +1 -0
- package/static/js/8652.dd930977.js +1 -0
- package/static/js/8671.6a83db75.js +1 -0
- package/static/js/8689.e2d021af.chunk.js +1 -0
- package/static/js/8738.3ba7b2e7.js +2 -0
- package/static/js/8738.3ba7b2e7.js.LICENSE.txt +87 -0
- package/static/js/8740.a2a83fd4.js +1 -0
- package/static/js/8849.822eb43c.chunk.js +2 -0
- package/static/js/8849.822eb43c.chunk.js.LICENSE.txt +6 -0
- package/static/js/8865.19a4685d.chunk.js +2 -0
- package/static/js/8865.19a4685d.chunk.js.LICENSE.txt +6 -0
- package/static/js/8879.10db9af5.js +2 -0
- package/static/js/8879.10db9af5.js.LICENSE.txt +86 -0
- package/static/js/8912.0202829b.js +1 -0
- package/static/js/898.f4c54861.js +1 -0
- package/static/js/9009.3a3823fe.chunk.js +2 -0
- package/static/js/9009.3a3823fe.chunk.js.LICENSE.txt +10 -0
- package/static/js/9019.7efd13af.js +2 -0
- package/static/js/9019.7efd13af.js.LICENSE.txt +96 -0
- package/static/js/9328.74394e00.js +1 -0
- package/static/js/9331.fb590698.js +1 -0
- package/static/js/9420.28e956c3.js +1 -0
- package/static/js/9484.7637c43c.js +1 -0
- package/static/js/9485.9eeca498.chunk.js +2 -0
- package/static/js/9485.9eeca498.chunk.js.LICENSE.txt +6 -0
- package/static/js/9573.e444964a.chunk.js +2 -0
- package/static/js/9573.e444964a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9669.d08bf80a.chunk.js +2 -0
- package/static/js/9669.d08bf80a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9691.ca82588e.chunk.js +2 -0
- package/static/js/9691.ca82588e.chunk.js.LICENSE.txt +6 -0
- package/static/js/9723.c2245912.chunk.js +2 -0
- package/static/js/9723.c2245912.chunk.js.LICENSE.txt +6 -0
- package/static/js/9725.60640f5c.chunk.js +2 -0
- package/static/js/9725.60640f5c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9800.0bef2fed.chunk.js +2 -0
- package/static/js/9800.0bef2fed.chunk.js.LICENSE.txt +6 -0
- package/static/js/9878.cca6854e.js +2 -0
- package/static/js/9878.cca6854e.js.LICENSE.txt +8 -0
- package/static/js/9895.8824cd4c.chunk.js +2 -0
- package/static/js/9895.8824cd4c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9907.0d22d89d.js +1 -0
- package/static/js/9969.455a2030.chunk.js +2 -0
- package/static/js/9969.455a2030.chunk.js.LICENSE.txt +6 -0
- package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +1 -0
- package/static/js/ant-locale/locale1.5b1308da.chunk.js +1 -0
- package/static/js/ant-locale/locale10.f74ae841.chunk.js +1 -0
- package/static/js/ant-locale/locale11.cf703a34.chunk.js +1 -0
- package/static/js/ant-locale/locale13.9bcbe954.chunk.js +1 -0
- package/static/js/ant-locale/locale14.cb658550.chunk.js +1 -0
- package/static/js/ant-locale/locale15.e80eb12a.chunk.js +1 -0
- package/static/js/ant-locale/locale16.49bc0148.chunk.js +1 -0
- package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +1 -0
- package/static/js/ant-locale/locale18.f9e62843.chunk.js +1 -0
- package/static/js/ant-locale/locale19.c98c053a.chunk.js +1 -0
- package/static/js/ant-locale/locale2.b54c0d79.chunk.js +1 -0
- package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +1 -0
- package/static/js/ant-locale/locale21.7764c4b3.chunk.js +1 -0
- package/static/js/ant-locale/locale22.5cbb9959.chunk.js +1 -0
- package/static/js/ant-locale/locale23.2342f692.chunk.js +1 -0
- package/static/js/ant-locale/locale24.3c622cfa.chunk.js +1 -0
- package/static/js/ant-locale/locale25.7658de4e.chunk.js +1 -0
- package/static/js/ant-locale/locale26.b7e751bd.chunk.js +1 -0
- package/static/js/ant-locale/locale27.a47676d9.chunk.js +1 -0
- package/static/js/ant-locale/locale28.c89eee28.chunk.js +1 -0
- package/static/js/ant-locale/locale3.48f0afe7.chunk.js +1 -0
- package/static/js/ant-locale/locale30.4d3672db.chunk.js +1 -0
- package/static/js/ant-locale/locale31.406215d5.chunk.js +1 -0
- package/static/js/ant-locale/locale32.6167b5e8.chunk.js +1 -0
- package/static/js/ant-locale/locale33.4be05b3c.chunk.js +1 -0
- package/static/js/ant-locale/locale34.3813ab2f.chunk.js +1 -0
- package/static/js/ant-locale/locale35.d58b9c31.chunk.js +1 -0
- package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +1 -0
- package/static/js/ant-locale/locale37.1c16e25b.chunk.js +1 -0
- package/static/js/ant-locale/locale38.dfa6d712.chunk.js +1 -0
- package/static/js/ant-locale/locale39.31c90381.chunk.js +1 -0
- package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +1 -0
- package/static/js/ant-locale/locale40.fe7ab935.chunk.js +1 -0
- package/static/js/ant-locale/locale41.4dee0621.chunk.js +1 -0
- package/static/js/ant-locale/locale42.7061d0fc.chunk.js +1 -0
- package/static/js/ant-locale/locale43.b3c810a8.chunk.js +1 -0
- package/static/js/ant-locale/locale44.df0a5a76.chunk.js +1 -0
- package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +1 -0
- package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +1 -0
- package/static/js/ant-locale/locale47.b84733ce.chunk.js +1 -0
- package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +1 -0
- package/static/js/ant-locale/locale49.c67382b7.chunk.js +1 -0
- package/static/js/ant-locale/locale5.b2b61134.chunk.js +1 -0
- package/static/js/ant-locale/locale50.6520fd45.chunk.js +1 -0
- package/static/js/ant-locale/locale51.9b89fb56.chunk.js +1 -0
- package/static/js/ant-locale/locale52.11d21631.chunk.js +1 -0
- package/static/js/ant-locale/locale53.cea142dd.chunk.js +1 -0
- package/static/js/ant-locale/locale54.16ef125d.chunk.js +1 -0
- package/static/js/ant-locale/locale55.b1a653c1.chunk.js +1 -0
- package/static/js/ant-locale/locale56.83c76bd5.chunk.js +1 -0
- package/static/js/ant-locale/locale57.e685764a.chunk.js +1 -0
- package/static/js/ant-locale/locale58.d003f49e.chunk.js +1 -0
- package/static/js/ant-locale/locale59.556522b5.chunk.js +1 -0
- package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +1 -0
- package/static/js/ant-locale/locale61.30fe9720.chunk.js +1 -0
- package/static/js/ant-locale/locale62.b21e6edb.chunk.js +1 -0
- package/static/js/ant-locale/locale63.8e66417e.chunk.js +1 -0
- package/static/js/ant-locale/locale64.fdae6858.chunk.js +1 -0
- package/static/js/ant-locale/locale65.58003560.chunk.js +1 -0
- package/static/js/ant-locale/locale66.94ea41f2.chunk.js +1 -0
- package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +1 -0
- package/static/js/ant-locale/locale69.27295717.chunk.js +1 -0
- package/static/js/ant-locale/locale7.1509b3e0.chunk.js +1 -0
- package/static/js/ant-locale/locale70.964bc038.chunk.js +1 -0
- package/static/js/ant-locale/locale71.99926e0d.chunk.js +1 -0
- package/static/js/ant-locale/locale8.134136c4.chunk.js +1 -0
- package/static/js/ant-locale/locale9.9b87d751.chunk.js +1 -0
- package/static/js/mergeTags/locale0.23c595c1.chunk.js +1 -0
- package/static/js/mergeTags/locale1.3448e6cb.chunk.js +1 -0
- package/static/js/mocks.90ebae7c.chunk.js +1 -0
- package/static/js/useblocks_core.55eab1be.js +1 -0
- package/static/media/ai-image.7c42c2e1.png +0 -0
- package/static/media/codicon.f13d28f3.ttf +0 -0
- package/static/media/empty-image.1827d656.png +0 -0
- package/static/media/frame_dark.318d7ed5.png +0 -0
- package/static/media/frame_light.22a9b4ec.png +0 -0
- package/static/media/frame_template_gallery.85693b39.png +0 -0
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +1 -0
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +1 -0
- package/static/media/sign_up_01.33327158.png +0 -0
- package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
- package/static/media/sign_up_02.d99d2aa6.png +0 -0
- package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
- package/static/media/sign_up_03.5545ffad.png +0 -0
- package/static/media/sign_up_03_blocks.126601f7.png +0 -0
- package/static/media/sign_up_04.398a4ca5.png +0 -0
- package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
- package/static/media/sign_up_05.4c58df1b.png +0 -0
- package/static/media/sign_up_05_blocks.431b6844.png +0 -0
- package/static/media/video.854adea5.png +0 -0
- package/translations.pot +92 -92
- package/ts.worker.js +2 -0
- package/ts.worker.js.LICENSE.txt +21 -0
- package/useblocks-esm.js +1 -0
- package/useblocks.d.ts +1072 -0
- package/useblocks.js +1 -0
- package/iframe/429.js +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A class to parse color values
|
|
3
|
+
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
4
|
+
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
|
|
5
|
+
* @license Use it if you like it
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
|
10
|
+
*
|
|
11
|
+
* @version 0.11.0
|
|
12
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
13
|
+
* @copyright Chen, Yi-Cyuan 2014-2024
|
|
14
|
+
* @license MIT
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/** @preserve
|
|
18
|
+
* jsPDF - PDF Document creation from JavaScript
|
|
19
|
+
* Version 1.4.1 Built on 2018-06-06T07:49:34.040Z
|
|
20
|
+
* CommitID 3233f44044
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
23
|
+
* 2010 Aaron Spike, https://github.com/acspike
|
|
24
|
+
* 2012 Willow Systems Corporation, willow-systems.com
|
|
25
|
+
* 2012 Pablo Hess, https://github.com/pablohess
|
|
26
|
+
* 2012 Florian Jenett, https://github.com/fjenett
|
|
27
|
+
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
28
|
+
* 2013 Youssef Beddad, https://github.com/lifof
|
|
29
|
+
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
30
|
+
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
31
|
+
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
32
|
+
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
33
|
+
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
34
|
+
* 2014 James Makes, https://github.com/dollaruw
|
|
35
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
|
36
|
+
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
37
|
+
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
38
|
+
*
|
|
39
|
+
* Licensed under the MIT License
|
|
40
|
+
*
|
|
41
|
+
* Contributor(s):
|
|
42
|
+
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
43
|
+
* kim3er, mfo, alnorth, Flamenco
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/** @preserve
|
|
47
|
+
* jsPDF addImage plugin
|
|
48
|
+
* Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
|
|
49
|
+
* 2013 Chris Dowling, https://github.com/gingerchris
|
|
50
|
+
* 2013 Trinh Ho, https://github.com/ineedfat
|
|
51
|
+
* 2013 Edwin Alejandro Perez, https://github.com/eaparango
|
|
52
|
+
* 2013 Norah Smith, https://github.com/burnburnrocket
|
|
53
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
|
54
|
+
* 2014 James Robb, https://github.com/jamesbrobb
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/** @preserve
|
|
60
|
+
* jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
|
|
61
|
+
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
|
62
|
+
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
63
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
|
64
|
+
* 2014 Daniel Husar, https://github.com/danielhusar
|
|
65
|
+
* 2014 Wolfgang Gassler, https://github.com/woolfg
|
|
66
|
+
* 2014 Steven Spungin, https://github.com/flamenco
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* ====================================================================
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
/** @preserve
|
|
73
|
+
* jsPDF split_text_to_size plugin - MIT license.
|
|
74
|
+
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
|
75
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/** @preserve
|
|
79
|
+
jsPDF SVG plugin
|
|
80
|
+
Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
/** @preserve
|
|
84
|
+
jsPDF standard_fonts_metrics plugin
|
|
85
|
+
Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
|
86
|
+
MIT license.
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
/**@preserve
|
|
90
|
+
* ====================================================================
|
|
91
|
+
* jsPDF PNG PlugIn
|
|
92
|
+
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* ====================================================================
|
|
96
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9328],{42108:(t,n,e)=>{"use strict";e.d(n,{hU:()=>f,y3:()=>q,nv:()=>c});var i=e(99694),o=e.n(i),r=e(49298),s=e.n(r);const a=o()(console.error);function c(t){try{for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i<n;i++)e[i-1]=arguments[i];return s().sprintf(t,...e)}catch(o){return o instanceof Error&&a("sprintf error: \n\n"+o.toString()),t}}var l=e(7761);const h={plural_forms:t=>1===t?0:1},u=/^i18n\.(n?gettext|has_translation)(_|$)/,f=(t,n,e)=>{const i=new l.A({}),o=new Set,r=()=>{o.forEach((t=>t()))},s=function(t){var n;let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";i.data[e]={...i.data[e],...t},i.data[e][""]={...h,...null===(n=i.data[e])||void 0===n?void 0:n[""]},delete i.pluralForms[e]},a=(t,n)=>{s(t,n),r()},c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;return i.data[t]||s(void 0,t),i.dcnpgettext(t,n,e,o,r)},f=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},d=(t,n,i)=>{let o=c(i,n,t);return e?(o=e.applyFilters("i18n.gettext_with_context",o,t,n,i),e.applyFilters("i18n.gettext_with_context_"+f(i),o,t,n,i)):o};if(t&&a(t,n),e){const t=t=>{u.test(t)&&r()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return i.data[t]},setLocaleData:a,addLocaleData:function(t){var n;let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";i.data[e]={...i.data[e],...t,"":{...h,...null===(n=i.data[e])||void 0===n?void 0:n[""],...null===t||void 0===t?void 0:t[""]}},delete i.pluralForms[e],r()},resetLocaleData:(t,n)=>{i.data={},i.pluralForms={},a(t,n)},subscribe:t=>(o.add(t),()=>o.delete(t)),__:(t,n)=>{let i=c(n,void 0,t);return e?(i=e.applyFilters("i18n.gettext",i,t,n),e.applyFilters("i18n.gettext_"+f(n),i,t,n)):i},_x:d,_n:(t,n,i,o)=>{let r=c(o,void 0,t,n,i);return e?(r=e.applyFilters("i18n.ngettext",r,t,n,i,o),e.applyFilters("i18n.ngettext_"+f(o),r,t,n,i,o)):r},_nx:(t,n,i,o,r)=>{let s=c(r,o,t,n,i);return e?(s=e.applyFilters("i18n.ngettext_with_context",s,t,n,i,o,r),e.applyFilters("i18n.ngettext_with_context_"+f(r),s,t,n,i,o,r)):s},isRTL:()=>"rtl"===d("ltr","text direction"),hasTranslation:(t,n,o)=>{var r,s;const a=n?n+"\x04"+t:t;let c=!(null===(r=i.data)||void 0===r||null===(s=r[null!==o&&void 0!==o?o:"default"])||void 0===s||!s[a]);return e&&(c=e.applyFilters("i18n.has_translation",c,t,n,o),c=e.applyFilters("i18n.has_translation_"+f(o),c,t,n,o)),c}}};const d=function(t){return"string"!==typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};const p=function(t){return"string"!==typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};const g=function(t,n){return function(e,i,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const s=t[n];if(!p(e))return;if(!d(i))return;if("function"!==typeof o)return void console.error("The hook callback must be a function.");if("number"!==typeof r)return void console.error("If specified, the hook priority must be a number.");const a={callback:o,priority:r,namespace:i};if(s[e]){const t=s[e].handlers;let n;for(n=t.length;n>0&&!(r>=t[n-1].priority);n--);n===t.length?t[n]=a:t.splice(n,0,a),s.__current.forEach((t=>{t.name===e&&t.currentIndex>=n&&t.currentIndex++}))}else s[e]={handlers:[a],runs:0};"hookAdded"!==e&&t.doAction("hookAdded",e,i,o,r)}};const v=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,o){const r=t[n];if(!p(i))return;if(!e&&!d(o))return;if(!r[i])return 0;let s=0;if(e)s=r[i].handlers.length,r[i]={runs:r[i].runs,handlers:[]};else{const t=r[i].handlers;for(let n=t.length-1;n>=0;n--)t[n].namespace===o&&(t.splice(n,1),s++,r.__current.forEach((t=>{t.name===i&&t.currentIndex>=n&&t.currentIndex--})))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,o),s}};const m=function(t,n){return function(e,i){const o=t[n];return"undefined"!==typeof i?e in o&&o[e].handlers.some((t=>t.namespace===i)):e in o}};const y=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i){const o=t[n];o[i]||(o[i]={handlers:[],runs:0}),o[i].runs++;const r=o[i].handlers;for(var s=arguments.length,a=new Array(s>1?s-1:0),c=1;c<s;c++)a[c-1]=arguments[c];if(!r||!r.length)return e?a[0]:void 0;const l={name:i,currentIndex:0};for(o.__current.push(l);l.currentIndex<r.length;){const t=r[l.currentIndex].callback.apply(null,a);e&&(a[0]=t),l.currentIndex++}return o.__current.pop(),e?a[0]:void 0}};const w=function(t,n){return function(){var e,i;const o=t[n];return null!==(e=null===(i=o.__current[o.__current.length-1])||void 0===i?void 0:i.name)&&void 0!==e?e:null}};const _=function(t,n){return function(e){const i=t[n];return"undefined"===typeof e?"undefined"!==typeof i.__current[0]:!!i.__current[0]&&e===i.__current[0].name}};const b=function(t,n){return function(e){const i=t[n];if(p(e))return i[e]&&i[e].runs?i[e].runs:0}};class x{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=g(this,"actions"),this.addFilter=g(this,"filters"),this.removeAction=v(this,"actions"),this.removeFilter=v(this,"filters"),this.hasAction=m(this,"actions"),this.hasFilter=m(this,"filters"),this.removeAllActions=v(this,"actions",!0),this.removeAllFilters=v(this,"filters",!0),this.doAction=y(this,"actions"),this.applyFilters=y(this,"filters",!0),this.currentAction=w(this,"actions"),this.currentFilter=w(this,"filters"),this.doingAction=_(this,"actions"),this.doingFilter=_(this,"filters"),this.didAction=b(this,"actions"),this.didFilter=b(this,"filters")}}const A=function(){return new x}(),{addAction:k,addFilter:T,removeAction:F,removeFilter:j,hasAction:S,hasFilter:I,removeAllActions:E,removeAllFilters:C,doAction:O,applyFilters:L,currentAction:N,currentFilter:D,doingAction:$,doingFilter:P,didAction:W,didFilter:B,actions:R,filters:z}=A,Z=f(void 0,void 0,A),q=Z;Z.getLocaleData.bind(Z),Z.setLocaleData.bind(Z),Z.resetLocaleData.bind(Z),Z.subscribe.bind(Z),Z.__.bind(Z),Z._x.bind(Z),Z._n.bind(Z),Z._nx.bind(Z),Z.isRTL.bind(Z),Z.hasTranslation.bind(Z)},1741:(t,n,e)=>{var i;!function(){function o(t,n,e){return t.call.apply(t.bind,arguments)}function r(t,n,e){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(e,i),t.apply(n,e)}}return function(){return t.apply(n,arguments)}}function s(t,n,e){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?o:r).apply(null,arguments)}var a=Date.now||function(){return+new Date};function c(t,n){this.a=t,this.o=n||t,this.c=this.o.document}var l=!!window.FontFace;function h(t,n,e,i){if(n=t.c.createElement(n),e)for(var o in e)e.hasOwnProperty(o)&&("style"==o?n.style.cssText=e[o]:n.setAttribute(o,e[o]));return i&&n.appendChild(t.c.createTextNode(i)),n}function u(t,n,e){(t=t.c.getElementsByTagName(n)[0])||(t=document.documentElement),t.insertBefore(e,t.lastChild)}function f(t){t.parentNode&&t.parentNode.removeChild(t)}function d(t,n,e){n=n||[],e=e||[];for(var i=t.className.split(/\s+/),o=0;o<n.length;o+=1){for(var r=!1,s=0;s<i.length;s+=1)if(n[o]===i[s]){r=!0;break}r||i.push(n[o])}for(n=[],o=0;o<i.length;o+=1){for(r=!1,s=0;s<e.length;s+=1)if(i[o]===e[s]){r=!0;break}r||n.push(i[o])}t.className=n.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function p(t,n){for(var e=t.className.split(/\s+/),i=0,o=e.length;i<o;i++)if(e[i]==n)return!0;return!1}function g(t,n,e){function i(){a&&o&&r&&(a(s),a=null)}n=h(t,"link",{rel:"stylesheet",href:n,media:"all"});var o=!1,r=!0,s=null,a=e||null;l?(n.onload=function(){o=!0,i()},n.onerror=function(){o=!0,s=Error("Stylesheet failed to load"),i()}):setTimeout((function(){o=!0,i()}),0),u(t,"head",n)}function v(t,n,e,i){var o=t.c.getElementsByTagName("head")[0];if(o){var r=h(t,"script",{src:n}),s=!1;return r.onload=r.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,e&&e(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&o.removeChild(r))},o.appendChild(r),setTimeout((function(){s||(s=!0,e&&e(Error("Script load timeout")))}),i||5e3),r}return null}function m(){this.a=0,this.c=null}function y(t){return t.a++,function(){t.a--,_(t)}}function w(t,n){t.c=n,_(t)}function _(t){0==t.a&&t.c&&(t.c(),t.c=null)}function b(t){this.a=t||"-"}function x(t,n){this.c=t,this.f=4,this.a="n";var e=(n||"n4").match(/^([nio])([1-9])$/i);e&&(this.a=e[1],this.f=parseInt(e[2],10))}function A(t){var n=[];t=t.split(/,\s*/);for(var e=0;e<t.length;e++){var i=t[e].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?n.push("'"+i+"'"):n.push(i)}return n.join(",")}function k(t){return t.a+t.f}function T(t){var n="normal";return"o"===t.a?n="oblique":"i"===t.a&&(n="italic"),n}function F(t){var n=4,e="n",i=null;return t&&((i=t.match(/(normal|oblique|italic)/i))&&i[1]&&(e=i[1].substr(0,1).toLowerCase()),(i=t.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?n=7:/[1-9]00/.test(i[1])&&(n=parseInt(i[1].substr(0,1),10)))),e+n}function j(t,n){this.c=t,this.f=t.o.document.documentElement,this.h=n,this.a=new b("-"),this.j=!1!==n.events,this.g=!1!==n.classes}function S(t){if(t.g){var n=p(t.f,t.a.c("wf","active")),e=[],i=[t.a.c("wf","loading")];n||e.push(t.a.c("wf","inactive")),d(t.f,e,i)}I(t,"inactive")}function I(t,n,e){t.j&&t.h[n]&&(e?t.h[n](e.c,k(e)):t.h[n]())}function E(){this.c={}}function C(t,n){this.c=t,this.f=n,this.a=h(this.c,"span",{"aria-hidden":"true"},this.f)}function O(t){u(t.c,"body",t.a)}function L(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+A(t.c)+";font-style:"+T(t)+";font-weight:"+t.f+"00;"}function N(t,n,e,i,o,r){this.g=t,this.j=n,this.a=i,this.c=e,this.f=o||3e3,this.h=r||void 0}function D(t,n,e,i,o,r,s){this.v=t,this.B=n,this.c=e,this.a=i,this.s=s||"BESbswy",this.f={},this.w=o||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new C(this.c,this.s),this.h=new C(this.c,this.s),this.j=new C(this.c,this.s),this.m=new C(this.c,this.s),t=L(t=new x(this.a.c+",serif",k(this.a))),this.g.a.style.cssText=t,t=L(t=new x(this.a.c+",sans-serif",k(this.a))),this.h.a.style.cssText=t,t=L(t=new x("serif",k(this.a))),this.j.a.style.cssText=t,t=L(t=new x("sans-serif",k(this.a))),this.m.a.style.cssText=t,O(this.g),O(this.h),O(this.j),O(this.m)}b.prototype.c=function(t){for(var n=[],e=0;e<arguments.length;e++)n.push(arguments[e].replace(/[\W_]+/g,"").toLowerCase());return n.join(this.a)},N.prototype.start=function(){var t=this.c.o.document,n=this,e=a(),i=new Promise((function(i,o){!function r(){a()-e>=n.f?o():t.fonts.load(function(t){return T(t)+" "+t.f+"00 300px "+A(t.c)}(n.a),n.h).then((function(t){1<=t.length?i():setTimeout(r,25)}),(function(){o()}))}()})),o=null,r=new Promise((function(t,e){o=setTimeout(e,n.f)}));Promise.race([r,i]).then((function(){o&&(clearTimeout(o),o=null),n.g(n.a)}),(function(){n.j(n.a)}))};var $={D:"serif",C:"sans-serif"},P=null;function W(){if(null===P){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);P=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return P}function B(t,n,e){for(var i in $)if($.hasOwnProperty(i)&&n===t.f[$[i]]&&e===t.f[$[i]])return!0;return!1}function R(t){var n,e=t.g.a.offsetWidth,i=t.h.a.offsetWidth;(n=e===t.f.serif&&i===t.f["sans-serif"])||(n=W()&&B(t,e,i)),n?a()-t.A>=t.w?W()&&B(t,e,i)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?z(t,t.v):z(t,t.B):function(t){setTimeout(s((function(){R(this)}),t),50)}(t):z(t,t.v)}function z(t,n){setTimeout(s((function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),n(this.a)}),t),0)}function Z(t,n,e){this.c=t,this.a=n,this.f=0,this.m=this.j=!1,this.s=e}D.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),R(this)};var q=null;function H(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&d(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),I(t,"active")):S(t.a))}function M(t){this.j=t,this.a=new E,this.h=0,this.f=this.g=!0}function U(t,n,e,i,o){var r=0==--t.h;(t.f||t.g)&&setTimeout((function(){var t=o||null,a=i||{};if(0===e.length&&r)S(n.a);else{n.f+=e.length,r&&(n.j=r);var c,l=[];for(c=0;c<e.length;c++){var h=e[c],u=a[h.c],f=n.a,p=h;if(f.g&&d(f.f,[f.a.c("wf",p.c,k(p).toString(),"loading")]),I(f,"fontloading",p),f=null,null===q)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);q=p?42<parseInt(p[1],10):!g}else q=!1;f=q?new N(s(n.g,n),s(n.h,n),n.c,h,n.s,u):new D(s(n.g,n),s(n.h,n),n.c,h,n.s,t,u),l.push(f)}for(c=0;c<l.length;c++)l[c].start()}}),0)}function G(t,n){this.c=t,this.a=n}function K(t,n){this.c=t,this.a=n}function V(t,n){this.c=t||X,this.a=[],this.f=[],this.g=n||""}Z.prototype.g=function(t){var n=this.a;n.g&&d(n.f,[n.a.c("wf",t.c,k(t).toString(),"active")],[n.a.c("wf",t.c,k(t).toString(),"loading"),n.a.c("wf",t.c,k(t).toString(),"inactive")]),I(n,"fontactive",t),this.m=!0,H(this)},Z.prototype.h=function(t){var n=this.a;if(n.g){var e=p(n.f,n.a.c("wf",t.c,k(t).toString(),"active")),i=[],o=[n.a.c("wf",t.c,k(t).toString(),"loading")];e||i.push(n.a.c("wf",t.c,k(t).toString(),"inactive")),d(n.f,i,o)}I(n,"fontinactive",t),H(this)},M.prototype.load=function(t){this.c=new c(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,n,e){var i=[],o=e.timeout;!function(t){t.g&&d(t.f,[t.a.c("wf","loading")]),I(t,"loading")}(n);i=function(t,n,e){var i,o=[];for(i in n)if(n.hasOwnProperty(i)){var r=t.c[i];r&&o.push(r(n[i],e))}return o}(t.a,e,t.c);var r=new Z(t.c,n,o);for(t.h=i.length,n=0,e=i.length;n<e;n++)i[n].load((function(n,e,i){U(t,r,n,e,i)}))}(this,new j(this.c,t),t)},G.prototype.load=function(t){function n(){if(r["__mti_fntLst"+i]){var e,o=r["__mti_fntLst"+i](),s=[];if(o)for(var a=0;a<o.length;a++){var c=o[a].fontfamily;void 0!=o[a].fontStyle&&void 0!=o[a].fontWeight?(e=o[a].fontStyle+o[a].fontWeight,s.push(new x(c,e))):s.push(new x(c))}t(s)}else setTimeout((function(){n()}),50)}var e=this,i=e.a.projectId,o=e.a.version;if(i){var r=e.c.o;v(this.c,(e.a.api||"https://fast.fonts.net/jsapi")+"/"+i+".js"+(o?"?v="+o:""),(function(o){o?t([]):(r["__MonotypeConfiguration__"+i]=function(){return e.a},n())})).id="__MonotypeAPIScript__"+i}else t([])},K.prototype.load=function(t){var n,e,i=this.a.urls||[],o=this.a.families||[],r=this.a.testStrings||{},s=new m;for(n=0,e=i.length;n<e;n++)g(this.c,i[n],y(s));var a=[];for(n=0,e=o.length;n<e;n++)if((i=o[n].split(":"))[1])for(var c=i[1].split(","),l=0;l<c.length;l+=1)a.push(new x(i[0],c[l]));else a.push(new x(i[0]));w(s,(function(){t(a,r)}))};var X="https://fonts.googleapis.com/css";function J(t){this.f=t,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"\xe7\xf6\xfc\u011f\u015f",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Y={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},tt={i:"i",italic:"i",n:"n",normal:"n"},nt=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function et(t,n){this.c=t,this.a=n}var it={Arimo:!0,Cousine:!0,Tinos:!0};function ot(t,n){this.c=t,this.a=n}function rt(t,n){this.c=t,this.f=n,this.a=[]}et.prototype.load=function(t){var n=new m,e=this.c,i=new V(this.a.api,this.a.text),o=this.a.families;!function(t,n){for(var e=n.length,i=0;i<e;i++){var o=n[i].split(":");3==o.length&&t.f.push(o.pop());var r="";2==o.length&&""!=o[1]&&(r=":"),t.a.push(o.join(r))}}(i,o);var r=new J(o);!function(t){for(var n=t.f.length,e=0;e<n;e++){var i=t.f[e].split(":"),o=i[0].replace(/\+/g," "),r=["n4"];if(2<=i.length){var s;if(s=[],a=i[1])for(var a,c=(a=a.split(",")).length,l=0;l<c;l++){var h;if((h=a[l]).match(/^[\w-]+$/))if(null==(u=nt.exec(h.toLowerCase())))h="";else{if(h=null==(h=u[2])||""==h?"n":tt[h],null==(u=u[1])||""==u)u="4";else var u=Y[u]||(isNaN(u)?"4":u.substr(0,1));h=[h,u].join("")}else h="";h&&s.push(h)}0<s.length&&(r=s),3==i.length&&(s=[],0<(i=(i=i[2])?i.split(","):s).length&&(i=Q[i[0]])&&(t.c[o]=i))}for(t.c[o]||(i=Q[o])&&(t.c[o]=i),i=0;i<r.length;i+=1)t.a.push(new x(o,r[i]))}}(r),g(e,function(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var n=t.a.length,e=[],i=0;i<n;i++)e.push(t.a[i].replace(/ /g,"+"));return n=t.c+"?family="+e.join("%7C"),0<t.f.length&&(n+="&subset="+t.f.join(",")),0<t.g.length&&(n+="&text="+encodeURIComponent(t.g)),n}(i),y(n)),w(n,(function(){t(r.a,r.c,it)}))},ot.prototype.load=function(t){var n=this.a.id,e=this.c.o;n?v(this.c,(this.a.api||"https://use.typekit.net")+"/"+n+".js",(function(n){if(n)t([]);else if(e.Typekit&&e.Typekit.config&&e.Typekit.config.fn){n=e.Typekit.config.fn;for(var i=[],o=0;o<n.length;o+=2)for(var r=n[o],s=n[o+1],a=0;a<s.length;a++)i.push(new x(r,s[a]));try{e.Typekit.load({events:!1,classes:!1,async:!0})}catch(c){}t(i)}}),2e3):t([])},rt.prototype.load=function(t){var n=this.f.id,e=this.c.o,i=this;n?(e.__webfontfontdeckmodule__||(e.__webfontfontdeckmodule__={}),e.__webfontfontdeckmodule__[n]=function(n,e){for(var o=0,r=e.fonts.length;o<r;++o){var s=e.fonts[o];i.a.push(new x(s.name,F("font-weight:"+s.weight+";font-style:"+s.style)))}t(i.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(t){return t.o.location.hostname||t.a.location.hostname}(this.c)+"/"+n+".js",(function(n){n&&t([])}))):t([])};var st=new M(window);st.a.c.custom=function(t,n){return new K(n,t)},st.a.c.fontdeck=function(t,n){return new rt(n,t)},st.a.c.monotype=function(t,n){return new G(n,t)},st.a.c.typekit=function(t,n){return new ot(n,t)},st.a.c.google=function(t,n){return new et(n,t)};var at={load:s(st.load,st)};void 0===(i=function(){return at}.call(n,e,n,t))||(t.exports=i)}()},88317:(t,n,e)=>{"use strict";var i=e(11980),o=e(35359),r=e(26897),s=e(4545),a=e(75781),c=s("Object.prototype.toString"),l=e(91002)(),h="undefined"===typeof globalThis?e.g:globalThis,u=o(),f=s("String.prototype.slice"),d=Object.getPrototypeOf,p=s("Array.prototype.indexOf",!0)||function(t,n){for(var e=0;e<t.length;e+=1)if(t[e]===n)return e;return-1},g={__proto__:null};i(u,l&&a&&d?function(t){var n=new h[t];if(Symbol.toStringTag in n){var e=d(n),i=a(e,Symbol.toStringTag);if(!i){var o=d(e);i=a(o,Symbol.toStringTag)}g["$"+t]=r(i.get)}}:function(t){var n=new h[t],e=n.slice||n.set;e&&(g["$"+t]=r(e))});t.exports=function(t){if(!t||"object"!==typeof t)return!1;if(!l){var n=f(c(t),8,-1);return p(u,n)>-1?n:"Object"===n&&function(t){var n=!1;return i(g,(function(e,i){if(!n)try{e(t),n=f(i,1)}catch(o){}})),n}(t)}return a?function(t){var n=!1;return i(g,(function(e,i){if(!n)try{"$"+e(t)===i&&(n=f(i,1))}catch(o){}})),n}(t):null}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9331],{89331:(e,t,i)=>{i.r(t),i.d(t,{CommonFindController:()=>rt,FindController:()=>at,MatchFindAction:()=>gt,NextMatchFindAction:()=>_t,NextSelectionMatchFindAction:()=>mt,PreviousMatchFindAction:()=>ut,PreviousSelectionMatchFindAction:()=>ft,SelectionMatchFindAction:()=>pt,StartFindAction:()=>ht,StartFindReplaceAction:()=>St,StartFindWithArgsAction:()=>ct,StartFindWithSelectionAction:()=>lt,getSelectionSearchString:()=>nt});var s=i(85345),o=i(33793),n=i(22231),r=i(95713),a=i(35725),h=i(8415),d=i(51251),c=i(63102),l=i(93708),g=i(4707),_=i(62179),u=i(1528),p=i(21174),m=i(64709),f=i(87357);class S{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map((e=>this._editor.getModel().getDecorationRange(e))).filter((e=>!!e));if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){const t=this._editor.getModel().getDecorationsInRange(e);for(const i of t){const e=i.options;if(e===S._FIND_MATCH_DECORATION||e===S._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(i.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let s=0,o=this._decorations.length;s<o;s++){const o=this._editor.getModel().getDecorationRange(this._decorations[s]);if(e.equalsRange(o)){t=this._decorations[s],i=s+1;break}}return null===this._highlightedDecorationId&&null===t||this._editor.changeDecorations((e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,S._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,S._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){const e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new l.Q(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,S._RANGE_HIGHLIGHT_DECORATION)}})),i}set(e,t){this._editor.changeDecorations((i=>{let s=S._FIND_MATCH_DECORATION;const o=[];if(e.length>1e3){s=S._FIND_MATCH_NO_OVERVIEW_DECORATION;const t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height/t,n=Math.max(2,Math.ceil(3/i));let r=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let s=1,h=e.length;s<h;s++){const t=e[s].range;a+n>=t.startLineNumber?t.endLineNumber>a&&(a=t.endLineNumber):(o.push({range:new l.Q(r,1,a,1),options:S._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),r=t.startLineNumber,a=t.endLineNumber)}o.push({range:new l.Q(r,1,a,1),options:S._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const n=new Array(e.length);for(let t=0,r=e.length;t<r;t++)n[t]={range:e[t].range,options:s};this._decorations=i.deltaDecorations(this._decorations,n),this._overviewRulerApproximateDecorations=i.deltaDecorations(this._overviewRulerApproximateDecorations,o),this._rangeHighlightDecorationId&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach((e=>i.removeDecoration(e))),this._findScopeDecorationIds=[]),(null===t||void 0===t?void 0:t.length)&&(this._findScopeDecorationIds=t.map((e=>i.addDecoration(e,S._FIND_SCOPE_DECORATION))))}))}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){const i=this._decorations[t],s=this._editor.getModel().getDecorationRange(i);if(s&&!(s.endLineNumber>e.lineNumber)){if(s.endLineNumber<e.lineNumber)return s;if(!(s.endColumn>e.column))return s}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;t<i;t++){const i=this._decorations[t],s=this._editor.getModel().getDecorationRange(i);if(s&&!(s.startLineNumber<e.lineNumber)){if(s.startLineNumber>e.lineNumber)return s;if(!(s.startColumn<e.column))return s}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}S._CURRENT_FIND_MATCH_DECORATION=p.kI.register({description:"current-find-match",stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center},minimap:{color:(0,f.Yf)(m.AjU),position:u.R3.Inline}}),S._FIND_MATCH_DECORATION=p.kI.register({description:"find-match",stickiness:1,zIndex:10,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center},minimap:{color:(0,f.Yf)(m.AjU),position:u.R3.Inline}}),S._FIND_MATCH_NO_OVERVIEW_DECORATION=p.kI.register({description:"find-match-no-overview",stickiness:1,className:"findMatch",showIfCollapsed:!0}),S._FIND_MATCH_ONLY_OVERVIEW_DECORATION=p.kI.register({description:"find-match-only-overview",stickiness:1,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center}}),S._RANGE_HIGHLIGHT_DECORATION=p.kI.register({description:"find-range-highlight",stickiness:1,className:"rangeHighlight",isWholeLine:!0}),S._FIND_SCOPE_DECORATION=p.kI.register({description:"find-scope",className:"findScope",isWholeLine:!0});class v{constructor(e,t,i){this._editorSelection=e,this._ranges=t,this._replaceStrings=i,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){const e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort(((e,t)=>l.Q.compareRangesUsingStarts(e.range,t.range)));const i=[];let s=e[0];for(let t=1;t<e.length;t++)s.range.endLineNumber===e[t].range.startLineNumber&&s.range.endColumn===e[t].range.startColumn?(s.range=s.range.plusRange(e[t].range),s.text=s.text+e[t].text):(i.push(s),s=e[t]);i.push(s);for(const o of i)t.addEditOperation(o.range,o.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}var C=i(41749);class b{constructor(e){this.staticValue=e,this.kind=0}}class R{constructor(e){this.pieces=e,this.kind=1}}class w{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new b(e[0].staticValue):this._state=new R(e):this._state=new b("")}static fromStaticValue(e){return new w([x.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?(0,C.u)(e,this._state.staticValue):this._state.staticValue;let i="";for(let s=0,o=this._state.pieces.length;s<o;s++){const t=this._state.pieces[s];if(null!==t.staticValue){i+=t.staticValue;continue}let o=w._substitute(t.matchIndex,e);if(null!==t.caseOps&&t.caseOps.length>0){const e=[],i=t.caseOps.length;let s=0;for(let n=0,r=o.length;n<r;n++){if(s>=i){e.push(o.slice(n));break}switch(t.caseOps[s]){case"U":e.push(o[n].toUpperCase());break;case"u":e.push(o[n].toUpperCase()),s++;break;case"L":e.push(o[n].toLowerCase());break;case"l":e.push(o[n].toLowerCase()),s++;break;default:e.push(o[n])}}o=e.join("")}i+=o}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(e<t.length){return(t[e]||"")+i}i=String(e%10)+i,e=Math.floor(e/10)}return"$"+i}}class x{constructor(e,t,i){this.staticValue=e,this.matchIndex=t,i&&0!==i.length?this.caseOps=i.slice(0):this.caseOps=null}static staticValue(e){return new x(e,-1,null)}static caseOps(e,t){return new x(null,e,t)}}class I{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,i){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=x.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=x.caseOps(e,i),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=x.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new w(this._result)}}var y=i(75664);const N=new y.N1("findWidgetVisible",!1),F=(N.toNegated(),new y.N1("findInputFocussed",!1)),O=new y.N1("replaceInputFocussed",!1),E={primary:545,mac:{primary:2593}},k={primary:565,mac:{primary:2613}},M={primary:560,mac:{primary:2608}},D={primary:554,mac:{primary:2602}},A={primary:558,mac:{primary:2606}},T="actions.find",W="actions.findWithSelection",L="editor.actions.findWithArgs",P="editor.action.nextMatchFindAction",B="editor.action.previousMatchFindAction",V="editor.action.nextSelectionMatchFindAction",H="editor.action.previousSelectionMatchFindAction",$="editor.action.startFindReplaceAction",U="closeFindWidget",Z="toggleFindCaseSensitive",q="toggleFindWholeWord",z="toggleFindRegex",G="toggleFindInSelection",K="togglePreserveCase",Q="editor.action.replaceOne",j="editor.action.replaceAll",Y="editor.action.selectAllMatches",X=19999;class J{constructor(e,t){this._toDispose=new o.Cm,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new s.pc,this._decorations=new S(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new s.uC((()=>this.research(!1)),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.AS)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}),240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;"undefined"!==typeof t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map((e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new l.Q(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e})));const s=this._findMatches(i,!1,X);this._decorations.set(s,i);const o=this._editor.getSelection();let n=this._decorations.getCurrentMatchesPosition(o);if(0===n&&s.length>0){const e=(0,h.aB)(s.map((e=>e.range)),(e=>l.Q.compareRangesUsingStarts(e,o)>=0));n=e>0?e-1+1:n}this._state.changeMatchInfo(n,this._decorations.getCount(),void 0),e&&this._editor.getOption(36).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){const t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:i,column:s}=e;const o=this._editor.getModel();return t||1===s?(1===i?i=o.getLineCount():i--,s=o.getLineMaxColumn(i)):s--,new c.y(i,s)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const t=this._decorations.matchAfterPosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<X){let t=this._decorations.matchBeforePosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),void(t&&this._setCurrentFindMatch(t))}if(this._cannotFind())return;const i=this._decorations.getFindScope(),s=J._getSearchRange(this._editor.getModel(),i);s.getEndPosition().isBefore(e)&&(e=s.getEndPosition()),e.isBefore(s.getStartPosition())&&(e=s.getEndPosition());const{lineNumber:o,column:n}=e,r=this._editor.getModel();let a=new c.y(o,n),h=r.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,!1);return h&&h.range.isEmpty()&&h.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),h=r.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,!1)),h?t||s.containsRange(h.range)?void this._setCurrentFindMatch(h.range):this._moveToPrevMatch(h.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:i,column:s}=e;const o=this._editor.getModel();return t||s===o.getLineMaxColumn(i)?(i===o.getLineCount()?i=1:i++,s=1):s++,new c.y(i,s)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const t=this._decorations.matchBeforePosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<X){let t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}const t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,s=!1){if(this._cannotFind())return null;const o=this._decorations.getFindScope(),n=J._getSearchRange(this._editor.getModel(),o);n.getEndPosition().isBefore(e)&&(e=n.getStartPosition()),e.isBefore(n.getStartPosition())&&(e=n.getStartPosition());const{lineNumber:r,column:a}=e,h=this._editor.getModel();let d=new c.y(r,a),l=h.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t);return i&&l&&l.range.isEmpty()&&l.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),l=h.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t)),l?s||n.containsRange(l.range)?l:this._getNextMatch(l.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new w(null);const t=[],i=new I(e);for(let s=0,o=e.length;s<o;s++){const n=e.charCodeAt(s);if(92!==n){if(36===n){if(s++,s>=o)break;const n=e.charCodeAt(s);if(36===n){i.emitUnchanged(s-1),i.emitStatic("$",s+1);continue}if(48===n||38===n){i.emitUnchanged(s-1),i.emitMatchIndex(0,s+1,t),t.length=0;continue}if(49<=n&&n<=57){let r=n-48;if(s+1<o){const o=e.charCodeAt(s+1);if(48<=o&&o<=57){s++,r=10*r+(o-48),i.emitUnchanged(s-2),i.emitMatchIndex(r,s+1,t),t.length=0;continue}}i.emitUnchanged(s-1),i.emitMatchIndex(r,s+1,t),t.length=0;continue}}}else{if(s++,s>=o)break;const n=e.charCodeAt(s);switch(n){case 92:i.emitUnchanged(s-1),i.emitStatic("\\",s+1);break;case 110:i.emitUnchanged(s-1),i.emitStatic("\n",s+1);break;case 116:i.emitUnchanged(s-1),i.emitStatic("\t",s+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(s-1),i.emitStatic("",s+1),t.push(String.fromCharCode(n))}}}return i.finalize()}(this._state.replaceString):w.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;const e=this._getReplacePattern(),t=this._editor.getSelection(),i=this._getNextMatch(t.getStartPosition(),!0,!1);if(i)if(t.equalsRange(i.range)){const s=e.buildReplaceString(i.matches,this._state.preserveCase),o=new d.iu(t,s);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new c.y(t.startLineNumber,t.startColumn+s.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(i.range)}_findMatches(e,t,i){const s=(e||[null]).map((e=>J._getSearchRange(this._editor.getModel(),e)));return this._editor.getModel().findMatches(this._state.searchString,s,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t,i)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=X?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const e=new _.lt(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let e="mu";t.ignoreCase&&(e+="i"),t.global&&(e+="g"),t=new RegExp(t.source,e)}const i=this._editor.getModel(),s=i.getValue(1),o=i.getFullModelRange(),n=this._getReplacePattern();let r;const a=this._state.preserveCase;r=n.hasReplacementPatterns||a?s.replace(t,(function(){return n.buildReplaceString(arguments,a)})):s.replace(t,n.buildReplaceString(null,a));const h=new d.ui(o,r,this._editor.getSelection());this._executeEditorCommand("replaceAll",h)}_regularReplaceAll(e){const t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),s=[];for(let n=0,r=i.length;n<r;n++)s[n]=t.buildReplaceString(i[n].matches,this._state.preserveCase);const o=new v(this._editor.getSelection(),i.map((e=>e.range)),s);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();let t=this._findMatches(e,!1,1073741824).map((e=>new g.L(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)));const i=this._editor.getSelection();for(let s=0,o=t.length;s<o;s++){if(t[s].equalsRange(i)){t=[i].concat(t.slice(0,s)).concat(t.slice(s+1));break}}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}var ee=i(69848),te=i(88671),ie=i(11063);class se extends ie.x{constructor(e,t,i,o){super(),this._hideSoon=this._register(new s.uC((()=>this._hide()),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n=o.getColorTheme().getColor(m.uNK),r=o.getColorTheme().getColor(m.$$0),a=o.getColorTheme().getColor(m.c1f);this.caseSensitive=this._register(new te.bc({appendTitle:this._keybindingLabelFor(Z),isChecked:this._state.matchCase,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange((()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)}))),this.wholeWords=this._register(new te.nV({appendTitle:this._keybindingLabelFor(q),isChecked:this._state.wholeWord,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange((()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)}))),this.regex=this._register(new te.Ix({appendTitle:this._keybindingLabelFor(z),isChecked:this._state.isRegex,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange((()=>{this._state.change({isRegex:this.regex.checked},!1)}))),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange((e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()}))),this._register(ee.ko(this._domNode,ee.Bx.MOUSE_LEAVE,(e=>this._onMouseLeave()))),this._register(ee.ko(this._domNode,"mouseover",(e=>this._onMouseOver()))),this._applyTheme(o.getColorTheme()),this._register(o.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return se.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){const t={inputActiveOptionBorder:e.getColor(m.uNK),inputActiveOptionForeground:e.getColor(m.$$0),inputActiveOptionBackground:e.getColor(m.c1f)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}se.ID="editor.contrib.findOptionsWidget",(0,f.zy)(((e,t)=>{const i=e.getColor(m.CgL);i&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${i}; }`);const s=e.getColor(m.FiB);s&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${s}; }`);const o=e.getColor(m.f9l);o&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${o}; }`);const n=e.getColor(m.b1q);n&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${n}; }`)}));var oe=i(16201);function ne(e,t){return 1===e||2!==e&&t}class re extends o.jG{constructor(){super(),this._onFindReplaceStateChange=this._register(new oe.vl),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return ne(this._isRegexOverride,this._isRegex)}get wholeWord(){return ne(this._wholeWordOverride,this._wholeWord)}get matchCase(){return ne(this._matchCaseOverride,this._matchCase)}get preserveCase(){return ne(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,i){const s={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,s.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,s.matchesCount=!0,o=!0),"undefined"!==typeof i&&(l.Q.equalsRange(this._currentMatch,i)||(this._currentMatch=i,s.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(s)}change(e,t,i=!0){var s;const o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;const r=this.isRegex,a=this.wholeWord,h=this.matchCase,d=this.preserveCase;"undefined"!==typeof e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,n=!0),"undefined"!==typeof e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,n=!0),"undefined"!==typeof e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,n=!0),"undefined"!==typeof e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,n=!0),"undefined"!==typeof e.isRegex&&(this._isRegex=e.isRegex),"undefined"!==typeof e.wholeWord&&(this._wholeWord=e.wholeWord),"undefined"!==typeof e.matchCase&&(this._matchCase=e.matchCase),"undefined"!==typeof e.preserveCase&&(this._preserveCase=e.preserveCase),"undefined"!==typeof e.searchScope&&((null===(s=e.searchScope)||void 0===s?void 0:s.every((e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some((t=>!l.Q.equalsRange(t,e)))})))||(this._searchScope=e.searchScope,o.searchScope=!0,n=!0)),"undefined"!==typeof e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,n=!0),"undefined"!==typeof e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,o.isSearching=!0,n=!0),"undefined"!==typeof e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,o.filters=!0,n=!0),this._isRegexOverride="undefined"!==typeof e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride="undefined"!==typeof e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride="undefined"!==typeof e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride="undefined"!==typeof e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(n=!0,o.isRegex=!0),a!==this.wholeWord&&(n=!0,o.wholeWord=!0),h!==this.matchCase&&(n=!0,o.matchCase=!0),d!==this.preserveCase&&(n=!0,o.preserveCase=!0),n&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=X}}var ae=i(83269),he=i(18643),de=i(29193),ce=i(15441),le=i(79734),ge=i(76394),_e=i(84978),ue=i(4720),pe=i(8360),me=i(13587),fe=i(80708),Se=function(e,t,i,s){return new(i||(i=Promise))((function(o,n){function r(e){try{h(s.next(e))}catch(t){n(t)}}function a(e){try{h(s.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}h((s=s.apply(e,t||[])).next())}))};const ve=(0,me.pU)("find-selection",ce.W6.selection,_e.kg("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),Ce=(0,me.pU)("find-collapsed",ce.W6.chevronRight,_e.kg("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),be=(0,me.pU)("find-expanded",ce.W6.chevronDown,_e.kg("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),Re=(0,me.pU)("find-replace",ce.W6.replace,_e.kg("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),we=(0,me.pU)("find-replace-all",ce.W6.replaceAll,_e.kg("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),xe=(0,me.pU)("find-previous-match",ce.W6.arrowUp,_e.kg("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),Ie=(0,me.pU)("find-next-match",ce.W6.arrowDown,_e.kg("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ye=_e.kg("label.find","Find"),Ne=_e.kg("placeholder.find","Find"),Fe=_e.kg("label.previousMatchButton","Previous Match"),Oe=_e.kg("label.nextMatchButton","Next Match"),Ee=_e.kg("label.toggleSelectionFind","Find in Selection"),ke=_e.kg("label.closeButton","Close"),Me=_e.kg("label.replace","Replace"),De=_e.kg("placeholder.replace","Replace"),Ae=_e.kg("label.replaceButton","Replace"),Te=_e.kg("label.replaceAllButton","Replace All"),We=_e.kg("label.toggleReplaceButton","Toggle Replace"),Le=_e.kg("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",X),Pe=_e.kg("label.matchesLocation","{0} of {1}"),Be=_e.kg("label.noResults","No results"),Ve=419;let He=69;const $e="ctrlEnterReplaceAll.windows.donotask",Ue=ge.zx?256:2048;class Ze{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function qe(e,t,i){const s=!!t.match(/\n/);i&&s&&i.selectionStart>0&&e.stopPropagation()}function ze(e,t,i){const s=!!t.match(/\n/);i&&s&&i.selectionEnd<i.value.length&&e.stopPropagation()}class Ge extends ie.x{constructor(e,t,i,n,r,a,h,d,c){super(),this._cachedHeight=null,this._revealTimeouts=[],this._codeEditor=e,this._controller=t,this._state=i,this._contextViewProvider=n,this._keybindingService=r,this._contextKeyService=a,this._storageService=d,this._notificationService=c,this._ctrlEnterReplaceAllWarningPrompted=!!d.getBoolean($e,0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new s.ve(500),this._register((0,o.s)((()=>this._updateHistoryDelayer.cancel()))),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration((e=>{if(e.hasChanged(82)&&(this._codeEditor.getOption(82)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(132)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(36)){const e=this._codeEditor.getOption(36).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new Ze(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}}))),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection((()=>{this._isVisible&&this._updateToggleSelectionFindButton()}))),this._register(this._codeEditor.onDidFocusEditorWidget((()=>Se(this,void 0,void 0,(function*(){if(this._isVisible){const e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}}))))),this._findInputFocused=F.bindTo(a),this._findFocusTracker=this._register(ee.w5(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus((()=>{this._findInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._findFocusTracker.onDidBlur((()=>{this._findInputFocused.set(!1)}))),this._replaceInputFocused=O.bindTo(a),this._replaceFocusTracker=this._register(ee.w5(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus((()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._replaceFocusTracker.onDidBlur((()=>{this._replaceInputFocused.set(!1)}))),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(36).addExtraSpaceOnTop&&(this._viewZone=new Ze(0)),this._applyTheme(h.getColorTheme()),this._register(h.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel((()=>{this._isVisible&&(this._viewZoneId=void 0)}))),this._register(this._codeEditor.onDidScrollChange((e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout((()=>{this._layoutViewZone()}),0)})))}getId(){return Ge.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(82)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=ee.Tr(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){const e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,le.dz)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=He+"px",this._state.matchesCount>=X?this._matchesCount.title=Le:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=X&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=n.GP(Pe,i,t)}else e=Be;this._matchesCount.appendChild(document.createTextNode(e)),(0,ae.xE)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),He=Math.max(He,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===Be)return""===i?_e.kg("ariaSearchNoResultEmpty","{0} found",e):_e.kg("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){const s=_e.kg("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),o=this._codeEditor.getModel();if(o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1){return`${o.getLineContent(t.startLineNumber)}, ${s}`}return s}return _e.kg("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){const e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const i=!this._codeEditor.getOption(82);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(36).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t;break}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout((()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")}),0)),this._revealTimeouts.push(setTimeout((()=>{this._findInput.validate()}),200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(36).seedSearchStringFromSelection&&e){const i=this._codeEditor.getDomNode();if(i){const s=ee.BK(i),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),n=s.left+(o?o.left:0),r=o?o.top:0;if(this._viewZone&&r<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const i=ee.cL(this._domNode).left;n>i&&(t=!1);const o=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());s.left+(o?o.left:0)>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(!this._codeEditor.getOption(36).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((i=>{t.heightInPx=this._getHeight(),this._viewZoneId=i.addZone(t),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+t.heightInPx)}))}_showViewZone(e=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(36).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Ze(0));const t=this._viewZone;this._codeEditor.changeViewZones((i=>{if(void 0!==this._viewZoneId){const s=this._getHeight();if(s===t.heightInPx)return;const o=s-t.heightInPx;return t.heightInPx=s,i.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o))}{let s=this._getHeight();if(s-=this._codeEditor.getOption(76).top,s<=0)return;t.heightInPx=s,this._viewZoneId=i.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s)}}))}_removeViewZone(){this._codeEditor.changeViewZones((e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))}))}_applyTheme(e){const t={inputActiveOptionBorder:e.getColor(m.uNK),inputActiveOptionBackground:e.getColor(m.c1f),inputActiveOptionForeground:e.getColor(m.$$0),inputBackground:e.getColor(m.L4c),inputForeground:e.getColor(m.cws),inputBorder:e.getColor(m.Zgs),inputValidationInfoBackground:e.getColor(m.I$A),inputValidationInfoForeground:e.getColor(m.L9Z),inputValidationInfoBorder:e.getColor(m.YSW),inputValidationWarningBackground:e.getColor(m.ULt),inputValidationWarningForeground:e.getColor(m.T5N),inputValidationWarningBorder:e.getColor(m.C1n),inputValidationErrorBackground:e.getColor(m._$n),inputValidationErrorForeground:e.getColor(m.h9z),inputValidationErrorBorder:e.getColor(m.eYZ)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!ee.qD(this._domNode))return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void this._domNode.classList.add("hiddenEditor");this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const t=e.width,i=e.minimap.minimapWidth;let s=!1,o=!1,n=!1;if(this._resized){if(ee.Tr(this._domNode)>Ve)return this._domNode.style.maxWidth=t-28-i-15+"px",void(this._replaceInput.width=ee.Tr(this._findInput.domNode))}if(447+i>=t&&(o=!0),447+i-He>=t&&(n=!0),447+i-He>=t+50&&(s=!0),this._domNode.classList.toggle("collapsed-find-widget",s),this._domNode.classList.toggle("narrow-find-widget",n),this._domNode.classList.toggle("reduced-find-widget",o),n||s||(this._domNode.style.maxWidth=t-28-i-15+"px"),this._resized){this._findInput.inputBox.layout();const e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const e=this._codeEditor.getSelections();e.map((e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));const t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||l.Q.equalsRange(e,t)?null:e})).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Ue)?(this._keybindingService.dispatchEvent(e,e.target)||this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?qe(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?ze(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Ue)?(this._keybindingService.dispatchEvent(e,e.target)||(ge.uF&&ge.ib&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(_e.kg("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store($e,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n")),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?qe(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?ze(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){const e=!0,t=!0;this._findInput=this._register(new ue.pG(null,this._contextViewProvider,{width:221,label:ye,placeholder:Ne,appendCaseSensitiveLabel:this._keybindingLabelFor(Z),appendWholeWordsLabel:this._keybindingLabelFor(q),appendRegexLabel:this._keybindingLabelFor(z),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(t){return{content:t.message}}},flexibleHeight:e,flexibleWidth:t,flexibleMaxHeight:118,showHistoryHint:()=>(0,pe.z)(this._keybindingService)},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((e=>this._onFindInputKeyDown(e)))),this._register(this._findInput.inputBox.onDidChange((()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((e=>{this._tryUpdateHeight()&&this._showViewZone()}))),ge.j9&&this._register(this._findInput.onMouseDown((e=>this._onFindInputMouseDown(e)))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Ke({label:Fe+this._keybindingLabelFor(B),icon:xe,onTrigger:()=>{this._codeEditor.getAction(B).run().then(void 0,le.dz)}})),this._nextBtn=this._register(new Ke({label:Oe+this._keybindingLabelFor(P),icon:Ie,onTrigger:()=>{this._codeEditor.getAction(P).run().then(void 0,le.dz)}}));const i=document.createElement("div");i.className="find-part",i.appendChild(this._findInput.domNode);const s=document.createElement("div");s.className="find-actions",i.appendChild(s),s.appendChild(this._matchesCount),s.appendChild(this._prevBtn.domNode),s.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new he.l({icon:ve,title:Ee+this._keybindingLabelFor(G),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const e=this._codeEditor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)}))),s.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Ke({label:ke+this._keybindingLabelFor(U),icon:me.$_,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),s.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ue._Q(null,void 0,{label:Me,placeholder:De,appendPreserveCaseLabel:this._keybindingLabelFor(K),history:[],flexibleHeight:e,flexibleWidth:t,flexibleMaxHeight:118,showHistoryHint:()=>(0,pe.z)(this._keybindingService)},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((e=>this._onReplaceInputKeyDown(e)))),this._register(this._replaceInput.inputBox.onDidChange((()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}))),this._replaceBtn=this._register(new Ke({label:Ae+this._keybindingLabelFor(Q),icon:Re,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Ke({label:Te+this._keybindingLabelFor(j),icon:we,onTrigger:()=>{this._controller.replaceAll()}}));const o=document.createElement("div");o.className="replace-part",o.appendChild(this._replaceInput.domNode);const n=document.createElement("div");n.className="replace-actions",o.appendChild(n),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Ke({label:We,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(i),this._domNode.appendChild(o),this._resizeSash=new de.m(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let r=Ve;this._register(this._resizeSash.onDidStart((()=>{r=ee.Tr(this._domNode)}))),this._register(this._resizeSash.onDidChange((e=>{this._resized=!0;const t=r+e.startX-e.currentX;if(t<Ve)return;t>(parseFloat(ee.L9(this._domNode).maxWidth)||0)||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())}))),this._register(this._resizeSash.onDidReset((()=>{const e=ee.Tr(this._domNode);if(e<Ve)return;let t=Ve;if(!this._resized||e===Ve){const e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode)),this._findInput.inputBox.layout()})))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Ge.ID="editor.contrib.findWidget";class Ke extends ie.x{constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+f.L0.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,(e=>{this._opts.onTrigger(),e.preventDefault()})),this.onkeydown(this._domNode,(e=>{var t,i;if(e.equals(10)||e.equals(3))return this._opts.onTrigger(),void e.preventDefault();null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)}))}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...f.L0.asClassNameArray(Ce)),this._domNode.classList.add(...f.L0.asClassNameArray(be))):(this._domNode.classList.remove(...f.L0.asClassNameArray(be)),this._domNode.classList.add(...f.L0.asClassNameArray(Ce)))}}(0,f.zy)(((e,t)=>{const i=(e,i)=>{i&&t.addRule(`.monaco-editor ${e} { background-color: ${i}; }`)};i(".findMatch",e.getColor(m.Ubg)),i(".currentFindMatch",e.getColor(m.Syz)),i(".findScope",e.getColor(m.Q96));i(".find-widget",e.getColor(m.CgL));const s=e.getColor(m.f9l);s&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${s}; }`);const o=e.getColor(m.ECk);o&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,fe.Bb)(e.type)?"dotted":"solid"} ${o}; box-sizing: border-box; }`);const n=e.getColor(m._NC);n&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${n}; padding: 1px; box-sizing: border-box; }`);const r=e.getColor(m.S5J);r&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,fe.Bb)(e.type)?"dashed":"solid"} ${r}; }`);const a=e.getColor(m.b1q);a&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${a}; }`);const h=e.getColor(m.FiB);h&&t.addRule(`.monaco-editor .find-widget { color: ${h}; }`);const d=e.getColor(m.UPX);d&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${d}; }`);const c=e.getColor(m.US);if(c)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${c}; }`);else{const i=e.getColor(m.sIe);i&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${i}; }`)}const l=e.getColor(m.ObF);l&&t.addRule(`\n\t\t.monaco-editor .find-widget .button:not(.disabled):hover,\n\t\t.monaco-editor .find-widget .codicon-find-selection:hover {\n\t\t\tbackground-color: ${l} !important;\n\t\t}\n\t`);const g=e.getColor(m.tAP);g&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${g}; }`)}));var Qe=i(52692),je=i(24071),Ye=i(70497),Xe=i(3960),Je=i(24096),et=i(51756),tt=function(e,t,i,s){var o,n=arguments.length,r=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},it=function(e,t){return function(i,s){t(i,s,e)}},st=function(e,t,i,s){return new(i||(i=Promise))((function(o,n){function r(e){try{h(s.next(e))}catch(t){n(t)}}function a(e){try{h(s.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}h((s=s.apply(e,t||[])).next())}))};const ot=524288;function nt(e,t="single",i=!1){if(!e.hasModel())return null;const s=e.getSelection();if("single"===t&&s.startLineNumber===s.endLineNumber||"multiple"===t)if(s.isEmpty()){const t=e.getConfiguredWordAtPosition(s.getStartPosition());if(t&&!1===i)return t.word}else if(e.getModel().getValueLengthInRange(s)<ot)return e.getModel().getValueInRange(s);return null}let rt=class e extends o.jG{constructor(e,t,i,o){super(),this._editor=e,this._findWidgetVisible=N.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=o,this._updateHistoryDelayer=new s.ve(500),this._state=this._register(new re),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._model=null,this._register(this._editor.onDidChangeModel((()=>{const e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(36).loop})})))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!F.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const e=this._editor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=n.bm(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}_start(e,t){return st(this,void 0,void 0,(function*(){if(this.disposeModel(),!this._editor.hasModel())return;const i=Object.assign(Object.assign({},t),{isRevealed:!0});if("single"===e.seedSearchStringFromSelection){const t=nt(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=n.bm(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){const t=nt(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){const e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){const e=this._editor.getSelections();e.some((e=>!e.isEmpty()))&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new J(this._editor,this._state))}))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return st(this,void 0,void 0,(function*(){return this._editor.getOption(36).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(36).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};rt.ID="editor.contrib.findController",rt=tt([it(1,y.fN),it(2,et.CS),it(3,je.h)],rt);let at=class extends rt{constructor(e,t,i,s,o,n,r,a){super(e,i,r,a),this._contextViewService=t,this._keybindingService=s,this._themeService=o,this._notificationService=n,this._widget=null,this._findOptionsWidget=null}_start(e,t){const i=Object.create(null,{_start:{get:()=>super._start}});return st(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();const s=this._editor.getSelection();let o=!1;switch(this._editor.getOption(36).autoFindInSelection){case"always":o=!0;break;case"never":o=!1;break;case"multiline":o=!!s&&s.startLineNumber!==s.endLineNumber;break}e.updateSearchScope=e.updateSearchScope||o,yield i._start.call(this,e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Ge(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new se(this._editor,this._state,this._keybindingService,this._themeService))}};at=tt([it(1,Ye.l),it(2,y.fN),it(3,Xe.b),it(4,f.Gy),it(5,Je.Ot),it(6,et.CS),it(7,je.h)],at);const ht=(0,r.gW)(new r.PF({id:T,label:_e.kg("startFindAction","Find"),alias:"Find",precondition:y.M$.or(a.R.focus,y.M$.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:Qe.D8.MenubarEditMenu,group:"3_find",title:_e.kg({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));ht.addImplementation(0,((e,t,i)=>{const s=rt.get(t);return!!s&&s.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(36).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop})}));const dt={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:_e.kg("actions.find.isRegexOverride",'Overrides "Use Regular Expression" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:_e.kg("actions.find.wholeWordOverride",'Overrides "Match Whole Word" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:_e.kg("actions.find.matchCaseOverride",'Overrides "Math Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:_e.kg("actions.find.preserveCaseOverride",'Overrides "Preserve Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},findInSelection:{type:"boolean"}}}}]};class ct extends r.ks{constructor(){super({id:L,label:_e.kg("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:dt})}run(e,t,i){return st(this,void 0,void 0,(function*(){const e=rt.get(t);if(e){const s=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null===i||void 0===i?void 0:i.findInSelection)||!1,loop:t.getOption(36).loop},s),e.setGlobalBufferTerm(e.getState().searchString)}}))}}class lt extends r.ks{constructor(){super({id:W,label:_e.kg("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class gt extends r.ks{run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),this._run(e))}))}}class _t extends gt{constructor(){super({id:P,label:_e.kg("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:a.R.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:y.M$.and(a.R.focus,F),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class ut extends gt{constructor(){super({id:B,label:_e.kg("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:a.R.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:y.M$.and(a.R.focus,F),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class pt extends r.ks{run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);if(!e)return;const i="selection"===t.getOption(36).seedSearchStringFromSelection;let s=null;"never"!==t.getOption(36).seedSearchStringFromSelection&&(s=nt(t,"single",i)),s&&e.setSearchString(s),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),this._run(e))}))}}class mt extends pt{constructor(){super({id:V,label:_e.kg("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:a.R.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class ft extends pt{constructor(){super({id:H,label:_e.kg("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:a.R.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const St=(0,r.gW)(new r.PF({id:$,label:_e.kg("startReplace","Replace"),alias:"Replace",precondition:y.M$.or(a.R.focus,y.M$.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:Qe.D8.MenubarEditMenu,group:"3_find",title:_e.kg({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));St.addImplementation(0,((e,t,i)=>{if(!t.hasModel()||t.getOption(82))return!1;const s=rt.get(t);if(!s)return!1;const o=t.getSelection(),n=s.isFindInputFocused(),r=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(36).seedSearchStringFromSelection&&!n,a=n||r?2:1;return s.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(36).seedSearchStringFromSelection,shouldFocus:a,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop})})),(0,r.HW)(rt.ID,at),(0,r.Fl)(ct),(0,r.Fl)(lt),(0,r.Fl)(_t),(0,r.Fl)(ut),(0,r.Fl)(mt),(0,r.Fl)(ft);const vt=r.DX.bindToContribution(rt.get);(0,r.E_)(new vt({id:U,precondition:N,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,y.M$.not("isComposing")),primary:9,secondary:[1033]}})),(0,r.E_)(new vt({id:Z,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:E.primary,mac:E.mac,win:E.win,linux:E.linux}})),(0,r.E_)(new vt({id:q,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:k.primary,mac:k.mac,win:k.win,linux:k.linux}})),(0,r.E_)(new vt({id:z,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:M.primary,mac:M.mac,win:M.win,linux:M.linux}})),(0,r.E_)(new vt({id:G,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:D.primary,mac:D.mac,win:D.win,linux:D.linux}})),(0,r.E_)(new vt({id:K,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,r.E_)(new vt({id:Q,precondition:N,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:3094}})),(0,r.E_)(new vt({id:Q,precondition:N,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,O),primary:3}})),(0,r.E_)(new vt({id:j,precondition:N,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:2563}})),(0,r.E_)(new vt({id:j,precondition:N,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,O),primary:void 0,mac:{primary:2051}}})),(0,r.E_)(new vt({id:Y,precondition:N,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:515}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9420],{7760:(e,a,l)=>{l.d(a,{A9:()=>g,Ay:()=>C,DL:()=>A,Dz:()=>c,Fv:()=>h,JV:()=>y,Up:()=>v,b9:()=>T,eX:()=>m,gm:()=>w,iy:()=>F,nJ:()=>b,om:()=>u,qX:()=>B,rc:()=>p,vs:()=>r});var t=l(90536),i=l(31770),o=l(55701);const d=(0,i.ur)({invalidateBlockId:null,isCodeMode:!1,codeModeDirection:"right",editorThemeColor:"light",isSettingsDisabled:!1,settings:{width:""},elementSettings:{},searchFilters:{},block:{id:void 0,isNew:!1,subject:"",description:"",html:"",project:void 0,project_title:"",project_author:void 0,tags:[],type:"Other",title:null,isAmp:!1},monacoDidMount:!1}),n="blockSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{switchCodeMode:e=>{e.isCodeMode=!e.isCodeMode},setEditorThemeColor:(e,a)=>{e.editorThemeColor=a.payload},setBlockSettings:(e,a)=>{Object.assign(e,{...e,settings:a.payload,isSettingsDisabled:!1})},setBlockSettingsDisable:(e,a)=>{e.isSettingsDisabled=a.payload},setElementSettings:(e,a)=>{e.elementSettings=a.payload},setSearchFilters:(e,a)=>{e.searchFilters=a.payload},setBlockHtml:(e,a)=>{e.block.html=a.payload},resetBlockSlice:()=>d,setBlockIsAmp:(e,a)=>{e.block.isAmp=a.payload}},extraReducers:e=>{e.addMatcher((e=>"blocksApi/queries/queryResultPatched"===e.type),((e,a)=>{var l,t;const i=a.payload.queryCacheKey.match(/\(([0-9]+)\)/),o=null===(l=a.payload)||void 0===l?void 0:l.patches[0];if(null!==o&&void 0!==o&&null!==(t=o.path)&&void 0!==t&&t[0]&&(e.block[null===o||void 0===o?void 0:o.path[0]]=o.value),null!==i&&void 0!==i&&i[1]&&(e.invalidateBlockId=i[1]),a.payload.queryCacheKey.startsWith("getBlock")){var d,n;const l=null===(d=a.payload)||void 0===d?void 0:d.patches[0];null!==l&&void 0!==l&&null!==(n=l.path)&&void 0!==n&&n[0]&&(e.block[null===l||void 0===l?void 0:l.path[0]]=l.value)}})),e.addMatcher((e=>"blocksApi/invalidateTags"===e.type),((e,a)=>{if(a.payload[0].id===+e.invalidateBlockId)return{...d,isCodeMode:null===e||void 0===e?void 0:e.isCodeMode,codeModeDirection:e.codeModeDirection}})),e.addMatcher(o.VM.endpoints.editBlock.matchFulfilled,((e,{payload:a})=>{e.invalidateBlockId=null,e.block={...e.block,...a,renderGuid:e.block.renderGuid}})),e.addMatcher(o.VM.endpoints.autoSaveBlock.matchFulfilled,((e,a)=>{var l,t;(null===e||void 0===e||null===(l=e.block.id)||void 0===l?void 0:l.toString())===(null===(t=a.payload.id)||void 0===t?void 0:t.toString())&&(e.block.html=a.payload.html)})),e.addMatcher(o.VM.endpoints.getBlock.matchFulfilled,((e,{payload:a})=>{e.block={...d.block,...a}}))}}),{switchCodeMode:r,setEditorThemeColor:m,setBlockSettings:c,setElementSettings:g,setBlockSettingsDisable:p,setSearchFilters:u,setBlockHtml:A,resetBlockSlice:b,setBlockIsAmp:E}=s.actions,h=e=>e[n].isCodeMode,v=e=>e[n].editorThemeColor,y=e=>e[n].settings,B=e=>e[n].elementSettings,F=e=>e[n].isSettingsDisabled,T=e=>e[n].searchFilters,w=e=>e[n].block,C=s},34524:(e,a,l)=>{l.d(a,{Ay:()=>y,D2:()=>u,FC:()=>c,LZ:()=>A,NK:()=>g,NP:()=>b,dV:()=>v,qM:()=>E,ux:()=>h,wK:()=>p});var t=l(90536),i=l(55701),o=l(49211),d=l(85163);const n=(0,l(31770).ur)({blocksTotal:null,blocksTotalPages:null,parentEmailBlocksTotal:null,parentEmailBlocksTotalPages:null,templateBlocks:[],templateBlocksTotal:null,templateBlocksTotalPages:null,elementsView:!d.EW.isPlugin&&o.A.get(d.A9.em_elements_view)||d.Y$,elementsList:[],customFolders:{},blocksTrashTotal:0,elementsTrashList:[]}),s="blocksPageSlice",r=(0,t.createSlice)({name:s,initialState:n,reducers:{resetPagesAndTotal:()=>n,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,a)=>{e.elementsView=a.payload},removeBlockFromList:(e,{payload:a})=>{var l;let t=e.customFolders;a.folder!==d.y2&&null!==(l=t[a.folder])&&void 0!==l&&l.list&&(t[a.folder]={...t[a.folder],list:t[a.folder].list.filter((e=>e.id!==a.emailId)),total:t[a.folder].total-1},e.customFolders=t)}},extraReducers:e=>{e.addMatcher(i.VM.endpoints.getBlocks.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i,o,d,n,s,r,m;const c=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"),g="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),p=!(null===(o=a.arg.originalArgs)||void 0===o||null===(d=o.name)||void 0===d||!d.length),u=null===(n=a.arg.originalArgs)||void 0===n?void 0:n.page,A=(null===(s=a.arg.originalArgs)||void 0===s?void 0:s.folderTag)||(null===(r=a.arg.originalArgs)||void 0===r||null===(m=r.tags)||void 0===m?void 0:m[0]);g?(p||(e.blocksTrashTotal=c),e.elementsTrashList=l):A?e.customFolders={...e.customFolders,[A]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||p||(e.blocksTotal=c),e.elementsList=l)})),e.addMatcher(i.VM.endpoints.getParentEmailBlocks.matchFulfilled,((e,{meta:a})=>{var l,t;const i=null===(l=a.baseQueryMeta)||void 0===l?void 0:l.response.headers.get("X-WP-Total"),o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages");e.parentEmailBlocksTotal=i,e.parentEmailBlocksTotalPages=o})),e.addMatcher(i.VM.endpoints.getTemplateBlocks.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i;const o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"),d=null===(i=a.baseQueryMeta)||void 0===i?void 0:i.response.headers.get("X-WP-TotalPages");e.templateBlocks=l,e.templateBlocksTotal=o,e.templateBlocksTotalPages=d})),e.addMatcher(i.VM.endpoints.editBlock.matchFulfilled,((e,{payload:a})=>{e.elementsList.map((e=>{var l,t;return(null===(l=e.id)||void 0===l?void 0:l.toString())===(null===(t=a.id)||void 0===t?void 0:t.toString())?Object.assign(e,{lock:a.lock,title:a.title,blocktags:a.blocktags}):e}))}))}}),{resetPagesAndTotal:m,resetElementsList:c,toggleElementsView:g,removeBlockFromList:p}=r.actions,u=e=>e[s].blocksTotal,A=e=>e[s].templateBlocks,b=e=>e[s].customFolders,E=e=>e[s].elementsList,h=e=>e[s].elementsTrashList,v=e=>e[s].blocksTrashTotal,y=r},99751:(e,a,l)=>{l.d(a,{i:()=>o,$:()=>i});const t={pro:{config:{mode:"pro",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",revisionService:!1,headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,webversionEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!0,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!0,formFieldBorderRadiusEnabled:!0,formFieldBoxShadowEnabled:!0,formFieldVisibilityEnabled:!0,formFieldExportAsPictureEnabled:!0,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!0,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!0,elementVideoEnabled:!0,elementAIimageEnabled:!0,elementAItextEnabled:!0,elementCarouselEnabled:!0,elementFormEnabled:!0,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!0,formFieldAmpVisibilityEnabled:!0,testEmails:[]},project:void 0,page:{isNew:!0,type:"email",project:0,id:""}},editor:{config:{mode:"editor",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,webversionEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!1,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!0,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!1,formFieldBorderRadiusEnabled:!1,formFieldBoxShadowEnabled:!1,formFieldVisibilityEnabled:!1,formFieldExportAsPictureEnabled:!1,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!1,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!0,elementVideoEnabled:!0,elementAIimageEnabled:!0,elementAItextEnabled:!0,elementCarouselEnabled:!0,elementFormEnabled:!0,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!0,formFieldAmpVisibilityEnabled:!0,testEmails:[]},project:void 0,page:{isNew:!1,type:"email",project:0,id:""}},simple:{config:{mode:"simple",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!1,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!1,formFieldBorderRadiusEnabled:!1,formFieldBoxShadowEnabled:!1,formFieldVisibilityEnabled:!1,formFieldExportAsPictureEnabled:!1,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!0,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!1,elementVideoEnabled:!1,elementAIimageEnabled:!0,elementAItextEnabled:!1,elementCarouselEnabled:!1,elementFormEnabled:!1,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!1,formFieldAmpVisibilityEnabled:!1,testEmails:[]},project:void 0,page:{isNew:!1,type:"email",project:0,id:""}}},i=e=>{const a=t[e];return a||t.editor},o=["mode","formFieldBorderEnabled","formFieldBorderRadiusEnabled","formFieldBoxShadowEnabled","formFieldVisibilityEnabled","formFieldExportAsPictureEnabled","formButtonFieldInsertImageEnabled","formButtonFieldVerticalAlignEnabled","formButtonFieldTextAlignEnabled","formButtonFieldBackgroundImageEnabled","formButtonFieldPaddingsEnabled","formCellFieldVerticalAlignEnabled","formCellFieldBackgroundImageEnabled","formCellFieldPaddingsEnabled","formLinkFieldInsertImageEnabled","formTableFieldBackgroundImageEnabled","formDivFieldBackgroundImageEnabled","formEmailFieldBackgroundImageEnabled"]},53204:(e,a,l)=>{l.d(a,{Ay:()=>m,M:()=>r,YT:()=>s,rI:()=>n});var t=l(90536);const i=(0,l(31770).ur)({isCollapsed:!0,isMonacoFocusing:!1}),o="defaultModePanesSlice",d=(0,t.createSlice)({name:o,initialState:i,reducers:{setMonacoFocusing:(e,a)=>{e.isMonacoFocusing=a.payload},resetPanes:()=>i}}),{resetPanes:n,setMonacoFocusing:s}=d.actions,r=e=>e[o].isMonacoFocusing,m=d},65983:(e,a,l)=>{l.d(a,{A9:()=>c,AJ:()=>b,Ay:()=>N,Bj:()=>F,CT:()=>I,G_:()=>m,HO:()=>u,Hs:()=>f,M7:()=>g,Up:()=>C,VK:()=>h,VO:()=>B,VZ:()=>D,Wm:()=>y,eX:()=>r,iy:()=>k,no:()=>v,om:()=>p,pl:()=>A,ps:()=>T,qX:()=>M,rd:()=>P,ss:()=>E,uJ:()=>S,zn:()=>w});var t=l(90536),i=l(31770),o=l(17581);const d=(0,i.ur)({invalidateEmailId:null,editorThemeColor:"light",isSettingsDisabled:!1,settings:{backgroundColor:"",backgroundImage:[{type:"url",value:""}],backgroundPositionX:"",backgroundPositionY:"",backgroundRepeat:"",textStrong:!1,textItalic:!1,textUnderline:!1},elementSettings:{},searchFilters:{},emailCommonStyles:"",saveTime:null,mobileViewActive:{shutdown:!0,styles:!0},email:{id:void 0,is_inited:!1,isNew:!1,hasAmp:!1,subject:void 0,preheader:void 0,description:"",html:"",project:void 0,project_author:"",project_title:"",tags:[],utm_parameters:{utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""},parent_email:null,common_styles:"",title:null,emailtags:[],isAmp:!1},emailIsEdit:!1,isCodeMode:!1,codeModeDirection:void 0,emailViewType:void 0,changeKey:null,problemsList:[],activeProblemRange:null}),n="emailSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{setEditorThemeColor:(e,a)=>{e.editorThemeColor=a.payload},setEmailFromHistory:(e,{payload:a})=>{const l=e.email,t=void 0===a.preheader,i=void 0===a.subject;e.email={...l,html:a.html,preheader:t?l.preheader:a.preheader,subject:i?l.subject:a.subject,common_styles:void 0===a.common_styles?l.common_styles:a.common_styles}},setEmailSettings:(e,{payload:a})=>{Object.assign(e,{...e,settings:{...a},isSettingsDisabled:!1})},setEmailSettingsDisable:(e,a)=>{e.isSettingsDisabled=a.payload},setElementSettings:(e,{payload:a})=>{e.elementSettings=a},setSearchFilters:(e,a)=>{e.searchFilters=a.payload},setEmailHTML:(e,a)=>{e.email.html=a.payload},setEmailSubject:(e,a)=>{e.email.title!==e.email.subject&&(e.email.subject||e.email.title)||(e.email.title=a.payload),e.email.subject=a.payload},setEmailPreheader:(e,a)=>{e.email.preheader=a.payload},resetEmailSlice:e=>d,setEmailTitle:(e,a)=>{e.email.title=a.payload},setIsInited:(e,a)=>{e.email.is_inited=a.payload},setEmailIsAmp:(e,a)=>{e.email.isAmp=a.payload},setProblemsList:(e,a)=>{e.problemsList=a.payload},setActiveProblemRange:(e,a)=>{e.activeProblemRange=a.payload}},extraReducers:e=>{e.addMatcher((e=>"emailsApi/queries/queryResultPatched"===e.type),((e,a)=>{var l,t;const i=a.payload.queryCacheKey.match(/\("([0-9]+)"\)/),o=null===(l=a.payload)||void 0===l?void 0:l.patches[0];null!==o&&void 0!==o&&null!==(t=o.path)&&void 0!==t&&t[0]&&(e.email[null===o||void 0===o?void 0:o.path[0]]=o.value),null!==i&&void 0!==i&&i[1]&&(e.invalidateEmailId=i[1]),e.emailIsEdit=!0})),e.addMatcher((e=>"emailsApi/invalidateTags"===e.type),((e,a)=>{if(a.payload[0].id===+e.invalidateEmailId)return d})),e.addMatcher(o.GY.endpoints.editEmail.matchFulfilled,((e,{payload:a})=>{e.invalidateEmailId=null,e.email={...e.email,...a,renderGuid:e.email.renderGuid}})),e.addMatcher(o.GY.endpoints.autoSaveEmail.matchFulfilled,((e,a)=>{var l,t;(null===(l=e.email.id)||void 0===l?void 0:l.toString())===(null===(t=a.payload.id)||void 0===t?void 0:t.toString())&&(e.email.html=a.payload.html)})),e.addMatcher(o.GY.endpoints.getEmail.matchFulfilled,((e,{payload:a})=>{var l,t;e.email={...d.email,...a,is_inited:a.is_inited||(a.id===(null===(l=e.email)||void 0===l?void 0:l.id)?null===(t=e.email)||void 0===t?void 0:t.is_inited:d.email.is_inited)},e.emailIsEdit=!1}))}}),{setEditorThemeColor:r,setEmailSettings:m,setElementSettings:c,setEmailSettingsDisable:g,setSearchFilters:p,setEmailSubject:u,setEmailPreheader:A,setEmailHTML:b,resetEmailSlice:E,setEmailTitle:h,setEmailFromHistory:v,setIsInited:y,setEmailIsAmp:B,setProblemsList:F,setActiveProblemRange:T}=s.actions,w=e=>e[n].invalidateEmailId,C=e=>e[n].editorThemeColor,S=e=>e[n].settings,M=e=>e[n].elementSettings,k=e=>e[n].isSettingsDisabled,I=e=>e[n].searchFilters,f=e=>e[n].email,P=e=>e[n].problemsList,D=e=>e[n].activeProblemRange,N=s},94925:(e,a,l)=>{l.d(a,{Ay:()=>v,FC:()=>g,MY:()=>u,NK:()=>c,NP:()=>h,X:()=>p,aO:()=>E,ff:()=>m,qM:()=>A,ux:()=>b});var t=l(90536),i=l(17581),o=l(49211),d=l(85163);const n=(0,l(31770).ur)({emailsTotal:0,elementsList:[],emailsTrashTotal:0,elementsTrashList:[],customFolders:{},elementsView:!d.EW.isPlugin&&o.A.get(d.A9.em_elements_view)||d.Y$}),s="emailsPageSlice",r=(0,t.createSlice)({name:s,initialState:n,reducers:{resetPagesAndTotal:()=>n,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,a)=>{e.elementsView=a.payload},removeEmailFromList:(e,{payload:a})=>{var l;let t=e.customFolders;a.folder!==d.y2&&null!==(l=t[a.folder])&&void 0!==l&&l.list&&(t[a.folder]={...t[a.folder],list:t[a.folder].list.filter((e=>e.id!==a.emailId)),total:t[a.folder].total-1},e.customFolders=t)}},extraReducers:e=>{e.addMatcher(i.GY.endpoints.getEmails.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i,o,d,n,s,r,m;const c=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"))||0,g="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),p=!(null===(o=a.arg.originalArgs)||void 0===o||null===(d=o.name)||void 0===d||!d.length),u=null===(n=a.arg.originalArgs)||void 0===n?void 0:n.page,A=(null===(s=a.arg.originalArgs)||void 0===s?void 0:s.folderTag)||(null===(r=a.arg.originalArgs)||void 0===r||null===(m=r.tags)||void 0===m?void 0:m[0]);g?(p||(e.emailsTrashTotal=c),e.elementsTrashList=l):A?e.customFolders={...e.customFolders,[A]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||p||(e.emailsTotal=c),e.elementsList=l)})),e.addMatcher(i.GY.endpoints.getTemplateEmails.matchFulfilled,((e,{meta:a,payload:l})=>{var t;const i=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"))||0;e.elementsList=l,e.emailsTotal=i})),e.addMatcher(i.GY.endpoints.editEmail.matchFulfilled,((e,{payload:a})=>{e.elementsList.map((e=>{var l,t;return(null===(l=e.id)||void 0===l?void 0:l.toString())===(null===(t=a.id)||void 0===t?void 0:t.toString())?Object.assign(e,{lock:a.lock,title:a.title,emailtags:a.emailtags}):e}))}))}}),{resetPagesAndTotal:m,toggleElementsView:c,resetElementsList:g,removeEmailFromList:p}=r.actions,u=e=>e[s].emailsTotal,A=e=>e[s].elementsList,b=e=>e[s].elementsTrashList,E=e=>e[s].emailsTrashTotal,h=e=>e[s].customFolders,v=r},77532:(e,a,l)=>{l.d(a,{Ac:()=>u,Ay:()=>A,BK:()=>c,Uf:()=>p,Yw:()=>r,e_:()=>m,js:()=>g,tm:()=>s});var t=l(90536),i=l(31770);const o="imageSlice",d=(0,i.ur)({currentImage:"",currentBackground:"",currentImageName:""}),n=(0,t.createSlice)({name:o,initialState:d,reducers:{setCurrentImageName(e,a){e.currentImageName=a.payload},setCurrentImage(e,a){e.currentImage=a.payload},setCurrentBackground(e,a){e.currentBackground=a.payload},clearCurrentImages(e,a){e.currentImage="",e.currentBackground=""}}}),{setCurrentImage:s,setCurrentImageName:r,setCurrentBackground:m,clearCurrentImages:c}=n.actions,g=e=>e[o].currentImage,p=e=>e[o].currentImageName,u=e=>e[o].currentBackground,A=n},87790:(e,a,l)=>{l.d(a,{AS:()=>p,Ay:()=>y,Bp:()=>c,Sl:()=>v,TB:()=>A,X8:()=>b,ah:()=>h,qT:()=>g});var t=l(90536),i=l(55701),o=l(84568),d=l(35880),n=l.n(d);const s=(0,l(31770).ur)({block:{isNew:!0,subject:"",description:"",html:'<table cellspacing="0" cellpadding="0" border="0" width="100%">'+n()+"</table>",project:void 0,project_title:"",tags:[],type:"Other",title:null},hasChanged:!1}),r="newBlockSlice",m=(0,t.createSlice)({name:r,initialState:s,reducers:{setNewBlockAll:(e,{payload:{subject:a="",description:l="",renderGuid:t,html:i='<table cellspacing="0" cellpadding="0" border="0" width="100%">'+n()+"</table>",tags:o=[],type:d="Other",title:s,isAmp:r=!1}})=>{e.hasChanged||(e.hasChanged=!0),e.block.title=s,e.block.subject=a,e.block.description=l,e.block.html=i,e.block.tags=o,e.block.type=d,e.block.renderGuid=t,e.block.isAmp=r},setNewBlockTitle:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.title=a.payload},setNewBlockDescription:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.description=a.payload},setNewBlockHtml:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.html=a.payload},setNewBlockTags:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.tags=a.payload},resetNewBlockSlice:e=>({...s,block:{...s.block,project:e.block.project,project_title:e.block.project_title}}),setBlockIsAmp:(e,a)=>{e.block.isAmp=a.payload}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,a)=>{e.block.project=a.payload.id,e.block.project_title=a.payload.title})),e.addMatcher(i.VM.endpoints.getBlock.matchFulfilled,(e=>({...s,block:{...s.block,project:e.block.project,project_title:e.block.project_title}})))}}),{setNewBlockAll:c,setNewBlockTitle:g,setNewBlockDescription:p,setNewBlockHtml:u,setNewBlockTags:A,resetNewBlockSlice:b,setBlockIsAmp:E}=m.actions,h=e=>e[r].block,v=e=>e[r].hasChanged,y=m},8493:(e,a,l)=>{l.d(a,{$S:()=>N,Ay:()=>j,BQ:()=>b,Et:()=>I,K3:()=>w,MZ:()=>A,P3:()=>S,TC:()=>y,TU:()=>E,Uh:()=>f,YG:()=>D,Zs:()=>v,aY:()=>B,lg:()=>P,mk:()=>M,ol:()=>C,x3:()=>h,yY:()=>T,zH:()=>k});var t=l(90536),i=l(17581),o=l(84568),d=l(85163),n=l(573),s=l.n(n),r=l(31770),m=l(71210),c=l(32269);const g=(0,r.ur)({emailtags:[],email:{isNew:!0,is_inited:!1,subject:void 0,preheader:void 0,description:"",html:s(),project:void 0,project_title:"",tags:[],utm_parameters:{utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""},parent_email:null,common_styles:"{}",title:"",emailtags:[],isAmp:!1},hasChanged:!1}),p="newEmailSlice",u=(0,t.createSlice)({name:p,initialState:g,reducers:{setNewEmailAll:(e,{payload:{id:a,subject:l,description:t="",preheader:i,html:o=s(),utm_parameters:{utm_source:n="",utm_medium:r="",utm_campaign:m="",utm_term:g="",utm_content:p=""}={},common_styles:u={},emailtags:A=null,renderGuid:b,title:E,_embedded:h,isAmp:v=!1}})=>{var y;e.hasChanged||(e.hasChanged=!0),e.email.isAmp=v,e.email.title=E,e.emailtags=A,e.email.subject=l,e.email.description=t,e.email.common_styles=JSON.stringify(u),e.email.preheader=i,e.email.is_template=!1,e.email.html=o,e.email.tags=(null===(y=(0,c._q)({_embedded:h},d.zh))||void 0===y?void 0:y.map((e=>e.name)))||[],e.email.renderGuid=b,e.email.parent_email=a,e.email.utm_parameters={utm_source:n,utm_medium:r,utm_campaign:m,utm_term:g,utm_content:p},e.email.common_styles=JSON.stringify(d.BD)},setNewEmailTitle:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.title=a.payload},setNewEmailSubject:(e,a)=>{e.hasChanged||e.email.subject===a.payload||(e.hasChanged=!0),e.email.title!==e.email.subject&&(e.email.subject||e.email.title)||(e.email.title=a.payload),e.email.subject=a.payload},setNewEmailPreheader:(e,a)=>{e.hasChanged||e.email.preheader===a.payload||(e.hasChanged=!0),e.email.preheader=a.payload},setNewEmailDescription:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.description=a.payload},setNewEmailIsTemplate:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.is_template=a.payload},setNewEmailHtml:(e,a)=>{e.hasChanged||(e.hasChanged=!0),a.payload&&(e.email.html=a.payload)},setNewCommonStyles:(e,a)=>{e.hasChanged||(e.hasChanged=!0),a.payload&&(e.email.common_styles=a.payload)},setNewEmailTags:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.tags=a.payload},setNewEmailUtmSource:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_source=a.payload},setNewEmailUtmMedium:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_medium=a.payload},setNewEmailUtmCampaign:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_campaign=a.payload},setNewEmailUtmTerm:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_term=a.payload},setNewEmailUtmContent:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_content=a.payload},setNewIsInited:(e,a)=>{e.email.is_inited=a.payload},setNewEmailIsAmp:(e,a)=>{e.email.isAmp=a.payload},resetNewEmailSlice:e=>({...g,email:{...g.email,guid:(0,m.l)(),project:e.email.project,project_title:e.email.project_title}})},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,a)=>{e.email.project=a.payload.id,e.email.project_title=a.payload.title})),e.addMatcher(i.GY.endpoints.getEmail.matchFulfilled,(e=>({...g,email:{...g.email,project:e.email.project,project_title:e.email.project_title}})))}}),{setNewEmailAll:A,setNewEmailTitle:b,setNewEmailSubject:E,setNewEmailPreheader:h,setNewEmailDescription:v,setNewEmailIsTemplate:y,setNewEmailHtml:B,setNewCommonStyles:F,setNewEmailTags:T,setNewEmailUtmSource:w,setNewEmailUtmMedium:C,setNewEmailUtmCampaign:S,setNewEmailUtmContent:M,setNewEmailUtmTerm:k,resetNewEmailSlice:I,setNewIsInited:f,setNewEmailIsAmp:P}=u.actions,D=e=>e[p].email,N=e=>e[p].hasChanged,j=u},36404:(e,a,l)=>{l.d(a,{Ay:()=>c,od:()=>r,yN:()=>m});var t=l(90536),i=l(31770),o=l(84568);const d=(0,i.ur)({project:null}),n="projectSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{setProject:(e,{payload:a})=>{e.project=a}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,{payload:a})=>{e.project={...d.project,...a}})),e.addMatcher(o.Nq.endpoints.editProject.matchFulfilled,((e,{payload:a})=>{e.project={...d.project,...a}}))}}),{setProject:r}=s.actions,m=e=>e[n].project,c=s},64936:(e,a,l)=>{l.d(a,{Ay:()=>M,Cj:()=>y,Oo:()=>b,Os:()=>h,Wz:()=>E,YF:()=>A,cL:()=>B,gU:()=>S,o8:()=>w,qf:()=>u,sB:()=>v,sK:()=>F,uM:()=>C,vW:()=>T});var t=l(90536),i=l(31770),o=l(84568),d=l(93563),n=l(85163);const s=new URLSearchParams(window.location.search),r=s.get("tag"),m=s.get("folder"),c=(0,i.ur)({activeModal:"",secondModal:"",projectsTotal:"",projectsTotalPages:"",folders:[],activeTagId:r||null,activeFolderId:m||(r?null:n.y2),activeTab:null}),g="projectsPageSlice",p=(0,t.createSlice)({name:g,initialState:c,reducers:{openModal(e,a){e.activeModal=a.payload},setActiveTab(e,a){e.activeTab=a.payload},closeModal(e){e.activeModal=""},openSecondModal(e,a){e.secondModal=a.payload},closeSecondModal(e){e.secondModal=""},setFolders(e,{payload:a}){e.folders=a},setActiveTagId(e,{payload:a}){e.activeTagId=a}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProjects.matchFulfilled,((e,{meta:a})=>{var l,t;const i=null===(l=a.baseQueryMeta)||void 0===l?void 0:l.response.headers.get("X-WP-Total"),o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages");e.projectsTotal=i,e.projectsTotalPages=o})),e.addMatcher(d.kE.endpoints.getFolders.matchFulfilled,((e,{payload:a})=>{e.folders=a}))}}),{openModal:u,setActiveTab:A,closeModal:b,openSecondModal:E,closeSecondModal:h,setFolders:v,setActiveTagId:y}=p.actions,B=e=>e[g].activeModal,F=e=>e[g].secondModal,T=e=>e[g].projectsTotal,w=e=>e[g].folders,C=e=>e[g].activeTagId,S=e=>e[g].activeTab,M=p},39738:(e,a,l)=>{l.d(a,{Ay:()=>p,RL:()=>g,p1:()=>c,qX:()=>r});var t=l(90536),i=l(17581),o=l(55701);const d=(0,l(31770).ur)({historyData:[],elementHistoryTotalPages:1}),n="revisionHistorySlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{resetElementHistorySlice:()=>({...d}),setElementHistory:(e,a)=>{0!==a.payload.length&&(e.historyData=a.payload)}},extraReducers:e=>{e.addMatcher(i.GY.endpoints.getEmailHistory.matchFulfilled,((e,{meta:a,payload:l})=>{var t;e.elementHistoryTotalPages=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages")),a.arg.originalArgs.page&&1!==a.arg.originalArgs.page||(e.historyData=l.data||[])})),e.addMatcher(o.VM.endpoints.getBlockHistory.matchFulfilled,((e,{meta:a,payload:l})=>{var t;e.elementHistoryTotalPages=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages")),l.args.page&&1!==l.args.page||(e.historyData=l.data||[])}))}}),{resetElementHistorySlice:r}=s.actions,{setElementHistory:m}=s.actions,c=e=>e[n].historyData,g=e=>e[n].elementHistoryTotalPages,p=s},15115:(e,a,l)=>{l.d(a,{A:()=>t});const t=["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVnSURBVHgB3Zs9TCNHFMefNwalAMmRCwQUcRqULjZQ0HnpEgkJrgSapIEyRDTpwFWSAh1XQpPrKO8QNFexdBR8+EpozmmABskRLhI+7//fW6P1etce744/f5Lxrr1r5u/35s2bmeeYNAnTNBO3t7fm8/Pzt7FYLI3nNF5O4Djlvg6vF/BaAYdFHOcNwzgcGBjIW5ZVlCYQE41QZKlUWkHDszyVaFj4nPf9/f27R0dHBdGEFsGTk5O05JpEFxmEBS/IHR8fWxKRSIJbINQL3X8FwnclJKEET01Npe7v7/+W1gn18ravry8XxtW/kgaBVVceHx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FbVKomNSedhO6x7e4Izsux6b1a2ou97Zqe1YWeRl2lRWF3xmHH7wtUpfOnRfJN3QIsYeWkYwitauGHtJeYzBA0tmUCeC6aEDHO6YEkwPLRh8opgcWjG2eGFldc6yrMC3dI0Ng787e7zjQOHIWX91FmnNeWtkylpbIpNmZ415i3NkiiGcxGdkMrCcxBkyRSD8sQXpjyWgP8Z/xkXKVP4F5xRLZ3ymA7PO+Egv7sgZX7DXEowzvtL/5MoZY78AtCuuCNb0ZnDLmspWnZrPA/MCCH2vMFNj7YsV1Ak/LMhNfwrT543wwbJd3Hzwc6ET83EEbSqZxvxGZObiPVloODy1Bmo7B9v+8ih57LECUkxtpy2L6fpHW7jgBTDt5BRODLCpaBwLBWPFkuJZ7zcEU8qnjOhjEc55qQvCj+36l663nyZm5A9ms/P034mohwAAAABJRU5ErkJggg=="]},75855:(e,a,l)=>{e.exports=l.p+"static/media/frame_dark.318d7ed5.png"},55231:(e,a,l)=>{e.exports=l.p+"static/media/frame_light.22a9b4ec.png"},47018:(e,a,l)=>{e.exports=l.p+"static/media/frame_template_gallery.85693b39.png"}}]);
|