@emailmaker/emailmaker 1.0.32 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/iframe/{iframe-eblock.eefae9b7403d0fa06227.html → iframe-eblock.a8bef4943d19ed8120eb.html} +1 -1
- package/iframe/{iframe.eefae9b7403d0fa06227.html → iframe.a8bef4943d19ed8120eb.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/asset-manifest.json +0 -373
- package/css.worker.js +0 -2
- package/css.worker.js.LICENSE.txt +0 -6
- package/editor.worker.js +0 -1
- package/emailmaker-esm.js +0 -1
- package/emailmaker.d.ts +0 -1055
- package/emailmaker.js +0 -1
- package/html.worker.js +0 -2
- package/html.worker.js.LICENSE.txt +0 -14
- package/json.worker.js +0 -2
- package/json.worker.js.LICENSE.txt +0 -6
- package/plugin.html +0 -273
- package/plugin_blocks_test.html +0 -144
- package/plugin_default.html +0 -56
- package/plugin_s.html +0 -31
- package/static/css/1795.3b54559d.css +0 -1
- package/static/css/2256.d0db3199.css +0 -1
- package/static/css/3215.3a2b7cfe.css +0 -1
- package/static/css/4877.237f7f6b.css +0 -1
- package/static/css/5571.4415a91e.css +0 -1
- package/static/css/698.9a48c3be.css +0 -1
- package/static/css/984.b0f773d2.css +0 -1
- package/static/js/1028.4360e11f.js +0 -1
- package/static/js/1052.d1f85a29.js +0 -1
- package/static/js/1101.c32ce4f7.chunk.js +0 -2
- package/static/js/1101.c32ce4f7.chunk.js.LICENSE.txt +0 -6
- package/static/js/119.9a0f51df.chunk.js +0 -2
- package/static/js/119.9a0f51df.chunk.js.LICENSE.txt +0 -6
- package/static/js/1197.7e9444b1.js +0 -1
- package/static/js/1212.15b852ca.js +0 -1
- package/static/js/127.9f5a0761.chunk.js +0 -2
- package/static/js/127.9f5a0761.chunk.js.LICENSE.txt +0 -6
- package/static/js/1271.d2ba7d58.chunk.js +0 -2
- package/static/js/1271.d2ba7d58.chunk.js.LICENSE.txt +0 -6
- package/static/js/1283.b7058deb.chunk.js +0 -2
- package/static/js/1283.b7058deb.chunk.js.LICENSE.txt +0 -6
- package/static/js/1307.74cb7b10.js +0 -1
- package/static/js/1366.f647b62f.js +0 -2
- package/static/js/1366.f647b62f.js.LICENSE.txt +0 -6
- package/static/js/1399.cb6eb2fa.js +0 -1
- package/static/js/1403.68211890.js +0 -1
- package/static/js/1472.c8712709.js +0 -1
- package/static/js/1619.bb9c2d4f.chunk.js +0 -2
- package/static/js/1619.bb9c2d4f.chunk.js.LICENSE.txt +0 -6
- package/static/js/1663.cd15901b.chunk.js +0 -2
- package/static/js/1663.cd15901b.chunk.js.LICENSE.txt +0 -6
- package/static/js/1667.101647da.js +0 -1
- package/static/js/1729.b71e4a99.chunk.js +0 -1
- package/static/js/1792.f185436f.js +0 -1
- package/static/js/1795.a481592d.js +0 -1
- package/static/js/1818.053eb89f.chunk.js +0 -2
- package/static/js/1818.053eb89f.chunk.js.LICENSE.txt +0 -6
- package/static/js/1821.a8efb62e.chunk.js +0 -2
- package/static/js/1821.a8efb62e.chunk.js.LICENSE.txt +0 -6
- package/static/js/197.a135382e.js +0 -1
- package/static/js/2016.e08ef9ce.js +0 -1
- package/static/js/2029.041a1c1a.chunk.js +0 -2
- package/static/js/2029.041a1c1a.chunk.js.LICENSE.txt +0 -6
- package/static/js/2179.73130a54.chunk.js +0 -2
- package/static/js/2179.73130a54.chunk.js.LICENSE.txt +0 -6
- package/static/js/222.280bf6b3.js +0 -1
- package/static/js/2223.17806e9a.js +0 -2
- package/static/js/2223.17806e9a.js.LICENSE.txt +0 -10
- package/static/js/2225.d78bdfb7.js +0 -1
- package/static/js/2256.225fba63.js +0 -1
- package/static/js/227.5fd33eeb.chunk.js +0 -2
- package/static/js/227.5fd33eeb.chunk.js.LICENSE.txt +0 -10
- package/static/js/2464.2c009f8c.js +0 -2
- package/static/js/2464.2c009f8c.js.LICENSE.txt +0 -6
- package/static/js/2475.c86d0c20.chunk.js +0 -2
- package/static/js/2475.c86d0c20.chunk.js.LICENSE.txt +0 -6
- package/static/js/2547.9cdcf5fd.chunk.js +0 -2
- package/static/js/2547.9cdcf5fd.chunk.js.LICENSE.txt +0 -6
- package/static/js/2581.4558746b.chunk.js +0 -2
- package/static/js/2581.4558746b.chunk.js.LICENSE.txt +0 -6
- package/static/js/2582.d77da683.js +0 -2
- package/static/js/2582.d77da683.js.LICENSE.txt +0 -31
- package/static/js/2642.53da04d8.js +0 -1
- package/static/js/2675.dbe09fe1.chunk.js +0 -2
- package/static/js/2675.dbe09fe1.chunk.js.LICENSE.txt +0 -6
- package/static/js/2851.fea52359.chunk.js +0 -2
- package/static/js/2851.fea52359.chunk.js.LICENSE.txt +0 -6
- package/static/js/2896.fac80e3c.js +0 -2
- package/static/js/2896.fac80e3c.js.LICENSE.txt +0 -6
- package/static/js/2935.c0d4b469.chunk.js +0 -2
- package/static/js/2935.c0d4b469.chunk.js.LICENSE.txt +0 -6
- package/static/js/2951.3f25f72c.chunk.js +0 -2
- package/static/js/2951.3f25f72c.chunk.js.LICENSE.txt +0 -6
- package/static/js/3041.e05fa027.js +0 -1
- package/static/js/3068.591718b0.chunk.js +0 -2
- package/static/js/3068.591718b0.chunk.js.LICENSE.txt +0 -6
- package/static/js/3142.6792174f.js +0 -1
- package/static/js/3148.2e2f27ce.js +0 -1
- package/static/js/3299.983ba49b.chunk.js +0 -2
- package/static/js/3299.983ba49b.chunk.js.LICENSE.txt +0 -6
- package/static/js/3303.576ded0e.js +0 -1
- package/static/js/3447.2a559817.chunk.js +0 -2
- package/static/js/3447.2a559817.chunk.js.LICENSE.txt +0 -6
- package/static/js/353.3e6b29fb.js +0 -1
- package/static/js/3555.3ae2b597.chunk.js +0 -2
- package/static/js/3555.3ae2b597.chunk.js.LICENSE.txt +0 -6
- package/static/js/3651.8f2624f3.js +0 -1
- package/static/js/3682.d155b110.js +0 -2
- package/static/js/3682.d155b110.js.LICENSE.txt +0 -18
- package/static/js/3683.9414adf5.chunk.js +0 -2
- package/static/js/3683.9414adf5.chunk.js.LICENSE.txt +0 -6
- package/static/js/3704.aef08abb.js +0 -1
- package/static/js/3763.5f775790.chunk.js +0 -2
- package/static/js/3763.5f775790.chunk.js.LICENSE.txt +0 -6
- package/static/js/3768.f13fcea4.js +0 -1
- package/static/js/393.2f571faf.chunk.js +0 -2
- package/static/js/393.2f571faf.chunk.js.LICENSE.txt +0 -6
- package/static/js/3960.89f3c9f4.chunk.js +0 -2
- package/static/js/3960.89f3c9f4.chunk.js.LICENSE.txt +0 -6
- package/static/js/3991.d0073826.js +0 -1
- package/static/js/4001.0602b191.chunk.js +0 -2
- package/static/js/4001.0602b191.chunk.js.LICENSE.txt +0 -6
- package/static/js/4047.25747214.chunk.js +0 -2
- package/static/js/4047.25747214.chunk.js.LICENSE.txt +0 -6
- package/static/js/4087.48b614cb.js +0 -1
- package/static/js/4122.efa76a71.js +0 -1
- package/static/js/4159.cd6afba9.chunk.js +0 -2
- package/static/js/4159.cd6afba9.chunk.js.LICENSE.txt +0 -6
- package/static/js/4231.0dca1f81.js +0 -1
- package/static/js/4299.440bc3d2.chunk.js +0 -2
- package/static/js/4299.440bc3d2.chunk.js.LICENSE.txt +0 -6
- package/static/js/4325.e27cebb3.chunk.js +0 -2
- package/static/js/4325.e27cebb3.chunk.js.LICENSE.txt +0 -6
- package/static/js/4384.d7dc931a.js +0 -2
- package/static/js/4384.d7dc931a.js.LICENSE.txt +0 -15
- package/static/js/4417.4b3f75b4.chunk.js +0 -2
- package/static/js/4417.4b3f75b4.chunk.js.LICENSE.txt +0 -6
- package/static/js/4498.0767c1ee.js +0 -1
- package/static/js/451.d254d20c.chunk.js +0 -2
- package/static/js/451.d254d20c.chunk.js.LICENSE.txt +0 -6
- package/static/js/4627.cedc745b.chunk.js +0 -2
- package/static/js/4627.cedc745b.chunk.js.LICENSE.txt +0 -6
- package/static/js/4805.1ac956f6.js +0 -1
- package/static/js/4845.c3ae91f2.js +0 -1
- package/static/js/4867.ae5eb9c0.chunk.js +0 -2
- package/static/js/4867.ae5eb9c0.chunk.js.LICENSE.txt +0 -6
- package/static/js/4877.6ed62a0e.js +0 -1
- package/static/js/51.0157cb43.chunk.js +0 -2
- package/static/js/51.0157cb43.chunk.js.LICENSE.txt +0 -6
- package/static/js/515.16219a24.js +0 -2
- package/static/js/515.16219a24.js.LICENSE.txt +0 -6
- package/static/js/5243.c58a8a21.chunk.js +0 -2
- package/static/js/5243.c58a8a21.chunk.js.LICENSE.txt +0 -6
- package/static/js/5315.1a03f762.chunk.js +0 -2
- package/static/js/5315.1a03f762.chunk.js.LICENSE.txt +0 -6
- package/static/js/5319.92df1268.js +0 -1
- package/static/js/5339.df02c3e0.chunk.js +0 -2
- package/static/js/5339.df02c3e0.chunk.js.LICENSE.txt +0 -6
- package/static/js/5445.7db0b349.chunk.js +0 -2
- package/static/js/5445.7db0b349.chunk.js.LICENSE.txt +0 -6
- package/static/js/5475.dc9057be.chunk.js +0 -2
- package/static/js/5475.dc9057be.chunk.js.LICENSE.txt +0 -6
- package/static/js/5491.d8b1b7b0.chunk.js +0 -2
- package/static/js/5491.d8b1b7b0.chunk.js.LICENSE.txt +0 -6
- package/static/js/5497.a3910de2.js +0 -1
- package/static/js/5571.11726031.js +0 -1
- package/static/js/577.ca8a62c4.chunk.js +0 -2
- package/static/js/577.ca8a62c4.chunk.js.LICENSE.txt +0 -6
- package/static/js/5796.4b4a1748.js +0 -2
- package/static/js/5796.4b4a1748.js.LICENSE.txt +0 -1
- package/static/js/5853.ce87dead.chunk.js +0 -2
- package/static/js/5853.ce87dead.chunk.js.LICENSE.txt +0 -6
- package/static/js/5873.5fdbcd6c.js +0 -1
- package/static/js/5916.3a56abae.js +0 -1
- package/static/js/5923.e8e7b96d.chunk.js +0 -2
- package/static/js/5923.e8e7b96d.chunk.js.LICENSE.txt +0 -6
- package/static/js/5927.4afcefc8.chunk.js +0 -1
- package/static/js/5957.d2ad88af.js +0 -2
- package/static/js/5957.d2ad88af.js.LICENSE.txt +0 -9
- package/static/js/5974.9d34d7d3.js +0 -1
- package/static/js/6021.7f32cea2.chunk.js +0 -2
- package/static/js/6021.7f32cea2.chunk.js.LICENSE.txt +0 -6
- package/static/js/6051.6cefb17a.chunk.js +0 -2
- package/static/js/6051.6cefb17a.chunk.js.LICENSE.txt +0 -6
- package/static/js/6075.38c621ae.chunk.js +0 -2
- package/static/js/6075.38c621ae.chunk.js.LICENSE.txt +0 -6
- package/static/js/6083.0ef791dc.chunk.js +0 -2
- package/static/js/6083.0ef791dc.chunk.js.LICENSE.txt +0 -6
- package/static/js/6091.804a3e5a.js +0 -2
- package/static/js/6091.804a3e5a.js.LICENSE.txt +0 -6
- package/static/js/6133.0da38de9.js +0 -1
- package/static/js/6154.eda7a5eb.js +0 -1
- package/static/js/6161.6a73be6e.chunk.js +0 -2
- package/static/js/6161.6a73be6e.chunk.js.LICENSE.txt +0 -6
- package/static/js/6242.14f46d39.js +0 -2
- package/static/js/6242.14f46d39.js.LICENSE.txt +0 -43
- package/static/js/6275.19545c93.chunk.js +0 -2
- package/static/js/6275.19545c93.chunk.js.LICENSE.txt +0 -6
- package/static/js/6300.1ed0e3a4.js +0 -1
- package/static/js/6547.377fc02b.chunk.js +0 -2
- package/static/js/6547.377fc02b.chunk.js.LICENSE.txt +0 -6
- package/static/js/6567.cad55045.js +0 -1
- package/static/js/6643.1eb62a36.chunk.js +0 -2
- package/static/js/6643.1eb62a36.chunk.js.LICENSE.txt +0 -6
- package/static/js/6691.1ee2f23b.chunk.js +0 -2
- package/static/js/6691.1ee2f23b.chunk.js.LICENSE.txt +0 -6
- package/static/js/6701.8bd3807d.chunk.js +0 -2
- package/static/js/6701.8bd3807d.chunk.js.LICENSE.txt +0 -6
- package/static/js/6739.22d13837.chunk.js +0 -2
- package/static/js/6739.22d13837.chunk.js.LICENSE.txt +0 -6
- package/static/js/687.147e9138.js +0 -1
- package/static/js/6915.e4ede32f.chunk.js +0 -2
- package/static/js/6915.e4ede32f.chunk.js.LICENSE.txt +0 -6
- package/static/js/698.aebcf9cd.js +0 -1
- package/static/js/7018.f481e3a0.js +0 -1
- package/static/js/7051.c0c7cf26.chunk.js +0 -2
- package/static/js/7051.c0c7cf26.chunk.js.LICENSE.txt +0 -6
- package/static/js/7059.9c893bc0.chunk.js +0 -2
- package/static/js/7059.9c893bc0.chunk.js.LICENSE.txt +0 -6
- package/static/js/7187.7e67eebe.chunk.js +0 -2
- package/static/js/7187.7e67eebe.chunk.js.LICENSE.txt +0 -6
- package/static/js/721.4c6f728a.chunk.js +0 -2
- package/static/js/721.4c6f728a.chunk.js.LICENSE.txt +0 -6
- package/static/js/7471.fe46efd9.js +0 -1
- package/static/js/7533.a49f7784.js +0 -1
- package/static/js/7635.9d5d1322.chunk.js +0 -2
- package/static/js/7635.9d5d1322.chunk.js.LICENSE.txt +0 -6
- package/static/js/7698.f82d28d4.js +0 -1
- package/static/js/7779.0d221377.chunk.js +0 -2
- package/static/js/7779.0d221377.chunk.js.LICENSE.txt +0 -6
- package/static/js/7795.c0e8c528.chunk.js +0 -2
- package/static/js/7795.c0e8c528.chunk.js.LICENSE.txt +0 -6
- package/static/js/7824.e0daa1f7.chunk.js +0 -1
- package/static/js/7963.a4acc856.chunk.js +0 -2
- package/static/js/7963.a4acc856.chunk.js.LICENSE.txt +0 -6
- package/static/js/8003.a4a62303.chunk.js +0 -2
- package/static/js/8003.a4a62303.chunk.js.LICENSE.txt +0 -6
- package/static/js/8015.b608b9db.chunk.js +0 -2
- package/static/js/8015.b608b9db.chunk.js.LICENSE.txt +0 -6
- package/static/js/8030.0b457006.js +0 -1
- package/static/js/8075.bea74e99.js +0 -1
- package/static/js/8179.acf16a1a.chunk.js +0 -1
- package/static/js/823.48325ac1.js +0 -2
- package/static/js/823.48325ac1.js.LICENSE.txt +0 -7
- package/static/js/8236.bdefaa6b.js +0 -2
- package/static/js/8236.bdefaa6b.js.LICENSE.txt +0 -42
- package/static/js/8309.7e81b18b.js +0 -1
- package/static/js/8319.7ea4b259.chunk.js +0 -2
- package/static/js/8319.7ea4b259.chunk.js.LICENSE.txt +0 -6
- package/static/js/8345.e3795419.js +0 -1
- package/static/js/851.23920710.chunk.js +0 -2
- package/static/js/851.23920710.chunk.js.LICENSE.txt +0 -6
- package/static/js/8671.6a83db75.js +0 -1
- package/static/js/8679.f65e4d91.chunk.js +0 -2
- package/static/js/8679.f65e4d91.chunk.js.LICENSE.txt +0 -6
- package/static/js/8689.5fdcff24.chunk.js +0 -1
- package/static/js/8694.60896e26.js +0 -1
- package/static/js/8696.301b3f9b.js +0 -1
- package/static/js/8738.3ba7b2e7.js +0 -2
- package/static/js/8738.3ba7b2e7.js.LICENSE.txt +0 -87
- package/static/js/8740.a2a83fd4.js +0 -1
- package/static/js/8779.f6f8b6f7.chunk.js +0 -2
- package/static/js/8779.f6f8b6f7.chunk.js.LICENSE.txt +0 -6
- package/static/js/883.616a487d.chunk.js +0 -2
- package/static/js/883.616a487d.chunk.js.LICENSE.txt +0 -6
- package/static/js/8879.10db9af5.js +0 -2
- package/static/js/8879.10db9af5.js.LICENSE.txt +0 -86
- package/static/js/8881.ce638df9.chunk.js +0 -2
- package/static/js/8881.ce638df9.chunk.js.LICENSE.txt +0 -6
- package/static/js/8911.8253711c.chunk.js +0 -2
- package/static/js/8911.8253711c.chunk.js.LICENSE.txt +0 -6
- package/static/js/9005.62fb383a.chunk.js +0 -2
- package/static/js/9005.62fb383a.chunk.js.LICENSE.txt +0 -6
- package/static/js/9019.7efd13af.js +0 -2
- package/static/js/9019.7efd13af.js.LICENSE.txt +0 -96
- package/static/js/9055.1f85af27.js +0 -1
- package/static/js/9061.3366c9e5.js +0 -1
- package/static/js/9101.08739c9d.js +0 -1
- package/static/js/9267.67d8f2bb.chunk.js +0 -2
- package/static/js/9267.67d8f2bb.chunk.js.LICENSE.txt +0 -6
- package/static/js/9328.74394e00.js +0 -1
- package/static/js/9603.4321e1c5.chunk.js +0 -2
- package/static/js/9603.4321e1c5.chunk.js.LICENSE.txt +0 -6
- package/static/js/9649.ff98467b.js +0 -1
- package/static/js/9653.3c3fd842.js +0 -1
- package/static/js/9763.2e0a4d2d.chunk.js +0 -2
- package/static/js/9763.2e0a4d2d.chunk.js.LICENSE.txt +0 -6
- package/static/js/9796.52daf89f.js +0 -1
- package/static/js/9878.cca6854e.js +0 -2
- package/static/js/9878.cca6854e.js.LICENSE.txt +0 -8
- package/static/js/9898.93cc5558.chunk.js +0 -2
- package/static/js/9898.93cc5558.chunk.js.LICENSE.txt +0 -6
- package/static/js/9907.c26468b0.js +0 -1
- package/static/js/9935.52cd750c.chunk.js +0 -2
- package/static/js/9935.52cd750c.chunk.js.LICENSE.txt +0 -6
- package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +0 -1
- package/static/js/ant-locale/locale1.5b1308da.chunk.js +0 -1
- package/static/js/ant-locale/locale10.f74ae841.chunk.js +0 -1
- package/static/js/ant-locale/locale11.cf703a34.chunk.js +0 -1
- package/static/js/ant-locale/locale13.9bcbe954.chunk.js +0 -1
- package/static/js/ant-locale/locale14.138842ea.chunk.js +0 -1
- package/static/js/ant-locale/locale15.e80eb12a.chunk.js +0 -1
- package/static/js/ant-locale/locale16.49bc0148.chunk.js +0 -1
- package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +0 -1
- package/static/js/ant-locale/locale18.f9e62843.chunk.js +0 -1
- package/static/js/ant-locale/locale19.c98c053a.chunk.js +0 -1
- package/static/js/ant-locale/locale2.b54c0d79.chunk.js +0 -1
- package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +0 -1
- package/static/js/ant-locale/locale21.7764c4b3.chunk.js +0 -1
- package/static/js/ant-locale/locale22.5cbb9959.chunk.js +0 -1
- package/static/js/ant-locale/locale23.2342f692.chunk.js +0 -1
- package/static/js/ant-locale/locale24.3c622cfa.chunk.js +0 -1
- package/static/js/ant-locale/locale25.7658de4e.chunk.js +0 -1
- package/static/js/ant-locale/locale26.b7e751bd.chunk.js +0 -1
- package/static/js/ant-locale/locale27.a47676d9.chunk.js +0 -1
- package/static/js/ant-locale/locale28.c89eee28.chunk.js +0 -1
- package/static/js/ant-locale/locale3.48f0afe7.chunk.js +0 -1
- package/static/js/ant-locale/locale30.4d3672db.chunk.js +0 -1
- package/static/js/ant-locale/locale31.406215d5.chunk.js +0 -1
- package/static/js/ant-locale/locale32.6167b5e8.chunk.js +0 -1
- package/static/js/ant-locale/locale33.4be05b3c.chunk.js +0 -1
- package/static/js/ant-locale/locale34.3813ab2f.chunk.js +0 -1
- package/static/js/ant-locale/locale35.d58b9c31.chunk.js +0 -1
- package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +0 -1
- package/static/js/ant-locale/locale37.1c16e25b.chunk.js +0 -1
- package/static/js/ant-locale/locale38.dfa6d712.chunk.js +0 -1
- package/static/js/ant-locale/locale39.31c90381.chunk.js +0 -1
- package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +0 -1
- package/static/js/ant-locale/locale40.fe7ab935.chunk.js +0 -1
- package/static/js/ant-locale/locale41.4dee0621.chunk.js +0 -1
- package/static/js/ant-locale/locale42.7061d0fc.chunk.js +0 -1
- package/static/js/ant-locale/locale43.b3c810a8.chunk.js +0 -1
- package/static/js/ant-locale/locale44.df0a5a76.chunk.js +0 -1
- package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +0 -1
- package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +0 -1
- package/static/js/ant-locale/locale47.b84733ce.chunk.js +0 -1
- package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +0 -1
- package/static/js/ant-locale/locale49.c67382b7.chunk.js +0 -1
- package/static/js/ant-locale/locale5.b2b61134.chunk.js +0 -1
- package/static/js/ant-locale/locale50.6520fd45.chunk.js +0 -1
- package/static/js/ant-locale/locale51.9b89fb56.chunk.js +0 -1
- package/static/js/ant-locale/locale52.11d21631.chunk.js +0 -1
- package/static/js/ant-locale/locale53.cea142dd.chunk.js +0 -1
- package/static/js/ant-locale/locale54.16ef125d.chunk.js +0 -1
- package/static/js/ant-locale/locale55.b1a653c1.chunk.js +0 -1
- package/static/js/ant-locale/locale56.83c76bd5.chunk.js +0 -1
- package/static/js/ant-locale/locale57.e685764a.chunk.js +0 -1
- package/static/js/ant-locale/locale58.d003f49e.chunk.js +0 -1
- package/static/js/ant-locale/locale59.556522b5.chunk.js +0 -1
- package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +0 -1
- package/static/js/ant-locale/locale61.30fe9720.chunk.js +0 -1
- package/static/js/ant-locale/locale62.b21e6edb.chunk.js +0 -1
- package/static/js/ant-locale/locale63.8e66417e.chunk.js +0 -1
- package/static/js/ant-locale/locale64.fdae6858.chunk.js +0 -1
- package/static/js/ant-locale/locale65.58003560.chunk.js +0 -1
- package/static/js/ant-locale/locale66.94ea41f2.chunk.js +0 -1
- package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +0 -1
- package/static/js/ant-locale/locale69.27295717.chunk.js +0 -1
- package/static/js/ant-locale/locale7.1509b3e0.chunk.js +0 -1
- package/static/js/ant-locale/locale70.964bc038.chunk.js +0 -1
- package/static/js/ant-locale/locale71.99926e0d.chunk.js +0 -1
- package/static/js/ant-locale/locale8.134136c4.chunk.js +0 -1
- package/static/js/ant-locale/locale9.9b87d751.chunk.js +0 -1
- package/static/js/emailmaker_core.80378bf9.js +0 -1
- package/static/js/mergeTags/locale0.23c595c1.chunk.js +0 -1
- package/static/js/mergeTags/locale1.3448e6cb.chunk.js +0 -1
- package/static/js/mocks.90ebae7c.chunk.js +0 -1
- 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 +0 -1
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
- 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/ts.worker.js +0 -2
- package/ts.worker.js.LICENSE.txt +0 -21
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9653],{53353:(e,t,n)=>{n.d(t,{iP:()=>a,iu:()=>o,q2:()=>s,tA:()=>r,ui:()=>l});var i=n(21429);class o{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return i.L.fromPositions(n.getEndPosition())}}class r{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return i.L.fromRange(n,0)}}class s{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return i.L.fromPositions(n.getStartPosition())}}class a{constructor(e,t,n,i,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return i.L.fromPositions(n.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class l{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},14469:(e,t,n)=>{n.d(t,{Y:()=>g});var i=n(53817),o=n(87214),r=n(15186),s=n(21429),a=n(3875),l=n(91835),u=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},c=function(e,t){return function(n,i){t(n,i,e)}};const d=Object.create(null);function h(e,t){if(t<=0)return"";d[e]||(d[e]=["",e]);const n=d[e];for(let i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}let g=class e{constructor(e,t,n){this._languageConfigurationService=n,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,r){const s=o.A.visibleColumnFromColumn(e,t,n);if(r){const e=h(" ",i);return h(e,o.A.prevIndentTabStop(s,i)/i)}return h("\t",o.A.prevRenderTabStop(s,n)/n)}static shiftIndent(e,t,n,i,r){const s=o.A.visibleColumnFromColumn(e,t,n);if(r){const e=h(" ",i);return h(e,o.A.nextIndentTabStop(s,i)/i)}return h("\t",o.A.nextRenderTabStop(s,n)/n)}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(t,n){const s=this._selection.startLineNumber;let l=this._selection.endLineNumber;1===this._selection.endColumn&&s!==l&&(l-=1);const{tabSize:u,indentSize:c,insertSpaces:d}=this._opts,g=s===l;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(s))&&(this._useLastEditRangeForCursorEndPosition=!0);let h=0,m=0;for(let p=s;p<=l;p++,h=m){m=0;const l=t.getLineContent(p);let f,w=i.HG(l);if((!this._opts.isUnshift||0!==l.length&&0!==w)&&(g||this._opts.isUnshift||0!==l.length)){if(-1===w&&(w=l.length),p>1){if(o.A.visibleColumnFromColumn(l,w+1,u)%c!==0&&t.tokenization.isCheapToTokenize(p-1)){const e=(0,a.h)(this._opts.autoIndent,t,new r.Q(p-1,t.getLineMaxColumn(p-1),p-1,t.getLineMaxColumn(p-1)),this._languageConfigurationService);if(e){if(m=h,e.appendText)for(let t=0,n=e.appendText.length;t<n&&m<c&&32===e.appendText.charCodeAt(t);t++)m++;e.removeText&&(m=Math.max(0,m-e.removeText));for(let e=0;e<m&&(0!==w&&32===l.charCodeAt(w-1));e++)w--}}}this._opts.isUnshift&&0===w||(f=this._opts.isUnshift?e.unshiftIndent(l,w+1,u,c,d):e.shiftIndent(l,w+1,u,c,d),this._addEditOperation(n,new r.Q(p,1,p,w+1),f),p!==s||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=w+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===t.getLineLength(s)&&(this._useLastEditRangeForCursorEndPosition=!0);const e=d?h(" ",c):"\t";for(let o=s;o<=l;o++){const a=t.getLineContent(o);let l=i.HG(a);if((!this._opts.isUnshift||0!==a.length&&0!==l)&&((g||this._opts.isUnshift||0!==a.length)&&(-1===l&&(l=a.length),!this._opts.isUnshift||0!==l)))if(this._opts.isUnshift){l=Math.min(l,c);for(let e=0;e<l;e++){if(9===a.charCodeAt(e)){l=e+1;break}}this._addEditOperation(n,new r.Q(o,1,o,l+1),"")}else this._addEditOperation(n,new r.Q(o,1,o,1),e),o!==s||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=n.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){const e=t.getInverseEditOperations()[0];return new s.L(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){const e=this._selection.startColumn;return n.startColumn<=e?n:0===n.getDirection()?new s.L(n.startLineNumber,e,n.endLineNumber,n.endColumn):new s.L(n.endLineNumber,n.endColumn,n.startLineNumber,e)}return n}};g=u([c(2,l.JZ)],g)},70120:(e,t,n)=>{n.d(t,{d:()=>s});var i=n(53817),o=n(48282),r=n(15186);class s{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){const n=function(e,t){t.sort(((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber));for(let i=t.length-2;i>=0;i--)t[i].lineNumber===t[i+1].lineNumber&&t.splice(i,1);const n=[];let s=0,a=0;const l=t.length;for(let u=1,c=e.getLineCount();u<=c;u++){const c=e.getLineContent(u),d=c.length+1;let h=0;if(a<l&&t[a].lineNumber===u&&(h=t[a].column,a++,h===d))continue;if(0===c.length)continue;const g=i.lT(c);let m=0;if(-1===g)m=1;else{if(g===c.length-1)continue;m=g+2}m=Math.max(h,m),n[s++]=o.k.delete(new r.Q(u,m,u,d))}return n}(e,this._cursors);for(let i=0,o=n.length;i<o;i++){const e=n[i];t.addEditOperation(e.range,e.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},71088:(e,t,n)=>{n.d(t,{Gn:()=>m,JJ:()=>l,vf:()=>g});var i=n(86979),o=n(821),r=n(38016),s=n(67343),a=n(5046);const l=Object.freeze({id:"editor",order:5,type:"object",title:r.kg("editorConfigurationTitle","Editor"),scope:5}),u=Object.assign(Object.assign({},l),{properties:{"editor.tabSize":{type:"number",default:o.R.tabSize,minimum:1,markdownDescription:r.kg("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:o.R.insertSpaces,markdownDescription:r.kg("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:o.R.detectIndentation,markdownDescription:r.kg("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:o.R.trimAutoWhitespace,description:r.kg("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.R.largeFileOptimizations,description:r.kg("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:r.kg("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[r.kg("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),r.kg("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),r.kg("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:r.kg("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[r.kg("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),r.kg("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),r.kg("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:r.kg("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r.kg("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r.kg("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.language.brackets":{type:["array","null"],default:null,description:r.kg("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:r.kg("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.kg("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:r.kg("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:r.kg("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:r.kg("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:r.kg("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:50,description:r.kg("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:r.kg("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:!0,description:r.kg("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:r.kg("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:r.kg("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:r.kg("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[r.kg("wordWrap.off","Lines will never wrap."),r.kg("wordWrap.on","Lines will wrap at the viewport width."),r.kg("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(const p of i.BE){const e=p.schema;if("undefined"!==typeof e)if("undefined"!==typeof(c=e).type||"undefined"!==typeof c.anyOf)u.properties[`editor.${p.name}`]=e;else for(const t in e)Object.hasOwnProperty.call(e,t)&&(u.properties[t]=e[t])}var c;let d=null;function h(){return null===d&&(d=Object.create(null),Object.keys(u.properties).forEach((e=>{d[e]=!0}))),d}function g(e){return h()[`editor.${e}`]||!1}function m(e){return h()[`diffEditor.${e}`]||!1}a.O.as(s.Fd.Configuration).registerConfiguration(u)},86979:(e,t,n)=>{n.d(t,{$C:()=>T,BE:()=>B,Bc:()=>x,O4:()=>y,Of:()=>W,XR:()=>D,hZ:()=>g,jU:()=>E,lw:()=>c,m9:()=>N,n0:()=>d,qB:()=>O,wA:()=>C,xZ:()=>I,xq:()=>u,zM:()=>w});var i=n(38016),o=n(17032),r=n(99467),s=n(39869),a=n(32291),l=n(821);const u=8;class c{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class d{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return m(e,t)}compute(e,t,n){return n}}class g{constructor(e,t){this.newValue=e,this.didChange=t}}function m(e,t){if("object"!==typeof e||"object"!==typeof t||!e||!t)return new g(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&s.aI(e,t);return new g(t,n)}let n=!1;for(const i in t)if(t.hasOwnProperty(i)){const o=m(e[i],t[i]);o.didChange&&(e[i]=o.newValue,n=!0)}return new g(e,n)}class p{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return m(e,t)}validate(e){return this.defaultValue}}class f{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return m(e,t)}validate(e){return"undefined"===typeof e?this.defaultValue:e}compute(e,t,n){return n}}function w(e,t){return"undefined"===typeof e?t:"false"!==e&&Boolean(e)}class b extends f{constructor(e,t,n,i=void 0){"undefined"!==typeof i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return w(e,this.defaultValue)}}function C(e,t,n,i){if("undefined"===typeof e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(n,o),o=Math.min(i,o),0|o)}class k extends f{constructor(e,t,n,i,o,r=void 0){"undefined"!==typeof r&&(r.type="integer",r.default=n,r.minimum=i,r.maximum=o),super(e,t,n,r),this.minimum=i,this.maximum=o}static clampedInt(e,t,n,i){return C(e,t,n,i)}validate(e){return k.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class S extends f{constructor(e,t,n,i,o){"undefined"!==typeof o&&(o.type="number",o.default=n),super(e,t,n,o),this.validationFn=i}static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;const n=parseFloat(e);return isNaN(n)?t:n}validate(e){return this.validationFn(S.float(e,this.defaultValue))}}class v extends f{static string(e,t){return"string"!==typeof e?t:e}constructor(e,t,n,i=void 0){"undefined"!==typeof i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return v.string(e,this.defaultValue)}}function y(e,t,n){return"string"!==typeof e||-1===n.indexOf(e)?t:e}class L extends f{constructor(e,t,n,i,o=void 0){"undefined"!==typeof o&&(o.type="string",o.enum=i,o.default=n),super(e,t,n,o),this._allowedValues=i}validate(e){return y(e,this.defaultValue,this._allowedValues)}}class _ extends h{constructor(e,t,n,i,o,r,s=void 0){"undefined"!==typeof s&&(s.type="string",s.enum=o,s.default=i),super(e,t,n,s),this._allowedValues=o,this._convert=r}validate(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var N;!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(N||(N={}));class x extends h{constructor(){super(46,"fontLigatures",x.OFF,{anyOf:[{type:"boolean",description:i.kg("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:i.kg("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:i.kg("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?x.OFF:"true"===e?x.ON:e:Boolean(e)?x.ON:x.OFF}}x.OFF='"liga" off, "calt" off',x.ON='"liga" on, "calt" on';class P extends h{constructor(){super(48,"fontWeight",E.fontWeight,{anyOf:[{type:"number",minimum:P.MINIMUM_VALUE,maximum:P.MAXIMUM_VALUE,errorMessage:i.kg("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:P.SUGGESTION_VALUES}],default:E.fontWeight,description:i.kg("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(k.clampedInt(e,E.fontWeight,P.MINIMUM_VALUE,P.MAXIMUM_VALUE))}}P.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],P.MINIMUM_VALUE=1,P.MAXIMUM_VALUE=1e3;class I extends p{constructor(){super(132)}compute(e,t,n){return I.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const r=t.stableMinimapLayoutInput,s=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,d=e.minimap.renderCharacters;let h=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const g=e.minimap.maxColumn,m=e.minimap.size,p=e.minimap.side,f=e.verticalScrollbarWidth,w=e.viewLineCount,b=e.remainingWidth,C=e.isViewportWrapping,k=d?2:3;let S=Math.floor(o*i);const v=S/o;let y=!1,L=!1,_=k*h,N=h/o,x=1;if("fill"===m||"fit"===m){const{typicalViewportLineCount:n,extraLinesBeyondLastLine:r,desiredRatio:l,minimapLineCount:u}=I.computeContainedMinimapLineCount({viewLineCount:w,scrollBeyondLastLine:c,height:i,lineHeight:a,pixelRatio:o});if(w/u>1)y=!0,L=!0,h=1,_=1,N=h/o;else{let i=!1,u=h+1;if("fit"===m){const e=Math.ceil((w+r)*_);C&&s&&b<=t.stableFitRemainingWidth?(i=!0,u=t.stableFitMaxMinimapScale):i=e>S}if("fill"===m||i){y=!0;const i=h;_=Math.min(a*o,Math.max(1,Math.floor(1/l))),C&&s&&b<=t.stableFitRemainingWidth&&(u=t.stableFitMaxMinimapScale),h=Math.min(u,Math.max(1,Math.floor(_/k))),h>i&&(x=Math.min(2,h/i)),N=h/o/x,S=Math.ceil(Math.max(n,w+r)*_),C?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const P=Math.floor(g*N),T=Math.min(P,Math.max(0,Math.floor((b-f-2)*N/(l+N)))+u);let M=Math.floor(o*T);const D=M/o;M=Math.floor(M*x);return{renderMinimap:d?1:2,minimapLeft:"left"===p?0:n-T-f,minimapWidth:T,minimapHeightIsEditorHeight:y,minimapIsSampling:L,minimapScale:h,minimapLineHeight:_,minimapCanvasInnerWidth:M,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:D,minimapCanvasOuterHeight:v}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,r=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,u=t.viewLineCount,c=e.get(124),h="inherit"===c?e.get(123):c,g="inherit"===h?e.get(119):h,m=e.get(122),p=e.get(2),f=t.isDominatedByLongLines,w=e.get(51),b=0!==e.get(61).renderType,C=e.get(62),S=e.get(95),v=e.get(66),y=e.get(93),L=y.verticalScrollbarSize,_=y.verticalHasArrows,N=y.arrowSize,x=y.horizontalScrollbarSize,P=e.get(59),T=e.get(38),M="never"!==e.get(100);let D;if("string"===typeof P&&/^\d+(\.\d+)?ch$/.test(P)){const e=parseFloat(P.substr(0,P.length-2));D=k.clampedInt(e*s,0,0,1e3)}else D=k.clampedInt(P,0,0,1e3);T&&M&&(D+=16);let W=0;if(b){const e=Math.max(r,C);W=Math.round(e*a)}let A=0;w&&(A=o);let E=0,B=E+A,V=B+W,O=V+D;const F=n-A-W-D;let R=!1,z=!1,H=-1;2!==p&&("inherit"===h&&f?(R=!0,z=!0):"on"===g||"bounded"===g?z=!0:"wordWrapColumn"===g&&(H=m));const U=I._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:o,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:S,minimap:v,verticalScrollbarWidth:L,viewLineCount:u,remainingWidth:F,isViewportWrapping:z},t.memory||new d);0!==U.renderMinimap&&0===U.minimapLeft&&(E+=U.minimapWidth,B+=U.minimapWidth,V+=U.minimapWidth,O+=U.minimapWidth);const Q=F-U.minimapWidth,q=Math.max(1,Math.floor((Q-L-2)/s)),G=_?N:0;return z&&(H=Math.max(1,q),"bounded"===g&&(H=Math.min(H,m))),{width:n,height:i,glyphMarginLeft:E,glyphMarginWidth:A,lineNumbersLeft:B,lineNumbersWidth:W,decorationsLeft:V,decorationsWidth:D,contentLeft:O,contentWidth:Q,minimap:U,viewportColumn:q,isWordWrapMinified:R,isViewportWrapping:z,wrappingColumn:H,verticalScrollbarWidth:L,horizontalScrollbarHeight:x,overviewRuler:{top:G,width:L,height:i-2*G,right:0}}}}function T(e){const t=e.get(88);return"editable"===t?e.get(82):"on"!==t}function M(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const D="inUntrustedWorkspace",W={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function A(e,t,n){const i=n.indexOf(e);return-1===i?t:n[i]}const E={fontFamily:o.zx?"Menlo, Monaco, 'Courier New', monospace":o.j9?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:o.zx?12:14,lineHeight:0,letterSpacing:0},B=[];function V(e){return B[e.id]=e,e}const O={acceptSuggestionOnCommitCharacter:V(new b(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:i.kg("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`; `) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:V(new L(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",i.kg("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:i.kg("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:V(new class extends h{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[i.kg("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),i.kg("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),i.kg("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:i.kg("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}),accessibilityPageSize:V(new k(3,"accessibilityPageSize",10,1,1073741824,{description:i.kg("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:V(new v(4,"ariaLabel",i.kg("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:V(new L(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.kg("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),i.kg("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:i.kg("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:V(new L(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",i.kg("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:i.kg("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:V(new L(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",i.kg("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:i.kg("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:V(new L(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.kg("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),i.kg("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:i.kg("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:V(new _(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[i.kg("editor.autoIndent.none","The editor will not insert indentation automatically."),i.kg("editor.autoIndent.keep","The editor will keep the current line's indentation."),i.kg("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),i.kg("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),i.kg("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:i.kg("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:V(new b(10,"automaticLayout",!1)),autoSurround:V(new L(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[i.kg("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.kg("editor.autoSurround.quotes","Surround with quotes but not brackets."),i.kg("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:i.kg("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:V(new class extends h{constructor(){const e={enabled:l.R.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:l.R.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:i.kg("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:i.kg("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:w(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}),bracketPairGuides:V(new class extends h{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[i.kg("editor.guides.bracketPairs.true","Enables bracket pair guides."),i.kg("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),i.kg("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:i.kg("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[i.kg("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),i.kg("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),i.kg("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:i.kg("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:i.kg("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:i.kg("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[i.kg("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),i.kg("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),i.kg("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:i.kg("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{bracketPairs:A(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:A(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:w(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:w(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:A(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}),stickyTabStops:V(new b(105,"stickyTabStops",!1,{description:i.kg("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:V(new b(14,"codeLens",!0,{description:i.kg("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:V(new v(15,"codeLensFontFamily","",{description:i.kg("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:V(new k(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:i.kg("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:V(new b(17,"colorDecorators",!0,{description:i.kg("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:V(new b(18,"columnSelection",!1,{description:i.kg("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:V(new class extends h{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:i.kg("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:i.kg("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertSpace:w(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:w(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:V(new b(20,"contextmenu",!0)),copyWithSyntaxHighlighting:V(new b(21,"copyWithSyntaxHighlighting",!0,{description:i.kg("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:V(new _(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:i.kg("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:V(new b(23,"cursorSmoothCaretAnimation",!1,{description:i.kg("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:V(new _(24,"cursorStyle",N.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return N.Line;case"block":return N.Block;case"underline":return N.Underline;case"line-thin":return N.LineThin;case"block-outline":return N.BlockOutline;case"underline-thin":return N.UnderlineThin}}),{description:i.kg("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:V(new k(25,"cursorSurroundingLines",0,0,1073741824,{description:i.kg("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:V(new L(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[i.kg("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),i.kg("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:i.kg("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:V(new k(27,"cursorWidth",0,0,1073741824,{markdownDescription:i.kg("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:V(new b(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:V(new b(29,"disableMonospaceOptimizations",!1)),domReadOnly:V(new b(30,"domReadOnly",!1)),dragAndDrop:V(new b(31,"dragAndDrop",!0,{description:i.kg("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:V(new class extends b{constructor(){super(33,"emptySelectionClipboard",!0,{description:i.kg("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),enableDropIntoEditor:V(new b(32,"enableDropIntoEditor",!0)),extraEditorClassName:V(new v(34,"extraEditorClassName","")),fastScrollSensitivity:V(new S(35,"fastScrollSensitivity",5,(e=>e<=0?5:e),{markdownDescription:i.kg("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:V(new class extends h{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(36,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:i.kg("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[i.kg("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),i.kg("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),i.kg("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:i.kg("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[i.kg("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),i.kg("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),i.kg("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:i.kg("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:i.kg("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.zx},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:i.kg("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:i.kg("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:w(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"===typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":y(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"===typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":y(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:w(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:V(new b(37,"fixedOverflowWidgets",!1)),folding:V(new b(38,"folding",!0,{description:i.kg("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:V(new L(39,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[i.kg("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),i.kg("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:i.kg("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:V(new b(40,"foldingHighlight",!0,{description:i.kg("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:V(new b(41,"foldingImportsByDefault",!1,{description:i.kg("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:V(new k(42,"foldingMaximumRegions",5e3,10,65e3,{description:i.kg("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:V(new b(43,"unfoldOnClickAfterEndOfLine",!1,{description:i.kg("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:V(new v(44,"fontFamily",E.fontFamily,{description:i.kg("fontFamily","Controls the font family.")})),fontInfo:V(new class extends p{constructor(){super(45)}compute(e,t,n){return e.fontInfo}}),fontLigatures2:V(new x),fontSize:V(new class extends f{constructor(){super(47,"fontSize",E.fontSize,{type:"number",minimum:6,maximum:100,default:E.fontSize,description:i.kg("fontSize","Controls the font size in pixels.")})}validate(e){const t=S.float(e,this.defaultValue);return 0===t?E.fontSize:S.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:V(new P),formatOnPaste:V(new b(49,"formatOnPaste",!1,{description:i.kg("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:V(new b(50,"formatOnType",!1,{description:i.kg("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:V(new b(51,"glyphMargin",!0,{description:i.kg("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:V(new class extends h{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[i.kg("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),i.kg("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),i.kg("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(52,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:i.kg("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:i.kg("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:i.kg("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:i.kg("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:i.kg("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:i.kg("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:i.kg("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:i.kg("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:i.kg("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:i.kg("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:i.kg("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,n,i,o,r;if(!e||"object"!==typeof e)return this.defaultValue;const s=e;return{multiple:y(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:y(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:y(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:y(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:y(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:y(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:v.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:v.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:v.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:v.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:v.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:V(new b(53,"hideCursorInOverviewRuler",!1,{description:i.kg("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:V(new class extends h{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(54,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:i.kg("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:i.kg("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:i.kg("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:i.kg("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),delay:k.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:w(t.sticky,this.defaultValue.sticky),above:w(t.above,this.defaultValue.above)}}}),inDiffEditor:V(new b(55,"inDiffEditor",!1)),letterSpacing:V(new S(57,"letterSpacing",E.letterSpacing,(e=>S.clamp(e,-5,20)),{description:i.kg("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:V(new class extends h{constructor(){const e={enabled:!0};super(58,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:i.kg("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;return{enabled:w(e.enabled,this.defaultValue.enabled)}}}),lineDecorationsWidth:V(new f(59,"lineDecorationsWidth",10)),lineHeight:V(new class extends S{constructor(){super(60,"lineHeight",E.lineHeight,(e=>S.clamp(e,0,150)),{markdownDescription:i.kg("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,n){return e.fontInfo.lineHeight}}),lineNumbers:V(new class extends h{constructor(){super(61,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[i.kg("lineNumbers.off","Line numbers are not rendered."),i.kg("lineNumbers.on","Line numbers are rendered as absolute number."),i.kg("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),i.kg("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:i.kg("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}),lineNumbersMinChars:V(new k(62,"lineNumbersMinChars",5,1,300)),linkedEditing:V(new b(63,"linkedEditing",!1,{description:i.kg("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:V(new b(64,"links",!0,{description:i.kg("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:V(new L(65,"matchBrackets","always",["always","near","never"],{description:i.kg("matchBrackets","Highlight matching brackets.")})),minimap:V(new class extends h{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(66,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:i.kg("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:i.kg("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[i.kg("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),i.kg("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),i.kg("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:i.kg("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:i.kg("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:i.kg("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:i.kg("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:i.kg("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:i.kg("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),autohide:w(t.autohide,this.defaultValue.autohide),size:y(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:y(t.side,this.defaultValue.side,["right","left"]),showSlider:y(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w(t.renderCharacters,this.defaultValue.renderCharacters),scale:k.clampedInt(t.scale,1,1,3),maxColumn:k.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:V(new L(67,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:V(new S(68,"mouseWheelScrollSensitivity",1,(e=>0===e?1:e),{markdownDescription:i.kg("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:V(new b(69,"mouseWheelZoom",!1,{markdownDescription:i.kg("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:V(new b(70,"multiCursorMergeOverlapping",!0,{description:i.kg("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:V(new _(71,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?o.zx?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[i.kg("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),i.kg("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:i.kg({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:V(new L(72,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[i.kg("multiCursorPaste.spread","Each cursor pastes a single line of the text."),i.kg("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:i.kg("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:V(new b(73,"occurrencesHighlight",!0,{description:i.kg("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:V(new b(74,"overviewRulerBorder",!0,{description:i.kg("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:V(new k(75,"overviewRulerLanes",3,0,3)),padding:V(new class extends h{constructor(){super(76,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:i.kg("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:i.kg("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{top:k.clampedInt(t.top,0,0,1e3),bottom:k.clampedInt(t.bottom,0,0,1e3)}}}),parameterHints:V(new class extends h{constructor(){const e={enabled:!0,cycle:!1};super(77,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:i.kg("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:i.kg("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),cycle:w(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:V(new L(78,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[i.kg("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),i.kg("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:i.kg("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:V(new b(79,"definitionLinkOpensInPeek",!1,{description:i.kg("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:V(new class extends h{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[i.kg("on","Quick suggestions show inside the suggest widget"),i.kg("inline","Quick suggestions show as ghost text"),i.kg("off","Quick suggestions are disabled")]}];super(80,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:i.kg("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:i.kg("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:i.kg("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:i.kg("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"===typeof e){const t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!==typeof e)return this.defaultValue;const{other:t,comments:n,strings:i}=e,o=["on","inline","off"];let r,s,a;return r="boolean"===typeof t?t?"on":"off":y(t,this.defaultValue.other,o),s="boolean"===typeof n?n?"on":"off":y(n,this.defaultValue.comments,o),a="boolean"===typeof i?i?"on":"off":y(i,this.defaultValue.strings,o),{other:r,comments:s,strings:a}}}),quickSuggestionsDelay:V(new k(81,"quickSuggestionsDelay",10,0,1073741824,{description:i.kg("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:V(new b(82,"readOnly",!1)),renameOnType:V(new b(83,"renameOnType",!1,{description:i.kg("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:i.kg("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:V(new b(84,"renderControlCharacters",!0,{description:i.kg("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:V(new b(85,"renderFinalNewline",!0,{description:i.kg("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:V(new L(86,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",i.kg("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:i.kg("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:V(new b(87,"renderLineHighlightOnlyWhenFocus",!1,{description:i.kg("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:V(new L(88,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:V(new L(89,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",i.kg("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),i.kg("renderWhitespace.selection","Render whitespace characters only on selected text."),i.kg("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:i.kg("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:V(new k(90,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:V(new b(91,"roundedSelection",!0,{description:i.kg("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:V(new class extends h{constructor(){const e=[],t={type:"number",description:i.kg("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(92,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:i.kg("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:i.kg("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const n of e)if("number"===typeof n)t.push({column:k.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"===typeof n){const e=n;t.push({column:k.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort(((e,t)=>e.column-t.column)),t}return this.defaultValue}}),scrollbar:V(new class extends h{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(93,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[i.kg("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),i.kg("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),i.kg("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:i.kg("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[i.kg("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),i.kg("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),i.kg("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:i.kg("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:i.kg("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:i.kg("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:i.kg("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e,n=k.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=k.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:k.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:M(t.vertical,this.defaultValue.vertical),horizontal:M(t.horizontal,this.defaultValue.horizontal),useShadows:w(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:w(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:w(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:w(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:w(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:k.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:k.clampedInt(t.verticalSliderSize,i,0,1e3),scrollByPage:w(t.scrollByPage,this.defaultValue.scrollByPage)}}}),scrollBeyondLastColumn:V(new k(94,"scrollBeyondLastColumn",4,0,1073741824,{description:i.kg("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:V(new b(95,"scrollBeyondLastLine",!0,{description:i.kg("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:V(new b(96,"scrollPredominantAxis",!0,{description:i.kg("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:V(new b(97,"selectionClipboard",!0,{description:i.kg("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:o.j9})),selectionHighlight:V(new b(98,"selectionHighlight",!0,{description:i.kg("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:V(new b(99,"selectOnLineNumbers",!0)),showFoldingControls:V(new L(100,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[i.kg("showFoldingControls.always","Always show the folding controls."),i.kg("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),i.kg("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:i.kg("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:V(new b(101,"showUnused",!0,{description:i.kg("showUnused","Controls fading out of unused code.")})),showDeprecated:V(new b(127,"showDeprecated",!0,{description:i.kg("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:V(new class extends h{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(128,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:i.kg("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[i.kg("editor.inlayHints.on","Inlay hints are enabled"),i.kg("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),i.kg("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),i.kg("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:i.kg("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:i.kg("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:i.kg("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return"boolean"===typeof t.enabled&&(t.enabled=t.enabled?"on":"off"),{enabled:y(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:k.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:v.string(t.fontFamily,this.defaultValue.fontFamily),padding:w(t.padding,this.defaultValue.padding)}}}),snippetSuggestions:V(new L(102,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[i.kg("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),i.kg("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),i.kg("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),i.kg("snippetSuggestions.none","Do not show snippet suggestions.")],description:i.kg("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:V(new class extends h{constructor(){super(103,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:i.kg("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"===typeof e?{selectLeadingAndTrailingWhitespace:w(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}),smoothScrolling:V(new b(104,"smoothScrolling",!1,{description:i.kg("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:V(new k(106,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:V(new class extends h{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(107,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[i.kg("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),i.kg("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:i.kg("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:i.kg("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:i.kg("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:i.kg("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:i.kg("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:i.kg("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:i.kg("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:i.kg("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:i.kg("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:i.kg("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:i.kg("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:i.kg("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertMode:y(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:w(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:w(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:w(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:w(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:w(t.showIcons,this.defaultValue.showIcons),showStatusBar:w(t.showStatusBar,this.defaultValue.showStatusBar),preview:w(t.preview,this.defaultValue.preview),previewMode:y(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:w(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:w(t.showMethods,this.defaultValue.showMethods),showFunctions:w(t.showFunctions,this.defaultValue.showFunctions),showConstructors:w(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:w(t.showDeprecated,this.defaultValue.showDeprecated),showFields:w(t.showFields,this.defaultValue.showFields),showVariables:w(t.showVariables,this.defaultValue.showVariables),showClasses:w(t.showClasses,this.defaultValue.showClasses),showStructs:w(t.showStructs,this.defaultValue.showStructs),showInterfaces:w(t.showInterfaces,this.defaultValue.showInterfaces),showModules:w(t.showModules,this.defaultValue.showModules),showProperties:w(t.showProperties,this.defaultValue.showProperties),showEvents:w(t.showEvents,this.defaultValue.showEvents),showOperators:w(t.showOperators,this.defaultValue.showOperators),showUnits:w(t.showUnits,this.defaultValue.showUnits),showValues:w(t.showValues,this.defaultValue.showValues),showConstants:w(t.showConstants,this.defaultValue.showConstants),showEnums:w(t.showEnums,this.defaultValue.showEnums),showEnumMembers:w(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:w(t.showKeywords,this.defaultValue.showKeywords),showWords:w(t.showWords,this.defaultValue.showWords),showColors:w(t.showColors,this.defaultValue.showColors),showFiles:w(t.showFiles,this.defaultValue.showFiles),showReferences:w(t.showReferences,this.defaultValue.showReferences),showFolders:w(t.showFolders,this.defaultValue.showFolders),showTypeParameters:w(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:w(t.showSnippets,this.defaultValue.showSnippets),showUsers:w(t.showUsers,this.defaultValue.showUsers),showIssues:w(t.showIssues,this.defaultValue.showIssues)}}}),inlineSuggest:V(new class extends h{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(56,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:i.kg("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),mode:y(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}),suggestFontSize:V(new k(108,"suggestFontSize",0,0,1e3,{markdownDescription:i.kg("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:V(new k(109,"suggestLineHeight",0,0,1e3,{markdownDescription:i.kg("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:V(new b(110,"suggestOnTriggerCharacters",!0,{description:i.kg("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:V(new L(111,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[i.kg("suggestSelection.first","Always select the first suggestion."),i.kg("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),i.kg("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:i.kg("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:V(new L(112,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[i.kg("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),i.kg("tabCompletion.off","Disable tab completions."),i.kg("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:i.kg("tabCompletion","Enables tab completions.")})),tabIndex:V(new k(113,"tabIndex",0,-1,1073741824)),unicodeHighlight:V(new class extends h{constructor(){const e={nonBasicASCII:D,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:D,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(114,"unicodeHighlight",e,{[W.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,D],default:e.nonBasicASCII,description:i.kg("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[W.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:i.kg("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[W.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:i.kg("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[W.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,D],default:e.includeComments,description:i.kg("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},[W.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,D],default:e.includeStrings,description:i.kg("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")},[W.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:i.kg("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[W.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:i.kg("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&e&&(a.aI(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),n=!0)),t.allowedLocales&&e&&(a.aI(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),n=!0));const i=super.applyUpdate(e,t);return n?new g(i.newValue,!0):i}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{nonBasicASCII:A(t.nonBasicASCII,D,[!0,!1,D]),invisibleCharacters:w(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:w(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:A(t.includeComments,D,[!0,!1,D]),includeStrings:A(t.includeStrings,D,[!0,!1,D]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if("object"!==typeof e||!e)return t;const n={};for(const[i,o]of Object.entries(e))!0===o&&(n[i]=!0);return n}}),unusualLineTerminators:V(new L(115,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[i.kg("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),i.kg("unusualLineTerminators.off","Unusual line terminators are ignored."),i.kg("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:i.kg("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:V(new b(116,"useShadowDOM",!0)),useTabStops:V(new b(117,"useTabStops",!0,{description:i.kg("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:V(new v(118,"wordSeparators",r.J3,{description:i.kg("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:V(new L(119,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[i.kg("wordWrap.off","Lines will never wrap."),i.kg("wordWrap.on","Lines will wrap at the viewport width."),i.kg({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),i.kg({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:i.kg({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:V(new v(120,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;\xa2\xb0\u2032\u2033\u2030\u2103\u3001\u3002\uff61\uff64\uffe0\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff05\u30fb\uff65\u309d\u309e\u30fd\u30fe\u30fc\u30a1\u30a3\u30a5\u30a7\u30a9\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308e\u3095\u3096\u31f0\u31f1\u31f2\u31f3\u31f4\u31f5\u31f6\u31f7\u31f8\u31f9\u31fa\u31fb\u31fc\u31fd\u31fe\u31ff\u3005\u303b\uff67\uff68\uff69\uff6a\uff6b\uff6c\uff6d\uff6e\uff6f\uff70\u201d\u3009\u300b\u300d\u300f\u3011\u3015\uff09\uff3d\uff5d\uff63")),wordWrapBreakBeforeCharacters:V(new v(121,"wordWrapBreakBeforeCharacters","([{\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\xa3\xa5\uff04\uffe1\uffe5+\uff0b")),wordWrapColumn:V(new k(122,"wordWrapColumn",80,1,1073741824,{markdownDescription:i.kg({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:V(new L(123,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:V(new L(124,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:V(new _(125,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[i.kg("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),i.kg("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),i.kg("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),i.kg("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:i.kg("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:V(new L(126,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[i.kg("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),i.kg("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:i.kg("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:V(new class extends p{constructor(){super(129)}compute(e,t,n){const i=["monaco-editor"];return t.get(34)&&i.push(t.get(34)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(67)?i.push("mouse-default"):"copy"===t.get(67)&&i.push("mouse-copy"),t.get(101)&&i.push("showUnused"),t.get(127)&&i.push("showDeprecated"),i.join(" ")}}),pixelRatio:V(new class extends p{constructor(){super(130)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:V(new class extends p{constructor(){super(131)}compute(e,t,n){return!!t.get(82)||e.tabFocusMode}}),layoutInfo:V(new I),wrappingInfo:V(new class extends p{constructor(){super(133)}compute(e,t,n){const i=t.get(132);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}})}},84914:(e,t,n)=>{n.d(t,{D:()=>o});var i=n(74663);const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.vl,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},23758:(e,t,n)=>{n.d(t,{YJ:()=>l,_8:()=>a});var i=n(17032),o=n(86979),r=n(84914);const s=i.zx?1.5:1.35;class a{constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(44),o=e.get(48),r=e.get(47),s=e.get(46),l=e.get(60),u=e.get(57);return a._create(i,o,r,s,l,u,t,n)}static _create(e,t,n,i,o,l,u,c){0===o?o=s*n:o<8&&(o*=n),(o=Math.round(o))<8&&(o=8);const d=1+(c?0:.1*r.D.getZoomLevel());return new a({pixelRatio:u,fontFamily:e,fontWeight:t,fontSize:n*=d,fontFeatureSettings:i,lineHeight:o*=d,letterSpacing:l})}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){const e=o.jU.fontFamily,t=a._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class l extends a{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=1,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},2945:(e,t,n)=>{n.d(t,{V:()=>o,y:()=>r});var i=n(50871);class o{constructor(e){const t=(0,i.W)(e);this._defaultValue=t,this._asciiMap=o._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=(0,i.W)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class r{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},87214:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(53817);class o{static _nextVisibleColumn(e,t,n){return 9===e?o.nextRenderTabStop(t,n):i.ne(e)||i.Ss(e)?t+2:t+1}static visibleColumnFromColumn(e,t,n){const o=Math.min(t-1,e.length),r=e.substring(0,o),s=new i.km(r);let a=0;for(;!s.eol();){const e=i.Z5(r,o,s.offset);s.nextGraphemeLength(),a=this._nextVisibleColumn(e,a,n)}return a}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const o=e.length,r=new i.km(e);let s=0,a=1;for(;!r.eol();){const l=i.Z5(e,o,r.offset);r.nextGraphemeLength();const u=this._nextVisibleColumn(l,s,n),c=r.offset+1;if(u>=t){return u-t<t-s?c:a}s=u,a=c}return o+1}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}static prevIndentTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}}},48282:(e,t,n)=>{n.d(t,{k:()=>o});var i=n(15186);class o{static insert(e,t){return{range:new i.Q(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},80764:(e,t,n)=>{n.d(t,{$u:()=>L,AQ:()=>V,BD:()=>Y,Bo:()=>j,D0:()=>m,DH:()=>T,Ek:()=>M,I2:()=>G,IW:()=>K,If:()=>$,Ln:()=>P,Mf:()=>u,P1:()=>te,Pe:()=>X,Qt:()=>C,RH:()=>D,RU:()=>y,WD:()=>ee,WS:()=>J,WY:()=>ne,Xr:()=>N,aZ:()=>B,bB:()=>Z,fj:()=>b,ik:()=>v,kG:()=>l,kM:()=>p,l5:()=>z,lQ:()=>F,n4:()=>q,pw:()=>S,s7:()=>Q,sH:()=>H,sN:()=>O,ss:()=>R,v0:()=>w,vp:()=>A,x9:()=>_,yI:()=>E,yw:()=>I,zp:()=>U});var i=n(38016),o=n(60196),r=n(93467),s=n(86471),a=n(88834);const l=(0,r.x1A)("editor.lineHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},i.kg("lineHighlight","Background color for the highlight of line at the cursor position.")),u=(0,r.x1A)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hcDark:"#f38518",hcLight:r.b1q},i.kg("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),c=(0,r.x1A)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hcDark:null,hcLight:null},i.kg("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),d=(0,r.x1A)("editor.rangeHighlightBorder",{dark:null,light:null,hcDark:r.buw,hcLight:r.buw},i.kg("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),h=(0,r.x1A)("editor.symbolHighlightBackground",{dark:r.Ubg,light:r.Ubg,hcDark:null,hcLight:null},i.kg("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),g=(0,r.x1A)("editor.symbolHighlightBorder",{dark:null,light:null,hcDark:r.buw,hcLight:r.buw},i.kg("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),m=(0,r.x1A)("editorCursor.foreground",{dark:"#AEAFAD",light:o.Q1.black,hcDark:o.Q1.white,hcLight:"#0F4A85"},i.kg("caret","Color of the editor cursor.")),p=(0,r.x1A)("editorCursor.background",null,i.kg("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),f=(0,r.x1A)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hcDark:"#e3e4e229",hcLight:"#CCCCCC"},i.kg("editorWhitespaces","Color of whitespace characters in the editor.")),w=(0,r.x1A)("editorIndentGuide.background",{dark:f,light:f,hcDark:f,hcLight:f},i.kg("editorIndentGuides","Color of the editor indentation guides.")),b=(0,r.x1A)("editorIndentGuide.activeBackground",{dark:f,light:f,hcDark:f,hcLight:f},i.kg("editorActiveIndentGuide","Color of the active editor indentation guides.")),C=(0,r.x1A)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hcDark:o.Q1.white,hcLight:"#292929"},i.kg("editorLineNumbers","Color of editor line numbers.")),k=(0,r.x1A)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hcDark:r.buw,hcLight:r.buw},i.kg("editorActiveLineNumber","Color of editor active line number"),!1,i.kg("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),S=(0,r.x1A)("editorLineNumber.activeForeground",{dark:k,light:k,hcDark:k,hcLight:k},i.kg("editorActiveLineNumber","Color of editor active line number")),v=(0,r.x1A)("editorRuler.foreground",{dark:"#5A5A5A",light:o.Q1.lightgrey,hcDark:o.Q1.white,hcLight:"#292929"},i.kg("editorRuler","Color of the editor rulers.")),y=((0,r.x1A)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hcDark:"#999999",hcLight:"#292929"},i.kg("editorCodeLensForeground","Foreground color of editor CodeLens")),(0,r.x1A)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hcDark:"#0064001a",hcLight:"#0000"},i.kg("editorBracketMatchBackground","Background color behind matching brackets"))),L=(0,r.x1A)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hcDark:r.b1q,hcLight:r.b1q},i.kg("editorBracketMatchBorder","Color for matching brackets boxes")),_=(0,r.x1A)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hcDark:"#7f7f7f4d",hcLight:"#666666"},i.kg("editorOverviewRulerBorder","Color of the overview ruler border.")),N=(0,r.x1A)("editorOverviewRuler.background",null,i.kg("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),x=(0,r.x1A)("editorGutter.background",{dark:r.YtV,light:r.YtV,hcDark:r.YtV,hcLight:r.YtV},i.kg("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),P=(0,r.x1A)("editorUnnecessaryCode.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#fff").transparent(.8),hcLight:r.b1q},i.kg("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),I=(0,r.x1A)("editorUnnecessaryCode.opacity",{dark:o.Q1.fromHex("#000a"),light:o.Q1.fromHex("#0007"),hcDark:null,hcLight:null},i.kg("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),T=(0,r.x1A)("editorGhostText.border",{dark:null,light:null,hcDark:o.Q1.fromHex("#fff").transparent(.8),hcLight:o.Q1.fromHex("#292929").transparent(.8)},i.kg("editorGhostTextBorder","Border color of ghost text in the editor.")),M=(0,r.x1A)("editorGhostText.foreground",{dark:o.Q1.fromHex("#ffffff56"),light:o.Q1.fromHex("#0007"),hcDark:null,hcLight:null},i.kg("editorGhostTextForeground","Foreground color of the ghost text in the editor.")),D=(0,r.x1A)("editorGhostText.background",{dark:null,light:null,hcDark:null,hcLight:null},i.kg("editorGhostTextBackground","Background color of the ghost text in the editor.")),W=new o.Q1(new o.bU(0,122,204,.6)),A=(0,r.x1A)("editorOverviewRuler.rangeHighlightForeground",{dark:W,light:W,hcDark:W,hcLight:W},i.kg("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),E=(0,r.x1A)("editorOverviewRuler.errorForeground",{dark:new o.Q1(new o.bU(255,18,18,.7)),light:new o.Q1(new o.bU(255,18,18,.7)),hcDark:new o.Q1(new o.bU(255,50,50,1)),hcLight:"#B5200D"},i.kg("overviewRuleError","Overview ruler marker color for errors.")),B=(0,r.x1A)("editorOverviewRuler.warningForeground",{dark:r.Hng,light:r.Hng,hcDark:r.Stt,hcLight:r.Stt},i.kg("overviewRuleWarning","Overview ruler marker color for warnings.")),V=(0,r.x1A)("editorOverviewRuler.infoForeground",{dark:r.pOz,light:r.pOz,hcDark:r.IIb,hcLight:r.IIb},i.kg("overviewRuleInfo","Overview ruler marker color for infos.")),O=(0,r.x1A)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hcDark:"#FFD700",hcLight:"#0431FAFF"},i.kg("editorBracketHighlightForeground1","Foreground color of brackets (1). Requires enabling bracket pair colorization.")),F=(0,r.x1A)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hcDark:"#DA70D6",hcLight:"#319331FF"},i.kg("editorBracketHighlightForeground2","Foreground color of brackets (2). Requires enabling bracket pair colorization.")),R=(0,r.x1A)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hcDark:"#87CEFA",hcLight:"#7B3814FF"},i.kg("editorBracketHighlightForeground3","Foreground color of brackets (3). Requires enabling bracket pair colorization.")),z=(0,r.x1A)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketHighlightForeground4","Foreground color of brackets (4). Requires enabling bracket pair colorization.")),H=(0,r.x1A)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketHighlightForeground5","Foreground color of brackets (5). Requires enabling bracket pair colorization.")),U=(0,r.x1A)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketHighlightForeground6","Foreground color of brackets (6). Requires enabling bracket pair colorization.")),Q=(0,r.x1A)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new o.Q1(new o.bU(255,18,18,.8)),light:new o.Q1(new o.bU(255,18,18,.8)),hcDark:new o.Q1(new o.bU(255,50,50,1)),hcLight:""},i.kg("editorBracketHighlightUnexpectedBracketForeground","Foreground color of unexpected brackets.")),q=(0,r.x1A)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background1","Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")),G=(0,r.x1A)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background2","Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")),j=(0,r.x1A)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background3","Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")),$=(0,r.x1A)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background4","Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")),Y=(0,r.x1A)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background5","Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")),K=(0,r.x1A)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.background6","Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")),Z=(0,r.x1A)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground1","Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")),J=(0,r.x1A)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground2","Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")),X=(0,r.x1A)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground3","Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")),ee=(0,r.x1A)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground4","Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")),te=(0,r.x1A)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground5","Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")),ne=(0,r.x1A)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hcDark:"#00000000",hcLight:"#00000000"},i.kg("editorBracketPairGuide.activeBackground6","Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));(0,r.x1A)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hcDark:"#ff0000",hcLight:""},i.kg("editorUnicodeHighlight.border","Border color used to highlight unicode characters.")),(0,r.x1A)("editorUnicodeHighlight.background",{dark:"#bd9b0326",light:"#cea33d14",hcDark:"#00000000",hcLight:""},i.kg("editorUnicodeHighlight.background","Background color used to highlight unicode characters."));(0,s.zy)(((e,t)=>{const n=e.getColor(r.YtV);n&&t.addRule(`.monaco-editor, .monaco-editor-background { background-color: ${n}; }`);const i=e.getColor(l),o=i&&!i.isTransparent()?i:n;o&&t.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${o}; }`);const s=e.getColor(r.By2);s&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${s}; }`);const u=e.getColor(x);u&&t.addRule(`.monaco-editor .margin { background-color: ${u}; }`);const m=e.getColor(c);m&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${m}; }`);const p=e.getColor(d);p&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${(0,a.Bb)(e.type)?"dotted":"solid"} ${p}; }`);const w=e.getColor(h);w&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${w}; }`);const b=e.getColor(g);b&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${(0,a.Bb)(e.type)?"dotted":"solid"} ${b}; }`);const C=e.getColor(f);C&&(t.addRule(`.monaco-editor .mtkw { color: ${C} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${C} !important; }`))}))},66195:(e,t,n)=>{function i(e){let t=0,n=0,i=0,o=0;for(let r=0,s=e.length;r<s;r++){const a=e.charCodeAt(r);13===a?(0===t&&(n=r),t++,r+1<s&&10===e.charCodeAt(r+1)?(o|=2,r++):o|=3,i=r+1):10===a&&(o|=1,0===t&&(n=r),t++,i=r+1)}return 0===t&&(n=e.length),[t,n,e.length-i,o]}n.d(t,{W:()=>i})},84352:(e,t,n)=>{n.d(t,{P:()=>r});var i=n(53817),o=n(87214);function r(e,t,n){let r=i.HG(e);return-1===r&&(r=e.length),function(e,t,n){let i=0;for(let s=0;s<e.length;s++)"\t"===e.charAt(s)?i=o.A.nextIndentTabStop(i,t):i++;let r="";if(!n){const e=Math.floor(i/t);i%=t;for(let t=0;t<e;t++)r+="\t"}for(let o=0;o<i;o++)r+=" ";return r}(e.substring(0,r),t,n)+e.substring(r)}},62612:(e,t,n)=>{n.d(t,{y:()=>i});class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){const n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){return(0|e.column)-(0|t.column)}return n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column}}},15186:(e,t,n)=>{n.d(t,{Q:()=>o});var i=n(62612);class o{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return o.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return o.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let n,i,r,s;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(r=t.endLineNumber,s=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,s=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,s=e.endColumn),new o(n,i,r,s)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,s=e.endColumn;const a=t.startLineNumber,l=t.startColumn,u=t.endLineNumber,c=t.endColumn;return n<a?(n=a,i=l):n===a&&(i=Math.max(i,l)),r>u?(r=u,s=c):r===u&&(s=Math.min(s,c)),n>r||n===r&&i>s?null:new o(n,i,r,s)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new i.y(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new i.y(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){return(0|e.endColumn)-(0|t.endColumn)}return n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}}},68701:(e,t,n)=>{n.d(t,{D:()=>i});class i{constructor(e,t,n,o){this._rgba8Brand=void 0,this.r=i._clamp(e),this.g=i._clamp(t),this.b=i._clamp(n),this.a=i._clamp(o)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}i.Empty=new i(0,0,0,0)},21429:(e,t,n)=>{n.d(t,{L:()=>r});var i=n(62612),o=n(15186);class r extends o.Q{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i.y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn}static createWithDirection(e,t,n,i,o){return 0===o?new r(e,t,n,i):new r(n,i,e,t)}}},13167:(e,t,n)=>{n.d(t,{Du:()=>h,Su:()=>g,aI:()=>d,b7:()=>c});var i=n(53817),o=n(17032),r=n(8013);let s,a,l;function u(){return s||(s=new TextDecoder("UTF-16LE")),s}function c(){return l||(l=o.cm()?u():(a||(a=new TextDecoder("UTF-16BE")),a)),l}const d="undefined"!==typeof TextDecoder;let h,g;function m(e,t,n){const i=[];let o=0;for(let s=0;s<n;s++){const n=r.$l(e,t);t+=2,i[o++]=String.fromCharCode(n)}return i.join("")}d?(h=e=>new p(e),g=function(e,t,n){const i=new Uint16Array(e.buffer,t,n);if(n>0&&(65279===i[0]||65534===i[0]))return m(e,t,n);return u().decode(i)}):(h=e=>new f,g=m);class p{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return c().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||i.pc(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class f{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},57092:(e,t,n)=>{n.d(t,{k:()=>s,x:()=>a});var i=n(8013),o=n(13167);function r(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class s{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${r(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${r(this.oldText)}")`:`(replace@${this.oldPosition} "${r(this.oldText)}" with "${r(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const o=t.length;i.Sw(e,o,n),n+=4;for(let r=0;r<o;r++)i.gN(e,t.charCodeAt(r),n),n+=2;return n}static _readString(e,t){const n=i.bb(e,t);return t+=4,(0,o.Su)(e,t,n)}writeSize(){return 8+s._writeStringSize(this.oldText)+s._writeStringSize(this.newText)}write(e,t){return i.Sw(e,this.oldPosition,t),t+=4,i.Sw(e,this.newPosition,t),t+=4,t=s._writeString(e,this.oldText,t),t=s._writeString(e,this.newText,t)}static read(e,t,n){const o=i.bb(e,t);t+=4;const r=i.bb(e,t);t+=4;const a=s._readString(e,t);t+=s._writeStringSize(a);const l=s._readString(e,t);return t+=s._writeStringSize(l),n.push(new s(o,a,r,l)),t}}function a(e,t){if(null===e||0===e.length)return t;return new l(e,t).compress()}class l{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,n=this._getPrev(e),i=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(null===n){this._acceptCurr(i),i=this._getCurr(++t);continue}if(null===i){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[e,t]=l._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(e),i=t;continue}if(n.newPosition<i.oldPosition){const[e,t]=l._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(e),n=t;continue}let o,r;if(i.oldEnd===n.newEnd)o=n,r=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[e,s]=l._splitPrev(n,i.oldLength);o=e,r=i,n=s,i=this._getCurr(++t)}else{const[t,s]=l._splitCurr(i,n.newLength);o=n,r=t,n=this._getPrev(++e),i=s}this._result[this._resultLen++]=new s(o.oldPosition,o.oldText,r.newPosition,r.newText),this._prevDeltaOffset+=o.newLength-o.oldLength,this._currDeltaOffset+=r.newLength-r.oldLength}const o=l._merge(this._result);return l._removeNoOps(o)}_acceptCurr(e){this._result[this._resultLen++]=l._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=l._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new s(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new s(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new s(e.oldPosition,e.oldText,e.newPosition,n),new s(e.oldEnd,"",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new s(e.oldPosition,n,e.newPosition,e.newText),new s(e.oldPosition+t,i,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;const t=[];let n=0,i=e[0];for(let o=1;o<e.length;o++){const r=e[o];i.oldEnd===r.oldPosition?i=new s(i.oldPosition,i.oldText+r.oldText,i.newPosition,i.newText+r.newText):(t[n++]=i,i=r)}return t[n++]=i,t}static _removeNoOps(e){if(0===e.length)return e;const t=[];let n=0;for(let i=0;i<e.length;i++){const o=e[i];o.oldText!==o.newText&&(t[n++]=o)}return t}}},821:(e,t,n)=>{n.d(t,{R:()=>i});const i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}},46353:(e,t,n)=>{n.d(t,{i:()=>r});var i=n(2945);class o extends i.V{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const r=function(e){const t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}((e=>new o(e)))},99467:(e,t,n)=>{n.d(t,{Io:()=>a,J3:()=>r,Ld:()=>s,Th:()=>u});var i=n(7533),o=n(22814);const r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const s=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of r)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function a(e){let t=s;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const l=new o.w;function u(e,t,n,o,r){if(r||(r=i.f.first(l)),n.length>r.maxLen){let i=e-r.maxLen/2;return i<0?i=0:o+=i,u(e,t,n=n.substring(i,e+r.maxLen/2),o,r)}const s=Date.now(),a=e-1-o;let d=-1,h=null;for(let i=1;!(Date.now()-s>=r.timeBudget);i++){const e=a-r.windowSize*i;t.lastIndex=Math.max(0,e);const o=c(t,n,a,d);if(!o&&h)break;if(h=o,e<=0)break;d=e}if(h){const e={word:h[0],startColumn:o+1+h.index,endColumn:o+1+h.index+h[0].length};return t.lastIndex=0,e}return null}function c(e,t,n,i){let o;for(;o=e.exec(t);){const t=o.index||0;if(t<=n&&e.lastIndex>=n)return o;if(i>0&&t>i)return null}return null}l.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},47274:(e,t,n)=>{n.d(t,{_:()=>C});var i=n(24156),o=n(53817),r=n(39869),s=n(83052),a=n(62612),l=n(15186),u=n(21429);class c{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new s.mG(new l.Q(1,1,1,1),0,new a.y(1,1),0),new s.mG(new l.Q(1,1,1,1),0,new a.y(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new s.MF(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return u.L.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}static _validatePositionWithCache(e,t,n,i){return t.equals(n)?i:e.normalizePosition(t,2)}static _validateViewState(e,t){const n=t.position,i=t.selectionStart.getStartPosition(),o=t.selectionStart.getEndPosition(),r=e.normalizePosition(n,2),a=this._validatePositionWithCache(e,i,n,r),u=this._validatePositionWithCache(e,o,i,a);return n.equals(r)&&i.equals(a)&&o.equals(u)?t:new s.mG(l.Q.fromPositions(a,u),t.selectionStartLeftoverVisibleColumns+i.column-a.column,r,t.leftoverVisibleColumns+n.column-r.column)}_setState(e,t,n){if(n&&(n=c._validateViewState(e.viewModel,n)),t){const n=e.model.validateRange(t.selectionStart),i=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,o=e.model.validatePosition(t.position),r=t.position.equals(o)?t.leftoverVisibleColumns:0;t=new s.mG(n,i,o,r)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new s.mG(i,n.selectionStartLeftoverVisibleColumns,o,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new s.mG(i,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new a.y(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new a.y(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new l.Q(i.lineNumber,i.column,o.lineNumber,o.column),u=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new s.mG(r,t.selectionStartLeftoverVisibleColumns,u,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class d{constructor(e){this.context=e,this.cursors=[new c(e)],this.lastAddedCursorIndex=0}dispose(){for(const e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(const e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(const e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(const e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map((e=>e.readSelectionFromMarkers(this.context)))}getAll(){return this.cursors.map((e=>e.asCursorState()))}getViewPositions(){return this.cursors.map((e=>e.viewState.position))}getTopMostViewPosition(){return(0,r.Ly)(this.cursors,(0,r.VE)((e=>e.viewState.position),a.y.compare)).viewState.position}getBottomMostViewPosition(){return(0,r.Jw)(this.cursors,(0,r.VE)((e=>e.viewState.position),a.y.compare)).viewState.position}getSelections(){return this.cursors.map((e=>e.modelState.selection))}getViewSelections(){return this.cursors.map((e=>e.viewState.selection))}setSelections(e){this.setStates(s.MF.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.cursors.length-1,n=e.length;if(t<n){const e=n-t;for(let t=0;t<e;t++)this._addSecondaryCursor()}else if(t>n){const e=t-n;for(let t=0;t<e;t++)this._removeSecondaryCursor(this.cursors.length-2)}for(let i=0;i<n;i++)this.cursors[i+1].setState(this.context,e[i].modelState,e[i].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.cursors.push(new c(this.context)),this.lastAddedCursorIndex=this.cursors.length-1}getLastAddedCursorIndex(){return 1===this.cursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;const e=this.cursors.slice(0),t=[];for(let n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((0,r.VE)((e=>e.selection),l.Q.compareRangesUsingStarts));for(let n=0;n<t.length-1;n++){const i=t[n],o=t[n+1],r=i.selection,a=o.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let l;if(l=a.isEmpty()||r.isEmpty()?a.getStartPosition().isBeforeOrEqual(r.getEndPosition()):a.getStartPosition().isBefore(r.getEndPosition()),l){const r=i.index<o.index?n:n+1,a=i.index<o.index?n+1:n,l=t[a].index,c=t[r].index,d=t[a].selection,h=t[r].selection;if(!d.equalsSelection(h)){const n=d.plusRange(h),i=d.selectionStartLineNumber===d.startLineNumber&&d.selectionStartColumn===d.startColumn,o=h.selectionStartLineNumber===h.startLineNumber&&h.selectionStartColumn===h.startColumn;let a,g;l===this.lastAddedCursorIndex?(a=i,this.lastAddedCursorIndex=c):a=o,g=a?new u.L(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new u.L(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn),t[r].selection=g;const m=s.MF.fromModelSelection(g);e[c].setState(this.context,m.modelState,m.viewState)}for(const e of t)e.index>l&&e.index--;e.splice(l,1),t.splice(a,1),this._removeSecondaryCursor(l-1),n--}}}}class h{constructor(e,t,n,i){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=n,this.cursorConfig=i}}var g=n(8647),m=n(47584),p=n(76106),f=n(97875),w=n(26819),b=n(31836);class C extends w.jG{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new h(this._model,this._viewModel,this._coordinatesConverter,i),this._cursors=new d(this.context),this._hasFocus=!1,this._isHandling=!1,this._compositionState=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=(0,w.AS)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new h(this._model,this._viewModel,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){const e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,n,i){let o=!1;null!==i&&i.length>C.MAX_CURSOR_COUNT&&(i=i.slice(0,C.MAX_CURSOR_COUNT),o=!0);const r=k.from(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,r,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i,o,r){const s=this._cursors.getViewPositions();let a=null,u=null;s.length>1?u=this._cursors.getViewSelections():a=l.Q.fromPositions(s[0],s[0]),e.emitViewEvent(new f.Hf(t,n,a,u,i,o,r))}saveState(){const e=[],t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e}restoreState(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const e=t[i];let o=1,r=1;e.position&&e.position.lineNumber&&(o=e.position.lineNumber),e.position&&e.position.column&&(r=e.position.column);let s=o,a=r;e.selectionStart&&e.selectionStart.lineNumber&&(s=e.selectionStart.lineNumber),e.selectionStart&&e.selectionStart.column&&(a=e.selectionStart.column),n.push({selectionStartLineNumber:s,selectionStartColumn:a,positionLineNumber:o,positionColumn:r})}this.setStates(e,"restoreState",0,s.MF.fromModelSelections(n)),this.revealPrimary(e,"restoreState",!1,0,!0,1)}onModelContentChanged(e,t){if(t instanceof p.vn){if(this._isHandling)return;this._isHandling=!0;try{this.setStates(e,"modelChange",0,this.getCursorStates())}finally{this._isHandling=!1}}else{const n=t.rawContentChangedEvent;if(this._knownModelVersionId=n.versionId,this._isHandling)return;const i=n.containsEvent(1);if(this._prevEditOperationType=0,i)this._cursors.dispose(),this._cursors=new d(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,"model",1,null,!1);else if(this._hasFocus&&n.resultingSelection&&n.resultingSelection.length>0){const t=s.MF.fromModelSelections(n.resultingSelection);this.setStates(e,"modelChange",n.isUndoing?5:n.isRedoing?6:2,t)&&this.revealPrimary(e,"modelChange",!1,0,!0,0)}else{const t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,s.MF.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n,i){this.setStates(e,t,i,s.MF.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){const n=[],i=[];for(let s=0,a=e.length;s<a;s++)n.push({range:e[s],options:{description:"auto-closed-character",inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[s],options:{description:"auto-closed-enclosing",stickiness:1}});const o=this._model.deltaDecorations([],n),r=this._model.deltaDecorations([],i);this._autoClosedActions.push(new S(this._model,o,r))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=v.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);const n=[],i=[];for(let t=0;t<e.commands.length;t++){const o=e.commands[t];o instanceof m.yl&&o.enclosingRange&&o.closeCharacterRange&&(n.push(o.closeCharacterRange),i.push(o.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,n,i,o){const r=k.from(this._model,this);if(r.equals(i))return!1;const s=this._cursors.getSelections(),a=this._cursors.getViewSelections();if(e.emitViewEvent(new f.rg(a,s)),!i||i.cursorState.length!==r.cursorState.length||r.cursorState.some(((e,t)=>!e.modelState.equals(i.cursorState[t].modelState)))){const a=i?i.cursorState.map((e=>e.modelState.selection)):null,l=i?i.modelVersionId:0;e.emitOutgoingEvent(new b.S8(a,s,l,r.modelVersionId,t||"keyboard",n,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;const o=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;const r=o[1],s=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(r);if(!s||1!==s.length)return null;const a=s[0].open,l=i.text.length-o[2].length-1,u=i.text.lastIndexOf(a,l-1);if(-1===u)return null;t.push([u,l])}return t}executeEdits(e,t,n,i){let o=null;"snippet"===t&&(o=this._findAutoClosingPairs(n)),o&&(n[0]._isTracked=!0);const r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),n,(e=>{if(o)for(let n=0,i=o.length;n<i;n++){const[t,i]=o[n],a=e[n],u=a.range.startLineNumber,c=a.range.startColumn-1+t,d=a.range.startColumn-1+i;r.push(new l.Q(u,d+1,u,d+2)),s.push(new l.Q(u,c+1,u,d+2))}const t=i(e);return t&&(this._isHandling=!0),t}));a&&(this._isHandling=!1,this.setSelections(e,t,a,0)),r.length>0&&this._pushAutoClosedAction(r,s)}_executeEdit(e,t,n,o=0){if(this.context.cursorConfig.readOnly)return;const r=k.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(s){(0,i.dz)(s)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,o,r,!1)&&this.revealPrimary(t,n,!1,0,!0,0)}getAutoClosedCharacters(){return S.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._compositionState=new L(this._model,this.getSelections())}endComposition(e,t){const n=this._compositionState?this._compositionState.deduceOutcome(this._model,this.getSelections()):null;this._compositionState=null,this._executeEdit((()=>{"keyboard"===t&&this._executeEditOperation(m.TK.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,n,this.getSelections(),this.getAutoClosedCharacters()))}),e,t)}type(e,t,n){this._executeEdit((()=>{if("keyboard"===n){const e=t.length;let n=0;for(;n<e;){const e=o.iy(t,n),i=t.substr(n,e);this._executeEditOperation(m.TK.typeWithInterceptors(!!this._compositionState,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),this.getAutoClosedCharacters(),i)),n+=e}}else this._executeEditOperation(m.TK.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))}),e,n)}compositionType(e,t,n,i,o,r){if(0!==t.length||0!==n||0!==i)this._executeEdit((()=>{this._executeEditOperation(m.TK.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n,i,o))}),e,r);else if(0!==o){const t=this.getSelections().map((e=>{const t=e.getPosition();return new u.L(t.lineNumber,t.column+o,t.lineNumber,t.column+o)}));this.setSelections(e,r,t,0)}}paste(e,t,n,i,o){this._executeEdit((()=>{this._executeEditOperation(m.TK.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))}),e,o,4)}cut(e,t){this._executeEdit((()=>{this._executeEditOperation(g.g.cut(this.context.cursorConfig,this._model,this.getSelections()))}),e,t)}executeCommand(e,t,n){this._executeEdit((()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new s.vY(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))}),e,n)}executeCommands(e,t,n){this._executeEdit((()=>{this._executeEditOperation(new s.vY(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))}),e,n)}}C.MAX_CURSOR_COUNT=1e4;class k{constructor(e,t){this.modelVersionId=e,this.cursorState=t}static from(e,t){return new k(e.getVersionId(),t.getCursorStates())}equals(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class S{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){const e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){const t=[];for(let n=0;n<this._autoClosedEnclosingDecorations.length;n++){const e=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(e&&(t.push(e),e.startLineNumber!==e.endLineNumber))return!1}t.sort(l.Q.compareRangesUsingStarts),e.sort(l.Q.compareRangesUsingStarts);for(let n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class v{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n);for(let r=0,s=i.trackedRanges.length;r<s;r++)i.model._setTrackedRange(i.trackedRanges[r],null,0);return o}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(0===n.operations.length)return null;const i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;const r=[];for(let l=0,u=i.length;l<u;l++)o.hasOwnProperty(i[l].identifier.major.toString())||r.push(i[l]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);let s=e.model.pushEditOperations(e.selectionsBefore,r,(n=>{const i=[];for(let t=0;t<e.selectionsBefore.length;t++)i[t]=[];for(const e of n)e.identifier&&i[e.identifier.major].push(e);const o=(e,t)=>e.identifier.minor-t.identifier.minor,r=[];for(let s=0;s<e.selectionsBefore.length;s++)i[s].length>0?(i[s].sort(o),r[s]=t[s].computeCursorState(e.model,{getInverseEditOperations:()=>i[s],getTrackedSelection:t=>{const n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new u.L(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new u.L(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):r[s]=e.selectionsBefore[s];return r}));s||(s=e.selectionsBefore);const a=[];for(const l in o)o.hasOwnProperty(l)&&a.push(parseInt(l,10));a.sort(((e,t)=>t-e));for(const l of a)s.splice(l,1);return s}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let o=0,r=t.length;o<r;o++){const r=t[o];if(r){const t=this._getEditOperationsFromCommand(e,o,r);n=n.concat(t.operations),i=i||t.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){const o=[];let r=0;const s=(e,i,s=!1)=>{l.Q.isEmpty(e)&&""===i||o.push({identifier:{major:t,minor:r++},range:e,text:i,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let a=!1;const c={addEditOperation:s,addTrackedEditOperation:(e,t,n)=>{a=!0,s(e,t,n)},trackSelection:(t,n)=>{const i=u.L.liftSelection(t);let o;if(i.isEmpty())if("boolean"===typeof n)o=n?2:3;else{const t=e.model.getLineMaxColumn(i.startLineNumber);o=i.startColumn===t?2:3}else o=1;const r=e.trackedRanges.length,s=e.model._setTrackedRange(null,i,o);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=i.getDirection(),r.toString()}};try{n.getEditOperations(e.model,c)}catch(d){return(0,i.dz)(d),{operations:[],hadTrackedEditOperation:!1}}return{operations:o,hadTrackedEditOperation:a}}static _getLoserCursorMap(e){(e=e.slice(0)).sort(((e,t)=>-l.Q.compareRangesUsingEnds(e.range,t.range)));const t={};for(let n=1;n<e.length;n++){const i=e[n-1],o=e[n];if(l.Q.getStartPosition(i.range).isBefore(l.Q.getEndPosition(o.range))){let r;r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major,t[r.toString()]=!0;for(let t=0;t<e.length;t++)e[t].identifier.major===r&&(e.splice(t,1),t<n&&n--,t--);n>0&&n--}}return t}}class y{constructor(e,t,n){this.text=e,this.startSelection=t,this.endSelection=n}}class L{constructor(e,t){this._original=L._capture(e,t)}static _capture(e,t){const n=[];for(const i of t){if(i.startLineNumber!==i.endLineNumber)return null;n.push(new y(e.getLineContent(i.startLineNumber),i.startColumn-1,i.endColumn-1))}return n}deduceOutcome(e,t){if(!this._original)return null;const n=L._capture(e,t);if(!n)return null;if(this._original.length!==n.length)return null;const i=[];for(let o=0,r=this._original.length;o<r;o++)i.push(L._deduceOutcome(this._original[o],n[o]));return i}static _deduceOutcome(e,t){const n=Math.min(e.startSelection,t.startSelection,o.Qp(e.text,t.text)),i=Math.min(e.text.length-e.endSelection,t.text.length-t.endSelection,o.Vi(e.text,t.text)),r=e.text.substring(n,e.text.length-i),s=t.text.substring(n,t.text.length-i);return new m.vS(r,e.startSelection-n,e.endSelection-n,s,t.startSelection-n,t.endSelection-n)}}},60976:(e,t,n)=>{n.d(t,{s:()=>o});var i=n(87214);class o{static whitespaceVisibleColumn(e,t,n){const o=e.length;let r=0,s=-1,a=-1;for(let l=0;l<o;l++){if(l===t)return[s,a,r];r%n===0&&(s=l,a=r);switch(e.charCodeAt(l)){case 32:r+=1;break;case 9:r=i.A.nextRenderTabStop(r,n);break;default:return[-1,-1,-1]}}return t===o?[s,a,r]:[-1,-1,-1]}static atomicPosition(e,t,n,r){const s=e.length,[a,l,u]=o.whitespaceVisibleColumn(e,t,n);if(-1===u)return-1;let c;switch(r){case 0:c=!0;break;case 1:c=!1;break;case 2:if(u%n===0)return t;c=u%n<=n/2}if(c){if(-1===a)return-1;let t=l;for(let o=a;o<s;++o){if(t===l+n)return a;switch(e.charCodeAt(o)){case 32:t+=1;break;case 9:t=i.A.nextRenderTabStop(t,n);break;default:return-1}}return t===l+n?a:-1}const d=i.A.nextRenderTabStop(u,n);let h=u;for(let o=t;o<s;o++){if(h===d)return o;switch(e.charCodeAt(o)){case 32:h+=1;break;case 9:h=i.A.nextRenderTabStop(h,n);break;default:return-1}}return h===d?s:-1}}},24500:(e,t,n)=>{n.d(t,{X:()=>s});var i=n(83052),o=n(62612),r=n(15186);class s{static columnSelect(e,t,n,s,a,l){const u=Math.abs(a-n)+1,c=n>a,d=s>l,h=s<l,g=[];for(let m=0;m<u;m++){const a=n+(c?-m:m),u=e.columnFromVisibleColumn(t,a,s),p=e.columnFromVisibleColumn(t,a,l),f=e.visibleColumnFromColumn(t,new o.y(a,u)),w=e.visibleColumnFromColumn(t,new o.y(a,p));if(h){if(f>l)continue;if(w<s)continue}if(d){if(w>s)continue;if(f<l)continue}g.push(new i.mG(new r.Q(a,u,a,u),0,new o.y(a,p),0))}if(0===g.length)for(let m=0;m<u;m++){const e=n+(c?-m:m),s=t.getLineMaxColumn(e);g.push(new i.mG(new r.Q(e,s,e,s),0,new o.y(e,s),0))}return{viewStates:g,reversed:c,fromLineNumber:n,fromVisualColumn:s,toLineNumber:a,toVisualColumn:l}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>0&&i--,s.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const r=Math.min(n.fromViewLineNumber,n.toViewLineNumber),s=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let l=r;l<=s;l++){const n=t.getLineMaxColumn(l),r=e.visibleColumnFromColumn(t,new o.y(l,n));i=Math.max(i,r)}let a=n.toViewVisualColumn;return a<i&&a++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,a)}static columnSelectUp(e,t,n,i){const o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}}},8647:(e,t,n)=>{n.d(t,{g:()=>c});var i=n(53817),o=n(53353),r=n(83052),s=n(87214),a=n(5849),l=n(15186),u=n(62612);class c{static deleteRight(e,t,n,i){const r=[];let s=3!==e;for(let u=0,c=i.length;u<c;u++){const e=i[u];let c=e;if(c.isEmpty()){const i=e.getPosition(),o=a.I.right(t,n,i);c=new l.Q(o.lineNumber,o.column,i.lineNumber,i.column)}c.isEmpty()?r[u]=null:(c.startLineNumber!==c.endLineNumber&&(s=!0),r[u]=new o.iu(c,""))}return[s,r]}static isAutoClosingPairDelete(e,t,n,i,o,s,a){if("never"===t&&"never"===n)return!1;if("never"===e)return!1;for(let l=0,u=s.length;l<u;l++){const u=s[l],c=u.getPosition();if(!u.isEmpty())return!1;const d=o.getLineContent(c.lineNumber);if(c.column<2||c.column>=d.length+1)return!1;const h=d.charAt(c.column-2),g=i.get(h);if(!g)return!1;if((0,r.vG)(h)){if("never"===n)return!1}else if("never"===t)return!1;const m=d.charAt(c.column-1);let p=!1;for(const e of g)e.open===h&&e.close===m&&(p=!0);if(!p)return!1;if("auto"===e){let e=!1;for(let t=0,n=a.length;t<n;t++){const n=a[t];if(c.lineNumber===n.startLineNumber&&c.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingPairDelete(e,t,n){const i=[];for(let r=0,s=n.length;r<s;r++){const e=n[r].getPosition(),t=new l.Q(e.lineNumber,e.column-1,e.lineNumber,e.column+1);i[r]=new o.iu(t,"")}return[!0,i]}static deleteLeft(e,t,n,i,r){if(this.isAutoClosingPairDelete(t.autoClosingDelete,t.autoClosingBrackets,t.autoClosingQuotes,t.autoClosingPairs.autoClosingPairsOpenByEnd,n,i,r))return this._runAutoClosingPairDelete(t,n,i);const s=[];let a=2!==e;for(let l=0,u=i.length;l<u;l++){const e=c.getDeleteRange(i[l],n,t);e.isEmpty()?s[l]=null:(e.startLineNumber!==e.endLineNumber&&(a=!0),s[l]=new o.iu(e,""))}return[a,s]}static getDeleteRange(e,t,n){if(!e.isEmpty())return e;const o=e.getPosition();if(n.useTabStops&&o.column>1){const e=t.getLineContent(o.lineNumber),r=i.HG(e),a=-1===r?e.length+1:r+1;if(o.column<=a){const e=n.visibleColumnFromColumn(t,o),i=s.A.prevIndentTabStop(e,n.indentSize),r=n.columnFromVisibleColumn(t,o.lineNumber,i);return new l.Q(o.lineNumber,r,o.lineNumber,o.column)}}return l.Q.fromPositions(c.getPositionAfterDeleteLeft(o,t),o)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){const n=i.Wd(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,n+1)}if(e.lineNumber>1){const n=e.lineNumber-1;return new u.y(n,t.getLineMaxColumn(n))}return e}static cut(e,t,n){const i=[];let s=null;n.sort(((e,t)=>u.y.compare(e.getStartPosition(),t.getEndPosition())));for(let r=0,a=n.length;r<a;r++){const a=n[r];if(a.isEmpty())if(e.emptySelectionClipboard){const e=a.getPosition();let n,u,c,d;e.lineNumber<t.getLineCount()?(n=e.lineNumber,u=1,c=e.lineNumber+1,d=1):e.lineNumber>1&&(null===s||void 0===s?void 0:s.endLineNumber)!==e.lineNumber?(n=e.lineNumber-1,u=t.getLineMaxColumn(e.lineNumber-1),c=e.lineNumber,d=t.getLineMaxColumn(e.lineNumber)):(n=e.lineNumber,u=1,c=e.lineNumber,d=t.getLineMaxColumn(e.lineNumber));const h=new l.Q(n,u,c,d);s=h,h.isEmpty()?i[r]=null:i[r]=new o.iu(h,"")}else i[r]=null;else i[r]=new o.iu(a,"")}return new r.vY(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}},29065:(e,t,n)=>{n.d(t,{S:()=>i,c:()=>c});var i,o=n(4562),r=n(83052),s=n(5849),a=n(38208),l=n(62612),u=n(15186);class c{static addCursorDown(e,t,n){const i=[];let o=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[o++]=new r.MF(l.modelState,l.viewState),i[o++]=n?r.MF.fromModelState(s.I.translateDown(e.cursorConfig,e.model,l.modelState)):r.MF.fromViewState(s.I.translateDown(e.cursorConfig,e,l.viewState))}return i}static addCursorUp(e,t,n){const i=[];let o=0;for(let a=0,l=t.length;a<l;a++){const l=t[a];i[o++]=new r.MF(l.modelState,l.viewState),i[o++]=n?r.MF.fromModelState(s.I.translateUp(e.cursorConfig,e.model,l.modelState)):r.MF.fromViewState(s.I.translateUp(e.cursorConfig,e,l.viewState))}return i}static moveToBeginningOfLine(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=this._moveToLineStart(e,r,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,o=i===t.modelState.position.column,r=t.viewState.position.lineNumber,s=e.getLineFirstNonWhitespaceColumn(r);return o||i===s?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)}static _moveToLineStartByView(e,t,n){return r.MF.fromViewState(s.I.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return r.MF.fromModelState(s.I.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){const o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=this._moveToLineEnd(e,s,n,i)}return o}static _moveToLineEnd(e,t,n,i){const o=t.viewState.position,r=e.getLineMaxColumn(o.lineNumber),s=o.column===r,a=t.modelState.position,l=e.model.getLineMaxColumn(a.lineNumber),u=r-o.column===l-a.column;return s||u?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return r.MF.fromViewState(s.I.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return r.MF.fromModelState(s.I.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],s=o.modelState.selection.startLineNumber,a=e.model.getLineCount();let c,d=o.modelState.selection.endLineNumber;d===a?c=e.model.getLineMaxColumn(a):(d++,c=1),n[i]=r.MF.fromModelState(new r.mG(new u.Q(s,1,s,1),0,new l.y(d,c),0))}return n}static moveToBeginningOfBuffer(e,t,n){const i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o];i[o]=r.MF.fromModelState(s.I.moveToBeginningOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){const i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o];i[o]=r.MF.fromModelState(s.I.moveToEndOfBuffer(e.cursorConfig,e.model,a.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return r.MF.fromModelState(new r.mG(new u.Q(1,1,1,1),0,new l.y(n,i),0))}static line(e,t,n,i,o){const s=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new l.y(o.lineNumber,o.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);if(!n||!t.modelState.hasSelection()){const t=e.model.getLineCount();let n=s.lineNumber+1,i=1;return n>t&&(n=t,i=e.model.getLineMaxColumn(n)),r.MF.fromModelState(new r.mG(new u.Q(s.lineNumber,1,n,i),0,new l.y(n,i),0))}const c=t.modelState.selectionStart.getStartPosition().lineNumber;if(s.lineNumber<c)return r.MF.fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(s.lineNumber>c){const n=e.getLineCount();let i=a.lineNumber+1,o=1;return i>n&&(i=n,o=e.getLineMaxColumn(i)),r.MF.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,o,0))}{const e=t.modelState.selectionStart.getEndPosition();return r.MF.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,n,i){const o=e.model.validatePosition(i);return r.MF.fromModelState(a.z.word(e.cursorConfig,e.model,t.modelState,n,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new r.MF(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return r.MF.fromViewState(new r.mG(new u.Q(n,i,n,i),0,new l.y(n,i),0))}static moveTo(e,t,n,i,o){const s=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new l.y(o.lineNumber,o.column),s):e.coordinatesConverter.convertModelPositionToViewPosition(s);return r.MF.fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))}static simpleMove(e,t,n,i,o,a){switch(n){case 0:return 4===a?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===a?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===a?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===a?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return 2===a?t.map((t=>r.MF.fromViewState(s.I.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,i)))):t.map((t=>r.MF.fromModelState(s.I.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,i))));case 5:return 2===a?t.map((t=>r.MF.fromViewState(s.I.moveToNextBlankLine(e.cursorConfig,e,t.viewState,i)))):t.map((t=>r.MF.fromModelState(s.I.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,i))));case 6:return this._moveToViewMinColumn(e,t,i);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 8:return this._moveToViewCenterColumn(e,t,i);case 9:return this._moveToViewMaxColumn(e,t,i);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,o){const r=e.getCompletelyVisibleViewRange(),s=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(n){case 11:{const n=this._firstLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 13:{const n=this._lastLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 12:{const n=Math.round((s.startLineNumber+s.endLineNumber)/2),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 14:{const n=[];for(let o=0,s=t.length;o<s;o++){const s=t[o];n[o]=this.findPositionInViewportIfOutside(e,s,r,i)}return n}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){const o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new r.MF(t.modelState,t.viewState);{let a;a=o>n.endLineNumber-1?n.endLineNumber-1:o<n.startLineNumber?n.startLineNumber:o;const l=s.I.vertical(e.cursorConfig,e,o,t.viewState.position.column,t.viewState.leftoverVisibleColumns,a,!1);return r.MF.fromViewState(t.viewState.move(i,l.lineNumber,l.column,l.leftoverVisibleColumns))}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){return t.map((t=>r.MF.fromViewState(s.I.moveLeft(e.cursorConfig,e,t.viewState,n,i))))}static _moveHalfLineLeft(e,t,n){const i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],l=a.viewState.position.lineNumber,u=Math.round(e.getLineContent(l).length/2);i[o]=r.MF.fromViewState(s.I.moveLeft(e.cursorConfig,e,a.viewState,n,u))}return i}static _moveRight(e,t,n,i){return t.map((t=>r.MF.fromViewState(s.I.moveRight(e.cursorConfig,e,t.viewState,n,i))))}static _moveHalfLineRight(e,t,n){const i=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],l=a.viewState.position.lineNumber,u=Math.round(e.getLineContent(l).length/2);i[o]=r.MF.fromViewState(s.I.moveRight(e.cursorConfig,e,a.viewState,n,u))}return i}static _moveDownByViewLines(e,t,n,i){const o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.MF.fromViewState(s.I.moveDown(e.cursorConfig,e,l.viewState,n,i))}return o}static _moveDownByModelLines(e,t,n,i){const o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.MF.fromModelState(s.I.moveDown(e.cursorConfig,e.model,l.modelState,n,i))}return o}static _moveUpByViewLines(e,t,n,i){const o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.MF.fromViewState(s.I.moveUp(e.cursorConfig,e,l.viewState,n,i))}return o}static _moveUpByModelLines(e,t,n,i){const o=[];for(let a=0,l=t.length;a<l;a++){const l=t[a];o[a]=r.MF.fromModelState(s.I.moveUp(e.cursorConfig,e.model,l.modelState,n,i))}return o}static _moveToViewPosition(e,t,n,i,o){return r.MF.fromViewState(t.viewState.move(n,i,o,0))}static _moveToModelPosition(e,t,n,i,o){return r.MF.fromModelState(t.modelState.move(n,i,o,0))}static _moveToViewMinColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMinColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewCenterColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=Math.round((e.getLineMaxColumn(s)+e.getLineMinColumn(s))/2);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewMaxColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMaxColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineLastNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}}!function(e){e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down', 'prevBlankLine', 'nextBlankLine',\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!o.Gv(e))return!1;const t=e;return!!o.Kg(t.to)&&(!(!o.b0(t.select)&&!o.Lm(t.select))&&(!(!o.b0(t.by)&&!o.Kg(t.by))&&!(!o.b0(t.value)&&!o.Et(t.value))))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","prevBlankLine","nextBlankLine","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",PrevBlankLine:"prevBlankLine",NextBlankLine:"nextBlankLine",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=function(t){if(!t.to)return null;let n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.PrevBlankLine:n=4;break;case e.RawDirection.NextBlankLine:n=5;break;case e.RawDirection.WrappedLineStart:n=6;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=7;break;case e.RawDirection.WrappedLineColumnCenter:n=8;break;case e.RawDirection.WrappedLineEnd:n=9;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=10;break;case e.RawDirection.ViewPortTop:n=11;break;case e.RawDirection.ViewPortBottom:n=13;break;case e.RawDirection.ViewPortCenter:n=12;break;case e.RawDirection.ViewPortIfOutside:n=14;break;default:return null}let i=0;switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Character:i=3;break;case e.RawUnit.HalfLine:i=4}return{direction:n,unit:i,select:!!t.select,value:t.value||1}}}(i||(i={}))},5849:(e,t,n)=>{n.d(t,{I:()=>c});var i=n(83052),o=n(87214),r=n(62612),s=n(15186),a=n(53817),l=n(60976);class u{constructor(e,t,n){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class c{static leftPosition(e,t){if(t.column>e.getLineMinColumn(t.lineNumber))return t.delta(void 0,-a.MV(e.getLineContent(t.lineNumber),t.column-1));if(t.lineNumber>1){const n=t.lineNumber-1;return new r.y(n,e.getLineMaxColumn(n))}return t}static leftPositionAtomicSoftTabs(e,t,n){if(t.column<=e.getLineIndentColumn(t.lineNumber)){const i=e.getLineMinColumn(t.lineNumber),o=e.getLineContent(t.lineNumber),s=l.s.atomicPosition(o,t.column-1,n,0);if(-1!==s&&s+1>=i)return new r.y(t.lineNumber,s+1)}return this.leftPosition(e,t)}static left(e,t,n){const i=e.stickyTabStops?c.leftPositionAtomicSoftTabs(t,n,e.tabSize):c.leftPosition(t,n);return new u(i.lineNumber,i.column,0)}static moveLeft(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.startLineNumber,s=n.selection.startColumn;else{const i=n.position.delta(void 0,-(o-1)),a=t.normalizePosition(c.clipPositionColumn(i,t),0),l=c.left(e,t,a);r=l.lineNumber,s=l.column}return n.move(i,r,s,0)}static clipPositionColumn(e,t){return new r.y(e.lineNumber,c.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,n){return e<t?t:e>n?n:e}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n+=a.iy(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new r.y(t,n)}static rightPositionAtomicSoftTabs(e,t,n,i,o){if(n<e.getLineIndentColumn(t)){const o=e.getLineContent(t),s=l.s.atomicPosition(o,n-1,i,1);if(-1!==s)return new r.y(t,s+1)}return this.rightPosition(e,t,n)}static right(e,t,n){const i=e.stickyTabStops?c.rightPositionAtomicSoftTabs(t,n.lineNumber,n.column,e.tabSize,e.indentSize):c.rightPosition(t,n.lineNumber,n.column);return new u(i.lineNumber,i.column,0)}static moveRight(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.endLineNumber,s=n.selection.endColumn;else{const i=n.position.delta(void 0,o-1),a=t.normalizePosition(c.clipPositionColumn(i,t),1),l=c.right(e,t,a);r=l.lineNumber,s=l.column}return n.move(i,r,s,0)}static vertical(e,t,n,i,s,a,l,c){const d=o.A.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+s,h=t.getLineCount(),g=1===n&&1===i,m=n===h&&i===t.getLineMaxColumn(n),p=a<n?g:m;if((n=a)<1?(n=1,i=l?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),i)):n>h?(n=h,i=l?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=e.columnFromVisibleColumn(t,n,d),s=p?0:d-o.A.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),void 0!==c){const e=new r.y(n,i),o=t.normalizePosition(e,c);s+=i-o.column,n=o.lineNumber,i=o.column}return new u(n,i,s)}static down(e,t,n,i,o,r,s){return this.vertical(e,t,n,i,o,n+r,s,4)}static moveDown(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.endLineNumber,s=n.selection.endColumn):(r=n.position.lineNumber,s=n.position.column);const a=c.down(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateDown(e,t,n){const o=n.selection,a=c.down(e,t,o.selectionStartLineNumber,o.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),l=c.down(e,t,o.positionLineNumber,o.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.mG(new s.Q(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.y(l.lineNumber,l.column),l.leftoverVisibleColumns)}static up(e,t,n,i,o,r,s){return this.vertical(e,t,n,i,o,n-r,s,3)}static moveUp(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.startLineNumber,s=n.selection.startColumn):(r=n.position.lineNumber,s=n.position.column);const a=c.up(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateUp(e,t,n){const o=n.selection,a=c.up(e,t,o.selectionStartLineNumber,o.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),l=c.up(e,t,o.positionLineNumber,o.positionColumn,n.leftoverVisibleColumns,1,!1);return new i.mG(new s.Q(a.lineNumber,a.column,a.lineNumber,a.column),a.leftoverVisibleColumns,new r.y(l.lineNumber,l.column),l.leftoverVisibleColumns)}static _isBlankLine(e,t){return 0===e.getLineFirstNonWhitespaceColumn(t)}static moveToPrevBlankLine(e,t,n,i){let o=n.position.lineNumber;for(;o>1&&this._isBlankLine(t,o);)o--;for(;o>1&&!this._isBlankLine(t,o);)o--;return n.move(i,o,t.getLineMinColumn(o),0)}static moveToNextBlankLine(e,t,n,i){const o=t.getLineCount();let r=n.position.lineNumber;for(;r<o&&this._isBlankLine(t,r);)r++;for(;r<o&&!this._isBlankLine(t,r);)r++;return n.move(i,r,t.getLineMinColumn(r),0)}static moveToBeginningOfLine(e,t,n,i){const o=n.position.lineNumber,r=t.getLineMinColumn(o),s=t.getLineFirstNonWhitespaceColumn(o)||r;let a;return a=n.position.column===s?r:s,n.move(i,o,a,0)}static moveToEndOfLine(e,t,n,i,o){const r=n.position.lineNumber,s=t.getLineMaxColumn(r);return n.move(i,r,s,o?1073741824-s:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){const o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)}}},47584:(e,t,n)=>{n.d(t,{vS:()=>S,TK:()=>C,yl:()=>k});var i=n(24156),o=n(53817),r=n(53353),s=n(14469),a=n(15186),l=n(21429);class u{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new a.Q(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.Q(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){const n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new l.L(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)}}class c{constructor(e,t,n){this._position=e,this._text=t,this._charAfter=n}getEditOperations(e,t){t.addTrackedEditOperation(new a.Q(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column),this._text+this._charAfter)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return new l.L(n.endLineNumber,n.startColumn,n.endLineNumber,n.endColumn-this._charAfter.length)}}var d=n(83052),h=n(46353),g=n(62612),m=n(99855),p=n(91835),f=n(38171),w=n(95566),b=n(3875);class C{static indent(e,t,n){if(null===t||null===n)return[];const i=[];for(let o=0,r=n.length;o<r;o++)i[o]=new s.Y(n[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService);return i}static outdent(e,t,n){const i=[];for(let o=0,r=n.length;o<r;o++)i[o]=new s.Y(n[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService);return i}static shiftIndent(e,t,n){return n=n||1,s.Y.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,s.Y.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){const o=[];for(let s=0,a=n.length;s<a;s++)o[s]=new r.iu(n[s],i[s]);return new d.vY(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,o){const s=[];for(let l=0,u=n.length;l<u;l++){const e=n[l],t=e.getPosition();if(o&&!e.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){const n=new a.Q(t.lineNumber,1,t.lineNumber,1);s[l]=new r.ui(n,i,e,!0)}else s[l]=new r.iu(e,i)}return new d.vY(0,s,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,r){if(i)return null;if(1===t.length)return null;if(r&&r.length===t.length)return r;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));const e=o.uz(n);if(e.length===t.length)return e}return null}static paste(e,t,n,i,o,r){const s=this._distributePasteToCursors(e,n,i,o,r);return s?(n=n.sort(a.Q.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,o)}static _goodIndentForLine(e,t,n){let i=null,r="";const s=(0,w.vn)(e.autoIndent,t,n,!1,e.languageConfigurationService);if(s)i=s.action,r=s.indentation;else if(n>1){let i;for(i=n-1;i>=1;i--){const e=t.getLineContent(i);if(o.lT(e)>=0)break}if(i<1)return null;const s=t.getLineMaxColumn(i),l=(0,b.h)(e.autoIndent,t,new a.Q(i,s,i,s),e.languageConfigurationService);l&&(r=l.indentation+l.appendText)}return i&&(i===m.l.Indent&&(r=C.shiftIndent(e,r)),i===m.l.Outdent&&(r=C.unshiftIndent(e,r)),r=e.normalizeIndentation(r)),r||null}static _replaceJumpToNextIndent(e,t,n,i){let o="";const s=n.getStartPosition();if(e.insertSpaces){const n=e.visibleColumnFromColumn(t,s),i=e.indentSize,r=i-n%i;for(let e=0;e<r;e++)o+=" "}else o="\t";return new r.iu(n,o,i)}static tab(e,t,n){const i=[];for(let o=0,l=n.length;o<l;o++){const l=n[o];if(l.isEmpty()){const n=t.getLineContent(l.startLineNumber);if(/^\s*$/.test(n)&&t.tokenization.isCheapToTokenize(l.startLineNumber)){let s=this._goodIndentForLine(e,t,l.startLineNumber);s=s||"\t";const u=e.normalizeIndentation(s);if(!n.startsWith(u)){i[o]=new r.iu(new a.Q(l.startLineNumber,1,l.startLineNumber,n.length+1),u,!0);continue}}i[o]=this._replaceJumpToNextIndent(e,t,l,!0)}else{if(l.startLineNumber===l.endLineNumber){const n=t.getLineMaxColumn(l.startLineNumber);if(1!==l.startColumn||l.endColumn!==n){i[o]=this._replaceJumpToNextIndent(e,t,l,!1);continue}}i[o]=new s.Y(l,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent},e.languageConfigurationService)}}return i}static compositionType(e,t,n,i,o,r,s,a){const l=i.map((e=>this._compositionType(n,e,o,r,s,a)));return new d.vY(4,l,{shouldPushStackElementBefore:y(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,n,i,o,s){if(!t.isEmpty())return null;const l=t.getPosition(),u=Math.max(1,l.column-i),c=Math.min(e.getLineMaxColumn(l.lineNumber),l.column+o),d=new a.Q(l.lineNumber,u,l.lineNumber,c);return e.getValueInRange(d)===n&&0===s?null:new r.iP(d,n,0,s)}static _typeCommand(e,t,n){return n?new r.q2(e,t,!0):new r.iu(e,t,!0)}static _enter(e,t,n,i){if(0===e.autoIndent)return C._typeCommand(i,"\n",n);if(!t.tokenization.isCheapToTokenize(i.getStartPosition().lineNumber)||1===e.autoIndent){const r=t.getLineContent(i.startLineNumber),s=o.UU(r).substring(0,i.startColumn-1);return C._typeCommand(i,"\n"+e.normalizeIndentation(s),n)}const s=(0,b.h)(e.autoIndent,t,i,e.languageConfigurationService);if(s){if(s.indentAction===m.l.None)return C._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===m.l.Indent)return C._typeCommand(i,"\n"+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===m.l.IndentOutdent){const t=e.normalizeIndentation(s.indentation),o=e.normalizeIndentation(s.indentation+s.appendText),a="\n"+o+"\n"+t;return n?new r.q2(i,a,!0):new r.iP(i,a,-1,o.length-t.length,!0)}if(s.indentAction===m.l.Outdent){const t=C.unshiftIndent(e,s.indentation);return C._typeCommand(i,"\n"+e.normalizeIndentation(t+s.appendText),n)}}const a=t.getLineContent(i.startLineNumber),l=o.UU(a).substring(0,i.startColumn-1);if(e.autoIndent>=4){const s=(0,w.MU)(e.autoIndent,t,i,{unshiftIndent:t=>C.unshiftIndent(e,t),shiftIndent:t=>C.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)},e.languageConfigurationService);if(s){let a=e.visibleColumnFromColumn(t,i.getEndPosition());const l=i.endColumn,u=t.getLineContent(i.endLineNumber),c=o.HG(u);if(i=c>=0?i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,c+1)):i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new r.q2(i,"\n"+e.normalizeIndentation(s.afterEnter),!0);{let t=0;return l<=c+1&&(e.insertSpaces||(a=Math.ceil(a/e.indentSize)),t=Math.min(a+1-e.normalizeIndentation(s.afterEnter).length-1,0)),new r.iP(i,"\n"+e.normalizeIndentation(s.afterEnter),0,t,!0)}}}return C._typeCommand(i,"\n"+e.normalizeIndentation(l),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let i=0,o=n.length;i<o;i++)if(!t.tokenization.isCheapToTokenize(n[i].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const o=(0,p.Cw)(t,n.startLineNumber,n.startColumn),r=(0,w._t)(e.autoIndent,t,n,i,{shiftIndent:t=>C.shiftIndent(e,t),unshiftIndent:t=>C.unshiftIndent(e,t)},e.languageConfigurationService);if(null===r)return null;if(r!==e.normalizeIndentation(o)){const o=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return 0===o?C._typeCommand(new a.Q(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+i,!1):C._typeCommand(new a.Q(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+t.getLineContent(n.startLineNumber).substring(o-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let r=0,s=n.length;r<s;r++){const s=n[r];if(!s.isEmpty())return!1;const a=s.getPosition(),l=t.getLineContent(a.lineNumber);if(l.charAt(a.column-1)!==o)return!1;const u=(0,d.vG)(o);if(92===(a.column>2?l.charCodeAt(a.column-2):0)&&u)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,n=i.length;t<n;t++){const n=i[t];if(a.lineNumber===n.startLineNumber&&a.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,o){const s=[];for(let l=0,u=i.length;l<u;l++){const e=i[l].getPosition(),t=new a.Q(e.lineNumber,e.column,e.lineNumber,e.column+1);s[l]=new r.iu(t,o)}return new d.vY(4,s,{shouldPushStackElementBefore:y(e,4),shouldPushStackElementAfter:!1})}static _isBeforeClosingBrace(e,t){const n=t.charAt(0),i=e.autoClosingPairs.autoClosingPairsOpenByStart.get(n)||[],o=e.autoClosingPairs.autoClosingPairsCloseByStart.get(n)||[],r=i.some((e=>t.startsWith(e.open))),s=o.some((e=>t.startsWith(e.close)));return!r&&s}static _findAutoClosingPairOpen(e,t,n,i){const o=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(i);if(!o)return null;let r=null;for(const s of o)if(null===r||s.open.length>r.open.length){let e=!0;for(const o of n){if(t.getValueInRange(new a.Q(o.lineNumber,o.column-s.open.length+1,o.lineNumber,o.column))+i!==s.open){e=!1;break}}e&&(r=s)}return r}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;const n=t.close.charAt(t.close.length-1),i=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(n)||[];let o=null;for(const r of i)r.open!==t.open&&t.open.includes(r.open)&&t.close.endsWith(r.close)&&(!o||r.open.length>o.open.length)&&(o=r);return o}static _getAutoClosingPairClose(e,t,n,i,o){const r=(0,d.vG)(i),s=r?e.autoClosingQuotes:e.autoClosingBrackets,a=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;if("never"===s)return null;for(const d of n)if(!d.isEmpty())return null;const l=n.map((e=>{const t=e.getPosition();return o?{lineNumber:t.lineNumber,beforeColumn:t.column-i.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}})),u=this._findAutoClosingPairOpen(e,t,l.map((e=>new g.y(e.lineNumber,e.beforeColumn))),i);if(!u)return null;const c=this._findContainedAutoClosingPair(e,u),m=c?c.close:"";let p=!0;for(const d of l){const{lineNumber:n,beforeColumn:o,afterColumn:r}=d,l=t.getLineContent(n),c=l.substring(0,o-1),g=l.substring(r-1);if(g.startsWith(m)||(p=!1),g.length>0){const t=g.charAt(0);if(!C._isBeforeClosingBrace(e,g)&&!a(t))return null}if(1===u.open.length&&("'"===i||'"'===i)&&"always"!==s){const t=(0,h.i)(e.wordSeparators);if(c.length>0){const e=c.charCodeAt(c.length-1);if(0===t.get(e))return null}}if(!t.tokenization.isCheapToTokenize(n))return null;t.tokenization.forceTokenization(n);const w=t.tokenization.getLineTokens(n),b=(0,f.BQ)(w,o-1);if(!u.shouldAutoClose(b,o-b.firstCharOffset))return null;const k=u.findNeutralCharacter();if(k){const e=t.tokenization.getTokenTypeIfInsertingCharacter(n,o,k);if(!u.isOK(e))return null}}return p?u.close.substring(0,u.close.length-m.length):u.close}static _runAutoClosingOpenCharType(e,t,n,i,o,r,s){const a=[];for(let l=0,u=i.length;l<u;l++){const e=i[l];a[l]=new k(e,o,!r,s)}return new d.vY(4,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return(0,d.vG)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround}static _isSurroundSelectionType(e,t,n,i){if(!C._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const o=(0,d.vG)(i);for(const r of n){if(r.isEmpty())return!1;let e=!0;for(let n=r.startLineNumber;n<=r.endLineNumber;n++){const i=t.getLineContent(n),o=n===r.startLineNumber?r.startColumn-1:0,s=n===r.endLineNumber?r.endColumn-1:i.length,a=i.substring(o,s);if(/[^ \t]/.test(a)){e=!1;break}}if(e)return!1;if(o&&r.startLineNumber===r.endLineNumber&&r.startColumn+1===r.endColumn){const e=t.getValueInRange(r);if((0,d.vG)(e))return!1}}return!0}static _runSurroundSelectionType(e,t,n,i,o){const r=[];for(let s=0,a=i.length;s<a;s++){const e=i[s],n=t.surroundingPairs[o];r[s]=new u(e,o,n)}return new d.vY(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!(1!==n.length||!t.tokenization.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,s,l){if(!t.electricChars.hasOwnProperty(l)||!s.isEmpty())return null;const u=s.getPosition();n.tokenization.forceTokenization(u.lineNumber);const c=n.tokenization.getLineTokens(u.lineNumber);let h;try{h=t.onElectricCharacter(l,c,u.column)}catch(g){return(0,i.dz)(g),null}if(!h)return null;if(h.matchOpenBracket){const i=(c.getLineContent()+l).lastIndexOf(h.matchOpenBracket)+1,s=n.bracketPairs.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:u.lineNumber,column:i},500);if(s){if(s.startLineNumber===u.lineNumber)return null;const i=n.getLineContent(s.startLineNumber),c=o.UU(i),h=t.normalizeIndentation(c),g=n.getLineContent(u.lineNumber),m=n.getLineFirstNonWhitespaceColumn(u.lineNumber)||u.column,p=h+g.substring(m-1,u.column-1)+l,f=new a.Q(u.lineNumber,1,u.lineNumber,u.column),w=new r.iu(f,p);return new d.vY(v(p,e),[w],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,o,s){if(!i)return null;let l=null;for(const r of i)if(null===l)l=r.insertedText;else if(l!==r.insertedText)return null;if(!l||1!==l.length)return null;const u=l;let h=!1;for(const r of i)if(0!==r.deletedText.length){h=!0;break}if(h){if(!C._shouldSurroundChar(t,u)||!t.surroundingPairs.hasOwnProperty(u))return null;const e=(0,d.vG)(u);for(const t of i){if(0!==t.deletedSelectionStart||t.deletedSelectionEnd!==t.deletedText.length)return null;if(/^[ \t]+$/.test(t.deletedText))return null;if(e&&(0,d.vG)(t.deletedText))return null}const n=[];for(const t of o){if(!t.isEmpty())return null;n.push(t.getPosition())}if(n.length!==i.length)return null;const r=[];for(let t=0,o=n.length;t<o;t++)r.push(new c(n[t],i[t].deletedText,u));return new d.vY(4,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(t,n,o,s,u)){const e=o.map((e=>new r.iu(new a.Q(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)));return new d.vY(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const g=this._getAutoClosingPairClose(t,n,o,u,!0);return null!==g?this._runAutoClosingOpenCharType(e,t,n,o,u,!0,g):null}static typeWithInterceptors(e,t,n,i,o,s,a){if(!e&&"\n"===a){const e=[];for(let t=0,r=o.length;t<r;t++)e[t]=C._enter(n,i,!1,o[t]);return new d.vY(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,o)){const e=[];let t=!1;for(let r=0,s=o.length;r<s;r++)if(e[r]=this._runAutoIndentType(n,i,o[r],a),!e[r]){t=!0;break}if(!t)return new d.vY(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(n,i,o,s,a))return this._runAutoClosingOvertype(t,n,i,o,a);if(!e){const e=this._getAutoClosingPairClose(n,i,o,a,!1);if(e)return this._runAutoClosingOpenCharType(t,n,i,o,a,!1,e)}if(!e&&this._isSurroundSelectionType(n,i,o,a))return this._runSurroundSelectionType(t,n,i,o,a);if(!e&&this._isTypeInterceptorElectricChar(n,i,o)){const e=this._typeInterceptorElectricChar(t,n,i,o[0],a);if(e)return e}const l=[];for(let c=0,d=o.length;c<d;c++)l[c]=new r.iu(o[c],a);const u=v(a,t);return new d.vY(u,l,{shouldPushStackElementBefore:y(t,u),shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,o){const s=[];for(let l=0,u=i.length;l<u;l++)s[l]=new r.iu(i[l],o);const a=v(o,e);return new d.vY(a,s,{shouldPushStackElementBefore:y(e,a),shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(null===t||null===n)return[];const i=[];for(let o=0,s=n.length;o<s;o++){let s=n[o].positionLineNumber;if(1===s)i[o]=new r.q2(new a.Q(1,1,1,1),"\n");else{s--;const n=t.getLineMaxColumn(s);i[o]=this._enter(e,t,!1,new a.Q(s,n,s,n))}}return i}static lineInsertAfter(e,t,n){if(null===t||null===n)return[];const i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o].positionLineNumber,s=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new a.Q(r,s,r,s))}return i}static lineBreakInsert(e,t,n){const i=[];for(let o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i}}class k extends r.iP{constructor(e,t,n,i){super(e,(n?t:"")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new a.Q(n.startLineNumber,n.endColumn-this._closeCharacter.length,n.endLineNumber,n.endColumn),this.enclosingRange=new a.Q(n.startLineNumber,n.endColumn-this._openCharacter.length-this._closeCharacter.length,n.endLineNumber,n.endColumn),super.computeCursorState(e,t)}}class S{constructor(e,t,n,i,o,r){this.deletedText=e,this.deletedSelectionStart=t,this.deletedSelectionEnd=n,this.insertedText=i,this.insertedSelectionStart=o,this.insertedSelectionEnd=r}}function v(e,t){return" "===e?5===t||6===t?6:5:4}function y(e,t){return!(!_(e)||_(t))||5!==e&&L(e)!==L(t)}function L(e){return 6===e||5===e?"space":e}function _(e){return 4===e||5===e||6===e}},38208:(e,t,n)=>{n.d(t,{c:()=>c,z:()=>u});var i=n(53817),o=n(83052),r=n(8647),s=n(46353),a=n(62612),l=n(15186);class u{static _createWord(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let o=n.column-2;o>=0;o--){const n=e.charCodeAt(o),r=t.get(n);if(0===r){if(2===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===r){if(1===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===r&&0!==i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){const o=e.length;for(let r=i;r<o;r++){const i=e.charCodeAt(r),o=t.get(i);if(1===o)return r;if(1===n&&2===o)return r;if(2===n&&0===o)return r}return o}static _findNextWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0;const o=e.length;for(let r=n.column-1;r<o;r++){const n=e.charCodeAt(r),o=t.get(n);if(0===o){if(2===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===o){if(1===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===o&&0!==i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null}static _findStartOfWord(e,t,n,i){for(let o=i;o>=0;o--){const i=e.charCodeAt(o),r=t.get(i);if(1===r)return o+1;if(1===n&&2===r)return o+1;if(2===n&&0===r)return o+1}return 0}static moveWordLeft(e,t,n,i){let o=n.lineNumber,r=n.column;1===r&&o>1&&(o-=1,r=t.getLineMaxColumn(o));let s=u._findPreviousWordOnLine(e,t,new a.y(o,r));if(0===i)return new a.y(o,s?s.start+1:1);if(1===i)return s&&2===s.wordType&&s.end-s.start===1&&0===s.nextCharClass&&(s=u._findPreviousWordOnLine(e,t,new a.y(o,s.start+1))),new a.y(o,s?s.start+1:1);if(3===i){for(;s&&2===s.wordType;)s=u._findPreviousWordOnLine(e,t,new a.y(o,s.start+1));return new a.y(o,s?s.start+1:1)}return s&&r<=s.end+1&&(s=u._findPreviousWordOnLine(e,t,new a.y(o,s.start+1))),new a.y(o,s?s.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,o=e.getLineMaxColumn(n);if(1===t.column)return n>1?new a.y(n-1,e.getLineMaxColumn(n-1)):t;const r=e.getLineContent(n);for(let s=t.column-1;s>1;s--){const e=r.charCodeAt(s-2),t=r.charCodeAt(s-1);if(95===e&&95!==t)return new a.y(n,s);if((i.Lv(e)||i.DB(e))&&i.Wv(t))return new a.y(n,s);if(i.Wv(e)&&i.Wv(t)&&s+1<o){const e=r.charCodeAt(s);if(i.Lv(e)||i.DB(e))return new a.y(n,s)}}return new a.y(n,1)}static moveWordRight(e,t,n,i){let o=n.lineNumber,r=n.column,s=!1;r===t.getLineMaxColumn(o)&&o<t.getLineCount()&&(s=!0,o+=1,r=1);let l=u._findNextWordOnLine(e,t,new a.y(o,r));if(2===i)l&&2===l.wordType&&l.end-l.start===1&&0===l.nextCharClass&&(l=u._findNextWordOnLine(e,t,new a.y(o,l.end+1))),r=l?l.end+1:t.getLineMaxColumn(o);else if(3===i){for(s&&(r=0);l&&(2===l.wordType||l.start+1<=r);)l=u._findNextWordOnLine(e,t,new a.y(o,l.end+1));r=l?l.start+1:t.getLineMaxColumn(o)}else l&&!s&&r>=l.start+1&&(l=u._findNextWordOnLine(e,t,new a.y(o,l.end+1))),r=l?l.start+1:t.getLineMaxColumn(o);return new a.y(o,r)}static _moveWordPartRight(e,t){const n=t.lineNumber,o=e.getLineMaxColumn(n);if(t.column===o)return n<e.getLineCount()?new a.y(n+1,1):t;const r=e.getLineContent(n);for(let s=t.column+1;s<o;s++){const e=r.charCodeAt(s-2),t=r.charCodeAt(s-1);if(95!==e&&95===t)return new a.y(n,s);if((i.Lv(e)||i.DB(e))&&i.Wv(t))return new a.y(n,s);if(i.Wv(e)&&i.Wv(t)&&s+1<o){const e=r.charCodeAt(s);if(i.Lv(e)||i.DB(e))return new a.y(n,s)}}return new a.y(n,o)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),o=t.column-2,r=i.lT(n,o);return r+1<o?new l.Q(t.lineNumber,r+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t){const n=e.wordSeparators,i=e.model,o=e.selection,s=e.whitespaceHeuristics;if(!o.isEmpty())return o;if(r.g.isAutoClosingPairDelete(e.autoClosingDelete,e.autoClosingBrackets,e.autoClosingQuotes,e.autoClosingPairs.autoClosingPairsOpenByEnd,e.model,[e.selection],e.autoClosedCharacters)){const t=e.selection.getPosition();return new l.Q(t.lineNumber,t.column-1,t.lineNumber,t.column+1)}const c=new a.y(o.positionLineNumber,o.positionColumn);let d=c.lineNumber,h=c.column;if(1===d&&1===h)return null;if(s){const e=this._deleteWordLeftWhitespace(i,c);if(e)return e}let g=u._findPreviousWordOnLine(n,i,c);return 0===t?g?h=g.start+1:h>1?h=1:(d--,h=i.getLineMaxColumn(d)):(g&&h<=g.end+1&&(g=u._findPreviousWordOnLine(n,i,new a.y(d,g.start+1))),g?h=g.end+1:h>1?h=1:(d--,h=i.getLineMaxColumn(d))),new l.Q(d,h,c.lineNumber,c.column)}static deleteInsideWord(e,t,n){if(!n.isEmpty())return n;const i=new a.y(n.positionLineNumber,n.positionColumn),o=this._deleteInsideWordWhitespace(t,i);return o||this._deleteInsideWordDetermineDeleteRange(e,t,i)}static _charAtIsWhitespace(e,t){const n=e.charCodeAt(t);return 32===n||9===n}static _deleteInsideWordWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=n.length;if(0===i)return null;let o=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(n,o))return null;let r=Math.min(t.column-1,i-1);if(!this._charAtIsWhitespace(n,r))return null;for(;o>0&&this._charAtIsWhitespace(n,o-1);)o--;for(;r+1<i&&this._charAtIsWhitespace(n,r+1);)r++;return new l.Q(t.lineNumber,o+1,t.lineNumber,r+2)}static _deleteInsideWordDetermineDeleteRange(e,t,n){const i=t.getLineContent(n.lineNumber),o=i.length;if(0===o)return n.lineNumber>1?new l.Q(n.lineNumber-1,t.getLineMaxColumn(n.lineNumber-1),n.lineNumber,1):n.lineNumber<t.getLineCount()?new l.Q(n.lineNumber,1,n.lineNumber+1,1):new l.Q(n.lineNumber,1,n.lineNumber,1);const r=e=>e.start+1<=n.column&&n.column<=e.end+1,s=(e,t)=>(e=Math.min(e,n.column),t=Math.max(t,n.column),new l.Q(n.lineNumber,e,n.lineNumber,t)),a=e=>{let t=e.start+1,n=e.end+1,r=!1;for(;n-1<o&&this._charAtIsWhitespace(i,n-1);)r=!0,n++;if(!r)for(;t>1&&this._charAtIsWhitespace(i,t-2);)t--;return s(t,n)},c=u._findPreviousWordOnLine(e,t,n);if(c&&r(c))return a(c);const d=u._findNextWordOnLine(e,t,n);return d&&r(d)?a(d):c&&d?s(c.end+1,d.start+1):c?s(c.start+1,c.end+1):d?s(d.start+1,d.end+1):s(1,o+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=u._moveWordPartLeft(e,n);return new l.Q(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){const n=e.length;for(let i=t;i<n;i++){const t=e.charAt(i);if(" "!==t&&"\t"!==t)return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new l.Q(t.lineNumber,t.column,t.lineNumber,o+1):null}static deleteWordRight(e,t){const n=e.wordSeparators,i=e.model,o=e.selection,r=e.whitespaceHeuristics;if(!o.isEmpty())return o;const s=new a.y(o.positionLineNumber,o.positionColumn);let c=s.lineNumber,d=s.column;const h=i.getLineCount(),g=i.getLineMaxColumn(c);if(c===h&&d===g)return null;if(r){const e=this._deleteWordRightWhitespace(i,s);if(e)return e}let m=u._findNextWordOnLine(n,i,s);return 2===t?m?d=m.end+1:d<g||c===h?d=g:(c++,m=u._findNextWordOnLine(n,i,new a.y(c,1)),d=m?m.start+1:i.getLineMaxColumn(c)):(m&&d>=m.start+1&&(m=u._findNextWordOnLine(n,i,new a.y(c,m.end+1))),m?d=m.start+1:d<g||c===h?d=g:(c++,m=u._findNextWordOnLine(n,i,new a.y(c,1)),d=m?m.start+1:i.getLineMaxColumn(c))),new l.Q(c,d,s.lineNumber,s.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=u._moveWordPartRight(e,n);return new l.Q(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new l.Q(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=(0,s.i)(t),o=u._findPreviousWordOnLine(i,e,n);if(o&&1===o.wordType&&o.start<=n.column-1&&n.column-1<=o.end)return u._createWordAtPosition(e,n.lineNumber,o);const r=u._findNextWordOnLine(i,e,n);return r&&1===r.wordType&&r.start<=n.column-1&&n.column-1<=r.end?u._createWordAtPosition(e,n.lineNumber,r):null}static word(e,t,n,i,r){const c=(0,s.i)(e.wordSeparators),d=u._findPreviousWordOnLine(c,t,r),h=u._findNextWordOnLine(c,t,r);if(!i){let e,n;return d&&1===d.wordType&&d.start<=r.column-1&&r.column-1<=d.end?(e=d.start+1,n=d.end+1):h&&1===h.wordType&&h.start<=r.column-1&&r.column-1<=h.end?(e=h.start+1,n=h.end+1):(e=d?d.end+1:1,n=h?h.start+1:t.getLineMaxColumn(r.lineNumber)),new o.mG(new l.Q(r.lineNumber,e,r.lineNumber,n),0,new a.y(r.lineNumber,n),0)}let g,m;d&&1===d.wordType&&d.start<r.column-1&&r.column-1<d.end?(g=d.start+1,m=d.end+1):h&&1===h.wordType&&h.start<r.column-1&&r.column-1<h.end?(g=h.start+1,m=h.end+1):(g=r.column,m=r.column);const p=r.lineNumber;let f;if(n.selectionStart.containsPosition(r))f=n.selectionStart.endColumn;else if(r.isBeforeOrEqual(n.selectionStart.getStartPosition())){f=g;const e=new a.y(p,f);n.selectionStart.containsPosition(e)&&(f=n.selectionStart.endColumn)}else{f=m;const e=new a.y(p,f);n.selectionStart.containsPosition(e)&&(f=n.selectionStart.startColumn)}return n.move(!0,p,f,0)}}class c extends u{static deleteWordPartLeft(e){const t=d([u.deleteWordLeft(e,0),u.deleteWordLeft(e,2),u._deleteWordPartLeft(e.model,e.selection)]);return t.sort(l.Q.compareRangesUsingEnds),t[2]}static deleteWordPartRight(e){const t=d([u.deleteWordRight(e,0),u.deleteWordRight(e,2),u._deleteWordPartRight(e.model,e.selection)]);return t.sort(l.Q.compareRangesUsingStarts),t[0]}static moveWordPartLeft(e,t,n){const i=d([u.moveWordLeft(e,t,n,0),u.moveWordLeft(e,t,n,2),u._moveWordPartLeft(t,n)]);return i.sort(a.y.compare),i[2]}static moveWordPartRight(e,t,n){const i=d([u.moveWordRight(e,t,n,0),u.moveWordRight(e,t,n,2),u._moveWordPartRight(t,n)]);return i.sort(a.y.compare),i[0]}}function d(e){return e.filter((e=>Boolean(e)))}},83052:(e,t,n)=>{n.d(t,{MF:()=>g,d$:()=>h,mG:()=>f,vG:()=>b,vY:()=>w});var i=n(62612),o=n(15186),r=n(21429),s=n(38171),a=n(87214),l=n(84352);const u=()=>!0,c=()=>!1,d=e=>" "===e||"\t"===e;class h{constructor(e,t,n,i){this.languageConfigurationService=i,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;const o=n.options,r=o.get(132);this.readOnly=o.get(82),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(105),this.lineHeight=o.get(60),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(117),this.wordSeparators=o.get(118),this.emptySelectionClipboard=o.get(33),this.copyWithSyntaxHighlighting=o.get(21),this.multiCursorMergeOverlapping=o.get(70),this.multiCursorPaste=o.get(72),this.autoClosingBrackets=o.get(5),this.autoClosingQuotes=o.get(8),this.autoClosingDelete=o.get(6),this.autoClosingOvertype=o.get(7),this.autoSurround=o.get(11),this.autoIndent=o.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();const s=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(s)for(const a of s)this.surroundingPairs[a.open]=a.close}static shouldRecreate(e){return e.hasChanged(132)||e.hasChanged(118)||e.hasChanged(33)||e.hasChanged(70)||e.hasChanged(72)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(117)||e.hasChanged(60)||e.hasChanged(82)}get electricChars(){var e;if(!this._electricChars){this._electricChars={};const t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(const e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,n){const i=(0,s.BQ)(t,n-1),o=this.languageConfigurationService.getLanguageConfiguration(i.languageId).electricCharacter;return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null}normalizeIndentation(e){return(0,l.P)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return d;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e);case"always":return u;case"never":return c}}_getLanguageDefinedShouldAutoClose(e){const t=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet();return e=>-1!==t.indexOf(e)}visibleColumnFromColumn(e,t){return a.A.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,n){const i=a.A.columnFromVisibleColumn(e.getLineContent(t),n,this.tabSize),o=e.getLineMinColumn(t);if(i<o)return o;const r=e.getLineMaxColumn(t);return i>r?r:i}}class g{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new m(e)}static fromViewState(e){return new p(e)}static fromModelSelection(e){const t=r.L.liftSelection(e),n=new f(o.Q.fromPositions(t.getSelectionStart()),0,t.getPosition(),0);return g.fromModelState(n)}static fromModelSelections(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class m{constructor(e){this.modelState=e,this.viewState=null}}class p{constructor(e){this.modelState=null,this.viewState=e}}class f{constructor(e,t,n,i){this._singleCursorStateBrand=void 0,this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=f._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,r){return e?new f(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new i.y(t,n),r):new f(new o.Q(t,n,t,n),r,new i.y(t,n),r)}static _computeSelection(e,t){return e.isEmpty()||!t.isBeforeOrEqual(e.getStartPosition())?r.L.fromPositions(e.getStartPosition(),t):r.L.fromPositions(e.getEndPosition(),t)}}class w{constructor(e,t,n){this._editOperationResultBrand=void 0,this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}function b(e){return"'"===e||'"'===e||"`"===e}}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 9763.2e0a4d2d.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9763],{69763:(e,o,t)=>{t.r(o),t.d(o,{conf:()=>n,language:()=>s});var n={comments:{lineComment:"#"},brackets:[["[","]"],["<",">"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"<",close:">"},{open:"(",close:")"}]},s={defaultToken:"",tokenPostfix:".pla",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"<",close:">",token:"delimiter.angle"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:[".i",".o",".mv",".ilb",".ob",".label",".type",".phase",".pair",".symbolic",".symbolic-output",".kiss",".p",".e",".end"],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:"@whitespace"},[/@comment/,"comment"],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:"keyword.$1"},"@keywords":{cases:{".type":{token:"keyword.$1",next:"@type"},"@default":{token:"keyword.$1",next:"@keywordArg"}}},"@default":{token:"keyword.$1"}}}],[/@identifier/,"identifier"],[/@plaContent/,"string"]],whitespace:[[/[ \t\r\n]+/,""]],type:[{include:"@whitespace"},[/\w+/,{token:"type",next:"@pop"}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:"",next:"@pop"},"@default":""}}],[/@comment/,"comment","@pop"],[/[<>()\[\]]/,{cases:{"@eos":{token:"@brackets",next:"@pop"},"@default":"@brackets"}}],[/\-?\d+/,{cases:{"@eos":{token:"number",next:"@pop"},"@default":"number"}}],[/@identifier/,{cases:{"@eos":{token:"identifier",next:"@pop"},"@default":"identifier"}}],[/[;=]/,{cases:{"@eos":{token:"delimiter",next:"@pop"},"@default":"delimiter"}}]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|